:root {
  --ink: #102c37; --muted: #50666d; --blue: #087ef3; --blue-dark: #0561bd;
  --lime: #d6ff64; --paper: #f7f9f5; --line: #d2ded8; --white: #fff;
  --purple: #653cc5; --pink: #aa286b; --gold: #785500; --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px 'Plus Jakarta Sans', sans-serif; }
body, button { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #c74620; outline-offset: 5px; }
img { max-width: 100%; object-fit: contain; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Outfit', sans-serif; }
h1, h2 { font-weight: 600; letter-spacing: -.055em; line-height: 1.03; }
em { font-style: normal; color: var(--blue-dark); }
header, .hero, .section, footer { padding-inline: max(5%, calc((100vw - 1320px) / 2)); }
header { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { display: flex; align-items: center; gap: 8px; font: 800 36px 'Outfit', sans-serif; letter-spacing: -2px; }
.brand span { font-size: 14px; align-self: flex-start; margin-top: 10px; letter-spacing: 0; }
nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 700; }
nav > a:not(.button):hover { color: var(--blue-dark); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 52px; padding: 17px 23px; background: var(--ink); color: var(--white); border: 1px solid var(--ink); border-radius: 10px; font-weight: 700; font-size: 14px; transition: background .2s, transform .2s, box-shadow .2s; }
.button:hover { background: #214c5d; transform: translateY(-3px); box-shadow: 0 6px 0 #102c3714; }
.button span { font-size: 23px; }
.button.small { min-height: 44px; padding: 10px 18px; }
.text-link { display: inline-block; font-size: 13px; font-weight: 700; border-bottom: 1px solid currentColor; padding: 8px 0; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; line-height: 1.8; }
.dot { display: inline-block; width: 8px; height: 8px; background: var(--blue); border-radius: 50%; margin-right: 8px; }
.hero { padding-top: 58px; display: grid; grid-template-columns: 1.08fr 1fr; gap: 34px; overflow: hidden; }
h1 { font-size: clamp(58px, 6.8vw, 96px); margin: 21px 0 26px; }
.intro { max-width: 470px; font-size: 16px; line-height: 1.85; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 23px; margin-top: 28px; flex-wrap: wrap; }
.hero-actions > .button { background: var(--blue); border-color: var(--blue); box-shadow: 0 5px 0 var(--blue-dark); }
.hero-actions > .button:hover { background: var(--blue-dark); }
.footnote { font-size: 12px; color: var(--muted); margin: 19px 0 24px; }
.hero-perks { display: flex; flex-wrap: wrap; gap: 10px 17px; color: var(--muted); font-size: 10px; }
.hero-perks span::before { content: '✓'; margin-right: 6px; color: var(--blue-dark); font-weight: 800; }
.hero-art { position: relative; min-height: 540px; margin: 10px 12px 25px 15px; border-radius: 100px 20px 100px 20px; background: #6abfe3; isolation: isolate; }
.hero-scene { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.hero-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #ffffff00 55%, #102c3745); }
.hero-city { width: 100%; height: calc(100% + 30px); max-width: none; object-fit: cover; object-position: 76% center; }
.orbit-label { position: absolute; z-index: 1; top: 24px; left: 28px; background: #fffffff0; padding: 10px 12px; border-radius: 5px; font-size: 9px; letter-spacing: 1.3px; font-weight: 800; }
.stamp { position: absolute; top: 94px; right: -15px; width: 112px; height: 112px; display: grid; place-content: center; background: var(--lime); color: var(--ink); border: 5px double var(--ink); border-radius: 50%; text-align: center; font-size: 11px; line-height: 1.5; font-weight: 800; transform: rotate(12deg); }
.destination-tag { position: absolute; bottom: 126px; left: -25px; padding: 16px 22px; background: var(--white); border-radius: 8px; box-shadow: 0 8px 20px #102c371c; transform: rotate(-5deg); font-size: 9px; letter-spacing: 1.5px; }
.destination-tag strong { display: block; margin-top: 7px; font-size: 19px; letter-spacing: -.4px; }
.hero-tiles { position: absolute; bottom: 50px; left: 18px; right: 18px; display: flex; justify-content: center; gap: 8px; transform: rotate(-5deg); }
.hero-tiles span { width: 55px; height: 62px; border-radius: 10px; display: grid; place-items: center; background: var(--lime); box-shadow: 0 6px 0 #8aad32; font: 600 33px 'Outfit', sans-serif; }
.travel-note { position: absolute; bottom: -23px; right: 12px; display: flex; align-items: center; gap: 12px; padding: 15px 19px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 30px #102c3712; transform: rotate(3deg); }
.note-symbol { color: var(--blue-dark); font-size: 35px; }
.travel-note strong, .travel-note div > span { display: block; font-size: 12px; }
.travel-note div > span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.hero-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; padding: 25px 0; margin-top: 24px; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: 1.2px; font-weight: 700; line-height: 1.6; }
.ticker { overflow: hidden; background: var(--lime); border-block: 1px solid var(--ink); padding: 20px 0; }
.ticker div { white-space: nowrap; width: max-content; font: 500 23px 'Outfit', sans-serif; letter-spacing: 1px; }
.ticker b { margin: 0 35px; }
.section { padding-block: 94px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 42px; }
h2 { font-size: clamp(45px, 5.5vw, 76px); margin: 16px 0 0; }
.section-heading > p { max-width: 345px; margin: 0; font-size: 15px; line-height: 1.9; color: var(--muted); }
.destinations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.destination { position: relative; overflow: hidden; isolation: isolate; min-height: 330px; background: #d8e7e9; border: 2px solid transparent; border-radius: 16px; text-align: left; padding: 0; transition: transform .25s, box-shadow .25s; }
.destination::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #102c375c, transparent 35%, #102c3710 45%, #102c37f5); pointer-events: none; }
.destination img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 78% center; transition: transform .4s; }
.destination:hover { transform: translateY(-6px); }
.destination:hover img { transform: scale(1.05); }
.destination[aria-pressed=true] { border-color: var(--blue); box-shadow: 0 0 0 4px #087ef326; }
.card-top, .card-bottom { position: absolute; left: 18px; right: 18px; color: var(--white); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-top { top: 17px; font-size: 12px; font-weight: 700; text-shadow: 0 1px 5px var(--ink); }
.card-top > span { font-size: 24px; }
.card-bottom { bottom: 22px; flex-wrap: wrap; }
.card-bottom strong { font: 500 32px 'Outfit', sans-serif; }
.city-status { font-size: 9px; border: 1px solid #ffffff75; border-radius: 30px; padding: 7px 9px; }
.destination.solved .city-status { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.caption { font-size: 12px; line-height: 1.7; margin: 22px 0 0; color: var(--muted); }
.play-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; background: var(--ink); color: var(--white); }
.play-copy h2 { margin-bottom: 25px; }
.play-copy em { color: var(--lime); }
.play-copy > p:not(.eyebrow) { max-width: 440px; color: #c4d6d9; line-height: 1.8; font-size: 15px; }
.play-copy ol { padding: 0; list-style: none; color: #c4d6d9; font-size: 13px; line-height: 1.8; }
.play-copy li { display: flex; align-items: center; gap: 13px; margin: 13px 0; }
.play-copy li span { font-size: 10px; padding: 4px 7px; color: var(--lime); border: 1px solid #ffffff35; border-radius: 5px; }
.passport { max-width: 425px; padding: 20px; margin-top: 30px; border: 1px dashed #789695; border-radius: 12px; background: #ffffff05; }
.passport-heading { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; letter-spacing: 1px; }
.passport-heading strong { color: var(--lime); letter-spacing: 0; }
.passport-stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.passport-stamps span { padding: 16px 4px; text-align: center; border: 1px dashed #789695; border-radius: 50%; color: #b9caca; font-size: 9px; font-weight: 700; transition: background .25s, transform .25s; }
.passport-stamps span.collected { border: 3px double var(--lime); color: var(--lime); background: #d6ff6410; transform: rotate(-9deg); }
.passport > p { font-size: 10px; color: #b9caca; margin: 14px 0 0; }
.demo-note { display: block; color: var(--lime); font-size: 10px; letter-spacing: 1.3px; margin-top: 26px; line-height: 1.8; }
.game { max-width: 470px; width: 100%; justify-self: center; padding: 28px; background: var(--paper); color: var(--ink); border-radius: 24px; box-shadow: 12px 12px 0 #ffffff10; }
.game-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 18px; font-size: 15px; font-weight: 800; }
.game-top span:last-child { font-size: 9px; letter-spacing: 1.3px; color: var(--muted); }
.word-slots { display: flex; justify-content: center; gap: 7px; margin-top: 25px; }
.slot { display: grid; place-items: center; width: 43px; height: 48px; background: #e4eae6; border-bottom: 3px solid #c3d0c8; border-radius: 7px; font: 600 25px 'Outfit', sans-serif; }
.slot.filled { background: var(--lime); border-color: #9ab83c; }
#game-feedback { text-align: center; font-size: 12px; line-height: 1.7; min-height: 42px; margin: 18px 0 5px; }
#letter-wheel { width: 260px; height: 260px; position: relative; margin: auto; touch-action: none; border-radius: 50%; background: #e7ede9; }
#letter-wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
polyline { fill: none; stroke: var(--blue); stroke-width: 10; stroke-linejoin: round; stroke-linecap: round; opacity: .4; }
.letter { position: absolute; width: 52px; height: 52px; border: 0; border-bottom: 4px solid #c6d1ca; border-radius: 50%; background: var(--white); font: 600 26px 'Outfit', sans-serif; user-select: none; }
.letter.selected { background: var(--blue); border-color: var(--blue-dark); color: var(--white); }
.letter:disabled { cursor: default; }
.game-actions { display: flex; justify-content: center; gap: 10px; margin: 20px 0; }
.game-actions button { min-height: 44px; background: transparent; border: 1px solid #bdcdc4; border-radius: 7px; padding: 9px 13px; font-size: 12px; }
.game-actions button:disabled { opacity: .5; cursor: default; }
.check { width: 100%; padding: 14px; }
.demo-success { text-align: center; margin-top: 18px; padding: 21px 14px; border: 1px solid #abc84b; border-radius: 14px; background: #eaf7cb; }
.success-label { color: #465c15; font-size: 9px; letter-spacing: 1.5px; font-weight: 800; }
.demo-success h3 { font-size: 30px; margin: 10px 0; letter-spacing: -.7px; }
.demo-success p { font-size: 12px; line-height: 1.7; }
.demo-success .button { width: 100%; }
.demo-success .text-link { margin-top: 10px; font-size: 11px; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode { --mode-color: var(--purple); --mode-line: #b9a5e4; padding: 28px; border: 1px solid #d6c7ef; border-radius: var(--radius); background: #f0eafa; }
.mode:nth-child(2) { --mode-color: var(--pink); --mode-line: #e5a8c8; border-color: #ebccdc; background: #fbedf4; }
.mode:nth-child(3) { --mode-color: var(--gold); --mode-line: #d8bb6b; border-color: #e5d6af; background: #fff4d7; }
.mode-tag { display: inline-block; font-size: 9px; letter-spacing: 1px; font-weight: 800; color: var(--mode-color); padding: 8px 10px; border: 1px solid var(--mode-line); border-radius: 30px; }
.mode-art { position: relative; display: grid; place-items: center; height: 220px; }
.mode-orbit { position: absolute; width: 182px; height: 182px; border-radius: 50%; border: 1px dashed var(--mode-line); }
.mode-orbit::before { content: '✳'; position: absolute; right: 3px; top: 17px; font-size: 30px; color: var(--mode-color); background: inherit; }
.mode img { position: relative; width: 150px; height: 150px; filter: drop-shadow(0 10px 8px #102c3710); transition: transform .3s; }
.mode:hover img { transform: rotate(-6deg) translateY(-5px); }
.mode h3 { font-size: 31px; font-weight: 500; letter-spacing: -1px; margin-bottom: 14px; }
.mode p { font-size: 13px; line-height: 1.85; color: var(--muted); min-height: 75px; }
.mode-detail { display: block; margin-top: 24px; border-top: 1px solid var(--mode-line); padding-top: 17px; color: var(--mode-color); font-size: 11px; font-weight: 700; }
.learn-strip { display: flex; align-items: center; gap: 24px; margin-top: 26px; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: #eaf0e6; }
.learn-mark { font: 600 44px 'Outfit', sans-serif; color: #376715; background: #d9ebcb; padding: 12px; border-radius: 15px; transform: rotate(-5deg); }
.learn-strip .eyebrow { font-size: 9px; margin-bottom: 6px; }
.learn-strip h3 { font-size: 25px; font-weight: 500; margin-bottom: 8px; }
.learn-strip p:last-child { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.learn-strip > a { margin-left: auto; flex-shrink: 0; font-size: 11px; }
.download { text-align: center; overflow: hidden; background: var(--blue); color: var(--white); }
.download em { color: var(--lime); }
.download h2 { font-size: clamp(49px, 6.8vw, 94px); }
.download-tiles { display: flex; justify-content: center; gap: 6px; margin-bottom: 37px; transform: rotate(-4deg); }
.download-tiles span { display: grid; place-items: center; width: 39px; height: 44px; background: var(--lime); color: var(--ink); box-shadow: 0 4px 0 #8aad32; border-radius: 7px; font: 600 24px 'Outfit', sans-serif; }
.download-tiles span:nth-child(6) { margin-left: 10px; }
.download-intro { font-size: 15px; margin: 24px 0 0; line-height: 1.8; }
.stores { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.store-link { display: inline-flex; align-items: center; justify-content: center; min-height: 92px; padding: 15px; border-radius: 14px; transition: transform .2s; }
.store-link img { display: block; height: 60px; width: auto; max-width: 100%; filter: drop-shadow(0 5px 8px #06336430); }
/* Google's supplied image already includes the badge's required clear space. */
.store-link--google { padding: 0; }
.store-link--google img { height: 90px; }
.store-link:hover { transform: translateY(-4px); }
.store-link:active { transform: translateY(-1px); }
.store-link:focus-visible { outline-color: var(--lime); }
.download-note { font-size: 11px; margin: 0; line-height: 1.8; }
.legal { margin: 0 5%; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 25px 0; display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; }
.legal-card { max-width: 850px; margin: 30px auto 60px; font-size: 15px; line-height: 1.8; }
.legal-card h2 { font-size: 40px; letter-spacing: -1px; line-height: 1.2; margin-bottom: 20px; }
.legal-card h3 { margin-top: 24px; }
.legal-card a { text-decoration: underline; }
footer { padding-block: 35px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
footer > span, footer > div { font-size: 12px; }
footer > div { display: flex; gap: 24px; }
#friend-invite-hero:not([hidden]) { background: var(--lime); padding: 20px 5%; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.skip { position: absolute; top: -100px; z-index: 10; background: var(--lime); padding: 15px; }
.skip:focus { top: 10px; }
@media (max-width: 1000px) {
  nav { gap: 17px; } .hero { gap: 20px; } .hero-art { min-height: 485px; margin-left: 0; } h1 { font-size: clamp(56px, 7vw, 78px); }
  .hero-actions { gap: 18px; } .hero-actions .button { font-size: 12px; gap: 15px; padding-inline: 16px; }
  .destinations { grid-template-columns: repeat(2, 1fr); } .destination { min-height: 300px; }
  .play-section { gap: 30px; } .game { padding: 22px; } .mode { padding: 22px; }
  .learn-strip { flex-wrap: wrap; } .learn-strip > a { margin-left: 0; } .section { padding-block: 75px; }
}
@media (max-width: 700px) {
  header { min-height: 78px; } .brand { font-size: 29px; } .brand img { width: 33px; height: 33px; } nav > a:not(.button) { display: none; } nav .button { font-size: 12px; gap: 14px; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-top: 35px; } h1 { font-size: clamp(52px, 11.5vw, 78px); margin: 20px 0 24px; } .hero-copy .eyebrow { font-size: 9px; }
  .intro { font-size: 15px; } .hero-art { min-height: 440px; margin: 4px 10px 24px; border-radius: 70px 16px 70px 16px; } .hero-tiles span { width: 47px; height: 54px; font-size: 29px; }
  .stamp { width: 96px; height: 96px; font-size: 10px; right: -10px; } .orbit-label { font-size: 8px; left: 22px; }
  .destination-tag { left: -12px; } .travel-note { right: 3px; } .hero-bottom { font-size: 8px; margin-top: 0; }
  .section-heading { display: block; } .section-heading > p { margin-top: 24px; max-width: 470px; font-size: 14px; } .section { padding-block: 60px; }
  .destinations { gap: 13px; } .destination { min-height: 260px; } .card-top, .card-bottom { left: 13px; right: 13px; } .card-bottom { gap: 9px; } .card-bottom strong { font-size: 27px; }
  .play-section { grid-template-columns: 1fr; gap: 35px; } .play-copy h2 { font-size: 55px; } .passport { max-width: none; }
  .game { padding: 23px; box-shadow: 6px 6px 0 #ffffff10; } .mode-grid { grid-template-columns: 1fr; } .mode { padding: 25px; }
  .mode-art { height: 190px; } .mode h3 { margin-top: 0; } .mode p { min-height: 0; } .learn-strip { padding: 23px; gap: 18px; }
  .learn-mark { font-size: 32px; } .learn-strip > div { flex: 1; min-width: 160px; } .learn-strip h3 { font-size: 23px; }
  .stores { flex-direction: column; gap: 0; } .store-link { max-width: 100%; }
  footer { flex-wrap: wrap; } footer > span { font-size: 10px; } footer > div { width: 100%; justify-content: space-between; gap: 12px; }
  #friend-invite-hero:not([hidden]) { flex-direction: column; align-items: stretch; font-size: 14px; }
}
@media (max-width: 360px) {
  .game { padding: 17px; } .word-slots { gap: 4px; } .slot { width: 37px; } .hero-actions { gap: 14px; }
  .hero-perks { font-size: 9px; } .hero-tiles { gap: 5px; } .hero-tiles span { width: 39px; } .travel-note { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; }
}
