:root {
  --bg: #07101d;
  --panel: rgba(10, 16, 30, 0.9);
  --panel-2: rgba(17, 27, 47, 0.96);
  --panel-soft: rgba(8, 13, 24, 0.7);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #edf3ff;
  --muted: #9db0d0;
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 40px rgba(2, 7, 18, 0.26);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content: min(1220px, calc(100vw - 48px));
  --font: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 18% 14%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 0 22%),
    radial-gradient(circle at 84% 10%, rgba(176, 137, 255, 0.11), transparent 0 24%),
    linear-gradient(180deg, #0b1427 0%, #070d18 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0%, transparent 40%, color-mix(in srgb, var(--accent) 10%, transparent) 50%, transparent 58%, transparent 100%),
    radial-gradient(circle at center, rgba(255,255,255,0.025), transparent 60%);
  opacity: 0.62;
  z-index: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.deck-shell {
  position: relative;
  z-index: 1;
  padding-bottom: 84px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 10, 19, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(2, 7, 18, 0.16);
}

.topbar-inner {
  width: var(--content);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, white));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 18%, transparent);
  color: #07101d;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.brand-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.brand-copy span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.topnav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8, 13, 24, 0.6);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.slide {
  width: var(--content);
  margin: 0 auto;
  padding-top: 42px;
  scroll-margin-top: 96px;
}

.slide:not(.hero),
.cta-card {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  align-items: center;
}

.hero-panel,
.feature-card,
.showcase,
.cta-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 14%, transparent), transparent 34%);
  pointer-events: none;
}

.hero-copy,
.hero-showcase {
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  font-size: 12px;
  font-weight: 700;
  color: #d9e8ff;
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h1 span {
  display: block;
  color: #cfe4ff;
}

.lede {
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.72;
  color: #c7d8f6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, white));
  color: #07101d;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent) 22%, transparent);
}

.btn-secondary {
  background: rgba(8, 13, 24, 0.52);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-stat {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}

.hero-stat span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.showcase {
  padding: 18px;
  display: grid;
  gap: 18px;
}

.shot {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.shot-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 2px 0;
  font-size: 13px;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  color: #d7eaff;
  font-size: 12px;
  font-weight: 700;
}

.section-head {
  margin-bottom: 18px;
}

.section-head span {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  max-width: 70ch;
  color: #c7d8f6;
  font-size: 17px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 20px;
  border-radius: 24px;
}

.card-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.12;
}

.feature-card p {
  margin: 0;
  color: #c6d6f0;
  font-size: 15px;
}

.cta-card {
  width: var(--content);
  margin: 42px auto 0;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.cta-card h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.05;
}

.cta-card p {
  margin: 0;
  color: #c6d6f0;
  max-width: 58ch;
}

.footer-note {
  width: var(--content);
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-panel,
  .cta-card,
  .shot-grid,
  .card-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
  }

  .topbar-inner {
    width: min(100% - 24px, var(--content));
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .slide,
  .cta-card,
  .footer-note {
    width: min(100% - 24px, var(--content));
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    padding: 22px;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 4.2rem);
  }

  .section-head p,
  .lede,
  .feature-card p,
  .cta-card p {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .deck-shell {
    padding-bottom: 56px;
  }

  .topnav {
    width: 100%;
    justify-content: flex-start;
  }

  .topnav a {
    padding: 9px 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .feature-card,
  .cta-card,
  .showcase,
  .hero-panel {
    border-radius: 24px;
  }

  .shot-caption,
  .footer-note {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before {
    opacity: 0.4;
  }
}
