/* ============================================================
   AUGMENT SECURITY — augmentsecurity.com
   Design system: near-black canvas · electric blue accent ·
   Space Grotesk display / JetBrains Mono data · pixel-dissolve
   section transitions · butter-smooth scroll choreography
   ============================================================ */

:root {
  --bg: #05050a;
  --bg-2: #0a0a13;
  --bg-3: #10101d;
  --ink: #e6e8f5;
  --muted: rgba(230, 232, 245, 0.62);
  --faint: rgba(230, 232, 245, 0.38);
  --border: rgba(230, 232, 245, 0.12);
  --border-strong: rgba(230, 232, 245, 0.24);
  --accent: #3d5afe;
  --accent-bright: #5c78ff;
  --accent-soft: rgba(61, 90, 254, 0.14);
  --accent-line: rgba(92, 120, 255, 0.45);
  --paper: #e8eaf6;
  --paper-2: #dfe2f2;
  --ink-dark: #0b0c16;
  --muted-dark: rgba(11, 12, 22, 0.66);
  --border-dark: rgba(11, 12, 22, 0.14);
  --ok: #4ade80;
  --crit: #ff4d6d;
  --high: #ff8c5a;
  --med: #8a93b2;
  --dim: #565d78;
  --font-sans: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.6, 0, 0.2, 1);
  --nav-h: 72px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
s { text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 2px; }

.mono { font-family: var(--font-mono); }

.skip-link {
  position: fixed; top: -48px; left: 16px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: 6px; font-size: 14px; transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- layout primitives ---------- */
.container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.container--narrow { width: min(880px, calc(100% - 48px)); }

.section { padding: clamp(88px, 12vh, 150px) 0; position: relative; }
/* skip layout/paint for far-below-fold sections until approached (big win on
   low-end devices; the sticky hero/final stages are excluded on purpose) */
.section { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section--tight { padding-top: clamp(48px, 7vh, 90px); }

.section-head { max-width: 820px; margin-bottom: clamp(44px, 6vh, 72px); }
.eyebrow {
  font-size: 12px; letter-spacing: 0.22em; color: var(--accent-bright);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08; font-weight: 600; letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-title em { font-style: normal; color: var(--accent-bright); }
.section-sub {
  margin-top: 22px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px);
  max-width: 62ch; text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 26px; border-radius: 8px;
  font-family: var(--font-mono); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--border-strong);
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), color 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out);
  overflow: hidden; white-space: nowrap;
}
.btn__arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 0 0 0 rgba(61, 90, 254, 0.4);
}
.btn--primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); box-shadow: 0 8px 32px -8px rgba(61, 90, 254, 0.55); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease-out);
}
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost { color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent-bright); color: var(--accent-bright); background: var(--accent-soft); }

.btn--sm { padding: 9px 18px; font-size: 12px; }
.btn--lg { padding: 17px 32px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 10, 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner {
  width: min(1360px, calc(100% - 48px)); margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.nav__mark-iris { transition: transform 0.5s var(--ease-out); }
.nav__brand:hover .nav__mark-iris { transform: translateX(4px); }
.nav__name { font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; }
.nav__name b { color: var(--accent-bright); font-weight: 700; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em;
  color: var(--muted); position: relative; padding: 6px 0;
  transition: color 0.3s var(--ease-out);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent-bright); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 14px; }

.nav__burger { display: none; flex-direction: column; gap: 6px; padding: 10px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease-out), opacity 0.3s; }
.nav__burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(5, 5, 10, 0.96); border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  display: flex; flex-direction: column; padding: 20px 24px 28px; gap: 4px;
  animation: menuIn 0.35s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 13px 4px; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.12em; color: var(--muted); border-bottom: 1px solid var(--border); }
.mobile-menu a.btn { margin-top: 16px; border-bottom: 0; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* floating CTA */
.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  background: var(--accent); color: #fff; border-radius: 999px;
  padding: 13px 22px; font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; box-shadow: 0 12px 40px -8px rgba(61, 90, 254, 0.65);
  transform: translateY(140%); opacity: 0; pointer-events: none;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out), background 0.3s;
}
.float-cta.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.float-cta:hover { background: var(--accent-bright); }
.float-cta__arrow { display: inline-block; transition: transform 0.3s var(--ease-out); }
.float-cta:hover .float-cta__arrow { transform: translateX(4px); }

