/* STELLOR ? aligned with webApp design tokens */

/* Self-hosted Barlow (OFL) ? no Google Fonts request */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../resources/fonts/barlow-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../resources/fonts/barlow-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../resources/fonts/barlow-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../resources/fonts/barlow-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../resources/fonts/barlow-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../resources/fonts/barlow-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../resources/fonts/barlow-condensed-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../resources/fonts/barlow-condensed-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../resources/fonts/barlow-condensed-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../resources/fonts/barlow-condensed-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../resources/fonts/barlow-condensed-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../resources/fonts/barlow-condensed-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Light theme ? black SVG icons on light surfaces */
html[data-theme="light"] {
  --bg: #f4f4f5;
  --bg-elevated: #ffffff;
  --bg-surface: #fafafa;
  --bg-card: rgba(255, 255, 255, 0.9);
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.16);
  --text: #18181b;
  --text-muted: #52525b;
  --text-dim: #71717a;
}

:root {
  --bg: #08080a;
  --bg-elevated: #0e0e11;
  --bg-surface: #131316;
  --bg-card: rgba(19, 19, 22, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.14);
  --text: #ededf0;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #8b5cf6;
  --accent-blue: #6366f1;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --glow: rgba(99, 102, 241, 0.35);
  --shadow-glow: 0 0 24px rgba(99, 102, 241, 0.18);
  --font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --font-brand: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --nav-height: 88px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container: min(1520px, calc(100% - 4rem));
  --radius: 12px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Starfield removed ? SpaceX-like clean black */

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Above .nav-mobile so the toggle (X) stays tappable when the menu is open */
  z-index: 130;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  overflow: visible;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  /* Opaque only ? backdrop-filter creates a containing block that traps
     position:fixed children and lets menu link text leak over the page. */
  background: rgba(8, 8, 10, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-glow);
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.logo-mark-link {
  display: none;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  z-index: 2;
}

.logo-mark {
  display: block;
  height: 28px;
  width: auto;
  object-fit: contain;
}

.logo img.logo-brand,
.logo .logo-brand {
  height: clamp(88px, 11vw, 112px);
  width: auto;
  max-width: min(420px, 62vw);
  object-fit: contain;
  object-position: left center;
}

.logo .logo-brand--cut {
  display: none;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
}

.nav-desktop a:hover { color: var(--accent); }

.nav-desktop .btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 10px;
  position: relative;
  z-index: 120;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* Mobile menu ? full-viewport opaque panel; never leave it inside the header */
.nav-mobile {
  display: none !important;
  flex-direction: column;
  gap: 0.35rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 120;
  margin: 0;
  padding:
    calc(var(--nav-height) + 1.25rem)
    clamp(1.5rem, 6vw, 2.5rem)
    max(2rem, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  /* Solid opaque base first ? gradients are decorative only */
  background-color: #050508;
  background-image:
    radial-gradient(ellipse 90% 55% at 15% 0%, rgba(99, 102, 241, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(34, 211, 238, 0.1), transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(139, 92, 246, 0.14), transparent 55%),
    linear-gradient(165deg, #0a0a10 0%, #08080a 45%, #050508 100%);
  visibility: hidden;
  pointer-events: none;
}

.nav-mobile.open {
  display: flex !important;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(237, 237, 240, 0.92);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s, padding-left 0.2s;
}

.nav-mobile a:last-of-type {
  border-bottom: none;
}

.nav-mobile a:hover,
.nav-mobile a:focus-visible {
  color: #fff;
  padding-left: 0.35rem;
}

.nav-mobile a.nav-mobile-cta {
  margin-top: 1.25rem;
  align-self: flex-start;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  box-shadow: var(--shadow-glow);
}

.nav-mobile a.nav-mobile-cta:hover,
.nav-mobile a.nav-mobile-cta:focus-visible {
  padding-left: 1.5rem;
  filter: brightness(1.06);
}

body.nav-open {
  overflow: hidden;
}

.site-header.menu-open {
  background: rgba(8, 8, 10, 0.98);
  border-bottom-color: var(--border);
}

.site-header.menu-open .nav-toggle {
  z-index: 140;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.35);
}

.btn-outline {
  border: 1px solid rgba(139, 92, 246, 0.45);
  background: var(--accent-soft);
  box-shadow: var(--shadow-glow);
}

.btn-outline:hover {
  border-color: var(--accent);
  box-shadow: 0 0 36px var(--glow);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.btn-sm { padding: 0.65rem 1.2rem; font-size: 0.75rem; }

/* Hero ? SpaceX-like full viewport, clean black + Earth */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--nav-height) 0 0;
  overflow: hidden;
  background: #000;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-scene canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

html[data-theme='light'] .hero-scene {
  filter: saturate(1.05) contrast(1.02);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55) 88%, #000 100%);
}

html[data-theme='light'] .hero-vignette {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 30%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.5) 88%, #000 100%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-height: 0;
  height: 100%;
  max-width: none;
  padding-inline: clamp(1.5rem, 4vw, 3.5rem);
  /* Keep title clearly under the nav ? not pushed into the Earth */
  padding-top: clamp(1.25rem, 4vh, 2.75rem);
  padding-bottom: 5.5rem;
}

.hero-content {
  text-align: center;
  max-width: min(860px, 100%);
  margin: 0 auto;
  padding-top: 0;
  /* Soft lift so copy sits on the Earth horizon */
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 auto 1.1rem;
  padding: 5px 12px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.1);
  color: #9fdfff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeUp 0.8s var(--ease) both;
  font-variant-numeric: tabular-nums;
}

.hero-badge.is-countdown {
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.72rem;
}

.hero-badge.is-live {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

html[data-theme='light'] .hero-badge {
  color: #9fdfff;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(125, 211, 252, 0.28);
}

html[data-theme='light'] .hero-badge.is-live {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(74, 222, 128, 0.35);
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  box-shadow: none;
  color: #ededf0;
}

.hero .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.85vw, 1.2rem);
  color: rgba(237, 237, 240, 0.82);
  margin: 0 auto 1.5rem;
  max-width: 46ch;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.01em;
  animation: fadeUp 1s 0.12s var(--ease) both;
}

html[data-theme='light'] .hero-lead {
  color: rgba(237, 237, 240, 0.88);
}

/* Hero is always a dark cinematic plate ? keep light type in light theme */
.hero h1,
.hero .hero-eyebrow,
.hero-clock-time,
.hero-stat-value {
  color: #ededf0;
}

.hero-lead,
.hero-highlights li,
.hero-stat-label,
.hero-scroll {
  color: rgba(237, 237, 240, 0.78);
}

html[data-theme='light'] .hero-stat-label {
  color: rgba(237, 237, 240, 0.72);
}

html[data-theme='light'] .hero-clock-label {
  color: #7dd3fc;
}

html[data-theme='light'] .hero-vignette {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 30%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.5) 88%, #000 100%);
}

html[data-theme='light'] .hero-stats {
  border-top-color: rgba(125, 211, 252, 0.28);
}

.hero-clock {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 12px;
  margin: 1.25rem auto 0;
  padding: 10px 0 0;
  border-top: 1px solid rgba(125, 211, 252, 0.28);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  animation: fadeUp 1s 0.36s var(--ease) both;
}

.hero-clock-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
}

html[data-theme='light'] .hero-clock-label {
  color: #7dd3fc;
}

.hero-clock-time {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ededf0;
}

.hero-clock-meta {
  font-size: 0.78rem;
  color: rgba(237, 237, 240, 0.65);
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237, 237, 240, 0.72);
  margin: 0.85rem auto 1rem;
  max-width: 38rem;
  line-height: 1.45;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero h1 {
  font-family: var(--font-brand);
  font-size: clamp(2.5rem, 6.2vw, 3.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-indent: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.9rem;
  color: #ededf0;
  animation: fadeUp 1s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  animation: fadeUp 1s 0.24s var(--ease) both;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.15rem;
  margin: 1.35rem auto 0;
  padding: 0;
  list-style: none;
  animation: fadeUp 1s 0.3s var(--ease) both;
}

.hero-highlights li {
  position: relative;
  padding-left: 0.9rem;
  color: rgba(237, 237, 240, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.55);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  z-index: 3;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: rgba(237, 237, 240, 0.45);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: heroScrollPulse 2.4s var(--ease) infinite;
}

.hero-scroll:hover {
  color: rgba(237, 237, 240, 0.8);
}

@keyframes heroScrollPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50% { transform: translateX(-50%) translateY(4px); opacity: 0.95; }
}

