/* Avenyra marketing landing page styles. Mirrors Invyra's visual structure
   (starfield, glowing engine cards, blue Launch App CTA) with Avenyra's
   sovereign gold accent system. */

/* ================= type overrides for marketing ================= */
body.marketing {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  letter-spacing: 0.005em;
}
body.marketing h1, body.marketing h2, body.marketing h3, body.marketing h4 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
body.marketing .brand-text h1 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
  text-transform: none;
  color: var(--accent);
}

/* ================= starfield background ================= */
body.marketing {
  position: relative;
  background:
    radial-gradient(circle at 80% 8%, rgba(212,175,55,0.08), transparent 35%),
    radial-gradient(circle at 12% 92%, rgba(191, 198, 207, 0.05), transparent 40%),
    var(--midnight-navy);
  min-height: 100vh;
}
body.marketing::before {
  content: '';
  position: fixed;
  /* Oversize the field by 60px on each side so the drift never reveals
     an edge as the layer translates. */
  top: -60px; left: -60px; right: -60px; bottom: -60px;
  pointer-events: none;
  z-index: 0;
  /* Amped from 14 stars to 26, bigger sizes (1.2-2.5px), brighter alphas
     (0.55-0.95). Previous values were sub-pixel and rendered as nothing
     against the navy gradient. Now reads as a real night sky. */
  background-image:
    radial-gradient(2.2px 2.2px at 8% 14%, rgba(255,255,255,0.95), transparent 55%),
    radial-gradient(1.6px 1.6px at 18% 22%, rgba(255,255,255,0.75), transparent 55%),
    radial-gradient(2.5px 2.5px at 28% 8%, rgba(255,255,255,0.95), transparent 55%),
    radial-gradient(1.8px 1.8px at 35% 28%, rgba(212,175,55,0.85), transparent 55%),
    radial-gradient(2.0px 2.0px at 47% 14%, rgba(255,255,255,0.90), transparent 55%),
    radial-gradient(1.4px 1.4px at 55% 24%, rgba(255,255,255,0.65), transparent 55%),
    radial-gradient(1.6px 1.6px at 62% 8%, rgba(212,175,55,0.75), transparent 55%),
    radial-gradient(2.2px 2.2px at 72% 16%, rgba(255,255,255,0.85), transparent 55%),
    radial-gradient(1.8px 1.8px at 82% 28%, rgba(255,255,255,0.70), transparent 55%),
    radial-gradient(2.4px 2.4px at 92% 12%, rgba(255,255,255,0.95), transparent 55%),
    radial-gradient(1.5px 1.5px at 6% 36%, rgba(212,175,55,0.65), transparent 55%),
    radial-gradient(1.8px 1.8px at 14% 48%, rgba(255,255,255,0.75), transparent 55%),
    radial-gradient(2.0px 2.0px at 24% 56%, rgba(255,255,255,0.80), transparent 55%),
    radial-gradient(1.4px 1.4px at 38% 44%, rgba(255,255,255,0.60), transparent 55%),
    radial-gradient(1.6px 1.6px at 48% 60%, rgba(212,175,55,0.70), transparent 55%),
    radial-gradient(2.2px 2.2px at 58% 48%, rgba(255,255,255,0.85), transparent 55%),
    radial-gradient(1.5px 1.5px at 68% 60%, rgba(255,255,255,0.65), transparent 55%),
    radial-gradient(1.8px 1.8px at 78% 44%, rgba(255,255,255,0.75), transparent 55%),
    radial-gradient(2.4px 2.4px at 88% 56%, rgba(212,175,55,0.80), transparent 55%),
    radial-gradient(1.6px 1.6px at 4% 78%, rgba(255,255,255,0.65), transparent 55%),
    radial-gradient(2.0px 2.0px at 16% 88%, rgba(255,255,255,0.80), transparent 55%),
    radial-gradient(1.8px 1.8px at 32% 78%, rgba(212,175,55,0.70), transparent 55%),
    radial-gradient(1.4px 1.4px at 46% 92%, rgba(255,255,255,0.55), transparent 55%),
    radial-gradient(2.2px 2.2px at 62% 84%, rgba(255,255,255,0.85), transparent 55%),
    radial-gradient(1.8px 1.8px at 78% 92%, rgba(255,255,255,0.70), transparent 55%),
    radial-gradient(2.0px 2.0px at 92% 76%, rgba(212,175,55,0.75), transparent 55%);
  /* Slow celestial drift. Bumped from 16px to 28px so the motion is
     perceptible without being distracting. 90s alternating loop. */
  animation: constellationDrift 90s linear infinite alternate;
  will-change: transform;
  opacity: 0.85;
}
@keyframes constellationDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-28px, 18px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  body.marketing::before { animation: none; }
}
body.marketing > * { position: relative; z-index: 1; }

/* Moon graphic removed per aviation-analyst feedback ("cosmic brand
   world" rather than "aviation decision system"). The constellation
   drift on body.marketing::before stays because the brand etymology
   (Avenues + Lyra constellation containing Vega) carries the
   star metaphor. The moon carried no aviation meaning, so it goes. */

/* ================= sticky header ================= */
.mkt-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 14px auto 0;
  max-width: 1240px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(11, 20, 38, 0.55);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(46, 64, 112, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  height: 60px;
  box-sizing: border-box;
}
.mkt-header .brand-text { display: flex; align-items: center; }
/* Hide any tagline span inside the pill nav brand area */
.mkt-header .brand-text .tagline { display: none; }
.mkt-header.is-scrolled {
  background: rgba(11, 20, 38, 0.85);
  border-color: rgba(46, 64, 112, 0.20);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.mkt-header .brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--accent);
}
.mkt-header .logomark { width: 28px; height: 28px; }
.mkt-header .brand-text h1 { color: var(--accent); }
.mkt-nav {
  display: flex;
  gap: 2px;
  margin: 0 auto;
  position: relative;
  align-items: center;
}
.mkt-nav a {
  position: relative;
  color: var(--pearl-silver);
  text-decoration: none;
  /* Tightened typography. Smaller body, increased tracking for premium feel.
     Single-line guarantee via nowrap so labels never break across two rows. */
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.6px;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color var(--motion-fast, 160ms) var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              background var(--motion-fast, 160ms) var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
}
.mkt-nav a:hover {
  color: var(--accent);
  background: rgba(212, 175, 55, 0.06);
}
/* Active state: the section currently in view. Calm pill background +
   gold text. No 3D, no shadow competing with content. The is-active class
   is added by the scroll-spy observer in app.html. */
