/* Squatnik landing. Design system: docs/design/03-design.md (direction C, "Стикерпак с района").
   One dark theme by design: night yard, lamp yellow, stairwell green, hard ink shadows. */

:root {
  --night: #121519;
  --concrete: #1b2027;
  --card: #232a33;
  --card-2: #2d3540;
  --line: #3a4452;
  --ink: #0b0d10;
  --chalk: #f4efe4;
  --chalk-2: #bdb6a8;
  --chalk-3: #8a93a1;
  --lamp: #ffc531;
  --lamp-hover: #ffd256;
  --lamp-press: #e3a700;
  --stair: #3e7a5a;
  --stair-dark: #2c5a42;
  --stair-hi: #57a77c;
  --brick: #e5372b;
  --hp-enemy: #ff4a3d;
  --hp-player: #43d67a;
  --err: #ff8a7a;
  --whitewash: #dcd5c6;
  --paper: #f7f3ea;

  --fd: 'Unbounded', system-ui, sans-serif;
  --fb: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: 16px;
  --r-chip: 8px;
  --r-btn: 14px;
  --r-card: 20px;
  --header-h: 60px;

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--night);
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--night);
  color: var(--chalk);
  font: 400 16px/1.5 var(--fb);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* halftone "print" texture over the night */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(244, 239, 228, 0.045) 1px, transparent 1.6px);
  background-size: 7px 7px;
}

main { overflow-x: clip; }

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select { font: inherit; color: inherit; }

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

.wrap {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 780px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 3px solid var(--ink);
  border-radius: var(--r-btn);
  font: 800 14px/1 var(--fd);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 80ms ease-out, box-shadow 80ms ease-out, background-color 120ms;
}
.btn--primary {
  background: var(--lamp);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--ink);
}
.btn--primary:hover { background: var(--lamp-hover); }
.btn--primary:active { background: var(--lamp-press); transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn--secondary {
  background: var(--card-2);
  color: var(--chalk);
  box-shadow: 0 4px 0 var(--ink);
}
.btn--secondary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 12px; border-width: 2.5px; box-shadow: 0 3px 0 var(--ink); }
.btn--sm:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn--lg { min-height: 60px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 21, 25, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.top__in {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-width: 0;
}
.logo__lamp { width: 34px; height: 34px; flex: none; }
.logo__word {
  font: 900 17px/1 var(--fd);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--chalk);
}
.top__right { display: flex; align-items: center; gap: 10px; }
.top__right .btn { display: none; }

.lang {
  display: flex;
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-2);
  box-shadow: 0 2px 0 var(--ink);
}
.lang a {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 36px;
  padding: 0 8px;
  font: 700 12px/1 var(--fd);
  color: var(--chalk-3);
  text-decoration: none;
}
.lang a[aria-current] { background: var(--chalk); color: var(--ink); }

