:root {
  --bg: #000000;
  --bg-elev: #0c0c0d;
  --bg-elev-2: #141416;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --muted-strong: rgba(255, 255, 255, 0.78);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent-start: #34c759;
  --accent-end: #5ac8b0;
  --accent-orange: #ff9500;
  --max-w: 1120px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Rounded", "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-system);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 0.15s ease;
}

a:hover {
  border-bottom-color: var(--accent-start);
}

a.plain,
a.plain:hover {
  border-bottom: none;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------- Header / nav -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.nav-links a {
  color: var(--muted-strong);
  border: none;
}

.nav-links a:hover {
  color: var(--fg);
}

/* -------- Hero -------- */
.hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 10% auto 10%;
  height: 520px;
  background: radial-gradient(
    ellipse at center,
    rgba(52, 199, 89, 0.22) 0%,
    rgba(90, 200, 176, 0.1) 40%,
    transparent 70%
  );
  filter: blur(30px);
  z-index: -1;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero .gradient-text {
  background: linear-gradient(
    135deg,
    var(--accent-start) 0%,
    var(--accent-end) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted-strong);
  line-height: 1.45;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 17px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-start) 0%,
    var(--accent-end) 100%
  );
  color: #031a0b;
  box-shadow: 0 10px 32px -8px rgba(52, 199, 89, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px -8px rgba(52, 199, 89, 0.7);
  border: 1px solid transparent;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-elev);
  border-color: var(--fg);
}

.hero .platforms {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

/* -------- Section baseline -------- */
section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-start);
  margin-bottom: 10px;
  font-weight: 600;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.5vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-head p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted-strong);
  font-size: 17px;
}

/* -------- How it works -------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-start) 0%,
    var(--accent-end) 100%
  );
  color: #031a0b;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 15px;
}

/* -------- Features grid -------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.feature .icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
  display: inline-block;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.5;
}

/* -------- Screenshots -------- */
.screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 32px;
  align-items: end;
  justify-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.screenshots figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.screenshots img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  border-radius: 36px;
  border: 1px solid var(--border);
  box-shadow:
    0 40px 80px -30px rgba(52, 199, 89, 0.18),
    0 20px 50px -20px rgba(0, 0, 0, 0.6);
  background: var(--bg);
}

.screenshots .shot-watch img {
  border-radius: 22px;
  max-width: 260px;
  max-height: 320px;
  box-shadow:
    0 30px 60px -24px rgba(90, 200, 176, 0.22),
    0 14px 36px -14px rgba(0, 0, 0, 0.5);
}

.screenshots figcaption {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

/* -------- FAQ -------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent-start);
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

/* -------- CTA banner -------- */
.cta-banner {
  text-align: center;
  padding: 80px 0;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.cta-banner p {
  margin: 0 auto 28px;
  max-width: 520px;
  color: var(--muted-strong);
}

/* -------- Footer -------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 56px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
}

.site-footer .foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted-strong);
  border: none;
}

.site-footer a:hover {
  color: var(--fg);
}

.disclaimer {
  max-width: 480px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
}

/* -------- Legal / long-form page -------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal .effective {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.legal h3 {
  margin: 28px 0 8px;
  font-size: 17px;
  letter-spacing: -0.005em;
}

.legal p,
.legal li {
  color: var(--muted-strong);
  line-height: 1.65;
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  margin-bottom: 8px;
}

.legal strong {
  color: var(--fg);
}

.legal .callout {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
}

.legal .callout p {
  margin: 0;
  color: var(--fg);
}

.legal code {
  background: var(--bg-elev-2);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.92em;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-strong);
  border: none;
  font-size: 14px;
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--fg);
}

/* -------- Responsive -------- */
@media (max-width: 860px) {
  .steps,
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshots {
    grid-template-columns: 1fr 1fr;
    max-width: 560px;
  }

  .screenshots .shot-watch {
    grid-column: 1 / -1;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 64px 0 48px;
  }

  section {
    padding: 56px 0;
  }

  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  .screenshots {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .nav-links {
    display: none;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    padding: 14px 22px;
    font-size: 16px;
  }
}

/* -------- Reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
