/* WordUp website. Colors and type follow the app's Candy Pop theme
   (lib/v2/core/scenes/candy_pop_theme.dart): Lilita One for display, Nunito for text. */

@font-face {
  font-family: "Lilita One";
  src: url("/fonts/LilitaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --sky: #3DAEF0;
  --ink: #2B2149;
  --ink-soft: #4A3F6B;
  --white: #FFFFFF;
  --pink: #FF5FA2;
  --green: #3DDC84;
  --yellow: #FFD23F;
  --purple: #8B5CF6;
  --purple-deep: #7C4DEB;
  --teal: #0089A3;
  --heart: #FF4D6D;
  --tile-empty: #CDEBFF;
  --tile-active: #FFF4C2;
  --tile-typed: #6D28D9;
  --tile-hint: #B8F5D0;
  --tile-hint-text: #0F7A40;
  --wrong-text: #D61F5B;
  --key: #F1ECFF;
  --light: #EEF8FF;

  /* The app's chunky ink outline on display text, at four widths. */
  --o2: 2px 0 0 #2B2149, 1.85px .77px 0 #2B2149, 1.41px 1.41px 0 #2B2149, .77px 1.85px 0 #2B2149, 0 2px 0 #2B2149, -.77px 1.85px 0 #2B2149, -1.41px 1.41px 0 #2B2149, -1.85px .77px 0 #2B2149, -2px 0 0 #2B2149, -1.85px -.77px 0 #2B2149, -1.41px -1.41px 0 #2B2149, -.77px -1.85px 0 #2B2149, 0 -2px 0 #2B2149, .77px -1.85px 0 #2B2149, 1.41px -1.41px 0 #2B2149, 1.85px -.77px 0 #2B2149, 2px 2px 0 #2B2149, 1.41px 3.41px 0 #2B2149, 0 4px 0 #2B2149, -1.41px 3.41px 0 #2B2149, -2px 2px 0 #2B2149;
  --o3: 3px 0 0 #2B2149, 2.77px 1.15px 0 #2B2149, 2.12px 2.12px 0 #2B2149, 1.15px 2.77px 0 #2B2149, 0 3px 0 #2B2149, -1.15px 2.77px 0 #2B2149, -2.12px 2.12px 0 #2B2149, -2.77px 1.15px 0 #2B2149, -3px 0 0 #2B2149, -2.77px -1.15px 0 #2B2149, -2.12px -2.12px 0 #2B2149, -1.15px -2.77px 0 #2B2149, 0 -3px 0 #2B2149, 1.15px -2.77px 0 #2B2149, 2.12px -2.12px 0 #2B2149, 2.77px -1.15px 0 #2B2149, 3px 3px 0 #2B2149, 2.12px 5.12px 0 #2B2149, 1.15px 5.77px 0 #2B2149, 0 6px 0 #2B2149, -1.15px 5.77px 0 #2B2149, -2.12px 5.12px 0 #2B2149, -3px 3px 0 #2B2149;
  --o5: 5px 0 0 #2B2149, 4.62px 1.91px 0 #2B2149, 3.54px 3.54px 0 #2B2149, 1.91px 4.62px 0 #2B2149, 0 5px 0 #2B2149, -1.91px 4.62px 0 #2B2149, -3.54px 3.54px 0 #2B2149, -4.62px 1.91px 0 #2B2149, -5px 0 0 #2B2149, -4.62px -1.91px 0 #2B2149, -3.54px -3.54px 0 #2B2149, -1.91px -4.62px 0 #2B2149, 0 -5px 0 #2B2149, 1.91px -4.62px 0 #2B2149, 3.54px -3.54px 0 #2B2149, 4.62px -1.91px 0 #2B2149, 5px 4px 0 #2B2149, 3.54px 7.54px 0 #2B2149, 1.91px 8.62px 0 #2B2149, 0 9px 0 #2B2149, -1.91px 8.62px 0 #2B2149, -3.54px 7.54px 0 #2B2149, -5px 4px 0 #2B2149;
  --o7: 7px 0 0 #2B2149, 6.47px 2.68px 0 #2B2149, 4.95px 4.95px 0 #2B2149, 2.68px 6.47px 0 #2B2149, 0 7px 0 #2B2149, -2.68px 6.47px 0 #2B2149, -4.95px 4.95px 0 #2B2149, -6.47px 2.68px 0 #2B2149, -7px 0 0 #2B2149, -6.47px -2.68px 0 #2B2149, -4.95px -4.95px 0 #2B2149, -2.68px -6.47px 0 #2B2149, 0 -7px 0 #2B2149, 2.68px -6.47px 0 #2B2149, 4.95px -4.95px 0 #2B2149, 6.47px -2.68px 0 #2B2149, 7px 6px 0 #2B2149, 4.95px 10.95px 0 #2B2149, 2.68px 12.47px 0 #2B2149, 0 13px 0 #2B2149, -2.68px 12.47px 0 #2B2149, -4.95px 10.95px 0 #2B2149, -7px 6px 0 #2B2149;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}

img, svg { display: block; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.lil { font-family: "Lilita One", "Nunito", sans-serif; font-weight: 400; line-height: 1; }
.o2 { text-shadow: var(--o2); }
.o3 { text-shadow: var(--o3); }
.o5 { text-shadow: var(--o5); }

a:focus-visible,
.btn:focus-visible,
.store:focus-visible {
  outline: 3px dashed var(--ink);
  outline-offset: 5px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 24px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--ink);
  color: var(--white);
  font-size: 23px;
  letter-spacing: .5px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--ink); }
.btn svg { width: 24px; height: 24px; color: var(--ink); }
.btn-green { background: var(--green); }
.btn-yellow { background: var(--yellow); margin-top: 28px; }
.btn-sm { height: 46px; padding: 0 18px; border-radius: 15px; box-shadow: 0 4px 0 var(--ink); font-size: 19px; }
.btn-sm:hover { box-shadow: 0 2px 0 var(--ink); }
.btn-sm:active { transform: translateY(4px); }

.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.stores.center { justify-content: center; }

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 62px;
  padding: 0 24px 0 16px;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 6px 0 #160F2B;
  color: var(--white);
  text-decoration: none;
  transition: transform .08s ease, box-shadow .08s ease;
}
.store:hover { transform: translateY(2px); box-shadow: 0 4px 0 #160F2B; }
.store:active { transform: translateY(6px); box-shadow: 0 0 0 #160F2B; }
.store svg { width: 28px; height: 28px; color: var(--white); fill: var(--white); flex: none; }
.store span { display: flex; flex-direction: column; font-size: 21px; font-weight: 900; line-height: 1.1; }
.store small { font-size: 12px; font-weight: 800; letter-spacing: .4px; color: #D9D2EC; }

/* ---------- Header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 3px solid var(--ink);
}

.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.brand img { width: 44px; height: 44px; border-radius: 12px; border: 2.5px solid var(--ink); }
.brand span { font-size: 32px; letter-spacing: .5px; padding-bottom: 6px; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 900; font-size: 17px; }
.nav a:hover { color: var(--tile-typed); }

/* ---------- Hero ---------- */

.sky {
  background:
    repeating-conic-gradient(from 0deg at 74% 46%, rgba(255, 255, 255, .18) 0deg 9deg, rgba(255, 255, 255, 0) 9deg 22.5deg),
    var(--sky);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 132px;
}

.cloud { position: absolute; height: auto; aspect-ratio: 130 / 70; opacity: .85; pointer-events: none; }
.c1 { width: 210px; left: -70px; top: 150px; }
.c2 { width: 160px; right: 4%; top: 26px; opacity: .75; }
.c3 { width: 230px; left: 38%; bottom: 70px; opacity: .6; }
.c4 { width: 230px; left: -60px; top: 70px; }
.c5 { width: 210px; right: -50px; bottom: 90px; opacity: .75; }

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .12);
  pointer-events: none;
}
.b1 { width: 22px; height: 22px; left: 47%; top: 64px; }
.b2 { width: 30px; height: 30px; left: 5%; bottom: 150px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 40px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 16px 5px 5px;
  background: var(--ink);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.2px;
}
.chip svg { width: 26px; height: 26px; }

h1 { margin: 22px 0 0; display: flex; flex-direction: column; }
.h1-a { font-size: clamp(64px, 9.2vw, 116px); color: var(--white); letter-spacing: 1px; text-shadow: var(--o7); }
.h1-b { font-size: clamp(38px, 5.3vw, 66px); color: var(--yellow); margin-top: 16px; text-shadow: var(--o5); }

.lead { margin: 26px 0 30px; max-width: 30ch; font-size: 21px; font-weight: 800; line-height: 1.45; color: var(--ink); }
.lead.center { margin: 18px auto 30px; max-width: 40ch; text-align: center; }

.fine { margin: 22px 0 0; font-size: 15px; font-weight: 800; color: var(--ink); }

/* The game screen mockup */

.hero-art { position: relative; display: flex; justify-content: center; padding: 18px 0 24px; }

.phone {
  position: relative;
  width: 320px;
  height: 656px;
  border: 9px solid #121019;
  border-radius: 52px;
  background: #121019;
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px #A69FBA, 0 0 0 9px var(--ink), 0 22px 0 9px rgba(43, 33, 73, .3);
  transform: rotate(3deg);
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 43px;
  padding: 48px 12px 0;
  background:
    repeating-conic-gradient(from 0deg at 50% 26%, rgba(255, 255, 255, .2) 0deg 9deg, rgba(255, 255, 255, 0) 9deg 22.5deg),
    var(--sky);
}

.island { position: absolute; top: 10px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 999px; background: #0B0A10; }

.topbar { display: flex; align-items: center; justify-content: space-between; }

.round {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 3px 0 var(--ink);
}
.round svg { width: 21px; height: 21px; }

.hearts {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px 3px 3px 8px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
}
.hearts > svg { width: 21px; height: 21px; }

.plus3 {
  display: inline-flex; align-items: center; gap: 3px;
  height: 27px; margin-left: 3px; padding: 0 9px 0 7px;
  background: var(--green);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  font-size: 15px;
}
.plus3 svg { width: 9px; height: 9px; }
.plus3.sm { height: 22px; margin: 0; font-size: 12px; padding: 0 7px 0 5px; }
.plus3.sm svg { width: 7px; height: 7px; }

.pot {
  display: flex; align-items: center; gap: 4px;
  margin-top: 18px;
  padding: 10px 10px 10px 6px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 5px 0 var(--ink);
}
.pot-chest { width: 88px; height: 74px; flex: none; }
.pot-text { flex: 1; display: flex; flex-direction: column; align-items: center; }
.pill-pink {
  padding: 3px 10px 2px;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: .5px;
}
.pot-amt { margin-top: 8px; font-size: 42px; color: var(--yellow); }

.tiles { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.tile {
  width: 40px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tile-empty);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--ink);
  font-size: 28px;
  color: var(--ink);
}
.tile.hint { background: var(--tile-hint); color: var(--tile-hint-text); }
.tile.typed { background: var(--white); color: var(--tile-typed); }
.tile.active { background: var(--tile-active); }

.row-hints { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; }
.tag { font-size: 11px; font-weight: 900; letter-spacing: .5px; color: var(--white); }
.mini {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 7px;
  font-size: 15px;
}
.mini.hint { background: var(--tile-hint); color: var(--tile-hint-text); }
.mini.q { color: #B9AEF5; }
.tried {
  padding: 1px 9px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .5px;
  color: var(--wrong-text);
  text-decoration: line-through;
}

.actions { display: flex; gap: 8px; margin-top: 16px; }
.act {
  position: relative;
  flex: 1;
  height: 42px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--ink);
  color: var(--white);
  font-size: 13px;
  white-space: nowrap;
}
.act svg { width: 15px; height: 15px; }
.act-purple { background: var(--purple); }
.act-pink { background: var(--pink); }
.badge {
  position: absolute; top: -12px; right: -5px;
  padding: 1px 6px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 99px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
  transform: rotate(3deg);
}

.guess {
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  height: 52px;
  margin-top: 16px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--ink);
  background: linear-gradient(180deg, #FFE98A 0%, #FFD23F 50%, #F5A623 100%);
  color: var(--white);
  font-size: 26px;
  letter-spacing: 1px;
}
.guess::before {
  content: "";
  position: absolute; left: 12px; right: 12px; top: 5px;
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .6);
}
.guess span { position: relative; }