/* ---------- shared type ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 13px/1 var(--fb);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lamp);
}
.kicker::before {
  content: '';
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--lamp);
}
.h2 {
  margin: 12px 0 28px;
  max-width: 22ch;
  font: 800 clamp(1.55rem, 5.4vw, 2.7rem)/1.12 var(--fd);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section { padding-block: 64px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 28px 0 8px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -60px 0 auto;
  height: 620px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 78% 22%, rgba(255, 197, 49, 0.2), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(62, 122, 90, 0.22), transparent 70%);
}
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  background: var(--card-2);
  border: 2px solid var(--ink);
  border-radius: var(--r-chip);
  box-shadow: 0 3px 0 var(--ink);
  font: 700 12px/1 var(--fb);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk-2);
  transform: rotate(-2deg);
}
.tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hp-player);
  box-shadow: 0 0 0 3px rgba(67, 214, 122, 0.25);
  animation: blink 1.6s ease-in-out infinite;
}
.hero__title {
  margin: 20px 0 18px;
  font: 900 clamp(1.7rem, 7.3vw, 4.3rem)/1.06 var(--fd);
  letter-spacing: -0.015em;
}
.hero__title em {
  font-style: normal;
  color: var(--lamp);
  text-shadow: 0 0.06em 0 var(--ink);
}
.hero__lead {
  max-width: 34em;
  font-size: 18px;
  line-height: 1.5;
  color: var(--chalk-2);
}
.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}
.hero__actions .btn { flex: 1 1 100%; }
.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--chalk-2);
}
.hero__note svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--hp-player);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.hero__art {
  position: relative;
  margin: 0 auto;
  width: min(76vw, 400px);
}
.hero__frame {
  position: relative;
  border: 5px solid var(--chalk);
  border-radius: 30px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 0 0 3px var(--ink), 12px 14px 0 3px var(--ink);
  transform: rotate(2deg);
}
.hero__frame img { width: 100%; aspect-ratio: 900 / 1613; object-fit: cover; }
.sticker-label {
  position: absolute;
  left: -10px;
  bottom: 26px;
  padding: 7px 11px;
  background: var(--lamp);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: var(--r-chip);
  box-shadow: 0 3px 0 var(--ink);
  font: 800 11px/1 var(--fd);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(-7deg);
}
.float {
  position: absolute;
  width: 64px;
  pointer-events: none;
  filter: drop-shadow(0 4px 0 var(--ink));
  animation: float 4.2s ease-in-out infinite;
}
.float--seeds { --r: -14deg; top: 30%; right: -30px; }
.float--slipper { --r: 18deg; top: 4%; left: -26px; width: 70px; animation-delay: -1.4s; }
.float--beater { display: none; }

/* ---------- tape (exercise marquee) ---------- */
.tape {
  position: relative;
  margin: 56px -20px 0;
  padding: 12px 0;
  background: var(--lamp);
  border-block: 3px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink);
  transform: rotate(-2deg);
  overflow: hidden;
}
.tape__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.tape__half { display: flex; align-items: center; }
.tape span,
.tape i {
  font: 800 17px/1 var(--fd);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.tape i { padding-inline: 18px; font-size: 14px; }

/* ---------- how it works ---------- */
.steps { list-style: none; display: grid; gap: 18px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 116px 1fr;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: 0 5px 0 var(--ink);
  overflow: hidden;
}
.step__pic { border-right: 3px solid var(--ink); background: var(--card-2); }
.step__pic img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.step__body { padding: 14px 14px 16px; }
.step__num {
  position: absolute;
  top: 8px;
  left: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lamp);
  border: 2.5px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  font: 900 17px/1 var(--fd);
  color: var(--ink);
}
.step__title { margin-bottom: 6px; font: 800 16px/1.25 var(--fd); }
.step p { font-size: 15px; line-height: 1.45; color: var(--chalk-2); }
.how__more {
  margin-top: 26px;
  max-width: 44em;
  font-size: 15px;
  color: var(--chalk-2);
}

/* ---------- enemies ---------- */
.enemies__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -12px 0 6px;
  font-size: 15px;
  color: var(--chalk-2);
}
.enemies__hint svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--lamp);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rail {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 16px var(--gutter) 30px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.enemy-list {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80vw, 300px);
  gap: 16px;
}
.enemy {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: 0 6px 0 var(--ink);
}
.enemy__stage {
  position: relative;
  aspect-ratio: 1 / 1.08;
  border-bottom: 3px solid var(--ink);
  border-radius: 17px 17px 0 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 21, 25, 0.55), rgba(18, 21, 25, 0.1) 45%, rgba(18, 21, 25, 0.35)),
    url('/assets/stage-podezd.webp') center 30% / cover,
    var(--card-2);
}
.enemy__hit {
  position: absolute;
  inset: auto 0 0;
  height: 76%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.enemy__hit:focus-visible { outline-offset: -6px; }
.enemy__hit img {
  width: 84%;
  margin-bottom: -1%;
  transform-origin: 50% 100%;
  animation: breathe 2.2s ease-in-out infinite;
  filter: drop-shadow(0 6px 0 rgba(11, 13, 16, 0.55));
}
.enemy.is-hit .enemy__hit img { animation: squash 220ms cubic-bezier(0.3, 1.6, 0.5, 1); }
.enemy.is-flash .enemy__hit img { animation: squash-flash 220ms cubic-bezier(0.3, 1.6, 0.5, 1); }
.enemy.is-crit .enemy__stage { animation: shake 140ms linear; }
.enemy.is-defeated .enemy__hit img {
  animation: none;
  transform: rotate(-10deg) translate(-4%, 6%);
  filter: drop-shadow(0 6px 0 rgba(11, 13, 16, 0.55)) saturate(0.6);
  transition: transform 400ms cubic-bezier(0.3, 1.5, 0.5, 1);
}

.bubble {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  right: 12px;
  padding: 9px 12px;
  background: var(--chalk);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 3px 0 var(--ink);
  font: 700 14px/1.3 var(--fb);
}
.bubble::after {
  content: '';
  position: absolute;
  left: 40%;
  bottom: -12px;
  width: 18px;
  height: 14px;
  background: var(--chalk);
  border: 2.5px solid var(--ink);
  border-top: 0;
  border-left: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: skewX(-18deg);
}
.bubble.is-pop { animation: bubble-pop 260ms cubic-bezier(0.3, 1.6, 0.5, 1); }

.fx { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.pop {
  position: absolute;
  font: 900 40px/1 var(--fd);
  color: var(--lamp);
  text-shadow: 0 3px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink), 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink);
  transform: translate(-50%, -50%);
  animation: pop-up 700ms ease-out forwards;
  white-space: nowrap;
}
.pop--crit { font-size: 54px; color: #fff; }
.burst {
  position: absolute;
  transform: translate(-50%, -50%) rotate(-10deg);
  filter: drop-shadow(0 3px 0 var(--ink));
  animation: burst 520ms ease-out forwards;
}
.burst span {
  display: block;
  padding: 24px 26px;
  background: var(--lamp);
  color: var(--ink);
  font: 900 15px/1 var(--fd);
  clip-path: polygon(50% 0, 61% 22%, 85% 8%, 78% 34%, 100% 42%, 80% 58%, 94% 82%, 66% 76%, 56% 100%, 44% 78%, 18% 94%, 24% 68%, 0 58%, 20% 44%, 8% 18%, 36% 24%);
}
.stamp-win {
  position: absolute;
  left: 50%;
  top: 55%;
  padding: 8px 14px;
  border: 4px solid var(--lamp);
  border-radius: 10px;
  background: rgba(11, 13, 16, 0.78);
  color: var(--lamp);
  font: 900 26px/1 var(--fd);
  letter-spacing: 0.04em;
  translate: -50% -50%;
  rotate: -10deg;
  animation: stamp-in 380ms cubic-bezier(0.3, 1.5, 0.5, 1) both;
  white-space: nowrap;
}
.again {
  position: absolute;
  left: 50%;
  bottom: 12px;
  translate: -50% 0;
  width: max-content;
  padding: 6px 10px;
  border-radius: var(--r-chip);
  background: rgba(11, 13, 16, 0.78);
  font: 700 12px/1 var(--fb);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chalk);
}

