/* ============================================================
   SPECTRUM BRIDGE — marketing site
   Aesthetic: "RF instrument" — deep instrument-black, signal-cyan
   accent, functional go/no-go status colors, sharp engineering grid.
   ============================================================ */

/* ---------- Fonts (self-hosted via Google Fonts CDN) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — instrument black, layered */
  --bg-0: #05070a;          /* page base */
  --bg-1: #080b10;          /* section */
  --bg-2: #0c1118;          /* card */
  --bg-3: #111824;          /* raised card */
  --bg-line: #18222f;       /* hairlines */
  --bg-grid: rgba(120, 220, 255, 0.045);

  /* Ink */
  --ink-0: #f3f7fb;         /* headings */
  --ink-1: #c4d0dd;         /* body */
  --ink-2: #8497a8;         /* muted */
  --ink-3: #56697b;         /* faint */

  /* Accent — signal cyan / electric */
  --accent: #2de2c8;        /* primary signal */
  --accent-2: #34c8ff;      /* cyan-blue */
  --accent-3: #6c8cff;      /* deep blue */
  --accent-ink: #051512;
  --accent-glow: rgba(45, 226, 200, 0.35);

  /* Functional go / no-go (carried from the product) */
  --go: #36e07f;
  --caution: #ffb020;
  --stop: #ff4d57;

  /* Type */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-display);
  background: var(--bg-0);
  color: var(--ink-1);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Page-wide atmospheric backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(52, 200, 255, 0.10), transparent 60%),
    radial-gradient(900px 600px at 8% 12%, rgba(45, 226, 200, 0.07), transparent 55%),
    radial-gradient(1000px 900px at 50% 120%, rgba(108, 140, 255, 0.07), transparent 60%),
    var(--bg-0);
}
/* Fine engineering grid overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 120% 100% at 50% 0%, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 120% 100% at 50% 0%, #000 35%, transparent 85%);
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Reusable layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-0); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; }

.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-1) 12%, var(--bg-1) 88%, transparent); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  margin-top: 18px;
  font-weight: 600;
}
.section-head p {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: var(--ink-2);
  max-width: 62ch;
}

.lede { color: var(--accent); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.92em 1.5em;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: 0 8px 30px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn--ghost {
  background: rgba(255,255,255,0.02);
  color: var(--ink-0);
  border-color: var(--bg-line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--bg-line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 0.65em; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; color: var(--ink-0); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand b { font-weight: 700; }
.brand span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__links a { font-size: 0.92rem; color: var(--ink-2); transition: color 0.2s; font-weight: 500; }
.nav__links a:hover { color: var(--ink-0); }
.nav__cta { display: inline-flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: 1px solid var(--bg-line); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--ink-0); }

@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(8,11,16,0.97); backdrop-filter: blur(16px);
    padding: 18px var(--gutter) 28px; gap: 6px;
    border-bottom: 1px solid var(--bg-line);
  }
  .nav__links.open a { padding: 12px 0; border-bottom: 1px solid var(--bg-line); font-size: 1.05rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(120px, 16vw, 180px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero__status {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--bg-line);
  background: rgba(255,255,255,0.015);
  padding: 0.5em 0.95em; border-radius: 100px;
}
.hero__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go); box-shadow: 0 0 10px var(--go); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 700;
  margin-top: 24px;
  letter-spacing: -0.035em;
}
.hero h1 .grad {
  background: linear-gradient(115deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__sub {
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--ink-2);
  max-width: 54ch;
}
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__metrics {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--bg-line);
  border: 1px solid var(--bg-line); border-radius: var(--radius);
  overflow: hidden;
}
.hero__metric { background: var(--bg-1); padding: 18px 18px; }
.hero__metric b { display: block; font-family: var(--font-mono); font-size: clamp(1.3rem, 2.6vw, 1.85rem); color: var(--ink-0); font-weight: 700; letter-spacing: -0.02em; }
.hero__metric span { font-size: 0.78rem; color: var(--ink-2); }

/* Hero instrument panel (canvas spectrum + waterfall) */
.instrument {
  position: relative;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}
