:root {
  --bg: #0d1420;
  --bg-alt: #111b2a;
  --surface: #16223400;
  --card: #152033;
  --line: #24334a;
  --text: #e7e2d8;
  --muted: #9aa6b8;
  --sand: #d8c3a0;
  --orange: #e8823a;
  --orange-hi: #f19a55;
  --ok: #7fc8a0;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Rajdhani", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange-hi); }
code { font-size: .88em; background: #0b1220; border: 1px solid var(--line); padding: .05em .35em; border-radius: 5px; color: var(--sand); }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #111; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 20, 32, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 1.25rem/1 var(--display); letter-spacing: .12em; }
.brand b { color: var(--orange); font-weight: 700; }
.brand__mark { width: 26px; height: 26px; color: var(--sand); }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px); border-bottom: 1px solid var(--line); }
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.hero__sky svg { width: 100%; height: 100%; }
.hero__trail { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: trail 2.4s ease-out .3s forwards; }
@keyframes trail { to { stroke-dashoffset: 0; } }
.hero__content { position: relative; max-width: 760px; margin-left: max(16px, (100% - 1120px) / 2); }
.eyebrow { margin: 0 0 12px; color: var(--sand); font: 600 .82rem/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); font-weight: 700; }
h1 span { color: var(--orange); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.6rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--text); max-width: 62ch; margin: 22px 0 0; }
.lead--sub { color: var(--muted); margin-top: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 30px; padding: 12px 22px;
  background: var(--orange); color: #1a1208;
  border: 1px solid var(--orange); border-radius: 10px;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--orange-hi); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--ghost { background: transparent; color: var(--orange-hi); margin-top: auto; }
.btn--ghost:hover { background: rgba(232, 130, 58, .12); }

/* Sections */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.intro { color: var(--muted); max-width: 62ch; margin: 14px 0 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.card p { margin: 0; color: var(--muted); }
.card p strong { color: var(--text); }
.card--wip { background: linear-gradient(160deg, #1a2436, var(--card) 60%); border-color: #3a3326; }
.card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.card__kicker { color: var(--sand); font-size: .85rem; font-weight: 500; }
.card__meta { font-size: .85rem; }
.card__note { font-size: .9rem; border-left: 2px solid var(--orange); padding-left: 12px; margin-top: auto !important; }
.badge { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.badge--ok { color: var(--ok); background: rgba(127, 200, 160, .1); border: 1px solid rgba(127, 200, 160, .35); }
.badge--wip { color: var(--orange-hi); background: rgba(232, 130, 58, .1); border: 1px solid rgba(232, 130, 58, .4); }

.features { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.features li { position: relative; padding-left: 20px; font-size: .95rem; }
.features li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 2px; background: var(--orange); }

.aircraft { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.aircraft li { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, .15); }
.aircraft span { font: 600 1.05rem/1.2 var(--display); }
.aircraft small { color: var(--muted); font-size: .78rem; }
.aircraft__main { border-color: rgba(232, 130, 58, .5) !important; }
.aircraft__main small { color: var(--orange-hi); }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.prose p { margin: 0 0 16px; color: var(--muted); font-size: 1.05rem; }
.prose p:first-child { color: var(--text); }

/* Form */
.form { display: grid; gap: 16px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 500; color: var(--sand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px;
  background: #0b1220; color: var(--text);
  border: 1px solid var(--line); border-radius: 9px;
  font: inherit; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: #d9665b; }
.form .btn { margin-top: 4px; justify-self: start; }
.form__status { margin: 0; min-height: 1.5em; font-size: .95rem; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: #f08a80; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .nav { gap: 14px; }
  .nav a { font-size: .88rem; }
  .brand { font-size: 1.05rem; }
  .brand__mark { width: 22px; height: 22px; }
  .card, .form { padding: 20px; }
  .aircraft { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__trail { animation: none; stroke-dashoffset: 0; }
}
