/* ==========================================================================
   GetValue Consulting — design system
   Warm editorial character, modern product surfaces.
   ========================================================================== */

:root {
  /* Surfaces — three layers so the page reads as built, not printed. */
  --paper:      #F4F0E8;
  --paper-2:    #EDE7DB;
  --surface:    #FFFDF8;
  --ink:        #16140F;
  --ink-soft:   #201D16;

  /* Text */
  --fg:         #16140F;
  --fg-2:       #4A4438;
  --mute:       #7C7364;
  --on-dark:    #F6F2EA;
  --on-dark-2:  rgba(246, 242, 234, 0.72);
  --on-dark-3:  rgba(246, 242, 234, 0.48);

  /* Brand */
  --accent:     #B0321C;
  --accent-h:   #8E2715;
  --accent-soft: rgba(176, 50, 28, 0.09);
  --gold:       #B07B26;
  --ok:         #256B45;

  /* Lines */
  --line:       rgba(22, 20, 15, 0.10);
  --line-2:     rgba(22, 20, 15, 0.17);
  --line-dark:  rgba(246, 242, 234, 0.16);

  /* Depth — warm-tinted so shadows sit on paper rather than floating grey. */
  --sh-1: 0 1px 2px rgba(50, 40, 25, 0.05), 0 1px 3px rgba(50, 40, 25, 0.04);
  --sh-2: 0 2px 4px rgba(50, 40, 25, 0.05), 0 6px 16px rgba(50, 40, 25, 0.07);
  --sh-3: 0 4px 8px rgba(50, 40, 25, 0.06), 0 14px 34px rgba(50, 40, 25, 0.10);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--fg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
img, svg { max-width: 100%; }

::selection { background: var(--accent); color: #fff; }

a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* ── Type ─────────────────────────────────────────────────────────────── */

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.display {
  font-family: var(--serif);
  letter-spacing: -0.018em;
  line-height: 1.0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--fg-2);
  box-shadow: var(--sh-1);
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.on-dark .eyebrow {
  background: rgba(246, 242, 234, 0.07);
  border-color: var(--line-dark);
  color: var(--on-dark-2);
  box-shadow: none;
}
.mono { font-family: var(--mono); }
.mute { color: var(--mute); }
.accent { color: var(--accent); }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-sm);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.003em;
  transition: transform .18s var(--ease), background .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--sh-2);
}
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); box-shadow: var(--sh-3); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-1);
}
.btn-ghost:hover { border-color: var(--fg); transform: translateY(-1px); box-shadow: var(--sh-2); }

.on-dark .btn-ghost {
  background: rgba(246, 242, 234, 0.08);
  border-color: var(--line-dark);
  color: var(--on-dark);
  box-shadow: none;
}
.on-dark .btn-ghost:hover { background: rgba(246, 242, 234, 0.14); border-color: rgba(246,242,234,0.4); }

.btn .tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.02em;
}
.btn-ghost .tag { background: var(--accent-soft); color: var(--accent); }
.on-dark .btn-ghost .tag { background: rgba(246,242,234,0.14); color: var(--on-dark-2); }

.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; }

/* ── Nav ──────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 240, 232, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(50, 40, 25, 0.05);
}
/* While the bar is still over the dark hero its contents stay light — and if
   it has picked up a background by then, that background is dark too. On a
   tall mobile hero you scroll well before clearing it. */
