/* Nexlink landing page. Dark-first, one palette (brief section 3). */

:root {
  --ink: #0B0F14;
  --night: #141B25;
  --surface2: #1C2530;
  --line: #263140;
  --slate: #5F7286;
  --mist: #B4BEC9;
  --text: #F2F5F8;
  --text2: #9FB0C0;
  --beak: #FF5A1F;
  --beak-deep: #C8410F;
  --beak-text: #FF7A45;
  --ok: #35C48A;
  --warn: #F0B429;

  --font: "Be Vietnam Pro", -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: 16px;
  --maxw: 1200px;
  --r-card: 22px;
  --r-inner: 12px;
  --nav-h: 64px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --beak-a12: rgba(255, 90, 31, .12);
  --beak-a24: rgba(255, 90, 31, .24);
  --beak-a40: rgba(255, 90, 31, .4);
  color-scheme: dark;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1440px) { :root { --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--ink);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--beak-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--beak); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 18px; height: 18px; }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 12px 16px; min-height: 44px; border-radius: 12px;
  background: var(--beak); color: var(--ink); font-weight: 700; text-decoration: none;
  transform: translateY(-160%);
  transition-property: transform; transition-duration: 200ms; transition-timing-function: var(--ease-out);
}
.skip:focus-visible { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transform: translate3d(var(--mx), var(--my), 0);
  transition-property: transform, background-color, box-shadow, border-color, color;
  transition-duration: 200ms; transition-timing-function: var(--ease-out);
}
.btn:active { transform: translate3d(var(--mx), var(--my), 0) scale(.97); }
.btn-primary {
  background: var(--beak); color: var(--ink);
  box-shadow: 0 0 0 0 var(--beak-a40), 0 6px 20px -6px var(--beak-a40);
}
.btn-primary:hover { background: var(--beak-text); box-shadow: 0 0 0 6px var(--beak-a12), 0 10px 36px -6px rgba(255, 90, 31, .6); }
.btn-primary .ic { transition-property: transform; transition-duration: 200ms; transition-timing-function: var(--ease-out); }
.btn-primary:hover .ic { transform: translateX(3px); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface2); border-color: var(--slate); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 15px; }
.btn-block { width: 100%; min-height: 52px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: 12px; border: 1px solid var(--line); background: var(--night); color: var(--text); cursor: pointer;
  transition-property: background-color, border-color, transform; transition-duration: 160ms; transition-timing-function: var(--ease-out);
}
.icon-btn:hover { background: var(--surface2); border-color: var(--slate); }
.icon-btn:active { transform: scale(.96); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap;
  border: 1px solid; background: rgba(11, 15, 20, .5);
}
.chip-sm { padding: 3px 10px 3px 8px; font-size: 12.5px; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.chip-beta, .chip-live { color: var(--ok); border-color: rgba(53, 196, 138, .35); }
.chip-before { color: var(--warn); border-color: rgba(240, 180, 41, .35); }
.chip-later { color: var(--mist); border-color: var(--line); }
.chip-later .chip-dot { background: var(--slate); }
.chip-live .chip-dot { box-shadow: 0 0 0 3px rgba(53, 196, 138, .2); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  border-bottom: 1px solid transparent; background: rgba(11, 15, 20, 0);
  transition-property: background-color, border-color, backdrop-filter;
  transition-duration: 240ms; transition-timing-function: var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(11, 15, 20, .72); border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
}
.nav-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; flex: none; }
/* lockup-nav.png is the dark lockup with its --ink background removed (tools/logo_alpha.py). */
.brand-img { width: 124px; height: auto; }
.nav .brand-img { animation: logo-wipe 900ms var(--ease-out) 120ms both; }
@keyframes logo-wipe {
  from { clip-path: inset(0 100% 0 0); opacity: .2; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
.nav-links { display: none; margin-inline: auto; }
.nav-links ul { display: flex; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px;
  color: var(--text2); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition-property: color, background-color; transition-duration: 160ms; transition-timing-function: var(--ease-out);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }
@media (min-width: 1180px) {
  .nav-links { display: block; }
  .nav-end { margin-left: 0; }
  .menu-btn { display: none; }
}
/* Seven links (with Guide): tighten them until there is room, so Vietnamese labels still fit. */
@media (min-width: 1180px) and (max-width: 1379px) {
  .nav-row { gap: 14px; }
  .nav-links ul { gap: 0; }
  .nav-links a { padding: 0 8px; font-size: 14.5px; }
}

.lang { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--night); border: 1px solid var(--line); }
.lang-btn {
  min-width: 44px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent;
  color: var(--text2); font-family: var(--mono); font-size: 13px; font-weight: 600; cursor: pointer;
  transition-property: background-color, color; transition-duration: 160ms; transition-timing-function: var(--ease-out);
}
.lang-btn:hover { color: var(--text); }
.lang-btn[aria-pressed="true"] { background: var(--surface2); color: var(--text); }
/* Visible 38px pill inside a 44px group: extend the hit area to 44px without overlap. */
.lang-btn { position: relative; }
.lang-btn::after { content: ""; position: absolute; inset: -3px 0; }
.nav .lang { display: none; }
@media (min-width: 480px) { .nav .lang { display: inline-flex; } }

/* ---------- Sheet (phone menu) ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column;
  padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: rgba(11, 15, 20, .97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; transform: translateY(-8px);
  transition-property: opacity, transform; transition-duration: 220ms; transition-timing-function: var(--ease-out);
  overflow-y: auto;
}
.sheet[hidden] { display: none; }
.sheet.is-open { opacity: 1; transform: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.sheet-links { margin-top: 24px; }
.sheet-links a {
  display: flex; align-items: center; min-height: 56px; padding: 0 4px;
  border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none;
  font-size: 26px; font-weight: 800; letter-spacing: -.02em;
}
.sheet-end { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.lang-lg { justify-self: start; }
.lang-lg .lang-btn { font-family: var(--font); font-size: 15px; padding: 0 16px; }
body.is-locked { overflow: hidden; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--beak-text);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--beak); }
.sec-title {
  margin-top: 14px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; font-weight: 800;
  letter-spacing: -.035em; text-wrap: balance;
}
/* Vietnamese stacks diacritics above capitals: give tight display type a little more room. */
:lang(vi) .hero-title, :lang(vi) .sec-title, :lang(vi) .cta-title { line-height: 1.16; }
:lang(vi) .hero-title { font-size: clamp(36px, 5.1vw, 74px); }
.sec-sub { margin-top: 16px; max-width: 62ch; color: var(--text2); font-size: 18px; text-wrap: pretty; }
.sec-head { margin-bottom: 48px; max-width: 820px; }
.sec-head-center { margin-inline: auto; text-align: center; }
.sec-head-center .sec-sub { margin-inline: auto; }
.section { padding-block: 80px; position: relative; }
@media (min-width: 1024px) { .section { padding-block: 112px; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 40px 0 56px; overflow: hidden; }
@media (min-width: 1024px) { .hero { padding: 72px 0 96px; margin-top: calc(var(--nav-h) * -1); padding-top: calc(var(--nav-h) + 72px); } }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.nf .hero-bg { -webkit-mask-image: none; mask-image: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.a1 { width: 720px; height: 560px; top: -180px; right: -120px; background: radial-gradient(closest-side, rgba(255, 90, 31, .55), rgba(255, 90, 31, 0)); animation: drift-a 26s var(--ease-io) infinite alternate; }
.a2 { width: 680px; height: 620px; top: 120px; left: -260px; background: radial-gradient(closest-side, rgba(95, 114, 134, .5), rgba(95, 114, 134, 0)); animation: drift-b 30s var(--ease-io) infinite alternate; }
.a3 { width: 520px; height: 420px; bottom: -160px; right: 20%; background: radial-gradient(closest-side, rgba(200, 65, 15, .45), rgba(200, 65, 15, 0)); animation: drift-c 22s var(--ease-io) infinite alternate; }
@keyframes drift-a { to { transform: translate3d(-120px, 80px, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(140px, -60px, 0) scale(.9); } }
@keyframes drift-c { to { transform: translate3d(-80px, -90px, 0) scale(1.2); } }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(180, 190, 201, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(180, 190, 201, .06) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero-row { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; } }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(20, 27, 37, .7); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--mist);
  animation: rise 700ms var(--ease-out) both;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--beak); box-shadow: 0 0 0 4px var(--beak-a24); animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 7px rgba(255, 90, 31, 0); } }