.mkt-nav a.is-active {
  color: var(--accent);
  background: rgba(212, 175, 55, 0.10);
}
/* Magic-line indicator. A 2px gold rule that slides between the active /
   hovered nav item. Animated by CSS transitions on transform + width;
   positioned by the scroll-spy code in app.html each time the active link
   changes. Single tasteful animation, no decorative motion. */
.mkt-nav-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  pointer-events: none;
  transform: translateX(0);
  transition: transform var(--motion-medium, 320ms) var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              width var(--motion-medium, 320ms) var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              opacity var(--motion-fast, 160ms) var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
  opacity: 0;
}
.mkt-nav-indicator.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .mkt-nav-indicator { transition: none; }
  .mkt-nav a { transition: none; }
}
/* Live promos badge: small pearl-silver dot rather than a coloured circle.
   The actual promo count appears as a tooltip on hover. */
.mkt-nav .badge {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.mkt-nav .badge:empty { display: none; }

/* Hover tooltip for nav links that have a data-tooltip attribute. Only
   shows on devices that support real hover (skipped on touch). */
@media (hover: hover) {
  .mkt-nav a[data-tooltip] { position: relative; }
  .mkt-nav a[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: linear-gradient(180deg, rgba(11, 20, 38, 0.98), rgba(11, 20, 38, 0.94));
    border: 1px solid rgba(212, 175, 55, 0.30);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    padding: 10px 14px;
    border-radius: 12px;
    width: max-content;
    max-width: 300px;
    white-space: normal;
    text-align: left;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    /* Sit above the deal-ticker (which has its own stacking context at z:1)
       and any other below-the-nav element. */
    z-index: 100;
  }
  .mkt-nav a[data-tooltip]::before {
    content: '';
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: rgba(11, 20, 38, 0.98);
    border-left: 1px solid rgba(212, 175, 55, 0.30);
    border-top: 1px solid rgba(212, 175, 55, 0.30);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s;
    z-index: 101;
    pointer-events: none;
  }
  .mkt-nav a[data-tooltip]:hover::after,
  .mkt-nav a[data-tooltip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .mkt-nav a[data-tooltip]:hover::before,
  .mkt-nav a[data-tooltip]:focus-visible::before {
    opacity: 1;
    visibility: visible;
  }
}
.launch-cta {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: var(--midnight-navy);
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  border: 0;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.25s ease, color 0.18s ease;
}
.launch-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1A3568, var(--royal-blue));
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}
.launch-cta > * { position: relative; z-index: 1; }
.launch-cta:hover {
  transform: translateY(-1px);
  color: var(--ivory-cream);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.5),
    0 12px 28px rgba(18, 43, 85, 0.6);
}
.launch-cta:hover::before { opacity: 1; }
.thinkrium-link {
  color: var(--pearl-silver);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(191, 198, 207, 0.2);
  white-space: nowrap;
}
.thinkrium-link:hover { color: var(--accent); border-color: var(--accent); }
.mkt-mobile-toggle {
  display: none;
  background: transparent; border: 0;
  color: var(--pearl-silver);
  padding: 8px;
  cursor: pointer;
}
@media (max-width: 880px) {
  .mkt-header { gap: 12px; padding: 10px 16px; }
  .mkt-nav { display: none; }
  .mkt-header.is-mobile-open .mkt-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: rgba(11, 20, 38, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(46, 64, 112, 0.2);
    border-radius: 18px;
    padding: 8px;
  }
  .mkt-mobile-toggle { display: block; }
  .thinkrium-link { display: none; }
}

/* ================= containers ================= */
.mkt-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ================= hero ================= */
/* Banner-only hero. Was 21:9 (~530px tall on a 1240 container) which
   pushed the trip prompt + live verdict below the fold on most
   laptops. Per aviation-analyst feedback ("first screen should show
   a live route, verdict, or query input sooner") this is now 21:6
   on desktop and 16:9 on mobile - brand presence preserved, but
   the intelligence below it lands above the fold. */
.mkt-hero.hero-banner-only {
  position: relative;
  max-width: 1240px;
  margin: 16px auto 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  /* Restored to original 21:9 - the cinematic banner is the brand
     anchor. On a 1240px container that's ~530px tall. The live
     verdict + trip prompt sit just below; users scroll naturally. */
  aspect-ratio: 21 / 9;
  background: var(--midnight-navy);
}
.mkt-hero.hero-banner-only .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
@media (max-width: 720px) {
  .mkt-hero.hero-banner-only {
    border-radius: 10px;
    aspect-ratio: 21 / 9;
    margin-top: 10px;
  }
}

/* CTA section sits BELOW the banner. Description, pills, Launch App. */
.hero-cta {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 24px 40px;
}
@media (max-width: 720px) {
  .hero-cta { padding: 24px 18px 32px; }
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--ivory-cream);
  margin: 0 0 16px;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-cta .launch-secondary {
  color: var(--pearl-silver);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid rgba(191, 198, 207, 0.22);
  letter-spacing: 0.4px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.hero-cta .launch-secondary:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.hero-moat {
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: 0.3px;
  color: var(--text-faint);
  line-height: 1.6;
}
.hero-moat strong {
  color: var(--pearl-silver);
  font-weight: 600;
}
.mkt-hero .brand-glyph {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  display: block;
  color: var(--accent);
  object-fit: contain;
}
.mkt-hero .display {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 86px);
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 12px;
  background: linear-gradient(180deg, #FFFFFF 30%, #BFC6CF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mkt-hero .display em {
  font-style: normal;
  background: linear-gradient(180deg, #F0D390 0%, #D4AF37 60%, #B8941F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mkt-hero .eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.mkt-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.mkt-hero .eyebrow-divider {
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  font-family: 'Sora', sans-serif;
  font-weight: 300;
}
.mkt-hero .pitch, .hero-cta .pitch {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
  color: var(--pearl-silver);
  max-width: 720px;
  margin: 8px auto 22px;
}
.mkt-hero .pitch, .hero-cta .pitch strong {
  color: var(--accent);
  font-weight: 600;
}
.mkt-hero .pitch, .hero-cta .pitch .blue { color: var(--accent); font-weight: 600; }
.mkt-hero .pill-row, .hero-cta .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-bottom: 24px;
}
.mkt-hero .pill, .hero-cta .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(46, 64, 112, 0.18);
  background: rgba(11, 20, 38, 0.4);
  font-size: 12px;
  color: var(--pearl-silver);
  font-weight: 500;
}
.mkt-hero .pill .glyph, .hero-cta .pill .glyph { font-size: 10px; }
.mkt-hero .launch-big, .hero-cta .launch-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: var(--midnight-navy);
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 18px 40px rgba(212, 175, 55, 0.30);
  transition: transform 0.18s ease, box-shadow 0.3s ease, color 0.2s ease;
}
.mkt-hero .launch-big::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #1A3568, var(--royal-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.mkt-hero .launch-big::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(18, 43, 85, 0.6), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(20px);
}
.mkt-hero .launch-big > * { position: relative; z-index: 1; }
.mkt-hero .launch-big:hover {
  transform: translateY(-2px);
  color: var(--ivory-cream);
  box-shadow:
    0 0 0 1px var(--accent),
    0 22px 56px rgba(18, 43, 85, 0.7);
}
.mkt-hero .launch-big:hover::before { opacity: 1; }
.mkt-hero .launch-big:hover::after { opacity: 1; }

