/* The product site's one stylesheet: tokens, the shell, the home page's flight, then the pages.
 * Direction and rules: DESIGN.md. Faces: Saira (display lines, a variable width and weight axis,
 * set wide and light) and IBM Plex Sans (text), both self-hosted under the SIL OFL
 * (assets/fonts/OFL-*.txt). Colour: a night sky that deepens to a lit horizon, with the glass's own
 * cyan (src/styles/display.scss `$accent`) used for state and focus only. Motion: only transform
 * and opacity; everything is off under prefers-reduced-motion.
 * @afds SALES-099 SALES-095 SALES-001 SALES-004 SALES-005 SALES-006 SALES-009 SALES-026 SALES-030 */

@font-face {
  font-family: "Saira";
  src: url("/assets/fonts/saira-latin-wdth-normal.woff2") format("woff2-variations"),
    url("/assets/fonts/saira-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2-variations"),
    url("/assets/fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* colour */
  --c-black: #000;            /* the deepest point: the top of the sky */
  --c-space: #02050b;         /* the sky above the stage */
  --c-night: #050c17;         /* the page */
  --c-deep: #08172a;          /* the lit band of a section */
  --c-horizon: #123250;       /* where the light comes from */
  --c-haze: rgb(84 168 235 / 0.16);
  --c-dawn: rgb(235 176 112 / 0.5);  /* the thin warm line on the horizon, never text */
  --c-deck: #0b1626;          /* raised surfaces */
  --c-ink: #edf1f5;           /* text, 18:1 on night */
  --c-dim: #9dabbb;           /* secondary text, 7.6:1 on night, 6.2:1 on horizon */
  --c-faint: #5d6a79;         /* tertiary marks, never body text */
  --c-rule: rgb(196 220 255 / 0.14);
  --c-rule-strong: rgb(196 220 255 / 0.28);
  --c-accent: #35b7ff;        /* the instrument's cyan */
  --c-accent-ink: #021019;
  --c-glow: rgb(53 183 255 / 0.18);
  --c-frost: rgb(12 24 40 / 0.55);
  --c-frost-edge: rgb(255 255 255 / 0.1);
  /* Glass: a dark tint, a sheen over its upper half, a bright top edge and a faint lower one. */
  --glass-tint: rgb(8 18 32 / 0.5);
  --glass-sheen:
    linear-gradient(180deg, rgb(255 255 255 / 0.11) 0, rgb(255 255 255 / 0.035) 46%, rgb(255 255 255 / 0) 54%),
    linear-gradient(105deg, rgb(255 255 255 / 0) 30%, rgb(200 230 255 / 0.07) 38%, rgb(255 255 255 / 0) 46%);
  --glass-edge:
    inset 0 1px 0 rgb(255 255 255 / 0.28),
    inset 0 -1px 0 rgb(160 210 255 / 0.1),
    0 12px 40px rgb(0 0 0 / 0.35);
  --c-premium: #e9b949;       /* Premium's gold: its chips and its lamp, never body text */
  --c-premium-ink: #f6dc9a;
  --c-caution: #f2c94c;       /* amber: the DRAFT banner and open placeholders of the legal pages */
  --c-caution-wash: rgb(242 201 76 / 0.1);

  /* type: a wide display face and a text face */
  --f: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: "Saira", "IBM Plex Sans", system-ui, sans-serif;
  --w-wide: 125%;
  --w-display: 112%;
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.125rem, 1rem + 0.5vw, 1.4375rem);
  --t-h3: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
  --t-statement: clamp(1.875rem, 1rem + 3.4vw, 4.25rem);
  --t-page: clamp(2.5rem, 1.2rem + 5.2vw, 6.5rem);
  --t-hero: clamp(2.75rem, 0.9rem + 7.4vw, 9rem);
  --t-sim: clamp(1.125rem, 0.5rem + 1.2vw, 2.125rem);
  --lh-tight: 1.02;
  --lh-statement: 1.08;
  --lh-text: 1.6;

  /* space and grid */
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1440px;
  --measure: 66ch;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 80px;
  --s-9: clamp(96px, 8vw + 48px, 176px);
  --header-h: 72px;
  --stage-top: var(--header-h); /* where the hero stage starts: under the header */
  --lamp: 4px;                /* the width of a key's lamp */
  --lamp-off: rgb(196 220 255 / 0.22);
  --lamp-glow: 0 0 10px rgb(53 183 255 / 0.85), 0 0 2px rgb(170 228 255 / 1);

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--c-space);
}

/* The sky: dark at the top of every page, deepening through the sections to a lit horizon at the
 * footer. Sections are transparent over it and add their own light. */
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(120% 60% at 85% 0%, rgb(30 70 115 / 0.28), transparent 60%),
    linear-gradient(180deg, var(--c-space) 0, var(--c-night) 18%, var(--c-deep) 52%, var(--c-night) 78%, var(--c-space) 100%);
  background-color: var(--c-night);
  color: var(--c-ink);
  font-family: var(--f);
  font-size: var(--t-body);
  line-height: var(--lh-text);
  font-stretch: 100%;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* The grain: a fixed film over everything, drawn from an inline SVG, never a request. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: var(--c-rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.2s, color 0.2s;
}

a:hover {
  text-decoration-color: var(--c-accent);
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  text-wrap: balance;
}

/* The display face: every heading and the wordmarks; text stays in the text face. */
h1,
h2,
.statement,
.wordmark,
.footer-mark,
.footer-sim,
.hero-sim,
.preloader-name,
.stage-hud span {
  font-family: var(--f-display);
}

p {
  margin: 0;
  text-wrap: pretty;
}

code {
  font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.08em 0.36em;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.07);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--c-ink);
  color: var(--c-black);
}

.skip:focus {
  top: var(--s-3);
}

/* ---------- keys ----------
 * Every button is a panel key: a square cap with a lamp down its left edge. The lit key (the
 * primary action) is a solid cap with its lamp on; a quiet key is an engraved outline whose lamp
 * stays off until a pointer or focus reaches it. No radius anywhere (DESIGN.md, Shape). */

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

.button {
  --mx: 0px;
  --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--s-5) 0 calc(var(--s-5) + var(--lamp));
  border: 1px solid var(--c-ink);
  background: var(--c-ink);
  color: var(--c-black);
  font: inherit;
  font-family: var(--f-display);
  font-size: 0.9375rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 0.5s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s;
}

/* The lamp. */
.button::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: var(--lamp);
  background: var(--c-accent);
  box-shadow: var(--lamp-glow);
  transition: background-color 0.25s, box-shadow 0.25s;
}

.button:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-accent-ink);
}

.button:hover::before {
  background: var(--c-ink);
}

.button.quiet {
  background: rgb(3 8 16 / 0.42);
  border-color: var(--c-rule-strong);
  color: var(--c-ink);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.button.quiet::before {
  background: var(--lamp-off);
  box-shadow: none;
}

.button.quiet:hover,
.button.quiet:focus-visible {
  border-color: var(--c-ink);
  background: rgb(53 183 255 / 0.1);
  color: var(--c-ink);
}

.button.quiet:hover::before,
.button.quiet:focus-visible::before {
  background: var(--c-accent);
  box-shadow: var(--lamp-glow);
}

.button[aria-disabled="true"] {
  background: transparent;
  border-color: var(--c-rule-strong);
  border-style: dashed;
  color: var(--c-dim);
  cursor: not-allowed;
}

.button[aria-disabled="true"]::before {
  background: none;
  box-shadow: none;
}

.coming {
  color: var(--c-dim);
}

/* A placard: the one panel of the site. Square, an engraved edge, and a short lit segment along its
 * top edge at the left, where a panel placard carries its legend. */
.frost {
  border: 1px solid var(--c-frost-edge);
  background:
    linear-gradient(90deg, var(--c-accent) 0 56px, transparent 56px) 0 0 / 100% 2px no-repeat,
    var(--glass-sheen),
    var(--c-frost);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: var(--glass-edge);
}

/* ---------- header ----------
 * A full-width strip of glass, as the display's own cover glass: a dark tint, a sheen over its upper
 * half with a faint diagonal glint, a bright top edge and a faint lit lower edge. The brand mark at
 * the left, then one cell per page between engraved rules. The current page's cell is lit as the
 * display lights an active key: a lamp across its top, a tinted cap and a bright legend. */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid rgb(196 220 255 / 0.2);
  background: var(--glass-sheen), var(--glass-tint);
  box-shadow: var(--glass-edge);
  -webkit-backdrop-filter: blur(10px) saturate(1.5) brightness(0.85);
  backdrop-filter: blur(10px) saturate(1.5) brightness(0.85);
  transition: transform 0.6s var(--ease-out), background-color 0.4s;
}

.site-header.is-scrolled {
  background: var(--glass-sheen), rgb(4 10 20 / 0.82);
}

.site-header.is-hidden {
  transform: translate3d(0, -101%, 0);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
}

.brand {
  display: grid;
  align-content: center;
  flex: none;
  padding: 0 var(--s-6) 0 var(--gutter);
  border-right: 1px solid var(--c-rule);
  color: var(--c-ink);
  text-decoration: none;
  line-height: 1.1;
}

.wordmark {
  font-size: 1.0625rem;
  font-weight: 600;
  font-stretch: var(--w-wide);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo {
  height: 26px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: stretch;
  margin-left: auto;
  border-left: 1px solid var(--c-rule);
}

.site-nav a {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 clamp(12px, 1.3vw, 26px);
  border-right: 1px solid var(--c-rule);
  color: var(--c-dim);
  font-family: var(--f-display);
  font-size: 0.9375rem;
  font-weight: 500;
  font-stretch: 108%;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.site-nav a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: transparent;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.site-nav a:hover {
  color: var(--c-ink);
  background: rgb(196 220 255 / 0.04);
}

.site-nav a:not([aria-current="page"]):hover::before {
  background: var(--lamp-off);
}

.site-nav a[aria-current="page"] {
  color: var(--c-ink);
  background: linear-gradient(180deg, rgb(53 183 255 / 0.22), rgb(53 183 255 / 0.04));
}

.site-nav a[aria-current="page"]::before {
  background: var(--c-accent);
  box-shadow: var(--lamp-glow);
}

.site-nav {
  position: relative;
}

.site-nav a {
  z-index: 1;
}

/* The glass plate (round 4, point 46): one pane of cover glass that slides along the nav to the cell
 * under the pointer or the keyboard focus, and back to the current page's cell when both leave. It
 * is square, lit along its top edge, darker toward the bottom, and carries a diagonal glint that
 * travels against the plate's motion, as a fixed light would cross moving glass. `site.js` sets
 * its place (--gx), width (--gw) and the glint's place (--gs); without the script it never shows. */
.nav-glass {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: var(--gw, 0px);
  border-inline: 1px solid rgb(196 220 255 / 0.26);
  background:
    linear-gradient(180deg, rgb(235 245 255 / 0.16), rgb(235 245 255 / 0.04) 46%, rgb(53 183 255 / 0.03) 54%, rgb(53 183 255 / 0.12));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.5),
    inset 0 -1px 0 rgb(53 183 255 / 0.4),
    0 8px 22px rgb(0 0 0 / 0.35);
  -webkit-backdrop-filter: blur(4px) brightness(1.2) saturate(1.3);
  backdrop-filter: blur(4px) brightness(1.2) saturate(1.3);
  opacity: 0;
  transform: translate3d(var(--gx, 0px), 0, 0);
  pointer-events: none;
  overflow: hidden;
}

.nav-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 38%, rgb(255 255 255 / 0.2) 47%, rgb(255 255 255 / 0.06) 52%, transparent 60%);
  background-size: 320% 100%;
  background-position: var(--gs, 50%) 0;
}

.nav-glass.is-on {
  opacity: 1;
}

.nav-glass.is-moving {
  transition: transform 0.55s var(--ease-out), width 0.55s var(--ease-out), opacity 0.25s;
}

.nav-glass.is-moving::after {
  transition: background-position 0.9s var(--ease-out);
}

/* Under the plate the cell's own hover tint would double it; the lamp stays. */
.site-nav.has-glass a:hover,
.site-nav.has-glass a:focus-visible {
  background: transparent;
  color: var(--c-ink);
}

.site-nav.has-glass a[aria-current="page"] {
  background: linear-gradient(180deg, rgb(53 183 255 / 0.16), rgb(53 183 255 / 0.02));
}

html:not(.js) .nav-glass {
  display: none;
}

.menu-toggle {
  display: none;
}

/* Controls that only a script can work stay out of sight without one. */
html:not(.js) .menu-toggle,
html:not(.js) .consent-open {
  display: none !important;
}

@media (max-width: 1180px) {
  .site-nav a {
    padding-inline: 12px;
    font-size: 0.875rem;
  }

  .brand {
    padding-right: var(--s-4);
  }
}

