:root {
  color-scheme: dark;
  --background: #10070d;
  --panel: #1b0f18;
  --panel-strong: #281522;
  --text: #fff4ea;
  --muted: #a98c9d;
  --accent: #64d17a;
  --accent-strong: #ffd166;
  --pink: #e0528c;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: rgba(100, 209, 122, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 20%, rgba(100, 209, 122, 0.16), transparent 34rem),
    radial-gradient(circle at 16% 12%, rgba(224, 82, 140, 0.16), transparent 28rem),
    linear-gradient(145deg, #10070d 0%, #160913 48%, #0b0509 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 116px;
  height: 63px;
}

nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: center;
  min-height: 82vh;
  padding: 72px 0 48px;
}

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

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #1a0711;
  box-shadow: 0 18px 48px var(--shadow);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.hero-logo {
  width: 232px;
  height: 126px;
}

.hero-logo-watermark {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 78%;
  height: auto;
  opacity: 0.08;
  transform: translateX(-50%);
}

.phone-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
  padding: 40px 30px 34px;
  border: 1px solid var(--border);
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 10%, rgba(100, 209, 122, 0.22), transparent 14rem),
    radial-gradient(circle at 20% 70%, rgba(224, 82, 140, 0.22), transparent 15rem),
    linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: min(100%, 340px);
  margin: 28px auto 20px;
  position: relative;
  z-index: 1;
}

.tile-grid span {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
}

.tile-grid span:nth-child(2),
.tile-grid span:nth-child(11) {
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
}

.tile-grid span:nth-child(5),
.tile-grid span:nth-child(14) {
  background: linear-gradient(145deg, var(--pink), #c85daa);
}

.tile-grid span:nth-child(8),
.tile-grid span:nth-child(16) {
  background: linear-gradient(145deg, #fff4ea, #ffd166);
}

.phone-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 16px 0 72px;
}

.cards article {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
}

.cards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 90, 165, 0.18);
  color: var(--accent-strong);
  font-weight: 900;
}

.cards h2 {
  margin: 22px 0 10px;
  font-size: 1.35rem;
}

.cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.app-preview-section,
.science-section,
.split-section,
.feature-section,
.pricing-section,
.cta-panel,
.policy-grid,
.faq {
  margin: 0 0 72px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.045);
}

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

.app-screen {
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0, rgba(100, 209, 122, 0.16), transparent 16rem),
    var(--panel);
}

.screen-top,
.result-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 800;
}

.screen-top strong,
.result-time {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.mode-toggle-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 22px 0;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mode-toggle-preview span,
.mode-toggle-preview strong {
  padding: 12px;
  border-radius: 13px;
}

.mode-toggle-preview span {
  color: var(--muted);
}

.mode-toggle-preview strong {
  background: rgba(100, 209, 122, 0.28);
  color: var(--text);
}

.mini-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 auto 22px;
  max-width: 340px;
}

.mini-board span {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #3a1a32;
}

.mini-board span:nth-child(2),
.mini-board span:nth-child(13) {
  background: #ffd166;
}

.mini-board span:nth-child(4),
.mini-board span:nth-child(11) {
  background: #64d17a;
}

.mini-board span:nth-child(6),
.mini-board span:nth-child(15) {
  background: #e0528c;
}

.app-screen button {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(100, 209, 122, 0.6);
  border-radius: 18px;
  background: rgba(100, 209, 122, 0.1);
  color: var(--accent);
  font: inherit;
  font-weight: 900;
}

.result-screen h3 {
  margin: 0 0 16px;
  font-size: 2rem;
}

.result-time {
  display: block;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.06em;
}

.score-panel-preview {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.score-panel-preview span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.score-panel-preview strong {
  color: var(--accent);
  font-size: 2.4rem;
  line-height: 1;
}

.science-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(100, 209, 122, 0.12), transparent 22rem),
    radial-gradient(circle at 82% 24%, rgba(224, 82, 140, 0.16), transparent 22rem),
    rgba(255, 255, 255, 0.045);
}

