/* Turnline marketing site V2. No framework, no external fonts. */
:root {
  --navy: #0b1f3a;
  --navy-950: #061426;
  --navy-900: #081a31;
  --navy-800: #0e2747;
  --navy-700: #163559;
  --navy-600: #1f4470;
  --gold: #f4b400;
  --gold-soft: #ffd25e;
  --gold-ink: #7a5900; /* gold for text on light backgrounds (AA) */
  --white: #ffffff;
  --text: #f3f6fa;
  --muted: #b9c7d8;
  --dim: #93a7bf;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --slate-50: #f4f6f9;
  --slate-100: #e6ebf2;
  --slate-200: #d3dbe6;
  --slate-600: #475a72;
  --slate-700: #33465e;
  --ink: #0b1f3a;
  /* status (always paired with a text label) */
  --st-impl: #5fd6a3;
  --st-dev: #f4b400;
  --st-plan: #8fc1ff;
  --st-research: #c6b6ff;
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy-950);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--navy); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy); font-weight: 700;
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }

/* ---------- buttons, labels ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-soft); }
.btn-secondary { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-secondary:hover { border-color: var(--gold); color: var(--white); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }

.eyebrow {
  display: inline-block; color: var(--gold); font-size: .76rem; font-weight: 750;
  letter-spacing: .16em; text-transform: uppercase;
}
.light .eyebrow { color: var(--gold-ink); }

.concept-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--gold); padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.concept-note { font-size: .82rem; color: var(--dim); }
.light .concept-note { color: var(--slate-600); }

/* status badges: dot + text, never colour alone */
.status {
  --c: var(--st-plan);
  display: inline-flex; align-items: center; gap: 7px; flex: none; align-self: flex-start; max-width: 100%;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  color: var(--c); border: 1px solid var(--line-strong);
  border-color: color-mix(in srgb, var(--c) 45%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  padding: 3px 10px 3px 8px; border-radius: 999px;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.status.impl { --c: var(--st-impl); }
.status.dev { --c: var(--st-dev); }
.status.plan { --c: var(--st-plan); }
.status.research { --c: var(--st-research); }
.status.research::before { background: transparent; border: 1.5px solid var(--c); }
.status.plan::before { background: transparent; border: 1.5px solid var(--c); border-style: dashed; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 20, 38, 0.94); border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(6, 20, 38, 0.86); backdrop-filter: saturate(140%) blur(10px); }
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; letter-spacing: .18em; font-size: 1.02rem; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: inline-block; padding: 8px 12px; border-radius: 8px; text-decoration: none;
  color: var(--muted); font-size: .93rem; font-weight: 550;
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav-cta { margin-left: 8px; }
.nav-links a.btn-primary { color: var(--navy); background: var(--gold); padding: 8px 16px; }
.nav-links a.btn-primary:hover { color: var(--navy); background: var(--gold-soft); }
.menu-toggle {
  display: none; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; min-width: 44px; padding: 8px 12px; border-radius: 9px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-weight: 650;
}
.menu-toggle .bars { width: 18px; height: 12px; position: relative; }
.menu-toggle .bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 5px; }
.menu-toggle .bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 104px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-top: 12px; letter-spacing: -.03em; }
.section-head p:not(.eyebrow) { margin-top: 18px; font-size: 1.12rem; color: var(--muted); }
.light { background: var(--slate-50); color: var(--ink); }
.light .section-head p:not(.eyebrow) { color: var(--slate-700); }
.band { background: var(--navy-900); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { padding: 84px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 82% 18%, rgba(31, 68, 112, .55), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-950) 100%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -.04em; margin: 20px 0 22px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-support { margin-top: 22px; display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: .92rem; }
.hero-support .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--st-dev); box-shadow: 0 0 0 4px rgba(244, 180, 0, .18); flex: none; }

