/* Onset — site stylesheet.
   The palette, type and accent rule are the app's own: one green, and it
   only ever means "live". */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --canvas: #08080a;
  --rail: #0c0c0e;
  --sheet: #0f0f11;
  --card: #131316;
  --raise: #17171a;
  --strip: #1a1a1d;
  --raise-2: #232327;
  --raise-3: #262629;
  --raise-4: #2c2c30;

  --ink: #f2f2f3;
  --title: #dcdce1;
  --muted: #9a9aa2;
  --dim: #7b7b83;
  --faint: #82828b;
  --line: rgba(255, 255, 255, .06);
  --line-2: rgba(255, 255, 255, .1);
  --line-3: rgba(255, 255, 255, .16);

  --green: #46c07a;
  --green-lit: #7fe0a6;
  --green-tint: rgba(70, 192, 122, .14);
  --green-glow: rgba(70, 192, 122, .45);
  --red: #e5484d;

  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --rim: inset 0 0 0 1px var(--line-2);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Film grain over everything; the page is mostly near-black and flat black
   bands without it read as banding on cheaper panels. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
code { font-family: var(--mono); font-size: .88em; }
::selection { background: var(--green); color: var(--canvas); }
:focus-visible { outline: 2px solid var(--green-lit); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--mono); font-feature-settings: normal; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--canvas);
  font-weight: 700; text-decoration: none; transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.center { text-align: center; justify-content: center; }

.ico { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------------------------ wordmark */
.mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 750; font-size: 16px; letter-spacing: -.02em;
  text-decoration: none; color: var(--ink); white-space: nowrap;
}
/* The app icon itself (favicon.svg, cropped to its tile), so the site and the
   taskbar show the same mark. The radius matches the tile's own corners. */
.mark-logo {
  width: 22px; height: 22px; flex: none; border-radius: 5px;
  box-shadow: 0 0 16px var(--green-glow);
}

/* ------------------------------------------------------------------ buttons */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 0;
  font: 700 15px/1 var(--sans); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
/* The app's primary button is white, not green: green says "live". */
.btn-primary { background: var(--ink); color: var(--canvas); box-shadow: 0 10px 30px -12px rgba(255,255,255,.35); }
.btn-primary:hover { background: #fff; box-shadow: 0 14px 40px -12px rgba(255,255,255,.45); transform: translateY(-1px); }
.btn-light { background: var(--raise-3); color: var(--ink); box-shadow: var(--rim); }
.btn-light:hover { background: var(--raise-4); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); }
.btn-ghost:hover { background: rgba(255,255,255,.05); }
.btn-ghost span { transition: transform .25s var(--ease); }
.btn-ghost:hover span { transform: translateX(3px); }
.btn-quiet { background: var(--raise-2); color: var(--ink); box-shadow: var(--rim); }
.btn-quiet:hover { background: var(--raise-3); }
.btn-sm { --h: 36px; padding: 0 16px; font-size: 14px; }
.btn-wide { width: 100%; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.stuck {
  background: rgba(8, 8, 10, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav-in {
  width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; gap: 24px; height: 72px;
}
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--muted); font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--ink); background: rgba(255,255,255,.05); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(120px, 15vh, 160px) 0 0;
  background: radial-gradient(1200px 640px at 50% -12%, #16161b 0%, var(--canvas) 62%);
  overflow: hidden;
}
.ridges {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: 50%;
  width: min(1000px, 90vw); height: 70%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(70,192,122,.12), transparent);
  pointer-events: none;
}
.hero-copy { position: relative; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.035); box-shadow: var(--rim);
  color: var(--title); font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 var(--green-glow); animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--green-glow); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(70,192,122,0); }
}

