/* ============================================================
   VEEGUARD LITE — lite.veeguardvpn.com
   "Zero Trace" design system
   stealth nocturne · instrument-grade · phosphor on moss-black
   fonts: Clash Display (display) · Satoshi (body) · JetBrains Mono (data)
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --ink-0: #060805;
  --ink-1: #0a0d08;
  --ink-2: #0e120b;
  --ink-3: #131810;
  --ink-glass: rgba(10, 13, 8, 0.82);

  --line: rgba(222, 240, 205, 0.09);
  --line-2: rgba(222, 240, 205, 0.17);

  --bone: #eaf0e2;
  --bone-2: #adb8a4;
  --moss: #75816c;

  --phos: #c8f549;
  --phos-dim: rgba(200, 245, 73, 0.16);
  --phos-glow: rgba(200, 245, 73, 0.38);
  --amber: #f0b454;
  --red: #f56b5c;

  --font-d: "Clash Display", "Avenir Next", "Futura", sans-serif;
  --font-b: "Satoshi", "Avenir", "Helvetica Neue", sans-serif;
  --font-m: "JetBrains Mono", "SFMono-Regular", "Menlo", monospace;

  --nav-h: 76px;
  --radius: 10px;
  --container: 1200px;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-snap: cubic-bezier(0.83, 0, 0.17, 1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink-1);
  color: var(--bone);
  font-family: var(--font-b);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
strong { font-weight: 700; }

::selection { background: var(--phos); color: var(--ink-0); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ink-0); }
::-webkit-scrollbar-thumb {
  background: #222a1c;
  border: 3px solid var(--ink-0);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: var(--moss); }

:focus-visible {
  outline: 2px solid var(--phos);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--phos);
  color: var(--ink-0);
  font-family: var(--font-m);
  font-size: 0.8rem;
  border-radius: 6px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- type helpers ---------- */
.mono {
  font-family: var(--font-m);
  letter-spacing: 0.08em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-m);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--phos);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--phos);
  opacity: 0.6;
}

/* ---------- layout ---------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.sec { padding: clamp(86px, 11vw, 150px) 0; position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }

.sec-head { max-width: 740px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head .eyebrow { margin-bottom: 22px; }

.sec-title {
  font-family: var(--font-d);
  font-size: clamp(2.1rem, 4.6vw, 3.55rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.sec-title em {
  font-style: normal;
  color: var(--phos);
}

.sec-lede {
  margin-top: 20px;
  font-size: 1.08rem;
  color: var(--bone-2);
  max-width: 60ch;
}

/* ---------- reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.4s; }

/* ---------- buttons ---------- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-family: var(--font-m);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.btn-ghost:hover {
  border-color: var(--phos);
  background: var(--phos-dim);
  transform: translateY(-2px);
}
.btn-ghost .arr { transition: transform 0.25s var(--ease-out); }
.btn-ghost:hover .arr { transform: translateX(4px); }

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--phos);
  color: var(--ink-0);
  border-radius: 8px;
  font-family: var(--font-m);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--phos-glow);
  background: #d6ff5c;
}

/* App Store badge */
.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 12px 26px 12px 20px;
  background: var(--bone);
  color: var(--ink-0);
  border-radius: 12px;
  border: 1px solid var(--bone);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
  white-space: nowrap;
}
.badge-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(234, 240, 226, 0.18), 0 0 0 1px var(--phos);
  background: #fff;
}
.badge-apple { width: 26px; height: 26px; fill: currentColor; flex: none; }
.badge-text { display: flex; flex-direction: column; line-height: 1.16; text-align: left; }
.badge-text small {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}
.badge-text strong {
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
}

.badge-btn--dark {
  background: var(--ink-2);
  color: var(--bone);
  border-color: var(--line-2);
}
.badge-btn--dark:hover {
  background: var(--ink-3);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--phos);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.nav.is-scrolled {
  background: var(--ink-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name {
  font-family: var(--font-d);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand-name .lite {
  font-family: var(--font-m);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--phos);
  border: 1px solid rgba(200, 245, 73, 0.4);
  border-radius: 4px;
  padding: 3px 7px 2px;
  transform: translateY(1px);
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 9px 14px;
  font-family: var(--font-m);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bone-2);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--bone); background: rgba(222, 240, 205, 0.05); }
