/* ============================================================
   SENTINEL AI — Terminal × Dark Luxury (Clean)
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* NOTE: no `scroll-behavior: smooth` — Lenis owns scrolling; the two conflict and cause jank. */

:root {
  --onyx:        #0a0a0b;
  --onyx-2:      #0e0e11;
  --onyx-3:      #141418;
  --carrara:     #e8e6e1;
  --carrara-dim: #8a8880;
  --carrara-mute:#4a4842;
  --accent:        #c93a2c;
  --accent-bright: #f0503e;
  --accent-dim:    #5e221b;
  --red:         #c44d3d;
  --red-bright:  #e0604e;
  --green:       #4a9c6d;
  --yellow:      #c9b458;
  --glass-bg:     rgba(232, 230, 225, 0.025);
  --glass-border: rgba(232, 230, 225, 0.07);
  --glass-hover:  rgba(232, 230, 225, 0.05);
  --terminal-bg:  rgba(14, 14, 17, 0.85);
  --terminal-border: rgba(201, 58, 44, 0.12);
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --container:   1000px;
  --radius:      10px;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--font-body);
  background: var(--onyx);
  color: var(--carrara);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ── MARBLE BG (subtle luxury, no chrome) ── */
.marble-bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: radial-gradient(ellipse at 15% 0%, #1a1a1f 0%, transparent 50%),
              radial-gradient(ellipse at 85% 100%, #12121a 0%, transparent 50%),
              var(--onyx);
}
.marble-vein { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; }
.vein-1 { width: 500px; height: 800px; top: -150px; left: -80px;
  background: radial-gradient(ellipse, rgba(201, 58, 44,0.1), transparent 60%);
  animation: drift1 30s ease-in-out infinite alternate; }
.vein-2 { width: 400px; height: 600px; top: 40%; right: -100px;
  background: radial-gradient(ellipse, rgba(232,230,225,0.03), transparent 60%);
  animation: drift2 35s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: rotate(30deg) translate(20px); } }
@keyframes drift2 { to { transform: rotate(-20deg) translate(-15px); } }

/* ── NAV ───────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
  background: rgba(10,10,11,0.6);
  border-bottom: 1px solid var(--glass-border);
}
.nav__progress {
  position: absolute; top: 0; left: 0; height: 2px;
  width: 0%; background: linear-gradient(to right, var(--accent-dim), var(--accent-bright));
  box-shadow: 0 0 8px rgba(201, 58, 44,0.4);
  transition: width 0.1s linear; z-index: 1;
}
.nav__logo { font-family: var(--font-mono); font-size: 0.8125rem; display: flex; gap: 1px; }
.nav__prompt { color: var(--accent); }
.nav__cursor { color: var(--accent-bright); animation: blink 1.2s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.nav__links { display: flex; align-items: center; gap: 1.5rem; }
.nav__link { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--carrara-dim); transition: color 0.3s; }
.nav__link:hover { color: var(--accent-bright); }
.nav__link—cta {
  padding: 0.375rem 1rem; border: 1px solid var(--accent-dim);
  border-radius: 4px; color: var(--accent-bright); transition: all 0.3s;
}
.nav__link—cta:hover { background: var(--accent); color: var(--onyx); }
.nav__burger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--carrara); }

/* Brand glyphs (reused nav + footer) */
.brand-ic { width: 12px; height: 12px; display: inline-block; vertical-align: -1.5px; margin-right: 0.4rem; flex-shrink: 0; }
/* sentinel_ + NERA-GLOBE sit together as one left-aligned brand cluster */
.nav__brand { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.nav__brand-sep { width: 1px; height: 13px; background: var(--glass-border); flex-shrink: 0; }
.nav__eco-proj {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em;
  color: var(--accent-dim); opacity: 0.85; transition: color 0.3s var(--ease);
  white-space: nowrap;
}
.nav__eco-proj:hover { color: var(--accent); opacity: 1; }
/* tighten the cluster on phones so it stays on one line beside the burger */
@media (max-width: 460px) {
  .nav__brand { gap: 0.6rem; }
  .nav__eco-proj { font-size: 0.625rem; letter-spacing: 0.08em; }
}

/* ── TERMINAL ──────────────────────────── */
.terminal-window {
  background: var(--terminal-bg); border: 1px solid var(--terminal-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.4);
}
.terminal-window__bar {
  display: flex; gap: 0.5rem; padding: 0.625rem 1rem;
  background: var(--onyx-3); border-bottom: 1px solid var(--glass-border);
}
.terminal-window__dot { width: 10px; height: 10px; border-radius: 50%; }
/* Muted mono dots — keeps the window read without the cliché traffic-light rainbow. */
.terminal-window__dot—red { background: var(--carrara-mute); }
.terminal-window__dot—yellow { background: var(--carrara-mute); }
.terminal-window__dot—green { background: var(--accent-dim); }
.terminal-window__title {
  font-family: var(--font-mono); font-size: 0.6875rem; color: var(--carrara-mute);
  margin-left: 0.5rem; letter-spacing: 0.02em;
}
.terminal-window__body { padding: 1.25rem 1.5rem; font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.9; position: relative; }

/* Hero terminal — elevated */
.terminal-window—hero {
  border-color: rgba(201, 58, 44,0.18);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(201, 58, 44,0.05), 0 0 60px rgba(201, 58, 44,0.05);
}
.terminal-window—hero .terminal-window__body { overflow: hidden; }
.terminal-window__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 40%;
  background: linear-gradient(to bottom, rgba(201, 58, 44,0.06), transparent);
  pointer-events: none; animation: terminal-scan 4.5s var(--ease) infinite;
}
@keyframes terminal-scan {
  0% { transform: translateY(-40%); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(250%); opacity: 0; }
}
.terminal__arrow { color: var(--accent); font-weight: 600; }
.terminal__dots { color: var(--carrara-mute); letter-spacing: 0.05em; }
.terminal__ok { color: var(--green); font-weight: 500; }
.terminal__sep { color: var(--carrara-mute); margin: 0 0.4rem; }
.terminal__text—high { color: var(--yellow); }

