:root {
  --bg: #0b111a;
  --bg-raised: #111a26;
  --bg-sunk: #080d14;
  --line: #22303f;
  --text: #e6ebf1;
  --text-soft: #a7b3c2;
  --text-faint: #7d8a9b;
  --signal: #f2a43a;
  --signal-ink: #1a1105;
  --ok: #5cc28f;
  --warn: #e8795e;
  --radius: 14px;
  --max: 1120px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f4ef;
    --bg-raised: #ffffff;
    --bg-sunk: #ece8e0;
    --line: #d8d2c6;
    --text: #141b24;
    --text-soft: #46525f;
    --text-faint: #66717d;
    --signal: #b8650a;
    --signal-ink: #ffffff;
    --ok: #217a50;
    --warn: #b2452b;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-color: var(--signal); text-underline-offset: 3px; }
a:hover { color: var(--signal); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--signal); color: var(--signal-ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.02em; font-size: 18px; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--text-soft); }
.nav a:hover { color: var(--text); }
@media (max-width: 720px) { .nav a:not(.nav-cta) { display: none; } }
.nav-cta { color: var(--signal) !important; font-weight: 600; }

/* Hero */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.eyebrow { font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); margin: 0 0 18px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 24px; max-width: 14ch; }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-soft); max-width: 60ch; margin: 0 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--line); }
.btn-primary { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); }
.btn-primary:hover { color: var(--signal-ink); filter: brightness(1.08); }
.btn-ghost:hover { border-color: var(--text-soft); color: var(--text); }

.escort { margin: 64px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-sunk); padding: 22px; }
.escort svg { width: 100%; height: auto; display: block; }
@media (max-width: 680px) {
  .escort { padding: 16px; }
  .escort svg { height: 220px; }
}
.escort figcaption { color: var(--text-faint); font-size: 14px; margin-top: 12px; }

/* Sections */
section { padding: 88px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 16px; max-width: 24ch; }
.section-lede { color: var(--text-soft); font-size: 19px; max-width: 64ch; margin: 0 0 44px; }

.problem { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .problem { grid-template-columns: 1fr; } }
.problem p { color: var(--text-soft); margin: 0 0 16px; }
.compare { display: grid; gap: 14px; }
.compare-row { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--bg-raised); }
.compare-row .label { font-family: var(--mono); font-size: 14px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.compare-row .value { font-size: 30px; font-weight: 700; margin: 4px 0 2px; }
.compare-row .note { font-size: 15px; color: var(--text-soft); }
.compare-row.bad .value { color: var(--warn); }
.compare-row.good .value { color: var(--ok); }

/* Pipeline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: relative; }
.steps li::before { content: "0" counter(step); font-family: var(--mono); font-size: 14px; color: var(--signal); display: block; margin-bottom: 10px; }
.steps h3 { margin: 0 0 8px; font-size: 19px; }
.steps p { margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.55; }
.steps li.human { border-color: var(--signal); }
.tag { display: inline-block; font-family: var(--mono); font-size: 14px; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--signal) 16%, transparent); color: var(--signal); margin-top: 12px; }

/* Principles */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.card h3 { margin: 0 0 10px; font-size: 19px; }
.card p { margin: 0; color: var(--text-soft); font-size: 16px; }
.card .icon { width: 36px; height: 36px; margin-bottom: 16px; color: var(--signal); }

/* Results */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }
.stat { border-left: 3px solid var(--signal); padding: 4px 0 4px 18px; }
.stat .num { font-size: clamp(32px, 4vw, 44px); font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; }
.stat .what { color: var(--text-soft); font-size: 15px; margin-top: 6px; }
.fineprint { color: var(--text-faint); font-size: 15px; max-width: 80ch; }

/* Status / CTA */
.status { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .status { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; color: var(--text-soft); }
.checklist li strong { color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--text-faint); }
.checklist li.done::before { background: var(--ok); border-color: var(--ok); }
.checklist li.next::before { border-color: var(--signal); }
.cta-box { background: var(--bg-raised); border: 1px solid var(--signal); border-radius: var(--radius); padding: 32px 30px; }
.cta-box h3 { margin: 0 0 12px; font-size: 24px; }
.cta-box p { color: var(--text-soft); margin: 0 0 22px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--text-faint); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer h4 { color: var(--text-soft); margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--mono); font-weight: 500; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.notfound h1 { font-size: 44px; margin: 0 0 12px; }
.notfound p { color: var(--text-soft); margin: 0 0 28px; }

/* Escort illustration */
.ill-lane { fill: none; stroke: var(--line); stroke-width: 2; }
.ill-lane-fill { fill: var(--bg-raised); }
.ill-user { fill: var(--text-faint); }
.ill-bad { fill: var(--warn); }
.ill-link { stroke: var(--warn); stroke-width: 1.5; stroke-dasharray: 4 5; fill: none; opacity: 0.8; }
.ill-rider { fill: none; stroke: var(--signal); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ill-track { stroke: var(--signal); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; fill: none; opacity: 0.6; }
.ill-ring { fill: none; stroke: var(--signal); stroke-width: 2; }
.ill-label { fill: var(--text-faint); font: 14px var(--mono); }
.ill-label-signal { fill: var(--signal); font: 600 14px var(--mono); }
