/* Gravapult: space-age launch poster. Flat colour, cream outlines, hard offset shadows, slightly crooked stickers. */
/* Bowlby One v25 and Outfit v15. License notices are in fonts/. */
@font-face {
  font-family: "Bowlby One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/bowlby-one-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --navy: #0B1B2B; --deep: #06111C; --cream: #F0EBD9; --flame: #F05733; --gold: #F0AD5C;
  --cyan: #7AD4E0; --lilac: #B9B6EA; --rust: #B25E38; --teal: #388F9E;
  --disp: "Bowlby One", "Arial Black", sans-serif;
  --body: "Outfit", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--navy); }
body { margin: 0; background: var(--navy); color: var(--cream); font: 400 17px/1.55 var(--body); }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- hero ---------- */
.hero { position: relative; text-align: center; padding-block: 44px 24px; }
.kicker { display: inline-block; font: 800 13px var(--body); letter-spacing: .2em; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 6px 16px; border-radius: 99px; transform: rotate(-2deg); }
h1 { font: 400 clamp(3rem, 12.5vw, 10rem)/.86 var(--disp); color: var(--cream); text-shadow: .045em .045em 0 var(--flame); margin-block: 18px 14px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.tag { font: 600 clamp(1.1rem, 2.4vw, 1.6rem)/1.3 var(--body); max-width: 28ch; margin-inline: auto; }
.tag strong { font-weight: 600; color: var(--gold); }
.spark { position: absolute; color: var(--cream); pointer-events: none; }
.s1 { width: 26px; height: 26px; top: 40px; left: 9%; }
.s2 { width: 16px; height: 16px; top: 150px; right: 7%; }
.s3 { width: 20px; height: 20px; top: 34px; right: 18%; color: var(--gold); }

.stores { display: flex; flex-wrap: wrap; gap: 14px 16px; justify-content: center; margin-block: 26px 34px; }
/* Not links yet: proud but inert. No hover, no shadow, default cursor. */
.soon { font: 800 16px var(--body); padding: 12px 22px; border: 3px solid var(--cream); border-radius: 14px; background: var(--navy); color: var(--cream); cursor: default; }
.soon::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .55em; border-radius: 50%; background: var(--gold); vertical-align: .08em; }

.window { position: relative; border: 6px solid var(--cream); border-radius: 28px; overflow: hidden; box-shadow: 12px 12px 0 var(--rust); background: var(--deep); }
.window canvas { display: block; width: 100%; aspect-ratio: 16 / 9; }
.window canvas.aiming { touch-action: none; }
.caption { position: absolute; top: 14px; left: 50%; transform: translateX(-50%) rotate(-1deg); width: max-content; max-width: calc(100% - 28px); font: 800 15px/1.3 var(--body); background: var(--navy); color: var(--cream); border: 3px solid var(--cream); border-radius: 99px; padding: 6px 16px; pointer-events: none; }
.caption:empty { display: none; }

.btn { display: inline-block; margin-top: 34px; font: 800 17px var(--body); color: var(--navy); background: var(--flame); border: 3px solid var(--cream); border-radius: 14px; padding: 13px 26px; box-shadow: 5px 5px 0 var(--gold); cursor: pointer; text-decoration: none; transition: transform .08s, box-shadow .08s; }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--gold); }

/* ---------- how it plays ---------- */
h2 { font: 400 clamp(2rem, 5vw, 3.2rem)/1 var(--disp); text-shadow: .05em .05em 0 var(--flame); text-align: center; }
.how { padding-block: 76px 8px; }
.how h2 { margin-bottom: 40px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 26px; text-align: center; }
.steps svg { width: 96px; height: 96px; }
.steps h3 { font: 400 26px/1.1 var(--disp); margin-block: 12px 6px; }
.steps h3 span { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; margin-right: .4em; font-size: .75em; line-height: 1; vertical-align: .15em; border-radius: 50%; background: var(--gold); color: var(--navy); transform: rotate(-6deg); }
.steps p { max-width: 26ch; margin-inline: auto; }