.nav-link.is-active { color: var(--phos); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--bone);
  transition: transform 0.3s var(--ease-snap), opacity 0.2s;
}
.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 990;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 48px;
  background: rgba(6, 8, 5, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.menu-open .mnav { opacity: 1; visibility: visible; }
.mnav-link {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-d);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), color 0.2s;
}
.mnav-link:hover { color: var(--phos); }
.menu-open .mnav-link { opacity: 1; transform: none; }
.menu-open .mnav-link:nth-child(1) { transition-delay: 0.06s; }
.menu-open .mnav-link:nth-child(2) { transition-delay: 0.11s; }
.menu-open .mnav-link:nth-child(3) { transition-delay: 0.16s; }
.menu-open .mnav-link:nth-child(4) { transition-delay: 0.21s; }
.menu-open .mnav-link:nth-child(5) { transition-delay: 0.26s; }
.menu-open .mnav-link:nth-child(6) { transition-delay: 0.31s; }
.mnav-foot {
  margin-top: 40px;
  font-family: var(--font-m);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
}
body.menu-open { overflow: hidden; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 72px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  /* engineering grid, faded radially */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(222, 240, 205, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(222, 240, 205, 0.045) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: radial-gradient(ellipse 95% 80% at 60% 20%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 95% 80% at 60% 20%, #000 25%, transparent 75%);
}
.hero-bg::after {
  /* phosphor atmosphere */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 520px at 78% 30%, rgba(200, 245, 73, 0.075), transparent 70%),
    radial-gradient(900px 700px at 12% 88%, rgba(200, 245, 73, 0.04), transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--font-m);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-2);
  margin-bottom: 30px;
}
.hero-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--phos);
  box-shadow: 0 0 12px var(--phos);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(2.9rem, 6.5vw, 5.4rem);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-title .hl {
  color: var(--phos);
  text-shadow: 0 0 44px var(--phos-glow);
}

.hero-lede {
  margin-top: 28px;
  max-width: 54ch;
  font-size: 1.13rem;
  color: var(--bone-2);
}
.hero-lede strong { color: var(--bone); font-weight: 500; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 32px;
  font-family: var(--font-m);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .tick { color: var(--phos); font-weight: 700; }

/* --- the Zero Aperture --- */
.hero-visual {
  display: grid;
  justify-items: center;
  gap: 30px;
  perspective: 1100px;
}

.aperture {
  position: relative;
  width: min(480px, 76vw);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  will-change: transform;
}

/* polar grid */
.ap-grid {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 47px, rgba(222, 240, 205, 0.05) 47px 48px),
    linear-gradient(rgba(222, 240, 205, 0.05), rgba(222, 240, 205, 0.05)) 50% 50% / 1px 100% no-repeat,
    linear-gradient(rgba(222, 240, 205, 0.05), rgba(222, 240, 205, 0.05)) 50% 50% / 100% 1px no-repeat;
}

/* breathing halo */
.ap-halo {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 245, 73, 0.13) 30%, transparent 62%);
  filter: blur(28px);
  animation: halo-breathe 7s ease-in-out infinite;
}
@keyframes halo-breathe {
  0%, 100% { opacity: 0.65; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* bezel tick marks */
.ap-ticks {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(234, 240, 226, 0.6) 0deg 0.4deg, transparent 0.4deg 6deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 11px), #000 calc(100% - 10px));
  mask: radial-gradient(closest-side, transparent calc(100% - 11px), #000 calc(100% - 10px));
  opacity: 0.28;
}

/* main ring */
.ap-ring {
  position: absolute;
  inset: 7.5%;
  border-radius: 50%;
  border: 1.5px solid rgba(234, 240, 226, 0.22);
  box-shadow:
    0 0 60px rgba(200, 245, 73, 0.12),
    inset 0 0 60px rgba(200, 245, 73, 0.07);
}

/* inner dashed ring, counter-rotating */
.ap-ring--dash {
  inset: 17%;
  border: 1px dashed rgba(222, 240, 205, 0.16);
  box-shadow: none;
  animation: ap-spin-rev 90s linear infinite;
}

/* phosphor comet sweeps */
.ap-sweep,
.ap-sweep--soft {
  position: absolute;
  inset: 7.5%;
  border-radius: 50%;
  animation: ap-spin 8.5s linear infinite;
}
.ap-sweep {
  background: conic-gradient(from 0deg,
    transparent 0deg 295deg,
    rgba(200, 245, 73, 0) 295deg,
    rgba(200, 245, 73, 0.9) 352deg,
    #f4ffd0 359deg,
    transparent 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 2.5px));
  mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 2.5px));
  filter: drop-shadow(0 0 10px rgba(200, 245, 73, 0.65));
}
.ap-sweep--soft {
  background: conic-gradient(from 0deg,
    transparent 0deg 318deg,
    rgba(200, 245, 73, 0.32) 354deg,
    transparent 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 26px), #000 calc(100% - 24px), #000);
  mask: radial-gradient(closest-side, transparent calc(100% - 26px), #000 calc(100% - 24px), #000);
  filter: blur(7px);
}
@keyframes ap-spin { to { transform: rotate(360deg); } }
@keyframes ap-spin-rev { to { transform: rotate(-360deg); } }

/* void core */
.ap-core {
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #0c0f0a, var(--ink-0) 72%);
  border: 1px solid var(--line-2);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(0, 0, 0, 0.6);
}
.ap-zero {
  font-family: var(--font-d);
  font-size: clamp(4.4rem, 11vw, 7rem);
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--phos);
  text-shadow: 0 0 56px var(--phos-glow);
  animation: zero-flicker 9s linear infinite;
}
@keyframes zero-flicker {
  0%, 96.5%, 100% { opacity: 1; }
  97% { opacity: 0.55; }
  97.6% { opacity: 1; }
  98.2% { opacity: 0.7; }
  98.8% { opacity: 1; }
}
.ap-zero-label {
  font-family: var(--font-m);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--moss);
}