/* Hero stats ? large counters pinned to the bottom of the first viewport */
.hero-stats {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: min(920px, 100%);
  margin-top: auto;
  margin-bottom: 0.35rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(125, 211, 252, 0.28);
  animation: fadeUp 1s 0.4s var(--ease) both;
}

.hero-stats-inner {
  width: 100%;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  text-align: center;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #ededf0;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.hero-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 237, 240, 0.72);
}

html[data-theme='light'] .hero-stat-label {
  color: rgba(237, 237, 240, 0.72);
}

html[data-theme='light'] .hero-stats {
  border-top-color: rgba(125, 211, 252, 0.28);
}

@media (max-width: 640px) {
  .hero-stats-grid {
    gap: 0.85rem;
  }

  .hero-stat-value {
    font-size: clamp(1.65rem, 9vw, 2.2rem);
  }

  .hero-stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .hero-stats {
    margin-bottom: 3.5rem;
  }

  .hero-scroll {
    bottom: 0.4rem;
  }
}

/* legacy ? unused */

.hero-legend {
  justify-self: end;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-sat { background: #fff; box-shadow: 0 0 8px #fff; }
.dot-gs { background: var(--accent-blue); box-shadow: 0 0 8px var(--accent-blue); }
.dot-fov { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.dot-const { background: #a5b4fc; box-shadow: 0 0 8px #a5b4fc; }

/* Sections */
main { position: relative; z-index: 1; }

.section {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 0.85rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Platforms ? full viewport block under fixed nav */
.platforms-section {
  background: var(--bg);
  color: var(--text);
  padding: 0;
  border-top: 1px solid var(--border);
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
  scroll-margin-top: 0;
}

.platforms-scroll {
  height: auto;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.platforms-sticky {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: var(--bg);
}

.platforms-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: min(1600px, calc(100% - 2rem));
  margin-inline: auto;
  padding: calc(var(--nav-height) + 0.65rem) 0 0.85rem;
}

.platforms-stage-header {
  flex: 0 0 auto;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 0.85rem;
}

.platforms-stage-header .section-eyebrow {
  margin-bottom: 0.35rem;
}

.platforms-stage-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.12;
  margin: 0;
  text-transform: none;
}

.platforms-viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.platforms-rail {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
}

.platform-panel {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 0.25rem;
}

.platform-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: clamp(1.25rem, 2.4vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(160deg, rgba(19, 19, 22, 0.95), rgba(8, 8, 10, 0.92));
}

.platform-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 0.9rem;
}

.platform-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.12;
  margin-bottom: 1rem;
  color: #ededf0;
}

.platform-lead {
  color: rgba(237, 237, 240, 0.78);
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 1.35rem;
  max-width: 48ch;
}

.platform-points {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.65rem;
  max-width: none;
  border-top: 0;
}

.platform-points li {
  position: relative;
  padding: 0 0 0 1.1rem;
  color: rgba(237, 237, 240, 0.82);
  font-size: 1rem;
  border-bottom: 0;
}

.platform-points li::before {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

.platform-visual {
  min-width: 0;
}

/* 01 Together ? large rounded shot (no device chrome) */
.platform-visual-frame {
  width: 100%;
}

.platform-frame {
  width: min(100%, 820px);
  margin-inline: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #0c0c0f;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 9;
}

.platform-frame img,
.platform-frame-shot,
.platform-frame .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: block;
}

/* Together ? lightweight badge (no photo) */
.platform-visual-badge {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.together-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: min(100%, 320px);
  padding: 2.25rem 1.75rem 1.75rem;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 20px;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.14), rgba(12, 12, 16, 0.92) 62%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.together-badge-glow {
  position: absolute;
  inset: auto;
  width: 140px;
  height: 140px;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  pointer-events: none;
}

.together-file {
  position: relative;
  z-index: 1;
  color: rgba(237, 237, 240, 0.9);
}

.together-badge strong {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  color: #7dd3fc;
}

.together-badge-sub {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.together-chips {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.85rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 237, 240, 0.75);
}

.together-chip-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

/* Together ? cinematic still + .astrolab badge (unused when visual=badge) */
.platform-visual-cinematic {
  width: 100%;
}

.cinematic-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  background: #050508;
  aspect-ratio: 16 / 9;
  min-height: 380px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.cinematic-shot,
.cinematic-frame > img,
.cinematic-frame .img-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  min-height: 0;
  aspect-ratio: auto;
}

.cinematic-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.15) 0%, rgba(5, 5, 8, 0.55) 55%, rgba(5, 5, 8, 0.88) 100%),
    radial-gradient(ellipse at 50% 40%, transparent 20%, rgba(5, 5, 8, 0.45) 100%);
  pointer-events: none;
}

.cinematic-badge {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 16px;
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.2), 0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.cinematic-file {
  color: rgba(237, 237, 240, 0.9);
  flex: 0 0 auto;
}

.cinematic-badge-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cinematic-badge-copy strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #7dd3fc;
}

.cinematic-badge-copy span {
  font-size: 0.78rem;
  color: rgba(237, 237, 240, 0.72);
}

.cinematic-chips {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237, 237, 240, 0.78);
}

.cinematic-chip-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

/* Together ? Web ? .astrolab ? Desktop (optional / legacy) */
.platform-visual-bridge {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 320px;
}

.bridge-device {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.bridge-web {
  transform: translateY(-6%) rotate(-2deg);
  z-index: 1;
}

.bridge-desktop {
  transform: translateY(6%) rotate(2deg);
  z-index: 1;
}

.bridge-browser,
.bridge-window {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #0c0c0f;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.bridge-browser-bar,
.bridge-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}

.bridge-browser-bar span,
.bridge-window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3f3f46;
  flex: 0 0 auto;
}

.bridge-browser-bar span:nth-child(1),
.bridge-window-bar span:nth-child(1) { background: #f87171; }
.bridge-browser-bar span:nth-child(2),
.bridge-window-bar span:nth-child(2) { background: #fbbf24; }
.bridge-browser-bar span:nth-child(3),
.bridge-window-bar span:nth-child(3) { background: #34d399; }

.bridge-url,
.bridge-app {
  margin-left: 0.35rem;
  flex: 1;
  min-width: 0;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.65rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bridge-browser-screen,
.bridge-window-screen {
  aspect-ratio: 16 / 9;
  background: #111;
}

.bridge-browser-screen img,
.bridge-window-screen img,
.bridge-shot,
.bridge-browser-screen .img-placeholder,
.bridge-window-screen .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.bridge-caption {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
  text-align: center;
}

.bridge-core {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
}

.bridge-file {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 108px;
  padding: 1rem 0.7rem 0.9rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.16), rgba(12, 12, 16, 0.96) 70%);
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.18), 0 16px 36px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.bridge-file-icon {
  color: rgba(237, 237, 240, 0.85);
}

.bridge-file strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #7dd3fc;
}

.bridge-file span {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.bridge-rays {
  position: absolute;
  inset: 40% -28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.55), transparent);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
  pointer-events: none;
}

.platform-visual-split {
  display: grid;
  gap: 1rem;
}

.platform-split-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.platform-split-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.platform-split-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.platform-split-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* MacBook + phone mockups */
.platform-visual-devices {
  position: relative;
  width: min(100%, 820px);
  margin-inline: auto;
  padding-bottom: 0.35rem;
}

.macbook {
  width: 100%;
  margin-inline: 0;
}

