/* ============================================================
   SOQA Landing Page
   Aviation / cockpit theme. Dark with yellow + orange accents.
   ============================================================ */

:root {
  /* core greys */
  --bg-0:        #07080a;     /* page bg */
  --bg-1:        #101216;     /* card bg */
  --bg-2:        #181b21;     /* tape bg */
  --bg-3:        #22262e;     /* tape inner */
  --line:        #2a2f37;     /* borders, ticks */
  --line-bright: #4a4f57;     /* major ticks */

  /* text */
  --txt-0:       #f4f5f7;     /* primary */
  --txt-1:       #c9ccd1;     /* body */
  --txt-2:       #8a8e95;     /* muted */
  --txt-3:       #585b62;     /* disabled */

  /* brand accents */
  --yellow:      #f6c415;     /* SOQA brand */
  --yellow-soft: rgba(246, 196, 21, 0.15);
  --orange:      #ff7a18;
  --orange-soft: rgba(255, 122, 24, 0.12);

  /* layout */
  --pfd-w:       72px;
  --pfd-pad:     16px;
  --content-max: 980px;
  --section-pad: 64px;
  --nav-h:       64px;
}

/* ---------- custom brand font (SOQA logo wordmark) ---------- */
@font-face {
  font-family: 'Aquire';
  src: url('assets/fonts/Aquire.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- reset / base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  background-color: var(--bg-0);
  color: var(--txt-1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  /* HUD-style yellow X-crosshair cursor (inline SVG, 40x40, hot-spot
     at center 20,20). Longer arms + larger center dot mimic the
     cockpit-ECL cursor look. Falls back to native crosshair if the
     SVG fails. */
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><g fill='none' stroke='%23f6c415' stroke-width='2.2' stroke-linecap='round'><line x1='3' y1='3' x2='16' y2='16'/><line x1='24' y1='24' x2='37' y2='37'/><line x1='37' y1='3' x2='24' y2='16'/><line x1='16' y1='24' x2='3' y2='37'/></g><circle cx='20' cy='20' r='2.2' fill='%23f6c415'/></svg>") 20 20, crosshair;
}
/* Interactive elements get a clear pointer cursor so users know they're
   clickable. The custom crosshair is for "scenery" -- decorative areas,
   text, etc. Note: .ecl-item is intentionally NOT in this list so the
   crosshair stays on the checklist (it's themed as a cockpit ECL panel
   where the cursor never changes). */
a, button, [role="button"], select, summary, label[for],
.btn, .nav-links a, .footer-social-btn, .cookie-btn,
.price-btn, .vendor-card, .vendor-logo-link,
.roadmap-card, .datasize-row, input[type="submit"], input[type="button"] {
  cursor: pointer;
}
/* The ECL checklist + its buttons are themed as a real cockpit panel
   where the cursor stays as the yellow crosshair throughout. Override
   the generic `button` pointer rule above for ECL buttons specifically. */
.ecl-btn, .ecl-item {
  cursor: inherit;
}
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="url"], input[type="tel"],
input[type="number"], textarea {
  cursor: text;
}
a {
  color: inherit;
  text-decoration: none;
}
img { display: block; }

::selection {
  background: var(--yellow);
  color: #000;
}


/* Page-wide ambient mesh-gradient — brand-colour glow anchored at the
   actual viewport corners. Fixed positioning so the same lighting persists
   as the user scrolls down the page. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    /* Yellow — top-left corner */
    radial-gradient(circle 720px at 0% 0%,     rgba(246, 196, 21, 0.20), transparent 65%),
    /* Orange — bottom-right corner */
    radial-gradient(circle 680px at 100% 100%, rgba(255, 122, 24, 0.17), transparent 65%),
    /* Cool blue — bottom-left corner */
    radial-gradient(circle 600px at 0% 100%,   rgba(127, 168, 255, 0.11), transparent 65%),
    /* White highlight — top-right corner */
    radial-gradient(circle 520px at 100% 0%,   rgba(255, 255, 255, 0.045), transparent 60%);
  filter: blur(42px);
  animation: bg-drift 22s ease-in-out infinite alternate;
}
body::after { content: none; display: none; }
@keyframes bg-drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(22px, -16px); }
}

/* (background bokeh removed) */
.bg-grid { display: none; }
/* ---------- top nav ---------- */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc(var(--pfd-w) + var(--pfd-pad) + 24px);
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(7, 8, 10, 0.65);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 50px;
  width: 160px;
}
/* Default state: yellow pill with black SOQA letters */
.brand-pill {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: var(--yellow);
  padding: 6px 10px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.35s ease;
  opacity: 1;
}
.brand-pill img {
  height: 30px;
  width: auto;
  display: block;
  filter: brightness(0);   /* render the yellow SVG letters as solid black */
}
/* Scrolled state: yellow letters on transparent (same SVG, same size, same
   position as the SOQA letters inside the pill — so toggling looks like
   only the yellow background fades, never a size or position jump). */
.brand-logo-text {
  position: absolute;
  top: 50%;
  left: 10px;              /* matches .brand-pill padding-left */
  transform: translateY(-50%);
  height: 30px;
  width: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.topnav.scrolled .brand-pill      { opacity: 0; }
.topnav.scrolled .brand-logo-text { opacity: 1; }

/* Top nav fade: solid black-ish backdrop while at top, lighter once scrolled */
.topnav.scrolled {
  background: rgba(7, 8, 10, 0.85);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-1);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--yellow); }