@media (max-width: 960px) {
  .nav-glass {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    margin-left: auto;
    padding: 0 var(--s-5);
    border: 0;
    border-left: 1px solid var(--c-rule);
    background: none;
    color: var(--c-ink);
    font: inherit;
    font-family: var(--f-display);
    font-size: 0.9375rem;
    font-weight: 500;
    font-stretch: 108%;
    cursor: pointer;
  }

  .menu-toggle i {
    position: relative;
    width: 16px;
    height: 10px;
    border-block: 2px solid currentColor;
    transition: transform 0.4s var(--ease-out);
  }

  .site-header.is-open .menu-toggle {
    background: rgb(53 183 255 / 0.12);
  }

  .site-header.is-open .menu-toggle i {
    transform: scaleY(0.2);
  }

  /* Without JavaScript the nav stays a row that scrolls sideways under the brand. */
  html:not(.js) .site-header {
    position: absolute;
    height: auto;
  }

  html:not(.js) .header-bar {
    flex-wrap: wrap;
    height: auto;
  }

  html:not(.js) .brand {
    min-height: var(--header-h);
  }

  html:not(.js) .site-nav {
    width: 100%;
    min-height: 48px;
    overflow-x: auto;
    margin: 0;
    border-top: 1px solid var(--c-rule);
  }

  html.js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--c-rule-strong);
    background: rgb(2 6 13 / 0.96);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    backdrop-filter: blur(24px) saturate(1.3);
    opacity: 0;
    transform: translate3d(0, -8px, 0);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.5s var(--ease-out);
  }

  html.js .site-header.is-open .site-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  html.js .site-nav a {
    place-items: center start;
    min-height: 56px;
    padding: 0 var(--gutter);
    border-right: 0;
    border-top: 1px solid var(--c-rule);
    font-size: 1.25rem;
    font-stretch: var(--w-display);
    color: var(--c-ink);
  }

  html.js .site-nav a::before {
    inset: 0 auto 0 0;
    width: var(--lamp);
    height: auto;
  }
}

@media (max-width: 560px) {
  .brand {
    padding-right: var(--s-4);
  }

  .hero-actions .button {
    width: 100%;
  }
}

/* ---------- header candidates (round 5, point 57) ----------
 * Four flat looks for the operator to pick from: the bluish glass goes, the bar is a long, soft,
 * near-neutral graphite, a touch lighter, and the sliding plate is BLACK and FLAT (no bevel, no
 * inset glow, no glint): it darkens the cell under it. The current page's cell is flat and dark too,
 * and keeps its cyan lamp, the one state colour. A look applies to a page's header through
 * html[data-header] (content/site.json `header`, or ?header=a) and to one header of the candidates
 * page through its own data-variant. Each look only sets the --hv-* tokens; the rules below draw
 * them the same way for all four. */

:is(html[data-header="a"] .site-header, .site-header[data-variant="a"]) {
  --hv-bar: linear-gradient(180deg, rgb(62 65 70 / 0.92) 0, rgb(36 38 42 / 0.93) 48%, rgb(16 17 19 / 0.95) 100%);
  --hv-bar-scrolled: linear-gradient(180deg, rgb(52 54 58 / 0.97) 0, rgb(26 27 30 / 0.98) 100%);
  --hv-tail: linear-gradient(180deg, rgb(16 17 19 / 0.5), rgb(16 17 19 / 0));
  --hv-tail-h: 36px;
  --hv-plate: rgb(0 0 0 / 0.92);
  --hv-plate-mark: inset 0 -2px 0 rgb(228 236 245 / 0.9);
  --hv-current: rgb(0 0 0 / 0.42);
}

:is(html[data-header="b"] .site-header, .site-header[data-variant="b"]) {
  --hv-bar: linear-gradient(90deg, rgb(72 75 80 / 0.94) 0, rgb(44 46 50 / 0.95) 26%, rgb(22 23 26 / 0.96) 58%, rgb(12 13 15 / 0.97) 100%);
  --hv-bar-scrolled: linear-gradient(90deg, rgb(60 62 67 / 0.98) 0, rgb(18 19 21 / 0.99) 60%, rgb(10 11 12) 100%);
  --hv-plate: rgb(0 0 0);
  --hv-plate-mark: inset 0 1px 0 rgb(255 255 255 / 0.62);
  --hv-current: rgb(0 0 0 / 0.55);
}

:is(html[data-header="c"] .site-header, .site-header[data-variant="c"]) {
  --hv-bar: linear-gradient(180deg, rgb(104 108 114 / 0.5) 0, rgb(76 79 84 / 0.44) 100%);
  --hv-bar-scrolled: linear-gradient(180deg, rgb(78 81 86 / 0.86) 0, rgb(58 60 64 / 0.86) 100%);
  --hv-filter: blur(16px) saturate(0.15) brightness(0.95);
  --hv-tail: linear-gradient(180deg, rgb(76 79 84 / 0.22), rgb(76 79 84 / 0));
  --hv-tail-h: 48px;
  --hv-ink: #fff;
  --hv-dim: rgb(255 255 255 / 0.84);
  --hv-rule: rgb(255 255 255 / 0.12);
  --hv-plate: rgb(0 0 0 / 0.8);
  --hv-current: rgb(0 0 0 / 0.32);
}

:is(html[data-header="d"] .site-header, .site-header[data-variant="d"]) {
  --hv-bar: linear-gradient(180deg, rgb(56 58 62 / 0.94) 0, rgb(30 31 34 / 0.95) 70%, rgb(22 23 25 / 0.96) 100%);
  --hv-bar-scrolled: linear-gradient(180deg, rgb(46 48 52 / 0.98) 0, rgb(22 23 25 / 0.98) 100%);
  --hv-tail:
    linear-gradient(90deg, rgb(150 165 180 / 0) 0, rgb(150 165 180 / 0.4) 22%, rgb(235 176 112 / 0.85) 50%, rgb(150 165 180 / 0.4) 78%, rgb(150 165 180 / 0) 100%) 0 0 / 100% 1px no-repeat,
    radial-gradient(50% 100% at 50% 0, rgb(235 176 112 / 0.1), transparent 100%);
  --hv-tail-h: 22px;
  --hv-edge: 0;
  --hv-plate: rgb(0 0 0 / 0.94);
  --hv-plate-mark: inset 3px 0 0 rgb(228 236 245 / 0.75);
  --hv-plate-clip: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  --hv-current: rgb(0 0 0 / 0.45);
}

:is(html[data-header]:not([data-header="current"]) .site-header, .site-header[data-variant]) {
  border-bottom: var(--hv-edge, 1px solid rgb(255 255 255 / 0.07));
  background: var(--hv-bar);
  box-shadow: var(--hv-shadow, 0 10px 30px rgb(0 0 0 / 0.28));
  -webkit-backdrop-filter: var(--hv-filter, blur(12px) saturate(0.35));
  backdrop-filter: var(--hv-filter, blur(12px) saturate(0.35));
}

:is(html[data-header]:not([data-header="current"]) .site-header, .site-header[data-variant]).is-scrolled {
  background: var(--hv-bar-scrolled, var(--hv-bar));
}

/* The longer, softer fall of the bar: it runs on past the bar's edge and fades into the page. */
:is(html[data-header]:not([data-header="current"]) .site-header, .site-header[data-variant])::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto;
  height: var(--hv-tail-h, 0);
  background: var(--hv-tail, none);
  pointer-events: none;
}

:is(html[data-header]:not([data-header="current"]), .site-header[data-variant]) :is(.brand, .site-nav, .site-nav a) {
  border-color: var(--hv-rule, rgb(255 255 255 / 0.08));
}

:is(html[data-header]:not([data-header="current"]), .site-header[data-variant]) .site-nav a {
  color: var(--hv-dim, rgb(230 234 238 / 0.78));
}

:is(html[data-header]:not([data-header="current"]), .site-header[data-variant]) .site-nav a:is(:hover, :focus-visible, [aria-current="page"]) {
  color: var(--hv-ink, var(--c-ink));
}

:is(html[data-header]:not([data-header="current"]), .site-header[data-variant]) .site-nav a:hover {
  background: var(--hv-plate);
}

:is(html[data-header]:not([data-header="current"]), .site-header[data-variant]) .site-nav a[aria-current="page"],
:is(html[data-header]:not([data-header="current"]), .site-header[data-variant]) .site-nav.has-glass a[aria-current="page"] {
  background: var(--hv-current);
}

:is(html[data-header]:not([data-header="current"]), .site-header[data-variant]) .site-nav.has-glass a:is(:hover, :focus-visible) {
  background: transparent;
}

/* Hover changes only the cell behind the legend: the current page keeps its cyan lamp lit. */
:is(html[data-header]:not([data-header="current"]), .site-header[data-variant]) .site-nav a:not([aria-current="page"]):hover::before {
  background: transparent;
}

