/* =====================================================================
   ShadowVeil — "Veil / Stealth-Noir" design system
   Inky graphite · spectral violet→magenta veil light · Cabinet Grotesk + Switzer
   Tactical geometry: hairline borders, sharp corners, monospace HUD accents.
   ===================================================================== */

:root {
  /* canvas */
  --void:    #07060c;
  --void-2:  #0a0812;
  --void-3:  #0e0b18;
  --ink:     #f3eefc;
  --ink-soft:#cbc0e2;
  --mut:     #8c81a8;
  --mut-2:   #5f5680;
  --line:    rgba(176, 148, 230, 0.12);
  --line-2:  rgba(176, 148, 230, 0.24);

  --panel:   rgba(255, 255, 255, 0.024);
  --panel-2: rgba(255, 255, 255, 0.05);
  --panel-3: rgba(255, 255, 255, 0.08);

  /* spectral veil */
  --vio:  #a971ff;
  --plum: #c04bff;
  --mag:  #ff2e8b;
  --veil:      linear-gradient(120deg, #a971ff 0%, #c04bff 46%, #ff2e8b 100%);
  --veil-soft: linear-gradient(120deg, rgba(169,113,255,.16), rgba(255,46,139,.16));
  --veil-text: linear-gradient(110deg, #c79bff 0%, #d96bf0 48%, #ff7ab0 100%);

  --shadow-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 14px 36px -16px rgba(0,0,0,.7);
  --shadow-2: 0 40px 90px -40px rgba(0,0,0,.85);
  --ring: 0 0 0 2px var(--void), 0 0 0 4px rgba(192,75,255,.5);

  --display: "Cabinet Grotesk", "Segoe UI", system-ui, sans-serif;
  --body:    "Switzer", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono:    ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, monospace;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 52px);
  --section: clamp(76px, 11vw, 152px);
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  background: var(--void);
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.06rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }
::selection { background: rgba(255,46,139,.3); color: #fff; }

/* ----------------------- background atmosphere --------------------- */
.atmos { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.atmos__glow { position: absolute; border-radius: 50%; filter: blur(90px); mix-blend-mode: screen; }
.atmos__glow--1 { top: -20%; right: -8%; width: 56vw; height: 56vw;
  background: radial-gradient(circle, rgba(192,75,255,.5), transparent 62%); opacity:.5; }
.atmos__glow--2 { top: 40%; left: -16%; width: 48vw; height: 48vw;
  background: radial-gradient(circle, rgba(255,46,139,.34), transparent 64%); opacity:.34; }
.atmos__glow--3 { bottom: -22%; right: 18%; width: 46vw; height: 46vw;
  background: radial-gradient(circle, rgba(169,113,255,.32), transparent 64%); opacity:.34; }
.atmos__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(176,148,230,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(176,148,230,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 60% 0%, #000 28%, transparent 76%);
          mask-image: radial-gradient(ellipse 85% 65% at 60% 0%, #000 28%, transparent 76%);
}
/* scanlines */
.atmos__scan { position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.014) 0 1px, transparent 1px 3px); }
/* grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------ layout ----------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--wide { --container: 1320px; }
section { position: relative; }
.section-pad { padding-block: var(--section); }

/* kicker — mono / bracketed "ops" label */
.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--vio);
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--veil); }
.kicker[data-dot]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mag);
  box-shadow: 0 0 10px var(--mag); animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* headings */
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.h-display { font-size: clamp(2.7rem, 1.5rem + 5vw, 5.6rem); line-height: .96; letter-spacing: -0.035em; font-weight: 800; overflow-wrap: break-word; }
.h-section { font-size: clamp(2rem, 1.3rem + 2.7vw, 3.4rem); letter-spacing: -0.03em; font-weight: 800; }
.h-sub { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); }
.veil-text { background: var(--veil-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1rem + .45vw, 1.28rem); color: var(--mut); max-width: 60ch; }
.section-head { max-width: 64ch; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head .kicker { margin-bottom: 1.3rem; }
.section-head p { margin-top: 1.1rem; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* ------------------------------ buttons ---------------------------- */
.btn {
  --bh: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--bh); padding: 0 1.5rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: .98rem; white-space: nowrap;
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .3s, background .3s, border-color .3s, color .3s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { color: #150018; background: var(--veil);
  box-shadow: 0 14px 34px -12px rgba(192,75,255,.6), 0 0 0 1px rgba(255,255,255,.1) inset; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -14px rgba(255,46,139,.7), 0 0 0 1px rgba(255,255,255,.16) inset; }
.btn--ghost { background: var(--panel); border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: var(--panel-2); border-color: var(--plum); transform: translateY(-3px); }
.btn--lg { --bh: 60px; padding: 0 1.9rem; font-size: 1.04rem; }
.btn--block { width: 100%; }

/* Google Play store badge */
.store-btn {
  display: inline-flex; align-items: center; gap: .85rem; height: 60px; padding: 0 1.4rem 0 1.2rem;
  border-radius: var(--r-sm); background: #0e0a18; border: 1px solid var(--line-2); color: var(--ink);
  transition: transform .22s, border-color .3s, background .3s, box-shadow .3s;
}
.store-btn:hover { transform: translateY(-3px); border-color: var(--plum); background: #120c1f;
  box-shadow: 0 18px 40px -18px rgba(192,75,255,.5); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn__txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn__txt small { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); font-family: var(--mono); }
.store-btn__txt b { font-family: var(--display); font-weight: 700; font-size: 1.16rem; }

/* mono chip */
.chip { display: inline-flex; align-items: center; gap: .5em; padding: .42em .8em; border-radius: var(--r-sm);
  background: var(--panel); border: 1px solid var(--line); font-family: var(--mono); font-size: .78rem;
  letter-spacing: .04em; color: var(--ink-soft); }
.chip svg { width: 1.05em; height: 1.05em; color: var(--mag); }

/* -------------------------------- nav ------------------------------ */
.nav { position: sticky; top: 0; z-index: 60;
  background: linear-gradient(to bottom, rgba(7,6,12,.92), rgba(7,6,12,.55));
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(7,6,12,.92); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--display); font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.brand span small { display:block; font-family: var(--mono); font-weight: 400; font-size:.55rem; letter-spacing:.26em; color: var(--mut-2); text-transform: uppercase; margin-top:2px; }
.nav__links { display: flex; align-items: center; gap: .2rem; }
.nav__links a { padding: .5rem .9rem; font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--mut); transition: color .25s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 1px; background: var(--veil); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__links a:hover { color: var(--ink); } .nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: .7rem; }
.nav__status { display: inline-flex; align-items: center; gap: .5em; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--vio); padding: .45em .8em; border: 1px solid var(--line); border-radius: var(--r-sm); }
.nav__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mag); box-shadow: 0 0 8px var(--mag); animation: blink 2s steps(1) infinite; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--panel); align-items: center; justify-content: center; }
.nav__burger span { position: relative; width: 18px; height: 2px; background: var(--ink); transition: .3s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: .3s; }
.nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 80px var(--gutter) auto; z-index: 55; border-radius: var(--r);
  border: 1px solid var(--line-2); background: rgba(10,8,18,.97); backdrop-filter: blur(20px);
  padding: 1rem; box-shadow: var(--shadow-2); display: none; flex-direction: column; gap: .15rem; }