.cta-btn {
  background: var(--yellow);
  color: #000 !important;
  padding: 6px 13px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover {
  background: #ffd23a;
  transform: translateY(-1px);
}

/* ---------- PFD tapes (Airbus-PFD inspired) ---------- */
:root {
  --pfd-tape-bg: #6b6f76;      /* medium grey body of the tape */
  --pfd-tape-bg-edge: #4d5057; /* darker edge for slight bevel */
}

.pfd {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: var(--pfd-w);
  height: 70vh;
  max-height: 600px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 2px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow: visible;        /* allow current-value box to bulge outward */
  user-select: none;
  /* Hidden during hero, faded in once scrolled past it */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
body.past-hero .pfd {
  opacity: 1;
  pointer-events: auto;
}
.pfd-speed { left: var(--pfd-pad); }
.pfd-alt   { right: var(--pfd-pad); }

.pfd-label, .pfd-unit {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.15em;
  text-align: center;
  padding: 6px 0;
  background: #000;
  flex-shrink: 0;
}
.pfd-unit { color: var(--txt-2); border-top: 1px solid var(--line); }

.pfd-tape {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: linear-gradient(to right,
    var(--pfd-tape-bg-edge) 0%,
    var(--pfd-tape-bg) 35%,
    var(--pfd-tape-bg) 65%,
    var(--pfd-tape-bg-edge) 100%);
}

.pfd-tape-strip {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  will-change: transform;
}

.pfd-tick {
  position: relative;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}
.pfd-tick.major {
  color: #ffffff;
  font-weight: 700;
}
.pfd-tick::before {
  /* tick line, points inward */
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1.5px;
  background: #ffffff;
}
.pfd-tick.major::before {
  width: 9px;
  height: 2px;
}
.pfd-alt .pfd-tick {
  justify-content: flex-start;
  padding-left: 14px;
  padding-right: 0;
}
.pfd-alt .pfd-tick::before {
  right: auto;
  left: 0;
}

/* Current-value readout: yellow-outlined box with white digits, sits over
   the reference line. Bulges outward (toward the page edge) like the real
   PFD's airspeed/altitude readout. */
.pfd-current {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
  width: calc(var(--pfd-w) + 6px);
  height: 32px;
  background: #000;
  border: 1.5px solid var(--yellow);
}
.pfd-speed .pfd-current { left: -3px; }
.pfd-alt   .pfd-current { right: -3px; }
.pfd-current-val {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-align: center;
  min-width: 50px;
}

/* Yellow chevron pointing at the reference line from the inside edge */
.pfd-tape::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--yellow);
  pointer-events: none;
  z-index: 2;
}
.pfd-speed .pfd-tape::before { right: -6px; }
.pfd-alt   .pfd-tape::before { left:  -6px; }

/* Reference line across the tape behind the current-value box */
.pfd-tape::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: var(--yellow);
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

/* ---------- main content ---------- */
.content {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  max-width: var(--content-max);
  padding: 0 calc(var(--pfd-w) + var(--pfd-pad) + 32px);
}

/* ---------- hero (2-column: SOQA left, xFDR mockup right) ---------- */
.hero {
  /* Break out of .content's max-width / PFD-tape padding so the hero has
     full viewport width to lay out the SOQA wordmark and the xFDR mockup. */
  width: min(100vw, 1500px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  padding: 110px 56px 70px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.85fr 1.5fr;     /* right column wider for the mockup */
  gap: 48px;
  align-items: center;
  overflow: hidden;
}

/* Hero shares the page-wide gradient (body::before) — no separate blob
   layer needed here. Only the tech grid (hero::after) is hero-specific. */

/* Faint tech grid that fades toward the edges. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right,  rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black 0%, rgba(0,0,0,0.4) 50%, transparent 95%);
          mask-image: radial-gradient(ellipse 80% 80% at center, black 0%, rgba(0,0,0,0.4) 50%, transparent 95%);
}

/* Keep the hero content above both decorative layers. */
.hero-content,
.hero-visual,
.hero-scroll-hint {
  position: relative;
  z-index: 1;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-visual {
  width: 100%;
  position: relative;
}

/* Hero xm-window override: stay inside the right column. Internal elements
   keep their default (full) size — just the wrapper width is constrained. */
.hero-visual .xm-window {
  margin: 0;
  max-width: none;
  width: 100%;
  position: static;
  left: auto;
  transform: none;
}
.hero-visual .xm-body { height: 320px; }

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 100px 32px 60px;
  }
}
@media (max-width: 720px) {
  .hero { padding: 88px 18px 50px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.18em;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(10px);
}
.hero-title {
  font-family: 'Aquire', 'Inter', sans-serif;
  font-size: clamp(80px, 11vw, 168px);
  font-weight: 400;          /* Aquire is single-weight */
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--txt-0);
  margin-bottom: 28px;
  opacity: 0;
  display: inline-block;     /* shrink-wraps to the SOQA width */
}
.hero-soqa { display: block; }
.hero-soqa-sub {
  display: block;
  text-align: right;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 7.5px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.3em;
  line-height: 1.35;
  text-transform: uppercase;
  margin-top: -2px;
  white-space: nowrap;
}
.hero-soqa {
  color: var(--txt-0);
  position: relative;
}
.hero-subtitle {
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 700;
  color: var(--txt-0);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: 480px;
  opacity: 0;
  transform: translateY(12px);
}
.hero-subtitle::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--orange);
  margin-top: 18px;
}
.hero-tag {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 400;
  color: var(--txt-1);
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(15px);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(15px);
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px 9px 26px;          /* extra left pad for hazard strip */
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 3px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  overflow: hidden;
}
/* Hazard strip only on dark/ghost buttons (yellow-bg buttons stay clean). */
.btn-ghost::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0,
    var(--yellow) 3px,
    #000 3px,
    #000 6px
  );
}
/* Yellow primary button — "cockpit key" style
   - Subtle top highlight + amber bottom shading for embossed depth
   - Uppercase, tighter letter-spacing, animated arrow
   - On hover: bright yellow, lift, glow + light "shine" sweeps across surface */
.btn-primary {
  background: var(--yellow);
  color: #000 !important;
  padding: 9px 18px 9px 16px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  isolation: isolate;
}
.btn-primary::after { content: none; display: none; }
.btn-primary::before {
  /* Light shine that sweeps across the face on hover */
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 55%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
  z-index: 0;
}
.btn-primary:hover {
  background: #ffda3d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(246, 196, 21, 0.45);
}
.btn-primary:hover::before { left: 110%; }
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(246, 196, 21, 0.25);
}

/* Sign-In nav button: keep cockpit-key shine but no uppercase + no arrow */
.btn-primary.nav-signin {
  text-transform: none;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
}
.btn-primary.nav-signin::after { content: none; display: none; }
.btn-ghost {
  background: transparent;
  color: var(--txt-1) !important;
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange) !important;
}
.btn-lg { padding: 12px 26px; font-size: 13.5px; }
.btn-lg.btn-ghost { padding-left: 30px; }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--txt-2);
}
.scroll-bar {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--orange) 0%, transparent 100%);
  animation: scroll-bar-drop 1.8s ease-in-out infinite;
}
@keyframes scroll-bar-drop {
  0%   { transform: translateY(-12px); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ---------- generic section ---------- */
.section {
  /* Was min-height:100vh + vertical-center flex; that wasted enormous
     dead space below short sections (Features, Roadmap, etc.). Now each
     section sizes to its own content with --section-pad top/bottom. */
  padding: var(--section-pad) 0;
  position: relative;
}
.section-eyebrow {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--txt-0);
  margin-bottom: 24px;
  max-width: 820px;
}
.section-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--txt-1);
  max-width: 660px;
  margin-bottom: 56px;
}

