:root {
  --bg: #F4F1EA;
  --surface: #FBF9F5;
  --bg-fade: rgba(244,241,234,0);
  --nav-bg: rgba(244,241,234,0.82);
  --ink: #191B18;
  --ink-hi: #000000;
  --ink-2: #3A3E39;
  --muted: #3E4844;
  --faint: #3F4842;
  --faint2: #4B554F;
  --dot: rgba(25,27,24,0.16);
  --accent: #0F5C55;
  --accent-dim: #0A423D;
  --accent-bright: #0A423D;
  --accent-glow: rgba(15,92,85,0.13);
  --accent-border: rgba(15,92,85,0.4);
  --accent-wash: rgba(15,92,85,0.07);
  --glow-2: rgba(120,138,128,0.16);
  --f-display: Archivo, 'Inter Tight', sans-serif;
  --f-body: Manrope, system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', monospace;
  --r-lg: 18px;
  --r-md: 10px;
  --r-sm: 6px;
  --r-pill: 999px;
  /* hairlines: rgba(25,60,50, base * 3.1) */
  --wash-05: rgba(25,60,50,0.031);
  --wash-0: rgba(25,60,50,0.0558);
  --wash-1: rgba(25,60,50,0.062);
  --wash-2: rgba(25,60,50,0.1085);
  --line-weak: rgba(25,60,50,0.248);
  --line: rgba(25,60,50,0.31);
  --line-med: rgba(25,60,50,0.372);
  --line-strong: rgba(25,60,50,0.434);
  --line-strong2: rgba(25,60,50,0.496);
  --line-hi: rgba(25,60,50,0.62);
  --line-max: rgba(25,60,50,1);
}

html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
}
.page { position: relative; min-height: 100vh; overflow-x: hidden; background: var(--bg); color: var(--ink); }
* { box-sizing: border-box; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-bright); }
::selection { background: rgba(15,92,85,0.18); color: var(--ink); }
img, svg, canvas { max-width: 100%; }
p { text-wrap: pretty; }

@keyframes elyonPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes elyonDrift { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(0,-24px,0) scale(1.06); } }
@keyframes elyonGridPan { from { background-position: 0 0, 0 0; } to { background-position: 72px 72px, 72px 72px; } }
@keyframes elyonAurora {
  0%   { transform: translate3d(-6%, 0, 0) scale(1.05) rotate(0deg); }
  33%  { transform: translate3d(8%, -6%, 0) scale(1.18) rotate(6deg); }
  66%  { transform: translate3d(-4%, 7%, 0) scale(1.1) rotate(-5deg); }
  100% { transform: translate3d(-6%, 0, 0) scale(1.05) rotate(0deg); }
}
@keyframes elyonScan { from { transform: translate3d(0, -100%, 0); } to { transform: translate3d(0, 100vh, 0); } }
@keyframes elyonGrain {
  0%   { background-position: 0 0; }
  25%  { background-position: -40px 30px; }
  50%  { background-position: 30px -50px; }
  75%  { background-position: -25px -20px; }
  100% { background-position: 0 0; }
}
@keyframes elyonSheen { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
@keyframes elyonBubble { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes elyonTypingDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes elyonHalo { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.9; } }
@keyframes elyonLedPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(15,92,85,0.5); } 50% { box-shadow: 0 0 0 4px rgba(15,92,85,0); } }
@keyframes elyonDashFlow { to { stroke-dashoffset: -240; } }
@keyframes elyonNodeRing { 0% { r: 14; stroke-width: 1.6; } 100% { r: 27; stroke-width: 0.2; } }
@keyframes elyonSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* ---------- Background system ---------- */
.bg-plate-wrap {
  position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 86%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 86%);
}
.bg-plate { position: absolute; inset: -8%; will-change: transform; }
.bg-scrim-radial {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 76% 64% at 50% 34%, var(--bg-fade) 0%, var(--bg) 100%);
}
.bg-scrim-linear {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-fade) 26%, var(--bg-fade) 58%, var(--bg) 100%);
}
.bg-grain {
  position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: elyonGrain 0.9s steps(4) infinite;
}
.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg-aurora {
  position: fixed; inset: -20%; filter: blur(26px); animation: elyonAurora 26s ease-in-out infinite;
  background:
    radial-gradient(ellipse 42% 38% at 22% 28%, var(--accent-glow) 0%, transparent 65%),
    radial-gradient(ellipse 38% 34% at 76% 66%, var(--glow-2) 0%, transparent 62%);
}
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, var(--wash-2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--wash-2) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  animation: elyonGridPan 11s linear infinite;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 100%);
}
.bg-mesh { position: fixed; inset: 0; width: 100%; height: 100%; opacity: 0.82; }
.bg-scan {
  position: fixed; left: 0; right: 0; top: 0; height: 220px;
  background: linear-gradient(to bottom, transparent, var(--accent-wash), transparent);
  animation: elyonScan 9s linear infinite;
}