.macbook-screen {
  position: relative;
  border: 2px solid #2a2a2e;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #0a0a0c;
  padding: 12px 12px 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.macbook-camera {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1c1c20;
  transform: translateX(-50%);
}

.macbook-display {
  aspect-ratio: 16 / 9;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  background: #111;
}

.macbook-display img,
.macbook-shot,
.macbook-display .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.macbook-base {
  height: 12px;
  margin: 0 -4%;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #3a3a40, #1c1c20);
  position: relative;
}

.macbook-notch {
  position: absolute;
  left: 50%;
  top: 0;
  width: 18%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 6px 6px;
  background: #141416;
}

.phone {
  position: absolute;
  right: -2%;
  bottom: -2%;
  width: min(30%, 168px);
  border: 2px solid #2a2a2e;
  border-radius: 22px;
  background: #0a0a0c;
  padding: 8px 7px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.phone-notch {
  width: 36%;
  height: 5px;
  margin: 0 auto 6px;
  border-radius: 999px;
  background: #1c1c20;
}

.phone-display {
  aspect-ratio: 9 / 19.5;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.phone-display img,
.phone-shot,
.phone-display .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  aspect-ratio: 9 / 19.5;
}

/* Desktop window mock */
.desktop-frame {
  width: min(100%, 820px);
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #0c0c0f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.desktop-titlebar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}

.desktop-titlebar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3f3f46;
}

.desktop-titlebar span:nth-child(1) { background: #f87171; }
.desktop-titlebar span:nth-child(2) { background: #fbbf24; }
.desktop-titlebar span:nth-child(3) { background: #34d399; }

.desktop-display {
  aspect-ratio: 1919 / 1034;
  background: #111;
}

.desktop-display img,
.desktop-shot,
.desktop-display .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  aspect-ratio: 1919 / 1034;
}

.platforms-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding-top: 1.15rem;
}

.platforms-dots {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.platform-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: transform 0.2s, background 0.2s;
}

.platform-dot.active {
  background: #38bdf8;
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.platforms-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 96px;
  height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.1);
  color: #e0f2fe;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.platforms-arrow svg {
  flex: 0 0 auto;
}

.platforms-arrow:hover:not(:disabled) {
  border-color: #7dd3fc;
  background: rgba(56, 189, 248, 0.2);
  color: #fff;
}

.platforms-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

@media (max-width: 900px) {
  .platforms-section {
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .platforms-scroll,
  .platforms-sticky {
    position: relative;
    display: block;
    flex: none;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .platforms-stage {
    display: block;
    width: var(--container);
    max-width: 100%;
    margin-inline: auto;
    padding-top: calc(var(--nav-height) + 1rem);
    padding-bottom: 2rem;
    box-sizing: border-box;
  }

  .platforms-viewport {
    flex: none;
    width: 100%;
    min-width: 0;
    min-height: 0;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    container-type: inline-size;
    container-name: platforms-vp;
  }

  .platforms-viewport::-webkit-scrollbar {
    display: none;
  }

  .platforms-rail {
    transform: none !important;
    display: flex;
    width: max-content;
    max-width: none;
    height: auto;
    gap: 0.85rem;
  }

  /* Size slides to the stage width ? never 100vw (that overflows the inset container) */
  .platform-panel {
    flex: 0 0 100cqw;
    width: 100cqw;
    max-width: 100cqw;
    height: auto;
    scroll-snap-align: start;
    padding: 0;
    box-sizing: border-box;
  }

  .platform-panel-inner {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    align-items: start;
    padding: 1.1rem 1rem 1.25rem;
    box-sizing: border-box;
  }

  .platform-visual {
    order: -1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* Same 16:9 as desktop; fit full shot inside the card width */
  .platform-visual-frame,
  .platform-frame {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .platform-frame img,
  .platform-frame-shot,
  .platform-frame .img-placeholder {
    object-fit: contain;
    object-position: center center;
    background: #0c0c0f;
  }

  .platform-visual-cinematic .cinematic-frame {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .platform-visual-bridge {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
  }

  .bridge-web,
  .bridge-desktop {
    transform: none;
  }

  .bridge-core {
    width: 100%;
    order: -1;
  }

  .bridge-rays {
    display: none;
  }

  .platform-visual-devices {
    width: 100%;
    max-width: 100%;
  }

  .phone {
    width: min(30%, 140px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .platforms-scroll {
    height: auto;
  }

  .platforms-sticky {
    position: relative;
    height: auto;
    min-height: 0;
  }

  .platforms-rail {
    flex-direction: column;
    transform: none !important;
    transition: none !important;
    gap: 1.25rem;
  }

  .platform-panel {
    flex-basis: auto;
    width: 100%;
    height: auto;
  }
}

/* Legacy pillars (unused by home) */
.overview-banner {
  margin: 0 auto 3rem;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  aspect-ratio: 16 / 9;
}

.overview-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: var(--bg-surface);
}

.overview-banner .img-placeholder,
.overview-banner-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--accent-soft), var(--bg-card));
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.pillar-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.pillar-card img,
.pillar-card .pillar-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Assets ? cinematic brochure (mission modelling) */
.assets-hero {
  position: relative;
  /* Content-driven height ? do not lock to viewport (clips the card grid) */
  height: auto;
  min-height: 0;
  max-height: none;
  display: flex;
  align-items: stretch;
  overflow: visible;
  background: #000;
  border-top: 1px solid var(--border);
  box-sizing: border-box;
}

.assets-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #050508;
  background-size: cover;
  background-position: 72% center;
  background-repeat: no-repeat;
  z-index: 0;
}

.assets-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.28) 70%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 18%, transparent 78%, rgba(0, 0, 0, 0.7) 100%);
}

.assets-hero-inner {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  padding: calc(var(--nav-height) + 1.25rem) 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
  box-sizing: border-box;
}

.assets-hero-header {
  max-width: 760px;
  flex: 0 0 auto;
}

.assets-hero-eyebrow {
  margin: 0 0 0.45rem;
}

.assets-hero-eyebrow span {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid #22d3ee;
}

.assets-hero-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.55rem;
  color: #fff;
}

.assets-hero-lead {
  margin: 0 0 0.85rem;
  max-width: 48ch;
  color: rgba(237, 237, 240, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}

.assets-hero-footnote {
  flex: 0 0 auto;
  margin: 0.35rem 0 0;
  max-width: min(1040px, 100%);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  color: rgba(165, 243, 252, 0.78);
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.assets-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.assets-tab {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(237, 237, 240, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.assets-tab:hover {
  border-color: rgba(34, 211, 238, 0.45);
  color: #fff;
}

.assets-tab.active {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.14);
  color: #a5f3fc;
}

.assets-hero-panel {
  display: none;
  flex: 0 1 auto;
  min-height: 0;
  overflow: visible;
}

.assets-hero-panel.active {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}

.assets-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem 0.9rem;
  max-width: min(1040px, 100%);
  width: 100%;
  flex: 0 0 auto;
  align-content: start;
  align-items: stretch;
}

.assets-hero-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(10, 14, 24, 0.62);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s, background 0.2s;
  min-height: 0;
  box-sizing: border-box;
}

.assets-hero-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(12, 18, 32, 0.78);
}

.assets-hero-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  flex: 0 0 auto;
}

.assets-hero-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.2;
}

.assets-hero-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

.assets-hero-card p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(237, 237, 240, 0.82);
  /* Keep Mission / Subsystems / Analyses rows the same height when switching tabs */
  min-height: calc(1.5em * 6);
}

/* Legacy asset grid (unused by home cinematic) */
.asset-category {
  margin-bottom: 3.5rem;
}

.asset-category:last-child {
  margin-bottom: 0;
}

.asset-category-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.25);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.asset-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.04), transparent);
  transition: border-color 0.3s;
}

.asset-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-glow);
}

.asset-card .asset-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  opacity: 0.92;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.25));
}

.asset-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.asset-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .assets-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .assets-hero-bg {
    background-position: 85% center;
  }

  .assets-hero-veil {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.82) 55%, rgba(0, 0, 0, 0.55) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 20%, rgba(0, 0, 0, 0.75) 100%);
  }
}

@media (max-width: 700px) {
  .assets-hero-grid {
    grid-template-columns: 1fr;
  }

  .assets-hero-inner {
    padding-top: calc(var(--nav-height) + 1rem);
  }
}

/* Results ? Report & Graph, dual Web/Desktop mockups */
.results-section {
  position: relative;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-sizing: border-box;
}

.results-inner {
  width: var(--container);
  margin-inline: auto;
  padding: calc(var(--nav-height) + 1.25rem) 0 2.75rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
  box-sizing: border-box;
}

.results-copy {
  min-width: 0;
}

.results-eyebrow {
  margin: 0 0 0.5rem;
}

.results-eyebrow span {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #22d3ee;
}

