:root {
  color-scheme: dark;
  --bg: #000103;
  --panel: #050a14;
  --panel-soft: #070d1a;
  --text: #eef6ff;
  --muted: #7e8fb0;
  --accent: #47a8ff;
  --accent-soft: rgba(71, 168, 255, 0.10);
  --border: rgba(71, 168, 255, 0.10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0a1c38 0%, var(--bg) 38%, #000000 100%);
  color: var(--text);
  line-height: 1.6;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(6, 17, 31, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 64px;
  width: auto;
}

.brand-logo-sm {
  height: 48px;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-content: center;
  padding: 80px 0 56px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.hero-media img,
.proto-item img {
  cursor: zoom-in;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.86);
  cursor: zoom-out;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img,
.lightbox video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  cursor: default;
}

#lightbox-video {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 16, 28, 0.8);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.hero-glow {
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(71, 168, 255, 0.10), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.64rem, 8.8vw, 5.94rem);
  line-height: 0.95;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin-bottom: 32px;
}

/* Hero copy sits next to the product image, so scale it down ~15%
   from the base h1/.lead sizes to balance against the image. */
.hero h1 {
  font-size: clamp(2.24rem, 7.5vw, 5.05rem);
}

.hero .lead {
  font-size: clamp(1.02rem, 1.7vw, 1.32rem);
}

.section-lead {
  max-width: 640px;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero-actions {
  display: grid;
  gap: 12px;
  justify-content: start;
}

.hero-note, .muted-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #03101e;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 22px;
  cursor: pointer;
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 18px;
  font-size: 0.95rem;
}

.button-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card, .placeholder, .callout {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--panel), rgba(13, 28, 48, 0.72));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.card {
  padding: 24px;
}

.card p, .section p, .audience-list {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: linear-gradient(135deg, var(--accent-soft), rgba(255, 255, 255, 0.04));
}

.proto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.proto-grid .placeholder {
  min-height: 200px;
  text-align: center;
}

.proto-item {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel-soft);
}

.proto-item img,
.proto-item video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #020812;
}

.proto-video {
  position: relative;
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.play-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #eef6ff;
}

.proto-item figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.85rem;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
}

.audience-list li {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel-soft);
  padding: 16px 18px;
}

.callout {
  margin: 72px 0;
  padding: 40px;
}

form {
  display: flex;
  gap: 12px;
  max-width: 560px;
}

.waitlist-form {
  flex-wrap: wrap;
}

.cf-turnstile {
  flex: 1 0 100%;
}

input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 14px 18px;
  font: inherit;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .cards, .split, .audience-list, .proto-grid, .hero-grid {
    grid-template-columns: 1fr;
  }

  form {
    flex-direction: column;
  }

  .hero {
    min-height: 64vh;
  }
}
