:root {
  --background: #f7f8fb;
  --surface: #ffffff;
  --text: #15181d;
  --muted: #626a75;
  --line: rgba(36, 43, 52, 0.14);
  --blue: #0a84ff;
  --blue-dark: #0068d7;
  --shadow: 0 26px 78px rgba(39, 47, 58, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 2%, rgba(10, 132, 255, 0.12), transparent 31rem),
    radial-gradient(circle at 4% 36%, rgba(150, 153, 158, 0.16), transparent 28rem),
    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,
.feature-grid,
.screens-heading,
.screens,
.gameplay,
.resume,
.privacy-callout,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  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-radius: 12px;
  box-shadow: 0 10px 26px rgba(39, 47, 58, 0.16);
}

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(--blue-dark); }

.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: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 800px;
  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;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 16px 42px rgba(10, 132, 255, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.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(--blue);
  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: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.72;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 112px;
}

.feature-grid article {
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px rgba(39, 47, 58, 0.07);
}

.feature-grid article p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.66;
}

.feature-number {
  display: block;
  margin-bottom: 65px;
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.feature-grid article:nth-child(2) .feature-number { color: #6f747b; }
.feature-grid article:nth-child(3) .feature-number { color: var(--blue); }

.screens-heading {
  max-width: 900px;
  padding: 34px 0 54px;
  text-align: center;
}

.screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 310px));
  justify-content: center;
  gap: clamp(28px, 7vw, 82px);
  padding-bottom: 124px;
}

.screens figure { width: 100%; }

.screens figcaption {
  padding: 16px 12px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.gameplay {
  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 91% 8%, rgba(10, 132, 255, 0.12), transparent 23rem),
    var(--surface);
  box-shadow: 0 18px 54px rgba(39, 47, 58, 0.08);
}

.gameplay-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.gameplay-list { margin: 0; }

.gameplay-list > div {
  padding: 21px 0;
  border-top: 1px solid var(--line);
}

.gameplay-list > div:last-child { border-bottom: 1px solid var(--line); }
.gameplay-list dt { font-weight: 800; }
.gameplay-list dd { margin: 4px 0 0; color: var(--muted); }

.resume {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(46px, 9vw, 118px);
  padding: 124px 0;
}

.resume-copy {
  padding-top: 6px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.privacy-callout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(42px, 9vw, 116px);
  padding: clamp(38px, 6vw, 66px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background: #1b2027;
  color: #ffffff;
}

.privacy-callout h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.privacy-callout .eyebrow { color: #93c8ff; }
.privacy-copy { color: #cbd1d9; }
.privacy-copy p { line-height: 1.72; }
.privacy-copy p:last-child { margin-bottom: 0; }
.privacy-copy a { color: #93c8ff; text-decoration: underline; text-underline-offset: 3px; }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 52px 0 58px;
  color: var(--muted);
  font-size: 0.88rem;
}

footer p { margin: 0; }

.policy-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(10, 132, 255, 0.12), transparent 33rem),
    var(--background);
}

.policy {
  width: min(880px, calc(100% - 40px));
  margin-inline: auto;
  padding-bottom: 58px;
}

.policy-hero { padding: 70px 0 34px; }
.policy-hero h1 { max-width: none; font-size: clamp(3rem, 8vw, 6rem); }

.policy-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 8px 0 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(39, 47, 58, 0.08);
}

.policy-summary div {
  padding: 23px;
  border-right: 1px solid var(--line);
}

.policy-summary div:last-child { border-right: 0; }
.policy-summary strong,
.policy-summary span { display: block; }
.policy-summary span { margin-top: 5px; color: var(--muted); font-size: 0.93rem; }

.policy-section {
  margin: 18px 0;
  padding: clamp(25px, 5vw, 39px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(39, 47, 58, 0.06);
}

.policy-section h2 {
  margin-bottom: 13px;
  font-size: 1.46rem;
  letter-spacing: -0.025em;
}

.policy-section p { margin-bottom: 14px; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.muted { color: var(--muted); }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
  .hero { min-height: 0; padding: 54px 0 90px; }
  .hero,
  .gameplay,
  .resume,
  .privacy-callout { grid-template-columns: 1fr; }
  .hero-preview { grid-row: 1; width: 230px; justify-self: start; }
  .gameplay { padding: 44px 28px; }
  .resume { padding: 96px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; }
  .feature-number { margin-bottom: 35px; }
  footer { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 560px) {
  .site-header { gap: 18px; }
  .brand span { display: none; }
  nav { font-size: 0.88rem; }
  h1 { font-size: clamp(3.1rem, 17vw, 5.1rem); }
  .hero-preview { width: 210px; border-radius: 28px; }
  .screens { grid-template-columns: minmax(0, 250px); }
  .policy-summary { grid-template-columns: 1fr; }
  .policy-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
  .policy-summary div:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
