:root {
    --ink: #092e29;
    --green-950: #0b2f28;
    --green-900: #164e43;
    --green-700: #278b6b;
    --green-500: #52b788;
    --mint: #d8eee6;
    --mint-soft: #f4faf7;
    --white: #fff;
    --purple: #8c4fb3;
    --pink: #e04f92;
    --gold: #f3be3b;
    --text: #33413d;
    --muted: #61716c;
    --border: #cfe5dc;
    --shadow: 0 18px 50px rgba(9, 46, 41, .13);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 760px; font-size: clamp(3rem, 7vw, 6.5rem); margin-bottom: 24px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.75rem); margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
p { margin-bottom: 18px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding: 110px 0; }
.section-soft { background: var(--mint-soft); }
.section-dark { color: #e8f7f1; background: linear-gradient(135deg, var(--green-950), var(--green-900)); }
.section-dark h2, .final-cta h2 { color: var(--white); }
.centered { text-align: center; }
.section-heading { max-width: 780px; margin-bottom: 52px; }
.section-heading.centered { margin-inline: auto; }
.section-heading > p:last-child { font-size: 1.15rem; }
.eyebrow { color: var(--green-700); font-size: .8rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.light { color: #9fe7ce; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; color: var(--white); background: var(--ink); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255, 255, 255, .9); border-bottom: 1px solid rgba(207, 229, 220, .8); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; text-decoration: none; }
.brand-mark { width: 34px; aspect-ratio: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 4px; background: var(--green-900); border-radius: 9px; }
.brand-mark span { background: var(--green-500); border-radius: 1px; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(4), .brand-mark span:nth-child(9) { background: transparent; border: 1px solid rgba(255,255,255,.65); }
.nav-wrap nav, footer nav { display: flex; align-items: center; gap: 28px; }
.nav-wrap nav a, footer nav a { font-weight: 650; text-decoration: none; }
.nav-wrap nav a:hover, footer nav a:hover { color: var(--green-700); }
.nav-download { padding: 10px 18px; color: var(--white) !important; background: var(--green-900); border-radius: 99px; }
.hero { position: relative; overflow: hidden; padding: 105px 0 120px; background: radial-gradient(circle at 80% 25%, #d6f0e6 0, transparent 28%), linear-gradient(155deg, #f8fcfa 15%, #e9f6f1 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(var(--green-500) 1px, transparent 1px), linear-gradient(90deg, var(--green-500) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, transparent, black); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.hero-lead { max-width: 680px; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.store-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 16px; }
.centered-actions { justify-content: center; }
.store-button { min-height: 58px; padding: 10px 19px; display: inline-flex; align-items: center; gap: 12px; color: var(--white); background: #101514; border: 1px solid #101514; border-radius: 12px; font-size: 1rem; font-weight: 750; line-height: 1.05; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.store-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(9, 46, 41, .2); }
.store-button > span:first-child { font-size: 1.8rem; }
.store-button small { display: block; margin-bottom: 3px; font-size: .65rem; font-weight: 500; }
.play-symbol { color: var(--green-500); }
.availability { color: var(--muted); font-size: .9rem; }
.hero-art { position: relative; min-height: 530px; border: 8px solid rgba(255,255,255,.75); background: #c9e1d8; border-radius: 42px; box-shadow: var(--shadow); transform: rotate(2deg); }
.map-lines { position: absolute; inset: 0; overflow: hidden; border-radius: 34px; background: linear-gradient(26deg, transparent 46%, rgba(255,255,255,.9) 47%, rgba(255,255,255,.9) 51%, transparent 52%), linear-gradient(120deg, transparent 42%, rgba(255,255,255,.75) 43%, rgba(255,255,255,.75) 47%, transparent 48%); }
.sector-board { position: absolute; top: 75px; left: 58px; width: 330px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; transform: rotate(-7deg); }
.sector-board span { aspect-ratio: 1; border: 2px solid rgba(39,139,107,.4); background: rgba(255,255,255,.22); border-radius: 7px; }
.sector-board .old { background: rgba(140,79,179,.75); }
.sector-board .today { background: rgba(224,79,146,.8); }
.sector-board .gold { background: rgba(243,190,59,.95); box-shadow: 0 0 0 5px rgba(243,190,59,.23), 0 0 24px rgba(243,190,59,.8); }
.sector-board .player::after { content: ""; display: block; width: 16px; height: 16px; margin: calc(50% - 8px); background: var(--white); border: 5px solid #2675d8; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.art-card { position: absolute; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 14px 18px; color: var(--ink); background: rgba(255,255,255,.95); border-radius: 16px; box-shadow: 0 12px 30px rgba(9,46,41,.16); transform: rotate(-2deg); }
.art-card span { grid-row: span 2; font-size: 1.7rem; }
.art-card small { color: var(--muted); }
.streak-card { bottom: 38px; left: -35px; }
.gold-card { top: 46px; right: -30px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps-grid article { padding: 32px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(9,46,41,.06); }
.step-number { width: 42px; height: 42px; margin-bottom: 24px; display: grid; place-items: center; color: var(--white); background: var(--green-700); border-radius: 13px; font-weight: 800; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.legend-card { padding: 30px; display: grid; gap: 15px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); }
.legend-card > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.legend-card small { grid-column: 2; color: #bcd6cd; }
.swatch { grid-row: span 2; width: 46px; height: 46px; border: 2px solid rgba(255,255,255,.65); border-radius: 10px; }
.swatch.today { background: var(--pink); }
.swatch.old { background: var(--purple); }
.swatch.gold { background: var(--gold); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 30px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 52px; height: 52px; margin-bottom: 22px; display: grid; place-items: center; color: var(--green-900); background: var(--mint); border-radius: 16px; font-size: 1.55rem; font-weight: 800; }
.feature-gold { background: #fffbeb; border-color: #f3dda0; }
.feature-gold .feature-icon { color: #6b4b00; background: #f9d76e; }
.screenshot-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(360px, 48%); gap: 22px; overflow-x: auto; padding: 12px 8px 30px; scroll-snap-type: x mandatory; scrollbar-color: var(--green-700) var(--mint); }
.screenshot-strip a { overflow: hidden; display: block; background: var(--green-900); border: 5px solid var(--white); border-radius: 22px; box-shadow: 0 12px 34px rgba(9,46,41,.14); scroll-snap-align: center; }
.screenshot-strip img { width: 100%; height: auto; aspect-ratio: 526 / 296; object-fit: cover; transition: transform .25s ease; }
.screenshot-strip a:hover img { transform: scale(1.025); }
.gallery-note { margin: 8px 0 0; color: var(--muted); font-size: .85rem; text-align: center; }
.scoring { background: #fff; }
.score-visual { padding: 38px; text-align: center; background: linear-gradient(145deg, var(--green-950), var(--green-700)); border-radius: 34px; box-shadow: var(--shadow); }
.score-label { display: block; margin-bottom: 24px; color: #cce9df; font-weight: 700; }
.square-grid { width: min(330px, 100%); margin: 0 auto 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.square-grid span { aspect-ratio: 1; background: var(--green-500); border: 2px solid white; border-radius: 7px; }
.score-visual > strong { color: white; font-size: 1.4rem; }
.score-list { margin: 28px 0 0; padding: 0; list-style: none; }
.score-list li { padding: 16px 0; display: grid; grid-template-columns: 145px 1fr; border-bottom: 1px solid var(--border); }
.score-list strong { color: var(--green-700); font-size: 1.2rem; }
.stat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-pair div { padding: 35px 20px; display: flex; flex-direction: column; text-align: center; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.stat-pair strong { color: var(--green-700); font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1; }
.stat-pair span { margin-top: 10px; color: var(--muted); font-weight: 700; }
.large-icon { width: 68px; height: 68px; margin: 0 auto 25px; display: grid; place-items: center; color: var(--white); background: var(--green-700); border-radius: 22px; font-size: 2rem; }
.faq-list { display: grid; gap: 12px; }
details { padding: 0 22px; background: var(--white); border: 1px solid var(--border); border-radius: 16px; }
summary { padding: 20px 38px 20px 0; color: var(--ink); cursor: pointer; font-weight: 750; }
details p { padding-bottom: 18px; margin: 0; }
.support-card { padding: clamp(30px, 6vw, 56px); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 32px; background: linear-gradient(145deg, #f4faf7, #d8eee6); border: 1px solid var(--border); border-radius: 32px; box-shadow: var(--shadow); }
.support-card h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.support-icon { width: 82px; height: 82px; display: grid; place-items: center; color: var(--white); background: var(--green-700); border-radius: 26px; font-size: 2.5rem; font-weight: 800; }
.support-email { display: inline-flex; padding: 12px 20px; color: var(--white); background: var(--green-900); border-radius: 999px; font-weight: 750; text-decoration: none; }
.support-email:hover { background: var(--green-700); }
.final-cta { color: #d8eee6; background: linear-gradient(145deg, var(--green-950), var(--green-700)); }
.final-cta p:not(.eyebrow) { font-size: 1.15rem; }
.light-button { color: var(--ink); background: var(--white); border-color: var(--white); }
footer { padding: 68px 0 24px; color: #c4d9d2; background: #071e1a; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer-brand { margin-bottom: 18px; color: var(--white); }
.footer-bottom { padding-top: 32px; margin-top: 38px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.legal-page { background: var(--mint-soft); }
.legal-hero { padding: 76px 0 58px; color: #d8eee6; background: linear-gradient(145deg, var(--green-950), var(--green-700)); }
.legal-hero h1 { margin-bottom: 14px; color: var(--white); font-size: clamp(2.8rem, 6vw, 5rem); }
.legal-hero p { max-width: 680px; margin-bottom: 0; font-size: 1.1rem; }
.legal-content { width: min(860px, calc(100% - 40px)); margin: 48px auto 90px; padding: clamp(28px, 6vw, 64px); background: var(--white); border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); }
.legal-content h2 { margin-top: 48px; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content li { margin-bottom: 12px; }
.legal-content a { color: var(--green-700); font-weight: 700; }
.legal-updated { margin-bottom: 36px; padding-bottom: 20px; color: var(--muted); border-bottom: 1px solid var(--border); font-size: .9rem; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; text-decoration: none; }
.legal-back:hover { color: #9fe7ce; }

@media (max-width: 900px) {
    .nav-wrap nav a:not(.nav-download) { display: none; }
    .hero { padding-top: 75px; }
    .hero-grid, .split { grid-template-columns: 1fr; gap: 55px; }
    .hero-copy { text-align: center; }
    .hero-copy .store-actions { justify-content: center; }
    .hero-lead { margin-inline: auto; }
    .hero-art { width: min(580px, 100%); margin-inline: auto; }
    .steps-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .container { width: min(100% - 28px, 1180px); }
    .section { padding: 78px 0; }
    .brand > span:last-child { font-size: .95rem; }
    .nav-download { padding: 9px 14px; font-size: .85rem; }
    h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
    .steps-grid, .feature-grid, .stat-pair { grid-template-columns: 1fr; }
    .support-card { grid-template-columns: 1fr; text-align: center; }
    .support-icon { margin-inline: auto; }
    .screenshot-strip { grid-auto-columns: 88%; }
    .hero-art { min-height: 390px; }
    .sector-board { top: 65px; left: 7%; width: 78%; }
    .gold-card { top: 24px; right: -5px; }
    .streak-card { bottom: 24px; left: -5px; }
    .score-list li { grid-template-columns: 1fr; gap: 4px; }
    .footer-grid { flex-direction: column; }
    footer nav { align-items: flex-start; flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
