:root{
  --bg:        #fbfaf7;
  --surface:   #ffffff;
  --ink:       #1c1c1c;
  --ink-2:     #393939;
  --muted:     #6e6e6e;
  --line:      #ececea;
  --line-2:    #d9d9d6;
  --accent:    #34e5eb;
  --accent-ink:#0a8a8e;
  --accent-2:  #eb3468;
  --tint:      #e8fbfc;
  --warm:      #fff5ec;
  --shadow-sm: 0 1px 2px rgba(20,20,20,.04), 0 1px 0 rgba(20,20,20,.03);
  --shadow:    0 4px 22px rgba(20,20,20,.06), 0 1px 0 rgba(20,20,20,.04);
  --radius:    14px;
  --radius-sm: 10px;
  --ff-display:'Poppins', sans-serif;
  --ff-body:   'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ───────── Page scaffold ───────── */
*,*::before,*::after{ box-sizing:border-box; }
a.lnk{ color:var(--accent-ink); border-bottom:1px solid currentColor; text-decoration:none; }
a.lnk:hover{ color:var(--accent-2); }

/* Top nav mimic (lightweight, matches existing site cues) */
.site-nav{
  background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20;
}
.site-nav-inner{
  max-width:1180px; margin:0 auto; padding:14px 28px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{
  width:34px; height:34px; border-radius:50%; background:var(--ink-2); color:#fff;
  display:grid; place-items:center; font-family:var(--ff-display); font-size:18px;
}
.brand-name{ font-family:var(--ff-display); font-size:18px; color:var(--ink-2); letter-spacing:.01em; }
.nav-links{ display:flex; gap:22px; font-size:13px; color:#555; font-weight:600; }
.nav-links a{ color:inherit; text-decoration:none; }
.nav-cta{
  background:var(--accent); color:#fff; padding:9px 16px; border-radius:6px;
  font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  text-decoration:none;
}

/* ───────── Section frame ───────── */
.section{
  max-width:1180px; margin:0 auto; padding:56px 28px 80px;
}

/* ───────── Form shell layout ───────── */
.form-shell{
  display:grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap:36px;
  align-items:start;
}
.form-shell.no-side{ grid-template-columns: minmax(0,1fr); max-width:820px; margin:0 auto; }
.form-main{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:0;
  overflow:hidden;
}
.form-main form{
  padding: 8px 36px 36px;
}

/* ───────── Hero ───────── */
.hero{
  padding:42px 36px 28px; border-bottom:1px solid var(--line);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(52,229,235,.10), transparent 55%),
    radial-gradient(80% 80% at 0% 100%, rgba(235,52,104,.05), transparent 60%),
    #fff;
}
.eyebrow{
  font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--accent-ink); margin-bottom:10px;
}
.hero-h{
  font-family:var(--ff-display); font-weight:600; font-size:40px; line-height:1.1; margin:0 0 10px;
  color:var(--ink); letter-spacing:-.005em;
}
.hero-p{
  max-width:62ch; margin:0; color:var(--muted); font-size:16.5px;
}
.hero-strip{
  list-style:none; padding:0; margin:22px 0 0; display:flex; gap:32px; flex-wrap:wrap;
}
.hero-strip li{
  display:flex; flex-direction:column; gap:2px; padding-left:14px; border-left:2px solid var(--accent);
}
.hero-strip span{ font-family:var(--ff-display); font-size:18px; color:var(--ink); }
.hero-strip em{ font-style:normal; font-size:12px; color:var(--muted); letter-spacing:.02em; }

/* ───────── Stepper ───────── */
.stepper{
  list-style:none; padding:18px 0 24px; margin:0;
  display:flex; gap:6px; align-items:center;
  border-bottom:1px solid var(--line); margin-bottom:8px;
}
.step{
  display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:8px;
  color:var(--muted); font-size:12.5px; font-weight:600;
}
.step-n{
  width:22px; height:22px; border-radius:50%; background:var(--line);
  display:grid; place-items:center; font-size:11px; color:var(--muted); font-weight:700;
}
.step.on{ color:var(--ink); background:var(--tint); }
.step.on .step-n{ background:var(--accent); color:#fff; }
.step.done .step-n{ background:var(--ink-2); color:#fff; }
.step.done{ color:var(--ink-2); }

/* ───────── Form sections ───────── */
.fs{
  padding:26px 0;
  border-bottom:1px dashed var(--line);
}
.fs:last-of-type{ border-bottom:0; }
.fs-hd{
  display:flex; gap:14px; align-items:flex-start; margin-bottom:18px;
}
.fs-num{
  font-family:var(--ff-display); font-size:18px; color:var(--accent-ink);
  background:var(--tint); width:36px; height:36px; border-radius:50%;
  display:grid; place-items:center; flex:0 0 36px;
}
.fs-title{
  font-family:var(--ff-display); font-size:20px; margin:0 0 4px; color:var(--ink); font-weight:600;
}
.fs-sub{ margin:0; color:var(--muted); font-size:14px; max-width:none; }

.fs-grid{
  display:grid; grid-template-columns:repeat(12, minmax(0,1fr)); gap:22px 32px;
}
.field{ display:flex; flex-direction:column; gap:8px; min-width:0; }
.field.span-3{ grid-column: span 3; }
.field.span-4{ grid-column: span 4; }
.field.span-5{ grid-column: span 5; }
.field.span-6{ grid-column: span 6; }
.field.span-8{ grid-column: span 8; }
.field.span-12{ grid-column: span 12; }
.field-lbl{ font-size:13px; font-weight:600; color:var(--ink-2); }
.field-lbl .req{ color:var(--accent-2); }
.field-hint{ font-size:12px; color:var(--muted); line-height:1.4; }

/* ───────── Inputs ───────── */
.ip{
  appearance:none; -webkit-appearance:none;
  background:#fbfbf9; border:1px solid var(--line-2); border-radius:var(--radius-sm);
  padding:12px 14px; font:inherit; color:var(--ink); width:100%;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.ip:hover{ border-color:#c8c8c5; }
.ip:focus{
  outline:none; border-color:var(--accent); background:#fff;
  box-shadow:0 0 0 4px rgba(52,229,235,.18);
}
.ip-area{ resize:vertical; min-height:84px; line-height:1.5; }
select.ip{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23393939' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat:no-repeat; background-position: right 14px center;
  padding-right:36px;
}

/* ───────── Chips ───────── */
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  appearance:none; border:1px solid var(--line-2); background:#fbfbf9;
  border-radius:999px; padding:8px 14px; font:inherit; font-size:13px;
  color:var(--ink-2); cursor:pointer; transition: all .15s ease;
}
.chip:hover{ border-color:#9ad8da; background:#fff; }
.chip-on{
  background:var(--tint); border-color:var(--accent); color:var(--accent-ink); font-weight:600;
  box-shadow: inset 0 0 0 1px var(--accent);
}

/* ───────── Big segmented (visit type) ───────── */
.seg-big{
  display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:4px;
}
.seg-big-card{
  appearance:none; text-align:left; cursor:pointer;
  background:#fff; border:1.5px solid var(--line-2); border-radius:var(--radius);
  padding:20px 22px; display:flex; align-items:center; gap:18px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.seg-big-card:hover{ border-color:#9ad8da; }
.seg-big-card.on{
  border-color:var(--accent);
  box-shadow: 0 0 0 4px rgba(52,229,235,.18), var(--shadow-sm);
}
.seg-big-icon{
  flex:0 0 56px; height:56px; border-radius:14px; background:var(--tint);
  display:grid; place-items:center; color:var(--accent-ink);
}
.seg-big-card.on .seg-big-icon{ background:var(--accent); color:#fff; }
.seg-big-body{ flex:1; }
.seg-big-title{ font-family:var(--ff-display); font-weight:600; font-size:17px; color:var(--ink); }
.seg-big-sub{ font-size:13px; color:var(--muted); }
.seg-big-radio{ flex:0 0 22px; height:22px; }
.dot{
  display:block; width:18px; height:18px; border-radius:50%;
  border:1.5px solid var(--line-2); background:#fff;
}
.dot.on{
  border-color:var(--accent);
  background: radial-gradient(circle at center, var(--accent) 45%, #fff 47%);
}

/* ───────── HIPAA notice + consent ───────── */
.fs-consent{ padding-top:8px; padding-bottom:0; border-bottom:0; }
.hipaa-note{
  display:flex; gap:14px; align-items:flex-start;
  background:var(--warm); border:1px solid #f6dfca; border-radius:var(--radius-sm);
  padding:16px 18px; margin-bottom:18px; color:#5a3e22;
}
.hipaa-ic{ color:#c47338; flex:0 0 22px; }
.hipaa-note strong{ color:#3d2814; }

.consent{
  display:flex; gap:12px; align-items:flex-start; padding:14px 0;
  font-size:14px; color:var(--ink-2);
}
.consent input{ margin-top:3px; transform:scale(1.15); accent-color:var(--accent); }

/* ───────── Actions ───────── */
.fs-actions{
  display:flex; gap:12px; align-items:center; padding-top:22px;
  border-top:1px solid var(--line); margin-top:10px;
}
.btn{
  appearance:none; border:0; font:inherit; font-weight:700; font-size:14.5px;
  padding:13px 22px; border-radius:10px; cursor:pointer; transition:all .15s ease;
}
.btn-primary{
  background:var(--accent); color:#fff;
  box-shadow:0 2px 0 rgba(10,138,142,.25);
}
.btn-primary:hover{ background:var(--ink-2); }
.btn-primary:disabled{ background:#cfcfcd; cursor:not-allowed; box-shadow:none; }
.btn-submit{ padding:14px 28px; font-size:15px; }
.btn-ghost{
  background:transparent; color:var(--ink-2); border:1px solid var(--line-2);
}
.btn-ghost:hover{ border-color:var(--ink-2); background:#fff; }
.reply-promise{
  margin-left:auto; font-size:12.5px; color:var(--muted);
}

/* ───────── Sidebar ───────── */
.side{ display:flex; flex-direction:column; gap:18px; position:sticky; top:84px; }
.side-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px 22px; box-shadow:var(--shadow-sm);
}
.side-card h4{
  font-family:var(--ff-display); font-size:16px; margin:0 0 14px; font-weight:600; color:var(--ink);
}
.timeline{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:14px; }
.timeline li{ display:flex; gap:12px; align-items:flex-start; }
.t-n{
  flex:0 0 24px; height:24px; border-radius:50%; background:var(--tint); color:var(--accent-ink);
  display:grid; place-items:center; font-weight:700; font-size:12px;
}
.timeline strong{ font-size:14px; color:var(--ink); display:block; }
.timeline p{ margin:2px 0 0; font-size:13px; color:var(--muted); line-height:1.45; }

/* Doctor card */
.doc-row{ display:flex; gap:12px; align-items:center; margin-bottom:12px; }
.doc-av{
  width:44px; height:44px; border-radius:50%; background:var(--accent); color:#fff;
  display:grid; place-items:center; font-family:var(--ff-display); font-size:17px;
}
.doc-name{ font-weight:700; color:var(--ink); font-size:14.5px; }
.doc-role{ font-size:12.5px; color:var(--muted); }
.doc-q{
  font-family:var(--ff-display); font-size:16px; line-height:1.35; color:var(--ink);
  margin:0 0 12px; padding-left:12px; border-left:2px solid var(--accent);
}
.doc-cred{ display:flex; flex-wrap:wrap; gap:6px; }
.pill{
  font-size:11px; font-weight:600; padding:4px 10px; border-radius:999px;
  background:var(--tint); color:var(--accent-ink); letter-spacing:.01em;
}

/* FAQ */
.side-faq details{
  border-top:1px solid var(--line); padding:10px 0;
}
.side-faq details:first-of-type{ border-top:0; padding-top:0; }
.side-faq summary{
  cursor:pointer; list-style:none; font-weight:600; color:var(--ink-2);
  display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:13.5px;
}
.side-faq summary::-webkit-details-marker{ display:none; }
.side-faq summary::after{
  content:"+"; color:var(--accent-ink); font-size:18px; line-height:1;
}
.side-faq details[open] summary::after{ content:"–"; }
.side-faq p{ margin:8px 0 0; font-size:13px; color:var(--muted); line-height:1.5; }

/* ───────── Review (stepped final) ───────── */
.rv{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.rv-group{
  background:#fbfbf9; border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:14px 16px;
}
.rv-title{
  font-family:var(--ff-display); font-size:14px; color:var(--accent-ink);
  text-transform:uppercase; letter-spacing:.1em; margin-bottom:8px;
}
.rv-row{ display:flex; justify-content:space-between; gap:14px; padding:5px 0; font-size:13px; border-top:1px dashed var(--line); }
.rv-group .rv-row:first-of-type{ border-top:0; }
.rv-k{ color:var(--muted); }
.rv-v{ color:var(--ink); font-weight:600; text-align:right; max-width:60%; }

/* ───────── Success state ───────── */
.success{
  padding:64px 36px; text-align:center;
}
.success-ic{ color:var(--accent); display:inline-flex; }
.success h2{
  font-family:var(--ff-display); font-size:36px; margin:18px 0 8px; font-weight:600;
}
.success .lede{ color:var(--muted); max-width:50ch; margin:0 auto 26px; font-size:16px; }
.success-strip{
  display:grid; grid-template-columns:repeat(2,1fr); gap:18px; max-width:680px; margin:0 auto 28px;
  text-align:left;
}
.success-strip > div{
  background:#fbfbf9; border:1px solid var(--line); border-radius:var(--radius-sm); padding:16px 18px;
}
.success-strip span{ font-family:var(--ff-display); font-size:14px; color:var(--accent-ink); display:block; margin-bottom:4px; text-transform:uppercase; letter-spacing:.08em; }
.success-strip em{ font-style:normal; font-size:13.5px; color:var(--muted); line-height:1.5; }

/* ───────── Responsive ───────── */
@media (max-width: 960px){
  .form-shell{ grid-template-columns:1fr; }
  .side{ position:static; }
  .hero{ padding:30px 22px 22px; }
  .hero-h{ font-size:34px; }
  .form-main form{ padding:8px 22px 22px; }
  .fs-grid{ grid-template-columns:minmax(0,1fr); row-gap:26px; }
  .field.span-3, .field.span-4, .field.span-5, .field.span-6, .field.span-8, .field.span-12{ grid-column: 1 / -1; }
  .seg-big{ grid-template-columns:1fr; }
  .rv{ grid-template-columns:1fr; }
  .success-strip{ grid-template-columns:1fr; }
}
@media (max-width: 560px){
  .stepper{ overflow-x:auto; flex-wrap:nowrap; -webkit-overflow-scrolling:touch; }
  .step-l{ display:none; }
  .step.on .step-l{ display:inline; }
  .hero-h{ font-size:28px; }
  .hero-strip{ gap:18px; }
}

