html { color-scheme: light; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Layout: a slope read top to bottom. Hero = the line through the gates; sections alternate snow and night-session bands; gate red and gate blue are the only accents, used like real slalom gates. */
:root {
  --snow: #f4f7fa;
  --snow-2: #e6edf3;
  --ink: #0f1d2b;
  --ink-2: #4a5b6c;
  --rule: #cfd9e3;
  --gate-red: #d7263d;
  --gate-blue: #1f5fd1;
  --trail: #1f5fd1;
  --panel: #ffffff;
  --night: #0c1724;
  --night-ink: #e8eef5;
  --night-ink-2: #9fb0c2;
  --ok: #1d8a5b;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --snow: #0b1520; --snow-2: #122130; --ink: #e8eef5; --ink-2: #a3b3c4; --rule: #24384b;
    --gate-red: #ff5468; --gate-blue: #5b93ff; --trail: #6aa0ff; --panel: #102030;
    --night: #060d15; --night-ink: #e8eef5; --night-ink-2: #9fb0c2; --ok: #3fc58a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --snow: #0b1520; --snow-2: #122130; --ink: #e8eef5; --ink-2: #a3b3c4; --rule: #24384b;
  --gate-red: #ff5468; --gate-blue: #5b93ff; --trail: #6aa0ff; --panel: #102030;
  --night: #060d15; --night-ink: #e8eef5; --night-ink-2: #9fb0c2; --ok: #3fc58a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--snow); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--snow); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gate-blue); outline-offset: 3px; border-radius: 4px; }

.band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1; margin: 0; text-wrap: balance; letter-spacing: 0.005em; }
h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.55rem; font-weight: 800; text-transform: uppercase; }
p { margin: 0; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }

/* header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--snow) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.02em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.navlinks { display: flex; gap: 22px; align-items: center; font-weight: 500; font-size: 0.95rem; }
.navlinks a { text-decoration: none; color: var(--ink-2); }
.navlinks a:hover { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; font-family: var(--mono); font-size: 0.8rem; }
.lang button { background: none; border: 0; color: var(--ink-2); padding: 6px 11px; cursor: pointer; font: inherit; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--snow); }
@media (max-width: 760px) { .navlinks a { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; }
.btn-red { background: var(--gate-red); color: #fff; }
.btn-red:hover { filter: brightness(1.07); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--snow); }

/* hero */
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero h1 { font-size: clamp(3.4rem, 8.4vw, 6.6rem); font-weight: 900; text-transform: uppercase; line-height: 0.88; }
.hero h1 .r { color: var(--gate-red); }
.hero h1 .b { color: var(--gate-blue); }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); }
.hero-facts span::before { content: "◆ "; color: var(--gate-blue); }
.slope { position: relative; min-width: 0; }
.slope svg { width: 100%; height: auto; display: block; border-radius: 10px; background: linear-gradient(180deg, var(--snow-2), var(--panel)); border: 1px solid var(--rule); }
.slope .tele { position: absolute; left: 14px; bottom: 14px; display: grid; gap: 4px; font-family: var(--mono); font-size: 0.74rem; background: color-mix(in srgb, var(--night) 88%, transparent); color: var(--night-ink); padding: 10px 12px; border-radius: 6px; }
.tele b { color: #ffd0d6; font-weight: 600; }
.tele .k { color: var(--night-ink-2); display: inline-block; min-width: 9ch; }
.trail-glow { animation: run 6s linear infinite; }
@keyframes run { from { stroke-dashoffset: 1400; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .trail-glow { animation: none; } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 56px; gap: 32px; } }

/* steps */
section { padding-block: 88px; }
.sec-head { display: grid; gap: 14px; margin-bottom: 44px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.step { padding: 26px 26px 8px 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--rule); }
.step .n { font-family: var(--display); font-weight: 900; font-size: 3.4rem; line-height: 1; color: var(--gate-red); }
.step:nth-child(2) .n { color: var(--gate-blue); }
.step p { color: var(--ink-2); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }

/* metrics */
.metrics { background: var(--night); color: var(--night-ink); }
.metrics .eyebrow, .metrics .lede { color: var(--night-ink-2); }
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #24384b; border: 1px solid #24384b; border-radius: 10px; overflow: hidden; }
.metric { background: var(--night); padding: 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.metric .read { font-family: var(--mono); font-size: 0.82rem; color: #ffd0d6; }
.metric:nth-child(even) .read { color: #b9d0ff; }
.metric p { color: var(--night-ink-2); font-size: 0.97rem; }
@media (max-width: 900px) { .mgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mgrid { grid-template-columns: 1fr; } }
.views { margin-top: 40px; overflow-x: auto; }
.views table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.views th, .views td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #24384b; vertical-align: top; }
.views th { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--night-ink-2); font-weight: 400; }
.views td:first-child { font-family: var(--mono); color: var(--night-ink); white-space: nowrap; }
.views td { color: var(--night-ink-2); }
.views-note { margin-top: 14px; color: var(--night-ink-2); font-size: 0.92rem; max-width: 70ch; }

/* team */
.team .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.team ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.team li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; color: var(--ink-2); }
.team li::before { content: ""; width: 10px; height: 10px; margin-top: 9px; background: var(--gate-red); transform: rotate(45deg); }
.team li:nth-child(even)::before { background: var(--gate-blue); }
.team li strong { color: var(--ink); }
.board { background: var(--panel); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; min-width: 0; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.board-head h3 { font-size: 1.2rem; }
.tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px dashed var(--ink-2); color: var(--ink-2); padding: 3px 8px; border-radius: 4px; }
.board-scroll { overflow-x: auto; }
.board table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 380px; }
.board th, .board td { padding: 11px 14px; border-bottom: 1px solid var(--rule); text-align: right; font-variant-numeric: tabular-nums; }
.board th { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); font-weight: 400; }
.board th:first-child, .board td:first-child { text-align: left; }
.board td:first-child { font-weight: 600; }
.board tr:last-child td { border-bottom: 0; }
.score { font-family: var(--mono); font-weight: 600; }
.bar { display: inline-block; height: 6px; border-radius: 3px; background: var(--gate-blue); vertical-align: middle; margin-right: 8px; }
.stance { font-family: var(--mono); font-size: 0.78rem; padding: 2px 7px; border-radius: 4px; background: var(--snow-2); }
.stance.bk { color: var(--gate-red); }
@media (max-width: 900px) { .team .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* privacy */
.privacy { background: var(--snow-2); }
.privacy .wrap { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.lock { width: 120px; height: 120px; }
.privacy .lede { color: var(--ink-2); margin-top: 16px; }
@media (max-width: 640px) { .privacy .wrap { grid-template-columns: 1fr; gap: 20px; } .lock { width: 72px; height: 72px; } }

/* audience */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.who > div { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 4px solid var(--gate-red); min-width: 0; }
.who > div:nth-child(2) { border-top-color: var(--gate-blue); }
.who > div:nth-child(3) { border-top-color: var(--ink); }
.who p { color: var(--ink-2); }
@media (max-width: 800px) { .who { grid-template-columns: 1fr; } }

/* pilot */
.pilot { background: var(--night); color: var(--night-ink); }
.pilot .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.pilot .lede, .pilot .eyebrow { color: var(--night-ink-2); }
.pilot ul { margin: 22px 0 0; padding-left: 1.1em; color: var(--night-ink-2); display: grid; gap: 6px; }
.card { background: #102030; border: 1px solid #24384b; border-radius: 10px; padding: 26px; display: grid; gap: 16px; min-width: 0; }
.card h3 { font-size: 1.3rem; color: var(--night-ink); }
.card p { color: var(--night-ink-2); font-size: 0.97rem; }
.mail { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mail code { font-family: var(--mono); font-size: 1.05rem; background: #0c1724; color: #fff; padding: 10px 14px; border-radius: 6px; user-select: all; border: 1px solid #24384b; overflow-wrap: anywhere; }
.copy { background: transparent; color: var(--night-ink); border: 1px solid #4a6178; border-radius: 6px; padding: 10px 14px; cursor: pointer; font: inherit; font-size: 0.9rem; }
.copy:hover { border-color: var(--night-ink); }
.template { font-family: var(--mono); font-size: 0.82rem; background: #0c1724; color: var(--night-ink-2); border: 1px solid #24384b; border-radius: 6px; padding: 14px; white-space: pre-wrap; margin: 0; }
@media (max-width: 900px) { .pilot .wrap { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 0; border-top: 1px solid var(--rule); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--gate-red); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 20px; max-width: 68ch; }

footer { border-top: 1px solid var(--rule); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px; font-size: 0.9rem; color: var(--ink-2); }