/* ---------- about FCOM (Airbus procedure-style, dark mode) ---------- */
.fcom {
  font-family: 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue Condensed', Arial, sans-serif;
  font-stretch: condensed;
  font-size: 15px;
  line-height: 1.45;
  background: #14171c;
  border: 1px solid #25282d;
  border-radius: 4px;
  margin-top: 32px;
  overflow: hidden;
}
.fcom-header {
  background: linear-gradient(180deg, #4d5057 0%, #3b3e44 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 10px 16px;
  border-bottom: 1.5px solid #1a1c20;
  text-transform: uppercase;
}
.fcom-block {
  border-top: 1px solid #25282d;
}
.fcom-block:first-of-type { border-top: none; }
.fcom-meta {
  background: #2a2d33;
  color: #8a8d92;
  font-size: 11px;
  padding: 6px 16px 5px;
  letter-spacing: 0.01em;
  font-weight: 400;
  line-height: 1.4;
}
.fcom-section {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  padding: 16px 16px 10px;
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: uppercase;
}
.fcom-content {
  padding: 0 16px 18px 32px;     /* indent body inside section */
}
.fcom-row {
  display: flex;
  align-items: baseline;
  font-weight: 700;
  color: #e0e2e5;
  font-size: 15px;
  padding: 1px 0;
  letter-spacing: 0.01em;
}
.fcom-dots {
  flex: 1;
  border-bottom: 1.5px dotted #6a6d72;
  height: 1px;
  margin: 0 6px;
  align-self: center;
  position: relative;
  top: -3px;
}
.fcom-value {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.fcom-note {
  font-style: italic;
  color: #b0b3b8;
  font-size: 14px;
  margin: 8px 0 0;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .fcom { font-size: 13px; }
  .fcom-content { padding-left: 22px; }
  .fcom-section { font-size: 15px; }
}

/* ---------- about prose (long-form explainer) ---------- */
.about-prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
  max-width: 760px;
}
.about-prose p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--txt-1);
  margin: 0;
}
.about-prose strong {
  color: var(--txt-0);
  font-weight: 700;
}

/* ---------- about cards ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.about-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 32px 24px 28px;
  border-radius: 0 0 4px 4px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.about-card::before {
  /* thin black + yellow diagonal hazard strip across the TOP edge */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background-image: repeating-linear-gradient(
    45deg,
    var(--yellow) 0,
    var(--yellow) 3px,
    #000 3px,
    #000 6px
  );
}
.about-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.about-num {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: var(--orange);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.about-h {
  font-size: 22px;
  font-weight: 700;
  color: var(--txt-0);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.about-p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--txt-2);
}

/* ---------- about flow (Record → Upload → Analyse) ---------- */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: flex-start;
  gap: 0;
  margin-top: 32px;
}
.flow-step {
  text-align: center;
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(246, 196, 21, 0.14), rgba(246, 196, 21, 0.04));
  border: 1.5px solid rgba(246, 196, 21, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  color: var(--yellow);
  box-shadow: inset 0 0 24px rgba(246, 196, 21, 0.08);
}
.flow-icon svg { width: 32px; height: 32px; }
.flow-icon::after {
  /* outer pulsing halo */
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(246, 196, 21, 0.25);
  animation: flow-icon-pulse 2.4s ease-in-out infinite;
}
.flow-step:nth-child(3) .flow-icon::after { animation-delay: 0.8s; }
.flow-step:nth-child(5) .flow-icon::after { animation-delay: 1.6s; }
@keyframes flow-icon-pulse {
  0%, 100% { opacity: 0.30; transform: scale(1);    }
  50%      { opacity: 0.85; transform: scale(1.06); }
}
.flow-num {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-bottom: 10px;
}
.flow-h {
  font-size: 22px;
  font-weight: 700;
  color: var(--txt-0);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.flow-p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--txt-2);
  max-width: 240px;
}
.flow-link {
  align-self: flex-start;
  margin-top: 40px;     /* line up with icon centre */
  position: relative;
  width: 100%;
  min-width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.flow-pulse {
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(246, 196, 21, 0.85) 50%,
    transparent 100%
  );
  animation: flow-pulse-x 3s linear infinite;
}
@keyframes flow-pulse-x {
  0%   { left: -30%; }
  100% { left: 100%; }
}
@media (max-width: 900px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .flow-link {
    width: 2px;
    height: 36px;
    margin: 0 auto;
  }
  .flow-pulse {
    width: 100%;
    height: 30%;
    left: 0;
    top: -30%;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(246, 196, 21, 0.85) 50%,
      transparent 100%
    );
    animation: flow-pulse-y 3s linear infinite;
  }
  @keyframes flow-pulse-y {
    0%   { top: -30%; }
    100% { top: 100%; }
  }
}

/* ---------- features list (numbered horizontal strips) ---------- */
.feat-list {
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.feat-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 36px;
  padding: 36px 8px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: background 0.25s;
}
.feat-row:hover {
  background: rgba(246, 196, 21, 0.02);
}
.feat-row::after {
  /* yellow accent that sweeps along the bottom border on hover */
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--yellow);
  transition: width 0.5s ease;
}
.feat-row:hover::after { width: 80px; }
.feat-row-num {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  padding-top: 2px;
  /* Hollow outline numbers — like aircraft livery / runway markings */
  color: transparent;
  -webkit-text-stroke: 1.5px var(--yellow);
          text-stroke: 1.5px var(--yellow);
  position: relative;
  display: inline-block;
}
.feat-row-num::after {
  /* Short yellow accent bar under the number, like a decorator stripe */
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 24px;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}
.feat-row:hover .feat-row-num::after { width: 60px; }
.feat-row-tag {
  display: inline-block;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.feat-row-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--txt-0);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feat-row-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--txt-1);
  max-width: 720px;
}

/* ---------- xFDR desktop app mockup ---------- */
/* Header text wrapper that mirrors .xm-window positioning so the eyebrow,
   title and lead text all line up with the mockup's left edge. */
