:root {
  --background: #f7f7fb;
  --surface: #ffffff;
  --surface-soft: #f1f1f6;
  --text: #18191d;
  --muted: #62646d;
  --line: rgba(50, 51, 58, 0.14);
  --accent: #34353c;
  --accent-soft: #e5e5eb;
  --shadow: 0 24px 70px rgba(48, 49, 58, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 2%, rgba(153, 155, 170, 0.18), transparent 32rem),
    radial-gradient(circle at 5% 34%, rgba(211, 212, 221, 0.58), transparent 30rem),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header,
.hero,
.intro,
.game-groups,
.screens-heading,
.screens,
.progress,
.privacy-callout,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand img,
.footer-brand img {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 9px 24px rgba(48, 49, 58, 0.14);
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a:hover,
nav a:focus-visible,
footer a:hover,
footer a:focus-visible { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.56fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  min-height: 760px;
  padding: 48px 0 112px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #4c4e57;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 820px;
  margin-bottom: 27px;
  font-size: clamp(3.45rem, 7.5vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: -0.072em;
}

h2 {
  margin-bottom: 21px;
  font-size: clamp(2.4rem, 5.2vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.36rem;
  letter-spacing: -0.028em;
}

.lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.31rem);
  line-height: 1.66;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 770;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button-primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 16px 42px rgba(52, 53, 60, 0.2);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button-primary:hover,
.button-primary:focus-visible { background: #202126; }

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.91rem;
  list-style: none;
}

.highlights li::before {
  margin-right: 7px;
  color: var(--accent);
  content: "✓";
}

.phone-preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.phone-preview img { width: 100%; height: auto; }

.hero-preview {
  width: min(310px, 100%);
  justify-self: center;
}

.intro {
  max-width: 920px;
  padding: 90px 0 54px;
  text-align: center;
}

.intro p:last-child,
.screens-heading p:last-child {
  max-width: 730px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.72;
}

.game-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 118px;
}

.game-groups article {
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px rgba(48, 49, 58, 0.07);
}

.game-groups article p {
  color: var(--muted);
  line-height: 1.66;
}

.game-groups ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.game-groups li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: #4c4e57;
  font-size: 0.82rem;
  font-weight: 720;
}

.group-number {
  display: block;
  margin-bottom: 62px;
  color: #60626c;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.screens-heading {
  max-width: 900px;
  padding: 34px 0 54px;
  text-align: center;
}

.screens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 240px));
  justify-content: center;
  gap: clamp(20px, 3vw, 34px);
  padding-bottom: 130px;
}

.screens figure { width: 100%; }

.screens figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 12px 19px;
  text-align: center;
}

.screens figcaption strong { font-size: 0.96rem; }
.screens figcaption span { color: var(--muted); font-size: 0.84rem; line-height: 1.45; }

.progress {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
  gap: clamp(48px, 9vw, 122px);
  padding: clamp(48px, 8vw, 88px);
  border: 1px solid var(--line);
  border-radius: 40px;
  background:
    radial-gradient(circle at 92% 5%, rgba(207, 208, 218, 0.6), transparent 24rem),
    var(--surface);
  box-shadow: 0 18px 54px rgba(48, 49, 58, 0.08);
}

.progress-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.progress-list { margin: 0; }

.progress-list > div {
  padding: 21px 0;
  border-top: 1px solid var(--line);
}

.progress-list > div:last-child { border-bottom: 1px solid var(--line); }
.progress-list dt { font-weight: 800; }
.progress-list dd { margin: 4px 0 0; color: var(--muted); }

.privacy-callout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(42px, 9vw, 116px);
  margin-top: 124px;
  padding: clamp(38px, 6vw, 66px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background: #23242a;
  color: #ffffff;
}

.privacy-callout .eyebrow { color: #c9cad2; }

.privacy-copy {
  padding-top: 5px;
  color: #d5d6dc;
  font-size: 1.04rem;
  line-height: 1.72;
}

.privacy-copy p:last-child { margin-bottom: 0; }
.privacy-copy a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 46px 0 54px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer p { margin: 0; }

.policy {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 128px;
}

.policy-hero {
  max-width: 780px;
  padding-bottom: 64px;
}

.policy-hero h1 { font-size: clamp(3.2rem, 9vw, 6.3rem); }

.policy-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 62px;
}

.policy-summary div {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
}

.policy-summary span { color: var(--muted); font-size: 0.92rem; }

.policy-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  letter-spacing: -0.035em;
}

.policy-section p {
  max-width: 770px;
  color: #4f515a;
  font-size: 1.03rem;
  line-height: 1.75;
}

.policy-section p:last-child { margin-bottom: 0; }
.policy-section a { text-decoration: underline; text-underline-offset: 3px; }
.policy-section .muted { color: var(--muted); font-size: 0.91rem; }

@media (max-width: 980px) {
  .screens { grid-template-columns: repeat(2, minmax(0, 260px)); }
  footer { grid-template-columns: 1fr auto; }
  footer p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  nav { flex-direction: column; gap: 7px; text-align: right; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 34px 0 88px; }
  .hero-copy { order: 2; }
  .hero-preview { order: 1; width: min(230px, 64vw); justify-self: start; }
  h1 { font-size: clamp(3.3rem, 16vw, 5.4rem); }
  .game-groups { grid-template-columns: 1fr; }
  .game-groups article { min-height: 0; }
  .group-number { margin-bottom: 38px; }
  .progress,
  .privacy-callout { grid-template-columns: 1fr; }
  .policy-summary { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  footer p:last-child { grid-column: auto; }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .intro,
  .game-groups,
  .screens-heading,
  .screens,
  .progress,
  .privacy-callout,
  footer,
  .policy { width: min(100% - 28px, 1160px); }
  .brand span { max-width: 135px; line-height: 1.08; }
  .screens { grid-template-columns: 1fr; width: min(300px, calc(100% - 28px)); }
  .progress,
  .privacy-callout { padding: 30px 24px; border-radius: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