/* ---------- Nav ---------- */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80; background: transparent; border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
#nav.scrolled { background: var(--nav-bg); border-bottom-color: var(--line-strong2); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 16px clamp(18px, 4vw, 28px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 11px; color: var(--ink); flex: none; }
.logo-mark { display: block; flex: none; color: var(--accent); }
.logo-mark-faint { display: block; flex: none; color: var(--faint); }
.wordmark { font-weight: 300; font-size: 15px; line-height: 1; letter-spacing: 0.45em; text-transform: uppercase; color: var(--ink); padding-left: 4px; }
.nav-right { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 550; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-mobile {
  display: none; gap: 22px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 0 clamp(18px, 4vw, 28px) 11px; font-size: 13.5px; font-weight: 500;
}
.nav-mobile::-webkit-scrollbar { display: none; }
.nav-mobile a { flex: none; white-space: nowrap; color: var(--muted); }
.nav-mobile a:hover { color: var(--ink); }

.mono { font-family: var(--f-mono); }
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: var(--r-pill); }
.btn-solid { background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; padding: 15px 26px; }
.btn-solid:hover { background: var(--ink-hi); color: var(--bg); }
.btn-outline { border: 1px solid var(--line-strong2); color: var(--ink); font-size: 15px; font-weight: 500; padding: 15px 26px; justify-content: center; text-align: center; }
.btn-outline:hover { border-color: var(--accent-border); background: var(--accent-wash); color: var(--ink); }
.btn-nav { font-size: 13.5px; padding: 10px 18px; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(134px, 17vw, 168px) clamp(20px, 4vw, 28px) clamp(70px, 10vw, 108px); overflow: hidden; }
.hero-glow { position: absolute; pointer-events: none; animation: elyonDrift 18s ease-in-out infinite; }
.hero-glow-a {
  top: -180px; left: 50%; margin-left: -520px; width: 1040px; height: 700px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, var(--bg-fade) 68%);
}
.hero-glow-b {
  top: 60px; right: -160px; width: 720px; height: 560px; animation-duration: 24s; animation-direction: reverse;
  background: radial-gradient(ellipse at center, var(--glow-2) 0%, var(--bg-fade) 70%);
}
.hero-content { position: relative; max-width: 980px; margin: 0 auto; display: grid; gap: 34px; }
.hero h1 {
  margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(36px, 7.4vw, 88px);
  line-height: 0.98; letter-spacing: -0.035em; max-width: 17ch;
}
.hero h1 em { font-style: normal; color: inherit; }
.hero-sub { margin: 0; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; line-height: 1.55; color: var(--muted); max-width: 58ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 6px; }
.proof-strip {
  display: flex; flex-wrap: wrap; gap: 12px 34px; padding-top: 22px; margin-top: 12px;
  border-top: 1px solid var(--line); font-family: var(--f-mono); font-weight: 600; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(62px, 9vw, 96px) clamp(20px, 4vw, 28px); border-top: 1px solid var(--line-weak); }
