/* SkyBanner's site: an airfield for your reminders. The sky, the planes and the banners are the app's own; airport
   wayfinding signs mark the sections; the colours are the app's banner swatches. Daytime sky in light mode, a night
   sky in dark mode. Fonts are the ones already on the visitor's computer: Bahnschrift, the DIN of Windows' road signs,
   for headings (DIN Alternate on Apple devices), and Segoe UI for text and for the bits of the app shown here. */

:root {
  color-scheme: light dark;
  --ink: #0F1B2D;
  --ink-2: #344256;
  --ink-3: #5F6C7D;
  --paper: #F6F3EC;
  --card: #FFFFFF;
  --card-2: #F8F7F3;
  --line: rgba(15, 27, 45, 0.1);
  --line-2: rgba(15, 27, 45, 0.2);
  --accent: #0067C0;
  --accent-hover: #1975C5;
  --accent-ink: #FFFFFF;
  --red: #E5392F;
  --amber: #FFC94A;
  --sign: #15181C;
  --sunshine: #FFE14D;
  --tangerine: #FFB547;
  --bubblegum: #FF9EC7;
  --mint: #8EF0C4;
  --sky: #9BD7FF;
  --sky-top: #2F8FE0;
  --sky-mid: #5CB2F0;
  --sky-low: #A6D8F8;
  --sky-horizon: #E2F2FD;
  --cloud-light: #FFFFFF;
  --cloud-shade: #C4D6EA;
  --window: rgba(243, 243, 243, 0.86);
  --window-solid: #F3F3F3;
  --window-ink: #1B1B1B;
  --control: rgba(255, 255, 255, 0.72);
  --control-line: rgba(0, 0, 0, 0.07);
  --control-under: rgba(0, 0, 0, 0.42);
  --tile: linear-gradient(180deg, #DCEDFB, #F3F8FD);
  --shadow-card: 0 1px 2px rgba(15, 27, 45, 0.05), 0 12px 32px -14px rgba(15, 27, 45, 0.22);
  --shadow-window: 0 2px 6px rgba(15, 27, 45, 0.08), 0 32px 64px -24px rgba(15, 27, 45, 0.5);
  --display: Bahnschrift, "DIN Alternate", "DIN Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif;
  --ui: "Segoe UI Variable Small", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --topbar: 64px;
  --section: clamp(84px, 10vw, 140px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #EAF0F8;
    --ink-2: #C3CDDA;
    --ink-3: #8E9AAB;
    --paper: #0C1320;
    --card: #141D2C;
    --card-2: #182335;
    --line: rgba(234, 240, 248, 0.1);
    --line-2: rgba(234, 240, 248, 0.2);
    --accent: #4CC2FF;
    --accent-hover: #6ECDFF;
    --accent-ink: #00243A;
    --sky-top: #050A18;
    --sky-mid: #0B1834;
    --sky-low: #1B3160;
    --sky-horizon: #34497A;
    --cloud-light: #5D6F97;
    --cloud-shade: #26355A;
    --window: rgba(32, 32, 32, 0.86);
    --window-solid: #202020;
    --window-ink: #FFFFFF;
    --control: rgba(255, 255, 255, 0.06);
    --control-line: rgba(255, 255, 255, 0.09);
    --control-under: rgba(255, 255, 255, 0.55);
    --tile: linear-gradient(180deg, #1D2C45, #172238);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -18px rgba(0, 0, 0, 0.75);
    --shadow-window: 0 2px 6px rgba(0, 0, 0, 0.3), 0 32px 64px -24px rgba(0, 0, 0, 0.85);
  }
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  line-height: 0.96;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: var(--mono); font-size: 0.88em; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  padding: 10px 14px; border-radius: 8px;
  background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Airport signs: the eyebrow of each section */

.sign {
  display: inline-flex; align-items: center; gap: 0.6em;
  margin-bottom: 20px; padding: 0.42em 0.9em 0.42em 0.42em;
  border-radius: 6px;
  background: var(--sign); color: var(--amber);
  font: 600 0.92rem/1 var(--display);
  letter-spacing: 0.09em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 1px 0 rgba(0, 0, 0, 0.18);
}
.sign-arrow { flex: none; width: 1.6em; height: 1.6em; padding: 0.24em; border-radius: 4px; background: var(--amber); color: var(--sign); }
.sign-arrow--down { transform: rotate(90deg); }
.sign--yellow { background: var(--amber); color: var(--sign); }
.sign--yellow .sign-arrow { background: var(--sign); color: var(--amber); }

.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2.7rem, 1.5rem + 4.4vw, 5.2rem); }
.section-head > p:not(.sign) { margin-top: 20px; max-width: 38rem; font-size: 1.16rem; color: var(--ink-2); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center > p:not(.sign) { margin-inline: auto; }

/* Top bar */

.topbar {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  /* The logo and the Download button line up with the page's content (.wrap), however wide the window. */
  height: var(--topbar); padding: 0 max(var(--gutter), (100% - var(--max)) / 2);
  transition: background-color 0.25s, box-shadow 0.25s;
}
.topbar.is-solid {
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font: 700 1.4rem/1 var(--display);
  font-stretch: 75%; font-variation-settings: "wdth" 75;
  letter-spacing: 0.01em;
}
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  color: var(--ink); opacity: 0.85;
}
.nav a:hover { opacity: 1; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.topbar-download {
  padding: 9px 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
}
.topbar-download:hover { background: color-mix(in srgb, var(--ink) 86%, var(--accent)); }
.brand + .topbar-download { margin-left: auto; }   /* pages with no links in between, such as Credits */
.sound-switch {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-right: -8px;
  border: 0; border-radius: 999px;
  background: transparent; color: var(--ink);
}
.sound-switch:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.sound-switch svg { width: 22px; height: 22px; }
.sound-switch[aria-pressed="true"] .sound-off, .sound-switch[aria-pressed="false"] .sound-on { display: none; }
.sound-switch[aria-pressed="false"] { color: var(--ink-3); }
@media (max-width: 880px) {
  .nav { display: none; }
  .sound-switch { margin-left: auto; }
}

/* Hero: the sky */

.hero {
  position: relative; isolation: isolate; overflow: clip;
  padding-top: var(--topbar);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 32%, var(--sky-low) 68%, var(--sky-horizon) 100%);
}
.sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky-sun {
  position: absolute; right: -16vmax; top: -24vmax;
  width: 66vmax; height: 66vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 252, 232, 0.95) 0 5%, rgba(255, 244, 205, 0.5) 15%, rgba(255, 255, 255, 0) 52%);
}
.sky-stars { display: none; }
.clouds { position: absolute; inset: 0; will-change: transform; animation: drift 170s linear infinite alternate; }
.clouds--near { animation-duration: 120s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: translateX(-3vw); } to { transform: translateX(3vw); } }
.cloud {
  position: absolute; display: block; border-radius: 50%;
  background: radial-gradient(ellipse 58% 62% at 50% 36%, var(--cloud-light) 0 48%, color-mix(in srgb, var(--cloud-light) 55%, var(--cloud-shade)) 74%, transparent 100%);
  filter: url(#cloud);
}
.cloud--thin {
  background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--cloud-light) 0 26%, transparent 100%);
  filter: url(#cloud-thin);
  opacity: 0.7;
}
.cloud--a { left: 5%; top: 11%; width: min(520px, 62vw); height: 64px; }
.cloud--b { right: 3%; top: 24%; width: min(400px, 52vw); height: 130px; }
.cloud--c { left: 30%; top: 60%; width: min(640px, 80vw); height: 56px; }
.cloud--d { left: -7%; bottom: -70px; width: min(760px, 95vw); height: 230px; }
.cloud--e { right: -9%; bottom: -46px; width: min(700px, 88vw); height: 210px; }
.cloud--f { left: 50%; top: 13%; width: min(250px, 40vw); height: 80px; }

