/* ───── tokens ───── */
:root {
  --bg: #07070b;
  --bg-2: #0c0c14;
  --surface: #11111b;
  --surface-2: #161623;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --text: #ececf1;
  --text-dim: #a4a4b0;
  --text-faint: #6b6b78;
  --brand: #4a78a8;
  --brand-2: #78aad0;
  --brand-soft: rgba(74,120,168,0.18);
  --ok: #4ade80;
  --warn: #fbbf24;
  --accent: #00e5c8;
  --accent-soft: rgba(0,229,200,0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px var(--line);
  --container: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Syne', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ───── mesh network canvas bg ───── */
#mesh-canvas {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  opacity: 0;
  animation: mesh-fadein 1.8s ease forwards;
}
@keyframes mesh-fadein { to { opacity: 1; } }
.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 50%, transparent 100%);
}

/* ───── nav ───── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 24px;
  max-width: var(--container); margin: 0 auto;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,7,11,0.65), rgba(7,7,11,0));
  border-bottom: 1px solid transparent;
}
.brand { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.brand-text { font-weight: 800; letter-spacing: 0.18em; font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 28px; position: relative; z-index: 1; }
.nav-links a { font-size: 14px; color: var(--text-dim); transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text) !important;
}
.nav-cta:hover { background: rgba(0,229,200,0.08); border-color: rgba(0,229,200,0.35); color: var(--accent) !important; }
.nav-cta svg { opacity: 0.85; }
.nav-burger { display: none; }

/* ── language switcher ── */
.lang-switcher {
  position: relative; z-index: 2;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.lang-trigger {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px;
  border-radius: 10px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.lang-trigger:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); }
.lang-trigger[aria-expanded="true"] { background: rgba(74,120,168,0.14); border-color: rgba(74,120,168,0.4); }
.lang-flag {
  display: inline-block;
  width: 22px; height: 16px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  font-size: 0;
  line-height: 0;
}
.lang-flag svg { display: block; width: 100%; height: 100%; }
.lang-chev {
  opacity: 0.7; transition: transform .2s ease;
}
.lang-trigger[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  list-style: none; margin: 0; padding: 6px;
  min-width: 180px;
  background: rgba(8, 10, 15, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(74,120,168,0.28);
  border-radius: 12px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.7), 0 0 24px -8px rgba(74,120,168,0.4);
}
.lang-menu[hidden] { display: none; }
.lang-menu li { margin: 0; }
.lang-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 10px;
  background: transparent; color: var(--text);
  border: 0; border-radius: 8px;
  font-family: inherit; font-size: 12px; font-weight: 700;
  text-align: left; cursor: pointer;
  transition: background .12s ease;
}
.lang-menu button:hover { background: rgba(74,120,168,0.14); }
.lang-menu button[aria-current="true"] {
  background: rgba(74,120,168,0.18);
  color: #fff;
}
.lang-menu button[aria-current="true"]::after {
  content: '✓'; margin-left: auto; color: var(--brand-2); font-weight: 800;
}
.lang-menu button small {
  font-family: 'Syne', sans-serif; font-weight: 500; font-size: 11.5px;
  color: var(--text-dim); letter-spacing: 0;
}

/* ───── hero ───── */
.hero { position: relative; padding: 60px 0 80px; }
.hero-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 12px; color: var(--text-dim);
  letter-spacing: 0.02em;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0,229,200,0.22); animation: dot-pulse 2.5s ease-in-out infinite; }