.section-inner { max-width: 1180px; margin: 0 auto; display: grid; gap: 56px; }
.section-inner-walk { gap: 34px; }
.section-head { display: grid; gap: 20px; max-width: 720px; }
.section-head-wide { max-width: 760px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-weight: 500; font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.eyebrow-bar { width: 26px; height: 1px; background: var(--accent); opacity: 0.5; flex: none; }
.section h2 {
  margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 4.4vw, 48px);
  line-height: 1.05; letter-spacing: -0.03em;
}
.section-sub { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.6; color: var(--muted); max-width: 56ch; }

/* ---------- What we do ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 20px; }
.card {
  display: grid; align-content: start; gap: 16px; padding: clamp(24px, 5vw, 34px); border-radius: var(--r-lg);
  border: 1px solid var(--line-strong); background: linear-gradient(180deg, var(--wash-2), var(--wash-05));
  transition: border-color 0.3s ease;
}
.card:hover { border-color: var(--accent-border); }
.card-index { font-size: 10.5px; letter-spacing: 0.1em; color: var(--accent); }
.card h3 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.025em; }
.card p { margin: 0; font-size: 15.5px; font-weight: 500; line-height: 1.6; color: var(--muted); }

/* ---------- How it works ---------- */
.platform-glow {
  position: absolute; top: 40px; right: -120px; width: 620px; height: 620px; pointer-events: none;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, var(--bg-fade) 70%);
}
.timeline {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  column-gap: 30px; row-gap: 0; border-top: 1px solid var(--line-strong);
}
.timeline-cell { display: grid; align-content: start; gap: 14px; padding: 26px 0; margin-top: -1px; border-top: 1px solid var(--line-strong); }
.timeline-cell-active { border-top: 2px solid var(--accent); }
.timeline-cell-active .timeline-week { color: var(--accent); }
.timeline-week { font-size: 10.5px; letter-spacing: 0.1em; color: var(--faint); }
.timeline-cell h3 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.timeline-cell p { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--muted); }

/* ---------- Walkthrough ---------- */
.section-walkthrough { background: linear-gradient(180deg, var(--wash-0), var(--bg-fade)); }
.walk-grid { display: grid; grid-template-columns: minmax(0, 318px) minmax(0, 1fr); gap: 24px; align-items: start; }
.sms-col { display: grid; gap: 12px; align-content: start; }
.sms-card {
  position: relative; border-radius: 28px; border: 1px solid var(--line-strong2); background: var(--surface);
  padding: 15px 14px 17px; overflow: hidden;
}
.sms-sheen { position: absolute; inset: 0 0 auto 0; height: 1px; overflow: hidden; }
.sms-sheen span { display: block; width: 38%; height: 100%; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: elyonSheen 7s ease-in-out infinite; }
.sms-head { display: flex; align-items: center; gap: 9px; padding: 2px 6px 13px; }
.sms-notch { width: 30px; height: 4px; border-radius: 999px; background: var(--dot); flex: none; }
.sms-label { font-weight: 600; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.sms-thread { display: flex; flex-direction: column; gap: 10px; min-height: 188px; }
.bubble { font-size: 14.5px; font-weight: 500; line-height: 1.45; animation: elyonBubble 0.5s cubic-bezier(0.16,1,0.3,1) both; }
.bubble-guest {
  align-self: flex-start; max-width: 88%; padding: 11px 14px; border-radius: 17px 17px 17px 5px;
  border: 1px solid var(--line); background: var(--wash-2); color: var(--ink);
}
.bubble-typing {
  align-self: flex-end; display: flex; align-items: center; gap: 5px; padding: 13px 15px;
  border-radius: 17px 17px 5px 17px; background: var(--accent-wash); border: 1px solid var(--accent-border);
  animation-duration: 0.4s;
}
.bubble-typing span { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); animation: elyonTypingDot 1.3s ease-in-out infinite; }
.bubble-typing span:nth-child(2) { animation-delay: 0.16s; }
.bubble-typing span:nth-child(3) { animation-delay: 0.32s; }
.hold-chip {
  align-self: center; display: flex; align-items: center; gap: 8px; margin-top: 2px; padding: 7px 13px;
  border-radius: 999px; border: 1px dashed var(--line-hi); font-family: var(--f-mono); font-weight: 500;
  font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
  animation: elyonBubble 0.4s ease both;
}
.hold-dot { width: 5px; height: 5px; border-radius: 999px; background: var(--accent); animation: elyonHalo 1.8s ease-in-out infinite; flex: none; }
.bubble-reply {
  align-self: flex-end; max-width: 88%; padding: 11px 14px; border-radius: 17px 17px 5px 17px;
  background: var(--accent); color: #F7F5F0;
}
.pips { display: flex; align-items: center; gap: 5px; padding: 0 4px; }
.pip { width: 6px; height: 6px; border-radius: 999px; background: var(--line-hi); transition: width 0.5s cubic-bezier(0.16,1,0.3,1), background 0.5s ease; }
.pip.active { width: 18px; background: var(--accent); }