.hero-lane { height: clamp(104px, 15vh, 170px); }
.hero-inner {
  display: grid; align-items: center;
  gap: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
@media (min-width: 1000px) { .hero-inner { grid-template-columns: minmax(0, 1.16fr) minmax(370px, 0.84fr); } }
.hero h1 { font-size: clamp(3.2rem, 1rem + 5.4vw, 6.6rem); line-height: 0.88; letter-spacing: -0.014em; }
.lead { margin-top: 26px; max-width: 34rem; font-size: clamp(1.1rem, 1rem + 0.35vw, 1.28rem); line-height: 1.55; color: var(--ink-2); }
.hero-actions { display: grid; justify-items: start; gap: 14px; margin-top: 36px; }
.hero-meta { font-size: 0.92rem; color: var(--ink-3); }

/* The download button is a banner: frayed free end, white rim, stitched hems, a darker sleeve, towed by the stunt plane. */
.cta {
  display: inline-flex; align-items: center;
  color: #1E232B; text-decoration: none;
  filter: drop-shadow(0 10px 14px rgba(15, 27, 45, 0.22));
  transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.4, 1);
}
.cta:hover { transform: translate(3px, -2px); }
.cta:active { transform: translate(1px, 0); }
.cta:focus-visible { outline: none; }
.cta:focus-visible .cta-cloth { outline: 3px solid var(--accent); outline-offset: 4px; }
.cta-cloth {
  position: relative; z-index: 0;
  padding: 20px 38px 20px 32px;
  background: #FFFFFF;
  font: 700 1.14rem/1 "Segoe UI", var(--body);
  white-space: nowrap;
  clip-path: polygon(1.6% 0, 100% 0, 100% 100%, 1.2% 100%, 0 91%, 2.6% 83%, 0.4% 74%, 2.3% 66%, 0 57%, 2.8% 49%, 0.6% 41%, 2.4% 32%, 0.2% 24%, 2.6% 16%, 0.8% 8%);
}
.cta-cloth::before {
  content: ""; position: absolute; inset: 3px; z-index: -1;
  background:
    linear-gradient(90deg, transparent calc(100% - 9px), #D7B52A 0),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0 3px, transparent 0 5.6px) 12px 5px / calc(100% - 30px) 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0 3px, transparent 0 5.6px) 12px calc(100% - 5px) / calc(100% - 30px) 1px no-repeat,
    linear-gradient(#FFEB80, #F6D53C);
  clip-path: inherit;
}
.cta-rope { width: 28px; height: 46px; overflow: visible; }
.cta-rope path, .tow-rope path { fill: none; stroke: #4A4F57; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.cta-plane, .tow-plane {
  width: 89px; height: 55px; margin-left: -12px;
  background: url(assets/fleet/stunt-plane.png) 0 0 / 800% 100% no-repeat;
  animation: propeller 0.103s steps(8, jump-none) infinite;
}
@keyframes propeller { to { background-position: 100% 0; } }
@media (max-width: 440px) { .cta-rope, .cta-plane { display: none; } }

/* Windows 11 windows and controls, for the bits of the app shown on the page */

.window {
  overflow: hidden;
  border-radius: 10px;
  background: var(--window); color: var(--window-ink);
  font-family: var(--ui);
  box-shadow: var(--shadow-window), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  backdrop-filter: blur(30px) saturate(1.6);
}
.window-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding-left: 14px; font-size: 12px; }
.window-bar img { width: 16px; height: 16px; }
.window-controls { display: flex; height: 100%; margin-left: auto; }
.window-controls svg { width: 46px; height: 100%; padding: 14px 18px; }
.window-body { display: grid; gap: 16px; padding: 6px 22px 22px; }
.composer-title { font: 600 1.3rem/1.25 var(--ui); font-stretch: normal; font-variation-settings: normal; letter-spacing: 0; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-label { padding: 0; font-size: 14px; font-weight: 600; }
.textbox {
  width: 100%; height: 34px; padding: 0 11px;
  border: 1px solid var(--control-line); border-bottom-color: var(--control-under); border-radius: 5px;
  background: var(--control); font-size: 14px;
}
.textbox:hover { background: color-mix(in srgb, var(--control) 70%, var(--window-solid)); }
.textbox:focus { outline: none; background: var(--card); border-bottom: 2px solid var(--accent); }
.picks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pick {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 5px;
  padding: 8px 3px 7px; border-radius: 6px;
  border: 1px solid var(--control-line); background: var(--control);
  font-size: 11.5px; line-height: 1.2; text-align: center; cursor: pointer;
}
.pick:hover { background: color-mix(in srgb, var(--control) 60%, var(--window-solid)); }
.pick input, .swatch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pick:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--control)); }
.pick:has(input:focus-visible), .swatch:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pick-art { height: 32px; background-repeat: no-repeat; background-position: 0 0; }
.pick:hover .pick-art { animation: propeller 0.2s steps(8, jump-none) infinite; }
.pick-art--stunt-plane { aspect-ratio: 178 / 110; background-image: url(assets/fleet/stunt-plane.png); background-size: 800% 100%; }
.pick-art--biplane { aspect-ratio: 188 / 128; background-image: url(assets/fleet/biplane.png); background-size: 800% 100%; }
.pick-art--jet { aspect-ratio: 202 / 102; background-image: url(assets/fleet/jet.png); background-size: 1200% 100%; }
.pick-art--helicopter { aspect-ratio: 208 / 118; background-image: url(assets/fleet/helicopter.png); background-size: 800% 100%; }
.pick-art--paper-plane { aspect-ratio: 144 / 86; background-image: url(assets/fleet/paper-plane.png); background-size: 800% 100%; }
.pick:hover .pick-art--jet { animation-timing-function: steps(12, jump-none); animation-duration: 1s; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); cursor: pointer; }
.swatch:has(input:checked) { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16), 0 0 0 2px var(--window-solid), 0 0 0 4px var(--accent); }
.swatch--sunshine { background: var(--sunshine); }
.swatch--tangerine { background: var(--tangerine); }
.swatch--bubblegum { background: var(--bubblegum); }
.swatch--mint { background: var(--mint); }
.swatch--sky { background: var(--sky); }
.swatch--cloud { background: #FFFFFF; }
.composer-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 4px; }
.composer-note { font-size: 12px; color: color-mix(in srgb, var(--window-ink) 60%, transparent); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 18px;
  border: 1px solid var(--control-line); border-radius: 5px;
  background: var(--control);
  font: 600 14px/1 var(--ui);
}
.button--accent { border-color: transparent; background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.22); }
.button--accent:hover { background: var(--accent-hover); }
.button--accent:active { opacity: 0.85; }

