/* ==========================================================================
   PilotIntel (pilotintel.app) — Self-Contained Production Stylesheet
   1:1 Monochrome Gunmetal Palette Parity with ipilot-native
   Default: Dark B1 (#0b0c0e) · OS Auto Light (#eeeff0) · Warm Carbon (#121110)
   Zero External CDNs · Zero Inline Styles Required (Strict CSP Compatible)
   ========================================================================== */

:root,
:root[data-theme="dark"] {
  --ip-bg: #0b0c0e;
  --ip-panel: #121418;
  --ip-card: #191c22;
  --ip-card-line: #242830;
  --ip-line: #242830;
  --ip-ink: #f3f4f6;
  --ip-heading: #f3f4f6;
  --ip-muted: #9ca3af;
  --ip-accent: #e5e7eb;
  --ip-accent-ink: #0b0c0e;
  --ip-accent-line: #333a47;
  --ip-selected: #22262f;
  --ip-header: rgba(25, 28, 34, 0.94);
  --ip-header-pill-bg: #121418;
  --ip-header-pill-line: #242830;
  --ip-brand-rule: rgba(229, 231, 235, 0.16);
  --ip-icon-chip-bg: #121418;
  --ip-icon-chip-border: #242830;
  --ip-seg-track: #121418;
  --ip-seg-track-border: #2e333d;
  --ip-seg-capsule: #262b35;
  --ip-seg-active-border: #3e4656;
  --ip-seg-active-ink: #f9fafb;
  --ip-seg-inactive: #8a93a5;
  --ip-gold: #e5c07b;
  --ip-gold-bg: #232731;
  --ip-good: #a7c9b6;
  --ip-good-bg: #233a32;
  --ip-bad: #dfadb1;
  --ip-bad-bg: #3e2b33;
  --ip-card-radius: 12px;
  --ip-header-pill-radius: 10px;
  --ip-shadow: none;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --ip-bg: #eeeff0;
    --ip-panel: #f5f6f7;
    --ip-card: #ffffff;
    --ip-card-line: #e2e3e4;
    --ip-line: #dfe0e1;
    --ip-ink: #161618;
    --ip-heading: #161618;
    --ip-muted: #505052;
    --ip-accent: #18181b;
    --ip-accent-ink: #ffffff;
    --ip-accent-line: #d5d6d7;
    --ip-selected: #efeff1;
    --ip-header: rgba(255, 255, 255, 0.95);
    --ip-header-pill-bg: #f4f5f6;
    --ip-header-pill-line: #d5d6d7;
    --ip-brand-rule: rgba(24, 24, 26, 0.22);
    --ip-icon-chip-bg: #f5f6f7;
    --ip-icon-chip-border: #e2e3e4;
    --ip-seg-track: #e8e9ea;
    --ip-seg-track-border: #dfe0e1;
    --ip-seg-capsule: #ffffff;
    --ip-seg-active-border: #d5d6d7;
    --ip-seg-active-ink: #161618;
    --ip-seg-inactive: #505052;
    --ip-gold: #866326;
    --ip-gold-bg: #f6f1e6;
    --ip-good: #276349;
    --ip-good-bg: #edf5f0;
    --ip-bad: #a03e47;
    --ip-bad-bg: #faf0f1;
    --ip-card-radius: 14px;
    --ip-header-pill-radius: 999px;
    --ip-shadow: 0 4px 16px rgba(20, 23, 28, 0.06);
    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --ip-bg: #eeeff0;
  --ip-panel: #f5f6f7;
  --ip-card: #ffffff;
  --ip-card-line: #e2e3e4;
  --ip-line: #dfe0e1;
  --ip-ink: #161618;
  --ip-heading: #161618;
  --ip-muted: #505052;
  --ip-accent: #18181b;
  --ip-accent-ink: #ffffff;
  --ip-accent-line: #d5d6d7;
  --ip-selected: #efeff1;
  --ip-header: rgba(255, 255, 255, 0.95);
  --ip-header-pill-bg: #f4f5f6;
  --ip-header-pill-line: #d5d6d7;
  --ip-brand-rule: rgba(24, 24, 26, 0.22);
  --ip-icon-chip-bg: #f5f6f7;
  --ip-icon-chip-border: #e2e3e4;
  --ip-seg-track: #e8e9ea;
  --ip-seg-track-border: #dfe0e1;
  --ip-seg-capsule: #ffffff;
  --ip-seg-active-border: #d5d6d7;
  --ip-seg-active-ink: #161618;
  --ip-seg-inactive: #505052;
  --ip-gold: #866326;
  --ip-gold-bg: #f6f1e6;
  --ip-good: #276349;
  --ip-good-bg: #edf5f0;
  --ip-bad: #a03e47;
  --ip-bad-bg: #faf0f1;
  --ip-card-radius: 14px;
  --ip-header-pill-radius: 999px;
  --ip-shadow: 0 4px 16px rgba(20, 23, 28, 0.06);
  color-scheme: light;
}

