/* ============================================================
   STEADY — clinical-calm, warmed at the edges
   Design tokens + components. Swap --brand-name in HTML, colors here.
   ============================================================ */

:root {
  /* Base — warm bone / paper */
  --bone:      #F4F1EA;
  --bone-2:    #FBFAF6;
  --bone-3:    #ECE6D9;
  --bone-4:    #E4DDCD;

  /* Ink */
  --ink:       #26241F;
  --ink-2:     #57544B;
  --ink-3:     #8B877B;

  /* Lines */
  --line:      #DED7C7;
  --line-2:    #CFC7B4;

  /* Sage-teal — the single data accent */
  --teal:      #5C8A80;
  --teal-deep: #426E66;
  --teal-soft: #E2ECE7;
  --teal-ink:  #2F5751;

  /* Soft clay — secondary */
  --clay:      #BE8160;
  --clay-deep: #A56A4B;
  --clay-soft: #F1E3D7;

  /* Type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --shadow-sm: 0 1px 2px rgba(38,36,31,.05), 0 2px 8px rgba(38,36,31,.04);
  --shadow-md: 0 2px 6px rgba(38,36,31,.06), 0 18px 40px -18px rgba(38,36,31,.18);
  --shadow-lg: 0 8px 20px rgba(38,36,31,.08), 0 40px 80px -28px rgba(38,36,31,.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--teal-soft); color: var(--teal-ink); }

/* ---------- layout primitives ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--teal);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); }
h1 { font-size: clamp(40px, 5.6vw, 70px); line-height: 1.02; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(30px, 3.8vw, 47px); line-height: 1.06; letter-spacing: -.012em; margin: 0; }
h3 { font-size: 22px; line-height: 1.2; margin: 0; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); }
p { text-wrap: pretty; }

.section-head { max-width: 720px; }
.section-head h2 { margin-bottom: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 13px 22px; border-radius: 9px;
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: all .18s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: #36332b; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-teal { background: var(--teal-deep); color: #fff; }
.btn-teal:hover { background: var(--teal-ink); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bone-2); border-color: var(--ink-3); }
.btn-lg { padding: 16px 26px; font-size: 16px; }

.linkA {
  color: var(--teal-deep); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--line-2); padding-bottom: 1px;
  transition: border-color .18s;
}
.linkA:hover { border-color: var(--teal); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,241,234,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 450;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; }

/* wordmark */
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark-glyph { position: relative; width: 26px; height: 26px; flex: none; }
.mark-glyph .baseline { position: absolute; left: 0; right: 0; top: 13px; height: 1.5px; background: var(--ink); }
.mark-glyph .dot { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 11px; height: 11px; border-radius: 50%; background: var(--teal); }
.mark-word {
  font-family: var(--sans); font-weight: 600; font-size: 17px;
  letter-spacing: .22em; color: var(--ink); text-transform: uppercase;
}

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--teal-deep); }
.hero-sub { max-width: 520px; margin: 0 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-note {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--ink-3);
  max-width: 460px; padding-left: 16px; border-left: 2px solid var(--teal);
}

/* ---------- phone ---------- */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone {
  width: 320px; background: #14130F; border-radius: 42px; padding: 11px;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone-screen {
  background: var(--bone-2); border-radius: 32px; overflow: hidden; position: relative;
  border: 1px solid #2a2822;
}
.phone-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #14130F; border-radius: 14px; z-index: 5;
}
.screen-pad { padding: 30px 20px 22px; }

/* generic app card bits */
.app-status { display:flex; justify-content:space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-3); padding: 0 4px 4px; }
.app-h { font-family: var(--serif); font-size: 21px; margin: 4px 0 2px; }
.app-sub { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-3); text-transform: uppercase; margin: 0 0 16px; }
.app-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 12px;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px;
  border-radius: 999px; font-weight: 500;
}
.tag-teal { background: var(--teal-soft); color: var(--teal-ink); }
.tag-clay { background: var(--clay-soft); color: var(--clay-deep); }
.tag-line { background: var(--bone-3); color: var(--ink-2); }
.dot-led { width:7px; height:7px; border-radius:50%; background: var(--teal); }

