/* Categorica website. Colours mirror lib/core/theme/app_colors.dart. */

@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url("assets/fonts/Unbounded-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 600; font-display: swap; src: url("assets/fonts/Unbounded-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("assets/fonts/Figtree-Regular.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("assets/fonts/Figtree-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("assets/fonts/Figtree-Bold.woff2") format("woff2"); }

:root {
  --plum: #1A1420;
  --plum-2: #241C2A;
  --surface: #2D2434;
  --cream: #FBF5EA;
  --sand: #F0E6D6;
  --yellow: #FFD23F;
  --coral: #FF9A7A;
  --coral-deep: #C2583B;
  --lilac: #C9A6FF;
  --sky: #8FD0FF;
  --mint: #8FE3C0;
  --pink: #FFA8C9;
  --lime: #C5E86C;
  --muted: rgba(251, 245, 234, 0.7);
  --hero-gradient: linear-gradient(100deg, var(--yellow), var(--coral));
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --gutter: clamp(16px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--plum);
  color: var(--cream);
  font: 400 18px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

.eyebrow {
  font: 600 13px/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}
.eyebrow--dark { color: var(--coral-deep); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgba(26, 20, 32, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__logo img { height: 32px; width: auto; }
.nav__logo { transition: opacity .3s, transform .3s; }
.nav--hide-logo .nav__logo { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.nav__cta {
  font: 700 15px/1 var(--body);
  text-decoration: none;
  color: var(--plum);
  background: var(--yellow);
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 0 #B88F00;
  transition: transform .15s, box-shadow .15s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #B88F00; }
.nav__cta:active { transform: translateY(3px); box-shadow: 0 1px 0 #B88F00; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 32px;
  padding: clamp(32px, 6vw, 80px) var(--gutter) clamp(56px, 8vw, 110px);
  max-width: 1280px;
  margin: 0 auto;
}
.hero__brand {
  margin: 0 0 clamp(28px, 4vw, 44px) -0.6%;
  animation: brand-in .8s cubic-bezier(.34, 1.56, .64, 1) both;
}
.hero__brand img { width: min(100%, 640px); height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45)); }
@keyframes brand-in {
  from { transform: translateY(18px) scale(.94); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.out {
  display: inline-block;
  background: var(--hero-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  transform-origin: 30% 80%;
  animation: wobble 3.2s ease-in-out infinite;
}
@keyframes wobble {
  0%, 70%, 100% { transform: rotate(0); }
  76% { transform: rotate(-7deg); }
  82% { transform: rotate(5deg); }
  88% { transform: rotate(-3deg); }
  94% { transform: rotate(1deg); }
}
.hero__lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 32ch; margin-bottom: 32px; }
.hero__fine { margin-top: 18px; font-size: 15px; color: rgba(251, 245, 234, 0.55); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.stores--center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 190px;
  padding: 11px 22px 11px 18px;
  border-radius: 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 2px solid rgba(251, 245, 234, 0.25);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.45);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.store:hover { transform: translateY(-3px) rotate(-1deg); border-color: var(--yellow); box-shadow: 0 8px 0 rgba(0, 0, 0, 0.45); }
.store:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45); }
.store__icon { width: 28px; height: 28px; flex: none; }
.store__text { display: flex; flex-direction: column; font: 700 20px/1.1 var(--body); letter-spacing: -0.01em; }
.store__text small { font-weight: 600; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.85; }

/* Hero stage: the dealt deck */
.hero__stage { position: relative; height: 520px; }
.spot {
  position: absolute; inset: 8% 6% 0;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 210, 63, 0.28), rgba(255, 210, 63, 0) 62%);
  filter: blur(6px);
}
.deck { position: absolute; left: 50%; top: 50%; width: 270px; height: 360px; transform: translate(-50%, -50%); }
.card {
  position: absolute; inset: 0;
  border-radius: 26px;
  padding: 24px 22px;
  color: var(--plum);
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.7), inset 0 -6px 0 rgba(26, 20, 32, 0.12);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.card--yellow { background: var(--yellow); }
.card--lilac { background: var(--lilac); }
.card--sky { background: var(--sky); }
.card--back { transform: translate(70px, -26px) rotate(16deg); }
.card--mid { transform: translate(-64px, -14px) rotate(-14deg); }
.card--front { transform: rotate(-3deg); animation: bob 5s ease-in-out infinite; }
.hero__stage:hover .card--back { transform: translate(110px, -40px) rotate(22deg); }
.hero__stage:hover .card--mid { transform: translate(-104px, -24px) rotate(-20deg); }
@keyframes bob {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-10px); }
}
.chip {
  align-self: flex-start;
  font: 700 12px/1 var(--body);
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(26, 20, 32, 0.12);
}
.card__title { font: 800 23px/1.12 var(--display); }
.card__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; counter-reset: n; }
.card__list li {
  counter-increment: n;
  display: flex; align-items: center; gap: 10px;
  font: 700 15px/1 var(--body);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  padding: 8px 10px;
}
.card__list li::before { content: counter(n); font: 800 12px/1 var(--display); opacity: 0.55; width: 14px; }
.card__list li.hit::after { content: "✓"; margin-left: auto; font-weight: 800; }
.blank { flex: 1; height: 10px; border-radius: 6px; background: rgba(26, 20, 32, 0.12); }
.card__count { margin-top: auto; font: 600 12px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }

.float {
  position: absolute;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--surface);
  border: 4px solid var(--plum);
  box-shadow: 0 0 0 3px var(--tint, var(--lilac)), 0 14px 30px -10px rgba(0, 0, 0, 0.6);
  animation: float 6s ease-in-out infinite;
}
.float--1 { --tint: var(--coral); left: 0; top: 10%; }
.float--2 { --tint: var(--sky); right: 2%; top: 4%; animation-delay: -1.5s; }
.float--3 { --tint: var(--mint); left: 4%; bottom: 8%; animation-delay: -3s; width: 78px; height: 78px; }
.float--4 { --tint: var(--yellow); right: 0; bottom: 14%; animation-delay: -4.2s; }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
.bubble {
  position: absolute;
  font: 800 15px/1 var(--display);
  padding: 12px 16px;
  border-radius: 18px;
  color: var(--plum);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
  animation: pop 6s ease-in-out infinite;
}
.bubble--ok { background: var(--mint); left: 13%; top: 3%; border-bottom-left-radius: 4px; }
.bubble--no { background: var(--coral); right: 4%; bottom: 3%; border-top-right-radius: 4px; animation-delay: -3s; }
@keyframes pop {
  0%, 8% { transform: scale(0); opacity: 0; }
  14%, 46% { transform: scale(1); opacity: 1; }
  52%, 100% { transform: scale(0); opacity: 0; }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--yellow);
  color: var(--plum);
  transform: rotate(-2deg);
  margin: 0 -20px;
  padding: 16px 0;
  overflow: hidden;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.25);
  position: relative; z-index: 2;
}
.ticker__track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.ticker__track span { font: 800 19px/1 var(--display); white-space: nowrap; padding: 0 22px; }
.ticker__track span::after { content: "✦"; margin-left: 44px; color: var(--coral-deep); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) var(--gutter); max-width: 1280px; margin: 0 auto; }
.section__title { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; margin-bottom: 20px; }
.section__lede { font-size: 20px; color: var(--muted); max-width: 52ch; }
.how, .packs, .features { text-align: center; }
.packs .section__lede { margin: 0 auto; }

/* How to play */
.steps {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  text-align: left;
}
.step {
  position: relative;
  padding: 34px 28px 30px;
  border-radius: var(--radius);
  color: var(--plum);
  background: var(--tint);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.3);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.step--lilac { --tint: var(--lilac); transform: rotate(-2deg); }