/* concept dashboard */
.dash {
  background: linear-gradient(180deg, #102b4d, #0b2140);
  border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .2);
  overflow: hidden; font-size: .86rem;
}
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .18); }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2c4b72; display: block; }
.dash-title { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-body { padding: 18px; display: grid; gap: 14px; }
.flight-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.flight-id { font-family: var(--mono); font-weight: 700; font-size: 1.02rem; letter-spacing: .04em; }
.flight-route { display: flex; align-items: center; gap: 10px; margin-top: 4px; color: var(--muted); }
.flight-route b { color: var(--white); font-family: var(--mono); font-size: 1.15rem; letter-spacing: .06em; }
.flight-route .leg { flex: 0 0 46px; height: 1px; background: var(--line-strong); position: relative; }
.flight-route .leg::after { content: ""; position: absolute; right: -1px; top: -3px; border-left: 6px solid var(--line-strong); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.flight-meta { color: var(--dim); font-size: .78rem; margin-top: 4px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px; min-width: 0; }
.tile-label { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.tile-value { font-family: var(--mono); font-weight: 700; font-size: 1.02rem; margin-top: 3px; white-space: nowrap; }
.tile-sub { font-size: .72rem; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.ok .tile-value { color: var(--st-impl); }
.tile.warn .tile-value { color: var(--gold); }
.delta { color: var(--gold); font-weight: 700; }
.bar { height: 5px; background: rgba(255, 255, 255, .08); border-radius: 4px; margin-top: 7px; overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w, 50%); background: var(--gold); border-radius: 4px; }
.milestones { list-style: none; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.milestones li { display: grid; grid-template-columns: 52px 14px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); }
.milestones li:first-child { border-top: 0; }
.milestones .t { font-family: var(--mono); color: var(--muted); font-size: .8rem; }
.milestones .m { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--dim); }
.milestones .done .m { background: var(--st-impl); border-color: var(--st-impl); }
.milestones .alert .m { background: var(--gold); border-color: var(--gold); }
.milestones .next .m { border-style: dashed; }
.milestones .n { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.milestones .s { font-size: .72rem; color: var(--dim); white-space: nowrap; }
.milestones .alert { background: rgba(244, 180, 0, .07); }
.milestones .alert .s { color: var(--gold); font-weight: 650; }
.impact { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(244, 180, 0, .08); border: 1px solid rgba(244, 180, 0, .3); color: #ffe7a6; font-size: .8rem; }
.impact svg { width: 18px; height: 18px; flex: none; color: var(--gold); }
.dash-caption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- what is turnline ---------- */
.what-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.what-copy p + p { margin-top: 16px; }
.what-copy p { color: var(--slate-700); font-size: 1.06rem; }
.what-copy .pull { font-size: 1.22rem; color: var(--ink); font-weight: 600; border-left: 3px solid var(--gold); padding-left: 16px; margin-top: 26px; }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; position: relative; }
.role {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 20px 18px; box-shadow: 0 1px 2px rgba(11, 31, 58, .05);
}
.role-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 12px; }
.role-icon svg { width: 20px; height: 20px; }
.role h3 { font-size: 1rem; }
.role p { margin-top: 6px; font-size: .9rem; color: var(--slate-600); line-height: 1.5; }
.roles-hub {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 16px 20px; text-align: center; font-weight: 650;
}
.roles-hub span { color: var(--gold); font-family: var(--mono); letter-spacing: .06em; }

/* ---------- how it works ---------- */
.stages { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; position: relative; counter-reset: stage; }
.stages::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(244, 180, 0, .25)); z-index: 0;
}
.stage { position: relative; z-index: 1; display: flex; flex-direction: column; }
.stage-num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-950); border: 2px solid var(--gold); color: var(--gold);
  font-family: var(--mono); font-weight: 700; font-size: 1.05rem; margin-bottom: 18px;
}
.stage-card { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.stage h3 { font-size: 1.12rem; }
.stage .status { white-space: normal; line-height: 1.3; }
.stage p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.stage .link { font-size: .84rem; color: var(--white); border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }
.stage .link::before { content: "→ "; color: var(--gold); font-weight: 700; }
.stages-note { margin-top: 28px; color: var(--dim); font-size: .9rem; max-width: 820px; }

/* ---------- feature explorer ---------- */
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-bottom: 30px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .02); }
.legend div { display: flex; align-items: flex-start; gap: 12px; font-size: .85rem; color: var(--muted); }
.legend dt { min-width: 168px; }
.legend dt { flex: none; }
.legend dd { margin: 0; }
.explorer { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; align-items: start; }
.tablist { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 92px; }
.tab {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  padding: 13px 14px; border-radius: 11px; border: 1px solid transparent; background: transparent;
  color: var(--muted); font-weight: 650; font-size: .96rem;
}
.tab svg { width: 20px; height: 20px; flex: none; color: var(--dim); }
.tab:hover { background: rgba(255, 255, 255, .04); color: var(--white); }
.tab[aria-selected="true"] { background: var(--navy-800); border-color: var(--line-strong); color: var(--white); }
.tab[aria-selected="true"] svg { color: var(--gold); }
.no-js .tablist { display: none; }
.panels { min-width: 0; }
.panel { background: var(--navy-800); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.no-js .panel + .panel, .panel.static + .panel.static { margin-top: 18px; }
.panel-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.panel-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(244, 180, 0, .1); color: var(--gold); flex: none; border: 1px solid rgba(244, 180, 0, .3); }
.panel-icon svg { width: 22px; height: 22px; }
.panel h3 { font-size: 1.4rem; }
.panel-head p { color: var(--muted); margin-top: 6px; }
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-list li { display: flex; flex-direction: column; gap: 8px; padding: 15px 16px; background: rgba(0, 0, 0, .14); border: 1px solid var(--line); border-radius: 11px; }
.feature-list .fl-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.feature-list strong { font-weight: 650; font-size: .97rem; }
.feature-list p { font-size: .87rem; color: var(--muted); line-height: 1.5; }