/* orbiting protocol satellites */
.ap-sat {
  position: absolute;
  inset: -20px;
  animation: ap-spin 58s linear infinite;
  pointer-events: none;
}
.ap-sat + .ap-sat { animation-delay: -19.33s; }
.ap-sat + .ap-sat + .ap-sat { animation-delay: -38.66s; }
.ap-sat .chip {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  background: rgba(10, 13, 8, 0.88);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--font-m);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-2);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: ap-spin-rev 58s linear infinite;
}
.ap-sat + .ap-sat .chip { animation-delay: -19.33s; }
.ap-sat + .ap-sat + .ap-sat .chip { animation-delay: -38.66s; }
.ap-sat .chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--phos);
  box-shadow: 0 0 8px var(--phos);
}

/* status readout under the aperture */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 13, 8, 0.6);
  font-family: var(--font-m);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-2);
  white-space: nowrap;
}
.hero-status .ok { color: var(--phos); }
.hero-status .sep { color: var(--moss); opacity: 0.55; }
.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--phos);
  animation: blink 1.1s steps(1) infinite;
  transform: translateY(2px);
}
@keyframes blink { 50% { opacity: 0; } }

/* scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-m);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--moss);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--phos), transparent);
  animation: drip 2.2s var(--ease-out) infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-0);
  overflow: hidden;
  padding: 17px 0;
  position: relative;
}
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--ink-0), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--ink-0), transparent); }

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-roll 36s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--font-m);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-2);
  white-space: nowrap;
}
.ticker-item b { color: var(--phos); font-weight: 700; }
.ticker-item .x { color: var(--moss); font-size: 0.62rem; }
@keyframes ticker-roll { to { transform: translateX(-50%); } }

/* ============================================================
   01 — PHILOSOPHY
   ============================================================ */
.phil-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  padding: 34px 28px 30px;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2) 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, background 0.35s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 245, 73, 0.32);
}

/* viewfinder corner ticks on hover */
.tickbox::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  background:
    linear-gradient(var(--phos), var(--phos)) left 0 top 0 / 16px 1.5px,
    linear-gradient(var(--phos), var(--phos)) left 0 top 0 / 1.5px 16px,
    linear-gradient(var(--phos), var(--phos)) right 0 top 0 / 16px 1.5px,
    linear-gradient(var(--phos), var(--phos)) right 0 top 0 / 1.5px 16px,
    linear-gradient(var(--phos), var(--phos)) left 0 bottom 0 / 16px 1.5px,
    linear-gradient(var(--phos), var(--phos)) left 0 bottom 0 / 1.5px 16px,
    linear-gradient(var(--phos), var(--phos)) right 0 bottom 0 / 16px 1.5px,
    linear-gradient(var(--phos), var(--phos)) right 0 bottom 0 / 1.5px 16px;
  background-repeat: no-repeat;
}
.tickbox:hover::after, .tickbox.ticks-on::after { opacity: 0.85; }

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  margin-bottom: 24px;
  color: var(--phos);
  background: rgba(200, 245, 73, 0.06);
}
.card-icon svg { width: 22px; height: 22px; }

.card-title {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.card-text { font-size: 0.94rem; color: var(--bone-2); }
.card-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-m);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}
.card-foot b { color: var(--phos); font-weight: 500; }

/* ============================================================
   02 — LEDGER (counts down to zero)
   ============================================================ */
