/* Bankz AI Vault — black + neon green glass system */
:root {
  --bg: #020403;
  --bg-2: #040a07;
  --ink: #ecfff5;
  --ink-2: #b9d6c6;
  --muted: #a3c6b3;
  --g1: #00ff88;
  --g2: #39ff14;
  --em: #047857;
  --em-deep: #022c1e;
  --down: #ff5c7a;
  --warn: #ffd166;
  --glass: rgba(8, 26, 18, 0.55);
  --glass-2: rgba(10, 34, 24, 0.7);
  --glass-3: rgba(14, 44, 31, 0.6);
  --line: rgba(0, 255, 136, 0.14);
  --line-2: rgba(0, 255, 136, 0.28);
  --grad: linear-gradient(100deg, #39ff14 0%, #00ff88 55%, #2dffa8 100%);
  --grad-btn: linear-gradient(135deg, #39ff14 0%, #00ff88 50%, #00c76a 100%);
  --glow: 0 0 0 1px rgba(0, 255, 136, 0.25), 0 10px 40px -10px rgba(0, 255, 136, 0.45);
  --elev-1: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.5);
  --elev-2: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 50px -20px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.5);
  --elev-3: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 90px -30px rgba(0, 0, 0, 0.95), 0 0 60px -20px rgba(0, 255, 136, 0.25);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --f-display: "Sora", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --wrap: 1200px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  font-feature-settings: "ss01", "cv11";
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--g1); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--g1); color: #001b0e; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
section[id], [id="top"] { scroll-margin-top: calc(var(--nav-h) + 12px); }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; position: relative; }
.tab, .px, .k-v, .pc-v, .pl-v { font-variant-numeric: tabular-nums; }

/* ── background field ─────────────────────────────────────── */
.bg-field { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; will-change: transform; }
.orb-a { width: 720px; height: 720px; left: -220px; top: -260px; background: radial-gradient(circle, rgba(0, 255, 136, 0.42), transparent 65%); animation: drift 22s ease-in-out infinite alternate; }
.orb-b { width: 640px; height: 640px; right: -240px; top: 30vh; background: radial-gradient(circle, rgba(4, 120, 87, 0.6), transparent 65%); animation: drift 28s ease-in-out infinite alternate-reverse; }
.orb-c { width: 520px; height: 520px; left: 30vw; bottom: -280px; background: radial-gradient(circle, rgba(57, 255, 20, 0.22), transparent 65%); animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.08); } }
.grid-floor {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0, 255, 136, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 136, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}
.grain {
  position: absolute; inset: -50%; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── glass primitive (gradient hairline edge + specular) ──── */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 40, 28, 0.62), rgba(5, 16, 11, 0.72));
  border-radius: var(--r-lg);
  box-shadow: var(--elev-2);
  isolation: isolate;
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(0, 255, 136, 0.45), rgba(0, 255, 136, 0.06) 35%, rgba(255, 255, 255, 0.04) 65%, rgba(57, 255, 20, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  z-index: 1;
}

