:root {
  --bg: #F7F9FC; --card: #FFFFFF; --ink: #0F172A; --ink2: #334155; --muted: #475569; --line: #E2E8F0;
  --cyan: #22D3EE; --cyan-ink: #0E7490; --indigo: #6366F1; --violet: #A78BFA; --stage: #0B1220; --ok: #15803D;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.65 ui-sans-serif, -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--cyan-ink); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(780px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
code { font: 600 .82em ui-monospace, "SF Mono", Menlo, monospace; color: var(--cyan-ink); }

/* nav: a thin white bar with a hairline, no floating pill */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: saturate(160%) blur(10px); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand b { color: var(--cyan-ink); font-weight: 700; }
nav a { margin-left: 26px; color: var(--ink2); text-decoration: none; font-size: 15.5px; font-weight: 500; }
nav a:hover { color: var(--ink); }
.nav-cta { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink) !important; font-weight: 600; }

/* hero: centred copy above a full-bleed stage */
.hero { padding-top: 40px; }
.hero-copy { text-align: center; max-width: 1000px; }
.pill { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: #E0F7FB;
  color: var(--cyan-ink); font-size: 14px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
h1 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.grad { background: linear-gradient(90deg, var(--cyan-ink), var(--indigo) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 14px auto 0; max-width: 680px; color: var(--ink2); font-size: clamp(17px, 1.4vw, 19px); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 22px 0 0; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.primary { background: var(--stage); color: #fff; }
.ghost { color: var(--ink); border: 1.5px solid #CBD5E1; background: #fff; }

.stage { position: relative; margin: 28px 0 0; padding-bottom: 12px; background: radial-gradient(70% 90% at 50% 0%, #16223d, var(--stage) 70%); color: #EEF2F7; }
.stage canvas { display: block; width: 100%; height: clamp(240px, calc(100svh - 500px), 440px); }
.status { position: relative; margin: 0 auto; width: fit-content; display: flex; align-items: center; gap: 10px; padding: 8px 16px;
  border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font: 500 14px ui-monospace, "SF Mono", Menlo, monospace;
  color: #E2E8F0; white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex: none; }
.stage-facts { list-style: none; margin: 0; padding: 18px 20px 26px; display: flex; gap: 12px 40px; justify-content: center; flex-wrap: wrap;
  color: #A3AEC2; font-size: 15px; border-top: 1px solid rgba(255,255,255,.08); }
.stage-facts b { color: #fff; font-weight: 700; margin-right: 4px; }

/* sections */
.section { padding: 104px 0 0; }
h2 { margin: 0; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
.sub { margin: 12px 0 0; color: var(--muted); font-size: 19px; }
h3 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
p { margin: 0; }

/* how it works: one track with a travelling file */
.track { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: s; }
.track::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--indigo)); opacity: .35; }
.track::after { content: ""; position: absolute; top: 15px; left: 16px; width: 17px; height: 17px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(34,211,238,.35), 0 0 18px rgba(34,211,238,.8); animation: travel 6s ease-in-out infinite; }
@keyframes travel { 0% { left: 16px; } 85%, 100% { left: calc(100% - 34px); } }
.track li { position: relative; }
.node { position: relative; z-index: 1; display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; background: #fff;
  border: 2.5px solid var(--cyan-ink); color: var(--cyan-ink); font-weight: 700; margin-bottom: 18px; }
.track li:last-child .node { border-color: var(--ok); color: var(--ok); }
.track p { color: var(--ink2); margin-top: 8px; font-size: 16.5px; }

/* platforms: silhouettes lit in sequence */
.hops { list-style: none; margin: 48px 0 0; padding: 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hops li { flex: 1 1 140px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 600; color: var(--ink2); font-size: 16px; }
.hops svg { width: 76px; height: 76px; fill: none; stroke: #94A3B8; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: lit 7.5s infinite; }
.hops li:nth-child(2) svg { animation-delay: 1.5s; } .hops li:nth-child(3) svg { animation-delay: 3s; }
.hops li:nth-child(4) svg { animation-delay: 4.5s; } .hops li:nth-child(5) svg { animation-delay: 6s; }
@keyframes lit { 0%, 20%, 100% { stroke: #94A3B8; filter: none; } 6%, 14% { stroke: var(--cyan-ink); filter: drop-shadow(0 0 10px rgba(34,211,238,.6)); } }
.note { margin: 40px 0 0; color: var(--muted); font-size: 16px; text-align: center; }

/* privacy: alternating split rows */
.row { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.row:first-of-type { margin-top: 24px; }
.row.flip { grid-template-columns: 1fr 220px; }
.row.flip .glyph { order: 2; }
.row p { color: var(--ink2); margin-top: 10px; max-width: 62ch; font-size: 18px; }
.row h3 { font-size: 24px; }
.glyph { width: 180px; height: 180px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center;
  box-shadow: 0 24px 50px -30px rgba(14,116,144,.5); }
.glyph svg { width: 112px; height: 112px; fill: none; stroke: var(--indigo); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.glyph .x { stroke: var(--cyan-ink); } .glyph .slash { stroke: #F43F5E; stroke-width: 5; }

/* features: compact two-column checklist */
.checklist { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.checklist li { position: relative; padding: 24px 0 24px 46px; border-top: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 26px; width: 26px; height: 26px; border-radius: 50%;
  background: #E0F7FB url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' fill='none' stroke='%230E7490' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/16px no-repeat; }
.checklist p { color: var(--ink2); margin-top: 6px; font-size: 16.5px; }

/* protocol: a technical drawing on white */
.lanes { margin: 44px 0 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 28px 18px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 0; }
.lane-head, .frame { display: grid; grid-template-columns: 130px 1fr 130px; align-items: center; }
.lane-head { padding: 14px 0; font-weight: 700; border-bottom: 1.5px solid var(--ink); }
.lane-head span:last-child, .frame .end:last-child { text-align: right; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.frame { padding: 18px 0; border-bottom: 1px dashed #CBD5E1; }
.frame:last-child { border-bottom: 0; }
.frame .end { color: var(--muted); font-size: 15px; }
.arrow { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0 14px; }
.arrow code { font-size: 15px; color: var(--ink); background: #F1F5F9; padding: 4px 10px; border-radius: 8px; }
.arrow small { color: var(--muted); font-size: 14px; margin-top: 4px; }
.arrow::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 2px; height: 2px; background: var(--cyan-ink); }
.arrow::before { content: ""; position: absolute; bottom: -4px; width: 0; height: 0; border: 7px solid transparent; }
.frame.right .arrow::before { right: 6%; border-left: 11px solid var(--cyan-ink); border-right: 0; }
.frame.left .arrow::after { background: var(--indigo); }
.frame.left .arrow::before { left: 6%; border-right: 11px solid var(--indigo); border-left: 0; }
.frame.ok .arrow::after { background: var(--ok); } .frame.ok .arrow::before { border-right-color: var(--ok); }
.spec { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.spec li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink2); font-size: 14.5px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 18.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan-ink); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink2); margin-top: 10px; }

/* launch band + footer */
.launch { margin: 112px 0 0; background: var(--stage); color: #EEF2F7; padding: 56px 0; }
.launch-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.launch h2 { font-size: clamp(26px, 3vw, 36px); color: #fff; }
.launch p { color: #A3AEC2; margin-top: 4px; }
.launch-in > div { flex: 1 1 280px; }
.badges { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.badges li { display: flex; flex-direction: column; padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; font-size: 12.5px; color: #A3AEC2; line-height: 1.35; }
.badges b { color: #fff; font-size: 14px; }
.launch .primary { background: var(--cyan); color: var(--stage); }
.footer { padding: 32px 0 44px; color: var(--muted); font-size: 15px; }
.footer p { margin: 4px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .track { grid-template-columns: 1fr; gap: 26px; padding-left: 64px; }
  .track::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; }
  .track::after { left: 15px !important; animation: travelv 6s ease-in-out infinite; }
  @keyframes travelv { 0% { top: 15px; } 85%, 100% { top: calc(100% - 34px); } }
  .node { position: absolute; left: -64px; top: -6px; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 20px; }
  .row.flip .glyph { order: 0; }
  .glyph { width: 120px; height: 120px; } .glyph svg { width: 76px; height: 76px; }
  .checklist { grid-template-columns: 1fr; }
  .lanes { padding: 6px 14px 12px; }
  .lane-head, .frame { grid-template-columns: 70px 1fr 70px; }
  .arrow code { font-size: 12.5px; }
  .status { font-size: 12px; white-space: normal; }
}
@media (max-width: 480px) {
  .lane-head, .frame { grid-template-columns: 1fr; }
  .lane-head { display: none; }
  .frame .end:empty { display: none; }
  .frame .end { text-align: left !important; font-weight: 600; color: var(--ink); }
  .frame.left .end:last-child { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track::after, .hops svg { animation: none; }
  .btn { transition: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 24px; }
  .pill { font-size: 13px; margin-bottom: 12px; }
  .cta .btn { padding: 12px 20px; font-size: 15px; }
  .stage { margin-top: 22px; }
  .stage canvas { height: 250px; }
}
