/* ============================================================
   ALLIGATOR SIGNAL — landing page styles
   Aesthetic: trader-terminal × editorial. Dark navy + cyan + amber.
   ============================================================ */

:root {
  --bg:        #0a1018;
  --bg-2:      #0d1622;
  --surface:   #0f1b28;
  --surface-2: #14253a;
  --ink:       #e8eef5;
  --ink-2:     #b6c2d0;
  --dim:       #7a8a9a;
  --dimmer:    #4a5666;
  --line:      #1e2c3d;
  --line-2:    #263a52;
  --grid:      #16243a;

  --cyan:      #00d9ff;
  --cyan-2:    #66e9ff;
  --amber:     #ffb43a;
  --green:     #3ee7a8;
  --red:       #ff5a6e;

  --tooth:     #f4f4f4;

  --shadow-md: 0 8px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 28px 60px -16px rgba(0,0,0,.6);

  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

[data-theme="light"] {
  --bg:        #f4efe4;
  --bg-2:      #ece6d6;
  --surface:   #ffffff;
  --surface-2: #f8f4e9;
  --ink:       #0a1018;
  --ink-2:     #2a3340;
  --dim:       #6a7280;
  --dimmer:    #a8b0bb;
  --line:      #d9d2c0;
  --line-2:    #c4bda8;
  --grid:      #e2dcc8;
  --cyan:      #006b8a;
  --cyan-2:    #008cb0;
  --amber:     #c47b14;
  --green:     #138557;
  --red:       #c43644;
  --tooth:     #0a1018;
  --shadow-md: 0 8px 24px rgba(60,40,0,.08);
  --shadow-lg: 0 28px 60px -16px rgba(60,40,0,.14);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--cyan); font-weight: 500; }
strong { font-weight: 600; color: var(--ink); }

.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 52px; height: auto; }
.wm {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.wm-dot { color: var(--cyan); }
.nav-links {
  display: flex; gap: 28px; font-size: 13px; color: var(--ink-2);
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--cyan); }

/* ===== CTA BUTTONS ===== */
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--cyan);
  color: #001722;
  font-weight: 600; font-size: 13px;
  border-radius: 2px;
  border: 1px solid color-mix(in srgb, var(--cyan) 70%, #fff 30%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    0 0 0 1px rgba(0,217,255,.25),
    0 6px 20px -6px rgba(0,217,255,.55);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  white-space: nowrap;
}
.btn-cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-cta__chip {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  padding: 2px 5px; background: rgba(0,30,40,.85); color: var(--cyan);
  letter-spacing: 0.08em; border-radius: 1px;
}
.btn-cta--sm { padding: 8px 12px; font-size: 12px; }
.btn-cta--lg { padding: 16px 24px; font-size: 15px; }
.btn-cta svg { width: 12px; height: 12px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-2); border-radius: 2px;
  color: var(--ink-2); font-size: 13px; font-weight: 500;
  background: transparent;
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ===== MASCOT ===== */
.mk-body  { fill: var(--ink); }
.mk-body.big { fill: var(--ink); }
.mk-eye   { fill: var(--cyan); }
.mk-tooth { fill: var(--tooth); }
.mk-scale { fill: var(--ink-2); opacity: .55; }

/* ===== HERO ===== */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--pad) clamp(60px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
  opacity: .55;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 11px;
  color: var(--ink-2);
  margin-bottom: 28px;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--dim);
  display: inline-block;
}
.dot--live {
  background: var(--green);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 70%, transparent);
  animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 70%, transparent); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.display {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 24px;
  text-wrap: balance;
}
.display span[data-headline-line] { display: block; min-height: 0.95em; }
.display em,
.display .tw-italic { color: var(--cyan); font-style: italic; font-weight: 500; }

/* prevent layout jump while typewriter swaps copy */
.display { min-height: calc(0.95em * 3); }

/* typewriter caret — sharp terminal block, blinks */
.tw-caret {
  display: inline-block;
  color: var(--cyan);
  margin-left: 0.02em;
  transform: translateY(-0.04em);
  animation: caretBlink 1s steps(1, end) infinite;
  font-style: normal;
  font-weight: 400;
  /* prevent the caret being a tap target */
  user-select: none;
  pointer-events: none;
}
@keyframes caretBlink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.tw-inner { display: inline; }

.lede {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 36px;
}