/* ================= engine cards ================= */
.engines {
  padding: 28px 0 16px;
}
.engine-card {
  position: relative;
  background: linear-gradient(180deg, rgba(11,20,38,0.9), rgba(11,20,38,0.7));
  border: 1px solid rgba(46, 64, 112, 0.1);
  border-radius: 18px;
  padding: 26px 32px 22px;
  text-align: left;
  margin: 0 auto 10px;
  max-width: 1140px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, auto);
  align-items: center;
  gap: 28px;
}
.engine-card > .engine-eyebrow,
.engine-card > .engine-name,
.engine-card > .engine-tagline,
.engine-card > .engine-desc {
  grid-column: 1;
}
.engine-card > .engine-stats {
  grid-column: 2;
  margin: 0;
}
@media (max-width: 880px) {
  .engine-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 22px 20px;
  }
  .engine-card > .engine-stats { grid-column: 1; }
}
.engine-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(80% 60% at 50% 0%, var(--engine-tint, rgba(212,175,55,0.10)), transparent 65%);
}
/* Brand-discipline tints. Only Sovereign Gold and Pearl Silver get to drive
   accent. Royal Blue is used for the deeper background washes only. */
.engine-card.tint-gold   { --engine-tint: rgba(212,175,55,0.14); border-color: rgba(212,175,55,0.22); }
.engine-card.tint-silver { --engine-tint: rgba(191,198,207,0.10); border-color: rgba(191,198,207,0.20); }
.engine-card.tint-royal  { --engine-tint: rgba(18,43,85,0.32);   border-color: rgba(18,43,85,0.55); }
/* Legacy aliases so any historical tint-* class still renders inside palette. */
.engine-card.tint-purple, .engine-card.tint-teal, .engine-card.tint-blue {
  --engine-tint: rgba(191,198,207,0.10);
  border-color: rgba(191,198,207,0.20);
}

.engine-eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
/* All engine-card eyebrows render in brand palette only. Default is gold;
   silver/royal variants step down to pearl silver for hierarchy. */
.tint-silver .engine-eyebrow { color: var(--pearl-silver); }
.tint-royal  .engine-eyebrow { color: var(--pearl-silver); }
.tint-purple .engine-eyebrow,
.tint-teal   .engine-eyebrow,
.tint-blue   .engine-eyebrow { color: var(--pearl-silver); }

.engine-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ivory-cream);
}
.engine-name sup { font-size: 0.4em; opacity: 0.7; vertical-align: super; }
.engine-tagline {
  color: var(--pearl-silver);
  font-size: 13px;
  margin: 0 0 14px;
  letter-spacing: 0.2px;
  line-height: 1.4;
}
.engine-tagline span { color: var(--accent); margin: 0 4px; }
.tint-silver .engine-tagline span,
.tint-royal  .engine-tagline span,
.tint-purple .engine-tagline span,
.tint-teal   .engine-tagline span,
.tint-blue   .engine-tagline span { color: var(--pearl-silver); }

.engine-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.engine-stat {
  background: rgba(11, 20, 38, 0.45);
  border: 1px solid rgba(46, 64, 112, 0.35);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
}
.engine-stat .num {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--accent);
  display: block;
  margin-bottom: 2px;
  line-height: 1.1;
}
.tint-silver .engine-stat .num { color: var(--pearl-silver); }
.tint-royal  .engine-stat .num { color: var(--pearl-silver); }
.tint-purple .engine-stat .num,
.tint-teal   .engine-stat .num,
.tint-blue   .engine-stat .num { color: var(--pearl-silver); }
.engine-stat .lbl {
  font-size: 10.5px;
  color: var(--pearl-silver);
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.25;
  display: block;
}

.engine-desc {
  color: var(--pearl-silver);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}
.engine-card > .engine-desc {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(46, 64, 112, 0.25);
  padding-top: 14px;
  margin-top: 12px;
}

/* engine row (legacy wrapper, no longer used in markup but kept harmless) */
.engine-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 1140px;
  margin: 0 auto;
}
.engine-row .engine-card { padding: 26px 32px 22px; margin: 0 0 10px; }
@media (max-width: 880px) {
  .engine-row { grid-template-columns: 1fr; }
}

/* ================= about section ================= */
.about-section {
  padding: 80px 0 60px;
  text-align: center;
}
.about-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ivory-cream);
  margin: 0 0 56px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}
.about-col {
  background: rgba(11, 20, 38, 0.5);
  border: 1px solid rgba(46, 64, 112, 0.12);
  border-radius: 20px;
  padding: 36px 36px 32px;
  text-align: left;
}
.about-col .label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.about-col p {
  color: var(--pearl-silver);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 14px;
}
.about-col p strong { color: var(--ivory-cream); font-weight: 600; }
.about-col p .gold { color: var(--accent); font-weight: 600; }
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ================= questions section ================= */
.questions-section {
  padding: 60px 0 80px;
}
.questions-section .label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
}
.questions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1140px;
  margin: 0 auto;
}
.question-card {
  background: rgba(11, 20, 38, 0.55);
  border: 1px solid rgba(46, 64, 112, 0.12);
  border-radius: 16px;
  padding: 24px 22px;
}
.question-card .icon {
  font-size: 22px;
  margin-bottom: 12px;
  display: block;
}
/* Functional question-card SVG icons. Replaced the ornamental
   ★ ◆ ◇ ⚖ ◎ glyphs with shapes that map to the question (scale,
   route arc, calendar, gauge, bar trend). Sized to read at 28px,
   gold-accent color, subtle drop-shadow for premium feel. */
