/* =========================================================
   SPARK OF CLARITY — Business Clarity Diagnostic
   styles.css  (v2 — white-surface + ADA contrast pass)

   Brand tokens live at :root. Never hardcode brand colors
   inside component rules — reference the variables.

   KEY CHANGES IN THIS PASS:
   1. --ochre is now background/accent/on-dark-text ONLY.
      --ochre-text (#8A6800) is the ADA-safe variant for any
      ochre TEXT rendered on a light (paper/white) background.
      This mirrors the --gold / --gold-text split already
      established in the BBOS document — same brand, same fix.
   2. New --canvas token: the page backdrop sits a shade
      deeper than --paper so the white "app" surface actually
      reads as a raised card, the way it does on the BBOS file
      and the way the survey's card-per-step layout does.
   3. .cta-band--dark and .btn--ochre are now actually defined
      (they were referenced in index.html but missing here —
      that's why the CTA button had no visible styling and the
      dark band wasn't rendering as intended).
   4. .dimension-grid gets a navy inset-panel variant with
      on-dark text overrides baked in, so nothing renders as
      dark-on-dark.
   ========================================================= */

:root {
  /* Brand palette */
  --navy: #1C2140;
  --teal: #234F5A;
  --slate: #C7D9E1;
  --ochre: #C49A2C;       /* backgrounds, borders, icons, text-on-navy */
  --ochre-text: #8A6800;  /* ADA-safe: ochre TEXT on paper/white only */
  --paper: #F5F2EC;
  --white: #FFFFFF;
  --dark: #111418;
  --mid: #3d424f;
  --rule: rgba(28,33,64,.12);
  --rule-on-dark: rgba(255,255,255,.14);
  --error: #C62828;

  /* Page backdrop vs. raised surface */
  --canvas: #ECE8E0;       /* backdrop — deeper than paper, so white "floats" */

  /* Typography */
  --font-body: 'Thasadith', sans-serif;
  --font-head: 'Prata', Georgia, serif;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;

  /* Animation */
  --ease: cubic-bezier(0.25,1,0.5,1);
  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --motion-reduced: 0.001ms;

  /* Layout */
  --radius: 12px;
  --radius-btn: 3px;
  --max-width: 680px;      /* text measure, unchanged */
  --shell-width: 860px;    /* the white card itself, wider than the text measure */
  --card-bg: #FFFFFF;
  --shadow-card: 0 4px 6px -1px rgba(0,0,0,.05), 0 2px 4px -1px rgba(0,0,0,.03);
  --shadow-elevated: 0 24px 60px -20px rgba(28,33,64,.28), 0 6px 20px -6px rgba(28,33,64,.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--dark);
  font-size: clamp(1rem,1.4vw + 0.6rem,1.1rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1,h2,h3,h4 { font-family: var(--font-head); color: var(--navy); font-weight: normal; line-height: 1.25; }
h1 { font-size: clamp(1.6rem,4vw,2.2rem); }
h2 { font-size: clamp(1.3rem,3.4vw,1.7rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 var(--space-2); }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }

/* Display heading — used for section headlines that want the editorial serif treatment */
.disp, h2.disp {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  line-height: 1.18;
  color: var(--navy);
  font-weight: normal;
}

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--white); padding: .75rem 1.25rem; z-index: 100; border-radius: 0 0 var(--radius-btn) 0; font-size: .85rem; font-weight: 500; }
.skip-link:focus { left: 0; }
.hidden { display: none !important; }
.container { max-width: var(--shell-width); margin: 0 auto; padding: 0 var(--space-3); }