.mobile-menu a { padding: .9rem 1rem; border-radius: var(--r-sm); font-family: var(--mono); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.mobile-menu a:hover { background: var(--panel); color: var(--ink); }
.mobile-menu .btn { margin-top: .6rem; font-family: var(--body); text-transform: none; letter-spacing: 0; }
body.menu-open .mobile-menu { display: flex; animation: pop .28s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-10px); } }

/* ------------------------------- hero ------------------------------ */
.hero { padding-top: clamp(40px, 7vw, 84px); padding-bottom: clamp(36px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__copy { max-width: 39rem; min-width: 0; }
.hero h1 { margin: 1.4rem 0 1.3rem; }
.hero .lead { margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero__note { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .55rem .8rem; }
.hero__note .chip { background: transparent; border-color: var(--line); }

/* radar centerpiece */
.radar { position: relative; justify-self: center; width: min(440px, 92vw); aspect-ratio: 1; }
.radar__rings { position: absolute; inset: 0; }
.radar__rings circle { fill: none; stroke: var(--line-2); }
.radar__cross { stroke: var(--line); }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  -webkit-mask: radial-gradient(circle, #000 0 70%, transparent 70%); mask: radial-gradient(circle, #000 0 70%, transparent 70%); }
.radar__sweep::before { content: ""; position: absolute; inset: 0;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(192,75,255,.0) 250deg, rgba(192,75,255,.35) 330deg, rgba(255,46,139,.55) 358deg, transparent 360deg);
  animation: sweep 4.2s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__core { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; transform: translate(-50%,-50%); border-radius: 50%;
  background: radial-gradient(circle, #ffe6f4, #ff6fc0 50%, #c04bff); box-shadow: 0 0 24px rgba(255,111,192,.8); z-index: 3; }
.radar__node { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--vio); transform: translate(-50%,-50%); z-index: 2; }
.radar__node::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid currentColor; color: inherit; opacity: .4; animation: ripple 2.6s ease-out infinite; }
.radar__node.is-active { background: var(--mag); }
.radar__node--1 { top: 22%; left: 70%; color: var(--mag); }
.radar__node--2 { top: 68%; left: 28%; color: var(--vio); }
.radar__node--3 { top: 30%; left: 30%; color: var(--plum); }
.radar__node--4 { top: 74%; left: 66%; color: var(--vio); }
.radar__node--1::after { animation-delay: .2s; } .radar__node--2::after { animation-delay: 1s; }
.radar__node--3::after { animation-delay: 1.8s; } .radar__node--4::after { animation-delay: .6s; }
@keyframes ripple { from { transform: scale(.5); opacity: .6; } to { transform: scale(2.4); opacity: 0; } }
.radar__link { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.radar__link line { stroke: url(#veilLine); stroke-width: 1.5; stroke-dasharray: 4 5; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
/* HUD card floating on radar */
.radar__hud { position: absolute; left: -6%; bottom: 6%; z-index: 4; width: 220px; padding: 14px;
  background: rgba(12,9,22,.86); border: 1px solid var(--line-2); border-radius: var(--r); backdrop-filter: blur(8px); box-shadow: var(--shadow-1); }
.radar__hud .row { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; }
.radar__hud .row + .row { margin-top: 8px; }
.radar__hud .k { color: var(--mut); text-transform: uppercase; }
.radar__hud .v { color: var(--ink); }
.radar__hud .v.masked { color: var(--mag); }
.radar__hud .v.real { color: var(--mut-2); text-decoration: line-through; }
.radar__hud .veiled { display: inline-flex; align-items: center; gap: .4em; color: var(--vio); }
.radar__hud .veiled i { width: 6px; height: 6px; border-radius: 50%; background: var(--mag); box-shadow: 0 0 8px var(--mag); }
.radar__tag { position: absolute; top: 4%; right: -2%; z-index: 4; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: rgba(12,9,22,.86); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: .5em .75em; }
.radar__tag b { color: var(--mag); }

/* ------------------------------ ticker ----------------------------- */
.ticker { border-block: 1px solid var(--line); background: rgba(255,255,255,.012); overflow: hidden; }
.ticker__track { display: flex; gap: 2.6rem; padding: .95rem 0; width: max-content; animation: slide 30s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); white-space: nowrap; }
.ticker__item b { color: var(--ink-soft); font-weight: 500; }
.ticker__item span { color: var(--plum); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------ metrics ---------------------------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.metric { padding: 1.7rem 1.5rem; border-right: 1px solid var(--line); background: var(--panel); }
.metric:last-child { border-right: none; }
.metric__k { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mut-2); margin-bottom: 1rem; }
.metric__n { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); line-height: 1; color: var(--ink); }
.metric__l { margin-top: .55rem; color: var(--mut); font-size: .9rem; }

/* --------------------------- capabilities -------------------------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cap { position: relative; padding: clamp(1.6rem, 2.6vw, 2.3rem); background: var(--void-2); transition: background .35s; overflow: hidden; }
.cap::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(192,75,255,.05) 0 2px, transparent 2px 4px); }
.cap:hover { background: var(--void-3); } .cap:hover::before { opacity: 1; }
.cap__no { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--plum); margin-bottom: 1.3rem; }
.cap__ic { width: 50px; height: 50px; border-radius: var(--r-sm); display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--veil-soft); border: 1px solid var(--line-2); color: var(--vio); }
.cap__ic svg { width: 24px; height: 24px; }
.cap h3 { font-size: 1.28rem; margin-bottom: .55rem; }
.cap p { color: var(--mut); font-size: .96rem; }

/* --------------------------- cloak diagram ------------------------- */
.cloak { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cloak__panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: radial-gradient(130% 100% at 0% 0%, #110b1d, #07060c); padding: clamp(1.6rem, 3vw, 2.4rem); }
.cloak__row { display: grid; gap: .7rem; }
.cloak__line { border: 1px solid var(--line); border-radius: var(--r-sm); padding: .85rem 1rem; display: flex; align-items: center; gap: .8rem; font-family: var(--mono); font-size: .8rem; }
.cloak__line .tag { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; padding: .25em .55em; border-radius: 4px; }
.cloak__line--real { color: var(--ink-soft); }
.cloak__line--real .tag { background: rgba(255,46,139,.14); color: var(--mag); }
.cloak__line--veiled { color: var(--mut); background: var(--panel); }
.cloak__line--veiled .tag { background: rgba(169,113,255,.14); color: var(--vio); }
.cloak__line .data { letter-spacing: .02em; }
.cloak__line .data.scrambled { color: var(--mut-2); }
.cloak__arrow { text-align: center; color: var(--plum); font-family: var(--mono); font-size: 1.1rem; padding: .2rem 0; }
.cloak__list { display: grid; gap: 1.3rem; margin-top: 1rem; }
.cloak__list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.cloak__list .ic { width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); color: var(--mag); flex: none; }
.cloak__list .ic svg { width: 20px; height: 20px; }
.cloak__list h4 { font-size: 1.08rem; color: var(--ink); margin-bottom: .2rem; }
.cloak__list p { color: var(--mut); font-size: .93rem; }

/* ------------------------------ nodes ------------------------------ */
.nodes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.6vw, 1.1rem); }
.node { border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; background: var(--panel); transition: border-color .3s, transform .3s, background .3s; }
.node:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--panel-2); }
.node__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.node__rg { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mut-2); }
.node__sig { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.node__sig i { width: 3px; background: var(--plum); border-radius: 1px; opacity: .9; }
.node__sig i:nth-child(1){ height: 5px } .node__sig i:nth-child(2){ height: 8px } .node__sig i:nth-child(3){ height: 11px } .node__sig i:nth-child(4){ height: 14px }
.node h4 { font-size: 1.12rem; color: var(--ink); }
.node small { font-family: var(--mono); font-size: .7rem; color: var(--mut); letter-spacing: .04em; }

/* ------------------------------ modes ------------------------------ */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.mode { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 2.6vw, 2.2rem); background: var(--panel); position: relative; }
.mode--feature { border-color: var(--line-2); background: linear-gradient(160deg, rgba(192,75,255,.1), transparent 65%); }
.mode__badge { display: inline-flex; font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--vio); border: 1px solid var(--line-2); border-radius: 999px; padding: .4em .8em; margin-bottom: 1.3rem; }
.mode h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.mode p { color: var(--mut); font-size: .96rem; margin-bottom: 1.2rem; }
.mode ul { display: grid; gap: .65rem; }
.mode li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-soft); font-size: .92rem; }
.mode li svg { width: 1.1rem; height: 1.1rem; color: var(--mag); flex: none; margin-top: .2rem; }