.nav.on-hero .wordmark,
.nav.on-hero .nav-links a { color: var(--on-dark); }
.nav.on-hero .wordmark .mark { color: var(--on-dark-3); }
.nav.on-hero.scrolled {
  background: rgba(22, 20, 15, 0.74);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.28);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color .25s var(--ease);
}
.wordmark .mark {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--mute);
  transition: color .25s var(--ease);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14.5px;
  color: var(--fg-2);
  transition: color .18s var(--ease);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav.on-hero:not(.scrolled) .nav-links a:hover { color: #E8836B; }
@media (max-width: 900px) { .nav-links { display: none; } }
/* On narrow screens drop the trailing pill and swap in a shorter label — never
   hide the label itself, which left the button reading just "Free". */
.label-short { display: none; }
@media (max-width: 520px) {
  .nav .btn .tag { display: none; }
  .nav .btn .label-full { display: none; }
  .nav .btn .label-short { display: inline; }
  .nav-inner { height: 64px; }
}

/* ── Hero (dark band) ─────────────────────────────────────────────────── */

.hero {
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(176, 50, 28, 0.22) 0%, transparent 58%),
    radial-gradient(90% 80% at 10% 100%, rgba(176, 123, 38, 0.14) 0%, transparent 60%),
    var(--ink);
  color: var(--on-dark);
  margin-top: -74px;
  /* The hero owns the first screen exactly. svh (small viewport height) keeps
     it honest on mobile, where the browser chrome makes 100vh overflow. */
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 104px 0 64px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 1000px) {
  /* Stacked, the copy and the graphic can't share one screen — let it grow
     rather than crush the type. */
  .hero { min-height: 0; padding: 96px 0 68px; }
}
@media (max-width: 620px) { .hero { padding: 88px 0 56px; } }
/* Faint grid — gives the dark band texture without an image request. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246,242,234,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,242,234,0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(90% 70% at 50% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 0%, #000 10%, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } }

/* Sized so the headline, sub, both CTAs and the trust row all clear a
   900px-tall fold. An unreachable primary CTA is worse than a smaller H1. */
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.021em;
  margin: 22px 0 20px;
  max-width: 15ch;
}
@media (max-width: 1000px) { .hero h1 { max-width: 18ch; } }
.hero h1 em { font-style: italic; color: #E8836B; }
.hero-sub {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--on-dark-2);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
/* Equal-width stacked buttons read as a deliberate pair rather than two
   differently-sized blocks. */
@media (max-width: 620px) {
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { width: 100%; }
  .hero-sub { font-size: 16.5px; }
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--on-dark-2);
}
.trust-row svg { color: #6BBF8F; flex: none; }

/* Scroll cue — gives the bottom of the fold a job and signals there's more. */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--on-dark-3);
  transition: color .2s var(--ease);
}
.hero-scroll:hover { color: var(--on-dark); }
.hero-scroll svg { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge {
  0%, 62%, 100% { transform: translateY(0); opacity: .75; }
  80%           { transform: translateY(4px); opacity: 1; }
}
/* Below 1000px the hero stops being exactly one screen, so the cue is a lie. */
@media (max-width: 1000px), (max-height: 700px) { .hero-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll svg { animation: none; } }

/* ── SERP mockup — the hero visual ────────────────────────────────────── */

.serp {
  /* Explicit colour: this card sits inside .hero, which sets a near-white
     text colour for the dark band. Without this the mockup's own copy
     inherits it and renders white-on-cream. */
  color: var(--fg);
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42), 0 2px 0 rgba(255,255,255,0.5) inset;
  overflow: hidden;
  transform: rotate(-0.5deg);
}
.serp-row .nm { color: var(--fg); }
.serp-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.serp-bar .dots { display: flex; gap: 5px; }
.serp-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); display: block; }
.serp-query {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px;
  color: var(--fg-2);
  display: flex;
  align-items: center;
  gap: 7px;
}
.serp-query svg { color: var(--mute); flex: none; }