.question-card .question-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  color: var(--accent);
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.30));
}
.question-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ivory-cream);
  margin: 0 0 10px;
  letter-spacing: 0;
}
.question-card p {
  color: var(--pearl-silver);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 1080px) {
  .questions-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .questions-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .questions-grid { grid-template-columns: 1fr; }
}

/* ================= trust section ================= */
.trust-section {
  padding: 60px 0 80px;
  text-align: center;
}
.trust-card {
  background: rgba(11, 20, 38, 0.5);
  border: 1px solid rgba(46, 64, 112, 0.12);
  border-radius: 20px;
  padding: 48px 36px;
  max-width: 720px;
  margin: 0 auto;
}
.trust-stars {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 6px;
  margin-bottom: 20px;
}
.trust-card h2 {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ivory-cream);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.trust-card p {
  color: var(--pearl-silver);
  font-size: 15px;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 28px;
}
.trust-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-btn {
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}
.trust-btn.primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: var(--midnight-navy);
}
.trust-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.4);
}
.trust-btn.ghost {
  background: transparent;
  color: var(--pearl-silver);
  border: 1px solid rgba(191, 198, 207, 0.35);
}
.trust-btn.ghost:hover {
  background: rgba(18, 43, 85, 0.45);
  color: var(--ivory-cream);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.4), 0 8px 22px rgba(18, 43, 85, 0.45);
}

/* ================= live fare alerts ticker =================
   Sits between the nav and hero. Not sticky - the previous sticky
   variant felt clumsy on scroll. Stays in normal flow so the user
   sees it on initial paint and again when they scroll back up. */
.deal-ticker {
  position: relative;
  margin: 12px auto 0;
  max-width: 1240px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}
.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(11, 20, 38, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
/* "Sample live intelligence" sub-label so users know the ticker is
   a demonstration of what the engine surfaces, not the engine itself. */
.ticker-label .ticker-label-primary {
  display: inline;
}
.ticker-label .ticker-label-sub {
  display: inline-block;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(212,175,55,0.30);
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: none;
  color: var(--pearl-silver);
  font-weight: 500;
}
@media (max-width: 720px) {
  .ticker-label .ticker-label-sub { display: none; }
}
.ticker-label .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  animation: tickerPulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes tickerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
}
.ticker-viewport {
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(46, 64, 112, 0.4);
  background: rgba(11, 20, 38, 0.6);
  backdrop-filter: blur(12px);
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: tickerScroll 90s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  border-right: 1px solid rgba(46, 64, 112, 0.3);
  white-space: nowrap;
  font-size: 13px;
}
.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid;
}
.ticker-badge .g { font-size: 12px; }
.ticker-carrier {
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.ticker-route {
  color: var(--ivory-cream);
  font-weight: 600;
}
.ticker-cabin {
  color: var(--pearl-silver);
  font-size: 12px;
}
.ticker-price {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}
.ticker-was {
  color: var(--text-faint);
  font-size: 12px;
  text-decoration: line-through;
}
.ticker-saving {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  background: rgba(212, 175, 55, 0.10);
  padding: 3px 8px;
  border-radius: 4px;
}
.ticker-time {
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.4px;
}
@media (max-width: 720px) {
  .deal-ticker {
    /* Mobile has no hover tooltips so the wider desktop gap isn't needed. */
    margin-top: 28px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 10px;
  }
  .ticker-label { justify-self: start; padding: 7px 12px; font-size: 10px; }
  .ticker-item { padding: 9px 16px; gap: 8px; font-size: 12px; }
  .ticker-was { display: none; }
}

/* ================= app page hero (compact) ================= */
/* Smooth-scroll anchor jumps on the app page so the hero CTA glides into
   the optimize section instead of snapping. Honours reduced motion via
   the @media block at the bottom of styles.css. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.app-page-hero {
  padding: 110px 24px 40px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  /* Reserve space so the hero doesn't shift when fonts swap. The min-height
     covers the eyebrow + display headline + pitch paragraph at typical
     desktop and mobile renderings, preventing CLS. */
  min-height: 320px;
}
@media (max-width: 720px) {
  .app-page-hero { min-height: 280px; padding: 80px 18px 30px; }
}
.app-page-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.app-page-hero .display {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 16px;
  background: linear-gradient(180deg, #FFFFFF 30%, #BFC6CF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.app-page-hero .display em {
  font-style: normal;
  background: linear-gradient(180deg, #F0D390 0%, #D4AF37 60%, #B8941F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.app-page-hero .pitch {
  color: var(--pearl-silver);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* =============================================================
   Hero Command Center (v2 UX blueprint §4-5)

   Replaces the centered toolkit hero with a two-column layout:
   left = positioning copy + CTAs, right = animated intelligence
   card stack (Route, Value, Market Signal). The .command-center
   modifier overrides the centered single-column layout above.
============================================================= */
.app-page-hero.command-center {
  max-width: 1280px;
  text-align: left;
  padding: 88px 32px 48px;
  min-height: 520px;
}
@media (max-width: 880px) {
  .app-page-hero.command-center {
    padding: 64px 20px 32px;
    min-height: 0;
  }
}
.command-center .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .command-center .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.command-center .hero-copy { max-width: 620px; }
.command-center .hero-copy .eyebrow {
  margin-bottom: 18px;
}
.command-center .hero-copy .display {
  text-align: left;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.04;
  margin-bottom: 18px;
}
.command-center .hero-copy .pitch {
  text-align: left;
  margin: 0;
  max-width: 560px;
  font-size: clamp(15px, 1.3vw, 17px);
}
.command-center .hero-tagline {
  margin: 16px 0 0;
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  color: var(--ivory-cream);
  letter-spacing: -0.2px;
}
.command-center .hero-tagline em {
  font-style: italic;
  color: var(--accent);
}

/* Primary + secondary CTA row */
.command-center .hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.command-center .cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(180deg, #E5C963 0%, #D4AF37 100%);
  color: var(--midnight-navy);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(212,175,55,0.18);
  transition: transform var(--motion-fast, 160ms) var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              box-shadow var(--motion-fast, 160ms) var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
}
.command-center .cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(212,175,55,0.28);
}
.command-center .cta-primary svg {
  transition: transform var(--motion-fast, 160ms) var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
}
.command-center .cta-primary:hover svg { transform: translateX(2px); }
.command-center .cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border: 1px solid rgba(191, 198, 207, 0.28);
  color: var(--pearl-silver);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  background: transparent;
  transition: background var(--motion-fast, 160ms) var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              border-color var(--motion-fast, 160ms) var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
              color var(--motion-fast, 160ms) var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
}
.command-center .cta-secondary:hover {
  border-color: rgba(212,175,55,0.45);
  color: var(--ivory-cream);
  background: rgba(212,175,55,0.06);
}

.command-center .hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 12px;
  color: var(--text-faint, #7B89A0);
  letter-spacing: 0.2px;
}
.command-center .meta-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good, #5FD99C);
  box-shadow: 0 0 8px rgba(95, 217, 156, 0.6);
}
.command-center .meta-sep { opacity: 0.5; }