/* Departures: the split-flap board */

.departures {
  padding: var(--section) 0;
  background: radial-gradient(110% 60% at 50% 0%, #1A2230 0%, #0B0E13 62%) #0B0E13;
  color: #EEF1F5;
}
.departures .section-head h2 { color: #FFFFFF; }
.departures .section-head > p:not(.sign) { color: #AEB6C2; }
.steps { display: grid; gap: 22px 32px; margin-bottom: 44px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; padding-top: 50px; color: #AEB6C2; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font: 700 2.3rem/1 var(--display); letter-spacing: 0.02em; color: var(--amber);
}
.steps b { color: #FFFFFF; font-weight: 600; }

.board {
  --cell: 18px;
  padding: clamp(14px, 2vw, 24px);
  border-radius: 18px;
  background: linear-gradient(#161A1F, #0F1215);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.board-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 12px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.board-title {
  display: flex; align-items: center; gap: 12px;
  font: 700 clamp(1.15rem, 0.9rem + 1vw, 1.7rem)/1 var(--display);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber);
}
.board-icon { width: 1.25em; height: 1.25em; transform: rotate(60deg); }
.board-clock .flap { --cell: clamp(13px, 1.6vw, 18px); }
.board-grid { overflow: hidden; }
.board table { border-collapse: separate; border-spacing: 0 6px; }
.board th {
  padding: 0 var(--gap, 14px) 2px 0;
  text-align: left; font: 600 0.7rem/1 var(--display);
  letter-spacing: 0.16em; text-transform: uppercase; color: #7E8794;
}
.board th.col-status { padding-left: 14px; }
.board td { padding: 0 var(--gap, 14px) 0 0; white-space: nowrap; vertical-align: middle; }
.board th:last-child, .board td:last-child { padding-right: 0; }
.board.is-narrow th.col-status { padding-left: 0; }
.board.is-narrow .led { display: none; }
@media (max-width: 600px) { .board { margin-inline: -8px; padding: 14px 10px; } }
.flaps { display: inline-flex; gap: var(--letter, 2px); vertical-align: middle; }
.flap {
  position: relative; display: inline-grid; place-items: center;
  width: var(--cell); height: calc(var(--cell) * 1.45);
  overflow: hidden;
  border-radius: calc(var(--cell) * 0.14);
  background: linear-gradient(180deg, #2A2F36 0 49.5%, #1E2227 50.5% 100%);
  color: #F2EEE3;
  font: 600 calc(var(--cell) * 0.92)/1 var(--display);
  font-variation-settings: "wdth" 100;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.flap::before { content: ""; position: absolute; inset: calc(50% - 0.5px) 0 auto; z-index: 1; height: 1px; background: rgba(0, 0, 0, 0.7); }
.flap::after {
  content: ""; position: absolute; inset: 0 0 50%; z-index: 2;
  border-radius: inherit;
  background: linear-gradient(#383E46, #272C32);
  transform-origin: 50% 100%;
  opacity: 0;
}
.board .col-status .flap { color: var(--status, #F2EEE3); }
.board tr[data-tone="gone"] .flap { color: #7E858F; }
.board tr[data-tone="gone"] { --status: #7E858F; --led: #3F444C; }
.board tr[data-tone="ontime"] { --status: var(--mint); --led: var(--mint); }
.board tr[data-tone="boarding"] { --status: var(--amber); --led: var(--amber); }
.board tr[data-tone="quiet"] { --status: var(--sky); --led: var(--sky); }
.board tr[data-tone="yours"] { --status: var(--sunshine); --led: var(--sunshine); }
.board tr.is-yours .flap { background: linear-gradient(180deg, #3B3622 0 49.5%, #2D2917 50.5% 100%); }
.led {
  display: inline-block; width: 8px; height: 8px; margin-right: 6px;
  border-radius: 50%; vertical-align: middle;
  background: var(--led, #3F444C); box-shadow: 0 0 10px var(--led, transparent);
}
.board tr[data-tone="gone"] .led { box-shadow: none; }
.board tr[data-tone="boarding"] .led { animation: blink 1.1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.board-legend { margin-top: 16px; font-size: 0.9rem; color: #8C95A1; }
.board-legend b { color: #D6DCE4; font-weight: 600; }

.board-add {
  display: grid; gap: 16px;
  margin-top: 32px; padding: clamp(18px, 2.4vw, 26px);
  border-radius: 16px;
  background: #13171C;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.board-add h3 { font-size: 1.55rem; color: #FFFFFF; }
@media (min-width: 900px) {
  .board-add { grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1fr) auto; align-items: end; }
  .board-add h3 { grid-column: 1 / -1; }
}
.board-field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.board-field > span, .board-field legend {
  padding: 0;
  font: 600 0.72rem/1 var(--display);
  letter-spacing: 0.14em; text-transform: uppercase; color: #8C95A1;
}
.board-field input[type="text"], .board-field select {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid #2B3139; border-radius: 8px;
  background: #0C0F13; color: #F2EEE3;
  font: 600 1.05rem/1 var(--display); letter-spacing: 0.05em;
}
.board-field input[type="text"] { text-transform: uppercase; }
.board-field select {
  appearance: none; padding-right: 38px;
  background: #0C0F13 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23FFC94A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
}
.board-field input[type="text"]:focus, .board-field select:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.board-segments { display: flex; height: 46px; padding: 3px; border: 1px solid #2B3139; border-radius: 8px; background: #0C0F13; }
.board-segments label { position: relative; }
.board-segments input { position: absolute; opacity: 0; }
.board-segments span {
  display: grid; place-items: center; height: 100%; padding: 0 14px;
  border-radius: 6px; cursor: pointer;
  font: 600 0.95rem/1 var(--display); color: #AEB6C2; white-space: nowrap;
}
.board-segments input:checked + span { background: #2A3038; color: #FFFFFF; }
.board-segments input:focus-visible + span { outline: 2px solid var(--amber); }
.board-go {
  height: 46px; padding: 0 22px;
  border: 0; border-radius: 8px;
  background: var(--amber); color: #15181C;
  font: 700 1rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase;
}
.board-go:hover { background: #FFD772; }
.board-go:focus-visible { outline-color: #FFFFFF; }

/* Features */

.features { padding: var(--section) 0; }
.feature-grid { display: grid; gap: 20px; }
@media (min-width: 980px) {
  .feature-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .feature { grid-column: span 5; }
  .feature--wide { grid-column: span 7; }
  .feature--full { grid-column: 1 / -1; }
}
.feature {
  display: grid; align-content: start; gap: 28px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
@media (min-width: 1140px) { .feature--wide { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; } }
.feature h3 { font-size: clamp(1.8rem, 1.3rem + 1.3vw, 2.4rem); }
.feature-copy p { margin-top: 14px; color: var(--ink-2); }

.art { position: relative; padding: 18px; border-radius: 16px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); font: 13px/1.4 var(--ui); }

.art-calendar { padding-top: 78px; background: linear-gradient(180deg, color-mix(in srgb, var(--sky) 55%, var(--card-2)) 0, var(--card-2) 120px); }
.agenda { display: grid; gap: 7px; }
.agenda-day { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.agenda-day b { font-size: 15px; }
.agenda-day span { font-size: 12px; color: var(--ink-3); }
.agenda-item {
  display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: center;
  padding: 9px 12px; border-radius: 8px;
  background: var(--card);
  box-shadow: inset 3px 0 0 #7FB2E5, inset 0 0 0 1px var(--line);
}
.agenda-item time { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.agenda-item.is-next { font-weight: 600; background: color-mix(in srgb, var(--sunshine) 20%, var(--card)); box-shadow: inset 3px 0 0 var(--red), inset 0 0 0 1px color-mix(in srgb, var(--red) 35%, transparent); }
.tow { position: absolute; display: flex; align-items: center; }
.tow--calendar { top: 10px; right: 14px; }
.tow-cloth canvas { display: block; }
.tow-rope { width: 28px; height: 40px; overflow: visible; }
.tow-plane { width: 89px; height: 55px; }

.art-form { display: grid; gap: 10px; background: var(--window-solid); color: var(--window-ink); }
.mock-row { display: flex; align-items: center; gap: 10px; }
.mock-label { flex: none; width: 66px; font-weight: 600; font-size: 12.5px; }
.mock-input {
  position: relative; flex: 1; display: flex; align-items: center;
  height: 30px; padding: 0 10px; border-radius: 5px;
  background: var(--control);
  box-shadow: inset 0 0 0 1px var(--control-line), inset 0 -1px 0 var(--control-under);
}
.mock-input--short { flex: none; width: 58px; justify-content: center; }
.mock-input--select::after {
  content: ""; position: absolute; right: 12px; top: 10px;
  width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.mock-text { color: color-mix(in srgb, var(--window-ink) 60%, transparent); }
.mock-days { display: flex; flex-wrap: wrap; gap: 5px; }
.mock-days b, .mock-days i { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; font-style: normal; font-weight: 600; font-size: 11.5px; }
.mock-days b { background: var(--accent); color: var(--accent-ink); }
.mock-days i { box-shadow: inset 0 0 0 1px var(--control-under); color: color-mix(in srgb, var(--window-ink) 65%, transparent); }

.art-templates { display: grid; gap: 8px; }
.tpl {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 10px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.tpl b { display: block; font-size: 13.5px; }
.tpl small { display: block; font-size: 12px; color: var(--ink-3); }
.tpl em { padding: 5px 13px; border-radius: 5px; background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-style: normal; font-weight: 600; }
.tpl em.is-added { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.tpl-icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; color: #1E232B; }
.tpl-icon--water { background: var(--sky); }
.tpl-icon--move { background: var(--mint); }
.tpl-icon--eyes { background: var(--sunshine); }
.tpl-icon--night { background: #C7C0F5; }

.art-switches { display: grid; gap: 4px; background: var(--window-solid); color: var(--window-ink); }
.switch-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px; border-radius: 7px;
  background: var(--control); box-shadow: inset 0 0 0 1px var(--control-line);
}
.switch-row b { display: block; font-size: 13.5px; font-weight: 600; }
.switch-row small { display: block; font-size: 12px; color: color-mix(in srgb, var(--window-ink) 60%, transparent); }
.switch { position: relative; flex: none; width: 40px; height: 20px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--control-under); }
.switch::after { content: ""; position: absolute; top: 5px; left: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--control-under); }
.switch.is-on { background: var(--accent); box-shadow: none; }
.switch.is-on::after { top: 4px; left: 24px; width: 12px; height: 12px; background: var(--accent-ink); }

.art-tray {
  display: grid; justify-items: end; gap: 12px;
  padding: 22px 18px 0; overflow: hidden;
  background: linear-gradient(155deg, #2C69B4, #6DAEE6 58%, #C5E2F8);
}
.menu {
  display: grid; width: min(100%, 300px); padding: 4px;
  border-radius: 8px;
  background: var(--window-solid); color: var(--window-ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28), inset 0 0 0 1px var(--control-line);
}
.menu-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 12px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-item--bold { font-weight: 700; }
.menu-item--more::after { content: ""; flex: none; width: 6px; height: 6px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.menu-item.is-hover { background: color-mix(in srgb, var(--window-ink) 8%, transparent); }
.menu-sep { height: 1px; margin: 4px 8px; background: var(--control-line); }
.taskbar {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  justify-self: stretch; margin: 0 -18px; padding: 7px 18px;
  background: color-mix(in srgb, var(--window-solid) 90%, transparent); color: var(--window-ink);
  font-size: 12px;
}
.taskbar-chevron { width: 8px; height: 8px; margin-top: 4px; border: solid currentColor; border-width: 1.5px 0 0 1.5px; transform: rotate(45deg); }
.taskbar img { width: 30px; height: 30px; padding: 6px; border-radius: 5px; background: color-mix(in srgb, var(--window-ink) 9%, transparent); }
.taskbar-clock { display: grid; text-align: right; line-height: 1.3; }
.taskbar-clock b { font-weight: 400; }

/* Never in your way: three small screens */

.clear { padding: var(--section) 0; background: var(--card); }
.demos { display: grid; gap: 40px 26px; }
@media (min-width: 1000px) { .demos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.demo { display: grid; align-content: start; gap: 22px; }
.demo-screen {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 16 / 10.5;
  border-radius: 14px;
  background: linear-gradient(155deg, #2C69B4, #6DAEE6 55%, #C9E4F9);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
  font-family: var(--ui);
}
.demo-sky { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; pointer-events: none; transition: opacity 0.3s; }
.demo-copy h3 { font-size: 1.75rem; }
.demo-copy > p { margin-top: 10px; color: var(--ink-2); }
.demo-copy > .demo-result { min-height: 3.1em; margin-top: 14px; font-size: 0.95rem; font-weight: 600; color: var(--ink); }

.mock-app, .mock-sheet, .mock-slides {
  position: absolute; inset: 11% 7% 0;
  border-radius: 8px 8px 0 0;
  background: var(--window-solid); color: var(--window-ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}
.mock-app-bar { padding: 9px 12px 4px; font-size: 11.5px; color: color-mix(in srgb, var(--window-ink) 60%, transparent); }
.mock-toolbar { display: flex; align-items: center; gap: 8px; padding: 6px 12px 10px; border-bottom: 1px solid var(--control-line); }
.mock-toolbar i { width: 26px; height: 22px; border-radius: 4px; background: var(--control); box-shadow: inset 0 0 0 1px var(--control-line); }
.mock-save {
  height: 30px; padding: 0 20px;
  border: 0; border-radius: 5px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 13px/1 var(--ui);
}
.mock-save:hover { background: var(--accent-hover); }
.mock-save.is-saved { animation: saved 0.45s; }
@keyframes saved { 35% { transform: scale(0.92); } }
.mock-doc { display: grid; gap: 9px; padding: 16px 14px; }
.mock-doc i { height: 7px; border-radius: 4px; background: var(--line-2); }
.mock-doc i:nth-child(2) { width: 84%; }
.mock-doc i:nth-child(4) { width: 62%; }
.mock-doc i:nth-child(5) { width: 74%; }

.mock-desktop {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, #2C69B4, #6DAEE6 55%, #C9E4F9);
  transform-origin: 50% 42%;
  transition: transform 0.5s cubic-bezier(0.3, 0.7, 0.3, 1), border-radius 0.5s;
}
.mock-sheet { display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; gap: 6px; padding: 14px; }
.mock-sheet i { height: 22px; border-radius: 4px; background: var(--control); box-shadow: inset 0 0 0 1px var(--control-line); }
.mock-sheet i:nth-child(-n + 3) { background: color-mix(in srgb, var(--accent) 22%, var(--control)); }
.meeting-pill, .meeting-faces { position: absolute; z-index: 6; opacity: 0; transition: opacity 0.35s; }
.meeting-pill {
  top: 10px; left: 12px;
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px;
  background: rgba(0, 0, 0, 0.6); color: #FFFFFF;
  font: 600 11px/1.3 var(--ui);
}
.meeting-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.meeting-faces { right: 10px; bottom: 10px; display: flex; gap: 6px; }
.meeting-faces i { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(160deg, #6B7FA3, #3A4763); }
.meeting-faces i:nth-child(2) { background: linear-gradient(160deg, #B98A6A, #6E4B37); }
.meeting-faces i:nth-child(3) { background: linear-gradient(160deg, #6FA38A, #35604C); }
.demo-screen--share.is-shared { background: #16171B; }
.is-shared .mock-desktop { transform: scale(0.78) translate(-6%, -6%); border-radius: 6px; }
.is-shared .meeting-pill, .is-shared .meeting-faces { opacity: 1; }
.is-shared .demo-sky { opacity: 0; }

.mock-slides { display: grid; place-items: center; padding: 18px 16px 0; transition: inset 0.5s cubic-bezier(0.3, 0.7, 0.3, 1), padding 0.5s, border-radius 0.5s, background-color 0.5s; }
.slide {
  display: grid; align-content: center; justify-items: start; gap: 10%;
  width: 100%; aspect-ratio: 16 / 9; padding: 7%;
  border-radius: 4px;
  background: #FFFFFF; color: #0F1B2D;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}
.slide b { font: 700 clamp(14px, 1.9vw, 22px)/1 var(--display); font-stretch: 75%; font-variation-settings: "wdth" 75; }
.slide-bars { display: flex; align-items: end; gap: 7%; width: 56%; aspect-ratio: 3.4 / 1; }
.slide-bars i { flex: 1; border-radius: 2px 2px 0 0; background: #0067C0; }
.slide-bars i:nth-child(1) { height: 42%; }
.slide-bars i:nth-child(2) { height: 66%; }
.slide-bars i:nth-child(3) { height: 54%; }
.slide-bars i:nth-child(4) { height: 92%; background: var(--red); }
.demo-screen--present.is-presenting .mock-slides { inset: 0; padding: 0; border-radius: 0; background: #000000; }
.is-presenting .slide { border-radius: 0; box-shadow: none; }
.is-presenting .demo-sky { opacity: 0; }
.demo-toast {
  position: absolute; right: 10px; bottom: 10px; z-index: 6;
  display: flex; gap: 10px; align-items: flex-start;
  width: min(80%, 270px); padding: 12px 14px;
  border-radius: 8px;
  background: var(--window-solid); color: var(--window-ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), inset 0 0 0 1px var(--control-line);
  font: 12.5px/1.35 var(--ui);
  opacity: 0; transform: translateX(28px);
  transition: opacity 0.35s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.demo-toast.is-in { opacity: 1; transform: none; }
.demo-toast img { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.demo-toast b { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; color: color-mix(in srgb, var(--window-ink) 65%, transparent); }

.segmented { display: inline-flex; flex-wrap: wrap; margin-top: 18px; padding: 3px; border-radius: 10px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.segmented button { padding: 8px 14px; border: 0; border-radius: 8px; background: transparent; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }
.segmented button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 27, 45, 0.18); }
.toggle { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 0; border: 0; background: none; font-weight: 600; }
.toggle-track { position: relative; width: 44px; height: 24px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--ink-3); transition: background-color 0.2s; }
.toggle-thumb { position: absolute; top: 6px; left: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink-3); transition: transform 0.2s, background-color 0.2s; }
.toggle[aria-checked="true"] .toggle-track { background: var(--accent); box-shadow: none; }
.toggle[aria-checked="true"] .toggle-thumb { transform: translateX(20px); background: var(--accent-ink); }

/* The crew: the 3D stage and the hangar */

.crew {
  padding: var(--section) 0;
  background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--sky) 20%, var(--paper)) 40%, var(--paper));
}
.crew-top { display: grid; grid-template-areas: "copy" "stage" "controls"; gap: 32px clamp(36px, 5vw, 72px); }
.crew-copy { grid-area: copy; }
.crew-controls { grid-area: controls; }
.stage { grid-area: stage; }
@media (min-width: 1000px) {
  .crew-top { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); grid-template-areas: "copy stage" "controls stage"; row-gap: 30px; }
  .crew-copy { align-self: end; }
  .crew-controls { align-self: start; }
}
.crew-copy h2 { font-size: clamp(2.7rem, 1.5rem + 4.4vw, 5.2rem); }
.crew-copy > p:not(.sign) { max-width: 34rem; margin-top: 18px; color: var(--ink-2); }
.crew-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.crew-button {
  display: grid; justify-items: center; gap: 8px;
  padding: 12px 6px; border: 0; border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.crew-button:hover { transform: translateY(-2px); }
.crew-button[aria-pressed="true"] { box-shadow: var(--shadow-card), inset 0 0 0 2px var(--accent); }
.crew-button img { width: auto; height: 64px; object-fit: contain; }
.crew-button b { display: block; font: 700 1.1rem/1.1 var(--display); font-stretch: 75%; font-variation-settings: "wdth" 75; }
.crew-button small { font-size: 0.8rem; color: var(--ink-3); }
.crew-say { margin-top: 24px; }
.crew-say-label { display: block; margin-bottom: 8px; font-size: 0.95rem; font-weight: 600; }
.crew-say-row { display: flex; flex-wrap: wrap; gap: 8px; }
.crew-say .textbox { flex: 1 1 200px; width: auto; height: 42px; border-radius: 8px; font-size: 15px; }
.crew-say .button { height: 42px; border-radius: 8px; font-size: 15px; }

.stage {
  position: relative;
  aspect-ratio: 1 / 0.9;
  border-radius: 32px;
  background:
    radial-gradient(55% 20% at 50% 87%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
    radial-gradient(100% 80% at 50% 25%, #E2F1FD, #C3DFF7 62%, #ABD3F3);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(15, 27, 45, 0.5);
}
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; cursor: grab; touch-action: pan-y !important; }
.stage-canvas:active { cursor: grabbing; }
.stage-poster {
  position: absolute; left: 50%; bottom: 9%;
  width: auto; height: 78%; max-width: 80%;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 16px rgba(15, 27, 45, 0.2));
  transition: opacity 0.4s;
}
.stage.is-loading .stage-poster { opacity: 0.55; }
.stage.is-live .stage-poster { opacity: 0; visibility: hidden; }
.stage-note {
  position: absolute; left: 50%; bottom: 16px; z-index: 2;
  transform: translateX(-50%);
  padding: 6px 14px; border-radius: 99px;
  background: color-mix(in srgb, var(--card) 82%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.85rem; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  pointer-events: none;
}
.bubble { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; }
.bubble p {
  position: absolute; left: 0; bottom: 20px;
  width: max-content; max-width: min(300px, 64vw);
  padding: 12px 16px;
  border-radius: 18px;
  background: #FFFFFF; color: #1E232B;
  font: 600 1.05rem/1.3 "Segoe UI", var(--body);
  box-shadow: 0 0 0 1.5px #C6D1DD, 0 12px 26px -10px rgba(15, 27, 45, 0.4);
  transform: translateX(-28%);
}
.bubble p::after {
  content: ""; position: absolute; left: 28%; bottom: -8px;
  width: 15px; height: 15px;
  background: #FFFFFF;
  box-shadow: 1.5px 1.5px 0 0 #C6D1DD;
  transform: translateX(-50%) rotate(45deg);
}
.stage.is-still .bubble { transform: none !important; left: 50%; top: 16%; }

.hangar { margin-top: clamp(72px, 9vw, 112px); }
.hangar-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.hangar-head h3 { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.7rem); }
.hangar-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.hangar-filter button {
  padding: 7px 14px; border: 0; border-radius: 99px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 0.88rem; font-weight: 600; color: var(--ink-2);
}
.hangar-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.hangar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 196px), 1fr)); gap: 14px; }
.hangar-grid li { position: relative; padding: 10px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-card); }
.hangar-grid li[hidden] { display: none; }
.hangar-grid figure { display: grid; gap: 10px; margin: 0; }
.hangar-grid img { width: 100%; height: 132px; padding: 10px; border-radius: 12px; object-fit: contain; background: var(--tile); }
.hangar-grid figcaption { padding: 0 4px 4px; }
.hangar-grid b { display: block; font: 700 1.12rem/1.15 var(--display); font-stretch: 75%; font-variation-settings: "wdth" 75; }
.hangar-grid figcaption span { display: block; margin-top: 3px; font-size: 0.84rem; line-height: 1.35; color: var(--ink-3); }
.fly {
  position: absolute; top: 16px; right: 16px;
  padding: 5px 12px; border: 0; border-radius: 99px;
  background: var(--ink); color: var(--paper);
  font-size: 0.8rem; font-weight: 700;
  opacity: 0; transition: opacity 0.2s;
}
.hangar-grid li:hover .fly, .fly:focus-visible { opacity: 1; }
@media (hover: none) { .fly { opacity: 1; } }

/* Nothing to declare */

.private { padding: var(--section) 0; background: #0F1B2D; color: #E6ECF4; }
.private-grid { display: grid; align-items: center; gap: 56px; }
@media (min-width: 1000px) { .private-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.private h2 { font-size: clamp(2.9rem, 1.5rem + 5vw, 5.8rem); color: #FFFFFF; }
.private-lead { max-width: 36rem; margin-top: 20px; font-size: 1.18rem; color: #C5D0DE; }
.facts { display: grid; gap: 14px; margin-top: 30px; }
.facts li { position: relative; padding-left: 28px; color: #A9B6C7; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 10px; border-radius: 2px; background: var(--amber); transform: rotate(45deg); }
.facts b { color: #FFFFFF; font-weight: 600; }
.private-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 30px; }
.private-links a { font-weight: 700; color: var(--amber); }

.declaration {
  position: relative;
  padding: 26px 26px 34px;
  border-radius: 6px;
  background: repeating-linear-gradient(transparent 0 33px, rgba(15, 27, 45, 0.06) 33px 34px) #FBF7EC;
  color: #26313F;
  font-family: var(--ui);
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.7);
  transform: rotate(-1.6deg);
}
.declaration-head {
  display: flex; justify-content: space-between; gap: 12px;
  padding-bottom: 10px; border-bottom: 2px solid #26313F;
  font: 700 1.1rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase;
}
.declaration-ask { margin: 14px 0 6px; font-size: 0.92rem; color: #4D5968; }
.declaration-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px;
  padding: 10px 0; border-bottom: 1px dashed rgba(38, 49, 63, 0.25);
  font-size: 0.98rem;
}
.declaration-list i { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-style: normal; font-weight: 600; color: #6B7684; }
.declaration-list i::before { content: ""; width: 17px; height: 17px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #8A94A1; }
.declaration-list i.is-ticked { color: #26313F; }
.declaration-list i.is-ticked::before { display: none; }
.declaration-list i.is-ticked svg { width: 17px; height: 17px; padding: 1px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #26313F; color: #1B5FB4; }
.declaration-sign { display: flex; align-items: baseline; gap: 14px; margin-top: 22px; font-size: 0.85rem; color: #6B7684; }
.declaration-sign b { font: 400 1.7rem/1 "Segoe Script", "Segoe Print", "Bradley Hand", cursive; color: #1B3A6B; }
.stamp {
  position: absolute; right: 22px; bottom: 26px;
  max-width: 8.5em; padding: 8px 12px;
  border: 3px solid currentColor; border-radius: 8px;
  color: rgba(206, 45, 38, 0.82);
  font: 700 1.1rem/1.05 var(--display); letter-spacing: 0.1em; text-transform: uppercase; text-align: center;
  transform: rotate(-11deg);
  mix-blend-mode: multiply;
}

/* Now boarding */

.download {
  position: relative; isolation: isolate; overflow: clip;
  padding: calc(var(--section) + 10px) 0 var(--section);
  background: linear-gradient(180deg, var(--sky-low), var(--sky-horizon) 55%, var(--paper));
}
.cloud--g { left: -5%; top: 14%; width: min(440px, 60vw); height: 130px; }
.cloud--h { right: 2%; top: 7%; width: min(560px, 72vw); height: 60px; }

.pass-wrap { max-width: 880px; margin: 0 auto; filter: drop-shadow(0 32px 40px rgba(15, 27, 45, 0.28)); }
.pass { display: grid; border-radius: 22px; background: var(--card); color: var(--ink); }
@media (min-width: 760px) {
  .pass {
    grid-template-columns: minmax(0, 1fr) 270px;
    -webkit-mask: radial-gradient(circle 14px at right 270px top 0, transparent 13px, #000 14px) top / 100% 51% no-repeat,
                  radial-gradient(circle 14px at right 270px bottom 0, transparent 13px, #000 14px) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle 14px at right 270px top 0, transparent 13px, #000 14px) top / 100% 51% no-repeat,
          radial-gradient(circle 14px at right 270px bottom 0, transparent 13px, #000 14px) bottom / 100% 51% no-repeat;
  }
}
.pass-main { padding: 26px clamp(20px, 3vw, 32px) 28px; }
.pass-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pass-brand { display: flex; align-items: center; gap: 10px; font: 700 1.35rem/1 var(--display); font-stretch: 75%; font-variation-settings: "wdth" 75; }
.pass-brand img { width: 26px; height: 26px; }
.pass-kind { font: 600 0.78rem/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.pass-route { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 18px; padding: 22px 0; }
.pass-route p { display: grid; gap: 2px; }
.pass-route p:last-child { text-align: right; }
.pass-route small, .pass-fields dt { font: 600 0.72rem/1 var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.pass-route b { font: 700 clamp(2.6rem, 2rem + 2.2vw, 3.8rem)/1 var(--display); font-stretch: 75%; font-variation-settings: "wdth" 75; }
.pass-route span { font-size: 0.9rem; color: var(--ink-3); }
.pass-line { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.pass-plane { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; padding: 2px; background: var(--card); color: var(--red); transform: translate(-50%, -50%) rotate(90deg); }
.pass-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 520px) { .pass-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pass-fields div[hidden] { display: none; }
.pass-fields dt { margin-bottom: 6px; }
.pass-fields dd { margin: 0; font: 700 1.3rem/1.1 var(--display); font-stretch: 75%; font-variation-settings: "wdth" 75; }
.pass-stub {
  display: grid; align-content: center; justify-items: center; gap: 14px;
  padding: 26px; text-align: center;
  border-top: 2px dashed var(--line-2);
}
@media (min-width: 760px) { .pass-stub { border-top: 0; border-left: 2px dashed var(--line-2); } }
.pass-barcode {
  width: 100%; max-width: 210px; height: 62px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 0 4px, var(--ink) 0 5px, transparent 0 8px, var(--ink) 0 11px, transparent 0 12px, var(--ink) 0 13px, transparent 0 17px, var(--ink) 0 18px, transparent 0 20px);
  opacity: 0.85;
}
.pass-download {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 50px; border-radius: 11px;
  background: var(--red); color: #FFFFFF;
  font-weight: 700; text-decoration: none;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}
.pass-download:hover { background: #F0473D; }
.pass-stub small { font-size: 0.82rem; color: var(--ink-3); }

.install { display: grid; gap: 14px; max-width: 880px; margin: 44px auto 0; counter-reset: install; }
@media (min-width: 760px) { .install { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.install li {
  display: grid; align-content: start; gap: 4px;
  padding: 18px 20px; border-radius: 14px;
  background: color-mix(in srgb, var(--card) 72%, transparent);
  box-shadow: inset 0 0 0 1px var(--line);
  counter-increment: install;
}
.install li::before {
  content: counter(install);
  display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 8px;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font: 700 0.95rem/1 var(--display);
}
.install span { font-size: 0.95rem; color: var(--ink-2); }
.smartscreen {
  max-width: 880px; margin: 16px auto 0; padding: 14px 18px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--sunshine) 24%, var(--card));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tangerine) 55%, transparent);
  font-size: 0.95rem; color: var(--ink-2);
}
.smartscreen b { color: var(--ink); }
.download-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 28px; }
.download-links a { font-weight: 600; }

/* Questions */

.faq { padding: var(--section) 0; }
.faq-grid { display: grid; gap: 24px 56px; }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--topbar) + 28px); }
}
.faq-list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 0;
  font-size: 1.12rem; font-weight: 600; line-height: 1.35;
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 11px no-repeat;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { max-width: 44rem; padding: 0 0 22px; color: var(--ink-2); }
.faq code { padding: 0.12em 0.4em; border-radius: 5px; background: color-mix(in srgb, var(--ink) 8%, transparent); }

/* Footer */

.footer { padding: 64px 0 52px; background: #0A111D; color: #A9B4C3; font-size: 0.92rem; }
.footer .brand { color: #FFFFFF; }
.footer-grid { display: grid; gap: 36px 64px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.footer-brand > p:not(.brand) { margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-brand > .footer-links { margin-top: 20px; }
.footer-links a { color: #FFFFFF; font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-small { display: grid; gap: 12px; font-size: 0.84rem; line-height: 1.6; }
.footer-small b { color: #FFFFFF; }
.footer-small a { color: #DCE4EE; }

/* Credits page */

.credits { padding: calc(var(--topbar) + clamp(48px, 8vw, 96px)) 0 clamp(64px, 8vw, 120px); }
.credits h1 { font-size: clamp(2.7rem, 1.5rem + 4.4vw, 5.2rem); }
.credits > p { max-width: 40rem; margin-top: 20px; color: var(--ink-2); }
.credits-list { max-width: 46rem; margin: 40px 0 0; border-top: 1px solid var(--line-2); }
.credits-list div { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.credits-list dt { font-weight: 700; }
.credits-list dd { margin: 4px 0 0; color: var(--ink-2); }

/* The planes, above everything, as in the app; clicks go straight through. */
.flight-layer { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }

/* Night */

@media (prefers-color-scheme: dark) {
  .sky-sun {
    right: 9vw; top: 11vh; width: 20vmax; height: 20vmax;
    background: radial-gradient(circle, rgba(244, 247, 255, 0.95) 0 13%, rgba(170, 195, 255, 0.16) 22%, rgba(255, 255, 255, 0) 62%);
  }
  .sky-stars {
    display: block; position: absolute; inset: 0 0 35%;
    background-image:
      radial-gradient(1.3px 1.3px at 7% 16%, #FFFFFF 50%, transparent),
      radial-gradient(1px 1px at 14% 42%, #FFFFFF 50%, transparent),
      radial-gradient(1.4px 1.4px at 23% 9%, #FFFFFF 50%, transparent),
      radial-gradient(1px 1px at 31% 30%, #FFFFFF 50%, transparent),
      radial-gradient(1.2px 1.2px at 39% 12%, #FFFFFF 50%, transparent),
      radial-gradient(1px 1px at 46% 46%, #FFFFFF 50%, transparent),
      radial-gradient(1.5px 1.5px at 55% 22%, #FFFFFF 50%, transparent),
      radial-gradient(1px 1px at 62% 7%, #FFFFFF 50%, transparent),
      radial-gradient(1.2px 1.2px at 68% 38%, #FFFFFF 50%, transparent),
      radial-gradient(1px 1px at 77% 14%, #FFFFFF 50%, transparent),
      radial-gradient(1.3px 1.3px at 85% 48%, #FFFFFF 50%, transparent),
      radial-gradient(1px 1px at 93% 26%, #FFFFFF 50%, transparent),
      radial-gradient(1px 1px at 3% 58%, #FFFFFF 50%, transparent),
      radial-gradient(1.2px 1.2px at 51% 62%, #FFFFFF 50%, transparent),
      radial-gradient(1px 1px at 72% 66%, #FFFFFF 50%, transparent);
    opacity: 0.85;
  }
  .cloud { opacity: 0.6; }
  .cloud--thin { opacity: 0.4; }
  .stage {
    background:
      radial-gradient(55% 20% at 50% 87%, rgba(170, 200, 255, 0.2), rgba(170, 200, 255, 0) 70%),
      radial-gradient(100% 80% at 50% 25%, #22355A, #18294A 62%, #11203B);
  }
  .art-calendar { background: linear-gradient(180deg, #1E3358 0, var(--card-2) 120px); }
  .declaration { box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.9); }
}

/* Less motion: no drifting clouds or spinning propellers; the flights and the board turn still in their scripts. */

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