.ledger-band {
  background: var(--ink-0);
  border-block: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.ledger-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(720px 320px at 50% 0%, rgba(200, 245, 73, 0.05), transparent 70%);
  pointer-events: none;
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ledger-item {
  padding: clamp(30px, 4vw, 52px) clamp(20px, 3vw, 44px);
  text-align: center;
}
.ledger-item + .ledger-item { border-left: 1px solid var(--line); }

.ledger-num {
  font-family: var(--font-d);
  font-size: clamp(3.6rem, 8.5vw, 6.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--bone);
  transition: color 0.6s, text-shadow 0.6s;
}
.ledger-num.zeroed {
  color: var(--phos);
  text-shadow: 0 0 56px var(--phos-glow);
}
.ledger-label {
  margin-top: 16px;
  font-family: var(--font-m);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-2);
}
.ledger-note {
  margin-top: 7px;
  font-family: var(--font-m);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  color: var(--moss);
}
.ledger-cap {
  border-top: 1px solid var(--line);
  padding: 18px 24px;
  text-align: center;
  font-family: var(--font-m);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
}
.ledger-cap b { color: var(--phos); font-weight: 500; }

/* ============================================================
   03 — NULL FILE (terminal)
   ============================================================ */
.null-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.checks { display: grid; gap: 16px; margin-top: 30px; }
.checks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--bone-2);
}
.checks .tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(200, 245, 73, 0.45);
  color: var(--phos);
  display: grid;
  place-items: center;
  font-family: var(--font-m);
  font-size: 0.7rem;
  margin-top: 2px;
}
.checks b { color: var(--bone); font-weight: 500; }

.term {
  position: relative;
  background: #070a06;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.term::before {
  /* scanlines */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(222, 240, 205, 0.025) 0 1px, transparent 1px 3px);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(222, 240, 205, 0.025);
}
.term-dot { width: 9px; height: 9px; border-radius: 2px; background: #2a3322; }
.term-dot:first-child { background: rgba(200, 245, 73, 0.5); }
.term-title {
  margin-left: 10px;
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--moss);
}
.term-body {
  padding: 26px 26px 30px;
  font-family: var(--font-m);
  font-size: clamp(0.72rem, 1.5vw, 0.82rem);
  line-height: 2.1;
}
.t-cmd { color: var(--bone); white-space: nowrap; overflow: hidden; }
.t-cmd .t-caret {
  display: inline-block;
  width: 7px;
  height: 12px;
  background: var(--phos);
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}
.t-cmd .prompt { color: var(--phos); }

.t-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.t-row.on { opacity: 1; transform: none; }
.t-key { color: var(--bone-2); letter-spacing: 0.08em; }
.t-fill { flex: 1; border-bottom: 1px dotted rgba(117, 129, 108, 0.4); transform: translateY(-5px); }
.t-val { color: var(--phos); letter-spacing: 0.08em; text-shadow: 0 0 18px rgba(200, 245, 73, 0.35); }
.t-val.dim { color: var(--moss); text-shadow: none; }

.t-end {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--moss);
  opacity: 0;
  transition: opacity 0.5s;
}
.t-end.on { opacity: 1; }
.t-end b { color: var(--bone); font-weight: 500; }

.term-stamp {
  position: absolute;
  right: 26px;
  bottom: 64px;
  padding: 12px 18px;
  border: 2.5px solid var(--amber);
  border-radius: 6px;
  color: var(--amber);
  font-family: var(--font-m);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
  transform: rotate(-7deg) scale(1.6);
  opacity: 0;
  mix-blend-mode: screen;
  box-shadow: inset 0 0 0 1px rgba(240, 180, 84, 0.3);
}
.term-stamp.on {
  animation: stamp-in 0.45s var(--ease-snap) forwards;
}
@keyframes stamp-in {
  0% { opacity: 0; transform: rotate(-7deg) scale(1.7); }
  62% { opacity: 1; transform: rotate(-7deg) scale(0.94); }
  100% { opacity: 0.92; transform: rotate(-7deg) scale(1); }
}

/* ============================================================
   04 — MEMORY / RAM
   ============================================================ */