/* =============================================================
   Animated intelligence card stack (right column)

   Three cards stacked in document flow with vertical rhythm. Each
   fades up from translateY(22px) on load, staggered by --stack-delay
   set inline in the HTML. Reduced motion lands them flat.
============================================================= */
.command-center .hero-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
@media (max-width: 880px) {
  .command-center .hero-stack { display: none; }
}
.command-center .hero-card {
  position: relative;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(18, 43, 85, 0.85), rgba(11, 20, 38, 0.85));
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(22px);
  animation: heroCardIn 720ms var(--ease-premium, cubic-bezier(0.22,1,0.36,1)) forwards;
  animation-delay: var(--stack-delay, 0ms);
  isolation: isolate;
  overflow: hidden;
}
.command-center .hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 60% at 90% 0%, rgba(212,175,55,0.10), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.command-center .hero-card-layer {
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.command-center .hero-card-meta {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--pearl-silver);
  letter-spacing: 0.1px;
  line-height: 1.45;
}

/* Route card: IATA codes flanking an arched SVG arc that draws on load */
.command-center .hero-card-route-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.command-center .hero-iata {
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--ivory-cream);
}
.command-center .hero-iata-gold { color: var(--accent); }
.command-center .hero-arc {
  flex: 1;
  height: 56px;
  display: block;
}
.command-center .hero-arc-from { fill: var(--pearl-silver); }
.command-center .hero-arc-to { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(212,175,55,0.6)); }
.command-center .hero-arc-path {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: heroArcDraw 1500ms var(--ease-premium, cubic-bezier(0.22,1,0.36,1)) 480ms forwards;
}

/* Value card: large points + cash equivalent + a mini confidence ring */
.command-center .hero-card-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.command-center .hero-value-num { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.command-center .hero-value-pts {
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-weight: 500;
  font-size: 30px;
  color: var(--accent);
  letter-spacing: 0.4px;
}
.command-center .hero-value-pts-lbl {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--pearl-silver);
}
.command-center .hero-value-fees {
  font-size: 14px;
  color: var(--pearl-silver);
  margin-left: 4px;
}
.command-center .hero-conf-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background:
    conic-gradient(var(--accent) calc(var(--score, 91) * 1%), rgba(191,198,207,0.18) 0);
  display: grid;
  place-items: center;
  position: relative;
}
.command-center .hero-conf-ring::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(180deg, #122B55, #0B1426);
}
.command-center .hero-conf-val {
  position: relative;
  z-index: 1;
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--ivory-cream);
}
.command-center .hero-conf-val sub {
  font-size: 9px;
  color: var(--pearl-silver);
  vertical-align: baseline;
  margin-left: 1px;
}

/* Market signal card: a pulsing gold dot + headline */
.command-center .hero-card-signal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ivory-cream);
}
.command-center .hero-signal-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
  animation: heroSignalPulse 2.4s ease-in-out infinite;
}

@keyframes heroCardIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroArcDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes heroSignalPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.55); }
  50%      { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .command-center .hero-card { opacity: 1; transform: none; animation: none; }
  .command-center .hero-arc-path { stroke-dashoffset: 0; animation: none; }
  .command-center .hero-signal-pulse { animation: none; }
}

/* On the app page, kill the marketing background moon (it conflicts with the form area) */
body.marketing.app-page::after { display: none; }

/* App page sections span full viewport (so alt-bg gradients extend),
   while inner content is constrained to a centered column. */
body.marketing .app-section {
  padding: 60px 32px 50px;
}
body.marketing .app-section.alt-bg {
  background: linear-gradient(180deg, transparent, rgba(18,43,85,0.12), transparent);
}
/* Hard constrain .section-inner so content never goes edge-to-edge on wide displays. */
body.marketing .section-inner,
body.marketing .app-section > .section-inner {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
  display: block;
  box-sizing: border-box;
}
/* Defensive fallback: any direct child of .app-section that isn't .section-inner
   still gets constrained. Prevents edge-to-edge content if HTML is malformed. */
body.marketing .app-section > *:not(.section-inner):not(style):not(script) {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

/* Section heading typography uses Sora on marketing pages */
body.marketing .section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}
body.marketing .section-title em {
  font-style: normal;
  color: var(--accent);
}
body.marketing .section-eyebrow {
  color: var(--accent);
  font-weight: 600;
}

