/* ════════════════════════════════════════════════════════════════════════
   Gillnet.ai landing system
   Dual-surface: dark = machine output, warm canvas = human context.
   Deepwater teal #009B87 = interactive only. Amber = money, once per page.
   Serif = voice, sans = explanation, mono = data. Sharp 0px, no shadows.
   ════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* brand */
  --primary:        #009B87;
  --primary-active: #007A6A;
  --primary-light:  #E0F2EE;
  --amber:          #C47A2E;
  --green:          #10B981;

  /* dark surfaces (machine output) */
  --dark-bg:        #0D1117;
  --dark-panel:     #131A22;
  --dark-border:    #1E2B37;

  /* canvas surfaces (human context) */
  --canvas:         #F8F5EF;
  --canvas-card:    #EEEAE2;
  --border:         #CBD5E1;

  /* text */
  --ink:            #111210;
  --body:           #1A202C;
  --muted:          #596573; /* AA-safe reading grey on warm canvas (>=4.9:1 on canvas-card) */
  --dim:            #6B798A;
  --dim-on-dark:    #8F9EAD; /* raised from #6B798A: 6.9:1 on dark-bg, meets WCAG AA */
  --bright:         #E8EFF6;

  /* type stacks */
  --serif: 'DM Serif Display', 'Playfair Display', Georgia, serif;
  --sans:  'IBM Plex Sans', Arial, sans-serif;
  --mono:  'IBM Plex Mono', 'Courier New', monospace;

  --max: 1100px;
  --narrow: 760px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4.5rem, 9vw, 6rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Accessibility helpers ───────────────────────────────────────────── */
.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  background: var(--primary); color: var(--dark-bg);
  font-family: var(--sans); font-weight: 600; font-size: .9rem;
  padding: .6rem 1.25rem; z-index: 200; transition: transform .2s;
}
.skip-link:focus { transform: translate(-50%, .5rem); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Shared layout / type utilities ──────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.container-narrow { max-width: var(--narrow); }

.eyebrow {
  font-family: var(--mono);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.25rem;
}

.display-h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: 22ch;
}
.display-h2.on-dark { color: var(--bright); }

.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
}
.on-dark { color: var(--bright); }
.on-dark-soft { color: var(--dim-on-dark); }
.lede.on-dark { color: var(--dim-on-dark); }

/* ── Nav ─────────────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(248, 245, 239, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}
.nav-wordmark {
  font-family: var(--sans);
  font-weight: 700; font-size: 1.3rem;
  letter-spacing: -.01em;
  color: var(--bright);
  text-decoration: none;
  transition: color .3s;
}
#nav.scrolled .nav-wordmark { color: var(--ink); }
.nav-wordmark .dot { color: var(--primary); }
.nav-cta {
  font-family: var(--sans);
  font-size: .875rem; font-weight: 600;
  color: var(--dark-bg);
  background: var(--primary);
  padding: .5rem 1.25rem;
  text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: var(--primary-active); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  text-decoration: none;
  padding: .875rem 2rem;
  transition: background .2s, transform .15s, border-color .2s, color .2s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--dark-bg); }
.btn-primary:hover { background: var(--primary-active); }
.btn-ghost {
  background: transparent; color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: var(--dark-bg); }

/* ════════════════════════════════════════════════════════════════════════
   1. HERO  (dark)
   ════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--dark-bg);
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 8rem var(--pad) 4rem;
  overflow: hidden;
}
.hero-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary);
}
.hero-inner { max-width: var(--max); margin: 0 auto; width: 100%; }
.hero .eyebrow { color: var(--dim-on-dark); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 400; line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--bright);
  margin-bottom: 1.75rem;
  max-width: 18ch;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--dim-on-dark);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-badges {
  list-style: none;
  display: flex; gap: 1.25rem 1.75rem; flex-wrap: wrap;
  margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
}
.badge {
  font-family: var(--mono);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--dim-on-dark);
  display: flex; align-items: center; gap: .5rem;
}
.badge::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--primary); flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════════════
   2. PROBLEM  (dark)
   ════════════════════════════════════════════════════════════════════════ */