@keyframes dot-pulse { 0%,100%{box-shadow:0 0 0 3px rgba(0,229,200,0.18)} 50%{box-shadow:0 0 0 6px rgba(0,229,200,0.06)} }
.hero-title {
  margin: 22px 0 14px;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
  max-width: 18ch;
}
.grad {
  background: linear-gradient(110deg, var(--brand-2) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 56ch; color: var(--text-dim);
  font-size: clamp(16px, 1.5vw, 19px);
}
.acronym {
  margin: 14px 0 6px; font-size: 14px; color: var(--text-dim);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.02em;
}
.acronym u {
  text-decoration: underline;
  text-decoration-color: var(--brand-2);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  color: var(--text);
  font-weight: 700;
}
.acronym-tag {
  display: inline-block; margin-right: 8px;
  padding: 2px 8px; border-radius: 6px;
  background: var(--brand-soft); color: #a0ccf0;
  font-size: 11.5px; letter-spacing: 0.16em;
  font-weight: 700;
}
.u-accent {
  text-decoration: underline;
  text-decoration-color: var(--brand-2);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  color: var(--text);
}
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 12px;
  font-weight: 600; font-size: 15px;
  transition: transform .15s ease, background .15s ease, box-shadow .2s ease;
  cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #1a4880 100%);
  color: white;
  box-shadow: 0 10px 30px -10px rgba(74,120,168,0.6);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(74,120,168,0.7); }
.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.hero-meta {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px; margin-top: 44px; max-width: 720px;
}
.hero-meta > div {
  padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}
.hero-meta strong { display: block; font-size: 12px; letter-spacing: 0.08em; color: var(--text-faint); text-transform: uppercase; margin-bottom: 6px; }
.hero-meta span { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--text); }

/* hero phone art */
.hero-art {
  position: absolute; right: -20px; top: 0; width: 360px; height: 100%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.phone {
  position: relative;
  width: 280px; height: 560px;
  border-radius: 44px;
  background: linear-gradient(160deg, #1a1a28 0%, #0e0e16 100%);
  border: 1px solid var(--line-strong);
  padding: 14px;
  box-shadow:
    0 60px 120px -30px rgba(74,120,168,0.45),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transform: rotate(-6deg);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 24px; border-radius: 0 0 14px 14px;
  background: #07070b;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0d0d18 0%, #0a0a13 100%);
  border-radius: 30px;
  padding: 56px 16px 16px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.phone-screen-bh {
  padding: 0;
  background:
    radial-gradient(120% 80% at 50% 25%, rgba(74,120,168,0.14), transparent 60%),
    radial-gradient(circle at 50% 35%, #050510 0%, #000 70%);
  position: relative;
  align-items: stretch;
  justify-content: flex-start;
}
.blackhole {
  width: 100%; height: auto;
  display: block;
  margin-top: 6px;
}

/* matrix-rain hover overlay */
.phone { pointer-events: auto; }
.bh-matrix {
  position: absolute;
  top: 6px; left: 0; right: 0;
  width: 100%; height: auto;
  aspect-ratio: 1 / 1;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  mix-blend-mode: screen;
  /* clip rain to the event-horizon circle (hole r=92 of viewBox 460 → 20% of 252px box = 50px) */
  clip-path: circle(50px at 50% 50%);
  -webkit-clip-path: circle(50px at 50% 50%);
}
.phone:hover .bh-matrix { opacity: 1; }
/* ── Black hole futuristic HUD overlay ── */
.bh-hud {
  position: absolute;
  left: 10px; right: 10px; bottom: 50px;
  z-index: 5; pointer-events: none;
  padding: 12px 14px 10px;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(8,12,20,0.55) 0%, rgba(5,8,16,0.85) 100%);
  border: 1px solid rgba(120,150,180,0.22);
  box-shadow:
    0 14px 40px -8px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.03),
    0 0 26px -6px rgba(74,120,168,0.32),
    inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  color: rgba(255,255,255,0.92);
  overflow: hidden;
}

/* corner brackets — viewfinder feel */
.bh-hud-corner {
  position: absolute; width: 10px; height: 10px;
  border: 1.5px solid var(--brand-2);
  filter: drop-shadow(0 0 3px rgba(140,170,200,0.5));
}
.bh-hud-corner.tl { top: 5px; left: 5px;  border-right: 0; border-bottom: 0; }
.bh-hud-corner.tr { top: 5px; right: 5px; border-left: 0;  border-bottom: 0; }
.bh-hud-corner.bl { bottom: 5px; left: 5px;  border-right: 0; border-top: 0; }
.bh-hud-corner.br { bottom: 5px; right: 5px; border-left: 0;  border-top: 0; }

/* horizontal scanline traveling top→bottom */
.bh-hud-scan {
  position: absolute; left: 0; right: 0; height: 22%;
  background: linear-gradient(180deg, transparent 0%, rgba(120,150,180,0.16) 50%, transparent 100%);
  pointer-events: none;
  animation: bhscan 4.2s linear infinite;
}
@keyframes bhscan { 0% { transform: translateY(-100%); } 100% { transform: translateY(450%); } }

/* head row: NORA · ─── · LIVE */
.bh-hud-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
}
.bh-hud-mark {
  font-weight: 800; font-size: 18px; letter-spacing: 0.42em;
  color: #fff;
  text-shadow: 0 0 14px rgba(120,150,180,0.85), 0 0 4px rgba(255,255,255,0.6);
}
.bh-hud-axis {
  flex: 1; height: 2px; align-self: center;
  background: linear-gradient(90deg, rgba(120,150,180,0.85), rgba(140,170,200,0.7));
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(74,120,168,0.45);
  position: relative;
}
.bh-hud-axis::after {
  content: ''; position: absolute; right: -3px; top: -3px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 10px rgba(140,170,200,1), 0 0 18px rgba(140,170,200,0.6);
}
@keyframes bhdot {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 4px currentColor; }
  50%      { transform: scale(1.25); box-shadow: 0 0 12px currentColor; }
}

