:root {
  --bg: #081113;
  --bg-alt: #0d1d20;
  --panel: rgba(10, 25, 28, 0.84);
  --panel-strong: rgba(16, 33, 37, 0.96);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #f5f8f4;
  --muted: #b8c7c1;
  --accent: #d6ff5a;
  --accent-soft: #95f2db;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 16%, rgba(149, 242, 219, 0.12), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(214, 255, 90, 0.12), transparent 22%),
    linear-gradient(160deg, #081113 0%, #0b1719 48%, #121617 100%);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 58%, transparent 100%);
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.compact-shell {
  width: min(1080px, calc(100% - 28px));
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 26px;
  padding: 14px 18px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(5, 13, 15, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.topnav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topnav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.topnav a:hover {
  color: var(--text);
}

section,
.footer {
  margin-top: 28px;
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 26px;
  align-items: stretch;
}

.compact-hero {
  grid-template-columns: 1fr 0.88fr;
}

.hero-copy,
.hero-panel,
.summary-card,
.capability-card,
.workflow-step,
.demo-card,
.screen-card,
.proof-card,
.package-card,
.buyer-fit-card,
.faq-item,
.strip-card,
.footer {
  border: 1px solid var(--stroke);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel {
  border-radius: var(--radius-lg);
}

.hero-copy {
  padding: 38px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
}

h1 {
  max-width: 18ch;
  font-size: clamp(1.80rem, 3.5vw, 3.5rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

h3 {
  font-size: 1.18rem;
}

.lede,
.section-copy,
.summary-card p,
.capability-card p,
.workflow-step p,
.proof-card p,
.package-card li,
.buyer-fit-card p,
.faq-item p,
.strip-card p,
.demo-notes p,
.screen-copy p,
.disclaimer,
.footer p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}

.lede {
  max-width: 60ch;
  margin: 22px 0 0;
}

.section-copy {
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #0a1112;
  background: linear-gradient(135deg, var(--accent) 0%, #f0ffad 100%);
}

.button.secondary,
.button.tertiary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
}

.hero-badges,
.panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span,
.panel-footer span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.86rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

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

.stat-value {
  display: block;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-panel {
  position: relative;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(16, 37, 41, 0.97), rgba(8, 17, 19, 0.95)),
    var(--panel-strong);
}

.hero-panel::after {
  position: absolute;
  inset: auto -8% -25% 42%;
  height: 220px;
  content: "";
  background: radial-gradient(circle, rgba(214, 255, 90, 0.2), transparent 66%);
}

.panel-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 8px 12px;
  border: 1px solid rgba(214, 255, 90, 0.36);
  border-radius: 999px;
  background: rgba(7, 17, 19, 0.74);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-shot {
  display: block;
  width: 100%;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.summary,
.capability-grid,
.workflow-grid,
.proof-grid,
.package-grid,
.buyer-fit-grid,
.faq-list,
.strip {
  display: grid;
  gap: 18px;
}

.summary {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.summary-card,
.capability-card,
.workflow-step,
.proof-card,
.package-card,
.buyer-fit-card,
.faq-item,
.strip-card {
  padding: 24px;
  border-radius: var(--radius-md);
}

.summary-card.accent {
  background:
    linear-gradient(140deg, rgba(214, 255, 90, 0.12), rgba(149, 242, 219, 0.08)),
    var(--panel);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-step {
  position: relative;
  overflow: hidden;
}

.workflow-step::after {
  position: absolute;
  inset: auto -18% -30% auto;
  width: 120px;
  height: 120px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(149, 242, 219, 0.12), transparent 70%);
}

.step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(214, 255, 90, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.demo-card {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.demo-player {
  display: block;
  width: 100%;
  border-radius: 18px;
  background: #020505;
}

.demo-notes {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-top: 18px;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 18px;
  margin-top: 12px;
}

.checklist li::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.screen-card,
.shot-card {
  display: block;
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.screen-card:focus-visible,
.shot-card:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.screen-card img,
.shot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}

.screen-copy {
  padding: 14px 8px 4px;
}

.screen-copy h3 {
  margin-bottom: 8px;
}

.proof-grid,
.package-grid,
.buyer-fit-grid,
.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.strip {
  grid-template-columns: 1.2fr 0.8fr;
}

.compact-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.shot-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.disclaimer {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
}

.lightbox {
  width: min(1100px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(4, 10, 11, 0.98);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.lightbox-image {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.lightbox-close {
  display: block;
  margin-left: auto;
  margin-bottom: 8px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .compact-hero,
  .summary,
  .capability-grid,
  .workflow-grid,
  .screen-grid,
  .proof-grid,
  .package-grid,
  .buyer-fit-grid,
  .faq-list,
  .strip,
  .demo-notes {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .compact-hero,
  .summary,
  .strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 18px, 100%);
  }

  .topbar,
  .hero-actions,
  .hero-badges,
  .panel-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .topnav {
    justify-content: center;
  }

  .hero-copy,
  .summary-card,
  .capability-card,
  .workflow-step,
  .proof-card,
  .package-card,
  .buyer-fit-card,
  .faq-item,
  .strip-card,
  .demo-card,
  .footer {
    padding: 20px;
  }

  .topbar,
  .footer {
    border-radius: 24px;
  }

  .stat-grid,
  .capability-grid,
  .workflow-grid,
  .screen-grid,
  .proof-grid,
  .package-grid,
  .buyer-fit-grid,
  .faq-list,
  .gallery-grid,
  .compact-gallery,
  .demo-notes {
    grid-template-columns: 1fr;
  }

  h1,
  h2 {
    max-width: none;
  }
}