.keys {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 5px;
  padding: 9px 5px 16px;
  background: var(--white);
  border-top: 3px solid var(--ink);
  border-radius: 20px 20px 0 0;
}
.kr { display: flex; gap: 4px; }
.kr span {
  flex: 1;
  height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--key);
  border: 2px solid var(--ink);
  border-radius: 9px;
  box-shadow: 0 2px 0 var(--ink);
  font-family: "Lilita One", sans-serif;
  font-size: 16px;
}
.kr.in1 { padding: 0 14px; }
.kr.in2 { padding-left: 14px; }
.kr .del { flex: 1.6; background: var(--pink); }

.coin { position: absolute; z-index: 2; width: 58px; height: 58px; }
.k1 { left: 2%; top: 10%; transform: rotate(-14deg); }
.k2 { right: 0; top: 60%; transform: rotate(12deg); }
.k3 { left: 8%; bottom: 4%; width: 44px; height: 44px; }

.sticker {
  position: absolute; z-index: 2; right: 0; top: 6%;
  width: 118px; height: 118px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 6px 0 var(--ink);
  color: var(--ink);
  font-size: 19px;
  transform: rotate(12deg);
}
.sticker .big { font-size: 25px; }

@media (prefers-reduced-motion: no-preference) {
  .coin { animation: bob 3.6s ease-in-out infinite; }
  .k2 { animation-delay: -1.2s; }
  .k3 { animation-delay: -2.4s; }
  @keyframes bob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -12px; }
  }
}