.terminal__line { display: flex; align-items: center; gap: 0.5rem; transition: opacity 0.3s; }
.terminal__line:not(.terminal__line—blink) { opacity: 0; }
.terminal__line.terminal__line—output { opacity: 1; }
.terminal__prompt { color: var(--accent-bright); font-weight: 600; }
.terminal__cmd { color: var(--carrara); }
.terminal__line—output { color: var(--carrara-dim); padding-left: 1.25rem; }
.terminal__line—dim { opacity: 0.65; }
.terminal__text—critical { color: var(--red-bright); }
.terminal__cursor { color: var(--accent-bright); animation: blink 1s step-end infinite; }

.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.status-dot—red { background: var(--red-bright); box-shadow: 0 0 5px var(--red); }
.status-dot—gold { background: var(--accent-bright); }

/* ── HERO — typographic, asymmetric ────── */
.hero { position: relative; z-index: 3; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 8rem 0 5rem; }
.hero__grid {
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4.5rem);
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center; gap: clamp(2rem, 6vw, 5.5rem);
}
.hero__lead { min-width: 0; }

/* line-mask reveal primitive */
.line-mask { display: block; overflow: hidden; }
.line-mask__inner {
  display: inline-block; transform: translateY(110%);
  transition: transform 0.95s var(--ease);
  will-change: transform;
}
.hero.is-in .line-mask__inner { transform: translateY(0); }

.hero__eyebrow {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.2em; color: var(--accent);
  margin-bottom: clamp(1.1rem, 2.6vw, 1.9rem);
}

.hero__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: 'opsz' 144, 'wght' var(--wght, 600);
  font-size: clamp(2.9rem, 10.5vw, 9rem);
  line-height: 0.9; letter-spacing: -0.04em;
  color: var(--carrara);
  transition: font-variation-settings 0.45s var(--ease);
}
.hero__title .line-mask + .line-mask { margin-top: -0.04em; }
.hero__title-italic {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'wght' 360;
  color: var(--accent-bright);
}

