:root {
  color-scheme: light;
  --ink: #3e2723;
  --ink-soft: #795548;
  --cream: #fbf3e6;
  --surface: #fffdf8;
  --orange: #e98528;
  --orange-dark: #bd621d;
  --green: #3f8c57;
  --green-dark: #2e6b43;
  --red: #bf4c45;
  --yellow: #e8b82f;
  --gray: #aaa5a0;
  --blue: #5d78b5;
  --line: #ead9c5;
  --shadow: 0 18px 48px rgba(62, 39, 35, .14);
  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
.landing-page { user-select: none; -webkit-user-select: none; }
.landing-page .guess-input { user-select: text; -webkit-user-select: text; }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--ink); color: var(--surface); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header, main, .site-footer { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 84px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-decoration: none; }
.brand img { display: block; object-fit: contain; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: 24px; color: var(--ink-soft); font-size: .82rem; }
.site-header nav a, .site-footer nav a { text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--orange-dark); }
.nav-play { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--ink); color: var(--ink) !important; font-weight: 850; }
.nav-play:hover { background: var(--ink); color: var(--surface) !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { min-width: 0; letter-spacing: -.055em; overflow-wrap: break-word; }
h1, h2 { max-width: 13ch; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .94; text-wrap: balance; }
h1 { margin: 24px 0; max-width: 11ch; font-size: clamp(3rem, 5.8vw, 6.1rem); font-weight: 650; text-wrap: balance; }
h1 strong, h2 strong { color: var(--orange); font-weight: 750; }
h2 { margin-bottom: 25px; font-weight: 650; }
h3 { margin: 4px 0 8px; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 750; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border: 1px solid transparent; font-size: .9rem; font-weight: 900; text-decoration: none; transition: transform .18s ease, background-color .18s ease; }
.button:hover { transform: translateY(-2px); }
button:focus-visible, .button:focus-visible, .play-tile:focus-visible, .guess-input:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.button-primary { background: var(--orange); color: #fffaf2; box-shadow: 5px 5px 0 var(--orange-dark); }
.button-primary:hover { background: var(--orange-dark); }
.button-light { background: var(--surface); color: var(--ink); box-shadow: 5px 5px 0 var(--orange); }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(30px, 5vw, 72px); align-items: center; min-height: 680px; padding: 56px 0 78px; }
.hero-copy { position: relative; z-index: 2; min-width: 0; max-width: 560px; }
.hero-logo { display: inline-block; width: 106px; }
.hero-logo img { display: block; width: 100%; height: auto; }
.hero-lede { max-width: 470px; margin-bottom: 31px; color: var(--ink-soft); font-size: 1.1rem; }
.letter-playground { position: relative; min-width: 0; min-height: 590px; isolation: isolate; overflow: hidden; background: var(--ink); border-radius: 38px; box-shadow: var(--shadow); transform: translateZ(0); }
.letter-playground::before, .letter-playground::after { position: absolute; content: ""; pointer-events: none; border-radius: 50%; }
.letter-playground::before { width: 330px; height: 330px; right: -120px; top: -120px; background: var(--orange); opacity: .95; }
.letter-playground::after { width: 220px; height: 220px; bottom: -95px; left: -85px; background: var(--green); opacity: .85; }
.playground-word { position: absolute; z-index: 1; top: 42%; left: 50%; max-width: calc(100% - 190px); color: rgba(255, 253, 248, .95); font-size: clamp(2rem, 5vw, 5rem); font-weight: 900; letter-spacing: .05em; line-height: 1.05; overflow-wrap: anywhere; text-align: center; white-space: pre-wrap; transform: translate3d(calc(-50% + var(--pointer-x, 0px)), calc(-50% + var(--pointer-y, 0px)), 0) rotate(-5deg); transition: transform .35s ease, opacity .35s ease; }
.playground-word.is-changing { opacity: .3; transform: translate3d(-50%, -50%, 0) scale(.92) rotate(4deg); }
.playground-score { position: absolute; z-index: 4; top: 22px; right: 28px; display: grid; gap: 0; color: #f5d8aa; text-align: right; }
.playground-score span { font-size: .66rem; font-weight: 900; letter-spacing: .15em; }
.playground-score strong { color: #fff8ee; font-size: 2.2rem; line-height: 1; }
.play-tile { position: absolute; z-index: 3; display: grid; place-items: center; width: clamp(48px, 7vw, 74px); aspect-ratio: 1; border-radius: 13px; color: #fffaf2; font-size: clamp(1.45rem, 3vw, 2.4rem); font-weight: 900; cursor: pointer; user-select: none; box-shadow: 0 8px 0 rgba(0,0,0,.18), 0 14px 25px rgba(0,0,0,.2); animation: tile-drift 6s ease-in-out infinite alternate; transition: transform .18s ease, filter .18s ease; }
.play-tile:hover, .play-tile.selected { filter: brightness(1.14); transform: scale(1.12) rotate(0deg) !important; }
.play-tile.selected { box-shadow: 0 0 0 4px var(--surface), 0 8px 0 rgba(0,0,0,.18); }
.tile-green { background: var(--green); }
.tile-yellow { background: var(--yellow); color: var(--ink); }
.tile-gray { background: var(--gray); }
.tile-orange { background: var(--orange); }
.tile-red { background: var(--red); }
.tile-1 { top: 13%; left: 22%; --tilt: -11deg; animation-delay: -.8s; }
.tile-2 { top: 23%; left: 45%; --tilt: 8deg; animation-delay: -2.4s; }
.tile-3 { top: 17%; right: 14%; --tilt: 17deg; animation-delay: -1.5s; }
.tile-4 { top: 54%; left: 7%; --tilt: 9deg; animation-delay: -3.1s; }
.tile-5 { top: 63%; left: 29%; --tilt: -5deg; animation-delay: -.4s; }
.tile-6 { top: 62%; right: 25%; --tilt: 12deg; animation-delay: -2.7s; }
.tile-7 { bottom: 16%; right: 7%; --tilt: -15deg; animation-delay: -1.1s; }
.tile-8 { bottom: 10%; left: 48%; --tilt: 4deg; animation-delay: -3.5s; }
.tile-9 { top: 39%; left: 17%; --tilt: -18deg; animation-delay: -1.9s; }
.tile-10 { top: 37%; right: 5%; --tilt: 6deg; animation-delay: -.7s; }
.tile-11 { bottom: 26%; left: 10%; --tilt: 15deg; animation-delay: -2.1s; }
.tile-12 { bottom: 31%; right: 42%; --tilt: -8deg; animation-delay: -4s; }
.mode-orbit { position: absolute; z-index: 2; display: grid; place-items: center; width: 82px; height: 82px; border: 1px solid rgba(255,253,248,.28); border-radius: 50%; animation: orbit-float 7s ease-in-out infinite alternate; }
.mode-orbit img { width: 56px; height: 56px; object-fit: contain; }
.orbit-classic { top: 6%; left: 5%; animation-delay: -2s; }
.orbit-marathon { right: 28%; bottom: 7%; animation-delay: -4s; }
.orbit-daily { right: 4%; bottom: 34%; animation-delay: -1s; }
.playground-hint, .playground-status { position: absolute; z-index: 4; left: 24px; margin: 0; color: rgba(255,253,248,.7); font-size: .76rem; line-height: 1.3; }
.playground-hint { bottom: 28px; max-width: 125px; font-weight: 800; }
.playground-status { top: 22px; left: 24px; max-width: min(52%, 230px); color: #f5d8aa; overflow-wrap: anywhere; }
.playground-reset { position: absolute; z-index: 4; right: 24px; bottom: 25px; padding: 0; border: 0; background: transparent; color: rgba(255,253,248,.72); cursor: pointer; font-size: .76rem; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.playground-reset:hover { color: #fff8ee; }
.letter-playground.word-complete { box-shadow: 0 0 0 5px var(--yellow), var(--shadow); }
.playground-confetti { position: absolute; z-index: 6; inset: 0; pointer-events: none; }
.playground-confetti span { position: absolute; top: 52%; left: 50%; width: 9px; height: 15px; border-radius: 2px; background: var(--confetti-color); animation: confetti-burst .9s cubic-bezier(.16,.8,.28,1) var(--confetti-delay) both; }
.scroll-bridge { position: fixed; inset: 0; z-index: 8; pointer-events: none; visibility: hidden; opacity: 0; }
.scroll-bridge.is-active { visibility: visible; }
.bridge-tile { position: absolute; display: grid; place-items: center; width: 48px; aspect-ratio: 1; border-radius: 10px; color: #fffaf2; font-size: 1.35rem; font-weight: 900; box-shadow: 0 6px 0 rgba(0,0,0,.18), 0 12px 24px rgba(0,0,0,.18); will-change: left, top, transform, opacity; }
.mode-section, .how-section, .score-section, .faq { border-top: 1px solid var(--line); }
.mode-section { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(40px, 7vw, 104px); padding: 90px 0 110px; }
.section-intro p:last-child { max-width: 310px; color: var(--ink-soft); font-size: .96rem; }
.mode-playground { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 38px 30px; min-width: 0; }
.mode-stage { position: relative; display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 21px; align-items: center; min-width: 0; min-height: 205px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.mode-stage-marathon, .mode-stage-daily { grid-template-columns: 1fr 118px; }
.mode-art { position: relative; display: grid; place-items: center; min-height: 145px; }
.mode-art img { width: 108px; height: 102px; object-fit: contain; }
.mode-art-target { transform: rotate(-6deg); }
.mode-art-boot { transform: rotate(5deg); }
.mode-art-infinity { transform: rotate(-4deg); }
.mode-art-calendar { transform: rotate(5deg); }
.mode-name { margin: 0 0 7px; color: var(--orange-dark); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.mode-stage-marathon .mode-name { color: var(--green); }
.mode-stage-free .mode-name { color: var(--blue); }
.mode-stage-daily .mode-name { color: var(--red); }
.mode-copy { min-width: 0; }
.mode-copy p:last-child { max-width: 290px; margin: 0; color: var(--ink-soft); font-size: .9rem; }
.mode-art { cursor: pointer; outline: 0; }
.mode-art:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; }
.mode-stage-classic .mode-art:hover, .mode-stage-classic .mode-art:focus-visible { animation: target-replay .75s ease both; }
.mode-stage-marathon .mode-art:hover, .mode-stage-marathon .mode-art:focus-visible { animation: boot-replay .8s ease both; }
.mode-stage-free .mode-art:hover, .mode-stage-free .mode-art:focus-visible { animation: free-replay .8s ease both; }
.mode-stage-daily .mode-art:hover, .mode-stage-daily .mode-art:focus-visible { animation: daily-replay .75s ease both; }
.orbit-dot { position: absolute; right: 7px; top: 16px; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); animation: dot-pulse 1.8s ease-in-out infinite; }
.speed-line { position: absolute; left: 6px; width: 35px; height: 4px; border-radius: 4px; background: var(--green); transform: rotate(-18deg); }
.line-a { top: 51px; }
.line-b { top: 69px; left: 17px; width: 24px; opacity: .6; }
.calendar-mark { position: absolute; top: 41px; left: 50%; color: var(--red); font-size: .8rem; font-weight: 900; transform: translateX(-50%); }
.how-section { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(46px, 8vw, 124px); align-items: center; min-width: 0; padding: 90px 0 110px; }
.how-copy { min-width: 0; }
.how-copy > p { max-width: 500px; color: var(--ink-soft); font-size: 1rem; }
.steps { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fffaf2; font-size: .75rem; font-weight: 900; }
.steps strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.guess-demo { position: relative; min-width: 0; max-width: 500px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.guess-demo-head { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 20px; color: var(--ink-soft); font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.guess-board { display: grid; gap: 8px; min-height: 244px; max-width: 340px; margin-inline: auto; align-content: end; }
.guess-empty { align-self: center; max-width: 220px; margin: auto; color: var(--ink-soft); font-size: .82rem; text-align: center; }
.guess-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.guess-cell { display: grid; place-items: center; aspect-ratio: 1; border-radius: 9px; color: #fffaf2; font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 900; transform-style: preserve-3d; }
.guess-cell.correct { background: var(--green); }
.guess-cell.misplaced { background: var(--yellow); color: var(--ink); }
.guess-cell.absent { background: var(--gray); }
.guess-cell.is-revealed { animation: guess-flip .52s cubic-bezier(.22,.61,.36,1) var(--flip-delay, 0ms) both; }
.guess-demo.is-solved { border-color: var(--green); }
.guess-demo.is-solved .guess-board { animation: pop-in .42s ease both; }
.guess-controls { display: flex; gap: 8px; max-width: 340px; margin: 20px auto 0; }
.guess-input { min-width: 0; flex: 1; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--cream); color: var(--ink); font: inherit; font-size: .82rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.guess-input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-color: var(--orange); }
.guess-button { padding: 11px 16px; border: 1px solid var(--orange); border-radius: 999px; background: transparent; color: var(--orange-dark); cursor: pointer; font-size: .82rem; font-weight: 900; white-space: nowrap; }
.guess-button:hover { background: var(--orange); color: #fffaf2; }
.guess-presets { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; max-width: 340px; margin: 15px auto 0; color: var(--ink-soft); font-size: .68rem; font-weight: 800; }
.guess-presets button, .demo-keyboard button { min-width: 34px; min-height: 32px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: .72rem; font-weight: 900; }
.guess-presets button:hover, .demo-keyboard button:hover { border-color: var(--orange); color: var(--orange-dark); }
.demo-keyboard { display: flex; flex-wrap: wrap; gap: 5px; max-width: 340px; margin: 13px auto 0; }
.demo-keyboard button { flex: 1 0 30px; }
.demo-keyboard .key-backspace { flex-grow: 1.5; }
.guess-actions { display: flex; min-height: 32px; align-items: center; justify-content: center; gap: 14px; }
.guess-note { min-height: 1.2em; margin: 16px 0 0; color: var(--ink-soft); font-size: .78rem; text-align: center; }
.guess-retry { margin-top: 16px; padding: 0; border: 0; background: transparent; color: var(--orange-dark); cursor: pointer; font-size: .78rem; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.guess-retry:hover { color: var(--ink); }
.score-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 120px); align-items: center; min-width: 0; padding: 90px 0 110px; }
.score-copy p { max-width: 390px; color: var(--ink-soft); }
.text-cta { display: inline-flex; gap: 10px; margin-top: 18px; color: var(--orange-dark); font-size: .9rem; font-weight: 900; text-underline-offset: 4px; }
.score-demo { position: relative; width: 100%; max-width: 520px; justify-self: end; overflow: hidden; padding: 42px; background: var(--green); border-radius: 28px; color: var(--surface); box-shadow: var(--shadow); }
.score-demo::after { position: absolute; right: -45px; bottom: -65px; width: 190px; height: 190px; border: 24px solid rgba(255,253,248,.13); border-radius: 50%; content: ""; }
.score-demo > p { margin-bottom: 22px; color: #d5ecd9; font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
.score-word { display: flex; gap: 8px; margin-bottom: 30px; }
.score-word span { display: grid; place-items: center; width: clamp(42px, 7vw, 65px); aspect-ratio: 1; border-radius: 10px; background: var(--surface); color: var(--green-dark); font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 900; }
.score-result { display: grid; gap: 4px; }
.score-result strong { font-size: 1.3rem; }
.score-result span { color: #d5ecd9; font-size: .92rem; }
.score-result b { color: var(--surface); font-size: 1.12rem; }
.score-track { height: 8px; margin-top: 30px; overflow: hidden; border-radius: 8px; background: rgba(255,253,248,.23); }
.score-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--yellow); transition: width 1.2s cubic-bezier(.22,.61,.36,1); }
.score-demo.is-counted .score-track span { width: 78%; }
.score-replay { margin-top: 20px; padding: 0; border: 0; background: transparent; color: #d5ecd9; cursor: pointer; font-size: .78rem; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.score-replay:hover { color: var(--surface); }
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; min-width: 0; margin-bottom: 112px; padding: 54px 60px; background: var(--ink); color: var(--surface); }
.cta-band h2 { margin: 0 0 14px; color: var(--surface); }
.cta-band p { margin-bottom: 24px; color: #ead7c6; }
.cta-letters { display: flex; justify-content: center; gap: 8px; }
.cta-letters span { display: grid; place-items: center; width: clamp(48px, 7vw, 70px); aspect-ratio: 1; background: var(--orange); color: #fffaf2; border-radius: 12px; font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 900; box-shadow: 0 7px 0 var(--orange-dark); transform: rotate(var(--rotation, -4deg)); animation: closing-tile 3s ease-in-out infinite alternate; }
.cta-letters span:nth-child(2) { --rotation: 5deg; animation-delay: -.4s; background: var(--yellow); color: var(--ink); }
.cta-letters span:nth-child(3) { --rotation: -7deg; animation-delay: -.8s; background: var(--green); }
.cta-letters span:nth-child(4) { --rotation: 4deg; animation-delay: -1.2s; background: var(--red); }
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; padding: 0 0 100px; }
.faq h2 { margin-top: 0; font-size: clamp(2.4rem, 4vw, 4.1rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 19px 0; list-style: none; font-size: 1.05rem; font-weight: 750; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { float: right; color: var(--orange-dark); content: "+"; font-size: 1.3rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 600px; margin: -3px 0 20px; color: var(--ink-soft); font-size: .92rem; }
.faq a { color: var(--orange-dark); text-underline-offset: 3px; }
.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: end; padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .8rem; }
.footer-brand p { margin: 9px 0 0; }
.site-footer nav { flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.copyright { margin: 0; white-space: nowrap; }

@keyframes tile-drift { from { margin-top: -8px; transform: translateY(-4px) rotate(calc(var(--tilt, 0deg) - 4deg)); } to { margin-top: 12px; transform: translateY(8px) rotate(calc(var(--tilt, 0deg) + 4deg)); } }
@keyframes orbit-float { from { transform: translate3d(-8px, 6px, 0) rotate(-8deg); } to { transform: translate3d(10px, -10px, 0) rotate(8deg); } }
@keyframes dot-pulse { 0%, 100% { transform: scale(.8); opacity: .55; } 50% { transform: scale(1.2); opacity: 1; } }
@keyframes guess-flip { 0% { transform: rotateX(90deg); opacity: .35; } 65% { transform: rotateX(-8deg); opacity: 1; } 100% { transform: rotateX(0); opacity: 1; } }
@keyframes pop-in { from { transform: scale(.7); opacity: .2; } to { transform: scale(1); opacity: 1; } }
@keyframes confetti-burst { from { opacity: 0; transform: translate3d(-50%, -50%, 0) rotate(0) scale(.3); } 12% { opacity: 1; } to { opacity: 0; transform: translate3d(calc(-50% + var(--confetti-x)), calc(-50% + var(--confetti-y)), 0) rotate(var(--confetti-r)) scale(1); } }
@keyframes target-replay { 0%, 100% { transform: rotate(-6deg) translate3d(0, 0, 0); } 45% { transform: rotate(18deg) translate3d(0, -10px, 0); } }
@keyframes boot-replay { 0%, 100% { transform: rotate(5deg) translate3d(0, 0, 0); } 45% { transform: rotate(-4deg) translate3d(16px, 0, 0); } }
@keyframes free-replay { 0%, 100% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(8deg) scale(1.12); } }
@keyframes daily-replay { 0%, 100% { transform: rotate(5deg) translateY(0); } 45% { transform: rotate(-5deg) translateY(-9px); } }
@keyframes closing-tile { from { transform: translateY(4px) rotate(var(--rotation)); } to { transform: translateY(-6px) rotate(var(--rotation)); } }

@media (max-width: 1100px) and (min-width: 901px) {
  .hero { gap: 30px; }
  h1 { max-width: 10.5ch; font-size: clamp(3rem, 5.4vw, 5.2rem); }
  .hero-lede { max-width: 380px; font-size: 1rem; }
  .letter-playground { min-height: 530px; }
}

@media (max-width: 900px) {
  .site-header, main, .site-footer { width: min(100% - 40px, 680px); }
  .site-header nav { gap: 13px; font-size: .74rem; }
  .site-header nav a:not(.nav-play) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 46px 0 70px; }
  .hero-copy { max-width: 590px; }
  h1 { max-width: 12ch; font-size: clamp(3.4rem, 11vw, 5.8rem); }
  .letter-playground { min-height: 500px; }
  .mode-section, .how-section, .score-section, .faq { grid-template-columns: 1fr; gap: 34px; }
  .mode-section, .how-section, .score-section { padding: 72px 0 84px; }
  .mode-playground { grid-template-columns: 1fr 1fr; }
  .score-demo { justify-self: stretch; max-width: none; }
  .cta-band { margin-bottom: 82px; padding: 42px 30px; }
}
@media (max-width: 620px) {
  .site-header, main, .site-footer { width: min(100% - 28px, 520px); }
  .site-header { min-height: 72px; }
  .brand { font-size: .68rem; }
  .brand img { width: 38px; height: 45px; }
  .nav-play { padding: 8px 10px; }
  h1 { max-width: 11ch; font-size: clamp(3.1rem, 15vw, 5.2rem); }
  .hero-logo { width: 84px; }
  .hero-lede { font-size: 1rem; }
  .letter-playground { min-height: 405px; border-radius: 25px; }
  .play-tile { width: 47px; border-radius: 9px; box-shadow: 0 5px 0 rgba(0,0,0,.18); }
  .playground-word { font-size: 2.65rem; }
  .playground-score { top: 19px; right: 20px; }
  .playground-hint { bottom: 22px; left: 19px; }
  .playground-status { top: 17px; left: 19px; max-width: 52%; font-size: .68rem; }
  .mode-playground { grid-template-columns: 1fr; gap: 0; }
  .mode-stage, .mode-stage-marathon, .mode-stage-daily { grid-template-columns: 86px 1fr; min-height: 148px; gap: 17px; }
  .mode-stage-marathon .mode-copy, .mode-stage-daily .mode-copy { grid-column: 2; grid-row: 1; }
  .mode-stage-marathon .mode-art, .mode-stage-daily .mode-art { grid-column: 1; grid-row: 1; }
  .mode-art { min-height: 106px; }
  .mode-art img { width: 75px; height: 72px; }
  .mode-copy p:last-child { font-size: .88rem; }
  .guess-demo { padding: 18px; border-radius: 20px; }
  .guess-demo-head { font-size: .58rem; }
  .guess-cell { border-radius: 7px; }
  .guess-controls { display: grid; grid-template-columns: 1fr; }
  .guess-button { width: 100%; }
  .score-demo { padding: 30px 24px; border-radius: 22px; }
  .score-word { gap: 6px; }
  .cta-band { grid-template-columns: 1fr; gap: 30px; padding: 36px 24px; }
  .cta-letters { justify-content: flex-start; }
  .faq { padding-bottom: 70px; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; }
  .site-footer nav { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .site-header, main, .site-footer { width: calc(100% - 24px); }
  .site-header nav { min-width: 0; }
  .nav-play { max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero { gap: 24px; padding-top: 34px; }
  h1 { max-width: 10ch; font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .hero-lede { max-width: 270px; font-size: .94rem; }
  .letter-playground { min-height: 370px; border-radius: 22px; }
  .playground-word { max-width: calc(100% - 72px); font-size: clamp(1.8rem, 10vw, 2.65rem); text-align: center; }
  .play-tile { width: 42px; font-size: 1.25rem; }
  .tile-3, .tile-4, .tile-9, .tile-10, .tile-11 { display: none; }
  .mode-orbit { width: 62px; height: 62px; }
  .mode-orbit img { width: 43px; height: 43px; }
  .playground-status { max-width: 165px; }
  .playground-reset { right: 18px; bottom: 20px; }
  .guess-demo-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .guess-presets { align-items: flex-start; }
  .score-demo { padding-inline: 18px; }
  .score-word span { width: 42px; }
  .cta-band { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .scroll-bridge { display: none; }
}