.instrument__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--bg-line);
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-2); letter-spacing: 0.06em;
}
.instrument__bar .live { color: var(--go); display: inline-flex; align-items: center; gap: 6px; }
.instrument__bar .live::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--go); box-shadow:0 0 8px var(--go); animation: pulse 2s infinite; }
.instrument__bar .spacer { margin-left: auto; }
.instrument__bar .tag { padding: 2px 8px; border: 1px solid var(--bg-line); border-radius: 6px; color: var(--accent); }
.instrument__screen { position: relative; aspect-ratio: 16 / 11; }
.instrument__screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.instrument__readout {
  position: absolute; top: 14px; left: 16px; z-index: 3;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-1);
  background: rgba(5,7,10,0.55); border: 1px solid var(--bg-line);
  border-radius: 8px; padding: 8px 10px; backdrop-filter: blur(4px);
  line-height: 1.7;
}
.instrument__readout b { color: var(--accent); }
.instrument__foot {
  display: flex; gap: 18px; flex-wrap: wrap;
  padding: 11px 16px; border-top: 1px solid var(--bg-line);
  font-family: var(--font-mono); font-size: 0.66rem; color: var(--ink-3); letter-spacing: 0.05em;
}
.instrument__foot span b { color: var(--ink-1); font-weight: 700; }

/* Logo strip / vendor marquee */
.trust { padding-block: 36px; border-top: 1px solid var(--bg-line); border-bottom: 1px solid var(--bg-line); }
.trust__label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.marquee__item { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.5em; opacity: 0.78; transition: opacity 0.3s, color 0.3s; }
.marquee__item:hover { color: var(--ink-0); opacity: 1; }
.marquee__item .vk { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-3); }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.pain {
  background: var(--bg-2); border: 1px solid var(--bg-line); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.pain:hover { transform: translateY(-4px); border-color: rgba(255,77,87,0.4); }
.pain__num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--stop); letter-spacing: 0.1em; }
.pain h3 { font-size: 1.22rem; margin-top: 14px; font-weight: 600; }
.pain p { margin-top: 12px; color: var(--ink-2); font-size: 0.96rem; }
.pain__line { position: absolute; bottom: 0; left: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--stop), transparent); opacity: 0.5; }

/* ============================================================
   PLATFORM / PILLARS
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--bg-line); border-radius: var(--radius);
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pillar::after {
  content:""; position:absolute; inset:0; opacity:0; transition: opacity 0.45s var(--ease);
  background: radial-gradient(420px 220px at 50% -10%, rgba(45,226,200,0.10), transparent 70%);
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(45,226,200,0.4); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.pillar:hover::after { opacity: 1; }
.pillar__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(45,226,200,0.08); border: 1px solid rgba(45,226,200,0.2); color: var(--accent); margin-bottom: 20px; }
.pillar__ico svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.28rem; font-weight: 600; }
.pillar p { margin-top: 12px; color: var(--ink-2); font-size: 0.96rem; }
.pillar__tag { display: inline-block; margin-top: 18px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(45,226,200,0.25); border-radius: 100px; padding: 4px 11px; }
.pillar--flag { grid-column: span 1; border-color: rgba(45,226,200,0.35); }
.pillar--flag .pillar__tag { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

/* ============================================================
   FEATURE DEEP-DIVE (alternating)
   ============================================================ */