.science-section::before {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 26px;
}

.science-hero,
.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 42px;
  align-items: center;
}

.science-hero {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.split-section h2,
.science-hero h2,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.science-hero > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.split-section p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.science-pillars,
.study-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.science-pillars {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.science-pillars article,
.study-card {
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(16, 7, 13, 0.6);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.science-pillars article {
  padding: 22px;
  border-radius: 24px;
}

.science-pillars span,
.study-card span {
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.science-pillars h3,
.study-card h3 {
  margin: 14px 0 10px;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.15;
}

.science-pillars p,
.study-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.study-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 24px;
  border-radius: 28px;
  text-decoration: none;
}

.study-card em {
  display: block;
  margin-top: auto;
  padding-top: 20px;
  color: var(--text);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.pricing-section {
  text-align: center;
}

.pricing-heading {
  margin-right: auto;
  margin-left: auto;
}

.feature-section {
  text-align: center;
}

.leaderboard-heading {
  margin-right: auto;
  margin-left: auto;
}

.leaderboard-phone {
  display: grid;
  gap: 12px;
  max-width: 430px;
  min-height: 650px;
  margin: 32px auto 0;
  padding: 28px 20px 20px;
  border: 1px solid var(--border);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 0, rgba(100, 209, 122, 0.14), transparent 16rem),
    var(--background);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  text-align: left;
}

.leaderboard-phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.leaderboard-phone-header strong {
  display: block;
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
}

.leaderboard-phone-header span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.leaderboard-preview {
  display: grid;
  gap: 8px;
}

.leaderboard-preview div {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
}

.leaderboard-preview strong {
  color: var(--accent-strong);
  font-size: 1.2rem;
}

.leaderboard-preview span {
  font-weight: 900;
}

.leaderboard-preview small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.leaderboard-preview em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.your-score-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(100, 209, 122, 0.34);
  border-radius: 18px;
  background: rgba(100, 209, 122, 0.1);
}

.your-score-card span {
  color: var(--text);
  font-weight: 900;
}

.your-score-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.your-score-card strong {
  color: var(--accent);
  font-size: 1.45rem;
}

.main-menu-preview {
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel-strong);
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-note {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.pricing-grid {
  max-width: 820px;
  margin: 32px auto 0;
}

.pricing-grid article,
.policy-grid article {
  padding: 34px 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.08), transparent 12rem),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.featured-price {
  border-color: rgba(100, 209, 122, 0.42) !important;
  background: rgba(100, 209, 122, 0.09) !important;
}

.price {
  color: var(--accent);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.pricing-grid h3,
.policy-grid h2 {
  margin: 18px 0 10px;
  font-size: 1.45rem;
}

.pricing-grid p,
.policy-grid p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-grid p {
  max-width: 290px;
  margin-right: auto;
  margin-left: auto;
}

.pricing-note {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.policy-grid {
  align-items: stretch;
}

.feature-cards {
  padding-top: 0;
}

.feature-cards span {
  width: auto;
  padding: 0 12px;
  border-radius: 999px;
}

.cta-panel {
  text-align: center;
}

.cta-panel h2 {
  max-width: 720px;
  margin: 0 auto 24px;
}

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

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

.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: 900;
}

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

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 32px;
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 48px;
  }

  .phone-card {
    min-height: 420px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .app-preview-grid,
  .science-hero,
  .science-pillars,
  .study-grid,
  .pricing-grid,
  .policy-grid,
  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page,
  footer,
  .site-header {
    width: min(100% - 28px, 1120px);
  }

  .split-section,
  .science-section,
  .feature-section,
  .app-preview-section,
  .pricing-section,
  .cta-panel,
  .policy-grid,
  .faq {
    padding: 24px;
    border-radius: 28px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .phone-card {
    padding: 24px;
    border-radius: 32px;
  }
}
