.yc-demo-cta {
  --yc-demo-accent: #1557b0;
  box-sizing: border-box;
  margin: 40px auto 30px;
  padding: clamp(22px, 4vw, 38px);
  background: #f3f7fd;
  border: 1px solid #d9e5f5;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: #192c49;
}
.yc-demo-cta *,.yc-demo-dialog * { box-sizing: border-box; }
.yc-demo-cta__copy { flex: 1 1 260px; }
.yc-demo-cta h2 { margin: 0 0 7px; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.25; color: #172b49; }
.yc-demo-cta p { margin: 0; color: #435772; line-height: 1.5; }
.yc-demo-button {
  border: 0;
  border-radius: 9px;
  padding: 13px 22px;
  min-height: 46px;
  background: #1557b0;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.35;
  transition: background 140ms ease, transform 140ms ease;
}
.yc-demo-button:hover { background: #10458e; transform: translateY(-1px); }
.yc-demo-button:focus-visible,.yc-demo-dialog__close:focus-visible,.yc-demo-form input:focus-visible,.yc-demo-form textarea:focus-visible {
  outline: 3px solid #6aabf5;
  outline-offset: 2px;
}
.yc-demo-cta .yc-demo-feedback { width: 100%; padding: 11px 13px; border-radius: 8px; font-weight: 600; }
.yc-demo-feedback--success { background: #e3f4e8; color: #145c2c !important; }
.yc-demo-feedback--error { background: #feeeee; color: #8c1e1e !important; }
.yc-demo-dialog {
  width: min(95vw, 660px);
  max-width: 660px;
  max-height: min(92vh, 850px);
  border: 0;
  border-radius: 18px;
  padding: 0;
  color: #1d304b;
  box-shadow: 0 22px 65px rgba(12, 33, 64, .27);
  overflow: auto;
}
.yc-demo-dialog::backdrop { background: rgba(9, 23, 43, .62); }
.yc-demo-dialog__inner { position: relative; padding: clamp(22px, 4.5vw, 38px); }
.yc-demo-dialog__close { position: absolute; top: 13px; right: 14px; border: 0; background: transparent; font-size: 2rem; color: #556783; cursor: pointer; line-height: 1; padding: 4px 9px; }
.yc-demo-eyebrow { font-size: .73rem; letter-spacing: .12em; color: #1557b0; margin: 0 0 8px; font-weight: 800; }
.yc-demo-dialog h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); color: #192d4b; margin: 0 22px 8px 0; }
.yc-demo-intro { font-size: .95rem; color: #51617a; margin: 0 0 22px; }
.yc-demo-form { display: grid; gap: 15px; }
.yc-demo-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.yc-demo-field { min-width: 0; display: grid; gap: 6px; }
.yc-demo-field label { font-size: .92rem; font-weight: 650; color: #263c5b; }
.yc-demo-field input,.yc-demo-field textarea { width: 100%; font: inherit; font-size: 1rem; color: #182f51; border: 1px solid #cbd7e8; background: #fff; border-radius: 8px; padding: 10px 12px; box-shadow: none; }
.yc-demo-field input[readonly] { background: #f2f6fb; color: #3a516d; }
.yc-demo-field textarea { resize: vertical; }
.yc-demo-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.5; color: #354a66; }
.yc-demo-consent input { margin: 3px 0 0; width: 17px; height: 17px; flex: 0 0 17px; }
.yc-demo-consent a { color: #1557b0; text-decoration: underline; }
.yc-demo-required { margin: -6px 0 0; font-size: .8rem; color: #66778e; }
.yc-demo-button--full { width: 100%; }
.yc-demo-form__hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 560px) {
  .yc-demo-cta { align-items: stretch; }
  .yc-demo-cta .yc-demo-button { width: 100%; }
  .yc-demo-form__grid { grid-template-columns: 1fr; }
  .yc-demo-dialog { max-height: 95vh; }
}
@media (prefers-reduced-motion: reduce) { .yc-demo-button { transition: none; } }