.deep { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.deep + .deep { margin-top: clamp(80px, 12vw, 140px); }
.deep--flip .deep__copy { order: 2; }
.deep__copy h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 600; margin-top: 16px; }
.deep__copy > p { margin-top: 18px; color: var(--ink-2); font-size: 1.05rem; max-width: 52ch; }
.deep__list { margin-top: 26px; display: grid; gap: 14px; }
.deep__list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-1); font-size: 0.98rem; }
.deep__list .chk { flex: none; width: 22px; height: 22px; border-radius: 6px; background: rgba(45,226,200,0.1); border: 1px solid rgba(45,226,200,0.3); display: grid; place-items: center; color: var(--accent); margin-top: 1px; }
.deep__list .chk svg { width: 13px; height: 13px; }
.deep__list b { color: var(--ink-0); font-weight: 600; }

.viz {
  position: relative; border: 1px solid var(--bg-line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: 0 30px 70px -40px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}
.viz__bar { display:flex; align-items:center; gap:10px; padding: 11px 15px; border-bottom: 1px solid var(--bg-line); font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-2); letter-spacing: 0.05em; }
.viz__bar .spacer { margin-left:auto; }
.viz__bar .tag { padding: 2px 8px; border: 1px solid var(--bg-line); border-radius: 6px; }
.viz__body { position: relative; }

