/* Zocra · Book a demo page. Uses the tokens and components from styles.css. */
.demo-page .nav { background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }

/* hero + form */
.d-hero {
  position: relative; padding: 132px 0 96px; overflow: hidden;
  background: radial-gradient(60% 60% at 15% 0%, rgba(85, 199, 180, .18), transparent 70%), linear-gradient(var(--paper), var(--surface));
}
.d-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.d-intro { padding-top: 20px; }
.d-title { font: 900 clamp(38px, 5vw, 64px)/1.03 var(--f-display); letter-spacing: -.04em; }
.d-intro .lead { margin-top: 20px; font-size: 19px; }

.guide { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); max-width: 440px; }
.guide b { display: block; font-size: 16px; }
.guide div span { display: block; font-size: 14px; color: var(--ink-2); }
.guide a { display: inline-block; margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--teal-700); }
.guide a:hover { text-decoration: underline; }
.guide-av { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--teal-700); color: #fff; font: 700 24px/1 var(--f-display); box-shadow: 0 0 0 4px var(--teal-50); }
.guide-av.big { width: 84px; height: 84px; font-size: 34px; box-shadow: 0 0 0 6px var(--teal-50); }

.d-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.d-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.d-points .ic { width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); stroke-width: 3; }

.d-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 30px; box-shadow: var(--shadow-lg); scroll-margin-top: 96px; }
.d-form { display: grid; gap: 16px; }
.d-form[hidden] { display: none; }
.d-form-head b { display: block; font: 700 22px/1.2 var(--f-display); letter-spacing: -.02em; }
.d-form-head span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.f-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.f > span, .f legend { font-size: 13.5px; font-weight: 600; color: var(--ink); padding: 0; }
.f i { font-style: normal; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.f input, .f select, .f textarea {
  width: 100%; font: 400 15px/1.4 var(--f-body); color: var(--ink);
  padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface);
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.f select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.f textarea { resize: vertical; min-height: 84px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 4px rgba(85, 199, 180, .25); }
.f em { display: none; font-style: normal; font-size: 12.5px; color: var(--danger); }
.f.bad input, .f.bad select { border-color: var(--danger); }
.f.bad em { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .2s, border-color .2s, color .2s; }
.chips .ic { width: 16px; height: 16px; }
.chips input:checked + span { background: var(--teal-50); border-color: var(--teal-700); color: var(--teal-700); }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(85, 199, 180, .3); }
.d-submit { width: 100%; margin-top: 4px; }
.f-fine { font-size: 12.5px; color: var(--ink-3); text-align: center; }

.d-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 12px 4px; animation: factIn .45s var(--ease); }
.d-done[hidden] { display: none; }
.d-done > b { font: 700 24px/1.2 var(--f-display); letter-spacing: -.02em; }
.d-done p { color: var(--ink-2); max-width: 420px; }
.d-fallback { font-size: 14px; }
.d-fallback a { color: var(--teal-700); font-weight: 600; }
.d-summary { width: 100%; margin: 4px 0 0; padding: 14px 16px; text-align: left; white-space: pre-wrap; font: 500 12.5px/1.6 var(--f-mono); color: var(--ink-2); background: var(--paper); border-radius: 12px; border: 1px solid var(--line); }
.d-done-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* sections */
.d-sec { padding: 96px 0; }
.d-steps-sec { background: var(--paper); }
.d-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.d-steps li { position: relative; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.d-steps li:not(:last-child)::after { content: ""; position: absolute; top: 45px; right: -17px; width: 18px; height: 2px; background: var(--teal-500); z-index: 1; }
.d-steps b { display: block; margin-top: 16px; font: 700 18px/1.25 var(--f-display); letter-spacing: -.015em; }
.d-steps p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }
.d-sits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.d-sit { display: flex; flex-direction: column; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.d-sit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(85, 199, 180, .55); }
.d-sit .tab-ic { background: var(--teal-700); color: #fff; }
.d-sit .mono-label { margin-top: 18px; }
.d-sit h3 { margin-top: 8px; font: 700 20px/1.25 var(--f-display); letter-spacing: -.02em; }
.d-sit-after { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--teal-700); }
.d-trust-sec { background: var(--paper); }
.demo-page .faq { padding: 96px 0; }
.d-cta .cta-card { align-items: center; gap: 6px; padding: 36px 28px; transform: rotate(-2deg); }
.d-cta .cta-card b { margin-top: 12px; font: 700 22px/1.2 var(--f-display); }
.d-cta-role { color: var(--ink-2); font-size: 15px; }

@media (max-width: 1000px) {
  .d-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .d-steps { grid-template-columns: 1fr 1fr; }
  .d-steps li::after { display: none; }
  .d-sits { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .d-hero { padding: 100px 0 56px; }
  .d-title { font-size: clamp(34px, 10vw, 46px); }
  .d-intro .lead { font-size: 16px; }
  .d-intro { padding-top: 0; }
  .guide { margin-top: 24px; padding: 14px; }
  .guide-av { width: 52px; height: 52px; font-size: 21px; }
  .d-points { margin-top: 20px; }
  .d-card { padding: 22px 18px; border-radius: 20px; }
  .f-row.two { grid-template-columns: 1fr; }
  .f input, .f select, .f textarea { font-size: 16px; } /* stops iOS zooming into fields */
  .d-sec, .demo-page .faq { padding: 64px 0; }
  .d-steps { grid-template-columns: 1fr; gap: 10px; }
  .d-steps li { padding: 18px; display: grid; grid-template-columns: auto 1fr; gap: 0 14px; }
  .d-steps li .step-num { grid-row: span 2; }
  .d-steps b { margin-top: 2px; font-size: 16px; }
  .d-steps p { margin-top: 4px; font-size: 14px; }
  .d-sit { padding: 20px; }
  .d-sit h3 { font-size: 18px; }
  .demo-page .footer { padding-bottom: 40px; }
}