/* ---------- different ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.compare-col { border-radius: 18px; padding: 30px; border: 1px solid var(--slate-200); background: var(--white); }
.compare-col.connected { background: var(--navy); color: var(--white); border-color: var(--navy); }
.compare-col h3 { font-size: 1.25rem; }
.compare-col .sub { font-size: .9rem; color: var(--slate-600); margin-top: 6px; }
.compare-col.connected .sub { color: var(--muted); }
.lanes { margin: 24px 0; display: grid; gap: 10px; }
.lane { display: grid; grid-template-columns: 98px minmax(0, 1fr); align-items: center; gap: 12px; font-size: .8rem; }
.lane-name { color: var(--slate-600); font-weight: 600; }
.compare-col.connected .lane-name { color: var(--muted); }
.track { position: relative; height: 24px; border-radius: 6px; background: var(--slate-100); }
.compare-col.connected .track { background: rgba(255, 255, 255, .06); }
.seg { position: absolute; top: 4px; bottom: 4px; border-radius: 4px; background: var(--slate-200); border: 1px dashed #9fb0c4; }
.compare-col.connected .seg { background: rgba(244, 180, 0, .22); border: 1px solid rgba(244, 180, 0, .55); }
.compare-col.connected .seg.hot { background: var(--gold); border-color: var(--gold); }
.spine { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--gold); left: var(--x); }
.lanes.linked { position: relative; }
.lanes.linked .flow {
  position: absolute; left: calc(98px + 12px); right: 0; top: 0; bottom: 0; pointer-events: none;
}
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.check-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.compare-col .check-list svg { color: #8a9bb0; }
.compare-col.connected .check-list svg { color: var(--gold); }
.compare-foot { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.compare-foot p { color: var(--slate-700); }
.compare-foot strong { color: var(--ink); }

/* ---------- scenario ---------- */
.scenario { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 26px; align-items: start; }
.scn-card { background: var(--navy-800); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.scn-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .15); }
.scn-head .flight-id { font-size: 1.05rem; }
.scn-head .route { color: var(--muted); font-size: .9rem; }
.view-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 10px; padding: 3px; gap: 3px; }
.view-toggle button { border: 0; background: transparent; color: var(--muted); padding: 6px 12px; border-radius: 7px; font-size: .84rem; font-weight: 650; min-height: 34px; }
.view-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--navy); }
.no-js .view-toggle { display: none; }
.timeline { list-style: none; padding: 10px 22px 22px; }
.timeline li { display: grid; grid-template-columns: 64px 22px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline .tl-time { font-family: var(--mono); font-weight: 700; color: var(--white); padding-top: 1px; }
.timeline .tl-time s { display: block; color: var(--dim); font-weight: 500; font-size: .8rem; text-decoration-thickness: 1px; }
.timeline .tl-dot { width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; border: 2px solid var(--st-impl); background: var(--navy-800); }
.timeline .tl-alert .tl-dot { border-color: var(--gold); background: var(--gold); }
.timeline .tl-effect .tl-dot { border-color: var(--gold); }
.timeline .tl-end .tl-dot { border-color: var(--st-plan); background: var(--st-plan); }
.timeline h3 { font-size: 1rem; }
.timeline p { color: var(--muted); font-size: .9rem; margin-top: 3px; }
.timeline .chip { display: inline-block; margin-top: 8px; font-size: .76rem; font-weight: 650; padding: 3px 9px; border-radius: 6px; background: rgba(244, 180, 0, .12); color: #ffe39a; border: 1px solid rgba(244, 180, 0, .35); }
.timeline .chip.calm { background: rgba(95, 214, 163, .1); color: #b4f0d4; border-color: rgba(95, 214, 163, .35); }
[data-view="planned"] .asop { display: none; }
[data-view="operated"] .plan-only { display: none; }
.debrief { background: var(--white); color: var(--ink); border-radius: 18px; padding: 24px; position: sticky; top: 92px; }
.debrief h3 { font-size: 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.debrief dl { margin: 18px 0 0; display: grid; gap: 0; }
.debrief dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--slate-100); font-size: .92rem; }
.debrief dt { color: var(--slate-600); }
.debrief dd { margin: 0; font-weight: 700; text-align: right; font-family: var(--mono); }
.debrief .late { color: #a15c00; }
.debrief .cause { margin-top: 16px; padding: 14px; background: var(--slate-50); border-radius: 11px; font-size: .9rem; color: var(--slate-700); border-left: 3px solid var(--gold); }
.debrief .cause strong { color: var(--ink); }
.why { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: rgba(255, 255, 255, .02); }
.why h3 { font-size: 1rem; }
.why p { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* ---------- integrations ---------- */
.providers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.provider { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.provider-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.provider-mark { width: 44px; height: 44px; border-radius: 11px; background: var(--slate-100); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: .8rem; letter-spacing: .04em; font-family: var(--mono); flex: none; }
.provider h3 { font-size: 1.08rem; }
.provider p { font-size: .9rem; color: var(--slate-600); line-height: 1.5; }
.light .status.impl { --c: #13734b; }
.light .status.dev { --c: #7a5900; }
.light .status.plan { --c: #1f5fae; }
.light .status.research { --c: #5b3fb8; }
.integration-notes { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 22px; }
.integration-notes p { color: var(--slate-700); }
.disclaimer { font-size: .86rem; color: var(--slate-600); border: 1px solid var(--slate-200); background: var(--white); border-radius: 12px; padding: 16px 18px; }

/* ---------- roadmap ---------- */
.roadmap { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; }
.phase { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.phase.current { border-color: rgba(244, 180, 0, .55); box-shadow: inset 0 3px 0 var(--gold); }
.phase-step { font-family: var(--mono); font-size: .74rem; color: var(--dim); letter-spacing: .1em; }
.phase h3 { font-size: 1.12rem; }
.phase ul { list-style: none; display: grid; gap: 8px; }
.phase li { font-size: .88rem; color: var(--muted); padding-left: 16px; position: relative; line-height: 1.45; }
.phase li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: var(--line-strong); }
.phase.current li::before { background: var(--gold); }
.roadmap-note { margin-top: 26px; color: var(--dim); font-size: .9rem; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 650; font-size: 1.02rem; border-radius: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-list details[open] summary { border-bottom: 1px solid var(--slate-100); border-radius: 12px 12px 0 0; }
.faq-list .answer { padding: 14px 20px 20px; color: var(--slate-700); }
.faq-list .answer p + p { margin-top: 10px; }
.faq-list a { color: var(--ink); font-weight: 650; }

/* ---------- waitlist ---------- */
.join { padding: 104px 0; background: linear-gradient(180deg, var(--navy-950), var(--navy)); }
.join-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
  border: 1px solid var(--line-strong); border-radius: 22px; overflow: hidden; background: var(--navy-800);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.join-pitch { padding: 46px; background: linear-gradient(160deg, #143a66 0%, var(--navy) 70%); border-right: 1px solid var(--line); }
.join-pitch h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-top: 14px; letter-spacing: -.03em; }
.join-pitch > p:not(.eyebrow):not(.join-honest) { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }
.benefits { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; }
.benefits svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 1px; }
.benefits strong { display: block; }
.benefits span { color: var(--muted); font-size: .92rem; }
.join-honest { margin-top: 28px; font-size: .86rem; color: var(--dim); border-top: 1px solid var(--line); padding-top: 18px; }
.join-form { padding: 46px; }
.join-form h3 { font-size: 1.3rem; }
.join-form .lede { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.field { margin-top: 24px; }
.field label { display: block; font-weight: 650; font-size: .94rem; margin-bottom: 8px; }
.field input[type="email"] {
  width: 100%; min-height: 52px; border: 1px solid #5d7896; background: var(--navy-950); color: var(--white);
  border-radius: 10px; padding: 12px 15px; font-size: 1rem;
}
.field input[type="email"]::placeholder { color: #7f95ad; }
.field input[type="email"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field input[aria-invalid="true"] { border-color: #ff9a8a; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: .9rem; color: #d6e1ec; line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--gold); cursor: pointer; }
.turnstile-slot { margin-top: 18px; min-height: 0; }
.join-form .btn-primary { width: 100%; margin-top: 20px; min-height: 54px; font-size: 1.05rem; }
.fine { font-size: .82rem; color: var(--dim); margin-top: 14px; }
.fine a { color: var(--muted); }
.form-status { margin-top: 16px; min-height: 0; font-weight: 600; font-size: .95rem; border-radius: 10px; }
.form-status:not(:empty) { padding: 13px 15px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); }
.form-status[data-tone="ok"] { border-color: rgba(95, 214, 163, .5); background: rgba(95, 214, 163, .1); color: #c8f5e0; }
.form-status[data-tone="warn"] { border-color: rgba(244, 180, 0, .5); background: rgba(244, 180, 0, .09); color: #ffe7a6; }
.form-status[data-tone="error"] { border-color: rgba(255, 154, 138, .55); background: rgba(255, 120, 100, .09); color: #ffd2ca; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)); gap: 36px; }
.footer-grid h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; font-weight: 750; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-tag { margin-top: 12px; color: var(--muted); }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .8rem; color: var(--dim); }

/* ---------- reveal (only when JS is on and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .stages::before { display: none; }
  .roadmap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-links a { padding: 8px 9px; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    background: var(--navy-950); border-bottom: 1px solid var(--line); padding: 10px 20px 22px;
  }
  .nav-menu.open { display: block; }
  .no-js .nav-menu { display: block; position: static; padding: 0 0 14px; border: 0; }
  .no-js .menu-toggle { display: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { display: block; padding: 12px 10px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; }
  .hero-grid, .what-grid, .scenario, .faq-grid, .join-card, .integration-notes, .compare, .compare-foot { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 48px; }
  .explorer { grid-template-columns: minmax(0, 1fr); }
  .tablist { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .tab { width: auto; flex: none; }
  .debrief, .faq-grid .section-head { position: static; }
  .providers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-pitch { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .section, .join { padding: 72px 0; }
  .hero { padding: 52px 0 72px; }
  .hero-actions .btn { width: 100%; }
  .section-head { margin-bottom: 36px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestones li { grid-template-columns: 46px 12px minmax(0, 1fr); }
  .milestones .s { grid-column: 3; margin-top: -4px; }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .stage { flex-direction: row; gap: 14px; }
  .stage-num { width: 44px; height: 44px; font-size: .95rem; margin: 0; flex: none; }
  .feature-list, .legend { grid-template-columns: minmax(0, 1fr); }
  .legend div { flex-direction: column; gap: 4px; }
  .legend dt { min-width: 0; }
  .panel { padding: 22px 18px; }
  .roadmap, .why, .providers { grid-template-columns: minmax(0, 1fr); }
  .lane { grid-template-columns: 76px minmax(0, 1fr); }
  .lanes.linked .flow { left: calc(76px + 12px); }
  .compare-col { padding: 22px 18px; }
  .timeline { padding: 6px 16px 16px; }
  .timeline li { grid-template-columns: 58px 16px minmax(0, 1fr); gap: 10px; }
  .timeline .tl-end .tl-time { font-size: .8rem; }
  .join-pitch, .join-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .roles { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .site-header, .menu-toggle, .view-toggle, .tablist { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- legal pages (privacy notice) ---------- */
.legal-nav { display: flex; align-items: center; gap: 14px; }
.back-link { color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 550; }
.back-link:hover { color: var(--white); text-decoration: underline; }
.legal-main { background: var(--slate-50); color: var(--ink); padding: 72px 0 96px; }
.prose { max-width: 760px; font-size: 1.04rem; line-height: 1.75; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.03em; margin-bottom: 6px; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.prose p { margin-top: 14px; color: var(--slate-700); }
.prose p strong { color: var(--ink); }
.prose a { color: var(--ink); font-weight: 650; }
.prose small { color: var(--slate-600); font-size: .9rem; }
.prose .signoff { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--slate-200); }
.legal-main :focus-visible { outline-color: var(--navy); }
@media (max-width: 520px) { .back-link { display: none; } }