.mem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.mem-step {
  position: relative;
  padding: 36px 30px 32px;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2) 75%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.mem-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--phos), transparent 65%);
  opacity: 0.5;
}
.mem-idx {
  font-family: var(--font-m);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--phos);
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mem-idx::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.mem-step h3 {
  font-family: var(--font-d);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.mem-step p { font-size: 0.94rem; color: var(--bone-2); }
.mem-step p b { color: var(--bone); font-weight: 500; }

/* RAM purge bar */
.wipe {
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--ink-0);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.wipe-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-m);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 10px;
}
.wipe-head .pct { color: var(--phos); }
.wipe-bar {
  height: 6px;
  border-radius: 4px;
  background: rgba(222, 240, 205, 0.07);
  overflow: hidden;
}
.wipe-fill {
  height: 100%;
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(200, 245, 73, 0.5), var(--phos));
  box-shadow: 0 0 14px var(--phos-glow);
  transform-origin: left;
  animation: ram-wipe 5.2s var(--ease-snap) infinite;
}
@keyframes ram-wipe {
  0% { transform: scaleX(0); transform-origin: left; opacity: 1; }
  42% { transform: scaleX(1); transform-origin: left; opacity: 1; }
  55% { transform: scaleX(1); transform-origin: right; opacity: 1; }
  78% { transform: scaleX(0); transform-origin: right; opacity: 1; }
  100% { transform: scaleX(0); opacity: 1; }
}
.mem-note {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-m);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}
.mem-note .sq { color: var(--phos); }

/* ============================================================
   05 — PROTOCOL
   ============================================================ */
.proto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.spec { border-top: 1px solid var(--line-2); }
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  padding: 19px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding-left 0.25s;
}
.spec-row:hover { background: rgba(200, 245, 73, 0.035); padding-left: 14px; }
.spec-k {
  font-family: var(--font-m);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
  padding-top: 4px;
}
.spec-v { font-size: 1rem; color: var(--bone); font-weight: 500; }
.spec-v small {
  display: block;
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--bone-2);
  margin-top: 3px;
}
.spec-v .vchip {
  display: inline-block;
  font-family: var(--font-m);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--phos);
  border: 1px solid rgba(200, 245, 73, 0.35);
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 10px;
  transform: translateY(-2px);
}

.proto-foot {
  margin-top: 26px;
  font-size: 0.78rem;
  color: var(--moss);
}

/* cipher demo */
.cipher {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: #070a06;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 30px 30px 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.cipher::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(222, 240, 205, 0.022) 0 1px, transparent 1px 3px);
}
.ciph-label {
  font-family: var(--font-m);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 10px;
}
.ciph-text {
  font-family: var(--font-m);
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  line-height: 1.9;
  color: var(--bone);
  min-height: 3.6em;
  word-break: break-all;
}
.ciph-text.scrambled {
  color: var(--phos);
  text-shadow: 0 0 18px rgba(200, 245, 73, 0.3);
}
.ciph-arrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  font-family: var(--font-m);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--phos);
}
.ciph-arrow::before,
.ciph-arrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 245, 73, 0.4));
}
.ciph-arrow::after { background: linear-gradient(-90deg, transparent, rgba(200, 245, 73, 0.4)); }
.ciph-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-m);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ciph-foot .k { color: var(--amber); }

/* ============================================================
   06 — SPEED STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-2);
}
.stat {
  padding: clamp(30px, 4vw, 48px) clamp(20px, 3vw, 40px);
  position: relative;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-d);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num sub {
  font-size: 0.32em;
  font-family: var(--font-m);
  letter-spacing: 0.1em;
  color: var(--phos);
  vertical-align: baseline;
}
.stat-label {
  margin-top: 14px;
  font-family: var(--font-m);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
  line-height: 1.8;
}
.speed-blurb {
  margin-top: 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  max-width: 760px;
}
.speed-blurb svg { width: 22px; height: 22px; color: var(--phos); margin-top: 4px; }
.speed-blurb p { color: var(--bone-2); font-size: 0.98rem; }
.speed-blurb b { color: var(--bone); font-weight: 500; }

/* ============================================================
   07 — HOSTILE WI-FI
   ============================================================ */
.wifi-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.wcard {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.wcard::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 245, 73, 0.07), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.wcard:hover { transform: translateY(-5px); border-color: rgba(200, 245, 73, 0.3); }
.wcard:hover::after { opacity: 1; }
.wcard-icon { color: var(--phos); margin-bottom: 20px; }
.wcard-icon svg { width: 26px; height: 26px; }
.wcard h3 {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.wcard p { font-size: 0.88rem; color: var(--bone-2); }

/* ============================================================
   08 — NETWORK
   ============================================================ */
.net-rows { border-top: 1px solid var(--line-2); }
.net-row {
  display: grid;
  grid-template-columns: 22px minmax(140px, 0.8fr) minmax(0, 1.4fr) 1fr auto;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding-left 0.25s;
}
.net-row:hover { background: rgba(200, 245, 73, 0.03); padding-left: 16px; }

.net-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--phos);
  box-shadow: 0 0 0 0 rgba(200, 245, 73, 0.45);
  animation: net-pulse 2.6s ease-out infinite;
}
.net-row:nth-child(2) .net-dot { animation-delay: 0.5s; }
.net-row:nth-child(3) .net-dot { animation-delay: 1s; }
.net-row:nth-child(4) .net-dot { animation-delay: 1.5s; }
@keyframes net-pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 245, 73, 0.45); }
  70%, 100% { box-shadow: 0 0 0 11px rgba(200, 245, 73, 0); }
}

