:root {
  --ink: #171717;
  --paper: #f7f5ef;
  --white: #ffffff;
  --red: #d71920;
  --red-dark: #a50f14;
  --gold: #f6c744;
  --green: #087a52;
  --line: rgba(23, 23, 23, 0.18);
  --font-display: "Archivo Black", Impact, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

button, a { font: inherit; }
button { cursor: pointer; }

.topbar {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  height: 76px;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 76px);
  position: relative;
  z-index: 20;
}

.brand {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-size: 17px;
  gap: 11px;
  text-decoration: none;
}

.brand strong { color: var(--gold); }

.brand-mark {
  align-items: center;
  background: var(--red);
  border: 2px solid var(--gold);
  color: var(--white);
  display: inline-flex;
  font-family: var(--font-display);
  height: 38px;
  justify-content: center;
  width: 38px;
}

.topbar-actions { align-items: center; display: flex; gap: 14px; }

.age-badge {
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  display: inline-grid;
  font-size: 13px;
  font-weight: 700;
  height: 36px;
  place-items: center;
  width: 36px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 4px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.button-small { min-height: 42px; padding: 0 18px; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--gold); }
.button-primary { background: var(--gold); color: var(--ink); box-shadow: 0 9px 0 rgba(133, 65, 0, .34); }
.button-primary:hover { background: #ffd96b; box-shadow: 0 6px 0 rgba(133, 65, 0, .34); }
.button-dark { background: var(--ink); color: var(--white); box-shadow: 0 9px 0 rgba(0, 0, 0, .22); }
.button-dark:hover { background: #303030; box-shadow: 0 6px 0 rgba(0, 0, 0, .22); }

.button-download { gap: 13px; min-height: 68px; padding: 8px 25px; text-align: left; }
.button-download small { display: block; font-size: 10px; font-weight: 700; line-height: 1.1; }
.button-download span:last-child { font-size: 17px; line-height: 1.3; }

.android-mark {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 16px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.hero {
  color: var(--white);
  isolation: isolate;
  min-height: min(750px, calc(100svh - 76px));
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 62% 55%;
  position: absolute;
  width: 100%;
  z-index: -3;
}

.hero-scrim {
  background: rgba(16, 8, 7, .68);
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero::after {
  background: var(--red);
  bottom: 0;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  width: 34%;
  z-index: 2;
}

.hero-content {
  max-width: 1120px;
  padding: clamp(52px, 7vh, 82px) clamp(20px, 7vw, 108px) 120px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  align-items: center;
  color: var(--gold);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 10px;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.eyebrow span { background: currentColor; height: 2px; width: 34px; }
.eyebrow-dark { color: var(--red); }

h1, h2, h3, p { letter-spacing: 0; }

h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.6vw, 80px);
  line-height: .98;
  margin: 0;
  max-width: 1100px;
  text-transform: uppercase;
}

h1 em { color: var(--gold); font-style: normal; }

.hero-copy {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  margin: 28px 0 30px;
  max-width: 560px;
}

.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 28px; }
.text-link { color: var(--white); font-size: 14px; font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.text-link span { color: var(--gold); padding-left: 6px; }
.cta-note { color: rgba(255,255,255,.74); font-size: 12px; margin: 20px 0 0 3px; }

.hero-status {
  align-items: stretch;
  background: var(--ink);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: absolute;
  right: 0;
  width: min(610px, 50vw);
  z-index: 3;
}

.hero-status div { border-left: 1px solid rgba(255,255,255,.15); padding: 24px 26px; }
.hero-status strong, .hero-status span { display: block; }
.hero-status strong { color: var(--gold); font-size: 15px; }
.hero-status span { color: rgba(255,255,255,.64); font-size: 11px; margin-top: 5px; text-transform: uppercase; }

.signal-bar {
  background: var(--green);
  color: var(--white);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  grid-template-columns: repeat(4, 1fr);
  padding: 19px clamp(20px, 6vw, 90px);
  text-align: center;
  text-transform: uppercase;
}

.signal-bar p { border-right: 1px solid rgba(255,255,255,.28); margin: 0; }
.signal-bar p:last-child { border-right: 0; }

.experience { padding: 104px clamp(20px, 7vw, 108px) 116px; }
.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 56px; }
.section-heading h2, .steps h2, .final-cta h2, dialog h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.7vw, 66px);
  line-height: 1.04;
  margin: 0;
  text-transform: uppercase;
}

.experience-grid { display: grid; gap: clamp(42px, 7vw, 104px); grid-template-columns: minmax(280px, .92fr) minmax(340px, 1.08fr); }
.game-visual { margin: 0; position: relative; }
.game-visual img { aspect-ratio: 4 / 3; display: block; object-fit: cover; object-position: 50% 54%; width: 100%; }
.game-visual figcaption { background: var(--ink); color: var(--white); font-size: 13px; padding: 19px 22px; }
.game-visual figcaption span { color: var(--gold); font-family: var(--font-display); font-size: 18px; margin-right: 12px; }