/* --------------------------- privacy ledger ------------------------ */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.4rem); }
.ledger__col { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 2.5vw, 2.2rem); background: var(--panel); }
.ledger__col--never { background: linear-gradient(160deg, rgba(255,46,139,.07), transparent 70%); border-color: rgba(255,46,139,.22); }
.ledger__col h3 { font-size: 1.28rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1.3rem; }
.ledger__col h3 svg { width: 1.3rem; height: 1.3rem; }
.ledger__col--never h3 svg { color: var(--mag); } .ledger__col--keep h3 svg { color: var(--vio); }
.ledger li { display: flex; align-items: flex-start; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .96rem; }
.ledger li:first-of-type { border-top: none; }
.ledger li svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .25rem; }
.ledger__col--never li svg { color: var(--mag); } .ledger__col--keep li svg { color: var(--mut-2); }
.ledger li b { color: var(--ink); }

/* ------------------------------ steps ------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.step { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.6rem; background: var(--panel); position: relative; }
.step__n { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; color: var(--plum); margin-bottom: 1.1rem; }
.step__ic { width: 48px; height: 48px; border-radius: var(--r-sm); display: grid; place-items: center; margin-bottom: 1.1rem; background: var(--veil-soft); border: 1px solid var(--line-2); color: var(--vio); }
.step__ic svg { width: 22px; height: 22px; }
.step h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.step p { color: var(--mut); font-size: .94rem; }

/* ------------------------------- faq ------------------------------- */
.faq { max-width: 880px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq__item { border-bottom: 1px solid var(--line); background: transparent; transition: background .3s; }
.faq__item:last-child { border-bottom: none; }
.faq__item[open] { background: var(--panel); }
.faq__q { display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.6rem; font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink); cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .qno { font-family: var(--mono); font-size: .78rem; color: var(--plum); flex: none; }
.faq__q .pm { margin-left: auto; position: relative; width: 20px; height: 20px; flex: none; }
.faq__q .pm::before, .faq__q .pm::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--mag); border-radius: 2px; transition: transform .3s; }
.faq__q .pm::before { width: 13px; height: 2px; } .faq__q .pm::after { width: 2px; height: 13px; }
.faq__item[open] .pm::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 1.6rem 1.4rem 3.4rem; color: var(--mut); font-size: .97rem; max-width: 72ch; }
.faq__a a { color: var(--mag); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------- cta ------------------------------- */
.cta-panel { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; text-align: center;
  padding: clamp(2.6rem, 6vw, 5rem) var(--gutter);
  background: radial-gradient(120% 130% at 50% -20%, rgba(192,75,255,.22), transparent 55%), linear-gradient(160deg, #0e0a1a, #07060c); }
.cta-panel::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: repeating-linear-gradient(to bottom, rgba(176,148,230,.05) 0 1px, transparent 1px 4px);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { margin-bottom: 1rem; }
.cta-panel p { margin: 0 auto 2rem; }
.cta-panel .hero__cta { justify-content: center; }

/* ------------------------------ footer ----------------------------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 2.5rem; margin-top: var(--section); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand { max-width: 32ch; }
.footer__brand .brand { margin-bottom: 1.1rem; }
.footer__brand p { color: var(--mut); font-size: .93rem; }
.footer__brand .socials { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer__brand .socials a { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; border: 1px solid var(--line); background: var(--panel); color: var(--mut); transition: .25s; }
.footer__brand .socials a:hover { color: var(--mag); border-color: var(--line-2); transform: translateY(-2px); }
.footer__brand .socials svg { width: 18px; height: 18px; }
.footer__col h5 { font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mut-2); margin-bottom: 1.1rem; }
.footer__col a { display: block; padding: .4rem 0; color: var(--mut); font-size: .94rem; transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.footer__disc { margin-top: 1.3rem; font-size: .82rem; color: var(--mut-2); max-width: 80ch; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: clamp(2.4rem, 5vw, 3.6rem); padding-top: 1.8rem; border-top: 1px solid var(--line); color: var(--mut-2); font-size: .85rem; }
.footer__bottom .legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__bottom .legal a:hover { color: var(--ink); }

/* --------------------------- legal pages --------------------------- */
.legal-hero { padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(28px, 4vw, 48px); }
.legal-hero .kicker { margin-bottom: 1.2rem; }
.legal-hero h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem); font-weight: 800; }
.legal-hero .meta { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; margin-top: 1.4rem; font-family: var(--mono); font-size: .82rem; color: var(--mut); }
.legal-hero .meta span { display: inline-flex; align-items: center; gap: .5em; }
.legal-hero .meta svg { width: 1.05em; height: 1.05em; color: var(--plum); }
.legal-hero .meta a { color: var(--mag); }

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-bottom: var(--section); }
.toc { position: sticky; top: 100px; }
.toc h2 { font-family: var(--mono); font-weight: 400; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mut-2); margin-bottom: 1rem; }
.toc ol { list-style: none; display: grid; gap: .1rem; }
.toc a { display: block; padding: .5rem .8rem; border-radius: var(--r-sm); color: var(--mut); font-size: .89rem; border-left: 2px solid transparent; transition: .25s; }
.toc a:hover { color: var(--ink); background: var(--panel); }
.toc a.is-active { color: var(--ink); background: var(--veil-soft); border-left-color: var(--mag); }

