:root {
  --navy: #001640;
  --navy-2: #071f4b;
  --navy-3: #0a2a63;
  --blue: #075ff0;
  --blue-2: #0a72ff;
  --cyan: #00bfc9;
  --teal: #10bfa7;
  --violet: #8d2bdd;
  --orange: #ff7a1a;
  --green: #22b96b;
  --ink: #071a3b;
  --muted: #5d6b84;
  --line: #dce4f0;
  --soft: #f5f8fc;
  --white: #fff;
  --max: 1180px;
  --header: 92px;
  --radius: 22px;
  --shadow: 0 14px 30px rgba(0, 22, 64, 0.11);
  --font: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --chrome: var(--header);

  /* Avionics palette: HUD cyan, caution amber, go green, instrument night */
  --hud: #5ce1e6;
  --amber: #ffb020;
  --go: #3ddc84;
  --night: #030b20;
  --night-2: #041233;

  --grad-btn-start: #0761d8;
  --grad-btn-end: #0655c0;
  --grad-navy-card-start: #06214d;
  --grad-navy-card-end: #001640;
  --grad-compare-start: #08234e;
  --grad-compare-end: #061b3d;
  --grad-violet2-start: #7e2ce2;
  --grad-violet2-end: #5a1ebb;
  --grad-green-start: #0c7a49;
  --grad-green-end: #0a6b3f;
  --grad-orange-start: #b0500a;
  --grad-orange-end: #a8530a;
}

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

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  overflow: visible;
  text-wrap: balance;
}

h1,
h2 {
  padding-inline: 0.04em;
  line-height: 1.1;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 2000;
  background: var(--blue);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}

.section {
  padding: 88px 0;
  scroll-margin-top: calc(var(--chrome) + 12px);
}

.section.soft {
  background: linear-gradient(180deg, #f8fbff 0%, #f2f6fb 100%);
}

.section.dark {
  background: linear-gradient(180deg, #031b43 0%, #001640 100%);
  color: var(--white);
}

.section.dark .eyebrow {
  color: var(--cyan);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section h2,
.hero h1 {
  margin: 0;
  letter-spacing: -0.035em;
  color: var(--navy);
}

.section h2 {
  font-size: clamp(32px, 4.4vw, 52px);
}

.section.dark h2,
.hero h1 {
  color: var(--white);
}

.section-head p,
.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 16px 0 0;
}

.section.dark .section-head p,
.section.dark .lede {
  color: rgba(255, 255, 255, 0.74);
}

.accent {
  color: var(--blue-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 22, 64, 0.1);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: rgba(0, 22, 64, 0.78);
  padding: 10px 8px;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(7, 95, 240, 0.08);
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 22px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--grad-btn-start), var(--grad-btn-end));
  color: var(--white);
  box-shadow: 0 10px 20px rgba(6, 85, 192, 0.25);
}

.btn-secondary {
  background: var(--white);
  border-color: #cdd8e8;
  color: var(--navy);
}

.btn-ghost,
.btn-signin {
  background: transparent;
  border-color: #c9d5e6;
  color: var(--navy);
  padding: 14px 18px;
}

.btn-signin {
  min-width: 92px;
}

.hero .btn-secondary,
.btn-secondary.dark-cta {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.menu-toggle {
  display: none;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: absolute;
  transition: 0.2s;
}

.menu-toggle::before {
  transform: translateY(-7px);
}

.menu-toggle::after {
  transform: translateY(7px);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header));
  min-height: calc(100svh - var(--header));
  scroll-margin-top: var(--header);
  background: #020a22;
  color: var(--white);
}

.hero .eyebrow,
.contact-card .eyebrow {
  color: var(--cyan);
}

#demo {
  scroll-margin-top: calc(var(--chrome) + 12px);
}

.form-submit {
  margin-top: 18px;
}

.auth-card .lede {
  margin-bottom: 24px;
}

.auth-card .field {
  margin-bottom: 14px;
}

.auth-card .field:last-of-type {
  margin-bottom: 18px;
}

.auth-card .btn-primary {
  width: 100%;
}

.auth-followup {
  margin: 22px 0 0;
}

.stat-source {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.info-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.info-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.info-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 191, 201, 0.14);
  flex: 0 0 auto;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.benefit {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
}

.benefit h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.benefit p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 52px 20px 22px;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 26px;
  color: var(--blue);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .answer {
  padding: 0 22px 20px;
  color: #5d6b84;
  line-height: 1.6;
  font-size: 15px;
}

.faq-item .answer p {
  margin: 0 0 12px;
}

.faq-item .answer p:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.contact-card {
  background: linear-gradient(145deg, var(--grad-navy-card-start), var(--grad-navy-card-end));
  border-radius: 25px;
  padding: 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-card h2 {
  color: var(--white);
  font-size: 34px;
}

.contact-method {
  margin-top: 28px;
}

.contact-method span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}

.contact-method a {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-method a:hover {
  text-decoration: underline;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #324462;
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #ced8e6;
  border-radius: 12px;
  padding: 13px 14px;
  background: #fbfdff;
  color: #13284c;
  outline: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.hero :focus-visible,
.section.dark :focus-visible,
.contact-card :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--cyan);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
}

::selection {
  background: rgba(0, 191, 201, 0.28);
  color: var(--navy);
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 12px;
}

.status {
  margin-top: 14px;
  font-size: 13px;
  color: #0d735e;
  display: none;
}

.site-footer {
  background: #001640;
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr;
  gap: 30px;
  padding: 36px 0 28px;
}

.footer-brand {
  display: inline-flex;
  background: var(--white);
  border-radius: 16px;
  padding: 8px 10px;
}

.footer-brand img {
  width: 150px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 12px;
  max-width: 360px;
}

.footer-col h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin: 3px 0 12px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  padding: 5px 0;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 22px;
}

.auth-page {
  min-height: calc(100vh - var(--header));
  display: grid;
  place-items: center;
  padding: 48px 0 72px;
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 191, 201, 0.08), transparent 32%),
    linear-gradient(180deg, #f8fbff, #eef3fa);
}