.hero__sub {
  font-family: var(--font-mono); font-size: clamp(0.8125rem, 1.4vw, 1rem);
  color: var(--carrara-dim); letter-spacing: 0.01em;
  margin-top: clamp(1.5rem, 4vw, 2.6rem);
}

.hero__actions { margin-top: clamp(1.75rem, 3.5vw, 2.4rem); }
.hero__actions-inner { display: inline-flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.hero__meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--carrara-mute); letter-spacing: 0.02em; }
.hero__meta b { color: var(--accent-bright); font-weight: 600; }
.hero__meta i { font-style: normal; opacity: 0.5; margin: 0 0.5rem; }

/* terminal demoted to one honest strip */
.hero__aside { justify-self: end; width: 100%; max-width: 340px; }
.scanstrip { display: block; overflow: hidden; }
.scanstrip__inner {
  display: flex; flex-direction: column; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.6875rem; line-height: 1.45;
  color: var(--carrara-dim);
  padding: 1.3rem 1.4rem; border-left: 1px solid var(--terminal-border);
  background: linear-gradient(to right, rgba(201, 58, 44,0.035), transparent 90%);
}
.scanstrip__row { display: flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.scanstrip__row—dim { color: var(--carrara-mute); }
.scanstrip__p { color: var(--accent-bright); font-style: normal; font-weight: 600; }
.scanstrip__dots, .scanstrip__sep { color: var(--carrara-mute); }
.scanstrip__mark { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-bright); box-shadow: 0 0 7px rgba(201, 58, 44,0.6); }
.scanstrip__cursor { color: var(--accent-bright); animation: blink 1s step-end infinite; }
.scanstrip__row—blink { opacity: 0.85; }

.hero__scrollcue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--carrara-mute);
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
}
.hero__scrollcue i { width: 1px; height: 30px; transform-origin: top;
  background: linear-gradient(to bottom, var(--accent-dim), transparent);
  animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleY(0.35); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ── BUTTONS ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500;
  padding: 0.75rem 1.5rem; border-radius: 6px; cursor: pointer;
  transition: all 0.35s var(--ease); white-space: nowrap;
}
.btn—primary { background: var(--onyx-3); color: var(--accent-bright); border: 1px solid var(--accent); }
.btn—primary:hover { background: #050506; border-color: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(201, 58, 44, 0.22); }
.btn—ghost { background: transparent; color: var(--carrara); border: 1px solid var(--glass-border); }
.btn—ghost:hover { background: var(--glass-hover); border-color: var(--carrara-dim); }
.btn—lg { padding: 1rem 2rem; font-size: 0.875rem; }
.btn—block { display: flex; justify-content: center; width: 100%; }

/* ── SECTIONS ──────────────────────────── */
.section { position: relative; z-index: 3; padding: 6rem 0; }
#services { padding-top: 1.5rem; }
.section—alt { background: rgba(14,14,17,0.4); }
.section__header { text-align: center; margin-bottom: 3.5rem; }
.section__label { display: block; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 1rem; }
.section__title { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 540; font-optical-sizing: auto; font-variation-settings: 'opsz' 120; letter-spacing: -0.03em; color: var(--carrara); }

.text—gold { color: var(--accent-bright); }

/* ── shared severity dot (mono + gold, hue-free) ── */
.sev-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
@keyframes sev-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ── Section 2: the demonstration ──────── */
.demo { max-width: 920px; margin: 0 auto; }
.demo__window {
  border: 1px solid var(--terminal-border);
  background: var(--terminal-bg);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem; line-height: 1.75;
  position: relative; overflow: hidden;
}
.demo__bar {
  margin-bottom: 1.25rem; color: var(--carrara-mute);
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.5rem;
}
.demo__bar::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-dim); }
.demo__line {
  display: block; margin-bottom: 0.65rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.demo__line.typed { opacity: 1; transform: none; }
.demo__role { color: var(--carrara-dim); }
.demo__role--model { color: var(--accent); }
.demo__inject { color: var(--carrara-mute); font-style: italic; }
.demo__leak { color: var(--accent-bright); }
.demo__ok { color: var(--carrara-mute); font-size: 0.8em; letter-spacing: 0.04em; white-space: nowrap; }
.demo__rule {
  height: 1px; background: var(--glass-border); margin: 1rem 0 0.95rem;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.demo__rule.typed { opacity: 1; }
.demo__verdict {
  display: block; color: var(--accent-bright); font-weight: 500; letter-spacing: 0.02em;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.demo__verdict.typed { opacity: 1; transform: none; }
.demo__verdict .sev-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-bright); box-shadow: 0 0 9px rgba(201, 58, 44,0.7);
  animation: sev-pulse 2.4s ease-in-out infinite; margin-right: 0.55rem; vertical-align: middle;
}
.demo__line.is-cursor::after, .demo__verdict.is-cursor::after {
  content: '▋'; color: var(--accent); margin-left: 2px; animation: blink 1s step-end infinite;
}
.demo__coverage {
  max-width: 920px; margin: 2.25rem auto 0; text-align: center;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--carrara-dim);
}
.demo__coverage b { color: var(--accent-dim); font-weight: 400; }
.demo__coverage .demo__count {
  display: block; margin-top: 0.55rem; color: var(--carrara-mute);
  font-size: 0.72rem; letter-spacing: 0.1em;
}