.prose { max-width: 72ch; }
.prose .section-block { padding-top: 1.2rem; margin-bottom: 2.6rem; scroll-margin-top: 100px; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .9rem; display: flex; align-items: baseline; gap: .7rem; font-weight: 800; }
.prose h2 .num { font-family: var(--mono); font-size: .85rem; color: var(--mag); font-weight: 400; }
.prose h3 { font-size: 1.12rem; color: var(--ink); margin: 1.6rem 0 .5rem; }
.prose p { margin-bottom: 1rem; color: var(--ink-soft); }
.prose ul.bullets { display: grid; gap: .6rem; margin: 1rem 0 1.4rem; }
.prose ul.bullets li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 1px; background: var(--veil); }
.prose ul.bullets li b { color: var(--ink); }
.prose .callout { border: 1px solid rgba(255,46,139,.25); border-radius: var(--r); background: linear-gradient(150deg, rgba(255,46,139,.08), transparent 70%);
  padding: 1.2rem 1.4rem; margin: 1.4rem 0; display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.prose .callout svg { width: 22px; height: 22px; color: var(--mag); margin-top: 2px; }
.prose .callout p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.prose a.inline { color: var(--mag); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated-note { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--mut); font-size: .9rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); font-weight: 400; }
.prose td b { color: var(--ink); }