/* ================= mobile responsive fixes ================= */
@media (max-width: 720px) {
  /* Pill nav becomes more compact */
  .mkt-header {
    margin: 8px 8px 0;
    padding: 8px 14px;
    gap: 8px;
  }
  .mkt-header .brand-text h1 { font-size: 18px; }
  .mkt-header .logomark { width: 24px; height: 24px; }
  .launch-cta { padding: 8px 16px; font-size: 13px; }
  .thinkrium-link { padding: 8px 12px; font-size: 13px; }

  /* Hero scales down */
  .mkt-hero { padding: 60px 18px 36px; }
  .mkt-hero .brand-glyph { width: 60px; height: 60px; margin-bottom: 14px; }
  .mkt-hero .display { font-size: clamp(48px, 14vw, 80px); }
  .mkt-hero .pitch, .hero-cta .pitch { font-size: 15px; line-height: 1.55; }
  .mkt-hero .pill-row, .hero-cta .pill-row { gap: 6px; margin-bottom: 28px; }
  .mkt-hero .pill, .hero-cta .pill { padding: 7px 12px; font-size: 12px; }
  .mkt-hero .launch-big, .hero-cta .launch-big {
    padding: 14px 36px;
    font-size: 14px;
    letter-spacing: 2.5px;
  }

  /* Engine cards stack */
  .engine-card { padding: 36px 22px 28px; border-radius: 16px; margin-bottom: 18px; }
  .engine-name { font-size: clamp(26px, 7vw, 34px) !important; }
  .engine-tagline { font-size: 14px; }
  .engine-stats { gap: 8px; }
  .engine-stat { padding: 12px 8px; }
  .engine-stat .num { font-size: 18px; }
  .engine-stat .lbl { font-size: 10.5px; }
  .engine-desc { font-size: 14px; line-height: 1.6; }

  /* App sections */
  body.marketing .app-section { padding: 44px 18px 36px; }
  body.marketing .section-title { font-size: clamp(28px, 7vw, 38px); }
  body.marketing .section-lead { font-size: 14.5px; }

  /* App page hero */
  .app-page-hero { padding: 80px 18px 28px; }
  .app-page-hero .display { font-size: clamp(36px, 9vw, 56px); }

  /* About / questions / trust */
  .about-section h2, .trust-card h2 { font-size: 28px; }
  .about-col { padding: 24px 22px; }
  .about-col p { font-size: 14.5px; }
  .questions-section { padding: 36px 0 56px; }
  .question-card { padding: 18px 16px; }
  .trust-card { padding: 32px 22px; }

  /* Form cards */
  .card { padding: 20px 18px; border-radius: 14px; }
  .field input, .field select { padding: 12px; font-size: 16px; } /* 16px prevents iOS auto-zoom */
  .field.tight input { padding: 10px 12px; font-size: 15px; }
  .balances { padding: 14px 14px 18px; }
  .actions { gap: 10px; }
  .actions .btn { flex: 1 1 auto; padding: 13px 18px; }

  /* Autocomplete dropdown - full width, scrollable, taller items */
  .autocomplete-dropdown {
    max-height: 60vh;
    border-radius: 12px;
  }
  .autocomplete-dropdown .ac-item {
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 12px 14px;
  }
  .autocomplete-dropdown .ac-iata { font-size: 16px; width: 40px; }
  .autocomplete-dropdown .ac-region { display: none; }

  /* Headline metric cards stack vertically */
  .headline-grid { grid-template-columns: 1fr; gap: 10px; }
  .headline-card { padding: 18px 18px; }
  .headline-card .route { font-size: 26px; }
  .headline-card .score-big { font-size: 38px; }
  .headline-card .value-big { font-size: 32px; }

  /* Summary bar wraps tighter */
  .summary-bar { gap: 14px; padding: 14px 18px; }
  .summary-bar .val { font-size: 18px; }

  /* Option cards stack on mobile */
  .option {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
    padding: 18px 18px;
  }
  .option .head { grid-column: 1 / -1; }
  .option .score-pill {
    grid-column: 1 / -1;
    justify-self: start;
    width: 80px;
  }
  .option .program { font-size: 17px; }
  .option .stat .num { font-size: 18px; }
  .option .notes { font-size: 12.5px; }
  .availability-hint { font-size: 12.5px; }

  /* Promo cards become single column */
  .promo-card { grid-template-columns: 1fr; gap: 10px; padding: 16px 18px; }
  .promo-card .ratio { text-align: left; font-size: 22px; }

  /* Tier banner in score result */
  .tier-banner { padding: 14px 16px; gap: 14px; }
  .tier-banner .glyph { font-size: 30px; width: 46px; height: 46px; }
  .tier-banner h3 { font-size: 22px; }
  .tier-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tier-stats .val { font-size: 18px; }

  /* Position result cards */
  .position-card { padding: 16px 18px; }
  .position-card h4 { font-size: 17px; }

  /* Footer */
  body.marketing .site-footer { padding: 22px 18px; }
  body.marketing .footer-copy { font-size: 12px; gap: 4px 10px; }
}

@media (max-width: 480px) {
  .mkt-header { padding: 8px 12px; }
  .mkt-header .brand-text h1 { font-size: 17px; }
  .thinkrium-link, .launch-cta { padding: 8px 14px; font-size: 12px; }

  .mkt-hero .display { font-size: clamp(42px, 16vw, 64px); }
  .mkt-hero .pill, .hero-cta .pill { padding: 6px 10px; font-size: 11.5px; }
  .mkt-hero .pill .glyph { font-size: 9px; }

  .engine-stats { grid-template-columns: repeat(2, 1fr) !important; }

  .questions-grid { grid-template-columns: 1fr !important; gap: 12px; }

  /* Compact app section padding */
  body.marketing .app-section { padding: 36px 14px 30px; }
  .card { padding: 18px 14px; }
}

/* iOS safe area */
@supports (padding: env(safe-area-inset-bottom)) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* ================= footer override for marketing ================= */
body.marketing .site-footer {
  text-align: center;
  border-top: 1px solid rgba(46,64,112,0.1);
  padding: 28px 32px;
  margin-top: 0;
}
body.marketing .footer-copy {
  color: var(--text-faint);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
}
body.marketing .footer-copy a {
  color: var(--text-muted);
  text-decoration: none;
}
body.marketing .footer-copy a:hover { color: var(--accent); }
body.marketing .footer-copy .sep { opacity: 0.5; }

/* ============================================================
   Phase A positioning sections: value prop strip, before/after,
   target users, footer tagline rotation. Brand colors only.
   ============================================================ */

/* Value proposition strip ---------------------------------- */
.value-prop {
  padding: 48px 0 24px;
  text-align: center;
}
.value-prop-line {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  color: var(--ivory-cream);
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}
.value-prop-line em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.value-prop-sub {
  font-size: 14px;
  color: var(--pearl-silver);
  letter-spacing: 0.4px;
  margin: 0;
  opacity: 0.85;
}

/* Before / After ------------------------------------------- */
.before-after {
  padding: 56px 0 56px;
}
.before-after h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--ivory-cream);
  text-align: center;
  margin: 0 0 32px;
  letter-spacing: -0.3px;
}
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .ba-grid { grid-template-columns: 1fr; padding: 0 18px; } }
.ba-col {
  background: linear-gradient(180deg, rgba(11,20,38,0.85), rgba(11,20,38,0.65));
  border: 1px solid rgba(191, 198, 207, 0.16);
  border-radius: 18px;
  padding: 28px 30px 24px;
}
.ba-col.ba-after {
  border-color: rgba(212, 175, 55, 0.30);
  background: linear-gradient(180deg, rgba(212,175,55,0.06), rgba(11,20,38,0.65));
}
.ba-tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pearl-silver);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(191, 198, 207, 0.30);
  margin-bottom: 18px;
  opacity: 0.9;
}
.ba-tag-gold {
  color: var(--accent);
  border-color: rgba(212, 175, 55, 0.40);
  opacity: 1;
}
.ba-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ba-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(191, 198, 207, 0.18);
  color: var(--pearl-silver);
  font-size: 14.5px;
  line-height: 1.5;
}
.ba-list li:last-child { border-bottom: 0; }
.ba-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(191, 198, 207, 0.30);
  color: var(--pearl-silver);
  font-size: 12px;
  font-weight: 600;
  margin-top: 1px;
  opacity: 0.7;
}
.ba-mark-gold {
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--accent);
  opacity: 1;
}