.net-name {
  font-family: var(--font-d);
  font-size: 1.18rem;
  font-weight: 600;
}
.net-meta {
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}
.net-bar {
  height: 4px;
  border-radius: 3px;
  background: rgba(222, 240, 205, 0.07);
  overflow: hidden;
}
.net-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(200, 245, 73, 0.35), var(--phos));
  animation: net-load 6s ease-in-out infinite alternate;
}
.net-row:nth-child(1) .net-fill { width: 42%; }
.net-row:nth-child(2) .net-fill { width: 58%; animation-delay: -2s; }
.net-row:nth-child(3) .net-fill { width: 35%; animation-delay: -4s; }
.net-row:nth-child(4) .net-fill { width: 49%; animation-delay: -1s; }
@keyframes net-load {
  from { transform: scaleX(0.82); transform-origin: left; }
  to { transform: scaleX(1.12); transform-origin: left; }
}
.net-status {
  font-family: var(--font-m);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--phos);
}
.net-note {
  margin-top: 26px;
  font-family: var(--font-m);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--moss);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.net-note .sq { color: var(--amber); }

/* ============================================================
   09 — COMPARE
   ============================================================ */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp {
  width: 100%;
  min-width: 660px;
  border-collapse: separate;
  border-spacing: 0;
}
.cmp th, .cmp td {
  padding: 19px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: top;
}
.cmp thead th {
  font-family: var(--font-m);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 16px;
}
.cmp tbody th {
  font-weight: 500;
  color: var(--bone-2);
  width: 26%;
}
.cmp .col-us {
  background: rgba(200, 245, 73, 0.045);
  border-left: 1px solid rgba(200, 245, 73, 0.25);
  border-right: 1px solid rgba(200, 245, 73, 0.25);
  color: var(--bone);
}
.cmp thead .col-us {
  color: var(--phos);
  border-top: 1px solid rgba(200, 245, 73, 0.25);
  border-radius: 10px 10px 0 0;
}
.cmp tbody tr:last-child .col-us { border-bottom: 1px solid rgba(200, 245, 73, 0.25); border-radius: 0 0 10px 10px; }
.cmp .col-them { color: var(--bone-2); }
.cmp .yes {
  font-family: var(--font-m);
  color: var(--phos);
  font-weight: 700;
  margin-right: 9px;
}
.cmp .no {
  font-family: var(--font-m);
  color: var(--red);
  font-weight: 700;
  margin-right: 9px;
  opacity: 0.85;
}
.cmp-note { margin-top: 18px; font-size: 0.78rem; color: var(--moss); }

/* ============================================================
   10 — FAQ
   ============================================================ */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.faq-aside { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq-aside .sec-head { margin-bottom: 28px; }

.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-d);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.2s, padding-left 0.25s;
}
.faq-q:hover { color: var(--phos); padding-left: 10px; }
.faq-q[aria-expanded="true"] { color: var(--phos); }

.faq-plus {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-snap), border-color 0.3s, background 0.3s;
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-plus {
  transform: rotate(135deg);
  border-color: var(--phos);
  background: var(--phos-dim);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-snap);
}
.faq-a-inner {
  padding: 2px 44px 28px 4px;
  color: var(--bone-2);
  font-size: 0.98rem;
  max-width: 64ch;
}
.faq-a-inner b { color: var(--bone); font-weight: 500; }
.faq-a-inner a { color: var(--phos); border-bottom: 1px solid rgba(200, 245, 73, 0.35); }
.faq-a-inner a:hover { border-bottom-color: var(--phos); }

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.cta-band {
  position: relative;
  padding: clamp(110px, 14vw, 190px) 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--ink-0);
}
.cta-rings { position: absolute; inset: 0; pointer-events: none; }
.cta-rings i {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border: 1px solid rgba(200, 245, 73, 0.13);
  border-radius: 50%;
  animation: cta-expand 7s var(--ease-out) infinite;
}
.cta-rings i:nth-child(1) { width: 420px; height: 420px; }
.cta-rings i:nth-child(2) { width: 420px; height: 420px; animation-delay: 2.33s; }
.cta-rings i:nth-child(3) { width: 420px; height: 420px; animation-delay: 4.66s; }
@keyframes cta-expand {
  0% { transform: scale(0.45); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 380px at 50% 50%, rgba(200, 245, 73, 0.07), transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 2; display: grid; justify-items: center; }
.cta-title {
  font-family: var(--font-d);
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.cta-title em { font-style: normal; color: var(--phos); text-shadow: 0 0 44px var(--phos-glow); }
.cta-sub {
  margin: 24px 0 38px;
  color: var(--bone-2);
  font-size: 1.05rem;
  max-width: 48ch;
}
.cta-fine {
  margin-top: 26px;
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--ink-0);
  padding: 72px 0 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 60px;
}
.foot-brand p {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--bone-2);
  max-width: 34ch;
}
.foot-zero {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px dashed rgba(200, 245, 73, 0.3);
  border-radius: 8px;
  font-family: var(--font-m);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--phos);
}
.foot-col h4 {
  font-family: var(--font-m);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 22px;
}
.foot-col ul { display: grid; gap: 13px; }
.foot-col a {
  font-size: 0.94rem;
  color: var(--bone-2);
  transition: color 0.2s, padding-left 0.25s;
}
.foot-col a:hover { color: var(--phos); padding-left: 5px; }
.foot-col p { font-size: 0.88rem; color: var(--bone-2); }