.trust-row {
  display: flex; gap: clamp(20px, 3vw, 36px);
  list-style: none; padding: 0; margin: 0;
  font-size: 11px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.trust-row li { display: flex; flex-direction: column; gap: 4px; }
.t-num { color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.t-lbl { color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; }

/* ===== MOCK (product preview) ===== */
.mock {
  position: relative;
  perspective: 1400px;
  min-height: 480px;
}
.mock-frame {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-5deg) rotateX(2deg);
  transform-style: preserve-3d;
}
.mock-toolbar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 10px;
}
.tb-chip {
  padding: 3px 8px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--ink);
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tb-meta { color: var(--dim); }
.tb-status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.mock-chart {
  position: relative;
  height: 320px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, color-mix(in srgb, var(--cyan) 8%, transparent), transparent 70%),
    var(--bg-2);
}
.chart-svg { width: 100%; height: 100%; display: block; }
.candles .c rect, .candles .c line { stroke-width: 1; }
.candles .c.up rect { fill: var(--green); }
.candles .c.up line { stroke: var(--green); }
.candles .c.dn rect { fill: var(--red); opacity: 0.85; }
.candles .c.dn line { stroke: var(--red); opacity: 0.85; }
.candles .c.flash rect { animation: candleFlash 1.6s ease-in-out infinite; }
@keyframes candleFlash {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 8px var(--green)); }
}

.ln { stroke-width: 1.8; }
.ln.lips  { stroke: var(--green); }
.ln.teeth { stroke: var(--red); }
.ln.jaws  { stroke: var(--cyan); }

.pt-text {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  fill: #001722;
}

.signal-flash .pulse-1 {
  fill: none; stroke: var(--cyan); stroke-width: 1;
  transform-origin: 329px 40px;
  animation: pulse 2s ease-out infinite;
}
.signal-flash .pulse-2 {
  fill: none; stroke: var(--cyan); stroke-width: 1.5;
  transform-origin: 329px 40px;
  animation: pulse 2s ease-out infinite .4s;
}
@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.axis-y {
  position: absolute; top: 6px; right: 8px; bottom: 6px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: 9px; color: var(--dim);
  pointer-events: none;
}
.legend {
  position: absolute; left: 12px; bottom: 10px;
  display: flex; gap: 14px;
  font-size: 9.5px; color: var(--ink-2);
  letter-spacing: 0.06em;
}
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.sw { width: 14px; height: 2px; display: inline-block; border-radius: 1px; }
.sw-lips  { background: var(--green); }
.sw-teeth { background: var(--red); }
.sw-jaws  { background: var(--cyan); }

/* ===== SIGNAL CARD (floating) ===== */
.signal-card {
  position: absolute;
  right: -28px; bottom: -28px;
  width: 260px;
  background: var(--surface);
  border: 1px solid var(--cyan);
  border-radius: 4px;
  padding: 14px;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--cyan) 30%, transparent),
    0 20px 50px -10px rgba(0,0,0,.6),
    0 0 40px -10px color-mix(in srgb, var(--cyan) 55%, transparent);
  display: flex; flex-direction: column; gap: 10px;
  transform: translateZ(40px);
}
.sc-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px;
}
.sc-tag {
  color: var(--cyan); font-weight: 700; letter-spacing: 0.06em;
}
.sc-pair {
  padding: 2px 6px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  border-radius: 1px;
}
.sc-price {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.sc-lbl { font-size: 9.5px; color: var(--dim); letter-spacing: 0.08em; }
.sc-val { font-size: 18px; font-weight: 700; color: var(--ink); }

.sc-decision {
  padding: 10px; background: var(--bg-2); border-radius: 2px;
  display: flex; flex-direction: column; gap: 6px;
}
.sc-decision-lbl {
  font-size: 9px; color: var(--dim); letter-spacing: 0.1em;
  text-align: center;
}
.sc-decision-val {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
  line-height: 1;
}
.sc-meter {
  height: 4px; background: var(--surface-2); border-radius: 1px; overflow: hidden;
}
.sc-meter-fill {
  height: 100%; width: var(--w, 75%);
  background: linear-gradient(90deg, var(--green), var(--cyan));
}
.sc-score {
  display: flex; justify-content: space-between;
  font-size: 9.5px; color: var(--dim); letter-spacing: 0.08em;
}
.sc-score-num { color: var(--ink); font-weight: 600; }
.sc-score-max { color: var(--dim); }

.sc-reasons {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 11px; color: var(--ink-2);
}
.sc-reasons .tick { color: var(--green); margin-right: 6px; font-size: 8px; }

.sc-foot {
  display: flex; justify-content: space-between;
  padding-top: 8px; border-top: 1px dashed var(--line);
  font-size: 9px; color: var(--dim);
}
.sc-foot-c { color: var(--cyan); font-weight: 600; }
.sc-foot-r { color: var(--green); }

/* ===== TICKER ===== */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 14px 0;
  overflow: hidden;
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.ticker-track {
  display: inline-flex; gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  padding-left: 32px;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== SECTION HEAD ===== */
.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  margin-bottom: 48px;
}
.section-head--center { text-align: center; }
.section-head--center .section-title { margin-left: auto; margin-right: auto; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

.section-kicker {
  display: inline-block;
  font-size: 11px;
  color: var(--cyan);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 14px;
  max-width: 22ch;
  text-wrap: balance;
}
.section-sub {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0;
  text-wrap: pretty;
}

/* ===== PILLARS ===== */
.pillars {
  padding: clamp(72px, 8vw, 120px) 0;
}
.pillar-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: relative;
}
.pillar:last-child { border-right: none; }
.pillar-num {
  font-size: 11px;
  color: var(--cyan);
  margin-bottom: 28px;
  letter-spacing: 0.08em;
}
.pillar-h {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  line-height: 1.15;
}
.pillar-p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 24px;
  flex: 1;
  text-wrap: pretty;
}
.pillar-stats {
  display: flex; gap: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.pillar-stats div { display: flex; flex-direction: column; gap: 2px; }
.pillar-stats dt { font-size: 9.5px; color: var(--dim); letter-spacing: 0.1em; }
.pillar-stats dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--cyan); }

