:root {
  --ink: #1a1c16;
  --green: #3dcc5c;
  --green-deep: #14913a;
  --cream: #fffdf8;
  --mint: #e7f8ea;
  --pink: #ffd5de;
  --muted: #4e5a50;
  --line: #1a1c16;
  --shadow: 0 6px 0 var(--ink);
  --radius: 28px;
  --sans: "Nunito", "Trebuchet MS", "Arial Rounded MT Bold", sans-serif;
  --display: "Fredoka", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.45;
  background: linear-gradient(180deg, #165cb0 0%, #2e84ce 34%, #5cb0e0 58%, #a8d2e8 78%, #cee2ec 100%);
}
img { max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
::selection { background: #b6f5a8; }

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 46vh;
  min-height: 240px;
}
.cloud {
  position: absolute;
  background: #fff;
  border-radius: 40px;
  height: 46px;
  opacity: 0.96;
  animation: drift 64s ease-in-out infinite alternate;
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud::before {
  width: 58px;
  height: 58px;
  left: 22px;
  top: -32px;
}
.cloud::after {
  width: 42px;
  height: 42px;
  left: 68px;
  top: -20px;
}
.c1 { width: 150px; top: 8%; left: 7%; animation-duration: 72s; }
.c2 { width: 210px; top: 16%; left: 38%; animation-duration: 90s; animation-delay: -12s; }
.c3 { width: 120px; top: 9%; right: 10%; animation-duration: 58s; }
.c4 { width: 90px; top: 28%; left: 18%; animation-duration: 80s; opacity: 0.8; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(36px, 8px, 0); }
}
@keyframes bob {
  from, to { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 48px),
    var(--cream);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 8px 10px 8px 8px;
  position: sticky;
  top: 12px;
  z-index: 20;
  border-radius: 999px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e7f6ff;
  border: 2px solid var(--ink);
}
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.x-link {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: #111;
  color: #fff;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.x-link svg { width: 18px; height: 18px; display: block; }
.x-link:hover { transform: translateY(-2px) rotate(-8deg); }
.x-link:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.nav a, .dock a {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 12px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.nav a:hover, .dock a:hover { transform: translateY(-1px); }
.nav a.is-active, .dock a.is-active {
  background: var(--green);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45);
}
.buy { flex: 0 0 auto; padding: 10px 16px; }
.buy-short { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 12px 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  box-shadow: 0 5px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, 0.7);
  cursor: pointer;
}
.btn-green {
  background: var(--green);
}
.btn-quiet {
  background: transparent;
  box-shadow: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active, .preset:active, .switch:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, 0.7);
}
.btn-quiet:active { box-shadow: none; transform: translateY(1px); }
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #165cb0;
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.82fr);
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}
.hero-copy { padding: 28px 28px 24px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 0 rgba(61, 204, 92, 0.7);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(61, 204, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 204, 92, 0); }
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 0.98; margin: 0; }
h1 { font-size: clamp(3rem, 7vw, 5rem); font-weight: 700; }
h1 span { color: var(--green-deep); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; }
.lede { font-size: 1.12rem; margin: 14px 0; max-width: 38rem; }
.lede strong { font-weight: 800; }
.chips, .hero-actions, .presets, .sorts { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-actions { margin-top: 16px; }
.chip {
  background: var(--mint);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-figure { display: grid; place-items: center; }
.bob { animation: bob 4.5s ease-in-out infinite; }
.hero-figure img {
  width: min(100%, 470px);
  filter: drop-shadow(0 18px 16px rgba(12, 40, 70, 0.28));
}

.stats {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.stat { padding: 14px 16px 12px; border-radius: 24px; }
.stat .k, .fine, .sub, label, .board-legend, .ca span, .facts span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}
.stat .k { display: flex; align-items: center; gap: 6px; }
.stat strong {
  display: block;
  margin-top: 2px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat .sub { display: block; margin-top: 4px; }
.bar {
  display: block;
  height: 12px;
  margin-top: 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8cf0a2, var(--green-deep));
}

.wear-card {
  margin-top: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.pfp-stage { display: grid; justify-items: center; gap: 8px; }
.pfp-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--ink);
  box-shadow: 0 6px 0 var(--ink);
  background: #9fd0ee;
}
.stage-label {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
}
.wear-card h2 { margin-bottom: 8px; }
.wear-card > div > p { margin-top: 0; }
.steps {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: grid;
  gap: 10px;
}
.steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; }
.steps span, .rule .num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--ink);
  font-family: var(--display);
  font-weight: 700;
}
.steps h3 { font-size: 1.05rem; }
.steps p { margin: 2px 0 0; color: var(--muted); }