/* Clean-frequency widget */
.cf { padding: 18px; display: grid; gap: 10px; }
.cf__row {
  display: grid; grid-template-columns: 92px 1fr 64px; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--bg-line);
  background: var(--bg-1); transition: transform 0.3s var(--ease), border-color 0.3s;
  opacity: 0; transform: translateX(14px);
}
.cf__row.in { opacity: 1; transform: none; }
.cf__row:hover { border-color: var(--accent); transform: translateX(2px); }
.cf__freq { font-family: var(--font-mono); font-size: 0.96rem; color: var(--ink-0); font-weight: 700; }
.cf__bar { height: 8px; border-radius: 100px; background: var(--bg-3); overflow: hidden; position: relative; }
.cf__bar i { position:absolute; inset:0; transform-origin:left; transform: scaleX(0); border-radius: 100px; transition: transform 1.1s var(--ease); }
.cf__row.in .cf__bar i { transform: scaleX(var(--v)); }
.cf__score { font-family: var(--font-mono); font-size: 0.82rem; text-align: right; font-weight: 700; }
.cf--go { color: var(--go); } .cf--go i { background: linear-gradient(90deg, var(--go), #7cf2ad); }
.cf--ca { color: var(--caution); } .cf--ca i { background: linear-gradient(90deg, var(--caution), #ffd27a); }
.cf--no { color: var(--stop); } .cf--no i { background: linear-gradient(90deg, var(--stop), #ff8a90); }
.cf__head { display:flex; gap: 10px; align-items:center; padding: 4px 4px 6px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-3); letter-spacing: 0.08em; }
.cf__head select {
  margin-left: auto; background: var(--bg-3); border: 1px solid var(--bg-line); color: var(--ink-1);
  border-radius: 8px; padding: 6px 10px; font-family: var(--font-mono); font-size: 0.72rem;
}

/* Intermod traffic light */
.im { padding: 22px; display: grid; gap: 16px; }
.im__lights { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.im__light { border: 1px solid var(--bg-line); border-radius: 12px; padding: 16px; text-align: center; background: var(--bg-1); transition: all 0.4s var(--ease); }
.im__light .lamp { width: 30px; height: 30px; border-radius: 50%; margin: 0 auto 10px; background: var(--bg-3); transition: all 0.4s var(--ease); }
.im__light b { display: block; font-family: var(--font-mono); font-size: 1.4rem; color: var(--ink-0); }
.im__light span { font-size: 0.74rem; color: var(--ink-2); }
.im__light.on--go { border-color: rgba(54,224,127,0.5); } .im__light.on--go .lamp { background: var(--go); box-shadow: 0 0 24px var(--go); }
.im__light.on--ca { border-color: rgba(255,176,32,0.5); } .im__light.on--ca .lamp { background: var(--caution); box-shadow: 0 0 24px var(--caution); }
.im__light.on--no { border-color: rgba(255,77,87,0.5); } .im__light.on--no .lamp { background: var(--stop); box-shadow: 0 0 24px var(--stop); }
.im__verdict { display:flex; align-items:center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--bg-line); font-family: var(--font-mono); font-size: 0.82rem; }
.im__verdict .badge { padding: 4px 10px; border-radius: 6px; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.06em; }
.im__verdict.go .badge { background: var(--go); color: #04150b; } .im__verdict.go { color: var(--go); }
.im__verdict.ca .badge { background: var(--caution); color: #1a1100; } .im__verdict.ca { color: var(--caution); }
.im__verdict.no .badge { background: var(--stop); color: #1a0306; } .im__verdict.no { color: var(--stop); }
.im__rows { display: grid; gap: 7px; font-family: var(--font-mono); font-size: 0.74rem; }
.im__r { display:grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 8px 12px; border-radius: 8px; background: var(--bg-1); border: 1px solid var(--bg-line); color: var(--ink-2); align-items:center; }
.im__r .ord { color: var(--ink-3); }
.im__r .st { font-weight: 700; }
.im__r .st.go { color: var(--go); } .im__r .st.ca { color: var(--caution); } .im__r .st.no { color: var(--stop); }

/* ============================================================
   SPATIAL AWARENESS — interactive
   ============================================================ */
.spatial__wrap { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 4vw, 48px); align-items: stretch; }
.spatial__stage {
  position: relative; border: 1px solid var(--bg-line); border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(52,200,255,0.06), transparent 60%),
    linear-gradient(180deg, var(--bg-2), #060a10);
  overflow: hidden; box-shadow: 0 40px 90px -45px rgba(0,0,0,0.9);
}
.spatial__bar { display:flex; align-items:center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--bg-line); font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-2); }
.spatial__bar .spacer { margin-left: auto; }
.spatial__svgwrap { position: relative; }
.spatial__svgwrap svg { width: 100%; height: auto; display: block; }
.spatial__hint { padding: 10px 16px; border-top: 1px solid var(--bg-line); font-family: var(--font-mono); font-size: 0.66rem; color: var(--ink-3); letter-spacing: 0.04em; }

.spatial__panel { display: flex; flex-direction: column; gap: 16px; }
.spatial__controls { display:flex; flex-wrap: wrap; gap: 8px; }
.tgl {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  padding: 8px 13px; border-radius: 100px; border: 1px solid var(--bg-line);
  background: var(--bg-2); color: var(--ink-2); transition: all 0.25s var(--ease);
}
.tgl[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-weight: 700; }
.tgl:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.reason { border: 1px solid var(--bg-line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.reason__hd { padding: 13px 16px; border-bottom: 1px solid var(--bg-line); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--ink-3); text-transform: uppercase; display:flex; align-items:center; gap:8px; }
.reason__hd .conf { margin-left:auto; color: var(--accent); }
table.reason__tbl { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.76rem; }
.reason__tbl th { text-align: left; color: var(--ink-3); font-weight: 400; padding: 9px 16px; border-bottom: 1px solid var(--bg-line); font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; }
.reason__tbl td { padding: 10px 16px; border-bottom: 1px solid var(--bg-line); color: var(--ink-1); }
.reason__tbl tr:last-child td { border-bottom: none; }
.reason__tbl .node { color: var(--accent); }
.reason__tbl .pill { padding: 2px 7px; border-radius: 5px; font-size: 0.68rem; }
.reason__tbl .pill.in { background: rgba(54,224,127,0.12); color: var(--go); }
.reason__tbl .pill.out { background: rgba(132,151,168,0.12); color: var(--ink-2); }

.spatial__result { border: 1px solid rgba(45,226,200,0.3); border-radius: var(--radius); background: linear-gradient(180deg, rgba(45,226,200,0.06), transparent); padding: 18px; }
.spatial__result .big { font-family: var(--font-mono); font-size: 1.5rem; color: var(--ink-0); font-weight: 700; }
.spatial__result .lbl { font-size: 0.78rem; color: var(--ink-2); }
.spatial__result .split { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }

/* ============================================================
   HARDWARE
   ============================================================ */
.hw__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.hw__card {
  border: 1px solid var(--bg-line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.hw__card:hover { transform: translateY(-5px); border-color: rgba(52,200,255,0.4); }
.hw__art { position: relative; aspect-ratio: 16/10; background: radial-gradient(120% 120% at 50% 0%, rgba(52,200,255,0.07), transparent 60%), var(--bg-0); border-bottom: 1px solid var(--bg-line); }
.hw__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hw__body { padding: 24px; }
.hw__body .eyebrow { font-size: 0.66rem; }
.hw__body h3 { font-size: 1.28rem; margin-top: 12px; font-weight: 600; }
.hw__body p { margin-top: 10px; color: var(--ink-2); font-size: 0.94rem; }
.hw__specs { margin-top: 16px; display: grid; gap: 7px; font-family: var(--font-mono); font-size: 0.74rem; }
.hw__specs li { display:flex; justify-content: space-between; gap: 14px; color: var(--ink-2); border-bottom: 1px dashed var(--bg-line); padding-bottom: 6px; }
.hw__specs li b { color: var(--ink-0); font-weight: 700; }

.bundle-note { margin-top: 28px; display:flex; flex-wrap: wrap; gap: 12px; align-items:center; font-size: 0.95rem; color: var(--ink-2); padding: 18px 22px; border: 1px solid var(--bg-line); border-radius: var(--radius); background: var(--bg-2); }
.bundle-note .k { color: var(--accent); font-weight: 600; }

/* ============================================================
   COMPATIBILITY GRID
   ============================================================ */
.compat__filters { display:flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.fbtn {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.03em;
  padding: 9px 15px; border-radius: 100px; border: 1px solid var(--bg-line);
  background: var(--bg-2); color: var(--ink-2); transition: all 0.25s var(--ease);
}
.fbtn[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-weight: 700; }
.fbtn:hover:not([aria-pressed="true"]) { border-color: var(--accent); color: var(--ink-0); }
.fbtn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.compat__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.vcard {
  border: 1px solid var(--bg-line); border-radius: var(--radius); background: var(--bg-2);
  padding: 20px; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.4s, filter 0.4s;
  position: relative; overflow: hidden;
}
.vcard:hover { transform: translateY(-4px); border-color: rgba(45,226,200,0.4); }
.vcard.hide { display: none; }
.vcard__top { display:flex; align-items:center; justify-content: space-between; gap: 10px; }
.vcard__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--ink-0); }
.vcard__conn { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em; color: var(--accent); border: 1px solid rgba(45,226,200,0.25); border-radius: 100px; padding: 3px 9px; text-transform: uppercase; }
.vcard__models { margin-top: 14px; display:flex; flex-wrap: wrap; gap: 6px; }
.vcard__models span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-2); background: var(--bg-3); border: 1px solid var(--bg-line); border-radius: 6px; padding: 4px 8px; }
.vcard__cat { margin-top: 16px; font-family: var(--font-mono); font-size: 0.64rem; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }

/* ============================================================
   DIFFERENTIATION / COMPARISON
   ============================================================ */
.cmp { border: 1px solid var(--bg-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); }
.cmp__table { width: 100%; border-collapse: collapse; }
.cmp__table th, .cmp__table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--bg-line); }
.cmp__table thead th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; vertical-align: bottom; }
.cmp__table thead th.sb { color: var(--accent); }
.cmp__table tbody th { font-weight: 500; color: var(--ink-0); font-size: 0.96rem; }
.cmp__table td { text-align: center; font-size: 0.9rem; color: var(--ink-2); }
.cmp__table td.sb { background: rgba(45,226,200,0.05); }
.cmp__table tbody tr:hover td { background: rgba(255,255,255,0.015); }
.cmp__table tbody tr:hover td.sb { background: rgba(45,226,200,0.09); }
.cmp__yes { color: var(--go); font-weight: 700; }
.cmp__no { color: var(--ink-3); }
.cmp__partial { color: var(--caution); }
.cmp__col-head { display:flex; flex-direction: column; gap: 4px; }
.cmp__col-head b { color: var(--ink-0); font-size: 0.92rem; font-weight: 600; font-family: var(--font-display); letter-spacing: -0.01em; }
.cmp__table thead th.sb .cmp__col-head b { color: var(--accent); }
.cmp__scroll { overflow-x: auto; }

/* ============================================================
   ARCHITECTURE
   ============================================================ */
.arch__diagram { border: 1px solid var(--bg-line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--bg-2), #060a10); padding: clamp(20px, 4vw, 44px); overflow: hidden; }
.arch__diagram svg { width: 100%; height: auto; }
.arch__legend { display:flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-2); }
.arch__legend span { display:inline-flex; align-items:center; gap: 8px; }
.arch__legend i { width: 12px; height: 12px; border-radius: 3px; }

/* ============================================================
   USE CASES
   ============================================================ */
.uc__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.uc {
  border: 1px solid var(--bg-line); border-radius: var(--radius); padding: 26px 24px;
  background: var(--bg-2); position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.uc:hover { transform: translateY(-5px); border-color: rgba(108,140,255,0.45); }
.uc__ico { width: 42px; height: 42px; color: var(--accent-2); margin-bottom: 18px; }
.uc h3 { font-size: 1.16rem; font-weight: 600; }
.uc p { margin-top: 10px; color: var(--ink-2); font-size: 0.92rem; }
.uc__stat { margin-top: 18px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--accent); }

/* ============================================================
   SPEC MATRIX
   ============================================================ */
.spec { border: 1px solid var(--bg-line); border-radius: var(--radius-lg); overflow: hidden; }
.spec__row { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--bg-line); }
.spec__row:last-child { border-bottom: none; }
.spec__k { padding: 20px 24px; background: var(--bg-2); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-2); text-transform: uppercase; border-right: 1px solid var(--bg-line); }
.spec__v { padding: 20px 24px; color: var(--ink-1); font-size: 0.96rem; background: var(--bg-1); }
.spec__v b { color: var(--ink-0); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative; overflow: hidden;
  border: 1px solid rgba(45,226,200,0.25); border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(52,200,255,0.12), transparent 55%),
    radial-gradient(120% 160% at 0% 100%, rgba(45,226,200,0.10), transparent 55%),
    var(--bg-2);
  padding: clamp(40px, 7vw, 80px);
  text-align: center;
}
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 600; }
.cta p { margin: 20px auto 0; color: var(--ink-2); max-width: 56ch; font-size: 1.1rem; }
.cta__btns { margin-top: 36px; display:flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta__sweep { position:absolute; inset:0; pointer-events:none; opacity:0.5; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--bg-line); padding-block: 64px 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 16px; color: var(--ink-2); font-size: 0.92rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.footer ul { display:grid; gap: 11px; }
.footer ul a { color: var(--ink-2); font-size: 0.92rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--accent); }
.footer__bot { display:flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items:center; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--bg-line); font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3); }
.footer__bot a:hover { color: var(--accent); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .uc__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
  .deep, .deep--flip .deep__copy { grid-template-columns: 1fr; order: unset; }
  .deep__copy { order: 0 !important; }
  .spatial__wrap { grid-template-columns: 1fr; }
  .pillars, .problem__grid, .hw__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pillars, .problem__grid, .hw__grid, .uc__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .spec__row { grid-template-columns: 1fr; }
  .spec__k { border-right: none; border-bottom: 1px solid var(--bg-line); }
  .hero__metrics { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .footer__grid { grid-template-columns: 1fr; }
}