/* vertical acronym breakdown — first letters spell NORA */
.bh-hud-acronym {
  display: grid; gap: 2px;
  margin: 9px 0 11px;
  padding: 8px 10px;
  border-left: 1px solid rgba(120,150,180,0.45);
  background: rgba(255,255,255,0.018);
}
.bh-al {
  display: flex; align-items: baseline; gap: 4px;
  font-size: 10px; letter-spacing: 0.04em;
  line-height: 1.25;
}
.bh-al-l {
  display: inline-block;
  width: 12px;
  font-weight: 800; font-size: 12.5px;
  color: #60a8d8;
  text-shadow: 0 0 10px rgba(74,120,168,0.85);
  text-align: center;
}
.bh-al-r {
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* animated signal line */
.bh-hud-line {
  position: relative;
  height: 1px;
  margin: 10px 0;
  background: linear-gradient(90deg, transparent 0%, rgba(120,150,180,0.28) 20%, rgba(140,170,200,0.40) 50%, rgba(120,150,180,0.28) 80%, transparent 100%);
  overflow: hidden;
}
.bh-hud-line i {
  position: absolute; top: -1px;
  width: 32%; height: 3px;
  background: linear-gradient(90deg, transparent, #a0b4c8, transparent);
  box-shadow: 0 0 10px rgba(140,170,200,0.85);
  border-radius: 2px;
  animation: bhline 3.2s linear infinite;
}
@keyframes bhline {
  0%   { left: -32%; }
  100% { left: 100%; }
}

/* peer dots row */
.bh-hud-peers {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 8px;
}
.bh-hud-peers .pd {
  width: 6px; height: 6px; border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-block;
}
.bh-hud-peers .pd.on {
  background: var(--brand-2);
  border-color: var(--brand-2);
  box-shadow: 0 0 6px rgba(140,170,200,0.85);
}
.bh-hud-peers .pd.on:nth-child(1) { animation: bhpeer 2.0s 0.0s ease-in-out infinite; }
.bh-hud-peers .pd.on:nth-child(2) { animation: bhpeer 2.2s 0.2s ease-in-out infinite; }
.bh-hud-peers .pd.on:nth-child(3) { animation: bhpeer 1.8s 0.4s ease-in-out infinite; }
.bh-hud-peers .pd.on:nth-child(4) { animation: bhpeer 2.4s 0.6s ease-in-out infinite; }
.bh-hud-peers .pd.on:nth-child(5) { animation: bhpeer 2.0s 0.8s ease-in-out infinite; }
.bh-hud-peers .pd.on:nth-child(6) { animation: bhpeer 2.3s 1.0s ease-in-out infinite; }
.bh-hud-peers .pd.on:nth-child(7) { animation: bhpeer 1.9s 1.2s ease-in-out infinite; }
@keyframes bhpeer {
  0%, 100% { opacity: 0.65; }
  50%      { opacity: 1; }
}
.bh-hud-peers .pd-count {
  margin-left: auto;
  font-size: 8.5px; letter-spacing: 0.12em; font-weight: 700;
  color: rgba(255,255,255,0.7);
}

/* bottom stats: dot + numeric + tiny unit */
.bh-hud-stats {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 7px;
  border-top: 1px solid rgba(120,150,180,0.16);
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  color: #fff;
}
.bh-st { display: inline-flex; align-items: center; gap: 5px; }
.bh-st small {
  font-size: 7.5px; font-weight: 600; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.45);
  margin-left: 1px;
}
.bh-st-d {
  width: 5px; height: 5px; border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 5px currentColor;
}
.bh-st-d.violet { background: #60a8d8; color: #60a8d8; }
.bh-st-d.pink   { background: #0e1e38; color: #0e1e38; }
.bh-st-d.amber  { background: #fbbf24; color: #fbbf24; }
.chat-row { display: flex; }
.chat-row.me { justify-content: flex-end; }
.chat-row.them { justify-content: flex-start; }
.bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.4;
  border: 1px solid var(--line);
  animation: bubbleIn .5s both;
}
.chat-row.me .bubble {
  background: linear-gradient(135deg, var(--brand) 0%, #1a4880 100%);
  border: none;
  border-bottom-right-radius: 6px;
  color: white;
}
.chat-row.them .bubble {
  background: rgba(255,255,255,0.05);
  border-bottom-left-radius: 6px;
  color: var(--text);
}
.chat-row:nth-child(1) .bubble { animation-delay: .1s; }
.chat-row:nth-child(2) .bubble { animation-delay: .35s; }
.chat-row:nth-child(3) .bubble { animation-delay: .6s; }
.chat-row:nth-child(4) .bubble { animation-delay: .9s; }
.chat-row.typing .bubble { display: inline-flex; gap: 4px; padding: 12px 14px; }
.chat-row.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-faint);
  animation: dotPulse 1.4s infinite ease-in-out both;
}
.chat-row.typing span:nth-child(2) { animation-delay: .2s; }
.chat-row.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dotPulse { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }

.ring {
  position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.06);
  pointer-events: none;
}
.ring-1 { width: 480px; height: 480px; }
.ring-2 { width: 700px; height: 700px; border-style: solid; border-color: rgba(255,255,255,0.04); }

/* ───── strip ───── */
.strip { padding: 18px 0 36px; }
.strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.strip-item { display: flex; flex-direction: column; gap: 4px; padding: 0 8px; }
.strip-item .num {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(95deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.strip-item .lab { font-size: 13px; color: var(--text-dim); }

/* ───── sections ───── */
.section { padding: 100px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0)); }
.section-head { max-width: 740px; margin: 0 0 56px; }
.section-head h2 {
  font-size: clamp(28px, 3.8vw, 44px); margin: 12px 0 14px; line-height: 1.12;
  letter-spacing: -0.02em; font-weight: 800;
}
.section-head p { color: var(--text-dim); font-size: 17px; max-width: 60ch; }
.eyebrow {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  background: var(--brand-soft); color: #c9bcff;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
}

/* ───── features grid ───── */
.grid.features {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(74,120,168,0.12), transparent 60%);
  opacity: 0; transition: opacity .25s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.card:hover::after { opacity: 1; }
.card-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(74,120,168,0.14); color: #a0ccf0;
  display: grid; place-items: center;
  margin: 0 auto 18px;
}
.card { text-align: center; }
.card h3, .card p { text-align: center; }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-dim); font-size: 14.5px; }