.results-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.results-lead {
  margin: 0 0 1.15rem;
  max-width: 48ch;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.results-points {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.4rem;
}

.results-points li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.results-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

.results-stack {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  min-height: min(58vh, 560px);
  padding: 0.5rem 0 0.75rem;
}

.results-frame {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #0c0c0f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.results-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}

.results-frame-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3f3f46;
  flex: 0 0 auto;
}

.results-frame-bar span:nth-child(1) { background: #f87171; }
.results-frame-bar span:nth-child(2) { background: #fbbf24; }
.results-frame-bar span:nth-child(3) { background: #34d399; }

.results-frame-title {
  margin-left: 0.35rem;
  flex: 1;
  min-width: 0;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.65rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.results-frame-screen {
  aspect-ratio: 16 / 9;
  background: #111;
}

.results-frame-screen img,
.results-shot,
.results-frame-screen .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: block;
}

/* Back frame ? coverage heatmap (right) */
.results-frame-back {
  width: 70%;
  margin-left: auto;
  margin-right: 0;
  transform: rotate(1.1deg) translate(6%, -2%);
  opacity: 1;
}

/* Front frame ? report (left) */
.results-frame-front {
  position: absolute;
  left: 0;
  bottom: 0.35rem;
  width: 66%;
  transform: rotate(-1.4deg);
  z-index: 2;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

@media (max-width: 980px) {
  .results-section {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .results-inner {
    height: auto;
    grid-template-columns: 1fr;
    padding-bottom: 2.5rem;
    width: min(100%, var(--container));
    max-width: 100%;
    box-sizing: border-box;
  }

  .results-stack {
    order: -1;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    margin-inline: 0;
    padding: 0;
  }

  .results-frame-back {
    width: 86%;
    max-width: 100%;
    margin-left: auto;
    margin-right: 0;
    transform: rotate(0.6deg) translate(0, 0);
  }

  .results-frame-front {
    width: 78%;
    max-width: 100%;
    left: 0;
    bottom: 0.25rem;
    transform: rotate(-0.9deg);
  }
}

.showcase-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.08), var(--bg-elevated));
  min-height: 320px;
}

.showcase-image img,
.showcase-image canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-canvas {
  position: relative;
  box-shadow: var(--shadow-glow);
}

.showcase-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.showcase-text p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Module tabs */
.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.module-tab {
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.25s;
}

.module-tab.active,
.module-tab:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-soft);
  box-shadow: var(--shadow-glow);
}

.module-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.module-panel.active { display: grid; }

.module-panel img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-elevated);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.highlight-card {
  padding: 2rem;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.highlight-card h4 {
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
}

.highlight-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Roadmap ? full viewport + Mars, original fine horizontal track */
.roadmap-hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  background: #000;
  border-top: 1px solid var(--border);
  box-sizing: border-box;
}

.roadmap-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #050508;
  background-size: cover;
  background-position: 85% center;
  background-repeat: no-repeat;
  z-index: 0;
}

.roadmap-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.82) 42%, rgba(8, 8, 10, 0.55) 68%, rgba(8, 8, 10, 0.48) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.6) 0%, transparent 20%, transparent 72%, rgba(8, 8, 10, 0.65) 100%);
}

.roadmap-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  width: var(--container);
  margin-inline: auto;
  padding: calc(var(--nav-height) + 2rem) 0 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  min-height: 0;
  box-sizing: border-box;
}

.roadmap-hero-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.roadmap-hero-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #fff;
  text-transform: none;
}

.roadmap-hero-lead {
  margin: 0 auto 1rem;
  max-width: 62ch;
  color: rgba(237, 237, 240, 0.92);
  font-size: 1.12rem;
  line-height: 1.55;
}

.roadmap-hero-headline {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a5e8ff;
}

.roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.roadmap-track::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.roadmap-item {
  position: relative;
  padding-top: 2rem;
  background: none;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(237, 237, 240, 0.9);
  background: #08080a;
  z-index: 1;
  box-shadow: none;
}

.roadmap-item.done::before {
  background: #34d399;
  border-color: #34d399;
}

.roadmap-item.current::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}

.roadmap-item.upcoming::before,
.roadmap-item.future::before {
  background: #08080a;
  border-color: rgba(237, 237, 240, 0.55);
}

.roadmap-period {
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237, 237, 240, 0.88);
  margin-bottom: 0.55rem;
  font-weight: 600;
}

.roadmap-item.done .roadmap-period {
  color: #6ee7b7;
}

.roadmap-item.current .roadmap-period {
  color: #7dd3fc;
}

.roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.roadmap-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(196, 181, 253, 0.55);
  color: #e9e0ff;
  background: rgba(76, 29, 149, 0.55);
}

.roadmap-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.roadmap-item p {
  font-size: 1rem;
  color: rgba(237, 237, 240, 0.9);
  line-height: 1.55;
  margin: 0;
}

.roadmap-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.roadmap-points li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(237, 237, 240, 0.9);
}

.roadmap-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(237, 237, 240, 0.55);
}

@media (max-width: 1024px) {
  .roadmap-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap-track::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .roadmap-hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .roadmap-hero-inner {
    height: auto;
    justify-content: flex-start;
    padding: calc(var(--nav-height) + 2rem) 0 3rem;
    gap: 2.5rem;
  }

  .roadmap-hero-bg {
    background-position: center 30%;
  }

  .roadmap-track {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
#pricing.section {
  padding-block: clamp(1.75rem, 3.5vh, 2.75rem);
}

.pricing-header {
  max-width: 100%;
  margin: 0 auto 1.5rem;
}

.pricing-header h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.pricing-header p {
  max-width: 92ch;
  margin-inline: auto;
  font-size: 0.98rem;
  line-height: 1.45;
}

.pricing-notice {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  text-align: left;
  margin: 1.75rem auto 0;
  max-width: 1120px;
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(14, 116, 144, 0.14);
  box-sizing: border-box;
}

.pricing-notice-title {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.pricing-notice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.pricing-notice-copy {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(237, 237, 240, 0.9);
  text-align: left;
}

.pricing-notice .btn {
  flex: 0 0 auto;
}

@media (max-width: 700px) {
  .pricing-notice-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .pricing-notice-copy {
    text-align: center;
  }

  .pricing-notice .btn {
    width: 100%;
    justify-content: center;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

.pricing-disclaimer {
  margin: 1rem auto 0;
  max-width: 52ch;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 1.1rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: transform 0.3s var(--ease), border-color 0.3s;
  box-sizing: border-box;
}

.pricing-card.featured {
  border-color: rgba(139, 92, 246, 0.5);
  transform: none;
  background: linear-gradient(160deg, var(--accent-soft), var(--bg-card));
  box-shadow: var(--shadow-glow);
}

.pricing-card.coming-soon {
  opacity: 0.92;
}

.pricing-card h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.pricing-soon-badge {
  display: inline-block;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: rgba(14, 116, 144, 0.18);
  color: #7dd3fc;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-cta-soon {
  width: 100%;
  margin-top: auto;
  pointer-events: none;
  opacity: 0.7;
  cursor: default;
  text-align: center;
}

.pricing-audience {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  line-height: 1.35;
  min-height: 2.2em;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  line-height: 1.15;
}

.pricing-note {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 0.7rem;
  min-height: 1.9em;
}

.pricing-platform-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2.5rem;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  width: 100%;
  max-width: none;
  text-align: left;
}

.pricing-platform-legend .platform-legend {
  min-width: 0;
  max-width: none;
  line-height: 1.4;
}

.pricing-platform-legend strong {
  color: var(--text);
  font-weight: 600;
}

.pricing-platforms {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.pricing-platform {
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.pricing-platform p {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.35;
}

.platform-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.pricing-includes {
  flex: 1 1 auto;
  margin-bottom: 0.85rem;
}

.pricing-includes h4 {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}

.pricing-includes li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  padding-left: 1.05rem;
  position: relative;
  line-height: 1.3;
}

.pricing-includes li::before {
  content: "";
  position: absolute;
  left: 0.12rem;
  top: 0.48rem;
  width: 0.38rem;
  height: 0.22rem;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--text-dim);
  transition: transform 0.3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer { max-height: 48rem; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.blog-card-image {
  aspect-ratio: 16/9;
  background: var(--bg-elevated);
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-card-image img { transform: scale(1.04); }

.blog-card-body { padding: 1.5rem; }

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.4;
}

/* Features page ? cinematic sections */
.fx-hero {
  position: relative;
  min-height: min(78vh, 700px);
  display: flex;
  align-items: flex-end;
  background-color: #050508;
  background-size: cover;
  background-position: center;
}

.fx-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.35) 0%, rgba(5, 5, 8, 0.55) 45%, rgba(5, 5, 8, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 5, 8, 0.55) 0%, transparent 60%);
  pointer-events: none;
}

.fx-hero-inner {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 4.5rem) 0 3.75rem;
  max-width: 820px;
}

.fx-hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.08;
  margin: 0 0 1.1rem;
  color: #fff;
  text-transform: none;
}

.fx-hero-inner > p:not(.section-eyebrow) {
  margin: 0 0 1.75rem;
  color: rgba(237, 237, 240, 0.9);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 58ch;
}

.fx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.fx-capabilities {
  padding: 2.75rem 0 0;
  border-bottom: 1px solid var(--border);
  background: #07070a;
}

.fx-capabilities-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.fx-capabilities-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin: 0 0 0.5rem;
  color: #fff;
}

.fx-capabilities-header p {
  margin: 0;
  color: var(--text-muted);
}

.fx-cap-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.fx-cap {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(237, 237, 240, 0.88);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.fx-cap:hover {
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.12);
  color: #fff;
}