.display {
  margin: 0; font-size: clamp(52px, 9vw, 132px); line-height: .9; letter-spacing: -.055em;
  font-weight: 800;
}
.display .line { display: block; }
.display .solid {
  background: linear-gradient(180deg, #ffffff 30%, #b9b9c0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* The second line is the same words, quieter: a dim fill with a slow band
   of green light passing through it, the way a voice lights the strip.
   (A text stroke would show the variable font's overlapping contours.) */
.display .hollow {
  padding-bottom: .06em;
  background: linear-gradient(100deg, #2e2e34 0%, #3b3b42 38%, #9fe8c0 50%, #3b3b42 62%, #2e2e34 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s cubic-bezier(.45, 0, .25, 1) 1.2s infinite;
}
@keyframes sheen { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0% 0; } }
.display.small { font-size: clamp(44px, 7.4vw, 104px); }

.lede {
  max-width: 640px; margin: 30px auto 0;
  color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55;
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.meta { margin: 18px 0 0; color: var(--faint); font-size: 12.5px; letter-spacing: .04em; }

/* --- the strip ---------------------------------------------------------- */
.stage {
  position: relative; isolation: isolate;
  height: clamp(360px, 38vw, 520px); margin-top: clamp(8px, 2vw, 24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 0 var(--gutter);
}
.stage .strip { margin-top: 6%; }
.strip {
  --s: 1;
  display: flex; align-items: center; gap: 4px;
  height: 56px; padding: 0 10px 0 8px;
  background: var(--strip);
  box-shadow: var(--rim), 0 40px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.5);
  border-radius: 999px;
  font-size: 14px; color: var(--title);
  animation: float 9s ease-in-out infinite;
  max-width: 100%;
}
@keyframes float { 50% { translate: 0 -8px; } }
.strip svg { width: 20px; height: 20px; }
.grip {
  display: grid; grid-template-columns: repeat(2, 3px); gap: 3px;
  padding: 0 10px 0 8px;
}
.grip b { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); }
.sbtn {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px; color: var(--title); flex: none;
}
.sbtn.server { background: var(--raise-2); }
.sbtn .dot {
  position: absolute; right: 6px; bottom: 6px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 2px var(--raise-2), 0 0 8px var(--green-glow);
}
.sbtn .badge {
  position: absolute; top: 4px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--red); color: #fff;
  font: 800 10px/16px var(--sans); font-style: normal; text-align: center;
}
.sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 6px; flex: none; }
.host { color: var(--title); font-size: 13px; padding: 0 6px 0 4px; white-space: nowrap; }
.ping {
  padding: 3px 8px; border-radius: 999px; background: var(--raise-2);
  color: var(--muted); font-size: 11.5px; white-space: nowrap; margin-right: 6px;
}
.ping em { font-style: normal; color: var(--title); }
.pill {
  display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px 0 12px; margin-right: 6px;
  border-radius: 999px; background: var(--raise-3);
  white-space: nowrap;
}
.who { font-weight: 650; color: var(--ink); }
.who span { color: var(--green-lit); }
.clock { color: var(--faint); font-size: 12px; }
.meter { display: flex; align-items: center; gap: 2px; height: 16px; }
.meter b {
  width: 3px; border-radius: 2px; background: var(--green); height: 30%;
  animation: bar 1.1s ease-in-out infinite;
}
.meter b:nth-child(2) { animation-delay: -.35s; animation-duration: .9s; }
.meter b:nth-child(3) { animation-delay: -.7s; animation-duration: 1.3s; }
.meter b:nth-child(4) { animation-delay: -.2s; animation-duration: 1s; }
@keyframes bar { 0%, 100% { height: 25%; } 30% { height: 100%; } 60% { height: 55%; } }
.strip.quiet .meter b { animation-play-state: paused; height: 22%; background: var(--dim); }

/* ------------------------------------------------------------------ manifesto */
.manifesto { padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 110px); }
.statement {
  margin: 0; max-width: 1040px;
  font-size: clamp(28px, 4.1vw, 56px); line-height: 1.12; letter-spacing: -.035em; font-weight: 700;
  color: var(--ink);
}
.statement { color: var(--dim); }
.statement em { font-style: normal; color: var(--ink); }
.js .statement .w { color: #26262b; transition: color .5s var(--ease); }
.js .statement .w.lit { color: var(--dim); }
.js .statement .w.key.lit { color: var(--ink); }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--line-2);
}
.fact { padding: 26px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact dt { color: var(--faint); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fact dd { margin: 10px 0 0; display: flex; align-items: baseline; gap: 6px; }
.fact .num { font-size: clamp(44px, 5.4vw, 72px); font-weight: 200; letter-spacing: -.05em; line-height: 1; }
.fact small { color: var(--muted); font-family: var(--mono); font-size: 14px; }

/* ------------------------------------------------------------------ sections */
.sect { position: relative; padding: clamp(80px, 9vw, 128px) 0; }
.sect-deep { background: linear-gradient(180deg, var(--canvas), var(--rail) 18%, var(--rail) 82%, var(--canvas)); }
.sect-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px); }
.sect-head.center { margin-inline: auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px;
  color: var(--muted); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
}
.kicker span {
  display: grid; place-items: center; width: 30px; height: 22px; border-radius: 999px;
  background: var(--green-tint); color: var(--green-lit); letter-spacing: 0;
}
.h2 {
  margin: 0; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.045em; font-weight: 800;
}
.h2 .dim { color: var(--dim); font-weight: 300; letter-spacing: -.04em; }
.sect-lede { margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); max-width: 680px; }
.center .sect-lede { margin-inline: auto; }
.fine { margin: 14px 0 0; color: var(--faint); font-size: 13.5px; }