.foot-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.foot-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 30px;
  font-family: var(--font-m);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--moss);
}
.foot-bottom-inner a { color: var(--bone-2); }
.foot-bottom-inner a:hover { color: var(--phos); }

/* ============================================================
   LEGAL PAGES (privacy / terms)
   ============================================================ */
.doc-hero {
  padding: calc(var(--nav-h) + clamp(56px, 9vw, 110px)) 0 clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.doc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 360px at 80% 0%, rgba(200, 245, 73, 0.06), transparent 70%);
  pointer-events: none;
}
.doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-m);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--phos);
  border: 1px solid rgba(200, 245, 73, 0.35);
  border-radius: 100px;
  padding: 8px 16px;
  margin-bottom: 28px;
}
.doc-title {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 26px;
  font-family: var(--font-m);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}
.doc-meta b { color: var(--bone-2); font-weight: 500; }

.doc-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  padding: clamp(48px, 7vw, 90px) 0 clamp(80px, 10vw, 130px);
}

.doc-toc {
  position: sticky;
  top: calc(var(--nav-h) + 30px);
  align-self: start;
}
.doc-toc h4 {
  font-family: var(--font-m);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 18px;
}
.doc-toc ol { border-left: 1px solid var(--line); display: grid; }
.doc-toc a {
  display: flex;
  gap: 12px;
  padding: 9px 0 9px 18px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 0.84rem;
  color: var(--bone-2);
  line-height: 1.45;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.doc-toc a .n {
  font-family: var(--font-m);
  font-size: 0.66rem;
  color: var(--moss);
  padding-top: 3px;
  flex: none;
  width: 20px;
}
.doc-toc a:hover { color: var(--bone); }
.doc-toc a.is-active {
  color: var(--phos);
  border-left-color: var(--phos);
  background: linear-gradient(90deg, rgba(200, 245, 73, 0.06), transparent);
}
.doc-toc a.is-active .n { color: var(--phos); }
.toc-back {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-m);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  transition: color 0.2s;
}
.toc-back:hover { color: var(--phos); }

.doc { max-width: 730px; }

.doc-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 26px 28px;
  background: linear-gradient(160deg, rgba(200, 245, 73, 0.07), rgba(200, 245, 73, 0.02));
  border: 1px solid rgba(200, 245, 73, 0.25);
  border-radius: 14px;
  margin-bottom: clamp(44px, 6vw, 64px);
}
.doc-summary svg { width: 24px; height: 24px; color: var(--phos); margin-top: 3px; }
.doc-summary-tag {
  font-family: var(--font-m);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--phos);
  margin-bottom: 8px;
}
.doc-summary p { font-size: 0.97rem; color: var(--bone); }
.doc-summary small { display: block; margin-top: 10px; font-size: 0.76rem; color: var(--moss); }

.doc-intro { font-size: 1.12rem; color: var(--bone-2); margin-bottom: clamp(40px, 5vw, 56px); }
.doc-intro strong { color: var(--bone); font-weight: 500; }

.doc-notice {
  padding: 24px 28px;
  border: 1px solid rgba(240, 180, 84, 0.4);
  border-left-width: 3px;
  border-radius: 10px;
  background: rgba(240, 180, 84, 0.05);
  margin-bottom: clamp(40px, 5vw, 56px);
}
.doc-notice .tag {
  font-family: var(--font-m);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 10px;
}
.doc-notice p { color: var(--bone-2); font-size: 0.98rem; }
.doc-notice b { color: var(--bone); font-weight: 500; }