/* Features ? Mac auto-open intro (inside capabilities, under tags) */
.fx-intro {
  background: transparent;
  margin-top: 1.75rem;
  padding-bottom: 2.25rem;
}

.fx-intro-inner {
  width: 100%;
  display: grid;
  justify-items: center;
  padding-block: 0.25rem 0.5rem;
  padding-inline: clamp(0.75rem, 3.5vw, 1.75rem);
  box-sizing: border-box;
}

.fx-mac-open {
  --fx-mac-open: 0;
  width: min(100%, 720px);
  margin-inline: auto;
  perspective: 1800px;
  perspective-origin: 50% 100%;
}

.fx-mac-open-stage {
  position: relative;
  transform-style: preserve-3d;
  transform: translate3d(0, 0, 0);
}

.fx-mac-open-lid {
  position: relative;
  transform-origin: bottom center;
  /* Closed = lid flat over the base; open = facing viewer */
  transform: rotateX(calc(-90deg * (1 - var(--fx-mac-open)))) translateZ(0);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Aluminum back of the lid ? visible when closed / mid-open */
.fx-mac-open-lid::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px 14px 0 0;
  background:
    linear-gradient(180deg, #3a3a40 0%, #2a2a2e 45%, #1c1c20 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotateY(180deg) translateZ(1px);
  backface-visibility: hidden;
  pointer-events: none;
}

.fx-mac-open-screen {
  position: relative;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, calc(0.18 + 0.4 * var(--fx-mac-open))),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backface-visibility: hidden;
  transform: translateZ(0.5px);
}

.fx-mac-open-display {
  /* Keep the moving video readable through the whole open */
  opacity: calc(0.35 + 0.65 * var(--fx-mac-open));
}

.fx-mac-open-display img,
.fx-mac-open-display video,
.fx-mac-open-shot,
.fx-mac-open-display .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fx-mac-open-video {
  pointer-events: none;
}

.fx-mac-open-base,
.fx-mac-open .macbook-base {
  /* Don't inherit Platforms' -4% base overhang ? it kills side margins */
  margin-inline: 0;
  transform: translateZ(0);
}

.fx-mac-open.is-open .fx-mac-open-display {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .fx-mac-open-lid {
    transform: none;
  }

  .fx-mac-open-display {
    opacity: 1;
  }
}

.fx-overview {
  background: #050508;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.fx-overview-stack {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.fx-overview-header .fx-eyebrow {
  text-align: center;
}

.fx-overview-header {
  margin-bottom: 2.25rem;
}

.fx-overview-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.9rem;
  color: #fff;
  text-transform: none;
}

.fx-overview-lead {
  margin: 0 auto;
  max-width: 58ch;
  color: rgba(237, 237, 240, 0.85);
  font-size: 1.05rem;
  line-height: 1.55;
}

.fx-overview-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
  text-align: left;
  margin-bottom: 2.25rem;
}

.fx-overview-feature h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #c4b5fd;
}

.fx-overview-feature p {
  margin: 0;
  color: rgba(237, 237, 240, 0.68);
  font-size: 0.9rem;
  line-height: 1.5;
}

.fx-overview-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
}

.fx-overview-visual {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fx-overview-visual-img,
.fx-overview-visual > img,
.fx-overview-visual .img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0e;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.fx-overview-visual-img {
  height: auto;
  display: block;
  object-fit: cover;
}

.fx-overview-visual .img-placeholder {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.fx-overview-visual-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(237, 237, 240, 0.72);
  text-align: left;
}

.fx-section.fx-overview-side {
  position: relative;
  isolation: isolate;
  background: #050508;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

/* Avoid double padding / double border between stacked overview-side blocks */
.fx-section.fx-overview-side + .fx-section.fx-overview-side {
  border-top: 0;
  padding-top: clamp(2.25rem, 4.5vw, 3.5rem);
}

.fx-overview-side--bg {
  background-color: #050508;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

.fx-overview-side-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 8, 0.22) 0%,
      rgba(5, 5, 8, 0.55) 38%,
      rgba(5, 5, 8, 0.82) 62%,
      rgba(5, 5, 8, 0.92) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 5, 8, 0.35) 0%,
      transparent 22%,
      transparent 78%,
      rgba(5, 5, 8, 0.45) 100%
    );
}

.fx-overview-side-inner {
  position: relative;
  z-index: 1;
}

.fx-overview-side-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.15fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Single image: more column to the visual, same outer edges as other sections */
.fx-overview-side-grid:has(.fx-overview-side-visuals--single) {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

/* Trajectory video: near-balanced columns (reads more centered), video fills its cell. */
.fx-overview-side-grid:has(.fx-overview-side-visuals--video) {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.fx-overview-side-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.fx-overview-side .fx-overview-header {
  text-align: left;
  margin-bottom: 2.25rem;
}

.fx-overview-side .fx-overview-header .fx-eyebrow {
  text-align: left;
}

.fx-overview-side .fx-overview-lead {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0.85rem;
  line-height: 1.65;
}

.fx-overview-side .fx-overview-features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.85rem 2rem;
  margin-bottom: 0;
}

.fx-overview-side .fx-overview-feature h3 {
  margin-bottom: 0.6rem;
}

.fx-overview-side .fx-overview-feature p {
  line-height: 1.6;
}

.fx-overview-side--bg .fx-overview-side-copy {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.fx-overview-side-visuals {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
  min-width: 0;
  height: 100%;
  justify-content: center;
}

.fx-overview-side-visual {
  margin: 0;
  width: 100%;
  flex: 1 1 auto;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  max-height: 320px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0e;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.fx-overview-side-visuals--single {
  justify-content: center;
  align-self: center;
  height: auto;
}

.fx-overview-side-visuals--single .fx-overview-side-visual {
  flex: 0 0 auto;
  aspect-ratio: 1172 / 690;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  background: #050508;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.fx-overview-side-visual-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fx-overview-side-visual-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #050508;
}

.fx-overview-side-visuals--single .fx-overview-side-visual-img,
.fx-overview-side-visuals--single .fx-overview-side-visual-video {
  object-fit: contain;
  object-position: center;
}

.fx-overview-side-visuals--video .fx-overview-side-visual {
  background: #050508;
}

.fx-overview-side-visuals--video {
  justify-content: center;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  height: auto;
}

/* Wide frame that fills the column; cover crops letterboxing so the block feels solid. */
.fx-overview-side-visuals--video.fx-overview-side-visuals--single .fx-overview-side-visual {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
}

.fx-overview-side-visuals--video .fx-overview-side-visual-video {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fx-overview-side-visual .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.fx-overview-side-credit {
  margin: 1.25rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.fx-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.fx-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.fx-copy h2,
.fx-section-header h2,
.fx-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.9rem;
  color: #fff;
  text-transform: none;
}

.fx-lead {
  margin: 0 0 1.35rem;
  color: rgba(237, 237, 240, 0.85);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 54ch;
}

.fx-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fx-points li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(237, 237, 240, 0.82);
  font-size: 0.95rem;
  line-height: 1.45;
}

.fx-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.fx-split-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.fx-split-left .fx-split-inner {
  grid-template-columns: 0.95fr 1.05fr;
}

.fx-tone-accent {
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(139, 92, 246, 0.16), transparent 55%),
    #08080c;
}

.fx-tone-deep {
  background:
    radial-gradient(ellipse 60% 70% at 10% 80%, rgba(14, 116, 144, 0.18), transparent 50%),
    #07070a;
}

.fx-media-band {
  position: relative;
  background-color: #050508;
  background-image: var(--fx-band-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.fx-media-band-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 8, 0.94) 0%, rgba(5, 5, 8, 0.78) 42%, rgba(5, 5, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 5, 8, 0.35) 0%, transparent 30%, rgba(5, 5, 8, 0.55) 100%);
  pointer-events: none;
}

.fx-media-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr min(480px, 44%);
  gap: 2rem 2.5rem;
  align-items: center;
}

.fx-media-band .fx-copy .fx-lead,
.fx-media-band .fx-points li {
  color: rgba(237, 237, 240, 0.9);
}