.step--sky { --tint: var(--sky); transform: rotate(1.5deg) translateY(14px); }
.step--coral { --tint: var(--coral); transform: rotate(-1deg); }
.step:hover { transform: rotate(0) translateY(-6px) scale(1.02); }
.step__num {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--plum); color: var(--tint);
  font: 800 26px/1 var(--display);
  transform: rotate(-6deg);
}
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step p { font-size: 17px; font-weight: 600; opacity: 0.82; }

/* ---------- Try it ---------- */
.try {
  max-width: none;
  background: var(--cream);
  color: var(--plum);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding-left: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
  border-radius: 40px;
  margin: 0 clamp(0px, 2vw, 24px);
}
.try__intro p:not(.eyebrow) { font-size: 19px; color: rgba(26, 20, 32, 0.75); max-width: 40ch; margin-bottom: 28px; }
.shuffle {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 16px/1 var(--body);
  color: var(--plum);
  background: var(--lilac);
  border: 0; border-radius: 999px;
  padding: 14px 22px;
  cursor: pointer;
  box-shadow: 0 4px 0 #8C6BC4;
  transition: transform .15s, box-shadow .15s;
}
.shuffle svg { width: 20px; height: 20px; }
.shuffle:hover { transform: translateY(-2px) rotate(-1.5deg); box-shadow: 0 6px 0 #8C6BC4; }
.shuffle:active { transform: translateY(3px); box-shadow: 0 1px 0 #8C6BC4; }

.game {
  background: var(--plum);
  color: var(--cream);
  border-radius: 30px;
  padding: 26px;
  box-shadow: 0 30px 60px -24px rgba(26, 20, 32, 0.55), 0 0 0 6px var(--yellow);
  --rot: 1deg;
  transform: rotate(var(--rot));
}
.game.deal { animation: deal .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes deal {
  0% { transform: rotate(calc(var(--rot) + 7deg)) translateX(40px) scale(.92); opacity: 0; }
  100% { transform: rotate(var(--rot)); opacity: 1; }
}
.game.shake { animation: shake .45s; }
@keyframes shake {
  0%, 100% { transform: rotate(var(--rot)) translateX(0); }
  20% { transform: rotate(var(--rot)) translateX(-10px); }
  40% { transform: rotate(var(--rot)) translateX(9px); }
  60% { transform: rotate(var(--rot)) translateX(-6px); }
  80% { transform: rotate(var(--rot)) translateX(3px); }
}
.game__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.chip--onlight { background: rgba(255, 210, 63, 0.16); color: var(--yellow); }
.game__title { font-size: clamp(21px, 2.2vw, 26px); margin-top: 12px; }
.lives { display: flex; gap: 6px; padding-top: 4px; flex: none; }
.life {
  width: 22px; height: 22px;
  background: var(--coral);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5.2-8-11.2C4 6.6 6.4 4.5 9 4.5c1.4 0 2.4.6 3 1.6.6-1 1.6-1.6 3-1.6 2.6 0 5 2.1 5 5.3C20 15.8 12 21 12 21Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5.2-8-11.2C4 6.6 6.4 4.5 9 4.5c1.4 0 2.4.6 3 1.6.6-1 1.6-1.6 3-1.6 2.6 0 5 2.1 5 5.3C20 15.8 12 21 12 21Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s, opacity .3s, background .3s;
}
.life.lost { background: rgba(251, 245, 234, 0.18); transform: scale(.8); }

.game__form { display: flex; gap: 10px; }
.game__form input {
  flex: 1; min-width: 0;
  font: 600 18px/1 var(--body);
  color: var(--cream);
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .15s;
}
.game__form input::placeholder { color: rgba(251, 245, 234, 0.45); }
.game__form input:focus { border-color: var(--yellow); }
.game__form button {
  font: 800 16px/1 var(--display);
  color: var(--plum);
  background: var(--hero-gradient);
  border: 0; border-radius: 14px;
  padding: 0 20px;
  cursor: pointer;
  transition: transform .15s;
}
.game__form button:hover { transform: rotate(-2deg) scale(1.04); }
.game__form button:disabled, .game__form input:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.game__msg { min-height: 26px; margin: 12px 2px 8px; font-weight: 700; font-size: 16px; }
.game__msg.good { color: var(--mint); }
.game__msg.bad { color: var(--coral); }
.game__msg.win { color: var(--yellow); }

.answers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; counter-reset: a; }
.answers li {
  counter-increment: a;
  display: flex; align-items: center; gap: 10px;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface);
  font-weight: 700; font-size: 15.5px;
  line-height: 1.2;
}
.answers li::before { content: counter(a); font: 800 13px/1 var(--display); color: var(--coral); width: 18px; flex: none; }
.answers .slot { flex: 1; height: 10px; border-radius: 6px; background: rgba(251, 245, 234, 0.08); }
.answers .found { background: var(--yellow); color: var(--plum); animation: flip .5s cubic-bezier(.34, 1.56, .64, 1); }
.answers .found::before { color: rgba(26, 20, 32, 0.55); }
.answers .missed { background: transparent; box-shadow: inset 0 0 0 2px rgba(251, 245, 234, 0.12); color: rgba(251, 245, 234, 0.7); }
.answers .txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.answers .info { font-weight: 600; font-size: 12.5px; opacity: 0.7; }
@keyframes flip {
  0% { transform: rotateX(90deg) scale(.9); }
  100% { transform: none; }
}
.game__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 15px; color: var(--muted); font-weight: 600; }
.link { background: none; border: 0; padding: 4px 0; font: 700 15px var(--body); color: var(--coral); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Confetti bits */
.confetti { position: fixed; width: 10px; height: 14px; border-radius: 3px; pointer-events: none; z-index: 50; }

/* ---------- Packs ---------- */
.packgrid {
  list-style: none; padding: 0; margin: 52px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  text-align: left;
}
.pack {
  position: relative;
  padding: 24px 22px 26px;
  border-radius: var(--radius);
  background: linear-gradient(170deg, color-mix(in srgb, var(--tint) 22%, var(--surface)), var(--surface) 55%);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--tint) 35%, transparent);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .2s;
}
.pack:nth-child(odd) { transform: rotate(-1deg); }
.pack:nth-child(even) { transform: rotate(1deg); }
.pack:hover { transform: translateY(-8px) rotate(0); background: #382D40; }
.pack__mono {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 16px;
  border-radius: 15px;
  background: var(--tint); color: var(--plum);
  font: 800 20px/1 var(--display);
}
.pack h3 { font-size: 19px; margin-bottom: 8px; }
.pack p { font-size: 15.5px; color: var(--muted); }
.pack__tag {
  position: absolute; top: 22px; right: 18px;
  font: 700 12px/1 var(--body); letter-spacing: .05em; text-transform: uppercase;
  color: var(--plum); background: var(--yellow);
  padding: 7px 10px; border-radius: 999px;
}
.pack--more { --tint: var(--cream); background: transparent; box-shadow: none; border: 2px dashed rgba(251, 245, 234, 0.3); }
.pack--more .pack__mono { background: transparent; color: var(--cream); border: 2px dashed rgba(251, 245, 234, 0.5); }
.pack--more:hover { background: rgba(251, 245, 234, 0.04); }

/* ---------- Features ---------- */
.featgrid {
  list-style: none; padding: 0; margin: 52px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px;
  text-align: left;
}
.featgrid li { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto 1fr; column-gap: 18px; row-gap: 6px; align-items: start; }
.featgrid img { grid-row: span 2; border-radius: 50%; background: var(--surface); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.featgrid li:hover img { transform: rotate(-10deg) scale(1.08); }
.featgrid h3 { font-size: 19px; padding-top: 6px; }
.featgrid p { font-size: 16px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: 0 var(--gutter) clamp(72px, 10vw, 120px); }
.cta__card {
  max-width: 980px; margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border-radius: 40px;
  background: var(--hero-gradient);
  color: var(--plum);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.3);
}
.cta__faces { display: flex; justify-content: center; margin-bottom: 26px; }
.cta__faces img {
  width: 64px; height: 64px; border-radius: 50%;
  border: 4px solid var(--plum); background: var(--surface);
  margin: 0 -8px;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.cta__faces img:nth-child(odd) { transform: translateY(6px); }
.cta__faces:hover img { transform: translateY(-10px); }
.cta__faces:hover img:nth-child(2) { transition-delay: .04s; }
.cta__faces:hover img:nth-child(3) { transition-delay: .08s; }
.cta__faces:hover img:nth-child(4) { transition-delay: .12s; }
.cta__faces:hover img:nth-child(5) { transition-delay: .16s; }
.cta h2 { font-size: clamp(32px, 5vw, 60px); margin-bottom: 14px; }
.cta p { font-size: 19px; font-weight: 600; margin-bottom: 32px; opacity: 0.85; }
.cta .store { border-color: transparent; }
.cta .store:hover { border-color: var(--plum); }

/* ---------- Footer ---------- */
.footer {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 40px var(--gutter) 56px;
  border-top: 1px solid rgba(251, 245, 234, 0.08);
  text-align: center;
  font-size: 15px; color: rgba(251, 245, 234, 0.6);
}
.footer img { margin-bottom: 6px; }
.footer a { color: var(--yellow); text-decoration: none; font-weight: 600; }
.footer a:hover { text-decoration: underline; }
.footer__legal { font-size: 12.5px; color: rgba(251, 245, 234, 0.4); max-width: 60ch; margin-top: 8px; }

/* ---------- Legal pages (privacy policy) ---------- */
.legal { max-width: 74ch; margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter) 88px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.legal__date { color: var(--muted); margin-top: 14px; }
.legal h2 { font-size: 22px; font-weight: 600; margin-top: 52px; }
.legal h3 { font: 700 19px/1.3 var(--body); letter-spacing: 0; margin-top: 30px; }
.legal p, .legal ul { margin-top: 14px; }
.legal ul { padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal a { color: var(--yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .packgrid { grid-template-columns: repeat(2, 1fr); }
  .featgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__brand { margin-left: 0; }
  .hero__brand img { margin: 0 auto; }
  .hero .stores { justify-content: center; }
  .hero__stage { height: 440px; max-width: 480px; width: 100%; margin: 0 auto; }
  .deck { width: 230px; height: 320px; }
  .card__title { font-size: 20px; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .step--sky { transform: rotate(1.5deg); }
  .try { grid-template-columns: minmax(0, 1fr); border-radius: 28px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .nav__logo img { height: 26px; }
  .nav__cta { font-size: 14px; padding: 10px 14px; }
  .store { min-width: 0; flex: 1 1 200px; justify-content: center; }
  .hero__stage { height: 400px; }
  .deck { width: 200px; height: 290px; }
  .card { padding: 18px 16px; border-radius: 22px; gap: 10px; }
  .card__list li:nth-child(n+5), .card__count { display: none; }
  .card__title { font-size: 18px; }
  .card--back { transform: translate(44px, -20px) rotate(14deg); }
  .card--mid { transform: translate(-44px, -10px) rotate(-12deg); }
  .float { width: 64px; height: 64px; }
  .float--3 { width: 56px; height: 56px; }
  .bubble { font-size: 13px; padding: 10px 12px; }
  .packgrid, .featgrid { grid-template-columns: 1fr; }
  .game { padding: 18px; --rot: 0deg; }
  .answers { grid-template-columns: 1fr; }
  .game__form button { padding: 0 14px; font-size: 14px; }
  .ticker__track span { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .bubble { animation: none; }
  .ticker__track { animation: none; }
}
