/* ============================================================
   STACK FORCE — AI Operations Consultancy
   Dark, cinematic, industrial. Brand violet accent.
   ============================================================ */

:root {
  --bg:        #0A0A0B;
  --bg-raise:  #0E0E11;
  --bg-card:   rgba(255,255,255,0.022);
  --text:      #FFFFFF;
  --muted:     #8A8A8E;
  --muted-dim: #5A5A5E;
  --line:      rgba(255,255,255,0.09);
  --line-soft: rgba(255,255,255,0.05);
  --line-strong: rgba(255,255,255,0.16);

  /* Single restrained accent, sampled from the logo emblem gradient. */
  --accent:        #9B54B3;
  --accent-ink:    #FFFFFF;   /* text color when sitting ON the accent */
  --brand-mag:     #8A4796;
  --brand-vio:     #5A348A;
  --brand-ind:     #432A72;
  --brand-grad:    linear-gradient(155deg, #A258B0 0%, #6B3C95 55%, #432A72 100%);
  --glow:          rgba(150, 92, 190, 0.20);

  --font-display: "Geist", "Inter Tight", system-ui, -apple-system, sans-serif;
  --font-mono:    "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--text); color: var(--bg); }

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- shared typography ------------------------------------ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--line-strong);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }

.section-title {
  font-size: clamp(30px, 4.4vw, 60px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 16ch;
}

.lede {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  letter-spacing: -0.005em;
  max-width: 54ch;
}

.section {
  position: relative;
  padding: clamp(96px, 14vh, 180px) var(--gutter);
  background: transparent;
}
.wrap { max-width: var(--maxw); margin: 0 auto; }

.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .eyebrow { margin-bottom: 26px; }

/* ---- reveal on scroll ------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---- image placeholder slots ------------------------------
   Each slot renders its own on-brand dark placeholder. Drop a
   real file at the <img> src path and it takes over automatically;
   a missing file is removed on error so the placeholder shows. */
.media {
  position: relative;
  margin: 0;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.024) 0 2px, rgba(0,0,0,0) 2px 9px),
    linear-gradient(160deg, #15151C 0%, #0D0D11 55%, #09090A 100%);
}
.media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.media figcaption {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-dim);
  text-align: center; text-wrap: balance;
  pointer-events: none;
}
.media:has(img) figcaption { display: none; }

.media-hero { width: 100%; height: 100%; border: none; }
/* lift the caption clear of the centre glow and the ticker */
.media-hero figcaption { padding-bottom: 22vh; }

.media-founder { width: 46px; height: 46px; flex: none; }
.media-founder figcaption { font-size: 8px; letter-spacing: 0.1em; padding: 4px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line-soft);
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 48px; width: auto; display: block; }
.nav.scrolled .brand-logo { height: 40px; }
.footer-brand .brand-logo { height: 32px; margin-bottom: 24px; }
.nav-links {
  display: flex; gap: 36px;
  font-size: 14px; color: var(--muted);
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a { position: relative; transition: color 0.3s var(--ease); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.btn {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 11px 20px;
  background: transparent;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.btn:hover {
  background: var(--brand-grad);
  color: #fff;
  border-color: transparent;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-lg { padding: 16px 30px; font-size: 13px; }

.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 7px; }
.flag-btn {
  width: 26px; height: 18px; padding: 0;
  border: 1px solid var(--line);
  background: transparent; cursor: pointer;
  display: block; overflow: hidden;
  opacity: 0.42; filter: grayscale(0.55);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease), border-color 0.3s var(--ease);
}
.flag-btn svg { width: 100%; height: 100%; display: block; }
.flag-btn:hover { opacity: 0.85; filter: grayscale(0); }
.flag-btn.active { opacity: 1; filter: grayscale(0); border-color: var(--line-strong); }
.btn-primary {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 55px -20px rgba(120,70,170,0.75), inset 0 0 0 1px rgba(255,255,255,0.05);
}
.btn-primary:hover { filter: brightness(1.13); background: var(--brand-grad); color: #fff; border-color: transparent; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
/* cinematic darkening: vignette + bottom fade to pure black */
.hero-veil {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 28%, rgba(10,10,11,0) 0%, rgba(10,10,11,0.35) 55%, rgba(10,10,11,0.92) 100%),
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0) 22%),
    linear-gradient(0deg, var(--bg) 2%, rgba(10,10,11,0.2) 30%, rgba(10,10,11,0) 60%);
}
.hero-glow {
  position: absolute; z-index: -2; left: 50%; top: 46%;
  width: min(80vw, 760px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--glow) 0%, rgba(120,90,180,0.05) 40%, rgba(0,0,0,0) 68%);
  pointer-events: none;
  filter: blur(6px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  padding: clamp(96px, 13vh, 150px) var(--gutter) clamp(40px, 6vh, 64px);
  pointer-events: none;
}
.hero-grid > * { pointer-events: auto; }