.serp-body { padding: 16px 16px 34px; }
.serp-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.serp-row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 11px 10px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
}
.serp-row + .serp-row { margin-top: 3px; }
.serp-row .rank {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  background: var(--paper-2);
  color: var(--fg-2);
}
.serp-row .nm { font-size: 14px; font-weight: 500; letter-spacing: -0.005em; }
.serp-row .rv { font-size: 11.5px; color: var(--mute); display: flex; align-items: center; gap: 4px; }
.serp-row .rv svg { color: var(--gold); }
.serp-row.you {
  background: var(--accent-soft);
  border-color: rgba(176, 50, 28, 0.32);
  position: relative;
  margin-top: 16px;
}
/* Dashed break: the distance between third place and you is the whole point. */
.serp-row.you::before {
  content: "";
  position: absolute;
  left: 8px; right: 8px; top: -9px;
  border-top: 1px dashed var(--line-2);
}
.serp-row.you .rank { background: var(--accent); color: #fff; }
.serp-row.you .nm { color: var(--accent); }

/* Stylised map pack strip. */
.serp-map { position: relative; height: 132px; border-bottom: 1px solid var(--line); }
.serp-map svg { display: block; width: 100%; height: 132px; }
.map-tag {
  position: absolute;
  top: 11px; left: 12px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--fg-2);
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  backdrop-filter: blur(3px);
}

/* The stakes card, overlapping the mockup's lower-left corner. */
.hero-visual { position: relative; }

/* Sits below the mockup, overlapping only its lower-left corner padding.
   Absolutely positioning it over the card covered the "Your business" row —
   which is the one line the whole graphic exists to deliver. */
.hero-stat {
  position: relative;
  z-index: 2;
  margin: -26px 0 0 -30px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  max-width: 340px;
  padding: 17px 21px;
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.36);
}
.hs-fig {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--accent);
  flex: none;
}
.hs-fig span { font-size: 22px; }
.hs-copy { font-size: 13.4px; line-height: 1.48; color: var(--fg-2); }
.hs-copy strong { color: var(--fg); font-weight: 600; }
.hs-copy .src { color: var(--mute); font-size: 10px; vertical-align: super; }
.hs-copy .src:hover { color: var(--accent); }

@media (max-width: 1000px) {
  .hero-stat { margin: -22px 0 0 0; max-width: none; display: flex; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */

.section { padding: 94px 0; }
@media (max-width: 720px) { .section { padding: 64px 0; } }
.section-alt { background: var(--paper-2); }

.section-head { max-width: 60ch; margin-bottom: 46px; }
/* Centred only where the block beneath it is also centred (the FAQ column).
   Full-width grids keep a left-aligned header so the page has one axis. */
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 20px 0 16px;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-intro { font-size: 17.5px; line-height: 1.65; color: var(--fg-2); margin: 0; }

/* ── Cards ────────────────────────────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--line-2); }

.icon-chip {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}

/* Leaks grid */
.leaks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .leaks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px)  { .leaks { grid-template-columns: 1fr; } }

.leak { padding: 28px 26px 26px; display: flex; flex-direction: column; }
.leak h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 10px; }
.leak p { font-size: 14.8px; line-height: 1.62; color: var(--fg-2); margin: 0 0 22px; }
.leak .stat { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.leak .stat .n {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.leak .stat .n small { font-size: 15px; color: var(--mute); font-family: var(--sans); margin-left: 4px; }
.leak .stat .lbl { font-size: 12.5px; color: var(--mute); margin-top: 7px; line-height: 1.45; }
.leak .bar { height: 4px; border-radius: 999px; background: var(--paper-2); margin-top: 13px; overflow: hidden; }
.leak .bar i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.leak .src { color: var(--mute); font-size: 11px; vertical-align: super; margin-left: 2px; }
.leak .src:hover { color: var(--accent); }

/* Process */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } }
.step { padding: 28px 26px; position: relative; }
.step .n {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 500;
  margin-bottom: 18px;
}
.step .when {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ok);
  background: rgba(37, 107, 69, 0.09);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.step h3 { font-size: 18.5px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 9px; }
.step p { font-size: 14.8px; line-height: 1.62; color: var(--fg-2); margin: 0; }

/* Deliverable */
.deliver { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .deliver { grid-template-columns: 1fr; gap: 40px; } }

.toc { display: grid; gap: 2px; }
.toc-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.toc-item:hover { background: var(--surface); border-color: var(--line); }
.toc-item .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 4px 0;
  text-align: center;
}
.toc-item .t { font-size: 15.3px; color: var(--fg-2); }

