:root {
  --bg: #04060d;
  --bg-2: #070b17;
  --panel: rgba(14, 20, 38, 0.72);
  --panel-solid: #0b1020;
  --line: rgba(255, 255, 255, 0.1);
  --text: #e9edf7;
  --dim: #a3acc2;
  --faint: #6c7590;
  --accent: #8cc8ff;
  --sun: #ffc857;
  --good: #7ee0b5;
  --radius: 18px;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--sun); color: #111; padding: 8px 12px; border-radius: 8px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  background: rgba(4, 6, 13, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--dim); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }
.nav .btn { color: #0b0f1a; }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .nav .btn { padding: 8px 14px; font-size: 14px; white-space: nowrap; }
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-weight: 650; font-size: 15px; text-decoration: none;
  background: var(--sun); color: #0b0f1a; border: 1px solid var(--sun);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.28); }
.btn.ghost:hover { border-color: var(--accent); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[data-soon] { position: relative; }
.btn[data-soon] { cursor: default; }
.btn[data-soon]:hover { transform: none; }
.btn[data-soon]::after {
  content: "Coming soon";
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap;
  color: #0b0f1a; background: rgba(11, 15, 26, 0.12); border-radius: 999px; padding: 2px 8px; margin-left: 2px;
}
.btn.ghost[data-soon]::after { color: var(--sun); background: rgba(255, 200, 87, 0.12); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 180px;
  background: linear-gradient(to bottom, rgba(4, 6, 13, 0), var(--bg));
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; }
.hero-copy { max-width: 560px; }
@media (min-width: 901px) {
  /* keep the text readable when a planet passes behind it */
  .hero-copy { position: relative; }
  .hero-copy::before {
    content: ""; position: absolute; inset: -80px -120px -80px -200px; z-index: -1;
    background: radial-gradient(closest-side, rgba(4, 6, 13, 0.85), rgba(4, 6, 13, 0));
  }
}
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.04; margin: 0 0 18px; letter-spacing: -0.02em; }
h1 span { color: var(--sun); }
.lead { font-size: clamp(17px, 2.1vw, 20px); color: var(--dim); margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--dim); font-size: 14px; }
.chips li::before { content: "✓ "; color: var(--good); font-weight: 700; }
@media (max-width: 900px) {
  .hero { align-items: flex-end; }
  .hero-copy { background: linear-gradient(to top, rgba(4, 6, 13, 0.9), rgba(4, 6, 13, 0.55) 70%, rgba(4, 6, 13, 0)); padding: 24px 0 0; }
  .hero .wrap { padding-top: 55svh; padding-bottom: 56px; }
}

/* -------------------------------------------------------------- sections */
section { padding: 88px 0; scroll-margin-top: 64px; }
.section-head { max-width: 720px; margin-bottom: 40px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.015em; }
h3 { font-size: 20px; margin: 0 0 6px; }
.muted { color: var(--dim); }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card .icon { font-size: 26px; line-height: 1; margin-bottom: 12px; display: block; }
.card p { margin: 0; color: var(--dim); font-size: 15.5px; }

/* phone gallery: horizontal scroll with snap */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 240px);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 16px 22px;
  margin: 0 -16px; scrollbar-width: thin;
}
.gallery figure { margin: 0; scroll-snap-align: start; }
.phone {
  border-radius: 30px; padding: 8px; background: #11151f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.55);
}
.phone img { border-radius: 23px; aspect-ratio: 390 / 844; width: 100%; object-fit: cover; }
figcaption { color: var(--dim); font-size: 14px; margin-top: 12px; text-align: center; }

/* flight */
.flight-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.shot { margin: 0; }
.shot img {
  border-radius: 14px; aspect-ratio: 844 / 390; width: 100%; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 48px rgba(0, 0, 0, 0.5);
}
.shot figcaption { text-align: left; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 34px 0 0; }
.spec { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--panel); }
.spec b { display: block; font-size: 26px; color: var(--sun); line-height: 1.1; }
.spec span { color: var(--dim); font-size: 14px; }
.hazards { columns: 2 280px; column-gap: 32px; color: var(--dim); padding-left: 20px; margin: 28px 0 0; }
.hazards li { margin-bottom: 6px; break-inside: avoid; }

/* platforms */
.platforms { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.platform { display: flex; flex-direction: column; gap: 14px; }
.platform .media { border-radius: 14px; overflow: hidden; background: #0a0f1d; border: 1px solid var(--line); }
.platform .media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.platform .media.tall img { object-position: top; }
.platform p { margin: 0; color: var(--dim); font-size: 15.5px; }
.platform .btn { align-self: flex-start; margin-top: auto; }

/* pricing */
.pricing { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card .price { font-size: 40px; color: var(--text); font-weight: 750; margin: 6px 0 4px; }
.card .price small { font-size: 15px; color: var(--dim); font-weight: 500; }
.card ul { margin: 14px 0 0; padding-left: 20px; color: var(--dim); font-size: 15.5px; }
.card.highlight { border-color: rgba(255, 200, 87, 0.45); box-shadow: 0 0 0 1px rgba(255, 200, 87, 0.15) inset; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--dim); margin: 10px 0 0; }

/* footer */
footer { padding: 48px 0 64px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
footer .wrap { display: grid; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { color: var(--dim); text-decoration: none; }
footer nav a:hover { color: var(--text); }
footer p { margin: 0; }