.console { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line-strong2); background: var(--surface); overflow: hidden; }
.console-titlebar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 13px clamp(14px, 3.4vw, 18px); border-bottom: 1px solid var(--line); background: var(--wash-1);
}
.console-dots { display: flex; gap: 6px; flex: none; }
.console-dots span { width: 9px; height: 9px; border-radius: var(--r-pill); background: var(--dot); }
.console-title { font-weight: 500; font-size: 10.5px; letter-spacing: 0.08em; color: var(--faint); }
.console-status {
  margin-left: auto; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-weight: 500;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); flex: none;
}
.console-status-divider { width: 1px; height: 11px; background: var(--line-hi); }
.console-status-label { display: flex; align-items: center; gap: 7px; }
.status-dot { width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--accent); animation: elyonPulse 1.6s ease-in-out infinite; }

.progress-track { height: 2px; background: var(--wash-2); }
.progress-fill { height: 100%; width: 0%; background: var(--accent); transition: width 0.55s cubic-bezier(0.16,1,0.3,1); }

.console-pipeline { padding: 22px clamp(14px, 3.4vw, 22px) 6px; }
.pipeline-svg { width: 100%; height: auto; display: block; overflow: visible; }
.edge-rail { stroke: var(--line-hi); stroke-width: 1.4; }
.edge-flow { stroke: var(--accent); stroke-width: 1.8; stroke-dasharray: 3 9; stroke-linecap: round; opacity: 0; animation: elyonDashFlow 2.4s linear infinite; transition: opacity 0.5s ease; }
.edge-flow.live { opacity: 1; }
.node-fill { fill: transparent; stroke: var(--line-hi); stroke-width: 1.4; transition: fill 0.5s ease, stroke 0.5s ease; }
.node-ring { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-opacity: 0; }
.node-orbit { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 2 7; stroke-opacity: 0; animation: elyonSpin 11s linear infinite; }
.node-dot { fill: var(--faint2); transition: fill 0.5s ease; }
.node-label { text-anchor: middle; font-family: var(--f-mono); font-size: 13px; letter-spacing: 1.5px; fill: var(--faint2); transition: fill 0.5s ease; }
.node.on .node-fill { fill: var(--accent-wash); stroke: var(--accent); }
.node.on .node-dot { fill: var(--accent); }
.node.on .node-label { fill: var(--ink-2); }
.node.live .node-ring { stroke-opacity: 1; animation: elyonNodeRing 1.8s ease-out infinite; }
.node.live .node-orbit { stroke-opacity: 1; }