.report {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.report-top {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--paper-2);
}
.report-top .ttl { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.report-top .badge {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px 10px;
}
.report-body { padding: 24px; }
.report-grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.grade {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  background: var(--paper);
}
.grade .g { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--accent); }
.grade .k { font-size: 11.5px; color: var(--mute); margin-top: 6px; }
.report table { width: 100%; border-collapse: collapse; font-size: 14px; }
.report th {
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line-2);
}
.report th.num, .report td.num { text-align: right; }
.report td { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.report tr:last-child td { border-bottom: 0; }
.report .pill {
  display: inline-block;
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.report .pill.low { background: rgba(37,107,69,0.10); color: var(--ok); }

/* Who */
.who { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 800px) { .who { grid-template-columns: 1fr; } }
.who-item { padding: 28px 26px; }
.who-item .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.who-item h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.018em; margin-bottom: 10px; }
.who-item p { font-size: 15px; line-height: 1.62; color: var(--fg-2); margin: 0 0 16px; }
.who-item .foot { font-size: 12.5px; color: var(--mute); padding-top: 14px; border-top: 1px solid var(--line); }

/* ── Pricing / ladder ─────────────────────────────────────────────────── */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 940px) { .tiers { grid-template-columns: 1fr; } }

.tier { padding: 30px 28px; display: flex; flex-direction: column; height: 100%; }
.tier.featured {
  border-color: var(--accent);
  box-shadow: var(--sh-3);
  position: relative;
}
.tier.featured::after {
  content: "Start here";
  position: absolute;
  top: -11px; left: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 4px 11px;
  border-radius: 999px;
}
.tier h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.018em; margin-bottom: 8px; }
.tier .price {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 14px 0 4px;
}
.tier .per { font-size: 13px; color: var(--mute); margin-bottom: 20px; }
.tier > p { font-size: 14.8px; line-height: 1.6; color: var(--fg-2); margin: 0 0 20px; }
.tier ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
.tier li svg { color: var(--ok); margin-top: 3px; }
.tier .btn { width: 100%; margin-top: auto; }
.tier .note { font-size: 12.5px; color: var(--mute); margin-top: 14px; text-align: center; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item.open { border-color: var(--line-2); box-shadow: var(--sh-2); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-q .ic {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-2);
  color: var(--fg-2);
  transition: transform .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
}
.faq-item.open .faq-a { max-height: 460px; }
.faq-a p { margin: 0; padding: 0 24px 22px; font-size: 15.3px; line-height: 1.68; color: var(--fg-2); }

/* ── Sources ──────────────────────────────────────────────────────────── */

.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sources li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-2);
}
.sources .s-n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.sources b { color: var(--fg); font-weight: 600; display: block; margin-bottom: 4px; }
.sources a { color: var(--accent); border-bottom: 1px solid rgba(176,50,28,0.3); word-break: break-word; }
.sources-note {
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: var(--r);
  background: var(--accent-soft);
  border: 1px solid rgba(176, 50, 28, 0.2);
  font-size: 14.8px;
  line-height: 1.65;
  color: var(--fg-2);
}

/* ── Closing CTA — two doors ──────────────────────────────────────────── */

.cta-block {
  background:
    radial-gradient(100% 90% at 85% 0%, rgba(176, 50, 28, 0.24) 0%, transparent 60%),
    var(--ink);
  color: var(--on-dark);
  padding: 96px 0;
}
.cta-block h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.022em;
  margin: 22px 0 18px;
}
.cta-block h2 em { font-style: italic; color: #E8836B; }
.cta-block .lede { font-size: 17.5px; line-height: 1.62; color: var(--on-dark-2); max-width: 52ch; margin: 0 0 44px; }

.door-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 880px) { .door-pair { grid-template-columns: 1fr; } }
.door {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border-radius: var(--r);
  border: 1px solid var(--line-dark);
  background: rgba(246, 242, 234, 0.045);
  transition: transform .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}