.problem {
  background: var(--dark-bg);
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--dark-border);
}
.problem .lede { margin-bottom: 2.5rem; }
.cost-math {
  font-family: var(--mono);
  font-size: clamp(.8rem, 1.5vw, .95rem);
  border-left: 2px solid var(--dark-border);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  max-width: 640px;
}
.cost-row {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: .45rem 0; color: var(--dim-on-dark);
}
.cost-row .hl { color: var(--bright); text-align: right; }
.cost-result {
  border-top: 1px solid var(--dark-border);
  margin-top: .5rem; padding-top: 1rem;
  color: var(--dim-on-dark);
}
.cost-result span:last-child { color: var(--bright); font-weight: 700; }
.cost-kicker {
  font-size: 1.1rem; line-height: 1.6; color: var(--dim-on-dark);
  border-top: 1px solid var(--dark-border);
  padding-top: 1.5rem; max-width: 60ch;
}
.cost-kicker strong { color: var(--bright); }

/* ════════════════════════════════════════════════════════════════════════
   3. PIPELINE / HOW IT WORKS  (canvas card)
   ════════════════════════════════════════════════════════════════════════ */
.pipeline {
  background: var(--canvas-card);
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--border);
}
.pipeline .display-h2 { margin-bottom: 3.5rem; max-width: 28ch; }
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(6, 1fr);
  position: relative; gap: 0;
}
.steps::before {
  content: ''; position: absolute;
  top: 1.65rem; left: 8%; right: 8%; height: 1px;
  background: var(--border); z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 .5rem; }
.step-num {
  display: block;
  font-family: var(--mono); font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; color: var(--primary);
  margin-bottom: .5rem;
}
.step-dot {
  display: block; width: 12px; height: 12px;
  border-radius: 50%; background: var(--primary);
  margin: 0 auto .9rem; position: relative;
}
.step-dot::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 1px solid var(--primary-light);
}
.step-title {
  font-family: var(--sans); font-size: .95rem; font-weight: 700;
  color: var(--ink); margin-bottom: .4rem;
}
.step-desc { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.pipeline-note {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 1.05rem; font-weight: 600;
  color: var(--ink); text-align: center;
}

/* ════════════════════════════════════════════════════════════════════════
   4. SCORECARD TERMINAL  (dark)
   ════════════════════════════════════════════════════════════════════════ */
.scorecard {
  background: var(--dark-bg);
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--dark-border);
}
.scorecard-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.scorecard-copy .display-h2 { margin-bottom: 1.25rem; }
.scorecard-copy p { color: var(--dim-on-dark); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1rem; }
.scorecard-copy p strong { color: var(--bright); }

