:root {
  color-scheme: light;
  --navy: #101c31;
  --navy-soft: #263b42;
  --cobalt: #2459d6;
  --blue: #477ef0;
  --white: #fff;
  --paper: #f5f6f2;
  --mist: #e9eef5;
  --sage: #dce5d8;
  --forest: #284537;
  --ink: #1c2b27;
  --muted: #52635c;
  --line: rgba(28, 43, 39, .16);
  --body: "Inter", sans-serif;
  --display: "Manrope", sans-serif;
  --gutter: clamp(22px, 5vw, 76px);
  --content: 1280px;
  --radius-pill: 999px;
  --radius-media: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: var(--body); }
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, canvas:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.045em; }
h1 { max-width: 11ch; margin-bottom: 20px; font-size: clamp(56px, 7vw, 96px); line-height: .98; }
h2 { max-width: 16ch; margin-bottom: 20px; font-size: clamp(38px, 5vw, 68px); line-height: 1.04; }
h3 { margin-bottom: 10px; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; }
p { line-height: 1.72; }
.section-shell { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 99; top: 10px; left: 10px; padding: 12px 16px; border-radius: var(--radius-pill); background: var(--white); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 30; top: 0; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px var(--gutter); border-bottom: 1px solid transparent; background: var(--paper); color: var(--ink); transition: background .3s ease, border-color .3s ease; }
.site-header.is-scrolled { background: rgba(245,246,242,.85); border-color: var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.site-header-home { position: absolute; inset: 0 0 auto; background: linear-gradient(180deg, rgba(16, 28, 49, .84), transparent); color: var(--white); }
.wordmark { display: inline-flex; align-items: center; font-size: 0; letter-spacing: 0; line-height: 0; }
.wordmark::before { content: ""; display: block; width: 118px; height: 30px; background: url("/assets/flown-logo.png") left center / contain no-repeat; }
.wordmark span { display: none; }
.product-header .wordmark::before, .site-footer .wordmark::before { background-image: url("/assets/flown-logo-white.png"); }
.product-header-home .wordmark::before { width: 138px; height: 34px; background-image: url("/assets/flown-logo-white.png"); }
.primary-nav { display: flex; align-items: center; gap: clamp(17px, 2.25vw, 34px); font-size: 13px; font-weight: 500; }
.primary-nav > a:not(.nav-cta), .nav-dropdown > summary { transition: color .18s ease; }
.primary-nav > a:not(.nav-cta):hover, .nav-dropdown > summary:hover { color: var(--cobalt); }
.site-header-home .primary-nav > a:not(.nav-cta):hover, .site-header-home .nav-dropdown > summary:hover { color: #dbe8ff; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { list-style: none; cursor: pointer; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.nav-dropdown[open] > summary span { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 13px); left: -18px; width: min(300px, calc(100vw - 40px)); display: grid; gap: 3px; padding: 12px; border: 1px solid rgba(48, 130, 248, .16); border-radius: 22px; background: linear-gradient(145deg, #fff 0%, #f5f8ff 100%); box-shadow: 0 22px 58px rgba(11, 25, 58, .2), 0 4px 14px rgba(11, 25, 58, .07); color: var(--ink); }
.nav-menu::before { content: "Explore technology"; padding: 5px 12px 9px; color: #64799a; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-menu a { min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; border-radius: 12px; font-size: 13px; font-weight: 550; transition: background .18s ease, color .18s ease, transform .18s ease; }
.nav-menu a::after { content: "↗"; color: var(--cobalt); opacity: .42; transform: translate(-2px, 2px); transition: opacity .18s ease, transform .18s ease; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: #eaf1ff; color: var(--navy); }
.nav-menu a:hover { transform: translateX(2px); }
.nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after { opacity: 1; transform: translate(0); }
.nav-menu a:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.nav-cta { min-height: 36px; display: inline-flex; align-items: center; gap: 9px; padding: 0 19px; border-radius: var(--radius-pill); background: var(--cobalt); color: var(--white); transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: #1d48b6; transform: translateY(-1px); }
.site-header-home .nav-cta { background: var(--white); color: var(--ink); }
.site-header-home .nav-cta:hover { background: #e8eee8; }
.menu-toggle { display: none; }

.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 0; border-radius: var(--radius-pill); background: var(--cobalt); color: var(--white); font-size: 14px; font-weight: 600; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.button:hover { background: #1d48b6; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16, 28, 49, .17); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: #e8eee8; }
.button-quiet { border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); color: var(--white); }
.button-quiet:hover { background: rgba(255,255,255,.18); }
.button-arrow { font-size: 19px; font-weight: 400; }
.inline-link { display: inline-flex; align-items: center; gap: 10px; color: var(--cobalt); font-size: 14px; font-weight: 600; }
.inline-link span { transition: transform .18s ease; }
.inline-link:hover span { transform: translateX(4px); }

.flight-canvas, .scene-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.flight-canvas { z-index: -1; cursor: grab; touch-action: pan-y; }
.flight-canvas.is-dragging { cursor: grabbing; }
.flight-canvas:focus-visible { outline-offset: -6px; }
.scene-fallback { z-index: -2; object-fit: cover; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-status { position: absolute; z-index: 1; bottom: 35px; left: var(--gutter); color: rgba(255,255,255,.75); font-size: 11px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.section { padding: clamp(76px, 9vw, 132px) 0; }
.section-soft { background: var(--paper); }
.section-white { background: var(--white); }
.section-sage { background: var(--sage); }
.section-dark { background: var(--forest); color: var(--white); }
.section-heading { display: grid; grid-template-columns: 1fr .75fr; gap: 8%; align-items: end; margin-bottom: 50px; }
.section-heading h2 { margin: 0; }
.section-heading p { max-width: 56ch; margin: 0 0 5px; color: var(--muted); }
.section-dark .section-heading p { color: rgba(255,255,255,.8); }

.home-story { position: relative; isolation: isolate; background: var(--navy); color: var(--white); }
.home-story-stage { position: sticky; z-index: 0; top: 0; height: 100svh; min-height: 480px; margin-bottom: -100svh; overflow: hidden; isolation: isolate; background: var(--navy); }
.home-story-stage .flight-canvas, .home-story-stage .scene-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-story-stage .flight-canvas { z-index: 0; cursor: grab; }
.home-story-stage .scene-fallback { z-index: -1; object-fit: cover; }
.home-story-stage::before { position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, rgba(16,28,49,.92), rgba(16,28,49,.72) 36%, rgba(16,28,49,.15) 74%), linear-gradient(0deg, rgba(16,28,49,.72), transparent 34%); }
.home-story-stage[data-active-stage="ground"]::before, .home-story-stage[data-active-stage="shared"]::before { background: linear-gradient(270deg, rgba(16,28,49,.94), rgba(16,28,49,.76) 42%, rgba(16,28,49,.16) 76%), linear-gradient(0deg, rgba(16,28,49,.76), transparent 40%); }
.home-story-stage[data-active-stage="devices"]::before { background: linear-gradient(90deg, rgba(16,28,49,.9), rgba(16,28,49,.64) 44%, rgba(16,28,49,.12) 76%), linear-gradient(0deg, rgba(16,28,49,.7), transparent 42%); }
.home-story-stage[data-active-stage="air"]::before { background: linear-gradient(90deg, rgba(16,28,49,.92), rgba(16,28,49,.72) 39%, rgba(16,28,49,.08) 75%), linear-gradient(0deg, rgba(16,28,49,.34), transparent 28%); }
.story-chapter { position: relative; z-index: 2; min-height: 100svh; display: flex; align-items: center; padding: 110px var(--gutter) 102px; scroll-margin-top: 0; color: var(--white); pointer-events: none; }
.story-copy { width: min(590px, 49%); margin-left: 0; pointer-events: auto; }
.story-copy h1 { max-width: 10ch; margin-bottom: 22px; font-size: clamp(58px, 7.3vw, 102px); line-height: .98; }
.story-copy h2 { max-width: 11ch; margin-bottom: 20px; font-size: clamp(44px, 5.4vw, 76px); line-height: 1.02; }
.story-emphasis { color: #82acff; }
.home-story-stage:is([data-active-stage="dispatch"], [data-active-stage="confirm"], [data-active-stage="suppress"])::before { background: linear-gradient(90deg, rgba(16,28,49,.94), rgba(16,28,49,.76) 36%, rgba(16,28,49,.04) 66%); }
.home-story .button:not(.button-quiet) { background: var(--cobalt); color: var(--white); }
.home-story .button:not(.button-quiet):hover { background: #1d48b6; }
.home-story .story-link { color: #b7d1ff; text-decoration: underline; text-decoration-color: #477ef0; text-underline-offset: 6px; }
.story-copy > p:not(.story-scroll-cue) { max-width: 49ch; margin-bottom: 25px; color: rgba(255,255,255,.92); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.62; }
.story-copy .hero-actions { margin-top: 28px; }
.story-copy .hero-actions .button { min-height: 52px; }
.story-scroll-cue { display: flex; align-items: center; gap: 9px; margin: 26px 0 0; color: rgba(255,255,255,.8); font-size: 12px; }
.story-scroll-cue span { color: #b7ceff; font-size: 17px; }
.story-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #dbe8ff; font-size: 14px; font-weight: 600; }
.story-link span { color: #8fb0ff; transition: transform .18s ease; }
.story-link:hover span { transform: translate(3px, -3px); }
.story-chapter-ground .story-copy, .story-chapter-shared .story-copy { margin-left: auto; }
.story-chapter-devices { align-items: center; }
.device-explorer { width: min(var(--content), 100%); margin-inline: auto; display: block; pointer-events: auto; }
.device-intro, .device-selector { width: min(470px, 52%); }
.device-intro h2 { max-width: 15ch; margin-bottom: 12px; font-size: clamp(42px, 4.2vw, 58px); }
.device-intro p { max-width: 34ch; color: rgba(255,255,255,.86); font-size: 16px; }
.device-selector { max-width: 470px; margin-top: 24px; }
.device-tabs { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); border-bottom: 1px solid rgba(255,255,255,.36); }
.device-tabs [role="tab"] { position: relative; min-height: 48px; padding: 0 2px; border: 0; background: transparent; color: rgba(255,255,255,.7); cursor: pointer; font-size: 15px; font-weight: 500; transition: color .2s ease; }
.device-tabs [role="tab"]::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--blue); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .24s ease; }
.device-tabs [role="tab"]:hover, .device-tabs [role="tab"][aria-selected="true"] { color: var(--white); }
.device-tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.device-panel { min-height: 195px; padding-top: 24px; }
.device-panel h3 { max-width: 15ch; margin-bottom: 11px; font-size: clamp(25px, 2.5vw, 34px); }
.device-panel p { max-width: 42ch; margin-bottom: 10px; color: rgba(255,255,255,.86); font-size: 15px; line-height: 1.65; }
.device-panel[hidden] { display: none; }

.audience-section { padding: clamp(80px, 9vw, 126px) 0; background: var(--white); color: var(--navy); }
.audience-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: end; }
.audience-inner h2 { max-width: 10ch; margin-bottom: 14px; color: var(--navy); }
.audience-inner > div > p { max-width: 42ch; margin: 0; color: #45566d; }
.audience-section .audience-list { justify-content: flex-start; margin-top: 0; }
.audience-section .audience-chip { border-color: rgba(16,28,49,.23); color: var(--navy); }
.audience-section .audience-chip:hover { border-color: var(--cobalt); background: var(--cobalt); color: var(--white); }

.audience-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.audience-chip { min-height: 46px; display: inline-flex; align-items: center; padding: 0 19px; border: 1px solid rgba(28,43,39,.28); border-radius: var(--radius-pill); background: transparent; color: var(--ink); font-size: 13px; transition: background .18s ease, color .18s ease; }
.audience-chip:hover { background: var(--forest); color: var(--white); }
.closing-cta { position: relative; overflow: hidden; padding: clamp(78px, 10vw, 138px) 0; background: var(--navy); color: var(--white); }
.closing-cta::after { position: absolute; top: -40%; right: -8%; width: 55vw; height: 130%; border-radius: 50%; background: radial-gradient(ellipse, rgba(110, 142, 113, .4), transparent 67%); content: ""; pointer-events: none; }
.closing-cta-home::after { background: radial-gradient(ellipse, rgba(71,126,240,.42), transparent 68%); }
.closing-inner { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.closing-inner h2 { max-width: 13ch; margin: 0; }
.closing-inner p { max-width: 48ch; margin: 17px 0 0; color: rgba(255,255,255,.8); }

.page-hero { position: relative; min-height: 510px; display: flex; align-items: end; padding: 140px var(--gutter) 74px; overflow: hidden; background: var(--forest); color: var(--white); }
.page-hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,37,31,.76), rgba(21,37,31,.28) 70%, rgba(21,37,31,.05)); content: ""; }
.page-hero .page-hero-content { position: relative; z-index: 1; width: min(var(--content), 100%); margin: 0 auto; }
.page-hero h1 { max-width: 12ch; font-size: clamp(52px, 7vw, 86px); }
.page-hero p { max-width: 58ch; margin: 0; color: rgba(255,255,255,.9); font-size: 17px; }
.page-hero .flight-canvas, .page-hero .scene-fallback { z-index: 0; }
.page-hero .flight-canvas { opacity: .94; }
.scene-control { position: absolute; z-index: 2; right: var(--gutter); bottom: 28px; display: none; min-height: 42px; padding: 0 17px; border: 1px solid rgba(255,255,255,.65); border-radius: var(--radius-pill); background: rgba(19,38,31,.32); color: var(--white); cursor: pointer; font-size: 12px; }
.scene-ready .scene-control { display: block; }
.scene-control:hover { background: rgba(19,38,31,.62); }
.page-hero .hero-status { bottom: 40px; }

.editorial-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 9%; align-items: start; }
.editorial-grid h2 { margin: 0; }
.editorial-copy { max-width: 70ch; color: var(--muted); }
.editorial-copy p:last-child { margin-bottom: 0; }
.feature-list { margin-top: 35px; border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: .8fr 1.2fr 28px; gap: 24px; align-items: center; min-height: 96px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-row strong { font: 600 18px/1.3 var(--display); letter-spacing: -.03em; }
.feature-row span { color: var(--muted); font-size: 14px; line-height: 1.55; }
.feature-row b { color: var(--cobalt); font-size: 18px; font-weight: 400; }
.feature-row > a { min-height: 44px; display: grid; place-items: center; color: var(--cobalt); }
.concept-note { margin: 22px 0 0; color: var(--muted); font-size: 12px; }

.concept-visual { position: relative; min-height: 370px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-media); background: linear-gradient(145deg, #dce6d8, #aab9a0 60%, #81947c); }
.concept-visual svg { width: min(82%, 560px); height: auto; }
.concept-visual figcaption { position: absolute; left: 24px; bottom: 20px; color: rgba(28,43,39,.77); font-size: 12px; }
.concept-visual-dark { background: linear-gradient(135deg, #253b3c, #536e61 65%, #9aab8f); }
.concept-visual-dark figcaption { color: rgba(255,255,255,.8); }

.console-preview { position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius-media); background: #e6ece4; }
.console-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(28,43,39,.16); color: var(--muted); font-size: 12px; }
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 7px; height: 7px; border-radius: 50%; background: #8d9d89; }
.console-map { position: relative; min-height: 320px; margin-top: 20px; overflow: hidden; border-radius: 20px; background: linear-gradient(160deg, #d7e2d1, #a8b99e 56%, #778c77); }
.console-map::before, .console-map::after { position: absolute; inset: -20%; border: 1px solid rgba(255,255,255,.4); border-radius: 45%; content: ""; transform: rotate(-17deg); }
.console-map::after { inset: 10% -14%; border-color: rgba(255,255,255,.25); transform: rotate(12deg); }
.console-route { position: absolute; top: 53%; left: 23%; width: 56%; height: 1px; border-top: 2px dashed rgba(36,89,214,.8); transform: rotate(-19deg); }
.console-point { position: absolute; width: 15px; height: 15px; border: 3px solid var(--white); border-radius: 50%; background: var(--cobalt); box-shadow: 0 2px 6px rgba(16,28,49,.24); }
.console-point-one { top: 35%; left: 32%; }
.console-point-two { top: 56%; left: 70%; }
.console-aircraft { position: absolute; top: 39%; left: 48%; color: var(--navy); font-size: 25px; transform: rotate(21deg); }
.console-label { position: absolute; right: 18px; bottom: 17px; padding: 9px 13px; border-radius: var(--radius-pill); background: rgba(255,255,255,.88); color: var(--ink); font-size: 11px; }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 9%; align-items: start; }
.contact-aside h2 { max-width: 12ch; margin-bottom: 16px; }
.contact-aside p { max-width: 48ch; color: var(--muted); }
.contact-email { display: inline-block; margin: 7px 0 20px; color: var(--cobalt); font-size: 16px; font-weight: 600; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 19px 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: 13px; font-weight: 600; }
.form-field label span { color: var(--muted); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 52px; border: 1px solid rgba(28,43,39,.24); border-radius: 14px; padding: 13px 15px; background: var(--white); color: var(--ink); font-size: 14px; }
.form-field textarea { min-height: 145px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #56665f; opacity: 1; }
.contact-form .button { justify-self: start; cursor: pointer; }
.form-status { grid-column: 1 / -1; min-height: 20px; margin: 0; color: var(--forest); font-size: 13px; line-height: 1.55; }
.privacy-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.65; }

.site-footer { background: var(--navy); color: var(--white); }
.site-footer-home { background: #0b1528; }
.footer-top { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 34px; padding-top: 54px; padding-bottom: 42px; }
.footer-brand p { margin: 12px 0 0; color: rgba(255,255,255,.72); font-size: 13px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-column strong { margin-bottom: 3px; color: #dbe8ff; font-size: 13px; font-weight: 600; }
.footer-column a, .footer-column span { color: rgba(255,255,255,.8); font-size: 13px; }
.footer-column a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.17); color: rgba(255,255,255,.74); font-size: 12px; }
.footer-bottom a { color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
  .primary-nav { gap: 13px; font-size: 12px; }
  .section-heading { gap: 5%; }
  .story-copy { width: min(540px, 58%); }
  .story-navigation a { padding-inline: 10px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  h1 { font-size: clamp(48px, 12vw, 70px); }
  h2 { font-size: clamp(36px, 9vw, 52px); }
  .site-header { min-height: 70px; padding: 11px 21px; }
  .wordmark::before { width: 108px; height: 28px; }
  .product-header-home .wordmark::before { width: 118px; height: 28px; }
  .menu-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid rgba(28,43,39,.3); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
  .site-header-home .menu-toggle { border-color: rgba(255,255,255,.66); color: var(--white); }
  .menu-toggle span { width: 17px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 70px; inset-inline: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 21px 22px; background: var(--paper); color: var(--ink); font-size: 14px; }
  .site-header-home .primary-nav { background: #101c31; color: var(--white); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.nav-cta), .nav-dropdown > summary { min-height: 48px; display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header-home .primary-nav > a:not(.nav-cta), .site-header-home .nav-dropdown > summary { border-color: rgba(255,255,255,.18); }
  .nav-dropdown summary span { margin-left: auto; }
  .nav-menu { position: static; width: auto; margin: 0 0 8px; padding: 8px; background: rgba(28,43,39,.05); box-shadow: none; }
  .nav-menu::before { padding: 5px 12px 8px; }
  .nav-menu a { min-height: 42px; }
  .site-header-home .nav-menu { background: rgba(255,255,255,.08); color: var(--white); }
  .nav-menu a { min-height: 43px; }
  .site-header-home .nav-menu a:hover { background: rgba(255,255,255,.1); }
  .nav-cta { justify-content: center; margin-top: 13px; }
  .hero-actions { gap: 9px; }
  .button { min-height: 48px; padding-inline: 19px; font-size: 13px; }
  .hero-status { bottom: 25px; left: 21px; max-width: 48%; font-size: 10px; }
  .section { padding: 72px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 15px; margin-bottom: 31px; }
  .editorial-grid, .contact-layout { grid-template-columns: 1fr; gap: 29px; }
  .system-visual-label { right: 15px; bottom: 14px; font-size: 10px; }
  .closing-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
  .page-hero { min-height: 480px; padding: 120px 21px 64px; }
  .page-hero h1 { max-width: 11ch; font-size: clamp(46px, 10.5vw, 66px); }
  .page-hero p { max-width: 48ch; font-size: 15px; }
  .page-hero .hero-status { bottom: 25px; }
  .scene-control { right: 21px; bottom: 19px; min-height: 40px; }
  .feature-row { grid-template-columns: 1fr 24px; gap: 7px 18px; padding: 18px 0; }
  .feature-row strong { grid-column: 1; font-size: 17px; }
  .feature-row span { grid-column: 1; font-size: 13px; }
  .feature-row b { grid-column: 2; grid-row: 1 / 3; }
  .concept-visual { min-height: 280px; border-radius: 22px; }
  .console-preview { padding: 16px; border-radius: 22px; }
  .console-map { min-height: 250px; border-radius: 17px; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field-full { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding-top: 42px; padding-bottom: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 16px 0; line-height: 1.5; }

  .home-story-stage { height: 100svh; min-height: 500px; margin-bottom: -100svh; }
  .home-story-stage::before { background: linear-gradient(0deg, rgba(16,28,49,.98) 0%, rgba(16,28,49,.88) 33%, rgba(16,28,49,.18) 77%), linear-gradient(180deg, rgba(16,28,49,.35), transparent 38%); }
  .story-chapter { min-height: 100svh; align-items: end; padding: 130px 21px 154px; }
  .story-copy, .story-chapter-ground .story-copy, .story-chapter-shared .story-copy { width: 100%; max-width: 560px; margin: 0; }
  .story-copy h1 { max-width: 9ch; margin-bottom: 15px; font-size: clamp(48px, 11vw, 69px); }
  .story-copy h2 { max-width: 11ch; margin-bottom: 14px; font-size: clamp(39px, 9.5vw, 54px); }
  .story-copy > p:not(.story-scroll-cue) { max-width: 43ch; margin-bottom: 18px; font-size: 15px; line-height: 1.58; }
  .story-copy .hero-actions { gap: 8px; margin-top: 18px; }
  .story-copy .hero-actions .button { width: auto; min-height: 46px; padding-inline: 17px; font-size: 12px; }
  .story-scroll-cue { margin-top: 18px; font-size: 11px; }
  .device-explorer { max-width: 560px; padding-top: 20px; transform: translateY(80px); }
  .device-intro, .device-selector { width: 100%; }
  .device-selector { margin-top: 20px; }
  .device-intro h2 { max-width: 11ch; margin-bottom: 8px; font-size: clamp(39px, 9.5vw, 54px); }
  .device-intro p { max-width: 38ch; margin-bottom: 0; font-size: 14px; }
  .device-tabs { gap: clamp(19px, 7vw, 35px); }
  .device-tabs [role="tab"] { min-height: 42px; font-size: 13px; }
  .device-panel { min-height: 160px; padding-top: 18px; }
  .device-panel h3 { margin-bottom: 8px; font-size: 25px; }
  .device-panel p { font-size: 14px; }
  .home-story-stage[data-active-stage="ground"]::before, .home-story-stage[data-active-stage="shared"]::before { background: linear-gradient(0deg, rgba(16,28,49,.98) 0%, rgba(16,28,49,.88) 33%, rgba(16,28,49,.18) 77%), linear-gradient(180deg, rgba(16,28,49,.35), transparent 38%); }
  .home-story-stage[data-active-stage="air"]::before { background: linear-gradient(0deg, rgba(16,28,49,.95) 0%, rgba(16,28,49,.82) 31%, rgba(16,28,49,.1) 73%), linear-gradient(180deg, rgba(16,28,49,.3), transparent 36%); }
  .home-story-stage[data-active-stage="devices"]::before { background: linear-gradient(0deg, rgba(16,28,49,.98) 0%, rgba(16,28,49,.88) 47%, rgba(16,28,49,.18) 86%), linear-gradient(180deg, rgba(16,28,49,.32), transparent 34%); }
  .home-story-stage:is([data-active-stage="dispatch"], [data-active-stage="confirm"], [data-active-stage="suppress"])::before { background: linear-gradient(0deg, rgba(16,28,49,.98), rgba(16,28,49,.88) 34%, rgba(16,28,49,.06) 66%); }
  .audience-inner { grid-template-columns: 1fr; gap: 25px; }
  .audience-section .audience-list { gap: 8px; }
  .audience-section .audience-chip { min-height: 42px; padding-inline: 14px; font-size: 12px; }
  .closing-inner { align-items: flex-start; flex-direction: column; gap: 27px; }
}

@media (max-width: 420px) {
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 280px; }
  .hero-actions .button { width: 100%; }
  .hero-status { max-width: 52%; }

}

@media (prefers-reduced-motion: reduce) {
  .device-explorer { transform: none; }
  .home-story-stage { position: relative; height: min(62svh, 560px); min-height: 340px; margin-bottom: 0; }
  .story-chapter { min-height: 0; padding-block: 72px; }
  .story-chapter + .story-chapter { border-top: 1px solid rgba(255,255,255,.16); }
}