/* ── PRICING ───────────────────────────── */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.price-card {
  padding: 2.5rem 1.75rem 2rem; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); display: flex; flex-direction: column;
  transition: all 0.45s var(--ease); position: relative; overflow: hidden;
}
.price-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(201, 58, 44,0.06), transparent 50%);
  opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none;
}
.price-card:hover::before { opacity: 1; }
.price-card:hover {
  background: var(--glass-hover); border-color: var(--accent-dim);
  transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(201, 58, 44,0.06);
}

.price-card—featured {
  border-color: var(--accent); background: rgba(201, 58, 44,0.03);
  transform: scale(1.04);
  box-shadow: 0 0 50px rgba(201, 58, 44,0.06);
  margin-top: 1rem;
}
.price-card—featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 16px 60px rgba(201, 58, 44,0.1), 0 0 0 1px rgba(201, 58, 44,0.15);
}

.price-card__glow {
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 58, 44,0.08), transparent 70%);
  pointer-events: none;
}

.price-card__badge {
  font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.1em;
  color: var(--onyx); background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  padding: 0.25rem 0.875rem; border-radius: 3px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(201, 58, 44,0.25);
  margin-bottom: 1rem; align-self: center;
}

.price-card__top { margin-bottom: 0.5rem; }
.price-card__plan {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em;
  color: var(--accent-dim);
}
.price-card—featured .price-card__plan { color: var(--accent); }

.price-card__name {
  font-family: var(--font-mono); font-size: 1.0625rem; font-weight: 600;
  letter-spacing: -0.01em; color: var(--carrara); margin-bottom: 0.75rem;
}