/* ---------- App Shell ---------- */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Top Bar ---------- */
.topbar { position: sticky; top: 0; background: rgba(236,232,224,.92); backdrop-filter: blur(8px); z-index: 10; padding: 16px 0 10px; border-bottom: 1px solid var(--rule); margin-bottom: 0; }
.topbar__inner { max-width: var(--shell-width); margin: 0 auto; padding: 0 var(--space-3); display: flex; align-items: center; justify-content: space-between; }
.topbar__brand { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); }
.topbar__brand span { color: var(--ochre-text); }
.nav-cta { font-family: var(--font-body); font-weight: 700; font-size: clamp(.8rem,2.5vw,.9rem); color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; padding: 8px 4px; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.nav-cta:hover, .nav-cta:focus-visible { color: var(--teal); border-color: var(--teal); }

/* ---------- Progress ---------- */
.progress-wrap { padding: var(--space-3) var(--space-3) 0; max-width: var(--shell-width); margin: 0 auto; }
.progress-track { height: 4px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--ochre); border-radius: 2px; transition: width .5s var(--ease-out); width: 0%; }
.progress-label { font-size: .7rem; color: var(--mid); text-align: center; margin-top: 8px; }

/* ---------- THE WHITE SURFACE ----------
   This is the "white box on top of the background" — everything
   inside <main class="app"> sits on one raised card floating on
   the deeper --canvas backdrop, echoing the BBOS document's
   #book1–#book4 treatment and the survey's card-per-step feel. */
main.app {
  max-width: var(--shell-width);
  margin: clamp(24px,4vw,48px) auto 64px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--rule);
  overflow: hidden; /* clips inner navy bands to the rounded corners */
}
.page-section { padding: clamp(40px,7vw,72px) clamp(22px,5vw,64px); }

/* ---------- Step Animation ---------- */
.step { display: none; animation: fadeIn .4s var(--ease-out); }
.step.active { display: block; }
@keyframes fadeIn { from { opacity:0; transform:translateY(10px) } to { opacity:1; transform:none } }

/* ---------- Eyebrow ---------- */
/* Default eyebrow sits on light (white/paper) backgrounds, so it uses the
   ADA-safe darker gold. Anywhere it sits on navy, override to --ochre. */
.eyebrow { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ochre-text); margin-bottom: 14px; }
.eyebrow--inverse { color: var(--slate); }

/* ---------- Lede ---------- */
.lede { color: var(--mid); font-size: .95rem; line-height: 1.75; margin-bottom: 22px; max-width: 56ch; }

/* ---------- Hero ---------- */
.hero { text-align: center; }
.hero h1 { margin-bottom: 16px; }
.hero h1 em { font-style: italic; font-weight: 700; }
.hero .lede { margin-left: auto; margin-right: auto; }
.hero__actions { margin-top: var(--space-4); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3); }

/* ---------- Dividers ---------- */
.divider { border-top: 1px solid var(--rule); margin: 0; }
.divider--accent { border-top-color: var(--ochre); }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--shadow-card); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -6px rgba(28,33,64,.15); }

/* ---------- On-dark helpers (navy bands inside the white surface) ---------- */
.bg-navy, .cta-band--dark { background: var(--navy); }
.bg-navy .eyebrow, .cta-band--dark .eyebrow { color: var(--ochre); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .cta-band--dark h1, .cta-band--dark h2, .cta-band--dark h3 { color: var(--white); }
.bg-navy p, .bg-navy .lede, .cta-band--dark p, .cta-band--dark .lede { color: rgba(255,255,255,.74); }

/* ---------- Callout Box ----------
   Navy by default per brand preference — used to divide and
   weight a section the way it does on the survey. */
.callout { background: var(--navy); border: none; border-left: 4px solid var(--ochre); border-radius: 8px; padding: 22px 26px; margin: var(--space-4) 0; }
.callout h4 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre); margin-bottom: 8px; font-family: var(--font-body); }
.callout p { font-size: .9rem; line-height: 1.65; color: rgba(255,255,255,.85); margin: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 14px 26px; border-radius: var(--radius-btn); border: 2px solid transparent; font-family: var(--font-body); transition: all .25s var(--ease); min-height: 48px; text-decoration: none; }
.btn--primary { color: var(--white); background: var(--navy); border-color: var(--navy); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--teal); border-color: var(--teal); transform: translateY(-1px); }
.btn--primary:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* .btn--ochre is the CTA-band button — bold text + a visible navy border,
   so it reads unmistakably as a button rather than a link. .btn--bg-oak is
   kept as an alias in case it's referenced elsewhere (diagnostic.html). */