/* ── type ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--g1);
  padding: 8px 14px; border-radius: 999px; background: rgba(0, 255, 136, 0.07); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.22);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 10px var(--g1), 0 0 2px #fff; flex: none; }
.display {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(40px, 4.5vw, 66px); line-height: 1.03; margin-top: 22px;
}
.h2 { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.06; margin-top: 18px; text-wrap: balance; }
.h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; margin-bottom: 20px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 24px rgba(0, 255, 136, 0.28)); }
.lede { color: var(--ink-2); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; margin-top: 18px; max-width: 62ch; }
.fine { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* ── buttons ──────────────────────────────────────────────── */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--f-body); letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), background 0.24s var(--ease);
}
.btn .ic { width: 18px; height: 18px; }
.btn-primary { color: #00160b; background: var(--grad-btn); box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.6), 0 10px 30px -6px rgba(0, 255, 136, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55); position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.8s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.8), 0 18px 44px -8px rgba(0, 255, 136, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--ink); background: rgba(0, 255, 136, 0.06); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.3); }
.btn-ghost:hover { background: rgba(0, 255, 136, 0.12); transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.55), 0 10px 30px -12px rgba(0, 255, 136, 0.5); }
.btn:active { transform: scale(0.97); }
.btn-sm { --h: 44px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── chips ────────────────────────────────────────────────── */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font: 600 11px/1 var(--f-mono); letter-spacing: 0.04em; color: var(--ink-2); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); white-space: nowrap; }
.chip .ic { width: 12px; height: 12px; }
.chip-live { color: var(--g1); background: rgba(0, 255, 136, 0.08); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.28); }
.chip-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 8px var(--g1); animation: blink 1.6s ease-in-out infinite; }
.chip-ok { color: #9dffcf; background: rgba(0, 255, 136, 0.12); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.35); }
.chip-demo { color: #d9ffe9; background: rgba(4, 120, 87, 0.5); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.4); }
@keyframes blink { 50% { opacity: 0.35; } }

/* ── nav ──────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.nav.scrolled { background: rgba(2, 6, 4, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0, 0, 0, 0.9); }
.nav-in { width: min(1320px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand-mark { width: 38px; height: 38px; filter: drop-shadow(0 0 14px rgba(0, 255, 136, 0.45)); }
.brand-word { font: 600 18px/1 var(--f-display); letter-spacing: -0.02em; color: var(--ink-2); white-space: nowrap; }
.brand-word b { color: var(--ink); font-weight: 800; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 10px 13px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); background: rgba(0, 255, 136, 0.08); }
.nav-links a.on { box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.25); color: var(--g1); }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: rgba(0, 255, 136, 0.08); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.3); align-items: center; justify-content: center; cursor: pointer; }
.nav-burger .ic { width: 22px; height: 22px; }

.mnav { position: fixed; inset: 0; z-index: 80; background: rgba(1, 4, 3, 0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mnav[hidden] { display: none; }
.mnav-panel { position: absolute; inset: 10px 10px auto 10px; padding: 18px; border-radius: 24px; background: linear-gradient(180deg, #071a11, #030a06); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.25), 0 30px 80px rgba(0, 0, 0, 0.8); display: flex; flex-direction: column; gap: 6px; animation: sheet 0.35s var(--ease); padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
@keyframes sheet { from { transform: translateY(-12px); opacity: 0; } }
.mnav-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px; }
.mnav-close { width: 46px; height: 46px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, 0.06); display: grid; place-items: center; cursor: pointer; }
.mnav a:not(.btn) { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 16px; border-radius: 14px; background: rgba(0, 255, 136, 0.04); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.1); font-weight: 600; }
.mnav a em { font-style: normal; color: var(--g1); font: 600 12px var(--f-mono); margin-left: 8px; }
.mnav .btn { margin-top: 8px; }

/* ── hero ─────────────────────────────────────────────────── */
.hero { padding: 48px 0 40px; }
.hero-in { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; min-height: calc(100vh - var(--nav-h) - 140px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: nowrap; gap: 10px 18px; margin-top: 30px; color: var(--ink-2); font-size: 14px; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .ic { color: var(--g1); }
.hero-proof b { color: var(--ink); }

.hero-stage { position: relative; perspective: 1400px; margin-bottom: 120px; }
.stage-glow { position: absolute; inset: 8% 4% 0 8%; background: radial-gradient(ellipse at 50% 55%, rgba(0, 255, 136, 0.35), transparent 62%); filter: blur(30px); }
.win { overflow: hidden; }
.win-main { position: relative; box-shadow: var(--elev-3); transform: rotateY(-7deg) rotateX(3deg); transform-style: preserve-3d; transition: transform 0.6s var(--ease); }
.win-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); position: relative; z-index: 2; }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.lights i:first-child { background: rgba(0, 255, 136, 0.7); box-shadow: 0 0 8px rgba(0, 255, 136, 0.7); }
.win-title { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--f-display); color: var(--ink-2); }
.win-title .ic { width: 18px; height: 18px; color: var(--g1); }
.win-bar .chip { margin-left: auto; }
.hero-dash { display: grid; grid-template-columns: 52px 1fr; min-height: 420px; position: relative; z-index: 2; }
.mini-rail { display: flex; flex-direction: column; gap: 8px; padding: 12px 8px; border-right: 1px solid var(--line); background: rgba(0, 0, 0, 0.18); }
.mini-rail span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.mini-rail span.on { color: var(--g1); background: rgba(0, 255, 136, 0.12); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.3); }
.hero-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 14px; background: rgba(0, 255, 136, 0.04); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.k-l { font: 600 11px var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-v { font: 800 22px/1.1 var(--f-display); letter-spacing: -0.02em; }
.k-v small { font-size: 13px; color: var(--muted); margin-left: 2px; }
.k-s { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.k-s.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 6px var(--g1); }

.chart-card { border-radius: 14px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 20, 12, 0.35)); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12); overflow: hidden; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chart-head { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid rgba(0, 255, 136, 0.08); font: 600 12px var(--f-mono); }
.chart-head .sym { color: var(--ink); font-weight: 700; letter-spacing: 0.02em; }
.chart-head .tf { color: #00160b; background: var(--g1); padding: 3px 7px; border-radius: 6px; font-size: 11px; }
.chart-head .px { color: var(--g1); margin-left: 2px; }
.chart-head .px.dn { color: var(--down); }
.chart-head .chip { margin-left: auto; height: 20px; font-size: 10px; }
canvas.candles { width: 100%; flex: 1; min-height: 220px; }

.float { position: absolute; padding: 14px 16px; border-radius: 18px; box-shadow: var(--elev-3); backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%); background: linear-gradient(180deg, rgba(10, 36, 25, 0.82), rgba(3, 14, 9, 0.88)); z-index: 3; }
.float-chat { width: 290px; right: -28px; bottom: -112px; animation: bob 7s ease-in-out infinite; }
.float-hq { width: 250px; left: -28px; bottom: -128px; animation: bob 8s ease-in-out -3s infinite; }
@keyframes bob { 50% { translate: 0 -8px; } }
.f-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; position: relative; z-index: 2; }
.f-head b { font: 700 14px var(--f-display); }
.f-head .t { margin-left: auto; font: 500 12px var(--f-mono); color: var(--ink-2); }
.float p { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); position: relative; z-index: 2; }
.float p b { color: var(--ink); }
.f-tags { display: flex; gap: 6px; margin-top: 10px; position: relative; z-index: 2; }
.av { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.av .ic { width: 16px; height: 16px; }
.av-bot { color: #00160b; background: var(--grad-btn); box-shadow: 0 0 16px rgba(0, 255, 136, 0.5); }
.av-hq { color: var(--g1); background: rgba(0, 255, 136, 0.12); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.35); }
.av-gold { color: #1a1300; background: linear-gradient(135deg, #ffe08a, #f5b82e); box-shadow: 0 0 14px rgba(245, 184, 46, 0.45); }
.hq-bars { display: grid; gap: 8px; position: relative; z-index: 2; }
.hq-bars em { font: 600 11px var(--f-mono); font-style: normal; color: var(--g1); margin-left: auto; margin-right: 10px; }
.hq-bars div { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(0, 255, 136, 0.05); font-size: 13px; color: var(--ink-2); }
.hq-bars b { font: 800 16px var(--f-display); color: var(--g1); }

.ticker-wrap { margin-top: 70px; }
.ticker { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); border-block: 1px solid var(--line); padding: 18px 0; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.ticker-track span { font: 600 15px var(--f-display); color: var(--ink-2); letter-spacing: -0.01em; white-space: nowrap; }
.ticker-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 10px var(--g1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── sections ─────────────────────────────────────────────── */
.sec { padding: 120px 0; position: relative; }
.sec-head { max-width: 780px; margin-bottom: 56px; }
.offer { border-top: 1px solid transparent; }
.offer::before { content: ""; position: absolute; left: 50%; top: 0; width: min(1100px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.5), transparent); }
.offer-alt { background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(4, 120, 87, 0.18), transparent 70%); }

/* vault overview */
.vault-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vault-line { display: none; position: absolute; left: 0; right: 0; top: 40px; width: 100%; height: 120px; opacity: 0.6; }
.flow-dash { animation: dash 2.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -64; } }
.vstep { padding: 28px 24px 26px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.vstep:hover { transform: translateY(-6px); box-shadow: var(--elev-3); }
.vnum { position: absolute; right: 20px; top: 18px; font: 700 40px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(0, 255, 136, 0.3); }
.vic, .t-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--g1); background: radial-gradient(circle at 30% 20%, rgba(0, 255, 136, 0.35), rgba(0, 255, 136, 0.06)); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.35), 0 0 30px -6px rgba(0, 255, 136, 0.6); margin-bottom: 18px; }
.vic .ic, .t-ic .ic { width: 24px; height: 24px; }
.vstep h3, .trust h3 { font: 700 20px/1.25 var(--f-display); letter-spacing: -0.015em; margin-bottom: 8px; }
.vstep p, .trust p { color: var(--ink-2); font-size: 15px; }
.offer-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.orail { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; column-gap: 12px; padding: 22px 24px; min-height: 120px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.orail:hover { transform: translateY(-4px); box-shadow: var(--elev-3); }
.orail .o-n { font: 600 11px var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.orail b { font: 700 18px/1.3 var(--f-display); margin-top: 6px; }
.orail .o-p { font: 700 15px var(--f-mono); color: var(--g1); margin-top: 6px; }
.orail .ic { grid-column: 2; grid-row: 1 / 4; align-self: center; width: 22px; height: 22px; color: var(--g1); transition: transform 0.3s var(--ease); }
.orail:hover .ic { transform: translateX(4px); }
.featured { background: linear-gradient(180deg, rgba(0, 90, 55, 0.55), rgba(4, 22, 14, 0.8)); box-shadow: var(--elev-3), 0 0 0 1px rgba(0, 255, 136, 0.3); }

/* offer header + price */
.offer-head { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: end; margin-bottom: 48px; }
.price-card { padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.price-card > * { position: relative; z-index: 2; }
.pc-l { font: 600 11px var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pc-v { font: 800 44px/1.05 var(--f-display); letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-v small { font-size: 20px; letter-spacing: -0.01em; }
.pc-v.long { font-size: 38px; }
.pc-v.long small { display: block; font-size: 22px; margin-top: 4px; }
.pc-s { color: var(--ink-2); font-size: 14px; margin-bottom: 14px; }
.badge { align-self: flex-start; display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--grad-btn); color: #00160b; font: 700 11px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; box-shadow: 0 0 20px rgba(0, 255, 136, 0.45); }

/* mockups */
.mock { overflow: hidden; box-shadow: var(--elev-3); margin-bottom: 28px; }
.mock > * { position: relative; z-index: 2; }

/* copier */
.copier-body { display: grid; grid-template-columns: 1fr 110px 1.35fr 1fr; gap: 16px; padding: 18px; align-items: stretch; }
.cp-card { height: 100%; padding: 16px; border-radius: 16px; background: rgba(0, 0, 0, 0.28); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12); display: flex; flex-direction: column; gap: 12px; }
.cp-h { display: flex; align-items: center; gap: 10px; }
.cp-h b { font: 700 14px var(--f-display); display: block; }
.cp-h small { color: var(--muted); font-size: 12px; }
.cp-h .chip { margin-left: auto; }
.sig-list { display: grid; gap: 8px; }
.sig-list li { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 10px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); font-size: 12.5px; }
.sig-list b { font: 700 13px var(--f-mono); }
.sig-list span:not(.side) { grid-column: 2; color: var(--muted); font-family: var(--f-mono); font-size: 11.5px; }
.sig-list time { grid-column: 3; grid-row: 1 / 3; align-self: center; color: var(--muted); font: 500 11px var(--f-mono); }
.side { grid-row: 1 / 3; align-self: center; padding: 5px 8px; border-radius: 8px; font: 700 11px var(--f-mono); }
.side.buy { color: #00160b; background: var(--g1); }
.side.sell { color: #fff; background: rgba(255, 92, 122, 0.85); }
.cp-beam { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.cp-beam > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.beam-core { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #00160b; background: var(--grad-btn); box-shadow: 0 0 0 8px rgba(0, 255, 136, 0.1), 0 0 40px rgba(0, 255, 136, 0.7); animation: pulse 2.4s ease-in-out infinite; }
.beam-core .ic { width: 24px; height: 24px; }
.cp-beam small { position: relative; font: 600 10.5px/1.35 var(--f-mono); color: var(--g1); letter-spacing: 0.05em; text-transform: uppercase; background: var(--bg); padding: 2px 4px; border-radius: 6px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(0, 255, 136, 0.04), 0 0 60px rgba(0, 255, 136, 0.9); } }
.cp-chart .chart-card { height: 100%; }
.cp-chart canvas.candles { min-height: 260px; }
.cp-rules { margin: 0; display: grid; gap: 6px; }
.cp-rules div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); font-size: 12.5px; }
.cp-rules dt { color: var(--muted); }
.cp-rules dd { margin: 0; font: 600 12px var(--f-mono); color: var(--ink); }
.cp-log { display: grid; gap: 6px; margin-top: auto; }
.cp-log span { display: flex; align-items: center; gap: 8px; font: 500 11.5px var(--f-mono); color: #9dffcf; }
.cp-log .ic { width: 14px; height: 14px; color: var(--g1); }

/* terminal */
.term-tabs { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); overflow: hidden; }
.term-tabs .tt { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 10px; font: 600 12.5px var(--f-body); color: var(--muted); white-space: nowrap; }
.term-tabs .tt .ic { width: 15px; height: 15px; }
.term-tabs .tt.on { color: var(--g1); background: rgba(0, 255, 136, 0.1); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.35); }
.term-body { display: grid; grid-template-columns: 1fr 300px; gap: 14px; padding: 14px; }
.term-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.tchart { border-radius: 14px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 20, 12, 0.35)); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.14); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: box-shadow 0.3s; }
.tchart:first-child { box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.5), 0 0 30px -10px rgba(0, 255, 136, 0.6); }
.tchart canvas.candles { min-height: 200px; }
.ticket { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; padding: 8px; border-top: 1px solid rgba(0, 255, 136, 0.08); }
.ticket span { display: grid; place-items: center; height: 30px; border-radius: 8px; font: 700 11px var(--f-mono); }
.ticket .sell { background: rgba(255, 92, 122, 0.85); color: #fff; }
.ticket .buy { background: var(--g1); color: #00160b; }
.ticket .lot { padding: 0 12px; background: rgba(255, 255, 255, 0.05); color: var(--ink); }
.term-rail { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tr-card { padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12); display: flex; flex-direction: column; gap: 8px; }
.tr-h { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.tr-h .ic { color: var(--g1); width: 16px; height: 16px; }
.tr-h b { font: 700 13.5px var(--f-display); }
.tr-h .chip { margin-left: auto; }
.acct { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); font-size: 12.5px; }
.acct b { font-weight: 600; }
.acct .tab { margin-left: auto; font: 600 12px var(--f-mono); color: var(--ink-2); }
.acct .dot.warn { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.spark-row { display: flex; flex-direction: column; gap: 4px; font: 500 11px var(--f-mono); color: var(--muted); }
.spark { width: 100%; height: 36px; filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.6)); }
.feed-item { display: flex; gap: 10px; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.feed-item p { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.feed-item p b { color: var(--ink); }
.fi-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; color: var(--g1); background: rgba(0, 255, 136, 0.1); }
.fi-ic .ic { width: 14px; height: 14px; }
.fi-ic.news { color: #b6ffdc; background: rgba(4, 120, 87, 0.45); }
.fi-ic.warn { color: var(--warn); background: rgba(255, 209, 102, 0.1); }

/* chat strip */
.chat-strip { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-bottom: 28px; align-items: start; }
.chat-mock { padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--elev-3); }
.chat-mock > * { position: relative; z-index: 2; }
.cm-h { display: flex; align-items: center; gap: 10px; }
.cm-h b { font: 700 15px var(--f-display); }
.cm-h .chip { margin-left: auto; }
.bubble { padding: 12px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; max-width: 88%; }
.bubble.me, .bubble.lead { align-self: flex-end; background: rgba(255, 255, 255, 0.07); border-bottom-right-radius: 6px; color: var(--ink); }
.bubble.lead { align-self: flex-start; border-bottom-right-radius: 16px; border-bottom-left-radius: 6px; }
.bubble.ai { align-self: flex-start; background: linear-gradient(180deg, rgba(0, 255, 136, 0.13), rgba(0, 255, 136, 0.05)); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.25); border-bottom-left-radius: 6px; color: var(--ink-2); }
.bubble.ai.sm { align-self: flex-end; border-bottom-left-radius: 16px; border-bottom-right-radius: 6px; display: flex; gap: 8px; align-items: flex-start; }
.bubble.ai.sm .ic { width: 15px; height: 15px; color: var(--g1); margin-top: 3px; }
.bubble b { color: var(--ink); }
.ai-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ai-actions span { font: 600 12px var(--f-body); color: var(--g1); padding: 7px 11px; border-radius: 999px; background: rgba(0, 255, 136, 0.08); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.3); }
.composer { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 8px 0 16px; border-radius: 14px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.18); color: var(--muted); font-size: 14px; }
.composer .ic { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--grad-btn); color: #00160b; }
.detail-col { display: grid; gap: 20px; }

