/* PopItBack landing page. Brand: brand/BRAND.md */
@font-face { font-family: Fredoka; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/fredoka-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Fredoka; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/fredoka-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Fredoka; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/fredoka-latin-700-normal.woff2) format("woff2"); }

:root {
  --green: #087F52;
  --deep: #075E3E;
  --yellow: #FFC83D;
  --ink: #0F172A;
  --mint: #F6FAF7;
  --tint: #E2F3EA;
  --cream: #FFF6DC;
  --muted: #475569;
  --white: #fff;
  --r: 22px;
  --bw: 3px;
  --sh: 5px 5px 0 var(--ink);
  --sh-sm: 3px 3px 0 var(--ink);
  --head: Fredoka, ui-rounded, system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--mint);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--deep); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--green); }
h1, h2, h3, .head { font-family: var(--head); line-height: 1.05; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(2.1rem, 8vw, 3.4rem); font-weight: 700; color: var(--deep); }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--yellow); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

.card { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  font: 600 1.08rem/1.1 var(--head);
  color: #fff; background: var(--green);
  border: var(--bw) solid var(--ink); border-radius: 999px;
  padding: .78em 1.25em; min-height: 48px;
  box-shadow: var(--sh-sm); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .08s ease, box-shadow .08s ease, background-color .15s;
}
.btn:hover { color: #fff; background: var(--deep); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-small { font-size: 1rem; padding: .6em 1.05em; min-height: 44px; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #FFD666; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--deep); }
.btn[disabled] { opacity: .7; cursor: progress; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--yellow);
  background-image: radial-gradient(rgba(15, 23, 42, .09) 1.6px, transparent 1.8px);
  background-size: 20px 20px;
  padding-bottom: 64px;
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 8px; position: relative; z-index: 2; }
.brand img { display: block; width: 168px; height: auto; }
.hero-grid { display: grid; gap: 0; position: relative; z-index: 2; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "lede" "form" "art" "cd"; }
.hero-head { grid-area: head; }
.hero-grid > .lede { grid-area: lede; }
.hero-form { grid-area: form; }
.hero-grid > .countdown { grid-area: cd; }
.kicker {
  display: inline-block; margin: 8px 0 12px; padding: .28em .85em;
  font: 600 .92rem var(--head); letter-spacing: .02em;
  background: var(--white); border: 2.5px solid var(--ink); border-radius: 999px; box-shadow: var(--sh-sm);
  transform: rotate(-1.5deg);
}
h1 {
  font-size: clamp(2.35rem, 11.4vw, 5.4rem); font-weight: 700; color: var(--ink);
  line-height: .98; margin-bottom: 18px;
}
.sticker {
  display: inline-block; margin-top: .12em;
  background: var(--white); color: var(--ink);
  border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: var(--sh);
  padding: .02em .22em .08em; transform: rotate(-2.5deg); white-space: nowrap;
}
.sticker em { font-style: normal; color: var(--green); }
.lede { font-size: 1.08rem; line-height: 1.45; max-width: 34rem; margin-bottom: 14px; }