.grid.features .card:nth-child(1) { grid-column: span 2; }
.grid.features .card:nth-child(2) { grid-column: span 2; }

/* ───── security ───── */
.security-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.security-copy h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; margin: 12px 0 14px; }
.security-copy > p { color: var(--text-dim); font-size: 17px; max-width: 56ch; margin-bottom: 28px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li {
  position: relative; padding-left: 30px; color: var(--text-dim); font-size: 15px;
}
.checklist li strong { color: var(--text); display: inline-block; margin-right: 6px; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px; border-radius: 6px;
  background: linear-gradient(135deg, rgba(74,120,168,0.4), rgba(140,170,200,0.4));
}
.checklist li::after {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.security-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.sc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sc-tag {
  padding: 4px 10px; border-radius: 6px;
  background: rgba(255,255,255,0.06);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}
.sc-dots { display: inline-flex; gap: 5px; }
.sc-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.sc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sc-table tr { border-top: 1px solid var(--line); }
.sc-table tr:first-child { border-top: 0; }
.sc-table td { padding: 12px 0; color: var(--text-dim); }
.sc-table td:first-child { color: var(--text); }
.sc-table td:last-child { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }
.sc-table td.ok { color: var(--ok); }
.sc-table td.warn { color: var(--warn); }
.sc-foot { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.sc-foot code {
  display: block; font-size: 11.5px; color: var(--text); font-family: 'JetBrains Mono', monospace;
  word-break: break-all; padding: 8px 10px;
  background: rgba(0,0,0,0.35); border-radius: 8px; border: 1px solid var(--line);
}
.sc-foot span { display: block; margin-top: 6px; font-size: 12px; color: var(--text-faint); }

/* ───── layers ───── */
.layers { display: grid; gap: 12px; max-width: 920px; margin: 0 auto; }
.layer {
  display: grid; grid-template-columns: 50px 42px 1fr auto; align-items: center; gap: 18px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(74,120,168,calc(0.12 - 0.02 * (var(--l, 1) - 1))), rgba(255,255,255,0.01));
  transition: transform .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.layer-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(74,120,168,0.16); color: #a0ccf0;
  display: grid; place-items: center;
}
.layer-icon svg { width: 22px; height: 22px; }
.layer:hover { transform: translateX(4px); border-color: var(--line-strong); }
.layer-num {
  font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--text-faint); letter-spacing: 0.05em;
}
.layer-body h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.layer-body p { margin: 0; color: var(--text-dim); font-size: 14.5px; }
.layer-tag {
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #a0ccf0; padding: 6px 11px; border-radius: 999px;
  background: var(--brand-soft); border: 1px solid rgba(74,120,168,0.2);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}
.layer[data-l="1"] { background-image: linear-gradient(90deg, rgba(140,170,200,0.14), rgba(255,255,255,0.01)); }
.layer[data-l="2"] { background-image: linear-gradient(90deg, rgba(74,120,168,0.14), rgba(255,255,255,0.01)); }
.layer[data-l="3"] { background-image: linear-gradient(90deg, rgba(42,80,140,0.14), rgba(255,255,255,0.01)); }
.layer[data-l="4"] { background-image: linear-gradient(90deg, rgba(28,55,100,0.12), rgba(255,255,255,0.01)); }
.layer[data-l="5"] { background-image: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01)); }