.feature-list { border-top: 1px solid var(--line); }
.feature-list article { display: grid; gap: 22px; grid-template-columns: 48px 1fr; padding: 26px 0; border-bottom: 1px solid var(--line); }
.feature-number { color: var(--red); font-family: var(--font-display); font-size: 14px; }
.feature-list h3 { font-size: 21px; margin: 0 0 8px; }
.feature-list p { color: #585858; line-height: 1.55; margin: 0; max-width: 480px; }

.steps {
  background: var(--red);
  color: var(--white);
  display: grid;
  gap: clamp(54px, 8vw, 120px);
  grid-template-columns: .9fr 1.1fr;
  padding: 104px clamp(20px, 7vw, 108px);
}

.steps-intro .button { margin-top: 34px; }
.steps-list { list-style: none; margin: 0; padding: 0; }
.steps-list li { border-top: 1px solid rgba(255,255,255,.28); display: grid; gap: 24px; grid-template-columns: 52px 1fr; padding: 28px 0; }
.steps-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.28); }
.steps-list li > span { align-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); display: flex; font-weight: 800; height: 38px; justify-content: center; width: 38px; }
.steps-list strong { font-size: 20px; }
.steps-list p { color: rgba(255,255,255,.76); margin: 7px 0 0; }

.final-cta {
  align-items: center;
  background: var(--gold);
  display: flex;
  gap: 40px;
  justify-content: space-between;
  padding: 72px clamp(20px, 7vw, 108px);
}

.final-cta h2 { font-size: clamp(33px, 4vw, 58px); max-width: 760px; }

footer {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 30px;
  grid-template-columns: auto 1fr auto;
  padding: 46px clamp(20px, 7vw, 108px);
}

footer > p { color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.5; margin: 0; text-align: center; }
.brand-footer { font-size: 14px; }
.footer-links { display: flex; gap: 16px; }
.legal-link { background: none; border: 0; color: rgba(255,255,255,.72); font-size: 11px; padding: 6px 0; text-decoration: underline; text-underline-offset: 4px; }

.mobile-download-bar { display: none; }

dialog {
  background: var(--paper);
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  margin: auto;
  max-height: calc(100svh - 32px);
  max-width: calc(100vw - 32px);
  overflow: auto;
  padding: 40px;
}

dialog::backdrop { background: rgba(0,0,0,.78); }
.download-dialog { text-align: center; width: min(520px, calc(100vw - 32px)); }
.dialog-close { background: transparent; border: 0; color: var(--ink); font-size: 30px; height: 44px; line-height: 1; position: absolute; right: 10px; top: 9px; width: 44px; }
.dialog-icon { align-items: center; background: var(--red); border: 3px solid var(--gold); color: var(--white); display: inline-flex; font-family: var(--font-display); font-size: 28px; height: 70px; justify-content: center; margin-bottom: 26px; width: 70px; }
.download-dialog .eyebrow { justify-content: center; }
.download-dialog h2 { font-size: clamp(30px, 7vw, 44px); }
.dialog-copy { color: #555; line-height: 1.6; margin: 20px auto 25px; max-width: 400px; }
.dialog-download { width: 100%; }
.dialog-footnote { color: #777; font-size: 11px; margin: 18px 0 0; }
.download-unavailable { background: #f2e7cf; color: #6d4f18; font-size: 13px; margin: 16px 0 0; padding: 12px; }
.legal-dialog { width: min(620px, calc(100vw - 32px)); }
.legal-dialog h2 { font-size: 34px; margin-bottom: 22px; }
.legal-dialog p { color: #555; line-height: 1.65; }

@media (max-width: 820px) {
  .topbar { height: 66px; padding: 0 18px; }
  .topbar .button { display: none; }
  .brand { font-size: 15px; }
  .brand-mark { height: 34px; width: 34px; }
  .hero { min-height: calc(100svh - 66px); }
  .hero-image { object-position: 50% 66%; transform: scale(1.34); transform-origin: center bottom; }
  .hero-scrim { background: rgba(16, 8, 7, .72); }
  .hero-content { padding: clamp(58px, 10vh, 86px) 20px 170px; }
  h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero-copy { font-size: 17px; max-width: 460px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 23px; }
  .button-download { width: min(100%, 380px); }
  .text-link { width: max-content; }
  .hero-status { left: 0; right: auto; width: 100%; }
  .hero-status div { padding: 18px 15px; }
  .signal-bar { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .signal-bar p:nth-child(2) { border-right: 0; }
  .experience { padding: 76px 20px 86px; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading h2 { font-size: clamp(34px, 9vw, 48px); }
  .experience-grid { grid-template-columns: 1fr; }
  .steps { gap: 58px; grid-template-columns: 1fr; padding: 80px 20px; }
  .final-cta { align-items: flex-start; flex-direction: column; padding: 66px 20px 78px; }
  footer { grid-template-columns: 1fr; justify-items: start; padding: 42px 20px 112px; }
  footer > p { text-align: left; }
  .footer-links { flex-wrap: wrap; }
  .mobile-download-bar {
    align-items: center;
    background: var(--ink);
    bottom: 0;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 11px 14px max(11px, env(safe-area-inset-bottom));
    position: fixed;
    width: 100%;
    z-index: 30;
  }
  .mobile-download-bar strong, .mobile-download-bar span { display: block; }
  .mobile-download-bar strong { font-size: 13px; }
  .mobile-download-bar span { color: rgba(255,255,255,.58); font-size: 10px; margin-top: 3px; }
  .mobile-download-bar .button { box-shadow: none; min-height: 44px; }
  dialog { padding: 34px 22px; }
}

@media (max-width: 390px) {
  .hero-content { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 40px; }
  .hero-status div { padding-left: 10px; padding-right: 10px; }
  .hero-status strong { font-size: 13px; }
  .hero-status span { font-size: 9px; }
  .button-download span:last-child { font-size: 15px; }
  .signal-bar { font-size: 10px; padding-left: 12px; padding-right: 12px; }
  .final-cta .button-download { padding-left: 15px; padding-right: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