/* ---------- hero (sticky scroll stage) ---------- */
.hero { position: relative; height: 300svh; }
.hero__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
}
.hero__sphere {
  position: absolute; top: 50%; left: 50%;
  width: min(1100px, 130vw); height: min(1100px, 130vw);
  transform: translate(-50%, -50%) scale(var(--sphere-s, 1));
  opacity: 0.9;
  will-change: transform;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(230,232,245,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,232,245,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, black 20%, transparent 75%);
}
.hero__content {
  position: absolute; inset: 0; z-index: 2; text-align: center; padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out), filter 0.55s var(--ease-out);
}
.hero__stage.is-phase-1 .hero__content,
.hero__stage.is-phase-2 .hero__content {
  opacity: 0; transform: translateY(-64px) scale(0.96); filter: blur(8px);
  pointer-events: none;
}

/* scroll phase 2 — message over the expanded globe */
.hero__phase {
  position: absolute; inset: 0; z-index: 2; padding: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; pointer-events: none;
  opacity: 0; transform: translateY(64px) scale(0.97); filter: blur(10px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}
.hero__stage.is-phase-2 .hero__phase--2 { opacity: 1; transform: none; filter: none; }
.hero__phase-eyebrow { font-size: 12px; letter-spacing: 0.26em; color: var(--accent-bright); margin-bottom: 24px; }
.hero__phase--2 h2 {
  font-size: clamp(30px, 4.8vw, 64px); line-height: 1.08; font-weight: 600;
  letter-spacing: -0.025em; text-wrap: balance; max-width: 22ch;
}
.hero__phase--2 h2 em { font-style: normal; color: var(--accent-bright); }
.hero__phase-sub { margin-top: 26px; font-size: 12.5px; letter-spacing: 0.08em; color: var(--faint); }

.eye-wrap { display: flex; justify-content: center; margin-bottom: clamp(28px, 4vh, 48px); }
.eye { width: clamp(150px, 18vw, 220px); height: auto; overflow: visible; }
#eyeAll { will-change: transform; }
#eyeIris { will-change: transform; }
#eyeScan { animation: eyeScan 4.5s var(--ease-snap) infinite; }
@keyframes eyeScan { 0% { transform: translateY(-12px); opacity: 0; } 12% { opacity: 1; } 55% { transform: translateY(128px); opacity: 1; } 66%, 100% { transform: translateY(128px); opacity: 0; } }

.hero__eyebrow {
  font-size: 12px; letter-spacing: 0.26em; color: var(--faint); margin-bottom: 26px;
}
.hero__title {
  font-size: clamp(40px, 7.2vw, 96px);
  line-height: 1.02; font-weight: 600; letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__title-sub {
  display: inline-block; margin-top: 8px;
  background: linear-gradient(100deg, var(--ink) 20%, var(--accent-bright) 55%, var(--ink) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  margin: 30px auto 0; max-width: 640px; color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px); text-wrap: pretty;
}
.hero__actions {
  margin-top: 42px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* hero stats pinned under the stage */
.hero__stats {
  position: relative; z-index: 3; background: var(--bg);
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__stat {
  padding: 26px 20px 30px; text-align: center;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.hero__stat:last-child { border-right: 0; }
.hero__stat-num {
  font-family: var(--font-mono); font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 600; color: var(--ink); letter-spacing: -0.02em;
}
.hero__stat-label { font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.hero__stats-note {
  text-align: center; padding: 14px 0 18px; font-size: 11.5px; color: var(--dim);
  border-top: 1px solid var(--border); letter-spacing: 0.08em;
}

/* glitch text */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
}
.glitch::before { color: var(--crit); z-index: -1; }
.glitch::after { color: var(--accent-bright); z-index: -2; }
.glitch.is-glitching { animation: glitchShift 0.42s steps(2, end) both; }
.glitch.is-glitching::before { opacity: 0.85; animation: glitchA 0.42s steps(3, end) both; }
.glitch.is-glitching::after { opacity: 0.85; animation: glitchB 0.42s steps(3, end) both; }
@keyframes glitchShift {
  0% { transform: none; }
  25% { transform: translate(2px, -1px) skewX(-1.2deg); }
  50% { transform: translate(-2px, 1px); }
  75% { transform: translate(1px, 0) skewX(0.8deg); }
  100% { transform: none; }
}
@keyframes glitchA {
  0% { clip-path: inset(12% 0 62% 0); transform: translate(-4px, -2px); }
  34% { clip-path: inset(58% 0 8% 0); transform: translate(4px, 2px); }
  67% { clip-path: inset(30% 0 40% 0); transform: translate(-3px, 1px); }
  100% { clip-path: inset(0 0 100% 0); transform: none; }
}
@keyframes glitchB {
  0% { clip-path: inset(62% 0 10% 0); transform: translate(4px, 2px); }
  34% { clip-path: inset(8% 0 66% 0); transform: translate(-4px, -1px); }
  67% { clip-path: inset(45% 0 22% 0); transform: translate(3px, -2px); }
  100% { clip-path: inset(100% 0 0 0); transform: none; }
}

/* section-title micro-glitch — one-shot chromatic slice on the em accent
   as a section lands (added by the reveal observer, ~0.5s after entry) */
em.is-glitch-in {
  display: inline-block;
  animation: titleGlitchIn 0.55s steps(4, end) both;
}
@keyframes titleGlitchIn {
  0%   { clip-path: inset(14% 0 44% 0); transform: translate(-3px, 0); text-shadow: 3px 0 var(--crit), -3px 0 var(--accent-bright); }
  26%  { clip-path: inset(50% 0 8% 0);  transform: translate(2px, -1px); text-shadow: -2px 0 var(--crit), 2px 0 var(--accent-bright); }
  52%  { clip-path: inset(30% 0 34% 0); transform: translate(-1px, 0); text-shadow: 1px 0 var(--crit), -1px 0 var(--accent-bright); }
  76%  { clip-path: none; transform: none; text-shadow: none; }
  100% { clip-path: none; transform: none; }
}

/* ---------- pain grid ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.pain { background: var(--bg); padding: 36px 30px 40px; transition: background 0.4s var(--ease-out); }
.pain:hover { background: var(--bg-2); }
.pain__num { font-size: 12px; color: var(--accent-bright); letter-spacing: 0.18em; }
.pain h3 { margin-top: 18px; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.pain p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

/* ---------- platform tabs ---------- */
.platform { border: 1px solid var(--border); background: var(--bg-2); }
.platform__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
.ptab {
  display: flex; align-items: baseline; gap: 8px; padding: 20px 24px;
  border-right: 1px solid var(--border); color: var(--muted);
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out);
  position: relative; text-align: left;
}
.ptab:last-child { border-right: 0; }
.ptab__name { font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; }
.ptab__desc { font-size: 11px; letter-spacing: 0.08em; opacity: 0.7; }
.ptab__tick { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s var(--ease-out); color: var(--accent-bright); }
.ptab:hover { color: var(--ink); }
.ptab.is-active { color: var(--ink); background: var(--bg-3); }
.ptab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.ptab.is-active .ptab__tick { opacity: 1; transform: none; }

.platform__panes { position: relative; }
.ppane { display: none; grid-template-columns: minmax(300px, 5fr) 7fr; }
.ppane.is-active { display: grid; animation: paneIn 0.55s var(--ease-out); }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ppane__copy { padding: clamp(28px, 4vw, 52px); border-right: 1px solid var(--border); }
.ppane__copy h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.015em; }
.ppane__copy p { margin-top: 16px; color: var(--muted); font-size: 15.5px; }
.ppane__facts { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); }
.ppane__facts li { display: flex; align-items: center; gap: 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--ok); box-shadow: 0 0 8px rgba(74, 222, 128, 0.7); }
.dot--crit { background: var(--crit); box-shadow: 0 0 8px rgba(255, 77, 109, 0.7); }
.dot--dim { background: var(--dim); }
.dot--muted { background: var(--dim); }
.ppane__panel { padding: clamp(28px, 4vw, 52px); display: flex; align-items: center; }

/* ---------- UI panels (product mockups) ---------- */
.ui-panel {
  width: 100%; border: 1px solid var(--border-strong); background: rgba(10, 10, 19, 0.85);
  box-shadow: 0 24px 70px -30px rgba(0, 0, 0, 0.9), inset 0 0 60px rgba(61, 90, 254, 0.03);
}
.ui-panel__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-size: 11px; letter-spacing: 0.16em; color: var(--faint);
}
.ui-live { color: var(--ok); font-size: 10.5px; animation: livePulse 2.2s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.ui-panel__body { padding: 10px 16px 18px; }
.ui-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  padding: 11px 2px; border-bottom: 1px dashed var(--border);
  font-size: 12px; color: var(--muted);
}
.ui-row:last-of-type { border-bottom: 0; }
.ui-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-tag {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  padding: 3px 8px; border: 1px solid; border-radius: 3px; white-space: nowrap;
}
.ui-tag--ok { color: var(--ok); border-color: rgba(74, 222, 128, 0.4); background: rgba(74, 222, 128, 0.07); }
.ui-tag--deny { color: var(--crit); border-color: rgba(255, 77, 109, 0.4); background: rgba(255, 77, 109, 0.07); }
.ui-tag--crit { color: var(--crit); border-color: rgba(255, 77, 109, 0.4); background: rgba(255, 77, 109, 0.07); }
.ui-tag--high { color: var(--high); border-color: rgba(255, 140, 90, 0.4); background: rgba(255, 140, 90, 0.07); }
.ui-tag--med { color: var(--med); border-color: rgba(138, 147, 178, 0.4); background: rgba(138, 147, 178, 0.08); }
.ui-tag--dim { color: var(--dim); border-color: rgba(86, 93, 120, 0.5); background: transparent; }
.ui-tag--armed { color: var(--accent-bright); border-color: var(--accent-line); background: var(--accent-soft); }
.ui-meter { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding-top: 16px; }
.ui-meter__label { font-size: 10px; letter-spacing: 0.16em; color: var(--faint); }
.ui-meter__val { font-size: 11px; color: var(--accent-bright); }
.ui-meter__bar { height: 4px; background: rgba(230, 232, 245, 0.08); overflow: hidden; }
.ui-meter__bar i {
  display: block; height: 100%; width: var(--w, 0%);
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease-out) 0.25s;
}
.is-in .ui-meter__bar i, .ppane.is-active .ui-meter__bar i { transform: scaleX(1); }
.ui-panel__hint { padding: 14px 2px 4px; font-size: 11.5px; line-height: 1.7; color: var(--faint); }
.ui-panel__hint b { color: var(--muted); }
.ui-panel--tall .ui-row { grid-template-columns: 1.4fr auto auto; }