.hero-title {
  margin-top: 22px; font-size: clamp(40px, 5.8vw, 84px); line-height: 1; font-weight: 800; letter-spacing: -.045em;
}
.ht-line { display: block; text-wrap: balance; animation: rise 800ms var(--ease-out) both; }
.ht-line + .ht-line { margin-top: .08em; animation-delay: 90ms; }
.ht-accent { background: linear-gradient(92deg, var(--beak) 0%, var(--beak-text) 45%, var(--mist) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero-sub { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); color: var(--text2); text-wrap: pretty; animation: rise 800ms var(--ease-out) 180ms both; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; animation: rise 800ms var(--ease-out) 260ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }

.hero-fig { animation: rise 1000ms var(--ease-out) 200ms both; }
.hero-visual { --px: 0; --py: 0; position: relative; aspect-ratio: 10 / 8; width: 100%; perspective: 1400px; }
.hv-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mac-outline { transform: translate3d(calc(var(--px) * -8px), calc(var(--py) * -6px), 0); transition: transform 600ms var(--ease-out); }
.mo-body { fill: rgba(20, 27, 37, .6); stroke: var(--slate); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
path.mo-body { fill: none; }
.mo-screen { stroke: var(--line); stroke-width: 1.5; }
.mo-line { stroke: var(--line); stroke-width: 2; }
.mo-win { fill: rgba(28, 37, 48, .9); stroke: var(--line); stroke-width: 1.5; }
.mo-win2 { fill: rgba(28, 37, 48, .95); }
.mo-dock { fill: rgba(95, 114, 134, .25); }
.lane { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.pk { fill: none; stroke-linecap: round; }
.pk-video { stroke: var(--beak); stroke-width: 8; stroke-dasharray: 1 34; animation: flow 1.4s linear infinite; }
.pk-input { stroke: var(--mist); stroke-width: 4.5; stroke-dasharray: 1 26; animation: flow-in 1.9s linear infinite; opacity: .8; }
@keyframes flow { to { stroke-dashoffset: -350; } }
@keyframes flow-in { to { stroke-dashoffset: -270; } }
.lane-end { fill: var(--ink); stroke: var(--beak); stroke-width: 2.5; }

/* iPhone, landscape. Sized in container units so it scales as one piece. */
.phone {
  position: absolute; left: 14%; top: 47%; width: 86%; aspect-ratio: 2.17 / 1;
  container-type: inline-size;
  transform: translate3d(calc(var(--px) * 14px), calc(var(--py) * 10px), 0) rotateX(calc(var(--py) * -3deg)) rotateY(calc(var(--px) * 4deg));
  transition: transform 600ms var(--ease-out);
}
.phone-screen {
  position: absolute; inset: 0; padding: 1.5cqw; border-radius: 8.2cqw;
  background: linear-gradient(145deg, #2a3442, var(--ink) 30%, var(--ink) 70%, #2a3442);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 .5cqw #06090d inset, 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 120px -20px var(--beak-a24);
}
.desk {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 6.7cqw;
  background:
    radial-gradient(120% 90% at 85% 110%, rgba(255, 90, 31, .55), rgba(255, 90, 31, 0) 55%),
    radial-gradient(90% 80% at 10% 0%, rgba(95, 114, 134, .6), rgba(95, 114, 134, 0) 60%),
    linear-gradient(160deg, var(--surface2), var(--ink));
}
.island { position: absolute; left: 3cqw; top: 50%; width: 2.4cqw; height: 11cqw; margin-top: -5.5cqw; border-radius: 999px; background: #000; z-index: 3; }
.desk-menubar { position: absolute; inset: 0 0 auto 0; height: 3cqw; display: flex; align-items: center; gap: 1.6cqw; padding: 0 8cqw 0 7.5cqw; background: rgba(11, 15, 20, .55); }
.desk-menubar i { display: block; height: .9cqw; border-radius: 1cqw; background: rgba(242, 245, 248, .55); }
.mb-logo { width: 1.1cqw; height: 1.1cqw !important; border-radius: 50% !important; background: var(--text) !important; }
.w1 { width: 4cqw; background: var(--text) !important; } .w2 { width: 3cqw; } .w3 { width: 3.6cqw; }
.mb-r { margin-left: auto; width: 2.2cqw; } .mb-r2 { width: 5cqw; }
.win { position: absolute; border-radius: 1.4cqw; background: rgba(20, 27, 37, .92); border: 1px solid rgba(180, 190, 201, .14); box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, .45); overflow: hidden; }
.win-a { left: 9cqw; top: 6.5cqw; width: 46cqw; height: 30cqw; }
.win-b { left: 43cqw; top: 12cqw; width: 40cqw; height: 25cqw; }
.win-bar { display: flex; gap: .7cqw; padding: 1.1cqw 1.3cqw; border-bottom: 1px solid rgba(180, 190, 201, .08); }
.win-bar i { width: 1cqw; height: 1cqw; border-radius: 50%; background: var(--slate); }
.win-body { padding: 1.6cqw 2cqw; }
.code { display: grid; gap: 1.25cqw; }
.ln { display: block; height: .95cqw; border-radius: 1cqw; background: var(--mist); opacity: .5; }
.l1 { width: 40%; background: var(--beak-text); opacity: .9; } .l2 { width: 70%; margin-left: 3cqw; } .l3 { width: 55%; margin-left: 3cqw; background: var(--ok); opacity: .7; }
.l4 { width: 62%; margin-left: 6cqw; } .l5 { width: 35%; margin-left: 6cqw; background: var(--warn); opacity: .65; } .l6 { width: 50%; margin-left: 3cqw; } .l7 { width: 20%; }
.chart { display: flex; align-items: flex-end; gap: 1.3cqw; height: calc(100% - 3.4cqw); padding-bottom: 2.2cqw; }
.bar { flex: 1; border-radius: .6cqw .6cqw .2cqw .2cqw; background: linear-gradient(var(--beak), var(--beak-deep)); transform-origin: bottom; animation: bar 3.2s var(--ease-io) infinite alternate; }
.b1 { height: 30%; background: var(--slate); } .b2 { height: 46%; background: var(--slate); animation-delay: -.4s; } .b3 { height: 38%; background: var(--slate); animation-delay: -.8s; }
.b4 { height: 58%; animation-delay: -1.2s; } .b5 { height: 72%; animation-delay: -1.6s; } .b6 { height: 64%; animation-delay: -2s; } .b7 { height: 88%; animation-delay: -2.4s; }
@keyframes bar { to { transform: scaleY(.82); } }
.dock { position: absolute; left: 50%; bottom: 1.6cqw; transform: translateX(-50%); display: flex; gap: 1cqw; padding: .9cqw 1.2cqw; border-radius: 2cqw; background: rgba(28, 37, 48, .6); border: 1px solid rgba(180, 190, 201, .16); }
.dock i { width: 3.4cqw; height: 3.4cqw; border-radius: .9cqw; background: var(--slate); }
.dock i:nth-child(1) { background: linear-gradient(135deg, var(--beak-text), var(--beak-deep)); }
.dock i:nth-child(2) { background: linear-gradient(135deg, var(--mist), var(--slate)); }
.dock i:nth-child(3) { background: linear-gradient(135deg, var(--ok), #1f8a5f); }
.dock i:nth-child(4) { background: linear-gradient(135deg, var(--warn), var(--beak-deep)); }
.dock i:nth-child(5) { background: linear-gradient(135deg, var(--text2), var(--line)); }
.dock i:nth-child(6) { background: linear-gradient(135deg, var(--surface2), var(--night)); border: 1px solid var(--line); }
.dock i:nth-child(7) { background: linear-gradient(135deg, var(--slate), var(--night)); }
.cursor { position: absolute; left: 30cqw; top: 22cqw; width: 2.6cqw; height: 2.6cqw; fill: var(--text); stroke: var(--ink); stroke-width: 1.5; filter: drop-shadow(0 .3cqw .5cqw rgba(0, 0, 0, .5)); animation: cursor 9s var(--ease-io) infinite; }
@keyframes cursor {
  0%, 8% { transform: translate(0, 0); }
  30%, 40% { transform: translate(28cqw, 6cqw); }
  62%, 70% { transform: translate(14cqw, -10cqw); }
  100% { transform: translate(0, 0); }
}
.hud {
  position: absolute; z-index: 4; right: 6.5cqw; top: 4.6cqw;
  display: flex; align-items: center; gap: 1cqw; padding: .9cqw 1.6cqw; border-radius: 999px;
  background: rgba(11, 15, 20, .82); border: 1px solid rgba(255, 90, 31, .35);
  box-shadow: 0 0 0 .4cqw rgba(255, 90, 31, .08), 0 1cqw 3cqw rgba(0, 0, 0, .45);
  font-family: var(--mono); font-weight: 600; font-size: max(9px, 1.9cqw); line-height: 1; color: var(--text); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hud-dot { width: 1.1cqw; height: 1.1cqw; min-width: 6px; min-height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 .4cqw rgba(53, 196, 138, .25); }
.hud-sep { width: 1px; height: 1.8cqw; background: var(--line); }
.hud-route { color: var(--beak-text); font-family: var(--font); font-weight: 700; }
.hero-caption { margin-top: 18px; text-align: center; font-size: 13px; color: var(--text2); }

/* ---------- Numbers band ---------- */
.numbers { position: relative; padding: 24px 0 8px; }
.num-grid {
  display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(20, 27, 37, .9), rgba(20, 27, 37, .6)); overflow: hidden;
}
@media (min-width: 640px) { .num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .num-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.num { padding: 28px 24px 26px; border-top: 1px solid var(--line); position: relative; }
.num:first-child { border-top: 0; }
@media (min-width: 640px) {
  .num { border-top: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
  .num:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .num:nth-child(n+3) { border-top: 0; }
  .num + .num { border-left: 1px solid var(--line); }
}
.num-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; min-height: 64px; }
.num-big { font-size: clamp(44px, 5vw, 60px); font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--text); }
.num-big-text { font-size: clamp(36px, 3.6vw, 44px); letter-spacing: -.03em; background: linear-gradient(92deg, var(--text), var(--beak-text)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num-unit { font-size: 20px; font-weight: 600; color: var(--beak-text); }
.num-tag { align-self: center; padding: 3px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--mist); }
.num-pre { font-size: 15px; color: var(--text2); }
.num-label { margin-top: 12px; color: var(--text2); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.fn { font-size: 12px; line-height: 0; margin-left: 2px; }
.fn a { position: relative; font-family: var(--mono); font-weight: 600; color: var(--beak-text); text-decoration: none; padding: 0 2px; border-radius: 4px; }
.fn a::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.fn a:hover { text-decoration: underline; }
.notes { margin-top: 20px; padding: 0 4px; }
.notes-title { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text2); }
.notes-list { margin-top: 8px; display: grid; gap: 6px; list-style: decimal; padding-left: 20px; color: var(--text2); font-size: 13.5px; line-height: 1.5; }
@media (min-width: 900px) { .notes-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
.notes-list li::marker { font-family: var(--mono); color: var(--beak-text); }
.notes-list li { border-radius: 6px; transition-property: color, background-color; transition-duration: 400ms; }
.notes-list li:target { color: var(--text); background: var(--beak-a12); }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-stream, .c-control, .c-help, .c-session { grid-column: span 2; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; }
  .c-stream { grid-column: span 2; grid-row: span 2; }
}
.card {
  --mx: 50%; --my: 50%; --spot: 0;
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: var(--r-card); background: var(--night); border: 1px solid var(--line);
  box-shadow: var(--shadow-1); overflow: hidden;
  transition-property: transform, border-color, box-shadow; transition-duration: 220ms; transition-timing-function: var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--spot);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 90, 31, .1), transparent 45%);
  transition-property: opacity; transition-duration: 300ms;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: var(--spot);
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(255, 122, 69, .85), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition-property: opacity; transition-duration: 300ms;
}
.card:hover { transform: translateY(-2px); border-color: #2e3b4c; box-shadow: var(--shadow-1), 0 20px 40px -20px rgba(0, 0, 0, .6); }
.card:active { transform: scale(.98); }
.card-ic {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-inner);
  background: var(--surface2); color: var(--beak-text); border: 1px solid var(--line);
}
.card-t { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; margin-top: 4px; }
.card-d { color: var(--text2); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
.card .chip { margin-top: auto; }
.card > .chip { margin-top: auto; }
.c-stream { min-height: 360px; background: radial-gradient(120% 80% at 100% 0%, rgba(255, 90, 31, .12), transparent 60%), var(--night); }
.c-stream .card-t { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.025em; }
.viz-stream { margin-top: 8px; margin-bottom: 16px; padding: 16px; border-radius: 16px; background: rgba(11, 15, 20, .6); border: 1px solid var(--line); }
.vs-bars { display: flex; align-items: flex-end; gap: 5px; height: 96px; }
.c-stream .viz-stream { flex: 1; display: flex; flex-direction: column; }
.c-stream .vs-bars { flex: 1; min-height: 96px; height: auto; }
.vs-bars i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(var(--beak-text), var(--beak-deep)); transform-origin: bottom; animation: rate 2.6s var(--ease-io) infinite alternate; opacity: .85; }
.vs-bars i:nth-child(3n) { animation-duration: 3.1s; }
.vs-bars i:nth-child(4n+1) { animation-duration: 2.2s; }
.vs-bars i:nth-child(1) { animation-delay: -.1s; } .vs-bars i:nth-child(2) { animation-delay: -.5s; } .vs-bars i:nth-child(3) { animation-delay: -.9s; } .vs-bars i:nth-child(4) { animation-delay: -1.3s; }
.vs-bars i:nth-child(5) { animation-delay: -1.7s; } .vs-bars i:nth-child(6) { animation-delay: -2.1s; } .vs-bars i:nth-child(7) { animation-delay: -.3s; } .vs-bars i:nth-child(8) { animation-delay: -.7s; }
.vs-bars i:nth-child(9) { animation-delay: -1.1s; } .vs-bars i:nth-child(10) { animation-delay: -1.5s; } .vs-bars i:nth-child(11) { animation-delay: -1.9s; } .vs-bars i:nth-child(12) { animation-delay: -2.3s; }
.vs-bars i:nth-child(13) { animation-delay: -.2s; } .vs-bars i:nth-child(14) { animation-delay: -.6s; } .vs-bars i:nth-child(15) { animation-delay: -1s; } .vs-bars i:nth-child(16) { animation-delay: -1.4s; }
@keyframes rate { from { transform: scaleY(.35); } to { transform: scaleY(.95); } }
.vs-tags { display: flex; gap: 8px; margin-top: 14px; }
.tag { padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text2); border: 1px solid var(--line); background: var(--night); }
.tag-on { color: var(--ink); background: var(--beak); border-color: var(--beak); }
.keys { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 4px 8px; }
.key {
  padding: 7px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--mist);
  background: linear-gradient(var(--surface2), #18202a); border: 1px solid var(--line); box-shadow: 0 2px 0 #0a0e13;
}
.key-on { color: var(--ink); background: var(--beak); border-color: var(--beak); box-shadow: 0 2px 0 var(--beak-deep); }
.idbox { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 16px; margin-block: 4px 8px; padding: 14px 16px; border-radius: 14px; background: rgba(11, 15, 20, .6); border: 1px solid var(--line); }
.id-label { grid-column: 1; font-size: 12.5px; color: var(--text2); }
.id-num { grid-column: 1; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: .02em; }
.id-code { grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: end; gap: 2px; }
.id-dots { font-size: 18px; letter-spacing: .18em; color: var(--beak-text); }
.term-line { margin-block: 4px 8px; padding: 10px 12px; border-radius: 10px; background: var(--ink); border: 1px solid var(--line); font-size: 13.5px; color: var(--mist); }
.term-p { color: var(--ok); }
.term-caret { display: inline-block; width: 8px; height: 15px; margin-left: 3px; vertical-align: -2px; background: var(--beak-text); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.viz-session { display: flex; align-items: center; gap: 10px; margin-block: 4px 8px; }
.vsn-thumb { width: 64px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: linear-gradient(150deg, var(--surface2), var(--ink)); }
.vsn-on { border-color: var(--beak); box-shadow: 0 0 0 3px var(--beak-a24); }
.vsn-pip { position: relative; width: 64px; height: 40px; border-radius: 8px; border: 1px dashed var(--slate); }
.vsn-pip i { position: absolute; right: 4px; bottom: 4px; width: 26px; height: 16px; border-radius: 4px; background: var(--mist); }
.vsn-draw { width: 110px; height: 40px; fill: none; stroke: var(--beak-text); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 4s var(--ease-io) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 220; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -220; } }

.also { margin-top: 24px; display: grid; gap: 12px; }
@media (min-width: 900px) { .also { grid-template-columns: auto 1fr; align-items: center; gap: 24px; } }
.also-title { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text2); }
.also-list { display: grid; gap: 10px; }
@media (min-width: 900px) { .also-list { grid-template-columns: 1fr 1fr; } }
.also-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(20, 27, 37, .5); color: var(--mist); font-size: 15px; }
.also-list li > span:nth-child(2) { flex: 1 1 220px; }
.also-list .ic { color: var(--beak-text); }

/* ---------- Showcase ---------- */
.showcase { overflow: hidden; }
.tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 40px; padding: 4px; border-radius: 999px; background: var(--night); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  color: var(--text2); font-size: 15px; font-weight: 600; white-space: nowrap;
  transition-property: background-color, color, box-shadow; transition-duration: 200ms; transition-timing-function: var(--ease-out);
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--surface2); color: var(--text); box-shadow: 0 0 0 1px var(--line) inset, 0 4px 14px rgba(0, 0, 0, .3); }
@media (max-width: 559px) {
  .tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .tab { padding: 0 10px; font-size: 14px; border-radius: 16px; white-space: normal; line-height: 1.2; }
}
.stage { position: relative; display: grid; }
.stage-glow { position: absolute; left: 50%; top: 45%; width: 80%; height: 70%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 31, .28), rgba(255, 90, 31, 0)); filter: blur(40px); pointer-events: none; }
.panel {
  grid-area: 1 / 1; position: relative; display: grid; gap: 28px; align-content: center; align-items: center;
  opacity: 0; transform: translateY(8px) scale(.99); filter: blur(4px);
  transition-property: opacity, transform, filter; transition-duration: 450ms; transition-timing-function: var(--ease-out);
  border-radius: 16px;
}
.panel.is-active { opacity: 1; transform: none; filter: none; }
@media (min-width: 1024px) {
  .panel { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; }
}
.shot-wrap { position: relative; width: 100%; max-width: 680px; margin-inline: auto; }
.shot-small { max-width: 520px; }
.window { border-radius: 14px; overflow: hidden; border: 1px solid rgba(180, 190, 201, .16); background: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .5), 0 0 80px -20px var(--beak-a24); }
.window img { width: 100%; outline: 1px solid rgba(255, 255, 255, .08); outline-offset: -1px; }
.hotspot {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; background: var(--beak); color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: 14px;
  box-shadow: 0 0 0 4px rgba(255, 90, 31, .3), 0 6px 16px rgba(0, 0, 0, .5);
  transition-property: transform, box-shadow; transition-duration: 200ms; transition-timing-function: var(--ease-out);
}
.hotspot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--beak); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.8); opacity: .9; } to { transform: scale(2); opacity: 0; } }
.hotspot.is-hot { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255, 90, 31, .35), 0 6px 16px rgba(0, 0, 0, .5); }
/* Positions measured on the cropped 2000x2240 screenshot */
.hs-1 { left: 91.6%; top: 5.8%; }
.hs-2 { left: 42.6%; top: 60.5%; }
.hs-3 { left: 48%; top: 86.1%; }
@media (max-width: 559px) { .hotspot { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 12px; } }
.callouts { display: grid; gap: 12px; counter-reset: none; }
.callouts li {
  display: flex; gap: 16px; padding: 18px; border-radius: 18px; background: rgba(20, 27, 37, .75); border: 1px solid var(--line);
  transition-property: border-color, background-color; transition-duration: 200ms; transition-timing-function: var(--ease-out);
}
.callouts li.is-hot { border-color: rgba(255, 90, 31, .55); background: rgba(28, 37, 48, .9); }
.co-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--beak); color: var(--ink); font-weight: 600; font-size: 14px; }
.co-t { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.co-d { margin-top: 4px; color: var(--text2); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.panel-cap { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; text-wrap: balance; color: var(--text); max-width: 22ch; }
@media (max-width: 1023px) { .panel-cap { text-align: center; margin-inline: auto; } }

/* ---------- How it works ---------- */
.how-row { display: grid; gap: 56px; }
@media (min-width: 1024px) { .how-row { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; } }
.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 20px; padding: 22px; border-radius: var(--r-card); background: var(--night); border: 1px solid var(--line); }
.step-n { flex: none; font-size: 15px; font-weight: 600; color: var(--beak-text); padding-top: 3px; }
.step-t { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; text-wrap: balance; }
.step-d { margin-top: 4px; color: var(--text2); font-size: 15.5px; }
.how-diagram { padding: 24px; border-radius: 28px; background: radial-gradient(90% 70% at 50% 50%, rgba(255, 90, 31, .07), transparent 70%), var(--night); border: 1px solid var(--line); }
@media (max-width: 559px) { .how-diagram { padding: 16px; border-radius: 22px; } }
.diag { width: 100%; height: auto; overflow: visible; }
.diag text { font-family: var(--font); fill: var(--text2); }
.d-label { font-size: 15px; font-weight: 700; fill: var(--text) !important; }
.d-small { font-size: 13px; font-weight: 500; }
.d-tiny { font-family: var(--mono) !important; font-size: 10px; font-weight: 600; fill: var(--warn) !important; }
.d-path { font-size: 13.5px; font-weight: 600; }
.d-node rect { fill: var(--surface2); stroke: var(--line); stroke-width: 1.5; }
.d-dots { fill: none; stroke: var(--slate); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.d-dev rect, .d-dev path { fill: var(--surface2); stroke: var(--mist); stroke-width: 2; stroke-linejoin: round; }
.d-dev .d-dev-scr { fill: var(--ink); stroke: none; }
.d-base { fill: none; stroke: var(--line); stroke-width: 3; stroke-linecap: round; }
.d-base-relay { stroke-dasharray: 6 6; }
.d-flow { fill: none; stroke: var(--beak); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 18; opacity: .15; animation: flow-d 1.2s linear infinite, try 10s linear var(--td, 0s) infinite; }
.d-flow-relay { stroke: var(--mist); }
@keyframes flow-d { to { stroke-dashoffset: -95; } }
.d-nat { fill: var(--ink); stroke: rgba(240, 180, 41, .6); stroke-width: 1.2; }
.d-relay { fill: var(--surface2); stroke: var(--slate); stroke-width: 1.5; stroke-dasharray: 4 4; }
/* Each path lights up in turn: 1, 2, 3, then relay. */
.dp-1 { --td: 0s; } .dp-2 { --td: 2.5s; } .dp-3 { --td: 5s; } .dp-4 { --td: 7.5s; }
@keyframes try { 0% { opacity: .15; } 3%, 24% { opacity: 1; } 28%, 100% { opacity: .15; } }
@media (max-width: 559px) {
  .d-label { font-size: 21px; }
  .d-path { font-size: 19px; }
  .d-small { font-size: 18px; }
  .d-tiny { font-size: 13px; }
}
.path-notes { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.path-title { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.path-list { margin-top: 12px; display: grid; gap: 10px; }
.path-list li { position: relative; padding-left: 22px; color: var(--text2); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
.path-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--beak); transform: rotate(45deg); }

/* ---------- Security ---------- */
.sec-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scard { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-card); background: linear-gradient(180deg, var(--night), rgba(20, 27, 37, .6)); border: 1px solid var(--line); }
.sc-ic { width: 28px; height: 28px; color: var(--beak-text); margin-bottom: 6px; }
.scard-t { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; text-wrap: balance; }
.scard-d { color: var(--text2); font-size: 15.5px; text-wrap: pretty; }
.scard > .chip { margin-top: auto; }
.scard-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14.5px; color: var(--mist); }
.next { margin-top: 32px; padding: 24px; border-radius: 26px; border: 1px dashed rgba(240, 180, 41, .35); background: rgba(240, 180, 41, .03); }
.next-title { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); }
.next-grid { margin-top: 16px; display: grid; gap: 12px; }
@media (min-width: 900px) { .next-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ncard { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 16px; border-radius: 16px; background: var(--night); border: 1px solid var(--line); }
.ncard .ic { color: var(--warn); margin-top: 3px; }
.ncard .chip { grid-column: 2; justify-self: start; }
.ncard-t { font-weight: 700; font-size: 16px; }
.ncard-d { color: var(--text2); font-size: 14.5px; line-height: 1.5; }

/* ---------- Network ---------- */
.net-row { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .net-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 48px; } }
.map { position: relative; aspect-ratio: 3 / 1; width: 100%; }
.map-dots, .map-over { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-dots { opacity: 1; }
.map-over { overflow: visible; }
.arc { fill: none; stroke: rgba(255, 122, 69, .45); stroke-width: .5; stroke-linecap: round; }
.arc-short { stroke-width: .6; }
.arc-flow { fill: none; stroke: var(--beak-text); stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 6 240; animation: arc-run 3.6s var(--ease-io) infinite; }
@keyframes arc-run { from { stroke-dashoffset: 6; } to { stroke-dashoffset: -240; } }
.node circle { stroke: var(--ink); stroke-width: .5; }
.node-live circle { fill: var(--ok); }
.node-rolling circle { fill: var(--warn); }
.node-later circle { fill: var(--slate); stroke: var(--mist); stroke-width: .35; }
.ring { fill: none !important; stroke-width: .5 !important; transform-box: fill-box; transform-origin: center; animation: ring 2.6s var(--ease-out) infinite; }
.node-live .ring { stroke: var(--ok) !important; }
.node-rolling .ring { stroke: var(--warn) !important; }
.ring-d1 { animation-delay: 1.3s; } .ring-d2 { animation-delay: .65s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.regions { padding: 24px; border-radius: var(--r-card); background: var(--night); border: 1px solid var(--line); }
.regions-title { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text2); }
.region-list { margin-top: 10px; }
.region { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.region:first-child { border-top: 0; }
.rg-name { display: grid; font-weight: 600; font-size: 16px; line-height: 1.35; }
.rg-d { font-weight: 400; font-size: 13.5px; color: var(--text2); }

/* ---------- Roadmap ---------- */
.road-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .road-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rcol { padding: 24px; border-radius: var(--r-card); background: var(--night); border: 1px solid var(--line); position: relative; overflow: hidden; }
.rcol::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--slate); }
.rcol-now::before { background: var(--ok); }
.rcol-launch::before { background: linear-gradient(90deg, var(--warn), var(--beak)); }
.rcol-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rcol-t { font-size: 22px; font-weight: 800; letter-spacing: -.025em; }
.rlist { margin-top: 14px; display: grid; gap: 10px; }
.rlist li { position: relative; padding-left: 22px; color: var(--mist); font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }
.rlist li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--slate); }
.rcol-now .rlist li::before { border-color: var(--ok); background: var(--ok); }
.rcol-launch .rlist li::before { border-color: var(--warn); }

