/* AviBRIEF — marketing site styles */
:root {
  --amber: #ffcc00;
  --cyan: #4b8fe0;
  --vfr: #1d9d58;
  --ifr: #d8393c;
  --radius: 14px;
  --radius-sm: 8px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1180px;
}
/* Light theme (default) */
:root, :root[data-theme="light"] {
  /* Light theme = the original design: dark header, hero, feature bands and footer; white content sections */
  --bg: #ffffff;
  --night: #07090d;
  --night-2: #0f1218;
  --night-3: #171b23;
  --line-dark: #262b36;
  --ink: #0d1626;
  --ink-2: #3b4a63;
  --muted: #6b7a93;
  --paper: #f6f7f9;
  --white: #ffffff;
  --line: #e2e6ee;
  --amber-ink: #8a6a00;
  --accent-text: #ffcc00;
  --on-dark: #e9eef8;
  --on-dark-muted: #9aa3ad;
  --header-bg: rgba(7, 9, 13, .86);
  --header-line: rgba(38, 43, 54, .7);
  --chip-bg: rgba(15, 18, 24, .94);
  --shadow: 0 1px 2px rgba(13, 22, 38, .06), 0 8px 24px rgba(13, 22, 38, .08);
  --shot-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  --grid-line: rgba(160, 170, 185, .06);
  --btn-dark-hover: #1d222c;
  --footer-bg: #23262c;
  color-scheme: light;
}
/* Dark theme: system preference when no choice is stored, or explicit choice */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1b1e24;
    --night: #0b0e13;
    --night-2: #12161d;
    --night-3: #171b23;
    --line-dark: #262b36;
    --ink: #e9eef8;
    --ink-2: #b4bcc8;
    --muted: #98a1ad;
    --paper: #202329;
    --white: #262a31;
    --line: #353a43;
    --amber-ink: #ffd84d;
    --accent-text: #ffcc00;
    --on-dark: #e9eef8;
    --on-dark-muted: #9aa3ad;
    --header-bg: rgba(7, 9, 13, .86);
    --header-line: rgba(38, 43, 54, .7);
    --chip-bg: rgba(15, 18, 24, .94);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    --shot-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    --grid-line: rgba(160, 170, 185, .06);
    --btn-dark-hover: #ffffff;
    --footer-bg: #26292f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1b1e24;
  --night: #0b0e13;
  --night-2: #12161d;
  --night-3: #171b23;
  --line-dark: #262b36;
  --ink: #e9eef8;
  --ink-2: #b4bcc8;
  --muted: #98a1ad;
  --paper: #202329;
  --white: #262a31;
  --line: #353a43;
  --amber-ink: #ffd84d;
  --accent-text: #ffcc00;
  --on-dark: #e9eef8;
  --on-dark-muted: #9aa3ad;
  --header-bg: rgba(7, 9, 13, .86);
  --header-line: rgba(38, 43, 54, .7);
  --chip-bg: rgba(15, 18, 24, .94);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  --shot-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  --grid-line: rgba(160, 170, 185, .06);
  --btn-dark-hover: #ffffff;
  --footer-bg: #26292f;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  transition: background-color .2s ease, color .2s ease;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--font-mono); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.3em; border-radius: 10px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #1a1200; }
.btn-primary:hover { background: #ffd83d; }
.btn-ghost { border-color: var(--line-dark); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark-muted); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--btn-dark-hover); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--ink-2); }
.btn svg { width: 1em; height: 1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--header-line);
  color: var(--on-dark);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .02em; }
.brand-name span { color: var(--amber); }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-size: .93rem; color: var(--on-dark-muted); font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--on-dark); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .login { text-decoration: none; font-size: .93rem; color: var(--on-dark); font-weight: 500; padding: .5em .8em; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-dark);
  color: var(--on-dark); border-radius: 8px; width: 42px; height: 42px; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; margin: auto; }
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu.open {
    display: flex; flex-direction: column; gap: 4px;
    padding: 8px 16px 20px; border-top: 1px solid var(--line-dark);
  }
  .mobile-menu a { text-decoration: none; padding: 12px 4px; color: var(--on-dark); border-bottom: 1px solid rgba(38,43,54,.6); }
  .mobile-menu .btn { margin-top: 12px; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(75,143,224, .14), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(255,204,0, .10), transparent 60%),
    var(--night);
  color: var(--on-dark);
  padding: 88px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.hero h1 .accent { color: var(--accent-text); }