/* ---------- live triage ---------- */
.triage { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.triage > *, .split > *, .ppane > * { min-width: 0; }
.term { border: 1px solid var(--border-strong); background: #040409; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 1); min-width: 0; }
.term__bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 14px;
  border-bottom: 1px solid var(--border); background: rgba(230, 232, 245, 0.03);
  min-width: 0;
}
.term__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.term__dot:first-child { background: rgba(255, 77, 109, 0.55); }
.term__title { margin-left: 8px; font-size: 11px; letter-spacing: 0.1em; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term__body {
  height: 380px; overflow: hidden; padding: 16px 18px;
  font-size: 12.5px; line-height: 1.9; color: var(--muted);
  display: flex; flex-direction: column; justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 18%);
  mask-image: linear-gradient(to bottom, transparent 0, black 18%);
}
.term__line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: termIn 0.3s var(--ease-out); min-width: 0; }
@keyframes termIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.term__line .t-dim { color: var(--dim); }
.term__line .t-ok { color: var(--ok); }
.term__line .t-crit { color: var(--crit); }
.term__line .t-acc { color: var(--accent-bright); }
.term__line .t-hi { color: var(--high); }
.term--mini { border: 1px solid var(--border); padding: 14px 16px; font-size: 12px; line-height: 2; color: var(--muted); }
.term__row { display: flex; gap: 10px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.triage__card { border: 1px solid var(--border); background: var(--bg-2); padding: 20px; }
.triage__card-title { font-size: 10.5px; letter-spacing: 0.18em; color: var(--faint); margin-bottom: 8px; }
.triage__row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px;
}
.triage__row:last-child { border-bottom: 0; }
.triage__row .fid { color: var(--faint); font-size: 11.5px; }
.triage__row--pending { color: var(--faint); font-style: italic; }
.sev { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; padding: 3px 7px; border: 1px solid; border-radius: 3px; }
.sev--crit { color: var(--crit); border-color: rgba(255, 77, 109, 0.45); }
.sev--high { color: var(--high); border-color: rgba(255, 140, 90, 0.45); }
.sev--med { color: var(--med); border-color: rgba(138, 147, 178, 0.45); }
.sev--dim { color: var(--dim); border-color: rgba(86, 93, 120, 0.5); }
.triage__note { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.triage__side .btn { margin-top: 22px; }

/* ---------- pixel dissolve bands ---------- */
.pxband { height: 130px; position: relative; overflow: hidden; background: var(--bg); }
.pxband--light { background: var(--paper); }
.pxband canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- light section ---------- */
.section--light { background: var(--paper); color: var(--ink-dark); }
.eyebrow--dark { color: var(--accent); }
.section-title--dark { color: var(--ink-dark); }
.section-title--dark em { color: var(--accent); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: clamp(44px, 6vh, 72px); }
.stat {
  background: var(--paper-2); padding: 30px 26px 34px; min-height: 210px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  border: 1px solid transparent; transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.stat:hover { border-color: var(--border-dark); transform: translateY(-3px); }
.stat__num { font-size: clamp(40px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--ink-dark); }
.stat__unit { font-size: 0.45em; font-weight: 600; margin-left: 4px; }
.stat p { font-size: 14.5px; line-height: 1.55; color: var(--muted-dark); max-width: 26ch; }
.stat--accent { background: var(--accent); border-color: var(--accent); }
.stat--accent .stat__num { color: #fff; }
.stat--accent p { color: rgba(255, 255, 255, 0.85); }

.cve-table { border-top: 2px solid var(--ink-dark); }
.cve-table__row {
  display: grid; grid-template-columns: 130px 1fr 1.6fr auto; gap: 20px; align-items: center;
  padding: 17px 6px; border-bottom: 1px solid var(--border-dark); font-size: 14.5px;
  transition: background 0.3s var(--ease-out);
}
.cve-table__row:not(.cve-table__row--head):hover { background: rgba(61, 90, 254, 0.06); }
.cve-table__row--head { font-size: 10.5px; letter-spacing: 0.2em; color: var(--muted-dark); padding: 12px 6px; }
.cve-table .ui-tag--crit { color: var(--crit); border-color: rgba(255, 77, 109, 0.55); background: rgba(255, 77, 109, 0.08); }
.cve-table .ui-tag--high { color: #c2410c; border-color: rgba(194, 65, 12, 0.5); background: rgba(194, 65, 12, 0.07); }
.cve-table .ui-tag--med { color: #475069; border-color: rgba(71, 80, 105, 0.5); background: transparent; }
.cve-note { margin-top: 18px; font-size: 11.5px; color: var(--muted-dark); letter-spacing: 0.06em; }

/* ---------- mission (wire globe) ---------- */
.mission { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.mission__globe { position: relative; display: flex; flex-direction: column; align-items: center; }
#missionGlobe { width: min(520px, 90%); aspect-ratio: 1; }
.mission__caption { margin-top: 6px; font-size: 11px; color: var(--dim); letter-spacing: 0.06em; }
.mission__points { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.mission__points li { display: flex; gap: 16px; align-items: baseline; color: var(--muted); font-size: 15.5px; }
.mission__points li .mono { color: var(--accent-bright); font-size: 12px; letter-spacing: 0.14em; flex: none; }

/* ---------- sectors ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split--rev .split__panel { order: -1; }
.split__caption { margin-top: 14px; font-size: 11px; color: var(--dim); letter-spacing: 0.06em; }

.sector-list { margin-top: 34px; display: flex; flex-direction: column; }
.sector-list li {
  display: grid; grid-template-columns: 200px 1fr; gap: 20px;
  padding: 20px 4px; border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
}
.sector-list li:hover { background: var(--bg-2); padding-left: 12px; }
.sector-list b { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.sector-list span { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); counter-reset: step; }
.step { background: var(--bg); padding: 30px 24px 40px; position: relative; transition: background 0.35s var(--ease-out); }
.step:hover { background: var(--bg-2); }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.step:hover::before, .step.is-in::before { transform: scaleX(1); }
.step__num { font-size: 12px; color: var(--accent-bright); letter-spacing: 0.18em; }
.step h3 { margin-top: 16px; font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.step p { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ---------- deliverables ---------- */
.ui-panel--report .ui-panel__body { padding: 8px 18px 18px; }
.report-line {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 2px; border-bottom: 1px dashed var(--border); font-size: 14px;
}
.report-line b { font-weight: 500; }
.report-line .mono { color: var(--faint); font-size: 11.5px; }
.report-line--dim { color: var(--faint); }
.report-line--dim b { color: var(--accent-bright); font-family: var(--font-mono); font-size: 12px; }

.check-list { margin-top: 28px; display: flex; flex-direction: column; gap: 13px; }
.check-list li { position: relative; padding-left: 30px; color: var(--muted); font-size: 15.5px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent-bright); font-family: var(--font-mono); font-size: 14px;
}
.check-list--sm li { font-size: 13.5px; padding-left: 26px; }
.split__copy .btn { margin-top: 30px; }

/* ---------- guardrails ---------- */
.never-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.never {
  background: var(--bg); padding: 22px 22px; font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--faint); line-height: 1.6; transition: color 0.3s, background 0.3s;
}
.never s { color: var(--crit); text-decoration: line-through; text-decoration-thickness: 1.5px; margin-right: 6px; }
.never:hover { background: var(--bg-2); color: var(--muted); }
.guardrails-note { margin-top: 30px; max-width: 760px; color: var(--muted); font-size: 16px; }
.guardrails-sig { display: block; margin-top: 14px; font-size: 12px; color: var(--dim); letter-spacing: 0.04em; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price {
  border: 1px solid var(--border); background: var(--bg-2); padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.price:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.price--featured {
  border-color: var(--accent-line); background: linear-gradient(180deg, rgba(61, 90, 254, 0.1), rgba(61, 90, 254, 0.02) 55%), var(--bg-2);
  box-shadow: 0 0 60px -18px rgba(61, 90, 254, 0.35);
}
.price--featured:hover { border-color: var(--accent-bright); box-shadow: 0 0 80px -14px rgba(61, 90, 254, 0.5); }
.price__tag { font-size: 10.5px; letter-spacing: 0.22em; color: var(--accent-bright); }
.price h3 { margin-top: 14px; font-size: 23px; font-weight: 600; letter-spacing: -0.01em; }
.price__amount { margin-top: 16px; font-size: clamp(30px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; }
.price__amount .mono { font-size: 0.4em; font-weight: 500; color: var(--faint); letter-spacing: 0.06em; margin-right: 8px; vertical-align: middle; }
.price__per { font-size: 0.4em !important; color: var(--faint) !important; margin-left: 6px !important; }
.price__desc { margin-top: 12px; font-size: 14.5px; color: var(--muted); min-height: 66px; }
.price ul { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price li { position: relative; padding-left: 26px; font-size: 14px; color: var(--muted); }
.price li::before { content: "▸"; position: absolute; left: 0; color: var(--accent-bright); font-size: 12px; top: 2px; }
.price .btn { margin-top: 28px; }

.launch-note {
  margin-top: 26px; border: 1px dashed var(--accent-line); background: var(--accent-soft);
  padding: 20px 26px; display: flex; gap: 16px; align-items: center; font-size: 15px; color: var(--muted);
}
.launch-note b { color: var(--ink); }
.launch-note__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-bright); flex: none; animation: livePulse 2s ease-in-out infinite; }

/* ---------- faq ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 24px 4px; font-size: clamp(16px, 1.8vw, 19px); font-weight: 500;
  transition: color 0.3s var(--ease-out);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 22px; color: var(--accent-bright); flex: none;
  transition: transform 0.35s var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--accent-bright); }
.faq__body { padding: 0 4px 26px; max-width: 68ch; }
.faq__body p { color: var(--muted); font-size: 15.5px; }

/* ---------- briefing form ---------- */
.section--form {
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(61, 90, 254, 0.12), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.brief { border: 1px solid var(--border-strong); background: rgba(5, 5, 10, 0.6); padding: clamp(28px, 4vw, 48px); }
.brief__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.field { display: flex; flex-direction: column; gap: 9px; border: 0; padding: 0; margin: 0; }
.field--full { margin-top: 26px; }
.field__label { font-size: 11px; letter-spacing: 0.18em; color: var(--faint); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  background: var(--bg-3); border: 1px solid var(--border); color: var(--ink);
  padding: 14px 16px; font: inherit; font-size: 15.5px; border-radius: 4px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.field select:invalid { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-bright); background: var(--bg-2);
  box-shadow: 0 0 0 3px rgba(61, 90, 254, 0.18);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(230, 232, 245, 0.28); }
.field__err { font-size: 11px; color: var(--crit); min-height: 14px; letter-spacing: 0.04em; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--crit); }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row label { position: relative; cursor: pointer; }
.radio-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-row span {
  display: inline-block; padding: 9px 18px; border: 1px solid var(--border); border-radius: 4px;
  font-size: 12px; letter-spacing: 0.12em; color: var(--muted);
  transition: all 0.3s var(--ease-out);
}
.radio-row input:checked + span { border-color: var(--accent-bright); color: var(--ink); background: var(--accent-soft); }
.radio-row input:focus-visible + span { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.field--consent { flex-direction: row; align-items: flex-start; gap: 12px; margin-top: 26px; font-size: 14px; color: var(--muted); cursor: pointer; }
.field--consent input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 2px; flex: none; cursor: pointer; }
.brief__actions { margin-top: 34px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.brief__alt { font-size: 12px; color: var(--faint); }
.brief__alt a { color: var(--accent-bright); }
.brief__alt a:hover { text-decoration: underline; }

.brief-success { margin-top: -8px; animation: paneIn 0.5s var(--ease-out); }
.brief-success__card { border: 1px solid var(--accent-line); background: var(--bg-2); padding: clamp(36px, 5vw, 60px); text-align: center; box-shadow: 0 0 80px -20px rgba(61, 90, 254, 0.4); }
.brief-success__eye { font-size: 13px; letter-spacing: 0.2em; color: var(--accent-bright); }
.brief-success__card h3 { margin-top: 20px; font-size: clamp(24px, 3vw, 34px); font-weight: 600; }
.brief-success__card p { margin: 16px auto 0; max-width: 52ch; color: var(--muted); }
.brief-success__card a { color: var(--accent-bright); }
.brief-success__ref { margin-top: 24px; font-size: 11px; color: var(--dim); letter-spacing: 0.1em; }

/* ---------- final CTA (scroll stage) ---------- */
.final { position: relative; height: 260svh; }
.final__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.final__sphere {
  position: absolute; top: 50%; left: 50%;
  width: min(900px, 120vw); height: min(900px, 120vw);
  transform: translate(-50%, -50%) scale(var(--sphere-s, 1));
  opacity: 0.85; will-change: transform;
}
.final__phase {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 24px;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}
.final__eyebrow { font-size: 12px; letter-spacing: 0.26em; color: var(--accent-bright); margin-bottom: 22px; }
.final__hint { margin-top: 30px; font-size: 11px; letter-spacing: 0.2em; color: var(--dim); animation: livePulse 2.4s ease-in-out infinite; }
.final__line { font-size: clamp(30px, 4.6vw, 60px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
.final__line em { font-style: normal; color: var(--accent-bright); }
.final__stage.is-phase-1 .final__phase--1 { opacity: 1; }
.final__stage.is-phase-2 .final__phase--1 { opacity: 0; transform: translateY(-56px) scale(0.96); filter: blur(8px); }
.final__content { z-index: 2; opacity: 0; transform: translateY(56px) scale(0.97); filter: blur(10px); pointer-events: none; padding-top: 8vh; text-align: center; }
.final__stage.is-phase-2 .final__content {
  opacity: 1; transform: none; filter: none; pointer-events: auto;
}
.final__title { font-size: clamp(36px, 5.6vw, 76px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.final .btn { margin-top: 44px; }
.final__meta { margin-top: 34px; font-size: 11px; letter-spacing: 0.22em; color: var(--faint); }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 10; border-top: 1px solid var(--border); background: #030308; }
.footer__inner {
  width: min(1240px, calc(100% - 48px)); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 70px 0 50px;
}
.footer__brand .nav__mark { width: 26px; height: 26px; }
.footer__brand p { margin-top: 14px; font-size: 13px; letter-spacing: 0.14em; }
.footer__tag { margin-top: 8px; font-family: var(--font-sans); font-size: 13.5px !important; letter-spacing: 0 !important; color: var(--faint); }
.footer__head { font-size: 10.5px; letter-spacing: 0.22em; color: var(--dim); margin-bottom: 18px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 13.5px; color: var(--muted); transition: color 0.3s var(--ease-out); width: fit-content; }
.footer__col a:hover { color: var(--accent-bright); }
.footer__legal { border-top: 1px solid var(--border); }
.footer__legal p {
  width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 22px 0;
  font-size: 10px; letter-spacing: 0.14em; color: var(--dim); line-height: 1.8;
}

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 2, 6, 0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeIn 0.3s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal__card {
  position: relative; width: min(920px, 100%); max-height: calc(100svh - 48px); overflow: auto;
  background: var(--bg-2); border: 1px solid var(--border-strong);
  padding: clamp(28px, 4vw, 48px); box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 1);
  animation: modalIn 0.45s var(--ease-out);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(26px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 16px; right: 16px; padding: 8px; color: var(--muted); font-size: 16px; transition: color 0.3s, transform 0.3s var(--ease-out); }
.modal__close:hover { color: var(--ink); transform: rotate(90deg); }
.modal__eyebrow { font-size: 11px; letter-spacing: 0.2em; color: var(--accent-bright); }
.modal__card h3 { margin-top: 14px; font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.01em; max-width: 30ch; }
.modal__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.modal__meta span { font-size: 10px; letter-spacing: 0.14em; color: var(--faint); border: 1px solid var(--border); padding: 4px 9px; }
.modal__body { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.modal__colhead { font-size: 10.5px; letter-spacing: 0.2em; color: var(--faint); margin: 26px 0 12px; }
.modal__colhead:first-child { margin-top: 0; }
.modal__col > p:not(.modal__colhead) { font-size: 14.5px; color: var(--muted); }
.modal__find {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 13px;
}
.modal__find span:nth-child(2) { color: var(--muted); }
.modal__col .btn { margin-top: 26px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* hero entrance */
.hero__content > * { opacity: 0; transform: translateY(22px); animation: heroIn 1s var(--ease-out) forwards; }
.hero__content > *:nth-child(1) { animation-delay: 0.1s; }
.hero__content > *:nth-child(2) { animation-delay: 0.25s; }
.hero__content > *:nth-child(3) { animation-delay: 0.4s; }
.hero__content > *:nth-child(4) { animation-delay: 0.55s; }
.hero__content > *:nth-child(5) { animation-delay: 0.7s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero__stats { opacity: 0; animation: heroIn 1s var(--ease-out) 0.9s forwards; }
.hero__stats-note { opacity: 0; animation: heroIn 1s var(--ease-out) 1.05s forwards; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .never-grid { grid-template-columns: repeat(2, 1fr); }
  .ppane { grid-template-columns: 1fr; }
  .ppane__copy { border-right: 0; border-bottom: 1px solid var(--border); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .triage { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .mission { grid-template-columns: 1fr; }
  .split--rev .split__panel { order: 0; }
  .price-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
  .hero { height: 230svh; }
  .final { height: 200svh; }
  .hero__phase--2 h2 { font-size: clamp(26px, 7vw, 40px); }
  .final__line { font-size: clamp(26px, 7vw, 40px); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat:nth-child(2) { border-right: 0; }
  .hero__stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .pain-grid { grid-template-columns: 1fr; }
  .platform__tabs { grid-template-columns: 1fr; }
  .ptab { border-right: 0; border-bottom: 1px solid var(--border); }
  .cve-table__row { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .cve-table__row--head { display: none; }
  .brief__grid { grid-template-columns: 1fr; }
  .modal__body { grid-template-columns: 1fr; }
  .sector-list li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .steps { grid-template-columns: 1fr; }
  .never-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .float-cta { right: 16px; bottom: 16px; }
  .brief__actions .btn { width: 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero, .final { height: auto; }
  .hero__stage, .final__stage { position: static; height: auto; min-height: 100svh; }
  .hero__phase, .final__phase--1 { display: none !important; }
  .final__content { opacity: 1 !important; transform: none !important; filter: none !important;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: absolute; inset: 0; }
  .reveal, .hero__content > *, .hero__stats, .hero__stats-note { opacity: 1 !important; transform: none !important; }
  .float-cta { transform: none; opacity: 1; }
}