.hero-tl { grid-column: 1; grid-row: 1; align-self: start; }
.hero-tr { grid-column: 2; grid-row: 1; align-self: start; justify-self: end; text-align: right; }
.hero-bl { grid-column: 1; grid-row: 3; align-self: end; }
.hero-br { grid-column: 2; grid-row: 3; align-self: end; justify-self: end; }
.hero-ticker { grid-column: 1 / -1; grid-row: 2; align-self: end; justify-self: center; }

.hero-list { display: flex; flex-direction: column; gap: 9px; }
.hero-list span {
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.hero-list span:first-child { color: var(--text); }

.hero-intro {
  font-size: clamp(14px, 1.25vw, 16.5px);
  color: var(--muted);
  line-height: 1.55;
  max-width: 34ch;
  letter-spacing: -0.005em;
}
.hero-intro strong { color: var(--text); font-weight: 500; }

.hero-tagline {
  font-size: clamp(46px, 9vw, 132px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.hero-tagline .dim { color: var(--muted); }

.hero-ticker .tick {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-dim);
  display: inline-flex; align-items: center; gap: 9px;
}
.hero-ticker .blink { width: 7px; height: 13px; background: var(--text); display: inline-block; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* talk-to-us card */
.talk-card {
  width: min(320px, 78vw);
  border: 1px solid var(--line);
  background: rgba(12,12,14,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px;
}
.talk-card .row { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.talk-card .name { font-size: 14.5px; font-weight: 500; }
.talk-card .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.talk-card .btn { width: 100%; justify-content: space-between; }

.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-dim);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--line-strong), transparent); position: relative; overflow: hidden; }
.scroll-cue .line::after { content:""; position:absolute; left:0; top:-50%; width:100%; height:50%; background: var(--text); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%{ top:-50%; } 60%,100%{ top:120%; } }

/* ============================================================
   THE PROBLEM (orbital)
   ============================================================ */
.problem { text-align: center; }
.problem .section-title { margin: 0 auto; }
.problem .lede { margin: 28px auto 0; }

.orbital {
  position: relative;
  width: min(680px, 92vw);
  aspect-ratio: 1;
  margin: clamp(40px, 6vw, 72px) auto 0;
}
.orbital .core {
  position: absolute; inset: 0; margin: auto;
  width: 132px; height: 132px;
  display: grid; place-items: center; text-align: center;
}
.orbital .core .ring-dec { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; }
.orbital .core .ring-dec:nth-child(2) { inset: -26px; border-color: var(--line-soft); }
.orbital .core .core-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); line-height: 1.35; position: relative; z-index: 2;
}
.orbital .core::before {
  content:""; position:absolute; inset:18px; border-radius:50%;
  background: radial-gradient(circle, var(--glow), rgba(0,0,0,0) 70%);
}
.orbital-spin {
  position: absolute; inset: 0;
  animation: spin 64s linear infinite;
}
@media (prefers-reduced-motion: reduce){ .orbital-spin{ animation: none; } }
.orbital-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbital-spin svg line { stroke: var(--line); stroke-width: 1; }
.pill {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a)));
}
.pill .pill-inner {
  animation: spin-rev 64s linear infinite;
  display: inline-block;
}
@media (prefers-reduced-motion: reduce){ .pill .pill-inner{ animation: none; } }
.pill .chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: rgba(12,12,14,0.85);
  backdrop-filter: blur(6px);
  padding: 9px 15px;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.pill .chip::before { content:""; width:5px; height:5px; background: var(--muted-dim); transform: rotate(45deg); }