/* hq mesh */
.hq-body { display: grid; grid-template-columns: 1fr 340px; gap: 14px; padding: 14px; }
.mesh { position: relative; aspect-ratio: 600 / 420; border-radius: 16px; background: radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, 0.08), rgba(0, 0, 0, 0.35) 70%); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12); overflow: hidden; }
.mesh-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.core-pulse { animation: corep 3s ease-in-out infinite; transform-origin: 300px 210px; }
@keyframes corep { 50% { transform: scale(1.15); opacity: 0.75; } }
.node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 14px; border-radius: 14px; background: linear-gradient(180deg, rgba(10, 40, 27, 0.95), rgba(3, 14, 9, 0.95)); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.35), 0 10px 30px rgba(0, 0, 0, 0.6); text-align: center; min-width: 118px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.node:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.7), 0 0 30px rgba(0, 255, 136, 0.4); }
.node .ic { color: var(--g1); width: 20px; height: 20px; }
.node b { font: 700 13px var(--f-display); }
.node small { font-size: 11px; color: var(--muted); }
.node.core { background: var(--grad-btn); color: #00160b; min-width: 140px; padding: 14px 18px; box-shadow: 0 0 0 6px rgba(0, 255, 136, 0.12), 0 0 50px rgba(0, 255, 136, 0.6); }
.node.core .ic { color: #00160b; width: 24px; height: 24px; }
.node.core small { color: #013d22; }
.hq-rail { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hq-rail .bubble { font-size: 13px; max-width: 92%; }
.week { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: end; height: 110px; }
.week div { height: 100%; display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; }
.week span { font: 600 10.5px var(--f-mono); color: var(--muted); }
.week i { width: 100%; height: var(--h); border-radius: 8px; background: linear-gradient(180deg, rgba(0, 255, 136, 0.55), rgba(4, 120, 87, 0.25)); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.3); }
.week i.hot { background: var(--grad-btn); box-shadow: 0 0 20px rgba(0, 255, 136, 0.6); }

/* detail panels */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.detail-grid.g-31 { grid-template-columns: 1.5fr 1fr; }
.panel { padding: 28px; }
.panel > * { position: relative; z-index: 2; }
.ph { display: flex; align-items: center; gap: 12px; font: 700 20px var(--f-display); letter-spacing: -0.015em; margin-bottom: 18px; }
.ph .ic { width: 22px; height: 22px; color: var(--g1); padding: 0; }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 7px; background: rgba(0, 255, 136, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff88' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.35); }
.ticks.sm li { font-size: 14.5px; }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.incl li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(0, 255, 136, 0.04); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12); font-size: 14.5px; font-weight: 500; transition: background 0.25s, transform 0.25s var(--ease); }
.incl li:hover { background: rgba(0, 255, 136, 0.09); transform: translateY(-2px); }
.incl .ic { color: var(--g1); width: 18px; height: 18px; }
.tline { position: relative; display: grid; gap: 16px; padding-left: 26px; }
.tline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--g2), var(--g1), rgba(4, 120, 87, 0.2)); border-radius: 2px; box-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
.tline li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.tline li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 3px var(--g1), 0 0 12px rgba(0, 255, 136, 0.6); }
.tline span { font: 600 11.5px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--g1); }
.tline b { font: 600 15.5px var(--f-body); }

/* steps */
.howto { margin: 56px 0 36px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps.s5 { grid-template-columns: repeat(5, 1fr); }
.steps li { padding: 24px 20px 22px; display: flex; flex-direction: column; gap: 8px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.steps li:hover { transform: translateY(-4px); box-shadow: var(--elev-3); }
.steps li > * { position: relative; z-index: 2; }
.steps li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 44px; width: 12px; height: 2px; background: var(--g1); box-shadow: 0 0 8px var(--g1); z-index: 3; }
.s-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 800 17px var(--f-display); color: #00160b; background: var(--grad-btn); box-shadow: 0 0 22px rgba(0, 255, 136, 0.45); margin-bottom: 6px; }
.steps b { font: 700 17px var(--f-display); letter-spacing: -0.01em; }
.steps p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* faq */
.faq { margin: 56px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq .h3 { grid-column: 1 / -1; margin-bottom: 6px; }
.faq details { border-radius: 18px; }
.faq summary { position: relative; z-index: 2; list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 22px; font: 600 16px var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--g1); transition: transform 0.3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details[open] { box-shadow: var(--elev-3); }
.faq details p { position: relative; z-index: 2; padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; line-height: 1.6; animation: fadeIn 0.35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } }

/* risk + cta bar */
.risk { display: flex; gap: 16px; padding: 20px 22px; margin-bottom: 28px; background: linear-gradient(180deg, rgba(40, 30, 0, 0.35), rgba(10, 10, 4, 0.6)); }
.risk::before { background: linear-gradient(160deg, rgba(255, 209, 102, 0.5), rgba(255, 209, 102, 0.06) 50%, rgba(255, 209, 102, 0.25)); }
.risk > * { position: relative; z-index: 2; }
.risk .ic { color: var(--warn); width: 22px; height: 22px; margin-top: 2px; }
.risk p { font-size: 14px; color: #e6dcc0; line-height: 1.6; }
.risk b { color: #fff3cf; }
.cta-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; background: linear-gradient(100deg, rgba(0, 110, 66, 0.45), rgba(4, 20, 13, 0.85) 60%); box-shadow: var(--elev-3); }
.cta-bar > * { position: relative; z-index: 2; }
.cta-bar b { display: block; font: 700 20px var(--f-display); letter-spacing: -0.015em; }
.cta-bar span { color: var(--ink-2); font-size: 15px; }
.cta-bar .btn span { color: inherit; }

/* compare */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; margin-bottom: 28px; }
.plan { padding: 30px 26px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.plan > * { position: relative; z-index: 2; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--elev-3); }
.plan.featured { transform: translateY(-10px); }
.plan.featured:hover { transform: translateY(-14px); }
.pl-n { font: 600 11px var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.plan h3 { font: 700 23px/1.2 var(--f-display); letter-spacing: -0.02em; }
.pl-v { font: 800 32px/1.1 var(--f-display); letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-v small { font-size: 15px; }
.pl-d { color: var(--ink-2); font-size: 15px; }
.plan .ticks { margin: 8px 0 18px; flex: 1; }
.matrix-wrap { padding: 8px; overflow-x: auto; }
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; position: relative; z-index: 2; min-width: 640px; }
.matrix th, .matrix td { padding: 15px 18px; text-align: center; font-size: 14.5px; border-bottom: 1px solid rgba(0, 255, 136, 0.08); }
.matrix th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink-2); }
.matrix thead th { font: 700 14px var(--f-display); color: var(--ink); }
.matrix thead th:nth-child(3), .matrix td:nth-child(3) { background: rgba(0, 255, 136, 0.06); }
.matrix .ic.y { margin: 0 auto; color: var(--g1); width: 20px; height: 20px; filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.7)); }
.matrix .n { color: var(--muted); font-size: 13px; }
.matrix .price-row td { font: 700 14px var(--f-mono); color: var(--g1); border-bottom: 0; }
.matrix .price-row th { border-bottom: 0; }

/* process */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust { padding: 28px 24px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.trust > * { position: relative; z-index: 2; }
.trust:hover { transform: translateY(-6px); box-shadow: var(--elev-3); }
.journey { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 56px; position: relative; }
.journey::before { content: ""; position: absolute; left: 10%; right: 10%; top: 11px; height: 2px; background: linear-gradient(90deg, var(--g2), var(--g1), var(--em)); box-shadow: 0 0 14px rgba(0, 255, 136, 0.6); }
.journey li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; position: relative; }
.j-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 4px var(--g1), 0 0 18px rgba(0, 255, 136, 0.8); margin-bottom: 8px; }
.journey b { font: 700 17px var(--f-display); }
.journey small { color: var(--muted); font-size: 13.5px; }

/* final */
.final-card { text-align: center; padding: 72px 40px 56px; display: flex; flex-direction: column; align-items: center; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(0, 255, 136, 0.22), transparent 70%), linear-gradient(180deg, rgba(8, 32, 22, 0.8), rgba(2, 10, 6, 0.9)); box-shadow: var(--elev-3); }
.final-card > * { position: relative; z-index: 2; }
.final-card .lede { margin-inline: auto; }
.vault-door { width: 150px; height: 150px; margin-bottom: 22px; filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.5)); }
.door-spin { transform-origin: 100px 100px; animation: spin 24s linear infinite; }
.door-spin-r { transform-origin: 100px 100px; animation: spin 12s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.final-ctas { margin-top: 32px; }
.book-note { margin-top: 14px; color: var(--warn); font-size: 14px; }
.final-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; color: var(--ink-2); font-size: 14.5px; }
.final-list li { display: flex; align-items: center; gap: 8px; }
.final-list .ic { color: var(--g1); }