.score-row { display:flex; align-items: baseline; gap: 8px; }
.score-big { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ink); }
.score-unit { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.delta { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.delta.good { color: var(--teal-deep); }

.baseline-band { position: relative; height: 56px; margin-top: 10px; }

/* ---------- generic band ---------- */
.band { padding: clamp(64px, 9vw, 120px) 0; }
.band-bone3 { background: var(--bone-3); }
.band-ink { background: var(--ink); color: var(--bone); }
.band-teal { background: var(--teal-deep); color: #fff; }
.hr-soft { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- problem ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 52px; }
.prob-cell { background: var(--bone-2); padding: 34px 30px; }
.prob-num { font-family: var(--mono); font-size: 12px; color: var(--clay-deep); letter-spacing: .1em; margin-bottom: 18px; }
.prob-cell h3 { margin-bottom: 10px; font-size: 23px; }
.prob-cell p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------- how it works ---------- */
.how-tabs { display: flex; gap: 10px; margin: 44px 0 0; flex-wrap: wrap; }
.how-tab {
  flex: 1 1 0; min-width: 180px; text-align: left; cursor: pointer;
  background: var(--bone-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 18px 20px; transition: all .2s ease; position: relative;
}
.how-tab:hover { border-color: var(--line-2); }
.how-tab.active { background: #fff; border-color: var(--teal); box-shadow: var(--shadow-sm); }
.how-tab .step-n { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .1em; }
.how-tab.active .step-n { color: var(--teal-deep); }
.how-tab h3 { font-size: 19px; margin: 8px 0 6px; }
.how-tab p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.how-tab .prog { position:absolute; left:0; bottom:0; height:3px; background: var(--teal); width:0; border-radius: 0 0 0 14px; transition: width .1s linear; }

.how-stage {
  margin-top: 22px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--bone-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; min-height: 420px;
}
.how-visual { padding: 40px; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--bone-2), var(--bone-3)); border-right: 1px solid var(--line); }
.how-copy { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.how-copy .step-tag { margin-bottom: 16px; }
.how-copy h3 { font-size: 30px; margin-bottom: 14px; }
.how-copy p { color: var(--ink-2); margin: 0 0 14px; font-size: 16px; }
.how-meta { font-family: var(--mono); font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.how-pane { display: none; }
.how-pane.active { display: contents; }

/* chart helpers */
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; width: 100%; max-width: 340px; box-shadow: var(--shadow-sm); }
.chart-card .ch-head { display:flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.chart-card .ch-title { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.legend { display:flex; gap: 16px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); margin-top: 14px; flex-wrap: wrap; }
.legend span { display:inline-flex; align-items:center; gap: 6px; }
.legend i { width: 14px; height: 3px; border-radius: 2px; display:inline-block; }

/* ---------- honesty ---------- */
.honesty { background: var(--ink); color: var(--bone); }
.honesty .eyebrow { color: #C9D8D2; }
.honesty .eyebrow::before { background: var(--teal); }
.honesty h2 { color: var(--bone); }
.honesty .lead { color: #C7C2B5; }
.honest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.honest-col {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 30px 30px 14px;
}
.honest-col h3 { color: var(--bone); font-size: 21px; margin-bottom: 6px; display:flex; align-items:center; gap:10px; }
.honest-col .ic { width: 22px; height: 22px; border-radius: 6px; display:inline-flex; align-items:center; justify-content:center; font-family: var(--mono); font-size: 14px; flex:none; }
.honest-col.can .ic { background: var(--teal); color: #fff; }
.honest-col.cant .ic { background: rgba(190,129,96,.25); color: var(--clay); }
.honest-col p.sub { color: #B7B2A6; font-size: 14px; margin: 0 0 16px; font-family: var(--mono); }
.honest-list { list-style: none; padding: 0; margin: 0; }
.honest-list li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 15.5px; color: #DAD6CB; line-height: 1.5; }
.honest-list li b { color: var(--bone); font-weight: 600; }
.honest-pull {
  margin-top: 36px; padding: 32px 36px; border-radius: 18px;
  background: rgba(92,138,128,.16); border: 1px solid rgba(92,138,128,.4);
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.4; color: var(--bone);
}
.honest-pull span { color: #9FC4BB; }

/* ---------- practices ---------- */
.prac-legend { display:flex; gap: 22px; flex-wrap: wrap; margin: 28px 0 4px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.ev { display:inline-flex; align-items:center; gap: 8px; }
.ev-bars { display:inline-flex; gap: 2px; align-items: flex-end; height: 13px; }
.ev-bars i { width: 4px; background: var(--line-2); border-radius: 1px; }
.ev-bars i.on { background: var(--teal); }
.ev-strong i:nth-child(-n+3){ height: 13px; } 
.prac-list { margin-top: 30px; border-top: 1px solid var(--line); }
.prac-row {
  display: grid; grid-template-columns: 1.4fr auto 2fr; gap: 28px; align-items: center;
  padding: 24px 4px; border-bottom: 1px solid var(--line); transition: background .18s;
}
.prac-row:hover { background: var(--bone-2); }
.prac-row .pname { font-family: var(--serif); font-size: 22px; }
.prac-row .pdesc { color: var(--ink-2); font-size: 15px; margin: 0; }
.prac-ev { display:flex; flex-direction: column; gap: 6px; min-width: 120px; }
.prac-ev .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.ev-strong .lbl { color: var(--teal-deep); }
.ev-mod .lbl { color: var(--clay-deep); }
.ev-emerg .lbl { color: var(--ink-3); }

/* ---------- outcomes ---------- */
.outcomes-grid { display:grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px,5vw,64px); align-items: center; }
.big-chart { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-md); }
.big-chart .bc-head { display:flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.disclaimer-chip { font-family: var(--mono); font-size: 11px; color: var(--clay-deep); background: var(--clay-soft); padding: 5px 10px; border-radius: 6px; display:inline-block; }

/* ---------- practitioners ---------- */
.prac-band { background: var(--teal-deep); color: #fff; }
.prac-band .eyebrow { color: #BFE0D7; }
.prac-band .eyebrow::before { background: #BFE0D7; }
.prac-band h2 { color: #fff; }
.prac-band .lead { color: #D5E7E2; }
.prac-band .wrap-2 { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: center; }
.prac-feats { list-style:none; padding:0; margin: 28px 0 32px; display:grid; gap: 2px; }
.prac-feats li { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.18); display:flex; gap: 14px; align-items: flex-start; }
.prac-feats li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.prac-feats .k { font-family: var(--mono); font-size: 12px; color: #BFE0D7; flex: none; width: 28px; padding-top: 3px; }
.prac-feats b { display:block; font-size: 17px; margin-bottom: 2px; }
.prac-feats span { color: #CFE3DD; font-size: 14.5px; }
.btn-onteal { background: #fff; color: var(--teal-ink); }
.btn-onteal:hover { background: var(--bone); transform: translateY(-1px); }
.prac-dash { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 22px; }
.prac-dash .pd-head { display:flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: #BFE0D7; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.client-row { display:flex; align-items:center; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); flex:none; font-family: var(--mono); font-size: 12px; display:flex; align-items:center; justify-content:center; color:#fff; }
.client-row .cn { font-size: 14.5px; color: #fff; flex: 1; }
.client-row .ctrend { font-family: var(--mono); font-size: 12px; color: #BFE0D7; }
.sparkmini { width: 60px; height: 22px; }

/* ---------- pricing ---------- */
.price-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 52px; }
.price-card { background: var(--bone-2); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; display:flex; flex-direction:column; }
.price-card.feature { background: #fff; border-color: var(--teal); box-shadow: var(--shadow-md); position: relative; }
.price-card . pt {}
.price-card .ptier { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.price-card .pamt { font-family: var(--serif); font-size: 40px; line-height: 1; }
.price-card .pamt small { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.price-card .pdesc { color: var(--ink-2); font-size: 14.5px; margin: 12px 0 22px; }
.price-card ul { list-style:none; padding:0; margin: 0 0 26px; display:grid; gap: 11px; }
.price-card li { font-size: 14.5px; color: var(--ink-2); padding-left: 24px; position: relative; }
.price-card li::before { content:"—"; position:absolute; left:0; color: var(--teal); }
.price-card .btn { margin-top: auto; justify-content: center; }
.feature-flag { position:absolute; top: -11px; left: 28px; background: var(--teal-deep); color:#fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }

/* ---------- faq ---------- */
.faq-list { margin-top: 44px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width:100%; text-align:left; background:none; border:0; cursor:pointer; padding: 24px 40px 24px 0; position: relative; font-family: var(--serif); font-size: 21px; color: var(--ink); display:flex; }
.faq-q .pm { position:absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--teal-deep); transition: transform .25s ease; }
.faq-q .pm::before { left: 0; right: 0; top: 8px; height: 2px; }
.faq-q .pm::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 60px 26px 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.faq-a-inner.honest { font-family: var(--mono); font-size: 13.5px; color: var(--ink-3); border-left: 2px solid var(--clay); padding-left: 16px; margin-top: 4px; }

/* ---------- footer ---------- */
.footer { background: var(--bone-3); border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px; font-weight: 500; }
.footer ul { list-style:none; padding:0; margin:0; display:grid; gap: 11px; }
.footer a { color: var(--ink-2); text-decoration:none; font-size: 14.5px; }
.footer a:hover { color: var(--ink); }
.footer .ftag { color: var(--ink-2); font-size: 14.5px; max-width: 280px; margin: 16px 0 0; }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); display:flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.disclaimer { font-family: var(--mono); font-size: 12px; color: var(--ink-3); line-height: 1.6; max-width: 640px; }
.footer-bottom .small { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .phone-stage { order: -1; }
  .prob-grid { grid-template-columns: 1fr; }
  .how-stage { grid-template-columns: 1fr; }
  .how-visual { border-right: 0; border-bottom: 1px solid var(--line); }
  .honest-grid { grid-template-columns: 1fr; }
  .outcomes-grid, .prac-band .wrap-2 { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .prac-row { grid-template-columns: 1fr; gap: 12px; }
  .how-tabs { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .screen-pad { padding: 28px 16px 18px; }
}

/* ============================================================
   Signup module — additions for waitlist modal + inline forms
   Additive only; uses existing CSS variables.
   ============================================================ */

.signup-overlay {
  position: fixed; inset: 0; background: rgba(20, 30, 35, 0.55);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
}
.signup-overlay.open { display: flex; }
.signup-modal {
  background: var(--bone); border: 1px solid var(--line); border-radius: 18px;
  padding: 36px 32px 28px; max-width: 480px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  position: relative; font-family: var(--sans);
}
.signup-modal h2 {
  font-family: var(--serif); font-size: 28px; line-height: 1.15;
  color: var(--ink); margin: 0 0 8px;
}
.signup-modal p { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 0 0 22px; }
.signup-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  font-size: 26px; line-height: 1; color: var(--ink-3); cursor: pointer; padding: 4px 10px;
}
.signup-close:hover { color: var(--ink); }
.signup-modal form { display: flex; flex-direction: column; gap: 12px; }
.signup-modal input[type="email"] {
  font-family: var(--sans); font-size: 16px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--ink); width: 100%;
}
.signup-modal input[type="email"]:focus {
  outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 3px var(--teal-soft);
}
.signup-modal .btn { width: 100%; justify-content: center; }
.signup-status {
  font-size: 14px; margin-top: 12px; min-height: 1.2em;
  color: var(--ink-2);
}
.signup-status.error { color: #B43A3A; }
.signup-status.success { color: var(--teal-deep); }

/* Inline practitioner forms */
.practitioner-form {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--bone-2); padding: 24px; border-radius: 14px;
  border: 1px solid var(--line); max-width: 520px; margin: 24px 0;
}
.practitioner-form label {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3);
}
.practitioner-form input[type="text"],
.practitioner-form input[type="email"] {
  font-family: var(--sans); font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--ink);
}
.practitioner-form input:focus {
  outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 3px var(--teal-soft);
}
.practitioner-form .btn { align-self: flex-start; }
.practitioner-form-success {
  font-family: var(--serif); font-size: 18px; color: var(--teal-deep);
  background: var(--teal-soft); padding: 20px 24px; border-radius: 14px; margin: 24px 0;
}

/* Practitioner band (bottom of / and /how-it-works) */
.practitioner-band {
  background: var(--bone-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 14px 0; font-family: var(--sans); font-size: 14px;
  text-align: center; color: var(--ink-2);
}
.practitioner-band a { color: var(--teal-deep); text-decoration: none; font-weight: 500; }
.practitioner-band a:hover { text-decoration: underline; }