.back-to-top { position: fixed; bottom: 24px; right: 24px; z-index: 40; width: 48px; height: 48px; border-radius: var(--r-sm);
  background: rgba(12,9,22,.88); border: 1px solid var(--line-2); backdrop-filter: blur(10px); color: var(--ink);
  display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .3s; }
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { border-color: var(--mag); color: var(--mag); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------------------------- reveal ------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .radar__sweep::before, .radar__node::after, .radar__link line, .ticker__track, .kicker[data-dot]::after, .nav__status i { animation: none !important; }
}

/* --------------------------- responsive ---------------------------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 40rem; margin-inline: auto; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero__cta, .hero__note { justify-content: center; }
  .radar { margin-top: 1rem; }
  .cloak { grid-template-columns: 1fr; }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .nodes { grid-template-columns: repeat(2, 1fr); }
  .modes { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; background: var(--panel); }
  .toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__status { display: none; }
  .nav__cta .store-btn { display: none; }
  .nav__burger { display: inline-flex; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(odd) { border-right: 1px solid var(--line); }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .caps { grid-template-columns: 1fr; }
  .nodes { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .toc ol { grid-template-columns: 1fr; }
  .radar__hud { width: 180px; left: -2%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero__cta .btn, .hero__cta .store-btn { width: 100%; }
}