section { scroll-margin-top: 96px; }
.section-head { margin: 28px 4px 12px; }
.section-head p { margin: 8px 0 0; max-width: 42rem; }
.board-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.earn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: start;
}
.result-card, .side-card { padding: 22px; }
.big {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.big small {
  font-size: 0.34em;
  letter-spacing: 0;
  color: var(--green-deep);
}
.per-day { margin: 6px 0 8px; font-weight: 800; }
.status {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--green);
  font-family: var(--display);
  font-weight: 650;
}
.status.is-out { background: var(--pink); }
label { display: block; margin: 12px 0 6px; font-family: var(--display); font-weight: 600; color: var(--ink); }
.bal-row { display: flex; align-items: center; gap: 8px; }
input[type="text"], input[type="number"], #bal-input, #wallet-input, #handle-input {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  padding: 12px 16px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
}
#bal-input { font-size: 1.25rem; }
.unit, .at {
  font-family: var(--display);
  font-weight: 700;
  flex: 0 0 auto;
}
.at { margin-right: -2px; }
.slider-wrap { position: relative; margin-top: 12px; }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: linear-gradient(90deg, #ffc2cc 0 33.3%, #8ee89a 33.3% 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: radial-gradient(circle at 35% 35%, #fff, #5dE37a 42%, #14913a);
  box-shadow: 0 3px 0 var(--ink);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: #3dcc5c;
  box-shadow: 0 3px 0 var(--ink);
  cursor: grab;
}
.preset, .sorts .preset {
  border: 3px solid var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-family: var(--display);
  font-weight: 600;
  box-shadow: 0 3px 0 var(--ink);
  cursor: pointer;
}
.preset.is-on { background: var(--green); }
.preset em { font-style: normal; font-size: 0.75rem; margin-left: 4px; }

.switch {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  padding: 7px 14px 7px 7px;
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
}
.knob {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--pink);
  position: relative;
}
.knob::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  transition: left 0.15s ease;
}
.switch.is-on .knob { background: var(--green); }
.switch.is-on .knob::after { left: 24px; }

.compare { margin-top: 16px; display: grid; gap: 8px; }
.compare div {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  gap: 8px;
  align-items: center;
  font-family: var(--display);
  font-weight: 600;
}
.track {
  display: block;
  height: 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fff;
  overflow: hidden;
}
.track i { display: block; height: 100%; background: var(--green); }
.compare em { font-style: normal; text-align: right; }

.equation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 16px 0 8px;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.2rem;
}
.equation .op { color: var(--muted); }
.equation strong, .formula-line strong {
  background: var(--green);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 2px 12px;
  box-shadow: 0 3px 0 var(--ink);
}
.equation.is-out { opacity: 0.55; }
.fine { margin: 8px 0 0; }
.fine.dim { color: var(--muted); }
.fine.is-bad { color: #9a2340; }
.side-card .btn { width: 100%; margin-top: 10px; }
.checks { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 8px; }
.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid transparent;
}
.checks i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.checks li.is-on i { background: var(--green); }
.checks li.is-off i { background: var(--pink); }
.checks li.is-on i::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(-45deg) translate(0, -1px);
}

.board-card { padding: 12px; }
.board-legend, .person {
  display: grid;
  grid-template-columns: 36px 46px minmax(0, 1fr) 72px 110px;
  gap: 10px;
  align-items: center;
}
.board-legend {
  padding: 6px 12px 8px;
  font-size: 0.78rem;
}
.board-list { display: grid; gap: 8px; }
.board-empty { margin: 8px 12px 12px; font-weight: 800; }
.person.is-out img { filter: grayscale(1); opacity: 0.55; }
#submit-btn, #recheck-btn { width: 100%; margin-top: 16px; }
#mint-label { overflow-wrap: anywhere; }
.person {
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}
.person.is-you { background: var(--mint); }
.person .rank {
  font-family: var(--display);
  font-weight: 700;
  text-align: center;
}
.person img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: #9fd0ee;
}
.who b { display: block; font-family: var(--display); font-weight: 650; }
.who span, .earn-col span, .streak { color: var(--muted); font-size: 0.85rem; font-weight: 800; }
.earn-col { text-align: right; }
.earn-col b {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.streak { text-align: right; font-family: var(--display); color: var(--ink); font-size: 1rem; }

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.rule { padding: 18px; }
.rule .num { margin-bottom: 10px; }
.rule p { margin: 8px 0 0; }
.formula { margin-top: 12px; padding: 18px 20px; }
.formula-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 650;
}
.formula-line em { font-style: normal; color: var(--muted); }
.tiers {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0;
  margin: 0 0 8px;
}
.tiers li {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--display);
}
.tiers span {
  background: var(--green);
  border-radius: 999px;
  padding: 2px 8px;
  border: 2px solid var(--ink);
}