/* footer */
.foot { padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0, 20, 12, 0.5)); }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot-links a { padding: 10px 12px; border-radius: 999px; color: var(--ink-2); font-size: 14px; }
.foot-links a:hover { color: var(--g1); background: rgba(0, 255, 136, 0.07); }
.foot-risk { margin-top: 32px; padding: 22px 24px; border-radius: 18px; background: rgba(255, 209, 102, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.22); }
.foot-risk h2 { font: 600 12px var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--warn); margin-bottom: 10px; }
.foot-risk p { color: #cfc6ae; font-size: 13.5px; line-height: 1.65; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 13px; }

.m-dock { display: none; }

/* reveal */
.js .rv { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ── responsive ───────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 64px; min-height: 0; }
  .hero-stage { max-width: 760px; width: 100%; margin-inline: auto; }
  .copier-body { grid-template-columns: 1fr 80px 1fr; }
  .cp-chart { grid-column: 1 / -1; order: 4; }
  .term-body, .hq-body { grid-template-columns: 1fr; }
  .term-rail, .hq-rail { display: grid; grid-template-columns: 1fr 1fr; }
  .steps.s5 { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .offer-head { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .vault-flow, .steps { grid-template-columns: 1fr 1fr; }
  .vault-line { display: none; }
  .offer-rail, .plans { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .chat-strip, .detail-grid, .detail-grid.g-31 { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  body { font-size: 15.5px; }
  .eyebrow { letter-spacing: 0.1em; font-size: 11px; }
  .m-dock { --h: 50px; }
  .wrap { width: calc(100% - 32px); }
  .nav-in { width: calc(100% - 28px); gap: 10px; }
  .nav-cta { display: none; }
  .nav-burger { margin-left: auto; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-word { font-size: 17px; }
  .hero { padding: 24px 0 24px; }
  .display { font-size: clamp(36px, 10.4vw, 46px); }
  .h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { flex-direction: column; gap: 10px; }
  .hero-stage { min-height: 0; padding: 40px 0 56px; }
  .win-main { transform: none; }
  .hero-dash { grid-template-columns: 1fr; min-height: 0; }
  .mini-rail { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .hide-s { display: none !important; }
  canvas.candles { min-height: 200px; }
  .float-chat { width: auto; left: 10px; right: 10px; top: auto; bottom: -6px; position: relative; margin-top: -30px; }
  .float-hq { display: none; }
  .ticker-wrap { margin-top: 36px; }
  .sec { padding: 80px 0; }
  .sec-head { margin-bottom: 36px; }
  .vault-flow, .steps, .steps.s5, .trust-grid { grid-template-columns: 1fr; }
  .vstep, .trust { padding: 22px 20px; }
  .vstep { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
  .vstep .vic { grid-row: 1 / 3; margin: 0; }
  .vstep h3 { margin-top: 2px; }
  .pc-v { font-size: 38px; }
  .copier-body { grid-template-columns: 1fr; padding: 12px; }
  .cp-beam { flex-direction: row; min-height: 64px; }
  .cp-beam svg { transform: rotate(90deg) scale(0.6); }
  .cp-chart { order: 0; }
  .term-tabs { padding: 8px 10px; }
  .term-body, .hq-body { padding: 10px; }
  .term-grid { grid-template-columns: 1fr; }
  .term-rail, .hq-rail { grid-template-columns: 1fr; }
  .mesh { aspect-ratio: 1 / 1.05; }
  .node { min-width: 0; padding: 7px 8px; }
  .node small { display: none; }
  .node b { font-size: 11px; }
  .node .ic { width: 16px; height: 16px; }
  .node.core { min-width: 0; padding: 10px 12px; }
  .mesh-svg { transform: scaleY(1.2); }
  .panel { padding: 22px 18px; }
  .incl { grid-template-columns: 1fr; }
  .howto, .faq { margin: 40px 0 24px; }
  .cta-bar { flex-direction: column; align-items: stretch; padding: 22px 20px; }
  .cta-bar .btn { width: 100%; }
  .risk { padding: 18px; }
  .journey { grid-template-columns: 1fr; gap: 18px; padding-left: 8px; }
  .journey::before { left: 19px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .journey li { flex-direction: row; text-align: left; gap: 14px; flex-wrap: wrap; }
  .journey li .j-dot { margin: 0; }
  .journey small { flex-basis: 100%; padding-left: 38px; margin-top: -8px; }
  .final-card { padding: 48px 20px 40px; }
  .final-ctas .btn { width: 100%; }
  .final-ctas { width: 100%; }
  .final-list { flex-direction: column; align-items: center; }
  .m-dock { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; transform: translateY(140%); transition: transform 0.4s var(--ease); }
  .m-dock.show { transform: none; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .foot-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .pulses { display: none; }
}

/* ── round 2: hairline glass on inner cards, states, media ── */
.kpi, .cp-card, .tr-card, .chart-card, .tchart, .acct, .feed-item { position: relative; }
.kpi::after, .cp-card::after, .tr-card::after, .chart-card::after, .tchart::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(170deg, rgba(0, 255, 136, 0.42), rgba(0, 255, 136, 0.04) 40%, rgba(255, 255, 255, 0.03) 70%, rgba(57, 255, 20, 0.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.kpi, .cp-card, .tr-card { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px -18px rgba(0, 0, 0, 0.9); }
/* chart skeleton until the canvas paints */
.chart-card, .tchart { background-image: linear-gradient(100deg, transparent 30%, rgba(0, 255, 136, 0.06) 50%, transparent 70%), linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 20, 12, 0.35)); background-size: 200% 100%, 100% 100%; animation: shimmer 1.6s linear infinite; }
.chart-card.painted, .tchart.painted { animation: none; background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 20, 12, 0.35)); }
@keyframes shimmer { from { background-position: 150% 0, 0 0; } to { background-position: -50% 0, 0 0; } }
.wait-state { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(0, 255, 136, 0.05); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.18); margin-top: auto; }
.wait-state b { display: block; font: 600 13px var(--f-body); }
.wait-state small { color: var(--muted); font-size: 12px; }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(0, 255, 136, 0.2); border-top-color: var(--g1); animation: spin 0.9s linear infinite; flex: none; }
.feed-item.empty { background: transparent; outline: 1px dashed rgba(0, 255, 136, 0.25); outline-offset: -1px; }
.chip-warn { color: var(--warn); background: rgba(255, 209, 102, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.35); }
.hq-scene { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; margin-bottom: 28px; }
.scene { margin: 0; overflow: hidden; border-radius: var(--r-lg); min-height: 300px; }
.scene img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transform: scale(1.03); transition: transform 1.2s var(--ease); }
.scene:hover img { transform: scale(1.07); }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 8, 5, 0.92) 0%, rgba(1, 8, 5, 0.2) 50%, transparent 70%); z-index: 1; }
.scene figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 3; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.scene figcaption b { font: 700 22px/1.2 var(--f-display); letter-spacing: -0.015em; }
.scene figcaption small { color: var(--ink-2); font-size: 14px; }
.pin { position: absolute; left: var(--x); top: var(--y); z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font: 600 12px var(--f-body); background: rgba(2, 12, 7, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.45), 0 0 20px rgba(0, 255, 136, 0.3); white-space: nowrap; }
.pin i { width: 8px; height: 8px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 10px var(--g1); animation: blink 1.6s infinite; }
.inbox { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.inbox > * { position: relative; z-index: 2; }
.inbox ul { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.inbox li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); transition: background 0.25s; }
.inbox li:hover { background: rgba(0, 255, 136, 0.07); }
.inbox li div { min-width: 0; flex: 1; }
.inbox li b { display: block; font: 600 14px var(--f-body); }
.inbox li small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ava { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 13px var(--f-display); color: #00160b; background: radial-gradient(circle at 30% 25%, #fff 0%, var(--a) 30%, var(--b) 100%); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(0, 255, 136, 0.35); }
.agenda { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; width: min(760px, 100%); text-align: left; }
.agenda li { padding: 16px 18px; border-radius: 16px; display: flex; flex-direction: column; gap: 2px; }
.agenda li > * { position: relative; z-index: 2; }
.agenda span { font: 700 12px var(--f-mono); color: var(--g1); letter-spacing: 0.1em; }
.agenda b { font: 700 16px var(--f-display); }
.agenda small { color: var(--muted); font-size: 13px; }
.book-note { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; color: var(--warn); }
.book-note[hidden] { display: none; }
.book-note > * { position: relative; z-index: 2; }
/* single-section view (?section=id) for sharing one offer */
.solo main > section:not(.solo-on) { display: none; }
.solo .solo-on { padding-top: 40px; }
.solo .solo-on .solo-pre { display: none; }
@media (max-width: 900px) {
  .hq-scene { grid-template-columns: minmax(0, 1fr); }
  .scene { min-height: 0; aspect-ratio: 16 / 10; }
  .agenda { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) { .float-chat { right: 0; } .float-hq { left: 0; } }
@media (max-width: 640px) {
  .hero-stage { margin-bottom: 0; padding: 8px 0 0; }
  .float-chat { bottom: auto; margin-top: 14px; left: 0; right: 0; }
  .ticker-wrap { margin-top: 28px; }
  .hero-proof { flex-direction: column; }
  .scene figcaption b { font-size: 18px; }
  .scene figcaption small { display: none; }
  .pin { font-size: 11px; padding: 6px 10px; }
  .m-dock { left: 50%; right: auto; transform: translate(-50%, 140%); width: min(320px, calc(100% - 32px)); backdrop-filter: blur(10px); }
  .m-dock.show { transform: translate(-50%, 0); }
}

.win-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.win-title .ic { flex: none; }

/* ── round 3 ─────────────────────────────────────────────── */
.eyebrow.sm { font-size: 11px; padding: 6px 12px; margin-bottom: 12px; }
.faq-head { grid-column: 1 / -1; }
.faq-head .h3 { margin-bottom: 6px; }
.mini { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(0, 255, 136, 0.1); }
.vstep .mini, .trust .mini { position: relative; z-index: 2; }
.mini .bar { flex: 1; min-width: 80px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.mini .bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad-btn); box-shadow: 0 0 12px rgba(0, 255, 136, 0.7); }
.mini-l { font: 600 12px var(--f-mono); color: var(--ink-2); }
.toggle { width: 34px; height: 20px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); position: relative; flex: none; }
.toggle i { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #cfe; transition: left .3s; }
.toggle.on { background: var(--g1); box-shadow: 0 0 12px rgba(0, 255, 136, 0.6); }
.toggle.on i { left: 17px; background: #00160b; }
.mini .spark { height: 30px; }
.vault-flow .vstep:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 52px; width: 12px; height: 2px; background: var(--g1); box-shadow: 0 0 8px var(--g1); z-index: 3; }
.kpi { overflow: hidden; }
.kspark { width: 100%; height: 18px; margin-top: 4px; filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.7)); }
.k-s em { font-style: normal; color: var(--g1); font-weight: 600; }
.equity { display: flex; flex-direction: column; gap: 6px; }
.eq-h, .eq-f { display: flex; justify-content: space-between; align-items: center; font: 600 12px var(--f-mono); color: var(--ink-2); }
.seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.seg i { font-style: normal; padding: 3px 7px; border-radius: 6px; font-size: 11px; }
.seg i.on { background: var(--g1); color: #00160b; }
.eq-svg { width: 100%; height: 70px; filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.45)); }
.chat-strip { align-items: stretch; }
.chat-mock .composer { margin-top: auto; }
.scene { background: radial-gradient(ellipse at 60% 40%, rgba(0, 255, 136, 0.18), #020806 70%); }
.fine, .journey small, .agenda small, .node small, .cp-h small, .sig-list span:not(.side) { font-size: 13px; }
.k-l { color: var(--ink-2); }
@media (max-width: 640px) {
  .lights { display: none; }
  .win-bar { padding: 0 12px; }
  .vnum { display: none; }
  .vstep .mini { grid-column: 1 / -1; }
  .term-tabs { mask-image: linear-gradient(90deg, #000 80%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .term-tabs .tt { scroll-snap-align: start; }
  .inbox li { flex-wrap: wrap; }
  .inbox li small { white-space: normal; }
  .inbox li .chip { margin-left: 50px; }
  .pin { max-width: calc(100% - 24px); }
  .pin:nth-of-type(1) { --x: 30% !important; --y: 14% !important; }
  .pin:nth-of-type(2) { --x: 6% !important; --y: 34% !important; }
  .panel, .trust, .vstep { padding: 20px 18px; }
}
@media (max-width: 900px) { .vault-flow .vstep::after { display: none !important; } }
@media (max-width: 640px) {
  .inbox li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; }
  .inbox li .chip { grid-column: 2; justify-self: start; margin-left: 0; }
  .trust { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
  .trust .t-ic { grid-row: 1 / 3; margin: 0; }
  .trust .mini { grid-column: 1 / -1; }
}
/* ── round 4 ─────────────────────────────────────────────── */
.wt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-title { display: inline-flex; min-width: 0; }
.float-chat { bottom: -150px; }
.float-hq { bottom: -165px; }
.hero-stage { margin-bottom: 175px; }
.float { background: linear-gradient(180deg, rgba(12, 40, 28, 0.94), rgba(3, 14, 9, 0.96)); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 255, 136, 0.18), 0 0 50px -16px rgba(0, 255, 136, 0.45); }
.badge.ghost { visibility: hidden; }
.plan .ticks { flex: none; }
.plan .btn { margin-top: auto; }
.pl-n, .o-n, .pc-l, .k-l, .tline span { color: var(--ink-2); }
.fine { font-size: 13.5px; color: var(--ink-2); }
/* connected stepper instead of a row of identical cards */
.steps { position: relative; gap: 22px; }
.steps::before { content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 2px; background: linear-gradient(90deg, var(--g2), var(--g1) 60%, rgba(4, 120, 87, 0.3)); box-shadow: 0 0 12px rgba(0, 255, 136, 0.55); }
.steps li.glass { background: none; box-shadow: none; padding: 0 4px 0 0; }
.steps li.glass::before, .steps li:not(:last-child)::after { display: none; }
.steps li:hover { transform: none; box-shadow: none; }
.steps .s-n { position: relative; z-index: 2; background: #031109; color: var(--g1); box-shadow: inset 0 0 0 2px var(--g1), 0 0 18px rgba(0, 255, 136, 0.55); margin-bottom: 12px; }
.steps li:first-child .s-n { background: var(--grad-btn); color: #00160b; }
.steps b { font-size: 18px; }
@media (max-width: 900px) {
  .steps::before { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: linear-gradient(180deg, var(--g2), var(--g1) 60%, rgba(4, 120, 87, 0.3)); }
  .steps li.glass { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
  .steps .s-n { grid-row: 1 / 3; margin: 0; }
}
@media (max-width: 640px) {
  .steps { gap: 18px; }
  .steps p { font-size: 14.5px; }
  .display { font-size: clamp(34px, 9.4vw, 42px); }
  .hero-ctas { margin-top: 24px; gap: 10px; }
  .hero-proof { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .hero-proof li { font-size: 12.5px; padding: 7px 11px; border-radius: 999px; background: rgba(0, 255, 136, 0.06); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.2); }
  .hero-proof li .ic { width: 14px; height: 14px; }
  .hero .lede { font-size: 15.5px; }
  .hero-stage { margin-bottom: 0; }
  .float-chat { bottom: auto; }
}
/* ── round 5: tiers, bento, tiles, book split ────────────── */
.panel { backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 30px 70px -30px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.5); border-radius: 20px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; counter-reset: t; }
.tiles li { counter-increment: t; padding: 14px 14px 14px; border-radius: 14px; background: linear-gradient(180deg, rgba(0, 255, 136, 0.09), rgba(0, 255, 136, 0.025)); color: var(--ink); font-size: 14.5px; line-height: 1.5; transition: transform 0.24s var(--ease), background 0.24s; }
.tiles li::before { content: counter(t, decimal-leading-zero); display: block; font: 700 11px var(--f-mono); letter-spacing: 0.12em; color: var(--g1); margin-bottom: 6px; }
.tiles li:hover { transform: translateY(-2px); background: linear-gradient(180deg, rgba(0, 255, 136, 0.14), rgba(0, 255, 136, 0.04)); }
.trust-grid { grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; }
.trust.feat { grid-row: 1 / 3; background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(0, 255, 136, 0.18), transparent 70%), linear-gradient(180deg, rgba(10, 44, 29, 0.8), rgba(3, 14, 9, 0.9)); box-shadow: var(--elev-3); }
.trust.feat h3 { font-size: 26px; }
.trust-grid .trust:last-child { grid-column: 2 / 4; }
.own-panel { position: relative; z-index: 2; display: grid; gap: 8px; margin-top: 20px; }
.own-panel div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); font-size: 14px; }
.own-panel span { color: var(--ink-2); }
.own-panel b { font: 600 13px var(--f-mono); color: var(--g1); text-align: right; }
.badge.soft { background: rgba(0, 255, 136, 0.08); color: var(--g1); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.35); }
.chip { font-size: 11.5px; }
.cp-beam small { font-size: 11.5px; }
.steps::before { transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) 0.2s; }
.howto.in .steps::before, html:not(.js) .steps::before { transform: none; }
.final-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; text-align: left; align-items: center; padding: 56px; }
.final-main { display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 2; }
.final-main .lede { margin-inline: 0; }
.final-side { position: relative; z-index: 2; }
.final-side .agenda { margin-top: 4px; width: 100%; grid-template-columns: 1fr; position: relative; gap: 12px; }
.final-side .agenda::before { content: ""; position: absolute; left: 34px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(180deg, var(--g2), var(--em)); box-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
.final-side .agenda li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; }
.final-side .agenda li span { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #031109; box-shadow: inset 0 0 0 2px var(--g1), 0 0 14px rgba(0, 255, 136, 0.45); position: relative; z-index: 2; }
.final-side .agenda small { font-size: 14px; color: var(--ink-2); }
.final-side .final-list { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 10px; }
.vault-door { width: 120px; height: 120px; }
@media (max-width: 1180px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust.feat { grid-row: auto; grid-column: 1 / -1; } .trust-grid .trust:last-child { grid-column: auto; } }
@media (max-width: 900px) { .final-card { grid-template-columns: 1fr; padding: 44px 24px; gap: 32px; } }
@media (max-width: 640px) {
  .trust-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .price-card { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; row-gap: 2px; padding: 18px; }
  .price-card .badge { grid-column: 1 / -1; }
  .price-card .pc-l, .price-card .pc-s { grid-column: 1 / -1; }
  .price-card .pc-v { grid-column: 1; }
  .price-card .pc-s { margin-bottom: 10px; }
  .price-card .btn-block { grid-column: 1 / -1; }
  .offer-head { gap: 20px; margin-bottom: 28px; }
  .offer .lede { font-size: 15.5px; }
  .scene figcaption small { display: block; font-size: 12.5px; }
  .pin:nth-of-type(1) { --x: 52% !important; --y: 12% !important; }
  .pin:nth-of-type(2) { --x: 4% !important; --y: 12% !important; }
  .pin:nth-of-type(3) { --x: 40% !important; --y: 28% !important; }
  .scene { aspect-ratio: 4 / 3.4; }
  .pin { transform: none; }
  .final-main { align-items: stretch; }
  .final-card { text-align: left; }
}
/* ── round 6 ─────────────────────────────────────────────── */
.show-s { display: none; }
.float-chat { bottom: -185px; }
.float-hq { bottom: -195px; }
.hero-stage { margin-bottom: 205px; }
.chart-head { font-size: 12.5px; }
.cp-card, .tr-card { background: rgba(0, 0, 0, 0.22); }
.cp-card::after, .tr-card::after { opacity: 0.55; }
@media (max-width: 640px) {
  .show-s { display: inline; }
  .hero-ctas { display: grid; grid-template-columns: 1.3fr 1fr; }
  .hero-ctas .btn { width: auto; padding: 0 14px; }
  .hero-proof { margin-top: 16px; }
  .hero-stage { padding-top: 0; margin-top: -24px; margin-bottom: 0; }
  .hero-in { gap: 36px; }
  .trust.feat .own-panel, .trust .own-panel { grid-column: 1 / -1; width: 100%; }
  .own-panel div { font-size: 13px; }
  .price-card .badge { justify-self: start; width: fit-content; }
  .final-main > .eyebrow, .final-side > .eyebrow, .final-card .eyebrow { align-self: flex-start; width: fit-content; }
}
/* ── round 7 ─────────────────────────────────────────────── */
.sec-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 56px; }
.sec-top .sec-head { margin-bottom: 0; }
.head-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hk { padding: 16px 16px 14px; border-radius: 16px; display: flex; flex-direction: column; gap: 2px; }
.hk > * { position: relative; z-index: 2; }
.hk span { font: 600 11px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.hk b { font: 800 26px/1.15 var(--f-display); letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hk small { font-size: 12.5px; color: var(--ink-2); }
.chat-strip { align-items: start; }
.detail-grid { align-items: start; }
@media (max-width: 1180px) { .sec-top { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) {
  .sec-top { margin-bottom: 32px; }
  .head-kpis { gap: 8px; }
  .hk { padding: 12px 10px; }
  .hk span { font-size: 10px; letter-spacing: 0.06em; }
  .hk b { font-size: 20px; }
  .hk small { font-size: 11.5px; }
  .h2 { font-size: clamp(28px, 8vw, 36px); }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 4px; border-radius: 16px; background: linear-gradient(180deg, rgba(14, 40, 28, 0.7), rgba(5, 16, 11, 0.8)); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.22); }
  .hero-proof li { background: none; box-shadow: none; border-radius: 0; flex-direction: column; gap: 4px; padding: 10px 4px; text-align: center; font-size: 12.5px; }
  .hero-proof li + li { border-left: 1px solid rgba(0, 255, 136, 0.15); }
  .hero-proof li .ic { width: 16px; height: 16px; }
  .vnum { display: block; font-size: 22px; right: 14px; top: 12px; }
  .vault-flow { position: relative; }
  .trust.feat { display: block; }
  .trust.feat .t-ic { margin-bottom: 14px; }
}
/* ── round 8: structural ─────────────────────────────────── */
.glass::before { background: linear-gradient(160deg, rgba(0, 255, 136, 0.38), rgba(255, 255, 255, 0.07) 30%, rgba(255, 255, 255, 0.04) 70%, rgba(255, 255, 255, 0.1)); }
.featured::before, .trust.feat::before, .price-card.featured::before { background: linear-gradient(160deg, rgba(57, 255, 20, 0.7), rgba(0, 255, 136, 0.15) 40%, rgba(0, 255, 136, 0.45)); }
.chip { font-size: 12px; }
.k-l { font-size: 11.5px; }
.hk span { font-size: 11.5px; }
.cp-rules dd, .acct .tab { font-size: 12.5px; }
/* hero trust strip at every width */
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 4px; max-width: 520px; border-radius: 16px; background: linear-gradient(180deg, rgba(14, 40, 28, 0.7), rgba(5, 16, 11, 0.8)); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.22); }
.hero-proof li { flex-direction: column; gap: 6px; padding: 12px 6px; text-align: center; font-size: 13.5px; }
.hero-proof li + li { border-left: 1px solid rgba(0, 255, 136, 0.15); }
.hero-proof .hide-s { display: none; }
/* 3D HQ pins with leader lines */
.pin::after { content: ""; position: absolute; left: 18px; top: 100%; width: 1px; height: 28px; background: linear-gradient(var(--g1), transparent); }
.pin::before { content: ""; position: absolute; left: 15px; top: calc(100% + 26px); width: 7px; height: 7px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 10px var(--g1); }
.scene::after { background: linear-gradient(0deg, rgba(1, 8, 5, 0.94) 0%, rgba(1, 8, 5, 0.3) 42%, transparent 62%); }
@media (max-width: 640px) {
  .hero-proof li { font-size: 12.5px; padding: 10px 4px; }
  .term-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; mask-image: none; -webkit-mask-image: none; overflow: visible; }
  .term-tabs .tt { justify-content: center; padding: 0 6px; height: 36px; font-size: 12px; }
  .term-tabs .tt.hide-s { display: inline-flex !important; }
  .mesh { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
  .mesh-svg { display: none; }
  .node { position: static; transform: none; min-width: 0; padding: 12px 10px; align-items: flex-start; text-align: left; }
  .node:hover { transform: none; }
  .node b { font-size: 13px; }
  .node small { display: block; font-size: 12px; }
  .node.core { grid-column: 1 / -1; order: -1; flex-direction: row; align-items: center; gap: 10px; }
  .node.core small { margin-left: auto; }
  .node:not(.core)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 8px var(--g1); position: absolute; right: 10px; top: 12px; animation: blink 1.6s infinite; }
  .node { position: relative; left: auto; top: auto; }
  .pin::after, .pin::before { display: none; }
}

