/* blockability.ai: the hub around the game (/play/). The game's Toy Shaft colours and fonts (web/src/tokens.css).
   font-display: optional (both fonts preloaded): a font that misses the first paint is skipped rather than swapped in,
   which moved the Play button (Lighthouse CLS 0.108 on a phone). */
@font-face { font-family: 'Outfit'; src: url('/play/fonts/Outfit-latin.woff2') format('woff2'); font-weight: 500 800; font-display: optional; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('/play/fonts/PlusJakartaSans-latin.woff2') format('woff2'); font-weight: 500 700; font-display: optional; }
:root {
  --bg-0: #04121A; --bg-1: #07202A; --text: #F2FBFA; --text-2: #A9C4C4; --text-3: #6F8E90; --amber: #FFB02E;
  --on-amber: #1A1200; --rim: #7FF5EA; --glass: rgba(255,255,255,.08); --glass-border: rgba(255,255,255,.16);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg-0); }
body { margin: 0; min-height: 100vh; color: var(--text); font: 500 17px/1.55 'Plus Jakarta Sans', system-ui, sans-serif; background: radial-gradient(120% 70% at 50% 0%, #124250 0%, #07202A 45%, #04121A 100%) fixed; -webkit-font-smoothing: antialiased; }
.world { position: fixed; inset: 0; z-index: -1; background: url('/play/img/bg-menu.webp') center top / cover no-repeat; opacity: .55; }
@media (min-aspect-ratio: 1/1) { .world { background-image: url('/play/img/bg-menu-wide.webp'); } }
a { color: var(--rim); }
img { max-width: 100%; height: auto; display: block; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 18px max(16px, env(safe-area-inset-left)) 0; max-width: 1120px; margin: 0 auto; }
.mark img { width: 170px; }
.pill { font: 800 15px/1 Outfit, system-ui, sans-serif; letter-spacing: .02em; color: var(--text); text-decoration: none; padding: 12px 20px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-border); }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.hero { text-align: center; padding: 9vh 0 6vh; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero h1 { margin: 0; width: min(560px, 88vw); }
.hero h1 img { width: 100%; filter: drop-shadow(0 8px 24px rgba(0,0,0,.5)); }
.lead { margin: 0; font: 700 clamp(19px, 2.6vw, 26px)/1.3 Outfit, system-ui, sans-serif; color: var(--text-2); }
.lead em { font-style: normal; color: var(--amber); }
.play { display: inline-block; margin-top: 8px; padding: 20px 40px; border-radius: 999px; background: linear-gradient(180deg,#FFC24F 0%,#FF9E26 100%); color: var(--on-amber); text-decoration: none; font: 800 clamp(19px, 2.4vw, 23px)/1 Outfit, system-ui, sans-serif; letter-spacing: .01em; box-shadow: 0 8px 28px rgba(255,176,46,.40), inset 0 1px 0 rgba(255,255,255,.45); }
.play:hover { filter: brightness(1.06); }
.play:focus-visible, .pill:focus-visible, a:focus-visible { outline: 3px solid var(--rim); outline-offset: 3px; }
.promise { margin: 0; color: var(--text-3); font-weight: 600; font-size: 15px; }
.stores { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 18px; justify-content: center; align-items: flex-start; }
.stores li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stores img { height: 44px; width: auto; }
.stores .soon img { opacity: .5; filter: grayscale(1); }
.stores span { font: 700 12px/1 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 2vh 0 6vh; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shots figure { margin: 0; border-radius: 20px; overflow: hidden; background: var(--glass); border: 1px solid var(--glass-border); }
.shots figcaption { padding: 10px 14px 14px; font-size: 14px; color: var(--text-2); }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

.how h2 { font: 800 clamp(26px, 3.4vw, 36px)/1.1 Outfit, system-ui, sans-serif; margin: 0 0 18px; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.cards article { padding: 20px 22px; border-radius: 24px; background: rgba(10,38,48,.72); border: 1px solid var(--glass-border); }
.cards h3 { margin: 0 0 6px; font: 800 20px/1.2 Outfit, system-ui, sans-serif; color: var(--text); }
.cards p { margin: 0; color: var(--text-2); font-size: 16px; }
.since { text-align: center; color: var(--text-3); font-size: 15px; margin: 22px 0 0; }

footer { max-width: 1120px; margin: 7vh auto 0; padding: 22px 16px max(28px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.08); text-align: center; color: var(--text-3); font-size: 14px; }
footer a { color: var(--text-2); }

/* the privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 5vh 0 0; }
.doc h1 { font: 800 clamp(30px, 4vw, 42px)/1.1 Outfit, system-ui, sans-serif; margin: 0 0 6px; }
.doc h2 { font: 800 22px/1.25 Outfit, system-ui, sans-serif; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); }
.doc .updated { color: var(--text-3); margin: 0 0 24px; }