.pill .chip:hover { color: var(--text); border-color: var(--line-strong); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

.orbital-list { display: none; }

/* ---- customers logo marquee ------------------------------ */
.customers .wrap { position: relative; }
.pricing .wrap { position: relative; }
.pc-badge[data-blurb] { cursor: help; }
.logo-marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* hover bubble (rendered outside the masked marquee) — iMessage style */
.logo-tip {
  position: absolute; z-index: 30; top: 0; left: 0;
  max-width: 260px; padding: 12px 18px;
  background: #fff;
  border: none; border-radius: 22px;
  color: #111114;
  font-family: var(--font-display); font-size: 14px; line-height: 1.35; letter-spacing: -0.01em;
  text-align: center; text-wrap: pretty;
  box-shadow: 0 18px 44px -18px rgba(0,0,0,0.7);
  opacity: 0; pointer-events: none;
  transform: translate(-50%, -100%) translateY(-4px) scale(0.9);
  transform-origin: bottom center;
  transition: opacity 0.28s var(--ease), transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo-tip::after {
  content: ""; position: absolute; top: 100%; left: 50%;
  width: 16px; height: 16px; margin-top: -7px; transform: translateX(-58%);
  background: #fff;
  -webkit-mask: radial-gradient(circle at 0 0, transparent 0, transparent 8px, #000 8px) bottom right / 50% 50% no-repeat;
  mask: radial-gradient(circle at 0 0, transparent 0, transparent 8px, #000 8px) bottom right / 50% 50% no-repeat;
  border-bottom-right-radius: 14px;
}
.logo-tip.show { opacity: 1; transform: translate(-50%, -100%) translateY(-12px) scale(1); }
.logo-track {
  display: flex;
  flex: none;
  animation: logo-scroll 42s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-cell {
  flex: none;
  width: clamp(150px, 17vw, 210px);
  padding: clamp(16px, 2vw, 26px) clamp(20px, 2.4vw, 40px);
  display: grid; place-items: center;
  position: relative;
}
.logo-cell img {
  max-width: 100%;
  max-height: 46px;
  width: auto; height: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: drop-shadow(0 0 0.5px rgba(255,255,255,0.3));
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.logo-cell:hover img { opacity: 0.95; transform: translateY(-2px); }
@keyframes logo-scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ============================================================
   PROOF STRIP
   ============================================================ */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 8vw, 96px) var(--gutter);
}
.proof-grid { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 24px; align-items: start; }

/* time-saved live counter (compact metric) */
.metric-time .label { margin-top: 16px; }
.metric-time { justify-content: center; }
.ts-clock { display: flex; align-items: flex-start; gap: clamp(12px, 1.6vw, 22px); }
.ts-unit { display: flex; flex-direction: column; align-items: center; }
.ts-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
  text-align: center;
}
.ts-unit:first-child .ts-num { min-width: 3ch; }
.ts-unit:not(:first-child) .ts-num { min-width: 2ch; }
.ts-lbl {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dim);
  margin-top: 8px; text-align: center;
}
.ts-num.tick { transition: color 0.15s var(--ease); }
.ts-num.pulse { color: #fff; animation: ts-pulse 0.9s var(--ease); }
@keyframes ts-pulse { 0% { text-shadow: 0 0 14px var(--glow); } 100% { text-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .ts-num.pulse { animation: none; } }
.metric { display: flex; flex-direction: column; justify-content: center; }
.metric:nth-child(1) { text-align: left; align-items: flex-start; }
.metric:nth-child(2) { text-align: center; align-items: center; }
.metric:nth-child(3) { text-align: right; align-items: flex-end; }
.metric .figure {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.metric .figure .unit { font-size: 0.42em; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.metric .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.metric:nth-child(2) { padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--line); }
.metric:nth-child(3) { padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--line); }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 36px 30px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color 0.45s var(--ease), background 0.45s var(--ease), transform 0.45s var(--ease);
}
.price-card:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.035); transform: translateY(-4px); }
.price-card.featured { border-color: transparent; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(150,92,190,0.55), 0 30px 80px -40px rgba(120,70,170,0.7); }
.price-card.featured::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(150,92,190,0.14), rgba(0,0,0,0) 60%);
}
.price-card > * { position: relative; z-index: 1; }
.pc-tag {
  position: absolute; top: 0; right: 22px; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: var(--brand-grad); padding: 6px 12px; z-index: 2;
}
.pc-name { font-size: clamp(20px, 2vw, 25px); font-weight: 600; letter-spacing: -0.025em; }
.pc-badge {
  position: absolute; top: 0; left: 22px; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 7px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); background: var(--bg-raise);
  border: 1px solid var(--line-strong); padding: 6px 11px;
}
.pc-badge svg { width: 12px; height: 12px; color: var(--accent); }
.price-card.featured .pc-badge svg { color: #c08adf; }
.pc-desc { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 14px 0 0; max-width: 32ch; }
.pc-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pc-list li { position: relative; padding-left: 24px; color: var(--muted); font-size: 14px; line-height: 1.45; letter-spacing: -0.005em; text-wrap: pretty; }
.pc-list li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.price-card.featured .pc-list li::before { background: #c08adf; }
.pc-price { margin: 30px 0 28px; display: flex; flex-direction: column; gap: 5px; }
.pc-pre { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dim); }
.pc-fig { font-size: clamp(34px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.pc-mo { font-size: 0.42em; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.pc-term { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.price-card .btn { margin-top: auto; width: 100%; justify-content: space-between; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta .glow {
  position: absolute; left: 50%; top: 60%; transform: translate(-50%,-50%);
  width: min(70vw, 700px); aspect-ratio: 1;
  background: radial-gradient(circle, var(--glow), rgba(0,0,0,0) 65%);
  pointer-events: none; z-index: 0;
}
.cta .inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(38px, 6.4vw, 92px); letter-spacing: -0.04em; line-height: 0.98; margin: 0 auto; max-width: 14ch; }
.cta .lede { margin: 30px auto 44px; text-align: center; }
.cta .btn { margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 9vw, 110px) var(--gutter) 40px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.footer-brand .tag { font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.0; }
.footer-brand .tag .dim { color: var(--muted); }
.foot-col h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-dim); font-weight: 500; margin: 0 0 20px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { color: var(--muted); font-size: 14.5px; transition: color 0.3s var(--ease); }
.foot-col a:hover { color: var(--text); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.socials a:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,0.03); }
.socials svg { width: 16px; height: 16px; }

.subscribe { margin-top: 14px; }
.subscribe form {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--line);
  transition: border-color 0.35s var(--ease);
}
.subscribe form:focus-within { border-color: var(--line-strong); }
.subscribe input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--text); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em;
  padding: 13px 14px;
}
.subscribe input::placeholder { color: var(--muted-dim); }
.subscribe button {
  background: transparent; border: none; border-left: 1px solid var(--line);
  color: var(--text); cursor: pointer; padding: 0 16px; align-self: stretch;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.subscribe button:hover { background: var(--brand-grad); color: #fff; }

.footer-base {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted-dim);
  text-transform: uppercase;
}
.footer-base .links { display: flex; gap: 24px; }
.footer-base a:hover { color: var(--muted); }

/* ---- space background (fixed, behind everything) --------- */
.starfield { position: fixed; inset: 0; z-index: -50; pointer-events: none; overflow: hidden; background: var(--bg); }
.starfield .stars, .starfield .nebula { position: absolute; inset: -20%; display: block; }
.starfield .stars {
  background-repeat: repeat;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.2px 1.2px at 70% 65%, rgba(214,222,240,0.8), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.6px 1.6px at 85% 15%, rgba(198,168,224,0.85), transparent),
    radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.2px 1.2px at 10% 70%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 32% 12%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.3px 1.3px at 92% 52%, rgba(214,222,240,0.8), transparent),
    radial-gradient(1px 1px at 62% 88%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 8% 42%, rgba(198,168,224,0.8), transparent),
    radial-gradient(1px 1px at 48% 62%, rgba(255,255,255,0.65), transparent),
    radial-gradient(1.2px 1.2px at 78% 32%, rgba(255,255,255,0.7), transparent),
    radial-gradient(0.8px 0.8px at 26% 58%, rgba(255,255,255,0.55), transparent),
    radial-gradient(0.8px 0.8px at 88% 82%, rgba(255,255,255,0.55), transparent);
  background-size: 300px 300px;
}
.starfield .stars-far { opacity: 0.55; background-size: 220px 220px; animation: bg-drift 240s linear infinite; will-change: transform; }
.starfield .stars-near { opacity: 0.9; animation: bg-drift 150s linear infinite, twinkle 6s ease-in-out infinite; will-change: transform; }
.starfield .nebula {
  background:
    radial-gradient(48% 40% at 22% 18%, rgba(120,70,170,0.16), transparent 70%),
    radial-gradient(46% 38% at 82% 72%, rgba(70,52,138,0.14), transparent 72%),
    radial-gradient(60% 50% at 60% 40%, rgba(90,60,150,0.06), transparent 75%);
  filter: blur(8px);
}
@keyframes bg-drift { to { background-position: 0 -300px; } }
@keyframes twinkle { 0%,100% { opacity: 0.85; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .starfield .stars { animation: none; } }

/* ---- meteors --------------------------------------------- */
.meteors { position: absolute; inset: 0; display: block; overflow: hidden; }
.meteor {
  position: absolute;
  width: 2px; height: 2px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255,255,255,0.7);
  opacity: 0;
  transform: rotate(var(--ang, 32deg));
  animation: meteor-fall var(--dur, 1.1s) linear forwards;
}
.meteor::before {
  content: ""; position: absolute; top: 50%; right: 0;
  width: var(--len, 180px); height: 1px; transform: translateY(-50%);
  background: linear-gradient(270deg, rgba(255,255,255,0.85), rgba(198,168,224,0.35), transparent);
}
@keyframes meteor-fall {
  0%   { opacity: 0; transform: rotate(var(--ang,32deg)) translateX(0); }
  8%   { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--ang,32deg)) translateX(var(--travel, 620px)); }
}
@media (prefers-reduced-motion: reduce) { .meteors { display: none; } }