/* The plate: a flat black block, its only mark a hairline or a lamp; nothing raised, nothing sunk. */
:is(html[data-header]:not([data-header="current"]), .site-header[data-variant]) .nav-glass {
  border: 0;
  background: var(--hv-plate);
  box-shadow: var(--hv-plate-mark, none);
  clip-path: var(--hv-plate-clip, none);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

:is(html[data-header]:not([data-header="current"]), .site-header[data-variant]) .nav-glass::after {
  display: none;
}

@media (max-width: 960px) {
  html.js:is([data-header]:not([data-header="current"])) .site-nav {
    background: var(--hv-menu, rgb(14 15 17 / 0.97));
  }

  html:is([data-header]:not([data-header="current"])) .site-header.is-open .menu-toggle {
    background: rgb(0 0 0 / 0.5);
  }
}

/* The candidates page: the four headers stacked over the top of the real hero, each lettered in the
 * free middle of its own bar. The hero's stage starts under the stack, so the bezel keeps its gap. */
html.header-variants {
  --stage-top: calc(var(--header-h) * 5 + 24px);
}

.hv-stack {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  gap: 6px;
}

.hv-stack .site-header {
  position: relative;
  transform: none;
}

.hv-label {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: var(--s-4);
  min-width: 0;
  margin: 0;
  padding: 0 var(--s-5);
  color: var(--c-ink);
  font-size: 0.75rem;
  line-height: 1.35;
}

.hv-label b {
  flex: none;
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 600;
  font-stretch: var(--w-wide);
  color: #fff;
}

.hv-label span {
  max-width: 34ch;
  color: rgb(230 234 238 / 0.8);
}

@media (max-width: 1180px) {
  .hv-label span {
    display: none;
  }
}

/* The glass candidates G1 to G4 (round 6): the bar as darker translucent glass in the night blues,
 * like the cover glass of the display itself, never neutral grey. They differ in frost (the blur),
 * tint strength, the specular line along the top and the reflection inside the pane. All keep the
 * flat black hover plate and the current page's cyan lamp; they set only --hv-* tokens. */
:is(html[data-header="g1"] .site-header, .site-header[data-variant="g1"]) {
  --hv-bar:
    linear-gradient(180deg, rgb(150 190 240 / 0.07) 0, rgb(150 190 240 / 0) 55%),
    linear-gradient(180deg, rgb(18 34 56 / 0.58) 0, rgb(8 18 32 / 0.66) 100%);
  --hv-bar-scrolled:
    linear-gradient(180deg, rgb(150 190 240 / 0.06) 0, rgb(150 190 240 / 0) 55%),
    linear-gradient(180deg, rgb(14 28 48 / 0.84) 0, rgb(6 14 26 / 0.88) 100%);
  --hv-filter: blur(18px) saturate(1.2) brightness(0.7);
  --hv-shadow: inset 0 1px 0 rgb(200 225 255 / 0.24), 0 10px 30px rgb(0 4 12 / 0.4);
  --hv-edge: 1px solid rgb(140 180 230 / 0.14);
  --hv-tail: linear-gradient(180deg, rgb(4 10 20 / 0.32), rgb(4 10 20 / 0));
  --hv-tail-h: 40px;
  --hv-ink: #fff;
  --hv-dim: rgb(226 236 248 / 0.84);
  --hv-rule: rgb(170 205 245 / 0.12);
  --hv-plate: rgb(0 0 0 / 0.86);
  --hv-current: rgb(0 4 12 / 0.4);
  --hv-menu: rgb(6 14 26 / 0.97);
}

:is(html[data-header="g2"] .site-header, .site-header[data-variant="g2"]) {
  --hv-bar:
    linear-gradient(180deg, rgb(255 255 255 / 0.09) 0, rgb(255 255 255 / 0.02) 50%, rgb(255 255 255 / 0) 51%),
    linear-gradient(180deg, rgb(22 40 64 / 0.48) 0, rgb(10 22 40 / 0.56) 100%);
  --hv-bar-scrolled:
    linear-gradient(180deg, rgb(255 255 255 / 0.07) 0, rgb(255 255 255 / 0.015) 50%, rgb(255 255 255 / 0) 51%),
    linear-gradient(180deg, rgb(16 32 54 / 0.82) 0, rgb(8 18 34 / 0.86) 100%);
  --hv-filter: blur(30px) saturate(0.7) brightness(0.6);
  --hv-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 12px 34px rgb(0 4 12 / 0.42);
  --hv-edge: 1px solid rgb(160 195 235 / 0.1);
  --hv-tail: linear-gradient(180deg, rgb(8 18 34 / 0.3), rgb(8 18 34 / 0));
  --hv-tail-h: 56px;
  --hv-ink: #fff;
  --hv-dim: rgb(230 238 248 / 0.86);
  --hv-rule: rgb(255 255 255 / 0.1);
  --hv-plate: rgb(0 0 0 / 0.84);
  --hv-current: rgb(0 4 12 / 0.36);
  --hv-menu: rgb(8 18 34 / 0.97);
}

:is(html[data-header="g3"] .site-header, .site-header[data-variant="g3"]) {
  --hv-bar:
    linear-gradient(104deg, rgb(170 210 255 / 0) 28%, rgb(170 210 255 / 0.09) 40%, rgb(170 210 255 / 0.02) 47%, rgb(170 210 255 / 0) 56%),
    linear-gradient(180deg, rgb(14 44 78 / 0.5) 0, rgb(6 22 44 / 0.62) 100%);
  --hv-bar-scrolled:
    linear-gradient(104deg, rgb(170 210 255 / 0) 28%, rgb(170 210 255 / 0.07) 40%, rgb(170 210 255 / 0) 56%),
    linear-gradient(180deg, rgb(10 36 66 / 0.84) 0, rgb(4 18 38 / 0.9) 100%);
  --hv-filter: blur(7px) saturate(1.4) brightness(0.62);
  --hv-shadow: inset 0 1px 0 rgb(220 238 255 / 0.42), inset 0 -1px 0 rgb(53 183 255 / 0.16), 0 10px 30px rgb(0 6 18 / 0.42);
  --hv-edge: 1px solid rgb(53 183 255 / 0.18);
  --hv-tail: linear-gradient(180deg, rgb(4 16 34 / 0.34), rgb(4 16 34 / 0));
  --hv-tail-h: 36px;
  --hv-ink: #fff;
  --hv-dim: rgb(222 236 252 / 0.86);
  --hv-rule: rgb(150 200 255 / 0.14);
  --hv-plate: rgb(0 0 0 / 0.86);
  --hv-current: rgb(0 6 18 / 0.42);
  --hv-menu: rgb(4 18 38 / 0.97);
}

:is(html[data-header="g4"] .site-header, .site-header[data-variant="g4"]) {
  --hv-bar:
    radial-gradient(120% 260% at 14% -90%, rgb(120 170 235 / 0.2), rgb(120 170 235 / 0) 62%),
    linear-gradient(180deg, rgb(6 13 24 / 0.66) 0, rgb(2 6 13 / 0.76) 100%);
  --hv-bar-scrolled:
    radial-gradient(120% 260% at 14% -90%, rgb(120 170 235 / 0.16), rgb(120 170 235 / 0) 62%),
    linear-gradient(180deg, rgb(5 11 21 / 0.9) 0, rgb(2 5 11 / 0.93) 100%);
  --hv-filter: blur(20px) saturate(1.1) brightness(0.45);
  --hv-shadow: inset 0 1px 0 rgb(190 215 250 / 0.16), inset 0 -2px 0 rgb(0 0 0 / 0.5), 0 1px 0 rgb(140 185 240 / 0.12), 0 14px 36px rgb(0 0 0 / 0.5);
  --hv-edge: 1px solid rgb(140 185 240 / 0.16);
  --hv-tail: linear-gradient(180deg, rgb(2 6 13 / 0.36), rgb(2 6 13 / 0));
  --hv-tail-h: 44px;
  --hv-ink: #fff;
  --hv-dim: rgb(214 226 242 / 0.84);
  --hv-rule: rgb(150 190 240 / 0.1);
  --hv-plate: rgb(0 0 0 / 0.92);
  --hv-current: rgb(0 0 0 / 0.42);
  --hv-menu: rgb(2 6 13 / 0.97);
}

/* ---------- glass keys (round 6) ----------
 * K1 to K4: every key becomes a translucent pane of glass in the night blues instead of an opaque
 * cap. The lit key keeps its lamp down the left edge and white legend; a quiet key is a lighter pane
 * with its lamp off; a text link sits on the faintest pane. On hover and keyboard focus the pane
 * takes a translucent blue tint and a white glint sweeps across it once; under reduced motion only
 * the tint. A look applies through html[data-keys] (content/site.json `keys`, or ?keys=k1) and to
 * one column of the candidates page through data-keys-variant. Each look sets only --k-* tokens. */
:is(html[data-keys="k1"], [data-keys-variant="k1"]) {
  --k-fill: rgb(10 24 42 / 0.62);
  --k-fill-hover: rgb(24 92 150 / 0.62);
  --k-sheen: linear-gradient(180deg, rgb(190 220 255 / 0.08) 0, rgb(190 220 255 / 0) 60%);
  --k-filter: blur(12px) saturate(1.3) brightness(0.75);
  --k-edge: inset 0 0 0 1px rgb(190 215 245 / 0.34), inset 0 1px 0 rgb(230 242 255 / 0.4);
  --k-edge-hover: inset 0 0 0 1px rgb(200 230 255 / 0.55), inset 0 1px 0 rgb(240 248 255 / 0.6);
  --k-quiet-fill: rgb(10 24 42 / 0.38);
  --k-glint: linear-gradient(105deg, rgb(255 255 255 / 0) 38%, rgb(255 255 255 / 0.5) 50%, rgb(255 255 255 / 0) 62%);
  --k-glint-t: 0.75s;
}

:is(html[data-keys="k2"], [data-keys-variant="k2"]) {
  --k-fill: rgb(22 40 64 / 0.58);
  --k-fill-hover: rgb(36 104 164 / 0.6);
  --k-sheen: linear-gradient(180deg, rgb(255 255 255 / 0.12) 0, rgb(255 255 255 / 0.04) 50%, rgb(255 255 255 / 0) 51%);
  --k-filter: blur(22px) saturate(0.8) brightness(0.7);
  --k-edge: inset 0 0 0 1px rgb(255 255 255 / 0.2), inset 0 1px 0 rgb(255 255 255 / 0.3);
  --k-edge-hover: inset 0 0 0 1px rgb(220 238 255 / 0.4), inset 0 1px 0 rgb(255 255 255 / 0.45);
  --k-quiet-fill: rgb(22 40 64 / 0.34);
  --k-glint: linear-gradient(90deg, rgb(255 255 255 / 0) 10%, rgb(255 255 255 / 0.26) 50%, rgb(255 255 255 / 0) 90%);
  --k-glint-t: 1.2s;
}

:is(html[data-keys="k3"], [data-keys-variant="k3"]) {
  --k-fill: rgb(6 16 30 / 0.64);
  --k-fill-hover: rgb(20 84 140 / 0.64);
  --k-sheen: linear-gradient(135deg, rgb(200 225 255 / 0.1) 0, rgb(200 225 255 / 0) 45%);
  --k-filter: blur(10px) saturate(1.2) brightness(0.7);
  --k-edge: inset 1px 1px 0 rgb(225 240 255 / 0.45), inset -1px -1px 0 rgb(0 0 0 / 0.55), inset 0 0 0 1px rgb(160 200 245 / 0.16);
  --k-edge-hover: inset 1px 1px 0 rgb(235 246 255 / 0.65), inset -1px -1px 0 rgb(0 0 0 / 0.55), inset 0 0 0 1px rgb(160 210 255 / 0.3);
  --k-quiet-fill: rgb(6 16 30 / 0.4);
  --k-glint:
    linear-gradient(120deg, rgb(255 255 255 / 0) 40%, rgb(255 255 255 / 0.7) 42%, rgb(255 255 255 / 0) 44%),
    linear-gradient(120deg, rgb(255 255 255 / 0) 49%, rgb(255 255 255 / 0.45) 51%, rgb(255 255 255 / 0) 53%);
  --k-glint-t: 0.55s;
}

:is(html[data-keys="k4"], [data-keys-variant="k4"]) {
  --k-fill: rgb(8 18 32 / 0.6);
  --k-fill-hover: rgb(22 96 158 / 0.6);
  --k-sheen: linear-gradient(118deg, rgb(200 228 255 / 0) 52%, rgb(200 228 255 / 0.1) 60%, rgb(200 228 255 / 0.03) 72%, rgb(200 228 255 / 0) 73%);
  --k-filter: blur(14px) saturate(1.2) brightness(0.72);
  --k-edge: inset 0 0 0 1px rgb(255 255 255 / 0.18);
  --k-edge-hover: inset 0 0 0 1px rgb(255 255 255 / 0.7), 0 0 14px rgb(53 183 255 / 0.35);
  --k-quiet-fill: rgb(8 18 32 / 0.36);
  --k-glint: linear-gradient(110deg, rgb(255 255 255 / 0) 43%, rgb(255 255 255 / 0.62) 44%, rgb(255 255 255 / 0.62) 48%, rgb(255 255 255 / 0) 49%);
  --k-glint-t: 0.42s;
}

/* The pane. overflow clips the glint to the glass; the edge is an inset line, not a border, so the
 * lamp sits flush on the pane's left edge. The legend stays white over the darkened scene. */
:is(html[data-keys]:not([data-keys="current"]), [data-keys-variant]:not([data-keys-variant="current"])) :is(.button, a.text-link) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background-color: var(--k-fill);
  background-image: var(--k-sheen);
  color: #fff;
  box-shadow: var(--k-edge);
  -webkit-backdrop-filter: var(--k-filter);
  backdrop-filter: var(--k-filter);
  transition: transform 0.5s var(--ease-out), background-color 0.3s, box-shadow 0.3s, color 0.25s;
}

:is(html[data-keys]:not([data-keys="current"]), [data-keys-variant]:not([data-keys-variant="current"])) .button::before {
  top: 0;
  bottom: 0;
  left: 0;
}

:is(html[data-keys]:not([data-keys="current"]), [data-keys-variant]:not([data-keys-variant="current"])) .button.quiet {
  background-color: var(--k-quiet-fill);
}

:is(html[data-keys]:not([data-keys="current"]), [data-keys-variant]:not([data-keys-variant="current"])) a.text-link {
  padding-inline: var(--s-4);
  background-color: rgb(255 255 255 / 0.03);
  background-image: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  text-decoration-color: rgb(53 183 255 / 0.6);
}

/* A key that does nothing (a store link not open yet): an engraved dashed outline on faint glass. */
:is(html[data-keys]:not([data-keys="current"]), [data-keys-variant]:not([data-keys-variant="current"])) .button[aria-disabled="true"]:not(.buy, [data-unwired]) {
  background-color: rgb(255 255 255 / 0.02);
  background-image: none;
  color: var(--c-dim);
  box-shadow: none;
  outline: 1px dashed var(--c-rule-strong);
  outline-offset: -1px;
}

/* The buy key not wired yet keeps the full lit pane, as the primary key. */
:is(html[data-keys]:not([data-keys="current"]), [data-keys-variant]:not([data-keys-variant="current"])) .button:is(.buy, [data-unwired])[aria-disabled="true"] {
  background-color: var(--k-fill);
  color: #fff;
}

/* Hover and keyboard focus: the pane tints blue (translucent, never a solid blue cap). */
:is(html[data-keys]:not([data-keys="current"]), [data-keys-variant]:not([data-keys-variant="current"])) :is(.button:not([aria-disabled="true"]:not(.buy, [data-unwired])), a.text-link):is(:hover, :focus-visible, .is-hover) {
  background-color: var(--k-fill-hover);
  color: #fff;
  background-image: var(--k-sheen);
  box-shadow: var(--k-edge-hover);
}

:is(html[data-keys]:not([data-keys="current"]), [data-keys-variant]:not([data-keys-variant="current"])) .button:is(:hover, :focus-visible, .is-hover)::before {
  background: var(--c-accent);
  box-shadow: var(--lamp-glow);
}

/* The candidates page's reference column shows the white key's own hover. */
[data-keys-variant="current"] .button.is-hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-accent-ink);
}

/* The glint: a band of white light that waits off the left edge and crosses the pane once. */
:is(html[data-keys]:not([data-keys="current"]), [data-keys-variant]:not([data-keys-variant="current"])) :is(.button, a.text-link)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--k-glint);
  opacity: 0;
  transform: translate3d(-110%, 0, 0);
  pointer-events: none;
}

html.motion:is([data-keys]:not([data-keys="current"])) :is(.button:not([aria-disabled="true"]:not(.buy, [data-unwired])), a.text-link):is(:hover, :focus-visible)::after,
html.motion [data-keys-variant]:not([data-keys-variant="current"]) :is(.button:not([aria-disabled="true"]:not(.buy, [data-unwired])), a.text-link):is(:hover, :focus-visible)::after {
  animation: k-glint var(--k-glint-t) var(--ease-out) 1 both;
}

/* The candidates page holds one key in its hovered state; its glint repeats so it can be seen. */
html.motion [data-keys-variant]:not([data-keys-variant="current"]) .button.is-hover::after {
  animation: k-glint-loop calc(var(--k-glint-t) * 4) var(--ease-out) infinite;
}

@keyframes k-glint {
  0% {
    opacity: 1;
    transform: translate3d(-110%, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(110%, 0, 0);
  }
}

@keyframes k-glint-loop {
  0% {
    opacity: 1;
    transform: translate3d(-110%, 0, 0);
  }

  25%,
  100% {
    opacity: 1;
    transform: translate3d(110%, 0, 0);
  }
}

/* The candidates page's key board: every key look side by side over a piece of the real hero. */
.kv-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-5);
  padding: var(--s-7) var(--s-6) var(--s-7);
  background: linear-gradient(180deg, rgb(2 5 11 / 0.2), rgb(2 5 11 / 0.2)), url("/assets/scene/runway.webp") 34% 62% / cover no-repeat, var(--c-space);
}

