:root {
  --bg: #0b1020;
  --panel: #141c32;
  --panel-2: #1c2743;
  --ink: #f8f7f1;
  --soft: #a9b4cc;
  --mint: #78e4bc;
  --mint-bright: #adffdc;
  --gold: #ffc76f;
  --blue: #8eacff;
  --line: #33415f;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "Manrope", sans-serif; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .028; z-index: 10; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-shell { width: var(--shell); margin-inline: auto; }
.page-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); opacity: .11; pointer-events: none; }
.page-glow--one { background: var(--mint); top: 120px; right: -280px; }
.page-glow--two { background: #365fc5; top: 1050px; left: -400px; }

.site-header { width: var(--shell); height: 94px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .13em; font-size: 17px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand > span > span { color: var(--mint); }
.site-header nav { display: flex; gap: 36px; color: var(--soft); font-size: 13px; font-weight: 600; }
.site-header nav a { transition: color .2s; }
.site-header nav a:hover { color: var(--ink); }
.nav-cta { font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--mint); padding: 8px 0; }
.nav-cta span { color: var(--mint); margin-left: 4px; }
.menu-button { display: none; background: none; border: 0; width: 36px; height: 36px; padding: 7px; }
.menu-button span { display: block; height: 1px; background: var(--ink); margin: 7px 0; }

.hero { min-height: 760px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; padding: 90px 0 100px; }
.eyebrow { font-family: "DM Mono", monospace; text-transform: uppercase; color: var(--mint); font-size: 11px; letter-spacing: .16em; font-weight: 500; display: flex; align-items: center; gap: 10px; margin: 0 0 24px; }
.eyebrow span { width: 25px; height: 1px; background: currentColor; }
h1, h2 { margin: 0; font-size: clamp(58px, 6.4vw, 92px); letter-spacing: -.062em; line-height: .98; font-weight: 700; }
h1 em, h2 em { color: var(--mint); font-style: normal; }
.hero-intro { color: var(--soft); font-size: 17px; line-height: 1.8; max-width: 560px; margin: 32px 0; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-button { min-width: 166px; height: 56px; border: 1px solid #42506e; border-radius: 10px; padding: 8px 15px; display: inline-flex; align-items: center; gap: 11px; background: rgba(24,32,53,.75); transition: transform .2s, border-color .2s, background .2s; }
.store-button:hover { transform: translateY(-2px); border-color: var(--mint); background: #1b2640; }
.store-button svg { width: 27px; fill: var(--ink); }
.store-button span { font-size: 16px; line-height: 1.1; font-weight: 600; }
.store-button small { display: block; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; margin-bottom: 3px; }
.platform-note { color: #71809c; font-size: 11px; margin-top: 13px; }

.hero-game { position: relative; max-width: 560px; justify-self: end; padding-top: 20px; }
.orbit { position: absolute; border: 1px solid rgba(120,228,188,.12); border-radius: 50%; z-index: -1; }
.orbit--one { inset: -55px -70px -85px -90px; }
.orbit--two { inset: 30px -10px -15px -30px; }
.target-card { width: 86%; margin: 0 auto -13px; padding: 22px 27px 25px; border: 1px solid #35435f; border-radius: 19px 19px 8px 8px; background: #18223a; box-shadow: 0 20px 60px #03061266; position: relative; z-index: 1; }
.target-card > span, .equation-card span, .snippet-top span { color: var(--soft); font: 500 10px "DM Mono", monospace; letter-spacing: .15em; }
.target-card > strong { display: block; font-size: 55px; line-height: 1.1; }
.timer { display: flex; align-items: center; gap: 11px; position: absolute; right: 27px; bottom: 28px; color: var(--mint); font-family: "DM Mono", monospace; font-size: 13px; }
.timer i { width: 95px; height: 4px; border-radius: 5px; background: linear-gradient(90deg, var(--mint) 70%, #303c58 70%); }
.game-board { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 27px; border: 1px solid #3b4a69; border-radius: 22px; background: #10172a; box-shadow: 0 35px 80px #03061299; }
.game-board button { aspect-ratio: 1; min-width: 0; border: 1px solid #526181; border-radius: 12px; color: var(--ink); background: #222e4b; font-size: clamp(17px, 2.2vw, 25px); font-weight: 700; position: relative; z-index: 2; }
.game-board button.operator { color: var(--gold); background: #403b45; border-color: #725d59; }
.game-board button.selected { background: var(--mint); color: var(--bg); border-color: var(--mint-bright); box-shadow: 0 0 22px #78e4bc55; }
.path-line { position: absolute; inset: 27px; width: calc(100% - 54px); height: calc(100% - 54px); z-index: 3; pointer-events: none; overflow: visible; }
.path-line polyline { fill: none; stroke: var(--mint); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; stroke-dasharray: 750; stroke-dashoffset: 750; }
.path-line circle { fill: var(--bg); stroke: var(--mint-bright); stroke-width: 5; opacity: 0; }
.hero-game.play .path-line polyline { animation: draw 3.2s .4s ease-in-out forwards; }
.hero-game.play .path-line circle { animation: dot .35s ease-out forwards; }
.hero-game.play .path-line circle:nth-of-type(1) { animation-delay: .4s; }.hero-game.play .path-line circle:nth-of-type(2) { animation-delay: 1s; }.hero-game.play .path-line circle:nth-of-type(3) { animation-delay: 1.55s; }.hero-game.play .path-line circle:nth-of-type(4) { animation-delay: 2.1s; }.hero-game.play .path-line circle:nth-of-type(5) { animation-delay: 2.7s; }
.equation-card { width: 80%; margin: -1px auto 0; padding: 19px 23px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #35435f; border-radius: 5px 5px 16px 16px; background: #18223a; }
.equation-card strong { font-size: 16px; }.equation-card b { color: var(--mint); font-size: 21px; }
@keyframes draw { 0% { opacity: 1; stroke-dashoffset: 750; } 100% { opacity: 1; stroke-dashoffset: 0; } }
@keyframes dot { to { opacity: 1; } }

.proof-strip { min-height: 92px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: clamp(22px, 4vw, 70px); color: #c2cce0; font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; }
.proof-strip i { color: var(--gold); font-style: normal; }
.how { padding: 150px 0 145px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 75px; }
.section-heading .eyebrow { align-self: flex-start; margin-top: 13px; }
.section-heading h2 { font-size: clamp(48px, 5.8vw, 76px); max-width: 740px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { min-height: 360px; padding: 28px 28px 20px 0; border-right: 1px solid var(--line); position: relative; }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step-number { color: #64718d; font: 500 10px "DM Mono", monospace; letter-spacing: .16em; }
.step-icon { height: 95px; margin: 55px 0 18px; color: var(--mint); font-size: 63px; font-weight: 700; line-height: 1; }
.step h3 { font-size: 17px; margin: 0 0 13px; }
.step p { color: var(--soft); font-size: 13px; line-height: 1.75; max-width: 225px; margin: 0; }
.step-icon--path { display: flex; align-items: center; gap: 26px; padding-left: 9px; position: relative; }
.step-icon--path::before { content: ""; position: absolute; width: 110px; height: 4px; background: var(--mint); transform: rotate(-15deg); left: 25px; }
.step-icon--path i { width: 22px; height: 22px; border: 5px solid var(--mint-bright); background: var(--bg); border-radius: 50%; z-index: 1; }
.step-icon--math { font-family: "DM Mono", monospace; font-size: 35px; display: flex; align-items: center; gap: 15px; }.step-icon--math b { color: var(--gold); font-size: 53px; }.step-icon--zero { color: var(--gold); }

.modes { padding: 60px 0 160px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 120px; }
.mode-visual { min-width: 0; position: relative; min-height: 690px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #263756 0, #141d33 48%, transparent 70%); }
.phone { border: 7px solid #283550; background: #0f1526; border-radius: 35px; padding: 8px; box-shadow: 0 30px 75px #02040ca6; overflow: hidden; }
.phone img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 22px; }
.phone--main { width: 330px; aspect-ratio: 9/16; transform: rotate(-3deg); }
.daily-stamp { position: absolute; right: -10px; top: 110px; width: 178px; background: var(--gold); color: #182039; padding: 20px; transform: rotate(4deg); box-shadow: 0 14px 35px #0006; }
.daily-stamp strong { font: 800 23px "DM Mono", monospace; display: block; margin-bottom: 8px; }.daily-stamp span { font-size: 11px; line-height: 1.5; font-weight: 700; }
.mode-copy h2 { font-size: clamp(50px, 5.6vw, 78px); margin-bottom: 48px; }
.mode-list { border-top: 1px solid var(--line); }
.mode-list article { border-bottom: 1px solid var(--line); }
.mode-list button { width: 100%; display: grid; grid-template-columns: 42px 1fr auto; text-align: left; border: 0; background: none; color: var(--ink); padding: 23px 0; cursor: pointer; font-weight: 700; }
.mode-list button span { color: var(--mint); font: 500 10px "DM Mono", monospace; padding-top: 3px; }.mode-list button b { color: var(--mint); font-size: 19px; font-weight: 400; }
.mode-list p { display: none; margin: -5px 36px 25px 42px; color: var(--soft); font-size: 13px; line-height: 1.7; }.mode-list .active p { display: block; }

.feature-banner { background: var(--mint); color: #101a2b; padding: 100px 0; overflow: hidden; position: relative; }
.feature-banner::after { content: "34"; position: absolute; right: -35px; bottom: -110px; color: rgba(13,38,41,.07); font-size: 380px; font-weight: 800; line-height: 1; }
.feature-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; position: relative; z-index: 1; }
.feature-banner .eyebrow { color: #16624f; }.feature-banner h2 { font-size: clamp(48px, 5.2vw, 73px); }.feature-banner p:not(.eyebrow) { max-width: 500px; line-height: 1.8; font-size: 14px; opacity: .72; }
.solution-snippet { background: #10172a; color: var(--ink); border-radius: 18px; padding: 29px; box-shadow: 0 25px 60px #0b5e4938; transform: rotate(2deg); }
.snippet-top { display: flex; justify-content: space-between; border-bottom: 1px solid #303c56; padding-bottom: 18px; }.snippet-top b { color: var(--mint); font: 500 10px "DM Mono", monospace; }.solution-snippet > strong { display: block; font-size: clamp(25px, 3vw, 39px); margin: 27px 0; letter-spacing: -.04em; }
.mini-path { display: flex; align-items: center; }.mini-path i { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 8px; display: grid; place-items: center; background: #273452; border: 1px solid #4b5c7f; font-style: normal; font-weight: 700; }.mini-path em { height: 3px; flex: 1; background: var(--mint); }.mini-path .answer { background: var(--mint); color: #10172a; border-color: var(--mint-bright); }

.screens { padding: 150px 0 160px; }
.section-heading--center { display: block; text-align: center; max-width: 820px; margin-inline: auto; }.section-heading--center .eyebrow { justify-content: center; }.section-heading--center h2 { font-size: clamp(48px, 5.5vw, 76px); }
.screen-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px; align-items: start; }
.screen-gallery figure { margin: 0; }.screen-gallery figure:nth-child(2) { margin-top: 70px; }.screen-gallery .phone { aspect-ratio: 9/16; border-width: 5px; border-radius: 30px; padding: 5px; }.screen-gallery figcaption { display: flex; gap: 18px; align-items: center; margin-top: 25px; font-size: 14px; font-weight: 700; }.screen-gallery figcaption span { color: var(--mint); font: 500 10px "DM Mono", monospace; }

.download { padding: 0 0 100px; }
.download-card { min-height: 580px; background: #19243e; border: 1px solid #344360; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 75px 30px; border-radius: 26px; position: relative; overflow: hidden; }
.download-grid { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(#8eacff 1px, transparent 1px), linear-gradient(90deg, #8eacff 1px, transparent 1px); background-size: 82px 82px; mask-image: radial-gradient(circle at center, #000, transparent 72%); }
.download-card > img { width: 76px; height: 76px; border-radius: 20px; margin-bottom: 28px; position: relative; box-shadow: 0 18px 38px #02040c88; }.download-card .eyebrow { position: relative; }.download-card h2 { font-size: clamp(54px, 6vw, 84px); position: relative; }.download-card > p:not(.eyebrow) { color: var(--soft); position: relative; }.store-row--center { justify-content: center; margin-top: 18px; position: relative; }.store-button--light { background: var(--ink); color: #111827; border-color: var(--ink); }.store-button--light svg { fill: #111827; }.store-button--light:hover { background: white; border-color: white; }
.site-footer { min-height: 125px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #7f8da9; font-size: 11px; }.site-footer .brand { color: var(--ink); }.site-footer > p { font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: .15em; }.site-footer > div { display: flex; gap: 24px; }.site-footer a:hover { color: var(--ink); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.reveal { opacity: 1; transform: none; transition: none; }.hero-game.play .path-line polyline, .hero-game.play .path-line circle { animation: none; opacity: 1; stroke-dashoffset: 0; } }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 680px); }
  .site-header nav, .nav-cta { display: none; }.menu-button { display: block; }.site-header.open nav { display: flex; position: absolute; top: 82px; left: 0; right: 0; background: #131b2e; border: 1px solid var(--line); border-radius: 12px; padding: 25px; flex-direction: column; gap: 22px; box-shadow: 0 20px 50px #0008; }
  .hero { grid-template-columns: 1fr; gap: 85px; padding-top: 75px; }.hero-game { justify-self: center; width: min(100%, 560px); }.hero-copy { text-align: center; }.hero-copy .eyebrow, .hero-copy .store-row { justify-content: center; }.hero-intro { margin-inline: auto; }
  .proof-strip { overflow: hidden; justify-content: flex-start; padding: 0 22px; }
  .section-heading { display: block; }.section-heading .eyebrow { margin-bottom: 24px; }.steps { grid-template-columns: 1fr 1fr; }.step:nth-child(2) { border-right: 0; }.step { border-bottom: 1px solid var(--line); }.step:nth-child(3), .step:nth-child(4) { border-bottom: 0; }.step:nth-child(3) { padding-left: 0; }.modes { grid-template-columns: 1fr; gap: 50px; }.mode-visual { order: 2; }.feature-inner { grid-template-columns: 1fr; }.screen-gallery { gap: 18px; }.site-footer { flex-wrap: wrap; gap: 20px; padding: 30px 0; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 28px); }.site-header { height: 78px; }.brand { font-size: 14px; }.brand img { width: 30px; height: 30px; }
  .hero { padding: 65px 0 78px; min-height: 0; }.hero h1 { font-size: clamp(47px, 14vw, 68px); }.hero-intro { font-size: 15px; line-height: 1.7; }.store-row { flex-direction: column; align-items: stretch; }.store-button { justify-content: center; }
  .target-card { width: 92%; }.game-board { gap: 6px; padding: 15px; }.game-board button { border-radius: 9px; }.path-line { inset: 15px; width: calc(100% - 30px); height: calc(100% - 30px); }.equation-card { width: 88%; padding: 16px; }.equation-card span { display: none; }
  .proof-strip { min-height: 74px; gap: 24px; font-size: 9px; }.how, .screens { padding: 100px 0; }.section-heading { margin-bottom: 48px; }.section-heading h2, .mode-copy h2, .feature-banner h2 { font-size: 48px; }
  .steps { grid-template-columns: 1fr; }.step, .step + .step { padding: 25px 10px 35px 0; border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }.step-icon { margin: 30px 0 15px; }.step p { max-width: 360px; }.step:nth-child(3) { padding-left: 0; }.step:nth-child(3) { border-bottom: 1px solid var(--line); }
  .modes { padding: 40px 0 100px; }.mode-visual { min-height: 560px; }.phone--main { width: 270px; }.daily-stamp { right: -5px; top: 80px; width: 145px; }.feature-banner { padding: 80px 0; }.solution-snippet { padding: 21px; transform: none; }.mini-path i { width: 32px; height: 32px; flex-basis: 32px; font-size: 12px; }
  .screen-gallery { grid-template-columns: 1fr; max-width: 315px; margin: auto; gap: 65px; }.screen-gallery figure:nth-child(2) { margin-top: 0; }.download-card { min-height: 560px; padding-inline: 20px; }.download-card h2 { font-size: 52px; }.site-footer { flex-direction: column; text-align: center; justify-content: center; }.site-footer > div { flex-wrap: wrap; justify-content: center; }
}