/* ---------- FAQ (always open) ---------- */
.faq-grid { display: grid; gap: 16px; }
@media (min-width: 820px) { .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qcard { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-card); background: var(--night); border: 1px solid var(--line); }
.q { font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; text-wrap: balance; }
.a { color: var(--text2); font-size: 15.5px; line-height: 1.6; text-wrap: pretty; }
.qcard .chip { margin-top: 4px; }

/* ---------- Final CTA ---------- */
.cta { padding: 32px 0 112px; }
.cta-panel {
  position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 28px; text-align: center;
  padding: clamp(48px, 8vw, 96px) 24px; border-radius: 32px; border: 1px solid rgba(255, 90, 31, .3);
  background: linear-gradient(180deg, rgba(28, 37, 48, .9), var(--night));
}
.cta-glow { position: absolute; inset: auto -10% -60% -10%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 90, 31, .4), rgba(255, 90, 31, 0)); animation: glow 8s var(--ease-io) infinite alternate; }
@keyframes glow { to { transform: translate3d(0, -6%, 0) scale(1.08); } }
.cta-title { max-width: 18ch; font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.cta-line { color: var(--text2); font-size: 16px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); color: var(--text2); font-size: 14.5px; }
.foot-row { display: grid; gap: 32px; }
@media (min-width: 900px) { .foot-row { grid-template-columns: 1.2fr 1.4fr auto; align-items: start; } }
.foot-tag { margin-top: 14px; max-width: 34ch; }
.foot-meta { display: grid; gap: 6px; }
.foot-meta a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-end { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-top { display: inline-flex; align-items: center; min-height: 44px; color: var(--text2); }
.foot-top:hover { color: var(--text); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(16px); filter: blur(6px);
  transition-property: opacity, transform, filter; transition-duration: 550ms; transition-timing-function: var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }
/* Cards have their own hover transitions; keep reveal on the same properties but let hover win after entry. */
.card.reveal.is-in { transition-property: opacity, transform, filter, border-color, box-shadow; transition-delay: 0ms; }
@media (scripting: none) { .reveal { opacity: 1; transform: none; filter: none; } }
/* Safety net: if main.js never runs, show everything after a short wait. */
html:not(.js-ok) .reveal { animation: reveal-fallback 500ms var(--ease-out) 2500ms forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; filter: none; } }

/* ---------- Pausing ---------- */
.is-paused *, .is-paused *::before, .is-paused *::after,
html.is-hidden *, html.is-hidden *::before, html.is-hidden *::after { animation-play-state: paused !important; }

/* ---------- Reduced motion: everything off, final states at once ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .panel { filter: none; transform: none; }
  .vsn-draw { stroke-dashoffset: 0; }
  .card:hover, .card:active, .btn:active { transform: none; }
  .d-flow { opacity: .9; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; isolation: isolate; padding: 48px var(--gutter); }
.nf-inner { display: grid; justify-items: center; gap: 22px; max-width: 640px; }
.nf-code { font-family: var(--mono); font-size: clamp(72px, 16vw, 140px); font-weight: 600; letter-spacing: -.05em; line-height: 1; background: linear-gradient(92deg, var(--beak), var(--beak-text), var(--mist)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-title { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.nf-text { color: var(--text2); }
.nf .brand-img { width: 140px; }