.door:hover { transform: translateY(-3px); background: rgba(246, 242, 234, 0.085); border-color: rgba(246,242,234,0.34); }
.door-primary { background: rgba(176, 50, 28, 0.17); border-color: rgba(232, 131, 107, 0.5); }
.door-primary:hover { background: rgba(176, 50, 28, 0.25); border-color: #E8836B; }
.door .k {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark-3);
  margin-bottom: 14px;
}
.door-primary .k { color: #E8836B; }
.door h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.door p { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: var(--on-dark-2); }
.door .go { margin-top: auto; font-size: 14.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.door-primary .go { color: #E8836B; }
.door:hover .go svg { transform: translateX(3px); }
.door .go svg { transition: transform .2s var(--ease); }

/* ── Footer ───────────────────────────────────────────────────────────── */

footer {
  background: var(--ink);
  color: var(--on-dark-2);
  padding: 56px 0 44px;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-grid .wordmark { color: var(--on-dark); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; padding-top: 24px; font-size: 14px; }
.footer-nav a { color: var(--on-dark-2); transition: color .18s var(--ease); }
.footer-nav a:hover { color: var(--on-dark); }
.footer-fine { padding-top: 18px; font-size: 12.5px; color: var(--on-dark-3); }

/* ==========================================================================
   CONVERSION PAGES  (/audit, /call)
   ========================================================================== */

.pane-section { padding: 60px 0 110px; }
@media (max-width: 720px) { .pane-section { padding: 40px 0 76px; } }

/* Grid areas rather than source reordering: on desktop the left column reads
   intro → detail with the form alongside; on mobile the form sits directly
   under the intro instead of below the whole marketing column. DOM order stays
   intro → form → detail, so tab order matches both layouts. */
.pane {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  grid-template-areas: "intro form" "detail form";
  column-gap: 64px;
  row-gap: 52px;
  align-items: start;
}
.pane-intro  { grid-area: intro; }
.pane-form   { grid-area: form; }
.pane-detail { grid-area: detail; }
@media (max-width: 980px) {
  .pane { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "detail"; column-gap: 0; row-gap: 40px; }
}
.pane-form-sticky { position: sticky; top: 96px; }
@media (max-width: 980px) { .pane-form-sticky { position: static; } }

.pane-intro h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 20px 0 20px;
}
.pane-intro h1 em { font-style: italic; color: var(--accent); }
.pane-intro .lede { font-size: 18px; line-height: 1.62; color: var(--fg-2); max-width: 46ch; margin: 0; }
/* Must be its own line: as an inline-flex it sat alongside the eyebrow pill
   that follows it. width:fit-content keeps the hover target tight. */
.pane-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--mute);
  margin-bottom: 20px;
  transition: color .18s var(--ease), gap .18s var(--ease);
}
.pane-back:hover { gap: 11px; }
.pane-back:hover { color: var(--accent); }

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 32px;
}
.fact-strip > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px;
  box-shadow: var(--sh-1);
}
.fact-strip .k { display: block; font-size: 12px; color: var(--mute); margin-bottom: 6px; }
.fact-strip .v { font-family: var(--serif); font-size: 27px; letter-spacing: -0.015em; line-height: 1; }
@media (max-width: 420px) { .fact-strip { grid-template-columns: 1fr 1fr; } }

.detail-block + .detail-block { margin-top: 36px; }
.detail-block > .label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 16px;
}
.spec-list { display: grid; gap: 2px; }
.spec-list .row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.spec-list .row:last-child { border-bottom: 0; }
.spec-list .n { color: var(--ok); margin-top: 3px; }
.spec-list .t { font-size: 15.2px; line-height: 1.55; color: var(--fg-2); }
.detail-prose p { font-size: 15.3px; line-height: 1.68; color: var(--fg-2); margin: 0 0 14px; max-width: 54ch; }
.detail-prose p:last-child { margin-bottom: 0; }
.detail-prose strong { color: var(--fg); font-weight: 600; }

