/* thud.kadirhan.dev: static, one self-hosted font, no cookies, nothing loaded from other sites.
   The look is the game's own arcade pass (design/art-direction.md): flat saturated sky, dark pillars with a
   yellow strip, heavy rounded type, outlined hero letters, and chunky pieces that sit on a darker "lip".
   The colours below are the Ember theme and its UI skin from Thud/UI/Palette.swift and Skin.swift. */
@font-face { font-family: Nunito; src: url(fonts/nunito-latin.woff2) format('woff2'); font-weight: 200 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: Nunito; src: url(fonts/nunito-latin-ext.woff2) format('woff2'); font-weight: 200 1000; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }

:root {
  --s0: #ff5a36; /* the sky ramp: combo 0 ... */
  --s1: #ff3f62;
  --s2: #e0389f;
  --s3: #8b3ff2;
  --s4: #3557ff; /* ... combo 8 */
  --pillar: #1b1035;
  --night: #150e2b; /* the app's Themes and Scores sheets */
  --card: #231b3a;
  --cream: #fff5e6;
  --yellow: #ffd23f;
  /* lips: the darker shade under each chunky piece (Skin.lip in the app) */
  --lip-yellow: #b7801a;
  --lip-pillar: #0d0726;
  --lip-cream: #c7b9a3;
  --lip-card: #120d26;
  /* outlined hero letters: an outline plus an extruded drop in the pillar colour */
  --hero-edge: 0.045em 0 0 var(--pillar), -0.045em 0 0 var(--pillar), 0 0.045em 0 var(--pillar), 0 -0.045em 0 var(--pillar),
    0.032em 0.032em 0 var(--pillar), -0.032em 0.032em 0 var(--pillar), 0.032em -0.032em 0 var(--pillar), -0.032em -0.032em 0 var(--pillar),
    0 0.075em 0 var(--pillar), 0 0.1em 0 var(--pillar), 0 0.12em 0 var(--pillar);
  --gutter: clamp(18px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 700 18px/1.5 Nunito, ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--cream);
  background: var(--night);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 1000; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 800px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* ---- top bar ---- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 1000; font-size: 24px; letter-spacing: -0.03em; text-decoration: none; text-transform: uppercase; }
.brand img { border-radius: 9px; }
.bar nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 26px); }
.bar .link { font-weight: 900; font-size: 16px; text-decoration: none; }
.bar .link:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--yellow); }
.chip { display: inline-grid; place-items: center; min-width: 46px; height: 36px; padding: 0 12px; border-radius: 99px; background: var(--pillar); color: var(--cream); font-weight: 1000; font-size: 14px; letter-spacing: 0.08em; text-decoration: none; box-shadow: 0 4px 0 var(--lip-pillar); transition: transform 0.12s, box-shadow 0.12s; }
.chip:hover { background: var(--cream); color: var(--pillar); box-shadow: 0 4px 0 var(--lip-cream); }
.chip:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--lip-pillar); }