.hero .lead { font-size: 1.18rem; color: var(--on-dark-muted); max-width: 34em; margin: 18px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: .86rem; color: var(--on-dark-muted); }
.hero-note strong { color: var(--on-dark); font-weight: 600; }

@media (max-width: 960px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Hero visual — map + FPL strip */
.console {
  position: relative; border-radius: 18px; background: var(--night-2);
  border: 1px solid var(--line-dark); box-shadow: var(--shot-shadow);
  overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-bottom: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: .74rem; color: var(--on-dark-muted);
}
.console-bar .dots { display: flex; gap: 6px; }
.console-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-dark); display: block; }
.console-bar .status { margin-left: auto; color: var(--vfr); display: flex; align-items: center; gap: 6px; }
.console-bar .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(29,157,88,.18); }
.map { position: relative; aspect-ratio: 16 / 10; background: #0b0e14; }
.map svg { width: 100%; height: 100%; }
.route-line { stroke-dasharray: 6 6; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -240; } }
.plane-dot { offset-rotate: auto; animation: fly 9s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .route-line, .plane-dot { animation: none; }
}
.fpl-strip {
  font-family: var(--font-mono); font-size: .76rem; line-height: 1.7; color: #cfe7ee;
  padding: 14px 16px 16px; border-top: 1px solid var(--line-dark); background: #0a0d12;
  overflow-x: auto; white-space: pre;
}
.fpl-strip .k { color: var(--amber); }
.fpl-strip .ok { color: var(--vfr); }
.floating-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: var(--chip-bg); border: 1px solid var(--line-dark); border-radius: 10px;
  padding: 8px 12px; font-size: .78rem; color: var(--on-dark); box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.floating-chip b { font-family: var(--font-mono); font-weight: 600; }
.chip-tl { bottom: 34px; left: 14px; }
.chip-br { right: 14px; top: 46%; }
@media (max-width: 520px) { .floating-chip { display: none; } }