.xm-aligned,
.xm-window {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
  width: calc(100vw - 380px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.xm-window {
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
  background: #0c0e12;
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55), 0 6px 16px rgba(0, 0, 0, 0.4);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  user-select: none;
}
@media (max-width: 1100px) {
  .xm-aligned,
  .xm-window {
    width: calc(100% + 48px);
    max-width: none;
    margin-left: -24px;
    margin-right: -24px;
    left: auto;
    transform: none;
  }
}
@media (max-width: 720px) {
  .xm-aligned,
  .xm-window { width: 100%; margin-left: 0; margin-right: 0; }
}

/* Top title bar */
.xm-topbar {
  height: 36px;
  display: flex;
  align-items: center;
  background: rgba(20, 22, 27, 0.85);
  border-bottom: 1px solid var(--line);
  padding-left: 16px;
}
.xm-title {
  font-family: 'Aquire', 'Inter Tight', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #aeb1b6;
}
.xm-topbar-right {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  height: 100%;
}
.xm-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-left: 1px solid var(--line);
  background: rgba(76, 175, 80, 0.10);
}
.xm-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  position: relative;
  animation: xm-dot-pulse 1.6s ease-in-out infinite;
}
.xm-status-dot::after {
  /* Expanding halo ring */
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.45);
  animation: xm-dot-ring 1.6s ease-out infinite;
  pointer-events: none;
}
@keyframes xm-dot-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(76, 175, 80, 0.55), 0 0 8px  rgba(76, 175, 80, 0.30); }
  50%      { box-shadow: 0 0 9px rgba(76, 175, 80, 0.95), 0 0 18px rgba(76, 175, 80, 0.55); }
}
@keyframes xm-dot-ring {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(2.6); opacity: 0; }
}
.xm-status-text {
  font-size: 11.5px;
  color: #6dd674;
  letter-spacing: 0.01em;
}
.xm-wb {
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #888;
  border-left: 1px solid var(--line);
}
.xm-wb-close { color: #b88; }

/* Body — sidebar + fields + splash */
.xm-body {
  display: flex;
  height: 380px;
  background: #0c0e12;
}

/* Sidebar */
.xm-sidebar {
  width: 44px;
  flex-shrink: 0;
  background: #14171c;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0 8px;
}
.xm-nav {
  width: 32px;
  height: 32px;
  margin: 2px 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a7d82;
}
.xm-nav svg {
  width: 16px;
  height: 16px;
  display: block;
}
.xm-nav-active {
  background: rgba(250, 102, 1, 0.16);
  color: #fa9a4d;
}
.xm-hazard {
  flex: 1;
  width: 100%;
  background: repeating-linear-gradient(
    135deg,
    rgba(250, 102, 1, 0.18) 0px,
    rgba(250, 102, 1, 0.18) 8px,
    transparent 8px,
    transparent 16px
  );
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
          mask-image: linear-gradient(to top, black 0%, transparent 100%);
  margin-top: 6px;
}
.xm-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2a2d33;
  color: #c8cbd0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 6px;
}

/* Left fields panel */
.xm-fields {
  width: 220px;
  flex-shrink: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--line);
}
.xm-field { display: flex; flex-direction: column; gap: 4px; }
.xm-label {
  font-size: 9px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.xm-select,
.xm-input {
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #14171c;
  border-radius: 5px;
  color: #d8dade;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  font-family: 'JetBrains Mono', 'Inter Tight', monospace;
}
.xm-select {
  justify-content: space-between;
  font-family: 'Inter Tight', 'Inter', sans-serif;
}
.xm-select svg {
  width: 12px;
  height: 12px;
  color: #888;
  flex-shrink: 0;
}

/* Right side container — map underneath, orange splash on top that swipes left */
.xm-right {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.xm-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0c1019;
}
.xm-map .leaflet-control-attribution { display: none; }
.xm-map .leaflet-control-zoom        { display: none; }

/* Orange splash — cinematic fade-out (with a touch of zoom + blur) to
   reveal the magenta map underneath, holds, then fades back in. */
.xm-splash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fa6601;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: xm-fade 10s ease-in-out infinite;
  will-change: opacity, transform, filter;
}
@keyframes xm-fade {
  0%, 30%   { opacity: 1; transform: scale(1);    filter: blur(0); }
  46%, 80%  { opacity: 0; transform: scale(1.04); filter: blur(4px); }
  96%, 100% { opacity: 1; transform: scale(1);    filter: blur(0); }
}
/* Black data plate (top-left) with dots simulating screws */
.xm-plate {
  position: absolute;
  z-index: 4;
  top: 9px;
  left: 9px;
  height: 50px;
  background: linear-gradient(160deg, #1a1a1a 0%, #111 60%, #1e1e1e 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  padding: 4px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.xm-screw {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #555, #222);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
}
.xm-screw-tl { top: 3px; left: 3px; }
.xm-screw-tr { top: 3px; right: 3px; }
.xm-screw-bl { bottom: 3px; left: 3px; }
.xm-screw-br { bottom: 3px; right: 3px; }

/* Yellow CAUTION sticker (top-center) */
.xm-caution {
  position: absolute;
  z-index: 4;
  top: 9px;
  left: 50%;
  transform: translateX(-50%) rotate(-0.6deg);
  height: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 36px 0 30px;
  background: #f5c800;
  background-image: repeating-linear-gradient(
    78deg,
    transparent 0px,
    transparent 5px,
    rgba(0, 0, 0, 0.045) 5px,
    rgba(0, 0, 0, 0.045) 6px
  );
  white-space: nowrap;
  /* worn / torn bottom-right corner */
  clip-path: polygon(
    0% 0%, 100% 0%, 100% 44%, 98% 47%, 100% 50%, 97.5% 52%, 99.5% 55%,
    96.5% 57%, 99% 60%, 96% 62%, 98.5% 65%, 95.5% 67%, 98% 70%, 95% 72%,
    97.5% 75%, 94% 77%, 97% 80%, 93.5% 82%, 96.5% 85%, 92.5% 87%,
    95.5% 90%, 91% 92%, 94% 95%, 89.5% 97%, 93% 100%, 87% 100%, 0% 100%
  );
}
.xm-caution-tri { width: 32px; height: 28px; }
.xm-caution-text {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: #000;
  text-transform: uppercase;
}

/* DO NOT OPEN stamp (top-right) — sits ABOVE the white bands */
.xm-stamp {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  transform: rotate(-9deg);
  border: 4px solid rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  padding: 6px 12px;
  color: rgba(0, 0, 0, 0.5);
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.05;
  text-align: center;
  pointer-events: none;
}
.xm-stamp-sub {
  font-size: 8px;
  letter-spacing: 0.22em;
  margin-top: 2px;
  opacity: 0.9;
  font-weight: 800;
}

/* White horizontal bands — sit BEHIND plate, caution and stamp */
.xm-band {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  height: 18px;
  background: #ffffff;
  opacity: 0.92;
}
.xm-band-1 { top: 78px;  }
.xm-band-2 { top: 116px; }

/* Center headline — sits below the white bands and the corner badges */
.xm-center {
  background: #ffffff;
  padding: 12px 24px;
  text-align: center;
  margin: 0 28px;
  position: relative;
  top: 38px;          /* push below the two white horizontal bands */
  z-index: 3;
}
.xm-center-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}
.xm-center-title {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 38px;
  color: #000;
  text-transform: uppercase;
  line-height: 1.05;
  white-space: nowrap;
}
.xm-center-rule {
  height: 2px;
  background: #000;
  margin: 6px 0;
}
.xm-center-status {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #000;
  white-space: nowrap;
}
.xm-dots {
  display: inline-block;
  width: 1.4em;
  text-align: left;
  letter-spacing: 0.02em;
}