.kv-title {
  grid-column: 1 / -1;
  margin: 0;
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.8);
}

.kv-col {
  display: grid;
  align-content: start;
  gap: var(--s-4);
}

.kv-label {
  margin: 0;
  padding: var(--s-2) var(--s-3);
  background: rgb(0 0 0 / 0.62);
  color: rgb(236 242 250 / 0.9);
  font-size: 0.75rem;
  line-height: 1.4;
}

.kv-label b {
  display: block;
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.25rem;
}

.kv-state {
  display: grid;
  justify-items: start;
  gap: var(--s-2);
  margin: 0;
}

.kv-state small {
  padding: 2px var(--s-2);
  background: rgb(0 0 0 / 0.62);
  color: rgb(236 242 250 / 0.9);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kv-state .slot-line {
  margin: 0;
}

@media (max-width: 1180px) {
  .kv-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .kv-board {
    grid-template-columns: 1fr;
    padding-inline: var(--s-4);
  }
}

/* ---------- preloader ---------- */

.preloader {
  display: none;
}

html.is-loading .preloader {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  background: var(--c-black);
  animation: preloader-failsafe 0.6s 3.2s forwards;
}

html.is-leaving .preloader {
  display: grid;
  position: fixed;
  inset: 0;
  z-index: 95;
  place-items: center;
  background: var(--c-black);
  opacity: 0;
  transition: opacity 0.7s var(--ease-in-out);
  pointer-events: none;
}

.preloader-inner {
  display: grid;
  gap: var(--s-4);
  width: min(320px, 70vw);
}

.preloader-name {
  font-size: 0.875rem;
  font-stretch: var(--w-wide);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-dim);
}

/* The horizon line: it fills as the face and the hero picture arrive. */
.preloader-line {
  height: 1px;
  background: var(--c-rule);
  overflow: hidden;
}

.preloader-line i {
  display: block;
  height: 100%;
  background: var(--c-accent);
  transform-origin: left;
  transform: scaleX(var(--load, 0.08));
  transition: transform 0.6s var(--ease-out);
}

@keyframes preloader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ---------- main and sections ---------- */

main {
  display: block;
}

.section {
  position: relative;
  isolation: isolate;
  padding: var(--s-9) var(--gutter);
}

/* Each section gets its own light from the upper right, so the sky has depth all the way down. */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 50% at 80% 10%, rgb(53 140 220 / 0.09), transparent 70%);
  pointer-events: none;
}

.section + .section {
  border-top: 1px solid rgb(196 220 255 / 0.06);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.statement {
  font-size: var(--t-statement);
  line-height: var(--lh-statement);
  font-stretch: var(--w-display);
  font-weight: 380;
  letter-spacing: -0.015em;
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-5);
  align-items: end;
  margin-bottom: var(--s-8);
}

.section-head h2 {
  grid-column: 1 / span 8;
}

.section-head p {
  grid-column: 9 / span 4;
  color: var(--c-dim);
  max-width: 34ch;
}

@media (max-width: 760px) {
  .section-head {
    grid-template-columns: 1fr;
    margin-bottom: var(--s-7);
  }

  .section-head h2,
  .section-head p {
    grid-column: 1;
  }
}

/* ---------- home: the flight (hero and the three pages on one stage) ---------- */

.flight {
  position: relative;
  /* The stage's sky: black overhead, a lit horizon low behind the bezel. */
  background:
    radial-gradient(70% 55% at 68% 62%, rgb(53 140 220 / 0.20), transparent 70%),
    radial-gradient(140% 50% at 50% 108%, rgb(28 72 118 / 0.75), transparent 72%),
    linear-gradient(180deg, var(--c-black) 0, var(--c-space) 40%, #061427 100%);
}

.flight-stage {
  position: relative;
}

/* The band the bezel may use (round 5, point 56): a gap under the header and a margin above the
 * floor, both a share of the stage height clamped in px. assets/js/fit.js holds the same numbers
 * (GAP_*, FLOOR_*) for the 3D poses; fit.test.mjs checks the two agree. */
.stage-media {
  --bezel-gap: clamp(64px, 12dvh, 128px);
  --bezel-floor: clamp(40px, 8dvh, 96px);
  --bezel-band: calc(100dvh - var(--stage-top) - var(--bezel-gap) - var(--bezel-floor));
  --bezel-cx: 68%;
  --bezel-cy: calc(var(--stage-top) + var(--bezel-gap) + var(--bezel-band) * 0.445);
  position: relative;
  display: grid;
  place-items: center;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
}

/* The backdrop before the live runway, and instead of it on a phone, with reduced motion or without
 * WebGL: a still of the same scene (assets/js/runway.js, rendered by render/runway-still.html).
 * Its vanishing point sits at 34% across (VIEW.vanish) and its horizon at 40% down, and `cover` keeps that point
 * at the same share of the stage at every aspect, so the swap to the live canvas does not jump.
 * A faint light behind the bezel lifts it off the night. */
.stage-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(34% 40% at var(--bezel-cx) 46%, rgb(80 170 240 / 0.10), transparent 70%),
    url("/assets/scene/runway.webp") 34% 40% / cover no-repeat,
    #020509;
  pointer-events: none;
}

/* The picture (assets/renders/left.webp, 1600 x 1000) is the three-quarter view: its bezel runs
 * from 11% to 98% of the picture's height, 0.87 of it, so the picture is 1 / 0.87 / 0.625 = 1.84
 * band heights wide at most, and centred a touch high in the band to match the bezel's own centre
 * (54.7% down the picture). */
.stage-poster {
  position: absolute;
  left: var(--bezel-cx);
  top: var(--bezel-cy);
  width: min(62vw, var(--bezel-band) * 1.84);
  max-width: none;
  transform: translate3d(-50%, -50%, 0);
  filter: drop-shadow(0 40px 60px rgb(0 0 0 / 0.8));
}

.stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s var(--ease-in-out);
}

.stage-canvas.is-live {
  opacity: 1;
}

.stage-canvas.is-live ~ .stage-poster,
.stage-media:has(.stage-canvas.is-live) .stage-poster {
  opacity: 0;
  transition: opacity 1.2s var(--ease-in-out);
}

/* The headline lockup, low and left, beside the bezel rather than under it. */
.hero-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: var(--s-5);
  width: min(46%, 56rem);
  padding: 0 0 clamp(40px, 9vh, 104px) var(--gutter);
}

.hero-copy h1 {
  display: grid;
  gap: clamp(10px, 1.6vh, 20px);
  font-size: min(var(--t-hero), 12.5vh, 6vw);
  line-height: 0.94;
  font-stretch: var(--w-wide);
  font-weight: 340;
  letter-spacing: -0.03em;
  margin-left: -0.05em;
}

/* The simulator, said at once and in the display face: this is a product for the simulator. */
.hero-sim {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: var(--t-sim);
  line-height: 1.15;
  font-weight: 560;
  font-stretch: 112%;
  letter-spacing: 0.005em;
  color: #8fd6ff;
  text-shadow: 0 0 28px rgb(53 183 255 / 0.35);
  margin-left: 0.08em;
}

@media (min-width: 1200px) {
  .hero-sim {
    white-space: nowrap;
  }
}

.hero-sim::before {
  content: "";
  flex: none;
  width: 2.2em;
  height: 1px;
  background: linear-gradient(90deg, var(--c-accent), rgb(53 183 255 / 0.2));
}

.hero-copy .lede {
  max-width: 44ch;
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--c-dim);
}

/* The hero's one key, Fly the browser demo, with Compare Lite and Premium as a text link beside it. */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-6);
  margin-top: var(--s-3);
}

/* The headline's cascade: words rise out of a mask, letters in a short stagger. */
.split-word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
  vertical-align: top;
}

.split-char {
  display: inline-block;
  will-change: transform;
}

html.motion .split-char {
  opacity: 0;
  transform: translate3d(0, 105%, 0) rotate(4deg);
}

html.motion.is-ready .split-char {
  opacity: 1;
  transform: none;
  transition: transform 1.1s var(--ease-out), opacity 0.6s;
  transition-delay: calc(var(--i) * 28ms + 120ms);
}

html.motion .hero-rise {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

html.motion.is-ready .hero-rise {
  opacity: 1;
  transform: none;
  transition: transform 1.2s var(--ease-out) 0.7s, opacity 1s 0.7s;
}

/* The picture's entrance runs only where the cinematic layer does (CINEMA_QUERY in site.js):
   on a narrower screen it is painted at once, as the page's largest paint. */
@media (min-width: 900px) {
  html.motion .stage-poster {
    opacity: 0;
    transform: translate3d(-50%, -46%, 0) scale(0.96);
  }

  html.motion.is-ready .stage-poster {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0);
    transition: transform 1.8s var(--ease-out), opacity 1.4s;
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--s-4);
  z-index: 2;
  display: none;
  width: 22px;
  height: 40px;
  transform: translateX(-50%);
}

.scroll-cue span,
.scroll-cue::before,
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 9px;
  background: var(--c-ink);
  clip-path: polygon(0 0, 50% 60%, 100% 0, 100% 40%, 50% 100%, 0 40%);
  opacity: 0.18;
  animation: cue 1.6s steps(1) infinite;
}

.scroll-cue::before {
  top: 0;
}

.scroll-cue span {
  top: 14px;
  animation-delay: 0.2s;
}

.scroll-cue::after {
  top: 28px;
  animation-delay: 0.4s;
}

@keyframes cue {
  0% {
    opacity: 1;
  }
  14% {
    opacity: 0.18;
  }
}

/* The chapters, stacked: phones, no WebGL, reduced motion. */
.chapters {
  list-style: none;
  margin: 0;
  padding: var(--s-8) var(--gutter) var(--s-9);
  display: grid;
  gap: var(--s-9);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
}

.chapter {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-5) var(--s-5);
  align-items: center;
}

.chapter-shot {
  grid-column: 1 / span 7;
  margin: 0;
}

.chapter-text {
  grid-column: 9 / span 4;
  display: grid;
  gap: var(--s-4);
}

.chapter:nth-child(odd) .chapter-shot {
  grid-column: 6 / span 7;
  grid-row: 1;
}

.chapter:nth-child(odd) .chapter-text {
  grid-column: 1 / span 4;
  grid-row: 1;
}

.chapter-intro .chapter-text {
  grid-column: 1 / span 9;
}

.chapter-intro p {
  max-width: 52ch;
}

.chapter h2 {
  font-size: var(--t-statement);
  line-height: var(--lh-statement);
  font-stretch: var(--w-display);
  font-weight: 380;
  letter-spacing: -0.015em;
}

.chapter .page-name {
  font-stretch: var(--w-wide);
  font-weight: 300;
}

.chapter p {
  color: var(--c-dim);
  max-width: 40ch;
}

