/* MyFlightVue docs: public pages (Access bypass on /docs and /fonts), same dark look as the app. */
@font-face { font-family: "B612"; src: url("/fonts/B612-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "B612"; src: url("/fonts/B612-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url("/fonts/B612Mono-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #080c14; --panel: #111824; --edge: #222e40; --ink: #e8eef5; --muted: #8fa0b4;
  --accent: #ffb020; --good: #34d282; --vfr: #34d282; --mvfr: #4c8dff; --ifr: #ff4d4d; --lifr: #e055e0;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "B612", system-ui, sans-serif;
  padding: 0 16px max(32px, env(safe-area-inset-bottom)); }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
code, kbd { font-family: "B612 Mono", ui-monospace, monospace; font-size: .92em; }
kbd { border: 1px solid var(--edge); border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; background: var(--panel); }

.top { position: sticky; top: 0; z-index: 5; background: rgba(8, 12, 20, .94); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--edge); margin: 0 -16px; padding: max(12px, env(safe-area-inset-top)) 16px 12px; }
.top .wrap { display: flex; align-items: center; gap: 18px; }
.brand { font: 700 16px "B612 Mono", monospace; letter-spacing: .05em; color: var(--accent); text-decoration: none;
  display: flex; align-items: center; gap: 8px; }
.brand svg { width: 22px; height: 22px; }
.top nav { display: flex; gap: 16px; margin-left: auto; align-items: center; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; }
.top nav a[aria-current] { color: var(--ink); }
.top nav a.cta { color: #111; background: var(--accent); padding: 6px 14px; border-radius: 999px; }

.wrap { max-width: 980px; margin: 0 auto; }
main.wrap { padding-top: 8px; }
section { padding: 28px 0; border-bottom: 1px solid var(--edge); }
section:last-of-type { border-bottom: 0; }
h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
h3 { font-size: 20px; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.lede { font-size: 18px; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }

.hero { display: grid; gap: 24px; padding-top: 32px; }
.hero figure { margin: 0; }
.shot { border: 1px solid var(--edge); border-radius: 10px; overflow: hidden; background: #000; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--edge); color: var(--ink); background: var(--panel); }
.btn.primary { background: var(--accent); color: #111; border-color: var(--accent); }

.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--edge); }
.toc a { font-size: 13px; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--edge);
  border-radius: 999px; padding: 4px 12px; }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
ol.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--edge); border-radius: 12px;
  padding: 14px 16px 14px 58px; position: relative; }
ol.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #111; font: 700 15px/28px "B612 Mono", monospace; text-align: center; }
ol.steps li > b:first-child { display: block; }

.grid { display: grid; gap: 18px; margin-top: 16px; }
.card { background: var(--panel); border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; }
.card .txt { padding: 14px 16px 16px; }
.card .txt p { margin: 0; color: var(--muted); font-size: 15px; }
.card .shot { border: 0; border-radius: 0; border-bottom: 1px solid var(--edge); }

.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.cat { font: 700 13px "B612 Mono", monospace; padding: 3px 10px; border-radius: 6px; color: #0b0f17; }
.cat.vfr { background: var(--vfr); } .cat.mvfr { background: var(--mvfr); } .cat.ifr { background: var(--ifr); } .cat.lifr { background: var(--lifr); }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--edge); vertical-align: top; }
th { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.table { overflow-x: auto; }

.split { display: grid; gap: 20px; align-items: start; }
.phone { max-width: 260px; margin: 0 auto; border-radius: 22px; }

/* FAQ */
.faq-group { margin-top: 14px; display: grid; gap: 8px; }
details.q { background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; }
details.q summary { cursor: pointer; padding: 12px 44px 12px 16px; font-weight: 700; list-style: none; position: relative; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; position: absolute; right: 16px; top: 9px; font: 700 20px "B612 Mono", monospace; color: var(--accent); }
details.q[open] summary::after { content: "–"; }
details.q .a { padding: 0 16px 14px; color: var(--muted); }
details.q .a p:last-child { margin: 0; }
details.q .a b, details.q .a strong { color: var(--ink); }
summary:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

footer.foot { padding: 28px 0 8px; color: var(--muted); font-size: 13px; text-align: center; }

@media (min-width: 720px) {
  .hero { grid-template-columns: 1fr 1.25fr; align-items: center; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.4fr 1fr; }
}
@media (max-width: 520px) {
  .top nav { gap: 12px; }
  .top nav .hide-sm { display: none; }
}

/* spacing helpers (no inline styles: the CSP blocks them) */
.gap-top { margin-top: 12px; }
.gap-top-lg { margin-top: 22px; }
