:root {
  color-scheme: dark;
  --bg: #030711;
  --bg-deep: #01040a;
  --panel: rgba(8, 18, 32, 0.78);
  --panel-solid: #081321;
  --panel-soft: rgba(12, 27, 46, 0.58);
  --line: rgba(135, 218, 255, 0.18);
  --line-strong: rgba(135, 218, 255, 0.42);
  --text: #f2f8ff;
  --muted: #a7bbca;
  --muted-2: #7791a5;
  --cyan: #70dcff;
  --cyan-2: #32b8ff;
  --blue: #5f79ff;
  --violet: #876dff;
  --green: #71f5c4;
  --gold: #f6d27e;
  --danger: #ff8c9d;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --shell: 1240px;
  --header-h: 78px;
  --mx: 0;
  --my: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(43, 138, 255, 0.12), transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menuOpen { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, video { max-width: 100%; }
::selection { background: rgba(74, 197, 255, 0.32); color: #fff; }

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.skipLink {
  position: fixed;
  left: 18px;
  top: -100px;
  z-index: 999;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #06111e;
  color: #fff;
  text-decoration: none;
  transition: top 160ms ease;
}
.skipLink:focus { top: 18px; }

/* Header */
.siteHeader {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, height 220ms ease;
}
.siteHeader::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(2, 6, 14, 0.72), rgba(2, 6, 14, 0.08));
  opacity: 0.72;
  transition: opacity 220ms ease, backdrop-filter 220ms ease;
}
.siteHeader.scrolled {
  height: 66px;
  border-bottom-color: rgba(120, 213, 255, 0.15);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.siteHeader.scrolled::before {
  opacity: 1;
  background: rgba(3, 8, 17, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 0 16px rgba(71, 203, 255, 0.35)); }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.brand small { margin-top: 5px; color: var(--muted-2); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.desktopNav { display: flex; justify-content: center; align-items: center; gap: 22px; }
.desktopNav a {
  position: relative;
  color: #c7d7e4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}
.desktopNav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -10px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transition: left 180ms ease, right 180ms ease;
}
.desktopNav a:hover::after,
.desktopNav a:focus-visible::after { left: 0; right: 0; }
.headerActions { display: flex; align-items: center; gap: 12px; }
.headerCta {
  padding: 10px 14px;
  border: 1px solid rgba(112, 220, 255, 0.4);
  border-radius: 999px;
  background: rgba(61, 180, 255, 0.08);
  color: #dff7ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: inset 0 0 20px rgba(64, 188, 255, 0.04), 0 0 20px rgba(28, 147, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.headerCta:hover { transform: translateY(-1px); background: rgba(61, 180, 255, 0.15); border-color: rgba(112, 220, 255, 0.72); box-shadow: 0 0 28px rgba(28, 147, 255, 0.22); }
.menuButton {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(8, 18, 32, 0.62);
  cursor: pointer;
}
.menuButton span { display: block; width: 18px; height: 1px; margin: 5px auto; background: #dff5ff; }

.mobileBackdrop {
  position: fixed;
  inset: 0;
  z-index: 108;
  background: rgba(0, 4, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mobileMenu {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 109;
  width: min(390px, calc(100vw - 24px));
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(4, 11, 22, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.mobileMenuTop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mobileMenuTop p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.menuClose { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,0.04); color: #fff; cursor: pointer; font-size: 24px; }
.mobileMenu nav { display: grid; gap: 9px; }
.mobileMenu nav a { padding: 14px 15px; border: 1px solid rgba(129, 213, 255, 0.1); border-radius: 14px; background: rgba(255,255,255,0.025); color: #e7f5ff; text-decoration: none; font-size: 14px; font-weight: 650; }
.mobileMenu nav a:hover { border-color: var(--line-strong); background: rgba(91, 195, 255, 0.08); }

/* Hero */
.hero {
  position: relative;
  min-height: max(780px, 100svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #01040a;
}
.heroMedia,
.heroPoster,
.heroPoster img,
.heroVideo,
.heroAtmosphere,
.heroGrid,
.heroScanlines,
.heroShade { position: absolute; inset: 0; width: 100%; height: 100%; }
.heroMedia { z-index: -2; overflow: hidden; background: #01040a; }
.heroPoster { display: block; }
.heroPoster img { object-fit: cover; }
.heroVideo { object-fit: cover; opacity: 0; transition: opacity 700ms ease; background: #01040a; }
.heroVideo.isVisible { opacity: 1; }
.heroVideoAmbient { filter: contrast(1.04) saturate(1.08); }
.heroAtmosphere {
  background:
    radial-gradient(circle at calc(70% + var(--mx) * 2px) calc(40% + var(--my) * 2px), rgba(64, 194, 255, 0.16), transparent 25%),
    radial-gradient(circle at 20% 28%, rgba(80, 94, 255, 0.14), transparent 30%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.heroGrid {
  opacity: 0.21;
  background-image:
    linear-gradient(rgba(71, 194, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 194, 255, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(800px) rotateX(63deg) scale(1.8) translateY(28%);
  transform-origin: center bottom;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 52%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 52%, #000 100%);
  animation: gridDrift 18s linear infinite;
}
.heroScanlines {
  opacity: 0.07;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(145, 225, 255, 0.26) 4px);
  background-size: 100% 4px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.heroShade {
  background:
    linear-gradient(90deg, rgba(1, 4, 10, 0.95) 0%, rgba(1, 4, 10, 0.78) 36%, rgba(1, 4, 10, 0.22) 64%, rgba(1, 4, 10, 0.52) 100%),
    linear-gradient(180deg, rgba(1, 4, 10, 0.62) 0%, transparent 22%, transparent 70%, rgba(1, 4, 10, 0.95) 100%);
  pointer-events: none;
}
.cinematicTopline {
  position: absolute;
  z-index: 6;
  top: calc(var(--header-h) + 18px);
  left: max(24px, calc((100vw - var(--shell)) / 2));
  right: max(24px, calc((100vw - var(--shell)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cinematicStatus { display: inline-flex; align-items: center; gap: 10px; color: #bcd3e2; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.statusPulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(112,220,255,0.55); animation: statusPulse 1.8s ease-out infinite; }
.cinematicButtons { display: flex; align-items: center; gap: 8px; }
.mediaControl {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(139, 218, 255, 0.22);
  border-radius: 999px;
  background: rgba(3, 10, 21, 0.52);
  color: #cde6f5;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mediaControl:hover { border-color: rgba(139, 218, 255, 0.6); background: rgba(46, 158, 235, 0.12); color: #fff; }
.cinematicProgress { position: absolute; z-index: 6; top: calc(var(--header-h) + 64px); left: max(24px, calc((100vw - var(--shell)) / 2)); right: max(24px, calc((100vw - var(--shell)) / 2)); height: 1px; background: rgba(167, 224, 255, 0.12); overflow: hidden; }
.cinematicProgress span { display: block; width: 0%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 0 14px var(--cyan); transition: width 80ms linear; }
.heroContent {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
  padding-top: 150px;
  padding-bottom: 120px;
}
.js .heroContent { opacity: 0; transform: translateY(18px); transition: opacity 900ms ease, transform 900ms cubic-bezier(.2,.8,.2,1); }
.js .heroContent.isReady { opacity: 1; transform: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #9fc6dc; font-size: 11px; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow > span { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); box-shadow: 0 0 10px rgba(112, 220, 255, 0.55); }
.heroCopy h1 {
  max-width: 780px;
  margin: 0;
  color: #f5fbff;
  font-size: clamp(3.5rem, 7.2vw, 7.4rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-wrap: balance;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.5);
}
.heroCopy h1 em { color: var(--cyan); font-style: normal; font-weight: 690; text-shadow: 0 0 28px rgba(61, 192, 255, 0.34); }
.heroLead { max-width: 760px; margin: 28px 0 0; color: #c0d1dd; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.72; }
.heroActions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.buttonPrimary { background: linear-gradient(135deg, #91e8ff, #42bfff 52%, #6f7dff); color: #02101b; box-shadow: 0 16px 42px rgba(40, 165, 255, 0.25), inset 0 1px rgba(255,255,255,0.7); }
.buttonPrimary:hover { box-shadow: 0 20px 54px rgba(40, 165, 255, 0.38); }
.buttonGhost { border-color: rgba(132, 219, 255, 0.28); background: rgba(4, 13, 26, 0.56); color: #e3f6ff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.buttonGhost:hover { border-color: rgba(132, 219, 255, 0.65); background: rgba(47, 151, 228, 0.12); }
.buttonLarge { min-height: 56px; padding-inline: 24px; }
.disciplineRail { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.disciplineRail span { padding: 7px 10px; border: 1px solid rgba(139, 218, 255, 0.14); border-radius: 999px; background: rgba(7, 19, 34, 0.44); color: #91adbd; font-size: 9px; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.gatewayPanel {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(125, 218, 255, 0.24);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(7, 21, 39, 0.78), rgba(3, 10, 20, 0.65));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34), inset 0 0 60px rgba(50, 168, 255, 0.03);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translate3d(var(--mx-shift, 0px), var(--my-shift, 0px), 0);
  transition: transform 220ms ease-out;
}
.gatewayPanel::before { content: ""; position: absolute; inset: -30%; background: conic-gradient(from 180deg, transparent, rgba(60, 194, 255, 0.11), transparent 27%, rgba(100, 91, 255, 0.08), transparent 58%); animation: orbitGlow 16s linear infinite; pointer-events: none; }
.gatewayPanel > * { position: relative; z-index: 1; }
.gatewayPanelHead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(139, 218, 255, 0.12); }
.gatewayPanelHead p { margin: 0; color: #e6f7ff; font-size: 13px; font-weight: 820; letter-spacing: 0.08em; text-transform: uppercase; }
.gatewayPanelHead span { display: block; margin-top: 5px; color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.gatewayPanelHead b { color: var(--cyan); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.gatewayMap { position: relative; height: 220px; display: grid; place-items: center; }
.gatewayMap::before,
.gatewayMap::after { content: ""; position: absolute; width: 164px; height: 164px; border: 1px solid rgba(104, 211, 255, 0.25); border-radius: 50%; animation: mapSpin 18s linear infinite; }
.gatewayMap::after { width: 220px; height: 220px; border-style: dashed; opacity: 0.45; animation-direction: reverse; animation-duration: 28s; }
.gatewayCore { position: relative; z-index: 2; width: 86px; height: 86px; display: grid; place-items: center; border: 1px solid rgba(114, 222, 255, 0.36); border-radius: 50%; background: rgba(4, 15, 28, 0.75); box-shadow: 0 0 50px rgba(55, 184, 255, 0.18); }
.gatewayCore img { width: 68px; height: 68px; }
.gatewayMap i { --r: 92px; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); transform: rotate(var(--node-angle)) translateX(var(--r)); }
.gatewayMap i::after { content: ""; position: absolute; top: 4px; left: -88px; width: 88px; height: 1px; background: linear-gradient(90deg, transparent, rgba(95, 208, 255, 0.5)); transform-origin: right center; }
.gatewayLinks { display: grid; gap: 7px; }
.gatewayLinks a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; border: 1px solid rgba(131, 215, 255, 0.1); border-radius: 13px; background: rgba(255,255,255,0.022); color: #edf8ff; text-decoration: none; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.gatewayLinks a:hover { transform: translateX(4px); border-color: rgba(131, 215, 255, 0.35); background: rgba(64, 179, 245, 0.07); }
.gatewayLinks a span { display: flex; align-items: center; gap: 11px; min-width: 0; }
.gatewayLinks a b { color: #6d899b; font-size: 9px; letter-spacing: 0.1em; }
.gatewayLinks a strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.gatewayLinks a em { color: #7fa7bc; font-size: 9px; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; }
.scrollCue { position: absolute; z-index: 5; left: 50%; bottom: 28px; display: grid; justify-items: center; gap: 7px; transform: translateX(-50%); color: #87a5b7; font-size: 9px; font-weight: 850; letter-spacing: 0.16em; text-decoration: none; text-transform: uppercase; }
.scrollCue span { width: 1px; height: 36px; background: linear-gradient(to bottom, var(--cyan), transparent); animation: scrollPulse 1.8s ease-in-out infinite; }

.signalStrip { overflow: hidden; border-block: 1px solid rgba(120, 213, 255, 0.11); background: #040b14; }
.signalStripTrack { width: max-content; min-width: 100%; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 13px 24px; color: #718fa2; font-size: 9px; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
.signalStripTrack i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan-2); box-shadow: 0 0 10px var(--cyan-2); }

/* Sections */
.section { position: relative; padding: clamp(92px, 11vw, 150px) 0; border-bottom: 1px solid rgba(130, 215, 255, 0.08); }
.section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 88% 12%, rgba(56, 154, 255, 0.07), transparent 28%); }
.sectionHead { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr); gap: 64px; align-items: end; margin-bottom: 50px; }
.sectionHead h2, .relatedIntro h2, .boundaryIntro h2, .builderCopy h2, .ctaCard h2 { margin: 0; font-size: clamp(2.25rem, 4.6vw, 4.9rem); line-height: 0.98; letter-spacing: -0.055em; text-wrap: balance; }
.sectionHead > p, .relatedIntro > p, .boundaryIntro > p, .ctaCard > div > p:last-child { margin: 0; color: var(--muted); line-height: 1.75; }
.systemGrid { display: grid; gap: 18px; }
.systemGridThree { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.systemCard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(128, 214, 255, 0.13);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(11, 27, 47, 0.78), rgba(5, 13, 24, 0.85));
  box-shadow: inset 0 1px rgba(255,255,255,0.025);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.systemCard::before { content: ""; position: absolute; inset: -50% 20% auto -30%; height: 260px; background: radial-gradient(circle, rgba(61, 190, 255, 0.14), transparent 65%); opacity: 0; transition: opacity 220ms ease; }
.systemCard:hover { transform: translateY(-8px); border-color: rgba(128, 214, 255, 0.36); box-shadow: 0 28px 70px rgba(0,0,0,0.28), 0 0 44px rgba(36, 152, 255, 0.08); }
.systemCard:hover::before { opacity: 1; }
.systemCardFlagship { border-color: rgba(100, 209, 255, 0.3); background: linear-gradient(155deg, rgba(16, 44, 71, 0.88), rgba(5, 14, 27, 0.88)); }
.systemCardSignal { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; color: #7896a9; font-size: 9px; font-weight: 850; letter-spacing: 0.11em; text-transform: uppercase; }
.systemCardSignal span { color: var(--cyan); }
.systemCardSignal i { width: 28px; height: 1px; background: rgba(112,220,255,0.4); }
.systemIcon { position: relative; z-index: 1; width: 76px; height: 76px; display: grid; place-items: center; margin: 44px 0 30px; border: 1px solid rgba(121, 218, 255, 0.34); border-radius: 21px; background: linear-gradient(145deg, rgba(62, 183, 255, 0.12), rgba(95, 85, 255, 0.08)); color: #bfefff; font-size: 18px; font-weight: 900; letter-spacing: -0.03em; box-shadow: inset 0 0 30px rgba(68, 181, 255, 0.06), 0 0 30px rgba(68, 181, 255, 0.08); }
.systemCard h3 { position: relative; z-index: 1; margin: 0; font-size: 1.75rem; letter-spacing: -0.035em; }
.systemCard > p { position: relative; z-index: 1; margin: 14px 0 0; color: var(--muted); line-height: 1.65; }
.systemCard ul { position: relative; z-index: 1; display: grid; gap: 9px; margin: 24px 0 32px; padding: 0; list-style: none; }
.systemCard li { position: relative; padding-left: 18px; color: #b7cad7; font-size: 13px; line-height: 1.4; }
.systemCard li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.systemCard > a { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(126, 213, 255, 0.11); color: #dff7ff; font-size: 12px; font-weight: 850; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.systemCard > a span { color: var(--cyan); font-size: 18px; transition: transform 160ms ease; }
.systemCard > a:hover span { transform: translate(3px, -3px); }

.sectionEngineering { background: linear-gradient(180deg, #030711, #050b15 45%, #030711); }
.featureGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.featureCard { min-height: 440px; overflow: hidden; border: 1px solid rgba(128, 214, 255, 0.13); border-radius: var(--radius); background: rgba(7, 18, 32, 0.82); transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.featureCard:hover { transform: translateY(-6px); border-color: rgba(128, 214, 255, 0.34); box-shadow: 0 24px 70px rgba(0,0,0,0.26); }
.featureCardWide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 480px; }
.featureCardVisual { position: relative; overflow: hidden; min-height: 230px; background: #020710; isolation: isolate; }
.featureCardWide .featureCardVisual { min-height: 100%; }
.featureCardVisual::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(90, 203, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(90, 203, 255, 0.08) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent); }
.browserVisual { display: grid; place-items: center; background: radial-gradient(circle at 50% 46%, rgba(49, 164, 255, 0.16), transparent 34%), #020710; }
.browserVisual span { width: 68%; height: 58%; border: 1px solid rgba(107, 216, 255, 0.48); border-radius: 14px; background: linear-gradient(180deg, rgba(16, 46, 75, 0.8), rgba(4, 14, 27, 0.85)); box-shadow: 22px 24px 0 rgba(31, 87, 134, 0.22), -22px -20px 0 rgba(70, 77, 173, 0.12), 0 0 70px rgba(47, 177, 255, 0.14); }
.browserVisual span::before { content: ""; position: absolute; inset: 31% 22% 38% 22%; border: 1px solid rgba(139, 229, 255, 0.22); border-radius: 7px; background: linear-gradient(90deg, rgba(74, 191, 255, 0.18) 0 28%, transparent 28% 31%, rgba(85, 110, 255, 0.12) 31% 68%, transparent 68% 71%, rgba(74, 191, 255, 0.12) 71%); }
.browserVisual i, .browserVisual b { position: absolute; border-radius: 50%; border: 1px solid rgba(102, 220, 255, 0.35); }
.browserVisual i { width: 290px; height: 290px; animation: mapSpin 22s linear infinite; }
.browserVisual b { width: 390px; height: 390px; border-style: dashed; opacity: 0.35; animation: mapSpin 32s linear infinite reverse; }
.pressVisual { display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, rgba(117, 99, 255, 0.18), transparent 38%), #040712; }
.pressVisual span { position: relative; z-index: 2; color: #d9d5ff; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 850; letter-spacing: 0.22em; text-shadow: 0 0 30px rgba(123, 103, 255, 0.4); }
.pressVisual i, .pressVisual b { position: absolute; width: 160px; height: 205px; border: 1px solid rgba(153, 139, 255, 0.28); border-radius: 5px; background: rgba(30, 26, 67, 0.35); }
.pressVisual i { transform: translate(-105px, 18px) rotate(-7deg); }
.pressVisual b { transform: translate(105px, -12px) rotate(7deg); }
.sentinelVisual { display: grid; place-items: center; background: radial-gradient(circle, rgba(42, 176, 255, 0.22), transparent 38%), #020710; }
.sentinelVisual span { position: relative; z-index: 2; width: 115px; height: 115px; display: grid; place-items: center; border: 1px solid rgba(105, 219, 255, 0.55); border-radius: 50%; color: #ddf8ff; font-size: 3.3rem; font-weight: 300; box-shadow: 0 0 46px rgba(54, 185, 255, 0.24), inset 0 0 30px rgba(54, 185, 255, 0.15); }
.sentinelVisual i, .sentinelVisual b { position: absolute; border: 1px solid rgba(100, 217, 255, 0.32); border-radius: 50%; animation: radarPulse 3s ease-out infinite; }
.sentinelVisual i { width: 180px; height: 180px; }
.sentinelVisual b { width: 250px; height: 250px; animation-delay: 1.2s; }
.featureCardBody { padding: 30px; }
.featureCardWide .featureCardBody { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.featureKicker { margin: 0 0 12px; color: var(--cyan); font-size: 10px; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.featureCard h3 { margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; letter-spacing: -0.05em; }
.featureCardBody > p:not(.featureKicker) { margin: 20px 0 0; color: var(--muted); line-height: 1.72; }
.featureChips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.featureChips span { padding: 7px 10px; border: 1px solid rgba(130, 215, 255, 0.13); border-radius: 999px; color: #91adbd; font-size: 9px; font-weight: 820; letter-spacing: 0.08em; text-transform: uppercase; }
.textLink { display: inline-flex; align-items: center; gap: 8px; color: #dff6ff; font-size: 12px; font-weight: 850; letter-spacing: 0.07em; text-decoration: none; text-transform: uppercase; }
.textLink span { color: var(--cyan); transition: transform 160ms ease; }
.textLink:hover span { transform: translate(3px, -3px); }

.sectionPublicTech { background: linear-gradient(180deg, #030711, #050913); }
.publicTechGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.publicTechCard { position: relative; overflow: hidden; min-height: 470px; padding: 30px; border: 1px solid rgba(129, 213, 255, 0.13); border-radius: var(--radius); background: linear-gradient(145deg, rgba(9, 24, 42, 0.8), rgba(5, 13, 25, 0.88)); transition: transform 220ms ease, border-color 220ms ease; }
.publicTechCard::after { content: ""; position: absolute; right: -90px; top: -90px; width: 220px; height: 220px; border: 1px solid rgba(94, 211, 255, 0.12); border-radius: 50%; box-shadow: 0 0 0 34px rgba(94, 211, 255, 0.025), 0 0 0 70px rgba(94, 211, 255, 0.018); }
.publicTechCard:hover { transform: translateY(-6px); border-color: rgba(129, 213, 255, 0.36); }
.publicTechIndex { margin-bottom: 52px; color: #527187; font-size: 11px; font-weight: 850; letter-spacing: 0.14em; }
.publicTechCard h3 { margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -0.055em; }
.publicTechCard > p:not(.featureKicker) { margin: 18px 0 28px; color: var(--muted); line-height: 1.7; }
.publicTechCard dl { display: grid; gap: 12px; margin: 0 0 32px; }
.publicTechCard dl div { padding: 13px 0; border-top: 1px solid rgba(129, 213, 255, 0.09); }
.publicTechCard dt { color: #7898ab; font-size: 9px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.publicTechCard dd { margin: 6px 0 0; color: #bfd0db; font-size: 13px; line-height: 1.5; }
.publicTechCard > a { position: absolute; left: 30px; right: 30px; bottom: 28px; display: flex; align-items: center; justify-content: space-between; color: #def6ff; font-size: 12px; font-weight: 850; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.publicTechCard > a span { color: var(--cyan); font-size: 18px; }

.sectionRelated { overflow: hidden; background: #02060e; }
.sectionRelated::before { background: radial-gradient(circle at 15% 20%, rgba(117, 92, 255, 0.1), transparent 30%), radial-gradient(circle at 84% 72%, rgba(51, 178, 255, 0.08), transparent 32%); }
.relatedLayout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 70px; align-items: center; }
.relatedIntro > p:not(.eyebrow) { margin: 24px 0 30px; }
.relatedCards { display: grid; gap: 12px; }
.relatedCard { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 22px; border: 1px solid rgba(129, 213, 255, 0.12); border-radius: 19px; background: rgba(8, 20, 35, 0.68); color: #fff; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.relatedCard:hover { transform: translateX(7px); border-color: rgba(129, 213, 255, 0.34); background: rgba(12, 33, 55, 0.78); }
.relatedNumber { color: #58798d; font-size: 9px; font-weight: 850; letter-spacing: 0.1em; }
.relatedCard p { margin: 0 0 5px; color: var(--cyan); font-size: 9px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.relatedCard h3 { margin: 0 0 8px; font-size: 1.5rem; letter-spacing: -0.035em; }
.relatedCard div > span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.relatedCard > b { color: var(--cyan); font-size: 21px; }

.sectionBoundaries { background: linear-gradient(180deg, #030711, #06101b); }
.boundariesLayout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 70px; align-items: start; }
.boundaryIntro { position: sticky; top: 110px; }
.boundaryIntro > p:not(.eyebrow) { margin-top: 24px; }
.boundaryGrid { display: grid; gap: 12px; }
.boundaryGrid article { position: relative; padding: 26px 26px 26px 82px; border: 1px solid rgba(129, 213, 255, 0.11); border-radius: 18px; background: rgba(7, 19, 33, 0.65); }
.boundaryGrid article > span { position: absolute; left: 25px; top: 27px; color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: 0.12em; }
.boundaryGrid h3 { margin: 0; font-size: 1.25rem; }
.boundaryGrid p { margin: 9px 0 0; color: var(--muted); line-height: 1.65; }

.builderSection { padding: clamp(90px, 10vw, 140px) 0; background: #030812; }
.builderCard { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(310px, 0.7fr); gap: 42px; align-items: center; padding: 42px; border: 1px solid rgba(122, 216, 255, 0.22); border-radius: 30px; background: linear-gradient(145deg, rgba(10, 30, 50, 0.88), rgba(5, 13, 25, 0.88)); box-shadow: var(--shadow), inset 0 0 80px rgba(49, 174, 255, 0.03); }
.builderMark { width: 126px; height: 126px; display: grid; place-items: center; border: 1px solid rgba(116, 218, 255, 0.28); border-radius: 28px; background: rgba(4, 13, 25, 0.66); }
.builderMark img { width: 96px; filter: drop-shadow(0 0 24px rgba(54, 192, 255, 0.28)); }
.builderCopy h2 { font-size: clamp(2.6rem, 5vw, 5.4rem); }
.builderCopy > p:not(.eyebrow) { margin: 18px 0 0; color: var(--muted); line-height: 1.7; }
.builderActions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.builderTelemetry { display: grid; gap: 9px; }
.builderTelemetry div { position: relative; padding: 15px 15px 15px 48px; border: 1px solid rgba(129, 213, 255, 0.1); border-radius: 14px; background: rgba(255,255,255,0.02); }
.builderTelemetry span { position: absolute; left: 15px; top: 17px; color: #58788b; font-size: 9px; font-weight: 850; }
.builderTelemetry strong { display: block; font-size: 13px; }
.builderTelemetry small { display: block; margin-top: 5px; color: var(--muted-2); line-height: 1.45; }

.ctaSection { padding: 0 0 clamp(90px, 10vw, 140px); background: #030812; }
.ctaCard { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: clamp(34px, 5vw, 62px); border: 1px solid rgba(128, 214, 255, 0.28); border-radius: 30px; background: linear-gradient(135deg, rgba(18, 61, 91, 0.82), rgba(6, 18, 35, 0.92) 56%, rgba(43, 39, 95, 0.58)); box-shadow: var(--shadow); }
.ctaCard::after { content: ""; position: absolute; right: -100px; top: -180px; width: 440px; height: 440px; border: 1px solid rgba(110, 220, 255, 0.15); border-radius: 50%; box-shadow: 0 0 0 45px rgba(110,220,255,0.025), 0 0 0 90px rgba(110,220,255,0.015); }
.ctaCard > * { position: relative; z-index: 1; }
.ctaCard h2 { max-width: 850px; font-size: clamp(2.2rem, 4.4vw, 4.5rem); }
.ctaCard > div > p:last-child { max-width: 750px; margin-top: 18px; }

/* Footer */
.siteFooter { border-top: 1px solid rgba(129, 213, 255, 0.1); background: #01040a; }
.footerGrid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; padding: 66px 0 48px; }
.footerBrand p { max-width: 290px; margin: 18px 0 0; color: var(--muted-2); line-height: 1.6; }
.footerGrid h2 { margin: 0 0 16px; color: #8ba9bb; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.footerGrid > div:not(.footerBrand) { display: flex; flex-direction: column; align-items: flex-start; }
.footerGrid > div:not(.footerBrand) a { margin: 0 0 10px; color: #b5c8d5; font-size: 13px; text-decoration: none; }
.footerGrid > div:not(.footerBrand) a:hover { color: #fff; }
.footerBottom { display: flex; justify-content: space-between; gap: 30px; padding: 20px 0 28px; border-top: 1px solid rgba(129, 213, 255, 0.07); color: #607b8d; font-size: 11px; }
.footerBottom p { margin: 0; }

/* Easter egg */
.easterPixel { position: fixed; left: 8px; bottom: 8px; z-index: 102; width: 4px; height: 4px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,0.14); opacity: 0.25; cursor: default; }
.easterPixel:hover, .easterPixel:focus-visible { opacity: 1; outline: none; box-shadow: 0 0 12px #fff; }
.easterEgg { position: fixed; z-index: 101; left: 14px; bottom: 24px; width: min(620px, calc(100vw - 28px)); opacity: 0; transform: translateY(10px) scale(0.985); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.easterEgg img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 90px rgba(0,0,0,0.6); }
.easterPixel:hover + .easterEgg, .easterPixel:focus-visible + .easterEgg, .easterEgg:hover { opacity: 1; transform: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1); }
.js .reveal.inView { opacity: 1; transform: none; }

/* Focus */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Legal/static pages */
.staticPage { min-height: 100vh; background: var(--bg); color: var(--text); }
.staticPageHeader { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(3,7,17,0.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.staticPageHeader .shell { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.staticPageHeader a { text-decoration: none; }
.staticPage main { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 78px 0 110px; }
.staticPage h1 { margin: 0 0 24px; font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.05em; }
.staticPage h2 { margin: 42px 0 14px; font-size: 1.45rem; }
.staticPage p, .staticPage li { color: var(--muted); line-height: 1.75; }
.staticPage a { color: var(--cyan); }
.staticPage code { padding: 2px 5px; border-radius: 6px; background: rgba(109, 207, 255, 0.08); }

/* Motion */
@keyframes gridDrift { to { background-position: 64px 64px; } }
@keyframes statusPulse { 0% { box-shadow: 0 0 0 0 rgba(112,220,255,0.55); } 70% { box-shadow: 0 0 0 9px rgba(112,220,255,0); } 100% { box-shadow: 0 0 0 0 rgba(112,220,255,0); } }
@keyframes orbitGlow { to { transform: rotate(360deg); } }
@keyframes mapSpin { to { transform: rotate(360deg); } }
@keyframes radarPulse { 0% { transform: scale(.68); opacity: .65; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes scrollPulse { 0%,100% { opacity: .35; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

@media (max-width: 1080px) {
  .desktopNav { display: none; }
  .siteHeader { grid-template-columns: 1fr auto; }
  .menuButton { display: block; }
  .heroContent { grid-template-columns: 1fr; gap: 44px; padding-top: 168px; }
  .heroCopy { max-width: 860px; }
  .gatewayPanel { max-width: 720px; }
  .systemGridThree { grid-template-columns: 1fr; }
  .systemCard { min-height: 0; }
  .featureCardWide { grid-template-columns: 1fr; }
  .featureCardWide .featureCardVisual { min-height: 360px; }
  .relatedLayout, .boundariesLayout { grid-template-columns: 1fr; }
  .boundaryIntro { position: static; }
  .builderCard { grid-template-columns: auto 1fr; }
  .builderTelemetry { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .footerGrid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .shell { width: min(100% - 28px, var(--shell)); }
  .siteHeader { height: 66px; padding-inline: 14px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 8px; }
  .headerCta { display: none; }
  .hero { min-height: 900px; }
  .heroShade { background: linear-gradient(180deg, rgba(1,4,10,0.58) 0%, rgba(1,4,10,0.4) 27%, rgba(1,4,10,0.82) 57%, rgba(1,4,10,0.98) 100%); }
  .heroGrid { opacity: .15; transform: perspective(650px) rotateX(68deg) scale(2.4) translateY(34%); }
  .cinematicTopline { top: 78px; left: 14px; right: 14px; align-items: flex-start; }
  .cinematicStatus { max-width: 50%; font-size: 8px; line-height: 1.35; }
  .cinematicButtons { gap: 5px; }
  .mediaControl { min-height: 31px; padding: 6px 8px; font-size: 8px; }
  .cinematicProgress { top: 121px; left: 14px; right: 14px; }
  .heroContent { display: block; padding-top: 164px; padding-bottom: 100px; }
  .heroCopy h1 { font-size: clamp(3.35rem, 16vw, 5.6rem); line-height: .91; }
  .heroLead { font-size: .98rem; }
  .heroActions { align-items: stretch; }
  .button { flex: 1 1 190px; }
  .disciplineRail { gap: 6px; }
  .disciplineRail span { font-size: 8px; }
  .gatewayPanel { margin-top: 50px; padding: 16px; }
  .gatewayMap { height: 190px; }
  .gatewayMap::before { width: 140px; height: 140px; }
  .gatewayMap::after { width: 190px; height: 190px; }
  .gatewayMap i { --r: 78px; }
  .gatewayMap i::after { left: -74px; width: 74px; }
  .gatewayLinks a em { display: none; }
  .signalStripTrack { justify-content: flex-start; animation: ticker 24s linear infinite; }
  .section { padding: 88px 0; }
  .sectionHead { grid-template-columns: 1fr; gap: 22px; margin-bottom: 34px; }
  .sectionHead h2, .relatedIntro h2, .boundaryIntro h2 { font-size: clamp(2.35rem, 12vw, 4rem); }
  .systemCard { padding: 20px; }
  .systemIcon { margin: 35px 0 24px; }
  .featureGrid, .publicTechGrid { grid-template-columns: 1fr; }
  .featureCardWide { grid-column: auto; }
  .featureCardWide .featureCardVisual { min-height: 280px; }
  .featureCardWide .featureCardBody, .featureCardBody { padding: 24px; }
  .publicTechCard { min-height: 500px; padding: 24px; }
  .publicTechCard > a { left: 24px; right: 24px; }
  .relatedLayout { gap: 40px; }
  .relatedCard { grid-template-columns: 1fr auto; }
  .relatedNumber { grid-column: 1 / -1; }
  .boundaryGrid article { padding: 66px 22px 24px; }
  .boundaryGrid article > span { left: 22px; top: 22px; }
  .builderCard { grid-template-columns: 1fr; padding: 26px; }
  .builderMark { width: 98px; height: 98px; }
  .builderMark img { width: 74px; }
  .builderTelemetry { grid-column: auto; grid-template-columns: 1fr; }
  .ctaCard { grid-template-columns: 1fr; padding: 30px 24px; }
  .footerGrid { grid-template-columns: 1fr 1fr; padding-top: 50px; }
  .footerBrand { grid-column: 1 / -1; }
  .footerBottom { flex-direction: column; }
  .scrollCue { display: none; }
}

@media (max-width: 480px) {
  .cinematicStatus { display: none; }
  .cinematicTopline { justify-content: flex-end; }
  .heroCopy h1 { font-size: clamp(3rem, 17vw, 4.45rem); }
  .eyebrow { font-size: 9px; }
  .gatewayLinks a strong { font-size: 11px; }
  .footerGrid { grid-template-columns: 1fr; }
  .footerBrand { grid-column: auto; }
}

@keyframes ticker { to { transform: translateX(-35%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
  .heroVideo { display: none !important; }
  .heroContent, .reveal { opacity: 1 !important; transform: none !important; }
  .cinematicTopline, .cinematicProgress { display: none; }
}

/* Progressive fallback: complete static experience when JavaScript is unavailable. */
.no-js .heroVideo,
.no-js .cinematicTopline,
.no-js .cinematicProgress { display: none !important; }
.no-js [data-hero-content],
.no-js .reveal { opacity: 1 !important; transform: none !important; }

/* ========================================================================
   CINEMATIC V3 — Codex polish completed and hardened for reliable autoplay
   ======================================================================== */
:root {
  --shell: 1280px;
  --radius: 18px;
  --muted: #b0c2cf;
  --muted-2: #8ca6b8;
}

[hidden] { display: none !important; }
html { scroll-padding-top: 96px; }
section[id] { scroll-margin-top: 28px; }
.shell { width: min(var(--shell), calc(100% - 88px)); }
.siteHeader { padding-inline: max(44px, calc((100vw - var(--shell)) / 2)); }
.siteHeader::before { opacity: 1; background: linear-gradient(#020610e8, #020610a0); }
.brand strong { font-size: 13px; letter-spacing: .14em; }
.brand small { letter-spacing: .2em; }
.desktopNav { gap: 24px; }
.desktopNav a { font-size: 10px; font-weight: 600; letter-spacing: .09em; }
.desktopNav a[aria-current="location"] { color: var(--cyan); }
.headerCta { font-size: 10px; font-weight: 650; }

/* Hero: give the film its own stage while keeping the message readable. */
.hero { min-height: max(760px, 100svh); background: #01040a; }
.heroMedia {
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 24%;
  width: 76%;
  height: 100%;
  background: #01040a;
}
.heroPoster,
.heroVideo { transition: opacity 900ms ease; }
.heroPoster { opacity: 1; }
.hero.hasVideo .heroPoster { opacity: 0; }
.heroVideo,
.heroPoster img {
  object-position: center center;
}
.heroVideo {
  display: block !important;
  visibility: visible;
  object-fit: cover;
  opacity: 0;
  filter: brightness(1.14) contrast(1.08) saturate(1.12);
  transform: scale(1.012);
  will-change: opacity;
}
.heroVideo.isVisible { opacity: 1; }
.heroVideoAmbient { filter: brightness(1.08) contrast(1.08) saturate(1.17); }
.heroAtmosphere { opacity: .35; }
.heroGrid { display: none; }
.heroScanlines { opacity: .025; }
.heroShade {
  background:
    linear-gradient(90deg, #01040a 0%, #01040af8 13%, #01040ad8 28%, #01040a7c 44%, #01040a10 68%, #01040a30 100%),
    linear-gradient(0deg, #030711 0%, #03071100 18%, #03071100 82%, #030711b8 100%);
}
.hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 50%, transparent 20%, #01040a20 70%);
}
.heroContent {
  z-index: 4;
  display: block;
  padding-top: 142px;
  padding-bottom: 134px;
}
.js .heroContent,
.js .heroContent.isReady {
  opacity: 1;
  transform: none;
}
.heroCopy { max-width: 640px; }
.heroCopy h1 {
  font-size: clamp(4.6rem, 7.6vw, 7.4rem);
  line-height: .99;
  letter-spacing: -.065em;
  font-weight: 620;
  text-wrap: initial;
}
.heroCopy h1 em {
  font-weight: 620;
  color: #85e2ff;
  text-shadow: 0 0 48px #57bbff30;
}
.heroLead {
  max-width: 500px;
  font-size: 1.04rem;
  line-height: 1.8;
  margin-top: 25px;
  color: #bed0dc;
}
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: .17em; }
.heroActions { gap: 12px; margin-top: 28px; }
.button {
  gap: 24px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .09em;
  border-radius: 9px;
  padding: 16px 20px;
}
.buttonPrimary { background: #9ae7ff; color: #03101a; box-shadow: 0 8px 40px #32b8ff18; }
.buttonPrimary:hover { background: #c6f2ff; box-shadow: 0 12px 44px #32b8ff30; }
.buttonGhost { background: #050c1780; }
.disciplineRail { gap: 14px; margin-top: 26px; }
.disciplineRail span {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  font-size: 9px;
  font-weight: 500;
  color: #90a9ba;
}

/* Keep playback controls available instead of silently hiding the film. */
.cinematicTopline {
  z-index: 8;
  top: auto;
  bottom: 35px;
  left: max(44px, calc((100vw - var(--shell)) / 2));
  right: max(44px, calc((100vw - var(--shell)) / 2));
}
.cinematicStatus {
  font-size: 9px;
  letter-spacing: .14em;
  font-weight: 500;
  color: #adc6d8;
}
.statusPulse { width: 5px; height: 5px; }
.mediaControl {
  font-size: 9px;
  font-weight: 550;
  text-transform: none;
  letter-spacing: .04em;
  min-height: 38px;
  padding: 9px 14px;
  border-color: #8adfff30;
  background: #030a15b8;
}
.mediaControl:hover,
.mediaControl:focus-visible { border-color: #8adfff92; background: #0b2135df; }
.cinematicProgress {
  z-index: 8;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #83dfff13;
}
.cinematicProgress span { height: 2px; background: #7edfff; }
.cinematicFallback {
  position: absolute;
  z-index: 7;
  left: 44px;
  bottom: 34px;
  margin: 0;
  color: #aec4d2;
  font-size: 10px;
}
.scrollCue { display: none; }
.motionPaused *,
.motionPaused *::before,
.motionPaused *::after { animation-play-state: paused !important; }

/* The old gateway panel has been converted into this fast, readable launch rail. */
.launchSection {
  position: relative;
  z-index: 3;
  padding: 32px 0 42px;
  border-bottom: 1px solid #8adfff1c;
  background: linear-gradient(#030711, #060d18);
}
.launchHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.launchHeader .eyebrow { margin: 0; }
.launchHeader .textLink { color: #92aebb; font-size: 9px; font-weight: 600; }
.launchGrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.launchGrid a {
  position: relative;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid #8adfff1c;
  margin-right: -1px;
  background: #0a14211f;
  color: #e8f5ff;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.launchGrid a:first-child { border-radius: 10px 0 0 10px; }
.launchGrid a:last-child { border-radius: 0 10px 10px 0; }
.launchGrid a:hover,
.launchGrid a:focus-visible {
  z-index: 1;
  transform: translateY(-3px);
  background: #15354c66;
  border-color: #8adfff70;
}
.launchGrid a span { display: grid; gap: 10px; }
.launchGrid a b { font-size: 9px; letter-spacing: .1em; color: #779eb7; font-weight: 500; }
.launchGrid a strong { font-size: 13px; font-weight: 550; letter-spacing: -.01em; }
.launchGrid a em { font-style: normal; font-size: 9px; color: #8cabbf; }

/* Site-wide polish without changing the established visual language. */
.signalStrip { background: #02060c; }
.signalStripTrack { gap: 22px; padding-block: 20px; font-size: 8px; font-weight: 550; color: #86a2b5; }
.section { padding: clamp(84px, 8vw, 118px) 0; }
.sectionHead { align-items: end; gap: 72px; margin-bottom: 42px; }
.sectionHead h2,
.relatedIntro h2,
.boundaryIntro h2 { font-size: clamp(2.4rem, 4.3vw, 4rem); font-weight: 560; line-height: 1.08; letter-spacing: -.05em; }
.sectionHead > p { max-width: 430px; font-size: 14px; }
.systemCard { padding: 28px; min-height: 450px; background: linear-gradient(135deg, #0b1929, #060e18); }
.systemCard:hover { transform: translateY(-4px); }
.systemCardFlagship { background: linear-gradient(135deg, #102c40, #081421); }
.systemIcon { margin: 32px 0 28px; width: 64px; height: 64px; border-radius: 14px; font-weight: 500; }
.systemCard h3 { font-size: 1.65rem; font-weight: 600; }
.systemCard > p,
.featureCardBody > p:not(.featureKicker) { font-size: 14px; }
.systemCard > a,
.textLink,
.publicTechCard > a { font-size: 10px; font-weight: 650; }
.featureCardWide { min-height: 390px; }
.featureCardWide .featureCardBody { padding: 40px; }
.featureCard h3,
.publicTechCard h3 { font-weight: 560; }
.featureKicker { font-weight: 600; }
.publicTechCard { padding: 32px; min-height: 465px; }
.publicTechCard > p:not(.featureKicker) { font-size: 14px; }
.publicTechIndex { margin-bottom: 35px; color: #7ca2bb; font-weight: 500; }
.relatedCard,
.boundaryGrid article { border-radius: 12px; }
.relatedCard h3,
.boundaryGrid h3 { font-weight: 600; }
.boundaryGrid p { font-size: 14px; }
.builderCard { border-radius: 18px; gap: 34px; }
.builderCopy h2 { font-weight: 560; }
.builderCopy > p:not(.eyebrow) { font-size: 14px; }
.ctaCard { border-radius: 18px; }
.ctaCard h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); font-weight: 560; }
.footerBottom { color: #90a6b5; font-size: 11px; line-height: 1.6; }

@media (max-width: 1080px) {
  .heroCopy { max-width: 580px; }
  .heroCopy h1 { font-size: clamp(4.5rem, 9.5vw, 6.8rem); }
  .heroMedia { left: 10%; width: 90%; }
  .launchGrid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
  .launchGrid a { margin: 0; border-radius: 10px !important; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .siteHeader { padding-inline: 14px; }
  .hero { min-height: 820px; }
  .heroMedia { left: 0; width: 100%; }
  .heroVideo,
  .heroPoster img { object-position: center top; }
  .heroShade {
    background:
      linear-gradient(180deg, #01040a45 0%, #01040a88 30%, #01040af0 63%, #01040a 100%),
      linear-gradient(90deg, #01040a88 0%, transparent 45%, #01040a52 100%);
  }
  .heroContent { padding-top: 126px; padding-bottom: 126px; }
  .heroCopy { max-width: none; padding-top: 230px; }
  .heroCopy h1 { font-size: clamp(3.25rem, 15.5vw, 5.35rem); line-height: .94; }
  .heroLead { max-width: 580px; font-size: .98rem; line-height: 1.7; }
  .cinematicTopline { top: 78px; bottom: auto; left: 14px; right: 14px; align-items: flex-start; }
  .cinematicStatus { max-width: 50%; font-size: 8px; line-height: 1.35; }
  .mediaControl { min-height: 34px; padding: 7px 10px; font-size: 8px; }
  .cinematicProgress { top: 121px; bottom: auto; left: 14px; right: 14px; }
  .launchHeader { align-items: flex-start; flex-direction: column; }
  .launchGrid { grid-template-columns: 1fr; }
  .launchGrid a { min-height: 92px; }
}

@media (max-width: 480px) {
  .hero { min-height: 800px; }
  .heroCopy { padding-top: 210px; }
  .heroCopy h1 { font-size: clamp(3rem, 17vw, 4.45rem); }
  .cinematicStatus { display: inline-flex; max-width: 45%; }
  .cinematicButtons { gap: 5px; }
  .disciplineRail { display: none; }
}

/* The user explicitly requested cinematic autoplay. Reduced-motion still removes
   secondary CSS motion, but never silently removes the background film. */
@media (prefers-reduced-motion: reduce) {
  .heroVideo { display: block !important; transition: opacity 250ms ease !important; }
  .heroGrid,
  .heroScanlines { display: none !important; }
  .cinematicTopline { display: flex !important; }
  .cinematicProgress { display: block !important; }
  .heroContent,
  .reveal { opacity: 1 !important; transform: none !important; }
}

.no-js .heroVideoIntro {
  display: block !important;
  opacity: 1 !important;
}
.no-js .heroPoster { opacity: .18; }
.no-js .cinematicTopline,
.no-js .cinematicProgress { display: none !important; }

/* Final desktop fit: keep the message cinematic without burying the primary CTA. */
@media (min-width: 1081px) {
  .heroCopy { max-width: 720px; }
  .heroCopy h1 { font-size: clamp(4.6rem, 6.4vw, 5.8rem); line-height: .96; }
  .heroLead { max-width: 560px; }
}