/* ---- 1. hero: the canvas is the game, the words are HTML on top ---- */
.hero {
  position: relative;
  height: min(100svh, 900px);
  min-height: 620px;
  overflow: hidden;
  background: var(--s0);
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .bar { position: relative; z-index: 2; }
/* the BEST counter is a HUD chip: a yellow badge with a trophy, a caption and the number on a dark pill */
.hud { position: absolute; z-index: 1; left: var(--gutter); top: 84px; display: grid; grid-template-columns: auto auto; column-gap: 9px; align-items: center; padding: 5px 18px 5px 5px; border-radius: 99px; background: var(--pillar); box-shadow: 0 4px 0 var(--lip-pillar); pointer-events: none; }
.hud::before { content: ''; grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 3px 0 var(--lip-yellow);
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231b1035' d='M6 3h12v2h3v3a4 4 0 0 1-4 4h-.4A5 5 0 0 1 13 15.9V18h3v3H8v-3h3v-2.1A5 5 0 0 1 7.4 12H7a4 4 0 0 1-4-4V5h3V3zm0 4H5v1a2 2 0 0 0 1 1.7V7zm12 0v2.7A2 2 0 0 0 19 8V7h-1z'/%3E%3C/svg%3E") center / 20px no-repeat; }
.hud span { font-size: 10px; font-weight: 1000; letter-spacing: 0.16em; opacity: 0.85; line-height: 1.1; }
.hud b { font-size: 24px; font-weight: 1000; line-height: 1; letter-spacing: -0.02em; }
.words { position: absolute; z-index: 1; left: 0; right: 0; top: clamp(88px, 13vh, 130px); padding: 0 var(--gutter); display: grid; justify-items: center; text-align: center; pointer-events: none; }
.words > * { grid-column: 1; }
.intro, .run { grid-row: 1; }
/* the logotype: outlined, extruded, every letter tilted its own way; now and then they thud down in turn */
.hero h1 { font-size: clamp(104px, 27vw, 220px); letter-spacing: -0.02em; line-height: 0.86; text-transform: uppercase; margin-bottom: 30px; text-shadow: var(--hero-edge); }
.hero h1 span { display: inline-block; transform-origin: 50% 100%; animation: thud 3.2s cubic-bezier(0.3, 0, 0.3, 1) infinite; }
.hero h1 span:nth-child(1) { --tilt: -7deg; }
.hero h1 span:nth-child(2) { --tilt: 5deg; animation-delay: 0.08s; translate: 0 -0.06em; }
.hero h1 span:nth-child(3) { --tilt: -4deg; animation-delay: 0.16s; translate: 0 0.03em; }
.hero h1 span:nth-child(4) { --tilt: 6deg; animation-delay: 0.24s; translate: 0 -0.03em; }
@keyframes thud {
  0%, 16%, 100% { transform: rotate(var(--tilt, 0deg)); }
  5% { transform: rotate(var(--tilt, 0deg)) translateY(-0.2em) scale(0.96, 1.06); }
  9% { transform: rotate(var(--tilt, 0deg)) scale(1.14, 0.82); }
  12% { transform: rotate(var(--tilt, 0deg)) scale(0.97, 1.03); }
}
/* the how-to sits on a dark card, as in the app: cream on the bright sky would not be readable enough */
.howto { max-width: 34ch; margin: 0 auto; padding: 16px 22px; border-radius: 24px; background: var(--pillar); box-shadow: 0 5px 0 var(--lip-pillar); }
.lead { font-weight: 900; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.3; margin: 0 auto; }
.lead.dim { opacity: 0.85; margin-top: 4px; font-size: clamp(15px, 1.9vw, 18px); }
.score { font-size: clamp(120px, 29vw, 210px); font-weight: 1000; line-height: 0.86; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; text-shadow: var(--hero-edge); }
.score.pop { animation: pop 0.22s ease-out; }
@keyframes pop { 30% { transform: scale(1.12); } }
.mult { display: inline-block; margin-top: 26px; padding: 0 20px 2px; border-radius: 99px; background: var(--yellow); color: var(--pillar); font-size: 27px; font-weight: 1000; line-height: 1.45; box-shadow: 0 4px 0 var(--lip-yellow); visibility: hidden; }
.mult.on { visibility: visible; }
.pips { display: flex; width: max-content; gap: 5px; margin: 14px auto 0; padding: 5px 7px; border-radius: 99px; background: var(--pillar); }
.pips i { width: 22px; height: 9px; border-radius: 5px; background: rgba(255, 245, 230, 0.2); }
.pips i.on { background: var(--yellow); }
.over { grid-row: 2; margin-top: 22px; display: grid; justify-items: center; gap: 12px; }
/* run over: the verdict is a chip (yellow and bigger for a new best), the numbers sit on dark chips */
.verdict { padding: 0 20px; border-radius: 99px; background: var(--pillar); box-shadow: 0 4px 0 var(--lip-pillar); font-size: 18px; font-weight: 1000; letter-spacing: 0.07em; text-transform: uppercase; line-height: 42px; }
.verdict.hot { background: var(--yellow); color: var(--pillar); box-shadow: 0 5px 0 var(--lip-yellow); font-size: 22px; line-height: 50px; animation: burst 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
@keyframes burst { from { transform: scale(0.3) rotate(-10deg); opacity: 0; } }
.sub { font-size: 14px; font-weight: 1000; letter-spacing: 0.07em; color: var(--pillar); white-space: pre; }
.stats { padding: 0 14px; border-radius: 99px; background: var(--pillar); box-shadow: 0 3px 0 var(--lip-pillar); font-size: 14px; font-weight: 1000; letter-spacing: 0.07em; line-height: 32px; white-space: pre; }
.sub:empty, .stats:empty, .verdict:empty { display: none; }
/* the call to action is a yellow pill that breathes; the whole hero is the button */
.prompt { grid-row: 3; margin-top: 28px; padding: 0 26px; border-radius: 99px; background: var(--yellow); color: var(--pillar); box-shadow: 0 5px 0 var(--lip-yellow); font-size: 16px; font-weight: 1000; letter-spacing: 0.2em; line-height: 50px; text-transform: uppercase; animation: breathe 0.62s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.07); } }
.prompt .keys { display: none; }
@media (hover: hover) and (pointer: fine) {
  .prompt .keys { display: inline; }
  .prompt .touch { display: none; }
}
.hero[data-state='ready'] :is(.run, .over),
.hero[data-state='playing'] :is(.intro, .over, .prompt),
.hero[data-state='dead'] .intro { visibility: hidden; }
.hero[data-state='dead'] .mult, .hero[data-state='dead'] .pips { display: none; }
.dock { position: absolute; z-index: 1; left: 0; right: 0; bottom: max(22px, env(safe-area-inset-bottom)); display: flex; justify-content: center; padding: 0 var(--gutter); pointer-events: none; }
.soon { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px 12px 20px; border-radius: 99px; background: var(--cream); color: var(--pillar); font-weight: 1000; font-size: 17px; line-height: 1.2; box-shadow: 0 5px 0 var(--lip-cream), 0 0 0 4px var(--pillar), 0 9px 0 4px var(--pillar); }
.soon svg { flex: none; margin-top: -3px; }
a.soon { pointer-events: auto; text-decoration: none; }

/* ---- bands ---- */
.band { padding: clamp(60px, 9vw, 104px) 0; }
.band h2 { font-size: clamp(36px, 6.2vw, 60px); text-shadow: 0 0.08em 0 rgba(13, 7, 38, 0.6); }
.cream h2 { text-shadow: 0 0.08em 0 var(--yellow); }
.band .sub-h { margin-top: 14px; max-width: 56ch; font-size: clamp(17px, 2vw, 19px); opacity: 0.8; }
.night { background: var(--night); }
.cream { background: var(--cream); color: var(--pillar); }
.violet { background: var(--s3); }
.blue { background: var(--s4); }
.fine { margin-top: 26px; font-size: 14px; opacity: 0.6; max-width: 70ch; }
.more { font-weight: 1000; text-decoration-line: underline; text-decoration-thickness: 5px; text-underline-offset: 6px; text-decoration-color: var(--yellow); }
.more::after { content: ' →'; }

/* ---- 2. screenshots ---- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 30px); margin-top: 44px; align-items: start; }
.shots li:nth-child(even) { margin-top: 44px; }
.shots img { width: 100%; border-radius: clamp(20px, 2.6vw, 34px); box-shadow: 0 0 0 6px #2c2248, 0 14px 0 6px #0b0618; }
.shots li:nth-child(odd) img { rotate: -1.5deg; }
.shots li:nth-child(even) img { rotate: 1.5deg; }
.shots figcaption { margin-top: 16px; font-size: 15px; line-height: 1.4; opacity: 0.74; }

/* ---- 3. scoring: a staircase, one step per multiplier, in that step's sky colour ---- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.split p { margin-top: 18px; max-width: 46ch; }
.ladder { display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(4px, 1vw, 10px); align-items: end; height: clamp(230px, 34vw, 340px); }
.ladder li { position: relative; background: var(--c); color: var(--cream); border-radius: clamp(9px, 1.4vw, 16px) clamp(9px, 1.4vw, 16px) 0 0; display: flex; justify-content: center; padding-top: 14px; }
.ladder li::before { content: ''; position: absolute; top: -2px; left: 32%; right: 32%; height: 7px; border-radius: 4px; background: var(--yellow); }
.ladder b { font-size: clamp(15px, 2.3vw, 26px); font-weight: 1000; letter-spacing: -0.02em; text-shadow: 0 0.09em 0 rgba(13, 7, 38, 0.45); }
.ladder li:nth-child(1) { height: 30%; } .ladder li:nth-child(2) { height: 40%; } .ladder li:nth-child(3) { height: 50%; } .ladder li:nth-child(4) { height: 60%; }
.ladder li:nth-child(5) { height: 70%; } .ladder li:nth-child(6) { height: 80%; } .ladder li:nth-child(7) { height: 90%; } .ladder li:nth-child(8) { height: 100%; }
.cream { padding-bottom: 0; }
.cream .split > div:first-child { padding-bottom: clamp(48px, 8vw, 96px); }

/* ---- 4. themes: each card is drawn from that theme's own colours ---- */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 22px); margin-top: 44px; }
/* collectible cards: the scene on top, a name plate in that theme's own UI colours, a lip underneath */
.theme { background: var(--slab, var(--card)); color: var(--slabtext, var(--cream)); border-radius: 26px; overflow: hidden; box-shadow: 0 7px 0 color-mix(in srgb, var(--slab, var(--card)) 60%, #000); transition: transform 0.15s; }
.theme:hover { transform: translateY(-4px) rotate(-1deg); }
.scene { position: relative; aspect-ratio: 16 / 10; background: var(--sky); overflow: hidden; }
.scene i { position: absolute; display: block; }
.scene .sun { right: -18%; top: -62%; width: 76%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.scene .p { bottom: 0; background: var(--pillar); border-radius: 9px 9px 0 0; }
.scene .p::before { content: ''; position: absolute; top: -1px; left: 50%; width: 36%; height: 5px; margin-left: -18%; border-radius: 3px; background: var(--accent); }
.scene .p1 { left: 6%; width: 22%; height: 42%; }
.scene .p2 { left: 43%; width: 15%; height: 42%; }
.scene .p3 { left: 79%; width: 11%; height: 42%; }
.scene .ball, .scene .t { aspect-ratio: 1; border-radius: 50%; background: var(--ball); }
.scene .ball { left: 46%; top: 24%; width: 9%; }
.scene .t1 { left: 22%; top: 3%; width: 3%; opacity: 0.25; }
.scene .t2 { left: 28%; top: 13%; width: 4.5%; opacity: 0.35; }
.scene .t3 { left: 35%; top: 20%; width: 6.5%; opacity: 0.5; }
.theme .meta { padding: 16px 18px 18px; }
.theme h3 { font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; }
.theme p { margin-top: 5px; font-size: 14px; line-height: 1.3; opacity: 0.85; min-height: 2.6em; }
.ramp { display: flex; gap: 4px; margin-top: 10px; }
.ramp i { flex: 1; height: 9px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255, 245, 230, 0.14); }

/* ---- 5. features ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(24px, 4vw, 56px); margin-top: 52px; }
.features li::before { content: ''; display: block; width: 42px; height: 12px; border-radius: 6px; background: var(--yellow); box-shadow: 0 4px 0 var(--lip-yellow); margin-bottom: 18px; }
.features h3 { font-size: 22px; letter-spacing: -0.02em; }
.features p { margin-top: 8px; font-size: 16.5px; line-height: 1.45; opacity: 0.92; }

/* ---- 6. questions ---- */
.faq { margin: 36px 0 30px; }
.faq details { border-bottom: 3px solid rgba(255, 245, 230, 0.22); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: clamp(19px, 2.6vw, 23px); font-weight: 1000; letter-spacing: -0.02em; line-height: 1.2; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--pillar); box-shadow: 0 4px 0 var(--lip-pillar); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; background: var(--yellow); color: var(--pillar); box-shadow: 0 4px 0 var(--lip-yellow); }
.faq details p { padding: 0 50px 22px 0; }

/* ---- footer: one wide pillar, strip and all ---- */
.foot { background: var(--s4); padding: 0 var(--gutter); }
.page .foot { background: var(--night); margin-top: 72px; }
.ground { position: relative; max-width: 1160px; margin: 0 auto; background: var(--pillar); border-radius: 40px 40px 0 0; padding: 62px 0 46px; text-align: center; }
.page .ground { background: var(--card); }
.ground::before { content: ''; position: absolute; top: -2px; left: 50%; width: 150px; height: 14px; margin-left: -75px; border-radius: 7px; background: var(--yellow); }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 34px; font-weight: 1000; letter-spacing: -0.04em; text-transform: uppercase; }
.foot-brand img { border-radius: 11px; }
.foot-soon { margin: 14px auto 0; max-width: 40ch; opacity: 0.8; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 28px; }
.foot nav a { font-weight: 900; text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--yellow); }
.foot-fine { margin-top: 26px; font-size: 14.5px; opacity: 0.66; }
.foot-fine a { text-decoration: none; white-space: nowrap; }

