:root {
  --navy: #0a2540;
  --ink: #0f2540;
  --muted: #4a5a6d;
  --blue: #2563eb;
  --blue-soft: #e8efff;
  --line: #e3e8ef;
  --paper: #f5f8fb;
  --white: #ffffff;
  --ease: cubic-bezier(.32,.72,0,1);
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
a { color: inherit; }
button { font: inherit; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--navy); color: var(--white); border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* ---- top bar ---- */
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; color: var(--navy); line-height: 1.15; }
.brand small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: var(--white); font-weight: 700; }
nav { display: flex; gap: 2px; }
nav a { padding: 7px 11px; border-radius: 8px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; }
nav a:hover, nav a:focus-visible { color: var(--ink); background: var(--paper); }
.version { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---- hero ---- */
.hero { padding: 96px 0 72px; }
h1 { font-weight: 600; font-size: clamp(56px, 8vw, 104px); line-height: .95; letter-spacing: -.045em; color: var(--navy); }
.lede { max-width: 720px; margin-top: 24px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; color: var(--ink); }
.thesis { max-width: 680px; margin-top: 22px; font-size: 17px; color: var(--muted); }
.hero-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.hero-numbers > div { padding: 22px 22px 22px 0; border-right: 1px solid var(--line); }
.hero-numbers > div:last-child { border-right: 0; }
.hero-numbers > div + div { padding-left: 22px; }
.hero-numbers b { display: block; font-weight: 600; font-size: 34px; letter-spacing: -.035em; color: var(--navy); line-height: 1.05; }
.hero-numbers b small { font-size: 18px; font-weight: 400; color: var(--muted); }
.hero-numbers span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 22ch; }