.terminal {
  background: var(--dark-panel);
  border: 1px solid var(--dark-border);
  font-family: var(--mono);
  overflow: hidden; border-radius: 6px;
}
.terminal-bar { height: 2px; background: var(--primary); }
.terminal-header {
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--dark-border);
  display: flex; align-items: center; gap: .5rem;
}
.terminal-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dark-border); }
.terminal-label { font-size: .7rem; color: var(--dim-on-dark); margin-left: .25rem; }
.terminal-body { padding: 1.5rem; }
.t-name { font-size: 1.1rem; font-weight: 700; color: var(--bright); margin-bottom: .2rem; }
.t-meta { font-size: .8rem; color: var(--dim-on-dark); margin-bottom: 1.25rem; }
.t-score-line { display: flex; align-items: baseline; gap: .4rem; margin-bottom: 1.25rem; }
.t-score-num {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 700;
  color: var(--primary); font-variant-numeric: tabular-nums;
}
.t-score-denom { font-size: .9rem; color: var(--dim-on-dark); }
.t-badge {
  margin-left: auto; font-size: .72rem; font-weight: 700;
  color: var(--green); border: 1px solid var(--green);
  padding: .15rem .6rem; text-transform: uppercase; letter-spacing: .04em;
  opacity: 0; transition: opacity .4s .6s;
}
.scorecard.in-view .t-badge { opacity: 1; }
.score-rows { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.25rem; }
.score-row { display: grid; grid-template-columns: 6.5rem 1fr 2.2rem; align-items: center; gap: .75rem; }
.score-row-label { font-size: .76rem; color: var(--dim-on-dark); }
.score-bar-track { height: 3px; background: var(--dark-border); position: relative; display: block; }
.score-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0; display: block;
  background: var(--primary); width: 0;
  transition: width 1.1s cubic-bezier(.22,1,.36,1);
}
.score-bar-fill.delay1 { transition-delay: .1s; }
.score-bar-fill.delay2 { transition-delay: .25s; }
.score-bar-fill.delay3 { transition-delay: .4s; }
.score-bar-fill.delay4 { transition-delay: .55s; }
.scorecard.in-view .score-bar-fill { width: var(--pct); }
.score-val { font-size: .76rem; color: var(--primary); text-align: right; }
.t-divider { height: 1px; background: var(--dark-border); margin: 1rem 0; }
.t-why { font-size: .75rem; color: var(--dim-on-dark); line-height: 1.6; }
.t-why strong { color: var(--bright); text-transform: uppercase; letter-spacing: .04em; font-size: .7rem; }
.t-status { font-size: .75rem; display: flex; align-items: center; gap: .5rem; margin-top: 1rem; }
.t-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); animation: pulse 2s infinite; }
.t-status-text { color: var(--dim-on-dark); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ════════════════════════════════════════════════════════════════════════
   5. CANDIDATE EXPERIENCE  (canvas)
   ════════════════════════════════════════════════════════════════════════ */
.candidate {
  background: var(--canvas);
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--border);
}
.candidate .lede { margin-bottom: 3rem; }
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.feature-card {
  background: var(--canvas-card);
  border-top: 2px solid var(--border);
  padding: 2rem;
  transition: border-color .2s;
}
.feature-card:hover { border-color: var(--primary); }
.feature-head {
  font-family: var(--sans); font-size: 1.1rem; font-weight: 700;
  color: var(--ink); margin-bottom: 1rem; line-height: 1.3;
}
.feature-card p { font-size: .95rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.feature-card p:last-child { margin-bottom: 0; }

/* ════════════════════════════════════════════════════════════════════════
   6. TRUST / WHY GILLNET  (canvas)
   ════════════════════════════════════════════════════════════════════════ */
.trust {
  background: var(--canvas);
  padding: var(--section) var(--pad);
}
.trust .display-h2 { margin-bottom: 3rem; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.trust-card {
  background: var(--canvas-card);
  padding: 1.75rem;
  border-top: 2px solid var(--border);
  transition: border-color .2s;
}
.trust-card:hover { border-color: var(--primary); }
.trust-card-head { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: .75rem; line-height: 1.3; }
.trust-card-body { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.trust-card-body strong { color: var(--body); }

/* ════════════════════════════════════════════════════════════════════════
   7. WHAT IT REPLACES  (dark, the single amber moment)
   ════════════════════════════════════════════════════════════════════════ */
.replaces {
  background: var(--dark-bg);
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--dark-border);
}
.compare {
  width: 100%; border-collapse: collapse;
  margin: 2rem 0; font-size: .95rem;
}
.compare th, .compare td {
  text-align: left; padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--dark-border);
  vertical-align: top;
}
.compare thead th {
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--dim-on-dark); border-bottom-color: var(--dark-border);
}
.compare tbody th {
  font-family: var(--sans); font-weight: 700; color: var(--bright);
  width: 30%;
}
.compare td { color: var(--dim-on-dark); }
.compare td .amber { font-family: var(--mono); font-weight: 700; color: var(--amber); }
.roi {
  font-size: 1.1rem; line-height: 1.6; color: var(--dim-on-dark);
  max-width: 62ch; margin-top: 1.5rem;
}
.roi strong { color: var(--bright); }