.fx-media-band-frame .feature-media {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.fx-cards-section {
  background: #08080c;
}

.fx-section-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.fx-gallery-section .fx-section-header {
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.fx-gallery-section .fx-points {
  margin-top: 0.25rem;
}

.fx-viz-tabs {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(139, 92, 246, 0.14), transparent 55%),
    #06060a;
}

.fx-viz-tabs + .fx-viz-tabs {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fx-points li strong {
  color: #c4b5fd;
  font-weight: 600;
}

.fx-viz-header {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.fx-viz-header .fx-lead {
  margin-inline: auto;
  max-width: 62ch;
}

.fx-mode-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 1.75rem;
  width: 100%;
  text-align: center;
}

.fx-mode-cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin-inline: auto;
}

.fx-mode-cards--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fx-mode-card {
  min-width: 0;
}

.fx-mode-card h3 {
  margin: 0 0 0.7rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #c4b5fd;
  text-align: center;
}

.fx-mode-card p {
  margin: 0;
  color: rgba(237, 237, 240, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
}

.fx-detail-band {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.fx-detail-eyebrow {
  margin: 0 0 1.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7dd3fc;
  text-align: center;
}

.fx-detail-band .fx-mode-cards {
  margin-top: 0;
}

.fx-detail-band .fx-mode-card h3 {
  color: #7dd3fc;
  font-size: 0.9rem;
}

.fx-detail-band .fx-mode-card p {
  font-size: 0.86rem;
}

.fx-viz-shell {
  max-width: min(760px, 100%);
  margin: 0 auto;
}

.fx-viz-shell--wide {
  max-width: min(1280px, 100%);
  width: 100%;
  margin-inline: auto;
}

.fx-viz-tablist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.fx-viz-tab {
  appearance: none;
  cursor: pointer;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(10, 10, 16, 0.85);
  color: rgba(237, 237, 240, 0.82);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.7rem 1.05rem;
  border-radius: 10px;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.fx-viz-tab:hover {
  border-color: rgba(167, 139, 250, 0.65);
  color: #fff;
}

.fx-viz-tab.is-active {
  color: #fff;
  border-color: rgba(192, 132, 252, 0.9);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(109, 40, 217, 0.9));
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.35);
}

.fx-viz-stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0e;
  aspect-ratio: 16 / 9;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  max-height: min(54vh, 460px);
}

.fx-viz-stage--video {
  aspect-ratio: auto;
  height: auto;
  overflow: hidden;
}

.fx-viz-stage--video .fx-viz-panel {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
}

.fx-viz-stage--video .fx-viz-panel[hidden] {
  display: none;
}

.fx-viz-stage--video .fx-viz-video {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
}

.fx-viz-stage--single-image {
  aspect-ratio: 1920 / 1080;
}

.fx-viz-stage--single-image .fx-viz-panel {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
}

.fx-viz-stage--single-image .fx-viz-panel[hidden] {
  display: none;
}

.fx-viz-stage--single-image .fx-viz-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fx-viz-stage--mode-split {
  aspect-ratio: auto;
  height: auto;
  max-height: none;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.fx-viz-stage--mode-split .fx-viz-panel {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  display: block;
}

.fx-viz-stage--mode-split .fx-viz-panel:not(.is-active),
.fx-viz-stage--mode-split .fx-viz-panel[hidden] {
  display: none !important;
}

/* Video + plots: default is video | stacked figures (network pair uses --stack-pair) */
.fx-viz-panel-body--stack {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 0.55rem;
  width: 100%;
  max-height: min(54vh, 460px);
  align-items: stretch;
}

.fx-viz-figures-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.45rem;
  min-height: 0;
  min-width: 0;
  height: 100%;
}

.fx-viz-figures-stack--quad {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.fx-viz-panel-body--stack-pair {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.fx-viz-figures-stack--single {
  grid-template-rows: 1fr;
}

/* Coverage: plot | video | plot ? cells follow 16:9, no extra vertical padding */
.fx-viz-panel-body--stack-triad {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "left video right";
  height: auto;
  max-height: none !important;
  align-items: start;
  overflow: visible;
}

.fx-viz-panel-body--stack-triad > .fx-viz-side:first-of-type {
  grid-area: left;
}

.fx-viz-panel-body--stack-triad > .fx-viz-video-col {
  grid-area: video;
}

.fx-viz-panel-body--stack-triad > .fx-viz-side:last-of-type {
  grid-area: right;
}

.fx-viz-panel-body--stack-triad > .fx-viz-side,
.fx-viz-panel-body--stack-triad > .fx-viz-video-col {
  aspect-ratio: 16 / 9;
  height: auto;
}

.fx-viz-panel-body--stack-triad .fx-viz-side-frame {
  height: 100%;
  aspect-ratio: 16 / 9;
}

.fx-viz-panel-body--stack-triad .fx-viz-side-image,
.fx-viz-panel-body--stack-triad .fx-viz-video {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.fx-viz-panel-body--solo {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  margin-inline: 0;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: #0a0a0e;
  box-shadow: none;
  display: block;
}

.fx-viz-solo-figure {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.fx-viz-panel-body--solo .fx-viz-video,
.fx-viz-panel-body--solo .fx-viz-image,
.fx-viz-solo-figure .fx-viz-video,
.fx-viz-solo-figure .fx-viz-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: #0a0a0e;
  aspect-ratio: auto;
}

.fx-viz-solo-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 0.55rem 0.6rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #c4b5fd;
  line-height: 1.3;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 6, 10, 0.88) 55%);
  pointer-events: none;
}

.fx-viz-video-col {
  width: 100%;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0e;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.4);
  line-height: 0;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: stretch;
}

.fx-viz-video-col .fx-viz-video,
.fx-viz-video-col .fx-viz-image {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: #0a0a0e;
}

.fx-viz-side {
  margin: 0;
  width: 100%;
  min-height: 0;
  height: 100%;
}

.fx-viz-side--empty {
  visibility: hidden;
  pointer-events: none;
}

.fx-viz-side--empty .fx-viz-side-frame {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.fx-viz-side-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0e;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.fx-viz-side-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #0a0a0e;
}

.fx-viz-side-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.55rem 0.6rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #c4b5fd;
  line-height: 1.3;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 6, 10, 0.88) 55%);
  pointer-events: none;
}

.fx-viz-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.fx-viz-panel.is-active {
  opacity: 1;
  pointer-events: auto;
}

.fx-viz-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: #0a0a0e;
}

/* Tabbed media stages: fill the frame edge-to-edge (video + images) */
.fx-viz-stage:not(.fx-viz-stage--video):not(.fx-viz-stage--single-image):not(.fx-viz-stage--mode-split) .fx-viz-panel .fx-viz-video,
.fx-viz-stage:not(.fx-viz-stage--video):not(.fx-viz-stage--single-image):not(.fx-viz-stage--mode-split) .fx-viz-panel .fx-viz-image {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center center;
  background: transparent;
}

.fx-viz-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: #0a0a0e;
}

.fx-viz-stage .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.fx-gallery {
  display: grid;
  gap: 1rem 1.15rem;
}

.fx-gallery-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fx-gallery-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fx-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fx-shot-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-elevated);
  aspect-ratio: 16 / 10;
}

.fx-shot-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fx-shot-frame .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.fx-shot-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237, 237, 240, 0.78);
  padding-left: 0.15rem;
}

.fx-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.fx-card {
  padding: 1.25rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.fx-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.55rem;
  color: #fff;
}

.fx-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.fx-cards-media {
  max-width: 960px;
  margin: 0 auto;
}

.fx-cta-band {
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, rgba(139, 92, 246, 0.2), transparent 55%),
    linear-gradient(180deg, #0a0a10 0%, #050508 100%);
  text-align: center;
  border-top: 1px solid var(--border);
}

.fx-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.fx-cta-inner .fx-lead {
  margin-inline: auto;
}

.fx-cta-inner .fx-actions {
  justify-content: center;
  margin-top: 0.5rem;
}

.fx-compare {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
    linear-gradient(180deg, #0a0a0e 0%, var(--bg) 100%);
}

.fx-compare-header {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.fx-compare-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.fx-compare-header .fx-lead {
  margin: 0 auto;
  color: var(--text-muted);
}

.fx-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(14, 14, 17, 0.85);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.fx-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.fx-compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #121218;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.1rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.fx-compare-table thead .fx-compare-feature {
  text-align: left;
  min-width: 220px;
}

.fx-compare-table thead .fx-compare-plan-basic {
  color: #7dd3fc;
}

.fx-compare-table tbody th,
.fx-compare-table tbody td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.fx-compare-table tbody tr:last-child th,
.fx-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.fx-compare-table tbody th[scope="row"] {
  text-align: left;
  font-weight: 500;
  color: var(--text);
  max-width: 280px;
}

.fx-compare-table tbody td {
  text-align: center;
  color: var(--text-muted);
}

.fx-compare-table tbody tr:not(.fx-compare-group):hover th,
.fx-compare-table tbody tr:not(.fx-compare-group):hover td {
  background: rgba(255, 255, 255, 0.025);
}

.fx-compare-group th {
  text-align: left !important;
  padding: 1.15rem 1.1rem 0.55rem !important;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.fx-compare-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.12);
}