/* Target Users --------------------------------------------- */
.target-users {
  padding: 56px 0 56px;
  text-align: center;
}
.target-users .label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.target-users h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--ivory-cream);
  margin: 0 0 28px;
  letter-spacing: -0.3px;
  padding: 0 24px;
}
.users-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 1080px) { .users-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .users-grid { grid-template-columns: 1fr; padding: 0 18px; } }
.user-card {
  background: linear-gradient(180deg, rgba(11,20,38,0.85), rgba(11,20,38,0.65));
  border: 1px solid rgba(191, 198, 207, 0.16);
  border-radius: 14px;
  padding: 22px 18px 20px;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.user-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}
.user-glyph {
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1;
}
.user-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--ivory-cream);
  margin: 0 0 8px;
  letter-spacing: -0.1px;
}
.user-card p {
  font-size: 13.5px;
  color: var(--pearl-silver);
  line-height: 1.5;
  margin: 0;
  opacity: 0.92;
}

/* Footer rotating tagline ---------------------------------- */
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--accent);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  transition: opacity 0.28s ease;
  opacity: 1;
}

/* ==================== HERO LIVE INTELLIGENCE PANEL ====================
   Sits on the landing hero in place of the old "Built on real models"
   moat-line. Hydrates from /forecast + /deals so visitors see actual
   live data, not feature claims. Single most important "feels like an
   intelligence terminal" change on the landing page.
====================================================================== */
/* Hard-pin link styling for the route cell so the user-agent default
   blue-underline never leaks through, no matter where the panel is
   nested. This is the same defensive pattern we used on the Editor's
   Pick wrapper anchor. */
body.marketing .hero-live-panel a,
body.marketing .hero-live-panel a:link,
body.marketing .hero-live-panel a:visited,
body.marketing .hero-live-panel a:hover,
body.marketing .hero-live-panel a:active {
  color: inherit;
  text-decoration: none;
}
.hero-live-panel {
  position: relative;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 22px 26px 18px;
  background:
    radial-gradient(900px 220px at 12% 0%, rgba(212,175,55,0.10) 0%, transparent 60%),
    linear-gradient(180deg, rgba(18,43,85,0.55) 0%, rgba(11,20,38,0.42) 100%);
  border: 1px solid rgba(212,175,55,0.30);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.07) inset, 0 8px 24px -12px rgba(212,175,55,0.20);
  text-align: left;
}
.hero-live-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
/* Verdict prose block. Reads like a strategist recommendation rather
   than a stats dashboard. The query line is rendered in a muted IATA
   strip; the prose itself is in the ivory body color with key terms
   bolded gold. The caveat is the trust signal points-folks actually
   want to see ("verify seats before transferring"). */
.hero-live-verdict {
  padding: 14px 16px 12px;
  margin-bottom: 14px;
  background: rgba(11,20,38,0.45);
  border: 1px solid rgba(191,198,207,0.12);
  border-radius: 12px;
}
.hero-live-verdict-query {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--pearl-silver);
  margin-bottom: 8px;
}
.hero-live-verdict-prose {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ivory-cream);
  letter-spacing: 0.1px;
}
.hero-live-verdict-prose strong { color: var(--accent); font-weight: 600; }
/* Compact metadata line under the verdict prose. Surfaces operating
   carriers, bookable-now/historical/watchlist status, and the
   verify-seats-before-transfer hint. Aviation-analyst feedback:
   "users will immediately ask: operated by whom, taxes how much,
   nonstop or connection, bookable now or historical window." */
.hero-live-verdict-meta {
  margin-top: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11.5px;
  color: var(--pearl-silver);
  letter-spacing: 0.2px;
  line-height: 1.5;
}
.hero-live-verdict-meta strong {
  color: var(--ivory-cream);
  font-weight: 600;
}
.hero-live-verdict-caveat {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(191,198,207,0.14);
  font-size: 11.5px;
  color: var(--pearl-silver);
  letter-spacing: 0.2px;
  line-height: 1.5;
}
.hero-live-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(212,175,55,0.65);
  animation: heroLivePulse 2.4s ease-out infinite;
}
@keyframes heroLivePulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,175,55,0.55); }
  80%  { box-shadow: 0 0 0 8px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-live-pulse { animation: none; }
}
.hero-live-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.hero-live-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}
.hero-live-cell-route {
  text-decoration: none;
  color: inherit;
  padding-right: 14px;
  border-right: 1px solid rgba(191,198,207,0.10);
  transition: transform 200ms;
}
.hero-live-cell-route:hover {
  transform: translateY(-1px);
}
.hero-live-route-iata {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hero-live-iata {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 1.4px;
  color: var(--ivory-cream);
}
.hero-live-iata-gold { color: var(--accent); }
.hero-live-arrow {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  color: var(--pearl-silver);
}
.hero-live-route-meta {
  font-size: 11px;
  color: var(--pearl-silver);
  letter-spacing: 0.2px;
  line-height: 1.4;
}
.hero-live-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  color: var(--accent);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.6px;
}
.hero-live-lbl {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--pearl-silver);
  font-weight: 600;
}
.hero-live-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(191,198,207,0.08);
  font-size: 11px;
  color: var(--pearl-silver);
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
/* Confidence chip on the live panel. Maps high/medium/low to colored
   dots so users see per-result trust signal alongside source freshness.
   Closes the "more visible confidence per result" trust critique. */
.hero-live-conf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--pearl-silver);
  font-weight: 600;
}
.hero-live-conf-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pearl-silver);
}
.hero-live-conf[data-level="high"]   .hero-live-conf-dot { background: var(--accent); }
.hero-live-conf[data-level="high"]                       { color: var(--accent); }
.hero-live-conf[data-level="medium"] .hero-live-conf-dot { background: rgba(212,175,55,0.55); }
.hero-live-conf[data-level="low"]    .hero-live-conf-dot { background: rgba(191,198,207,0.45); }
.hero-live-conf-sample {
  color: var(--pearl-silver);
  text-transform: none;
  letter-spacing: 0.3px;
  font-weight: 500;
  margin-left: 4px;
}
@media (max-width: 760px) {
  .hero-live-panel { padding: 18px 18px 14px; margin-top: 22px; }
  .hero-live-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-live-cell-route {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 14px;
    border-right: none;
    border-bottom: 1px solid rgba(191,198,207,0.10);
  }
  .hero-live-iata { font-size: 26px; }
  .hero-live-num  { font-size: 24px; }
}

