:root {
  --blue: #1f7dbf;
  --blue-soft: #e8f2fa;
  --teal: #1e8e87;
  --teal-soft: #e5f4f2;
  --amber: #f59e0b;
  --amber-soft: #fef3e0;
  --red: #e5484d;
  --red-soft: #fdecec;
  --green: #16a34a;
  --green-soft: #e8f6ec;
  --gold: #d4a017;

  --ink: #0f172a;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e5e9f0;
  --bg: #f6f8fb;
  --card: #ffffff;
  --seat-empty: #ffffff;
  --seat-unknown: #e2e8f0;
  --cabin: #eef2f7;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
button { font: inherit; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand img { height: 34px; width: auto; display: block; }
.nav nav { display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav-link:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 11px 20px; font-weight: 700; font-size: 15px;
  cursor: pointer; text-decoration: none;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(30, 142, 135, .28); }
.btn-primary:hover:not([disabled]) { background: #187a74; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(31, 125, 191, .25); }
.btn-blue:hover:not([disabled]) { background: #196aa3; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover:not([disabled]) { border-color: #cbd5e1; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 600; font-size: 14px; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Shared bits ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 16px 40px; }

/* ---------- What is live, simulated or vision ---------- */
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; vertical-align: middle; margin-bottom: 8px; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live { background: #e8f6ec; color: #15803d; }
.status.sim { background: #fef3e0; color: #b45309; }
.status.vision { background: #f3effa; color: #6d4fb3; border: 1px dashed #b8a6e0; }
.pills .planned { border-style: dashed; color: var(--muted); }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