:root[data-theme="carbon"] {
  --ip-bg: #121110;
  --ip-panel: #161513;
  --ip-card: #1c1b19;
  --ip-card-line: #3d3b36;
  --ip-line: #3d3b36;
  --ip-ink: #eceae4;
  --ip-heading: #eceae4;
  --ip-muted: #b5b0a6;
  --ip-accent: #e5c07b;
  --ip-accent-ink: #161513;
  --ip-accent-line: #665331;
  --ip-selected: rgba(229, 192, 123, 0.14);
  --ip-header: rgba(22, 21, 19, 0.95);
  --ip-header-pill-bg: #1c1b19;
  --ip-header-pill-line: #665331;
  --ip-brand-rule: rgba(229, 192, 123, 0.32);
  --ip-icon-chip-bg: #161513;
  --ip-icon-chip-border: #3d3b36;
  --ip-seg-track: #11100e;
  --ip-seg-track-border: #2e2c28;
  --ip-seg-capsule: #23211e;
  --ip-seg-active-border: #665331;
  --ip-seg-active-ink: #eceae4;
  --ip-seg-inactive: #b5b0a6;
  --ip-gold: #e5c07b;
  --ip-gold-bg: #292419;
  --ip-good: #cfe8d2;
  --ip-good-bg: rgba(156, 197, 161, 0.14);
  --ip-bad: #f2b8b5;
  --ip-bad-bg: rgba(230, 126, 115, 0.15);
  --ip-card-radius: 14px;
  --ip-header-pill-radius: 999px;
  --ip-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  color-scheme: dark;
}

/* Base Reset & Typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  margin: 0;
  background-color: var(--ip-bg);
  color: var(--ip-ink);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

a {
  color: var(--ip-ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--ip-accent);
  color: var(--ip-accent-ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

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

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 840px;
}

/* ==========================================================================
   Header & Centered Monochrome Brand Capsule
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ip-header);
  border-bottom: 1px solid var(--ip-line);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--ip-muted);
  text-decoration: none;
  transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.nav-link:hover {
  color: var(--ip-ink);
  background: var(--ip-selected);
  text-decoration: none;
}

.nav-link[aria-current="page"] {
  color: var(--ip-ink);
  background: var(--ip-selected);
  border-color: var(--ip-accent-line);
}

.brand-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 22px;
  border-radius: var(--ip-header-pill-radius);
  background: var(--ip-header-pill-bg);
  border: 1px solid var(--ip-header-pill-line);
  color: var(--ip-ink);
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.brand-capsule:hover {
  border-color: var(--ip-accent-line);
  text-decoration: none;
}

.brand-rule {
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: var(--ip-brand-rule);
}

.brand-wing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ip-ink);
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand-pilot {
  font-weight: 900;
}

.brand-intel {
  font-weight: 400;
  opacity: 0.74;
  margin-left: 2px;
}

.header-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--ip-seg-track);
  border: 1px solid var(--ip-seg-track-border);
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 30px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ip-seg-inactive);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.theme-btn:hover {
  color: var(--ip-ink);
}

.theme-btn.is-active {
  background: var(--ip-seg-capsule);
  border-color: var(--ip-seg-active-border);
  color: var(--ip-seg-active-ink);
}

.theme-btn-label {
  display: none;
}

/* ==========================================================================
   Main & Hero Section
   ========================================================================== */
main {
  padding: 36px 0 64px;
}

.hero {
  padding: 8px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 28px;
  align-items: center;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--ip-line);
  background: var(--ip-panel);
  color: var(--ip-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.pill--accent {
  background: var(--ip-selected);
  border-color: var(--ip-accent-line);
  color: var(--ip-accent);
}

.pill--good {
  background: var(--ip-good-bg);
  border-color: var(--ip-good);
  color: var(--ip-good);
}

.pill--gold {
  background: var(--ip-gold-bg);
  border-color: var(--ip-accent-line);
  color: var(--ip-gold);
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ip-heading);
}

.hero-subtitle {
  margin: 0 0 14px;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
  color: var(--ip-accent);
  letter-spacing: -0.01em;
}

.hero-lead {
  margin: 0 0 24px;
  max-width: 56ch;
  font-size: 15px;
  color: var(--ip-muted);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--ip-card-radius);
  border: 1px solid var(--ip-accent-line);
  background: var(--ip-card);
  color: var(--ip-ink);
  box-shadow: var(--ip-shadow);
}

.store-badge-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ip-muted);
}