/* ───── network / pillars ───── */
.pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px; margin-bottom: 28px;
}
.pillar {
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.pillar:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.pillar::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  opacity: 0.6;
}
.pillar { text-align: center; }
.pillar-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(140,170,200,0.14); color: #90cef0;
  display: grid; place-items: center; margin: 0 auto 16px;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.pillar p { margin: 0; color: var(--text-dim); font-size: 14.5px; }

.join-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px; margin-top: 14px;
}
.join-card {
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(500px circle at 100% 0%, rgba(74,120,168,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  position: relative; overflow: hidden;
}
.join-num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--brand-2); letter-spacing: 0.1em; margin-bottom: 12px;
}
.join-card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -0.01em; }
.join-card > p { margin: 0 0 16px; color: var(--text-dim); font-size: 15px; }
.join-card strong { color: var(--brand-2); font-weight: 700; }
.join-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.join-list li {
  position: relative; padding-left: 22px;
  color: var(--text-dim); font-size: 14px;
}
.join-list li::before {
  content: ''; position: absolute; left: 4px; top: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 4px rgba(74,120,168,0.12);
}

.anti-deanon {
  margin-top: 28px;
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(74,120,168,0.10), rgba(140,170,200,0.06));
  border: 1px solid rgba(74,120,168,0.25);
}
.ad-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.06); color: #a0ccf0;
  display: grid; place-items: center;
}
.anti-deanon h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.anti-deanon p { margin: 0; color: var(--text-dim); font-size: 14.5px; max-width: 80ch; }