.fx-compare-no {
  color: var(--text-dim);
  font-weight: 500;
}

.fx-compare-value {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.fx-compare-footnote {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.45;
  max-width: 820px;
}

.fx-compare .fx-actions {
  margin-top: 1.75rem;
  justify-content: center;
}

.pricing-compare-cta {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 0.25rem;
}

.feature-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.feature-media-image,
.feature-media-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-surface);
}

.feature-media-caption {
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}

/* About ? SpaceX-style mission page */
.about-mission {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background-color: #000;
  background-size: cover;
  background-position: center;
  padding: calc(var(--nav-height) + 2.5rem) 0 3.5rem;
  overflow: hidden;
}

.about-mission-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 78% 48%, transparent 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.about-mission-layout {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 3rem));
  margin: 0 auto;
  display: block;
  max-width: 720px;
}

.about-mission-title,
.about-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}

.about-mission-rule {
  width: min(220px, 55%);
  height: 2px;
  margin: 1rem 0 1.75rem;
  background: linear-gradient(90deg, #7dd3fc 0%, #38bdf8 35%, rgba(56, 189, 248, 0.15) 100%);
}

.about-mission-rule--center {
  margin-left: auto;
  margin-right: auto;
}

.about-mission-eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.about-mission-tagline {
  margin: 0 0 1.35rem;
  max-width: 38ch;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.about-mission-prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 62ch;
}

.about-mission-prose p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.65;
  font-weight: 400;
}

.about-values {
  background: #050508;
  padding: 4.5rem 0 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-section-header {
  margin-bottom: 2.25rem;
  max-width: 640px;
}

.about-section-header .about-mission-rule {
  margin-bottom: 1rem;
}

.about-section-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.02rem;
  line-height: 1.55;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-value-card {
  padding: 1.35rem 1.25rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(165deg, rgba(56, 189, 248, 0.07), transparent 42%),
    rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s;
}

.about-value-card:hover {
  border-color: rgba(125, 211, 252, 0.35);
  transform: translateY(-3px);
  background:
    linear-gradient(165deg, rgba(56, 189, 248, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.04);
}

.about-value-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  background: rgba(56, 189, 248, 0.08);
}

.about-value-icon-img,
.about-value-icon-svg {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #7dd3fc;
}

.about-value-icon-svg svg {
  width: 22px;
  height: 22px;
  display: block;
}

.about-value-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
  color: #fff;
}

.about-value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.5;
}

.about-build {
  position: relative;
  background-color: #000;
  padding: 4.5rem 0 4.5rem;
  overflow: hidden;
}

.about-build--cinematic {
  background-size: cover;
  background-position: center;
}

.about-build-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 30%, transparent 0%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 5, 8, 0.88) 0%, rgba(0, 0, 0, 0.82) 45%, rgba(5, 5, 8, 0.96) 100%);
  pointer-events: none;
}

.about-build-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 3rem));
  margin: 0 auto;
}

.about-build-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.about-build-headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.about-build-lead--center {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-build-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.about-build-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.about-build-visual {
  overflow: hidden;
  border-radius: 12px;
  min-height: 340px;
  background: #0a0a0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-build-shot {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.about-build-lead {
  margin: 0 0 1.25rem;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-stat {
  text-align: center;
  padding: 0.35rem 0.5rem;
}

.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 0.3rem;
}

.about-stat span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.about-build-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.about-build-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.45;
}

.about-build-check {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.4em;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
}

.about-cta {
  background: #000;
  padding: 0 0 5rem;
}

.about-cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 2.2rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(56, 189, 248, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.02);
}

.about-cta-inner > p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .about-mission {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 2rem);
  }

  .about-mission-layout,
  .about-build-layout,
  .about-build-stats,
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-build-visual,
  .about-build-shot {
    min-height: 220px;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.contact-item a,
.contact-item span {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.contact-item a:hover { color: var(--text); }

/* Contact form */
.contact-form-wrap {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-glow);
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-thanks-section {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.contact-thanks {
  max-width: 640px;
  text-align: left;
}

.contact-thanks h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0.35rem 0 1rem;
}

.contact-thanks-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 36rem;
}

.contact-thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Blog post */
.article-hero {
  padding: calc(var(--nav-height) + 2.25rem) 0 1.75rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.2;
}

.article-subtitle {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.article-cover-wrap {
  max-width: 720px;
  margin: 1.5rem auto 0;
  padding-inline: 1.5rem;
  width: 100%;
}

.article-cover {
  aspect-ratio: 16 / 9;
  max-height: min(42vh, 420px);
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 0 1.5rem 4rem;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}

.article-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.article-list {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.article-list li {
  position: relative;
  padding-left: 1.05rem;
  color: rgba(237, 237, 240, 0.82);
  font-size: 0.98rem;
  line-height: 1.55;
}

.article-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

.article-figure {
  margin: 1.75rem 0 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}

.article-figure-img,
.article-figure img,
.article-figure .img-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  min-height: 200px;
}

.article-figure figcaption {
  padding: 0.85rem 1rem 0.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.article-figure-note {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-height) + 4rem) 0 3rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Legal pages (Privacy / Terms) ? readable column, centered */
.legal-hero {
  text-align: left;
  padding-bottom: 1.25rem;
}

.legal-hero .container,
.legal-section .container {
  max-width: 44rem;
  margin-inline: auto;
}

.legal-hero h1 {
  text-align: left;
  margin-bottom: 0;
}

.legal-rule {
  width: min(220px, 55%);
  height: 2px;
  margin: 1rem 0 1.35rem;
  background: linear-gradient(90deg, #7dd3fc 0%, #38bdf8 35%, rgba(56, 189, 248, 0.15) 100%);
}

.legal-hero .section-eyebrow {
  text-align: left;
  display: block;
  width: fit-content;
  margin: 0 0 0.75rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.85rem !important;
  letter-spacing: 0.04em;
  margin: 0 0 1.25rem !important;
  max-width: none !important;
  text-align: left;
}

.legal-intro {
  max-width: none !important;
  margin: 0 !important;
  text-align: left;
  line-height: 1.65;
}

.legal-section {
  padding-top: 0;
  border-top: 0;
}

.legal-block {
  margin: 0 0 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 0;
  position: relative;
}

.legal-block::after {
  content: '';
  display: block;
  width: min(120px, 40%);
  height: 1px;
  margin-top: 1.75rem;
  background: rgba(255, 255, 255, 0.14);
}

.legal-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-block:last-child::after {
  display: none;
}

.legal-block h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.legal-block p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block a {
  color: var(--accent, #8b9cff);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-block a:hover {
  color: var(--text);
}

/* Careers */
.careers-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  background-color: #050508;
  background-size: cover;
  background-position: center;
}

.careers-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.28) 0%, rgba(5, 5, 8, 0.45) 40%, rgba(5, 5, 8, 0.78) 72%, rgba(5, 5, 8, 1) 100%),
    linear-gradient(90deg, rgba(5, 5, 8, 0.5) 0%, transparent 55%);
  pointer-events: none;
}

.careers-hero-inner {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 4rem) 0 3.5rem;
  max-width: 820px;
}

.careers-hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #fff;
  text-transform: none;
}

.careers-hero-inner > p:last-child {
  margin: 0;
  color: rgba(237, 237, 240, 0.88);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 58ch;
}