.console-trace-wrap { padding: 10px clamp(14px, 3.4vw, 22px) 4px; }
.trace-box { height: 166px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.console-trace { display: flex; flex-direction: column; gap: 6px; font-family: var(--f-mono); font-weight: 500; font-size: clamp(10.5px, 2.6vw, 12px); line-height: 1.55; }
.trace-row { display: flex; align-items: baseline; gap: 10px; }
.trace-tag { flex: none; width: 46px; text-align: right; letter-spacing: 0.08em; opacity: 0.9; }
.trace-text { flex: 1; min-width: 0; word-break: break-word; }

.console-gate {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 15px clamp(14px, 3.4vw, 22px);
  border-top: 1px solid var(--line); background: transparent; transition: background 0.5s ease;
}
.gate-dot { width: 7px; height: 7px; border-radius: var(--r-pill); background: var(--faint); animation: elyonLedPulse 2s ease-in-out infinite; flex: none; }
.gate-label { font-weight: 500; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.gate-meta { margin-left: auto; font-weight: 500; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }

.console-assurance {
  display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 15px clamp(14px, 3.4vw, 22px);
  border-top: 1px solid var(--line); font-family: var(--f-mono); font-weight: 600; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}

.annotations { display: grid; grid-template-columns: repeat(auto-fit, minmax(236px, 1fr)); gap: 16px; }
.annotation { display: grid; align-content: start; gap: 8px; padding: clamp(18px, 4.5vw, 22px); border-radius: var(--r-lg); border: 1px solid var(--line-strong); }
.annotation-highlight { border-color: var(--accent-border); background: var(--accent-wash); }
.annotation-highlight p { color: var(--ink-2); }
.annotation-label { font-weight: 500; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.annotation p { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--muted); }
.annotation-disclaimer { margin: 0; font-weight: 500; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint2); line-height: 1.7; }

.chips-block { display: grid; gap: 18px; padding-top: 34px; border-top: 1px solid var(--line-strong); }
.chips-lead { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 15px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- How we run ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 20px; }
.trust-card { display: grid; align-content: start; gap: 12px; padding: clamp(22px, 5vw, 30px); border-radius: var(--r-lg); border: 1px solid var(--line-strong); }
.trust-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.trust-headline { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 3vw, 27px); letter-spacing: -0.03em; line-height: 1.12; }
.trust-body { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { position: relative; padding: clamp(72px, 11vw, 104px) clamp(20px, 4vw, 28px) 34px; border-top: 1px solid var(--line-strong); overflow: hidden; }
.footer-glow {
  position: absolute; bottom: -320px; left: 50%; margin-left: -400px; width: 800px; height: 620px; pointer-events: none;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, var(--bg-fade) 70%);
}
.footer-inner { position: relative; max-width: 1180px; margin: 0 auto; display: grid; gap: 86px; }
.footer-cta { display: grid; gap: 24px; justify-items: start; max-width: 780px; }
.footer-cta h2 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 5.6vw, 62px); line-height: 1; letter-spacing: -0.035em; }
.footer-cta p { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.6; color: var(--muted); max-width: 54ch; }
.footer-btn { margin-top: 6px; max-width: 100%; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between;
  padding-top: 26px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--faint);
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-links a { color: var(--faint); }
.footer-links a:hover { color: var(--ink); }

/* ---------- Narrow layout (<=820px effective width).
   Driven by a class the ResizeObserver sets, with a media-query fallback
   so the layout is still correct if JS never runs. ---------- */
.page.narrow .nav-links { display: none; }
.page.narrow .nav-mobile { display: flex; }
.page.narrow .walk-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.page.narrow .trace-box { height: 196px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-mobile { display: flex; }
  .walk-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .trace-box { height: 196px; }
  .footer-inner { gap: 56px; }
}

@media (max-width: 460px) {
  .btn-solid, .btn-outline { width: 100%; justify-content: center; }
  .footer-btn { font-size: 14px; padding: 15px 20px; }
  .console-status { margin-left: 0; }
}