/* ---- sections ---- */
.section { padding: 88px 0; }
.section.wide { padding: 88px 0; }
.section.paper { background: var(--paper); border-block: 1px solid var(--line); }
.section.navy { background: var(--navy); color: var(--white); }
.head { display: grid; grid-template-columns: 64px 1fr; gap: 0 24px; align-items: start; margin-bottom: 44px; max-width: 900px; }
.head .num { grid-row: 1 / span 2; font-size: 14px; font-weight: 500; color: var(--blue); padding-top: 12px; }
.navy .head .num { color: #8fb0ff; }
h2 { font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.03em; color: var(--navy); }
.navy h2 { color: var(--white); }
.head p { margin-top: 14px; max-width: 66ch; font-size: 17px; color: var(--muted); }
.navy .head p { color: #b9c6d8; }
h3 { font-weight: 600; font-size: 19px; letter-spacing: -.015em; color: var(--navy); line-height: 1.25; }
.aside { margin-top: 28px; max-width: 78ch; padding-left: 18px; border-left: 2px solid var(--blue); color: var(--muted); }
.note { font-size: 13.5px; color: var(--muted); }

/* ---- stats ---- */
.stats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stats.four { grid-template-columns: repeat(4, 1fr); }
.stats > div { padding: 24px 24px 24px 0; border-right: 1px solid var(--line); }
.stats > div + div { padding-left: 24px; }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-weight: 600; font-size: 44px; letter-spacing: -.04em; color: var(--navy); line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 26ch; }

/* ---- model ---- */
.model { display: grid; grid-template-columns: 340px 1fr; gap: 32px; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 32px 70px -50px rgba(10,37,64,.35); }
.controls { display: grid; gap: 28px; align-content: start; }
.control label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 10px; }
.control label output { font-weight: 600; color: var(--blue); font-size: 18px; }
.control small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 10px; background: var(--paper); }
.seg.two { grid-template-columns: 1fr 1fr; }
.seg.four { grid-template-columns: repeat(4, 1fr); }
.seg.small { padding: 3px; }
.seg.small button { min-height: 32px; font-size: 13px; }
.seg button { min-height: 40px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; transition: background 160ms var(--ease), color 160ms var(--ease); }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--navy); color: var(--white); }
.link { padding: 0; border: 0; background: none; color: var(--blue); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.slider-wrap { position: relative; height: 44px; padding-top: 6px; }
.slider-wrap input { position: relative; z-index: 2; width: 100%; margin: 0; accent-color: var(--blue); }
.slider-wrap .band { position: absolute; top: 12px; height: 10px; z-index: 1; border-radius: 6px; background: #c3d4f8; left: calc((var(--from) - 6) / 19 * 100%); width: calc((var(--to) - var(--from)) / 19 * 100%); }
.slider-wrap .tick { position: absolute; top: 28px; transform: translateX(-50%); left: calc((var(--at) - 6) / 19 * 100%); font-size: 11px; color: var(--muted); }
.readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.readout > div { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.readout > div > b { display: block; font-weight: 600; font-size: 40px; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.readout .big > b { color: var(--blue); }
.readout span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink); }
.readout small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.readout small b { font-weight: 600; color: var(--ink); }
.readout span b { font-weight: 600; }

/* ---- chart row ---- */
.chart-row { display: grid; grid-template-columns: 1.35fr .9fr; gap: 32px; margin-top: 32px; align-items: start; }
.chart { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 200px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.bar { position: relative; height: var(--h); min-height: 14px; border-radius: 4px 4px 0 0; background: #b9cdf7; transition: height .35s var(--ease); }
.bar.peak { background: var(--blue); }
.bar b { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.bar span { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); }
.quarters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.quarters span { display: block; font-size: 12px; color: var(--muted); }
.quarters b { display: block; font-weight: 600; font-size: 24px; letter-spacing: -.03em; color: var(--navy); }
.quarters small { font-size: 12px; color: var(--muted); }
.chart .note { margin-top: 16px; }
.evidence { padding: 28px; border-radius: 20px; background: var(--navy); color: var(--white); }
.evidence h3 { color: var(--white); font-size: 22px; }
.evidence p { margin-top: 14px; font-size: 14.5px; color: #c3cfde; }
.evidence .note { color: #8fb0ff; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.14); }
.mini-stats b { display: block; font-weight: 600; font-size: 28px; letter-spacing: -.03em; }
.mini-stats span { font-size: 12.5px; color: #b9c6d8; }

/* ---- hiring ---- */
.families { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.families span { font-size: 14px; font-weight: 600; color: var(--blue); }
.families h3 { margin-top: 6px; font-size: 22px; }
.families b { display: block; margin-top: 10px; font-weight: 500; font-size: 15px; color: var(--ink); }
.families i { font-style: normal; font-weight: 600; font-size: 28px; letter-spacing: -.03em; color: var(--navy); margin-right: 4px; }
.families p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.funnel-team { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; margin-top: 56px; }
.funnel, .team { padding: 28px; border: 1px solid var(--line); border-radius: 20px; }
.frow { display: grid; grid-template-columns: 170px 1fr 70px; align-items: center; gap: 14px; padding: 9px 0; font-size: 14px; color: var(--muted); }
.frow.last { color: var(--ink); font-weight: 600; }
.fbar { display: block; height: 14px; border-radius: 4px; background: var(--paper); overflow: hidden; }
.fbar i { display: block; height: 100%; background: #b9cdf7; transition: width .35s var(--ease); }
.frow.last .fbar i { background: var(--blue); }
.frow b { font-weight: 600; text-align: right; color: var(--navy); font-variant-numeric: tabular-nums; }
.funnel .note, .team .note { margin-top: 16px; }
.org { margin-top: 18px; }
.org-row { display: flex; gap: 8px; flex-wrap: wrap; }
.org-row + .org-row { margin-top: 8px; }
.org-row.lead span { padding: 9px 14px; border-radius: 8px; background: var(--navy); color: var(--white); font-size: 13.5px; font-weight: 600; }
.org-row.delivery { display: grid; grid-template-columns: repeat(3, 1fr); }
.org-row.delivery div { padding: 14px; border-radius: 8px; background: var(--blue-soft); text-align: center; }
.org-row.delivery b { display: block; font-weight: 600; font-size: 28px; letter-spacing: -.03em; color: var(--blue); line-height: 1; }
.org-row.delivery span { font-size: 12.5px; color: var(--ink); }
.org-row.spec span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: var(--ink); }
.sla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.sla b { display: block; font-weight: 600; font-size: 36px; letter-spacing: -.035em; color: var(--navy); line-height: 1; }
.sla span { display: block; margin-top: 6px; font-weight: 600; font-size: 15px; }
.sla p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---- locations ---- */
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.markets > div { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.markets h3 { font-size: 22px; }
.markets p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.citychart { margin-top: 32px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.citychart .note { margin-bottom: 18px; min-height: 20px; }
.cities { display: grid; gap: 7px; }
.city { display: grid; grid-template-columns: 96px 1fr 44px 130px; align-items: center; gap: 14px; font-size: 14px; }
.city-name { font-weight: 600; color: var(--navy); }
.city-bar { position: relative; display: block; height: 12px; border-radius: 3px; background: var(--paper); }
.city-bar i { display: block; height: 100%; border-radius: 3px; background: #c9d3e0; transition: width .35s var(--ease); }
.city.source .city-bar i { background: var(--navy); }
.city.hub .city-bar i { background: var(--blue); }
.city.existing .city-bar i { background: #7c9fe8; }
.city-bar em { position: absolute; right: -14px; top: -4px; font-style: normal; font-size: 13px; color: var(--navy); }
.city-val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.city-tier { font-size: 12.5px; color: var(--muted); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 7px; vertical-align: -1px; background: #c9d3e0; }
.legend .source::before { background: var(--navy); }
.legend .hub::before { background: var(--blue); }
.legend .existing::before { background: #7c9fe8; }
.rule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.rule p { font-size: 15px; color: var(--muted); }
.rule b { font-weight: 600; color: var(--navy); }

/* ---- engine ---- */
.layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.layers p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.ci { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; margin-top: 48px; padding: 32px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.ci h3 { font-size: 24px; }
.ci p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.guardrails h4 { font-size: 14px; font-weight: 600; color: var(--navy); }
.guardrails p { font-size: 14px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.principles p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.cadence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.cadence > div { padding: 16px 18px; border-radius: 10px; background: var(--paper); }
.cadence b { display: block; font-weight: 600; color: var(--navy); }
.cadence span { font-size: 13.5px; color: var(--muted); }

/* ---- roadmap ---- */
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.timeline li { position: relative; padding-top: 24px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); }
.timeline li:nth-child(n+5)::before { border-color: var(--navy); }
.timeline span { display: block; font-size: 12.5px; font-weight: 600; color: var(--blue); }
.timeline h3 { margin-top: 6px; }
.timeline p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.timeline b { display: block; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.timeline .link { display: inline-block; margin-top: 12px; font-size: 13px; text-align: left; }
.timeline ul { list-style: decimal; margin-top: 10px; padding-left: 18px; font-size: 13px; color: var(--muted); }
.timeline ul li { padding: 2px 0; }
.timeline ul li::before { display: none; }

/* ---- risks ---- */
.risks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.risks p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.risks b { display: block; margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--blue); font-weight: 500; font-size: 14.5px; color: var(--ink); }

/* ---- decisions ---- */
.decisions { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); counter-reset: d; }
.decisions li { counter-increment: d; padding: 28px 26px 30px; background: var(--navy); }
.decisions li::before { content: counter(d); display: block; font-size: 14px; font-weight: 600; color: #8fb0ff; margin-bottom: 18px; }
.decisions h3 { color: var(--white); font-size: 20px; }
.decisions p { margin-top: 10px; font-size: 14.5px; color: #b9c6d8; }

/* ---- footer ---- */
footer { padding: 48px 0 56px; border-top: 1px solid var(--line); background: var(--paper); }
.foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.foot b { font-weight: 600; color: var(--navy); }
.foot p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 1040px) {
  nav { display: none; }
  .hero-numbers, .stats.four, .layers, .cadence { grid-template-columns: 1fr 1fr; }
  .hero-numbers > div:nth-child(2), .stats > div:nth-child(2) { border-right: 0; }
  .hero-numbers > div:nth-child(n+3), .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); padding-left: 0; }
  .hero-numbers > div:nth-child(4), .stats > div:nth-child(4) { padding-left: 22px; }
  .model, .chart-row, .funnel-team, .ci { grid-template-columns: 1fr; }
  .readout { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1180px); }
  .topbar { padding-inline: 16px; }
  .version { display: none; }
  .hero { padding: 64px 0 48px; }
  .section, .section.wide { padding: 64px 0; }
  .head { grid-template-columns: 1fr; }
  .head .num { grid-row: auto; padding: 0 0 8px; }
  .hero-numbers, .stats.four, .readout, .families, .sla, .markets, .rule, .layers, .principles, .cadence, .risks, .decisions, .foot, .timeline { grid-template-columns: 1fr; }
  .hero-numbers > div, .stats > div { border-right: 0; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .hero-numbers > div:first-child, .stats > div:first-child { border-top: 0; }
  .model { padding: 20px; }
  .bars { height: 160px; gap: 3px; }
  .bar b { display: none; }
  .frow { grid-template-columns: 1fr 60px; }
  .frow .fbar { grid-column: 1 / -1; order: 3; }
  .city { grid-template-columns: 84px 1fr 40px; }
  .city-tier { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bar, .fbar i, .city-bar i { transition: none; } }