.store-badge-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ip-ink);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--ip-line);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--ip-accent);
  border-color: var(--ip-accent);
  color: var(--ip-accent-ink);
}

.btn--primary:hover {
  opacity: 0.9;
}

.btn--secondary {
  background: var(--ip-panel);
  border-color: var(--ip-accent-line);
  color: var(--ip-ink);
}

.btn--secondary:hover {
  background: var(--ip-selected);
}

/* ==========================================================================
   Instrument-Style Studio Preview Card
   ========================================================================== */
.card {
  background: var(--ip-card);
  border: 1px solid var(--ip-card-line);
  border-radius: var(--ip-card-radius);
  padding: 20px;
  box-shadow: var(--ip-shadow);
}

.card--panel {
  background: var(--ip-panel);
  border-color: var(--ip-line);
  box-shadow: none;
}

.card--featured {
  border-color: var(--ip-accent-line);
}

.studio-preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.studio-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ip-line);
}

.studio-prompt {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ip-ink);
}

.studio-subpanel {
  padding: 12px;
  border-radius: 10px;
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ip-muted);
}

.studio-subhead-good {
  color: var(--ip-good);
}

.expr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.expr-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--ip-line);
  background: var(--ip-card);
  color: var(--ip-muted);
  font-size: 11px;
  font-weight: 600;
}

.expr-chip--hit {
  background: var(--ip-good-bg);
  border-color: var(--ip-good);
  color: var(--ip-good);
}

.grade-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.grade-verdict {
  font-size: 14px;
  font-weight: 800;
  color: var(--ip-good);
  margin-top: 4px;
}

.grade-score-wrap {
  text-align: right;
  line-height: 1;
}

.grade-score {
  font-size: 28px;
  font-weight: 800;
  color: var(--ip-ink);
}

.grade-score-unit {
  font-size: 10px;
  color: var(--ip-muted);
  margin-top: 3px;
}

.rubric-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rubric-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rubric-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ip-muted);
}

.rubric-meta strong {
  color: var(--ip-ink);
  font-weight: 700;
}

.rubric-track {
  height: 5px;
  border-radius: 999px;
  background: var(--ip-bg);
  overflow: hidden;
}

.rubric-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--ip-good);
}

.rubric-fill--gold {
  background: var(--ip-gold);
}

.w-92 { width: 92%; }
.w-88 { width: 88%; }
.w-86 { width: 86%; }
.w-84 { width: 84%; }

/* ==========================================================================
   Sections & Grids
   ========================================================================== */
.section {
  padding: 36px 0;
  border-top: 1px solid var(--ip-line);
}

.section-head {
  margin-bottom: 22px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ip-muted);
}

.section-title {
  margin: 0 0 6px;
  font-size: clamp(21px, 2.6vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ip-heading);
}

.section-desc {
  margin: 0;
  max-width: 66ch;
  font-size: 14.5px;
  color: var(--ip-muted);
}

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

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

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

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ip-icon-chip-bg);
  border: 1px solid var(--ip-icon-chip-border);
  color: var(--ip-ink);
  flex-shrink: 0;
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.card-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ip-heading);
}

.card-body {
  margin: 0;
  font-size: 13.5px;
  color: var(--ip-muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tag {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--ip-line);
  background: var(--ip-panel);
  color: var(--ip-muted);
  font-size: 11px;
  font-weight: 600;
}

/* Airline Grid */
.airline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.airline-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--ip-card);
  border: 1px solid var(--ip-card-line);
  border-radius: var(--ip-card-radius);
  box-shadow: var(--ip-shadow);
}

.airline-card--live {
  border-color: var(--ip-accent-line);
}

.airline-card--queued {
  opacity: 0.78;
}

.airline-code-chip {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ip-icon-chip-bg);
  border: 1px solid var(--ip-icon-chip-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
}

.airline-iata {
  font-size: 12px;
  font-weight: 800;
  color: var(--ip-ink);
}

.airline-icao {
  font-size: 8.5px;
  color: var(--ip-muted);
}

.airline-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ip-heading);
}

.airline-meta {
  font-size: 11.5px;
  color: var(--ip-muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--ip-card);
  border: 1px solid var(--ip-card-line);
  border-radius: var(--ip-card-radius);
  padding: 18px;
  box-shadow: var(--ip-shadow);
}

.price-card--recommended {
  border-color: var(--ip-accent);
}

.price-tier {
  font-size: 15px;
  font-weight: 800;
  color: var(--ip-heading);
  margin: 8px 0 4px;
}

.price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--ip-ink);
  line-height: 1.1;
}

.price-period {
  font-size: 12px;
  color: var(--ip-muted);
  margin-top: 2px;
  margin-bottom: 14px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ip-muted);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check-mark {
  color: var(--ip-good);
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-footnote {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ip-muted);
}