/* ── 3D trading desk (offer 02): interactive mansion demo, mock data ───── */
.desk3d { margin-top: 28px; padding: 26px; border-radius: var(--r-xl); display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 32px; align-items: center; scroll-margin-top: calc(var(--nav-h) + 12px); }
.desk3d > * { position: relative; z-index: 2; }
.d3-copy .h3 { margin-bottom: 12px; }
.d3-copy > p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.d3-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.d3-points li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14.5px; }
.d3-points .ic { width: 18px; height: 18px; color: var(--g1); flex: none; }
.d3-meta { margin-top: 16px; font: 500 12px/1.5 var(--f-mono); color: var(--muted); letter-spacing: 0.02em; }
.d3-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #020403; box-shadow: inset 0 0 0 1px var(--line-2), var(--elev-2); min-width: 0; }
.d3-poster, .d3-stills img, .d3-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.d3-stills img { opacity: 0; transition: opacity 0.5s var(--ease); }
.d3-stills img.on { opacity: 1; }
.d3-cta { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; background: radial-gradient(circle at 50% 55%, rgba(2, 4, 3, 0.15), rgba(2, 4, 3, 0.72)); }
.d3-cta small { font: 500 11.5px/1.4 var(--f-mono); color: var(--ink); letter-spacing: 0.05em; background: rgba(2, 4, 3, 0.75); padding: 6px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.d3-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #020403; }
.d3-bar { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 14px; background: rgba(2, 4, 3, 0.86); box-shadow: inset 0 0 0 1px var(--line-2); }
.d3-bar .mono { flex: 1; min-width: 0; font: 500 11.5px/1.3 var(--f-mono); color: var(--g1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-xs { --h: 36px; padding: 0 14px; font-size: 13px; }
.d3-badge { position: absolute; bottom: 12px; left: 12px; z-index: 3; }
.desk3d.live { grid-template-columns: 1fr; }
.desk3d.live .d3-copy { display: none; }
.desk3d.live .d3-stage { aspect-ratio: auto; height: min(80vh, 720px); }
.desk3d.live .d3-badge, .desk3d.video .d3-cta { display: none; }
@media (max-width: 900px) {
  .desk3d { grid-template-columns: 1fr; gap: 22px; padding: 18px; }
  .desk3d.live .d3-stage { height: min(78vh, 640px); }
}
@media (max-width: 640px) {
  .desk3d { padding: 14px; border-radius: var(--r-lg); margin-top: 20px; }
  .d3-copy > p { font-size: 15px; }
  .d3-stage { aspect-ratio: 4 / 3.4; border-radius: 14px; }
  .d3-poster, .d3-stills img, .d3-video { object-position: 38% 50%; }
  .d3-bar { left: 8px; right: 8px; bottom: 8px; padding-left: 10px; }
}
.desk3d [hidden] { display: none !important; }
.desk3d .d3-meta { font: 500 12px/1.55 var(--f-mono); }
.desk3d .d3-bar .mono { font: 500 11.5px/1.3 var(--f-mono); }
/* live: the bar gets its own strip under the scene so it never covers the scene's own controls */
.desk3d.live .d3-stage iframe { height: calc(100% - 56px); }
.desk3d.live .d3-bar { left: 0; right: 0; bottom: 0; border-radius: 0; padding: 8px 8px 8px 14px; box-shadow: inset 0 1px 0 var(--line-2); }
.desk3d.live .d3-poster { display: none; }
.desk3d.live .d3-bar { background: #030806; }
@media (min-width: 1100px) {
  /* break out of .wrap with margins (no transform: a transformed box still overflows the page) */
  .desk3d.live { --bleed: min(calc(100vw - 56px), 1680px); width: var(--bleed); max-width: none; margin-left: calc((100% - var(--bleed)) / 2); margin-right: calc((100% - var(--bleed)) / 2); padding: 14px; }
  .desk3d.live .d3-stage { height: min(86vh, 860px); }
}

/* ── HQ mesh → one control dashboard ─────────────────────────────────── */
.mesh-svg .e-dash { stroke: rgba(0, 255, 136, 0.7); stroke-width: 2; stroke-dasharray: 5 6; }
.node.dash-node { color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.6), 0 0 26px rgba(0, 255, 136, 0.3); }
.hq-control { margin-top: 22px; padding: 26px; border-radius: var(--r-xl); display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 28px 34px; align-items: center; scroll-margin-top: calc(var(--nav-h) + 12px); }
.hq-control > * { position: relative; z-index: 2; }
.hqc-link { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font: 600 12px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.hqc-brain, .hqc-dash { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.hqc-brain { background: var(--grad-btn); color: #00160b; box-shadow: 0 0 24px rgba(0, 255, 136, 0.45); }
.hqc-dash { color: var(--ink); background: rgba(0, 255, 136, 0.08); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.45); }
.hqc-link .ic { width: 16px; height: 16px; }
.hqc-wire { flex: 1; height: 2px; position: relative; background: repeating-linear-gradient(90deg, rgba(0, 255, 136, 0.6) 0 6px, transparent 6px 12px); }
.hqc-wire i { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--g2); box-shadow: 0 0 12px var(--g2); animation: hqc-run 2.2s linear infinite; }
@keyframes hqc-run { to { left: calc(100% - 9px); } }
.hqc-caption { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.devices { position: relative; padding: 0 64px 18px 0; }
.laptop { width: 100%; }
.lp-lid { background: #0b0f0d; border-radius: 16px 16px 6px 6px; padding: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.lp-screen { border-radius: 8px; background: linear-gradient(180deg, #04100a, #020604); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.18); padding: 12px; font-size: 11px; color: var(--ink); aspect-ratio: 16 / 10; overflow: hidden; display: flex; flex-direction: column; gap: 9px; }
.lp-base { height: 14px; margin: 0 -5%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #1d2421, #0b0f0d); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.9); position: relative; }
.lp-base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; border-radius: 0 0 6px 6px; background: #050806; }
.cd-top { display: flex; align-items: center; gap: 8px; }
.cd-top .ic { width: 16px; height: 16px; }
.cd-top b { font: 700 12.5px var(--f-display); }
.cd-top .chip { margin-left: auto; height: 20px; font-size: 9.5px; }
.cd-sep { color: var(--muted); font: 500 10.5px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.cd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.cd-kpis > div { border-radius: 8px; padding: 7px 9px; background: rgba(0, 255, 136, 0.05); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.14); display: grid; gap: 1px; }
.cd-kpis span, .cd-kpis em { font: 500 9.5px/1.2 var(--f-mono); color: var(--muted); font-style: normal; }
.cd-kpis b { font: 700 17px/1.1 var(--f-display); color: var(--g1); }
.cd-kpis .warn b { color: var(--warn); }
.cd-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px; min-height: 0; flex: 1; }
.cd-card { border-radius: 8px; padding: 8px 9px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); overflow: hidden; }
.cd-h { font: 600 9.5px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cd-h.sm { margin-top: 8px; }
.cd-agents { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cd-agents li { display: flex; align-items: center; gap: 7px; font-size: 10.5px; }
.cd-agents li span { margin-left: auto; color: var(--muted); font: 500 9.5px var(--f-mono); }
.cd-agents i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.cd-agents i.on { background: var(--g1); box-shadow: 0 0 6px var(--g1); }
.cd-agents i.idle { background: #7dd3fc; }
.cd-agents i.off { background: #4b5b53; }
.tg { width: 22px; height: 12px; border-radius: 99px; background: #1c2a23; position: relative; flex: none; text-decoration: none; }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #6b7f75; }
.tg.on { background: rgba(0, 255, 136, 0.35); }
.tg.on::after { left: 12px; background: var(--g1); }
.cd-need { border-radius: 7px; padding: 7px 8px; background: rgba(255, 209, 102, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.3); }
.cd-need b { font-size: 10.5px; color: var(--warn); }
.cd-need p { margin: 3px 0 5px; font-size: 10px; color: var(--ink-2); line-height: 1.35; }
.cd-btns { display: flex; gap: 5px; }
.cd-btns u, .ph-alert u { text-decoration: none; font: 700 9.5px var(--f-body); padding: 3px 8px; border-radius: 99px; background: var(--grad-btn); color: #00160b; }
.cd-btns u + u { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.cd-row { display: flex; gap: 8px; font-size: 10px; padding: 3px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.cd-row span { color: var(--g1); font: 600 9.5px var(--f-mono); }
.phone { position: absolute; right: 0; bottom: 0; width: 26%; min-width: 120px; max-width: 170px; border-radius: 24px; padding: 6px; background: #0b0f0d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 24px 50px -16px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 255, 136, 0.12); }
.ph-screen { border-radius: 19px; aspect-ratio: 9 / 19; background: linear-gradient(180deg, #04120b, #020604); padding: 22px 8px 8px; display: flex; flex-direction: column; gap: 7px; position: relative; overflow: hidden; font-size: 10px; color: var(--ink); }
.ph-notch { position: absolute; top: 6px; left: 50%; width: 34%; height: 9px; margin-left: -17%; border-radius: 99px; background: #000; }
.cd-top.sm b { font-size: 11px; }
.cd-top.sm .chip { height: 17px; font-size: 8.5px; padding: 0 6px; }
.ph-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.ph-kpi div { border-radius: 8px; padding: 6px; background: rgba(0, 255, 136, 0.06); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.16); display: grid; }
.ph-kpi b { font: 700 16px/1 var(--f-display); color: var(--g1); }
.ph-kpi span { font: 500 8.5px var(--f-mono); color: var(--muted); margin-top: 2px; }
.ph-alert { border-radius: 9px; padding: 7px; background: rgba(255, 209, 102, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.32); display: grid; gap: 3px; }
.ph-alert b { color: var(--warn); font-size: 10px; }
.ph-alert span { font-size: 9px; color: var(--ink-2); }
.ph-alert u { justify-self: start; }
.cd-agents.ph li { font-size: 9.5px; }
.cd-agents.ph .tg { margin-left: auto; }
@media (max-width: 900px) { .hq-control { grid-template-columns: 1fr; padding: 18px; } }
@media (max-width: 640px) {
  .hq-control { padding: 14px; gap: 18px; border-radius: var(--r-lg); }
  .hqc-link { font-size: 10.5px; gap: 8px; }
  .hqc-brain, .hqc-dash { padding: 7px 10px; }
  .devices { padding: 0 0 92px; }
  .lp-lid { padding: 7px; border-radius: 12px 12px 5px 5px; }
  .lp-screen { padding: 8px; gap: 6px; aspect-ratio: auto; }
  .cd-kpis { grid-template-columns: repeat(2, 1fr); }
  .cd-cols { grid-template-columns: 1fr; }
  .cd-cols .cd-card:last-child { display: none; }
  .phone { width: 38%; right: 4px; }
  .node.dash-node { grid-column: 1 / -1; order: 99; flex-direction: row; gap: 8px; }
}

/* ── Custom 3D agent map (CSS 3D, no WebGL) ───────────────────────────── */
.agent-map { margin-top: 22px; padding: 26px; border-radius: var(--r-xl); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; }
.agent-map > * { position: relative; z-index: 2; }
.am-copy > p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.am-tier { margin-top: 12px; font: 500 12px/1.5 var(--f-mono); color: var(--muted); }
.am-card { margin-top: 16px; border-radius: 16px; padding: 16px; background: rgba(0, 255, 136, 0.05); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.25); min-height: 170px; }
.am-card .amc-h { display: flex; align-items: center; gap: 10px; }
.am-card .amc-h .ic { width: 22px; height: 22px; color: var(--g1); }
.am-card .amc-h b { font: 700 17px var(--f-display); }
.am-card .amc-h .chip { margin-left: auto; }
.am-card p { margin: 8px 0 10px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.am-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.am-card dl div { border-radius: 10px; padding: 8px 10px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.am-card dt { font: 500 10px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.am-card dd { margin: 2px 0 0; font: 700 16px var(--f-display); color: var(--g1); }
.am-card .amc-hand { display: block; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.am-stage { position: relative; height: 470px; border-radius: 18px; overflow: hidden; perspective: 1400px; background: radial-gradient(ellipse at 50% 55%, rgba(0, 255, 136, 0.1), rgba(0, 0, 0, 0.5) 70%), #020403; box-shadow: inset 0 0 0 1px var(--line-2); touch-action: pan-y; user-select: none; }
.am-stage.drag { cursor: grabbing; }
.am-stage.can-drag { cursor: grab; }
.am-world { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; margin: -280px 0 0 -280px; transform-style: preserve-3d; transform: scale(var(--s, 1)) rotateX(58deg) rotateZ(var(--rz, -45deg)); transition: transform 0.5s var(--ease); background: linear-gradient(rgba(0, 255, 136, 0.06) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(0, 255, 136, 0.06) 1px, transparent 1px) 0 0 / 40px 40px, rgba(4, 14, 9, 0.9); border-radius: 24px; box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.25), 0 0 80px rgba(0, 255, 136, 0.12); }
.am-stage.drag .am-world { transition: none; }
.am-wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.am-wires path { animation: am-flow 1.6s linear infinite; }
@keyframes am-flow { to { stroke-dashoffset: -28; } }
.am-room { position: absolute; width: 120px; height: 120px; margin: -60px 0 0 -60px; transform-style: preserve-3d; --h: 46px; border: 0; padding: 0; background: none; cursor: pointer; }
.am-room .f { position: absolute; display: block; }
.am-room .top { inset: 0; transform: translateZ(var(--h)); border-radius: 8px; background: linear-gradient(135deg, #0f2a1d, #08170f); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.35); display: grid; place-items: center; }
.am-room .top .ic { width: 34px; height: 34px; color: var(--g1); opacity: 0.85; }
.am-room .s1 { left: 0; top: 120px; width: 120px; height: var(--h); transform-origin: top; transform: rotateX(90deg); background: linear-gradient(180deg, #0a1f15, #06120c); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.18); }
.am-room .s2 { top: 0; left: calc(var(--h) * -1); width: var(--h); height: 120px; transform-origin: right; transform: rotateY(90deg); background: linear-gradient(90deg, #051009, #0c2318); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.14); }
.am-room .bot { left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; transform: translateZ(calc(var(--h) + 10px)); background: radial-gradient(circle at 35% 30%, #c9ffe3, #00ff88 45%, #047857); box-shadow: 0 0 16px #00ff88; }
.am-room .tag { left: 50%; top: 50%; transform-origin: 0 0; transform: translateZ(calc(var(--h) + 14px)) rotateZ(calc(var(--rz, -45deg) * -1)) rotateX(-58deg) translate(-50%, -100%); white-space: nowrap; font: 700 calc(12px * var(--inv, 1)) var(--f-body); color: var(--ink); padding: 0.5em 0.85em; border-radius: 99px; background: rgba(2, 8, 5, 0.88); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.45); display: flex; align-items: center; gap: 6px; }
.am-room .tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 8px var(--g1); }
.am-room .tag i.idle { background: #7dd3fc; box-shadow: none; }
.am-room .tag i.you { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.am-room.brain { --h: 78px; }
.am-room.brain .top { background: var(--grad-btn); box-shadow: 0 0 40px rgba(0, 255, 136, 0.6); }
.am-room.brain .top .ic { color: #00160b; opacity: 1; }
.am-room.brain .s1 { background: linear-gradient(180deg, #00c76a, #04532f); }
.am-room.brain .s2 { background: linear-gradient(90deg, #02391f, #00a259); }
.am-room.you .top { background: linear-gradient(135deg, #2a2410, #151106); box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.45); }
.am-room.you .top .ic { color: var(--warn); }
.am-room.sel .top { box-shadow: inset 0 0 0 2px var(--g2), 0 0 40px rgba(57, 255, 20, 0.55); }
.am-room.sel .tag { background: var(--grad-btn); color: #00160b; }
.am-room:focus-visible { outline: none; }
.am-room:focus-visible .tag { box-shadow: 0 0 0 2px var(--g2); }
.am-badge { position: absolute; top: 12px; left: 12px; z-index: 3; }
.am-hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 3; font: 500 11px var(--f-mono); color: var(--muted); background: rgba(2, 4, 3, 0.75); padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.agent-map.hi .am-room .bot { animation: am-bob 2.4s var(--ease) infinite alternate; }
@keyframes am-bob { to { transform: translateZ(calc(var(--h) + 22px)); } }
.agent-map.lo .am-wires path { animation: none; }
@media (prefers-reduced-motion: reduce) { .am-wires path, .agent-map .am-room .bot, .hqc-wire i { animation: none !important; } .am-world { transition: none; } }
@media (max-width: 900px) { .agent-map { grid-template-columns: 1fr; padding: 18px; } .agent-map .am-stage { order: -1; } }
@media (max-width: 640px) {
  .agent-map { padding: 14px; gap: 16px; border-radius: var(--r-lg); }
  .am-stage { height: 340px; border-radius: 14px; }
  .am-card dl { grid-template-columns: repeat(3, 1fr); }
}
.agent-map .am-tier { font: 500 12px/1.5 var(--f-mono); }
.devices { padding-right: 96px; }
.phone { width: 22%; }
@media (max-width: 640px) {
  .devices { padding-right: 0; }
  .phone { width: 38%; }
  .am-stage { height: 360px; }
  .am-room:not(.sel) .tag { font-size: 0; padding: 6px; gap: 0; }
  .am-room:not(.sel) .tag i { width: 9px; height: 9px; }
}

/* ── Dashboard device: six pages (Terminal, Accounts, Copier, News, Journal, Agent) ── */
.term-tabs .tt { appearance: none; border: 0; background: none; cursor: pointer; position: relative; overflow: hidden; transition: color 0.2s, background 0.2s; }
.term-tabs .tt:hover { color: var(--ink); }
.term-tabs .tt:focus-visible { outline: 2px solid var(--g2); outline-offset: 2px; }
.tt-bar { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--g1); transform: scaleX(0); transform-origin: left; opacity: 0; }
.tt.on .tt-bar { opacity: 1; }
.mock.terminal.auto .tt.on .tt-bar { animation: tt-prog var(--tt-ms, 6000ms) linear forwards; }
.mock.terminal.auto.paused .tt.on .tt-bar { animation-play-state: paused; }
@keyframes tt-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tpanes { display: grid; touch-action: pan-y; }
.tpane { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s; }
.tpane[hidden] { display: block; }
.tpane.on { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease); }
.tp-tool { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px 0; font: 600 11.5px var(--f-mono); color: var(--muted); }
.tp-tool .seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.tp-tool .seg i { font-style: normal; padding: 4px 9px; border-radius: 6px; }
.tp-tool .seg i.on { color: #00160b; background: var(--g1); }
.tp-pill, .tp-search, .tp-chk { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); white-space: nowrap; }
.tp-pill b { color: var(--down); }
.tp-search { min-width: 170px; color: var(--muted); }
.tp-search .ic { width: 13px; height: 13px; }
.tp-chk s { width: 12px; height: 12px; border-radius: 3px; background: var(--g1); text-decoration: none; }
.tp-title { color: var(--ink); font: 700 13px var(--f-display); }
.tp-demo { margin-left: auto; height: 22px; font-size: 10px; }
.tp-note { padding: 0 14px 14px; margin: 0; color: var(--muted); font-size: 12.5px; }
.up { color: var(--g1); } .dn { color: var(--down); }
/* accounts */
.acc-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 14px 0; }
.acc-sum div, .jr-stats div, .cp-stats div { border-radius: 12px; padding: 10px 12px; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12); display: grid; gap: 3px; }
.acc-sum span, .jr-stats span, .cp-stats span { font: 500 10.5px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.acc-sum b, .jr-stats b, .cp-stats b { font: 700 18px var(--f-display); }
.acc-table { margin: 12px 14px 12px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12); }
.acc-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 0.9fr 1.1fr; gap: 10px; align-items: center; padding: 12px 14px; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.acc-row:first-child { border-top: 0; }
.acc-hd { font: 600 10.5px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; background: rgba(0, 255, 136, 0.04); }
.acc-row b { display: block; font-size: 13.5px; }
.acc-row small { color: var(--muted); font: 500 10.5px var(--f-mono); }
.acc-row [role="cell"]:last-child { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 12px; }
.st { font-style: normal; font: 600 11px var(--f-mono); padding: 4px 8px; border-radius: 99px; }
.st.ok { color: var(--g1); background: rgba(0, 255, 136, 0.1); }
.st.warn { color: var(--warn); background: rgba(255, 209, 102, 0.1); }
/* copier */
.cp-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 14px; padding: 14px; }
.cp-chart canvas.candles { min-height: 300px; }
.cp-sig { margin-left: auto; color: var(--g1); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cp-replay { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-top: 1px solid rgba(0, 255, 136, 0.08); font: 600 11px var(--f-mono); color: var(--muted); }
.cp-replay span { padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); }
.cp-replay span.on { background: var(--g1); color: #00160b; }
.cp-track { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); position: relative; min-width: 30px; }
.cp-track i { position: absolute; inset: 0 8% 0 0; border-radius: 4px; background: var(--g1); }
.cp-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp-stats b.ok { color: var(--g1); }
.cp-routes { border-radius: 14px; padding: 12px; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12); display: grid; gap: 8px; }
.cp-route { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.cp-route span { flex: 1; min-width: 0; }
.cp-route em { font-style: normal; font: 500 11px var(--f-mono); color: var(--muted); white-space: nowrap; }
/* news */
.nw-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; padding: 14px; }
.nw-hero { grid-row: span 2; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: radial-gradient(circle at 20% 0%, rgba(0, 255, 136, 0.12), transparent 60%), rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.2); }
.nw-k { font: 600 10.5px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.nw-cd { font: 700 clamp(30px, 3.6vw, 44px)/1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nw-ev { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.nw-fp { display: flex; gap: 16px; font: 500 12px var(--f-mono); color: var(--muted); }
.nw-fp b { color: var(--ink); }
.nw-agent { margin-top: auto; display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); padding: 10px; border-radius: 10px; background: rgba(0, 255, 136, 0.06); }
.nw-agent .ic { width: 16px; height: 16px; color: var(--g1); flex: none; margin-top: 1px; }
.imp { font-style: normal; font: 700 9.5px var(--f-mono); padding: 3px 6px; border-radius: 5px; letter-spacing: 0.05em; }
.imp.hi { background: rgba(255, 92, 122, 0.18); color: #ff8ea3; }
.imp.md { background: rgba(255, 209, 102, 0.14); color: var(--warn); }
.imp.lo { background: rgba(255, 255, 255, 0.07); color: var(--muted); }
.nw-list, .nw-feed { list-style: none; margin: 0; padding: 10px 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12); display: grid; gap: 8px; }
.nw-list li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: center; font-size: 12.5px; }
.nw-list i { font-style: normal; font: 600 10.5px var(--f-mono); color: var(--ink-2); }
.nw-list time { font: 500 11px var(--f-mono); color: var(--g1); }
.nw-feed li { display: flex; gap: 10px; align-items: flex-start; }
.nw-feed p { margin: 0; display: grid; gap: 2px; }
.nw-feed b { font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.nw-feed small { font: 500 10.5px var(--f-mono); color: var(--muted); }
.sent { font-style: normal; font: 700 9.5px var(--f-mono); padding: 3px 6px; border-radius: 5px; flex: none; }
.sent.up { background: rgba(0, 255, 136, 0.12); color: var(--g1); }
.sent.nt { background: rgba(255, 255, 255, 0.07); color: var(--ink-2); }
.sent.dn { background: rgba(255, 92, 122, 0.14); color: #ff8ea3; }
/* journal */
.jr-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 14px 14px 0; }
.jr-stats b { font-size: 16px; }
.jr-cal { display: grid; grid-template-columns: repeat(7, 1fr) 1.1fr; gap: 6px; padding: 12px 14px 14px; }
.jr-cal .h { font: 600 10px var(--f-mono); color: var(--muted); text-transform: uppercase; text-align: center; padding: 2px 0; }
.jr-cal .d { min-height: 52px; border-radius: 9px; padding: 6px 7px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; justify-content: space-between; font: 500 10px var(--f-mono); color: var(--muted); }
.jr-cal .d b { font: 700 12px var(--f-mono); align-self: flex-end; }
.jr-cal .d.w { background: rgba(0, 255, 136, calc(0.06 + var(--a, 0) * 0.3)); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.3); }
.jr-cal .d.w b { color: var(--g1); }
.jr-cal .d.l { background: rgba(255, 92, 122, calc(0.06 + var(--a, 0) * 0.3)); box-shadow: inset 0 0 0 1px rgba(255, 92, 122, 0.3); }
.jr-cal .d.l b { color: #ff8ea3; }
.jr-cal .d.x { opacity: 0.35; }
.jr-cal .wk { border-radius: 9px; padding: 6px 8px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12); font: 500 10px var(--f-mono); color: var(--muted); display: flex; flex-direction: column; justify-content: space-between; }
.jr-cal .wk b { font: 700 12.5px var(--f-mono); }
/* agent */
.ag-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 14px; padding: 14px; }
.ag-prompts { display: flex; flex-direction: column; gap: 8px; }
.ag-k { font: 700 15px var(--f-display); margin-bottom: 4px; }
.ag-p { padding: 10px 12px; border-radius: 12px; font-size: 13px; color: var(--ink-2); background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.14); }
.ag-p.on { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.5); background: rgba(0, 255, 136, 0.06); }
.ag-chat { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ag-ans { max-width: 100%; }
.ag-ans p { margin: 0 0 8px; }
.ag-ans p.sm { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }
.ag-chart canvas.candles { min-height: 150px; }
@media (max-width: 1180px) { .cp-wrap, .ag-wrap { grid-template-columns: 1fr; } .cp-stats { grid-template-columns: repeat(4, 1fr); } .ag-prompts { flex-direction: row; flex-wrap: wrap; } .ag-k { width: 100%; } }
@media (max-width: 900px) { .nw-grid { grid-template-columns: 1fr; } .nw-hero { grid-row: auto; } .jr-stats { grid-template-columns: repeat(3, 1fr); } .acc-sum { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .tp-tool { padding: 10px 10px 0; gap: 6px; font-size: 11px; }
  .tp-search { min-width: 0; }
  .tp-tool .seg i { padding: 4px 7px; }
  .acc-sum { padding: 10px 10px 0; gap: 8px; }
  .acc-sum b, .cp-stats b { font-size: 15px; }
  .acc-table { margin: 10px; }
  .acc-hd { display: none; }
  .acc-row { grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 12px; }
  .acc-row [data-l] { display: flex; justify-content: space-between; font-size: 12px; grid-column: 1 / -1; }
  .acc-row [data-l]::before { content: attr(data-l); color: var(--muted); font: 500 11px var(--f-mono); }
  .acc-row [role="cell"]:last-child { grid-column: 1 / -1; }
  .cp-wrap, .nw-grid, .ag-wrap { padding: 10px; gap: 10px; }
  .cp-chart canvas.candles { min-height: 210px; }
  .cp-sig { display: none; }
  .cp-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cp-route { font-size: 11.5px; }
  .jr-stats { padding: 10px 10px 0; gap: 8px; grid-template-columns: repeat(2, 1fr); }
  .jr-stats div:nth-child(n+5) { display: none; }
  .jr-cal { grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 10px; }
  .jr-cal .wk, .jr-cal .h.wkh { display: none; }
  .jr-cal .d { min-height: 40px; padding: 4px; font-size: 9px; }
  .jr-cal .d b { font-size: 9.5px; letter-spacing: -0.03em; }
  .ag-prompts .ag-p { font-size: 12px; padding: 8px 10px; }
  .ag-chart canvas.candles { min-height: 130px; }
  .nw-cd { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { .tpane { transition: none; } }
@media (max-width: 640px) {
  #tp-terminal .term-grid .tchart:nth-child(n+2) { display: none; }
  #tp-terminal .term-rail { display: none; }
  #tp-terminal .tchart canvas.candles { min-height: 250px; }
  .jr-cal .d { min-height: 44px; }
}
/* anchors land below the sticky nav */
#dash-device, #hq-control, #agent-map, #desk3d { scroll-margin-top: calc(var(--nav-h) + 14px); }
/* every page fills the device on tablet/desktop (no dead space under shorter pages) */
@media (min-width: 641px) {
  .tpane { display: flex; flex-direction: column; }
  .tpane > .cp-wrap, .tpane > .nw-grid, .tpane > .ag-wrap, .tpane > .jr-cal { flex: 1; }
  .cp-wrap { align-items: stretch; }
  .cp-chart { display: flex; flex-direction: column; }
  .cp-chart canvas.candles { flex: 1; }
  .cp-side { justify-content: space-between; }
  .cp-routes { flex: 1; align-content: start; }
  .jr-cal { grid-template-rows: auto auto repeat(5, 1fr); }
  .nw-grid { grid-template-rows: auto 1fr; }
  .ag-chat .composer { margin-top: auto; }
  .ag-chart canvas.candles { min-height: 200px; }
  .ag-wrap { align-items: start; }
  .ag-chat { align-self: stretch; }
  .nw-list { align-content: start; }
  .nw-feed { align-content: space-evenly; }
  .tpane > .tp-note { margin-top: auto; }
}
.acc-risk { margin: 0 14px 12px; border-radius: 14px; padding: 12px 14px; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.12); display: grid; gap: 10px; }
.acc-risk .ar { display: grid; grid-template-columns: 150px 1fr 120px; gap: 12px; align-items: center; font-size: 12.5px; }
.acc-risk .ar span:last-child { font: 500 11px var(--f-mono); color: var(--muted); text-align: right; }
.acc-risk .bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.acc-risk .bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--g1); }
.acc-risk .bar i.warn { background: var(--warn); }
.tpane > .tp-note { margin-top: auto; }
.devices { padding-right: 19%; }
@media (max-width: 640px) {
  .jr-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .jr-stats div:nth-child(n+5) { display: grid; }
  .jr-stats div { padding: 8px; }
  .jr-stats b { font-size: 13px; }
  .jr-stats span { font-size: 9.5px; }
  .devices { padding: 0; }
  .phone { position: relative; right: auto; bottom: auto; width: 48%; max-width: 190px; margin: -56px 8px 0 auto; }
  .acc-risk { display: none; }
}

.nw-hist { display: grid; gap: 6px; margin-top: 4px; font: 500 11.5px var(--f-mono); }
.nw-hist .r { display: grid; grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: 8px; padding: 7px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); color: var(--ink-2); }
.nw-hist .r.hd { background: none; box-shadow: none; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 0; padding-bottom: 0; }
.nw-hist b { color: var(--ink); }
@media (max-width: 640px) { .nw-hist { display: none; } }
.nw-hist b.up { color: var(--g1); } .nw-hist b.dn { color: var(--down); }
