:root {
  --ink: #050505;
  --panel: #0d0d0d;
  --panel-2: #151515;
  --text: #f5f5f5;
  --muted: #929292;
  --line: rgba(255, 255, 255, 0.12);
  --acid: #f5f5f5;
  --acid-soft: rgba(255, 255, 255, 0.12);
  --cyan: #ffffff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); color-scheme: dark; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.signal-field { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.58; }
main, .site-header, .site-footer { position: relative; z-index: 1; }

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), var(--max));
  height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 12px 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 20;
  transition: background 180ms ease, border-color 180ms ease;
}
.site-header.scrolled { background: rgba(5, 5, 5, 0.94); border-color: rgba(255,255,255,.2); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .17em; }
.brand img { display: block; width: 148px; max-height: 32px; height: auto; }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a, .site-footer a { color: var(--muted); font-size: 12px; text-decoration: none; transition: color 160ms ease; }
.site-header nav a:hover, .site-footer a:hover { color: var(--text); }
.header-cta { justify-self: end; display: inline-flex; gap: 8px; align-items: center; padding: 11px 15px; border-radius: 8px; background: var(--text); color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; }

.hero { min-height: 100svh; padding: 190px max(24px, calc((100vw - var(--max)) / 2)) 64px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; width: 680px; height: 680px; right: -80px; top: 14%; background: radial-gradient(circle, rgba(255,255,255,.07), transparent 65%); pointer-events: none; }
.eyebrow, .section-kicker, .feature-index, .mini-label { text-transform: uppercase; letter-spacing: .18em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 700; }
.eyebrow { color: var(--acid); display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 16px var(--acid); animation: blink 1.8s ease infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero h1 { max-width: 1060px; margin: 0; font-size: clamp(72px, 10.6vw, 164px); line-height: .78; letter-spacing: -.075em; text-transform: uppercase; font-weight: 900; font-stretch: condensed; }
.hero h1 em { color: var(--acid); font-style: normal; }
.hero-support { width: min(650px, 66%); margin: clamp(34px, 4vw, 52px) 0 0 34%; }
.hero-copy { margin: 0; color: #bdbdbd; font-size: clamp(17px, 1.65vw, 21px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border-radius: 7px; font-size: 13px; font-weight: 800; text-decoration: none; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--acid); color: var(--ink); border: 1px solid var(--acid); }
.button-primary:hover { background: #ffffff; }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.button-secondary:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.06); }
.hero-proof { margin-top: auto; padding-top: 80px; display: flex; gap: 44px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .12em; }
.hero-proof b { color: var(--acid); margin-right: 6px; }
.hero-signal { position: absolute; right: 13%; top: 31%; width: 250px; height: 250px; }
.hero-signal .core { position: absolute; inset: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 24px var(--acid); }
.pulse { position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; inset: 50%; animation: expand 4.5s ease-out infinite; }
.pulse-b { animation-delay: 1.5s; }
.pulse-c { animation-delay: 3s; }
@keyframes expand { from { inset: 50%; opacity: 1; } to { inset: -30%; opacity: 0; } }

.manifesto { padding: 140px 0 120px; }
.section-kicker { color: var(--acid); margin: 0 0 26px; }
.manifesto h2, .section-heading h2, .comparison h2, .operators h2, .final-cta h2 { margin: 0; font-size: clamp(50px, 7.2vw, 104px); line-height: .94; letter-spacing: -.06em; text-transform: uppercase; }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .78fr); column-gap: clamp(40px, 5vw, 72px); align-items: start; margin: clamp(48px, 5vw, 68px) 0 0 clamp(72px, 12vw, 150px); }
.manifesto-grid p { max-width: 380px; margin: 0; padding-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.72; }
.manifesto-grid .lead { max-width: 660px; padding-top: 0; color: var(--text); font-size: clamp(19px, 2.1vw, 25px); line-height: 1.48; }

.signal-diagram { min-height: 620px; position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), rgba(5,5,5,.72); background-size: 48px 48px; }
.signal-diagram::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 26% 52%, rgba(255,255,255,.08), transparent 32%); }
.node { position: absolute; z-index: 3; border: 1px solid var(--line); background: rgba(13,13,13,.92); min-width: 158px; padding: 18px; border-radius: 9px; }
.node b, .node small { display: block; }
.node b { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .14em; color: var(--acid); }
.node small { margin-top: 7px; color: var(--muted); }
.node-you { width: 160px; height: 160px; left: 18%; top: 38%; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; box-shadow: 0 0 70px rgba(255,255,255,.07); }
.node-orbit { position: absolute; inset: -18px; border: 1px dashed rgba(255,255,255,.22); border-radius: 50%; animation: rotate 14s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.node-a { left: 47%; top: 39%; border-color: rgba(255,255,255,.35); box-shadow: 0 0 45px rgba(255,255,255,.045); }
.node-b { left: 75%; top: 14%; }
.node-c { left: 73%; top: 70%; }
.topology-route { position: absolute; z-index: 2; height: 1px; transform-origin: 0 50%; background: rgba(255,255,255,.28); }
.topology-route.user-route { height: 2px; background: rgba(255,255,255,.48); }
.topology-route.mesh-route { background: rgba(255,255,255,.25); }
.topology-route span { position: absolute; left: 0; top: 50%; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 15px var(--acid); transform: translateY(-50%); animation: route-travel 2.4s linear infinite; }
.topology-route.mesh-route span:nth-child(2) { animation-direction: reverse; animation-delay: -1.2s; opacity: .7; }
.topology-route.mesh-route:nth-of-type(2) span { animation-delay: -.65s; }
.topology-route.mesh-route:nth-of-type(3) span { animation-delay: -1.3s; }
.topology-route.mesh-route:nth-of-type(4) span { animation-delay: -1.95s; }
@keyframes route-travel { from { left: 0; } to { left: calc(100% - 6px); } }
.diagram-label { position: absolute; z-index: 4; left: 30px; bottom: 26px; color: var(--muted); font-family: ui-monospace, monospace; font-size: 10px; line-height: 1.7; letter-spacing: .16em; }

.features { padding: 160px 0; display: grid; grid-template-columns: 1fr 1fr; }
.section-heading { grid-column: 1 / -1; margin-bottom: 70px; }
.feature { min-height: 440px; position: relative; padding: 38px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: rgba(5,5,5,.65); overflow: hidden; }
.feature:nth-of-type(odd) { border-right: 0; }
.feature-wide { grid-column: 1 / -1; min-height: 500px; display: grid; grid-template-columns: .45fr .9fr 1.1fr; gap: 50px; align-items: center; border-right: 0; }
.feature-index { color: var(--acid); align-self: start; }
.feature h3 { max-width: 600px; margin: 0 0 22px; font-size: clamp(30px, 4vw, 52px); line-height: 1.02; letter-spacing: -.045em; }
.feature p { max-width: 520px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.feature:not(.feature-wide) h3 { margin-top: 75px; }
.feature-meta { position: absolute; left: 38px; bottom: 36px; color: #606060; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .15em; }
.identity-card { padding: 28px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); transform: rotate(2deg); box-shadow: 0 28px 80px rgba(0,0,0,.3); }
.identity-card strong { display: block; margin: 45px 0; font-size: clamp(18px, 2.5vw, 32px); letter-spacing: -.03em; }
.mini-label, .verified { color: var(--acid); }
.verified { display: block; margin-top: 26px; font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .13em; }
.key-line { display: flex; gap: 7px; }
.key-line i { height: 3px; flex: 1; background: var(--acid); opacity: .3; }
.key-line i:nth-child(2), .key-line i:nth-child(5) { opacity: .8; }
.cipher { margin-top: 72px; display: flex; justify-content: space-between; align-items: center; color: #484848; font-family: ui-monospace, monospace; letter-spacing: .15em; }
.cipher b { padding: 9px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; color: var(--acid); font-size: 10px; }

.comparison { padding: 0 0 160px; }
.comparison-intro { display: grid; grid-template-columns: .4fr 1fr; gap: 30px; align-items: start; margin-bottom: 80px; }
.comparison h2 { font-size: clamp(44px, 6vw, 82px); }
.comparison-table { border-top: 1px solid var(--line); }
.table-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.table-row span { padding: 23px 24px; color: #707070; font-size: 15px; }
.table-row span + span { color: var(--text); border-left: 1px solid var(--line); }
.table-row span + span::before { content: "→"; color: var(--acid); margin-right: 18px; }
.table-head span { color: var(--muted); font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.table-head span + span::before { content: none; }

.operators { padding: 150px 0; border-block: 1px solid var(--line); background: rgba(13,13,13,.82); }
.operator-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: center; }
.operators h2 { font-size: clamp(50px, 6.6vw, 92px); }
.operator-copy { max-width: 600px; margin: 34px 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.requirements { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 36px; }
.requirements span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 4px; color: #7d7d7d; font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .1em; }
.terminal { border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: #080808; box-shadow: 0 38px 110px rgba(0,0,0,.42); overflow: hidden; }
.terminal-top { height: 48px; display: flex; gap: 7px; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); }
.terminal-top span { width: 7px; height: 7px; border-radius: 50%; background: #303030; }
.terminal-top b { margin-left: 8px; color: #777777; font: 9px ui-monospace, monospace; letter-spacing: .12em; }
.copy-prompt { margin-left: auto; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; padding: 6px 9px; background: transparent; color: #bdbdbd; cursor: pointer; font: 8px ui-monospace, monospace; letter-spacing: .12em; transition: color 160ms ease, border-color 160ms ease, background 160ms ease; }
.copy-prompt:hover { color: #050505; border-color: #f5f5f5; background: #f5f5f5; }
.terminal pre { margin: 0; padding: clamp(22px, 3vw, 36px); height: 300px; overflow: auto; white-space: pre-wrap; color: #cccccc; scrollbar-width: thin; scrollbar-color: #444444 transparent; font: 10px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal pre::-webkit-scrollbar { width: 7px; }
.terminal pre::-webkit-scrollbar-track { background: transparent; }
.terminal pre::-webkit-scrollbar-thumb { border-radius: 999px; background: #444444; }
.terminal i { color: var(--acid); font-style: normal; }
.terminal-muted { color: #606060; }
.terminal strong { color: var(--acid); }

.final-cta { min-height: 820px; padding: 160px 0 100px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; right: -180px; bottom: -250px; width: 850px; height: 850px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: inset 0 0 140px rgba(255,255,255,.025); }
.final-cta h2 { max-width: 1050px; }
.final-cta > p:not(.section-kicker) { color: var(--muted); font-size: 18px; }

.site-footer { min-height: 90px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 22px; align-items: center; border-top: 1px solid var(--line); color: #606060; font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .13em; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { padding-top: 150px; }
  .hero-support { width: min(650px, 100%); margin-left: 0; }
  .hero-signal { right: -50px; top: 36%; opacity: .65; }
  .manifesto-grid { margin-left: 0; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); gap: 40px; }
  .node-you { left: 8%; }
  .path { left: 28%; }
  .feature-wide { grid-template-columns: 1fr; }
  .feature-wide .feature-index { margin-bottom: 30px; }
  .comparison-intro, .operator-grid { grid-template-columns: 1fr; }
  .terminal { margin-top: 30px; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 28px 0; }
}

@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .site-header { top: 9px; width: calc(100% - 18px); height: 56px; padding-left: 13px; }
  .header-cta { padding: 10px 12px; gap: 8px; }
  .hero { padding-inline: 16px; padding-bottom: 34px; min-height: 920px; }
  .hero h1 { font-size: clamp(62px, 21vw, 96px); }
  .hero-support { width: 100%; margin: 28px 0 0; }
  .hero-copy { font-size: 17px; }
  .hero-proof { gap: 14px; flex-direction: column; padding-top: 62px; }
  .hero-signal { width: 180px; height: 180px; right: -60px; top: 43%; }
  .manifesto, .features, .operators { padding-block: 100px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 42px; }
  .manifesto-grid p { max-width: none; padding-top: 0; }
  .signal-diagram { min-height: 650px; }
  .node { min-width: 138px; padding: 14px; }
  .signal-diagram { min-height: 760px; }
  .node-you { width: 130px; height: 130px; left: calc(50% - 65px); top: 7%; }
  .node-a { left: calc(50% - 69px); top: 39%; }
  .node-b { left: 4%; top: 68%; }
  .node-c { left: auto; right: 4%; top: 68%; }
  .diagram-label { left: 18px; bottom: 14px; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature-wide { grid-column: auto; min-height: 410px; padding: 28px 22px; border-right: 0; }
  .identity-card { transform: none; }
  .feature-meta { left: 22px; }
  .comparison { padding-bottom: 100px; }
  .table-row span { padding: 18px 12px; font-size: 13px; }
  .table-row span + span::before { display: none; }
  .final-cta { min-height: 720px; padding-block: 100px; }
  .site-footer { grid-template-columns: 1fr; padding-bottom: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .signal-field { display: none; }
}

:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
::selection { background: var(--acid); color: var(--ink); }