.enemy__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.patience { display: grid; gap: 5px; }
.patience__label {
  font: 700 11px/1 var(--fb);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk-3);
}
.patience__bar {
  --hp: 1;
  position: relative;
  height: 18px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: #3b1714;
  overflow: hidden;
}
.patience__fill,
.patience__trail {
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform: scaleX(var(--hp));
}
.patience__trail { background: rgba(255, 197, 49, 0.75); transition: transform 300ms ease-out 350ms; }
.patience__fill { background: var(--hp-enemy); transition: transform 110ms ease-out; }
.patience__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), rgba(11, 13, 16, 0.5) calc(10% - 2px) 10%);
}
.patience__bar.is-low .patience__fill { animation: pulse 1s ease-in-out infinite; }
.enemy__name { font: 800 18px/1.2 var(--fd); }
.enemy__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  background: var(--card-2);
  border: 2px solid var(--ink);
  border-radius: var(--r-chip);
  font: 700 11px/1.1 var(--fb);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chalk-2);
}
.chip--weak { background: var(--stair); color: var(--chalk); }
.enemy__cap { font-size: 14.5px; line-height: 1.45; color: var(--chalk-2); }

.enemy--locked .enemy__stage {
  background:
    radial-gradient(rgba(244, 239, 228, 0.07) 1.2px, transparent 1.8px) 0 0 / 8px 8px,
    radial-gradient(ellipse at 50% 80%, #2f3844, #1b2027 70%);
}
.mystery {
  font: 900 150px/1 var(--fd);
  color: #3a4452;
  text-shadow: 0 6px 0 var(--ink);
  margin-bottom: 10%;
  transform-origin: 50% 100%;
  animation: breathe 2.6s ease-in-out infinite;
}
.enemy--locked.is-hit .mystery { animation: shake 160ms linear; }
.soon {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 58%;
  padding: 9px 0;
  background: var(--lamp);
  border-block: 3px solid var(--ink);
  color: var(--ink);
  font: 900 15px/1 var(--fd);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(-8deg);
}
.enemy--locked .patience__fill { background: var(--line); }
.enemy--boss .chip:first-child { background: var(--brick); color: var(--ink); }

.enemies__more { margin-top: 4px; max-width: 44em; font-size: 15px; color: var(--chalk-2); }

/* ---------- privacy: notice on the stairwell wall ---------- */
.wall {
  position: relative;
  padding: 64px 0 76px;
  border-block: 4px solid var(--ink);
  background:
    linear-gradient(180deg, transparent 0 36%, var(--stair-dark) 36% calc(36% + 8px), transparent calc(36% + 8px)),
    radial-gradient(rgba(11, 13, 16, 0.12) 1px, transparent 1.6px) 0 0 / 6px 6px,
    linear-gradient(180deg, var(--whitewash) 0 36%, var(--stair) 36% 100%);
}
.notice {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 30px 22px 0;
  background: var(--paper);
  color: #1a1e23;
  border: 1px solid #d7cfbf;
  box-shadow: 0 10px 0 rgba(11, 13, 16, 0.35);
  transform: rotate(-1.2deg);
  text-align: center;
}
.notice__tape {
  position: absolute;
  top: -12px;
  width: 92px;
  height: 28px;
  background: rgba(255, 214, 120, 0.7);
  border: 1px solid rgba(160, 120, 30, 0.35);
}
.notice__tape--l { left: -18px; transform: rotate(-24deg); }
.notice__tape--r { right: -18px; transform: rotate(20deg); }
.notice__head {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid currentColor;
  font: 900 15px/1 var(--fd);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b3261b;
}
.notice__title {
  margin: 18px auto 14px;
  max-width: 16ch;
  font: 800 clamp(1.45rem, 5vw, 2.05rem)/1.15 var(--fd);
  text-wrap: balance;
  color: var(--ink);
}
.notice__text { font-size: 17px; line-height: 1.5; color: #262b31; }
.notice__sign {
  margin-top: 14px;
  text-align: right;
  font: italic 500 15px/1.3 var(--fb);
  color: #4a4f56;
}
.notice__strips {
  list-style: none;
  display: flex;
  margin: 22px -22px 0;
  border-top: 2px dashed #a49c8c;
}
.notice__strips li {
  flex: 1;
  height: 104px;
  padding: 10px 0;
  border-left: 1.5px dashed #a49c8c;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 600 12px/1 var(--fb);
  color: #3a3f46;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notice__strips li:last-child { border-left: 0; }
.notice__strips li:nth-child(3) { visibility: hidden; }

/* ---------- waitlist ---------- */
.waitlist__in { display: grid; gap: 34px; }
.waitlist__lead { max-width: 36em; font-size: 17px; color: var(--chalk-2); }
.perks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.perks li {
  position: relative;
  padding-left: 36px;
  font-size: 16px;
  line-height: 1.4;
}
.perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--lamp);
  border: 2px solid var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}
.perks li::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 3px;
  width: 7px;
  height: 12px;
  border: solid var(--ink);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.waitlist__heroes { display: none; }

.booth { position: relative; padding-top: 112px; max-width: 520px; width: 100%; margin-inline: auto; }
.booth__guard { position: absolute; inset: 0 0 auto; height: 190px; }
.booth__guard img { position: absolute; top: 0; right: 4px; width: 190px; }
.bubble--guard {
  top: 18px;
  left: 0;
  right: auto;
  max-width: calc(100% - 196px);
  font-size: 14px;
}
.bubble--guard::after { left: auto; right: -13px; bottom: 10px; width: 16px; height: 14px; transform: rotate(-90deg); }

.card {
  position: relative;
  z-index: 2;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: 0 6px 0 var(--ink);
  padding: 22px 18px 20px;
}
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label,
.field legend {
  padding: 0;
  font: 700 13px/1.2 var(--fb);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chalk-2);
}
.field legend { margin-bottom: 7px; }
.field input[type='email'],
.select select {
  width: 100%;
  height: 56px;
  padding: 0 14px;
  background: var(--card-2);
  border: 2px solid var(--ink);
  border-radius: var(--r-btn);
  font: 500 17px/1 var(--fb);
  color: var(--chalk);
  box-shadow: inset 0 2px 0 rgba(11, 13, 16, 0.35);
  transition: border-color 120ms, box-shadow 120ms;
}
.field input::placeholder { color: var(--chalk-3); }
.field input:focus,
.select select:focus {
  outline: none;
  border-color: var(--lamp);
  box-shadow: 0 0 0 3px rgba(255, 197, 49, 0.3);
}
.field.is-invalid input,
.field.is-invalid select { border-color: var(--err); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select select:invalid { color: var(--chalk-3); }
.select option { background: var(--card-2); color: var(--chalk); }
.select::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 3px solid var(--chalk-2);
  border-bottom: 3px solid var(--chalk-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field__err { min-height: 0; font-size: 14px; color: var(--err); }
.field__err:empty { display: none; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg__opt { position: relative; }
.seg__opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.seg__opt span {
  display: grid;
  place-items: center;
  height: 56px;
  background: var(--card-2);
  border: 2px solid var(--ink);
  border-radius: var(--r-btn);
  box-shadow: 0 3px 0 var(--ink);
  font: 800 15px/1 var(--fd);
  cursor: pointer;
  transition: transform 80ms, box-shadow 80ms, background-color 120ms;
}
.seg__opt input:checked + span {
  background: var(--lamp);
  color: var(--ink);
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}
.seg__opt input:focus-visible + span { outline: 3px solid var(--lamp); outline-offset: 3px; }
.field.is-invalid .seg__opt span { border-color: var(--err); }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__status { font-size: 14.5px; line-height: 1.4; color: var(--chalk-2); }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--err); }
.form__consent { font-size: 13px; line-height: 1.45; color: var(--chalk-3); }
.form__consent a { color: var(--chalk-2); }

.done { display: grid; justify-items: center; gap: 16px; text-align: center; padding-block: 30px 26px; }
.done:focus { outline: none; }
.stamp {
  padding: 10px 16px;
  border: 4px solid var(--lamp);
  border-radius: 10px;
  box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 5px var(--lamp);
  color: var(--lamp);
  font: 900 clamp(1.4rem, 6vw, 1.9rem)/1.1 var(--fd);
  text-transform: uppercase;
  rotate: -4deg;
  animation: stamp-in 420ms cubic-bezier(0.3, 1.5, 0.5, 1) both;
}
.done__text { max-width: 30em; font-size: 16px; color: var(--chalk-2); }

/* ---------- faq ---------- */
.faq__list { display: grid; gap: 12px; }
.qa {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--ink);
}
.qa summary {
  position: relative;
  display: block;
  padding: 18px 60px 18px 18px;
  font: 700 16px/1.35 var(--fd);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: -4px; border-radius: 13px; }
