:root {
  --bg: #080b10;
  --panel: #0f141c;
  --panel-2: #141b26;
  --line: #1f2a3a;
  --text: #e8eef6;
  --muted: #9aa8bb;
  --faint: #6b7a90;
  --accent: #18d4ff;
  --accent-dim: rgba(24, 212, 255, 0.14);
  --amber: #f5b94a;
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; margin-bottom: 1.25rem; max-width: 22ch; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
p { margin: 0 0 1rem; }
.accent { color: var(--accent); }
.kicker {
  font: 700 0.78rem/1 "Space Mono", ui-monospace, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.section-lede { color: var(--muted); max-width: 60ch; }
.fine { font-size: 0.85rem; color: var(--faint); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(8, 11, 16, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--text); font: 700 0.95rem "Space Mono", monospace; letter-spacing: 0.12em; }
.brand:hover { text-decoration: none; }
.site-header nav { display: flex; gap: 1.1rem; margin-left: auto; }
.site-header nav a { color: var(--muted); font-size: 0.92rem; }
.site-header nav a:hover { color: var(--text); text-decoration: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.35rem; border-radius: 999px;
  font: 700 0.92rem/1 Inter, sans-serif;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #04121a; }
.btn-primary:hover { background: #6fe4ff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-small { padding: 0.6rem 1rem; font-size: 0.85rem; background: var(--accent); color: #04121a; }
.btn-block { width: 100%; }

/* hero */
.hero {
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
  max-width: var(--max); margin: 0 auto;
}
.hero h1 { margin-bottom: 1.5rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 1.5rem; }
.trust-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; color: var(--muted); font-size: 0.92rem; }
.trust-row li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(24, 212, 255, 0.35); }
.hero-media img { width: 100%; height: auto; }
.hero-media:hover { text-decoration: none; border-color: var(--accent); }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #04121a; font-size: 1.6rem; padding-left: 4px; box-shadow: 0 0 0 10px rgba(24, 212, 255, 0.18); }
.hero-caption { position: absolute; left: 14px; bottom: 12px; font: 700 0.75rem "Space Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(8, 11, 16, 0.85); padding: 0.4rem 0.6rem; border-radius: 6px; color: var(--text); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* sections */
section[id] { scroll-margin-top: 72px; }
.section { padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem); max-width: var(--max); margin: 0 auto; }
.section-alt { position: relative; isolation: isolate; }
.section-alt::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: var(--panel); border-block: 1px solid var(--line);
  z-index: -1;
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step-num { font: 700 0.85rem "Space Mono", monospace; color: var(--accent); display: inline-block; margin-bottom: 1rem; }

/* video */
.video-frame { margin: 0 0 0.75rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-frame video { width: 100%; height: auto; }

/* problems / cards */
.problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } }
.card, .role { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.role { background: var(--panel-2); }
.card p, .role p { color: var(--muted); margin: 0; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.shot { margin: 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot img { width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.shot figcaption { padding: 1rem 1.1rem 1.2rem; color: var(--muted); font-size: 0.93rem; }
.shot figcaption strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 0.25rem; }

/* standards */
.standards { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.6rem; }
.standards li { padding: 0.9rem 1.1rem; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.standards strong { color: var(--text); }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-dim), 0 20px 60px -30px rgba(24, 212, 255, 0.35); }
.price-tag { font: 700 0.78rem "Space Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.price { font-size: 1.05rem; color: var(--muted); margin-bottom: 1.25rem; }
.price span { font-size: 2.6rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.price-card ul { padding-left: 1.1rem; color: var(--muted); margin: 0 0 1.5rem; flex: 1; }
.price-card li { margin-bottom: 0.4rem; }

/* form */
.pilot-form { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; max-width: 760px; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-wide { grid-column: 1 / -1; }
.pilot-form + .fine, #contact > .fine { margin-top: 1.25rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field label { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.8rem 0.9rem; font: 400 1rem Inter, sans-serif;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--amber); }
.form-actions { margin-top: 0.5rem; flex-direction: row; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-actions .btn { min-width: 180px; }

/* faq */
.faq { margin: 0; max-width: 820px; display: grid; gap: 0.6rem; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0.75rem 0 0.25rem; }

/* closing */
.cta-band { text-align: center; }
.cta-band h2 { margin-left: auto; margin-right: auto; }
.cta-band .cta-row { justify-content: center; }

/* footer */
.site-footer {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center;
  padding: 2.25rem clamp(1rem, 4vw, 2.5rem); border-top: 1px solid var(--line);
  max-width: var(--max); margin: 0 auto;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; grid-column: 1 / -1; }
.site-footer nav a { color: var(--muted); font-size: 0.9rem; }
.brand-line { font: 700 0.95rem "Space Mono", monospace; letter-spacing: 0.14em; margin-bottom: 0.25rem; }
.site-footer > p:last-child { color: var(--faint); font-size: 0.85rem; }

/* responsive */
@media (max-width: 760px) {
  .site-header nav { display: none; }
  .site-header { justify-content: space-between; }
  .pilot-form { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