.btn--ochre, .btn--bg-oak { color: var(--navy); background: var(--ochre); border-color: var(--navy); font-weight: 700; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.btn--ochre:hover, .btn--ochre:focus-visible, .btn--bg-oak:hover, .btn--bg-oak:focus-visible { background: #B58A24; transform: translateY(-1px); }

.btn--ghost { background: none; color: var(--mid); padding: 14px 10px; text-transform: none; letter-spacing: 0; font-weight: 600; border: none; }
.btn--ghost:hover { color: var(--navy); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Dimension Grid ---------- */
.dimension-section__inner { max-width: var(--max-width); margin: 0 auto; }
.section-intro { text-align: center; }
.section-intro h2 { margin-bottom: var(--space-2); }

/* The six-areas grid now lives in its own navy inset panel — full-bleed
   within the white surface, numerals only (no redundant "Dimension One"
   label since the numeral already carries that information). */
.dimension-grid {
  list-style: none; margin: var(--space-5) calc(-1 * clamp(22px,5vw,64px)) 0;
  padding: clamp(32px,5vw,48px) clamp(22px,5vw,64px);
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--navy);
  border-radius: 4px;
}
.dimension-grid__item {
  position: relative; padding: var(--space-3) 0;
  border-bottom: 1px solid var(--rule-on-dark);
  transition: background .2s;
}
.dimension-grid__item:last-child { border-bottom: none; }
.dimension-grid__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(196,154,44,.14); border: 1.5px solid var(--ochre);
  color: var(--ochre); font-family: var(--font-head); font-size: 1rem;
  margin-bottom: 12px;
}
.dimension-grid__item h3 { color: var(--white); margin-bottom: 6px; }
.dimension-grid__item p { margin: 0; color: rgba(255,255,255,.72); font-size: .92rem; line-height: 1.6; }
@media (min-width: 700px) {
  .dimension-grid { grid-template-columns: repeat(3,1fr); column-gap: var(--space-4); }
  .dimension-grid__item { padding: var(--space-3) 0; border-bottom: none; border-right: 1px solid var(--rule-on-dark); padding-right: var(--space-3); }
  .dimension-grid__item:nth-child(3n) { border-right: none; padding-right: 0; }
  .dimension-grid__item:nth-child(n+4) { padding-top: var(--space-4); }
}

/* ---------- Form Fields ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field textarea, .field select { width: 100%; padding: 13px 15px; border: 1.5px solid var(--rule); border-radius: 8px; background: var(--white); font-family: var(--font-body); font-size: .94rem; color: var(--dark); transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ochre-text); }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field .optional { color: var(--mid); font-weight: 400; font-style: italic; }
.field .hint { font-size: .78rem; color: var(--mid); margin-top: 8px; line-height: 1.5; }
.field .error-msg { color: var(--error); font-size: .78rem; margin-top: 8px; display: none; }
.field .error-msg.show { display: block; }

/* ---------- Option Lists ---------- */
.opt-list { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; align-items: flex-start; gap: 20px; background: var(--white); border: 1.5px solid var(--rule); border-radius: 8px; padding: 18px 22px; cursor: pointer; transition: border-color .2s, background .2s; }
.opt:hover { border-color: var(--ochre-text); }
.opt input { margin-top: 4px; accent-color: var(--ochre-text); flex-shrink: 0; width: 18px; height: 18px; }
.opt span { font-size: .9rem; color: var(--dark); line-height: 1.65; }
.opt.checked { border-color: var(--ochre-text); border-width: 2px; background: rgba(196,154,44,.06); }
.opt.disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Checklist ---------- */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: var(--space-3) 0; }
@media (max-width: 600px) { .checklist { grid-template-columns: 1fr; } }
.checklist-item { display: flex; align-items: flex-start; gap: 10px; background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 16px; font-size: .88rem; color: var(--dark); line-height: 1.5; }
.checklist-item::before { content: '\2713'; color: var(--ochre-text); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ---------- Navigation Buttons ---------- */
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-5); gap: 14px; }
.step-nav--right { justify-content: flex-end; }

