/* ==========================================================================
   MapDelta — an audit report on paper: ink text, hairline rules, one accent (ink).
   Red is reserved for "below MAP" (and form errors).
   ========================================================================== */

@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/serif-400.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/serif-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500 600; font-style: normal; font-display: swap; src: url("fonts/sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500 600; font-style: normal; font-display: swap; src: url("fonts/mono-500.woff2") format("woff2"); }

:root {
  --bg: #F5F1E8;             /* paper */
  --panel: #FBF9F3;
  --panel-2: #EDE8DB;
  --ink: #14130F;
  --ink-2: #5B574C;
  --line: #DDD6C5;
  --line-strong: #BDB5A0;

  /* One accent: ink. Buttons, kickers, checks and the "MapDelta" column all use it. */
  --brand: #14130F;
  --brand-hover: #2E2C25;
  --brand-ink: #14130F;
  --brand-soft: #EDE8DB;
  --brand-line: #D5CEBB;
  --on-brand: #FBF9F3;

  --signal: #B3261E;         /* below MAP only (and form errors) */
  --signal-soft: #F5DFDA;
  --ok: #5B574C;             /* at or above MAP: neutral, not a second colour */
  --ok-soft: #E4DFD0;

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --block: clamp(72px, 9vw, 128px);
  --nav-h: 64px;
  --measure: 62ch;
  --axis: 124px;
  --r-lg: 6px;
  --r: 4px;
  --shadow: none;
  --shadow-lift: none;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4rem); line-height: 1.04; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.9rem, 1.35rem + 2vw, 2.75rem); line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.005em; }
p { text-wrap: pretty; }
a { color: inherit; }
svg { display: block; }

.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: 0.92em; }
.neg { color: var(--signal); white-space: nowrap; font-variant-numeric: tabular-nums; }

.kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.lead { margin-top: 18px; max-width: var(--measure); font-size: 1.15rem; color: var(--ink-2); }

:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-soft); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 4px;
  background: var(--brand); color: var(--on-brand);
  font-size: 0.875rem; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Check mark used in lists */
.check-icon, .assurances li::before, .r-list li::before, .compare td.us::before, .checks li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  background-color: var(--brand-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px;
  border: 1px solid var(--brand); border-radius: 4px;
  background: var(--brand); color: var(--on-brand);
  font: 500 0.9375rem/1 var(--sans);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { background: var(--brand-hover); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { border-radius: 4px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.nav.is-scrolled, .nav.is-open { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.nav-links { display: none; gap: 30px; margin-left: auto; }
.nav-links a { font-size: 0.9375rem; color: var(--ink-2); text-decoration: none; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  height: 40px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 4px;
  background: transparent; color: var(--ink);
  font: 500 0.875rem/1 var(--sans); cursor: pointer;
}
.mobile-menu .wrap { display: grid; padding-block: 4px 16px; }
.mobile-menu a { padding: 14px 0; font-size: 1rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}
@media (max-width: 380px) { .nav-actions .btn-sm { padding: 0 12px; font-size: 0.8125rem; } }

/* ==========================================================================
   Page rhythm: blocks flow into each other, separated only by space
   ========================================================================== */
.block { padding-block: var(--block) 0; }
.block:last-of-type { padding-bottom: var(--block); }
.head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 52px); }
.head h2 { margin-top: 10px; }

/* Panels */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 30px);
}
.panel-flush { padding: 0; overflow: hidden; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem; color: var(--ink-2);
}
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 3px;
  background: var(--panel-2); color: var(--ink-2);
  font-size: 0.75rem; font-weight: 500; white-space: nowrap;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: clamp(40px, 6vw, 88px); }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 44px); }
