:root {
  --bg: #070809;
  --bg-elevated: #101214;
  --ink: #f4f5f2;
  --muted: rgba(244, 245, 242, 0.62);
  --faint: rgba(244, 245, 242, 0.38);
  --accent: #ccff00;
  --accent-ink: #0b0b0d;
  --line: rgba(255, 255, 255, 0.1);
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(204, 255, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(74, 144, 217, 0.08), transparent 50%),
    var(--bg);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  padding: 1.25rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

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

.top-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.top-links a {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.top-links a:hover {
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 0 4.5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(7, 8, 9, 0.62) 0%,
      rgba(7, 8, 9, 0.72) 40%,
      rgba(7, 8, 9, 0.9) 82%,
      #070809 100%
    ),
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.45) 0%,
      rgba(7, 8, 9, 0.28) 50%,
      rgba(7, 8, 9, 0.42) 100%
    );
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  animation: rise 0.9s var(--ease) both;
}

.app-store-link {
  display: inline-flex;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.app-store-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.app-store-badge {
  width: 168px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero-brand span {
  color: var(--accent);
}

.hero-line {
  margin: 0 0 0.75rem;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.hero-sub {
  margin: 0 0 1.75rem;
  color: rgba(244, 245, 242, 0.78);
  font-size: 1.05rem;
  max-width: 28rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 28px rgba(204, 255, 0, 0.28);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Feature strip */
.features {
  padding: 3.5rem 0 2.5rem;
}

.features-head {
  margin-bottom: 0.25rem;
}

.section-title {
  margin: 0 0 0.6rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 34rem;
}

.scrubber {
  --shot-gap: 1rem;
  --shot-w: min(280px, 72vw);
  position: relative;
  width: min(1120px, calc(100% - 1.5rem));
  margin-inline: auto;
}

.scrubber-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--shot-w);
  gap: var(--shot-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.25rem;
  padding: 0.35rem 0.25rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scrubber-track::-webkit-scrollbar {
  display: none;
}

.shot {
  margin: 0;
  scroll-snap-align: start;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 415 / 648;
  object-fit: cover;
  object-position: top center;
  background: #0a0c12;
}

.shot figcaption {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem 1.1rem;
}

.shot strong {
  font-family: "Syne", sans-serif;
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  text-transform: none;
}

.shot-accent {
  color: var(--accent);
}

.shot-sub {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.scrubber-nav {
  position: absolute;
  top: calc(var(--shot-w) * 0.72);
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.72);
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s var(--ease);
}

.scrubber-nav:hover {
  background: rgba(20, 22, 28, 0.9);
  transform: scale(1.04);
}

.scrubber-nav:disabled {
  opacity: 0.28;
  cursor: default;
  transform: none;
}

.scrubber-prev { left: -0.15rem; }
.scrubber-next { right: -0.15rem; }

.scrubber-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.scrubber-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.scrubber-dot[aria-current="true"] {
  background: var(--accent);
  width: 1.1rem;
}

@media (min-width: 900px) {
  .scrubber {
    --shot-w: 300px;
  }
}

/* Closing CTA */
.closing {
  padding: 4rem 0 5rem;
  text-align: center;
}

.closing .section-title {
  margin-inline: auto;
}

.closing .section-sub {
  margin-inline: auto;
}

.closing .cta-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.25rem;
  color: var(--faint);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Legal pages */
.legal-page {
  padding: 6.5rem 0 4rem;
}

.legal-page h1 {
  margin: 0 0 0.4rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.02em;
}

.legal-meta {
  margin: 0 0 2rem;
  color: var(--faint);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 42rem;
  color: var(--muted);
}

.legal-content h2 {
  margin: 2rem 0 0.65rem;
  color: var(--ink);
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.legal-content p,
.legal-content li {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
}

.legal-content ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content h3 {
  margin: 1.35rem 0 0.45rem;
  color: var(--ink);
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

/* Support */
.support-card {
  max-width: 42rem;
  margin: 0 0 2rem;
  padding: 1.35rem 1.4rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.support-card h2 {
  margin: 0 0 0.55rem;
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.support-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.support-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-cta {
  margin: 1rem 0 0 !important;
}

.support-cta .btn {
  text-decoration: none;
}

/* FAQ */
.faq-list {
  max-width: 42rem;
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.faq-item a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 100svh;
    padding: 6rem 0 3.25rem;
  }

  .hero-copy {
    max-width: none;
  }

  .app-store-badge {
    width: 148px;
  }

  .scrubber-nav {
    display: none;
  }

  .top-links .hide-sm {
    display: none;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}