/* Trust section: live numbers replacing the generic "trusted by"
   copy. Reads as a real-time data snapshot of the platform's
   coverage. */
.trust-section .trust-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.trust-section .trust-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(212,175,55,0.65);
  animation: heroLivePulse 2.4s ease-out infinite;
}
.trust-section .trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
  margin: 26px 0 28px;
  padding: 24px 0;
  border-top: 1px solid rgba(212,175,55,0.18);
  border-bottom: 1px solid rgba(212,175,55,0.18);
}
.trust-section .trust-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.trust-section .trust-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 38px;
  color: var(--accent);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.6px;
}
.trust-section .trust-lbl {
  font-size: 11px;
  color: var(--pearl-silver);
  letter-spacing: 0.4px;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .trust-section .trust-stats { gap: 16px; padding: 18px 0; }
  .trust-section .trust-num { font-size: 30px; }
}

/* ==================== LANDING HERO TRIP PROMPT ====================
   Above-the-fold input that hands off to /app with the query in URL.
   Closes the "homepage should put a usable trip prompt above the
   fold" conversion gap. The single biggest conversion lever on the
   landing page: visitors stop reading and start using.
====================================================================== */
.hero-prompt {
  max-width: 720px;
  margin: 24px auto 8px;
  text-align: left;
}
.hero-prompt-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 18px;
  background: linear-gradient(180deg, rgba(18,43,85,0.65) 0%, rgba(11,20,38,0.55) 100%);
  border: 1px solid rgba(212,175,55,0.30);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.06) inset, 0 8px 24px -14px rgba(212,175,55,0.20);
  transition: border-color 200ms, box-shadow 200ms;
}
.hero-prompt-wrap:focus-within {
  border-color: rgba(212,175,55,0.55);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.12) inset, 0 8px 24px -10px rgba(212,175,55,0.32);
}
.hero-prompt-icon {
  flex: 0 0 auto;
  color: var(--accent);
  opacity: 0.85;
}
.hero-prompt-input {
  flex: 1 1 auto;
  background: transparent;
  border: 0;
  outline: none;
  font: 500 15.5px/1.4 'Inter', system-ui, sans-serif;
  letter-spacing: 0.1px;
  color: var(--ivory-cream);
  padding: 10px 4px;
}
.hero-prompt-input::placeholder {
  color: var(--pearl-silver);
  opacity: 0.7;
}
.hero-prompt-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  background: var(--accent);
  color: var(--midnight-navy);
  font: 600 13px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.5px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 160ms, box-shadow 160ms;
}
.hero-prompt-submit:hover,
.hero-prompt-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(212,175,55,0.65);
}
.hero-prompt-submit:focus-visible {
  outline: 2px solid rgba(212,175,55,0.55);
  outline-offset: 3px;
}
.hero-prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
}
.hero-prompt-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font: 500 11.5px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.3px;
  color: var(--pearl-silver);
  background: rgba(18,43,85,0.55);
  border: 1px solid rgba(191,198,207,0.14);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 200ms, color 200ms, transform 160ms;
}
.hero-prompt-chip:hover,
.hero-prompt-chip:focus-visible {
  border-color: rgba(212,175,55,0.5);
  color: var(--accent);
  transform: translateY(-1px);
}
.hero-prompt-chip:focus-visible {
  outline: 2px solid rgba(212,175,55,0.45);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .hero-prompt-wrap { padding: 6px 6px 6px 14px; gap: 6px; }
  .hero-prompt-input { font-size: 14px; padding: 9px 4px; }
  .hero-prompt-submit { padding: 10px 16px; font-size: 12px; }
  .hero-prompt-submit span { display: none; }
  .hero-prompt-chips { gap: 6px; }
  .hero-prompt-chip { padding: 5px 10px; font-size: 11px; }
}

/* ==================== ENGINE CARD SAMPLE BLOCK ====================
   Per aviation-analyst feedback: each engine card needs to SHOW the
   engine working, not just describe it. The sample block sits between
   tagline and stats and renders a concrete mini-result: route +
   verdict + extra context + bookable tier label.

   Tiers (matching the three-tier classification we use everywhere):
   - bookable: gold dot + gold text. Live snapshot < 24h.
   - historical: muted gold. Snapshot within 24-72h (or known pattern).
   - watchlist: muted neutral. No live data, chart-price only.
====================================================================== */
.engine-sample {
  margin: 16px 0 18px;
  padding: 14px 16px 12px;
  background: rgba(11,20,38,0.50);
  border: 1px solid rgba(191,198,207,0.10);
  border-left: 2px solid rgba(212,175,55,0.55);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.engine-sample-lbl {
  flex: 0 0 auto;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 9.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-top: 2px;
}
.engine-sample-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Inter', system-ui, sans-serif;
}
.engine-sample-route {
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--pearl-silver);
  font-weight: 600;
}
.engine-sample-verdict {
  font-size: 14.5px;
  color: var(--ivory-cream);
  line-height: 1.4;
  letter-spacing: 0.1px;
}
.engine-sample-verdict strong {
  color: var(--accent);
  font-weight: 600;
}
.engine-sample-extra {
  font-size: 11.5px;
  color: var(--pearl-silver);
  line-height: 1.5;
}
.engine-sample-tier {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 700;
  align-self: flex-start;
}
.engine-sample-tier .tier-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.engine-sample-tier.tier-bookable           { color: var(--accent); }
.engine-sample-tier.tier-bookable .tier-dot { background: var(--accent); box-shadow: 0 0 8px rgba(212,175,55,0.6); }
.engine-sample-tier.tier-historical           { color: rgba(212,175,55,0.65); }
.engine-sample-tier.tier-historical .tier-dot { background: rgba(212,175,55,0.55); }
.engine-sample-tier.tier-watchlist            { color: var(--pearl-silver); }
.engine-sample-tier.tier-watchlist .tier-dot  { background: rgba(191,198,207,0.45); }
@media (max-width: 600px) {
  .engine-sample { flex-direction: column; gap: 8px; }
  .engine-sample-lbl { margin-top: 0; }
}