.coin {
  margin-top: 22px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 18px;
  align-items: center;
}
.coin-copy h2 { font-size: clamp(3rem, 6vw, 4.4rem); color: var(--green-deep); }
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.facts div, .ca {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 10px 12px;
}
.facts strong, .ca strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.coin-panel {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  background: #e7f6ff;
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 16px;
}
.coin-panel img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: #fff;
}
.ca { width: 100%; text-align: left; }
.coin-panel .btn { width: 100%; }
.coin-panel .fine { text-align: left; }

.foot {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.foot img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
}
.foot p { margin: 0; }
.foot .fine { width: 100%; }

.dock {
  display: none;
  position: fixed;
  z-index: 30;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 6px;
  justify-content: space-between;
}
.dock a { flex: 1; text-align: center; padding: 10px 4px; font-size: 0.92rem; }

@media (max-width: 900px) {
  .hero, .earn-layout, .wear-card, .coin, .rule-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero { margin-top: 12px; }
  .hero-figure { order: -1; }
  .hero-figure img { width: min(52vw, 210px); }
  .hero-copy { padding: 20px 18px 18px; }
  .facts { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .pfp-stage { margin-bottom: 4px; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .top-actions { margin-left: auto; }
  .dock { display: flex; }
  .wrap { padding-bottom: 108px; }
  .topbar { border-radius: 24px; }
  .board-head { flex-direction: column; align-items: stretch; }
  .person, .board-legend {
    grid-template-columns: 24px 40px minmax(0, 1fr) 84px;
  }
  .streak, .hide-sm { display: none; }
  .person { border-radius: 20px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .x-link { width: 40px; height: 40px; }
  .x-link svg { width: 16px; height: 16px; }
  .top-actions { gap: 6px; }
  .topbar .buy { padding: 10px 14px; font-size: 0.95rem; }
  .buy-long { display: none; }
  .buy-short { display: inline; }
  h1 { font-size: 2.7rem; }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  height: 5px;
  width: 0;
  background: var(--green);
  border-bottom: 2px solid var(--ink);
  pointer-events: none;
  transform-origin: left center;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(180deg, #165cb0 0%, #2e84ce 46%, #7eba48 78%, #24661e 100%);
  overflow: hidden;
}
.intro-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fffdf8;
}
.intro-mascot {
  width: min(280px, 58vw);
  margin: 0 auto;
  filter: drop-shadow(0 24px 18px rgba(8, 30, 16, 0.35));
  animation: pill-drop 0.95s cubic-bezier(0.16, 1.35, 0.3, 1) both;
}
.intro-card {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 22px 12px;
  background: var(--cream);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 6px 0 var(--ink);
  animation: rise 0.7s 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.intro-mark,
.intro-line {
  margin: 0;
  font-family: var(--display);
  color: var(--ink);
}
.intro-mark {
  font-size: clamp(3.2rem, 9vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--green-deep);
}
.intro-line {
  margin-top: 2px;
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  font-weight: 600;
}
.intro-skip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: #fff;
}
.intro.is-done {
  animation: intro-out 0.75s cubic-bezier(0.7, 0, 0.2, 1) forwards;
  pointer-events: none;
}
@keyframes pill-drop {
  0% { opacity: 0; transform: translateY(-70%) scale(0.72) rotate(-10deg); }
  70% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes intro-out {
  to { transform: translateY(-105%); }
}
@keyframes pop-in {
  0% { opacity: 0; transform: translateY(28px) scale(0.92); }
  100% { opacity: 1; transform: none; }
}
@keyframes num-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.js .topbar,
.js .hero-copy,
.js .hero-figure {
  opacity: 0;
}
html.js body.is-booted .topbar,
html.js body.is-booted .hero-copy,
html.js body.is-booted .hero-figure,
html.js body.is-booted .dock {
  opacity: 1;
}
html.js body.is-booted .topbar {
  animation: rise 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
html.js body.is-booted .hero-copy {
  animation: rise 0.75s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}
html.js body.is-booted .hero-figure {
  animation: pop-in 0.85s 0.16s cubic-bezier(0.16, 1.25, 0.3, 1) both;
}
html.js body.is-booted .dock {
  animation: rise 0.55s 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.big.pop { animation: num-pop 0.35s cubic-bezier(0.2, 1.3, 0.3, 1); }
.topbar {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.topbar.is-scrolled {
  box-shadow: 0 10px 0 rgba(22, 28, 22, 0.18), var(--shadow);
}
.js .reveal.is-in.stat:hover,
.js .reveal.is-in.rule:hover,
.js .wear-card.reveal.is-in:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bob, .cloud, .dot, .intro-mascot, .intro-card { animation: none; }
  .knob::after { transition: none; }
  .js .reveal,
  .js .topbar,
  .js .hero-copy,
  .js .hero-figure {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .intro { display: none; }
}