.qa__icon {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: var(--lamp);
  border: 2.5px solid var(--ink);
  box-shadow: 0 2px 0 var(--ink);
  transition: transform 200ms;
}
.qa__icon::before,
.qa__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 3px;
  margin: -1.5px 0 0 -6px;
  border-radius: 2px;
  background: var(--ink);
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(45deg); }
.qa__a { padding: 0 18px 18px; }
.qa__a p { font-size: 15.5px; line-height: 1.55; color: var(--chalk-2); }

/* ---------- footer ---------- */
.foot {
  border-top: 3px solid var(--ink);
  background: var(--concrete);
  padding: 36px 0 calc(36px + env(safe-area-inset-bottom));
}
.foot__in { display: grid; gap: 20px; }
.foot__brand p { margin-top: 8px; font-size: 14px; color: var(--chalk-3); max-width: 34em; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.foot__links a { font-size: 15px; color: var(--chalk-2); text-underline-offset: 3px; }
.foot__links a:hover { color: var(--chalk); }
.foot__copy { font-size: 13px; color: var(--chalk-3); }

/* ---------- privacy policy & 404 ---------- */
.doc { padding: 36px 0 72px; }
.doc__back { font-size: 15px; color: var(--chalk-2); text-decoration: none; }
.doc__back:hover { color: var(--chalk); }
.doc__title { margin: 22px 0 8px; font: 800 clamp(1.35rem, 6.2vw, 2.6rem)/1.12 var(--fd); overflow-wrap: break-word; }
.doc__updated { font-size: 14px; color: var(--chalk-3); }
.doc__body { margin-top: 28px; }
.doc__body h2 { margin: 36px 0 12px; font: 700 19px/1.3 var(--fd); }
.doc__body p,
.doc__body li { font-size: 16.5px; line-height: 1.6; color: #e2dccf; }
.doc__body p + p { margin-top: 12px; }
.doc__body ul { padding-left: 1.25em; margin: 10px 0; }
.doc__body li { margin: 6px 0; }
.doc__body li::marker { color: var(--lamp); }
.doc__body a { color: var(--lamp); text-underline-offset: 3px; }
.doc__body code {
  padding: 1px 6px;
  background: var(--card-2);
  border-radius: 6px;
  font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.doc-tldr {
  padding: 18px 20px;
  background: var(--card);
  border: 3px solid var(--ink);
  border-left: 8px solid var(--lamp);
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--ink);
}
.doc-tldr h2 { margin-top: 0; }
.lost { padding: 72px 0 96px; min-height: 60vh; }
.lost .wrap { display: grid; justify-items: start; gap: 16px; }
.lost .lost__code {
  font: 900 96px/1 var(--fd);
  color: var(--lamp);
  text-shadow: 0 6px 0 var(--ink);
}
.lost p { color: var(--chalk-2); font-size: 17px; }

/* ---------- breakpoints ---------- */
@media (min-width: 440px) {
  .top__right .btn { display: inline-flex; }
}

@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .float { width: 84px; }
  .float--slipper { width: 90px; left: -54px; }
  .float--seeds { right: -54px; }
  .card { padding: 28px 26px 24px; }
  .booth { padding-top: 128px; }
  .booth__guard { height: 216px; }
  .booth__guard img { width: 216px; right: 16px; }
  .bubble--guard { max-width: calc(100% - 236px); top: 26px; font-size: 15px; }
}

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .step { display: block; }
  .step:nth-child(1) { rotate: -1.2deg; }
  .step:nth-child(2) { rotate: 0.8deg; margin-top: 18px; }
  .step:nth-child(3) { rotate: -0.6deg; }
  .step__pic { border-right: 0; border-bottom: 3px solid var(--ink); }
  .step__num { top: 12px; left: 12px; width: 52px; height: 52px; font-size: 24px; border-width: 3px; box-shadow: 0 4px 0 var(--ink); }
  .step__body { padding: 18px 20px 22px; }
  .step__title { font-size: 18px; margin-bottom: 8px; }
}