/* Glass shots sit in a thin bezel line, as on the panel. */
.glass {
  margin: 0;
  padding: 6px;
  border: 1px solid rgb(196 220 255 / 0.12);
  background: linear-gradient(160deg, #1b222b, #07090c 60%);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.glass img {
  width: 100%;
}

.stage-hud {
  display: none;
}

@media (max-width: 760px) {
  /* The stage grows with the copy under the poster; the still keeps to the poster's band and fades
   * out before the headline, so no runway light sits behind the words. */
  .stage-glow {
    background:
      linear-gradient(180deg, transparent 0, transparent 330px, #020509 430px),
      url("/assets/scene/runway.webp") 34% 0 / auto 500px no-repeat,
      #020509;
  }

  .stage-media {
    height: auto;
    min-height: 0;
    padding-top: calc(var(--header-h) + var(--s-5));
    display: block;
  }

  .stage-poster {
    position: relative;
    left: auto;
    top: auto;
    width: 128%;
    margin-left: -14%;
    transform: none;
  }

  html.motion .stage-poster,
  html.motion.is-ready .stage-poster {
    transform: none;
  }

  .hero-copy {
    position: relative;
    width: auto;
    padding: var(--s-5) var(--gutter) var(--s-8);
  }

  .hero-copy h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .hero-sim {
    margin-left: 0;
  }

  .hero-sim::before {
    display: none;
  }

  .hero-copy .buttons {
    justify-content: flex-start;
  }

  .hero-copy .button {
    flex: 1 1 auto;
  }

  .chapter,
  .chapter:nth-child(odd) {
    grid-template-columns: 1fr;
  }

  .chapter-shot,
  .chapter-text,
  .chapter:nth-child(odd) .chapter-shot,
  .chapter:nth-child(odd) .chapter-text,
  .chapter-intro .chapter-text {
    grid-column: 1;
    grid-row: auto;
  }
}

/* The 3D stage on a capable desktop: the section is long, the stage stays, the scroll flies it. */
html.has-3d .flight {
  height: 560vh;
}

html.has-3d .flight-stage {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
}

/* The stage is exactly the viewport: a taller canvas would be cropped at the bottom and put every
 * fitted pose off its band. */
html.has-3d .stage-media {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
}

html.has-3d .scroll-cue {
  display: block;
}

/* The headline sits above the stage's dark floor, which only the chapters read through. */
html.has-3d .hero-copy {
  z-index: 4;
}

html.has-3d .chapters {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  padding: 0;
  max-width: none;
  pointer-events: none;
}

html.has-3d .chapter {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(48px, 12vh, 128px);
  width: min(30rem, 34vw);
  display: block;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

/* The captions fade only once the stage flies (`is-flying`, set by bezel.js a frame after
 * `has-3d`): the moment the stacked chapters turn into the stage's captions they hide at once, so
 * the inactive ones never fade out over each other on load (pre-launch audit, item 1). */
html.has-3d.is-flying .chapter {
  transition: opacity 0.7s var(--ease-in-out), transform 0.9s var(--ease-out);
}

html.has-3d .chapter-intro {
  width: min(44rem, 46vw);
}

html.has-3d .chapter.is-active {
  opacity: 1;
  transform: none;
}

html.has-3d .chapter-shot {
  display: none;
}

html.has-3d .chapter-text {
  gap: var(--s-4);
}

html.has-3d .chapter .page-name {
  display: block;
  font-size: clamp(3rem, 2rem + 4vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

/* Page-name ticks: where on the glass the reader is. A vertical tape on the right edge, clear of
 * the bezel at every height (a row along the floor ran into the bezel's knobs on short windows). */
html.has-3d .stage-hud {
  position: absolute;
  right: clamp(16px, 2.2vw, 44px);
  top: 50%;
  z-index: 3;
  display: grid;
  gap: var(--s-6);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.6s;
}

html.has-3d .stage-hud.is-on {
  opacity: 1;
}

.stage-hud span {
  display: grid;
  grid-template-columns: 40px auto;
  align-items: center;
  gap: var(--s-3);
  font-size: clamp(1.125rem, 0.7rem + 0.6vw, 1.5rem);
  font-stretch: var(--w-wide);
  font-weight: 560;
  letter-spacing: 0.06em;
  color: rgb(196 220 255 / 0.5);
  transition: color 0.4s;
}

.stage-hud span::before {
  content: "";
  width: 40px;
  height: 4px;
  background: rgb(196 220 255 / 0.18);
  transition: background-color 0.4s, box-shadow 0.4s;
}

.stage-hud span.is-on {
  color: var(--c-ink);
}

@media (max-width: 1279px) {
  .stage-hud span {
    grid-template-columns: 40px;
    font-size: 0;
  }
}

.stage-hud span.is-on::before {
  background: var(--c-accent);
  box-shadow: 0 0 12px rgb(53 183 255 / 0.85), 0 0 2px rgb(160 225 255 / 1);
}

/* A soft floor of darkness so the words over the stage always read. */
html.has-3d .flight-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  z-index: 2;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.7));
  pointer-events: none;
}

/* ---------- home: hardware interlude ---------- */

.interlude {
  position: relative;
  overflow: hidden;
  padding: var(--s-9) var(--gutter);
  background:
    radial-gradient(55% 70% at 72% 50%, rgb(53 140 220 / 0.14), transparent 70%),
    linear-gradient(180deg, #061427, transparent 40%);
}

.interlude-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-5);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.interlude .statement {
  grid-column: 1 / span 7;
  grid-row: 1;
  position: relative;
  z-index: 2;
}

.interlude-copy {
  grid-column: 9 / span 4;
  grid-row: 1;
  align-self: end;
  display: grid;
  gap: var(--s-4);
  justify-items: start;
  color: var(--c-dim);
  max-width: 38ch;
}

/* The lineup (round 5, point 58): the display and its three companion panels at true scale, set
 * large on a lit shelf, the product-lineup moment of the page. The render is transparent; the shelf
 * is one engraved rule with a light pooled on it, and the reflection is the browser's own where it
 * has one (-webkit-box-reflect), nothing where it has not. */
.lineup {
  position: relative;
  max-width: var(--max);
  margin: var(--s-8) auto 0;
  padding: 0 0 var(--s-5);
}

.lineup::before {
  content: "";
  position: absolute;
  inset: 8% 6% 18%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 55%, rgb(53 140 220 / 0.22), transparent 70%);
  pointer-events: none;
}

.lineup img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.7));
  -webkit-box-reflect: below 2px linear-gradient(transparent 74%, rgb(255 255 255 / 0.1));
}

.lineup figcaption {
  position: relative;
  margin: var(--s-7) 0 0;
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-rule-strong);
  color: var(--c-dim);
  font-size: var(--t-small);
  max-width: 72ch;
}

.lineup figcaption::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 1px;
  background: var(--c-accent);
  box-shadow: var(--lamp-glow);
}

/* The three panel cards: one glass pane split into bays, like the hangar board. */
.panel-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--max);
  margin: var(--s-6) auto 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--c-frost-edge);
  background: var(--glass-sheen), rgb(10 22 38 / 0.5);
  box-shadow: var(--glass-edge);
}

.panel-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.panel-card + .panel-card {
  border-left: 1px solid var(--c-rule-strong);
}

.panel-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: clamp(240px, 20vw, 320px);
  margin: 0;
  padding: var(--s-5) 0 var(--s-4);
  border-bottom: 1px solid var(--c-rule);
  background: radial-gradient(40% 50% at 50% 55%, rgb(53 140 220 / 0.16), transparent 75%);
}

.panel-shot img {
  width: auto;
  height: 100%;
  min-height: 0;
  filter: drop-shadow(0 18px 24px rgb(0 0 0 / 0.7));
}

.panel-text {
  padding: var(--s-5);
}

.panel-text h3 {
  margin: 0 0 var(--s-2);
  font-family: var(--f-display);
  font-size: var(--t-h3);
  font-weight: 500;
  font-stretch: var(--w-display);
}

.panel-text p {
  margin: 0;
  color: var(--c-dim);
}

@media (max-width: 760px) {
  .interlude-grid {
    grid-template-columns: 1fr;
  }

  .interlude .statement,
  .interlude-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .lineup {
    margin-top: var(--s-7);
  }

  .lineup figcaption {
    margin-top: var(--s-5);
  }

  .panel-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel-card {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
  }

  .panel-card + .panel-card {
    border-left: 0;
    border-top: 1px solid var(--c-rule-strong);
  }

  .panel-shot {
    height: 150px;
    padding: var(--s-3) 0;
    border-bottom: 0;
    border-right: 1px solid var(--c-rule);
  }

  .panel-text {
    padding: var(--s-4);
  }

  .panel-text h3 .chip {
    margin: var(--s-2) 0 0;
    display: flex;
    width: max-content;
  }
}

/* ---------- home: what it does today ---------- */

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--s-6);
  row-gap: var(--s-7);
}

.features li {
  display: grid;
  align-content: start;
  gap: var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-rule);
}

.features h3 {
  font-size: var(--t-h3);
  font-stretch: var(--w-display);
  font-weight: 500;
  line-height: 1.3;
}

.features p {
  color: var(--c-dim);
  font-size: 0.9375rem;
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ---------- home: the live demo ---------- */

.demo {
  max-width: var(--max);
  margin: 0 auto;
}

.demo-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 10px solid #05080c;
  outline: 1px solid var(--c-rule-strong);
  background: radial-gradient(70% 70% at 50% 40%, #0f1a26, var(--c-black));
  box-shadow: 0 40px 90px rgb(0 0 0 / 0.6), inset 0 0 0 1px rgb(196 220 255 / 0.08);
}

.demo-frame img {
  position: absolute;
  inset: 6% 8%;
  width: 84%;
  height: 88%;
  object-fit: contain;
}

.demo-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-4);
  font-size: var(--t-small);
}

.demo-bar a {
  color: var(--c-ink);
}

.demo-frame.is-loaded img {
  visibility: hidden;
}

/* ---------- home: supported aircraft ----------
 * The hangar board (round 4, point 54): one pane of glass split into bays by engraved rules, the
 * way the header splits its cells. An aircraft takes a full-width bay: our own display shot in a
 * dark 10 px bezel, and beside it a placard with the type in the wide display face over the status
 * on a lit cyan annunciator. The open slots stand below it, three across, as closed hangar doors:
 * horizontal slats behind a dashed frame, dim words and an unlit lamp, so each reads as a place and
 * never as a product. Every bay comes from data/aircraft.json `supported`, in order. */

.crafts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--c-frost-edge);
  background: var(--glass-sheen), rgb(10 22 38 / 0.5);
  box-shadow: var(--glass-edge);
}

.craft {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: 1fr repeat(4, auto);
  grid-column: 1 / -1;
}

.craft + .craft {
  border-top: 1px solid var(--c-rule-strong);
}

.craft-picture {
  grid-row: 1 / -1;
  margin: 0;
}

.craft-picture.glass {
  aspect-ratio: 16 / 10;
  margin: var(--s-6);
  overflow: hidden;
  border: 10px solid #05080c;
  outline: 1px solid var(--c-rule-strong);
  background: var(--c-black);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.5), inset 0 0 0 1px rgb(196 220 255 / 0.08);
}

/* A photo of the real aircraft (round 5, point 59): graded to dusk so it sits in the night,
 * edge to edge in its bay with no bezel, the credit set small on the picture's foot. */
.craft-picture.photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-right: 1px solid var(--c-rule);
  background: var(--c-night);
}

/* The photo's sky fades into the pane at its inner edge, so the bay has no hard seam. */
.craft-picture.photo::after {
  content: "";
  position: absolute;
  inset: 0 0 0 70%;
  background: linear-gradient(90deg, transparent, rgb(8 18 32 / 0.55));
  pointer-events: none;
}

.craft-picture.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft-credit {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  padding: var(--s-1) var(--s-3);
  background: rgb(2 5 11 / 0.6);
  color: var(--c-dim);
  font-size: 0.6875rem;
  line-height: 1.5;
}

.craft-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--c-rule-strong);
  text-underline-offset: 2px;
}

.craft-credit a:hover,
.craft-credit a:focus-visible {
  color: var(--c-ink);
  text-decoration-color: var(--c-accent);
}

.craft-photo .craft-name,
.craft-photo .craft-status {
  border-left: 0;
}

.craft-picture.glass img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft .craft-name,
.craft-status {
  margin: 0;
  padding: 0 var(--s-6);
  border-left: 1px solid var(--c-rule);
}

/* One quiet line under the status, aligned with the status words past its lamp, e.g. the coming
   MSFS 2020 version. It borrows the status's bottom padding, so the card keeps its height. */
.craft-note {
  grid-column: -2;
  margin: calc(-1 * var(--s-5)) 0 0;
  padding: 0 var(--s-6) var(--s-6) calc(var(--s-6) + 10px + var(--s-3));
  color: var(--c-dim);
  font-family: var(--f-display);
  font-size: var(--t-small);
  font-stretch: var(--w-display);
}

.craft .craft-name {
  align-self: end;
  padding-bottom: var(--s-4);
}

.craft .craft-name {
  font-family: var(--f-display);
  font-size: clamp(2rem, 1rem + 2.6vw, 4rem);
  font-weight: 500;
  font-stretch: var(--w-wide);
  line-height: 1;
  letter-spacing: 0.01em;
}

/* The status is an annunciator: a square lamp and its legend, in a cell of its own. */
.craft-status {
  display: flex;
  align-items: center;
  align-self: stretch;
  align-items: start;
  gap: var(--s-3);
  padding-bottom: var(--s-6);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: var(--t-small);
  font-weight: 500;
  font-stretch: var(--w-display);
  white-space: nowrap;
}

.craft-status::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--c-accent);
  box-shadow: var(--lamp-glow);
}

/* The developer under the type, named only with an agreement recorded in data/aircraft.json. */
.craft-developer {
  grid-column: -2;
  margin: calc(-1 * var(--s-3)) 0 0;
  padding: 0 var(--s-6) var(--s-4);
  border-left: 1px solid var(--c-rule);
  color: var(--c-dim);
  font-family: var(--f-display);
  font-size: var(--t-small);
  font-stretch: var(--w-display);
}

.craft-photo .craft-developer {
  border-left: 0;
}

/* The Supported aircraft page: each aircraft bay ends on its store key, the store named on a
 * second, smaller line of the key. Not wired, it is the lit pane of the buy key not wired yet. */
.craft-get {
  grid-column: -2;
  margin: 0;
  padding: 0 var(--s-6) var(--s-6);
}

.craft-store {
  flex-wrap: wrap;
  row-gap: 0;
}

.craft-store-name {
  flex-basis: 100%;
  color: var(--c-dim);
  font-size: 0.75rem;
  font-weight: 400;
}

.prose .crafts {
  margin-top: var(--s-6);
}

.prose .craft .craft-name {
  margin: 0;
  border-top: 0;
  padding-top: 0;
}

.prose .craft-slot .craft-name {
  font-size: var(--t-h3);
}

/* The home page's board leads to the Supported aircraft page, where each aircraft has its store. */
.crafts-foot {
  margin: var(--s-5) 0 0;
  text-align: right;
}

/* An open slot: a closed hangar door. */
.craft-slot {
  grid-column: auto;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: var(--s-1);
  padding: var(--s-5);
  border-top: 1px solid var(--c-rule-strong);
}