/* ---------- Sheets (sections) ---------- */

.sheet {
  position: relative;
  overflow: hidden;
  margin-top: -44px;
  padding: 76px 0 124px;
  border-top: 4px solid var(--ink);
  border-radius: 44px 44px 0 0;
}

.light {
  background:
    radial-gradient(rgba(61, 174, 240, .16) 2px, transparent 2.6px) 0 0 / 28px 28px,
    var(--light);
}

.purple {
  background:
    repeating-conic-gradient(from 0deg at 76% 52%, rgba(255, 210, 63, .2) 0deg 9deg, rgba(255, 210, 63, 0) 9deg 22.5deg),
    var(--purple-deep);
}

.teal {
  background:
    repeating-conic-gradient(from 0deg at 24% 52%, rgba(255, 210, 63, .2) 0deg 9deg, rgba(255, 210, 63, 0) 9deg 22.5deg),
    var(--teal);
}

.cta {
  padding-bottom: 96px;
  background:
    repeating-conic-gradient(from 0deg at 50% 30%, rgba(255, 255, 255, .18) 0deg 9deg, rgba(255, 255, 255, 0) 9deg 22.5deg),
    var(--sky);
}

/* How to play */

.pill-title {
  display: table;
  margin: 0 auto;
  padding: 10px 28px 8px;
  background: var(--pink);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--ink);
  color: var(--white);
  font-size: 42px;
  letter-spacing: 1px;
}