@media (max-width: 1080px) {
  .pillars { grid-template-columns: 1fr; }
  .join-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .anti-deanon { grid-template-columns: 1fr; padding: 20px; }
}

/* ───── wallet ───── */
.wallet-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.wallet-copy h2 {
  font-size: clamp(28px, 3.8vw, 44px); line-height: 1.12;
  letter-spacing: -0.02em; font-weight: 800; margin: 12px 0 14px;
}
.wallet-copy > p { color: var(--text-dim); font-size: 17px; max-width: 56ch; margin-bottom: 24px; }
.wallet-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.wallet-features li {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
}
.wf-ic {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(140,170,200,0.14); color: #90cef0;
  display: grid; place-items: center;
}
.wf-ic svg { width: 20px; height: 20px; }
.wallet-features strong { display: block; color: var(--text); font-size: 15.5px; margin-bottom: 2px; }
.wallet-features span { color: var(--text-dim); font-size: 14.5px; }
.wallet-note {
  margin-top: 22px;
  padding: 14px 18px; border-radius: 12px;
  background: rgba(74,120,168,0.08);
  border: 1px solid rgba(74,120,168,0.22);
  display: inline-flex; gap: 12px; align-items: center;
  font-size: 14px; color: var(--text-dim);
}
.wn-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 5px 18px 5px 5px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-weight: 700; font-size: 13px;
  /* No letter-spacing — the JetBrains Mono advance already gives plenty
     of breathing room, and tracking on a single short word ("Base")
     pushes the last glyph past the inline-flex padding. */
  letter-spacing: 0;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}
.wn-logo {
  width: 26px; height: 26px; border-radius: 50%; display: block; flex-shrink: 0;
}

