/* Kraftlox landing — a sunny sky, candy-colored bands, cartoon ink lines, and a street that's always open. */
:root {
  --ink: #2b1840;
  --ink-soft: #5b4a73;
  --paper: #ffffff;
  --sky: #8fd8ff;
  --sky-light: #d7f2ff;
  --pink: #ff4f9a;
  --pink-dark: #cf2a74;
  --pink-bg: #ffe2ef;
  --sun: #ffd23f;
  --sun-bg: #fff4c2;
  --mint-bg: #d4f7e5;
  --grape: #7c5cff;
  --go: #22b35e;
  --go-dark: #16853f;
  --tang: #ff8b1f;
  --tang-dark: #c9600a;
  --gold: #ffc94a;

  --display: "Fredoka", "Rubik", system-ui, sans-serif;
  --body: "Rubik", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --pop: 6px 7px 0 var(--ink);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sky-light);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; }
h2 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0; }
.section-sub { margin-top: 12px; font-size: clamp(17px, 1.6vw, 20px); max-width: 34em; color: var(--ink-soft); }

:focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; }
.skip:focus { top: 12px; background: var(--paper); padding: 8px 14px; border-radius: 10px; }

/* ---------- wordmark: a die-cut sticker ---------- */
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--pink);
  text-decoration: none;
  -webkit-text-stroke: 7px var(--ink);
  paint-order: stroke fill;
  display: inline-block;
  transform: rotate(-3deg);
  filter: drop-shadow(0 4px 0 var(--ink));
}
.wordmark-small { font-size: 26px; -webkit-text-stroke-width: 6px; }