.doc section { padding-top: 14px; margin-bottom: clamp(44px, 6vw, 62px); }
.doc h2 {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-d);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 22px;
}
.doc h2 .n {
  font-family: var(--font-m);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--phos);
  flex: none;
  border: 1px solid rgba(200, 245, 73, 0.35);
  border-radius: 6px;
  padding: 5px 9px;
  transform: translateY(-4px);
}
.doc p { color: var(--bone-2); margin-bottom: 18px; }
.doc p b, .doc li b { color: var(--bone); font-weight: 500; }
.doc ul { display: grid; gap: 14px; margin: 22px 0; }
.doc ul li {
  position: relative;
  padding-left: 30px;
  color: var(--bone-2);
}
.doc ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--phos);
  font-family: var(--font-m);
}

.doc .callout {
  margin: 26px 0;
  padding: 22px 26px;
  border-left: 2px solid var(--phos);
  border-radius: 0 10px 10px 0;
  background: rgba(200, 245, 73, 0.05);
  font-family: var(--font-d);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--bone);
}

.doc-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--ink-2);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.doc-next:hover { border-color: var(--phos); transform: translateY(-3px); }
.doc-next-label {
  font-family: var(--font-m);
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--moss);
  display: block;
  margin-bottom: 7px;
}
.doc-next-title { font-family: var(--font-d); font-size: 1.3rem; font-weight: 600; }
.doc-next .arr { font-size: 1.4rem; color: var(--phos); }

/* ============================================================
   404
   ============================================================ */
.nf {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}
.nf-code {
  font-family: var(--font-d);
  font-size: clamp(6rem, 22vw, 15rem);
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(200, 245, 73, 0.65);
  text-shadow: 0 0 80px rgba(200, 245, 73, 0.25);
}
.nf-title { font-family: var(--font-d); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 600; margin-top: 22px; }
.nf-text { color: var(--bone-2); margin: 14px 0 34px; max-width: 44ch; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero { min-height: 0; }
  .hero-visual { order: 2; }
  .hero-scroll { display: none; }
  .phil-grid { grid-template-columns: repeat(2, 1fr); }
  .wifi-cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat:nth-child(2) { border-left: 1px solid var(--line); }
  .stat:nth-child(4) { border-left: 1px solid var(--line); }
  .null-grid, .proto-grid { grid-template-columns: 1fr; }
  .cipher { position: static; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; order: -1; }
  .doc-toc ol { grid-template-columns: repeat(2, 1fr); border-left: 0; gap: 2px 24px; }
  .doc-toc a { border-left: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right .badge-btn { display: none; }
  .burger { display: flex; }
  .ledger-grid { grid-template-columns: 1fr; }
  .ledger-item + .ledger-item { border-left: 0; border-top: 1px solid var(--line); }
  .mem-grid { grid-template-columns: 1fr; }
  .net-row { grid-template-columns: 16px 1fr auto; }
  .net-meta, .net-bar { display: none; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .container { width: calc(100% - 40px); }
  .phil-grid, .wifi-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .badge-btn, .hero-ctas .btn-ghost { justify-content: center; }
  .hero-status { white-space: normal; text-align: center; line-height: 2; }
  .term-stamp { right: 14px; bottom: 50px; font-size: 0.7rem; }
  .doc-toc ol { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .t-row, .t-end { opacity: 1; transform: none; }
  .term-stamp { opacity: 0.92; transform: rotate(-7deg); }
}

/* ============================================================
   PRINT (legal docs)
   ============================================================ */
@media print {
  body { background: #fff; color: #111; font-size: 12pt; }
  body::after, .nav, .mnav, .doc-toc, .footer, .doc-next, .skip-link { display: none !important; }
  .doc-hero { padding: 0 0 24px; border-bottom: 2px solid #111; }
  .doc-hero::after { display: none; }
  .doc-title, .doc h2, .doc-summary p, .doc .callout, .doc-notice p { color: #111; }
  .doc p, .doc li, .doc-intro, .doc-meta { color: #333; }
  .doc-layout { display: block; padding: 24px 0; }
  .doc { max-width: none; }
  .doc h2 .n { border-color: #111; color: #111; }
  .doc ul li::before { color: #111; }
  .doc .callout { border-left-color: #111; background: #f4f4f4; }
  .doc-summary, .doc-notice { background: #f4f4f4; border-color: #999; }
  .doc-summary svg { display: none; }
  .doc-chip { color: #111; border-color: #111; }
}