/* ---------- Footer ----------
   Sits outside the white surface, on the canvas backdrop, so the
   surface card stays the one clear "white box" on the page. */
.site-footer { background: transparent; border-top: 1px solid var(--rule); padding: var(--space-4) var(--space-3); text-align: center; }
.site-footer__inner { max-width: var(--shell-width); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.site-footer p { font-size: .85rem; color: var(--mid); margin: 0; }
.site-footer .wordmark { font-family: var(--font-head); color: var(--navy); font-size: .95rem; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: var(--motion-reduced) !important; transition-duration: var(--motion-reduced) !important; scroll-behavior: auto !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .topbar__inner { flex-direction: column; gap: var(--space-1); }
  main.app { border-radius: 16px; margin: 16px auto 40px; }
}
@media (max-width: 480px) {
  :root { --space-4: 1.5rem; --space-5: 2rem; --space-6: 2.5rem; }
  .page-section { padding: 40px 20px; }
  .dimension-grid { margin-left: -20px; margin-right: -20px; margin-bottom: 0; padding-left: 20px; padding-right: 20px; border-radius: 0; }
}

/* =========================================================
   DIAGNOSTIC & RESULTS PAGES
   diagnostic.html / results.html render their own markup via
   diagnostic.js / results.js and use a separate, simpler
   component vocabulary than index.html (.primary-btn instead
   of .btn--primary, .question-card instead of .card, etc).
   These rules exist ONLY for that vocabulary — nothing above
   this section is touched, so index.html is unaffected.
   ========================================================= */

/* ---------- Simple sticky header (diagnostic + results) ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(236,232,224,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); padding: 18px 0; }
.wordmark { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); }

/* ---------- The white surface, applied to the actual question card ----------
   This is the correct home for the "white box on background" treatment —
   each step floats as its own raised card on the --canvas backdrop, the
   way socsbsurvey's card-per-step flow does. */
.diagnostic-shell { flex: 1; display: flex; flex-direction: column; }
.question-stage { padding: clamp(24px,5vw,48px) var(--space-3) 72px; display: flex; justify-content: center; }
.question-card {
  width: 100%; max-width: 640px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--rule);
  padding: clamp(32px,6vw,56px) clamp(24px,5vw,48px);
  animation: fadeIn .4s var(--ease-out);
}

/* Progress label — two spans side by side (step name + "Step X of Y") */
#progress-text { font-weight: 700; color: var(--navy); margin-right: 10px; }
#progress-count { color: var(--mid); }

/* ---------- Intro / dimension-intro / submit screens ---------- */
.section-intro { text-align: left; }
.section-intro h1 { margin-bottom: 18px; }
.section-intro p { color: var(--mid); font-size: .96rem; line-height: 1.75; }
.section-intro .eyebrow { margin-bottom: 10px; }

/* ---------- Question text (profile + likert legend) ---------- */
.question-text { font-family: var(--font-head); font-weight: normal; color: var(--navy); font-size: clamp(1.25rem,3vw,1.6rem); line-height: 1.35; margin-bottom: 28px; }

/* ---------- Profile question fields ---------- */
.field-group { margin-bottom: 8px; }
.field-input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--rule); border-radius: 8px; background: var(--white); font-family: var(--font-body); font-size: 1rem; color: var(--dark); transition: border-color .2s; }
.field-input:focus { border-color: var(--ochre-text); outline: none; box-shadow: 0 0 0 3px rgba(196,154,44,.15); }
select.field-input { cursor: pointer; }
textarea.field-input { min-height: 120px; resize: vertical; line-height: 1.6; }
.field-hint { font-size: .8rem; color: var(--mid); margin-top: 10px; font-style: italic; }

