/* BUZZD website: one shared stylesheet for the landing, privacy and terms pages. */

/* Self-hosted fonts (SIL Open Font License). No third-party requests. */
@font-face {
  font-family: "Baloo 2";
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/baloo2-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-weight: 200 1000;
  font-display: swap;
  src: url("/fonts/nunito-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibmplexmono-500-latin.woff2") format("woff2");
}

:root {
  /* the app's dark palette (DESIGN.md §3); every colour on the site routes through these */
  --ink: #101418;          /* outline on every sticker; text on accents */
  --ink-deep: #0a0d10;     /* hard shadows */
  --page: #0a0d10;         /* behind the sheets */
  --sheet: #101418;
  --sheet-cut: #3d4650;    /* kiss-cut border, dashed empty states, dividers */
  --sticker: #1A2027;      /* neutral stickers, cards, chips, panels */
  --well: #273038;         /* tiles, image wells, tracks */
  --text: #FFFFFF;
  --text-2: #B4BDC6;
  --text-3: #8b949e;       /* mono labels, 12px and up, on sheet or sticker only */
  --green: #3CE07B;
  --green-text: #6FF0A0;
  --yellow: #FFD93D;
  --pink: #FF5FA2;
  --silver: #CDD4DA;       /* can lids and silver can art */
  --white: #FFFFFF;        /* white can art, filled rating cans */
  --display: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green-text); outline-offset: 3px; border-radius: 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; }

/* ---------- sticker sheet ---------- */
.sheet {
  position: relative;
  max-width: 1400px;
  margin: 20px auto;
  padding: 64px 72px 72px;
  background: var(--sheet);
  border-radius: 34px;
  box-shadow: 0 2px 0 var(--ink-deep);
}
.sheet::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px dashed var(--sheet-cut);
  border-radius: 24px;
  pointer-events: none;
}
.sheet > * { position: relative; }

/* ---------- stickers ---------- */
.stk {
  display: inline-block;
  background: var(--sticker);
  color: var(--text);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 5px 0 var(--ink-deep);
}
.stk--green { background: var(--green); color: var(--ink); }
.stk--yellow { background: var(--yellow); color: var(--ink); }
.stk--pink { background: var(--pink); color: var(--ink); }
.cut { filter: drop-shadow(0 5px 0 var(--ink-deep)); }

.label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 18px 52px 14px;
  background: var(--green);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 9px 0 var(--ink-deep);
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: translate .15s ease, box-shadow .15s ease;
}
.cta:active { translate: 0 6px; box-shadow: 0 3px 0 var(--ink-deep); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cta:hover { translate: 0 -4px; box-shadow: 0 13px 0 var(--ink-deep); }
}
.smallprint { margin-top: 18px; font-size: 1rem; font-weight: 700; display: flex; flex-wrap: wrap; gap: 0 10px; align-items: center; }
.smallprint span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.smallprint span:not(:last-child)::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text); }

/* ---------- section headings as stickers ---------- */
.h2stk {
  font-size: clamp(2.75rem, 5.4vw, 4.75rem);
  padding: 14px 26px 6px;
  rotate: -2deg;
}
/* Section headings take three treatments so the page doesn't open every section the same way:
   the tilted sticker (How it works), plain display type, and plain type with a yellow underline. */
.h2plain { font-size: clamp(3rem, 6.2vw, 5.5rem); letter-spacing: -0.03em; }
.h2mark span { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .09em; text-underline-offset: .14em; }

/* =================== HERO =================== */
.hero { padding-top: 40px; min-height: 860px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 24px; }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.wordmark {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.03em;
  font-size: 2.125rem; line-height: 1; padding: 8px 16px 2px; rotate: -3deg;
}

.hero h1 { font-size: 7rem; line-height: 1; margin-left: -6px; }
.hero h1 .w { display: inline-block; padding: .08em .2em 0; margin: 0 .06em .14em 0; vertical-align: middle; }
.w1 { rotate: -3deg; }
.w2 { font-size: .46em; rotate: 3deg; translate: 0 -.25em; }
.w3 { font-size: .7em; rotate: -1.5deg; margin-left: .7em !important; }