.craft-slot + .craft-slot {
  border-left: 1px solid var(--c-rule-strong);
}

.craft-slot .craft-picture {
  grid-row: auto;
  height: clamp(56px, 5vw, 88px);
  margin-bottom: var(--s-3);
  border: 1px dashed var(--c-rule-strong);
  background: repeating-linear-gradient(180deg, rgb(196 220 255 / 0.07) 0 1px, transparent 1px 9px);
}

.craft-slot .craft-name,
.craft-slot .craft-status {
  align-self: start;
  padding: 0;
  border: 0;
}

.craft-slot .craft-name {
  color: var(--c-dim);
  font-size: var(--t-h3);
  font-stretch: var(--w-display);
}

.craft-slot .craft-status {
  height: auto;
  color: var(--c-dim);
  font-weight: 400;
}

.craft-slot .craft-status::before {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--c-faint);
}

@media (max-width: 760px) {
  .crafts {
    grid-template-columns: minmax(0, 1fr);
  }

  .craft {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .craft-picture.glass {
    grid-row: auto;
    margin: var(--s-4) var(--s-4) 0;
    border-width: 6px;
  }

  .craft-picture.photo {
    grid-row: auto;
    border-right: 0;
    border-bottom: 1px solid var(--c-rule);
  }

  .craft .craft-name,
  .craft-status {
    padding: var(--s-4);
    border-left: 0;
  }

  .craft-developer {
    margin: calc(-1 * var(--s-3)) 0 0;
    padding: 0 var(--s-4) var(--s-2);
    border-left: 0;
  }

  .craft-get {
    padding: 0 var(--s-4) var(--s-5);
  }

  .craft .craft-name {
    padding-bottom: var(--s-2);
  }

  .craft-slot + .craft-slot {
    border-left: 0;
  }

  .craft-slot {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: var(--s-4);
    padding: var(--s-4);
    border-top: 1px solid var(--c-rule-strong);
  }

  .craft-slot .craft-picture {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: auto;
    margin: 0;
  }
}

/* ---------- home: the editions ---------- */

/* Pilot quotes (operator 2026-11-18): one glass pane split into three bays by engraved rules, like
   the hangar board. A bay is a large quote mark, the words in the display face, then a monogram on a
   glass key cap with its lamp, the name and the context. A sample carries an annunciator in its
   corner, lamp off, so it never reads as a real pilot's words. */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--c-frost-edge);
  background: var(--glass-sheen), rgb(10 22 38 / 0.5);
  box-shadow: var(--glass-edge);
}

.quote {
  position: relative;
  display: grid;
  padding: var(--s-7) var(--s-6) var(--s-6);
}

.quote + .quote {
  border-left: 1px solid var(--c-rule-strong);
}

.quote figure {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--s-6);
  margin: 0;
}

.quote blockquote {
  position: relative;
  margin: 0;
  padding-top: var(--s-7);
}

/* The quote mark: a big squared opening mark in the display face, engraved rather than lit. */
.quote blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.2em;
  left: -0.04em;
  color: rgb(53 183 255 / 0.55);
  font-family: var(--f-display);
  font-size: 9rem;
  font-weight: 300;
  font-stretch: var(--w-wide);
  line-height: 1;
  text-shadow: 0 0 18px rgb(53 183 255 / 0.25);
}

.quote blockquote p {
  margin: 0;
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: var(--t-h3);
  font-weight: 380;
  font-stretch: var(--w-display);
  line-height: 1.45;
  letter-spacing: -0.005em;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-rule);
}

/* An illustrated avatar: a square glass tile, lamp lit down its left edge, a sheen on the glass. */
.quote-avatar {
  flex: none;
  display: block;
  width: 56px;
  height: 56px;
  border: 1px solid var(--c-rule-strong);
  border-left: 3px solid var(--c-accent);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.14),
    -2px 0 10px -2px rgb(53 183 255 / 0.45),
    0 6px 18px rgb(0 0 0 / 0.45);
  background: var(--c-deep);
}

/* The monogram: a square glass key cap with its lamp lit down the left edge. */
.quote-mono {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding-left: 4px;
  border: 1px solid var(--c-rule-strong);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0) 55%),
    rgb(12 30 52 / 0.7);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.14),
    inset 0 -1px 0 rgb(0 0 0 / 0.6);
  color: #d9f0ff;
  font-family: var(--f-display);
  font-size: 0.9375rem;
  font-weight: 600;
  font-stretch: var(--w-wide);
  letter-spacing: 0.06em;
}

.quote-mono::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 4px;
  background: var(--c-accent);
  box-shadow: var(--lamp-glow);
}

.quote-who {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.quote cite {
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: 1rem;
  font-style: normal;
  font-weight: 540;
  font-stretch: var(--w-display);
  overflow-wrap: anywhere;
}

.quote-context {
  color: var(--c-dim);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* The Sample annunciator: the panel's status cell, lamp unlit, pinned in the bay's corner. */
.quote-sample {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  margin: 0;
  padding: 0 10px 0 8px;
  border: 1px dashed var(--c-rule-strong);
  background: rgb(3 8 16 / 0.6);
  color: var(--c-dim);
  font-family: var(--f-display);
  font-size: 0.6875rem;
  font-weight: 600;
  font-stretch: var(--w-wide);
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.quote-sample::before {
  content: "";
  width: 6px;
  height: 6px;
  box-shadow: inset 0 0 0 1px var(--c-faint);
}

@media (max-width: 960px) {
  .quotes {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote {
    padding: var(--s-6) var(--s-5) var(--s-5);
  }

  .quote + .quote {
    border-left: 0;
    border-top: 1px solid var(--c-rule-strong);
  }

  .quote figure {
    gap: var(--s-5);
  }

  .quote blockquote::before {
    font-size: 7rem;
  }
}

.editions-teaser {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
  max-width: var(--max);
  margin: 0 auto;
}

.edition-card {
  display: grid;
  align-content: start;
  gap: var(--s-4);
  padding: clamp(24px, 3vw, 48px);
}

.edition-card .edition-name {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4.5rem);
  line-height: 1;
  font-stretch: var(--w-wide);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.edition-price {
  font-size: var(--t-lead);
  font-stretch: var(--w-display);
}

.edition-terms {
  color: var(--c-dim);
  font-size: var(--t-small);
}

.edition-card ul {
  list-style: none;
  padding-left: 0;
  margin: var(--s-3) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.edition-card li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: var(--s-3);
  align-items: baseline;
  color: var(--c-ink);
  font-size: 0.9375rem;
}

.edition-card li::before {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--c-accent);
  transform: translateY(-4px);
}

.edition-card.premium {
  border-color: rgb(53 183 255 / 0.3);
  background:
    linear-gradient(90deg, var(--c-accent) 0 100%) 0 0 / 100% 2px no-repeat,
    radial-gradient(80% 60% at 100% 0%, rgb(53 183 255 / 0.14), transparent 70%),
    var(--c-frost);
}

.editions-foot {
  max-width: var(--max);
  margin: var(--s-6) auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  align-items: center;
  justify-content: space-between;
  color: var(--c-dim);
  font-size: var(--t-small);
}

@media (max-width: 760px) {
  .editions-teaser {
    grid-template-columns: 1fr;
  }
}

/* ---------- inner pages ---------- */

.page {
  padding: calc(var(--header-h) + clamp(48px, 10vw, 140px)) var(--gutter) var(--s-9);
  background:
    radial-gradient(60% 40% at 80% 0%, rgb(53 183 255 / 0.08), transparent 70%),
    var(--c-night);
}

.prose {
  max-width: var(--max);
  margin: 0 auto;
}

.prose > * {
  max-width: var(--measure);
}

.prose > * + * {
  margin-top: var(--s-4);
}

.prose h1 {
  max-width: none;
  margin-bottom: var(--s-7);
  font-size: var(--t-page);
  line-height: var(--lh-tight);
  font-stretch: var(--w-wide);
  font-weight: 320;
  letter-spacing: -0.035em;
}

.prose h1 + p {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--c-dim);
  max-width: 52ch;
}

.prose h2 {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-rule);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  line-height: 1.15;
  font-stretch: var(--w-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.prose h3 {
  margin-top: var(--s-6);
  font-size: var(--t-h3);
  font-stretch: var(--w-display);
  font-weight: 560;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: var(--s-2);
}

.prose li::marker {
  color: var(--c-accent);
}

.prose blockquote {
  margin-inline: 0;
  padding: var(--s-4) var(--s-5);
  border-left: 2px solid var(--c-rule-strong);
  color: var(--c-dim);
}

.prose strong {
  font-weight: 620;
}

.prose .buttons {
  margin-block: var(--s-6);
}

/* Wide blocks break out of the reading measure. */
.prose > .table-scroll,
.prose > .compare,
.prose > .plans,
.prose > .routes,
.prose > .crafts,
.prose > .buy-strip,
.prose > .compare-block,
.prose > .doc-cards {
  max-width: none;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--c-rule);
}

.prose table:not(.editions-table) {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.prose table:not(.editions-table) th,
.prose table:not(.editions-table) td {
  padding: var(--s-3) var(--s-4);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-rule);
}

.prose table:not(.editions-table) th {
  color: var(--c-dim);
  font-weight: 500;
}

/* ---------- editions page ---------- */

.plans {
  margin-block: var(--s-8);
}

.prose .plans .buttons {
  margin-block: var(--s-4) 0;
}

.plans-status {
  max-width: var(--measure);
  margin: var(--s-5) 0 0;
  color: var(--c-dim);
  font-size: var(--t-small);
}

.compare {
  overflow-x: auto;
  margin-top: var(--s-6);
}

.editions-table {
  width: 100%;
  border-collapse: collapse;
}

.editions-table caption {
  text-align: left;
  padding-bottom: var(--s-4);
  color: var(--c-dim);
  font-size: var(--t-small);
}

.editions-table thead th {
  position: sticky;
  top: 0;
  padding: var(--s-4);
  border-bottom: 1px solid var(--c-rule-strong);
  font-size: 0.875rem;
  font-stretch: var(--w-wide);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  background: var(--c-night);
}

.editions-table thead th:first-child {
  text-align: left;
  padding-left: 0;
}

.editions-table tbody th,
.editions-table td {
  padding: var(--s-4);
  border-bottom: 1px solid var(--c-rule);
  vertical-align: top;
}

.editions-table tbody th {
  padding-left: 0;
  text-align: left;
  font-weight: 400;
}

.editions-table .name {
  display: inline;
  font-stretch: var(--w-display);
  font-weight: 540;
}

.editions-table .what {
  display: block;
  margin-top: var(--s-1);
  max-width: 60ch;
  color: var(--c-dim);
  font-size: 0.9375rem;
}

/* The table's chip sits beside the row's name; its look is the site's one chip (see below). */
.editions-table .chip {
  margin-left: var(--s-2);
}

.editions-table td {
  width: 30%;
  text-align: center;
  font-stretch: var(--w-display);
}

.editions-table td.tbd {
  color: var(--c-dim);
  font-size: 0.875rem;
}

.editions-table td.yes {
  color: var(--c-accent);
}

.editions-table td.no {
  color: var(--c-faint);
}

.editions-table sup {
  font-size: 0.7em;
  margin-left: 2px;
}

.editions-table sup a,
.table-notes a {
  color: var(--c-dim);
}

.prose .table-notes {
  max-width: var(--measure);
  margin-top: var(--s-5);
  color: var(--c-dim);
  font-size: var(--t-small);
}

.table-notes li:target {
  color: var(--c-ink);
}

/* ---------- aircraft page ---------- */

.prose .routes {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-8);
  margin-top: var(--s-7);
}

.route {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-6);
  align-items: center;
}

.route-picture {
  grid-column: 1 / span 5;
  margin: 0;
}

.route-picture.render img {
  filter: drop-shadow(0 30px 50px rgb(0 0 0 / 0.75));
}

.route-body {
  grid-column: 6 / span 7;
  display: grid;
  gap: var(--s-3);
}

.prose .route-body h2 {
  margin: 0;
  padding: 0;
  border: 0;
}

.route .state {
  justify-self: start;
  padding: 2px var(--s-3);
  border: 1px solid var(--c-rule-strong);
  border-left: 3px solid var(--lamp-off);
  color: var(--c-dim);
  font-size: var(--t-small);
}

.route-text {
  color: var(--c-dim);
}

.facts {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-2) 0 0;
}

.facts div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: var(--s-3);
  padding-top: var(--s-2);
  border-top: 1px solid var(--c-rule);
  font-size: 0.9375rem;
}

.facts dt {
  color: var(--c-dim);
}

.facts dd {
  margin: 0;
}

.route-link {
  margin-top: var(--s-3);
}