/* ---- film grain overlay ---------------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto auto;
    gap: 18px;
  }
  .hero-tl { grid-column: 1; grid-row: 1; }
  .hero-tr { grid-column: 1; grid-row: 2; justify-self: start; text-align: left; }
  .hero-ticker { grid-row: 3; align-self: center; justify-self: start; }
  .hero-bl { grid-column: 1; grid-row: 4; }
  .hero-br { grid-column: 1; grid-row: 5; justify-self: start; margin-top: 8px; }

  .media-hero figcaption { padding-bottom: 40vh; }

  .proof-grid { grid-template-columns: 1fr; gap: 36px; }
  .metric:nth-child(2), .metric:nth-child(3) { padding-left: 0; border-left: none; padding-top: 36px; border-top: 1px solid var(--line); }
  .price-grid { grid-template-columns: 1fr; gap: 14px; }

  .orbital { display: none; }
  .orbital-list {
    display: flex; flex-direction: column; gap: 10px;
    max-width: 420px; margin: 40px auto 0;
  }
  .orbital-list .chip {
    font-family: var(--font-mono); font-size: 13px;
    border: 1px solid var(--line); padding: 14px 16px; color: var(--muted);
    display: flex; align-items: center; gap: 10px;
  }
  .orbital-list .chip::before { content:""; width:5px; height:5px; background: var(--muted-dim); transform: rotate(45deg); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; gap: 16px; align-items: flex-start; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-tagline { font-size: 19vw; }
}