/* Bottom diagonal hazard stripes */
.xm-hazard-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: repeating-linear-gradient(
    45deg,
    #000 0px,
    #000 18px,
    #fa6601 18px,
    #fa6601 36px
  );
  opacity: 0.55;
}

/* Footer bar — RECORD capsule with timer */
.xm-footer {
  height: 47px;
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  background: rgba(20, 22, 27, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}
.xm-rec-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(250, 102, 1, 0.28);
  background: #14171c;
}
.xm-rec-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  height: 24px;
  border-radius: 999px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 67, 54, 0.45);
  background: rgba(244, 67, 54, 0.16);
  border: none;
  cursor: not-allowed;
}
.xm-rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.xm-rec-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #8a8a8a;
  letter-spacing: 0.12em;
  padding-right: 12px;
}

@media (max-width: 900px) {
  .xm-fields { width: 180px; padding: 12px; }
  .xm-body { height: 360px; }
  .xm-center-title { font-size: 30px; }
  .xm-center-status { font-size: 14px; }
  .xm-stamp { font-size: 16px; padding: 5px 10px; }
}
@media (max-width: 720px) {
  .xm-fields { display: none; }
  .xm-body { height: 320px; }
  .xm-stamp { display: none; }
  .xm-plate { font-size: 7px; }
  .xm-center-title { font-size: 22px; }
}

/* ---------- mock events table + map (sample output) ---------- */
.mock-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
}
.mock-card-bar,
.mock-map-bar {
  background: var(--bg-2);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--line);
}
.mock-card-title { color: var(--yellow); font-weight: 700; }
.mock-card-meta  { color: var(--txt-2); font-weight: 500; }