/* --- showcase ----------------------------------------------------------- */
.showcase { margin: 0; position: relative; }
.showcase::before {
  content: ""; position: absolute; inset: 12% 10% -6%; z-index: -1;
  background: radial-gradient(closest-side, rgba(70,192,122,.16), transparent 70%);
  filter: blur(30px);
}
.showcase-frame {
  border-radius: 28px; padding: clamp(10px, 1.6vw, 20px);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: var(--rim), 0 60px 120px -40px rgba(0,0,0,.9);
}
.showcase-frame svg { width: 100%; height: auto; border-radius: 18px; }

.features {
  list-style: none; margin: clamp(56px, 7vw, 88px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--rim);
}
.feature { padding: 32px 30px 34px; background: var(--canvas); transition: background-color .3s; }
.feature:hover { background: #0d0d10; }
.feature .ico { width: 26px; height: 26px; color: var(--green-lit); }
.feature h3 { margin: 22px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* --- voice path --------------------------------------------------------- */
.path { margin: 0; }
.path-art { width: 100%; height: auto; overflow: visible; }
.path-art .rail { stroke: var(--line-2); stroke-width: 1; fill: none; }
.path-art .flow {
  fill: none; stroke-width: 2; stroke-dasharray: 2 26; stroke-linecap: round; opacity: .9;
  animation: flow 1.6s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -28; } }
.path-art .wave { fill: none; stroke-width: 1.6; stroke-linejoin: round; }
.path-art .raw { stroke: var(--dim); }
.path-art .clean, .path-art .rebuilt { stroke: var(--green); }
.path-art .rebuilt { filter: drop-shadow(0 0 6px rgba(70,192,122,.5)); }
.path-art .pkt { fill: var(--raise-3); stroke: var(--line-3); }
.path-art .pkt.sealed { fill: var(--green-tint); stroke: var(--green); }
.path-art .relay circle { fill: var(--raise-2); stroke: var(--line-3); }
.path-art .relay .ring { fill: none; stroke: var(--green); stroke-dasharray: 3 7; opacity: .7; transform-origin: 780px 150px; animation: spin 18s linear infinite; }
.path-art .relay .glyph { color: var(--title); }
@keyframes spin { to { rotate: 360deg; } }
.path-art .ticks path { stroke: var(--line-3); }
.stations {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px;
  counter-reset: st;
}
.stations li { counter-increment: st; border-top: 1px solid var(--line-2); padding-top: 14px; }
.stations li::before {
  content: counter(st, decimal-leading-zero); display: block;
  font-family: var(--mono); font-size: 11.5px; color: var(--green-lit); margin-bottom: 8px;
}
.stations b { display: block; font-size: 15.5px; letter-spacing: -.01em; }
.stations span { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }

/* --- split layouts ------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-rev { grid-template-columns: .95fr 1.05fr; }
.split > * { min-width: 0; }
.ticks-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks-list li { position: relative; padding-left: 30px; color: var(--title); font-size: 16px; }
.ticks-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 9px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  rotate: -45deg; translate: 2px -2px;
}
.ticks-list em { font-style: normal; color: var(--ink); font-weight: 650; }

.invite {
  display: flex; align-items: center; gap: 12px; margin-top: 34px;
  padding: 10px 10px 10px 16px; border-radius: 16px; background: var(--sheet); box-shadow: var(--rim);
}
.invite-label { color: var(--faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; flex: none; }
.invite-code {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--title); font-size: 13.5px;
}
.invite-code .fp { color: var(--green-lit); }

.sigil-wrap { margin: 0; display: grid; justify-items: center; gap: 18px; }
.sigil { width: min(100%, 520px); height: auto; overflow: visible; }
.sigil .ring-bg { fill: none; stroke: rgba(255,255,255,.045); }
.sigil .arc { fill: none; stroke-linecap: round; transition: stroke .3s; }
.sigil-wrap figcaption { color: var(--faint); font-size: 12px; letter-spacing: .04em; text-align: center; }

/* --- monitor ------------------------------------------------------------ */
.monitor { margin: 0; }
.monitor-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden;
  background: #050506; box-shadow: var(--rim), 0 50px 100px -40px rgba(0,0,0,.95);
}
.monitor-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.monitor-foot {
  width: 30%; height: 14px; margin: 0 auto; border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, var(--raise-2), var(--sheet));
}
.monitor .live, .monitor .res {
  position: absolute; top: 14px; padding: 5px 10px; border-radius: 999px;
  background: rgba(8,8,10,.7); backdrop-filter: blur(8px); font-size: 11.5px; color: var(--title);
  box-shadow: var(--rim);
}
.monitor .live { left: 14px; display: flex; align-items: center; gap: 7px; }
.monitor .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green-glow); }
.monitor .res { right: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips + .chips { margin-top: 10px; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--raise); color: var(--muted); box-shadow: var(--rim);
  font: 650 14px/1 var(--mono);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip:hover { color: var(--ink); background: var(--raise-2); }
.chip.on { background: var(--ink); color: var(--canvas); box-shadow: none; }

/* --- host --------------------------------------------------------------- */
.host-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 26px 26px 26px 22px; border-radius: 20px; background: var(--sheet); box-shadow: var(--rim);
}
.step-n {
  font-size: 56px; line-height: .8; font-weight: 200; letter-spacing: -.06em; color: var(--green-lit);
}
.step h3 { margin: 2px 0 6px; font-size: 19px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step code { color: var(--title); }

.panel-shot {
  position: relative; margin: 0; max-height: 640px; overflow: hidden; border-radius: 22px;
  box-shadow: var(--rim), 0 50px 100px -40px rgba(0,0,0,.9);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
          mask-image: linear-gradient(180deg, #000 72%, transparent);
}
.panel-shot svg { width: 100%; height: auto; }

.ports {
  display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: stretch; gap: 12px;
  margin-top: clamp(40px, 5vw, 64px);
}
.port {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px;
  padding: 20px 22px; border-radius: 18px; background: var(--sheet); box-shadow: var(--rim);
}
.proto {
  grid-row: span 2; align-self: center;
  padding: 6px 9px; border-radius: 8px; background: var(--raise-2); color: var(--muted); font-size: 11.5px;
}
.pnum { font-size: 26px; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.plabel { color: var(--muted); font-size: 14px; }
.ports-note { align-self: center; margin: 0; max-width: 160px; color: var(--faint); font-size: 13px; }

.minis {
  list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.minis li { border-top: 1px solid var(--line-2); padding-top: 20px; }
.minis h3 { margin: 0 0 8px; font-size: 16.5px; letter-spacing: -.015em; }
.minis p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* --- download ----------------------------------------------------------- */
.download { overflow: hidden; }
.download::before {
  content: ""; position: absolute; left: 50%; top: 30%; width: 1100px; height: 600px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(70,192,122,.09), transparent); pointer-events: none;
}
.dl-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.dl-card {
  position: relative; display: flex; flex-direction: column;
  padding: 34px; border-radius: 26px;
  background: linear-gradient(180deg, var(--card), var(--sheet));
  box-shadow: var(--rim), 0 40px 80px -40px rgba(0,0,0,.9);
  overflow: hidden;
}
.dl-card::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}
.dl-top { display: flex; align-items: center; justify-content: space-between; }
.dl-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--raise-2); box-shadow: var(--rim); color: var(--green-lit); }
.dl-ico svg { width: 26px; height: 26px; }
.dl-tag { color: var(--faint); font-size: 12px; letter-spacing: .04em; }
.dl-card h3 { margin: 26px 0 8px; font-size: 28px; letter-spacing: -.035em; }
.dl-card > p { margin: 0; color: var(--muted); }
.dl-req { list-style: none; margin: 22px 0 28px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.dl-req li { position: relative; padding-left: 20px; color: var(--title); font-size: 14.5px; }
.dl-req li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--dim); }
.dl-card .btn { margin-top: auto; }
.dl-more { display: inline-block; margin-top: 16px; color: var(--muted); font-size: 14px; text-decoration: none; text-align: center; }
.dl-more:hover { color: var(--ink); }
.smartscreen {
  max-width: 760px; margin: 34px auto 0; padding: 18px 22px; border-radius: 16px;
  background: var(--sheet); box-shadow: var(--rim); color: var(--muted); font-size: 14.5px; text-align: left;
}
.smartscreen b { color: var(--title); }
.smartscreen em { font-style: normal; color: var(--title); }