/* ════════════════════════════════════════════════════════════════════════
   8. PROOF + COMPLIANCE  (dark)
   ════════════════════════════════════════════════════════════════════════ */
.proof {
  background: var(--dark-bg);
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--dark-border);
}
.proof .lede { margin-bottom: 1.5rem; }
.proof-note { font-size: .95rem; line-height: 1.65; max-width: 60ch; margin-bottom: 3rem; }
.compliance {
  border-top: 1px solid var(--dark-border);
  padding-top: 2.5rem;
}
.compliance-head {
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400; color: var(--bright); letter-spacing: -.01em;
  margin-bottom: .75rem;
}
.compliance > p { color: var(--dim-on-dark); margin-bottom: 1.75rem; max-width: 60ch; }
.compliance-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 2rem;
  max-width: 720px;
}
.compliance-list li {
  font-family: var(--mono); font-size: .82rem; color: var(--bright);
  padding-left: 1.5rem; position: relative; line-height: 1.5;
}
.compliance-list li::before {
  content: '\2713'; position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 700;
}

/* ════════════════════════════════════════════════════════════════════════
   9. FOUNDERS  (canvas)
   ════════════════════════════════════════════════════════════════════════ */
.founders {
  background: var(--canvas);
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--border);
}
.founders-inner {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start;
}
.founders-copy p { color: var(--muted); line-height: 1.7; margin-bottom: 1.1rem; max-width: 56ch; }
.founders-copy p strong { color: var(--ink); }
.founders-card {
  background: var(--canvas-card);
  border-top: 2px solid var(--border);
  padding: 2rem;
  transition: border-color .2s;
}
.founders-card:hover { border-color: var(--primary); }
.founders-names {
  display: flex; flex-direction: column;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.founders-names:first-child { padding-top: 0; }
.founders-names span:first-child {
  font-family: var(--serif); font-size: 1.4rem; color: var(--ink); line-height: 1.2;
}
.founders-role { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); margin-top: .35rem; }
.founders-by { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-top: 1.25rem; }
.founders-photo {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  margin-bottom: 1.5rem;
}

/* ════════════════════════════════════════════════════════════════════════
   10. PRICING  (dark)
   ════════════════════════════════════════════════════════════════════════ */
.pricing {
  background: var(--dark-bg);
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--dark-border);
}
.pricing .display-h2 { margin-bottom: .75rem; }
.pricing-sub { font-size: 1.05rem; margin-bottom: 3rem; max-width: 58ch; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-card {
  background: var(--dark-panel);
  border: 1px solid var(--dark-border);
  padding: 2rem; position: relative;
  display: flex; flex-direction: column;
}
.pricing-card.popular { border: 2px solid var(--primary); }
.popular-badge {
  position: absolute; top: 0; right: 1.5rem; transform: translateY(-50%);
  background: var(--primary); color: var(--dark-bg);
  font-family: var(--mono); font-size: .68rem; font-weight: 700;
  padding: .25rem .75rem; letter-spacing: .05em; text-transform: uppercase;
}
.pricing-tier {
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  color: var(--primary); text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 1rem;
}
.pricing-price {
  font-family: var(--mono); font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--bright); line-height: 1; margin-bottom: .35rem;
}
.pricing-period { font-family: var(--mono); font-size: .78rem; color: var(--dim-on-dark); margin-bottom: 1.75rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; flex: 1; }
.pricing-features li { font-size: .9rem; color: var(--dim-on-dark); padding-left: 1.4rem; position: relative; line-height: 1.5; }
.pricing-features li::before { content: '\2192'; position: absolute; left: 0; color: var(--primary); }
.pricing-features li strong, .pricing-card .pricing-features li b { color: var(--bright); }
.pricing-anchor {
  margin-top: 1.5rem; font-family: var(--mono); font-size: .9rem;
  color: var(--dim-on-dark); text-align: center;
}