@media (min-width: 960px) {
  :root { --header-h: 68px; }
  .section { padding-block: 104px; }
  .logo__word { font-size: 20px; }
  .logo__lamp { width: 38px; height: 38px; }
  .hero { padding: 64px 0 24px; }
  .hero__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: 48px; }
  .hero__title { font-size: clamp(2.6rem, 5.1vw, 3.4rem); }
  .hero__lead { font-size: 19px; }
  .hero__art { width: 400px; justify-self: end; margin-right: 40px; }
  .float--beater { display: block; --r: 24deg; width: 96px; bottom: 10%; right: -64px; animation-delay: -2.6s; }
  .tape { margin-top: 72px; }
  .tape span { font-size: 20px; }

  .rail { overflow: visible; padding: 16px var(--gutter) 30px; max-width: 1140px; margin-inline: auto; }
  .enemy-list { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; gap: 20px; }
  .enemy:nth-child(odd) { rotate: -0.8deg; }
  .enemy:nth-child(even) { rotate: 0.8deg; margin-top: 14px; }

  .wall { padding: 96px 0 110px; }
  .notice { padding: 40px 40px 0; }
  .notice__strips { margin-inline: -40px; }

  .waitlist__in { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .waitlist__heroes { display: block; width: 340px; margin-top: 34px; filter: drop-shadow(0 6px 0 rgba(11, 13, 16, 0.6)); }
  .booth { margin-inline: 0 auto; }

  .foot__in { grid-template-columns: 1.4fr 1fr auto; align-items: start; }
}