.pillar-clock {
  display: flex; align-items: center; gap: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.clock-ring {
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: inset 0 0 12px color-mix(in srgb, var(--cyan) 30%, transparent);
}
.clock-num { font-size: 22px; font-weight: 700; color: var(--cyan); }
.clock-num small { font-size: 11px; color: var(--ink-2); }
.clock-bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.clock-bars i {
  width: 6px; background: var(--cyan); opacity: .6;
  height: var(--h, 50%);
  animation: barUp 1.4s ease-in-out infinite alternate;
}
.clock-bars i:nth-child(2) { animation-delay: .1s; }
.clock-bars i:nth-child(3) { animation-delay: .2s; }
.clock-bars i:nth-child(4) { animation-delay: .3s; }
.clock-bars i:nth-child(5) { animation-delay: .4s; }
@keyframes barUp { from { transform: scaleY(.5); opacity: .4; } to { transform: scaleY(1); opacity: 1; } }

.pillar-wave {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--cyan);
  font-size: 11px;
}
.pillar-wave svg { flex: 1; height: 22px; }

/* ===== MATH ===== */
.math {
  padding: clamp(72px, 8vw, 120px) 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, color-mix(in srgb, var(--cyan) 6%, transparent), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.math-grid {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.score-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.score-card-h {
  display: flex; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 10px;
  color: var(--dim);
}
.score-card-h span:first-child { color: var(--cyan); font-weight: 600; letter-spacing: 0.08em; }
.score-rows { padding: 8px 16px; }
.srow {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.srow:last-child { border-bottom: none; }
.srow-l { color: var(--ink-2); }
.srow-pts { color: var(--cyan); font-weight: 600; }
.srow--total { padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); border-bottom: none; }
.srow--total .srow-l { color: var(--ink); font-weight: 600; letter-spacing: 0.04em; font-size: 11px; font-family: var(--font-mono); }
.srow--total .srow-pts { font-size: 16px; color: var(--green); }

.score-call {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--green) 22%, transparent), transparent);
  border-top: 1px solid var(--line);
}
.score-call-tag { font-size: 10px; color: var(--dim); letter-spacing: 0.1em; font-family: var(--font-mono); }
.score-call-val {
  font-family: var(--font-mono);
  font-size: 28px; font-weight: 700; color: var(--green);
  letter-spacing: 0.04em;
}

.math-aside { display: flex; flex-direction: column; gap: 18px; }
.formula {
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 18px 20px;
  font-size: 13px;
  display: flex; flex-direction: column; gap: 8px;
}
.f-line { display: grid; grid-template-columns: 70px 16px 1fr; align-items: baseline; }
.f-k { color: var(--cyan); font-weight: 600; }
.f-eq { color: var(--dim); text-align: center; }
.f-v { color: var(--ink-2); }
.f-line--out { padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 4px; }
.f-line--out .f-v { color: var(--amber); }

.math-aside-p {
  font-size: 14px; color: var(--ink-2); margin: 0;
  padding-left: 14px; border-left: 2px solid var(--cyan);
  text-wrap: pretty;
}