/* the rip: "you rip." is a sealed pack top. Two halves share one zigzag tear (the same points drive both clip-paths and the edge strokes). */
.peel {
  display: inline-block; position: relative; font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: left;
  font-size: 1.12em; rotate: 2.5deg; margin-top: .02em; vertical-align: middle;
  cursor: pointer; -webkit-tap-highlight-color: transparent; z-index: 5;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --snap: cubic-bezier(.65, 0, .35, 1);
}
.peel:focus-visible { outline-offset: 8px; border-radius: 24px; }
.peel-ghost {
  position: absolute; inset: 0;
  background: var(--sheet);
  border: 3px solid var(--sheet);
  border-radius: 22px;
  box-shadow: 0 0 0 2px var(--sheet-cut);
}
.peel-half { position: relative; z-index: 1; display: inline-block; filter: drop-shadow(0 6px 0 var(--ink-deep)); transition: transform .22s var(--snap); }
.peel-half--bot { position: absolute; inset: 0; z-index: 3; }
.peel-face {
  position: relative; display: inline-block;
  padding: .06em .62em 0 .2em;
  background: var(--green);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 22px;
}
.peel-half--top .peel-face { clip-path: polygon(0 0, 100% 0, 100% 50%, 87.5% 43%, 75% 57%, 62.5% 43%, 50% 57%, 37.5% 43%, 25% 57%, 12.5% 43%, 0 50%); }
.peel-half--bot .peel-face { display: block; height: 100%; clip-path: polygon(0 50%, 12.5% 43%, 25% 57%, 37.5% 43%, 50% 57%, 62.5% 43%, 75% 57%, 87.5% 43%, 100% 50%, 100% 100%, 0 100%); }
.peel-edge { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.peel-edge polyline { fill: none; stroke: var(--ink); stroke-opacity: .4; stroke-width: 3; stroke-dasharray: 7 6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

.peel-reveal { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pull {
  position: absolute; right: -6%; bottom: 36%; width: clamp(76px, .95em, 124px);
  padding: 7px 7px 8px; border-radius: 22px; rotate: 9deg;
  opacity: 0; translate: 0 55%; scale: .55; transform-origin: 50% 100%;
  transition: opacity .12s linear, translate .16s ease-in, scale .16s ease-in;
}
.pull .well { border-radius: 14px; }
.gain {
  position: absolute; z-index: 4; right: -4%; bottom: -16%; rotate: -9deg; pointer-events: none;
  font-family: var(--display); font-weight: 800; font-size: 1.625rem; line-height: 1; white-space: nowrap;
  background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 0 4px 0 var(--ink-deep);
  padding: 7px 13px 3px; opacity: 0; scale: 1.4;
  transition: opacity .1s linear, scale .1s ease-in;
}

.peel.is-ripped .peel-edge polyline { stroke-dasharray: none; stroke-width: 5; stroke-opacity: 1; }
/* The tear is sudden, the card slides out of it, the "+10 BZ" slaps on last; closing is faster than opening. */
.peel.is-ripped .peel-half--top { transform: translate(-1%, -6%) rotate(-3deg); transform-origin: 0 55%; transition: transform .3s var(--ease); }
.peel.is-ripped .peel-half--bot { transform: translateY(17%) rotate(.8deg); transform-origin: 100% 50%; transition: transform .3s var(--ease) .04s; }
.peel.is-ripped .pull { opacity: 1; translate: 0 -26%; scale: 1; transition: opacity .1s linear .1s, translate .55s var(--ease) .1s, scale .45s var(--ease) .1s; }
.peel.is-ripped .gain { opacity: 1; scale: 1; transition: opacity .08s linear .3s, scale .24s var(--ease) .3s; }

/* wide screens: the card rises beside the tear instead of over the yellow sticker above */
@media (min-width: 901px) {
  .pull { bottom: 24%; right: -12%; }
  .peel.is-ripped .pull { translate: 0 -8%; }
}
@media (prefers-reduced-motion: no-preference) {
  .peel-half--top { animation: nudge .6s var(--ease) 1.1s; transform-origin: 0 55%; }
}
@keyframes nudge { 35% { transform: translateY(-3%) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) {
  .peel-half, .pull, .gain { transition: opacity .15s linear !important; }
}

.hero-copy { margin-top: 26px; max-width: 610px; }
.subline { padding: 20px 24px; font-size: 1.1875rem; font-weight: 600; rotate: -.6deg; }
.hero-cta { margin-top: 30px; padding-left: 6px; }

/* collage: one fixed composition in em units, scaled to its column so nothing shifts */
.collage { container-type: inline-size; align-self: center; }
.collage-box { position: relative; font-size: min(0.625rem, calc(100cqw / 56)); width: 56em; height: 57em; margin: 0 auto; }
.collage-box > * { position: absolute; }
.c-chip { left: 0; top: 0; rotate: -4deg; z-index: 3; }
.c-mascot { width: 33em; left: 2em; top: 6.5em; rotate: -4deg; z-index: 2; }
.c-pack { width: 16em; left: 36.5em; top: 2em; rotate: 9deg; z-index: 1; }
.c-card { width: 16.5em; left: 37em; top: 27em; rotate: -5deg; z-index: 3; }
.c-dex { left: 1.5em; top: 40em; rotate: 1.8deg; z-index: 4; max-width: 33em; }
.c-rate { left: 28em; top: 50em; rotate: -3deg; z-index: 4; }
.collage-box .chip { gap: 1.2em; padding: .8em 1.6em .8em 1em; }
.collage-box .bz { font-size: 2em; }
.collage-box .meter { width: 12em; height: 1.6em; }
.collage-box .chip .txt { font-size: 1.6em; }
.collage-box .dexrow { gap: 1.4em; padding: 1.2em 1.8em 1.2em 1.2em; }
.collage-box .dexrow svg { width: 4em; }
.collage-box .dexrow p { font-size: 1.6em; }
.collage-box .dexrow strong { font-size: 1.375em; }
.collage-box .dexrow span { font-size: 1em; }
.collage-box .rating { gap: .6em; padding: 1.2em 1.4em; }
.collage-box .rating svg { width: 2.4em; }
.collage-box .card { padding: .9em .9em 1em; border-radius: 2.8em; }
.collage-box .card .well { border-radius: 1.9em; }
.collage-box .card .stars svg { width: 1.8em; }
.collage-box .card .cap { font-size: 1.4em; }

/* reusable bits */
.chip { display: inline-flex; align-items: center; gap: 12px; background: var(--sticker); color: var(--text); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px 8px 10px; }
.bz { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1; background: var(--well); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 9px 1px; }
.meter { width: 120px; height: 16px; border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; background: var(--well); }
.meter i { display: block; height: 100%; width: var(--fill, 70%); background: var(--green); border-right: 2px solid var(--ink); }
.chip .txt { font-weight: 800; font-size: 0.9375rem; }

.dexrow { display: flex; gap: 14px; align-items: center; padding: 12px 18px 12px 12px; }
.dexrow svg { width: 40px; flex: none; }
.dexrow strong { display: block; font-family: var(--display); font-size: 1.375rem; line-height: 1.05; }
.dexrow span { font-size: 1rem; font-weight: 600; }

.rating { display: flex; gap: 6px; padding: 12px 14px; align-items: end; }
.rating svg { width: 24px; }

.card {
  background: var(--sticker); color: var(--text); border: 3px solid var(--ink); border-radius: 28px; padding: 9px 9px 10px;
  box-shadow: 0 6px 0 var(--ink-deep);
}
.card .well { border: 3px solid var(--ink); border-radius: 19px; background: var(--yellow); aspect-ratio: 3 / 3.4; display: grid; place-items: center; position: relative; overflow: hidden; }
.card .well svg.can { width: 42%; }
.card .stars { position: absolute; top: 8px; left: 8px; display: flex; gap: 2px; }
.card .stars svg { width: 18px; }
.card .cap { display: block; font-weight: 800; font-size: 0.875rem; line-height: 1.2; margin: 8px 4px 0; }

/* =================== HOW IT WORKS: peel path =================== */
.how h2 { margin-bottom: 40px; }
.path { position: relative; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.path-line { position: absolute; left: 0; top: 0; width: 100%; height: 330px; z-index: 0; pointer-events: none; }
.path-line--v { display: none; }
.stop { position: relative; z-index: 1; display: grid; justify-items: start; align-content: start; }
.stop:nth-child(even) { margin-top: 120px; }
.obj { height: 180px; display: flex; align-items: center; margin-bottom: 14px; }
.stop-text { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; max-width: 30ch; }
.num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--text); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; padding-top: 4px;
  grid-row: span 2; align-self: start;
}
.stop h3 { font-size: 2rem; line-height: 1.05; margin-bottom: 4px; }
.stop p { font-size: 1.0625rem; line-height: 1.5; color: var(--text); grid-column: 2; }

.o-can { width: 92px; rotate: -8deg; }
.o-rate { padding: 14px 16px; gap: 8px; rotate: 4deg; }
.o-rate svg { width: 30px; }
.o-meter { padding: 12px 20px 12px 12px; rotate: -3deg; flex-direction: column; align-items: flex-start; gap: 8px; border-width: 3px; box-shadow: 0 5px 0 var(--ink-deep); }
.o-meter { position: relative; }
.o-meter .row { display: flex; align-items: center; gap: 10px; }
.bz-plus { position: absolute; right: -16px; top: -22px; rotate: 7deg; font-family: var(--display); font-weight: 800; font-size: 1.375rem; line-height: 1; white-space: nowrap; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 0 4px 0 var(--ink-deep); padding: 6px 12px 2px; }
.o-meter .meter { width: 150px; height: 20px; }
.o-meter .label { font-size: 0.8125rem; }
.o-pack { width: 108px; rotate: 7deg; }

.loop {
  position: relative; margin: 160px 0 0; display: block;
  padding: 28px 40px 30px; rotate: -1deg;
}
/* the mascot stands on the sticker's top edge */
.loop img { position: absolute; width: 150px; right: 48px; bottom: calc(100% - 14px); rotate: -6deg; }
.loop p { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.875rem); line-height: 1.1; }
.loop p small { display: block; font-family: var(--body); font-weight: 600; font-size: 1.25rem; line-height: 1.45; margin-top: 8px; max-width: 62ch; }
.how-cta { display: none; }

/* =================== COLLECTIONS =================== */
.cols-head { margin-bottom: 44px; }
.collections { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.coll h3 { font-size: 3.25rem; display: inline-block; }
.coll .lede { font-size: 1.1875rem; margin: 12px 0 24px; max-width: 36ch; }

/* Dex: grid of can tiles */
.coll--dex { padding: 30px; rotate: -1.2deg; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--well); border: 3px solid var(--ink); border-radius: 18px; padding: 14px 8px 10px; display: grid; justify-items: center; gap: 8px; position: relative; }
.tile svg.can { width: 44%; max-width: 64px; }
.tile .label { font-size: 0.8125rem; letter-spacing: .02em; color: var(--text-2); white-space: nowrap; display: flex; text-transform: none; }
.tile .label span + span::before { content: "\00a0·\00a0"; }
.tag { position: absolute; top: -12px; right: -8px; display: inline-block; border: 2px solid var(--ink); border-radius: 99px; padding: 1px 10px; font-weight: 800; font-size: 0.8125rem; background: var(--sticker); color: var(--text); line-height: 1.5; rotate: 6deg; }
.tag--new { background: var(--green); color: var(--ink); left: -8px; right: auto; rotate: -6deg; }

/* Binder: ring page, fanned hand + empty slots */
.coll--binder { position: relative; padding: 30px 30px 34px 60px; rotate: 1.4deg; margin-top: 40px; background: var(--sticker); border: 3px solid var(--ink); border-radius: 10px 26px 26px 10px; box-shadow: 0 5px 0 var(--ink-deep); }
.rings { position: absolute; left: 16px; top: 40px; bottom: 40px; display: flex; flex-direction: column; justify-content: space-around; }
.rings i { width: 20px; height: 20px; border-radius: 50%; background: var(--sheet); border: 3px solid var(--ink); }
/* the fanned hand is in flow, sized in % so it always fits the page */
.hand { display: flex; justify-content: center; max-width: 480px; margin: 0 auto; padding: 14px 0 22px; }
.hand .card { position: relative; flex: none; width: 31%; padding: 7px 7px 8px; border-radius: 22px; }
.hand .tag { font-size: 0.9375rem; top: -14px; right: -10px; padding: 2px 12px; background: var(--yellow); color: var(--ink); rotate: 8deg; }
.hand .card + .card { margin-left: 1.5%; }
.hand .card .well { border-radius: 14px; }
.hand .card .cap { font-size: 0.8125rem; margin-top: 6px; }
.hand .card:nth-child(1) { rotate: -7deg; margin-top: 12px; }
.hand .card:nth-child(2) { rotate: -1deg; z-index: 2; }
.hand .card:nth-child(3) { rotate: 7deg; margin-top: 12px; z-index: 3; }
.well--plain { background: var(--well) !important; }
.well--white { background: var(--well) !important; }
.slots { display: flex; gap: 12px; }
.slot { flex: 1; border: 3px dashed var(--sheet-cut); border-radius: 16px; display: grid; place-items: center; align-content: center; gap: 4px; padding: 12px 6px; color: var(--text-2); }
.slot svg { width: 26px; opacity: .55; }
.slot span { font-weight: 800; font-size: 0.8125rem; text-align: center; }
.greedy { display: table; margin: 0 0 18px auto; rotate: 2deg; padding: 10px 16px; font-weight: 800; font-size: 1rem; max-width: 240px; line-height: 1.3; }

/* =================== FAIR PLAY =================== */
.fair-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "big fine" "cta fine"; gap: 0 48px; margin-top: 44px; align-items: start; }
.fair-big { grid-area: big; }
.fine { grid-area: fine; }
.mid-cta { grid-area: cta; }
.fair-big { padding: 34px 38px 36px; rotate: -1.5deg; }
.fair-big h3 { font-size: clamp(3rem, 5vw, 4.5rem); line-height: .98; margin-bottom: 14px; }
.fair-big p { font-size: 1.1875rem; font-weight: 600; max-width: 40ch; }
.fine { display: flex; flex-direction: column; gap: 22px; }
.fine li { width: 90%; background: var(--sticker); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink-deep); padding: 16px 20px 17px; }
.fine h3 { font-size: 1.375rem; line-height: 1.1; margin-bottom: 6px; }
.fine p { font-size: 1.0625rem; line-height: 1.5; }
.fine li:nth-child(1) { border-radius: 14px; rotate: .8deg; }
.fine li:nth-child(2) { border-radius: 26px; rotate: -.8deg; margin-left: 10%; }
.fine li:nth-child(3) { border-radius: 8px; rotate: .6deg; margin-left: 4%; }
.mid-cta { margin-top: 48px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.mid-cta p { font-family: var(--display); font-weight: 800; font-size: 1.875rem; line-height: 1.1; padding: 10px 18px 4px; rotate: 1.5deg; }

/* =================== COLLECTOR PASS (inside Fair) =================== */
.pass { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 48px; align-items: center; margin-top: 56px; padding: 30px 40px 34px; rotate: -.8deg; }
.pass .soon { display: inline-block; background: var(--sticker); color: var(--text); border: 2px solid var(--ink); border-radius: 99px; padding: 4px 14px; rotate: 3deg; margin-bottom: 14px; }
.pass h3 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.pass .lede { font-size: 1.1875rem; font-weight: 700; margin: 12px 0 0; max-width: 40ch; }
.perks { display: grid; gap: 8px; }
.perks li { position: relative; padding-left: 30px; font-size: 1.125rem; font-weight: 800; }
.perks li::before { content: ""; position: absolute; left: 6px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.perks li span { font-weight: 600; }

/* Fair: the mascot fills the heading row's empty right side */
.sheet > .fair-mascot { position: absolute; right: 120px; top: 8px; width: 180px; rotate: 6deg; }

/* =================== FAQ =================== */
.faq-head { margin-bottom: 36px; }
.faq-head .h2plain { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.faqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 56px; }
.qa h3 { font-size: 1.625rem; line-height: 1.1; margin-bottom: 10px; }
.qa p { font-size: 1.125rem; max-width: 62ch; }

/* =================== CLOSE =================== */
.close { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 30px; align-items: center; padding-top: 80px; padding-bottom: 90px; }
.close h2 { font-size: clamp(3.25rem, 8.9vw, 8rem); line-height: 1; }
.close h2 .w { display: inline-block; padding: .07em .2em 0; margin-bottom: .12em; }
.close h2 .w:first-child { rotate: -2.5deg; }
.close h2 .w:last-child { font-size: .62em; rotate: 4deg; margin-left: 1.4em; }
.close .after { margin-top: 28px; font-size: 1.375rem; font-weight: 700; padding: 14px 20px; rotate: -.6deg; }
.close .after + .cta { margin-top: 30px; }
.close-art { container-type: inline-size; }
/* one empty-state moment: the shocked mascot beside an empty Dex tile */
.close-cluster { position: relative; font-size: min(0.6875rem, calc(100cqw / 46)); width: 46em; height: 36em; margin: 0 auto; }
.empty-tile {
  position: absolute; right: 0; top: 1em; width: 24em; height: 32em; rotate: 3deg;
  border: 3px dashed var(--sheet-cut); border-radius: 22px;
  display: grid; align-content: center; justify-items: center; padding: 0 1.5em 0 7em; text-align: center;
}
.empty-tile span { font-weight: 800; font-size: 1.0625rem; line-height: 1.3; color: var(--text-2); max-width: 11em; }
.close-art .shock { position: absolute; width: 29em; left: 0; bottom: 0; rotate: -6deg; z-index: 2; }

/* =================== FOOTER =================== */
.foot { padding: 50px 72px 46px; display: grid; grid-template-columns: auto 1fr; gap: 20px 60px; align-items: start; }
.foot .wordmark { font-size: 2.75rem; }
.foot p { font-size: 1rem; max-width: 68ch; }
.foot .indie { font-weight: 700; font-size: 1.125rem; margin-bottom: 14px; text-wrap: balance; }
.foot nav ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 14px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot .legal { color: var(--text-2); }

/* =================== MOBILE =================== */
@media (max-width: 900px) {
  body { font-size: 1.0625rem; }
  .sheet { margin: 8px; padding: 34px 18px 38px; border-radius: 26px; }
  .sheet::before { inset: 7px; border-radius: 19px; }

  .hero { display: block; min-height: 0; padding-top: 24px; }
  .topbar { margin-bottom: 22px; }
  .wordmark { font-size: 1.75rem; }
  .hero h1 { font-size: clamp(2.875rem, 15vw, 5.5rem); margin-left: 0; }
  /* one sticker per line, staggered, at every width under 900px */
  .hero h1 .w, .hero h1 .peel { display: block; width: fit-content; }
  .hero h1 .w { margin-bottom: .1em; }
  .w2 { font-size: .66em; rotate: 4deg; translate: 0; margin-left: 1.3em !important; }
  .w3 { font-size: .66em; margin-left: .1em !important; }
  .peel { font-size: 1.1em; margin-left: .45em; }
  .hero-copy { margin-top: 16px; }
  .subline { font-size: 1.0625rem; padding: 14px 16px; }
  .hero-cta { margin-top: 22px; padding-left: 0; }
  .cta { min-height: 72px; font-size: 1.3125rem; width: 100%; max-width: 26rem; padding-left: 12px; padding-right: 12px; border-radius: 24px; }
  .h2stk { font-size: 2.5rem; padding: 12px 18px 4px; }
  .h2plain { font-size: 2.75rem; }
  .faq-head .h2plain { font-size: 2.375rem; }

  .collage { margin-top: 30px; }
  .collage-box { font-size: min(0.8125rem, calc(100cqw / 30)); width: 30em; height: 37em; }
  .c-card, .c-rate { display: none; }
  .c-chip { left: 0; top: 0; rotate: -3deg; }
  .collage-box .meter { width: 8em; }
  .c-mascot { width: 18em; left: 0; top: 5em; }
  .c-pack { width: 10.5em; left: 18.5em; top: 4.5em; }
  .c-card { width: 11em; left: 18.5em; top: 19.5em; }
  .c-rate { left: 2em; top: 25em; }
  .c-dex { left: 0; top: 26em; max-width: 30em; rotate: 1.2deg; }

  .how h2 { margin-bottom: 28px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .path-line--h { display: none; }
  .path-line--v { display: block; left: 0; top: 0; width: 120px; height: 100%; }
  .stop { grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; align-items: center; margin-top: 0 !important; }
  .obj { height: auto; min-height: 100px; margin: 0; justify-content: center; width: 112px; }
  .stop-text { grid-template-columns: auto 1fr; column-gap: 10px; }
  .num { width: 32px; height: 32px; font-size: 1.1875rem; }
  .stop h3 { font-size: 1.5625rem; }
  .stop p { font-size: 1rem; grid-column: 1 / -1; margin-top: 4px; }
  .o-can { width: 58px; }
  .o-rate { padding: 8px 8px; gap: 3px; }
  .o-rate svg { width: 16px; }
  .o-meter { padding: 8px 10px; gap: 6px; }
  .o-meter .meter { width: 50px; height: 14px; }
  .o-meter .label { font-size: 0.75rem; }
  .o-meter .bz { font-size: 0.9375rem; padding: 4px 7px 1px; }
  .bz-plus { font-size: 1rem; right: -10px; top: -18px; padding: 5px 9px 1px; border-width: 2px; box-shadow: 0 3px 0 var(--ink-deep); }
  .o-meter .row { gap: 6px; }
  .o-pack { width: 82px; }
  .loop { margin-top: 110px; padding: 16px 18px 18px; }
  .loop img { width: 92px; right: 24px; bottom: calc(100% - 10px); }
  .loop p { font-size: 1.625rem; }
  .loop p small { font-size: 1rem; }
  .how-cta { display: inline-flex; margin-top: 30px; }
  .sheet > .fair-mascot { display: none; }

  .cols-head { margin-bottom: 30px; }
  .collections { grid-template-columns: 1fr; gap: 34px; }
  .coll h3 { font-size: 2.5rem; }
  .coll .lede { font-size: 1rem; margin: 8px 0 18px; }
  .coll--dex { padding: 20px 16px; rotate: -.8deg; }
  .tiles { gap: 9px; }
  .tile { padding: 10px 4px 8px; gap: 6px; }
  .tile .label { font-size: 0.75rem; letter-spacing: 0; flex-direction: column; align-items: center; line-height: 1.25; }
  .tile .label span + span::before { content: none; }
  .tag { font-size: 0.75rem; padding: 0 8px; top: -10px; right: -4px; }
  .tag--new { left: -4px; right: auto; }
  .coll--binder { padding: 20px 14px 22px 42px; margin-top: 0; rotate: .8deg; }
  .rings { left: 11px; }
  .rings i { width: 16px; height: 16px; }
  .hand { padding: 10px 0 18px; }
  .hand .card { padding: 5px 5px 6px; border-radius: 16px; }
  .hand .card .well { border-radius: 11px; }
  .hand .card .cap { font-size: 0.75rem; margin: 5px 2px 0; }
  .hand .card .stars svg { width: 14px; }
  .pull { bottom: 30%; }
  .peel.is-ripped .pull { translate: 0 -10%; }
  .gain { right: -10%; bottom: -30%; font-size: 1.125rem; padding: 6px 11px 2px; }
  .greedy { font-size: 1rem; max-width: 230px; padding: 8px 12px; margin-bottom: 14px; }
  .slot { padding: 8px 4px; }
  .slot span { font-size: 0.75rem; }

  .fair-wrap { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "big" "fine" "cta"; gap: 26px; margin-top: 30px; }
  .fair-big { padding: 22px 20px 24px; rotate: -1deg; }
  .fair-big h3 { font-size: 2.5rem; }
  .fair-big p { font-size: 1rem; }
  .fine { gap: 16px; }
  .fine li { width: 92%; padding: 13px 16px 14px; }
  .fine li:nth-child(2) { margin-left: 8%; }
  .fine li:nth-child(3) { margin-left: 3%; }
  .fine h3 { font-size: 1.3125rem; }
  .fine p { font-size: 1rem; }
  .mid-cta { margin-top: 8px; gap: 18px; }
  .mid-cta p { font-size: 1.5rem; }

  .pass { grid-template-columns: 1fr; margin-top: 34px; padding: 22px 18px 24px; rotate: -1deg; }
  .pass .lede { font-size: 1.0625rem; }
  .perks li { font-size: 1.0625rem; }

  .faq-head { margin-bottom: 26px; }
  .faqs { grid-template-columns: 1fr; gap: 22px; }
  .qa h3 { font-size: 1.375rem; margin-bottom: 8px; }
  .qa p { font-size: 1rem; }

  .close { display: flex; flex-direction: column; align-items: stretch; padding-top: 34px; padding-bottom: 40px; }
  .close h2 { font-size: clamp(3.125rem, 10vw, 6rem); }
  .close h2 .w:last-child { margin-left: .6em; }
  .close .after { font-size: 1.125rem; margin-top: 18px; }
  .close .after + .cta { margin-top: 22px; }
  .close-art { order: -1; margin-bottom: 22px; }
  .close-cluster { font-size: min(0.5625rem, calc(100cqw / 48)); }
  .empty-tile span { font-size: 1rem; }

  .foot { grid-template-columns: 1fr; padding: 32px 18px; gap: 10px; }
  .foot .wordmark { font-size: 2.125rem; justify-self: start; }
  .foot .indie { font-size: 1rem; }
}
@media (max-width: 380px) {
  .pull { right: -21%; width: 68px; }
  .hand .card .stars { top: 5px; left: 5px; gap: 1px; }
  .hand .card .stars svg { width: 10px; }
  .smallprint { font-size: 0.9375rem; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 2.75rem; }
  .peel { margin-left: .2em; }
  .cta { font-size: 1rem; padding-left: 8px; padding-right: 8px; }
  .close h2 { font-size: 2.875rem; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .cta { font-size: 1.625rem; padding-left: 30px; padding-right: 30px; }
  .hero h1 { font-size: 5.25rem; }
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 50px; }
  .path-line--h { display: none; }
  .stop:nth-child(even) { margin-top: 60px; }
}

/* =================== SHARED: skip link =================== */
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 18px 8px; background: var(--yellow); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink-deep);
  font-family: var(--display); font-weight: 800; font-size: 1.125rem; text-decoration: none;
}
.skip:focus { top: 16px; }
main:focus { outline: none; }
.wordmark { text-decoration: none; color: var(--text); }

/* =================== LEGAL PAGES (reading mode) =================== */
.doc { padding-top: 40px; }
.doc .topbar { margin-bottom: 48px; gap: 16px; }
/* centre the reading column inside the sheet */
.doc .topbar, .doc-head, .doc-body { max-width: 980px; margin-left: auto; margin-right: auto; }
.cta--small { min-height: 48px; padding: 8px 20px 6px; border-width: 3px; font-size: 1.125rem; letter-spacing: normal; border-radius: 18px; box-shadow: 0 4px 0 var(--ink-deep); rotate: 1.5deg; }
.doc-head { margin-bottom: 44px; }
.draft {
  display: inline-block; margin-bottom: 22px; padding: 6px 14px 4px;
  border: 2px dashed var(--sheet-cut); border-radius: 16px; font-size: 0.875rem; color: var(--text-2);
}
.doc h1 { font-size: clamp(2.875rem, 6.4vw, 5.25rem); line-height: 1; }
.doc h1 .w { display: inline-block; padding: .08em .2em 0; margin: 0 .08em .12em 0; }
.doc h1 .w:first-child { rotate: -1.5deg; }
.doc h1 .w + .w { rotate: 1.2deg; }
.doc-lead { margin-top: 18px; font-size: 1.25rem; font-weight: 600; max-width: 56ch; }
.doc-dates { margin-top: 14px; font-family: var(--mono); font-weight: 500; font-size: 0.875rem; color: var(--text-3); }

.doc-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc {
  position: sticky; top: 24px;
  padding: 18px 20px 20px; border-width: 3px; border-radius: 20px; box-shadow: 0 4px 0 var(--ink-deep);
  rotate: -1deg;
}
.toc .label { display: block; font-size: 0.8125rem; margin-bottom: 10px; color: var(--text-3); }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  display: flex; align-items: center; min-height: 32px;
  font-family: var(--display); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none;
}
.toc a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.prose { min-width: 0; max-width: 72ch; font-size: 1.0625rem; line-height: 1.6; }
.prose h2 { margin: 52px 0 12px; font-size: 2.125rem; line-height: 1.08; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 6px; font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.01em; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--text-3); }
.prose strong { font-weight: 800; }
.prose a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }

.table {
  overflow-x: auto; margin: 8px 0 20px;
  background: var(--sticker); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink-deep);
}
.table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.table th {
  text-align: left; font-family: var(--mono); font-weight: 500; font-size: 0.8125rem; letter-spacing: .04em;
  text-transform: uppercase; padding: 12px 14px 10px; border-bottom: 2px solid var(--ink); background: var(--well);
}
.table td { padding: 11px 14px; border-top: 1px solid var(--sheet-cut); vertical-align: top; }
.table tr:first-child td { border-top: 0; }

.foot nav a[aria-current="page"] { text-decoration-style: wavy; color: var(--green-text); }

@media (max-width: 900px) {
  .doc { padding-top: 24px; }
  .doc .topbar { margin-bottom: 30px; }
  .topbar .cta--small { width: auto; font-size: 1.0625rem; padding: 8px 16px 6px; }
  .doc-head { margin-bottom: 28px; }
  .doc h1 { font-size: 2.875rem; }
  .doc-lead { font-size: 1.125rem; }
  .doc-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toc { position: static; rotate: -.6deg; }
  .prose h2 { margin-top: 42px; font-size: 1.8125rem; }
  .prose h3 { font-size: 1.25rem; }
}

/* narrow screens: each table row becomes a stacked block, each cell labelled by its column */
@media (max-width: 639px) {
  .table { overflow-x: visible; }
  .table table { min-width: 0; }
  .table table, .table tbody, .table tr, .table td { display: block; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table tr { padding: 12px 16px 14px; border-top: 2px solid var(--ink); }
  .table tbody tr:first-child { border-top: 0; }
  .table td { padding: 0; border: 0; }
  .table td + td { margin-top: 10px; }
  .table td::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3);
  }
}

