:root {
  --bg: #07070b;
  --bg-soft: #0b0b12;
  --surface: rgba(16, 16, 25, 0.74);
  --surface-solid: #101019;
  --surface-2: #151522;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f7f7fb;
  --muted: #9b9baa;
  --muted-2: #696979;
  --cyan: #22d3ee;
  --blue: #4f83ff;
  --red: #ff3b5c;
  --green: #00e58b;
  --purple: #8b5cf6;
  --fuchsia: #d946ef;
  --yellow: #f7d154;
  --radius: 24px;
  --radius-small: 14px;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
  --font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -10%, rgba(139, 92, 246, 0.12), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-feature-settings: "ss01" 1, "cv11" 1;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { background: rgba(217, 70, 239, 0.35); color: white; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.section-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1320px, calc(100% - 32px));
  height: 76px;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  margin-top: 12px;
  background: rgba(7, 7, 11, .72);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  backdrop-filter: blur(20px) saturate(140%);
  transition: height .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  height: 64px;
  background: rgba(7, 7, 11, .9);
  box-shadow: 0 18px 60px rgba(0,0,0,.3);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; filter: drop-shadow(0 0 22px rgba(139,92,246,.25)); }
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 15px; letter-spacing: -.02em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { position: relative; color: #b8b8c5; font-size: 13px; transition: color .25s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--fuchsia)); transition: right .25s ease; }
.main-nav a:hover { color: white; }
.main-nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.lang-toggle { border: 0; background: transparent; padding: 8px; cursor: pointer; color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.lang-current { color: white; }
.lang-divider { margin: 0 3px; color: var(--muted-2); }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -.01em;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(120deg, var(--cyan), var(--purple) 48%, var(--fuchsia)); color: white; box-shadow: 0 18px 45px rgba(139,92,246,.23); }
.button-primary::before { content:""; position:absolute; inset:-2px; background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.42) 50%,transparent 75%); transform:translateX(-120%); transition:transform .8s ease; }
.button-primary:hover::before { transform: translateX(120%); }
.button-primary > * { position: relative; z-index: 1; }
.button-secondary, .button-ghost { background: rgba(255,255,255,.035); border-color: var(--line); color: #d6d6df; }
.button-secondary:hover, .button-ghost:hover { background: rgba(255,255,255,.07); border-color: var(--line-strong); }
.button-small { min-height: 38px; padding: 0 15px; border-radius: 11px; font-size: 11px; }

.hero {
  position: relative;
  min-height: 860px;
  padding: 160px 0 100px;
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 62px;
  align-items: center;
}
.hero-grid {
  position: absolute;
  inset: 95px -18vw 0;
  z-index: -3;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
  transform: perspective(850px) rotateX(66deg) translateY(200px) scale(1.4);
  transform-origin: center center;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -2; pointer-events: none; opacity: .24; }
.hero-orb-cyan { width: 350px; height: 350px; background: var(--cyan); left: -260px; top: 280px; }
.hero-orb-magenta { width: 420px; height: 420px; background: var(--fuchsia); right: -260px; top: 180px; }
.hero-copy { max-width: 650px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #c8c8d2; background: rgba(255,255,255,.025); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(0,229,139,.7); }
.hero h1 { margin: 28px 0 24px; font-size: clamp(56px, 6.2vw, 92px); line-height: .94; letter-spacing: -.068em; }
.hero h1 span { display: block; }
.gradient-text { padding-bottom: .08em; color: transparent; background: linear-gradient(110deg, var(--cyan), var(--blue) 26%, var(--purple) 58%, var(--fuchsia)); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 615px; margin: 0; color: #aaaaba; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; letter-spacing: -.018em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; color: #b2b2bf; font-size: 11px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.hero-proof > span { display: inline-flex; align-items: center; gap: 8px; }
.proof-icon { width: 6px; height: 6px; border-radius: 50%; }
.proof-purple { background: var(--fuchsia); box-shadow: 0 0 12px rgba(217,70,239,.65); }
.proof-cyan { background: var(--cyan); box-shadow: 0 0 12px rgba(34,211,238,.65); }
.proof-green { background: var(--green); box-shadow: 0 0 12px rgba(0,229,139,.65); }

.hero-visual {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 22%),
    rgba(10,10,17,.66);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.hero-visual::before { content:""; position:absolute; inset:0; opacity:.22; background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size:32px 32px; mask-image:linear-gradient(to bottom,black,transparent 85%); }
.visual-topline { position:absolute; top:0; left:0; right:0; height:50px; padding:0 18px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); color:#868695; font:9px var(--font-mono); letter-spacing:.12em; }
.live-state { color:#b5b5c0; display:inline-flex; align-items:center; gap:7px; }
.live-state i { width:6px; height:6px; border-radius:50%; background:var(--green); animation:pulse-dot 1.8s infinite; }
.glass-node { position:absolute; left:50%; transform:translateX(-50%); top:78px; width:230px; padding:14px 16px; border:1px solid var(--line); border-radius:14px; text-align:center; background:rgba(255,255,255,.035); box-shadow:0 12px 30px rgba(0,0,0,.22); }
.node-label { display:block; color:var(--cyan); font:9px var(--font-mono); letter-spacing:.13em; }
.glass-node strong { display:block; margin-top:6px; font-size:13px; }
.glass-node small { display:block; margin-top:4px; color:var(--muted); font-size:10px; }
.request-stream { position:absolute; top:152px; bottom:220px; left:50%; width:2px; background:linear-gradient(var(--cyan),var(--purple),var(--fuchsia)); opacity:.65; }
.request-stream::before,.request-stream::after { content:""; position:absolute; left:50%; width:7px; height:7px; border-radius:50%; background:var(--cyan); transform:translate(-50%,-50%); box-shadow:0 0 18px rgba(34,211,238,.8); animation:stream-dot 3s linear infinite; }
.request-stream::after { animation-delay:1.5s; }
.request-packet { position:absolute; left:14px; width:max-content; padding:5px 7px; border:1px solid var(--line); border-radius:7px; background:#0d0d14; color:#a9a9b5; font:8px var(--font-mono); opacity:0; animation:packet-float 5.4s ease-in-out infinite; }
.packet-one { top:14%; color:var(--cyan); }
.packet-two { top:42%; animation-delay:1.8s; color:var(--red); }
.packet-three { top:70%; animation-delay:3.6s; color:var(--green); }
.shield-core { position:absolute; left:50%; top:50%; width:250px; height:250px; transform:translate(-50%,-46%); display:grid; place-items:center; }
.shield-rings,.shield-rings i { position:absolute; inset:0; border-radius:50%; }
.shield-rings i { border:1px solid rgba(139,92,246,.22); animation:ring-pulse 4s ease-out infinite; }
.shield-rings i:nth-child(2) { animation-delay:1.25s; }
.shield-rings i:nth-child(3) { animation-delay:2.5s; }
.shield-card { position:relative; z-index:2; width:176px; height:176px; border:1px solid rgba(217,70,239,.28); border-radius:28px; display:flex; flex-direction:column; align-items:center; justify-content:center; background:radial-gradient(circle at 50% 30%,rgba(139,92,246,.16),transparent 55%),rgba(10,10,17,.88); box-shadow:0 0 65px rgba(139,92,246,.17), inset 0 0 36px rgba(217,70,239,.06); }
.shield-icon { width:54px; height:64px; margin-bottom:10px; filter:drop-shadow(0 0 18px rgba(139,92,246,.35)); }
.shield-icon svg { width:100%; height:100%; }
.shield-card span { color:var(--fuchsia); font:8px var(--font-mono); letter-spacing:.12em; }
.shield-card strong { margin-top:5px; font-size:15px; }
.shield-card small { margin-top:5px; color:var(--muted); font:8px var(--font-mono); }
.decision-row { position:absolute; left:22px; right:22px; bottom:72px; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.decision-card { padding:13px 14px; border:1px solid var(--line); border-radius:13px; background:rgba(255,255,255,.028); }
.decision-card span { display:block; font:8px var(--font-mono); letter-spacing:.12em; }
.decision-card strong { display:block; margin-top:5px; font-size:12px; }
.decision-card small { display:block; margin-top:4px; color:var(--muted); font:8px var(--font-mono); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.decision-card.allowed { border-color:rgba(0,229,139,.2); }
.decision-card.allowed span { color:var(--green); }
.decision-card.denied { border-color:rgba(255,59,92,.2); }
.decision-card.denied span { color:var(--red); }
.visual-log { position:absolute; bottom:0; left:0; right:0; height:48px; padding:0 18px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:13px; border-top:1px solid var(--line); background:rgba(0,0,0,.12); font:8px var(--font-mono); }
.log-time { color:var(--muted-2); }.log-rule{color:#a8a8b4}.log-result{color:var(--red)}

.trust-strip { overflow:hidden; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:rgba(255,255,255,.018); }
.trust-track { width:max-content; min-width:100%; display:flex; align-items:center; justify-content:space-around; gap:30px; padding:15px 28px; color:#747483; font:9px var(--font-mono); letter-spacing:.11em; animation:marquee 25s linear infinite; }
.trust-track i { width:4px; height:4px; border-radius:50%; background:linear-gradient(var(--cyan),var(--fuchsia)); }

.problem,.capabilities,.architecture,.policy,.team-spectrum,.roadmap,.early-access { padding-top:140px; }
.section-heading { max-width:880px; }
.section-number { display:inline-block; color:var(--fuchsia); font:10px var(--font-mono); letter-spacing:.13em; }
.section-heading h2,.policy-copy h2,.spectrum-copy h2,.cta-panel h2 { margin:18px 0 18px; font-size:clamp(40px,5vw,68px); line-height:1.02; letter-spacing:-.055em; }
.section-heading p,.policy-copy > p,.spectrum-copy p,.cta-panel p { max-width:720px; margin:0; color:var(--muted); font-size:17px; line-height:1.7; }

.risk-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:54px; }
.risk-card { position:relative; min-height:300px; padding:28px; border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); overflow:hidden; transition:transform .35s ease,border-color .35s ease,background .35s ease; }
.risk-card::after { content:""; position:absolute; width:170px; height:170px; right:-100px; bottom:-100px; border-radius:50%; filter:blur(25px); opacity:.15; transition:opacity .35s ease,transform .35s ease; }
.risk-card[data-accent="cyan"]::after{background:var(--cyan)}
.risk-card[data-accent="red"]::after{background:var(--red)}
.risk-card[data-accent="purple"]::after{background:var(--fuchsia)}
.risk-card:hover { transform:translateY(-7px); border-color:var(--line-strong); background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); }
.risk-card:hover::after { opacity:.3; transform:scale(1.2); }
.risk-icon { width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--line); border-radius:12px; color:#bdbdc8; font:10px var(--font-mono); }
.risk-card h3 { margin:70px 0 12px; font-size:23px; letter-spacing:-.035em; }
.risk-card p { margin:0; color:var(--muted); font-size:14px; line-height:1.7; }
.risk-tag { position:absolute; left:28px; bottom:24px; color:#666675; font:8px var(--font-mono); letter-spacing:.11em; }

.capability-layout { display:grid; grid-template-columns:.9fr 1.1fr; gap:32px; align-items:start; margin-top:58px; }
.capability-list { display:flex; flex-direction:column; }
.capability-item { display:grid; grid-template-columns:46px 1fr auto; gap:14px; align-items:start; padding:24px 0; border-top:1px solid var(--line); cursor:pointer; opacity:.62; transition:opacity .3s ease,padding-left .3s ease; }
.capability-item:last-child { border-bottom:1px solid var(--line); }
.capability-item:hover,.capability-item.active { opacity:1; padding-left:8px; }
.capability-index { color:var(--muted-2); font:9px var(--font-mono); padding-top:5px; }
.capability-item h3 { margin:0; font-size:22px; letter-spacing:-.035em; }
.capability-item p { margin:8px 0 0; color:var(--muted); font-size:13px; line-height:1.55; }
.capability-arrow { color:var(--fuchsia); opacity:0; transform:translate(-8px,8px); transition:opacity .3s ease,transform .3s ease; }
.capability-item.active .capability-arrow,.capability-item:hover .capability-arrow { opacity:1; transform:translate(0,8px); }
.capability-console { position:sticky; top:110px; min-height:460px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(12,12,19,.78); box-shadow:var(--shadow); overflow:hidden; }
.console-header,.code-titlebar { height:48px; padding:0 16px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; border-bottom:1px solid var(--line); background:rgba(255,255,255,.018); }
.console-header > span,.code-titlebar > span { display:flex; gap:7px; }
.console-header i,.code-titlebar i { width:8px; height:8px; border-radius:50%; background:#3c3c48; }
.console-header i:nth-child(1),.code-titlebar i:nth-child(1){background:#ff5f57}.console-header i:nth-child(2),.code-titlebar i:nth-child(2){background:#febc2e}.console-header i:nth-child(3),.code-titlebar i:nth-child(3){background:#28c840}
.console-header small,.code-titlebar small { color:var(--muted); font:9px var(--font-mono); }
.console-body { position:relative; min-height:412px; }
.console-rule { position:absolute; inset:0; padding:46px; opacity:0; transform:translateY(10px); pointer-events:none; transition:opacity .35s ease,transform .35s ease; }
.console-rule.active { opacity:1; transform:translateY(0); pointer-events:auto; }
.console-kicker { display:block; color:var(--fuchsia); font:9px var(--font-mono); letter-spacing:.13em; }
.console-rule strong { display:block; margin-top:13px; font-size:26px; letter-spacing:-.04em; }
.console-rule pre { margin:28px 0 0; padding:22px; border:1px solid var(--line); border-radius:14px; background:#09090f; overflow:auto; color:#a9a9b7; font:12px/1.8 var(--font-mono); }
.console-rule b { color:var(--red); font-weight:600; }.console-rule[data-console="approval"] b{color:var(--yellow)}.console-rule[data-console="audit"] b,.console-rule[data-console="scope"] b{color:var(--green)}

.architecture-board { position:relative; margin-top:58px; min-height:390px; display:grid; grid-template-columns:1fr .45fr 1.15fr .45fr 1fr; align-items:center; padding:38px; border:1px solid var(--line); border-radius:30px; background:radial-gradient(circle at 50% 50%,rgba(139,92,246,.1),transparent 34%),rgba(255,255,255,.018); overflow:hidden; }
.architecture-board::before { content:""; position:absolute; inset:0; opacity:.14; background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size:28px 28px; }
.arch-lane,.arch-connector { position:relative; z-index:2; }
.arch-label { display:block; margin-bottom:14px; color:#6f6f7d; font:8px var(--font-mono); letter-spacing:.14em; }
.arch-node { display:flex; align-items:center; gap:13px; padding:17px; border:1px solid var(--line); border-radius:16px; background:rgba(12,12,19,.78); box-shadow:0 14px 32px rgba(0,0,0,.22); }
.arch-node-icon { flex:0 0 auto; width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:rgba(34,211,238,.1); color:var(--cyan); font:10px var(--font-mono); }
.arch-node strong,.system-node strong { display:block; font-size:13px; }.arch-node small,.system-node small { display:block; margin-top:4px; color:var(--muted); font:8px var(--font-mono); }
.arch-node-primary { border-color:rgba(217,70,239,.25); box-shadow:0 0 45px rgba(139,92,246,.12); }
.shield-mini { background:linear-gradient(135deg,rgba(34,211,238,.15),rgba(217,70,239,.18)); color:var(--fuchsia); }
.arch-subnodes { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:10px; }
.arch-subnodes span { padding:9px 6px; border:1px solid var(--line); border-radius:9px; color:#858593; text-align:center; font:7px var(--font-mono); }
.arch-connector { height:2px; background:linear-gradient(90deg,rgba(34,211,238,.2),var(--cyan),rgba(139,92,246,.6)); }
.arch-connector-out { background:linear-gradient(90deg,rgba(139,92,246,.6),var(--green),rgba(0,229,139,.2)); }
.arch-connector small { position:absolute; top:-22px; left:50%; transform:translateX(-50%); color:#696978; white-space:nowrap; font:7px var(--font-mono); }
.flow-dot { position:absolute; top:50%; left:0; width:6px; height:6px; border-radius:50%; transform:translate(-50%,-50%); background:var(--cyan); box-shadow:0 0 12px rgba(34,211,238,.85); animation:flow-right 2.6s linear infinite; }
.flow-dot-b{animation-delay:.85s}.flow-dot-c{animation-delay:1.7s}.flow-dot-d,.flow-dot-e{background:var(--green);box-shadow:0 0 12px rgba(0,229,139,.8)}.flow-dot-d{animation-delay:.45s}.flow-dot-e{animation-delay:1.55s}
.system-stack { display:flex; flex-direction:column; gap:8px; }
.system-node { display:flex; align-items:center; gap:12px; padding:13px 15px; border:1px solid var(--line); border-radius:13px; background:rgba(12,12,19,.74); }
.system-dot { width:7px; height:7px; border-radius:50%; }.system-dot.cyan{background:var(--cyan)}.system-dot.red{background:var(--red)}.system-dot.green{background:var(--green)}
.architecture-outcomes { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-top:12px; }
.architecture-outcomes span { padding:13px; border:1px solid var(--line); border-radius:12px; text-align:center; color:#8f8f9c; font:9px var(--font-mono); }
.architecture-outcomes b { color:var(--fuchsia); margin-right:8px; font-weight:400; }

.policy { display:grid; grid-template-columns:.9fr 1.1fr; gap:58px; align-items:center; }
.policy-points { display:grid; gap:12px; margin-top:30px; }
.policy-points > span { display:flex; align-items:center; gap:11px; color:#b9b9c4; font-size:13px; }
.policy-points i { width:22px; height:22px; display:grid; place-items:center; border-radius:7px; background:rgba(0,229,139,.08); color:var(--green); font-style:normal; font-size:11px; }
.code-window { border:1px solid var(--line); border-radius:var(--radius); background:#0a0a10; box-shadow:var(--shadow); overflow:hidden; }
.copy-button { justify-self:end; border:1px solid var(--line); border-radius:8px; background:transparent; color:#8d8d9b; padding:6px 8px; font:8px var(--font-mono); cursor:pointer; }
.code-window pre { margin:0; padding:28px; overflow:auto; font:12px/1.72 var(--font-mono); color:#a9a9b4; }
.c-purple{color:#c084fc}.c-cyan{color:#67e8f9}.c-red{color:#ff6b83}.c-green{color:#34d399}.c-yellow{color:#f8d87a}

.spectrum-card { position:relative; min-height:420px; display:grid; grid-template-columns:1fr 1fr; gap:30px; align-items:center; padding:54px; border:1px solid rgba(217,70,239,.18); border-radius:30px; background:radial-gradient(circle at 75% 50%,rgba(217,70,239,.12),transparent 34%),linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); overflow:hidden; }
.spectrum-visual { position:relative; height:290px; }
.spectrum-line { position:absolute; left:0; width:75%; height:2px; transform-origin:left center; }
.spectrum-line::before { content:""; position:absolute; left:0; top:50%; width:9px; height:9px; border-radius:50%; transform:translate(-50%,-50%); background:currentColor; box-shadow:0 0 18px currentColor; }
.spectrum-line span { position:absolute; left:8px; bottom:9px; font:8px var(--font-mono); letter-spacing:.12em; color:currentColor; }
.line-red { top:28%; color:var(--red); background:linear-gradient(90deg,var(--red),rgba(255,59,92,.1)); transform:rotate(16deg); }
.line-blue { top:50%; color:var(--cyan); background:linear-gradient(90deg,var(--cyan),rgba(34,211,238,.1)); }
.line-green { top:72%; color:var(--green); background:linear-gradient(90deg,var(--green),rgba(0,229,139,.1)); transform:rotate(-16deg); }
.spectrum-core { position:absolute; right:2%; top:50%; width:160px; height:160px; transform:translateY(-50%); border-radius:50%; display:grid; place-content:center; text-align:center; background:radial-gradient(circle,rgba(217,70,239,.24),rgba(139,92,246,.09) 48%,transparent 70%); border:1px solid rgba(217,70,239,.26); box-shadow:0 0 85px rgba(139,92,246,.18); }
.spectrum-core::before,.spectrum-core::after { content:""; position:absolute; inset:-18px; border:1px solid rgba(217,70,239,.13); border-radius:50%; animation:spin-slow 14s linear infinite; }
.spectrum-core::after { inset:-38px; border-style:dashed; animation-direction:reverse; animation-duration:19s; }
.spectrum-core span { color:var(--fuchsia); font:9px var(--font-mono); letter-spacing:.12em; }
.spectrum-core strong { margin-top:7px; font-size:14px; }

.roadmap-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:54px; }
.roadmap-card { min-height:360px; padding:28px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,.018); }
.roadmap-card.current { border-color:rgba(217,70,239,.22); background:radial-gradient(circle at 100% 0,rgba(217,70,239,.1),transparent 40%),rgba(255,255,255,.025); }
.roadmap-status { display:inline-flex; padding:7px 9px; border:1px solid var(--line); border-radius:999px; color:#888896; font:8px var(--font-mono); letter-spacing:.1em; }
.current .roadmap-status { color:var(--fuchsia); border-color:rgba(217,70,239,.2); }
.roadmap-card h3 { margin:62px 0 24px; font-size:24px; letter-spacing:-.04em; }
.roadmap-card ul { margin:0; padding:0; list-style:none; display:grid; gap:13px; }
.roadmap-card li { position:relative; padding-left:18px; color:var(--muted); font-size:12px; line-height:1.45; }
.roadmap-card li::before { content:""; position:absolute; left:0; top:.55em; width:5px; height:5px; border-radius:50%; background:var(--purple); }

.early-access { padding-bottom:120px; }
.cta-panel { position:relative; min-height:360px; display:grid; grid-template-columns:1fr auto; gap:60px; align-items:center; padding:58px; border:1px solid rgba(217,70,239,.22); border-radius:32px; background:linear-gradient(120deg,rgba(34,211,238,.04),rgba(139,92,246,.08),rgba(217,70,239,.05)); overflow:hidden; }
.cta-glow { position:absolute; right:-120px; top:-160px; width:420px; height:420px; border-radius:50%; background:var(--fuchsia); filter:blur(130px); opacity:.12; }
.cta-panel > *:not(.cta-glow) { position:relative; z-index:1; }
.cta-panel h2 { max-width:700px; }
.cta-actions { width:260px; display:flex; flex-direction:column; align-items:stretch; gap:14px; }
.cta-actions small { color:var(--muted-2); font-size:9px; line-height:1.55; text-align:center; }

.site-footer { min-height:130px; padding:28px 0 34px; display:grid; grid-template-columns:1fr auto auto; gap:28px; align-items:center; border-top:1px solid var(--line); color:var(--muted-2); font-size:10px; }
.footer-brand .brand-mark { width:32px; height:32px; }.footer-brand .brand-copy strong{color:#dcdce5}.footer-brand .brand-copy small{font-size:8px}
.site-footer strong { color:#9d9daa; font-weight:500; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity:1; transform:translateY(0); }

@keyframes pulse-dot { 0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.7);opacity:.4} }
@keyframes stream-dot { from{top:0}to{top:100%} }
@keyframes packet-float { 0%,12%{opacity:0;transform:translateY(-6px)}20%,60%{opacity:1;transform:translateY(0)}72%,100%{opacity:0;transform:translateY(8px)} }
@keyframes ring-pulse { 0%{transform:scale(.55);opacity:0}22%{opacity:.65}100%{transform:scale(1.2);opacity:0} }
@keyframes marquee { from{transform:translateX(0)}to{transform:translateX(-8%)} }
@keyframes flow-right { from{left:0}to{left:100%} }
@keyframes spin-slow { to{transform:rotate(360deg)} }

@media (max-width: 1080px) {
  .site-header { grid-template-columns:1fr auto; }
  .main-nav { display:none; }
  .hero { grid-template-columns:1fr; padding-top:150px; }
  .hero-copy { max-width:850px; }
  .hero-visual { max-width:760px; width:100%; margin:0 auto; }
  .risk-grid,.roadmap-grid { grid-template-columns:1fr 1fr; }
  .risk-card:last-child,.roadmap-card:last-child { grid-column:1/-1; }
  .capability-layout,.policy { grid-template-columns:1fr; }
  .capability-console { position:relative; top:auto; }
  .architecture-board { grid-template-columns:1fr; gap:18px; }
  .arch-connector { height:66px; width:2px; margin:0 auto; background:linear-gradient(var(--cyan),var(--purple)); }
  .arch-connector-out { background:linear-gradient(var(--purple),var(--green)); }
  .arch-connector small { top:50%; left:18px; transform:translateY(-50%); }
  .flow-dot { top:0; left:50%; animation-name:flow-down; }
  .spectrum-card { grid-template-columns:1fr; }
  .cta-panel { grid-template-columns:1fr; }
  .cta-actions { width:100%; max-width:320px; }
  .site-footer { grid-template-columns:1fr 1fr; }
  .site-footer p:last-child { grid-column:1/-1; }
  @keyframes flow-down { from{top:0}to{top:100%} }
}

@media (max-width: 720px) {
  .section-shell { width:min(1240px, calc(100% - 28px)); }
  .site-header { width:calc(100% - 20px); height:64px; margin-top:8px; padding:0 12px; border-radius:16px; }
  .brand-copy small { display:none; }
  .header-actions .button { display:none; }
  .hero { min-height:auto; padding:122px 0 74px; gap:45px; }
  .hero h1 { font-size:clamp(48px,16vw,72px); }
  .hero-lead { font-size:16px; }
  .hero-actions { flex-direction:column; }
  .button { width:100%; }
  .hero-proof { gap:13px; flex-direction:column; }
  .hero-visual { min-height:560px; border-radius:22px; }
  .glass-node { width:205px; }
  .shield-core { width:215px; height:215px; }
  .shield-card { width:152px; height:152px; }
  .shield-icon { width:46px; height:54px; }
  .decision-row { left:12px; right:12px; grid-template-columns:1fr; bottom:60px; }
  .decision-card { padding:10px 12px; }
  .decision-card small { display:none; }
  .visual-log { padding:0 12px; grid-template-columns:auto 1fr; }
  .log-rule { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.log-result{display:none}
  .trust-track { animation-duration:18s; }
  .problem,.capabilities,.architecture,.policy,.team-spectrum,.roadmap,.early-access { padding-top:92px; }
  .section-heading h2,.policy-copy h2,.spectrum-copy h2,.cta-panel h2 { font-size:clamp(36px,12vw,54px); }
  .section-heading p,.policy-copy > p,.spectrum-copy p,.cta-panel p { font-size:15px; }
  .risk-grid,.roadmap-grid { grid-template-columns:1fr; }
  .risk-card:last-child,.roadmap-card:last-child { grid-column:auto; }
  .risk-card { min-height:280px; }
  .capability-item { grid-template-columns:34px 1fr auto; }
  .console-rule { padding:24px 18px; }
  .console-rule strong { font-size:21px; }
  .console-rule pre { padding:16px; font-size:10px; }
  .architecture-board { padding:18px; border-radius:22px; }
  .arch-subnodes { grid-template-columns:1fr; }
  .architecture-outcomes { grid-template-columns:1fr 1fr; }
  .architecture-outcomes span:last-child { grid-column:1/-1; }
  .policy { gap:36px; }
  .code-window pre { padding:20px; font-size:10px; }
  .spectrum-card { padding:28px 20px; min-height:600px; }
  .spectrum-visual { height:250px; }
  .spectrum-core { width:128px; height:128px; right:3%; }
  .cta-panel { padding:34px 22px; border-radius:24px; }
  .site-footer { grid-template-columns:1fr; text-align:left; }
  .site-footer p:last-child { grid-column:auto; }
}

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

/* === MonkeyShield v2 refinements === */
html, body { max-width: 100%; }
body { overflow-x: clip; }
.hero { overflow: clip; contain: layout paint; }
.hero-visual { contain: layout paint; backdrop-filter: none; transform: none !important; }
.hero-orb { filter: blur(72px); opacity: .17; }
.site-header { backdrop-filter: blur(14px) saturate(125%); }

.brand-mark { width: 42px; height: 42px; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.footer-brand .brand-mark { width: 38px; height: 38px; }

.hero h1 { letter-spacing: -.025em; }
.section-heading h2,
.policy-copy h2,
.spectrum-copy h2,
.cta-panel h2 { letter-spacing: -.025em; }
html[lang="ru"] .hero h1,
html[lang="ru"] .section-heading h2,
html[lang="ru"] .policy-copy h2,
html[lang="ru"] .spectrum-copy h2,
html[lang="ru"] .cta-panel h2 { letter-spacing: -.015em; }

.hero-proof { gap: 10px; }
.proof-chip {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255,255,255,.018);
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.proof-chip:hover {
  color: #fff;
  border-color: rgba(217,70,239,.34);
  background: rgba(139,92,246,.09);
  box-shadow: 0 0 28px rgba(139,92,246,.13);
  transform: translateY(-2px);
}

/* Seamless, readable marquee. */
.trust-strip { position: relative; }
.trust-track {
  min-width: max-content;
  width: max-content;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  animation: marquee-v2 34s linear infinite;
  will-change: transform;
}
.trust-strip:hover .trust-track { animation-play-state: paused; }
.trust-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 15px 30px;
}
.trust-group i { flex: 0 0 auto; width: 4px; height: 4px; border-radius: 50%; background: linear-gradient(var(--cyan),var(--fuchsia)); }
.trust-term {
  border: 0;
  padding: 4px 2px;
  background: transparent;
  color: #797988;
  font: 9px var(--font-mono);
  letter-spacing: .11em;
  cursor: help;
  white-space: nowrap;
  transition: color .2s ease, text-shadow .2s ease;
}
.trust-term:hover,
.trust-term:focus-visible {
  color: #e8c9ff;
  text-shadow: 0 0 14px rgba(217,70,239,.5);
  outline: none;
}
@keyframes marquee-v2 { to { transform: translate3d(calc(-1 * var(--marquee-distance, 1200px)),0,0); } }

/* Technical terms are explainable on click, hover and keyboard focus. */
.term {
  appearance: none;
  border: 0;
  border-bottom: 1px dotted rgba(217,70,239,.45);
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: help;
  transition: color .2s ease, border-color .2s ease, text-shadow .2s ease;
}
.term:hover,
.term:focus-visible,
.term[aria-expanded="true"] {
  color: #e8c9ff;
  border-color: var(--fuchsia);
  text-shadow: 0 0 14px rgba(217,70,239,.38);
  outline: none;
}
.term-strong { font-weight: 700; }
.term-wrap { display: block; }
.term-hint {
  margin-top: 14px !important;
  color: #777786 !important;
  font: 10px/1.55 var(--font-mono) !important;
}
.term-popover {
  position: fixed;
  z-index: 1200;
  width: min(340px, calc(100vw - 28px));
  padding: 18px 42px 18px 18px;
  border: 1px solid rgba(217,70,239,.3);
  border-radius: 16px;
  background: rgba(11,11,18,.97);
  box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 45px rgba(139,92,246,.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(.985);
  transition: opacity .18s ease, transform .18s ease;
}
.term-popover.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.term-popover-title { display: block; color: #f5eaff; font-size: 14px; }
.term-popover-body { margin: 8px 0 0; color: #a9a9b7; font-size: 12px; line-height: 1.6; }
.term-popover-close { position: absolute; top: 8px; right: 9px; width: 30px; height: 30px; border: 0; border-radius: 9px; background: transparent; color: #777786; cursor: pointer; font-size: 20px; }
.term-popover-close:hover { color: white; background: rgba(255,255,255,.05); }

/* Cookie and local-storage consent centre. */
.cookie-banner {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 28px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(217,70,239,.25);
  border-radius: 22px;
  background: rgba(8,8,13,.97);
  box-shadow: 0 28px 90px rgba(0,0,0,.62), 0 0 50px rgba(139,92,246,.1);
}
.cookie-banner[hidden] { display: none; }
.cookie-kicker { display: block; color: var(--fuchsia); font: 9px var(--font-mono); letter-spacing: .13em; }
.cookie-banner-copy strong { display: block; margin-top: 8px; font-size: 18px; }
.cookie-banner-copy p { max-width: 720px; margin: 7px 0 6px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.cookie-banner-copy a { color: #c6a5ff; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; gap: 8px; }
.cookie-banner .button { min-height: 42px; padding: 0 14px; white-space: nowrap; font-size: 11px; }
.cookie-modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 18px; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.cookie-modal.is-open { visibility: visible; opacity: 1; }
.cookie-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.cookie-dialog { position: relative; z-index: 1; width: min(680px,100%); max-height: min(760px, calc(100vh - 36px)); overflow: auto; padding: 34px; border: 1px solid rgba(217,70,239,.26); border-radius: 26px; background: #0b0b12; box-shadow: 0 32px 100px rgba(0,0,0,.7); }
.cookie-dialog h2 { margin: 12px 0 10px; font-size: clamp(28px,5vw,42px); line-height: 1.05; letter-spacing: -.02em; }
.cookie-dialog > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.cookie-dialog-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); color: #8f8f9c; cursor: pointer; font-size: 22px; }
.cookie-categories { display: grid; gap: 10px; margin-top: 24px; }
.cookie-category { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.018); cursor: pointer; }
.cookie-category:hover { border-color: rgba(217,70,239,.2); }
.cookie-category strong { display: block; font-size: 13px; }
.cookie-category small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.cookie-category input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-category > i { position: relative; width: 44px; height: 24px; border-radius: 999px; background: #252532; transition: background .2s ease; }
.cookie-category > i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #858594; transition: transform .2s ease, background .2s ease; }
.cookie-category input:checked + i { background: rgba(139,92,246,.65); }
.cookie-category input:checked + i::after { transform: translateX(20px); background: white; }
.cookie-category.is-required { cursor: default; opacity: .78; }
.cookie-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.cookie-dialog-actions .button { min-height: 44px; }
body.cookie-open { overflow: hidden; }

.footer-legal { display: flex; align-items: center; gap: 14px; }
.footer-legal a,
.footer-cookie-settings { border: 0; padding: 0; background: transparent; color: #858594; font: 10px var(--font-display); cursor: pointer; }
.footer-legal a:hover,
.footer-cookie-settings:hover { color: #e8c9ff; }
.site-footer { grid-template-columns: 1fr auto auto auto; }

/* Legal pages use the same visual system without pretending the placeholders are final. */
.legal-page { min-height: 100vh; }
.legal-main { width: min(900px, calc(100% - 36px)); margin: 0 auto; padding: 150px 0 100px; }
.legal-header-card { padding: 38px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); }
.legal-header-card h1 { margin: 14px 0 12px; font-size: clamp(38px,7vw,66px); line-height: 1; letter-spacing: -.025em; }
.legal-header-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.legal-warning { margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(247,209,84,.25); border-radius: 13px; background: rgba(247,209,84,.055); color: #e4d49e; font-size: 12px; line-height: 1.55; }
.legal-content { display: grid; gap: 18px; margin-top: 28px; }
.legal-section { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.015); }
.legal-section h2 { margin: 0 0 12px; font-size: 23px; letter-spacing: -.02em; }
.legal-section h3 { margin: 20px 0 8px; font-size: 15px; }
.legal-section p,.legal-section li { color: #a5a5b2; font-size: 13px; line-height: 1.7; }
.legal-section ul { padding-left: 20px; }
.storage-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 12px; }
.storage-table th,.storage-table td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.storage-table th { color: #d9d9e2; background: rgba(255,255,255,.025); }
.storage-table td { color: #9f9fac; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

@media (max-width: 1080px) {
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1/-1; flex-wrap: wrap; }
}
@media (max-width: 860px) {
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-banner-actions .button:last-child { grid-column: 1/-1; }
}
@media (max-width: 720px) {
  .hero { overflow: hidden; }
  .brand-mark { width: 38px; height: 38px; }
  .proof-chip { width: 100%; }
  .cookie-banner { bottom: 10px; padding: 17px; border-radius: 18px; }
  .cookie-banner-actions { grid-template-columns: 1fr; }
  .cookie-banner-actions .button:last-child { grid-column: auto; }
  .cookie-dialog { padding: 26px 18px 20px; border-radius: 20px; }
  .cookie-dialog-actions { flex-direction: column-reverse; }
  .cookie-dialog-actions .button { width: 100%; }
  .cookie-category { gap: 12px; padding: 14px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-legal { grid-column: auto; }
  .storage-table { display: block; overflow-x: auto; }
}
.hero.is-paused .live-state i,
.hero.is-paused .request-stream::before,
.hero.is-paused .request-stream::after,
.hero.is-paused .request-packet,
.hero.is-paused .shield-rings i { animation-play-state: paused !important; }


/* === MonkeyShield v3: widened hero + full-bleed background fix === */
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"]::after { right: 0; }
@media (min-width: 1081px) {
  .hero.section-shell { width: min(1460px, calc(100% - 64px)); }
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(520px, .88fr); gap: 48px; }
  .hero-copy { max-width: 780px; }
}
.hero { overflow: visible; contain: layout; isolation: isolate; }
.hero-grid { inset: 95px calc(50% - 50vw) 0; }
@media (max-width: 720px) { .hero { overflow: hidden; } }


/* === MonkeyShield v4 shared refinements === */
.trust-track { min-width: 0; }
.trust-group { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { .trust-track { animation: none !important; transform: none !important; } }

.cta-button-row { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }
@media (max-width:720px){ .cta-button-row { justify-content:flex-start; } .cta-button-row .button { width:100%; } }