/* --- faq ---------------------------------------------------------------- */
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-of-type { border-bottom: 1px solid var(--line-2); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 48px 24px 0; font-size: 19px; font-weight: 700; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: var(--muted); transition: rotate .3s var(--ease), background-color .2s;
}
.faq summary::before { rotate: 90deg; }
.faq details[open] summary::before { rotate: 0deg; }
.faq summary:hover::after, .faq summary:hover::before { background: var(--ink); }
.faq details p { margin: -6px 0 26px; max-width: 680px; color: var(--muted); }

/* --- closing ------------------------------------------------------------ */
.closing { position: relative; isolation: isolate; padding: clamp(100px, 13vw, 180px) 0 clamp(120px, 15vw, 200px); overflow: hidden; }
.ridges-small { height: 100%; opacity: .55; }
.closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--canvas) 0%, rgba(8,8,10,.4) 45%, var(--canvas) 100%);
}

/* --- footer ------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: var(--ink); }
.foot-copy { margin: 0 0 0 auto; color: var(--faint); font-size: 13px; }

/* ------------------------------------------------------------------ reveal */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ------------------------------------------------------------------ document pages (privacy) */
.doc { padding-top: clamp(120px, 14vw, 168px); }
.doc .sect-head { margin-bottom: clamp(36px, 5vw, 56px); }
.doc .sect-head .h2 { font-size: clamp(34px, 4.2vw, 54px); }
.prose { color: var(--muted); font-size: 17px; }
.prose h2 { margin: 2.4em 0 .5em; color: var(--ink); font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 .4em; color: var(--title); font-size: 18px; font-weight: 700; }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 0 0 .5em; padding-left: .2em; }
.prose li::marker { color: var(--faint); }
.prose strong { color: var(--title); font-weight: 700; }
.prose a { color: var(--green-lit); text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose code { padding: 1px 6px; border-radius: 6px; background: var(--raise-2); color: var(--title); overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .stations { grid-template-columns: repeat(4, 1fr); row-gap: 26px; }
  .minis { grid-template-columns: repeat(2, 1fr); }
  .ports { grid-template-columns: repeat(3, 1fr); }
  .ports-note { grid-column: 1 / -1; max-width: none; }
  .hide-s { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav nav { margin-left: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split, .split-rev, .host-grid { grid-template-columns: 1fr; }
  .split-rev .monitor { order: 2; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 26px; border-top: 1px solid var(--line); }
  .dl-grid { grid-template-columns: 1fr; }
  .panel-shot { max-height: 520px; }
}
@media (max-width: 640px) {
  /* On a phone the fixed bar takes a tenth of the screen for the whole page;
     here it stays at the top of the page and scrolls away with it. */
  html { scroll-padding-top: 16px; }
  .nav { position: absolute; }
  body { font-size: 16px; }
  .hero { padding-top: 112px; }
  .stage { height: 320px; }
  .strip { height: 50px; gap: 2px; padding: 0 8px 0 4px; }
  .sbtn { width: 34px; height: 34px; }
  .host, .grip, .sep, .clock, .hide-xs { display: none; }
  .pill { padding: 0 12px 0 10px; height: 36px; font-size: 13px; }
  .features { grid-template-columns: 1fr; }
  .stations { grid-template-columns: repeat(2, 1fr); }
  .ports { grid-template-columns: 1fr; }
  .minis { grid-template-columns: 1fr; gap: 20px; }
  .step { grid-template-columns: 40px 1fr; padding: 22px 20px 22px 18px; gap: 14px; }
  .step-n { font-size: 44px; }
  .dl-card { padding: 26px 22px; }
  .invite { flex-wrap: wrap; }
  .invite-code { flex-basis: 100%; order: 3; }
  .invite .btn { margin-left: auto; }
  .foot-copy { margin-left: 0; }
  .faq summary { font-size: 17px; }
}
@media (max-width: 380px) {
  .ping { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; translate: none; }
  .js .statement .w { color: var(--dim); }
  .js .statement .w.key { color: var(--ink); }
}