/* Trust Strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-item {
  padding: 14px;
  border-radius: var(--ip-card-radius);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
}

.trust-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ip-good);
  margin-bottom: 4px;
}

.trust-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ip-heading);
  margin: 0 0 4px;
}

.trust-desc {
  font-size: 12.5px;
  color: var(--ip-muted);
  margin: 0;
}

/* ==========================================================================
   Legal & Support Document Layout
   ========================================================================== */
.doc-header {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ip-line);
}

.doc-title {
  margin: 10px 0 8px;
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ip-heading);
}

.doc-subtitle {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ip-muted);
  max-width: 68ch;
}

.doc-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.doc-meta-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
}

.doc-meta-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ip-muted);
  margin-bottom: 3px;
}

.doc-meta-value {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ip-ink);
  word-break: break-word;
}

.callout {
  padding: 16px 18px;
  border-radius: var(--ip-card-radius);
  border: 1px solid var(--ip-accent-line);
  background: var(--ip-panel);
  margin-bottom: 24px;
}

.callout--safety {
  background: var(--ip-gold-bg);
  border-color: var(--ip-accent-line);
}

.callout--good {
  background: var(--ip-good-bg);
  border-color: var(--ip-good);
}

.callout-title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ip-gold);
}

.callout--good .callout-title {
  color: var(--ip-good);
}

.callout p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ip-ink);
}

.toc-card {
  padding: 16px 18px;
  border-radius: var(--ip-card-radius);
  background: var(--ip-card);
  border: 1px solid var(--ip-card-line);
  margin-bottom: 28px;
}

.toc-title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ip-muted);
}

.toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  font-size: 13px;
}

.toc-list a {
  color: var(--ip-ink);
}

.prose h2 {
  margin: 34px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--ip-line);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ip-heading);
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose h3 {
  margin: 20px 0 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ip-heading);
}

.prose p {
  margin: 0 0 12px;
  color: var(--ip-ink);
}

.prose ul,
.prose ol {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--ip-ink);
}

.prose li {
  margin-bottom: 6px;
}

.prose code {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
  color: var(--ip-ink);
}

.prose a {
  color: var(--ip-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Tables */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 14px 0 20px;
  border-radius: var(--ip-card-radius);
  border: 1px solid var(--ip-line);
  background: var(--ip-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--ip-line);
  vertical-align: top;
}

.data-table th {
  background: var(--ip-panel);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ip-muted);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Support FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: var(--ip-card-radius);
  background: var(--ip-card);
  border: 1px solid var(--ip-card-line);
  box-shadow: var(--ip-shadow);
  overflow: hidden;
}

.faq-summary {
  list-style: none;
  padding: 15px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ip-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.faq-indicator {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--ip-muted);
  flex-shrink: 0;
}

.faq-item[open] .faq-indicator::before {
  content: "-";
}

.faq-item:not([open]) .faq-indicator::before {
  content: "+";
}

.faq-body {
  padding: 0 18px 16px;
  border-top: 1px solid var(--ip-line);
  padding-top: 14px;
  font-size: 13.5px;
  color: var(--ip-muted);
}

.faq-body p {
  margin: 0 0 10px;
}

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

.faq-body a {
  color: var(--ip-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  margin-bottom: 24px;
  border-radius: var(--ip-card-radius);
  background: var(--ip-card);
  border: 1px solid var(--ip-accent-line);
  box-shadow: var(--ip-shadow);
}

.support-contact-card > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: 56ch;
}

/* ==========================================================================
   Footer (Shared Across All Pages)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--ip-line);
  background: var(--ip-panel);
  padding: 32px 0 40px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ip-heading);
}

.footer-brand-meta {
  font-size: 12px;
  color: var(--ip-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a {
  color: var(--ip-muted);
}

.footer-links a:hover {
  color: var(--ip-ink);
}

.disclaimer-box {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--ip-card);
  border: 1px solid var(--ip-line);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ip-muted);
  margin-bottom: 16px;
}

.disclaimer-box strong {
  color: var(--ip-ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--ip-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid,
  .trust-strip,
  .doc-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
  }

  .brand-capsule {
    grid-column: 1 / 2;
    grid-row: 1;
    justify-self: start;
    padding: 0 14px;
    min-height: 36px;
  }

  .brand-rule {
    display: none;
  }

  .header-controls {
    grid-column: 2 / 3;
    grid-row: 1;
  }

  .header-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
    padding-top: 6px;
    border-top: 1px solid var(--ip-line);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .airline-grid,
  .toc-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .pricing-grid,
  .trust-strip,
  .doc-meta-grid {
    grid-template-columns: 1fr;
  }

  .airline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