.wallet-art { position: relative; display: flex; justify-content: center; }
.wcard {
  position: relative; z-index: 2;
  width: 100%; max-width: 380px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #14141f 0%, #0e0e18 100%);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.07);
}
.wcard-glow {
  position: absolute; inset: -40px; z-index: 1; pointer-events: none;
  background:
    radial-gradient(280px 280px at 30% 0%, rgba(74,120,168,0.35), transparent 60%),
    radial-gradient(280px 280px at 70% 100%, rgba(140,170,200,0.30), transparent 60%);
  filter: blur(20px);
}
.wcard-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.base-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0,82,255,0.14);
  border: 1px solid rgba(0,82,255,0.32);
  color: #8aa8ff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em;
  white-space: nowrap;
}
.base-badge .base-mark {
  width: 14px; height: 14px; object-fit: contain; display: inline-block;
  filter: drop-shadow(0 0 4px rgba(0,82,255,0.55));
}
.wcard-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(140,170,200,0.12); color: #90cef0;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  font-family: 'JetBrains Mono', monospace;
}
.wcard-addr {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-faint);
}
.wcard-balance { margin-bottom: 18px; }
.wbal-lbl { font-size: 12px; color: var(--text-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.wbal-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.wbal-num { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; }
.wbal-cur { font-size: 14px; color: var(--text-dim); font-weight: 600; }
.wbal-usd { font-size: 13px; color: var(--text-faint); margin-top: 2px; font-family: 'JetBrains Mono', monospace; }

.wcard-tokens { display: grid; gap: 8px; margin-bottom: 16px; }
.wtoken {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.wt-ic {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  /* White wash so colour logos (Ethereum, USDC) read cleanly on the
     dark wallet card. Subtle border picks up the brand colour via the
     per-token classes below. */
  background: #fff;
  overflow: hidden;
}
.wt-ic img { width: 28px; height: 28px; object-fit: contain; display: block; }
.wt-ic.eth  { box-shadow: 0 0 0 1px rgba(99,123,255,0.55), 0 0 12px rgba(99,123,255,0.25); }
.wt-ic.usdc { box-shadow: 0 0 0 1px rgba(39,117,202,0.55), 0 0 12px rgba(39,117,202,0.25); }
.wt-info { display: flex; flex-direction: column; line-height: 1.2; }
.wt-info strong { font-size: 14px; }
.wt-info span { font-size: 12px; color: var(--text-faint); font-family: 'JetBrains Mono', monospace; }
.wt-val { font-size: 13px; font-weight: 700; color: var(--ok); font-family: 'JetBrains Mono', monospace; }
.wt-val.flat { color: var(--text-faint); font-weight: 500; }

.wcard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.wbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.05); color: var(--text);
  border: 1px solid var(--line-strong);
  cursor: pointer; transition: background .15s ease;
  font-family: inherit;
}
.wbtn:hover { background: rgba(255,255,255,0.09); }
.wbtn.primary {
  background: linear-gradient(135deg, var(--brand), #1a4880);
  border-color: transparent;
  color: white;
}
.wbtn.primary:hover { filter: brightness(1.1); }

.wcard-tx { display: grid; gap: 6px; padding-top: 14px; border-top: 1px dashed var(--line); }
.wtx {
  display: flex; justify-content: space-between;
  font-size: 12.5px; font-family: 'JetBrains Mono', monospace;
}
.wtx span:first-child { color: var(--text-dim); }
.wtx.out span:last-child { color: #fda4af; }
.wtx.in  span:last-child { color: var(--ok); }

@media (max-width: 1080px) {
  .wallet-grid { grid-template-columns: 1fr; gap: 36px; }
  .wallet-art { order: -1; }
}

/* ───── how it works ───── */
.how-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start;
}
.how-side { position: sticky; top: 100px; }
.how-side h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; margin: 12px 0 14px; }
.how-side > p { color: var(--text-dim); font-size: 17px; max-width: 50ch; }
.how-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: how; }
.how-list li {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
}
.how-step {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--brand-2); letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.how-list h3 { margin: 0 0 6px; font-size: 18px; }
.how-list p { margin: 0; color: var(--text-dim); font-size: 14.5px; }

/* ───── download ───── */
.download { display: flex; justify-content: center; }
.dl-card {
  position: relative; max-width: 880px; width: 100%;
  padding: 56px 40px;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(900px circle at 50% -20%, rgba(74,120,168,0.25), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dl-glow {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(220px 100px at 30% 10%, rgba(140,170,200,0.4), transparent),
    radial-gradient(220px 100px at 70% 10%, rgba(74,120,168,0.4), transparent);
  filter: blur(40px); opacity: .5;
}
.dl-card h2 { margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; }
.dl-card > p { margin: 0 0 28px; color: var(--text-dim); }
.dl-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.dl-meta {
  margin-top: 28px; display: inline-flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-faint);
  font-family: 'JetBrains Mono', monospace;
}
.dl-meta i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--text-faint); }

/* ───── download · live download counter ───── */
.dl-count {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}
.dl-count svg { color: var(--brand-2); }
.dl-count #dlCountNum { color: var(--text); font-weight: 600; }