/* Sourcing Light: deliberately subordinate */
.light {
  margin-top: 2.5rem;
  background: transparent;
  border: 1px dashed var(--dark-border);
  padding: 1.75rem 2rem;
  display: grid; grid-template-columns: auto 1fr; gap: 1rem 2.5rem; align-items: start;
}
.light-head { border-right: 1px solid var(--dark-border); padding-right: 2.5rem; }
.light-tier { font-family: var(--sans); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--dim-on-dark); margin-bottom: .5rem; }
.light-price { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; color: var(--dim-on-dark); }
.light-price span { font-size: .8rem; color: var(--dim-on-dark); font-weight: 400; }
.light-body p { font-size: .9rem; color: var(--dim-on-dark); line-height: 1.6; margin-bottom: .75rem; max-width: 60ch; }
.light-meta { font-family: var(--mono); font-size: .76rem; color: var(--dim-on-dark); }
.light-link { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.light-link:hover { text-decoration: underline; }

.pricing-pilot { margin-top: 2.5rem; text-align: center; font-size: .95rem; color: var(--dim-on-dark); }
.pricing-pilot a { color: var(--primary); font-weight: 600; text-decoration: none; }
.pricing-pilot a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════════════
   11. FAQ  (canvas) - native details disclosure
   ════════════════════════════════════════════════════════════════════════ */
.faq {
  background: var(--canvas);
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--border);
}
.faq .display-h2 { margin-bottom: 2.5rem; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer;
  font-family: var(--sans); font-size: 1.05rem; font-weight: 600; color: var(--ink);
  padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::after {
  content: '+'; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.4rem; color: var(--primary); line-height: 1;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p {
  color: var(--muted); font-size: .98rem; line-height: 1.7;
  padding: 0 2.5rem 1.5rem 0; max-width: 70ch;
}

/* ════════════════════════════════════════════════════════════════════════
   12. CTA  (dark)
   ════════════════════════════════════════════════════════════════════════ */
.cta {
  background: var(--dark-bg);
  padding: 7rem var(--pad) 6rem;
  border-top: 1px solid var(--dark-border);
  text-align: center;
}
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta h2 {
  font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 400; letter-spacing: -.02em; line-height: 1.05;
  color: var(--bright); margin-bottom: 1.25rem;
}
.cta-sub { font-size: 1.05rem; line-height: 1.7; margin-bottom: 2.5rem; }
.cta-email {
  display: block; font-family: var(--mono);
  font-size: clamp(1rem, 2.5vw, 1.4rem); font-weight: 700;
  color: var(--primary); text-decoration: none; margin-top: 1.5rem;
}
.cta-email:hover { text-decoration: underline; }
.cta-note { margin-top: 1rem; font-family: var(--mono); font-size: .75rem; color: var(--dim-on-dark); }

/* ── Footer (dark) ───────────────────────────────────────────────────── */
footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 1.5rem var(--pad);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
}
.footer-wordmark {
  font-family: var(--sans); font-weight: 700; font-size: 1.1rem;
  letter-spacing: -.01em; color: var(--bright); text-decoration: none;
  opacity: .9; transition: opacity .2s;
}
.footer-wordmark:hover { opacity: 1; }
.footer-wordmark .dot { color: var(--primary); }
.footer-note { font-family: var(--mono); font-size: .72rem; color: var(--dim-on-dark); }

/* ── Scroll reveal ───────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }
.fade-up:nth-child(5) { transition-delay: .32s; }
.fade-up:nth-child(6) { transition-delay: .40s; }

/* ── Focus states ────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }
.btn-primary:focus-visible, .nav-cta:focus-visible { outline-color: var(--bright); outline-offset: 2px; }
.hero :focus-visible, .scorecard :focus-visible, .problem :focus-visible,
.replaces :focus-visible, .proof :focus-visible, .pricing :focus-visible, .cta :focus-visible {
  outline-color: var(--primary);
}

/* ════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .scorecard-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .founders-inner { grid-template-columns: 1fr; gap: 2rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .pricing-card.popular { order: -1; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps::before { display: none; }
  .step { text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
  .step-num { grid-column: 1; grid-row: 1; margin: 0; align-self: center; }
  .step-dot { grid-column: 1; grid-row: 1; margin: 0; align-self: center; }
  .step-num { display: none; }
  .step-title, .step-desc { grid-column: 2; }
  .feature-grid { grid-template-columns: 1fr; }
  .light { grid-template-columns: 1fr; }
  .light-head { border-right: none; border-bottom: 1px solid var(--dark-border); padding-right: 0; padding-bottom: 1rem; display: flex; align-items: baseline; gap: 1rem; }
}
@media (max-width: 540px) {
  .trust-grid { grid-template-columns: 1fr; }
  .compare, .compare thead, .compare tbody, .compare tr { display: block; }
  .compare thead { display: none; }
  .compare tr { border-bottom: 1px solid var(--dark-border); padding: 1rem 0; }
  .compare th, .compare td { display: block; border: none; padding: .2rem 0; }
  .compare tbody th { width: auto; font-size: 1.05rem; margin-bottom: .35rem; }
  .compliance-list { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* ── Reduced motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .fade-up { opacity: 1 !important; transform: none !important; }
  .score-bar-fill { transition: none !important; }
  .t-status-dot { animation: none !important; }
}

/* post-scorecard conversion anchor */
.scorecard-cta { margin-top: 2rem; }

/* ── Privacy / legal page ───────────────────────────────────────────── */
#nav.nav-solid { background: rgba(248,245,239,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: var(--border); }
.nav-solid .nav-wordmark { color: var(--ink); }
.legal { background: var(--canvas); padding: 8rem var(--pad) var(--section); }
.legal .container-narrow { max-width: 720px; }
.legal-title { font-family: var(--serif); font-size: clamp(2.2rem,5vw,3.2rem); font-weight: 400; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; margin-bottom: .5rem; }
.legal-meta { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-bottom: 2rem; }
.legal-intro { font-size: 1.15rem; line-height: 1.7; color: var(--body); margin-bottom: 2.5rem; max-width: 68ch; }
.legal h2 { font-family: var(--serif); font-size: clamp(1.4rem,3vw,1.9rem); font-weight: 400; color: var(--ink); letter-spacing: -.01em; margin: 2.5rem 0 .85rem; }
.legal h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 1.75rem 0 .6rem; }
.legal p { color: var(--body); line-height: 1.7; margin-bottom: 1rem; max-width: 68ch; }
.legal ul { list-style: none; margin: 0 0 1.25rem; padding: 0; max-width: 68ch; }
.legal li { color: var(--body); line-height: 1.6; padding-left: 1.4rem; position: relative; margin-bottom: .55rem; }
.legal li::before { content: '\2192'; position: absolute; left: 0; color: var(--primary); }
.legal a { color: var(--primary-active); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--primary); }
.legal strong { color: var(--ink); }
.legal-block { font-family: var(--mono); font-size: .88rem; line-height: 1.8; color: var(--body); background: var(--canvas-card); border-left: 2px solid var(--border); padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.legal-rule { border: none; border-top: 1px solid var(--border); margin: 3rem 0 .5rem; }
.footer-note a { color: var(--dim-on-dark); text-decoration: underline; text-underline-offset: 2px; }
.footer-note a:hover { color: var(--primary); }