@media (max-width: 760px) {
  .route {
    grid-template-columns: 1fr;
  }

  .route-picture,
  .route-body {
    grid-column: 1;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ---------- legal pages ---------- */

.legal > * + * {
  margin-top: var(--s-4);
}

.legal h1 {
  font-size: clamp(2.25rem, 1.2rem + 4vw, 4.5rem);
}

.draft-banner {
  max-width: var(--measure);
  padding: var(--s-5);
  border: 1px solid rgb(242 201 76 / 0.4);
  border-left: var(--lamp) solid var(--c-caution);
  background: var(--c-caution-wash);
}

.draft-banner p + p {
  margin-top: var(--s-3);
}

.draft-badge {
  color: var(--c-caution);
  font-stretch: var(--w-wide);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.placeholder {
  padding: 0 0.2em;
  background: var(--c-caution-wash);
  color: var(--c-caution);
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  isolation: isolate;
  padding: var(--s-9) var(--gutter) var(--s-6);
  overflow: hidden;
  background: linear-gradient(180deg, transparent, #061427 55%, #0b2540 100%);
}

/* The horizon the page has been flying towards: a lit limb of the earth, with a thin dawn line. */
.footer-horizon {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -62vw;
  z-index: -1;
  height: 80vw;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #0f3a5e 0, #082038 60%, transparent 72%);
  box-shadow: 0 -30px 120px rgb(80 170 240 / 0.28);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-7) var(--s-5);
  max-width: var(--max);
  margin: 0 auto;
}

.footer-lockup {
  grid-column: 1 / span 7;
  align-self: end;
}

.site-footer .footer-mark {
  max-width: none;
  text-wrap: balance;
  font-size: clamp(2.5rem, 1rem + 5.4vw, 7rem);
  line-height: 0.95;
  font-stretch: var(--w-wide);
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--c-ink);
}

.site-footer .footer-sim {
  margin-top: var(--s-4);
  font-size: var(--t-sim);
  font-weight: 420;
  font-stretch: 112%;
  color: #cfe9ff;
}

/* The three pages, in their own colours: the footer's signature, as on the home page's flight. */
.footer-cols {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 0;
  border-top: 1px solid var(--c-rule-strong);
  border-bottom: 1px solid var(--c-rule);
}

.footer-col {
  padding: var(--s-5) var(--s-5) var(--s-6);
  border-left: 1px solid var(--c-rule);
}

.footer-col:first-child {
  padding-left: 0;
  border-left: 0;
}

.footer-col h2 {
  margin-bottom: var(--s-4);
  font-size: 0.9375rem;
  font-weight: 560;
  font-stretch: var(--w-display);
  color: var(--c-ink);
}

.footer-site {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: var(--s-2) var(--s-7);
}

.footer-site a {
  color: var(--c-dim);
  font-size: var(--t-small);
  text-decoration: none;
}

.footer-site a:hover,
.footer-site a[aria-current="page"] {
  color: var(--c-ink);
}

.footer-base {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-2) var(--s-5);
  align-items: end;
}

.site-footer .footer-base p {
  grid-column: 1;
  color: var(--c-dim);
  font-size: var(--t-small);
  max-width: 72ch;
}

.footer-top {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--c-dim);
  font-size: var(--t-small);
  text-decoration: none;
}

.footer-top:hover {
  color: var(--c-ink);
}

.legal-nav {
  display: grid;
  gap: var(--s-2);
  align-content: start;
}

.legal-nav a:not(.footer-key),
.consent-open {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-dim);
  font: inherit;
  font-size: var(--t-small);
  text-decoration: none;
  cursor: pointer;
}

.legal-nav a:not(.footer-key):hover,
.legal-nav a[aria-current="page"],
.consent-open:hover {
  color: var(--c-ink);
}

/* The footer's contact keys under Help (operator 2026-11-18: contact lives in the footer only):
 * quiet glass keys in the K4 language, smaller than a page key. A pane of night glass with an inset
 * edge and a lamp down the left edge, off at rest; hover and keyboard focus light the lamp, tint the
 * pane and brighten the edge. A key not wired yet keeps the pane, its lamp stays off and the pointer
 * stays plain. */
.footer-key {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  margin-top: var(--s-1, 4px);
  padding: 0 var(--s-4) 0 calc(var(--s-4) + 3px);
  border: 0;
  background-color: var(--k-quiet-fill, rgb(8 18 32 / 0.36));
  background-image: var(--k-sheen, none);
  box-shadow: var(--k-edge, inset 0 0 0 1px rgb(255 255 255 / 0.18));
  color: var(--c-ink);
  font: inherit;
  font-family: var(--f-display);
  font-size: var(--t-small);
  font-weight: 560;
  font-stretch: 112%;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-backdrop-filter: var(--k-filter, blur(14px));
  backdrop-filter: var(--k-filter, blur(14px));
  transition: background-color 0.3s, box-shadow 0.3s;
}

.footer-key::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--lamp-off);
  transition: background-color 0.25s, box-shadow 0.25s;
}

a.footer-key:is(:hover, :focus-visible) {
  background-color: var(--k-fill-hover, rgb(22 96 158 / 0.6));
  box-shadow: var(--k-edge-hover, inset 0 0 0 1px rgb(255 255 255 / 0.7));
  color: #fff;
}

a.footer-key:is(:hover, :focus-visible)::before {
  background: var(--c-accent);
  box-shadow: var(--lamp-glow);
}

.footer-key[data-unwired] {
  color: var(--c-dim);
  cursor: default;
}

.legal-nav .footer-key + .footer-key {
  margin-top: 0;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-lockup,
  .footer-cols,
  .footer-base,
  .footer-top {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-base {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cols > :first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--c-rule);
  }

  .footer-col:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- consent ---------- */

.consent {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 80;
  border-left: 0;
  border-bottom: 0;
  width: min(460px, 100vw);
  max-height: 100dvh;
  overflow-y: auto;
  padding: var(--s-5);
  transform: translate3d(0, calc(100% + 32px), 0);
  opacity: 0;
  transition: transform 0.8s var(--ease-out), opacity 0.5s;
}

.consent.is-open {
  transform: none;
  opacity: 1;
}

.consent[hidden] {
  display: none;
}

.consent h2 {
  font-size: 1.125rem;
  font-stretch: var(--w-display);
  font-weight: 540;
}

.consent p {
  margin-top: var(--s-2);
  color: var(--c-dim);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.consent-actions .button {
  min-height: 44px;
  padding: 0 var(--s-4);
}

.consent-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-4);
  font-size: var(--t-small);
}

.consent-row a,
.consent-link {
  color: var(--c-dim);
  font-size: var(--t-small);
}

.consent-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--t-small);
  text-decoration: underline;
  text-decoration-color: var(--c-rule-strong);
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.consent-settings {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-rule);
}

.consent-settings[hidden] {
  display: none;
}

.consent-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-1) var(--s-4);
  align-items: center;
}

.consent-category strong {
  font-weight: 540;
  font-size: 0.9375rem;
}

.consent-category span {
  grid-column: 1;
  color: var(--c-dim);
  font-size: 0.8125rem;
  line-height: 1.45;
}

/* A switch built on a real checkbox. */
.switch {
  grid-row: 1 / span 2;
  grid-column: 2;
  appearance: none;
  position: relative;
  width: 46px;
  height: 24px;
  margin: 0;
  border: 1px solid var(--c-rule-strong);
  background: rgb(255 255 255 / 0.06);
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 16px;
  background: var(--c-ink);
  transition: transform 0.35s var(--ease-out);
}

.switch:checked {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.switch:checked::after {
  transform: translateX(20px);
  background: var(--c-accent-ink);
}

.switch:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- reduced motion: nothing moves ---------- */

/* ---------- annunciators, chips, links and the copy's small parts ---------- */

/* An annunciator: the panel's status cell. Square, an engraved edge, one lit cyan lamp, the legend in
 * the display face in capitals as a panel engraves it. It says what state a thing is in, never what
 * a section is about: the hero's launch state and each edition's. */
.eyebrow {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  margin: 0;
  padding: 0 var(--s-3) 0 10px;
  border: 1px solid var(--c-rule-strong);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.05), rgb(0 0 0 / 0.3)),
    rgb(3 8 16 / 0.6);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    inset 0 -1px 0 rgb(0 0 0 / 0.7),
    0 0 0 1px rgb(0 0 0 / 0.55);
  color: #bfe6ff;
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 600;
  font-stretch: var(--w-wide);
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--c-accent);
  box-shadow: var(--lamp-glow);
}

/* A text link: the display face with an engraved cyan rule under it; the rule lights on hover. */
a.text-link {
  display: inline-block;
  padding-block: 10px;
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 540;
  font-stretch: var(--w-display);
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-color: rgb(53 183 255 / 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

a.text-link:hover,
a.text-link:focus-visible {
  color: #bfe6ff;
  text-decoration-color: var(--c-accent);
}

.micro {
  margin: 0;
  color: var(--c-dim);
  font-size: var(--t-small);
}

/* A chip: a square tag with a left lamp. Premium's lamp is lit; In development's stays off. */
.chip {
  display: inline-flex;
  align-items: center;
  margin-left: var(--s-3);
  padding: 3px var(--s-2);
  border: 1px solid var(--c-rule-strong);
  border-left: 3px solid var(--lamp-off);
  color: var(--c-dim);
  font-family: var(--f);
  font-size: 0.6875rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  vertical-align: 0.18em;
}

.chip.premium {
  border-color: rgb(233 185 73 / 0.45);
  border-left-color: var(--c-premium);
  background: linear-gradient(180deg, rgb(233 185 73 / 0.14), rgb(233 185 73 / 0.04));
  color: var(--c-premium-ink);
  box-shadow: -2px 0 10px -2px rgb(233 185 73 / 0.55);
}

/* The buy slot: the primary key, the only control that may carry a buy word. Until the store opens
 * (content/site.json buyUrl empty) it is a real button marked aria-disabled: it keeps the full lit
 * key, so the page is ready, but its pointer says nothing happens yet. */
.slot-line {
  margin: 0;
}

.button.buy {
  min-height: 52px;
  padding-right: var(--s-6);
  font-size: 1rem;
}

.button:is(.buy, [data-unwired])[aria-disabled="true"] {
  background: var(--c-ink);
  border-color: var(--c-ink);
  border-style: solid;
  color: var(--c-black);
  cursor: default;
}

.button:is(.buy, [data-unwired])[aria-disabled="true"]::before {
  background: var(--c-accent);
  box-shadow: var(--lamp-glow);
}

.button:is(.buy, [data-unwired])[aria-disabled="true"]:hover,
.button:is(.buy, [data-unwired])[aria-disabled="true"]:focus-visible {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-accent-ink);
}

.interlude-copy .slot-line {
  margin-top: var(--s-5);
}

.prose .slot-line {
  margin-top: var(--s-6);
}

/* A page's close (`{{cta}}`): a placard with one line, the buy slot's key and the editions link
 * (DESIGN.md, Written as of launch). */
.prose .page-cta {
  max-width: none;
  margin-top: var(--s-8);
  padding: var(--s-6);
}

.prose .page-cta-line {
  margin: 0;
  color: var(--c-ink);
  font-size: var(--t-lead);
  font-stretch: var(--w-display);
}

.prose .page-cta .slot-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-5);
}

/* The buy strip (`{{buy}}`): one line and the buy key between the sections of a long page, so
 * about one buy key shows per screen of scrolling. Slimmer than the page close: no frost, a rule
 * above and below, the cyan lamp line at its top left. */
.prose .buy-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4) var(--s-6);
  margin: var(--s-6) 0;
  padding: var(--s-5) 0;
  border-block: 1px solid var(--c-rule);
  background: linear-gradient(90deg, var(--c-accent) 0 56px, transparent 56px) 0 -1px / 100% 2px no-repeat;
}

.prose .buy-strip-line {
  margin: 0;
  color: var(--c-ink);
  font-size: var(--t-body, 1rem);
  font-stretch: var(--w-display);
}

.prose .buy-strip .slot-line {
  margin: 0;
}

/* Under the editions table the strip sticks to the foot of the screen while the table is in view. */
.prose .compare-block > .buy-strip {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--c-rule-strong);
  background:
    linear-gradient(90deg, var(--c-accent) 0 56px, transparent 56px) 0 -1px / 100% 2px no-repeat,
    rgb(6 14 26 / 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* An edition card's key on the Editions page: Lite's text link, Premium's buy key. */
.edition-card .edition-action,
.edition-card .slot-line {
  margin: var(--s-3) 0 0;
}

/* The browser demo offered on a page other than Home: its own line, so a phone (where
 * `[data-demo]` is hidden) loses the whole sentence. */
.prose .demo-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  color: var(--c-dim);
}

/* A chapter's claim: the page's name, then what it means to the buyer on its own line. */
.chapter-claim {
  display: block;
  max-width: 22ch;
  margin-top: var(--s-3);
  color: var(--c-ink);
  font-size: clamp(1.25rem, 0.95rem + 1vw, 1.875rem);
  line-height: 1.2;
  font-weight: 380;
  font-stretch: var(--w-display);
  letter-spacing: -0.005em;
}

/* The license terms: four engraved cells, each with a cyan tick, under Premium's heading. */
.prose ul.license {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 48rem;
  margin: var(--s-5) 0 0;
  padding: 0;
  border: 1px solid var(--c-rule);
  background: var(--c-rule);
  list-style: none;
}

.prose .license li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: var(--s-3);
  align-items: baseline;
  margin: 0;
  padding: var(--s-4) var(--s-5);
  background: var(--c-night);
  color: var(--c-ink);
}