.pane-alt {
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.pane-alt .k { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.pane-alt p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.alt-link { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; color: var(--accent); }
.alt-link:hover { gap: 10px; }

/* ── Legal document ───────────────────────────────────────────────────── */

.legal-doc { max-width: 74ch; }
.legal-toc {
  margin: 0 0 56px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
}
.legal-toc .k {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.legal-toc a { font-size: 15px; color: var(--fg-2); }
.legal-toc a:hover { color: var(--accent); }

.legal-sec { padding-top: 44px; margin-top: 44px; border-top: 1px solid var(--line); }
.legal-sec:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.legal-sec h2 {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.018em;
  margin-bottom: 18px;
}
.legal-sec h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 28px 0 10px;
}
.legal-sec p,
.legal-sec li { font-size: 15.6px; line-height: 1.7; color: var(--fg-2); }
.legal-sec p { margin: 0 0 15px; }
.legal-sec ul { margin: 0 0 15px; padding-left: 20px; display: grid; gap: 8px; }
.legal-sec strong { color: var(--fg); font-weight: 600; }
.legal-sec a { color: var(--accent); border-bottom: 1px solid rgba(176,50,28,0.3); }

.legal-table { width: 100%; border-collapse: collapse; margin: 4px 0 18px; }
.legal-table th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 0 12px 10px 0;
  border-bottom: 1px solid var(--line-2);
}
.legal-table td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.6px;
  line-height: 1.55;
  color: var(--fg-2);
  vertical-align: top;
}
.legal-note {
  padding: 18px 20px;
  border-radius: var(--r);
  background: var(--accent-soft);
  border: 1px solid rgba(176, 50, 28, 0.2);
  font-size: 14.8px;
  line-height: 1.62;
  color: var(--fg-2);
}
.legal-updated {
  font-size: 13px;
  color: var(--mute);
  margin-top: 10px;
}

/* ── Forms ────────────────────────────────────────────────────────────── */

.form-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: 32px 30px;
}
.form-card .fh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.form-card .fh .t { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.form-card .fh .p {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-2);
  margin-bottom: 7px;
}
.field .opt { color: var(--mute); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: 16px;
  color: var(--fg);
  font-family: var(--sans);
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  outline: none;
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.55; }
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field.error input, .field.error textarea { border-color: var(--accent); }
.field .err { color: var(--accent); font-size: 13px; margin-top: 7px; }
.field .hint { font-size: 12.5px; color: var(--mute); margin-top: 7px; line-height: 1.45; }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 14.5px;
  color: var(--fg-2);
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}
.choice input:checked + span { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-submit { width: 100%; margin-top: 6px; }
.form-submit:disabled { opacity: 0.62; cursor: default; transform: none; }
.form-note { font-size: 12.5px; color: var(--mute); margin-top: 16px; text-align: center; }
.form-error {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(176, 50, 28, 0.35);
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--fg-2);
  font-size: 14.3px;
  line-height: 1.55;
}
.form-error a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.form-sent { text-align: center; padding: 18px 6px 8px; }
.form-sent .check {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(37, 107, 69, 0.11);
  color: var(--ok);
  display: grid; place-items: center;
  margin: 0 auto 18px;
  font-size: 24px;
}
.form-sent h4 { font-family: var(--serif); font-size: 28px; letter-spacing: -0.015em; margin-bottom: 10px; }
.form-sent p { font-size: 15px; line-height: 1.6; color: var(--fg-2); margin: 0 0 18px; }
.form-sent .ref {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

/* ── Motion ───────────────────────────────────────────────────────────── */

/* Reveals are progressive enhancement only. Content is visible by default and
   is hidden solely once the inline head script confirms JS is running — so a
   script failure can never leave the page blank. */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .card-hover:hover, .door:hover, .btn:hover { transform: none; }
}

@media (pointer: coarse) {
  .nav-links a, .footer-nav a, .btn, .faq-q { min-height: 44px; }
}