.section-sub { margin: 24px 0 0; text-align: center; font-size: 23px; font-weight: 900; }

.equation { display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; margin: 40px auto 0; }
.tok { width: 132px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.disc {
  width: 90px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 5px 0 var(--ink);
}
.disc-white { background: var(--white); }
.disc-purple { background: var(--purple); }
.disc-yellow { background: var(--yellow); }
.disc svg { width: 62px; height: 52px; }
.zero { font-size: 40px; color: var(--green); }
.qmark { font-size: 52px; color: var(--white); }
.tok-label { font-size: 16px; letter-spacing: .5px; text-align: center; }
.sign { margin-top: 24px; font-size: 44px; color: var(--ink); }

.steps {
  list-style: none;
  margin: 60px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 24px;
}

.step {
  position: relative;
  padding: 30px 22px 26px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 6px 0 var(--ink);
}
.num {
  position: absolute; top: -20px; right: 18px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 3px 0 var(--ink);
  font-size: 23px;
}
.art {
  position: relative;
  width: 78px; height: 78px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 18px;
}
.art-purple { background: var(--purple); }
.art-pink { background: var(--pink); flex-direction: column; gap: 5px; }
.art-green { background: var(--green); }
.art-yellow { background: var(--yellow); }
.art-tile {
  width: 42px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 11px;
  box-shadow: 0 3px 0 var(--ink);
  font-size: 30px;
  color: var(--tile-typed);
  transform: rotate(-6deg);
}
.art-hearts { display: flex; }
.art-hearts svg { width: 20px; height: 20px; }
.treat { position: absolute; width: 46px; height: 46px; }
.t1 { left: 2px; top: 2px; transform: rotate(-12deg); }
.t2 { left: 26px; top: 24px; transform: rotate(10deg); }
.cup { width: 60px; height: 60px; }

.step h3 { margin: 20px 0 8px; font-size: 25px; line-height: 1.05; letter-spacing: .3px; }
.step p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--ink-soft); }

/* Bonus games and sponsors */

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.split.reverse .split-art { order: -1; }

.band-title { margin: 0; font-size: clamp(46px, 6vw, 74px); color: var(--white); letter-spacing: 1px; }
.band-lead { margin: 20px 0 0; max-width: 32ch; font-size: 21px; font-weight: 800; line-height: 1.45; color: var(--white); }