/* ---- the other pages: an orange sky on top, pillars rising out of the dark page ---- */
.top { position: relative; background: var(--s0); padding-bottom: clamp(120px, 17vw, 180px); overflow: hidden; }
.top::before { content: ''; position: absolute; right: -8%; top: -70%; width: min(760px, 90vw); aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.top > * { position: relative; }
.head { padding-top: clamp(26px, 5vw, 56px); }
.head h1 { font-size: clamp(42px, 8.4vw, 82px); letter-spacing: -0.02em; text-shadow: var(--hero-edge); }
.answer { margin-top: 22px; padding: 16px 22px; border-radius: 22px; background: var(--pillar); box-shadow: 0 5px 0 var(--lip-pillar); font-size: clamp(18px, 2.3vw, 21px); font-weight: 800; line-height: 1.4; max-width: 56ch; }
.stamp { display: inline-block; margin-top: 16px; padding: 0 12px; border-radius: 99px; background: var(--pillar); font-size: 13px; font-weight: 1000; letter-spacing: 0.08em; line-height: 28px; text-transform: uppercase; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(84px, 12vw, 130px); }
.skyline i { position: absolute; bottom: 0; background: var(--night); border-radius: 14px 14px 0 0; }
.skyline i::before { content: ''; position: absolute; top: -1px; left: 50%; width: 34%; height: 8px; margin-left: -17%; border-radius: 4px; background: var(--yellow); }
.skyline i:nth-child(1) { left: -2%; width: 13%; height: 60%; }
.skyline i:nth-child(2) { left: 16%; width: 10%; height: 100%; }
.skyline i:nth-child(3) { left: 32%; width: 9%; height: 46%; }
.skyline i:nth-child(4) { left: 47%; width: 11%; height: 78%; }
.skyline i:nth-child(5) { left: 64%; width: 7%; height: 54%; }
.skyline i:nth-child(6) { left: 77%; width: 9%; height: 92%; }
.skyline i:nth-child(7) { left: 92%; width: 12%; height: 66%; }

.prose { padding-top: 22px; font-weight: 600; font-size: 18px; line-height: 1.62; color: rgba(255, 245, 230, 0.9); }
.prose h2 { margin: 46px 0 12px; font-size: clamp(24px, 3.4vw, 30px); line-height: 1.12; letter-spacing: -0.025em; color: var(--cream); }
.prose p { margin-top: 14px; }
.prose ul { margin-top: 14px; padding-left: 4px; }
.prose li { position: relative; padding-left: 26px; margin-top: 8px; }
.prose li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 14px; height: 6px; border-radius: 3px; background: var(--yellow); }
.prose a { color: var(--yellow); font-weight: 800; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose strong { font-weight: 900; color: var(--cream); }
.notice { margin-top: 26px !important; padding: 16px 20px; border-radius: 18px; background: var(--card); box-shadow: inset 6px 0 0 var(--yellow), 0 5px 0 var(--lip-card); color: var(--cream); font-weight: 800; }
.back { margin-top: 48px; }
.button { display: inline-block; padding: 13px 28px; border-radius: 99px; background: var(--yellow); color: var(--pillar); font-weight: 1000; font-size: 18px; text-decoration: none; box-shadow: 0 5px 0 var(--lip-yellow); transition: transform 0.12s, box-shadow 0.12s; }
.button:hover { background: var(--cream); box-shadow: 0 5px 0 var(--lip-cream); }
.button:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--lip-yellow); }