/* ---------- motion ---------- */
@keyframes blink { 50% { opacity: 0.35; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-8px) rotate(calc(var(--r, 0deg) + 5deg)); }
}
@keyframes breathe {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.02); }
}
@keyframes squash {
  0% { transform: scale(1.12, 0.88) translateX(4%); }
  100% { transform: none; }
}
@keyframes squash-flash {
  0% { transform: scale(1.12, 0.88) translateX(4%); filter: brightness(2.4); }
  30% { filter: brightness(1) drop-shadow(0 6px 0 rgba(11, 13, 16, 0.55)); }
  100% { transform: none; }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
@keyframes pop-up {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
  22% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
  38% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, calc(-50% - 64px)) scale(1); opacity: 0; }
}
@keyframes burst {
  0% { transform: translate(-50%, -50%) rotate(-10deg) scale(0.4); opacity: 0; }
  25% { transform: translate(-50%, -50%) rotate(-10deg) scale(1.1); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(-50%, -50%) rotate(-6deg) scale(1); opacity: 0; }
}
@keyframes bubble-pop {
  0% { transform: scale(0.92); }
  60% { transform: scale(1.04); }
  100% { transform: none; }
}
@keyframes stamp-in {
  0% { scale: 1.8; opacity: 0; }
  60% { scale: 0.94; opacity: 1; }
  100% { scale: 1; }
}
@keyframes pulse { 50% { opacity: 0.55; } }

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