:root {
  --paper: #ffffff;
  --ink: #2b2b2b;
  --muted: #6b5520;
  --gold: #eeaa09;
  --gold-ink: #c98a00;
  --red: #e0533f;
  --blue: #3f7fc4;
  --green: #4a9e5a;
  --purple: #8a5bd0;
  --orange: #ef9a3c;
  --yellow: #f2b705;
  --hand: "Patrick Hand", "Comic Sans MS", "Segoe Print", cursive;
  --big: "Gochi Hand", "Comic Sans MS", "Segoe Print", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--gold);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 19px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-style: wavy; text-underline-offset: 3px; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.mono { font-family: var(--hand); }

/* hand-drawn blob border helper */
.blob { border: 2.5px solid var(--ink); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; }

/* topbar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--gold);
  border-bottom: 2.5px solid var(--ink);
}
.bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 68px; max-width: 1080px; margin: 0 auto; padding: 0 22px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 38px; display: block; }
.brand-text { font-family: var(--big); font-size: 30px; color: var(--ink); line-height: 1; }
.bar nav { display: flex; align-items: center; gap: 4px; }
.bar nav a {
  font-family: var(--big); font-size: 18px; color: var(--ink);
  padding: 6px 12px; border-radius: 10px; border: 2.5px solid transparent;
  white-space: nowrap;
}
.bar nav a:hover { border-color: var(--ink); text-decoration: none; }
.bar nav a.btn { margin-left: 6px; background: var(--ink); color: #fff; border-color: var(--ink); }
.bar nav a.btn:hover { background: #1a1a1a; color: var(--gold); border-color: var(--ink); }

.btn {
  display: inline-block; padding: 11px 20px; border-radius: 14px 6px 14px 6px / 6px 14px 6px 14px;
  font-family: var(--big); font-size: 18px; color: var(--ink); cursor: pointer; text-align: center;
  border: 2.5px solid var(--ink); background: var(--gold);
  box-shadow: 3px 3px 0 rgba(43,43,43,0.25);
}
.btn:hover { background: var(--gold-ink); color: #fff; text-decoration: none; transform: rotate(-1deg); }
.btn-ghost { background: #fff; }
.btn-ghost:hover { background: #fff6c9; color: var(--ink); }
.btn-sm { padding: 7px 14px; font-size: 15px; }

/* hero */
.hero { padding: 56px 0 48px; }
.eyebrow { font-family: var(--big); font-size: 18px; color: var(--muted); margin: 0 0 10px; }
.hero h1 { font-family: var(--big); font-size: 78px; line-height: 1; letter-spacing: 1px; margin: 0 0 6px; font-weight: 400; }
.scribble { display: block; width: 300px; margin: 6px 0 18px; }
.lede { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 0 26px; }
.lede em { font-style: normal; color: var(--red); }
.cta { display: flex; gap: 12px; margin-bottom: 42px; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.stat {
  background: #fff; padding: 14px 13px; box-shadow: 4px 4px 0 rgba(43,43,43,0.14);
}
.stat:nth-child(2n) { transform: rotate(-0.7deg); }
.stat:nth-child(3n) { transform: rotate(0.6deg); }
.stat .k { display: block; font-family: var(--big); font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.stat .v { font-family: var(--big); font-size: 26px; color: var(--ink); word-break: break-all; }

/* journey */
.journey { border-top: 2.5px solid var(--ink); padding: 52px 0 8px; }
.step { display: flex; gap: 24px; padding: 20px 0; align-items: flex-start; }
.step .num {
  font-family: var(--big); font-size: 42px; color: var(--ink); line-height: 1;
  min-width: 72px; transform: rotate(-2deg);
}
.step h2 { font-family: var(--big); font-size: 28px; font-weight: 400; margin: 0 0 6px; }
.step p { color: var(--muted); max-width: 720px; font-size: 19px; }

/* mountain / coins */
.mountain { padding: 52px 0; }
.mountain h2 { font-family: var(--big); font-size: 34px; font-weight: 400; margin: 0 0 24px; }
.coins { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 28px; }
.coin { background: #fff; padding: 18px 18px 20px; color: var(--ink); box-shadow: 5px 5px 0 rgba(43,43,43,0.13); }
.coin:hover { transform: rotate(-0.6deg) scale(1.01); text-decoration: none; }
.coin:nth-child(2n) { transform: rotate(0.5deg); }
.coin:nth-child(2n):hover { transform: rotate(0.5deg) scale(1.01); }
.coin .top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.coin .avatar { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; border: 2px solid var(--ink); background: #fff6c9; flex-shrink: 0; }
.coin .avatar.letter { display: flex; align-items: center; justify-content: center; font-family: var(--big); font-size: 22px; color: var(--ink); }
.coin .t { font-family: var(--big); font-size: 26px; font-weight: 400; letter-spacing: 1px; }
.coin .p { color: var(--muted); font-size: 15px; margin-top: 1px; }
.coin .mc { font-size: 15px; color: var(--muted); margin-top: 10px; }
.coin .bar { height: 9px; background: #fff; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; margin: 12px 0 10px; }
.coin .fill { height: 100%; background: var(--gold); }
.coin .row { display: flex; justify-content: space-between; font-size: 16px; color: var(--muted); }
.coin .row b { color: var(--ink); }
.empty { color: var(--muted); }
.all { font-family: var(--big); font-size: 18px; color: var(--blue); }

/* disclaimer */
.disclaimer { border-top: 2.5px solid var(--ink); padding: 40px 0; }
.disclaimer p { color: var(--muted); max-width: 820px; }
.disclaimer a { color: var(--blue); }

/* footer */
.footer { border-top: 2.5px solid var(--ink); padding: 48px 0 0; background: var(--gold); }
.footer-cols { max-width: 1080px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.fcol { display: flex; flex-direction: column; gap: 8px; }
.f-brand .tag { color: rgba(43,43,43,0.72); font-size: 15px; margin-top: 4px; line-height: 1.4; }
.fcol h4 { font-family: var(--big); font-size: 17px; font-weight: 400; margin: 0 0 2px; color: var(--ink); }
.fcol a { font-size: 16px; color: var(--ink); }
.fcol a:hover { color: #5a3d00; text-decoration: underline; text-decoration-style: wavy; text-underline-offset: 3px; }
.footer-bottom { max-width: 1080px; margin: 30px auto 0; padding: 16px 22px 24px; text-align: center; border-top: 2px dotted rgba(43,43,43,0.4); }
.footer-bottom span { color: rgba(43,43,43,0.72); font-size: 14px; }

/* cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto; z-index: 50; background: #fff; padding: 16px 18px; box-shadow: 6px 6px 0 rgba(43,43,43,0.2); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cookie-banner p { color: var(--muted); font-size: 16px; }
.cookie-banner .btn { flex-shrink: 0; }

/* prose pages */
.prose { max-width: 760px; }
.prose h1 { font-family: var(--big); font-size: 46px; font-weight: 400; margin: 0 0 18px; }
.prose h2 { font-family: var(--big); font-size: 26px; font-weight: 400; margin: 26px 0 8px; }
.prose p { color: var(--muted); font-size: 18px; margin-bottom: 12px; }
.prose p strong { color: var(--ink); }

@media (max-width: 720px) {
  .hero h1 { font-size: 52px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .coins { grid-template-columns: 1fr; }
  .bar { flex-direction: column; height: auto; padding: 12px 16px 14px; gap: 8px; }
  .bar nav { flex-wrap: wrap; justify-content: center; gap: 2px; }
  .bar nav a { font-size: 16px; padding: 5px 10px; }
  .bar nav a.btn { margin-left: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .f-brand { grid-column: 1 / -1; }
  .step .num { min-width: 48px; font-size: 32px; }
}