/* ---------- buttons: chunky game buttons ---------- */
.btn {
  --edge: var(--go-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 21px;
  color: var(--paper); background: var(--go);
  border: 3px solid var(--ink); border-radius: 999px;
  padding: 14px 32px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 0 var(--edge), 0 6px 0 3px var(--ink);
  transition: transform .08s ease, box-shadow .08s ease, background .15s;
}
.btn:hover { background: #2cc86b; transform: translateY(-2px); box-shadow: 0 8px 0 var(--edge), 0 8px 0 3px var(--ink); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--edge), 0 1px 0 3px var(--ink); }
.btn[disabled] { opacity: .8; cursor: progress; }
.btn-small { font-size: 16px; padding: 8px 18px; box-shadow: 0 4px 0 var(--edge), 0 4px 0 3px var(--ink); }
.btn-wide { width: 100%; font-size: 23px; }
.btn-ghost { --edge: #d9cde6; background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: #fff; }

/* ---------- sky + hero ---------- */
.sky {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky) 0%, #b9e7ff 55%, #e9f8ff 100%);
}
.clouds { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute; display: block;
  width: 120px; height: 44px; border-radius: 44px;
  background: #fff;
  box-shadow: 34px -22px 0 6px #fff, 74px -10px 0 0 #fff;
  opacity: .95;
}
.clouds .c1 { top: 13%; left: 4%; scale: 1.1; animation: drift 60s linear infinite; }
.clouds .c2 { top: 7%; left: 56%; scale: .8; animation: drift 80s linear infinite reverse; }
.clouds .c3 { top: 58%; left: 44%; scale: .7; opacity: .75; animation: drift 70s linear infinite; }
.clouds .c4 { top: 34%; left: 84%; scale: 1.3; animation: drift 90s linear infinite reverse; }
@keyframes drift { 50% { translate: 60px 0; } }
.doodles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dd { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dd.star { fill: var(--sun); }
.dd.star.pink, .dd.dot.pink { fill: var(--pink); }
.dd.heart { fill: var(--pink); }
.dd.dot { fill: var(--sun); stroke-width: 3; }

.top {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter);
}
.top-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 999px;
  padding: 6px 12px; color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}
.lang select {
  appearance: none; border: 0; background: transparent; color: inherit;
  font: 600 15px var(--body); cursor: pointer; padding-inline-end: 4px;
}
.lang select:focus-visible { outline: none; }
.lang:focus-within { outline: 3px solid var(--grape); outline-offset: 2px; }

.hero {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(20px, 4vw, 52px) var(--gutter) clamp(56px, 7vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px; align-items: center;
}
.stack { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: clamp(40px, 6.6vw, 90px); font-weight: 700; }
.strip {
  display: inline-block;
  white-space: nowrap;
  padding: .04em .32em .1em;
  background: var(--paper); color: var(--ink);
  border: 4px solid var(--ink); border-radius: .28em;
  box-shadow: var(--pop);
  animation: stick .5s cubic-bezier(.2, 1.6, .4, 1) both;
}
.strip-1 { rotate: -2.5deg; }
.strip-2 { rotate: 1.6deg; margin-inline-start: .45em; background: var(--sun); animation-delay: .12s; }
.strip-3 { rotate: -1.2deg; background: var(--pink); color: var(--paper); animation-delay: .24s; }
@keyframes stick {
  from { opacity: 0; scale: 1.3; }
  to { opacity: 1; scale: 1; }
}
.lede { margin-top: 30px; font-size: clamp(18px, 1.7vw, 21px); max-width: 32em; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.note { font-size: 15px; font-weight: 500; color: var(--ink-soft); max-width: 22em; }

.hero-pile { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: center; }
.pile { position: absolute; filter: drop-shadow(6px 8px 0 rgba(43, 24, 64, .25)); transition: rotate .25s cubic-bezier(.2, 1.6, .4, 1), scale .25s; }
.pile-tee { width: 78%; left: 10%; top: 6%; rotate: -4deg; }
.pile-dino { width: 40%; inset-inline-start: -4%; bottom: 2%; rotate: -8deg; }
.pile-cactus { width: 34%; inset-inline-end: -2%; bottom: 8%; rotate: 7deg; }
.hero-pile:hover .pile-dino { rotate: -2deg; scale: 1.06; }
.hero-pile:hover .pile-cactus { rotate: 1deg; scale: 1.06; }

/* ---------- the street ---------- */
.street {
  --bh: clamp(150px, 19vw, 270px);
  position: relative;
  height: calc(var(--bh) * 1.72);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(255, 244, 200, .9), transparent 70%),
    linear-gradient(#ffe9b3, #ffc978 72%);
  border-block: 4px solid var(--ink);
}
.street-lights {
  position: absolute; inset: 0 0 auto 0; height: 34px;
  background:
    radial-gradient(circle at 20px 22px, #fff4c2 0 5px, rgba(255, 214, 110, .6) 6px 9px, transparent 10px) 0 0 / 60px 34px repeat-x;
}
.street-lights::before {
  content: ""; position: absolute; inset: 0; height: 22px;
  background: radial-gradient(ellipse 34px 16px at 30px 0, transparent 13px, var(--ink) 14px 15.5px, transparent 16.5px) -10px 0 / 60px 22px repeat-x;
  opacity: .5;
}
.row {
  position: absolute; left: 50%; bottom: 30%;
  display: flex; align-items: flex-end;
  width: max-content;
  transform: translateX(-50%);
}
.row > * { flex: none; position: relative; }
.row .bld { height: var(--bh); margin-inline: -10px; }
.row .deco-tall { height: calc(var(--bh) * .9); margin-inline: -18px; z-index: 1; }
.row .deco { height: calc(var(--bh) * .62); margin-inline: -14px; z-index: 1; }
.row .deco img, .row .deco-tall img, .row .bld img { height: 100%; width: auto; }
.walkway {
  position: absolute; inset: auto 0 0 0; height: 33%;
  background:
    linear-gradient(var(--ink) 0 4px, transparent 4px),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(43, 24, 64, .1) 58px 60px),
    linear-gradient(#f3dfb4, #e8cc98);
}
.walkers { position: absolute; inset: auto 0 0 0; height: 33%; }
.walker { position: absolute; bottom: 14%; height: clamp(70px, 8.6vw, 118px); width: auto; will-change: transform; }

/* the open lot on the street */
.spot { display: grid; place-items: end center; height: var(--bh); width: calc(var(--bh) * 1.1); margin-inline: -4px; text-decoration: none; }
.spot img { height: 72%; width: auto; }
.spot-tag {
  position: absolute; left: 50%; top: 10%; translate: -50% 0;
  white-space: nowrap;
  font: 600 clamp(13px, 1.4vw, 17px)/1 var(--display);
  color: var(--paper); background: var(--pink);
  border: 3px solid var(--ink); border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 4px 0 var(--ink);
  animation: bob 1.6s ease-in-out infinite;
}
.spot-tag::after {
  content: ""; position: absolute; left: 50%; bottom: -11px; translate: -50% 0;
  border: 8px solid transparent; border-top-color: var(--ink); border-bottom: 0;
}
@keyframes bob { 50% { translate: -50% -6px; } }
.spot::before {
  content: ""; position: absolute; inset: auto 8% 3% 8%; height: 38%;
  border: 4px dashed #fff; border-radius: 14px;
}
.spot:hover .spot-tag, .spot:focus-visible .spot-tag { background: var(--pink-dark); }
.spot.is-mine { width: auto; margin-inline: -10px; }
.spot.is-mine::before { display: none; }

/* shop name ribbon (street + stage) */
.ribbon {
  position: absolute; left: 50%; bottom: 18%; translate: -50% 0;
  max-width: 118%;
  font: 700 clamp(13px, 1.4vw, 18px)/1.1 var(--display);
  color: var(--paper); background: var(--pink);
  border-block: 3px solid var(--ink);
  padding: 7px 22px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
  filter: drop-shadow(0 3px 0 var(--pink-dark));
}

/* sale pops */
.sold {
  position: absolute; left: 50%; bottom: 88%; z-index: 5;
  display: inline-flex; align-items: center; gap: 6px;
  translate: -50% 0;
  white-space: nowrap;
  font: 600 15px/1 var(--display);
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px;
  padding: 6px 12px 6px 6px;
  box-shadow: 0 3px 0 var(--ink);
  animation: pop 2.4s ease-out forwards;
  pointer-events: none;
}
.sold b { color: var(--go-dark); }
.coin {
  width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3b0, var(--gold) 45%, #d99a16);
  border: 2px solid var(--ink);
}
@keyframes pop {
  0% { opacity: 0; transform: translateY(16px) scale(.6); }
  12% { opacity: 1; transform: translateY(0) scale(1.08); }
  20% { transform: scale(1); }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-34px); }
}

/* ---------- colored bands with wavy tops ---------- */
.band { position: relative; background: var(--bg); }
.band-pink { --bg: var(--pink-bg); }
.band-mint { --bg: var(--mint-bg); }
.band-sun { --bg: var(--sun-bg); }
.band-sky { --bg: var(--sky-light); }
.band + .band::before {
  content: ""; position: absolute; left: 0; right: 0; top: -27px; height: 28px;
  background: var(--bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='28' viewBox='0 0 80 28'%3E%3Cpath d='M0 28V14C20 14 20 0 40 0s20 14 40 14v14z'/%3E%3C/svg%3E") repeat-x bottom / 80px 28px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='28' viewBox='0 0 80 28'%3E%3Cpath d='M0 28V14C20 14 20 0 40 0s20 14 40 14v14z'/%3E%3C/svg%3E") repeat-x bottom / 80px 28px;
}
.products, .how, .claim, .faq { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 110px) var(--gutter) clamp(72px, 9vw, 120px); }

/* ---------- product shelf ---------- */
.shelf {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px);
}
.item {
  position: relative;
  background: var(--paper);
  border: 4px solid var(--ink); border-radius: 26px;
  box-shadow: var(--pop);
  padding: 14px 14px 18px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: rotate .25s cubic-bezier(.2, 1.6, .4, 1), translate .25s;
}
.item:nth-child(odd) { rotate: -1.2deg; }
.item:nth-child(even) { rotate: 1deg; }
.item:hover { rotate: 0deg; translate: 0 -6px; }
.item-art {
  width: 100%; aspect-ratio: 1; border-radius: 18px;
  background: var(--tile);
  display: grid; place-items: center;
  overflow: hidden;
}
.item-art img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(43, 24, 64, .18)); }
.item h3 { margin-top: 14px; font-size: clamp(18px, 1.7vw, 21px); }
.chip {
  margin-top: 8px;
  display: inline-block;
  font: 600 14px/1 var(--display);
  padding: 6px 12px; border-radius: 999px;
  border: 2.5px solid var(--ink);
}
.chip-beta { background: var(--go); color: var(--paper); }
.chip-soon { background: #efe9ff; color: var(--grape); border-color: var(--grape); }

/* ---------- how it works ---------- */
.how h2 { max-width: 14em; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step { counter-increment: step; position: relative; }
.step h3 { margin-top: 22px; display: flex; align-items: center; gap: 10px; }
.step h3::before {
  content: counter(step);
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  font: 700 20px/1 var(--display); color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #fff3b0, var(--gold) 45%, #d99a16);
  border: 3px solid var(--ink);
}
.step p { margin-top: 8px; color: var(--ink-soft); max-width: 30em; }
.phone {
  margin: 0; aspect-ratio: 3 / 4; overflow: hidden;
  border: 5px solid var(--ink); border-radius: 30px;
  background: var(--ink);
  box-shadow: var(--pop);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-product { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #fff 0 30%, var(--pink-bg) 70%); }
.phone-product img { width: 82%; height: 82%; object-fit: contain; }
.step:nth-child(1) .phone { rotate: -1.5deg; }
.step:nth-child(2) .phone { rotate: 1deg; }
.step:nth-child(3) .phone { rotate: -.6deg; }

/* ---------- claim a spot ---------- */
.claim-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.card {
  background: var(--paper);
  border: 4px solid var(--ink); border-radius: 28px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--pop);
  display: flex; flex-direction: column; gap: 22px;
}
.pass {
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  font: 600 17px/1 var(--display);
  padding-bottom: 18px; border-bottom: 3px dashed rgba(43, 24, 64, .2);
}
.pips { display: inline-flex; gap: 6px; }
.pips i {
  width: 32px; height: 14px; border-radius: 7px;
  background: #eee6f5; border: 2.5px solid var(--ink);
  transition: background .25s, scale .25s;
}
.pips i.on { background: var(--pink); scale: 1.08; }
.pass-count { margin-inline-start: auto; color: var(--ink-soft); font-weight: 500; }

.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { display: block; font: 600 20px/1.2 var(--display); margin-bottom: 10px; padding: 0; }
.field input {
  width: 100%;
  font: 500 18px var(--body); color: var(--ink);
  background: #fff; border: 3px solid var(--ink); border-radius: 14px;
  padding: 12px 14px;
}
.field input::placeholder { color: #a99bb8; }
.field input:focus-visible { outline: 3px solid var(--grape); outline-offset: 1px; }
.picker { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.picker label {
  position: relative; cursor: pointer;
  background: #f3eefa; border: 3px solid transparent; border-radius: 14px;
  padding: 6px 4px 4px;
  transition: transform .15s cubic-bezier(.2, 1.6, .4, 1), background .12s;
}
.picker input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.picker img { width: 100%; height: 58px; object-fit: contain; }
.picker label:hover { transform: translateY(-3px) rotate(-2deg); }
.picker label.is-on { background: #ffe2ef; border-color: var(--pink); transform: translateY(-4px) scale(1.05); }
.picker label:has(input:focus-visible) { outline: 3px solid var(--grape); outline-offset: 2px; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--go); }
.error { min-height: 1.4em; margin-top: -8px; color: #c01f3a; font-weight: 500; font-size: 15px; }

.stage {
  position: relative; min-height: 420px;
  border: 4px solid var(--ink); border-radius: 28px; overflow: hidden;
  background: linear-gradient(var(--sky), #dff4ff);
  box-shadow: var(--pop);
  display: grid; place-items: end center;
}
.stage-sky { position: absolute; inset: 0; }
.stage-sky .c1 { top: 12%; left: 10%; }
.stage-sky .c3 { top: 26%; left: 62%; scale: .7; }
.stage-ground {
  position: absolute; inset: auto 0 0 0; height: 26%;
  background:
    linear-gradient(var(--ink) 0 4px, transparent 4px),
    radial-gradient(circle at 20% 40%, #8fdc6f 0 10px, transparent 11px) 0 0 / 70px 40px,
    linear-gradient(#7fd05f, #5cb847);
}
.plot { position: relative; z-index: 1; width: min(78%, 360px); margin-bottom: 13%; }
.plot img { width: 100%; height: auto; transform-origin: 50% 100%; }
.plot .ribbon { font-size: clamp(15px, 1.8vw, 21px); bottom: 14%; }
.plot img.rise { animation: rise .6s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes rise { from { transform: scale(.4, .2); opacity: 0; } to { transform: none; opacity: 1; } }
.plot img.shake { animation: shake .35s linear 3; }
@keyframes shake { 25% { rotate: -1.4deg; } 75% { rotate: 1.4deg; } }
.coins { position: absolute; inset: 0; pointer-events: none; }
.coins .coin { position: absolute; left: 50%; top: 40%; width: 26px; height: 26px; animation: burst .9s ease-out forwards; }
@keyframes burst {
  0% { transform: translate(-50%, 0) scale(.4); opacity: 1; }
  60% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), var(--dy)) scale(1); opacity: 0; }
}

.done {
  margin-top: 28px;
  background: var(--paper); border: 4px solid var(--ink); border-radius: 28px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--pop);
  display: grid; gap: 12px; justify-items: start;
  animation: stick .5s cubic-bezier(.2, 1.6, .4, 1) both;
}
.done[hidden] { display: none; }
.done h3 { font-size: clamp(26px, 3vw, 36px); }
.done p { font-size: 18px; max-width: 36em; }
.done:focus { outline: none; }
.done .btn { margin-top: 6px; }

/* celebration confetti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i {
  position: absolute; top: -20px; width: 12px; height: 18px; border-radius: 3px;
  border: 2px solid var(--ink);
  animation: fall var(--t) cubic-bezier(.3, .6, .6, 1) forwards;
}
@keyframes fall { to { transform: translate(var(--x), 110vh) rotate(var(--r)); } }

/* ---------- faq ---------- */
.faq { max-width: 820px; padding-bottom: 40px; }
.faq h2 { margin-bottom: 28px; }
.faq details {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 18px;
  margin-top: 14px;
  box-shadow: 0 4px 0 var(--ink);
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 600 20px/1.3 var(--display);
  padding: 16px 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--pink); color: var(--paper); font-size: 24px; line-height: 1;
  border: 2.5px solid var(--ink);
  transition: rotate .2s;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 20px 18px; color: var(--ink-soft); max-width: 40em; }

/* ---------- footer ---------- */
.foot {
  max-width: var(--max); margin: 0 auto;
  padding: 36px var(--gutter) 44px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 15px; color: var(--ink-soft);
}

/* ---------- signup steps ---------- */
.panel { display: flex; flex-direction: column; gap: 20px; }
.panel[hidden] { display: none; }
.panel-title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; }
.panel-title:focus { outline: none; }
.hint { font-size: 14.5px; color: var(--ink-soft); margin-top: 8px; }
.panel > .hint { margin-top: -10px; }
.soft { font: 500 14px var(--body); color: var(--ink-soft); }
#claim-form:not([data-role="parent"]) .only-parent { display: none; }

.field select {
  width: 100%; appearance: none;
  font: 500 18px var(--body); color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232b1840' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 3px solid var(--ink); border-radius: 14px;
  padding: 12px 40px 12px 14px;
  cursor: pointer;
}
[dir="rtl"] .field select { background-position: left 16px center; padding: 12px 14px 12px 40px; }
.field select:focus-visible { outline: 3px solid var(--grape); outline-offset: 1px; }

.who { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.who-opt, .pill, .level {
  position: relative; cursor: pointer;
  background: #f3eefa; border: 3px solid transparent; border-radius: 18px;
  transition: transform .15s cubic-bezier(.2, 1.6, .4, 1), background .12s, border-color .12s;
}
.who-opt input, .pill input, .level input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.who-opt { display: grid; gap: 2px; justify-items: start; padding: 14px 16px; text-align: start; }
.who-emoji { font-size: 30px; line-height: 1.1; }
.who-opt b { font: 600 19px/1.2 var(--display); }
.who-opt small { font-size: 14px; color: var(--ink-soft); }
.who-opt:hover, .pill:hover, .level:hover { transform: translateY(-2px); }
.who-opt.is-on, .pill.is-on, .level.is-on { background: #ffe2ef; border-color: var(--pink); transform: translateY(-3px); }
.who-opt:has(input:focus-visible), .pill:has(input:focus-visible), .level:has(input:focus-visible) { outline: 3px solid var(--grape); outline-offset: 2px; }

.chips, .yesno { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; font: 500 15.5px var(--body); }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.level { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; text-align: center; font: 600 14.5px/1.2 var(--display); }
.level-emoji { font-size: 28px; line-height: 1; }
.yesno .pill { padding: 10px 22px; font: 600 17px var(--display); }

.nav { display: flex; gap: 12px; }
.nav .btn { flex: 1; }
.nav .btn-ghost { flex: 0 0 auto; }
.nav [hidden] { display: none; }
.linkish {
  align-self: flex-start; margin-top: -14px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 600 16px var(--display); color: var(--grape); text-decoration: underline; text-underline-offset: 3px;
}
.linkish[hidden] { display: none; }
.privacy-link { color: var(--grape); font-weight: 600; text-underline-offset: 3px; }
.foot .privacy-link { margin-inline: 8px; }
.check a { position: relative; z-index: 1; }

@media (max-width: 640px) {
  .who { grid-template-columns: 1fr; }
  .levels { grid-template-columns: repeat(2, 1fr); }
  .nav .btn { font-size: 19px; padding-inline: 18px; white-space: nowrap; }
}

/* ---------- WhatsApp bubble ---------- */
.wa-bubble {
  position: fixed; z-index: 40; bottom: 18px; inset-inline-end: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px/1 var(--display); color: var(--ink); text-decoration: none;
  background: #25d366; border: 3px solid var(--ink); border-radius: 999px;
  padding: 10px 18px 10px 12px;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .12s;
}
[dir="rtl"] .wa-bubble { padding: 10px 12px 10px 18px; }
.wa-bubble:hover { transform: translateY(-2px); }
.wa-bubble[hidden], .wa-link[hidden] { display: none; }
@media (max-width: 640px) {
  .wa-bubble { padding: 12px; }
  .wa-bubble span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-pile { max-width: 340px; margin-top: 8px; }
  .steps { grid-template-columns: 1fr; max-width: 460px; }
  .phone { aspect-ratio: 4 / 3; }
  .phone img { object-position: center 30%; }
  .claim-grid { grid-template-columns: 1fr; }
  .stage { min-height: 340px; order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top .btn-small { display: none; }
  .stack { font-size: clamp(34px, 10.5vw, 46px); }
  .strip { white-space: normal; }
  .picker { grid-template-columns: repeat(3, 1fr); }
  .picker img { height: 64px; }
  .street { --bh: 160px; }
  .shelf { gap: 14px; }
  .item { padding: 10px 10px 14px; border-radius: 22px; }
  .chip { font-size: 12.5px; padding: 5px 9px; }
}

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