/* ===== FLOW ===== */
.flow { padding: clamp(72px, 8vw, 120px) 0; }
.flow-steps {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.flow-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(var(--pad) + 24px);
  right: calc(var(--pad) + 24px);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 6px, transparent 6px 12px);
  opacity: .55;
  pointer-events: none;
}
.flow-steps li {
  padding: 20px 24px 20px 0;
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
}
.step-num {
  width: 36px; height: 36px;
  background: var(--bg);
  border: 1px solid var(--cyan);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  position: relative; z-index: 1;
  margin-bottom: 8px;
}
.flow-steps h4 { font-size: 18px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.flow-steps p { font-size: 13px; color: var(--ink-2); margin: 0; max-width: 32ch; text-wrap: pretty; }
.step-lat {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 6px;
  background: color-mix(in srgb, var(--cyan) 12%, transparent);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 600;
  width: max-content;
  border-radius: 1px;
}

/* ===== SPECS ===== */
.specs {
  padding: 0 var(--pad);
  margin: 0 auto clamp(72px, 8vw, 120px);
  max-width: var(--max);
}
.spec-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-2);
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.spec {
  padding: 28px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.spec:last-child { border-right: none; }
.spec-num {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.02em;
  line-height: 1;
}
.spec-unit { font-size: 14px; color: var(--dim); margin-left: 4px; font-weight: 500; }
.spec-lbl { font-size: 13px; color: var(--ink-2); max-width: 28ch; }

/* ===== MASCOT STRIP ===== */
.mascot-strip {
  max-width: var(--max);
  margin: 0 auto clamp(72px, 8vw, 120px);
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.mascot-art {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.mascot-art::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .35;
  pointer-events: none;
}
.mascot-art svg { width: 100%; height: auto; position: relative; }
.mascot-copy h2 { margin-bottom: 18px; }
.mascot-copy p { font-size: 16px; color: var(--ink-2); margin: 0; max-width: 50ch; text-wrap: pretty; }

/* ===== FAQ ===== */
.faq { padding: clamp(72px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.faq-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.faq-grid details {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.faq-grid details:nth-child(2n) { border-right: none; }
.faq-grid details:last-child,
.faq-grid details:nth-last-child(2) { border-bottom: none; }
.faq-grid summary {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 17px; font-weight: 500;
  cursor: pointer; list-style: none;
  letter-spacing: -0.01em;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: "+"; margin-left: auto;
  color: var(--cyan); font-size: 22px; line-height: 1;
  transition: transform .2s;
}
.faq-grid details[open] summary::after { transform: rotate(45deg); }
.q-tag { font-size: 10px; color: var(--cyan); letter-spacing: 0.08em; }
.faq-grid details p {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 46px;
  max-width: 55ch;
  text-wrap: pretty;
}

/* ===== FINAL CTA ===== */
.cta-final {
  position: relative;
  padding: clamp(80px, 9vw, 140px) var(--pad);
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, color-mix(in srgb, var(--cyan) 14%, transparent), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 65%);
  opacity: .4;
  pointer-events: none;
}
.cta-final-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-mark { width: 80px; margin-bottom: 28px; }
.cta-final-h {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 36px;
  text-wrap: balance;
}
.cta-final-h span { color: var(--cyan); font-style: italic; font-weight: 500; }
.cta-final-p { font-size: 11px; color: var(--dim); margin: 22px 0 0; letter-spacing: 0.08em; }

/* ===== FOOTER ===== */
.foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--pad);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.06em;
  border-top: 1px solid var(--line);
}
.foot-r { display: flex; gap: 22px; }
.foot-r a { color: var(--ink-2); transition: color .15s; }
.foot-r a:hover { color: var(--cyan); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .mock { min-height: 440px; }
  .mock-frame { transform: none; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
  .math-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .flow-steps::before { display: none; }
  .spec-band { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(2) { border-right: none; }
  .spec:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mascot-strip { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid details { border-right: none; }
  .faq-grid details:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .trust-row { gap: 18px; }
  .signal-card { right: 0; bottom: -16px; width: 220px; }
  .flow-steps { grid-template-columns: 1fr; }
}

/* ===== VIDEO OVERLAY MODAL ===== */
.video-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 80px rgba(0, 242, 254, 0.1);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.video-modal.active .video-modal-content {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s, transform 0.2s, color 0.2s;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--cyan);
  transform: scale(1.05);
}

.video-modal-close:active {
  transform: scale(0.95);
}

.video-aspect-ratio {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
}

.video-aspect-ratio video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
}

/* ================== WEBSITE SPLASH SCREEN ================== */
#web-splash {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-color: #05070c;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

#web-splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.splash-mascot {
  margin-bottom: 24px;
  animation: splashMascotPulse 2s infinite ease-in-out;
}

.splash-logo-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin: 0 0 8px 0;
  font-family: 'Geist', sans-serif;
}

.splash-accent {
  color: #00ff88;
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.8);
}

.splash-meta {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 32px 0;
  font-family: 'Geist Mono', monospace;
}

.splash-progress-track {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  overflow: hidden;
}

.splash-progress-fill {
  width: 0%;
  height: 100%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  border-radius: 99px;
  animation: splashFill 1.1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes splashMascotPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(0,255,136,0.1)); }
  50% { transform: scale(1.03); filter: drop-shadow(0 0 20px rgba(0,255,136,0.4)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(0,255,136,0.1)); }
}

@keyframes splashFill {
  0% { width: 0%; }
  100% { width: 100%; }
}