/* ───── download · verify block ───── */
.dl-verify {
  margin: 28px auto 0; max-width: 620px; text-align: left;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: rgba(255,255,255,0.02);
}
.dl-verify summary {
  display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--text);
  user-select: none;
}
.dl-verify summary::-webkit-details-marker { display: none; }
.dl-verify summary svg { color: var(--brand-2); flex: none; }
.dl-verify summary::after {
  content: '+'; margin-left: auto; color: var(--text-faint);
  font-family: 'JetBrains Mono', monospace; font-size: 18px; line-height: 1;
}
.dl-verify[open] summary::after { content: '−'; }
.dl-verify-body { padding: 0 18px 18px; }
.dl-verify-body h4 {
  margin: 16px 0 6px; font-size: 13px; font-weight: 700; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.03em;
}
.dl-verify-body p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.6; color: var(--text-dim); }
.dl-verify-body a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 2px; }
.dl-fp {
  display: block; padding: 9px 11px; border-radius: 8px;
  background: rgba(0,0,0,0.35); border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; line-height: 1.5;
  color: var(--brand-2); word-break: break-all; user-select: all;
}
.dl-cmd {
  margin: 6px 0 0; padding: 8px 11px; border-radius: 8px;
  background: rgba(0,0,0,0.25); border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--text-faint); white-space: pre-wrap; word-break: break-all; user-select: all;
}

/* ───── faq ───── */
.faq-list { display: grid; gap: 10px; max-width: 800px; }
.faq-list details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.025);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.faq-list details[open] { border-color: var(--line-strong); background: rgba(255,255,255,0.04); }
.faq-list summary {
  cursor: pointer; padding: 16px 20px;
  font-weight: 600; font-size: 15.5px;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; flex: 0 0 auto;
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4a4b0' stroke-width='2' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-size: contain; background-repeat: no-repeat;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list p { margin: 0; padding: 0 20px 18px; color: var(--text-dim); font-size: 14.5px; }

/* ───── footer ───── */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: 60px; }
.footer-inner { display: grid; gap: 24px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-dim); font-weight: 600; }
.foot-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 32px;
}
.foot-cols h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); font-weight: 600; }
.foot-cols a { display: block; padding: 4px 0; color: var(--text-dim); font-size: 14px; }
.foot-cols a:hover { color: var(--text); }
.foot-fine {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-faint);
  border-top: 1px dashed var(--line); padding-top: 20px;
  font-family: 'JetBrains Mono', monospace;
}

/* ───── responsive ───── */
@media (max-width: 1080px) {
  .hero-art { display: none; }
  .grid.features { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.features .card:nth-child(1),
  .grid.features .card:nth-child(2) { grid-column: span 1; }
  .security-grid, .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .how-side { position: static; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid var(--line-strong); background: rgba(255,255,255,0.04);
    cursor: pointer; padding: 9px;
  }
  .nav-burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 64px; left: 16px; right: 16px;
    padding: 16px; border-radius: 16px;
    background: rgba(8,10,14,0.95);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(14px);
    gap: 16px;
  }
  .hero { padding: 40px 0 60px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .grid.features { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 28px 38px 1fr; gap: 10px 12px; padding: 16px 18px; align-items: start; }
  .layer-num { padding-top: 10px; }
  .layer-icon { width: 38px; height: 38px; border-radius: 9px; }
  .layer-icon svg { width: 20px; height: 20px; }
  .layer-body h3 { font-size: 15px; }
  .layer-body p { font-size: 13.5px; }
  .layer-tag { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .section { padding: 70px 0; }
  .dl-card { padding: 40px 22px; }
}

/* ----- 400px: very small phones ----- */@media (max-width: 400px) {  .hero-meta { grid-template-columns: 1fr 1fr; }  .strip-inner { grid-template-columns: 1fr 1fr; }  .foot-cols { grid-template-columns: 1fr; }  .dl-row { flex-direction: column; align-items: stretch; }  .hero-cta { flex-direction: column; }  .btn { justify-content: center; }  .wcard { padding: 16px; }  .hero-title { font-size: clamp(32px, 9vw, 42px); }  .section-head h2 { font-size: clamp(24px, 7vw, 32px); }  .dl-card { padding: 32px 16px; }  .join-card { padding: 20px; }  .layer { grid-template-columns: 24px 34px 1fr; gap: 8px 10px; padding: 14px 14px; }
  .layer-num { padding-top: 8px; font-size: 11px; }
  .layer-icon { width: 34px; height: 34px; }
  .layer-icon svg { width: 17px; height: 17px; }}
/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .ring { animation: none !important; }
}
