/* Home: a scroll film of real portal screens, then calm dark reference sections. Tokens, nav, buttons and device frames live in site.css. */

.home .nav { position: fixed; inset: 0 0 auto; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home .nav.scrolled, .home .nav.open { background: rgba(var(--ground-rgb), 0.78); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); }
.grain {
  position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.title { font-size: clamp(2.75rem, 1.2rem + 6.2vw, 6rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }
.title .soft { display: block; color: var(--blue-200); }
.title-2 { font-size: clamp(2.25rem, 1.2rem + 4vw, 4.5rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.lede { color: var(--on-navy-2); }
.cap { font-size: 0.8125rem; color: var(--on-navy-3); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.band { border-top: 1px solid rgba(var(--line-rgb), 0.06); }
.field { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); }

/* Scenes are ordinary sections until .film (JS on, motion allowed) pins them and scrubs --p from 0 to 1. */
.scene { position: relative; }
.stage { position: relative; overflow: hidden; }
.film .scene { --p: 0; height: var(--len); }
.film .stage { position: sticky; top: 0; height: 100svh; }

/* hero */
.hero .stage { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; padding-top: calc(var(--nav-h) + clamp(32px, 6vh, 72px)); }
.hero-glow {
  position: absolute; inset: auto -20% -30% -20%; height: 90vh; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 60%, rgba(var(--dusk-rgb), 0.17), rgba(var(--cyan-rgb), 0.04) 45%, transparent 70%);
}
.hero-copy { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; padding-inline: var(--gutter); text-align: center; }
.hero-copy .lede { max-width: 50ch; }
.hero-copy .cta-row { justify-content: center; margin-top: 6px; }
.hero-rig { position: relative; z-index: 2; width: min(1040px, 86vw); margin-top: clamp(40px, 7vh, 72px); }
.hero-line {
  position: relative; z-index: 4; max-width: 34ch; margin: 40px auto var(--section-y); padding-inline: var(--gutter); text-align: center;
  font-size: clamp(1.25rem, 0.9rem + 1.4vw, 2rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance;
}
.film .hero-glow { opacity: calc(0.6 + var(--p) * 0.4); }
.film .hero-copy { opacity: calc(1 - var(--p) * 2.6); transform: translateY(calc(var(--p) * -14vh)); }
/* The camera settles on the whole laptop: it rises and straightens from a slight tilt into the frame home.js measures (--dy, --fit). */
.film .hero-rig {
  --q: clamp(0, var(--p) * 1.25, 1); --e: calc(1 - (1 - var(--q)) * (1 - var(--q)));
  transform: perspective(1800px) translateY(calc(var(--e) * var(--dy, -40svh))) rotateX(calc((1 - var(--e)) * 10deg)) scale(calc(1 + (var(--fit, 1) - 1) * var(--e)));
  will-change: transform;
}
/* Opening shot: the headline pulls into focus, then the laptop rises and its screen powers on. */
@keyframes focus-in { from { opacity: 0; filter: blur(14px); transform: translateY(18px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes rise-in { from { transform: translateY(16vh); } }
@keyframes power-on { from { filter: brightness(0.12) saturate(0.3); } }
.film .hero-copy .title { animation: focus-in 1100ms var(--ease-out) backwards; }
.film .hero-copy .lede { animation: fade-up 800ms var(--ease-out) 360ms backwards; }
.film .hero-copy .cta-row { animation: fade-up 800ms var(--ease-out) 470ms backwards; }
.film .hero-rig .laptop { animation: rise-in 1400ms var(--ease-out) 180ms backwards; }
.film .hero-rig .screen img { animation: power-on 1500ms ease-out 650ms backwards; }
.film .hero-line {
  position: absolute; inset: auto 0 var(--line-b, 7vh); margin: 0 auto; text-shadow: 0 2px 24px rgba(var(--ground-rgb), 0.9);
  opacity: clamp(0, (var(--p) - 0.62) * 4, 1); transform: translateY(calc((1 - clamp(0, (var(--p) - 0.62) * 4, 1)) * 24px));
}

.facts-band { border-block: 1px solid var(--navy-line); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 26px 24px 30px 0; font-size: 0.9375rem; line-height: 1.5; color: var(--on-navy-2); }
.facts li + li { padding-inline-start: 24px; border-inline-start: 1px solid var(--navy-line); }
.facts b { display: block; margin-bottom: 4px; font-size: 1rem; font-weight: 600; color: var(--on-navy); }

/* devices: laptop, tablet and phone walk on, one per beat */
.devices .stage { display: grid; grid-template-rows: auto 1fr; gap: clamp(24px, 4vh, 48px); padding: var(--section-y) var(--gutter) 0; }
.film .devices .stage { padding-top: calc(var(--nav-h) + 4vh); }
.dev-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px clamp(32px, 5vw, 72px); align-items: end; width: min(var(--wrap), 100%); margin-inline: auto; }
.dev-head .title-2 { font-size: clamp(2.25rem, 1.2rem + 3.2vw, 4rem); }
.dev-head .lede { font-size: 1.0625rem; }
.beat-line { display: none; }
.floor { position: relative; display: grid; gap: 32px; width: min(1180px, 100%); margin-inline: auto; }
.rigs-area { position: relative; aspect-ratio: 2 / 1; }
.beats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; z-index: 4; }
.beats p { max-width: 30ch; font-size: 1.0625rem; color: var(--on-navy-2); }
.beats b { display: block; color: var(--on-navy); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.012em; }
.d { position: absolute; bottom: 0; }
.d-laptop { left: 0; width: 54%; bottom: 6%; }
.d-tablet { left: 52%; width: 26%; bottom: 0; z-index: 2; }
.d-phone { right: 2%; width: 14.5%; bottom: 4%; z-index: 3; }
.film .rigs-area { position: absolute; inset: 0; aspect-ratio: auto; }
.film .beat-line { display: flex; grid-column: 1 / -1; gap: 10px; }
.beat-line span { position: relative; width: 56px; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(var(--line-rgb), 0.18); }
.beat-line span::after { content: ""; position: absolute; inset: 0; background: var(--blue-400); transform-origin: left; transform: scaleX(var(--f, 0)); }
.film .beats { display: grid; position: absolute; left: 0; top: 0; }
.film .beats p { grid-area: 1 / 1; opacity: 0; transition: opacity 500ms var(--ease-out); }
.film .beats p.is-on { opacity: 1; }
.film .d-laptop { transform: translateY(calc((1 - var(--a, 1)) * 90vh)); }
.film .d-tablet { transform: translateY(calc((1 - var(--b, 1)) * 90vh)); }
.film .d-phone { transform: translateY(calc((1 - var(--c, 1)) * 90vh)); }

/* tour: sticky tablet swaps screens as the steps pass */
.tour { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 104px); padding-block: clamp(48px, 8vw, 112px) var(--section-y); }
.tour-step { display: grid; align-content: center; gap: 14px; min-height: 48svh; padding-block: 32px; border-top: 1px solid var(--navy-line); }
.tour-step:first-child { min-height: 44svh; align-content: start; padding-top: 28px; }
.tour-step .h3 { font-size: clamp(1.5rem, 1.1rem + 0.9vw, 2rem); letter-spacing: -0.025em; }
.tour-step p { max-width: 40ch; font-size: 1.125rem; color: var(--on-navy-2); }
.tour-step .h3, .tour-step p { transition: color var(--dur) var(--ease-out); }
.js .tour-step:not(.is-active) .h3, .js .tour-step:not(.is-active) p { color: var(--on-navy-3); }
.js .tour-step.is-active { border-top-color: var(--blue-400); }
.tour-inline { display: none; width: min(56%, 230px); margin-top: 20px; }
.tour-stage { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; display: grid; justify-items: center; gap: 16px; }
.tour-stage .tablet { width: min(100%, 440px, calc((100svh - var(--nav-h) - 120px) * 0.66)); }
.tour-stage .screen img, .whitelabel .screen img { opacity: 0; }
.tour-stage .screen img.is-on, .whitelabel .screen img.is-on { opacity: 1; }
.whitelabel .screen img { transition: opacity 700ms var(--ease-out); }
@media (min-width: 961px) { .tour-steps { padding-bottom: 18svh; } }
@media (max-width: 960px) {
  .tour { grid-template-columns: 1fr; }
  .tour-stage { display: none; }
  .tour-step, .tour-step:first-child { min-height: 0; padding-block: 36px 44px; }
  .tour-inline { display: block; }
  .js .tour-step:not(.is-active) .h3 { color: var(--on-navy); }
  .js .tour-step:not(.is-active) p { color: var(--on-navy-2); }
}
@media (min-width: 561px) and (max-width: 960px) {
  .tour-step, .tour-step:first-child { grid-template-columns: minmax(0, 1fr) minmax(0, 220px); grid-template-rows: auto 1fr; column-gap: clamp(24px, 5vw, 56px); align-content: start; }
  .tour-step .tour-inline { grid-column: 2; grid-row: 1 / span 2; width: 100%; margin-top: 0; }
}
@media (max-width: 560px) { .tour-inline { margin-inline: auto; } }

/* flight: the map screen tilts up from the floor like a crane shot */
.flight .stage { display: grid; align-content: center; justify-items: center; gap: clamp(24px, 4vh, 48px); padding: var(--section-y) var(--gutter); perspective: 1400px; }
.film .flight .stage { padding-block: calc(var(--nav-h) + 2vh) 2vh; }
.flight-copy { display: grid; justify-items: center; gap: 16px; text-align: center; }
.plate { width: min(1180px, 100%, (100svh - 300px) * 1.6); border-radius: 16px; overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.plate img { display: block; width: 100%; height: auto; }
.film .flight-copy { opacity: clamp(0.4, var(--p) * 3, 1); }
.film .plate { transform: rotateX(calc((1 - clamp(0, var(--p) * 1.6, 1)) * 38deg)) scale(calc(0.9 + clamp(0, var(--p) * 1.6, 1) * 0.1)); transform-origin: 50% 100%; }

/* white-label: the same portal re-dresses per airline */
.whitelabel .stage { display: grid; align-items: center; padding: var(--section-y) var(--gutter); background-color: var(--tint, #2b1710); transition: background-color 700ms var(--ease-out); }
.whitelabel .stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 70% 50%, transparent, var(--black) 75%); }
.bigname {
  position: absolute; inset: auto 0 3vh; height: 1em; pointer-events: none; white-space: nowrap; text-align: center;
  font-size: clamp(4rem, 13vw, 12rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: rgba(var(--text-rgb), 0.05);
}
.bigname span { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms var(--ease-out); }
.bigname span.is-on { opacity: 1; }
.brand-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; width: min(var(--wrap), 100%); margin-inline: auto; }
.brand-copy { display: grid; justify-items: start; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font-size: 0.9375rem; font-weight: 500; color: var(--on-navy-2); background: transparent; border: 1px solid var(--navy-line);
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.chip:hover { color: var(--on-navy); border-color: var(--navy-line-strong); }
.chip.is-on { color: var(--on-navy); border-color: var(--navy-line-strong); background: rgba(var(--text-rgb), 0.08); }
.brand-rigs { position: relative; display: grid; justify-items: center; }
.brand-rigs .tablet { width: min(380px, 70%); }
.brand-rigs .phone { position: absolute; right: 4%; bottom: -4%; width: min(170px, 30%); }

/* surfaces */
.surfaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.surface { display: grid; align-content: start; gap: 12px; padding-top: 28px; border-top: 1px solid var(--navy-line-strong); }
.surface .who { font-size: var(--text-small); color: var(--blue-200); }
.surface p { color: var(--on-navy-2); }
.surface .tags { margin-top: 8px; font-size: var(--text-small); color: var(--on-navy-3); }

/* features */
.feat-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.feat-grid .h2 { position: sticky; top: calc(var(--nav-h) + 32px); }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px clamp(24px, 3vw, 48px); }
.feat { display: grid; align-content: start; gap: 10px; padding-top: 24px; border-top: 1px solid var(--navy-line-strong); }
.feat p { color: var(--on-navy-2); }
.feat { position: relative; }
.film.reveal .feat { border-top-color: transparent; }
.film.reveal .feat::before {
  content: ""; position: absolute; inset: -1px 0 auto; height: 1px; background: var(--blue-400); transform-origin: left; transform: scaleX(0);
  transition: transform 900ms var(--ease-out) calc(var(--i, 0) * 120ms), background-color 1200ms ease calc(900ms + var(--i, 0) * 120ms);
}
.film.reveal .feat > * { opacity: 0; transform: translateY(12px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(150ms + var(--i, 0) * 120ms); }
.film.reveal .feat.is-in::before { transform: none; background-color: var(--navy-line-strong); }
.film.reveal .feat.is-in > * { opacity: 1; transform: none; }

/* how it works */
.flow { position: relative; margin-bottom: 24px; }
.flow svg { width: 100%; height: auto; overflow: visible; }
.flow .path { fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 4 6; }
.flow .ground { stroke: var(--navy-line-strong); stroke-width: 1; }
.flow .node { fill: var(--black); stroke: var(--signal); stroke-width: 1.5; }
.flow .lbl { fill: var(--on-navy-3); font: 500 13px/1.4 var(--font-sans); }
.flow .trail, .flow .craft, .flow .ping { display: none; }
.flow .halo { fill: rgba(var(--signal-rgb), 0.25); }
.flow .dot { fill: var(--signal); }
.film .flow .path { stroke: var(--navy-line-strong); }
.film .flow .trail { display: inline; fill: none; stroke: var(--signal); stroke-width: 2; }
.film .flow .craft { display: inline; }
.film .flow .node { stroke: var(--navy-line-strong); transition: fill 300ms var(--ease-out), stroke 300ms var(--ease-out); }
.film .flow .is-lit .node { fill: var(--signal); stroke: var(--signal); }
.film .flow .lbl { transition: fill 300ms var(--ease-out); }
.film .flow .is-lit .lbl { fill: var(--on-navy); }
.film .flow .ping { display: inline; fill: none; stroke: var(--signal); stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; opacity: 0; }
.film .flow .is-lit .ping { animation: ping 1600ms var(--ease-out); }
.film .flow .is-lit .ping + .ping { animation-delay: 450ms; }
@keyframes ping { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(6); } }
.film .step .h3, .film .step p { transition: color 400ms var(--ease-out); }
.film .step:not(.is-lit) .h3, .film .step:not(.is-lit) p { color: var(--on-navy-3); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.step { display: grid; align-content: start; gap: 10px; }
.step p { color: var(--on-navy-2); }
.hardware { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; margin-top: clamp(64px, 8vw, 104px); padding-top: 28px; border-top: 1px solid var(--navy-line); }
.hardware p { max-width: 60ch; font-size: 1.0625rem; color: var(--on-navy-2); }
.hardware p b { color: var(--on-navy); font-weight: 600; }
.hardware .src { font-size: var(--text-small); color: var(--on-navy-3); white-space: nowrap; }

/* content library */
.lib-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.lib-head .lede { margin-top: 20px; }
.lib-head .btn { margin-top: 32px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cats li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--navy-line-strong); font-size: 0.9375rem; color: var(--on-navy-2); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(148px, 15vw, 212px); gap: clamp(12px, 1.4vw, 20px);
  overflow-x: auto; padding: 4px var(--gutter) 24px; scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--navy-line-strong) transparent;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 96px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 96px), transparent);
}
.rail > li { scroll-snap-align: start; }
.rail figure { display: grid; gap: 10px; }
.rail img { width: 100%; aspect-ratio: 400 / 566; object-fit: cover; border-radius: 10px; background: var(--navy-850); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.rail figcaption { font-size: 0.8125rem; line-height: 1.4; color: var(--on-navy-3); }
.rail figcaption b { display: block; font-size: 0.875rem; font-weight: 600; color: var(--on-navy); }
.rail-note { margin-top: 8px; font-size: 0.8125rem; color: var(--on-navy-3); }
@keyframes load-in { from { clip-path: inset(100% 0 0 0 round 10px); transform: translateY(16px); } }
.film.reveal .rail:not(.is-in) li { opacity: 0; }
.film.reveal .rail.is-in img { animation: load-in 800ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
.film.reveal .rail.is-in figcaption { animation: fade-up 600ms var(--ease-out) backwards; animation-delay: calc(250ms + var(--i, 0) * 70ms); }
@media (min-width: 1280px) { .rail { padding-inline: calc((100vw - var(--wrap)) / 2); scroll-padding-inline: calc((100vw - var(--wrap)) / 2); } }

/* advertising */
.rev { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 12fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.rev-copy .lede { margin-top: 20px; }
.rev-points { display: grid; margin-top: 36px; }
.rev-points li { padding-block: 16px; border-top: 1px solid var(--navy-line); color: var(--on-navy-2); }
.rev-points b { color: var(--on-navy); font-weight: 600; }
.rev-visual { position: relative; padding: 0 0 12% 15%; }
.rev-visual .phone { position: absolute; left: 0; bottom: 0; width: 23%; z-index: 1; }
.film .rev-visual .phone { transform: translateY(calc((1 - var(--t, 1)) * 45%)); opacity: clamp(0, var(--t, 1) * 1.6, 1); }
/* Captured app chrome: matches the panel's own near-black so the screenshot sits flush. */
.app-window { margin: 0; }
.app-frame { overflow: hidden; border-radius: 12px; background: #0f1012; border: 1px solid var(--navy-line-strong); box-shadow: var(--shadow-device); }
.app-bar { display: flex; gap: 6px; padding: 10px 12px; background: #17181b; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.app-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.app-frame img { display: block; width: 100%; height: auto; }
.app-window figcaption { margin-top: 14px; font-size: 0.8125rem; color: var(--on-navy-3); text-align: right; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 20px; }
.faq-side p { color: var(--on-navy-2); }
.faq-item { border-top: 1px solid var(--navy-line-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--navy-line-strong); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; list-style: none; cursor: pointer; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; transition: color var(--dur) var(--ease-out); }
.faq-q:hover { color: var(--blue-200); }
.faq-q::-webkit-details-marker { display: none; }
.faq-ic { position: relative; flex: none; width: 14px; height: 14px; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform var(--dur) var(--ease-out); }
.faq-ic::after { transform: rotate(90deg); }
.faq-item[open] .faq-ic::after { transform: rotate(0deg); }
.faq-a { max-width: 66ch; padding-bottom: 24px; color: var(--on-navy-2); }
@supports (interpolate-size: allow-keywords) and selector(::details-content) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: clip; transition: height 340ms var(--ease-out), content-visibility 340ms allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}
.film .faq-item[open] .faq-a { animation: fade-up 500ms var(--ease-out) 60ms backwards; }

/* closing call to action */
.close { position: relative; overflow: clip; text-align: center; padding-block: clamp(112px, 15vw, 200px); }
.close::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; pointer-events: none; background: radial-gradient(60% 36% at 50% 50%, rgba(var(--signal-rgb), 0.24), transparent 72%); }
/* The flight path from How it works ends here as the horizon under the demo button. */
.close::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(to right, transparent, rgba(var(--signal-rgb), 0.9) 50%, transparent); }
.film .close::before { opacity: calc(0.25 + var(--t, 1) * 0.75); transform: translateY(calc((1 - var(--t, 1)) * 18%)); }
.close .wrap { position: relative; display: grid; justify-items: center; gap: 24px; }
.close .h2 { font-size: clamp(2.5rem, 1.2rem + 5vw, 5rem); letter-spacing: -0.04em; line-height: 1; }
.close .lede { margin-inline: auto; }
.close .cta-row { justify-content: center; margin-top: 8px; }

@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--navy-line); }
}
@media (max-width: 980px) { .rev { grid-template-columns: 1fr; } .rev-visual { max-width: 640px; } }
@media (max-width: 900px) {
  .dev-head, .brand-grid, .feat-grid, .lib-head, .faq { grid-template-columns: 1fr; }
  .rigs-area { aspect-ratio: 1 / 0.85; }
  .beats { grid-template-columns: 1fr; gap: 12px; }
  .d-laptop { width: 74%; bottom: 34%; } .d-tablet { width: 38%; left: 34%; bottom: -2%; } .d-phone { width: 22%; right: 0; bottom: 4%; }
  .brand-copy { justify-items: center; text-align: center; } .chips { justify-content: center; }
  .brand-rigs .tablet { width: min(300px, 62%); }
  .feat-grid .h2, .faq-side { position: static; }
}
@media (max-width: 860px) {
  .surfaces { grid-template-columns: 1fr; gap: 40px; }
  .flow { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding-block: 24px; border-top: 1px solid var(--navy-line); }
  .hardware { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-rig { width: calc(100vw - 32px); margin-top: 5vh; }
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 0 20px; border-inline-start: 0; }
  .facts li + li { border-top: 1px solid var(--navy-line); }
  .feats { grid-template-columns: 1fr; gap: 32px; }
  .bigname { display: none; }
  .film .whitelabel .stage { padding-block: calc(var(--nav-h) + 12px) 12px; }
  .brand-rigs .tablet { width: clamp(112px, calc((100svh - 530px) * 0.67), 240px); }
  .brand-copy .lede { font-size: 1rem; }
  .rev-visual { padding: 0; } .rev-visual .phone { display: none; }
  .app-window figcaption { text-align: left; }
}