.hero-intro { display: grid; gap: 28px; }
@media (min-width: 1024px) { .hero-intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: start; } }
.hero h1 { margin-top: 14px; max-width: 16em; }
.hero .lead { margin-top: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1024px) { .hero-actions { padding-top: 6px; } }
@media (max-width: 480px) { .cta-row .btn { flex: 1 1 100%; } }
.assurances {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 26px 0 0; padding: 0; list-style: none;
  font-size: 0.9rem; color: var(--ink-2);
}
.assurances li { display: inline-flex; align-items: center; gap: 6px; }

/* Strip plot */
.plot { padding: clamp(20px, 3vw, 36px); }
.plot .panel-head { font-size: 0.9375rem; }
.plot-area { position: relative; aspect-ratio: 560 / 150; margin: 8px 0 0 var(--axis); }
@media (max-width: 1023px) { .plot-area { aspect-ratio: 560 / 230; } }
@media (max-width: 639px) { .plot-area { aspect-ratio: 560 / 320; } }
.plot-area svg, .trend-area svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.below-zone { fill: var(--signal-soft); }
.map-line { stroke: var(--ink); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.trend .dots .at { fill: var(--ink); stroke: none; }
.trend .dots .below { fill: var(--signal); stroke: none; }
.dots path { fill: none; stroke-width: 15px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.dots .at { stroke: var(--ink); }
.dots .below { stroke: var(--signal); }

.map-label, .tick, .delta {
  position: absolute; font-size: 0.9375rem; line-height: 1.2; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.map-label, .tick { left: calc(-1 * var(--axis)); width: calc(var(--axis) - 12px); transform: translateY(-50%); text-align: right; }
.map-label { color: var(--ink); font-weight: 600; }
.tick { color: var(--ink-2); }
.delta { transform: translate(12px, -50%); color: var(--signal); font-weight: 500; }
.delta.flip { transform: translate(calc(-100% - 12px), -50%); text-align: right; }

.plot-key { display: flex; gap: 24px; margin-top: 20px; font-size: 0.9375rem; color: var(--ink-2); }
.plot-key span { display: inline-flex; align-items: center; gap: 8px; }
.key-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
.key-dot.below { background: var(--signal); }

@media (max-width: 639px) {
  :root { --axis: 88px; }
  .map-label, .tick { font-size: 0.75rem; }
  .plot .opt { display: none; }
  .delta { font-size: 0.8125rem; }
  .delta > span:first-child, .delta .sep { display: none; }
}

/* Motion (main.js springs). Before the springs run, below-MAP dots start ink and
   their deltas and zone are hidden; .settled hands colour back with a short fade. */
.motion .plot .dots path { transform: translateY(var(--from, 0)); }
.motion .plot .dots .below { stroke: var(--ink); transition: stroke 0.3s linear; }
.motion .plot .delta, .motion .plot .below-zone { opacity: 0; transition: opacity 0.4s linear; }
.motion .plot.settled .dots .below { stroke: var(--signal); }
.motion .plot.settled .delta, .motion .plot.settled .below-zone { opacity: 1; }

/* ==========================================================================
   Problem
   ========================================================================== */
.head:has(.statement) { max-width: 52rem; }
.statement { font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.5rem); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
@media (min-width: 860px) { .points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.pnum {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-ink);
  font-size: 0.875rem; font-weight: 600;
}
.points h3 { margin-top: 16px; font-size: 1.125rem; }
.points p { margin-top: 6px; color: var(--ink-2); }

/* ==========================================================================
   How it works: timeline
   ========================================================================== */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.timeline::before {
  content: ""; position: absolute;
  left: 7px; top: 10px; bottom: 10px; width: 2px;
  border-radius: 2px; background: var(--brand-line);
}
.timeline li { position: relative; padding-left: 40px; max-width: 44ch; }
.stop {
  position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--brand);
}
.timeline li:first-child .stop { background: var(--brand); }
.stop-meta { font-size: 0.875rem; font-weight: 500; color: var(--ink-2); }
.timeline h3 { margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.01em; }
.timeline p:not(.stop-meta) { margin-top: 8px; color: var(--ink-2); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .timeline::before { left: 8px; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
  .timeline li { padding: 40px 0 0; }
  .stop { top: 0; }
}

/* ==========================================================================
   Anatomy of a flag
   ========================================================================== */
.anatomy { display: grid; gap: 28px; }
@media (min-width: 1024px) { .anatomy { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; } }

.listing-body { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; }
@media (min-width: 560px) { .listing-body { grid-template-columns: 128px minmax(0, 1fr); gap: 22px; } }
.l-img { aspect-ratio: 1; border-radius: 4px; background: var(--panel-2); overflow: hidden; }
.l-img svg { width: 100%; height: 100%; }
.l-img line { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.l-title { display: grid; gap: 8px; padding: 4px 0 12px; }
.bar { display: block; height: 10px; border-radius: 999px; background: var(--panel-2); }
.l-info { display: grid; gap: 4px; align-content: start; }
.l-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-inline: -10px; padding: 10px;
  border-radius: 4px; font-size: 0.9rem;
  transition: background-color 0.2s var(--ease);
}
.l-row.is-active { background: var(--panel-2); }
.l-price { display: block; font-size: 1.5rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.l-sub { display: block; font-size: 0.8125rem; color: var(--ink-2); }
.l-unknown { color: var(--ink-2); }
.l-stamp { margin-top: 8px; font-size: 0.75rem; color: var(--ink-2); }

.hot {
  flex: none; display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--signal); color: var(--signal);
  font-size: 0.8125rem; font-weight: 600; text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.hot:hover, .hot[aria-current="true"] { background: var(--signal); color: var(--panel); }
.hot:focus-visible { border-radius: 50%; }

.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.notes li {
  display: grid; grid-template-columns: 36px minmax(0, 1fr);
  padding: 16px 18px; border-radius: var(--r);
  border: 1px solid transparent;
  scroll-margin-top: calc(var(--nav-h) + 24px);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nnum {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--signal-soft); color: var(--signal);
  font-size: 0.75rem; font-weight: 600;
}
.notes h3 { font-size: 1rem; }
.notes p { margin-top: 4px; font-size: 0.9375rem; color: var(--ink-2); }
.notes li.is-active { background: var(--panel); border-color: var(--line); box-shadow: var(--shadow); }
.js .notes li:not(.is-active) h3 { color: var(--ink-2); font-weight: 500; }

/* ==========================================================================
   Sample report
   ========================================================================== */
.report-cap, #report-cap { font-size: 0.8125rem; color: var(--ink-2); }
.wordmark-sm { font-family: var(--serif); font-weight: 600; font-size: 1rem; color: var(--ink); margin-right: 6px; }

.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.kpis > div { padding: 16px 18px; border-radius: var(--r); background: var(--panel-2); }
.kpis dt { font-size: 0.8125rem; color: var(--ink-2); }
.kpi { margin-top: 6px; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi-note { margin-top: 6px; font-size: 0.8125rem; color: var(--ink-2); }
.kpi-note.ok { color: var(--ok); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ledger { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.9375rem; }
.ledger caption { caption-side: top; padding: 26px 0 10px; text-align: left; font-size: 0.8125rem; color: var(--ink-2); }
.ledger th, .ledger td { padding: 13px 16px 13px 0; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.ledger th:last-child, .ledger td:last-child { padding-right: 0; }
.ledger tbody tr:last-child > * { border-bottom: 0; }
.ledger thead th { font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }
.ledger .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger td.mono { white-space: nowrap; }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 3px;
  background: var(--signal-soft); color: var(--signal);
  font-size: 0.8125rem; font-weight: 500; white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.st-ok { background: var(--ok-soft); color: var(--ok); }

.trend { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.trend-title { font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.trend-area { position: relative; aspect-ratio: 600 / 240; margin: 20px 0 0 var(--axis); }
.col-rule { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.trend-axis {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 12px 0 0 var(--axis);
  font-size: 0.8125rem; text-align: center; color: var(--ink);
}
.trend-axis b { display: block; font-weight: 500; color: var(--signal); }
.trend-cap { margin-top: 16px; font-size: 0.8125rem; color: var(--ink-2); max-width: var(--measure); }

/* ==========================================================================
   Comparison
   ========================================================================== */
.compare-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 0.9375rem; line-height: 1.5; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th, .compare thead td { padding-block: 20px 16px; border-bottom: 1px solid var(--line-strong); vertical-align: bottom; }
.compare thead th { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.c-sub { display: block; margin-top: 2px; font-size: 0.8125rem; font-weight: 400; color: var(--ink-2); }
.c-name { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.compare tbody th { width: 25%; font-weight: 500; color: var(--ink); }
.compare td { width: 22%; color: var(--ink-2); }

/* MapDelta column: one lifted column, ink rule on top, a check on every answer */
.compare .us { width: 31%; background: #FFFEFA; color: var(--ink); font-weight: 500; border-left: 1px solid var(--line-strong); }
.compare thead .us { border-top: 3px solid var(--ink); }
.compare td.us { display: table-cell; padding-left: 50px; position: relative; }
.compare td.us::before { position: absolute; left: 22px; top: 21px; }
.compare tbody tr:last-child .us { border-bottom-right-radius: var(--r-lg); }
.compare thead .us { border-top-right-radius: var(--r-lg); }
.footnote { margin-top: 14px; font-size: 0.8125rem; color: var(--ink-2); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.retainers { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.retainer {
  position: relative;
  display: grid; gap: 20px 48px;
  padding: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.retainer:first-child { border-top: 0; }
@media (min-width: 900px) { .retainer { grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr); } }

/* The recommended retainer sits lifted off the sheet, with a soft glow */
.retainer.is-rec {
  z-index: 1;
  --lift: clamp(8px, 1vw, 14px);
  margin: -1px calc(-1 * var(--lift));
  padding-inline: calc(clamp(24px, 3vw, 36px) + var(--lift));
  border: 1px solid var(--ink);
  border-radius: var(--r-lg);
  background: #FFFEFA;
  box-shadow:
    0 0 0 4px rgba(20, 19, 15, 0.04),
    0 22px 48px -22px rgba(20, 19, 15, 0.34),
    0 0 64px -8px rgba(196, 160, 92, 0.30);
}
.retainer.is-rec + .retainer { border-top: 0; }
.rec {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 12px; padding: 4px 10px;
  border-radius: 3px; background: var(--ink); color: var(--on-brand);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.r-head h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; }
.r-for { margin-top: 6px; font-size: 0.9375rem; color: var(--ink-2); }
.r-price { margin-top: 18px; }
.r-price .from { display: block; font-size: 0.8125rem; color: var(--ink-2); }
.r-price .amt { font-size: 2.25rem; font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.r-price .per { margin-left: 6px; font-size: 0.875rem; color: var(--ink-2); }
.r-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 32px; align-content: start; font-size: 0.9375rem; line-height: 1.5; }
@media (min-width: 1100px) { .r-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .r-list { padding-top: 6px; } }
.r-list li { display: flex; gap: 10px; }
.r-list li::before { margin-top: 2px; }
.r-list li.inherit { grid-column: 1 / -1; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.r-list li.inherit::before { content: none; }

.plan-terms { max-width: 44rem; margin: 28px 0 0; display: grid; gap: 8px; font-size: 0.9375rem; color: var(--ink-2); }
.plan-terms .btn { justify-self: start; margin-top: 18px; }

/* ==========================================================================
   Evidence standard
   ========================================================================== */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 48px; }
@media (min-width: 860px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checks li { position: relative; padding-left: 44px; }
.checks li::before {
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px;
  -webkit-mask-size: 15px; mask-size: 15px;
}
.checks li::after {
  content: ""; position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-soft); z-index: -1;
}
.checks h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3125rem; line-height: 1.35; letter-spacing: -0.005em; }
.checks p { margin-top: 6px; color: var(--ink-2); }
.standard { position: relative; z-index: 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0; font-size: 1.0625rem; font-weight: 500;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 4px;
  background: var(--panel-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356615B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand-ink); }
.faq details p { padding: 0 52px 22px 0; max-width: var(--measure); color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.3s var(--ease), content-visibility 0.3s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* ==========================================================================
   Snapshot request
   ========================================================================== */
.cta-panel {
  display: grid; gap: 40px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--panel);
}
@media (min-width: 960px) { .cta-panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; } }
.cta-copy h2 { margin-top: 10px; }

.form-wrap { padding-top: 4px; }
@media (min-width: 960px) { .form-wrap { padding-left: 56px; border-left: 1px solid var(--line); } }
#snapshot-form { display: grid; gap: 18px; }
#snapshot-form[hidden] { display: none; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 500; }
.optional { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 4px;
  background: var(--panel); color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); opacity: 0.75; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--line-strong); }
.field [aria-invalid="true"] { border-color: var(--signal); }
.field-error { font-size: 0.8125rem; color: var(--signal); }
.field-error:empty, .form-status:empty { display: none; }
.field-help { font-size: 0.8125rem; color: var(--ink-2); }
#snapshot-form .btn { margin-top: 4px; height: 52px; }
.form-status { font-size: 0.875rem; color: var(--signal); }
.form-success { padding: 8px 0; }
.success-title { font-family: var(--serif); font-size: 1.625rem; }
.form-success p + p { margin-top: 6px; color: var(--ink-2); }
.form-success:focus { outline: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { margin-top: var(--block); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; padding-block: 32px 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.9rem; }
.footer-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.footer-links a:hover { text-decoration-color: var(--ink); }
.footer-legal { flex-basis: 100%; font-size: 0.8125rem; color: var(--ink-2); }
main + .footer { margin-top: 0; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-hero { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px); }
.legal-hero h1 { margin-top: 10px; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); }
.legal-meta { margin-top: 14px; font-size: 0.9375rem; color: var(--ink-2); }
.legal-meta a { color: var(--brand-ink); }
.legal-layout { display: grid; gap: 40px; padding-bottom: var(--block); }
@media (min-width: 960px) { .legal-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; } }
.toc { font-size: 0.875rem; }
.toc-inner { position: sticky; top: calc(var(--nav-h) + 24px); }
.toc p { font-weight: 600; }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--brand-ink); }
@media (max-width: 959px) { .toc { display: none; } }
.prose { max-width: var(--measure); }
.prose section { scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h2 { margin-top: 44px; font-size: 1.5rem; }
.prose h3 { margin-top: 22px; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; }
.prose li::marker { color: var(--brand-ink); }
.prose a { color: var(--brand-ink); text-underline-offset: 3px; }
.prose .caps { font-size: 0.9375rem; }
.summary { padding: 22px 24px; border-radius: var(--r-lg); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.summary h2 { margin-top: 0; font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; }
.summary ul { color: var(--ink-2); }

/* ==========================================================================
   Scroll reveal: hidden until main.js springs it in (motion only)
   ========================================================================== */
.motion .reveal { opacity: 0; transform: translateY(18px); }
.motion .reveal.in { opacity: 1; transform: none; }

/* Email links: clicking also copies the address, with a Gmail option for visitors without a mail app */
.mail-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50;
  display: flex; align-items: center; gap: 14px;
  max-width: calc(100vw - 32px); padding: 12px 14px 12px 18px;
  border-radius: 6px; background: var(--ink); color: var(--on-brand);
  font-size: 0.875rem; box-shadow: 0 18px 40px -18px rgba(20, 19, 15, 0.5);
  transform: translateX(-50%);
}
.mail-toast[hidden] { display: none; }
.mail-toast a { color: var(--on-brand); text-underline-offset: 3px; white-space: nowrap; }