.prose .license li::before {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--c-accent);
  transform: translateY(-5px);
}

@media (max-width: 560px) {
  .prose ul.license {
    grid-template-columns: 1fr;
  }
}

/* ---------- the Buy page ----------
 * A focused checkout: the heading and one line of terms, then one glass placard. Its left column is
 * the decision (the edition, the price as the page's headline, the checkout key); its right column
 * is what Premium adds and the license terms. The legal line sits quiet under the placard. */

.prose > .buy-page {
  max-width: 72rem;
}

.buy-page > h1 {
  margin-bottom: var(--s-4);
}

.buy-card {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0;
  margin-top: var(--s-7);
  padding: 0;
}

.buy-head {
  display: grid;
  align-content: start;
  gap: var(--s-4);
  padding: clamp(28px, 3.4vw, 56px);
  border-right: 1px solid var(--c-rule);
}

.buy-card .edition-name {
  font-size: var(--t-lead);
  font-weight: 560;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* The price is the headline: the amount in the page's biggest type, its terms quiet beside it. */
.buy-card .edition-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--s-3);
  margin: 0;
  color: var(--c-dim);
  font-size: var(--t-lead);
  font-stretch: var(--w-display);
}

.buy-amount {
  color: var(--c-ink);
  font-size: clamp(3.5rem, 2rem + 4.6vw, 6.5rem);
  line-height: 0.95;
  font-stretch: var(--w-wide);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.buy-card .slot-line {
  margin-top: var(--s-5);
}

.buy-card .button.buy {
  width: 100%;
  min-height: 60px;
  font-size: 1.0625rem;
}

.buy-body {
  display: grid;
  align-content: start;
  gap: var(--s-4);
  padding: clamp(28px, 3.4vw, 56px);
}

.prose .buy-body > * {
  margin: 0;
}

.buy-label {
  color: var(--c-dim);
  font-size: var(--t-small);
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.buy-body .buy-label + .license {
  max-width: none;
}

.buy-body ul.buy-adds + .buy-label {
  margin-top: var(--s-4);
}

/* The licence panel after a completed checkout: the key in an engraved well, the
   Copy key as a panel key, square corners like every key.
   @afds SALES-107 */
.buy-licence {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-6);
  padding: var(--s-5);
}

.buy-licence[hidden],
.buy-licence [hidden] {
  display: none;
}

.prose .buy-licence > * {
  margin: 0;
}

.buy-licence-note {
  color: var(--c-dim);
}

.buy-licence-key {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  user-select: all;
  padding: var(--s-3);
  border: 1px solid var(--c-rule);
  border-radius: 0;
  font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: var(--t-small);
}

.buy-legal {
  max-width: 64ch;
  margin-top: var(--s-6);
  color: var(--c-dim);
  font-size: var(--t-small);
  line-height: 1.6;
}

.buy-legal a {
  color: inherit;
}

@media (max-width: 860px) {
  .buy-card {
    grid-template-columns: 1fr;
  }

  .buy-head {
    border-right: 0;
    border-bottom: 1px solid var(--c-rule);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-glass.is-moving,
  .nav-glass.is-moving::after {
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .split-char,
  .hero-rise,
  .stage-poster {
    opacity: 1 !important;
    transform: none !important;
  }

  .stage-poster {
    transform: translate3d(-50%, -50%, 0) !important;
  }

  .preloader,
  .scroll-cue {
    display: none !important;
  }

  /* The glass keys keep their blue tint; the glint never sweeps. */
  :is(.button, a.text-link)::after {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .stage-poster {
    transform: none !important;
  }
}

/* The miniSim demo runs only with a mouse on a wider screen (operator, 2026-11-18): on a phone or a
   touch-only tablet nothing marked data-demo is offered, and the hero's buy key takes its place. */
[data-phone] {
  display: none !important;
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  [data-demo] {
    display: none !important;
  }

  [data-phone] {
    display: inline-flex !important;
  }
}

/* ---------- Lite vs Premium, row by row (operator, 2026-11-18) ----------
   The plain table read as one long name column with two thin columns far to the right, so the eye
   had to travel to pair a value with its row. Now every row is a panel of three equal cells on a
   narrower measure: the feature, Lite's value and Premium's value, side by side; the two edition
   columns are glass plates under their own sticky labels, Premium's lit with its gold edge, and the
   row under the pointer lights across. On a phone the feature heads its row and the two values sit
   side by side under it. */
.compare .editions-table,
.compare .editions-table thead,
.compare .editions-table tbody {
  display: block;
  width: 100%;
  max-width: 1080px;
}

.compare .editions-table caption {
  display: block;
}

.compare .editions-table tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--s-3);
  align-items: stretch;
}

.compare .editions-table thead tr {
  position: sticky;
  top: var(--header-h, 64px);
  z-index: 1;
  padding: var(--s-2) 0;
  background: linear-gradient(180deg, rgb(5 12 23 / 0.96), rgb(5 12 23 / 0.88));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.compare .editions-table thead th {
  position: static;
  padding: var(--s-3) var(--s-4);
  border: 0;
  text-align: left;
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--c-ink);
}

.compare .editions-table thead th:first-child {
  padding-left: 0;
  color: var(--c-dim);
  font-size: 0.875rem;
}

.compare .editions-table thead th:nth-child(2),
.compare .editions-table thead th:nth-child(3) {
  border-top: 3px solid var(--lamp-off);
  background: rgb(160 196 240 / 0.06);
}

.compare .editions-table thead th:nth-child(3) {
  border-top-color: var(--c-premium);
}

.compare .editions-table tbody tr {
  border-bottom: 1px solid var(--c-rule);
  transition: background-color 0.2s;
}

.compare .editions-table tbody tr:hover {
  background: rgb(160 196 240 / 0.05);
}

.compare .editions-table tbody th,
.compare .editions-table tbody td {
  width: auto;
  padding: var(--s-4);
  border: 0;
  text-align: left;
  vertical-align: top;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.compare .editions-table tbody th {
  padding-left: 0;
}

.compare .editions-table tbody td {
  background: rgb(160 196 240 / 0.04);
  border-inline: 1px solid rgb(160 196 240 / 0.08);
}

.compare .editions-table tbody td:last-child {
  background: rgb(233 185 73 / 0.05);
  border-inline-color: rgb(233 185 73 / 0.14);
}

@media (max-width: 760px) {
  .compare .editions-table tr {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: var(--s-2);
  }

  .compare .editions-table thead th:first-child {
    display: none;
  }

  .compare .editions-table tbody th {
    grid-column: 1 / -1;
    padding: var(--s-4) 0 0;
  }

  .compare .editions-table tbody td {
    padding: var(--s-3);
    font-size: 0.875rem;
  }
}

/* The buy strip under the table keeps the table's measure, so the two read as one block. */
.prose > .compare-block {
  max-width: 1080px;
}

/* ---------- Pre-launch audit (2026-11-18) ---------- */

/* Editions (item 3): the label row sticks under the site header (at the very top while the header
 * hides), the buy strip only at the foot of the screen, and the block opens on a band at least as
 * tall as the strip, so when the table enters from below the strip covers that band, never the
 * label row or the first row. `.compare` stops being a scroll box, which kept the label row from
 * sticking to the page at all. */
.prose > .compare-block {
  display: flow-root;
  --strip-h: 88px;
}

.compare-block > .compare {
  overflow: visible;
  margin-top: 0;
  padding-top: var(--strip-h);
}

.compare .editions-table thead {
  position: sticky;
  top: var(--header-h, 72px);
  z-index: 1;
  transition: top 0.4s var(--ease-out);
}

body:has(.site-header.is-hidden) .compare .editions-table thead {
  top: 0;
}

.compare .editions-table thead tr {
  position: static;
}

@media (max-width: 760px) {
  /* On a phone the stuck strip is the key alone, full width, so it stays one short row. */
  .prose .compare-block > .buy-strip .buy-strip-line {
    display: none;
  }

  .prose .compare-block > .buy-strip .slot-line,
  .prose .compare-block > .buy-strip .button {
    width: 100%;
  }
}

/* Editions (weak selling): a dash for None, a lit mark for Complete and Same; the words stay for
 * screen readers. Premium's column carries its gold. */
.editions-table .cell-mark {
  display: inline-block;
  vertical-align: middle;
}

.editions-table .cell-mark.is-lit {
  width: 18px;
  height: 10px;
  border-left: 3px solid var(--c-accent);
  border-bottom: 3px solid var(--c-accent);
  transform: translateY(-3px) rotate(-45deg);
  filter: drop-shadow(0 0 4px rgb(53 183 255 / 0.55));
}

.editions-table td:last-child .cell-mark.is-lit {
  border-color: var(--c-premium);
  filter: drop-shadow(0 0 4px rgb(233 185 73 / 0.5));
}

.editions-table .cell-mark.is-none {
  width: 16px;
  height: 2px;
  background: var(--c-dim);
  opacity: 0.6;
}

.editions-table .cell-note {
  display: block;
  margin-top: var(--s-1);
  color: var(--c-dim);
  font-size: 0.8125rem;
}

.compare .editions-table tbody td:last-child {
  background: linear-gradient(180deg, rgb(233 185 73 / 0.09), rgb(233 185 73 / 0.05));
  color: var(--c-ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Phone hero (item 8): the poster fits the width, so the display's left edge is never cut. */
@media (max-width: 760px) {
  .stage-poster {
    width: 100%;
    margin-left: 0;
  }
}

/* Consent (item 9): on a desktop a compact bar at the foot of the left corner, one row under the
 * hero keys, shown from the first paint (`consent-due`, set by the head's bootstrap when no choice
 * is stored). While it is open the hero lifts its keys clear of it. */
html.consent-due .consent[hidden] {
  display: block;
  transform: none;
  opacity: 1;
}

@media (min-width: 961px) {
  .consent {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--s-1) var(--s-5);
    width: min(780px, 62vw);
    padding: var(--s-3) var(--s-5);
  }

  .consent h2 {
    grid-column: 1;
    font-size: 0.9375rem;
  }

  .consent p {
    grid-column: 1;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .consent-actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    grid-template-columns: auto auto;
    margin: 0;
  }

  .consent-row {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin: 0;
  }

  .consent-settings {
    grid-column: 1 / -1;
  }

  html.consent-due .consent[hidden] {
    display: grid;
  }

  :is(html.consent-due, body:has(.consent.is-open)) .hero-copy {
    padding-bottom: calc(clamp(40px, 9vh, 104px) + 96px);
  }
}

/* Mobile menu (polish): the dropdown is opaque glass, so the page never shows through it. */
@media (max-width: 960px) {
  html.js .site-header .site-nav,
  html.js:is([data-header]) .site-header .site-nav {
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.05), transparent 38%),
      rgb(5 11 21);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Unwired keys (Write to us, Open in docs, Get the aircraft): the lit pane of the not-wired buy key, never a link. */
.button[data-unwired] {
  cursor: default;
}

/* The Docs page (operator 2026-11-18: the docs live on a public Notion site): one glass pane split
 * into bays by engraved rules, like the hangar board. Six columns: the first two sections take half
 * the width each, the next three a third; two columns on a tablet, the first across both; stacked on
 * a phone. Each bay carries the placard's lit segment on its top edge, the section's name in the
 * display face, its one line in dim text, and the link to its page on the docs site at the foot. */
.prose .doc-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: var(--s-6) 0 var(--s-7);
  padding: 0;
  list-style: none;
  border: 1px solid var(--c-frost-edge);
  background: var(--c-rule-strong);
  box-shadow: var(--glass-edge);
}

.prose .doc-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-column: span 2;
  margin: 0;
  padding: var(--s-6) var(--s-5) var(--s-4);
  background: var(--glass-sheen), rgb(8 18 32 / 0.92);
}

.prose .doc-card:nth-child(-n + 2) {
  grid-column: span 3;
}

.prose .doc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--c-accent);
  box-shadow: var(--lamp-glow);
}

.prose .doc-card h2 {
  margin: 0 0 var(--s-3);
  padding: 0;
  border: 0;
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem);
  font-weight: 420;
  font-stretch: var(--w-display);
}

.prose .doc-card p {
  margin: 0;
  color: var(--c-dim);
}

.prose .doc-card .doc-open {
  margin-top: var(--s-4);
}

@media (max-width: 1080px) {
  .prose .doc-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prose .doc-card,
  .prose .doc-card:nth-child(-n + 2) {
    grid-column: span 1;
  }

  .prose .doc-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .prose .doc-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .prose .doc-card {
    padding: var(--s-5) var(--s-4) var(--s-3);
  }
}

/* A page's product picture near the top (weak selling): a glass shot or the panel lineup. */
.prose .page-shot {
  margin: var(--s-6) 0 var(--s-7);
}

.prose .page-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.prose .page-shot.glass {
  max-width: 880px;
  padding: 10px;
  background: #0b0f14;
  border: 1px solid var(--c-rule-strong);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.55);
}

.prose .page-shot.lineup {
  max-width: 1080px;
}

/* Premium's column head carries its gold over the column's wash. */
.compare .editions-table thead th.is-premium {
  color: var(--c-premium-ink);
  box-shadow: inset 0 3px 0 var(--c-premium);
}