/* ---------- Trust strip ---------- */
.strip { background: var(--night-2); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); color: var(--on-dark-muted); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; padding: 22px 0; font-size: .88rem; }
.strip-item { display: flex; align-items: center; gap: 10px; }
.strip-item b { color: var(--on-dark); font-weight: 600; }
.strip-item svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--night); color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--ink-2); }
.dark .section-head p { color: var(--on-dark-muted); }
.kicker { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 14px; display: block; }
.dark .kicker { color: var(--accent-text); }
@media (max-width: 700px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.step-num { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); display: block; margin-bottom: 26px; }
.step h3 { font-size: 1.6rem; font-family: var(--font-display); font-weight: 700; }
.step p { color: var(--ink-2); margin: 0; }
.step ul { margin: 16px 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--ink-2); }
.step li { padding: 6px 0 6px 22px; position: relative; border-top: 1px dashed var(--line); }
.step li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border: 2px solid var(--amber); border-radius: 50%; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: #cdd4e1; box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--ink-2); margin: 0; font-size: .96rem; }
.icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 20px;
  background: #fff7d1; color: var(--amber-ink); border: 1px solid #f3df8a;
}
.icon svg { width: 22px; height: 22px; }
.dark .card { background: var(--night-2); border-color: var(--line-dark); }
.dark .card:hover { border-color: #3a4150; box-shadow: none; }
.dark .card p { color: var(--on-dark-muted); }
.dark .icon, :root[data-theme="dark"] .icon { background: rgba(255,204,0,.1); border-color: rgba(255,204,0,.25); color: var(--amber); }

/* Flight rules cards */
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .rules { grid-template-columns: 1fr; } }
.rule { padding: 30px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line-dark); }
.badge {
  display: inline-grid; place-items: center; min-width: 52px; height: 36px; padding: 0 10px;
  border-radius: 8px; font-family: var(--font-mono); font-weight: 700; color: #fff; font-size: .9rem; margin-bottom: 20px;
}
.badge.vfr { background: var(--vfr); }
.badge.ifr { background: var(--ifr); }
.badge.yz { background: linear-gradient(135deg, var(--vfr) 50%, var(--ifr) 50%); }
.rule h3 { font-size: 1.35rem; }
.rule ul { list-style: none; margin: 16px 0 0; padding: 0; color: var(--on-dark-muted); font-size: .95rem; }
.rule li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--line-dark); }
.rule li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(75,143,224, .15);
  box-shadow: inset 0 0 0 4px var(--night-2), inset 0 0 0 10px var(--cyan);
}

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse .split-media { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist svg { width: 20px; height: 20px; color: var(--vfr); flex: none; margin-top: 3px; }
.checklist b { color: var(--ink); font-weight: 600; }
.dark .checklist li { border-color: var(--line-dark); color: var(--on-dark-muted); }
.dark .checklist b { color: var(--on-dark); }

/* Document stack (briefing pack) */
.docs-panel {
  border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.docs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.docs-head b { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.pill { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #e7f6ee; color: #12693a; white-space: nowrap; }
.pill.amber { background: #fff4c2; color: var(--amber-ink); }
.pill.grey { background: #eef1f6; color: var(--ink-2); }
.doc-row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.doc-row:last-child { border-bottom: 0; }
.doc-row .fi { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: #f1f4f9; color: var(--ink-2); }
.doc-row .fi svg { width: 18px; height: 18px; }
.doc-row small { display: block; color: var(--muted); font-size: .8rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.g { background: var(--vfr); } .dot.a { background: var(--amber); } .dot.r { background: var(--ifr); }

/* Boarding pass */
.pass {
  display: grid; grid-template-columns: 1fr 120px; border-radius: 16px; overflow: hidden; background: var(--white);
  box-shadow: 0 20px 60px rgba(0,0,0,.35); color: var(--ink); max-width: 520px; margin-left: auto;
}
.pass-main { padding: 22px 24px; }
.pass-stub { background: var(--amber); padding: 22px 16px; border-left: 2px dashed rgba(0,0,0,.25); display: flex; flex-direction: column; justify-content: space-between; color: #1a1200; }
.pass-top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.pass-route { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; }
.pass-route b { font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: .02em; }
.pass-route small { display: block; font-size: .72rem; color: var(--muted); }
.pass-route .line { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--ink-2) 0 5px, transparent 5px 10px); position: relative; }
.pass-route .line svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 22px; height: 22px; background: var(--white); padding: 2px; color: var(--ink); }
.pass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; font-size: .74rem; color: var(--muted); }
.pass-grid b { display: block; font-family: var(--font-mono); font-size: .9rem; color: var(--ink); }
.pass-stub b { font-family: var(--font-mono); font-size: 1.4rem; }
.barcode { height: 46px; background: repeating-linear-gradient(90deg, #1a1200 0 2px, transparent 2px 4px, #1a1200 4px 5px, transparent 5px 8px, #1a1200 8px 11px, transparent 11px 12px); border-radius: 2px; }
@media (max-width: 520px) { .pass { grid-template-columns: 1fr; } .pass-stub { border-left: 0; border-top: 2px dashed rgba(0,0,0,.25); flex-direction: row; align-items: center; gap: 16px; } .barcode { flex: 1; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); position: relative; }
.plan.featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--shadow); }
.plan .tag { position: absolute; top: -24px; right: 24px; left: auto; background: var(--amber); color: #1a1200; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.015em; padding: 9px 22px; border-radius: 999px; box-shadow: 0 8px 20px rgba(255,204,0,.4); }
.plan h3 { font-size: 1.15rem; margin-bottom: 4px; }
.plan .desc { color: var(--muted); font-size: .92rem; min-height: 2.8em; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; }
.price b { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: -0.03em; }
.price span { color: var(--muted); font-size: .92rem; }
.per { font-size: .86rem; color: var(--ink-2); margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { display: flex; gap: 10px; padding: 8px 0; font-size: .93rem; color: var(--ink-2); border-top: 1px solid var(--line); }
.plan li svg { width: 18px; height: 18px; color: var(--vfr); flex: none; margin-top: 3px; }
.plan .btn { width: 100%; }

.credit-table { width: 100%; border-collapse: collapse; font-size: .96rem; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.credit-table th, .credit-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.credit-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; background: var(--paper); }
.credit-table tr:last-child td { border-bottom: 0; }
.credit-table td:last-child { font-family: var(--font-mono); font-weight: 600; white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-2); padding-right: 40px; margin-top: -6px; padding-bottom: 12px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 22px; padding: 64px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255,204,0,.22), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(75,143,224,.14), transparent 60%),
    var(--night);
  color: var(--on-dark);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-band p { color: var(--on-dark-muted); font-size: 1.08rem; margin: 0; }
.cta-band .hero-actions { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 40px 24px; } .cta-band .hero-actions { justify-content: flex-start; } }

/* Page hero (inner pages) */
.page-hero { background: var(--night); color: var(--on-dark); padding: 80px 0 72px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 16em; }
.page-hero p { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 40em; }

/* Feature index (features page) */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { text-decoration: none; font-size: .86rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark); }
.toc a:hover { border-color: var(--amber); color: var(--accent-text); }
.feature-block { scroll-margin-top: 90px; }
.spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; margin-top: 20px; }
.spec div { padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.spec b { display: block; color: var(--ink); font-size: .82rem; font-weight: 600; }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; } }

/* Mock app panel (light) */
.panel { border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.panel table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.panel th, .panel td { padding: 11px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.panel th { color: var(--muted); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; background: var(--paper); }
.panel tr:last-child td { border-bottom: 0; }
.tag-sm { font-family: var(--font-mono); font-size: .7rem; font-weight: 700; color: #fff; padding: 2px 6px; border-radius: 4px; margin-right: 6px; }
.tag-sm.vfr { background: var(--vfr); } .tag-sm.ifr { background: var(--ifr); }
.num { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; }
.ifps { font-family: var(--font-mono); font-size: .8rem; padding: 14px 18px; background: #0a0d12; color: #cfe7ee; line-height: 1.7; overflow-x: auto; white-space: pre; }
.ifps .ok { color: #39d37f; } .ifps .k { color: var(--amber); }

/* Contact */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: transparent; }
.contact-aside { padding: 32px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.contact-aside h3 { margin-top: 0; }
.contact-aside a { font-weight: 600; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-dark-muted); padding: 0 0 32px; font-size: .92rem; }
.footer-main { background: var(--footer-bg); padding: 72px 0 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark); margin-bottom: 16px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 5px 0; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--on-dark); }
.footer-tag { max-width: 22em; margin-top: 16px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Utilities */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--muted); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--amber); color: #000; padding: 8px 12px; border-radius: 6px; }
.brand-logo { height: 46px; width: auto; display: block; }
.site-footer .brand-logo { height: 56px; }
@media (max-width: 600px) { .brand-logo { height: 40px; } }

/* ---------- Product shots & video ---------- */
.shot {
  position: relative; border-radius: 18px; overflow: hidden; background: var(--night-2);
  border: 1px solid var(--line-dark); box-shadow: var(--shot-shadow);
}
.shot img { width: 100%; height: auto; display: block; }
.shot.light { border-color: var(--line); box-shadow: var(--shadow); background: var(--white); }
.shot-narrow { max-width: 480px; margin-left: auto; margin-right: auto; }
.hero-shot { position: relative; }
.hero-shot .floating-chip { z-index: 2; }
.hero-shot .shot img { max-height: 560px; object-fit: cover; object-position: top; }
.hero-shot .chip-tl { top: auto; bottom: -18px; left: auto; right: 28px; }
.hero-shot .chip-br { top: -18px; left: 28px; right: auto; }
@media (max-width: 960px) { .hero-shot .floating-chip { display: none; } }
.audience { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.audience span { font-size: .8rem; font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark-muted); }
.video-wrap { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-dark); background: #000; box-shadow: var(--shot-shadow); aspect-ratio: 16 / 9; }
.video-wrap video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.video-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; font-size: .88rem; color: var(--on-dark-muted); }
.video-meta b { color: var(--on-dark); font-weight: 600; }
.shot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.shot-row figure { margin: 0; }
.shot-row figcaption { margin-top: 12px; font-size: .9rem; color: var(--ink-2); }
.dark .shot-row figcaption { color: var(--on-dark-muted); }
.shot-row figcaption b { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.dark .shot-row figcaption b { color: var(--on-dark); }
@media (max-width: 860px) { .shot-row { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

/* ---------- From the team behind AviTracer ---------- */
.avt-logo { display: block; width: 150px; height: 40px; }
.avt-logo.lg { width: 210px; height: 56px; }
.team-behind { display: inline-flex; flex-direction: column; gap: 14px; text-decoration: none; }
.team-behind .eyebrow-sm { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.shot-row.two { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
@media (max-width: 860px) { .shot-row.two { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- Theme extras ---------- */
:root[data-theme="dark"] .pill { background: rgba(29,157,88,.16); color: #5fd393; }
:root[data-theme="dark"] .pill.amber { background: rgba(255,204,0,.14); color: var(--amber); }
:root[data-theme="dark"] .pill.grey { background: rgba(255,255,255,.08); color: var(--ink-2); }
:root[data-theme="dark"] .btn-dark { color: #0b0e13; }
.mobile-menu a { border-bottom-color: var(--line-dark) !important; }
/* Logos on surfaces that change with the theme: white in dark theme, black in light theme */
.on-light { display: none !important; }
:root[data-theme="light"] .on-dark { display: none !important; }
:root[data-theme="light"] .on-light { display: block !important; }
/* Theme toggle */
.theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); cursor: pointer;
}
.theme-toggle:hover { border-color: var(--on-dark-muted); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
.nav-mobile-actions { display: none; margin-left: auto; gap: 8px; align-items: center; }
@media (max-width: 900px) {
  .nav-mobile-actions { display: flex; }
  .nav-toggle { margin-left: 0; }
}
.pricing.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-left: auto; margin-right: auto; }
@media (max-width: 960px) { .pricing.two { grid-template-columns: 1fr; max-width: 520px; } }

/* ---------- Direct Print dialog (demo) ---------- */
.print-dialog { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shot-shadow); overflow: hidden; max-width: 540px; margin-left: auto; font-size: .92rem; }
.pd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.pd-head b { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; display: block; }
.pd-head small { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; }
.pd-head .tag-sm { margin: 0 4px 0 0; }
.pd-x { color: var(--muted); font-size: 1.4rem; line-height: 1; }
.pd-body { padding: 12px 16px; display: grid; gap: 8px; }
.pd-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.pd-row.muted-row { opacity: .7; }
.pd-ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--paper); color: var(--ink-2); }
.pd-ico svg { width: 17px; height: 17px; }
.pd-name { font-weight: 600; }
.pd-name small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.pd-act { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pd-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: default; white-space: nowrap; }
.pd-btn svg { width: 15px; height: 15px; }
.pd-btn.ghost { background: transparent; }
.pd-btn.primary { background: var(--amber); border-color: var(--amber); color: #1a1200; }
.pd-sent { display: inline-flex; align-items: center; gap: 5px; color: var(--vfr); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.pd-sent svg { width: 15px; height: 15px; }
.pd-na { color: var(--muted); font-style: italic; font-size: .8rem; }
.pd-foot { padding: 14px 20px 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pd-foot p { margin: 0; color: var(--muted); font-size: .82rem; max-width: 26em; }
@media (max-width: 520px) { .pd-row { grid-template-columns: 34px 1fr; } .pd-act { grid-column: 1 / -1; justify-content: flex-start; } }

/* ---------- Risk assessment form (demo document; stays paper-white in both themes) ---------- */
.ra-doc { margin: 0 0 0 auto; max-width: 560px; background: #fff; color: #1f2937; border: 1px solid #e2e6ee; border-radius: 12px; box-shadow: var(--shot-shadow); padding: 26px 24px 18px; font-family: "Inter", system-ui, sans-serif; }
.ra-title { font-family: "Inter", system-ui, sans-serif; font-weight: 700; font-size: 1.5rem; text-align: center; color: #555; margin: 0 0 18px; letter-spacing: -0.01em; }
.ra-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 0 0 18px; font-size: .82rem; }
.ra-meta div { display: flex; gap: 8px; }
.ra-meta dt { color: #111; }
.ra-meta dd { margin: 0; font-family: var(--font-mono); font-weight: 600; }
.ra-scroll { overflow-x: auto; }
.ra-table { width: 100%; border-collapse: collapse; font-size: .74rem; text-align: center; }
.ra-table th, .ra-table td { border: 1px solid #d5d9e0; padding: 6px 4px; }
.ra-table thead td { border: 0; }
.ra-table thead th { font-weight: 700; font-size: .78rem; }
.ra-table tbody th { font-weight: 400; text-align: center; padding: 6px 8px; background: #fff; min-width: 120px; }
.ra-lo { background: #e6f5df; } .ra-me { background: #fdf1d3; } .ra-hi { background: #fde6e6; }
.ra-s { font-weight: 700; width: 30px; }
.ra-s.lo { background: #b5e3a0; } .ra-s.me { background: #fcd679; } .ra-s.hi { background: #f7bcbc; }
.ra-pick { display: inline-grid; place-items: center; width: 20px; height: 20px; border: 2px solid #1f2937; border-radius: 50%; line-height: 1; }
.ra-scale { display: flex; justify-content: space-between; margin-top: 14px; padding: 6px 10px; font-size: .74rem; border: 1px solid #d5d9e0; background: linear-gradient(90deg, #b5e3a0, #fcd679 50%, #f7bcbc); }
.ra-sign { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; margin-top: 12px; }
.ra-score { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #eceef1; border: 1px solid #d5d9e0; padding: 6px 6px 6px 12px; }
.ra-score span { font-weight: 700; color: #6b7280; font-size: .82rem; }
.ra-score b { background: #fff; font-size: 1.6rem; padding: 2px 10px; min-width: 44px; text-align: center; }
.ra-box { text-align: center; }
.ra-sig { height: 56px; border: 1px solid #d5d9e0; display: grid; place-items: center; color: #111; }
.ra-box small { display: block; color: #9ca3af; font-size: .72rem; margin-top: 4px; }
.ra-doc figcaption { margin-top: 10px; font-size: .72rem; color: #9ca3af; text-align: right; }
@media (max-width: 520px) { .ra-doc { padding: 20px 14px 14px; } .ra-sign { grid-template-columns: 1fr 1fr; } .ra-score { grid-column: 1 / -1; } .ra-meta { grid-template-columns: 1fr; } }
.footer-team { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; margin-top: 0; padding: 36px 0 28px; }
.footer-team .team-behind { gap: 10px; }
.footer-about { margin: 0; max-width: 62em; font-size: .9rem; line-height: 1.65; color: var(--on-dark-muted); }
.footer-about a { color: var(--on-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }
.footer-about a:hover { color: var(--amber); }
.site-footer .footer-bottom { margin-top: 0; }
@media (max-width: 760px) { .footer-team { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Credits card (pricing) — brand black & yellow in both themes ---------- */
.credits-card {
  margin-top: 28px; max-width: 440px; padding: 28px; border-radius: 22px; color: #f5f6f8;
  background:
    radial-gradient(420px 260px at 100% 100%, rgba(255,204,0,.14), transparent 65%),
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 18px 18px,
    #0a0b0d;
  border: 1px solid #23262c; box-shadow: var(--shot-shadow);
}
.cc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-tile { display: flex; flex-direction: column; padding: 18px 18px 16px; border-radius: 14px; background: #16181c; border: 1px solid #262a31; }
.cc-tile b { font-family: var(--font-display); font-weight: 700; font-size: 4.2rem; line-height: .9; color: var(--amber); letter-spacing: -0.04em; margin-bottom: 14px; }
.cc-tile span { font-weight: 700; font-size: 1.05rem; }
.cc-tile small { color: #9aa3ad; font-size: .84rem; line-height: 1.35; margin-top: 2px; }
.cc-label { display: block; margin: 24px 0 10px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #8b929c; }
.cc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cc-chips li { padding: 6px 13px; border-radius: 999px; border: 1px solid #343941; font-weight: 600; font-size: .9rem; color: #e9ecf0; }
.cc-foot { margin: 26px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; letter-spacing: -0.02em; }
.cc-foot em { font-style: normal; color: var(--amber); }
@media (max-width: 420px) { .credits-card { padding: 20px; } .cc-tile b { font-size: 3.4rem; } .cc-foot { font-size: 1.45rem; } }

/* ---------- Feature buttons (Features page hero) ---------- */
.feature-buttons { margin-top: 36px; }
.fb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fb {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px 0 16px;
  border-radius: 10px; border: 1px solid #2e333c; border-bottom-width: 3px; border-bottom-color: #1f232a;
  background: linear-gradient(180deg, #23272e, #1a1d23); color: #f2f4f7;
  text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .08s ease, box-shadow .15s ease;
}
.fb-ico { flex: none; display: grid; place-items: center; color: var(--amber); transition: color .15s ease; }
.fb-ico svg { width: 18px; height: 18px; }
.fb-label { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.fb-chev { flex: none; opacity: .45; transition: opacity .15s ease, transform .15s ease; }
.fb:hover, .fb:focus-visible { background: var(--amber); color: #111; border-color: #e6b800; border-bottom-color: #b38f00; }
.fb:hover .fb-ico, .fb:focus-visible .fb-ico { color: #111; }
.fb:hover .fb-chev, .fb:focus-visible .fb-chev { opacity: 1; transform: translateX(2px); }
.fb:active { transform: translateY(2px); border-bottom-width: 1px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.fb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 900px) { .fb-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .fb-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .fb { height: 48px; padding: 0 10px 0 12px; gap: 8px; font-size: .86rem; white-space: normal; line-height: 1.15; } .fb-chev { display: none; } .fb-ico svg { width: 16px; height: 16px; } }

/* Let split-layout columns shrink below their content (wide tables scroll inside their card) */
.split > * { min-width: 0; }
.ra-doc { max-width: min(560px, 100%); }
@media (max-width: 420px) { .ra-table { font-size: .68rem; } .ra-table tbody th { min-width: 86px; padding: 5px 5px; } .ra-table th, .ra-table td { padding: 5px 3px; } .ra-s { width: 24px; } .ra-pick { width: 18px; height: 18px; } }

/* ---------- Flight board (homepage hero, demo data) — app UI, white in both themes ---------- */
.hero-grid > * { min-width: 0; }
.board-shot { background: #fff; }
.board { background: #fff; color: #111827; font-family: "Inter", system-ui, sans-serif; }
.bd-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 4px; }
.bd-head b { font-size: 1.65rem; font-weight: 600; letter-spacing: -0.02em; }
.bd-create { background: #1f2329; color: #fff; font-size: .8rem; font-weight: 500; padding: 8px 14px; border-radius: 8px; }
.bd-tabs { display: flex; gap: 20px; padding: 8px 20px 0; border-bottom: 1px solid #e5e7eb; font-size: .9rem; color: #4b5563; }
.bd-tabs span { padding-bottom: 8px; }
.bd-tabs .on { color: #111827; font-weight: 600; box-shadow: inset 0 -3px 0 #111827; }
.bd-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 168px; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid #eef0f3; }
.bd-row:last-child { border-bottom: 0; }
.bd-time small { display: block; color: #6b7280; font-size: .68rem; }
.bd-time b { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.bd-main { min-width: 0; font-size: .82rem; line-height: 1.5; }
.bd-ac b { font-weight: 700; } .bd-ac span { color: #6b7280; }
.bd-route { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-rule { font-size: .64rem; font-weight: 700; color: #fff; padding: 1px 7px; border-radius: 999px; flex: none; }
.bd-rule.vfr { background: #1d8a50; } .bd-rule.ifr { background: #d8393c; }
.bd-pob { color: #374151; }
.bd-more { display: inline-block; background: #6b7280; color: #fff; font-size: .64rem; font-weight: 700; padding: 0 6px; border-radius: 999px; }
.bt-status { display: grid; grid-template-columns: 58px auto; gap: 4px 6px; align-items: center; justify-content: start; }
.bt-k { font-size: .6rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #9ca3af; text-align: left; }
.bt-status .st { justify-self: start; }
.hero-board .chip-tl { top: auto; bottom: -18px; left: -22px; right: auto; }
.hero-board .chip-br { top: -18px; left: auto; right: 24px; }
@media (max-width: 960px) { .hero-board .floating-chip { display: none; } }
@media (max-width: 560px) {
  .bd-head, .bd-tabs { padding-left: 14px; padding-right: 14px; }
  .bd-head b { font-size: 1.3rem; }
  .bd-tabs { gap: 14px; font-size: .8rem; }
  .bd-row { grid-template-columns: 44px minmax(0, 1fr) 124px; gap: 8px; padding: 11px 12px; }
  .bd-time small { font-size: .6rem; }
  .bd-time b { font-size: .98rem; }
  .bd-main { font-size: .74rem; line-height: 1.4; }
  .bd-route { white-space: normal; flex-wrap: wrap; gap: 3px 5px; }
  .bd-rule { font-size: .58rem; padding: 0 6px; }
  .bt-status { grid-template-columns: 42px auto; gap: 3px 4px; }
  .bt-k { font-size: .5rem; letter-spacing: .03em; }
  .bt-status .st { font-size: .62rem; padding: 1px 6px; border-radius: 5px; }
}
/* Status badges in the app's original colours */
.st { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: .72rem; font-weight: 700; line-height: 1.4; white-space: nowrap; color: #fff; }
.st.ok   { background: #3d8b5a; }
.st.info { background: #2e6ef0; }
.st.warn { background: #f4c542; color: #212529; }
.st.ready{ background: #f4c542; color: #212529; }
.st.off  { background: #6c757d; }
.cc-tile.cc-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; }
.cc-tile.cc-wide b { margin-bottom: 0; font-size: 3rem; }
.cc-tile.cc-wide span { display: block; }
.cc-tile.cc-wide em { font-style: normal; color: var(--amber); font-weight: 600; }
.pricing .plan { padding-top: 44px; }
@media (max-width: 960px) { .pricing { row-gap: 40px; } }

/* ---------- Utilities (replace former inline style="" attributes so the CSP needs no 'unsafe-inline') ----------
   !important keeps the precedence the inline styles had over component rules. */
.split.align-start { align-items: start; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.m-0 { margin: 0 !important; }
.mt-10 { margin-top: 10px !important; }
.mt-18 { margin-top: 18px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-tight { margin-bottom: .3em !important; }
.my-32-12 { margin: 32px 0 12px !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mw-760 { max-width: 760px !important; }
.mw-820 { max-width: 820px !important; }
.fs-86 { font-size: .86rem !important; }
.fs-90 { font-size: .9rem !important; }
.fs-95 { font-size: .95rem !important; }
.fs-108 { font-size: 1.08rem !important; }
.fs-110 { font-size: 1.1rem !important; }
.fs-2 { font-size: 2rem !important; }
.font-display { font-family: var(--font-display) !important; }
.fw-600 { font-weight: 600 !important; }
.accent-text { color: var(--accent-text) !important; }
.amber-ink { color: var(--amber-ink) !important; }
.on-dark-muted { color: var(--on-dark-muted) !important; }

/* ---------- Contact form status ---------- */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin: 0; padding: 12px 14px; border-radius: 8px; font-size: .92rem; border: 1px solid var(--line); }
.form-status.show, .form-status:target { display: block; }
.form-status.ok { border-color: #3d8b5a; color: var(--ink); background: rgba(61, 139, 90, .1); }
.form-status.err { border-color: #c0392b; color: var(--ink); background: rgba(192, 57, 43, .1); }
.form button[disabled] { opacity: .6; cursor: progress; }
.turnstile { min-height: 65px; } /* reserve the widget height so the button does not jump when it renders */