.careers-intro {
  border-top: 0;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.careers-intro .section-header {
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.careers-open-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.career-open-card {
  display: block;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.career-open-card:hover {
  border-color: rgba(139, 92, 246, 0.45);
  transform: translateY(-2px);
}

.career-open-card-top {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.career-open-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.65rem;
  color: #fff;
}

.career-open-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.career-open-card-meta {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.career-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(237, 237, 240, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.career-badge--open {
  border-color: rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
}

.careers-roles {
  padding-top: 0;
}

.careers-roles .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.career-role {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.4fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: var(--bg-card);
}

.career-role-visual {
  position: relative;
  min-height: 320px;
  background-color: #0a0a0e;
  background-size: cover;
  background-position: center;
}

.career-role-visual-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.15) 0%, rgba(5, 5, 8, 0.72) 100%);
}

.career-role-visual-meta {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.career-role-body {
  padding: 2rem 2rem 2.25rem;
}

.career-role-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  margin: 0 0 0.85rem;
  color: #fff;
}

.career-meta {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.career-meta li {
  position: relative;
}

.career-meta li + li::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
  transform: translateY(-50%);
}

.career-summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.career-block {
  margin-top: 1.75rem;
}

.career-block h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5e8ff;
  margin: 0 0 0.75rem;
}

.career-block p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.career-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.career-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.career-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.career-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.career-cta-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

@media (max-width: 900px) {
  .career-role {
    grid-template-columns: 1fr;
  }

  .career-role-visual {
    min-height: 220px;
  }

  .career-role-body {
    padding: 1.5rem 1.25rem 1.75rem;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { margin-bottom: 1rem; display: inline-block; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-mark {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-logo-mark--small {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

.footer-bottom-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Placeholder for missing images ? drop the file at the hinted path and reload */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(139, 92, 246, 0.12) 100%);
  color: var(--text-dim);
  border: 1px dashed rgba(139, 92, 246, 0.35);
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  min-height: 160px;
  padding: 1.25rem;
  text-align: center;
  box-sizing: border-box;
}

.img-placeholder-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.img-placeholder-hint {
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-dim);
  max-width: 28rem;
  line-height: 1.4;
  word-break: break-word;
}

.feature-media-placeholder {
  aspect-ratio: 16 / 9;
  min-height: 200px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1200px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-card.featured { transform: none; }
  .pricing-platform-legend {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .pillar-grid,
  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-track { grid-template-columns: repeat(2, 1fr); }
  .roadmap-track::before { display: none; }
  .showcase,
  .module-panel { grid-template-columns: 1fr; }
  .fx-overview-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fx-mode-cards {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .fx-overview-visuals {
    grid-template-columns: 1fr 1fr;
  }

  .fx-overview-side-grid {
    grid-template-columns: 1fr;
  }

  .fx-overview-side-visuals {
    max-width: 560px;
    margin-inline: auto;
    height: auto;
  }

  .fx-overview-side-visual {
    min-height: 200px;
    max-height: 260px;
    aspect-ratio: 16 / 9;
  }

  .fx-overview-side-visuals--single {
    max-width: none;
  }

  .fx-overview-side-visuals--single .fx-overview-side-visual {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1172 / 690;
  }

  .fx-overview-side-visuals--video.fx-overview-side-visuals--single .fx-overview-side-visual {
    aspect-ratio: 16 / 10;
  }

  .fx-overview-side-grid:has(.fx-overview-side-visuals--single),
  .fx-overview-side-grid:has(.fx-overview-side-visuals--video) {
    grid-template-columns: 1fr;
  }

  .fx-overview-side .fx-overview-features {
    gap: 1.5rem 1.5rem;
  }

  .fx-split-inner,
  .fx-split-left .fx-split-inner,
  .fx-media-band-inner {
    grid-template-columns: 1fr;
  }

  .fx-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fx-gallery-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fx-viz-figures-stack--quad {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: auto;
  }
  .fx-viz-panel-body--stack {
    grid-template-columns: 1fr;
  }
  /* Coverage triad: compact stack ? keep all three readable without a huge page */
  .fx-viz-panel-body--stack-triad {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "video"
      "left"
      "right";
    height: auto;
    max-height: none !important;
    gap: 0.55rem;
    overflow: visible;
  }
  .fx-viz-panel-body--stack-triad > .fx-viz-side,
  .fx-viz-panel-body--stack-triad > .fx-viz-video-col {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: min(220px, 56vw);
    min-height: 0;
  }
  .fx-viz-panel-body--stack-triad .fx-viz-side-frame {
    height: 100%;
    max-height: min(220px, 56vw);
    aspect-ratio: 16 / 9;
  }
  .fx-viz-panel-body--stack-triad .fx-viz-side-image,
  .fx-viz-panel-body--stack-triad .fx-viz-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #0a0a0e;
  }

  .fx-viz-stage--mode-split {
    max-height: none !important;
    overflow: visible !important;
    height: auto;
  }

  .fx-viz-stage--mode-split .fx-viz-panel.is-active {
    height: auto;
    overflow: visible;
  }

  .fx-viz-shell--wide {
    max-width: 100%;
  }

  .fx-section.fx-viz-tabs {
    padding-bottom: clamp(3.75rem, 8vw, 5.5rem);
  }
  .fx-viz-figures-stack {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
    height: auto;
  }
  .fx-viz-figures-stack--single {
    grid-template-columns: 1fr;
  }
  .fx-viz-side-frame {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .fx-viz-side--empty {
    display: none;
  }
  .fx-viz-panel-body--solo {
    max-width: 100%;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Soft hero: fill the first screen when possible, grow when content needs room */
  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
    padding-top: var(--nav-height);
  }

  .hero-layout {
    height: auto;
    min-height: calc(100dvh - var(--nav-height));
    padding-top: clamp(0.75rem, 2.5vh, 1.5rem);
    padding-bottom: 3rem;
    justify-content: flex-start;
  }

  .hero-content {
    max-width: 100%;
    padding-inline: 0.25rem;
    flex: 0 0 auto;
  }

  .hero-highlights {
    gap: 0.45rem 0.85rem;
  }

  .hero-stats {
    margin-top: auto;
    margin-bottom: 1.65rem;
    padding-top: 0.85rem;
  }

  .hero-scroll {
    bottom: 0.55rem;
  }

  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 30%),
      radial-gradient(ellipse 60% 35% at 50% 60%, rgba(56, 189, 248, 0.06), transparent 70%),
      linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55) 88%, var(--bg) 100%);
  }
  html[data-theme='light'] .hero-vignette {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 30%),
      linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55) 88%, #000 100%);
  }
}

/* Short viewports (landscape phones / small windows): tighten, never clip */
@media (max-height: 720px) {
  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }

  .hero-layout {
    height: auto;
    min-height: calc(100dvh - var(--nav-height));
    padding-top: 0.65rem;
    padding-bottom: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
    margin-bottom: 0.55rem;
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
  }

  .hero-badge {
    margin-bottom: 0.65rem;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.62rem 0.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    gap: 0.35rem;
  }

  .hero-actions .btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .hero-highlights {
    margin-top: 0.85rem;
  }

  .hero-stats {
    margin-bottom: 1.25rem;
    padding-top: 0.65rem;
  }

  .hero-clock {
    margin-top: 0.75rem;
  }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }

  :root {
    /* Compact mobile header */
    --nav-height: 56px;
    /* ~1.25rem gutters each side ? consistent page margins on phones */
    --container: min(1520px, calc(100% - 2.5rem));
  }

  .header-inner {
    position: relative;
    width: var(--container);
    justify-content: flex-end;
    align-items: center;
    gap: 0;
    min-height: var(--nav-height);
  }

  .logo-mark-link {
    display: none !important;
  }

  /* Wordmark flush left ? no circular mark on mobile */
  .logo {
    position: absolute;
    left: 0;
    right: auto;
    transform: none;
    z-index: 2;
    gap: 0;
    max-width: calc(100% - 3.5rem);
  }

  .logo .logo-brand--full {
    display: none !important;
  }

  .logo .logo-brand--cut,
  .logo img.logo-brand--cut {
    display: block !important;
    height: clamp(28px, 7.5vw, 34px);
    width: auto;
    max-width: min(200px, 58vw);
    object-fit: contain;
    object-position: left center;
  }

  .logo-text {
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
    letter-spacing: 0.18em;
  }

  .nav-toggle {
    margin-left: auto;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
  }

  /* Compact CTAs + single highlight on phones */
  .hero-actions {
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.7rem 0.7rem;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    gap: 0.35rem;
  }

  .hero-actions .btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  /* Keep SCROLL clear of the Missions / stats row */
  .hero-stats {
    margin-bottom: 1.75rem;
    padding-top: 0.85rem;
  }

  .hero-scroll {
    bottom: 0.55rem;
    font-size: 0.6rem;
    gap: 0.1rem;
  }

  .pillar-grid,
  .asset-grid { grid-template-columns: 1fr; }
  .pricing-grid,
  .blog-grid,
  .values-grid,
  .highlight-grid,
  .contact-grid,
  .fx-cards-grid {
    grid-template-columns: 1fr;
  }
  .fx-gallery-2,
  .fx-gallery-3 {
    grid-template-columns: 1fr;
  }
  .fx-overview-features,
  .fx-overview-visuals {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured { transform: none; }
  .roadmap-track { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .fx-mac-open {
    width: min(100%, 520px);
  }

  .fx-cap-strip {
    justify-content: flex-start;
  }

  .assets-hero-card p {
    font-size: 0.84rem;
  }

  .results-stack {
    max-width: 100%;
    min-height: 280px;
  }

  .platforms-stage,
  .assets-hero-inner,
  .results-inner,
  .roadmap-hero-inner {
    width: var(--container);
    max-width: 100%;
    box-sizing: border-box;
  }
}
