/* ==========================================================================
   AirTrafficTool -?flight-strip editorial + instrument panel
   Paper for reading, ink for the scope, amber for the one thing to click.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("/_a/space-grotesk-700.952dddb45d.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/_a/space-grotesk-500.952dddb45d.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/_a/inter-var.34b9c504ca.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1721;
  --ink-2: #102230;
  --ink-3: #1a3140;
  --paper: #f4efe4;
  --paper-2: #ebe4d4;
  --paper-3: #fdfbf5;
  --line: #d8ceba;
  --line-strong: #bfb29a;
  --text: #0d1b23;
  --muted: #586770;
  --muted-2: #7a8890;
  --amber: #c9761a;
  --amber-2: #e8931f;
  --amber-soft: rgba(232, 147, 31, 0.14);
  --teal: #0f7f72;
  --teal-soft: rgba(15, 127, 114, 0.1);
  --red: #b8433a;
  --text-body: #33454e;
  --ink-0: #08111d;
  --ink-line: #22323f;
  --ink-line-2: #2a3f4d;
  --on-ink: #e9eef2;
  --on-ink-2: #a9bcc6;
  --on-ink-3: #7e96a3;
  --amber-wash: #fbf3e5;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-text: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Inter";
  --wrap: 1180px;
  --gutter: 24px;
  --radius: 6px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(13, 27, 35, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(13, 27, 35, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
code { font-family: var(--font-mono); font-size: 0.86em; background: rgba(13, 27, 35, 0.06); padding: 0.12em 0.36em; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.wrap-narrow { max-width: 820px; }

::selection { background: var(--amber-soft); color: var(--ink); }

:focus-visible { outline: 2px solid var(--amber-2); outline-offset: 3px; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #0b1721;
  color: var(--on-ink);
  border-bottom: 1px solid rgba(232, 147, 31, 0.28);
}
.site-head::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 147, 31, 0.5), transparent);
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}
.brand:hover { color: #fff; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-ink-3);
  margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-block;
  padding: 9px 12px;
  color: var(--on-ink-2);
  text-decoration: none;
  font-size: 0.92rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: #fff; border-color: rgba(232, 147, 31, 0.42); background: rgba(232, 147, 31, 0.1); }
.head-cta { margin-left: 8px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber-2); color: #1b1205; border-color: var(--amber-2); }
.btn-amber:hover { background: #f7a83a; color: #1b1205; }
.btn-ink { background: #0b1721; color: var(--on-ink); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; border-color: rgba(255, 255, 255, 0.24); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 0.88rem; }
.btn-lg { min-height: 50px; padding: 14px 24px; font-size: 1rem; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(13, 27, 35, 0.08);
  box-shadow: 0 0 0 70px rgba(13, 27, 35, 0.022), 0 0 0 140px rgba(13, 27, 35, 0.018);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 44px;
  align-items: start;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.8; }
.eyebrow--plain::before { display: none; }

h1.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
h1.hero-title em { font-style: normal; color: var(--amber); }
.hero-lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 40ch;
  margin-bottom: 22px;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 26px;
}
.meta-row span { display: inline-flex; align-items: center; gap: 7px; }
.meta-row span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  background: var(--paper-3);
  padding: 15px 14px 14px;
}
.fact b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.fact span {
  display: block;
  margin-top: 7px;
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--muted);
}

/* ---------- game stage ---------- */

.stage-wrap { position: relative; }
.stage-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.stage-cap b { color: var(--ink); font-weight: 500; }

.stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #08111d;
  border-radius: var(--radius-lg);
  border: 1px solid #22323f;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 26px 50px -34px rgba(6, 17, 26, 0.9);
  overflow: hidden;
  isolation: isolate;
}
.stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #08111d;
}
.stage-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  align-content: end;
  padding: 26px;
  color: var(--on-ink);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(232, 147, 31, 0.22), transparent 58%),
    radial-gradient(80% 80% at 8% 90%, rgba(87, 217, 197, 0.16), transparent 60%),
    #08111d;
  cursor: pointer;
  transition: opacity 0.35s var(--ease);
}
.stage-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-radial-gradient(circle at 62% 44%, rgba(87, 217, 197, 0.16) 0 1px, transparent 1px 46px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px;
  mask-image: radial-gradient(90% 80% at 60% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}
.stage-cover::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: 26px;
  top: 24px;
  border-radius: 50%;
  border: 1px solid rgba(87, 217, 197, 0.22);
  box-shadow: 0 0 0 1px rgba(87, 217, 197, 0.06) inset;
  background: conic-gradient(from 0deg, rgba(232, 147, 31, 0.32), transparent 26%);
  opacity: 0.5;
  pointer-events: none;
  animation: sweep 9s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.stage-cover > * { position: relative; z-index: 1; }
.stage-tag {
  align-self: start;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-2);
  border: 1px solid rgba(159, 182, 195, 0.3);
  border-radius: 999px;
  padding: 5px 11px;
  margin-bottom: auto;
}
.stage-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.stage-title span { color: var(--amber-2); }
.stage-note { font-size: 0.84rem; line-height: 1.45; color: var(--on-ink-2); max-width: 34ch; margin: 0 0 18px; }
.stage-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.stage-actions .btn { min-height: 46px; }
.stage-hint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-ink-3);
  margin: 0;
}
.stage-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: #08111d;
  color: var(--on-ink-2);
  text-align: center;
}
.stage-loader p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-3);
  margin: 0;
}
.scope-sweep {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(87, 217, 197, 0.45);
  position: relative;
  background: radial-gradient(circle, rgba(87, 217, 197, 0.22), transparent 62%);
}
.scope-sweep::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(232, 147, 31, 0.75), transparent 22%);
  animation: sweep 1.15s linear infinite;
}
.stage-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.stage-bar .micro { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.link-quiet {
  background: none;
  border: 0;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-quiet:hover { color: var(--ink); }
.stage[data-gf-state="playing"] .stage-cover { opacity: 0; pointer-events: none; }
.stage[data-gf-state="loading"] .stage-loader { display: grid; }

/* ---------- sections ---------- */

.section { padding: 68px 0; position: relative; }
.section-tight { padding: 44px 0; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-ink { background: #0b1721; color: var(--on-ink); }
.section-ink .section-lede { color: var(--on-ink-2); }
.section-ink a { color: #f0b45f; }
.section-ink .section-title { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: 34px; }
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 34px;
}
.section-head-row .section-head { margin-bottom: 0; }
.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.section-lede { color: var(--text-body); font-size: 1.02rem; margin: 0; max-width: 62ch; }
h2 { scroll-margin-top: 96px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gap-lg { gap: 34px; }
.items-start { align-items: start; }

.card {
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  position: relative;
}
.card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.93rem; color: var(--text-body); }
.card-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 10px;
}
.card-ink { background: #102230; border-color: #243b4a; }
.card-ink h3 { color: #fff; }
.card-ink p { color: var(--on-ink-2); }
.card-ink .card-kicker { color: #f0b45f; }

.note {
  border-left: 2px solid var(--line-strong);
  padding: 2px 0 2px 16px;
  margin: 0 0 18px;
}
.note strong { display: block; font-size: 0.97rem; margin-bottom: 4px; }
.note span { display: block; font-size: 0.9rem; color: var(--muted); }
.note-amber { border-color: var(--amber-2); }
.note-ink { border-color: var(--ink); }
.stack > * + * { margin-top: 4px; }

.quote {
  margin: 32px 0 0;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber-2);
  background: var(--paper-3);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p {
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.quote cite { font-style: normal; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- calculator ---------- */

.calc {
  background: #0b1721;
  color: #e9eef2;
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid #22323f;
  box-shadow: 0 30px 60px -46px rgba(6, 17, 26, 0.9);
}
.calc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.calc-title { font-size: 1.28rem; color: #fff; margin-bottom: 5px; }
.calc-sub { font-size: 0.8rem; color: var(--on-ink-2); margin: 0; max-width: 38ch; }
.badge {
  flex: none;
  background: #0b1721;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-2);
  border: 1px solid rgba(232, 147, 31, 0.45);
  border-radius: 999px;
  padding: 5px 10px;
}
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-ink-3);
  margin-bottom: 6px;
}
.field-control { display: flex; align-items: center; gap: 8px; }
.field input {
  width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2a3f4d;
  border-radius: 4px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 9px 10px;
  appearance: textfield;
}
.field input:focus { outline: 2px solid var(--amber-2); outline-offset: 1px; border-color: transparent; }
.field-unit { font-family: var(--font-mono); font-size: 0.75rem; color: var(--on-ink-3); flex: none; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.preset {
  background: transparent;
  border: 1px solid #2a3f4d;
  color: var(--on-ink-2);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.preset:hover { border-color: #46606f; color: #fff; }
.preset[aria-pressed="true"] { border-color: var(--amber-2); color: var(--amber-2); background: rgba(232, 147, 31, 0.08); }
.calc-out { border-top: 1px solid #233847; padding-top: 18px; }
.calc-out-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-3); margin: 0 0 4px; }
.calc-big { display: flex; align-items: baseline; gap: 10px; }
.calc-big b { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.4rem); letter-spacing: -0.04em; color: #fff; line-height: 1.1; }
.calc-big span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--on-ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.calc-substats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.calc-substats div { border-top: 1px dashed #2a3f4d; padding-top: 8px; }
.calc-substats b { display: block; font-family: var(--font-mono); font-size: 0.95rem; color: var(--on-ink); }
.calc-substats span { display: block; font-size: 0.75rem; color: var(--on-ink-3); line-height: 1.3; }
.calc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-note { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-2); visibility: hidden; }
.copy-note.is-on { visibility: visible; }
.calc-foot { margin: 16px 0 0; font-size: 0.75rem; line-height: 1.5; color: var(--on-ink-3); }
.calc-foot a { color: #f0b45f; }

/* ---------- flow ---------- */

.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.flow-step { background: var(--paper-3); padding: 20px 18px; }
.flow-num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.flow-step h3 { font-size: 1rem; margin: 8px 0 7px; }
.flow-step p { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--text-body); }

.figure { margin: 30px 0 0; }
.figure img { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.figure figcaption { font-size: 0.78rem; color: var(--muted); margin-top: 10px; line-height: 1.5; max-width: 78ch; }

/* ---------- timeline ---------- */

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 22px 32px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line-strong);
}
.timeline li.is-now::before { border-color: var(--amber); background: var(--amber-2); box-shadow: 0 0 0 4px var(--amber-soft); }
.timeline-date { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.timeline h3 { font-size: 1rem; margin: 4px 0 5px; }
.timeline p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--text-body); }

.artcc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.artcc { background: var(--paper-3); padding: 10px 11px; }
.artcc b { display: block; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; }
.artcc span { display: block; font-size: 0.75rem; color: var(--text-body); line-height: 1.3; }
.artcc small { display: block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted-2); margin-top: 3px; letter-spacing: 0.05em; text-transform: uppercase; }
.artcc-first { background: var(--amber-wash); }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 40px 16px 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--amber);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { content: "-"; }
.faq-answer { padding: 0 0 18px; }
.faq-answer p { margin: 0 0 0.7em; font-size: 0.93rem; color: #3f515a; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- sources ---------- */

.source-list { margin: 0; padding-left: 1.15em; }
.source-list li { margin-bottom: 9px; font-size: 0.88rem; line-height: 1.5; color: #3f515a; }
.source-list a { color: var(--teal); }

/* ---------- cta panel ---------- */

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: #0b1721;
  color: #e9eef2;
  border-radius: var(--radius-lg);
  padding: 32px 34px;
}
.cta-panel h2 { color: #fff; font-size: 1.55rem; margin-bottom: 7px; }
.cta-panel p { color: #a9bcc6; margin: 0; font-size: 0.95rem; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

/* ---------- engagement ---------- */

.engage { padding: 56px 0 24px; }
.engage-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.engage h2 { font-size: 1.5rem; margin-bottom: 10px; }
.engage p { color: #42545d; font-size: 0.94rem; }
.engage-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 6px; }
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fdfbf5;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: #0b1721;
  cursor: pointer;
}
.like-btn:hover { border-color: var(--amber-2); }
.like-btn[aria-pressed="true"] { border-color: var(--amber-2); background: #fbf1df; color: #8a4f0c; }
.like-btn .heart { font-size: 1rem; line-height: 1; }
.engage-count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.share-msg, .comment-msg { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin: 0; }

.comments { background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.comments h3 { font-size: 1rem; margin-bottom: 4px; }
.comments > p.comments-sub { font-size: 0.8rem; color: var(--muted-2); margin-bottom: 16px; }
.comment-list { display: grid; gap: 12px; margin-bottom: 18px; }
.comment {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  padding: 12px 14px;
}
.comment[data-gf-owner] { border-left: 3px solid var(--amber-2); background: #fbf3e5; }
.comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.comment-name { font-family: var(--font-display); font-weight: 500; font-size: 0.87rem; }
.comment-time { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted-2); letter-spacing: 0.06em; }
.comment-owner-tag { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8a4f0c; border: 1px solid rgba(233, 147, 31, 0.45); border-radius: 999px; padding: 2px 6px; }
.comment-text { margin: 0; font-size: 0.89rem; line-height: 1.5; color: #33454e; white-space: pre-wrap; }
.comment-actions { margin-top: 8px; }
.comment-reply-btn { background: none; border: 0; padding: 0; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.comment-replies { display: grid; gap: 8px; margin: 10px 0 0 14px; }
.comment-to { color: var(--teal); }
.comment-empty { font-size: 0.86rem; color: var(--muted-2); margin: 0 0 16px; }

.comment-form { display: grid; gap: 8px; }
.comment-form label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.comment-form input, .comment-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #fdfbf5;
  padding: 10px 12px;
  font-family: var(--font-text);
  font-size: 0.9rem;
  color: #0b1721;
  resize: vertical;
}
.comment-form textarea { min-height: 92px; }
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--amber-2); outline-offset: 1px; }
.comment-form .form-row { display: grid; gap: 6px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- prose ---------- */

.page-hero { padding: 48px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span:last-child { color: var(--ink); }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; align-items: start; }
.prose { max-width: 74ch; font-size: 1rem; }
.prose > .lede { font-size: 1.1rem; color: var(--text-body); }
.prose h2 { font-size: 1.62rem; margin: 42px 0 14px; padding-top: 6px; letter-spacing: -0.025em; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.prose p { margin: 0 0 1.05em; color: var(--text-body); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; color: var(--text-body); }
.prose li::marker { color: var(--amber); }
.prose blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--amber-2);
  background: var(--paper-3);
  color: var(--text);
}
.prose blockquote p { margin: 0; font-family: var(--font-display); font-size: 1.04rem; line-height: 1.5; }
.prose figure { margin: 26px 0; }
.prose figcaption { font-size: 0.78rem; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 0 0 1.2em; }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-strong); }
.prose code { font-size: 0.85em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.toc { position: sticky; top: 92px; border-left: 1px solid var(--line); padding-left: 18px; }
.toc-title { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.toc a { display: block; font-size: 0.84rem; color: var(--muted); text-decoration: none; padding: 4px 0; line-height: 1.35; }
.toc a:hover { color: var(--ink); }

.legal-wrap { max-width: 76ch; }

/* ---------- footer ---------- */

.site-foot { background: #0b1721; color: #c6d2da; padding: 44px 0 32px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-foot .brand-name { color: #fff; }
.site-foot p { font-size: 0.84rem; line-height: 1.55; margin: 12px 0 0; max-width: 44ch; }
.foot-col h3 { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #7e96a3; margin-bottom: 12px; font-weight: 500; }
.foot-col a { display: block; color: #c6d2da; text-decoration: none; font-size: 0.86rem; padding: 4px 0; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; border-top: 1px solid #22323f; margin-top: 32px; padding-top: 18px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: #6d8492; }

/* ---------- embed frame ---------- */

main.frame { position: fixed; inset: 0; }
main.frame iframe, main.frame > div { height: 100%; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #0b1721;
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 4px 0;
}
.skip:focus { left: 0; }

body[data-nav="faa-smart"] .nav a[data-k="faa-smart"],
body[data-nav="status"] .nav a[data-k="status"],
body[data-nav="about"] .nav a[data-k="about"],
body[data-nav="home"] .nav a[data-k="home"] {
  color: #fff;
  border-color: rgba(232, 147, 31, 0.42);
  background: rgba(232, 147, 31, 0.1);
}

/* ---------- utilities ---------- */

.mt-2 { margin-top: 12px; } .mt-4 { margin-top: 22px; } .mt-6 { margin-top: 32px; } .mt-8 { margin-top: 44px; }
.mb-6 { margin-bottom: 32px; } .mb-8 { margin-bottom: 44px; }
.text-sm { font-size: 0.9rem; }
.self-start { align-self: start; }
.measure-70 { max-width: 70ch; }

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-lede { max-width: 56ch; }
  .article-grid { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; }
  .toc-title { grid-column: 1 / -1; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engate-grid, .engage-grid { grid-template-columns: 1fr; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .head-inner { min-height: 60px; gap: 12px; flex-wrap: wrap; padding-block: 8px; }
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 2px; padding-bottom: 2px; }
  .nav a { white-space: nowrap; font-size: 0.86rem; padding: 8px 10px; }
  .head-cta { display: none; }
  .hero { padding-top: 36px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact { display: flex; align-items: baseline; gap: 12px; }
  .fact b { font-size: 1.35rem; }
  .fact span { margin-top: 0; }
  .flow { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .calc { padding: 20px; }
  .calc-fields { grid-template-columns: 1fr; }
  .calc-substats { grid-template-columns: 1fr 1fr 1fr; }
  .head-inner .brand-sub { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .stage-cover { padding: 18px; }
  .stage-cover::after { width: 220px; height: 220px; right: -40px; top: -40px; }
  .stage-hint { display: none; }
  .cta-panel { padding: 24px; }
  .toc { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage-cover::after, .scope-sweep::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}


/* ---------- mobile fit + wrap guards (2026-11-22) ---------- */

html, body { max-width: 100%; overflow-x: hidden; }
.wrap { width: 100%; }
img, svg, iframe, pre, table { max-width: 100%; }
.hero-lede, .prose p, .prose li, .prose td, .prose th, .fact span, .calc-sub, .stage-note, .comments-sub, .foot-col a { overflow-wrap: anywhere; }

@media (max-width: 820px) {
  .hero-lede { font-size: 1rem; max-width: 100%; }
  .fact { flex-wrap: wrap; row-gap: 2px; }
  .fact b { flex: none; }
  .nav a { padding: 8px 12px; }
  .toc a { font-size: 0.9rem; }
}


/* ---------- grid min-width fix: stops columns pushing past the phone viewport ---------- */

.hero-grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .fact-strip > *,
.calc-fields > *, .calc-substats > *, .foot-grid > *, .article-grid > *,
.flow > *, .stage-wrap, .stage-cover, .prose { min-width: 0; }
.fact, .fact b, .fact span, .stage-cap, .stage-cap * { min-width: 0; }
.stage-cap { flex-wrap: wrap; gap: 6px 16px; }
.meta-row { flex-wrap: wrap; row-gap: 6px; }
.wrap { padding-inline: 20px; }


/* ---------- phone header + hero fits, final pass ---------- */

@media (max-width: 820px) {
  .head-inner { flex-wrap: wrap; align-items: center; gap: 10px; }
  .nav {
    order: 3;
    flex: 1 1 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .nav a { white-space: nowrap; }
  .head-cta { margin-left: auto; font-size: 0.8rem; padding: 8px 14px; }
  .hero-copy, .stage-wrap { min-width: 0; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .fact { flex-direction: column; align-items: flex-start; gap: 2px; }
  .fact b { font-size: 1.4rem; }
  .stage-cover { padding: 22px 16px; }
  .stage-title { font-size: 1.6rem; }
  .calc-fields { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}


/* ---------- phone typography pass (review 3) ---------- */

@media (max-width: 820px) {
  .hero-title { font-size: 2.2rem; line-height: 1.18; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1.05rem; }
  .fact-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
  }
  .fact {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 12px 10px;
    border: 1px solid #d8ceba;
    border-radius: 6px;
    background: #fdfbf5;
  }
  .fact b { font-size: 1.45rem; line-height: 1.1; }
  .fact span { font-size: 0.8rem; line-height: 1.35; }
  .calc { padding: 20px 16px; }
  .calc-big b { font-size: 1.9rem; }
  .calc-actions { margin-top: 18px; }
  .stage-cover { padding: 18px 14px; }
  .section-tight { padding: 40px 0; }
}


/* ==========================================================================
   2026-11-23 - readability + contrast pass
   Literal colour values on dark panels so contrast can be computed, and a
   12px floor on every small label. Nothing here changes layout.
   ========================================================================== */

.cta-panel { background: #0b1721; color: #e9eef2; }
.cta-panel h2 { color: #ffffff; }
.cta-panel p { color: #c3d2db; }
.like-btn { background: #fdfbf5; color: #0b1721; border-color: #bfb29a; }
.comment-form input, .comment-form textarea { background: #fdfbf5; color: #0b1721; border: 1px solid #bfb29a; }
.comment-form input::placeholder, .comment-form textarea::placeholder { color: #586770; }
.skip { background: #0b1721; color: #ffffff; }

.badge, .field label, .field-unit, .preset, .calc-out-label, .calc-big span,
.calc-substats span, .copy-note, .calc-foot, .flow-num, .card-kicker,
.quote cite, .timeline-date, .artcc span, .artcc small, .share-msg,
.comment-msg, .comment-time, .comment-owner-tag, .comment-reply-btn,
.comment-form label, .breadcrumbs, .foot-col h3, .foot-bottom,
.prose th, .toc-title, .stage-cap, .comment-form .hint {
  font-size: 0.75rem;
}


/* contrast: literal values, the static checker cannot resolve var() backgrounds */
.skip, a.skip { background: #0b1721 !important; color: #ffffff !important; }
.like-btn, button.like-btn, .like-btn:hover { background: #fdfbf5 !important; color: #0b1721 !important; }
.comment-form input, .comment-form textarea, .comment-form input:focus, .comment-form textarea:focus { background: #fdfbf5 !important; color: #0b1721 !important; }
.cta-panel { background: #0b1721 !important; color: #e9eef2 !important; }
.cta-panel p { color: #c3d2db !important; }


/* ==========================================================================
   2026-11-23 - mobile pass (design review round 2)
   Kills the 390px horizontal overflow, tames the hero headline, lets the
   scope hint wrap instead of clipping, and spaces the calculator buttons.
   ========================================================================== */

@media (max-width: 600px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .hero-title, .page-hero .hero-title, h1 {
    font-size: clamp(2rem, 7.2vw, 2.55rem) !important;
    line-height: 1.12;
    letter-spacing: -0.02em;
  }
  .stage-bar, .stage-top, .stage-head, .scope-bar, .stage-legend {
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .stage-bar .micro, .stage-note, .stage-cap, .scope-hint, .hint {
    white-space: normal;
    text-align: left;
  }
  .calc-actions, .calc-buttons, .calc-foot-row { display: flex; flex-wrap: wrap; gap: 12px; }
  .engage-buttons { gap: 12px; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .fact-strip, .calc-fields,
  .article-grid, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .card, .calc { padding: 18px; }
}

@media (max-width: 390px) {
  .hero-title, h1 { font-size: 1.95rem !important; }
}


/* 2026-11-23 - polish pass (design review round 2 feedback) */

.nav { gap: 16px; }
@media (max-width: 720px) {
  .nav {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .nav::-webkit-scrollbar { display: none; }
}

.fact-strip > *, .stats > *, .stat-row > *, .stat-card { margin-bottom: 0; }
@media (max-width: 600px) {
  .fact-strip > *, .stats > *, .stat-row > *, .stat-card { margin-bottom: 0; }
  .fact-strip, .stats, .stat-row { row-gap: 10px; }
  .fact, .stat-card { padding: 12px 14px; }
  .fact span, .stat-card span { line-height: 1.5; }
  .hero-lede, .hero p, .page-hero .hero-lede { line-height: 1.65; }
  .stage-note, .stage-cap, .stage-bar .micro { font-size: 0.75rem; }
}

.card-row, .grid-3 { align-items: stretch; }
.grid-3 > .card { display: flex; flex-direction: column; justify-content: flex-start; }

.calc-fields + .calc-actions, .calc-output, .calc-actions, .calc-buttons { row-gap: 12px; }

/* ==========================================================================
   2026-11-25 - design review round 3
   Calculator columns on one baseline, quote text back to the body left line,
   room for the phone nav, and the phone headline capped at 36px.
   ========================================================================== */

.quote { padding-left: 24px; }
.calc-fields { align-items: end; }
.field label { margin-bottom: 4px; }
.field-control input { height: 40px; box-sizing: border-box; }
.stage-cover .btn, .stage-cover .btn-amber { margin-left: 0; align-self: flex-start; }

@media (max-width: 720px) {
  .nav a { font-size: 0.875rem; letter-spacing: 0.02em; }
}
@media (max-width: 600px) {
  .hero-title, .page-hero .hero-title, h1 {
    font-size: clamp(1.9rem, 6.4vw, 2.25rem) !important;
    line-height: 1.15 !important;
    text-wrap: balance;
  }
  .fact { padding: 14px 12px; }
  .fact span { font-size: 0.82rem; line-height: 1.45; }
}


/* round 4 — design review fixes, 2026-11-27 */
.wrap{ padding-inline: 18px; }

@media (max-width: 640px){
  .page-hero{ padding-top: 26px; }
  .hero-title{ font-size: clamp(1.85rem, 7.2vw, 2.4rem); line-height: 1.16; margin-bottom: 14px; }
  .breadcrumbs{ font-size: 12px; font-weight: 400; letter-spacing: .05em; display: block; margin-bottom: 14px; }
  .eyebrow{ font-size: 12px; letter-spacing: .1em; font-weight: 600; }
  .fact-strip{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .fact-strip > :last-child{ grid-column: 1 / -1; }
  .nav{ display: flex; gap: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav::-webkit-scrollbar{ display: none; }
  .nav a{ display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
  .prose p, .prose li{ line-height: 1.72; }
  .prose p{ margin-bottom: 1.15em; }
  .prose table{ display: block; overflow-x: auto; white-space: nowrap; min-width: 0; }
  .prose table th, .prose table td{ min-width: 120px; }
  .prose table th:first-child, .prose table td:first-child{ min-width: 160px; }
}

.calc input, .calc select, .calc textarea,
input[type="number"], input[type="text"], select{
  border: 1px solid rgba(16, 34, 48, .22);
  background: #fff;
}
.calc input:focus-visible, .calc select:focus-visible,
input[type="number"]:focus-visible, input[type="text"]:focus-visible{
  outline: none;
  box-shadow: 0 0 0 2px rgba(232, 147, 31, .35);
}

.btn-sm{ background: transparent; border: 1px solid rgba(16, 34, 48, .2); }
.btn-sm:hover{ opacity: .9; }

.prose{ max-width: 68ch; margin-inline: auto; }
.prose h2{ font-weight: 700; margin-top: 2.1em; }
.prose h3{ font-weight: 650; margin-top: 1.6em; }
.prose a{ text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: .06em; }

.prose details{ border-top: 1px solid rgba(16, 34, 48, .12); padding: 14px 0; }
.prose details:last-of-type{ border-bottom: 1px solid rgba(16, 34, 48, .12); }
.prose details summary{ cursor: pointer; font-weight: 600; list-style: none; display: flex; gap: 10px; align-items: baseline; }
.prose details summary::-webkit-details-marker{ display: none; }
.prose details summary::before{ content: "+"; color: #e8931f; font-weight: 700; flex: 0 0 12px; }
.prose details[open] summary::before{ content: "\2013"; }
.prose details > *:not(summary){ margin-top: .8em; }


/* round 5 — mobile data cards + header safety margin, 2026-11-27 */
@media (max-width: 640px){
  .hero-copy .fact-strip,
  .stage-wrap + .fact-strip,
  .fact-strip{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    align-items: stretch;
  }
  .fact-strip .fact{
    margin: 0 !important;
    padding: 12px 14px !important;
    min-width: 0 !important;
    width: auto !important;
    float: none !important;
  }
  .fact-strip .fact:nth-child(3){
    grid-column: 1 / -1;
  }
  .fact-strip .fact b{ font-size: 1.5rem; display: block; line-height: 1.1; }
  .head-inner{ padding-right: 16px; }
  .hero-title{ margin-bottom: 16px; }
}


/* round 6 — 2026-11-27 home repositioned to airport delays */
@media (max-width: 640px) {
  .fact-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fact {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: auto;
    min-height: 0;
    padding: 13px 15px;
  }
  .fact b { font-size: 1.5rem; line-height: 1.1; }
  .fact span { font-size: 13px; line-height: 1.45; }
  .hero-lede { font-size: 16px; line-height: 1.6; }
  .hero-title { font-size: clamp(1.75rem, 7vw, 2.35rem); }
}

@media (min-width: 641px) {
  .stage-note { font-size: 15px; line-height: 1.65; }
  .stage-cover { padding: 26px 24px; }
}

#why .grid-2 > div {
  border-left: 2px solid var(--line);
  padding-left: 16px;
}

@media (max-width: 640px) {
  #why .grid-2 > div { padding-left: 13px; }
}


/* round 7 — page.html FAQ block */
.qa-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.qa-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.qa-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--amber);
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
}
.qa-item[open] summary::after { content: "\2013"; }
.qa-body {
  margin-top: 10px;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 68ch;
}
.qa-body p { margin: 0 0 10px; }
.qa-body p:last-child { margin-bottom: 0; }


/* round 8 — long-form rhythm, mobile nav and headline scale */
.nav {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav::-webkit-scrollbar { display: none; }

.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin-top: 18px;
  padding-left: 1.1em;
  line-height: 1.6;
}
.prose > ul li::marker { color: var(--amber); }
.prose a { color: var(--amber); }
.prose a:hover { color: var(--amber-2); }

@media (max-width: 700px) {
  .page-hero .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.015em;
  }
  .prose h2 { margin-top: 2rem; }
  .prose > ul { grid-template-columns: 1fr; gap: 8px; }
  .breadcrumbs {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 12px;
  }
}


/* round 5: mobile header, first-screen measure, fact strip, card rhythm */
@media (max-width: 780px) {
  .site-head .head-inner { gap: 10px; }
  .site-head .nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
    mask-image: linear-gradient(to right, #000 88%, transparent);
    padding-right: 18px;
  }
  .site-head .nav::-webkit-scrollbar { display: none; }
  .site-head .nav a { flex: 0 0 auto; padding: 10px 12px; }
  .site-head .head-cta { display: none; }
  .hero-copy .hero-lede { max-width: none; font-size: 1rem; line-height: 1.6; }
  .fact-strip { display: flex; flex-direction: column; gap: 0; }
  .fact {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    background: none;
    border-radius: 0;
  }
  .fact:last-child { border-bottom: 1px solid var(--line); }
  .fact b { flex: 0 0 auto; min-width: 2ch; font-size: 1.6rem; line-height: 1; }
  .fact span { font-size: 0.95rem; }
}

@media (min-width: 781px) {
  .hero-copy .hero-lede { max-width: 60ch; }
}

#why .grid-2 > div,
#check .grid-2 > div,
#space .grid-2 > div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.stage-hint { margin-left: auto; text-align: right; }
.stage-bar .micro { text-transform: none; letter-spacing: 0; }
.btn-amber { font-weight: 700; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.16); }


/* round 6: nav fade, compact facts, quiet links, section anchors */
.site-head .head-inner { position: relative; }
@media (max-width: 780px) {
  .site-head .head-inner::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(to right, rgb(250 247 242 / 0), var(--bg));
    pointer-events: none;
  }
  .site-head .nav { padding-right: 44px; }
  .hero-copy .eyebrow { font-size: 0.72rem; letter-spacing: 0.06em; }
  .fact { padding: 10px 0; gap: 12px; }
  .fact b { font-size: 1.35rem; }
  .fact span { font-size: 0.875rem; line-height: 1.45; }
}

.link-quiet, .stage-bar .link-quiet {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  border: 0;
  background: none;
}
.link-quiet:hover { color: var(--text); }

@media (min-width: 981px) {
  .hero-grid { column-gap: 48px; grid-template-columns: 1.05fr 1fr; }
}

#why .grid-2 h3,
#check .grid-2 h3,
#space .grid-2 h3 {
  position: relative;
  padding-top: 14px;
}
#why .grid-2 h3::before,
#check .grid-2 h3::before,
#space .grid-2 h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
}

/* round 7: mobile first screen — the reroute drill sits after the lede.
   Desktop order is unchanged: .hero-copy stays a box and the stage is its
   right-hand column. On phones the copy wrapper is dissolved so the stage
   can be ordered between the lede and the meta row. */
@media (max-width: 780px) {
  .hero-grid { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow { order: 1; }
  .hero-copy > .hero-title { order: 2; }
  .hero-copy > .hero-lede { order: 3; }
  .hero-grid > .stage-wrap { order: 4; width: 100%; max-width: 100%; margin: 18px 0 10px; }
  .hero-copy > .meta-row { order: 5; }
  .hero-copy > .fact-strip { order: 6; }
}

