:root {
  --bg: #050506;
  --panel: #111216;
  --panel-strong: #1a1c22;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --gold: #f1bd3d;
  --gold-strong: #ffd769;
  --mint: #73e0bd;
  --red: #f25e5e;
  --text: #f8f8f6;
  --muted: #c0c5cf;
  --soft: #8e96a6;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Futura, "Futura PT", "Trebuchet MS", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(115, 224, 189, 0.09), transparent 28%),
    linear-gradient(240deg, rgba(242, 94, 94, 0.08), transparent 30%),
    linear-gradient(180deg, #090a0c 0%, var(--bg) 44%, #090a0b 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 18px;
}

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

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 215, 105, 0.48);
  border-radius: 8px;
  color: #0d0d0f;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  box-shadow: 0 10px 30px rgba(241, 189, 61, 0.18);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.topbar-links a:hover,
.topbar-links a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  min-height: 92vh;
  padding: 8px 0 34px;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  flex: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.split-copy h2,
.mode-panel h2,
.closing-card h2,
.legal-card h1,
.legal-card h2 {
  margin: 0;
  font-family: "Futura Condensed Extra Bold", "Futura-CondensedExtraBold", Impact, Futura, sans-serif;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(4.1rem, 8.2vw, 7.5rem);
}

.hero-body,
.split-copy p,
.mode-panel p,
.closing-card p,
.feature-card p,
.faq-grid p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.68;
}

.hero-body {
  margin: 22px 0 24px;
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-actions,
.closing-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: #101114;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  box-shadow: 0 16px 40px rgba(241, 189, 61, 0.18);
}

.button-app-store {
  min-width: 230px;
  color: #0f1115;
  background: linear-gradient(180deg, #ffffff, #e7ebf0);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

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

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

.hero-stats a {
  display: block;
  padding: 14px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.hero-stats a:hover,
.hero-stats a:focus-visible,
.feature-card:hover,
.feature-card:focus-visible,
.analysis-shot-link:hover,
.analysis-shot-link:focus-visible,
.mode-panel:hover,
.mode-panel:focus-visible,
.faq-card:hover,
.faq-card:focus-visible,
.angled-shot-link:hover,
.angled-shot-link:focus-visible,
.closing-shot-link:hover,
.closing-shot-link:focus-visible {
  border-color: rgba(255, 215, 105, 0.5);
  transform: translateY(-2px);
}

.stat-label {
  display: block;
  color: var(--mint);
  font-size: 1.32rem;
  font-weight: 900;
}

.stat-value {
  display: block;
  margin-top: 4px;
  color: var(--soft);
  font-size: 0.92rem;
}

.hero-preview {
  justify-self: center;
  width: min(100%, 420px);
}

.phone-frame {
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    #090a0d;
  box-shadow: var(--shadow);
}

.hero-video {
  width: 100%;
  aspect-ratio: 886 / 1920;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: #000;
}

.media-caption {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 0.9rem;
  text-align: center;
}

.section {
  padding: 60px 0 18px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-heading h2,
.split-copy h2,
.mode-panel h2,
.closing-card h2 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

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

.feature-card,
.mode-panel,
.faq-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(26, 28, 34, 0.92), rgba(13, 14, 17, 0.92));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.feature-card {
  display: block;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.feature-card h3,
.faq-grid h3 {
  margin: 0 0 10px;
  color: var(--gold-strong);
  font-size: 1.14rem;
}

.feature-card p,
.faq-grid p {
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 28px;
  align-items: center;
}

.split-copy p {
  max-width: 58ch;
}

.analysis-shot-link {
  display: block;
  max-width: 430px;
  justify-self: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.analysis-shot-link img,
.angled-shot,
.closing-shot {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  box-shadow: var(--shadow);
}

.angled-shot-link,
.closing-shot-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.modes-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 24px;
  align-items: center;
}

.mode-panel {
  display: block;
  padding: clamp(22px, 4vw, 38px);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.feature-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.feature-list li {
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--mint);
  content: "✓";
  font-weight: 900;
}

.angled-shot {
  transform: rotate(2deg);
}

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

.faq-card {
  color: inherit;
  text-decoration: none;
  padding: 20px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.closing-card {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(115, 224, 189, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(24, 25, 30, 0.96), rgba(8, 9, 11, 0.96));
  box-shadow: var(--shadow);
}

.closing-links {
  margin-top: 22px;
}

.inline-link {
  color: var(--gold-strong);
  font-weight: 800;
  text-decoration: none;
}

.legal-shell {
  width: min(840px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.legal-card {
  padding: 30px;
}

.legal-card h1 {
  margin-bottom: 10px;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.legal-card h2 {
  margin-top: 26px;
  color: var(--gold-strong);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-meta {
  margin: 0 0 22px;
  color: var(--soft);
  font-size: 0.95rem;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 1020px) {
  .feature-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-section,
  .modes-section,
  .closing-card {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-preview {
    width: min(100%, 360px);
  }

  .angled-shot {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .legal-shell {
    width: min(100% - 20px, 1200px);
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
  }

  .brand span:last-child {
    max-width: 112px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: 3.6rem;
  }

  .hero-stats,
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .angled-shot {
    transform: none;
  }
}