.countdown { margin: 0 0 22px; }
.cd-label { font: 600 1.05rem var(--head); margin-bottom: 8px; }
.cd-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 26rem; }
.tile {
  background: var(--ink); color: var(--yellow); border-radius: 16px; text-align: center;
  padding: 10px 4px 8px; box-shadow: 3px 3px 0 var(--deep);
}
.tile .num { display: block; font: 700 clamp(1.6rem, 7.5vw, 2.3rem)/1 var(--head); font-variant-numeric: tabular-nums; }
.tile .unit { display: block; font-size: .78rem; color: #fff; margin-top: 4px; letter-spacing: .04em; }
.no-js .cd-tiles { display: none; }

.hero-art { grid-area: art; position: relative; margin: 18px auto 4px; width: min(100%, 300px); }
.scene { display: block; width: 100%; height: auto; overflow: visible; }
.art-note { display: none; }

@media (min-width: 900px) {
  .hero { padding-bottom: 90px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; grid-template-areas: "head art" "lede art" "form cd"; column-gap: 40px; align-items: start; }
  .hero-grid > .countdown { justify-self: center; text-align: center; margin-top: 6px; }
  .hero-grid > .countdown .cd-tiles { margin: 0 auto; }
  .h1-coin { display: none; }
  .hero-head { align-self: end; }
  .hero-art { width: 100%; max-width: 470px; margin: 0; align-self: center; }
  .kicker { margin: 18px 0 14px; }
  .lede { margin-top: 18px; margin-bottom: 20px; }
  .art-note { display: block; text-align: center; font: 600 1.1rem var(--head); margin-top: 6px; }
  .pill { display: inline-block; background: var(--green); color: #fff; border: 2.5px solid var(--ink); border-radius: 999px; padding: 0 .5em; margin-right: .2em; }
  .lede { font-size: 1.2rem; }
}

/* Waitlist form */
.wl-form { padding: 18px 16px 14px; max-width: 34rem; }
@media (min-width: 500px) { .wl-form { padding: 22px 22px 16px; } }
.wl-title { font-size: 1.4rem; font-weight: 700; color: var(--deep); margin-bottom: 2px; }
.wl-sub { color: var(--muted); margin-bottom: 10px; font-size: .95rem; }
.lbl { display: block; font: 600 1.05rem var(--head); margin-bottom: 6px; }
input[type=email], input[type=search], input[type=number], input[type=text] {
  font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--white);
  border: var(--bw) solid var(--ink); border-radius: 14px; padding: .7em .85em; min-height: 50px;
}
input::placeholder { color: #64748B; }
input:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 6px; font-size: .98rem; cursor: pointer; }
.consent input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--green); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-msg { min-height: 0; margin: 6px 0; font-weight: 600; }
.wl-msg.err { color: #9F1239; }
.fine { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.wl-done { text-align: center; padding: 8px 4px; animation: pop-in .4s cubic-bezier(.3, 1.6, .5, 1); }
.wl-done svg { width: 72px; height: 72px; }
.wl-done h3 { font-size: 1.6rem; color: var(--deep); margin: 6px 0 6px; }
.wl-done p { margin: 0 0 6px; }

/* Bubbles */
.bubble { position: absolute; z-index: 1; border-radius: 50%; border: 3px solid rgba(15, 23, 42, .18); background: rgba(255, 255, 255, .35); bottom: -60px; animation: rise 14s linear infinite; }
.b1 { width: 26px; height: 26px; left: 6%; animation-delay: -2s; }
.b2 { width: 14px; height: 14px; left: 22%; animation-duration: 10s; animation-delay: -6s; }
.b3 { width: 40px; height: 40px; left: 52%; animation-duration: 17s; animation-delay: -9s; }
.b4 { width: 18px; height: 18px; left: 78%; animation-duration: 12s; animation-delay: -3s; }
.b5 { width: 30px; height: 30px; left: 92%; animation-duration: 15s; animation-delay: -11s; }
@keyframes rise { from { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translateY(-45vh) translateX(14px); } to { transform: translateY(-95vh) translateX(-6px); opacity: 0; } }

.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 44px; display: block; z-index: 2; }

/* ---------- Hero animation (4.8 s loop) ---------- */
.scene .can, .scene .machine, .scene .coin-wrap, .scene .coin, .scene .spark { transform-box: fill-box; transform-origin: center; }
.scene .machine { transform-origin: 50% 100%; animation: gulp 4.8s ease-in-out infinite; }
.scene .can { animation: throw 4.8s cubic-bezier(.4, 0, .6, 1) infinite; }
.scene .coin-wrap { animation: coin-pop 4.8s cubic-bezier(.3, 1.4, .5, 1) infinite; opacity: 0; }
.scene .coin { animation: flip 4.8s linear infinite; }
.scene .spark { animation: spark 4.8s ease-out infinite; opacity: 0; }
.scene .scr-win { animation: scr-win 4.8s steps(1) infinite; opacity: 0; }
.scene .scr-idle { animation: scr-idle 4.8s steps(1) infinite; }
@keyframes throw {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  6% { transform: translate(0, -8px) rotate(-6deg); }
  12% { transform: translate(0, 0) rotate(0); }
  18% { transform: translate(6px, 6px) rotate(-10deg) scale(1.06, .9); }
  30% { transform: translate(78px, -128px) rotate(70deg); }
  40% { transform: translate(159px, -82px) rotate(90deg) scale(.55); opacity: 1; }
  44% { transform: translate(159px, -82px) rotate(90deg) scale(.15); opacity: 0; }
  88% { transform: translate(0, 30px) scale(.8); opacity: 0; }
  96% { transform: translate(0, -10px) scale(1.04); opacity: 1; }
  100% { transform: translate(0, 0); opacity: 1; }
}
@keyframes gulp { 0%, 42% { transform: none; } 46% { transform: scale(1.04, .95); } 52% { transform: scale(.98, 1.03); } 58%, 100% { transform: none; } }
@keyframes coin-pop {
  0%, 50% { transform: translate(0, 0) scale(.4); opacity: 0; }
  53% { opacity: 1; }
  66% { transform: translate(78px, -150px) scale(1.2); }
  74%, 88% { transform: translate(92px, -128px) scale(1); opacity: 1; }
  96%, 100% { transform: translate(92px, -128px) scale(.5); opacity: 0; }
}
@keyframes flip { 0%, 52% { transform: scaleX(1); } 56% { transform: scaleX(-1); } 60% { transform: scaleX(1); } 64% { transform: scaleX(-1); } 68%, 100% { transform: scaleX(1); } }
@keyframes spark { 0%, 70% { opacity: 0; transform: scale(.3); } 75% { opacity: 1; transform: scale(1.15); } 84% { opacity: 1; transform: scale(1); } 90%, 100% { opacity: 0; transform: scale(.6); } }
@keyframes scr-win { 0% { opacity: 0; } 46% { opacity: 1; } 92% { opacity: 0; } }
@keyframes scr-idle { 0% { opacity: 1; } 46% { opacity: 0; } 92% { opacity: 1; } }
@keyframes pop-in { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Ticker ---------- */
.ticker-clip { overflow: hidden; margin: -50px 0 -40px; padding: 40px 0; position: relative; z-index: 3; pointer-events: none; }
.ticker { background: var(--green); color: var(--yellow); border-block: var(--bw) solid var(--ink); overflow: hidden; transform: rotate(-1.6deg); margin: 0 -20px; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font: 700 1.2rem/1 var(--head); padding: 12px 0; white-space: nowrap; }
.ticker span::after { content: "●"; color: #fff; font-size: .7em; margin: 0 18px; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding: 64px 0; position: relative; }
@media (min-width: 900px) { .sec { padding: 90px 0; } }
.eyebrow { display: inline-block; font: 600 .9rem var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--deep); background: var(--tint); border: 2px solid var(--ink); padding: .2em .75em; border-radius: 999px; margin-bottom: 12px; }
.intro { font-size: 1.1rem; max-width: 40rem; margin: 12px 0 24px; }
.dark { background: var(--deep); color: #fff; }
.dark h2 { color: #fff; }
.dark .eyebrow { background: var(--yellow); color: var(--ink); }
.dark a { color: #fff; }
.note { font-weight: 600; }

/* ---------- Checker ---------- */
.checker { padding: 18px 14px 8px; display: grid; gap: 4px; }
@media (min-width: 600px) { .checker { padding: 24px 24px 12px; } }
fieldset { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
legend { font: 600 1.2rem var(--head); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 0; }
.step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--ink); font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  padding: .5em .95em; background: var(--white);
  border: 2.5px solid var(--ink); border-radius: 999px; box-shadow: var(--sh-sm);
  font: 600 1rem var(--head); cursor: pointer; user-select: none;
  transition: transform .08s, box-shadow .08s, background-color .12s;
}
.chip:hover span { background: var(--cream); }
.chip input:checked + span { background: var(--green); color: #fff; transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 760px) { .mats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.mat span { flex-direction: column; justify-content: center; text-align: center; border-radius: 18px; padding: 10px 4px 9px; width: 100%; line-height: 1.1; font-size: .95rem; }
.mat svg { width: 42px; height: 42px; }
.mat input:checked + span svg { filter: drop-shadow(0 0 0 #fff); }
.other-size { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-weight: 600; }
.other-size input { width: 7.5rem; min-height: 46px; padding: .45em .7em; }

.answer {
  margin-top: 18px; padding: 18px 18px 14px; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh);
  background: var(--white); transition: background-color .2s;
}
.answer .ans-top { display: flex; align-items: center; gap: 12px; }
.ans-coin { width: 64px; height: 64px; flex: none; }
.verdict { font: 700 clamp(1.5rem, 6vw, 2.1rem)/1.05 var(--head); margin: 0; }
.reason { font-size: 1.08rem; margin: 12px 0 8px; }
.final { font-size: .95rem; margin: 0; padding-top: 8px; border-top: 2px dashed currentColor; opacity: .95; }
.answer.yes { background: var(--green); color: #fff; }
.answer.no { background: var(--white); }
.answer.no .ans-coin { filter: grayscale(1); opacity: .55; }
.answer.zero { background: var(--cream); }
.answer.unsure { background: var(--tint); }
.answer.bump .ans-coin { animation: coin-bump .55s cubic-bezier(.3, 1.6, .5, 1); }
.answer.bump .verdict { animation: pop-in .35s ease-out; }
@keyframes coin-bump { 0% { transform: scale(.5) rotate(-30deg); } 60% { transform: scale(1.18) rotate(10deg); } 100% { transform: scale(1) rotate(0); } }

/* ---------- Calculator ---------- */
.sec-calc { background-color: var(--green); background-image: radial-gradient(rgba(255, 255, 255, .08) 2px, transparent 2.2px); background-size: 24px 24px; }
.sec-calc .intro { color: #fff; }
.calc-grid { display: grid; gap: 26px; }
@media (min-width: 900px) { .calc-grid { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; } }
.calc { padding: 20px 18px; color: var(--ink); }
.range-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.range-row:last-child { margin-bottom: 0; }
input[type=range] { flex: 1; min-width: 0; height: 44px; accent-color: var(--green); background: transparent; -webkit-appearance: none; appearance: none; }
input[type=range]::-webkit-slider-runnable-track { height: 14px; background: var(--tint); border: 2.5px solid var(--ink); border-radius: 99px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -12.5px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); cursor: grab; }
input[type=range]::-moz-range-track { height: 9px; background: var(--tint); border: 2.5px solid var(--ink); border-radius: 99px; }
input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); cursor: grab; }
input[type=range]:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.bubble-out { flex: none; min-width: 3.4em; text-align: center; font: 700 1.5rem/1 var(--head); background: var(--ink); color: var(--yellow); padding: .35em .5em; border-radius: 14px; }
.calc-out { padding: 22px 20px 20px; color: var(--ink); background: var(--cream); }
.big-label { font: 600 1.1rem var(--head); margin-bottom: 2px; }
.big-num { font: 700 clamp(3rem, 15vw, 4.6rem)/1 var(--head); color: var(--deep); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.split { display: flex; height: 26px; border: var(--bw) solid var(--ink); border-radius: 99px; overflow: hidden; background: #fff; }
.split span { display: block; height: 100%; transition: width .3s ease; }
.split-back { background: var(--green); }
.split-lost { background: repeating-linear-gradient(-45deg, #94A3B8 0 6px, #CBD5E1 6px 12px); }
.split-key { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 4px; }
.key { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 4px; vertical-align: -2px; margin-right: 4px; }
.key-back { background: var(--green); }
.key-lost { background: #94A3B8; }
.fun { background: #fff; border: 2px dashed var(--ink); border-radius: 14px; padding: 10px 12px; font-weight: 600; }
.share-msg { margin: 8px 0 0; font-weight: 600; min-height: 0; }

/* ---------- Map ---------- */
.map-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 10px; }
@media (min-width: 760px) { .map-tools { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.map-search { position: relative; }
.search-row { display: flex; gap: 8px; }
.search-row input { flex: 1; min-width: 0; }
.place-results { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.place-results button { font: 600 .95rem var(--head); background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: .4em .8em; min-height: 40px; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.place-results button:hover { background: var(--cream); }
.place-results small { color: var(--muted); font-weight: 500; }
.locate-box { padding-top: 0; }
@media (min-width: 760px) { .locate-box { padding-top: 32px; max-width: 16rem; } }
.tiny { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.map-msg { font-weight: 600; min-height: 1.5em; margin: 4px 0 8px; }
.map-box {
  position: relative; height: 440px; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden;
  background: var(--tint) repeating-linear-gradient(35deg, transparent 0 38px, rgba(8, 127, 82, .12) 38px 42px);
}
@media (min-width: 900px) { .map-box { height: 560px; } }
.map-ph { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 20px; font: 600 1.1rem var(--head); }
.ph-pin { width: 56px; height: 56px; color: var(--green); margin: 0 auto 6px; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.map-ready .map-ph { display: none; }
.map-box > .map-gl, .map-box > .map-gl.maplibregl-map { position: absolute; inset: 0; }
.map-credit {
  position: absolute; right: 0; bottom: 0; z-index: 5; max-width: 100%;
  background: rgba(255, 255, 255, .92); font-size: .78rem; line-height: 1.35; padding: 4px 9px; border-top-left-radius: 10px;
  border-top: 2px solid var(--ink); border-left: 2px solid var(--ink);
}
.map-credit a { color: var(--ink); }
.legend { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .95rem; }
.dot { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px; margin-right: 4px; border: 2.5px solid var(--ink); }
.dot-p { background: var(--green); border-color: #fff; box-shadow: 0 0 0 1.5px var(--ink); }
.dot-r { background: var(--yellow); }
.dot-c { width: 28px; height: 28px; background: var(--yellow); font: 700 .75rem var(--head); vertical-align: middle; }
.maplibregl-popup-content { font: 15px/1.4 system-ui, sans-serif; border: 2.5px solid var(--ink); border-radius: 14px !important; box-shadow: 3px 3px 0 var(--ink) !important; padding: 12px 30px 10px 14px !important; }
.maplibregl-popup-close-button { font-size: 22px; width: 30px; height: 30px; }
.pp-name { font: 700 1.1rem/1.15 var(--head); margin: 0 0 2px; }
.pp-tag { display: inline-block; font: 600 .8rem var(--head); background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 0 .55em; margin: 4px 0 6px; }
.pp-p { margin: 0 0 4px; font-size: .9rem; }
.pp-p a { color: var(--deep); }
.me-dot { width: 20px; height: 20px; border-radius: 50%; background: #2563EB; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ink), 0 0 0 10px rgba(37, 99, 235, .2); }

/* ---------- Features ---------- */
.sec-feat .intro { color: #fff; }
.feat-grid { display: grid; gap: 22px; margin-top: 10px; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feat-grid { grid-template-columns: repeat(4, 1fr); } }
.feat { color: var(--ink); padding: 18px 18px 8px; }
.feat:nth-child(odd) { transform: rotate(-.8deg); }
.feat:nth-child(even) { transform: rotate(.8deg); }
.feat h3 { color: var(--deep); margin: 16px 0 6px; }
.phone {
  width: 168px; height: 300px; margin: 4px auto 0; border: var(--bw) solid var(--ink); border-radius: 30px; background: var(--ink); padding: 8px;
  box-shadow: 4px 4px 0 var(--yellow), 4px 4px 0 3px var(--ink);
}
.scr { position: relative; height: 100%; border-radius: 22px; overflow: hidden; background: var(--mint); font-size: 11px; line-height: 1.25; }
.scr-map { background: #EAF2EC; }
.road { position: absolute; background: #fff; border: 1.5px solid #CBD5E1; }
.r1 { left: -10px; right: -10px; top: 70px; height: 12px; transform: rotate(-12deg); }
.r2 { top: -10px; bottom: 60px; left: 88px; width: 12px; transform: rotate(8deg); }
.r3 { left: -10px; right: -10px; top: 150px; height: 9px; transform: rotate(18deg); }
.mpin { position: absolute; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--green); border: 2.5px solid var(--ink); }
.mpin.full { background: #F59E0B; }
.p1 { left: 30px; top: 40px; } .p2 { left: 100px; top: 110px; } .p3 { left: 60px; top: 160px; width: 28px; height: 28px; background: var(--yellow); }
.sheet { position: absolute; left: 6px; right: 6px; bottom: 6px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 8px; display: grid; gap: 4px; }
.sheet b { font: 700 13px var(--head); }
.st { display: inline-block; font-weight: 700; color: var(--deep); }
.st-ok::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16A34A; margin-right: 4px; }
.mini-btn { background: var(--green); color: #fff; border-radius: 99px; text-align: center; font: 600 11px var(--head); padding: 4px; border: 1.5px solid var(--ink); }
.scr-scan { background: #1E293B; display: grid; place-items: center; }
.barcode { width: 110px; height: 70px; background: repeating-linear-gradient(90deg, #fff 0 3px, transparent 3px 5px, #fff 5px 6px, transparent 6px 10px, #fff 10px 14px, transparent 14px 16px); border: 6px solid #fff; border-radius: 6px; margin-top: -60px; }
.scanline { position: absolute; left: 22px; right: 22px; top: 90px; height: 3px; background: #F43F5E; box-shadow: 0 0 8px #F43F5E; animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 50% { transform: translateY(40px); } }
.res { position: absolute; left: 8px; right: 8px; bottom: 8px; background: var(--green); color: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 8px; display: grid; justify-items: center; }
.res-coin { width: 44px; height: 44px; }
.res b { font: 700 20px var(--head); }
.scr-wallet { padding: 12px 8px; display: grid; align-content: start; gap: 8px; }
.vch { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 8px 10px; display: grid; gap: 1px; }
.vch::before, .vch::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.vch::before { left: -7px; } .vch::after { right: -7px; }
.vch b { font: 700 20px var(--head); color: var(--deep); }
.vch small { color: #9A3412; font-weight: 700; }
.v1 { transform: rotate(-2deg); background: var(--cream); }
.v3 { opacity: .8; }
.scr-tot { display: grid; align-content: start; justify-items: center; padding: 22px 10px 10px; text-align: center; background: var(--yellow); }
.tot-num { font: 700 46px/1 var(--head); }
.tot-money { font: 700 30px/1 var(--head); color: var(--deep); margin-top: 12px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 16px; }
.bars i { display: block; width: 14px; background: var(--green); border: 2px solid var(--ink); border-radius: 4px 4px 0 0; }

/* ---------- Rules / FAQ ---------- */
.inout { display: grid; gap: 18px; margin: 22px 0 30px; }
@media (min-width: 760px) { .inout { grid-template-columns: 1fr 1fr; } }
.io { padding: 18px 18px 10px; }
.io h3 { font-size: 1.5rem; margin-bottom: 8px; }
.io ul { list-style: none; margin: 0; padding: 0; }
.io li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 2px dashed #CBD5E1; font-weight: 600; }
.io li:first-child { border-top: 0; }
.io li svg { width: 36px; height: 36px; flex: none; }
.io-in { background: var(--tint); }
.io-in h3 { color: var(--deep); }
.io-out h3 { color: #9F1239; }
.io-out li svg { opacity: .9; }
.sz { flex: none; display: inline-grid; place-items: center; width: 46px; height: 40px; border-radius: 10px; background: var(--yellow); border: 2px solid var(--ink); font: 700 .68rem/1.05 var(--head); text-align: center; }
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details { background: #fff; border: var(--bw) solid var(--ink); border-radius: 16px; box-shadow: var(--sh-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 52px 14px 16px; font: 600 1.12rem/1.25 var(--head); position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--ink); font: 700 1.2rem/1 var(--head); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; background: var(--green); color: #fff; }
.faq details[open] { background: var(--cream); }
.faq details p { padding: 0 16px 6px; margin: 0 0 10px; }
.sources { font-size: .88rem; color: var(--muted); margin-top: 24px; max-width: 52rem; }
.sources a { color: var(--deep); }

/* ---------- Waitlist band ---------- */
.sec-wait { background-color: var(--yellow); background-image: radial-gradient(rgba(15, 23, 42, .09) 1.6px, transparent 1.8px); background-size: 20px 20px; border-top: var(--bw) solid var(--ink); }
.sec-wait h2 { color: var(--ink); font-size: clamp(2.3rem, 10vw, 3.8rem); margin: 8px 0 12px; }
.wait-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .wait-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.wait-coin { width: 90px; height: 90px; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(14deg) translateY(-4px); } }
.wait-copy p { font-size: 1.12rem; max-width: 30rem; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); padding: 40px 0 46px; font-size: .9rem; border-top: var(--bw) solid var(--ink); }
.foot-logo { display: block; width: 160px; height: auto; margin-bottom: 14px; }
.foot-links { font-weight: 600; font-size: 1rem; }
.foot .legal, .foot .credits { color: #CBD5E1; max-width: 46rem; }
.foot a { color: #fff; }

/* ---------- Simple pages (privacy, thanks) ---------- */
.page-top { background: var(--yellow); border-bottom: var(--bw) solid var(--ink); padding: 14px 0; }
.page-top img { display: block; width: 160px; height: auto; }
.page { max-width: 46rem; padding: 40px 16px 60px; margin: 0 auto; }
.page h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); color: var(--deep); margin-bottom: 18px; }
.page h2 { font-size: 1.45rem; margin: 28px 0 8px; }
.page ul { padding-left: 1.2rem; }
.page li { margin: .3rem 0; }
.center { text-align: center; }
.big-coin { width: 140px; height: 140px; display: block; margin: 0 auto 10px; animation: coin-bump .8s cubic-bezier(.3, 1.6, .5, 1); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bubble, .scanline { display: none; }
  .scene .coin-wrap { opacity: 1; transform: translate(92px, -128px); }
  .scene .spark { opacity: 1; }
  .scene .scr-idle { opacity: 0; }
  .scene .scr-win { opacity: 1; }
  .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker-track span:nth-child(n+8) { display: none; }
}
.chip { display: inline-flex; }
.mat { display: flex; }
.sizes.dim { opacity: .5; }
legend { flex-wrap: wrap; }
.dim-note { display: none; flex-basis: 100%; font: 500 .9rem system-ui, sans-serif; color: var(--muted); }
.sizes.dim .dim-note { display: block; }
.wl-email { display: block; width: 100%; }
.wl-btn { width: 100%; margin-top: 4px; }
.swipe-hint { display: none; font: 600 1rem var(--head); color: var(--yellow); margin: -12px 0 6px; }
@media (max-width: 639px) {
  .swipe-hint { display: block; }
  .feat-grid { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -16px; padding: 6px 16px 18px; scroll-padding: 0 16px; overscroll-behavior-x: contain; }
  .feat { scroll-snap-align: start; }
  .feat:nth-child(odd), .feat:nth-child(even) { transform: none; }
}
input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--green) 0 var(--p, 50%), var(--tint) var(--p, 50%) 100%); }
input[type=range]::-moz-range-progress { height: 9px; background: var(--green); border: 2.5px solid var(--ink); border-radius: 99px; }

/* ---------- Review fixes 2026-11-29 ---------- */
[hidden] { display: none !important; }
.no-js .checker, .no-js #answer, .no-js #c-share { display: none; }
.hero-form { margin-top: 2px; }
@media (max-width: 899px) { .hero-form .wl-sub { margin-bottom: 8px; } .wl-form { padding-top: 14px; } }
@media (max-width: 379px) {
  .brand img { width: 128px; }
  .top-cta { font-size: .9rem; padding: .5em .8em; min-height: 42px; }
  .wl-title { font-size: 1.25rem; }
}
.feat-grid:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.maplibregl-ctrl-group button { width: 44px !important; height: 44px !important; }
.maplibregl-ctrl-group { border: 2.5px solid var(--ink) !important; border-radius: 12px !important; box-shadow: 2px 2px 0 var(--ink) !important; }

/* Sticky waitlist bar (mobile only) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, .94); border-top: var(--bw) solid var(--ink);
  transform: translateY(0); transition: transform .2s ease;
}
.sticky-cta .btn { width: 100%; }
.sticky-cta.off { transform: translateY(110%); }
@media (min-width: 900px) { .sticky-cta { display: none !important; } }
@media (max-width: 899px) { body.has-sticky { padding-bottom: 78px; } }

/* Little spinning 20p by the headline (mobile: the big scene is below the form) */
.hero-head { position: relative; }
.h1-coin { position: absolute; right: 2px; top: 52px; width: 64px; height: 64px; animation: h1coin 3.2s ease-in-out infinite; }
@keyframes h1coin { 0%, 55%, 100% { transform: translateY(0) scaleX(1) rotate(8deg); } 65% { transform: translateY(-16px) scaleX(-1) rotate(0); } 75% { transform: translateY(-20px) scaleX(1) rotate(-6deg); } 85% { transform: translateY(0) scaleX(1) rotate(8deg); } }
@media (max-width: 379px) { .h1-coin { width: 48px; height: 48px; top: 50px; } }
@media (max-width: 379px) { .hero-form .wl-sub { display: none; } }
.no-js .map-tools{display:none}

/* Small phones (320 px): keep the waitlist button above the fold */
@media (max-width: 379px) {
  .topbar { padding-bottom: 4px; }
  h1 { margin-bottom: 12px; }
  .lede { font-size: 1rem; line-height: 1.4; margin-bottom: 10px; }
  .hero-form .consent span { font-size: .88rem; line-height: 1.35; }
}
.io-note { font-size: .9rem; margin-top: 10px; opacity: .85; }