.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 900; color: var(--white); }
.ticks svg { width: 28px; height: 28px; flex: none; }

.scratch {
  position: relative;
  width: min(400px, 100%);
  margin: 0 auto;
  padding: 22px 22px 26px;
  background: var(--pink);
  border: 4px solid var(--ink);
  border-radius: 30px;
  box-shadow: 0 9px 0 var(--ink);
  transform: rotate(-3deg);
}
.scratch-title { display: block; margin-bottom: 18px; text-align: center; font-size: 38px; color: var(--white); letter-spacing: 1px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cell {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 3px 0 var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .35) 0 6px, rgba(255, 255, 255, 0) 6px 14px),
    linear-gradient(135deg, #DCD6EC, #ACA3C6);
}
.cell.open { background: var(--tile-active); }
.cell svg { width: 70%; height: 70%; }
.win-tag {
  position: absolute; right: -20px; top: -22px;
  padding: 9px 16px 7px;
  background: var(--green);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--ink);
  color: var(--white);
  font-size: 26px;
  text-shadow: var(--o2);
  transform: rotate(8deg);
}

.sponsor-card {
  width: min(440px, 100%);
  margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 20px 22px 20px 12px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 30px;
  box-shadow: 0 9px 0 var(--ink);
  transform: rotate(2deg);
}
.sponsor-card .pot-chest { width: 120px; height: 100px; }
.sponsor-text { flex: 1; display: flex; flex-direction: column; align-items: center; }
.sponsor-big { margin-top: 10px; font-size: 52px; color: var(--yellow); }
.presented { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 14px; }
.presented small { font-size: 11px; font-weight: 900; letter-spacing: 1px; color: var(--ink-soft); }
.logo-slot { padding: 6px 14px; border: 2.5px dashed var(--ink-soft); border-radius: 12px; font-size: 15px; font-weight: 900; color: var(--ink-soft); }

/* Fairness */

.vault {
  background:
    radial-gradient(rgba(255, 210, 63, .32) 1.4px, transparent 2px) 0 0 / 34px 34px,
    radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.8px) 17px 17px / 34px 34px,
    var(--ink);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 18px 6px;
  background: var(--yellow);
  border: 3px solid #160F2B;
  border-radius: 14px;
  box-shadow: 0 4px 0 #160F2B;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: 1px;
}

.vault-title { margin: 0; font-size: clamp(44px, 5.6vw, 70px); color: var(--yellow); letter-spacing: .5px; }

.vault-card {
  position: relative;
  width: min(420px, 100%);
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 22px 26px;
  background: var(--white);
  border: 4px solid #160F2B;
  border-radius: 30px;
  box-shadow: 0 9px 0 #160F2B;
  transform: rotate(-2deg);
}
.vault-badge {
  position: absolute; top: -26px; right: -18px;
  width: 74px; height: 74px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 5px 0 var(--ink);
  color: var(--white);
  transform: rotate(10deg);
}
.vault-badge svg { width: 40px; height: 40px; }
.pill-ink {
  padding: 4px 12px 3px;
  background: var(--ink);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
}
.sealed { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
.sealed .tile { width: 46px; height: 52px; color: var(--ink); }
.sealed .tile svg { width: 22px; height: 22px; }
.code-label { margin-top: 24px; font-size: 12px; font-weight: 900; letter-spacing: 1.2px; color: var(--ink-soft); }
.code {
  margin-top: 6px;
  padding: 6px 14px;
  background: var(--key);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--ink);
}
.verified {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  padding: 7px 16px 6px 12px;
  background: var(--tile-hint);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
  color: var(--tile-hint-text);
  font-size: 20px;
  letter-spacing: .5px;
}
.verified svg { width: 20px; height: 20px; }