/* ---------- Likert scale ---------- */
.likert-group { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.likert-option { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1.5px solid var(--rule); border-radius: 8px; padding: 16px 20px; cursor: pointer; transition: border-color .2s, background .2s; }
.likert-option:hover { border-color: var(--ochre-text); }
.likert-option.is-selected { border-color: var(--ochre-text); border-width: 2px; background: rgba(196,154,44,.06); }
.likert-option input[type=radio] { accent-color: var(--ochre-text); width: 18px; height: 18px; flex-shrink: 0; }
.likert-value { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); color: var(--navy); font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.likert-option.is-selected .likert-value { background: var(--ochre-text); color: var(--white); }

/* ---------- Question nav — mirrors socsbsurvey's ← Back / Continue → pattern ---------- */
.question-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; gap: 14px; }
.question-nav .spacer { flex: 1; }
.primary-btn, .secondary-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .02em; padding: 14px 30px; border-radius: var(--radius-btn); border: 2px solid transparent; cursor: pointer; transition: all .25s var(--ease); min-height: 48px; text-decoration: none; }
.primary-btn { background: var(--navy); color: var(--white); border-color: var(--navy); }
.primary-btn:hover:not(:disabled), .primary-btn:focus-visible:not(:disabled) { background: var(--teal); border-color: var(--teal); transform: translateY(-1px); }
.primary-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.secondary-btn { background: none; color: var(--mid); border-color: transparent; font-weight: 600; padding: 14px 10px; }
.secondary-btn:hover { color: var(--navy); }

/* ---------- Results / Business Clarity Snapshot ---------- */
#no-results-state { max-width: 520px; margin: 80px auto; text-align: center; }
#no-results-state .primary-btn { display: inline-flex; margin-top: 20px; }

.score-hero { text-align: center; padding: 32px 0 40px; }
.score-number { font-family: var(--font-head); font-size: clamp(3.5rem,10vw,5.5rem); color: var(--navy); line-height: 1; margin: 14px 0 4px; }
.score-out-of { font-size: .8rem; color: var(--mid); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.growth-stage-pill { display: inline-block; background: var(--navy); color: var(--white); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 8px 20px; border-radius: 999px; }

.snapshot-section { max-width: 640px; margin: 0 auto 48px; padding-top: 32px; border-top: 1px solid var(--rule); }
.snapshot-section:first-of-type { border-top: none; padding-top: 0; }
.snapshot-section h2 { margin-bottom: 16px; }

.dimension-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dimension-row { display: flex; justify-content: space-between; align-items: center; background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 14px 18px; box-shadow: var(--shadow-card); }
.dimension-name { font-weight: 700; color: var(--navy); font-size: .92rem; }
.dimension-score { font-family: var(--font-head); color: var(--ochre-text); font-size: 1rem; }

.focus-list { list-style: none; counter-reset: focus; display: flex; flex-direction: column; gap: 16px; }
.focus-list li { counter-increment: focus; position: relative; padding-left: 44px; min-height: 30px; display: flex; align-items: center; }
.focus-list li::before { content: counter(focus); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--ochre); font-family: var(--font-head); display: flex; align-items: center; justify-content: center; font-size: .9rem; }

.cta-section { max-width: 640px; margin: 0 auto 48px; background: var(--navy); color: var(--white); border-radius: 20px; padding: clamp(32px,5vw,48px); }
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,.78); }
.cta-section ul { margin: 16px 0 20px; padding-left: 20px; color: rgba(255,255,255,.78); }
.cta-section li { margin-bottom: 8px; }
.cta-section .primary-btn { background: var(--ochre); color: var(--navy); border-color: var(--navy); margin-top: 8px; }
.cta-section .primary-btn:hover { background: #B58A24; }

.email-capture { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.email-capture form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.email-capture .field-input { max-width: 320px; }
.form-status { font-size: .82rem; margin-top: 12px; color: var(--mid); }
.form-status[data-state="error"] { color: var(--error); }
.form-status[data-state="success"] { color: var(--teal); }

.text-link-btn { background: none; border: none; color: var(--mid); font-size: .85rem; text-decoration: underline; cursor: pointer; font-family: var(--font-body); }
.text-link-btn:hover { color: var(--navy); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 600px) {
  .question-card { border-radius: 16px; }
  .question-nav { flex-wrap: wrap; }
}