.mock-table-wrap { overflow-x: auto; }
.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  white-space: nowrap;
}
.mock-table th {
  text-align: left;
  padding: 9px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--txt-2);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.mock-table td {
  padding: 9px 14px;
  color: var(--txt-1);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-table tr:last-child td { border-bottom: none; }
.mock-table tr.sev-critical td { background: rgba(193, 0, 21, 0.10); }
.mock-table tr.sev-caution  td { background: rgba(255, 143, 0, 0.08); }
.mock-table tr.sev-low      td { background: rgba(255, 225, 53, 0.07); }
.mock-table tr.sev-info     td { background: transparent; }

.ev-name { font-weight: 600; color: var(--txt-0); }
.ev-time { color: var(--txt-2); font-size: 12px; }
.ev-snap { color: var(--txt-1); font-weight: 600; }
.ev-dash { color: var(--txt-3); }

/* severity badges (text-on-tint, like the real app) */
.sev-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.sev-critical .sev-badge { color: #C10015; }
.sev-caution  .sev-badge { color: #FF8F00; }
.sev-low      .sev-badge { color: #B0B0B0; }
.sev-info     .sev-badge { color: #9E9E9E; }

/* risk pills (LOC-I, SCF-NP, MAC, RE, USOS) */
.risk {
  display: inline-block;
  padding: 1px 7px;
  margin-right: 5px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.sev-critical .risk { background: rgba(193, 0, 21, 0.18); color: #ff5360; }
.sev-caution  .risk { background: rgba(255, 143, 0, 0.18); color: #ffb04d; }
.sev-low      .risk { background: rgba(255, 225, 53, 0.18); color: #d9c450; }
.sev-info     .risk { background: rgba(158, 158, 158, 0.18); color: #c8c8c8; }

/* ---------- boarding-pass flight card (dark theme) ---------- */
.flight-card {
  display: flex;
  align-items: stretch;
  background: #1a1c20;
  border: none;
  border-radius: 6px;
  overflow: hidden;
  min-height: 76px;
  margin-top: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  font-family: 'Inter Tight', 'Inter', sans-serif;
}
.boarding-pass {
  min-height: 120px;
  border-radius: 10px;
  background: #1a1c20;
  position: relative;
  width: 100%;
  --perf-pos: calc(100% - 161px);
  -webkit-mask:
    radial-gradient(circle 10px at var(--perf-pos) 0%, transparent 10px, black 10.5px) top / 100% 51% no-repeat,
    radial-gradient(circle 10px at var(--perf-pos) 100%, transparent 10px, black 10.5px) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle 10px at var(--perf-pos) 0%, transparent 10px, black 10.5px) top / 100% 51% no-repeat,
    radial-gradient(circle 10px at var(--perf-pos) 100%, transparent 10px, black 10.5px) bottom / 100% 51% no-repeat;
}

.bp-hazard {
  width: 8px;
  flex-shrink: 0;
  background-image: repeating-linear-gradient(
    135deg,
    #f5c518 0px,
    #f5c518 10px,
    #1a1a1a 10px,
    #1a1a1a 20px
  );
  opacity: 0.5;
}

.bp-main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 36px 16px 18px;
  min-width: 0;
}

.bp-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 112px;
  min-width: 112px;
  max-width: 112px;
  height: 60px;
  padding: 4px 4px;
  flex-shrink: 0;
}
.bp-logo .airline-logo {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.bp-ident {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 100px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.bp-kv-label {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  line-height: 1;
  margin-bottom: 2px;
}

.bp-callsign {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #f0f0f0;
  line-height: 1;
  text-transform: uppercase;
}

.bp-reg {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #a0a0a0;
  line-height: 1;
  text-transform: uppercase;
  margin-top: 4px;
}

.bp-route {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  min-width: 220px;
}

.bp-airport {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: fit-content;
}
.bp-airport .bp-kv-label { text-align: left; }
.bp-icao-row { display: block; }

.bp-icao {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 27px;
  font-weight: 500;
  color: #f0f0f0;
  line-height: 0.9;
  letter-spacing: -0.3px;
  text-align: left;
  display: block;
}

.bp-rwy {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  color: #a0a0a0;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  min-height: 12px;
  text-align: left;
  display: block;
}

.bp-route-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 12px;
  min-width: 100px;
}

.bp-route-track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.bp-route-duration {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #f0f0f0;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.bp-route-line {
  flex: 1;
  height: 1.5px;
  min-width: 20px;
  border-radius: 1px;
}
.bp-route-track .bp-route-line:first-child {
  background: linear-gradient(to right, transparent 0%, #f0f0f0 100%);
}
.bp-route-track .bp-route-line:last-child {
  background: linear-gradient(to right, #f0f0f0 0%, transparent 100%);
}

.bp-perf {
  position: relative;
  width: 2px;
  margin: 12px 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.18) 0,
    rgba(255, 255, 255, 0.18) 4px,
    transparent 4px,
    transparent 8px
  );
  flex-shrink: 0;
}

.bp-stub {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  width: 160px;
  flex-shrink: 0;
  background: #13151a;
  border-radius: 0 10px 10px 0;
}

.bp-stub-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bp-stub-date {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #f0f0f0;
  line-height: 1;
  letter-spacing: 0.2px;
  font-variant-numeric: tabular-nums;
}

.bp-stub-time {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #a0a0a0;
  line-height: 1;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .boarding-pass { --perf-pos: calc(100% - 162px); }
  .bp-stub { width: 160px; padding: 14px 16px; }
  .bp-main { gap: 18px; padding: 14px 28px 14px 18px; }
  .bp-logo { display: none; }
}
@media (max-width: 640px) {
  .boarding-pass {
    -webkit-mask: none;
    mask: none;
    flex-direction: column;
  }
  .bp-main { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
  .bp-ident { border-left: none; padding-left: 0; }
  .bp-route { width: 100%; min-width: 0; }
  .bp-perf { display: none; }
  .bp-stub { width: 100%; border-radius: 0 0 10px 10px; border-top: 1px dashed rgba(255, 255, 255, 0.12); }
}

/* ---------- real Leaflet map ---------- */
.real-map-wrap {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
}
.real-map {
  width: 100%;
  height: 420px;
}
.leaflet-container {
  background: #0c1019;
  font-family: 'Inter Tight', 'Inter', sans-serif;
}
/* Event-name tooltips on the map (mirror the app's label look) */
.leaflet-tooltip.ev-tip {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 3px 8px;
  border: none;
  border-radius: 3px;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}
.leaflet-tooltip.ev-tip::before { display: none; }   /* hide default arrow */
.ev-tip-critical { background: #C10015; }
.ev-tip-caution  { background: #FF8F00; }
.ev-tip-low      { background: #FFE135; color: #2a2a2a; }
.ev-tip-info     { background: #555; }

/* ---------- glidepath / localiser profile cards ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.profile-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.profile-body {
  padding: 16px 12px 12px;
}
.profile-body-light {
  /* Class kept for HTML stability but now renders dark */
  background: var(--bg-1);
  padding: 16px 12px 12px;
}
.profile-svg {
  width: 100%;
  height: auto;
  display: block;
}
.profile-chart {
  width: 100%;
  height: 320px;
}

/* ---------- climb chart ---------- */
.climb-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
}
.climb-card .profile-body-light {
  padding: 12px;
}
#climb-chart {
  width: 100%;
  height: 360px;
}

/* ---------- measurements list (HQ-style 3-col table) ---------- */
.meas-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
}
.meas-table-wrap { max-height: 460px; overflow-y: auto; }
.meas-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
}
.meas-table th {
  text-align: left;
  padding: 9px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--txt-2);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
}
.meas-table td {
  padding: 9px 14px;
  color: var(--txt-1);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.meas-table tr:last-child td { border-bottom: none; }
.meas-name  { color: var(--txt-0); font-weight: 500; }
.meas-value { color: #5470c6; font-weight: 700; }
.meas-unit  { color: var(--txt-2); font-weight: 400; }
@media (max-width: 1100px) {
  .profile-grid { grid-template-columns: 1fr; }
}

/* ---------- mock map (legacy mock, no longer used) ---------- */
.mock-map {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
}
.mock-map-canvas {
  position: relative;
  width: 100%;
  height: 360px;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(15,30,55,0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(40,30,15,0.5) 0%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 60px),
    #0c1019;
}
.mock-map-path { position: absolute; inset: 0; width: 100%; height: 100%; }

.mock-airport {
  position: absolute;
  background: #424242;
  color: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 4px rgba(0,0,0,.6);
  z-index: 3;
}
.mock-airport-dep { left: 3.5%;  top: calc(78% - 11px); }
.mock-airport-arr { right: 3.5%; top: calc(76% - 11px); }

.mock-mevent {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.mock-mevent .mev-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.mock-mevent .mev-line {
  width: 1.5px;
  height: 18px;
}
.mock-mevent .mev-label {
  display: inline-block;
  color: #fff;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.mev-critical .mev-dot, .mev-critical .mev-line, .mev-critical .mev-label { background: #C10015; }
.mev-caution  .mev-dot, .mev-caution  .mev-line, .mev-caution  .mev-label { background: #FF8F00; }
.mev-low      .mev-dot, .mev-low      .mev-line { background: #FFE135; }
.mev-low      .mev-label { background: #FFE135; color: #2a2a2a; }
.mev-info     .mev-dot, .mev-info     .mev-line, .mev-info     .mev-label { background: #9E9E9E; }

@media (max-width: 1100px) {
  .mock-map-canvas { height: 280px; }
  .mock-mevent .mev-label { font-size: 9px; padding: 2px 5px; }
}
@media (max-width: 720px) {
  .mock-table th:nth-child(3),
  .mock-table td:nth-child(3) { display: none; }
}

/* ---------- aircraft list (hazard-strip cards) ---------- */
/* ---------- supported simulators (MSFS 2020 / 2024) ----------
   Transparent layout: white-tinted logos with the sim name below. No card,
   no border, no badge. */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}
.sim-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 16px 12px;
}
.sim-logo {
  width: auto;
  height: 120px;
  max-width: 100%;
  object-fit: contain;
  /* Render every logo as a light-grey silhouette (~#b5b5b5) regardless
     of its source colours. brightness(0) flattens to black, invert(1)
     pushes it back to white, opacity then dims it to grey. */
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.25s;
}
.sim-item:hover .sim-logo { opacity: 0.95; }
.sim-name {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--txt-1);
  letter-spacing: 0.03em;
}
@media (max-width: 720px) {
  .sim-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- aircraft list (hazard-strip boxes) ---------- */
/* ---------- Add-on vendor cards ---------- */
.vendor-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding: 0;
}
.vendor-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 0 4px 4px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.2s, background 0.2s;
}
.vendor-card:hover {
  background: var(--bg-2);
  transform: translateX(2px);
}
.vendor-logo-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 20px 14px 22px;
  min-height: 92px;
  text-decoration: none;
}
.vendor-logo-link::before {
  /* Hazard strip is anchored to the logo area only -- the aircraft
     footer below is intentionally clean (per design feedback). */
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0,
    var(--yellow) 3px,
    #000 3px,
    #000 6px
  );
}
.vendor-logo {
  max-height: 48px;
  max-width: 80%;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
}
.vendor-logo-invert {
  /* PMDG / iniBuilds ship dark-on-transparent logos -- flatten to white
     so they read on the dark page background. */
  filter: brightness(0) invert(1);
}
.vendor-aircraft {
  border-top: 1px solid var(--line);
  padding: 12px 20px 14px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt-1);
  letter-spacing: 0.02em;
  text-align: center;
  background: rgba(0, 0, 0, 0.15);
}
.vendor-card-wip {
  /* Slight visual dimming so eyes prioritise the supported add-ons first. */
}
.vendor-card-wip .vendor-logo {
  opacity: 0.55;
}
.vendor-wip-ribbon {
  /* Classic corner ribbon: a yellow band rotated 45 deg, clipped by the
     card's overflow:hidden so only the on-card portion shows. The
     extra-wide horizontal padding makes both ends extend past the visible
     corner triangle. */
  position: absolute;
  top: 14px;
  right: -42px;
  z-index: 2;
  width: 150px;
  text-align: center;
  background: var(--yellow);
  color: #1a1a1a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 0;
  transform: rotate(45deg);
  transform-origin: center center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1.2;
}

.vendor-card-more {
  grid-column: 1 / -1;
}
.vendor-card-more::before {
  background-image: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0,
    var(--yellow) 3px,
    #000 3px,
    #000 6px
  );
}
.vendor-more-text {
  padding: 22px 20px 22px 22px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  color: var(--txt-1);
}
.vendor-disclaimer {
  margin-top: 24px;
  padding: 14px 18px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--txt-2, var(--txt-1));
  opacity: 0.7;
  border-top: 1px solid var(--line);
  text-align: center;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  /* Stack vendor cards one-per-row on phones -- 4 cards across becomes
     unreadable under ~640 px. */
  .vendor-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Sample-report disclaimer ---------- */
.sample-disclaimer {
  margin: -8px 0 28px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--txt-1);
  background: rgba(246, 196, 21, 0.06);
  border-left: 3px solid var(--yellow);
  border-radius: 0 4px 4px 0;
  max-width: 760px;
  font-style: italic;
}

/* ---------- Data sizes ---------- */
.datasize-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-1);
  overflow: hidden;
}
.datasize-row {
  display: grid;
  grid-template-columns: 1.6fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.datasize-row:last-child {
  border-bottom: none;
}
.datasize-row:hover {
  background: var(--bg-2);
}
.datasize-ac-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.datasize-aircraft {
  font-size: 15px;
  font-weight: 700;
  color: var(--txt-0);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.datasize-params {
  font-size: 11px;
  font-weight: 600;
  color: var(--txt-1);
  opacity: 0.6;
  letter-spacing: 0.02em;
}
.datasize-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  text-align: right;
  min-width: 96px;
}
.datasize-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  opacity: 0.7;
  margin-left: 4px;
  letter-spacing: 0.02em;
}
.datasize-meta {
  font-size: 13px;
  color: var(--txt-1);
  opacity: 0.75;
  white-space: nowrap;
  text-align: right;
}

@media (max-width: 640px) {
  .datasize-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "ac    value"
      "meta  meta";
    gap: 6px 16px;
    padding: 14px 18px;
  }
  .datasize-ac-cell { grid-area: ac; }
  .datasize-value   { grid-area: value; min-width: 0; }
  .datasize-meta    { grid-area: meta; text-align: left; opacity: 0.6; }
}

/* ---------- Roadmap ---------- */
.roadmap-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
  padding: 0;
}
.roadmap-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  padding: 22px 22px 20px 22px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.roadmap-card:hover {
  background: var(--bg-2);
  transform: translateY(-2px);
}
.roadmap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.roadmap-phase {
  font-size: 18px;
  font-weight: 800;
  color: var(--txt-0);
  letter-spacing: -0.01em;
}
.roadmap-status {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
.roadmap-shipped   .roadmap-status { background: #1b5e20; color: #a5d6a7; }
.roadmap-active    .roadmap-status { background: var(--yellow); color: #1a1a1a; }
.roadmap-upcoming  .roadmap-status { background: rgba(255, 255, 255, 0.08); color: var(--txt-1); border: 1px solid var(--line); }
.roadmap-shipped   { border-top: 2px solid #1b5e20; }
.roadmap-active    { border-top: 2px solid var(--yellow); }
.roadmap-upcoming  { border-top: 2px solid var(--line); }
.roadmap-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.roadmap-items li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--txt-1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.roadmap-items li:last-child {
  border-bottom: none;
}
.roadmap-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 1px;
  background: var(--yellow);
  opacity: 0.6;
}

@media (max-width: 640px) {
  .roadmap-list { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.price-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
}
.price-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.price-card-featured {
  border-color: var(--yellow);
  background:
    linear-gradient(180deg, rgba(246, 196, 21, 0.06) 0%, transparent 50%),
    var(--bg-1);
}
.price-card-featured:hover { border-color: var(--yellow); }

.price-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.price-card-featured .price-tag {
  color: #000;
  background: var(--yellow);
}
.price-name {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--txt-0);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.price-num {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 44px;
  font-weight: 700;
  color: var(--txt-0);
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-period {
  font-size: 14px;
  color: var(--txt-2);
  font-weight: 500;
}
.price-meta {
  font-size: 12px;
  color: var(--txt-2);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.price-features {
  list-style: none;
  padding: 18px 0 24px;
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex: 1;
}
.price-features li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 13px;
  color: var(--txt-1);
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1.5px;
  background: var(--yellow);
}
.price-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA — Airbus-style Electronic Checklist (ECL) ---------- */
.ecl {
  display: flex;
  flex-direction: column;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  background: #000;
  border: 1px solid #222;
  border-radius: 4px;
  padding: 8px 12px 14px;
  margin: 24px 0 32px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  min-height: 540px;
  color: #00e5e5;
}

/* Top header — C/L MENU dropdown + callsign */
.ecl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 12px;
}
.ecl-menu {
  color: #00e5e5;
  border: 1.5px solid #00e5e5;
  padding: 1px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ecl-arrow { font-size: 9px; line-height: 1; }
.ecl-callsign {
  color: #ffffff;
  padding: 2px 8px;
}

/* Section title bar */
.ecl-section {
  display: flex;
  align-items: stretch;
  border-top: 1.5px solid #c8c8c8;
  border-bottom: 1.5px solid #c8c8c8;
  padding: 4px 6px;
  margin-bottom: 10px;
  gap: 6px;
}
.ecl-section-title {
  color: #ffffff;
  font-size: 16px;
  flex: 1;
  letter-spacing: 0.06em;
  align-self: center;
}
.ecl-section-cells {
  display: inline-flex;
  gap: 3px;
  align-self: center;
}
.ecl-cell {
  width: 24px;
  height: 22px;
  border: 1.5px solid #c8c8c8;
  display: inline-block;
}

/* Items */
.ecl-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.ecl-item {
  display: flex;
  align-items: center;
  padding: 2px 4px;
  gap: 8px;
  user-select: none;
  /* No cursor override -- inherits the yellow crosshair from html so the
     checklist matches the real cockpit ECL panel aesthetic. */
}
.ecl-item:hover .ecl-check {
  background: rgba(0, 229, 229, 0.15);
}
.ecl-item-done:hover .ecl-check {
  background: rgba(0, 230, 0, 0.18);
}
.ecl-check {
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
}
.ecl-check-hidden { border: none; background: none; }
.ecl-name {
  color: #00e5e5;
  white-space: nowrap;
}
.ecl-dots {
  flex: 1;
  border-bottom: 2px dotted #00e5e5;
  height: 1px;
  margin: 0 4px;
  align-self: center;
}
.ecl-value {
  color: #00e5e5;
  white-space: nowrap;
}
.ecl-underline {
  border-bottom: 1.5px solid #00e5e5;
  padding: 0 4px;
  letter-spacing: 0.04em;
}

/* "Done" — bright phosphor green */
.ecl-item-done .ecl-check,
.ecl-item-done .ecl-name,
.ecl-item-done .ecl-value { color: #00e600; }
.ecl-item-done .ecl-dots  { border-bottom-color: #00e600; }

/* Active selection — cyan rectangular border around the whole row */
.ecl-item-active {
  border: 1.5px solid #00e5e5;
  padding: 1px 4px;
}

/* Inline subitems — same colour, no checkbox border */
.ecl-item-sub .ecl-check { border: none; }

.ecl-rule {
  border: none;
  border-top: 1.5px solid #c8c8c8;
  margin: 8px 4px;
}

/* Bottom action row */
.ecl-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 16px 4px 0;
  margin-top: auto;
}
.ecl-actions-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}
.ecl-btn {
  background: #1f1f1f;
  border: 1.5px solid #b8b8b8;
  color: #ffffff;
  padding: 5px 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  /* No cursor override -- inherits the yellow crosshair from html so
     the entire cockpit panel keeps a consistent cursor. */
  text-align: center;
  line-height: 1.15;
}
.ecl-btn-msg {
  font-size: 11px;
  padding: 3px 10px;
  width: fit-content;
}
.ecl-btn-complete {
  color: #00e5e5;
  padding: 8px 18px;
  font-size: 13px;
  align-self: flex-end;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
/* Lit-up "complete" state -- only set by JS when every checklist row
   is ticked. Matches the bright phosphor green used on .ecl-item-done. */
.ecl-btn-complete.is-complete {
  color: #00e600;
  border-color: #00e600;
  background: rgba(0, 230, 0, 0.10);
}

@media (max-width: 720px) {
  .ecl { font-size: 12px; min-height: 480px; }
  .ecl-section-title { font-size: 14px; }
  .ecl-cell { width: 20px; height: 18px; }
}

/* ---------- CTA - cockpit checklist style (legacy) ---------- */
.checklist {
  margin: 24px 0 48px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.checklist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-2);
  padding: 10px 20px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  border-bottom: 1px solid var(--line);
}
.checklist-row {
  display: grid;
  grid-template-columns: 56px auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px 6px 20px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
}
.checklist-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.05em;
}
.checklist-action {
  font-size: 16px;
  font-weight: 700;
  color: var(--txt-0);
  letter-spacing: 0.1em;
}
.checklist-leader {
  border-bottom: 1px dotted var(--line-bright);
  height: 12px;
}
.checklist-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.checklist-note {
  padding: 0 20px 18px calc(56px + 16px + 20px);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--txt-2);
  border-bottom: 1px dashed var(--line);
}
.checklist-note:last-child { border-bottom: none; }

.cta-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 720px) {
  .checklist-row {
    grid-template-columns: 40px 1fr;
    grid-auto-flow: row;
  }
  .checklist-leader { display: none; }
  .checklist-value {
    grid-column: 2;
    color: var(--yellow);
    font-size: 12px;
  }
  .checklist-note {
    padding-left: 76px;
  }
}

/* ---------- footer (multi-column, vAMSYS-style) ---------- */
.footer {
  position: relative;
  z-index: 10;
  width: 100%;
  background: #000;
  border-top: 1px solid var(--line);
  padding: 80px 0 50px;
  margin-top: 80px;
  overflow: hidden;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 calc(var(--pfd-w) + var(--pfd-pad) + 32px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.footer-brand { padding-right: 40px; }
.footer-logo {
  display: block;
  height: 44px;
  width: auto;
  margin-bottom: 24px;
}
.footer-tag {
  font-size: 13px;
  line-height: 1.65;
  color: #ffffff;
  max-width: 380px;
  margin-bottom: 18px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--txt-1);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.footer-social-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #1a1a1a;
  transform: translateY(-1px);
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  /* Compact card pinned to the bottom-right corner, not a full-width strip.
     Slides up from off-screen on first visit. */
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  width: min(360px, calc(100vw - 32px));
  background: var(--bg-1, #14141a);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  padding: 16px 18px;
  animation: cookie-slide-in 0.3s ease-out;
}
@keyframes cookie-slide-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-banner-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--txt-1);
}
.cookie-banner-text a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.cookie-btn {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: inherit;
}
.cookie-btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--txt-1);
}
.cookie-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--txt-0);
}
.cookie-btn-primary {
  background: var(--yellow);
  color: #1a1a1a;
}
.cookie-btn-primary:hover {
  background: #ffd84d;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-h {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.footer-col a {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  transition: color 0.2s, opacity 0.2s;
  opacity: 0.85;
}
.footer-col a:hover {
  color: var(--yellow);
  opacity: 1;
}

.footer-rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 60px 0 24px;
}
.footer-fine {
  font-size: 12px;
  line-height: 1.7;
  color: #ffffff;
  opacity: 0.55;
  max-width: 1100px;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 1100px) {
  .footer-inner { padding: 0 24px; }
}

/* ---------- reveal-on-scroll helpers ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pfd { display: none; }
  .topnav  { padding: 0 24px; }
  .content { padding: 0 24px; }
  .about-grid, .feat-grid, .ac-grid, .cta-steps { grid-template-columns: 1fr; }
  .feat-grid { gap: 1px; }
  .cta-steps li { border-right: none; border-bottom: 1px solid var(--line); }
  .cta-steps li:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .nav-links a:not(.cta-btn) { display: none; }
}