.price-card__price {
  font-family: var(--font-mono); font-size: 2.5rem; font-weight: 600;
  letter-spacing: -0.02em; color: var(--accent-bright); line-height: 1; margin-bottom: 0.5rem;
  display: flex; align-items: baseline; gap: 0.125rem;
}
.price-card—featured .price-card__price {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.price-card__currency { font-size: 1.125rem; font-weight: 500; opacity: 0.8; align-self: flex-start; margin-top: 0.15rem; }
.price-card—featured .price-card__currency { -webkit-text-fill-color: var(--accent); color: var(--accent); }
.price-card__price-suffix { font-size: 1.5rem; color: var(--accent-dim); }

.price-card__window {
  font-family: var(--font-mono); font-size: 0.6875rem; color: var(--carrara-mute);
  margin-bottom: 0; letter-spacing: 0.02em;
}

.price-card__divider {
  height: 1px; margin: 1.25rem 0;
  background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}

.price-card__features { list-style: none; flex: 1; margin-bottom: 1.5rem; }
.price-card__features li {
  font-family: var(--font-mono); font-size: 0.8125rem; color: var(--carrara-dim);
  padding: 0.5rem 0;
  display: flex; align-items: center; gap: 0.625rem;
}
.price-check {
  color: var(--carrara-mute); font-size: 0.75rem; font-weight: 600;
  width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 3px; background: rgba(232,230,225,0.04); flex-shrink: 0;
}
.price-check—gold {
  color: var(--onyx); background: var(--accent);
}

/* ── FINAL CTA — cinematic transmission ── */
.cta-final {
  position: relative; z-index: 3; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center; text-align: center;
}
/* background-image (not <img>) so there's no element to right-click/long-press → save */
.cta-final__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('cta-transmission.jpg') center 28% / cover no-repeat;
  pointer-events: none; user-select: none;
}
/* Vignette + a tall solid bottom band so the gold CTA always sits in clean dark, off the eyes */
.cta-final__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 32%, transparent 30%, rgba(10,10,11,0.45) 80%),
    linear-gradient(to bottom, rgba(10,10,11,0.75) 0%, transparent 20%, transparent 40%, rgba(10,10,11,0.9) 66%, rgba(10,10,11,0.99) 100%);
}
.cta-final__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.95rem;
  padding: 0 1.5rem clamp(3.5rem, 8vw, 6rem);
}
/* brand sign-off — small, muted, lets the image's own caption be the headline */
.cta-final__sign {
  font-family: var(--font-mono); font-size: 0.625rem;
  letter-spacing: 0.3em; text-transform: lowercase;
  color: var(--carrara-mute); opacity: 0.75;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── FOOTER ────────────────────────────── */
.footer { position: relative; z-index: 3; padding: 1.4rem 0; border-top: 1px solid var(--glass-border); background: transparent; }
.footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5rem 1.5rem; }
.footer__copy { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--carrara-mute); opacity: 0.72; }
.footer__stack { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; gap: 0.3rem; }
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0.6rem; }
  .footer__stack { grid-column: auto; }
}
.footer__proj { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; color: var(--accent-dim); transition: color 0.3s var(--ease); }
.footer__proj:hover { color: var(--accent); }
.footer__proj + .footer__proj::before { content: '·'; margin: 0 0.5rem 0 0.2rem; color: var(--carrara-mute); opacity: 0.55; }

/* ── CUSTOM CURSOR (non-touch only) ────── */
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor-ring, .cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 30px; height: 30px; border: 1px solid rgba(232,230,225,0.7);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.cursor-dot { width: 4px; height: 4px; background: var(--carrara); }
.has-cursor.cursor-hover .cursor-ring {
  width: 52px; height: 52px; border-color: var(--accent-bright);
  background: rgba(201, 58, 44,0.08);
}
.has-cursor.cursor-down .cursor-ring { width: 22px; height: 22px; }

/* ── REVEAL ────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); animation: reveal-up 0.8s var(--ease) forwards; animation-delay: calc(var(--delay, 0) * 0.1s + 0.2s); }
.reveal[data-delay="1"] { --delay: 1; }
.reveal[data-delay="2"] { --delay: 2; }
.reveal[data-delay="3"] { --delay: 3; }
@keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  body.nav-open .nav__links {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: rgba(10,10,11,0.97);
    padding: 1.5rem; gap: 1.25rem; border-bottom: 1px solid var(--glass-border);
  }
  .pricing__grid { grid-template-columns: 1fr; }
  .price-card—featured { transform: none; }
  .demo__window { font-size: 0.8rem; padding: 1.25rem; line-height: 1.7; }
  .demo__coverage { font-size: 0.7rem; }

  /* Hero collapses to a single column; type leads, scan-strip drops below */
  .hero { padding: 7rem 0 4rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero__title { font-size: clamp(3rem, 17vw, 5.5rem); }
  .hero__aside { justify-self: start; max-width: 100%; }
  .scanstrip__inner { font-size: 0.625rem; }
  .hero__actions-inner { gap: 1rem; }
  .hero__scrollcue { display: none; }
  .terminal-window__body—center { padding: 1.75rem 1.2rem; }
  .vein-1 { width: 320px; height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .demo__line, .demo__rule, .demo__verdict { opacity: 1 !important; transform: none !important; transition: none; }
  .demo__line.is-cursor::after, .demo__verdict.is-cursor::after { content: none; }
}
