:root {
  --ink: #0d1936;
  --muted: #657086;
  --paper: #f5f7fc;
  --white: #ffffff;
  --night: #07132f;
  --slate: #3c6575;
  --lime: #d9ef32;
  --blue: #4a90e2;
  --violet: #8354ec;
  --mint: #7fe1c4;
  --line: #dfe5f0;
  --display: "Arial Rounded MT Bold", "Trebuchet MS", ui-rounded, system-ui, sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 28px 70px rgba(13, 25, 54, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; color: white; background: var(--night); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 20; top: 0; left: 50%; width: min(1180px, calc(100% - 48px)); height: 84px; display: flex; align-items: center; justify-content: space-between; transform: translateX(-50%); transition: .25s ease; }
.site-header.scrolled { top: 10px; height: 66px; padding: 0 14px 0 10px; border: 1px solid rgba(223,229,240,.8); border-radius: 18px; background: rgba(245,247,252,.88); box-shadow: 0 10px 35px rgba(13,25,54,.08); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -.8px; }
.brand img { border-radius: 12px; }
.brand span span { color: transparent; background: linear-gradient(110deg,var(--blue),var(--violet)); background-clip: text; -webkit-background-clip: text; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { color: #3e4863; font-size: 13px; font-weight: 750; text-decoration: none; }
nav a:hover { color: var(--violet); }
.nav-cta { padding: 11px 18px; color: white !important; border-radius: 12px; background: var(--night); }

.hero { position: relative; min-height: 820px; padding: 145px max(24px,calc((100vw - 1180px)/2)) 80px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 20px; right: -90px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle,rgba(74,144,226,.17),rgba(131,84,236,.07) 48%,transparent 70%); }
.hero-copy { position: relative; z-index: 3; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 11px; color: var(--violet); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: 1.7px; }
.eyebrow span { width: 26px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--lime); }
h1,h2 { margin: 0; font-family: var(--display); line-height: .98; letter-spacing: -3.4px; }
h1 { max-width: 620px; font-size: clamp(53px,5.7vw,84px); }
h1 em,h2 em { color: transparent; font-style: normal; background: linear-gradient(105deg,var(--blue),var(--violet)); background-clip: text; -webkit-background-clip: text; }
.hero-intro { max-width: 570px; margin: 28px 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.store-links { display: flex; flex-wrap: wrap; gap: 12px; }
.store-button { min-width: 170px; height: 58px; padding: 8px 16px; display: flex; align-items: center; gap: 11px; color: white; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: var(--night); box-shadow: 0 8px 20px rgba(7,19,47,.15); text-decoration: none; transition: .2s ease; }
.store-button:hover { transform: translateY(-3px); box-shadow: 0 14px 25px rgba(7,19,47,.22); }
.store-button:focus-visible,nav a:focus-visible,footer a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.store-button svg { flex: 0 0 auto; width: 28px; height: 28px; fill: currentColor; }
.store-button .play-icon { width: 27px; }
.store-button span { font-size: 18px; font-weight: 650; line-height: 1.05; letter-spacing: -.4px; }
.store-button small { display: block; margin-bottom: 3px; font-size: 9px; font-weight: 500; letter-spacing: .2px; }
.availability { display: flex; align-items: center; gap: 7px; margin: 18px 0 0; color: #768096; font-size: 12px; }
.availability span { color: #3bc295; font-size: 10px; }

.hero-screens { position: relative; z-index: 2; min-height: 620px; }
.screen-card { position: absolute; width: 286px; overflow: hidden; border: 8px solid #101a34; border-radius: 38px; background: #101a34; box-shadow: var(--shadow); }
.screen-card img { width: 100%; display: block; border-radius: 29px; }
.screen-front { z-index: 2; left: 70px; top: 6px; transform: rotate(-5deg); }
.screen-back { z-index: 1; right: 5px; top: 70px; transform: rotate(7deg); filter: saturate(.9); }
.hero-note { position: absolute; z-index: 4; padding: 11px 15px; color: var(--ink); border: 1px solid rgba(223,229,240,.9); border-radius: 13px; background: rgba(255,255,255,.92); box-shadow: 0 12px 30px rgba(13,25,54,.13); backdrop-filter: blur(10px); font-size: 11px; font-weight: 800; }
.note-games { top: 155px; right: -112px; }
.note-streak { bottom: 72px; left: 8px; }
.note-games::before { content: "🎮"; margin-right: 7px; }
.note-streak::before { content: "🔥"; margin-right: 7px; }

.benefit-strip { min-height: 112px; padding: 24px max(24px,calc((100vw - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 34px; color: white; background: var(--night); }
.benefit-strip p { max-width: 220px; margin: 0; color: #a5afca; font-size: 12px; line-height: 1.5; }
.benefit-strip ul { width: 73%; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 20px; list-style: none; }
.benefit-strip li { font-size: 13px; font-weight: 750; }
.benefit-strip li span { margin-right: 7px; color: var(--lime); font: 700 9px var(--body); }

.section { padding: 125px max(24px,calc((100vw - 1180px)/2)); }
.training { min-height: 800px; display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 105px; background: white; }
.section-copy h2,.games h2,.progress h2,.download h2 { font-size: clamp(43px,5vw,67px); }
.section-copy > p:not(.eyebrow),.games-heading > p:not(.eyebrow),.progress-intro > p:not(.eyebrow),.download-copy > p:not(.eyebrow) { max-width: 560px; margin: 26px 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { margin: 14px 0; display: flex; align-items: center; gap: 11px; color: #39445e; font-size: 14px; font-weight: 650; }
.check-list i { width: 24px; height: 24px; display: grid; place-items: center; color: #12866b; border-radius: 50%; background: #dcf6ed; font-size: 11px; font-style: normal; }
.product-shot { position: relative; max-width: 390px; margin: 0 auto; padding: 12px; border-radius: 40px; background: #101a34; box-shadow: var(--shadow); transform: rotate(3deg); }
.product-shot img { width: 100%; display: block; border-radius: 30px; }
.product-shot figcaption { position: absolute; right: -76px; bottom: 58px; width: 210px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 14px 35px rgba(13,25,54,.16); }
.product-shot figcaption b,.product-shot figcaption span { display: block; }
.product-shot figcaption b { font-size: 12px; }
.product-shot figcaption span { margin-top: 4px; color: var(--muted); font-size: 9px; }

.games { position: relative; min-height: 850px; color: white; background: var(--slate); overflow: hidden; }
.games::after { content: ""; position: absolute; width: 760px; height: 760px; right: -160px; top: 30px; border: 1px solid rgba(217,239,50,.18); border-radius: 50%; box-shadow: 0 0 0 75px rgba(217,239,50,.025),0 0 0 150px rgba(217,239,50,.018); }
.games-heading { position: relative; z-index: 2; width: 52%; }
.games h2 em { background: none; color: var(--lime); -webkit-text-fill-color: initial; }
.games-heading > p:not(.eyebrow) { color: #d4e0e5; }
.game-types { position: relative; z-index: 2; width: 54%; display: flex; flex-wrap: wrap; gap: 10px; }
.game-types span { padding: 10px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 700; }
.games-shot { position: absolute; z-index: 2; right: max(20px,calc((100vw - 1180px)/2)); bottom: -210px; width: 410px; margin: 0; padding: 11px; border-radius: 43px; background: #101a34; box-shadow: 0 35px 80px rgba(7,19,47,.38); transform: rotate(4deg); }
.games-shot img { display: block; border-radius: 32px; }

.progress { background: #f5f7fc; }
.progress-intro { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.progress-intro .eyebrow { justify-content: center; }
.progress-intro > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.progress-gallery { display: grid; grid-template-columns: repeat(3,1fr); align-items: start; gap: 24px; }
.progress-card { margin: 0; padding: 9px 9px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: 0 18px 45px rgba(13,25,54,.09); }
.progress-card.offset { margin-top: 52px; }
.progress-card img { width: 100%; display: block; border-radius: 20px 20px 8px 8px; }
.progress-card figcaption { padding: 18px 12px 20px; display: flex; gap: 12px; align-items: flex-start; }
.progress-card figcaption > span { color: var(--violet); font: 800 9px var(--body); }
.progress-card figcaption b,.progress-card figcaption small { display: block; }
.progress-card figcaption b { font-size: 13px; }
.progress-card figcaption small { margin-top: 5px; color: var(--muted); font-size: 10px; }

.download { min-height: 590px; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 90px; color: white; background: var(--night); overflow: hidden; }
.download-icon { position: relative; }
.download-icon::before { content: ""; position: absolute; inset: -100px; border: 1px solid rgba(217,239,50,.12); border-radius: 50%; box-shadow: 0 0 0 65px rgba(217,239,50,.025),0 0 0 130px rgba(74,144,226,.025); }
.download-icon img { position: relative; z-index: 1; width: 310px; border-radius: 25%; box-shadow: 0 30px 70px rgba(0,0,0,.35); transform: rotate(-7deg); }
.download h2 em { background: none; color: var(--lime); -webkit-text-fill-color: initial; }
.download-copy > p:not(.eyebrow) { color: #aab4cf; }
.light-button { color: var(--night); background: white; box-shadow: none; }
.light-button:hover { background: #f2f5ff; }

footer { padding: 46px max(24px,calc((100vw - 1180px)/2)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 18px; color: #9ea8c4; background: #040b20; }
.footer-brand { color: white; }
footer > p { justify-self: end; margin: 0; font-size: 12px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: white; }
footer > small { justify-self: end; font-size: 10px; }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease,transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.progress-card:nth-child(2) { transition-delay: .12s; }
.progress-card:nth-child(3) { transition-delay: .24s; }

@media (max-width: 920px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .eyebrow { justify-content: center; }
  .hero-screens { width: min(630px,100%); margin: auto; }
  .benefit-strip { align-items: flex-start; flex-direction: column; }
  .benefit-strip p,.benefit-strip ul { width: 100%; max-width: none; }
  .training { grid-template-columns: 1fr; text-align: center; }
  .section-copy .eyebrow { justify-content: center; }
  .section-copy > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .check-list { display: inline-block; text-align: left; }
  .games { padding-bottom: 850px; }
  .games-heading,.game-types { width: 100%; text-align: center; justify-content: center; }
  .games-heading > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .games-shot { left: 50%; right: auto; bottom: -180px; transform: translateX(-50%) rotate(3deg); }
  .progress-gallery { grid-template-columns: 1fr; max-width: 470px; margin: auto; }
  .progress-card.offset { margin-top: 0; }
  .download { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 600px) {
  .site-header { width: calc(100% - 28px); height: 72px; }
  .site-header.scrolled { height: 60px; }
  .brand { font-size: 18px; }
  .brand img { width: 40px; height: 40px; }
  .nav-cta { padding: 10px 13px; font-size: 12px; }
  .hero { padding: 118px 20px 65px; gap: 35px; }
  h1 { font-size: clamp(48px,14vw,62px); letter-spacing: -2.8px; }
  .hero-intro { font-size: 16px; }
  .store-links { width: 100%; justify-content: center; }
  .store-button { min-width: 158px; height: 56px; padding: 8px 12px; }
  .store-button span { font-size: 16px; }
  .hero-screens { min-height: 530px; transform: scale(.88); margin: -15px -15px; width: calc(100% + 30px); }
  .screen-card { width: 245px; }
  .screen-front { left: 2px; }
  .screen-back { right: -12px; top: 82px; }
  .note-games { top: 35px; right: 8px; } .note-streak { left: -2px; bottom: 56px; }
  .benefit-strip { padding-top: 34px; padding-bottom: 34px; }
  .benefit-strip ul { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .benefit-strip li { font-size: 11px; }
  .section { padding: 88px 20px; }
  .section-copy h2,.games h2,.progress h2,.download h2 { font-size: 44px; letter-spacing: -2.6px; }
  .training { gap: 65px; }
  .product-shot { width: calc(100% - 38px); transform: rotate(1deg); }
  .product-shot figcaption { right: -14px; }
  .games { padding-bottom: 675px; }
  .games-shot { width: calc(100% - 48px); bottom: -115px; }
  .download { grid-template-columns: 1fr; gap: 55px; text-align: center; }
  .download-icon img { width: 190px; }
  .download-copy .eyebrow { justify-content: center; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer > p,footer > small { justify-self: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