/* ---------- mode cards ---------- */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; padding-block: 72px 56px; }
.card { --r: -1.2deg; position: relative; border: 3px solid var(--cream); border-radius: 22px; padding: 28px 22px 24px; color: var(--navy); background: var(--gold); transform: rotate(var(--r)); transition: transform .15s; }
.card:nth-child(2) { --r: .8deg; background: var(--cyan); }
.card:nth-child(3) { --r: -.6deg; background: var(--lilac); }
.card small { position: absolute; top: -16px; right: 16px; font: 800 12px var(--body); letter-spacing: .12em; text-transform: uppercase; background: var(--navy); color: var(--cream); padding: 6px 12px; border-radius: 99px; border: 2px solid var(--cream); }
.card h3 { font: 400 30px/1 var(--disp); margin-bottom: 10px; }
.card p { font-weight: 600; line-height: 1.4; }

/* ---------- sticker facts ---------- */
.stickers { list-style: none; padding: 0 0 80px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 14px; }
.stickers li { --r: -2deg; font: 800 16px var(--body); padding: 9px 18px; border: 3px solid var(--cream); border-radius: 99px; background: var(--navy); color: var(--cream); transform: rotate(var(--r)); transition: transform .15s; }
.stickers li:nth-child(2) { --r: 1.2deg; background: var(--gold); color: var(--navy); }
.stickers li:nth-child(3) { --r: -1deg; background: var(--cyan); color: var(--navy); }
.stickers li:nth-child(4) { --r: .8deg; background: var(--lilac); color: var(--navy); }
.stickers li:nth-child(5) { --r: -1.6deg; }
.card:hover, .stickers li:hover { transform: translateY(-3px) rotate(0deg); }

/* Settle in once, from a visible state. */
.in { animation: settle .7s cubic-bezier(.34, 1.56, .64, 1) backwards; }
.in:nth-child(2) { animation-delay: .08s; }
.in:nth-child(3) { animation-delay: .16s; }
.in:nth-child(4) { animation-delay: .24s; }
.in:nth-child(5) { animation-delay: .32s; }
@keyframes settle { from { transform: translateY(14px) rotate(calc(var(--r) * -2)); } }

/* ---------- flame band ---------- */
.band { background: var(--flame); border-block: 6px solid var(--cream); text-align: center; padding-block: 44px 10px; }
.band h2 { font-size: clamp(1.8rem, 5vw, 3.4rem); color: var(--cream); text-shadow: .05em .05em 0 var(--navy); }

/* ---------- footer ---------- */
.foot { background: var(--deep); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; }
.foot .mark { font: 400 22px var(--disp); text-shadow: .045em .045em 0 var(--flame); }
.foot p { font-size: 15px; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; text-align: center; padding-block: 48px; }
.lost h1 { font-size: clamp(2.6rem, 10vw, 6rem); }
.lost p { font-weight: 600; font-size: 1.2rem; }

/* ---------- privacy ---------- */
.foot .mark { text-decoration: none; }
.legal { max-width: 760px; padding-block: 44px 72px; }
.legal h1 { font-size: clamp(2.4rem, 9vw, 4.5rem); }
.legal h2 { font-size: 1.6rem; text-align: left; margin-block: 44px 10px; }
.legal p + p, .legal ul, .legal ul + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a:not(.btn) { color: var(--gold); }
.legal .card { --r: -.6deg; margin-top: 36px; }
.legal .card h2 { margin-top: 0; text-shadow: none; }

@media (max-width: 780px) {
  .steps, .modes { grid-template-columns: minmax(0, 1fr); }
  .modes { gap: 38px; }
  .s2 { top: 120px; }
}
@media (max-width: 600px) {
  .caption { top: 8px; font-size: 12px; padding: 3px 12px; border-width: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
