:root {
  color-scheme: dark;
  --bg: #08081C;
  --bg-deep: #04040F;
  --bg-raised: #0E0E2A;
  --paper: #FFFFFF;
  --paper-2: #F3F4F8;
  --ink: #FFFFFF;
  --ink-2: #B9BED0;
  --ink-3: #7C8299;
  --ink-dark: #08081C;
  --ink-dark-2: #4A4F66;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(8, 8, 28, 0.1);
  --blue: #95D3FD;
  --blue-deep: #3D5BFF;
  --blue-soft: rgba(149, 211, 253, 0.12);
  --amber: #F5B66A;
  --amber-soft: rgba(245, 182, 106, 0.12);
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --sans: "Manrope", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --bg: #08081C; --ink: #FFFFFF; } }
:root[data-theme="dark"] { color-scheme: dark; --bg: #08081C; --ink: #FFFFFF; }

*, *::before, *::after { box-sizing: inherit; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 96px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
a { color: inherit; }
img, svg, video { max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { position: relative; z-index: 1; width: min(1200px, 100% - 64px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 40px); } }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)), rgba(16, 16, 44, 0.45);
  border: 1px solid var(--line);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 80px -40px rgba(0,0,0,0.8);
}

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); pointer-events: none; }
.nav {
  pointer-events: auto; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 11px max(32px, calc((100% - 1200px) / 2));
  border: 1px solid transparent; border-bottom-color: var(--line); border-radius: 0; background: transparent;
  transition: width .45s cubic-bezier(.2,.7,.2,1), margin .45s cubic-bezier(.2,.7,.2,1), padding .45s cubic-bezier(.2,.7,.2,1), border-radius .45s, background .3s, border-color .3s, box-shadow .3s;
}
.site-header.scrolled .nav {
  width: min(1200px, 100% - 32px); margin-top: 12px; padding: 10px 10px 10px 22px; border-radius: 14px;
  border-color: var(--line-strong); background: rgba(10, 10, 30, 0.8);
  backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 20px 60px -30px rgba(0,0,0,0.9);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
.brand .logo { display: block; height: 24px; width: auto; color: var(--ink); }
@media (max-width: 640px) { .brand .logo { height: 19px; } }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 14px; font-size: 15px; color: var(--ink-2); text-decoration: none; border-radius: 8px; transition: color .2s; }
.nav ul a:hover { color: var(--ink); }
@media (max-width: 960px) { .nav ul { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: var(--r-sm);
  font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: #FFFFFF; color: var(--ink-dark); }
.btn-primary:hover { background: #E4E8F2; }
.btn-secondary { color: var(--ink); border-color: var(--line-strong); background: rgba(255,255,255,0.04); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.4); }
.btn-dark { background: var(--ink-dark); color: #FFFFFF; }
.btn-dark:hover { background: #1A1A3A; }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* Hero: full-bleed video at its native 16:9, no filters or overlays */
.hero { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 9; display: flex; align-items: flex-end; padding: 0 0 clamp(28px, 4vw, 56px); background: #E6E7EA; }
.hero > .wrap { width: min(1200px, 100% - 64px); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-grid { display: flex; flex-direction: column; align-items: flex-start; gap: 0; max-width: 640px; color: #08081C; }
.hero h1 { margin: 0 0 14px; font-weight: 700; font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.05; letter-spacing: -0.045em; max-width: 21ch; color: #08081C; text-shadow: 0 0 26px rgba(255,255,255,0.85); }
.hero-lede { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: #1E2238; max-width: 46ch; text-shadow: 0 0 20px rgba(255,255,255,0.9); }
.hero-lede strong { color: #08081C; font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-primary { background: #08081C; color: #FFFFFF; }
.hero .btn-primary:hover { background: #1C1C3E; }
.hero .btn-secondary { color: #08081C; border-color: rgba(8,8,28,0.3); background: rgba(255,255,255,0.8); backdrop-filter: none; -webkit-backdrop-filter: none; }
.film-toggle { position: absolute; right: max(24px, calc((100% - 1200px) / 2)); bottom: 24px; z-index: 2; padding: 8px 12px; border-radius: 8px; font: 600 13px/1 var(--sans); color: #FFFFFF; background: #08081C; border: 0; cursor: pointer; }
/* Nav reads dark while it sits over the video */
.site-header:not(.scrolled) .nav { border-color: transparent; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px) saturate(140%); -webkit-backdrop-filter: blur(8px) saturate(140%); }
.site-header:not(.scrolled) .nav ul a { color: #08081C; font-weight: 600; }
.site-header:not(.scrolled) .brand .logo { color: #08081C; }
.site-header:not(.scrolled) .nav .btn-primary { background: #08081C; color: #FFFFFF; }
/* Phones: video at 16:9 under the header, copy beneath it on navy */
@media (max-width: 760px) {
  .hero { aspect-ratio: auto; display: block; padding: 0 0 40px; background: #08081C; }
  .hero-media { position: relative; inset: auto; aspect-ratio: 16 / 9; margin-top: 112px; }
  .hero-grid { color: #FFFFFF; padding-top: 28px; }
  .hero h1 { color: #FFFFFF; text-shadow: none; }
  .hero-lede { color: #C9CEDD; text-shadow: none; }
  .hero-lede strong { color: #FFFFFF; }
  .hero .btn-primary { background: #FFFFFF; color: #08081C; }
  .hero .btn-secondary { color: #FFFFFF; background: transparent; border-color: rgba(255,255,255,0.3); }
  .film-toggle { top: calc(112px + 56.25vw - 44px); bottom: auto; right: 12px; }
  .site-header:not(.scrolled) .nav { background: #08081C; }
  .site-header:not(.scrolled) .nav ul a { color: #FFFFFF; text-shadow: none; }
  .site-header:not(.scrolled) .brand .logo { color: #FFFFFF; }
  .site-header:not(.scrolled) .nav .btn-primary { background: #FFFFFF; color: #08081C; }
}

/* Logo strip (Webflow draft style) */
.logos { padding: 34px 0 36px; background: #FFFFFF; border-bottom: 1px solid rgba(8,8,28,0.08); color: #08081C; }
.logos-label { display: flex; align-items: center; gap: 24px; margin: 0 0 26px; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #5A5F78; }
.logos-label::after { content: ""; flex: 1; height: 1px; background: rgba(8,8,28,0.1); }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track ul { display: flex; align-items: center; gap: 78px; padding: 0 39px; margin: 0; list-style: none; }
.track li img { display: block; height: 30px; width: auto; opacity: 0.9; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Info bar */
.bar { pointer-events: auto; display: flex; justify-content: center; align-items: center; gap: 12px; height: 40px; padding: 0 16px; font-size: 14px; color: #3A3F58; background: #F3F4F7; border-bottom: 1px solid rgba(8,8,28,0.06); overflow: hidden; transition: height .35s ease, opacity .25s ease; }
.bar-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 4px; background: #08081C; color: #FFFFFF; }
.bar a { color: #08081C; font-weight: 700; text-underline-offset: 4px; }
.site-header.scrolled .bar { height: 0; opacity: 0; border-bottom-width: 0; }
@media (max-width: 640px) { .bar { font-size: 12.5px; gap: 8px; } .bar a { display: none; } }
/* Section markers */
.marker { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.marker::after { content: ""; width: 48px; height: 1px; background: var(--line-strong); flex: none; }
.head .marker { grid-column: 1 / -1; margin-bottom: -36px; }
.marker.center { justify-content: center; }

/* Photography with glass overlays */
.photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 8; background: #1A1C2E; border: 1px solid var(--line); isolation: isolate; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); z-index: -2; }
.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,28,0.25) 0%, rgba(8,8,28,0) 35%, rgba(8,8,28,0.1) 60%, rgba(8,8,28,0.55) 100%); }
.ph-card { position: absolute; left: 24px; top: 24px; max-width: 360px; padding: 18px 20px; border-radius: 14px; color: #FFFFFF; background: rgba(10,10,32,0.48); border: 1px solid rgba(255,255,255,0.32); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 20px 50px -25px rgba(0,0,0,0.6); }
.ph-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.ph-card h3::before { content: ""; width: 8px; height: 8px; background: var(--amber); flex: none; }
.ph-card p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.9); }
.band .ph-card p { margin: 0; font-size: 15px; color: rgba(255,255,255,0.9); max-width: none; }
.ph-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #0B0B1E; background: rgba(255,255,255,0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5); white-space: nowrap; }
.ph-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #D9822B; }
.ph-chip.ok::before { background: #2E9E62; }
.ph-inset { position: absolute; right: 20px; bottom: 20px; width: 310px; padding: 14px 16px; border-radius: 14px; background: rgba(8,8,28,0.55); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); font-size: 13px; }
.ph-inset .ui-row { background: rgba(255,255,255,0.04); }
.ph-inset-head { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 600; }
.ph-inset-head span { font-weight: 400; color: var(--ink-3); }
.ph-inset .rows { display: grid; gap: 8px; }
.photo-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) { .photo { aspect-ratio: 4 / 5; } .ph-inset { left: 16px; right: 16px; bottom: 16px; width: auto; } .ph-card { left: 16px; top: 16px; right: 16px; max-width: none; } .ph-chip { display: none; } }

/* Section shells */
.sec { position: relative; padding: 88px 0; }
.sec-tight { padding-top: 72px; padding-bottom: 72px; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 44px; }
.head.single { grid-template-columns: 1fr; max-width: 760px; gap: 0; }
.head.single .marker { margin-bottom: 22px; }
.head h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.head p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 50ch; }
@media (max-width: 900px) { .head { grid-template-columns: 1fr; gap: 18px; } }

/* Market */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.fig { padding: 32px 32px 8px 0; }
.fig + .fig { padding-left: 32px; border-left: 1px solid var(--line); }
.fig .num { display: block; font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 300; letter-spacing: -0.045em; line-height: 1; margin-bottom: 14px; }
.fig p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 26ch; }
.fig.key .num { color: var(--blue); }
.sources { margin: 22px 0 0; font-size: 13px; color: var(--ink-3); }
.sources a { color: var(--ink-3); text-underline-offset: 3px; }
@media (max-width: 760px) { .figures { grid-template-columns: 1fr; } .fig + .fig { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* The stack */
.glow-r { overflow: hidden; }
.glow-r::before { content: ""; position: absolute; width: 900px; height: 700px; right: -300px; top: 40px; background: radial-gradient(closest-side, rgba(61, 91, 255, 0.22), transparent); pointer-events: none; }
.stack { display: grid; gap: 8px; }
.layer { display: grid; grid-template-columns: 200px 1fr 220px; gap: 24px; align-items: center; padding: 20px 28px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.layer h3 { margin: 0; font-size: 16px; font-weight: 600; }
.layer p { margin: 0; color: var(--ink-2); }
.layer .cov { font-size: 14px; color: var(--ink-3); text-align: right; }
.layer.core { padding: 32px 28px; border-color: rgba(149,211,253,0.4); background: radial-gradient(ellipse at 100% 0%, rgba(61, 91, 255, 0.4), transparent 60%), rgba(16, 16, 44, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 30px 70px -35px rgba(61, 91, 255, 0.6); }
.layer.core h3 { font-size: 18px; }
.layer.core p { color: var(--ink); font-size: 19px; }
.layer.core .cov { color: var(--blue); font-weight: 600; }
@media (max-width: 760px) { .layer { grid-template-columns: 1fr; gap: 4px; } .layer .cov { text-align: left; } }

/* How it works: glass over a lit backdrop */
.lit { overflow: hidden; }
.lit::before { content: ""; position: absolute; width: 1000px; height: 700px; left: -200px; top: 120px; background: radial-gradient(closest-side, rgba(61, 91, 255, 0.35), transparent); pointer-events: none; }
.lit::after { content: ""; position: absolute; width: 800px; height: 600px; right: -260px; top: 380px; background: radial-gradient(closest-side, rgba(149, 211, 253, 0.18), transparent); pointer-events: none; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0 0 56px; padding: 0; }
.process li { border-radius: var(--r-lg); padding: 32px; }
.process .n { display: block; font: 500 12px/1 var(--mono); color: var(--blue); margin-bottom: 36px; }
.process h3 { margin: 0 0 10px; font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.process p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } }

/* Judgement rows */
.judge { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-bottom: 48px; }
.judge h2 { margin: 0 0 24px; font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; }
.judge .lede { margin: 0; color: var(--ink-2); font-size: 19px; max-width: 46ch; }
.checks-list { margin: 0; border-top: 1px solid var(--line-strong); }
.checks-list div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.checks-list dt { font-size: 18px; font-weight: 600; }
.checks-list dd { margin: 0; font-size: 18px; color: var(--ink-2); }
@media (max-width: 900px) { .judge { grid-template-columns: 1fr; gap: 36px; } .checks-list div { grid-template-columns: 1fr; gap: 4px; } }

/* Runs anywhere */
.runs-stage { position: relative; border-radius: 24px; overflow: hidden; padding: clamp(28px, 7vw, 96px) clamp(16px, 5vw, 72px); isolation: isolate; }
.runs-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(0.8); }
.runs-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,28,0.35), rgba(8,8,28,0.55)); }
.runs { border-radius: 20px; padding: clamp(36px, 5vw, 60px) 28px; text-align: center; background: rgba(12,12,40,0.35) !important; border: 1px solid rgba(255,255,255,0.3) !important; backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); }
.runs .pills li { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.runs h2 { margin: 0 0 28px; font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 0; padding: 0; }
.pills li { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03); font-size: 16px; }

/* Decision demo */
.stage { border-radius: var(--r-lg); overflow: hidden; }
.stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 0 20px; border-bottom: 1px solid var(--line); }
.stage-title { font: 500 12px/1 var(--mono); color: var(--ink-3); padding: 18px 0; }
.scenarios { display: flex; flex-wrap: wrap; }
.scenarios button { font: 500 14px/1 var(--sans); color: var(--ink-3); background: none; border: 0; border-bottom: 2px solid transparent; padding: 18px 16px 16px; cursor: pointer; transition: color .2s, border-color .2s; }
.scenarios button:hover { color: var(--ink-2); }
.scenarios button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--blue); }
.stage-body { display: grid; grid-template-columns: 1.6fr 1fr; }
.map { border-right: 1px solid var(--line); background: rgba(4, 4, 15, 0.55); }
.map svg { display: block; width: 100%; height: auto; }
.tag { font: 400 10px var(--mono); fill: var(--ink-3); }
.shelf { fill: rgba(255,255,255,0.035); stroke: rgba(255,255,255,0.16); }
.route { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, opacity .4s; }
.route.proposed { stroke: var(--ink-2); stroke-dasharray: 2 6; }
.route.rejected { stroke: var(--amber); stroke-dasharray: 2 6; }
.route.allowed { stroke: var(--blue); }
.route.off { opacity: 0; }
.flag { opacity: 0; transition: opacity .3s; } .flag.on { opacity: 1; }
.flag circle { fill: var(--amber-soft); stroke: var(--amber); }
.flag path { stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; }
.person, .zone, .bay { transition: opacity .4s; }
.person { opacity: 0; } .person.on { opacity: 1; }
.person .ring { fill: none; stroke: var(--amber); stroke-opacity: .6; animation: ping 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.zone { opacity: .35; } .zone.on { opacity: 1; }
.zone rect { fill: url(#hatch); stroke: rgba(245,182,106,0.45); stroke-dasharray: 4 4; }
.bay { opacity: .35; } .bay.on { opacity: 1; }
.robot .body { fill: var(--blue); }
.robot .halo { fill: var(--blue-soft); stroke: rgba(149,211,253,0.35); }
.robot .sweep { fill: url(#sweepGrad); }
.log { padding: 22px; display: flex; flex-direction: column; min-height: 100%; }
.log-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.log-head h3 { margin: 0; font-size: 15px; font-weight: 600; }
.status { font: 500 11px/1 var(--mono); padding: 6px 9px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--ink-2); }
.status[data-kind="stop"] { border-color: rgba(245,182,106,0.5); color: var(--amber); }
.status[data-kind="allow"] { border-color: rgba(149,211,253,0.5); color: var(--blue); }
.entries { display: flex; flex-direction: column; gap: 14px; }
.entry { animation: rise .4s ease both; }
.entry.past { opacity: .45; }
.entry.past .reason, .entry.past .checks { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.k { margin: 0 0 4px; font: 400 11px/1.4 var(--mono); color: var(--ink-3); }
.v { margin: 0 0 12px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.reason { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.checks { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 14px 96px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.checks .dot { width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; border: 1px solid var(--ink-3); transition: all .3s; }
.checks li[data-state="pass"] .dot { background: var(--blue); border-color: var(--blue); }
.checks li[data-state="fail"] .dot { background: var(--amber); border-color: var(--amber); }
.checks .note { color: var(--ink-3); font-size: 13px; line-height: 1.5; }
.checks li[data-state="fail"] .note { color: var(--amber); }
.verdict { margin: 0; font-weight: 600; font-size: 14px; }
.verdict[data-kind="stop"] { color: var(--amber); }
.verdict[data-kind="allow"] { color: var(--blue); }
.stage-foot { padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) { .stage-body { grid-template-columns: 1fr; } .map { border-right: 0; border-bottom: 1px solid var(--line); } .log { min-height: 400px; } }

/* Why: feature cards with interface previews */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feat { display: flex; flex-direction: column; gap: 28px; padding: 28px; border-radius: 16px; background: #0F0F26; border: 1px solid rgba(255,255,255,0.14); }
.feat-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 40px; padding: 28px 28px 28px 40px; }
.feat h3 { margin: 0 0 10px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
.feat p { margin: 0; color: var(--ink-2); font-size: 17px; }
.feat-ui { border-radius: 12px; padding: 28px; background-color: #08081A; background-image: radial-gradient(rgba(255,255,255,0.11) 1px, transparent 1px); background-size: 14px 14px; display: flex; justify-content: center; }
.ui { width: 100%; max-width: 440px; border-radius: 10px; background: #050512; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.9); font-size: 13px; line-height: 1.45; overflow: hidden; }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); font-weight: 600; font-size: 13px; }
.ui-head span { font-weight: 400; color: var(--ink-3); font-size: 12px; }
.ui-body { padding: 12px 14px; display: grid; gap: 10px; }
.ui-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); }
.ui-row small { display: block; color: var(--ink-3); font-size: 11px; margin-bottom: 3px; }
.ui-row em { display: block; font-style: normal; color: var(--amber); font-size: 12px; margin-top: 4px; }
.ui-quote { padding: 12px 14px; border-radius: 8px; background: rgba(245,182,106,0.08); border: 1px solid rgba(245,182,106,0.3); color: #F3E3CC; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok { color: #8FE3B0; background: rgba(143,227,176,0.1); border: 1px solid rgba(143,227,176,0.3); }
.pill-stop { color: var(--amber); background: var(--amber-soft); border: 1px solid rgba(245,182,106,0.35); }
.pill-muted { color: var(--ink-2); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); }
.head .why-intro { margin: 20px 0 0; color: var(--ink-2); font-size: 18px; max-width: 56ch; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } .feat-wide { grid-column: auto; grid-template-columns: 1fr; padding: 28px; } .feat-ui { padding: 18px; } }

/* Deployment */
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--line-strong); }
.spec th { width: 32%; font-weight: 500; font-size: 15px; color: var(--ink-3); padding-right: 24px; }
.spec td { font-size: 18px; }

/* Mission drift: full-bleed band */
.band { background: radial-gradient(ellipse at 80% 40%, rgba(61, 91, 255, 0.45), transparent 55%), linear-gradient(180deg, #0B0C30 0%, #111650 100%); border-top: 1px solid rgba(149,211,253,0.15); border-bottom: 1px solid rgba(149,211,253,0.15); overflow: hidden; }
.band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.band h2 { margin: 0 0 20px; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.band p { margin: 0 0 14px; color: var(--ink-2); font-size: 18px; max-width: 48ch; }
.band dfn { font-style: normal; color: #FFFFFF; font-weight: 600; }
.drift-photo { aspect-ratio: 5 / 4; }
.drift-photo .ph-card h3::before { background: var(--blue); }
.drift-photo .ph-chip { left: 24px; bottom: 24px; }
.band .panel { border-radius: var(--r-lg); padding: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 30px 60px -30px rgba(5,5,40,0.6); }
.band svg { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Proof strip */
.proofbar { padding: 40px 0; border-bottom: 1px solid var(--line); }
.proofbar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.proofbar li { padding: 4px 24px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.proofbar li + li { border-left: 1px solid var(--line); }
.proofbar li:first-child { padding-left: 0; }
.proofbar b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 900px) { .proofbar ul { grid-template-columns: 1fr 1fr; row-gap: 20px; } .proofbar li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .proofbar ul { grid-template-columns: 1fr; } .proofbar li, .proofbar li + li { padding-left: 0; border-left: 0; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; }
.faq h2 { margin: 0 0 14px; font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.faq .aside p { color: var(--ink-2); margin: 0; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--ink-2); transition: transform .25s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* Closing: black inset panel with grid lines */
.closing-sec { padding: 24px 0 96px; }
.closing-panel { position: relative; isolation: isolate; overflow: hidden; border-radius: 16px; padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px); text-align: center; background: #07070C; }
.closing-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 64px 64px; }
.closing-panel h2 { margin: 0 0 36px; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; }
.closing-sub { margin: 0 auto 40px; color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.closing-card { max-width: 600px; margin: 0 auto; padding: clamp(28px, 4vw, 44px); border-radius: 10px; border: 1px solid rgba(255,255,255,0.45); background: #07070C; }
.closing-card p { margin: 0 0 26px; color: #E4E6EF; font-size: 17px; }
.btn-white { background: #FFFFFF; color: #08081C; }
.btn-white:hover { background: #E4E8F2; }
.closing-after { margin-top: 32px; }
.outline-link { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.45); color: #FFFFFF; font-weight: 600; font-size: 15px; text-decoration: none; }
.outline-link:hover { border-color: #FFFFFF; }

/* Footer */
.foot-mark { margin: 64px 0 0; font-size: clamp(2.2rem, 6.4vw, 5.6rem); font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: rgba(255,255,255,0.1); }
footer { border-top: 1px solid var(--line); padding: 80px 0 40px; color: var(--ink-3); font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot h2 { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--ink-3); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .brand .logo { height: 28px; }
.foot .tagline { margin: 16px 0 0; max-width: 34ch; }
.legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.legal p { margin: 0; font-size: 15px; color: var(--ink-2); }
.legal-links { display: flex; gap: 20px; margin-top: 8px; }
.badges { display: flex; gap: 20px; align-items: center; }
.badges img { display: block; height: 76px; width: auto; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: span 2; } .badges img { height: 64px; } }


/* Deployment (draft style) */
.deploy { background: radial-gradient(ellipse at 75% 50%, rgba(60,70,160,0.18), transparent 60%), #0B0C22; overflow: hidden; }
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.deploy h2 { margin: 0 0 22px; font-size: clamp(2.4rem, 4.6vw, 3.9rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.045em; max-width: 13ch; }
.deploy-lede { margin: 0 0 30px; font-size: 18px; color: var(--ink-2); max-width: 48ch; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 12px 16px; font-size: 14px; border: 1px solid rgba(255,255,255,0.16); border-radius: 2px; background: rgba(255,255,255,0.02); }
.orbit { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-left: auto; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.r1 { width: 100%; height: 100%; background: rgba(255,255,255,0.025); }
.r2 { width: 66%; height: 66%; background: rgba(8,8,28,0.5); border: 1px solid rgba(255,255,255,0.08); }
.r3 { width: 58%; height: 58%; border: 1px dashed rgba(255,255,255,0.14); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 28%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #2A2C55, #16173A); border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 0 60px rgba(80,100,255,0.18); }
.orbit-mark { width: 46%; height: auto; }
.node { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; background: #0E0F2A; border: 1px solid rgba(255,255,255,0.16); border-radius: 2px; }
.node::before { content: ""; width: 8px; height: 8px; border: 1.5px solid #FFFFFF; border-radius: 1px; }
.n1 { right: 14%; top: 16%; }
.n2 { left: -6%; top: 36%; }
.n3 { right: -4%; top: 52%; }
.n4 { left: 20%; bottom: 13%; }
@media (max-width: 900px) { .deploy-grid { grid-template-columns: 1fr; } .orbit { margin: 12px auto 0; width: min(100%, 420px); } .n2 { left: 0; } .n3 { right: 0; } }

.sec-mist { background: #F3F4F8 !important; }
.dark-scope { --ink: #FFFFFF; --ink-2: #B9BED0; --ink-3: #7C8299; --line: rgba(255,255,255,0.09); --line-strong: rgba(255,255,255,0.18); --blue: #95D3FD; color: var(--ink); }
.deploy-panel { border-radius: 16px; padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 72px); }
.sec-black { background: #07070C; }
.sec-light .layer { background: #FFFFFF; border-color: rgba(8,8,28,0.08); }
.sec-light .layer.core { background: radial-gradient(ellipse at 100% 0%, rgba(61,91,255,0.5), transparent 60%), #08081C; border-color: #08081C; box-shadow: 0 30px 60px -30px rgba(8,8,28,0.45); }
.sec-light .layer.core h3, .sec-light .layer.core p { color: #FFFFFF; }
.sec-light .layer.core .cov { color: #95D3FD; }
.proofbar.sec-light { border-top: 1px solid rgba(8,8,28,0.08); border-bottom: 1px solid rgba(8,8,28,0.08); }

/* Industrial typography */
.hero h1, .head h2, .judge h2, .band h2, .faq h2, .closing-panel h2, .field h2 { letter-spacing: -0.045em; }

/* Full-bleed field statement */
.field { position: relative; isolation: isolate; overflow: hidden; min-height: min(92svh, 860px); display: flex; align-items: flex-end; padding: 120px 0 56px; background: #1B1D2C; color: #FFFFFF; }
.field > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.field::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,28,0.1) 0%, rgba(8,8,28,0) 30%, rgba(8,8,28,0.6) 66%, rgba(8,8,28,0.92) 100%), linear-gradient(90deg, rgba(8,8,28,0.6), rgba(8,8,28,0) 62%); }
.field h2 { margin: 0 0 12px; font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 700; line-height: 1; max-width: 14ch; color: #FFFFFF; }
.field-copy > p { margin: 0 0 40px; font-size: 19px; color: rgba(255,255,255,0.88); }
.field-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); border-top: 1px solid rgba(255,255,255,0.3); }
.field-stats div { padding: 18px 24px 0 0; font-size: 14px; color: rgba(255,255,255,0.78); }
.field-stats div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.18); }
.field-stats span { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -0.04em; color: #FFFFFF; line-height: 1.1; margin-bottom: 4px; }
.field-copy > .field-src { margin: 20px 0 0; font-size: 12px; color: rgba(255,255,255,0.6); }
.field-src a { color: inherit; }
.field-chip { left: auto; right: 9%; top: 18%; }
@media (max-width: 760px) { .field-stats { grid-template-columns: 1fr; } .field-stats div + div { padding-left: 0; border-left: 0; } .field-chip { display: none; } }

/* Capabilities row under the demo */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.caps li { padding: 24px 24px 0 0; }
.caps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.caps h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.caps p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .caps { grid-template-columns: 1fr; } .caps li + li { padding-left: 0; border-left: 0; } }

/* Proof row inside the logo strip */
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(8,8,28,0.1); font-size: 14px; color: #5A5F78; }
.proof-row li { padding-right: 20px; }
.proof-row b { color: #08081C; font-weight: 700; }
@media (max-width: 900px) { .proof-row { grid-template-columns: 1fr 1fr; row-gap: 14px; } }

/* Footer statement: readable */
.foot-mark { font-weight: 700 !important; letter-spacing: -0.05em !important; background: linear-gradient(90deg, #FFFFFF 0%, #B9CBFF 55%, #6E8BFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }

/* ===== v14 polish ===== */
.wrap-wide { width: min(1360px, 100% - 40px); margin-inline: auto; }
.field-sec { padding: 64px 0 80px; }
.field { border-radius: 6px; min-height: min(80svh, 760px); }
.field-copy.wrap { width: auto; margin: 0; padding: 0 clamp(24px, 5vw, 64px); }

/* The gap: isometric stack */
.gap-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.gap-copy h2 { margin: 0 0 16px; font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.045em; max-width: 14ch; }
.gap-copy > p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 40ch; }
.gap-note { display: flex; align-items: center; gap: 10px; margin: 28px 0 0 !important; font-size: 14px !important; font-weight: 600; color: var(--ink) !important; }
.gap-note span { width: 14px; height: 14px; border-radius: 3px; background: linear-gradient(135deg, #5B7CFF, #2F5BFF); box-shadow: 0 0 12px rgba(47,91,255,0.6); }
.iso { width: 100%; height: auto; overflow: visible; }
.plate .pl-t { fill: #FFFFFF; stroke: #C8CDDA; stroke-width: 1; }
.plate .pl-l { fill: #E3E6EE; stroke: #C8CDDA; stroke-width: 1; }
.plate .pl-r { fill: #D3D7E2; stroke: #C8CDDA; stroke-width: 1; }
.core-plate .pl-t { fill: url(#topg); stroke: #8FA6FF; }
.core-plate .pl-l { fill: #1E3FCC; stroke: #2F5BFF; }
.core-plate .pl-r { fill: #1733AA; stroke: #2F5BFF; }
.core-plate { animation: none; }
@keyframes hover { 50% { transform: translateY(-6px); } }
.pl-in { font: 600 12.5px var(--sans); fill: #FFFFFF; }
.lead { stroke: #A9AFC0; stroke-width: 1; stroke-dasharray: 3 3; }
.lead-core { stroke: #2F5BFF; stroke-dasharray: none; }
.lb { font: 700 15px var(--sans); fill: #08081C; }
.lb-sub { font: 500 13px var(--sans); fill: #6A7088; }
.lb-core { fill: #2F5BFF; }
.lb-core-sub { fill: #2F5BFF; font-weight: 700; }
@media (max-width: 900px) { .gap-grid { grid-template-columns: 1fr; } }

/* Mission drift: full-bleed photo with HUD */
.drift { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(800px, 76svh, 980px); display: flex; align-items: center; padding: 120px 0; background: #0B0C1A; color: #FFFFFF; }
.drift > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.drift::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,8,28,0.85) 0%, rgba(8,8,28,0.55) 40%, rgba(8,8,28,0.05) 72%); }
.hud { position: absolute; inset: 40px; pointer-events: none; }
.hud-c { position: absolute; width: 28px; height: 28px; border-color: rgba(255,255,255,0.7); border-style: solid; }
.hud-c.tl { left: 0; top: 0; border-width: 2px 0 0 2px; }
.hud-c.tr { right: 0; top: 0; border-width: 2px 2px 0 0; }
.hud-c.bl { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.hud-c.br { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.hud-tele { position: absolute; right: 44px; top: 6px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; font: 500 12px var(--mono); letter-spacing: 0.04em; color: #FFFFFF; background: rgba(8,8,28,0.55); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.live { width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 10px #3DDC84; }
.hud-scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(149,211,253,0.8), transparent); animation: scan 6s linear infinite; }
@keyframes scan { from { top: 0; } to { top: 100%; } }
.drift-copy { position: relative; }
.drift h2 { margin: 0 0 16px; font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.045em; max-width: 13ch; }
.drift-copy > p { margin: 0; font-size: 19px; color: rgba(255,255,255,0.86); max-width: 44ch; }
.drift dfn { font-style: normal; font-weight: 700; color: #FFFFFF; }
.drift-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.drift-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 14px; font-weight: 600; border-radius: 4px; }
.drift-chips span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.drift-chips .ok { background: rgba(255,255,255,0.92); color: #08081C; }
.drift-chips .ok::before { background: #2E9E62; }
.drift-chips .stop { background: #08081C; color: #F5B66A; border: 1px solid rgba(245,182,106,0.5); }
.drift-chips .stop::before { background: #F5B66A; }
.drift-note { position: absolute; right: max(24px, calc((100% - 1200px) / 2)); bottom: 20px; margin: 0; font-size: 12px; color: rgba(255,255,255,0.5); }
@media (max-width: 760px) { .hud { inset: 16px; } .hud-tele { right: 16px; top: 16px; font-size: 11px; } }

/* FAQ */
.faq-sec { padding-bottom: 72px; }
.faq2 { max-width: 880px; }
.faq-head { text-align: center; margin-bottom: 40px; }
.faq-head h2 { margin: 0 0 12px; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.06; }
.faq-head p { margin: 0; color: var(--ink-2); font-size: 17px; }
.faq-head a { color: #2F5BFF; font-weight: 600; text-underline-offset: 4px; }
.faq2 .faq-list { border-top: 1px solid rgba(8,8,28,0.1); }
.faq2 details { border-bottom: 1px solid rgba(8,8,28,0.1); }
.faq2 summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: #08081C; transition: color .2s; position: static; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::before, .faq2 summary::after { content: none; }
.faq2 summary:hover { color: #2F5BFF; }
.faq2 summary .ic { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(8,8,28,0.18); transition: background .2s, border-color .2s, transform .3s; }
.faq2 summary .ic::before, .faq2 summary .ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #08081C; transform: translate(-50%, -50%); transition: transform .3s, background .2s; }
.faq2 summary .ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq2 details[open] summary .ic { background: #08081C; border-color: #08081C; }
.faq2 details[open] summary .ic::before, .faq2 details[open] summary .ic::after { background: #FFFFFF; }
.faq2 details[open] summary .ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq2 details p { margin: -6px 0 0; padding: 0 60px 28px 0; font-size: 17px; line-height: 1.7; color: #4A4E63; max-width: none; }

@media (max-width: 640px) { .faq2 details p { padding-right: 0; } .faq2 summary { font-size: 17px; } }
/* Footer credits */
.photo-credits { margin: 40px 0 0; font-size: 12px; color: #6A7088; }


/* Footer (rebuilt) */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #16268A 0%, #0A1240 38%, #03040E 78%, #000000 100%); color: #D5DDF7; padding: 72px 0 32px; border-top: 0; }
.ft-top { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.ft-brand .brand { color: #FFFFFF; }
.ft-brand .brand .logo { height: 26px; }
.ft-brand p { margin: 18px 0 26px; font-size: 16px; color: #A9B6E0; max-width: 30ch; }
.ft-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ft-cols h2 { margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #8C9BD0; }
.ft-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ft-cols a { font-size: 15px; color: #DCE3FA; text-decoration: none; transition: color .2s; }
.ft-cols a:hover { color: #FFFFFF; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 28px; }
.ft-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 14px; color: #A9B6E0; }
.ft-legal a { color: #A9B6E0; text-decoration: none; }
.ft-legal a:hover { color: #FFFFFF; }
.site-footer .badges { display: flex; gap: 14px; }
.site-footer .badges img { display: block; height: 52px; width: auto; }
.ft-credits { margin: 24px 0 0; font-size: 12px; color: #5D6380; }
@media (max-width: 860px) { .ft-top { grid-template-columns: 1fr; gap: 40px; } .ft-cols { grid-template-columns: 1fr 1fr; } }

/* ===== v20 ===== */
/* The gap: dark, glass layers */
.gap-dark { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 68% 55%, rgba(47,91,255,0.2), transparent 52%), #050507; }
.gap-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 65% 55%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 65% 55%, #000 30%, transparent 75%); }
.gap-dark .gap-copy h2 { color: #FFFFFF; }
.gap-dark .gap-copy > p { color: #D6DEF2; font-size: 21px; line-height: 1.5; font-weight: 500; max-width: 34ch; letter-spacing: -0.01em; }
.gap-sig { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); max-width: 360px; }
.gap-sig-plate { width: 22px; height: 22px; border-radius: 4px; background: linear-gradient(135deg, #6E8BFF, #2F5BFF); box-shadow: 0 0 16px rgba(47,91,255,0.7); transform: rotate(45deg) scale(0.8); }
.gap-logo { height: 22px; width: auto; color: #FFFFFF; }
.gap-logo path, .lb-logo path { fill: #FFFFFF; }
.gap-dark .plate .pl-t { fill: url(#glassTop); stroke: rgba(255,255,255,0.32); stroke-width: 1; }
.gap-dark .plate .pl-l { fill: rgba(255,255,255,0.06); stroke: rgba(255,255,255,0.16); }
.gap-dark .plate .pl-r { fill: rgba(255,255,255,0.025); stroke: rgba(255,255,255,0.16); }
.gap-dark .pl-edge { fill: none; stroke: rgba(255,255,255,0.55); stroke-width: 1.2; }
.gap-dark .core-plate .pl-t { fill: url(#topg); stroke: #A9BCFF; }
.gap-dark .core-plate .pl-l { fill: #1E3FCC; stroke: #4E6FFF; }
.gap-dark .core-plate .pl-r { fill: #1733AA; stroke: #4E6FFF; }
.gap-dark .core-plate .pl-edge { stroke: #C9D6FF; }
.pl-mark path { fill: #FFFFFF; }
.gap-dark .lead { stroke: rgba(255,255,255,0.28); }
.gap-dark .lead-core { stroke: #6E8BFF; }
.gap-dark .lb { fill: #FFFFFF; }
.gap-dark .lb-sub { fill: #8D97B6; }
.gap-dark .lb-core { fill: #FFFFFF; }

/* How it works on white, demo stays dark */
.how-light .judge h2 { color: #08081C; }
.how-light .stage { background: #0B0C22; border: 1px solid rgba(8,8,28,0.2); box-shadow: 0 40px 80px -40px rgba(8,8,28,0.5); border-radius: 18px; }

/* Mission drift: geofence and readout */
.geofence { position: absolute; right: 7%; top: 20%; width: 36%; height: 52%; border: 1.5px dashed rgba(149,211,253,0.9); background: rgba(47,91,255,0.08); }
.geofence span { position: absolute; left: -1px; top: -26px; padding: 4px 8px; font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #08081C; background: rgba(149,211,253,0.95); }
.drift-log { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid rgba(255,255,255,0.35); display: grid; gap: 12px; max-width: 420px; }
.drift-log li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; font-size: 16px; color: #FFFFFF; }
.drift-log em { font-style: normal; font: 500 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.drift-log .ok em { color: #6EE7A8; }
.drift-log .stop em { color: #F5B66A; }
@media (max-width: 760px) { .geofence { display: none; } }

/* Deployment: light panel so it doesn't repeat the dark demo above */
.deploy-light { background: radial-gradient(ellipse at 76% 50%, rgba(47,91,255,0.12), transparent 58%), linear-gradient(180deg, #F5F7FC, #EDF0F8); border: 1px solid rgba(8,8,28,0.06); color: #08081C; position: relative; isolation: isolate; overflow: hidden; }
.deploy-light::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(8,8,28,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(8,8,28,0.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 76% 50%, #000 25%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 76% 50%, #000 25%, transparent 70%); }
.deploy-light h2 { color: #08081C; }
.deploy-light .deploy-lede { color: #4A4E63; }
.deploy-light .tags li { border-color: rgba(8,8,28,0.16); background: #FFFFFF; color: #08081C; }
.deploy-light .r1 { background: rgba(47,91,255,0.05); }
.deploy-light .r2 { background: rgba(255,255,255,0.7); border-color: rgba(8,8,28,0.08); box-shadow: 0 20px 60px -30px rgba(8,8,28,0.25); }
.deploy-light .r3 { border-color: rgba(47,91,255,0.35); }
.deploy-light .orbit-core { background: radial-gradient(circle at 50% 35%, #2A2C55, #08081C); border-color: rgba(8,8,28,0.2); box-shadow: 0 20px 50px -10px rgba(47,91,255,0.45); }
.deploy-light .node { background: #FFFFFF; color: #08081C; border-color: rgba(8,8,28,0.14); box-shadow: 0 10px 24px -14px rgba(8,8,28,0.35); }
.deploy-light .node::before { border-color: #2F5BFF; }

/* Floating nav: same frosted white glass instead of navy */
.site-header.scrolled .nav { background: rgba(255,255,255,0.62); border-color: rgba(255,255,255,0.55); backdrop-filter: blur(10px) saturate(150%); -webkit-backdrop-filter: blur(10px) saturate(150%); box-shadow: 0 14px 40px -24px rgba(8,8,28,0.45); }
.site-header.scrolled .nav ul a { color: #08081C; font-weight: 600; }
.site-header.scrolled .nav ul a:hover { color: #2F5BFF; }
.site-header.scrolled .brand .logo { color: #08081C; }
.site-header.scrolled .nav .btn-primary { background: #08081C; color: #FFFFFF; }
.site-header.scrolled .nav .btn-primary:hover { background: #1C1C3E; }
/* A light frosted panel behind the hero copy */
.hero-grid { position: relative; padding: 26px 30px 28px; margin-left: -30px; border-radius: 14px; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(2.5px) saturate(120%); -webkit-backdrop-filter: blur(2.5px) saturate(120%); }
.hero h1, .hero-lede { text-shadow: none; }
@media (max-width: 760px) { .hero-grid { margin-left: 0; padding: 28px 0 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; } }

/* Demo video */
.demo-film { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: #E8EBEA; border: 1px solid rgba(8,8,28,0.12); box-shadow: 0 40px 80px -40px rgba(8,8,28,0.45); }
.demo-film video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* How it works, cleaned up: heading, film, three questions */
.how2 { padding: 96px 0 88px; }
.how2-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; margin-bottom: 40px; }
.how2-head h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.045em; color: #08081C; max-width: 19ch; }
.how2-head p { margin: 0; font-size: 18px; color: #4A4E63; max-width: 44ch; }
.how2-film { margin: 0; }
.how2-film video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #E8EBEA; border: 1px solid rgba(8,8,28,0.08); box-shadow: none; }
.how2-film figcaption { margin: 14px 0 0; font-size: 14px; color: #7A7E90; }
.how2-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 40px 0 0; border-top: 1px solid rgba(8,8,28,0.12); }
.how2-checks div { padding: 24px 28px 0 0; }
.how2-checks div + div { padding-left: 28px; border-left: 1px solid rgba(8,8,28,0.1); }
.how2-checks dt { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 19px; font-weight: 700; color: #08081C; letter-spacing: -0.01em; }
.how2-checks dd { margin: 0; font-size: 16px; line-height: 1.55; color: #4A4E63; }
.tick { width: 18px; height: 18px; border-radius: 50%; background: #2F5BFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 8px no-repeat; flex: none; }
@media (max-width: 860px) {
  .how2-head { grid-template-columns: 1fr; gap: 16px; }
  .how2-checks { grid-template-columns: 1fr; }
  .how2-checks div, .how2-checks div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(8,8,28,0.1); }
}

/* Footer with integrated contact form (light, single colour) */
.site-footer2 { background: #F3F4F7; color: #08081C; padding: 88px 0 56px; border-top: 1px solid rgba(8,8,28,0.06); }
.contact-card { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; padding: clamp(32px, 5vw, 64px); background: #FFFFFF; border: 1px solid rgba(8,8,28,0.06); }
.contact-intro h2 { margin: 0 0 16px; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.045em; }
.contact-intro p { margin: 0; font-size: 17px; line-height: 1.6; color: #4A4E63; max-width: 40ch; }
.contact-form { display: grid; gap: 18px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: #2A2E45; }
.contact-form .lt b { color: #D14343; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: #08081C; background: #F3F4F7; border: 1px solid transparent; border-radius: 0; padding: 15px 16px; outline: none; transition: border-color .2s, background .2s; }
.contact-form textarea { resize: vertical; min-height: 128px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8A8EA0; }
.contact-form input:focus, .contact-form textarea:focus { background: #FFFFFF; border-color: #2F5BFF; }
.contact-form .btn-primary { background: #08081C; color: #FFFFFF; border-radius: 0; }
.contact-form .btn-primary:hover { background: #1C1C3E; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: 14px; color: #4A4E63; }
.ft2 { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; margin-top: 64px; }
.ft2-brand .brand { color: #08081C; }
.ft2-brand .brand .logo { height: 24px; color: #08081C; }
.ft2-brand p { margin: 16px 0 18px; font-size: 13px; color: #6A6E82; }
.ft2-brand .badges { display: flex; gap: 12px; }
.ft2-brand .badges img { display: block; height: 76px; width: auto; }
.ft2-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ft2-cols h3 { margin: 0 0 14px; font-size: 12px; font-weight: 600; color: #8A8EA0; }
.ft2-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft2-cols a { font-size: 14px; color: #08081C; text-decoration: none; }
.ft2-cols a:hover { color: #2F5BFF; }
@media (max-width: 900px) { .contact-card { grid-template-columns: 1fr; gap: 32px; } .ft2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-form .row2 { grid-template-columns: 1fr; } .ft2-cols { grid-template-columns: 1fr 1fr; } }


/* Deployment flows on from How it works as one section */
.how2-deploy { margin-top: 96px; padding: 0; background: none !important; border: 0 !important; border-radius: 0; overflow: visible; }
.how2-deploy::before { inset: -40px -10vw; }
.how2-deploy h2 { margin: 0 0 18px; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.045em; color: #08081C; max-width: 21ch; }
.how2-deploy .deploy-grid { gap: 48px; }
.how2-deploy .orbit { width: min(100%, 500px); }
.how2 { padding-bottom: 104px; overflow-x: clip; }
@media (max-width: 900px) { .how2-deploy { margin-top: 64px; } }


/* Taller statement sections */
.gap-dark { padding: 112px 0; min-height: clamp(760px, 72svh, 920px); display: flex; align-items: center; }
.gap-dark > .wrap { width: min(1200px, 100% - 64px); }
.gap-dark .iso { transform: scale(1.06); transform-origin: center; }
@media (max-width: 900px) { .gap-dark { padding: 96px 0; min-height: 0; } .drift { min-height: 88svh; padding: 112px 0; } }


/* Phones: the longer CTA lives in the hero; keep the nav to the logo */
.brand { flex: none; }
@media (max-width: 520px) { .nav .btn { display: none; } }

/* Slimmer top nav */
.nav .btn { min-height: 36px; padding: 0 16px; font-size: 14px; }
.nav ul a { padding: 6px 14px; }
.site-header.scrolled .nav { padding-top: 8px; padding-bottom: 8px; }


/* v38 clarity additions */
.hero-cat { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: #2F5BFF; }
.hero-who { margin: -12px 0 22px; font-size: 14px; color: #4A4E63; max-width: 52ch; }
.how2-more { margin: 32px 0 0; }
.how2-more a { font-weight: 700; font-size: 15px; color: #08081C; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(8,8,28,0.3); }
.how2-more a:hover { text-decoration-color: #2F5BFF; color: #2F5BFF; }
.drift-eg { margin: 18px 0 0 !important; padding-left: 16px; border-left: 2px solid rgba(255,255,255,0.4); font-size: 16px !important; color: rgba(255,255,255,0.75) !important; max-width: 46ch; }
@media (max-width: 760px) { .hero-cat { color: #95D3FD; } .hero-who { color: #A9B0C6; } }

/* Keep the hero panel compact so the video labels stay clear above it */
.hero { padding-bottom: clamp(20px, 2.6vw, 40px) !important; }
.hero-grid { max-width: 760px !important; padding: 20px 26px 22px !important; }
.hero h1 { font-size: clamp(1.9rem, 3vw, 2.75rem) !important; margin-bottom: 12px !important; }
.hero-lede { font-size: 16px !important; max-width: 60ch !important; margin-bottom: 16px !important; }
.hero-who { margin: -8px 0 18px !important; max-width: 70ch !important; }
@media (max-width: 760px) { .hero-grid { padding: 28px 0 0 !important; } .hero h1 { font-size: 2rem !important; } }

.who-line { margin: 0 0 28px; font-size: 18px; line-height: 1.5; color: #4A4E63; text-align: left; max-width: 70ch; }
.who-line strong { color: #08081C; font-weight: 700; }
.hero-lede { margin-bottom: 20px !important; }

/* Scroll-scrubbed hero: the video advances as you scroll */
.hero-track { position: relative; height: calc(56.25vw + 320vh); }
.hero-track > .hero { position: sticky; top: min(0px, calc(100vh - 56.25vw)); }
.scroll-cue { position: absolute; right: max(32px, calc((100% - 1200px) / 2)); bottom: 28px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #08081C; background: rgba(255,255,255,0.75); padding: 8px 12px; border-radius: 8px; transition: opacity .4s; }
.scroll-cue i { width: 2px; height: 14px; background: #08081C; border-radius: 2px; animation: cue 1.4s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: translateY(-3px); opacity: .4; } 50% { transform: translateY(3px); opacity: 1; } }
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .hero-track { height: auto; }
  .hero-track > .hero { position: relative; top: auto; }
  .scroll-cue { display: none; }
}


/* ===== Chaptered, scroll-scrubbed hero ===== */
.chapters { display: grid; align-items: end; background: none !important; border: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; padding: 0 !important; margin-left: 0 !important; }
.chapters .ch { align-self: end; padding: 20px 26px 22px; margin-left: -26px; border-radius: 14px; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(2.5px) saturate(120%); -webkit-backdrop-filter: blur(2.5px) saturate(120%); }
@media (max-width: 760px) { .chapters .ch { padding: 28px 0 0; margin-left: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; } }
.chapters .ch { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s; }
.chapters .ch.active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .5s ease, visibility 0s; }
.chapters .ch h2 { margin: 0 0 12px; font-size: clamp(1.9rem, 3vw, 2.75rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.045em; color: #08081C; max-width: 21ch; }
.chapters .ch .hero-lede { margin-bottom: 20px !important; }
.rail { position: absolute; z-index: 3; left: max(20px, calc((100% - 1200px) / 2 - 30px)); top: 118px; height: calc(56.25vw * 0.34); width: 190px; padding: 0; }
.rail::before { content: ""; position: absolute; inset: -14px -16px -14px -14px; border-radius: 10px; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(2.5px) saturate(120%); -webkit-backdrop-filter: blur(2.5px) saturate(120%); }
.rail-track { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: repeating-linear-gradient(to bottom, rgba(8,8,28,0.35) 0 1px, transparent 1px 9px); }
.rail-fill { position: absolute; left: 0; top: 0; width: 2px; height: 0; background: #08081C; }
.rail-mark { position: absolute; left: 0; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; padding: 4px 0; background: none; border: 0; cursor: pointer; font: 600 12.5px var(--sans); color: rgba(8,8,28,0.55); text-align: left; transition: color .3s; }
.rail-mark::before { content: ""; width: 16px; height: 2px; background: currentColor; }
.rail-mark b { font: 500 10.5px var(--mono); letter-spacing: 0.04em; }
.rail-mark:hover, .rail-mark.active { color: #08081C; }
.rail-mark.active::before { width: 22px; }
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .rail { display: none; }
  .chapters .ch:not([data-ch="0"]) { display: none; }
  .chapters .ch[data-ch="0"] { opacity: 1; visibility: visible; transform: none; }
}

.chapters .ch .hero-lede:last-child { margin-bottom: 0 !important; }
.rail-mark { color: rgba(8,8,28,0.62); }


/* ===== Stage: video on top, chapter text in a band below, pinned for exactly one screen ===== */
.hero-track { position: relative; height: calc(100vh + 300vh) !important; }
.stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: #FFFFFF; overflow: hidden; --band: 200px; }
.stage-video { position: relative; flex: none; height: calc(100vh - var(--band)); display: flex; justify-content: center; background: #FFFFFF; }
.stage-video video { display: block; height: 100%; width: auto; max-width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #E6E7EA; }
.stage-band { position: relative; flex: 1; display: flex; align-items: center; background: #FFFFFF; border-top: 1px solid rgba(8,8,28,0.06); }
.stage .chapters { display: grid; width: min(1200px, 100% - 64px); margin-left: auto !important; margin-right: auto !important; }
.stage .chapters .ch { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s; padding: 0; margin: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.stage .chapters .ch.active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .5s ease, visibility 0s; }
.stage .ch h1, .stage .ch h2 { margin: 0; font-size: clamp(1.8rem, 2.8vw, 2.7rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.045em; color: #08081C; max-width: 19ch; }
.stage .ch-text { margin: 0; font-size: 16px; line-height: 1.55; color: #4A4E63; max-width: 56ch; }
.stage .ch-text strong { color: #08081C; }
.stage .ch .cta-row { margin-top: 16px; }
.stage .btn-primary { background: #08081C; color: #FFFFFF; }
.stage .btn-secondary { color: #08081C; border-color: rgba(8,8,28,0.25); background: #FFFFFF; }
.stage .scroll-cue { position: absolute; right: 24px; bottom: 16px; top: auto; background: none; padding: 0; color: #6A6E82; }
.stage .scroll-cue i { background: #6A6E82; }
/* Rail: far left, vertically centred on the video, no container */
.stage .rail { position: absolute; z-index: 3; left: 28px; top: 50%; transform: translateY(-50%); height: min(46%, 320px); width: 170px; }
.stage .rail::before { display: none; }
.stage .rail-track { background: repeating-linear-gradient(to bottom, rgba(8,8,28,0.45) 0 1px, transparent 1px 9px); }
.stage .rail-mark { color: rgba(8,8,28,0.6); }
.stage .rail-mark.active, .stage .rail-mark:hover { color: #08081C; }
/* Phones and reduced motion: no pinning, video then the opening copy */
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .hero-track { height: auto !important; }
  .stage { position: relative; height: auto; padding-top: 112px; }
  .stage-video { height: auto; }
  .stage-video video { width: 100%; height: auto; }
  .stage .rail, .stage .scroll-cue { display: none; }
  .stage-band { padding: 28px 0 40px; }
  .stage .chapters .ch { grid-template-columns: 1fr; gap: 14px; }
  .stage .chapters .ch:not([data-ch="0"]) { display: none; }
  .stage .chapters .ch[data-ch="0"] { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 760px) { .stage .chapters { width: calc(100% - 40px); } }


/* ===== Stage v2: full-screen opening, then the video shrinks beside the rail and chapters alternate above/below ===== */
.stage2 { position: sticky; top: 0; height: 100vh; display: block; background: #FFFFFF; overflow: hidden; }
.stage2 .sv { position: absolute; left: 0; top: 0; width: 100vw; height: 100vh; overflow: hidden; background: #E6E7EA; border-radius: 0; transition: left .85s cubic-bezier(.2,.7,.2,1), top .85s cubic-bezier(.2,.7,.2,1), width .85s cubic-bezier(.2,.7,.2,1), height .85s cubic-bezier(.2,.7,.2,1), border-radius .85s; }
.stage2 .sv video { display: block; width: 100%; height: 100%; object-fit: cover; }
.stage2 .chapters { position: absolute; inset: 0; display: block; width: auto; margin: 0 !important; pointer-events: none; }
.stage.stage2 .chapters .ch { position: absolute; display: block; grid-area: auto; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .55s ease .25s, transform .55s ease .25s, visibility 0s linear .8s; pointer-events: auto; padding: 0; margin: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.stage.stage2 .chapters .ch.active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease .3s, transform .55s ease .3s, visibility 0s; }
/* Opening copy on the full-screen video */
.stage.stage2 .chapters .ch0 { bottom: 48px; max-width: 700px; padding: 22px 26px 24px; border-radius: 14px; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(2.5px) saturate(120%); -webkit-backdrop-filter: blur(2.5px) saturate(120%); }
.stage.stage2 .chapters .ch0 h1 { margin: 0 0 12px; font-size: clamp(2rem, 3.4vw, 3.1rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.045em; color: #08081C; max-width: 19ch; }
.stage.stage2 .chapters .ch0 .ch-text { margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: #1E2238; max-width: 56ch; }
.stage.stage2 .chapters .ch0 .ch-text strong { color: #08081C; }
/* Chapter titles beside the inset video */
.stage.stage2 .chapters .cht { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.stage.stage2 .chapters .cht h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.9rem); font-weight: 400; line-height: 1.06; letter-spacing: -0.04em; color: #08081C; }
.stage.stage2 .chapters .cht .ch-text { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: #4A4E63; max-width: 46ch; }
.stage.stage2 .chapters .cht .cta-row { margin-top: 16px; }
.stage2 .btn-primary { background: #08081C; color: #FFFFFF; }
.stage2 .btn-secondary { color: #08081C; border-color: rgba(8,8,28,0.25); background: rgba(255,255,255,0.85); }
/* Full-height rail on the left */
.stage2 .rail2 { position: absolute; z-index: 3; left: 22px; top: 104px; bottom: 36px; height: auto; width: 180px; transform: none; }
.stage2 .rail2::before { display: none; }
.stage2 .rail2 .rail-track { background: repeating-linear-gradient(to bottom, rgba(8,8,28,0.4) 0 1px, transparent 1px 11px); }
.stage2 .rail2 .rail-fill { background: #2F5BFF; width: 2px; }
.stage2 .rail-mark { color: rgba(8,8,28,0.55); transform: none; }
.stage2 .rail-mark.active { color: #2F5BFF; }
.stage2 .rail-mark.active::before { background: #2F5BFF; }
.stage2 .scroll-cue { position: absolute; right: 24px; bottom: 16px; background: none; padding: 0; color: #6A6E82; }
/* Phones and reduced motion: static video, then the opening copy */
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .stage2 { position: relative; height: auto; padding-top: 112px; }
  .stage2 .sv { position: relative; width: 100% !important; height: auto !important; left: 0 !important; top: 0 !important; aspect-ratio: 16 / 9; }
  .stage2 .rail2, .stage2 .scroll-cue, .stage.stage2 .chapters .cht { display: none; }
  .stage2 .chapters { position: static; }
  .stage.stage2 .chapters .ch0 { position: static; opacity: 1; visibility: visible; transform: none; margin: 24px 20px 40px; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
}


/* v45: fixes and the rise-over ending */
.stage.stage2 { border-radius: 0 !important; border: 0 !important; }
.hero-track { height: calc(100vh + 300vh + 70vh) !important; margin-bottom: -70vh; }
.hero-track { background: #FFFFFF; }
.logos { position: relative; z-index: 2; }
.logos::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 26vh; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #FFFFFF 100%); pointer-events: none; }
.logos ~ * { position: relative; z-index: 2; }
@media (max-width: 760px), (prefers-reduced-motion: reduce) { .hero-track { height: auto !important; margin-bottom: 0; } .logos::before { display: none; } }
/* Floating nav: light grey glass so it stands apart from white sections */
.site-header.scrolled .nav { background: rgba(232,235,241,0.86) !important; border-color: rgba(8,8,28,0.08) !important; }


/* v46: opening copy wider, shorter, centred, lighter container; rail with clear start and end */
.stage.stage2 .chapters .ch0 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; bottom: 40px; max-width: none; padding: 22px 28px; border-radius: 12px; background: rgba(255,255,255,0.14); border: 0; box-shadow: none; backdrop-filter: blur(2px) saturate(115%); -webkit-backdrop-filter: blur(2px) saturate(115%); }
.stage.stage2 .chapters .ch0 h1 { margin: 0; font-size: clamp(1.8rem, 2.7vw, 2.75rem); max-width: 18ch; }
.stage.stage2 .chapters .ch0 .ch-text { margin: 0 0 16px; max-width: 52ch; font-size: 15.5px; }
.stage.stage2 .chapters .ch0 .cta-row { margin: 0; flex-wrap: nowrap; }
.stage.stage2 .chapters .ch0 .btn { padding: 0 18px; min-height: 42px; font-size: 14px; }
.stage2 .rail2 .rail-track::before, .stage2 .rail2 .rail-track::after { content: ""; position: absolute; left: 0; width: 26px; height: 2px; background: #08081C; }
.stage2 .rail2 .rail-track::before { top: 0; }
.stage2 .rail2 .rail-track::after { bottom: 0; }
.stage2 .rail2 .rail-end { position: absolute; left: 34px; bottom: -6px; font: 500 10.5px var(--mono); letter-spacing: 0.08em; color: rgba(8,8,28,0.5); text-transform: uppercase; }
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .stage.stage2 .chapters .ch0 { display: block; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
  .stage.stage2 .chapters .ch0 h1 { margin-bottom: 14px; }
}


/* ===== v49 ===== */
.stage2 .sv-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease; pointer-events: none; }
.stage2 .sv-poster.gone { opacity: 0; }
.stage2 .sv .hud-c { position: absolute; z-index: 2; width: 18px; height: 18px; border-color: #FFFFFF; border-style: solid; opacity: 0; transition: opacity .5s ease .4s; }
.stage2 .sv .hud-c.tl { left: 12px; top: 12px; border-width: 2px 0 0 2px; }
.stage2 .sv .hud-c.tr { right: 12px; top: 12px; border-width: 2px 2px 0 0; }
.stage2 .sv .hud-c.bl { left: 12px; bottom: 12px; border-width: 0 0 2px 2px; }
.stage2 .sv .hud-c.br { right: 12px; bottom: 12px; border-width: 0 2px 2px 0; }
.stage2 .sv.inset .hud-c { opacity: 0.9; }
.stage2 .rail2 .rail-track { width: 2px; left: 7px; background: rgba(8,8,28,0.14) !important; }
.stage2 .rail2 .rail-track::before, .stage2 .rail2 .rail-track::after { display: none; }
.stage2 .rail2 .rail-fill { left: 0; width: 2px; background: #2F5BFF; }
.stage2 .rail-start { position: absolute; left: -1px; top: -26px; width: 18px; color: #08081C; }
.stage2 .rail-start svg { width: 18px; height: auto; display: block; }
.stage2 .rail-stop { position: absolute; left: 3px; bottom: -5px; width: 10px; height: 10px; border: 2px solid rgba(8,8,28,0.45); background: #FFFFFF; }
.stage2 .rail-mark { left: 3px; gap: 12px; }
.stage2 .rail-mark::before { content: ""; width: 10px !important; height: 10px; background: #FFFFFF; border: 2px solid rgba(8,8,28,0.45); box-sizing: border-box; transition: background .3s, border-color .3s; }
.stage2 .rail-mark.passed::before, .stage2 .rail-mark.active::before { background: #2F5BFF; border-color: #2F5BFF; }
.stage2 .rail-mark b { display: none; }
.ch-chip { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 600; }
.ch-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.ch-chip.ok { color: #12623E; background: rgba(46,158,98,0.12); }
.ch-chip.ok::before { background: #2E9E62; }
.ch-chip.warn { color: #9A4A0C; background: rgba(217,130,43,0.14); }
.ch-chip.warn::before { background: #D9822B; }
@media (max-width: 760px), (prefers-reduced-motion: reduce) { .stage2 .sv-poster, .stage2 .sv .hud-c { display: none; } }

/* Factory photo in brand tones: monochrome, then a deep-blue wash so the orange arms read as dark blue */
.field > img.duotone { filter: grayscale(1) contrast(1.15) brightness(0.78); }
.field-tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, #1B2C7A 0%, #0B1033 100%); mix-blend-mode: color; opacity: 0.85; pointer-events: none; }

/* Contact: split card with a brand panel and an underlined form */
.cc2 { display: grid; grid-template-columns: 0.95fr 1.05fr; border-radius: 22px; overflow: hidden; background: #FFFFFF; box-shadow: 0 30px 70px -45px rgba(8,8,28,0.45); }
.cc-side { position: relative; isolation: isolate; padding: clamp(36px, 5vw, 64px); color: #FFFFFF; background: radial-gradient(ellipse at 85% 10%, rgba(110,139,255,0.45), transparent 55%), linear-gradient(160deg, #1A2A8C 0%, #0B1033 70%); }
.cc-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(180deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); }
.cc-side h2 { margin: 0 0 16px; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.045em; max-width: 13ch; }
.cc-side p { margin: 0 0 32px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.78); max-width: 40ch; }
.cc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cc-steps li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; }
.cc-steps span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); font-size: 13px; font-weight: 700; }
.cc-form { display: grid; gap: 26px; align-content: center; padding: clamp(36px, 5vw, 64px); }
.cc-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fl { position: relative; display: block; }
.fl input, .fl textarea { width: 100%; padding: 22px 0 10px; font: 400 17px/1.4 var(--sans); color: #08081C; background: transparent; border: 0; border-bottom: 1.5px solid rgba(8,8,28,0.18); border-radius: 0; outline: none; resize: none; transition: border-color .2s; }
.fl textarea { min-height: 84px; }
.fl span { position: absolute; left: 0; top: 22px; font-size: 16px; color: #7A7E90; pointer-events: none; transition: top .2s, font-size .2s, color .2s; }
.fl input:focus, .fl textarea:focus { border-bottom-color: #2F5BFF; }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span, .fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span { top: 0; font-size: 12px; font-weight: 600; color: #2F5BFF; }
.cc-btn { justify-self: start; display: inline-flex; align-items: center; min-height: 50px; padding: 0 28px; border-radius: 999px; border: 0; background: #2F5BFF; color: #FFFFFF; font: 600 15px var(--sans); cursor: pointer; transition: background .2s; }
.cc-btn:hover { background: #1F47E8; }
.cc-form .form-note { margin: -8px 0 0; font-size: 14px; color: #4A4E63; }
@media (max-width: 900px) { .cc2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cc-form .row2 { grid-template-columns: 1fr; } }


/* ===== v50 ===== */
.site-header.scrolled .nav { background: rgba(10,14,46,0.88) !important; border-color: rgba(149,211,253,0.18) !important; box-shadow: 0 18px 40px -26px rgba(8,8,28,0.7) !important; }
.site-header.scrolled .nav ul a { color: rgba(255,255,255,0.86) !important; }
.site-header.scrolled .nav ul a:hover { color: #FFFFFF !important; }
.site-header.scrolled .brand .logo { color: #FFFFFF !important; }
.site-header.scrolled .nav .btn-primary { background: #FFFFFF !important; color: #08081C !important; }

/* How it works: title and line on the left, video alongside on the right */
.how2-top { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.how2-top .how2-head { display: block; margin: 0; }
.how2-top .how2-head h2 { margin: 0 0 18px; max-width: 14ch; }
.how2-top .how2-head p { max-width: 40ch; }
.how2-top .how2-film { margin: 0; }
@media (max-width: 900px) { .how2-top { grid-template-columns: 1fr; gap: 28px; } }

/* Mission drift: copy sits higher, clear of the machine */
.drift { align-items: flex-start !important; padding-top: clamp(120px, 16vh, 180px) !important; }

/* Contact: serious, square, no white card */
.cc2 { border-radius: 0 !important; box-shadow: none !important; background: transparent !important; gap: 0; border: 1px solid rgba(8,8,28,0.12); }
.cc-side { background: #0B1033 !important; border-radius: 0; }
.cc-side::before { background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px) !important; background-size: 48px 48px !important; mask-image: none !important; -webkit-mask-image: none !important; }
.cc-side h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.cc-steps { gap: 0 !important; border-top: 1px solid rgba(255,255,255,0.14); }
.cc-steps li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.14); font-weight: 500; gap: 18px !important; }
.cc-steps span { width: auto !important; height: auto !important; border: 0 !important; border-radius: 0 !important; font: 500 12px var(--mono) !important; color: rgba(255,255,255,0.55); }
.cc-form { background: transparent; }
.fl input, .fl textarea { border-bottom-color: rgba(8,8,28,0.28); }
.cc-btn { border-radius: 2px !important; background: #08081C !important; min-height: 50px; padding: 0 30px; }
.cc-btn:hover { background: #1C1C3E !important; }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span, .fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span { color: #08081C; }
.fl input:focus, .fl textarea:focus { border-bottom-color: #08081C; }


.stage2 .chapters { z-index: 2; }
.stage2 .scroll-cue { z-index: 2; }
/* ===== v51: opening uses a dark-blue shade instead of blur; white nav and copy on top ===== */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .stage2 .sv-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(8,11,42,0.78) 0%, rgba(8,11,42,0.35) 16%, rgba(8,11,42,0) 30%, rgba(8,11,42,0) 52%, rgba(8,11,42,0.55) 78%, rgba(8,11,42,0.82) 100%); transition: opacity .6s ease; }
  .stage2 .sv.inset .sv-shade { opacity: 0; }
  /* Opening copy: no container, white type on the shade */
  .stage.stage2 .chapters .ch0 { background: none !important; border: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; padding: 0 !important; }
  .stage.stage2 .chapters .ch0 h1 { color: #FFFFFF !important; }
  .stage.stage2 .chapters .ch0 .ch-text { color: rgba(255,255,255,0.86) !important; }
  .stage.stage2 .chapters .ch0 .ch-text strong { color: #FFFFFF !important; }
  .stage2 .ch0 .btn-primary { background: #FFFFFF !important; color: #08081C !important; }
  .stage2 .ch0 .btn-secondary { background: transparent !important; color: #FFFFFF !important; border-color: rgba(255,255,255,0.6) !important; }
  .stage2.opening .scroll-cue { color: rgba(255,255,255,0.8); }
  .stage2.opening .scroll-cue i { background: rgba(255,255,255,0.8); }
  /* Rail reads white over the shaded opening */
  .stage2.opening .rail-mark { color: rgba(255,255,255,0.75); }
  .stage2.opening .rail-mark::before { background: transparent; border-color: rgba(255,255,255,0.75); }
  .stage2.opening .rail2 .rail-track { background: rgba(255,255,255,0.3) !important; }
  .stage2.opening .rail-start { color: #FFFFFF; }
  .stage2.opening .rail-stop { background: transparent; border-color: rgba(255,255,255,0.75); }
  /* Top nav: transparent and white over the shade; it becomes the floating bar once you scroll */
  .site-header:not(.scrolled) .nav { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-color: transparent !important; }
  .site-header:not(.scrolled) .nav ul a { color: #FFFFFF !important; text-shadow: none !important; }
  .site-header:not(.scrolled) .brand .logo { color: #FFFFFF !important; }
  .site-header:not(.scrolled) .nav .btn-primary { background: #FFFFFF !important; color: #08081C !important; }
}


/* ===== v52 ===== */
/* Bigger demo video: the row breaks out wider and the video takes most of it */
.how2-top { width: calc(100% + max(0px, (100vw - 1200px) / 2 - 24px)); margin-left: 0; transform: none; grid-template-columns: minmax(300px, 0.55fr) 1.45fr; gap: 48px; }
.how2-top .how2-head h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
@media (max-width: 900px) { .how2-top { width: auto; margin-left: 0; transform: none; grid-template-columns: 1fr; } }

/* Floating nav: transparent with strong blur; adapts its text to the section underneath */
.site-header.scrolled .nav { background: rgba(255,255,255,0.22) !important; border-color: rgba(255,255,255,0.45) !important; backdrop-filter: blur(22px) saturate(170%) !important; -webkit-backdrop-filter: blur(22px) saturate(170%) !important; box-shadow: 0 12px 34px -24px rgba(8,8,28,0.45) !important; }
.site-header.scrolled .nav ul a { color: #08081C !important; }
.site-header.scrolled .nav ul a:hover { color: #2F5BFF !important; }
.site-header.scrolled .brand .logo { color: #08081C !important; }
.site-header.scrolled .nav .btn-primary { background: #08081C !important; color: #FFFFFF !important; }
.site-header.scrolled.on-dark .nav { background: rgba(255,255,255,0.08) !important; border-color: rgba(255,255,255,0.22) !important; }
.site-header.scrolled.on-dark .nav ul a { color: #FFFFFF !important; }
.site-header.scrolled.on-dark .brand .logo { color: #FFFFFF !important; }
.site-header.scrolled.on-dark .nav .btn-primary { background: #FFFFFF !important; color: #08081C !important; }

/* Contact form side: white with black type and lines */
.cc-form { background: #FFFFFF !important; }
.fl input, .fl textarea { color: #0A0A0A; border-bottom-color: rgba(0,0,0,0.4) !important; }
.fl span { color: #3A3A3A; }
.fl input:focus, .fl textarea:focus { border-bottom-color: #0A0A0A !important; }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span, .fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span { color: #0A0A0A !important; }
.cc-btn { background: #0A0A0A !important; }
.cc-btn:hover { background: #2A2A2A !important; }
.cc-form .form-note { color: #3A3A3A; }


/* ===== v53 ===== */
/* How it works: heading row above, larger video below */
.how2-top.how2-stack { display: block; width: auto; transform: none; margin: 0; }
.how2-stack .how2-head { display: grid !important; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; margin-bottom: 36px !important; }
.how2-stack .how2-head h2 { max-width: 19ch !important; font-size: clamp(2rem, 3.6vw, 3rem) !important; margin: 0 !important; }
.how2-stack .how2-film { width: min(1360px, calc(100vw - 48px)); margin-left: 50% !important; transform: translateX(-50%); }
@media (max-width: 900px) { .how2-stack .how2-head { grid-template-columns: 1fr; gap: 16px; } .how2-stack .how2-film { width: auto; margin-left: 0 !important; transform: none; } }

/* Opening copy: stacked, higher up, aligned left of the frame */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .stage.stage2 .chapters .ch0 { display: block !important; bottom: clamp(72px, 13vh, 150px) !important; width: auto !important; max-width: 680px !important; }
  .stage.stage2 .chapters .ch0 h1 { margin: 0 0 16px !important; font-size: clamp(2.2rem, 3.8vw, 3.5rem) !important; max-width: 16ch !important; }
  .stage.stage2 .chapters .ch0 .ch-text { margin: 0 0 22px !important; font-size: 17px !important; max-width: 54ch !important; }
}

/* Nav: dark blue while the inset video plays on white */
.site-header.scrolled.navy .nav { background: rgba(10,14,46,0.9) !important; border-color: rgba(149,211,253,0.18) !important; backdrop-filter: blur(14px) !important; -webkit-backdrop-filter: blur(14px) !important; box-shadow: 0 18px 40px -26px rgba(8,8,28,0.7) !important; }
.site-header.scrolled.navy .nav ul a { color: rgba(255,255,255,0.88) !important; }
.site-header.scrolled.navy .nav ul a:hover { color: #FFFFFF !important; }
.site-header.scrolled.navy .brand .logo { color: #FFFFFF !important; }
.site-header.scrolled.navy .nav .btn-primary { background: #FFFFFF !important; color: #08081C !important; }


/* ===== v54 ===== */
.stage2 .rail-stop { top: -5px !important; bottom: auto !important; }
.stage2 .rail-start { top: auto !important; bottom: -30px !important; transition: color .4s; }
.stage2 .rail2.done .rail-start { color: #2F5BFF; }
.stage2 .rail-mark.passed::before, .stage2 .rail-mark.active::before { background: #08081C !important; border-color: #08081C !important; }
.stage2 .rail-mark.active { color: #08081C !important; }

/* Factory photo: the cursor reveals the original colours underneath the brand filter */
.field-reveal { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }


/* ===== v55 ===== */
.site-header.scrolled .nav { margin-top: 22px !important; }
/* Fine dot screen over the factory photo */
.field-dots { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(circle, rgba(255,255,255,0.13) 0.9px, transparent 1.2px); background-size: 5px 5px; mix-blend-mode: screen; }


/* ===== v56 ===== */
/* Chapter lines: larger and easier to read */
.stage.stage2 .chapters .cht .ch-text { font-size: clamp(18px, 1.35vw, 21px) !important; line-height: 1.55 !important; color: #2E3248 !important; max-width: 44ch !important; }
/* Logo strip: more presence */
.logos { padding: 48px 0 52px !important; }
.logos-label { font-size: 13px !important; margin-bottom: 34px !important; color: #3A3F58 !important; }
.track li img { height: 40px !important; }
.track ul { gap: 96px !important; padding: 0 48px !important; }
@media (max-width: 640px) { .track li img { height: 30px !important; } .track ul { gap: 56px !important; } }


/* ===== v57: announcement bar blends in ===== */
.bar { background: rgba(255,255,255,0.08) !important; border-bottom: 1px solid rgba(8,8,28,0.08) !important; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); color: #2A2E45 !important; }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .bar { background: rgba(8,11,42,0.18) !important; border-bottom-color: rgba(255,255,255,0.12) !important; color: rgba(255,255,255,0.88) !important; }
  .bar a { color: #FFFFFF !important; }
  .bar-tag { background: #FFFFFF !important; color: #08081C !important; }
}


/* ===== v58: depth behind the inset video ===== */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .stage.stage2 { background: #F5F7FB; }
  .stage2::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJNMCAuNUg0ME0uNSAwVjQwIiBzdHJva2U9IiMwODA4MUMiIHN0cm9rZS1vcGFjaXR5PSIwLjA1IiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiLz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMyIgaGVpZ2h0PSIzIiBmaWxsPSIjMDgwODFDIiBmaWxsLW9wYWNpdHk9IjAuMTYiLz48cmVjdCB4PSIxOSIgeT0iMTkiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIGZpbGw9IiMwODA4MUMiIGZpbGwtb3BhY2l0eT0iMC4wNyIvPjwvc3ZnPg=='); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 70% 65% at 55% 50%, #000 20%, transparent 85%); mask-image: radial-gradient(ellipse 70% 65% at 55% 50%, #000 20%, transparent 85%); }
  .stage2 .sv-glow { position: absolute; left: 0; top: 0; width: 100px; height: 56px; filter: blur(70px) saturate(160%); opacity: 0; transform: scale(1.12); pointer-events: none; transition: left .85s cubic-bezier(.2,.7,.2,1), top .85s cubic-bezier(.2,.7,.2,1), width .85s cubic-bezier(.2,.7,.2,1), height .85s cubic-bezier(.2,.7,.2,1), opacity .8s ease .2s; }
  .stage2 .sv-glow.on { opacity: 0.22; }
  .stage2 .sv.inset { box-shadow: 0 14px 30px -26px rgba(8,8,28,0.14), 0 0 0 1px rgba(8,8,28,0.05); }
  .hero-track { background: #F5F7FB !important; }
}
@media (max-width: 760px), (prefers-reduced-motion: reduce) { .stage2 .sv-glow { display: none; } }

.bar { backdrop-filter: blur(28px) saturate(150%) !important; -webkit-backdrop-filter: blur(28px) saturate(150%) !important; border-bottom: 1px solid rgba(8,8,28,0.07) !important; -webkit-mask-image: none; mask-image: none; }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) { .bar { border-bottom-color: rgba(255,255,255,0.12) !important; } }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) { .bar { background: rgba(8,11,42,0.12) !important; } }

/* FAQ toggles: small squares with slightly rounded corners */
.faq2 summary .ic { width: 26px !important; height: 26px !important; border-radius: 4px !important; }
.faq2 summary .ic::before, .faq2 summary .ic::after { width: 10px !important; }


/* ===== v63 ===== */
/* Demo video a little smaller: back inside the page width */
.how2-stack .how2-film { width: auto !important; margin-left: 0 !important; transform: none !important; }
/* The three questions: dark brand cards with icons */
.checks3-lead { margin: 56px 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: #4A4E63; }
.checks3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.c3 { position: relative; overflow: hidden; isolation: isolate; padding: 30px 30px 34px; border-radius: 6px; background: #0B1033; color: #FFFFFF; transition: transform .3s ease, box-shadow .3s ease; }
.c3::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(160deg, #000, transparent 75%); mask-image: linear-gradient(160deg, #000, transparent 75%); }
.c3::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, #2F5BFF, #95D3FD); }
.c3:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(8,8,28,0.55); }
.c3-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; border-radius: 6px; color: #95D3FD; background: rgba(149,211,253,0.08); border: 1px solid rgba(149,211,253,0.22); }
.c3-ic svg { width: 28px; height: 28px; }
.c3 dt { margin: 0 0 10px; font-size: clamp(1.5rem, 2.1vw, 1.9rem); font-weight: 700; letter-spacing: -0.03em; }
.c3 dd { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.74); max-width: 30ch; }
@media (max-width: 900px) { .checks3 { grid-template-columns: 1fr; } }


/* Video pause state */
.stage2 .sv { cursor: pointer; }
.pause-chip { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.96); padding: 10px 16px; border-radius: 6px; font: 600 13px var(--sans); color: #FFFFFF; background: rgba(8,8,28,0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.pause-chip.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ===== Section contrast: mostly dark, with light sections in between ===== */
.sec-light { background: #FFFFFF;
  --ink: #08081C; --ink-2: #4A4E63; --ink-3: #7A7E90;
  --line: rgba(8,8,28,0.09); --line-strong: rgba(8,8,28,0.18);
  --blue: #2742E8; --blue-soft: rgba(39,66,232,0.08);
  color: var(--ink); }
.sec-light .ui, .sec-light .feat-ui, .sec-light .ph-inset {
  --ink: #FFFFFF; --ink-2: #B9BED0; --ink-3: #7C8299;
  --line: rgba(255,255,255,0.09); --line-strong: rgba(255,255,255,0.18);
  --blue: #95D3FD; color: var(--ink); }
.sec-light .feat { background: #FFFFFF; border-color: rgba(8,8,28,0.1); box-shadow: 0 24px 50px -40px rgba(8,8,28,0.35); }
.sec-light .photo { border-color: rgba(8,8,28,0.08); }
.sec-light .faq summary::before, .sec-light .faq summary::after { background: var(--ink-2); }
.sec-raised { background: radial-gradient(ellipse at 15% 0%, rgba(47,91,255,0.16), transparent 55%), #0D0E2B; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.lit::before, .lit::after { display: none; }
.glow-r::before { opacity: 0.6; }


/* ===== v78: three questions as one instrument, each with its own visual ===== */
.q3 { position: relative; overflow: hidden; isolation: isolate; margin-top: 56px; border-radius: 6px; color: #FFFFFF; background: radial-gradient(ellipse at 80% 0%, rgba(47,91,255,0.22), transparent 55%), #050507; }
.q3::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.q3-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 26px 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.q3-lead { margin: 0; font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.85); }
.q3-flow { display: flex; align-items: center; gap: 10px; font: 500 11.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.q3-flow i { position: relative; width: 26px; height: 1px; background: rgba(255,255,255,0.25); overflow: hidden; }
.q3-flow i::after { content: ""; position: absolute; top: -1px; left: -8px; width: 8px; height: 3px; border-radius: 2px; background: #95D3FD; animation: q3flow 2.4s linear infinite; }
.q3-flow i:nth-of-type(2)::after { animation-delay: .6s; } .q3-flow i:nth-of-type(3)::after { animation-delay: 1.2s; } .q3-flow i:nth-of-type(4)::after { animation-delay: 1.8s; }
.q3-flow .go { padding: 4px 8px; color: #050507; background: #95D3FD; border-radius: 3px; }
@keyframes q3flow { to { left: 30px; } }
.q3-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; margin: 0; }
.q3c { display: flex; flex-direction: column; padding: 28px 32px 34px; border-right: 1px solid rgba(255,255,255,0.1); transition: background .3s; }
.q3c:last-child { border-right: 0; }
.q3c:hover { background: rgba(255,255,255,0.03); }
.q3-vis { height: 156px; margin-bottom: 22px; }
.q3-vis svg { display: block; width: 100%; height: 100%; overflow: visible; }
.q3c dt { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; font-size: clamp(1.5rem, 2.1vw, 1.9rem); font-weight: 700; letter-spacing: -0.03em; }
.q3-n { font: 500 12px var(--mono); letter-spacing: 0.08em; color: #95D3FD; }
.q3c dd { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.72); max-width: 30ch; }
/* Safe: proximity radar */
.q-safe .rg { fill: none; stroke: rgba(149,211,253,0.28); stroke-width: 1; }
.q-safe .rg.dash { stroke-dasharray: 3 4; }
.q-safe .rg.zone { fill: rgba(255,181,71,0.08); stroke: rgba(255,181,71,0.55); }
.q-safe .sweep { fill: rgba(149,211,253,0.12); }
.q-safe .radar { transform-origin: 120px 60px; }
.q-safe .sweep { transform-origin: 120px 60px; animation: q3spin 5s linear infinite; }
.q-safe .mach { fill: #FFFFFF; }
.q-safe .ppl circle { fill: #FFB547; } .q-safe .ppl path { fill: none; stroke: #FFB547; stroke-width: 1.6; stroke-linecap: round; }
.q-safe .kit { fill: none; stroke: rgba(255,255,255,0.6); stroke-width: 1.4; }
.q3 .lbl { font: 500 9.5px var(--mono); letter-spacing: 0.04em; fill: rgba(255,255,255,0.5); text-transform: uppercase; }
.q3 .lbl.warn { fill: #FFB547; }
@keyframes q3spin { to { transform: rotate(360deg); } }
/* Compliant: rule checklist */
.q3-vis.rules { display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.rule { display: flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; padding: 5px 12px 5px 5px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.88); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; }
.rule i { display: inline-grid; place-items: center; width: 18px; height: 18px; font-style: normal; font-size: 11px; color: #050507; background: #95D3FD; border-radius: 3px; }
.rule:nth-child(2) { margin-left: 18px; } .rule:nth-child(3) { margin-left: 36px; } .rule:nth-child(4) { margin-left: 54px; }
.rule.pend { color: rgba(255,255,255,0.6); border-style: dashed; }
.rule.pend i { background: transparent; border: 1px solid rgba(149,211,253,0.6); animation: q3blink 1.6s ease-in-out infinite; }
@keyframes q3blink { 50% { background: rgba(149,211,253,0.6); } }
/* On mission: route to the job */
.q-mission .route { fill: none; stroke: #95D3FD; stroke-width: 2; }
.q-mission .drift { fill: none; stroke: #FFB547; stroke-width: 1.6; stroke-dasharray: 4 4; }
.q-mission .start { fill: rgba(255,255,255,0.6); }
.q-mission .target circle:first-child { fill: none; stroke: #FFFFFF; stroke-width: 1.6; } .q-mission .target circle:last-child { fill: #FFFFFF; }
.q-mission .bot { fill: #FFFFFF; filter: drop-shadow(0 0 6px rgba(149,211,253,0.9)); }
.q-mission .x path { stroke: #FFB547; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 900px) {
  .q3-grid { grid-template-columns: 1fr; }
  .q3c { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .q3c:last-child { border-bottom: 0; }
  .q3-flow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .q3-flow i::after, .q-safe .sweep, .rule.pend i { animation: none; } }

/* ===== v78: announcement bar shaded black ===== */
.bar { background: rgba(5,5,7,0.62) !important; color: rgba(255,255,255,0.9) !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; }
.bar a { color: #FFFFFF !important; }
.bar-tag { background: #FFFFFF !important; color: #050507 !important; }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) { .bar { background: rgba(5,5,7,0.42) !important; border-bottom-color: rgba(255,255,255,0.1) !important; } }


/* ===== v79: three questions, minimal ===== */
.q3 { margin-top: 56px !important; background: none !important; border-radius: 0 !important; overflow: visible !important; }
.q3::before { display: none !important; }
.q3-lead { margin: 0 0 18px !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: 0.04em; color: #4A4E63 !important; }
.q3-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 12px; }
.q3c { padding: 26px 28px 30px !important; border: 0 !important; border-radius: 6px; color: #FFFFFF; }
.q3c:hover { background-color: inherit; }
.q-safe { background: #0A0B10 !important; }
.q-comp { background: #0D0F18 !important; }
.q-mission { background: #101326 !important; }
.q3-vis { height: 104px !important; margin-bottom: 26px !important; }
.q3c dt { display: block !important; margin: 0 0 8px !important; font-size: clamp(1.35rem, 1.9vw, 1.65rem) !important; }
.q3c dd { font-size: 16px !important; color: rgba(255,255,255,0.66) !important; }
.q-safe .rg { stroke: rgba(255,255,255,0.16) !important; }
.q-safe .rg.zone { fill: rgba(255,181,71,0.07) !important; stroke: rgba(255,181,71,0.45) !important; }
.q-safe .sweep { fill: rgba(149,211,253,0.09) !important; transform-origin: 100px 50px !important; animation: q3spin 6s linear infinite; }
.q3-vis.rules { align-items: flex-start; gap: 8px !important; }
.q3-vis.rules .rule { margin-left: 0 !important; padding: 5px 12px 5px 5px; font-size: 13px; background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.q-mission .route { stroke: rgba(149,211,253,0.85) !important; stroke-width: 1.8 !important; }
@media (max-width: 900px) { .q3-grid { grid-template-columns: 1fr !important; } }

/* ===== v79: the floating nav is dark whenever it sits over the page ===== */
.site-header.scrolled .nav { background: rgba(6,6,10,0.8) !important; border-color: rgba(255,255,255,0.12) !important; backdrop-filter: blur(14px) saturate(150%) !important; -webkit-backdrop-filter: blur(14px) saturate(150%) !important; box-shadow: 0 16px 40px -24px rgba(0,0,0,0.55) !important; }
.site-header.scrolled .nav ul a, .site-header.scrolled .nav ul .dd-btn, .site-header.scrolled .menu-btn { color: #FFFFFF !important; }
.site-header.scrolled .nav ul a:hover, .site-header.scrolled .nav ul .dd-btn:hover { color: #95D3FD !important; }
.site-header.scrolled .brand .logo { color: #FFFFFF !important; }
.site-header.scrolled .nav .btn-primary { background: #FFFFFF !important; color: #08081C !important; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