.auth-card {
  width: min(100%, 460px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 32px;
  color: var(--navy);
}

.legal {
  max-width: 800px;
}

.legal h1 {
  font-size: 48px;
  color: var(--navy);
  margin: 0 0 12px;
}

.legal h2 {
  font-size: 24px;
  color: var(--navy);
  margin: 32px 0 10px;
}

.legal p,
.legal li {
  color: #58677f;
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header: 78px;
  }

  .brand img {
    height: 66px;
  }

  .footer-col a {
    padding: 14px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(var(--header) - 2px);
    background: var(--white);
    border: 1px solid #dce4ef;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(0, 22, 64, 0.14);
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    white-space: normal;
    flex: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .header-actions .btn {
    width: 100%;
    text-align: center;
  }

  .nav a {
    padding: 15px 8px;
  }

  .header-actions {
    display: flex;
    margin-left: auto;
  }

  .header-actions .btn-signin {
    display: none;
  }

  .nav.open + .header-actions,
  .nav.open ~ .header-actions {
    display: none;
  }

  .mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }

  .form-grid,
  .benefit-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 42px;
  }
}

@media (min-width: 861px) {
  .mobile-actions {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Flight experience
   Scroll = throttle. Every rule below renders a complete, readable static
   layout on its own; flight.js only adds motion on top (html.motion) and
   flips sections into [data-flight] modes while their choreography runs.
   ========================================================================== */

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.phase-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(7, 95, 240, 0.2);
  background: rgba(7, 95, 240, 0.07);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.phase-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(7, 95, 240, 0.14);
}

.section.dark .phase-tag,
.hero .phase-tag,
.journey-flight .phase-tag,
.contact-card .phase-tag {
  border-color: rgba(92, 225, 230, 0.3);
  background: rgba(92, 225, 230, 0.08);
  color: var(--hud);
}

.section.dark .phase-tag::before,
.hero .phase-tag::before,
.journey-flight .phase-tag::before,
.contact-card .phase-tag::before {
  box-shadow: 0 0 0 3px rgba(92, 225, 230, 0.16);
}

/* ---------- Hero: pre-flight cockpit ---------- */

.hero {
  --gs: 200px;
  background: #070c22;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.scene-sky,
.takeoff {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - var(--gs) + 44px);
  display: block;
}

.windshield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.scene-sky,
.takeoff {
  overflow: visible;
}

.takeoff {
  display: none;
}

.hero[data-flight="pinned"] .takeoff {
  display: block;
}

.windshield-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, 0.045) 46%, transparent 54%, transparent 62%, rgba(255, 255, 255, 0.03) 66%, transparent 70%);
}

.scene-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 10, 34, 0.72) 0%, rgba(2, 10, 34, 0.36) 40%, rgba(2, 10, 34, 0) 62%);
}

.hud {
  position: absolute;
  top: 8%;
  right: max(24px, calc((100vw - var(--max)) / 2 - 10px));
  width: min(470px, 38vw);
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
  color: var(--hud);
  opacity: 0.9;
}