/* ---- narrower screens ---- */
@media (max-width: 900px) {
  .themes { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; align-items: start; }
  .cream .split > div:first-child { padding-bottom: 0; }
  /* screenshots become a row you swipe through */
  .shots { display: flex; gap: 16px; margin: 36px calc(-1 * var(--gutter)) 0; padding: 6px var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shots li { flex: 0 0 min(62vw, 280px); scroll-snap-align: center; }
  .shots li:nth-child(even) { margin-top: 0; }
}
@media (max-width: 560px) {
  .bar .link { display: none; }
  .brand { font-size: 22px; }
  .hud { top: 72px; }
  .words { top: 136px; }
  .hero h1 { margin-bottom: 22px; }
  .over { margin-top: 14px; gap: 9px; }
  .prompt { margin-top: 18px; }
  .features { grid-template-columns: 1fr; gap: 30px; }
  .theme { border-radius: 20px; }
  .theme .meta { padding: 12px 13px 14px; }
  .theme h3 { font-size: 15.5px; }
  .theme p { font-size: 13px; }
  .soon { font-size: 15.5px; padding: 11px 20px 11px 16px; }
  .faq details p { padding-right: 0; }
  .ground { border-radius: 28px 28px 0 0; padding: 52px 0 38px; }
}
@media (max-height: 700px) {
  .hero h1 { font-size: clamp(88px, 22vw, 150px); margin-bottom: 16px; }
  .score { font-size: clamp(100px, 24vw, 150px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .prompt, .score.pop, .hero h1 span, .verdict.hot { animation: none; }
  .hero h1 span { transform: rotate(var(--tilt, 0deg)); }
  .theme:hover { transform: none; }
}