.proofs {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proof {
  padding: 24px 22px 24px;
  background: var(--white);
  border: 3px solid #160F2B;
  border-radius: 24px;
  box-shadow: 0 6px 0 #160F2B;
}
.proof-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 3px 0 var(--ink);
  color: var(--white);
}
.proof-icon svg { width: 28px; height: 28px; }
.pi-purple { background: var(--purple); }
.pi-pink { background: var(--pink); }
.pi-sky { background: var(--sky); }
.pi-orange { background: #FF8A3D; }
.pi-green { background: var(--green); }
.pi-yellow { background: var(--yellow); color: var(--ink); }
.proof h3 { margin: 18px 0 8px; font-size: 23px; line-height: 1.05; letter-spacing: .3px; color: var(--ink); }
.proof p { margin: 0; font-size: 16.5px; line-height: 1.45; color: var(--ink-soft); }

/* Download */

.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-icon { width: 112px; height: 112px; border: 4px solid var(--ink); border-radius: 28px; box-shadow: 0 7px 0 var(--ink); }
.cta-title { margin: 30px 0 0; font-size: clamp(46px, 7vw, 86px); color: var(--white); letter-spacing: 1px; text-shadow: var(--o7); }

/* ---------- Footer ---------- */

.site-foot { padding: 52px 0 36px; color: #D9D2EC; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; }
.foot-brand .brand span { font-size: 30px; color: var(--white); text-shadow: none; }
.foot-brand .brand img { width: 40px; height: 40px; border-color: #4A3F6B; }
.foot-brand p { margin: 10px 0 0; font-size: 16px; font-weight: 800; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 8px; }
.foot-links a { color: var(--white); font-size: 16px; font-weight: 800; text-decoration: none; }
.foot-links a:hover { color: var(--yellow); }
.foot-links .mail { display: inline-flex; align-items: center; gap: 8px; }
.foot-links .mail svg { width: 20px; height: 20px; }
.site-foot a:focus-visible { outline-color: var(--yellow); }
.foot-fine { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14px; line-height: 1.6; }
.foot-fine p { margin: 0 0 6px; max-width: 80ch; }

/* Not-found page */

.lost { min-height: 100vh; display: flex; align-items: center; padding: 64px 0; }
.lost-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lost-tiles { gap: 10px; margin: 0; }
.lost-tiles .tile { width: 64px; height: 72px; font-size: 44px; border-radius: 16px; box-shadow: 0 6px 0 var(--ink); }
.lost-title { margin: 36px 0 0; font-size: clamp(40px, 6vw, 72px); color: var(--white); text-shadow: var(--o5); }

/* ---------- Smaller screens ---------- */

@media (max-width: 980px) {
  .hero {
    background:
      repeating-conic-gradient(from 0deg at 50% 72%, rgba(255, 255, 255, .18) 0deg 9deg, rgba(255, 255, 255, 0) 9deg 22.5deg),
      var(--sky);
  }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .stores { justify-content: center; }
  .nav { gap: 20px; }
  .nav a { font-size: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .proofs { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split.reverse .split-art { order: 0; }
  .split-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .ticks { justify-items: start; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .bar .btn { margin-left: auto; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .wrap { padding: 0 18px; }
  .bar { height: 68px; gap: 12px; }
  .brand span { font-size: 28px; }
  .h1-a { text-shadow: var(--o5); }
  .h1-b { text-shadow: var(--o3); }
  .cta-title { text-shadow: var(--o5); }
  .band-title { text-shadow: var(--o3); }
  .lead { font-size: 19px; }
  .sheet { margin-top: -32px; padding: 60px 0 100px; border-radius: 32px 32px 0 0; }
  .hero { padding-bottom: 110px; }
  .chip { font-size: 12px; letter-spacing: .6px; padding-right: 12px; }
  .chip svg { width: 22px; height: 22px; }
  .pill-title { font-size: 34px; }
  .section-sub { font-size: 20px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .proofs { grid-template-columns: 1fr; gap: 20px; margin-top: 56px; }
  .eyebrow { font-size: 19px; }
  .sealed { gap: 5px; }
  .sealed .tile { width: 40px; height: 46px; }
  .vault-badge { width: 62px; height: 62px; right: -6px; }
  .vault-badge svg { width: 34px; height: 34px; }
  .equation { flex-wrap: nowrap; gap: 4px; }
  .sign { font-size: 28px; margin-top: 24px; }
  .tok { width: 84px; }
  .disc { width: 70px; height: 70px; }
  .disc svg { width: 48px; height: 40px; }
  .zero { font-size: 30px; }
  .qmark { font-size: 40px; }
  .tok-label { font-size: 12px; }
  .sponsor-card .pot-chest { width: 88px; height: 74px; }
  .sponsor-big { font-size: 38px; white-space: nowrap; }
  .sticker { width: 96px; height: 96px; font-size: 15px; right: -4px; }
  .sticker .big { font-size: 20px; }
  .win-tag { right: -6px; font-size: 22px; }
  .foot-grid { flex-direction: column; }
}

@media (max-width: 380px) {
  .phone { zoom: .88; }
  .store { padding: 0 18px 0 12px; }
  .store span { font-size: 19px; }
}