.hud-text {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.runway-lights {
  filter: drop-shadow(0 0 4px rgba(255, 210, 120, 0.9));
}

.callout {
  fill: var(--hud);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0;
}

.hero-content {
  position: relative;
  padding: clamp(44px, 9vh, 92px) 0 48px;
}

.hero h1 {
  max-width: 700px;
  padding-top: 0.08em;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.06;
}

.hero .accent {
  color: #5aa6ff;
}

.hero .lede {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.glareshield {
  position: relative;
  margin-top: auto;
  padding: 30px 0 28px;
  border-radius: 50% 50% 0 0 / 48px 48px 0 0;
  background: linear-gradient(180deg, #0b1633 0%, #060d23 45%, #040918 100%);
  box-shadow: inset 0 1px 0 rgba(127, 166, 255, 0.22), 0 -24px 60px rgba(0, 0, 0, 0.4);
}

.pillar-cells {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar-cell {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 26px 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(92, 225, 230, 0.14);
  background: linear-gradient(180deg, rgba(20, 36, 76, 0.9), rgba(9, 18, 42, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 18px rgba(0, 0, 0, 0.25);
}

.pillar-tagline {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.cs-screen {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--hud);
  background: radial-gradient(circle at 50% 35%, #0f3550, #04121f 75%);
  box-shadow: inset 0 0 0 1px rgba(92, 225, 230, 0.3), 0 0 16px rgba(92, 225, 230, 0.12);
}

.cs-screen svg {
  width: 20px;
  height: 20px;
}

.cs-text {
  display: grid;
  gap: 4px;
}

.cs-text strong {
  color: var(--hud);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cs-text > span:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  line-height: 1.45;
}

.cs-led {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--go);
  box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.15), 0 0 10px rgba(61, 220, 132, 0.8);
}

.takeoff-cue {
  position: absolute;
  top: -50px;
  left: 50%;
  display: none;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.takeoff-cue svg {
  width: 18px;
  height: 18px;
  color: var(--hud);
  animation: throttle 1.8s ease-in-out infinite;
}

.hero[data-flight="pinned"] .takeoff-cue {
  display: inline-flex;
}

@keyframes throttle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.motion-pending .hero-content,
.motion-pending .pillar-cells,
.motion-pending .hud {
  opacity: 0;
}

/* ---------- Journey: cruise route map ---------- */

.journey-flight {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-color: var(--night-2);
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(7, 95, 240, 0.2), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}

.journey-flight h2 {
  color: var(--white);
}

.journey-flight .section-head p {
  color: rgba(255, 255, 255, 0.74);
}

.journey-flight .eyebrow {
  color: var(--cyan);
}

.route-map {
  position: relative;
  color: var(--hud);
}

.route-map svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.map-contours path {
  stroke: rgba(92, 225, 230, 0.08);
  stroke-width: 1.2;
}

.map-rose {
  color: rgba(92, 225, 230, 0.55);
}

.map-rose text {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.route-base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 2;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
}

.route-flown {
  fill: none;
  stroke: var(--hud);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(92, 225, 230, 0.55));
}

.route-origin {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
}

.route-dest {
  fill: none;
  stroke: rgba(61, 220, 132, 0.6);
  stroke-width: 1.5;
}

.wpt-mark {
  fill: var(--hud);
  stroke: var(--white);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.wpt-code {
  fill: var(--white);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-anchor: middle;
  transition: fill 0.3s ease;
}

.wpt-num {
  fill: rgba(92, 225, 230, 0.85);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-anchor: middle;
}

.journey-flight[data-flight] .wpt:not(.is-lit) .wpt-mark {
  fill: #0b2150;
  stroke: rgba(255, 255, 255, 0.45);
}

.journey-flight[data-flight] .wpt:not(.is-lit) .wpt-code {
  fill: rgba(255, 255, 255, 0.5);
}

.journey-flight[data-flight] .wpt:not(.is-lit) .wpt-num {
  fill: rgba(255, 255, 255, 0.35);
}

.wpt.is-active .wpt-mark {
  fill: var(--white);
  transform: scale(1.5);
}

.route-jet {
  filter: drop-shadow(0 0 8px rgba(92, 225, 230, 0.75));
}

.journey-track {
  position: relative;
  margin-top: 28px;
}

.journey-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-step {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.wpt-label {
  display: block;
  margin-bottom: 10px;
  color: var(--hud);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.journey-step h3 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.journey-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.timeline-jet {
  display: none;
}

/* Pinned cruise: map fills the viewport, one waypoint card at a time */
.journey-flight[data-flight="pinned"] {
  padding: 0;
}

.journey-flight[data-flight="pinned"] .journey-stage {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: calc(var(--chrome) + 28px) 0 32px;
}

.journey-flight[data-flight="pinned"] .section-head {
  max-width: 820px;
  margin-bottom: 8px;
}

.journey-flight[data-flight="pinned"] .journey-body {
  position: relative;
  flex: 1;
  min-height: 0;
}

.journey-flight[data-flight="pinned"] .route-map {
  position: absolute;
  inset: 0;
}

.journey-flight[data-flight="pinned"] .route-map svg {
  height: 100%;
}

.journey-flight[data-flight="pinned"] .journey-track {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(360px, 32%);
  margin: 0;
}

.journey-flight[data-flight="pinned"] .journey-list {
  grid-template-columns: 1fr;
}

.journey-flight[data-flight="pinned"] .journey-step {
  grid-area: 1 / 1;
  padding: 20px 22px;
  border-color: rgba(92, 225, 230, 0.3);
  background: rgba(3, 11, 32, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.journey-flight[data-flight="pinned"] .journey-step.is-active {
  opacity: 1;
  transform: none;
}

.journey-flight[data-flight="pinned"] .journey-step h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: none;
}

.journey-flight[data-flight="pinned"] .journey-step p {
  font-size: 15px;
}

/* ---------- Flight HUD (desktop rail) + phase bar (compact) ---------- */

.flight-hud,
.phase-bar {
  display: none;
}

.flight-hud {
  position: fixed;
  top: 50%;
  right: 16px;
  z-index: 900;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transform: translateY(-50%);
}

.hud-alt {
  min-width: 84px;
  padding: 7px 10px 6px;
  border-radius: 10px;
  border: 1px solid rgba(92, 225, 230, 0.35);
  background: rgba(3, 11, 32, 0.86);
  box-shadow: 0 8px 20px rgba(0, 22, 64, 0.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--mono);
  line-height: 1.1;
  text-align: right;
}

.hud-alt span {
  display: block;
  color: var(--hud);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.hud-alt b {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.hud-alt small {
  margin-left: 3px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
}

.hud-phases {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 4px 0;
  list-style: none;
}

.hud-phases::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  right: 8.5px;
  width: 2px;
  border-radius: 2px;
  background: rgba(120, 140, 170, 0.35);
}

.hud-phases a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  height: 22px;
  text-decoration: none;
}

.hud-phases a:focus-visible {
  outline: none;
}

.hud-dot {
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border-radius: 50%;
  background: #93a4c0;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px rgba(0, 22, 64, 0.18);
  transition: transform 0.25s ease, background 0.25s ease;
}

.hud-phases a.is-past .hud-dot {
  background: var(--navy-3);
}

.hud-phases a[aria-current="location"] .hud-dot {
  background: var(--hud);
  box-shadow: 0 0 0 2px var(--white), 0 0 12px rgba(92, 225, 230, 0.9);
  transform: scale(1.35);
}

.hud-phases a:focus-visible .hud-dot {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.hud-label {
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid rgba(0, 22, 64, 0.12);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 22, 64, 0.12);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.hud-phases a:hover .hud-label,
.hud-phases a:focus-visible .hud-label,
.hud-motion:hover .hud-label,
.hud-motion:focus-visible .hud-label {
  opacity: 1;
  transform: none;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(92, 225, 230, 0.35);
  background: rgba(3, 11, 32, 0.86);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.motion-toggle[aria-pressed="false"] {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.72);
}

.motion-toggle svg {
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
}

.motion-toggle[aria-pressed="false"] svg {
  opacity: 0.45;
}

.motion-toggle:focus-visible {
  outline: 3px solid rgba(92, 225, 230, 0.5);
  outline-offset: 2px;
}

.no-flight .motion-toggle {
  display: none;
}

.hud-motion {
  position: relative;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: -3px;
  padding: 0;
  border-radius: 50%;
}

.hud-motion .hud-label {
  position: absolute;
  right: calc(100% + 8px);
}

.phase-bar {
  position: fixed;
  top: var(--header);
  left: 0;
  right: 0;
  z-index: 990;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 30px;
  padding: 0 max(16px, calc((100vw - var(--max)) / 2));
  background: rgba(3, 11, 32, 0.9);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pb-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
}

.pb-jet {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 4px rgba(92, 225, 230, 0.7));
}

.pb-status [data-phase-name] {
  color: var(--hud);
}

.pb-alt {
  color: rgba(255, 255, 255, 0.7);
}

.pb-alt b {
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.phase-bar .motion-toggle {
  min-height: 22px;
  padding: 3px 10px;
  font-size: 9.5px;
}

.pb-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.pb-progress i {
  display: block;
  height: 100%;
  background: var(--hud);
  transform: scaleX(0);
  transform-origin: left center;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.footer-motion {
  margin-left: auto;
}

@media (min-width: 1280px) {
  .hud-ready .flight-hud {
    display: flex;
  }
}

@media (min-width: 1480px) {
  .hud-phases a[aria-current="location"] .hud-label {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1279px) {
  .hud-ready {
    --chrome: calc(var(--header) + 30px);
  }

  .hud-ready .phase-bar {
    display: flex;
  }
}

@media (max-height: 820px) and (min-width: 861px) {
  .hero h1 {
    font-size: clamp(40px, 4.6vw, 62px);
  }

  .hero .lede {
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .glareshield {
    padding: 24px 0 22px;
  }

  .journey-flight[data-flight="pinned"] .section-head h2 {
    font-size: clamp(30px, 3.4vw, 42px);
  }

  .journey-flight[data-flight="pinned"] .section-head p {
    margin-top: 10px;
    font-size: 16px;
  }

  .journey-flight[data-flight="pinned"] .journey-track {
    width: min(310px, 28%);
  }

  .journey-flight[data-flight="pinned"] .journey-step {
    padding: 14px 18px;
  }

  .journey-flight[data-flight="pinned"] .journey-step h3 {
    font-size: 19px;
  }

  .journey-flight[data-flight="pinned"] .journey-step p {
    font-size: 14px;
  }
}

@media (max-width: 1079px) {
  .journey-track {
    max-width: 640px;
    padding-left: 52px;
  }

  .journey-track::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 21px;
    border-left: 2px dashed rgba(255, 255, 255, 0.22);
  }

  .journey-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .journey-step {
    position: relative;
  }

  .journey-step::before {
    content: "";
    position: absolute;
    top: 20px;
    left: -37px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--hud);
    box-shadow: 0 0 0 4px rgba(92, 225, 230, 0.18);
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }

  .journey-flight[data-flight="compact"] .journey-step:not(.is-lit)::before {
    background: #0b2150;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  }

  .journey-flight[data-flight="compact"] .timeline-jet {
    position: absolute;
    top: 0;
    left: 10px;
    z-index: 2;
    display: block;
    width: 24px;
    height: 24px;
  }

  .timeline-jet svg {
    width: 100%;
    height: 100%;
    transform: rotate(90deg);
    filter: drop-shadow(0 0 6px rgba(92, 225, 230, 0.8));
  }
}

@media (max-width: 860px) {
  .hero {
    --gs: 440px;
  }

  .hero-content {
    padding: 44px 0 150px;
  }

  .scene-scrim {
    background: linear-gradient(180deg, rgba(2, 10, 34, 0.6) 0%, rgba(2, 10, 34, 0.3) 55%, rgba(2, 10, 34, 0) 80%);
  }

  .hud {
    top: 2%;
    right: -16vw;
    width: 80vw;
    opacity: 0.3;
  }

  .glareshield {
    padding-top: 26px;
    border-radius: 50% 50% 0 0 / 28px 28px 0 0;
  }

  .pillar-cells {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pillar-cell {
    align-items: center;
    padding: 10px 26px 10px 12px;
  }

  .pb-alt {
    display: none;
  }
}

@media (max-width: 699px) {
  .route-map {
    display: none;
  }

  .journey-track {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .takeoff-cue svg {
    animation: none;
  }
}

/* ==========================================================================
   Instruments that replace the old section photos. Each one draws its
   section's own copy (no invented data) and is complete when static.
   ========================================================================== */

/* ---------- Climb: radar scope (one connected client record) ---------- */

.radar-scope {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  aspect-ratio: 1;
  overflow: hidden; /* the spinning sweep's square corners must not widen the page */
  color: var(--hud);
}

.radar-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.radar-grid circle,
.radar-grid .radar-cross {
  stroke: rgba(92, 225, 230, 0.16);
  stroke-width: 1;
}

.radar-grid .radar-rim {
  stroke: rgba(92, 225, 230, 0.45);
  stroke-width: 1.5;
}

.radar-grid .radar-ticks {
  stroke: rgba(92, 225, 230, 0.4);
  stroke-width: 8;
}

.radar-grid .radar-ticks.major {
  stroke: rgba(92, 225, 230, 0.8);
  stroke-width: 14;
}

.radar-bearings text {
  fill: rgba(92, 225, 230, 0.6);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-anchor: middle;
}

.radar-link {
  stroke: rgba(92, 225, 230, 0.5);
  stroke-width: 1.5;
}

.radar-pulse {
  fill: var(--white);
  opacity: 0;
}

.blip-halo {
  fill: rgba(92, 225, 230, 0.14);
  stroke: rgba(92, 225, 230, 0.55);
  stroke-width: 1;
  opacity: 0.5;
  transform-box: fill-box;
  transform-origin: center;
}

.blip-dot {
  fill: var(--hud);
}

.blip-label {
  fill: var(--white);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.blip-sub {
  fill: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.radar-core-glow {
  fill: rgba(92, 225, 230, 0.12);
}

.radar-core-ring {
  fill: #0a2a52;
  stroke: var(--hud);
  stroke-width: 2;
}

.radar-core-text {
  fill: var(--white);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  text-anchor: middle;
}

.radar-core-plate {
  fill: #041330;
  stroke: rgba(92, 225, 230, 0.35);
}

.radar-core-label {
  fill: var(--hud);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-anchor: middle;
}

/* The sweep's bright leading edge points north at 0deg, so a blip at bearing B
   is painted B/360 of the way through each turn. */
.radar-sweep {
  position: absolute;
  inset: 4.62%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(92, 225, 230, 0) 0deg, rgba(92, 225, 230, 0) 290deg, rgba(92, 225, 230, 0.24) 358deg, rgba(170, 250, 255, 0.5) 359.6deg, rgba(92, 225, 230, 0) 360deg);
  mix-blend-mode: screen;
  transform: rotate(60deg);
  pointer-events: none;
}

.motion .radar-sweep {
  animation: radar-spin 6s linear infinite;
}

.motion .blip-halo {
  animation: blip-ping 6s linear infinite;
  animation-delay: calc(var(--bearing) * 6s / 360);
}

@keyframes radar-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes blip-ping {
  0% {
    opacity: 1;
    transform: scale(1.9);
  }
  15% {
    opacity: 0.85;
    transform: scale(1);
  }
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
}

/* ---------- Renewal ETA: moving map ---------- */

.eta-display {
  padding: 12px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #0f1c3d, #060d24);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.eta-screen {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(92, 225, 230, 0.2);
  background: radial-gradient(ellipse at 50% 0%, #0a2350 0%, #041534 55%, #020a1f 100%);
}

.eta-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 0;
  font-family: var(--mono);
}

.eta-top span {
  display: block;
  margin-bottom: 6px;
  color: rgba(92, 225, 230, 0.85);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eta-readout b {
  display: block;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.eta-readout i {
  font-style: normal;
}

.eta-stage {
  text-align: right;
}

.eta-stage b {
  display: block;
  max-width: 250px;
  color: var(--white);
  font-size: 13px;
  line-height: 1.4;
}

.eta-map {
  display: block;
  width: 100%;
  height: auto;
}

.eta-atmos {
  fill: none;
  stroke: rgba(92, 225, 230, 0.14);
  stroke-width: 16;
}

.eta-earth {
  stroke: rgba(120, 230, 240, 0.6);
  stroke-width: 1.5;
}

.eta-grid {
  stroke: rgba(92, 225, 230, 0.14);
  stroke-width: 1;
}

.eta-route-base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.34);
  stroke-width: 2;
  stroke-dasharray: 3 8;
  stroke-linecap: round;
}

.eta-flown {
  fill: none;
  stroke: var(--hud);
  stroke-width: 3;
  stroke-linecap: round;
}

.eta-mark circle {
  fill: var(--hud);
  stroke: var(--white);
  stroke-width: 1.5;
  transition: fill 0.3s ease;
}

.eta-mark text {
  fill: var(--white);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-anchor: middle;
  transition: fill 0.3s ease;
}

.eta-dest circle {
  fill: var(--go);
}

.eta-dest .eta-dest-ring {
  fill: rgba(61, 220, 132, 0.12);
  stroke: var(--go);
}

.eta-dest text {
  fill: var(--go);
}

.eta-display[data-flight] .eta-mark:not(.is-lit) circle:not(.eta-dest-ring) {
  fill: #0b2150;
  stroke: rgba(255, 255, 255, 0.5);
}

.eta-display[data-flight] .eta-mark:not(.is-lit) text {
  fill: rgba(255, 255, 255, 0.55);
}

.info-list li {
  transition: color 0.3s ease;
}

.info-list li::before {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.info-list li.is-active {
  color: var(--white);
}

.info-list li.is-active::before {
  background: var(--go);
  box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.2), 0 0 12px rgba(61, 220, 132, 0.7);
}

/* ---------- ATC: radio stack (service & communications) ---------- */

.com-stack {
  padding: 16px;
  border-radius: 28px;
  border: 1px solid rgba(0, 22, 64, 0.25);
  background:
    radial-gradient(circle at 14px 14px, #33405e 2.5px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 14px) 14px, #33405e 2.5px, transparent 3.5px),
    radial-gradient(circle at 14px calc(100% - 14px), #33405e 2.5px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #33405e 2.5px, transparent 3.5px),
    linear-gradient(180deg, #0e1a38, #070e25);
  box-shadow: 0 30px 60px rgba(0, 22, 64, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.com-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 14px 16px;
  color: rgba(92, 225, 230, 0.85);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.com-head span:nth-child(2) {
  color: rgba(255, 255, 255, 0.55);
}

.com-rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #ff8a80;
}

.com-rec::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5a4f;
  box-shadow: 0 0 8px rgba(255, 90, 79, 0.8);
}

.motion .com-rec::before {
  animation: rec-blink 1.6s ease-in-out infinite;
}

@keyframes rec-blink {
  50% {
    opacity: 0.2;
  }
}

.com-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.com-channel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 12px;
  border-radius: 16px;
  border: 1px solid rgba(92, 225, 230, 0.16);
  background: radial-gradient(circle at 50% 0%, rgba(92, 225, 230, 0.07), transparent 60%), #040b1d;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.com-channel.is-tx {
  border-color: rgba(61, 220, 132, 0.55);
  box-shadow: 0 0 0 1px rgba(61, 220, 132, 0.18), 0 0 28px rgba(61, 220, 132, 0.12);
}

.com-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.com-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--go);
  box-shadow: 0 0 8px rgba(61, 220, 132, 0.8);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.com-id {
  color: var(--hud);
}

.com-state {
  margin-left: auto;
}

.com-channel h3 {
  margin: 6px 0 0;
  color: var(--white);
  font-size: 17px;
}

.com-channel p {
  flex: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.com-wave {
  display: block;
  width: 100%;
  height: 36px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--hud);
}

.com-wave path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.wave-amp {
  transform-origin: 0 20px;
  transition: transform 0.45s ease;
}

.motion .wave-run {
  animation: wave-scroll 2.2s linear infinite;
}

@keyframes wave-scroll {
  to {
    transform: translateX(-240px);
  }
}

.com-channel.is-tx .com-wave {
  color: var(--go);
}

.com-stack[data-flight] .com-channel:not(.is-tx) .wave-amp {
  transform: scaleY(0.16);
}

.com-stack[data-flight] .com-channel:not(.is-tx) .com-led {
  background: #5b6a86;
  box-shadow: none;
}

.com-log {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(92, 225, 230, 0.14);
  background: #030917;
}

.com-log-track {
  display: flex;
  width: max-content;
  padding: 12px 0 12px 18px;
  color: rgba(61, 220, 132, 0.92);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.com-log-track span {
  padding-right: 44px;
}

.com-log-track span::before {
  content: "› ";
  color: var(--hud);
}

.motion .com-log-track {
  animation: log-marquee 42s linear infinite;
}

@keyframes log-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Instruments: target gauges (outcomes) ---------- */

.gauge-panel {
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.gauge-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 16px;
  color: rgba(92, 225, 230, 0.85);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gauge-tgt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--go);
}

.gauge-tgt::before {
  content: "";
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--go);
}

.gauges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gauge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 16px 22px;
  border-radius: 20px;
  border: 1px solid rgba(92, 225, 230, 0.14);
  background: radial-gradient(circle at 50% 30%, rgba(92, 225, 230, 0.06), transparent 65%), #030b20;
  text-align: center;
}

.gauge-dial {
  display: block;
  width: min(100%, 200px);
  height: auto;
}

.gauge-bezel {
  fill: #020818;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 2;
}

.gauge-ticks {
  fill: none;
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 7;
  stroke-dasharray: 1.4 13.26;
}

.gauge-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 7;
  stroke-linecap: round;
}

.gauge-band {
  fill: none;
  stroke: rgba(61, 220, 132, 0.55);
  stroke-width: 7;
}

.gauge-fill {
  fill: none;
  stroke: var(--hud);
  stroke-width: 3;
  stroke-linecap: round;
}

.gauge-bug {
  fill: var(--go);
}

/* --a is the authored resting angle; motion animates --sweep so a revert can't erase --a. */
.gauge-needle {
  transform: rotate(var(--sweep, var(--a, 0deg)));
  transform-origin: 100px 100px;
  transform-box: view-box;
}

.gauge-needle path {
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
}

.gauge-needle circle {
  fill: #0a2a52;
  stroke: var(--hud);
  stroke-width: 2;
}

.gauge-value {
  position: relative;
  margin-top: -44px;
  color: var(--white);
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.gauge-label {
  max-width: 220px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.section.dark .stat-source {
  color: rgba(255, 255, 255, 0.62);
}

.gauge-panel .stat-source {
  margin: 16px 6px 0;
}

.outcome-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
  margin-top: 36px;
}

.outcome-split .lede,
.outcome-split .benefit-grid {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .com-channels,
  .gauges {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcome-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .blip-sub {
    display: none;
  }

  .blip-label {
    font-size: 19px;
  }

  .radar-bearings text {
    font-size: 16px;
  }

  .radar-core-label {
    font-size: 15px;
  }

  .eta-top {
    flex-direction: column;
    gap: 10px;
  }

  .eta-stage {
    text-align: left;
  }

  .eta-mark text {
    font-size: 21px;
  }

  .eta-mark[data-frac="0.875"] text {
    display: none;
  }

  .com-channels {
    grid-template-columns: 1fr;
  }

  .com-head span:nth-child(2) {
    display: none;
  }

  .gauges {
    gap: 10px;
  }

  .gauge-card {
    padding: 14px 10px 16px;
  }

  .gauge-value {
    margin-top: -34px;
    font-size: 20px;
  }

  .gauge-label {
    font-size: 13px;
  }
}

/* ==========================================================================
   Remaining flight phases: takeoff cautions, autopilot, flight levels,
   descent checklist, briefing, and the boarding-pass landing.
   ========================================================================== */

/* ---------- Takeoff: master caution annunciators (the challenge) ---------- */

.caution-panel {
  padding: 16px;
  border-radius: 28px;
  border: 1px solid rgba(0, 22, 64, 0.25);
  background: linear-gradient(180deg, #151c30, #0a0f1f);
  box-shadow: 0 30px 60px rgba(0, 22, 64, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.caution-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 8px 16px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.master-caution {
  display: grid;
  place-items: center;
  min-width: 88px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 176, 32, 0.6);
  background: radial-gradient(circle at 50% 40%, #6b4300, #2a1a00);
  box-shadow: 0 0 18px rgba(255, 176, 32, 0.35), inset 0 0 12px rgba(255, 176, 32, 0.25);
  color: #ffd27a;
  line-height: 1.25;
  text-align: center;
}

/* Blinks four times, then stays lit: no endless flashing. */
.motion .caution-panel.is-alerting .master-caution {
  animation: caution-blink 0.9s steps(1) 4;
}

@keyframes caution-blink {
  50% {
    background: #1d1300;
    box-shadow: none;
    color: rgba(255, 210, 122, 0.35);
  }
}

.caution-count {
  margin-left: auto;
  color: var(--amber);
}

.annunciators {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.annunciator {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 176, 32, 0.55);
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 176, 32, 0.22), transparent 70%), #2a1a02;
  box-shadow: 0 0 22px rgba(255, 176, 32, 0.16), inset 0 0 18px rgba(255, 176, 32, 0.12);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ann-code {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.annunciator strong {
  color: #ffd27a;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.annunciator p {
  margin: 0;
  color: rgba(255, 228, 184, 0.84);
  font-size: 13.5px;
  line-height: 1.45;
}

.caution-panel[data-flight] .annunciator:not(.is-lit) {
  border-color: rgba(255, 255, 255, 0.1);
  background: #11151f;
  box-shadow: none;
}

.caution-panel[data-flight] .annunciator:not(.is-lit) :is(.ann-code, strong, p) {
  color: rgba(255, 255, 255, 0.45);
}

.motion .annunciator.is-lit {
  animation: lamp-on 0.45s linear;
}

@keyframes lamp-on {
  0% {
    filter: brightness(0.4);
  }
  20% {
    filter: brightness(1.35);
  }
  35% {
    filter: brightness(0.6);
  }
  55% {
    filter: brightness(1.2);
  }
  100% {
    filter: brightness(1);
  }
}

.caution-panel .stat-source {
  margin: 14px 8px 2px;
  color: rgba(255, 255, 255, 0.55);
}

.runway-strip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 28px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #1c2236, #151a2b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 36px rgba(0, 22, 64, 0.16);
}

/* Runway edge lights along both sides of the strip */
.runway-strip::before,
.runway-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: radial-gradient(circle, #ffe3a0 0 2px, transparent 2.6px) 0 50% / 36px 6px repeat-x;
  filter: drop-shadow(0 0 3px rgba(255, 210, 120, 0.9));
}

.runway-strip::before {
  top: 8px;
}

.runway-strip::after {
  bottom: 8px;
}

.rw-keys {
  flex: 0 0 auto;
  width: 44px;
  height: 64px;
  border-radius: 2px;
  background: repeating-linear-gradient(0deg, #e9eefb 0 5px, transparent 5px 11px);
  opacity: 0.85;
}

.runway-strip .runway {
  flex: 0 1 auto;
  max-width: 560px;
  margin: 0;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.runway-strip .runway strong {
  color: var(--hud);
}

.rw-center {
  position: relative;
  flex: 1 1 180px;
  align-self: stretch;
  min-width: 160px;
  min-height: 64px;
}

.rw-center::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(233, 238, 251, 0.75) 0 26px, transparent 26px 46px);
}

.rw-jet {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 124px;
  margin-top: -44px;
}

.rw-jet svg {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(-12deg);
  transform-origin: 30% 80%;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

/* ---------- Autopilot: mode control + manual vs automated ---------- */

.ap-panel,
.overhead {
  padding: 16px;
  border-radius: 28px;
  border: 1px solid rgba(0, 22, 64, 0.25);
  box-shadow: 0 30px 60px rgba(0, 22, 64, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.ap-panel {
  background: linear-gradient(180deg, #111a33, #080f24);
}

.ap-head,
.overhead-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 8px 16px;
  color: rgba(92, 225, 230, 0.85);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ap-fma {
  display: inline-flex;
  gap: 6px;
}

.ap-fma b {
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.ap-panel[data-ap="on"] .ap-fma b {
  border-color: rgba(61, 220, 132, 0.5);
  color: var(--go);
}

.ap-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
}

html:not(.js) .ap-body {
  grid-template-columns: minmax(0, 1fr);
}

html:not(.js) .ap-control {
  display: none;
}

.ap-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 16px;
  border-radius: 18px;
  border: 1px solid rgba(92, 225, 230, 0.14);
  background: #050b1c;
  text-align: center;
}

.ap-button {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 124px;
  padding: 14px 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #2a3350, #151c33);
  box-shadow: 0 6px 0 #070b18, 0 10px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ap-button[aria-pressed="true"],
.ap-button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #070b18, 0 6px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ap-button:focus-visible {
  outline: 3px solid rgba(92, 225, 230, 0.6);
  outline-offset: 3px;
}

.ap-led {
  width: 46px;
  height: 6px;
  border-radius: 3px;
  background: #3a4560;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.ap-button[aria-pressed="true"] .ap-led {
  background: var(--go);
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.9);
}

.ap-key {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ap-state {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ap-button[aria-pressed="true"] .ap-state {
  color: var(--go);
}

.ap-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.ap-table {
  width: 100%;
  margin: -8px 0;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.ap-table th {
  padding: 4px 16px 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
}

.ap-table th.ap-manual {
  color: var(--amber);
}

.ap-table th.ap-auto {
  padding-left: 42px;
  color: var(--go);
}

.ap-table td {
  width: 50%;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #050b1c;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.4;
  transition: color 0.35s ease, background 0.35s ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}

.ap-table td.ap-manual {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 0 0 12px;
}

.ap-table td.ap-auto {
  position: relative;
  padding-left: 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 12px 12px 0;
}

/* Chevron from the manual task to its automated replacement */
.ap-table td.ap-auto::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.7;
}

.ap-panel[data-ap="off"] td.ap-manual {
  background: #1f1706;
  color: #ffd27a;
}

.ap-panel[data-ap="off"] td.ap-auto {
  color: rgba(255, 255, 255, 0.52);
}

.ap-panel[data-ap="on"] td.ap-manual {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 176, 32, 0.6);
}

.ap-panel[data-ap="on"] td.ap-auto {
  background: #06241a;
  color: #c8f7dc;
}

.overhead {
  margin-top: 18px;
  background: linear-gradient(180deg, #1a2238, #0e1426);
}

.overhead-head {
  color: rgba(255, 255, 255, 0.55);
}

.overhead-armed {
  color: var(--go);
}

.sys-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sys-module {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1122;
}

.sys-screen {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 35%, #0f3550, #04121f 75%);
  box-shadow: inset 0 0 0 1px rgba(92, 225, 230, 0.28);
  color: var(--hud);
  transition: color 0.25s ease;
}

.sys-screen svg {
  width: 20px;
  height: 20px;
}

.sys-led {
  width: 30px;
  height: 8px;
  margin-top: 4px;
  border-radius: 4px;
  background: var(--go);
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.75);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.sys-module h3 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 16px;
}

.sys-module p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.overhead[data-flight] .sys-module:not(.is-on) .sys-led {
  background: #3a4560;
  box-shadow: none;
}

.overhead[data-flight] .sys-module:not(.is-on) .sys-screen {
  color: rgba(92, 225, 230, 0.35);
}

/* ---------- Flight plan: step climb through five flight levels ---------- */

.climb {
  position: relative;
  padding-top: 44px;
}

.climb-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each level sits one step higher than the last: the cards are the staircase. */
.climb-step {
  position: relative;
  margin-top: calc((4 - var(--step)) * 44px);
  padding: 20px 18px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 22, 64, 0.07);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.climb-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 14px;
  right: 14px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--blue);
  transition: background 0.3s ease;
}

.climb-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.fl {
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--navy);
  color: var(--white);
}

.step-no {
  color: var(--muted);
}

.climb-step h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.climb-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.climb-jet {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: none;
  width: 110px;
  pointer-events: none;
}

.climb-jet svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(0, 22, 64, 0.25));
}

.climb[data-flight] .climb-jet {
  display: block;
}

.climb[data-flight] .climb-step:not(.is-reached)::before {
  background: #c9d4e5;
}

.climb[data-flight] .climb-step.is-reached {
  border-color: rgba(7, 95, 240, 0.35);
  box-shadow: 0 14px 30px rgba(7, 95, 240, 0.14);
}

/* ---------- Descent: laminated cockpit checklist ---------- */

.checklist-card {
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #e7dfc8;
  background: #fffdf6;
  box-shadow: 0 24px 48px rgba(0, 22, 64, 0.12);
}

.checklist-head,
.checklist-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.checklist-head {
  background: var(--navy);
  color: var(--white);
}

.checklist-foot {
  border-top: 1px solid #e7dfc8;
  background: #faf5e6;
  color: #6b6450;
}

.checklist-foot b {
  color: #0d7a47;
  transition: color 0.3s ease;
}

.checklist {
  margin: 0;
  padding: 4px 24px;
  list-style: none;
}

.check-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dashed #e2d9bf;
}

.check-item:last-child {
  border-bottom: 0;
}

.check-text h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 17px;
}

/* Dotted leader from the item to its CHECK response */
.check-text h3::after {
  content: "";
  flex: 1;
  min-width: 24px;
  border-bottom: 2px dotted #c9c0a6;
  transform: translateY(-4px);
}

.check-text p {
  margin: 0;
  color: #5a6478;
  font-size: 14.5px;
  line-height: 1.5;
}

.check-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
  color: #0d7a47;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.check-mark svg {
  width: 18px;
  height: 18px;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.checklist-card[data-flight] .check-item:not(.is-checked) .check-mark,
.checklist-card[data-flight]:not(.is-complete) .checklist-foot b {
  color: #b7ad92;
}

.checklist-card[data-flight] .check-item:not(.is-checked) .check-mark svg {
  opacity: 0;
  transform: scale(0.4);
}

/* ---------- Briefing: numbered FAQ cards ---------- */

.faq-q {
  display: inline-block;
  min-width: 34px;
  margin-right: 12px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(7, 95, 240, 0.08);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  vertical-align: 2px;
}

.faq-item {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(7, 95, 240, 0.35);
  box-shadow: 0 12px 26px rgba(7, 95, 240, 0.08);
}

.faq-item .answer {
  padding-left: 68px;
}

/* ---------- Landing: boarding-pass demo request ---------- */

.boarding-pass {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  overflow: hidden;
  border-radius: 25px;
  border: 1px solid #dbe3ef;
  background: var(--white);
  box-shadow: var(--shadow);
}

.bp-main {
  min-width: 0;
  padding: 0 30px 28px;
}

.bp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -30px 22px;
  padding: 14px 30px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bp-brand svg {
  width: 18px;
  height: 18px;
}

.bp-route {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.bp-city span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bp-city b {
  display: block;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.2;
}

.bp-to {
  text-align: right;
}

.bp-line {
  position: relative;
  flex: 1;
  min-width: 48px;
  height: 28px;
}

.bp-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 2px dashed #b9c7dc;
}

.bp-line svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 50%;
  background: var(--navy);
  transform: translate(-50%, -50%);
}

.boarding-pass h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 30px;
}

.bp-intro {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

.btn-jet {
  width: 18px;
  height: 18px;
  transform: rotate(-35deg);
}

.bp-stub {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 64px 20px 22px;
  border-left: 2px dashed #cfd9e8;
  background: linear-gradient(180deg, var(--navy) 0 45px, #f4f8fe 45px, #eaf1fb);
}

/* Punched notches where the stub tears off */
.bp-stub::before,
.bp-stub::after {
  content: "";
  position: absolute;
  left: -15px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #dbe3ef;
  background: var(--white);
}

.bp-stub::before {
  top: -15px;
}

.bp-stub::after {
  bottom: -15px;
}

.bp-label {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bp-value {
  overflow: hidden;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-value.is-empty {
  color: #93a0b6;
}

.bp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
}

.bp-grid b {
  display: block;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 14px;
}

.bp-barcode {
  height: 46px;
  margin-top: auto;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 5px, transparent 5px 8px, var(--navy) 8px 11px, transparent 11px 13px);
  opacity: 0.85;
}

.bp-stamp {
  position: absolute;
  top: 58%;
  right: 24px;
  padding: 8px 14px;
  border: 3px solid #0d7a47;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: #0d7a47;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: rotate(-14deg);
  pointer-events: none;
}

.boarding-pass.is-cleared .bp-stamp {
  opacity: 1;
}

.motion .boarding-pass.is-cleared .bp-stamp {
  animation: stamp-in 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes stamp-in {
  from {
    opacity: 0;
    transform: rotate(-14deg) scale(1.8);
  }
  to {
    opacity: 1;
    transform: rotate(-14deg) scale(1);
  }
}

/* ---------- Footer: landing runway ---------- */

.landing-strip {
  height: 140px;
}

.landing-strip svg {
  display: block;
  width: 100%;
  height: 100%;
}

.landing-lights {
  filter: drop-shadow(0 0 3px rgba(255, 210, 120, 0.9));
}

@media (max-width: 1180px) {
  .boarding-pass {
    grid-template-columns: minmax(0, 1fr) 180px;
  }
}

@media (max-width: 1079px) {
  .annunciators {
    grid-template-columns: repeat(2, 1fr);
  }

  .annunciator:last-child {
    grid-column: 1 / -1;
  }

  .climb {
    padding-top: 0;
  }

  .climb-steps {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    margin-inline: auto;
  }

  .climb-step {
    margin-top: 0;
  }
}

@media (max-width: 860px) {
  .runway-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 28px 22px 22px;
  }

  .rw-keys {
    display: none;
  }

  .rw-center {
    flex-basis: 64px;
  }

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

  .ap-control {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

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

  .bp-stub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 2px 16px;
    padding: 22px 22px 24px;
    border-left: 0;
    border-top: 2px dashed #cfd9e8;
    background: #f4f8fe;
  }

  .bp-stub::before {
    top: -15px;
    left: -15px;
  }

  .bp-stub::after {
    top: -15px;
    right: -15px;
    bottom: auto;
    left: auto;
  }

  .bp-label {
    grid-column: span 1;
  }

  .bp-grid,
  .bp-barcode {
    grid-column: 1 / -1;
  }

  .bp-barcode {
    margin-top: 14px;
  }

  .bp-stamp {
    top: auto;
    bottom: 70px;
  }
}

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

  .annunciator strong {
    font-size: 21px;
  }

  .caution-title {
    display: none;
  }

  .runway-strip .runway {
    font-size: 18px;
  }

  .ap-table td {
    padding: 12px;
    font-size: 14px;
  }

  .ap-table td.ap-auto {
    padding-left: 34px;
  }

  .ap-table td.ap-auto::before {
    left: 12px;
  }

  .ap-table th {
    padding: 4px 12px 2px;
  }

  .ap-table th.ap-auto {
    padding-left: 34px;
  }

  .ap-fma {
    display: none;
  }

  .check-text h3 {
    font-size: 16px;
  }

  .check-mark {
    font-size: 0;
    gap: 0;
  }

  .faq-item .answer {
    padding-left: 22px;
  }

  .bp-main {
    padding: 0 20px 24px;
  }

  .bp-head {
    margin: 0 -20px 18px;
    padding: 14px 20px;
  }

  .bp-route {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .bp-to {
    text-align: left;
  }

  .bp-line {
    display: none;
  }
}

/* The contact card rides alongside the (taller) boarding pass instead of stretching. */
@media (min-width: 1081px) {
  .contact-grid {
    align-items: start;
  }

  .contact-card {
    position: sticky;
    top: calc(var(--chrome) + 24px);
  }
}

/* Reconciled with staging: the five pillars sit on the glareshield, the ten pillars in
   the overhead panel, and staging's focus ring reads on the dark instrument panels too. */
.journey-flight :focus-visible,
.caution-panel :focus-visible,
.ap-panel :focus-visible,
.overhead :focus-visible,
.com-stack :focus-visible,
.phase-bar :focus-visible,
.flight-hud :focus-visible {
  outline-color: var(--cyan);
}

@media (max-width: 1080px) {
  .pillar-cells {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .pillar-cells,
  .sys-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Request a Demo: sending states ---------- */

.status.is-error {
  color: #b42318;
}

/* Honeypot: invisible to people and assistive tech, tempting to form-filling bots */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-slot:not(:empty) {
  margin-top: 16px;
}

.form-submit:disabled {
  cursor: progress;
  opacity: 0.75;
}
