:root {
  --bg: #0b0e14;
  --bg-alt: #121624;
  --bg-card: #161a2a;
  --edge: #1e2233;
  --fg: #e6e9f0;
  --fg-muted: #a3a8b8;
  --fg-dim: #6b7180;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --vfr: #22c55e;
  --mvfr: #3b82f6;
  --ifr: #ef4444;
  --lifr: #d946ef;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--edge);
  padding: 0.85rem 1.5rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--fg);
}
.nav-brand .accent { color: var(--accent-hover); }
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
}
.nav-cta:hover { background: var(--accent-hover); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  padding: 5rem 0 3rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero h1 .accent { color: var(--accent-hover); }
.hero .lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}
.hero-cta {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.05s ease;
  border: 1px solid transparent;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--edge);
}
.btn-secondary:hover { background: var(--bg-card); border-color: var(--fg-dim); }

.section {
  padding: 4rem 0;
  border-top: 1px solid var(--edge);
}
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-align: center;
}
.section .section-lede {
  text-align: center;
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 1.5rem;
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}
.card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--edge);
  display: block;
  margin: 0 auto;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
}
.screenshot-wide { max-width: 1000px; }

.flight-cat {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  margin: 0 0.15rem;
}
.fc-vfr { background: var(--vfr); }
.fc-mvfr { background: var(--mvfr); }
.fc-ifr { background: var(--ifr); }
.fc-lifr { background: var(--lifr); }

ul.checklist {
  list-style: none;
  margin: 1rem 0;
}
ul.checklist li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.6rem;
  color: var(--fg-muted);
}
ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--vfr);
  font-weight: 700;
}

.steps {
  counter-reset: step;
  margin: 2rem 0;
}
.step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.step p { color: var(--fg-muted); font-size: 0.95rem; }

.footer {
  border-top: 1px solid var(--edge);
  padding: 2.5rem 0;
  color: var(--fg-dim);
  font-size: 0.88rem;
  text-align: center;
}
.footer a { color: var(--fg-muted); text-decoration: none; margin: 0 0.6rem; }
.footer a:hover { color: var(--fg); }

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 3rem 0 2rem; }
  .section { padding: 3rem 0; }
}
