:root {
  --cream: #f2dfb5;
  --paper: #f8ebca;
  --ink: #0b284f;
  --red: #c63825;
  --green: #19763d;
  --gold: #e5a726;
  --black: #151712;
  --line: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --hand: "Marker Felt", "Comic Sans MS", "Bradley Hand", cursive;
  --body: "Trebuchet MS", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.paper-noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: .16;
  pointer-events: none;
  mix-blend-mode: multiply;
  background-image: repeating-radial-gradient(circle at 30% 20%, rgba(26,20,8,.18) 0 1px, transparent 1px 4px);
  background-size: 9px 11px;
}
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 1001; background: rgba(11,40,79,.12); }
.progress span { display: block; height: 100%; width: 0; background: var(--red); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(242,223,181,.94);
  border-bottom: 3px solid var(--ink);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 clamp(1.1rem,2vw,1.45rem)/1 var(--hand); letter-spacing: -.04em; }
.brand img { width: 52px; height: 52px; object-fit: cover; border: 2px solid var(--ink); border-radius: 48% 52% 55% 45%; }
.brand > span > span { color: var(--red); }
nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); font: 800 .78rem/1 var(--hand); letter-spacing: .04em; }
nav a { position: relative; text-decoration: none; }
nav a:not(.nav-buy)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 3px; background: var(--red); transform: rotate(-2deg); transition: right .25s ease; }
nav a:hover::after { right: 0; }
.nav-buy { padding: 13px 19px; color: var(--paper); background: var(--red); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: rotate(1deg); transition: .2s ease; }
.nav-buy:hover { transform: translate(2px,2px) rotate(-1deg); box-shadow: 2px 2px 0 var(--ink); }
.menu-toggle { display: none; width: 44px; height: 42px; padding: 8px; background: transparent; border: 2px solid var(--ink); }
.menu-toggle > span:not(.sr-only) { display: block; height: 3px; margin: 5px 0; background: var(--ink); transition: .2s; }

.section-pad { padding: clamp(70px, 8vw, 118px) clamp(20px, 6vw, 92px); }
.hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(34px,6vw,90px); position: relative; }
.hero::before { content: ""; position: absolute; width: 290px; height: 290px; left: -100px; top: 10%; border: 4px dashed var(--red); border-radius: 50%; opacity: .2; }
.eyebrow, .kicker { margin: 0 0 18px; font: 900 .72rem/1.2 var(--hand); letter-spacing: .16em; color: var(--red); }
.eyebrow span { color: var(--ink); }
h1, h2, h3 { font-family: var(--hand); }
h1 { margin: 0; max-width: 680px; font-size: clamp(3.25rem, 7.3vw, 7.8rem); line-height: .83; letter-spacing: -.075em; transform: rotate(-1deg); text-wrap: balance; }
h1 em { color: var(--red); font-style: normal; text-shadow: 4px 4px 0 var(--gold); }
.hero-lede { max-width: 610px; margin: 30px 0 25px; font-size: clamp(.98rem, 1.25vw, 1.18rem); line-height: 1.65; font-weight: 700; }
.button-row { display: flex; gap: 15px; flex-wrap: wrap; }
.btn { min-height: 53px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; border: var(--line); box-shadow: 5px 5px 0 var(--ink); text-decoration: none; font: 900 .78rem/1 var(--hand); letter-spacing: .035em; transition: transform .2s, box-shadow .2s, background .2s; }
.btn b { font-size: 1.4em; }
.btn:hover { transform: translate(3px,3px) rotate(-1deg); box-shadow: 2px 2px 0 var(--ink); }
.btn-red { color: var(--paper); background: var(--red); }
.btn-cream { background: var(--paper); }
.btn-navy { color: var(--paper); background: var(--ink); }
.ca-chip { width: min(100%, 495px); margin-top: 22px; padding: 11px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; color: var(--ink); background: rgba(255,255,255,.3); border: 2px dashed var(--ink); cursor: pointer; text-align: left; transition: background .2s; }
.ca-chip:hover { background: rgba(255,255,255,.7); }
.ca-label, .copy-mark { font: 900 .66rem/1 var(--hand); }
.ca-label { padding: 7px; color: var(--paper); background: var(--ink); }
.ca-chip code, .contract-line code { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .75rem; }
.copy-mark { color: var(--red); }
.microcopy { margin: 8px 0 0; font-size: .67rem; font-weight: 700; opacity: .7; }
.comic-frame { position: relative; margin: 0; padding: clamp(9px,1vw,14px); background: var(--paper); border: var(--line); box-shadow: var(--shadow); transform: rotate(1deg); transition: transform .25s ease; }
.comic-frame::before { content: ""; position: absolute; inset: 5px; border: 1px dashed rgba(11,40,79,.4); pointer-events: none; }
.comic-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: saturate(.94) contrast(1.04); }
.hero-art img, .roadmap-section .comic-frame img { aspect-ratio: 3/2; }
.comic-frame figcaption { position: absolute; left: 22px; bottom: 21px; max-width: calc(100% - 44px); padding: 8px 12px; color: var(--paper); background: var(--ink); border: 2px solid var(--paper); font: 900 clamp(.61rem,1vw,.82rem)/1.2 var(--hand); transform: rotate(-1deg); }
.burst { position: absolute; top: -35px; right: -28px; width: 92px; aspect-ratio: 1; display: grid; place-items: center; color: var(--paper); background: var(--red); clip-path: polygon(50% 0,61% 28%,84% 10%,78% 38%,100% 50%,72% 59%,90% 84%,62% 76%,50% 100%,39% 73%,14% 90%,22% 61%,0 50%,28% 39%,10% 16%,39% 26%); font: 900 .84rem/1 var(--hand); transform: rotate(9deg); animation: pulse 2.2s ease-in-out infinite; }
.scribble-arrow { position: absolute; left: 44%; bottom: 5%; color: var(--red); font: 900 4rem/1 var(--hand); transform: rotate(21deg); }

.ticker { overflow: hidden; color: var(--paper); background: var(--red); border-block: 3px solid var(--ink); transform: rotate(-.5deg) scale(1.01); }
.ticker-track { display: flex; width: max-content; animation: marquee 24s linear infinite; }
.ticker span { padding: 18px 0; white-space: nowrap; font: 900 .9rem/1 var(--hand); letter-spacing: .09em; }

.split-section, .buy-layout, .roadmap-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(42px,8vw,120px); }
.section-copy { max-width: 620px; }
h2 { margin: 0 0 26px; font-size: clamp(2.35rem, 5.1vw, 5.7rem); line-height: .91; letter-spacing: -.065em; }
h2 span { color: var(--red); }
.section-copy > p:not(.kicker), .community-card > p:not(.kicker), .road p { font-size: clamp(.96rem,1.2vw,1.12rem); line-height: 1.65; font-weight: 650; }
.quote-box { margin: 27px 0; padding: 21px; background: var(--gold); border: var(--line); box-shadow: 5px 5px 0 var(--ink); font: 900 clamp(1rem,2vw,1.5rem)/1.25 var(--hand); transform: rotate(-1deg); }
.check-list { padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { padding: 10px 0; border-bottom: 2px dashed rgba(11,40,79,.35); font: 800 .9rem/1.4 var(--hand); }
.check-list span { display: inline-grid; width: 25px; height: 25px; margin-right: 8px; place-items: center; color: var(--paper); background: var(--green); border-radius: 50%; }

.buy-section { background: var(--paper); border-block: 3px solid var(--ink); }
.section-heading { max-width: 850px; margin: 0 auto 55px; text-align: center; }
.section-heading h2 { margin-bottom: 0; }
.steps { display: grid; gap: 17px; }
.step-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px; background: var(--cream); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform .2s; }
.step-card:hover { transform: translateX(5px) rotate(.3deg); }
.step-number { width: 48px; height: 48px; display: grid; place-items: center; color: var(--paper); background: var(--red); border: 2px solid var(--ink); border-radius: 54% 46% 57% 43%; font: 900 1.45rem/1 var(--hand); }
.step-card h3 { margin: 2px 0 6px; font-size: 1.05rem; }
.step-card p { margin: 0; font-size: .83rem; line-height: 1.55; font-weight: 650; }
.steps .btn { justify-self: start; margin-top: 7px; }

.token-section { display: grid; grid-template-columns: minmax(260px,.72fr) 1.28fr; gap: clamp(42px,8vw,120px); align-items: center; color: var(--paper); background: var(--ink); border-bottom: 4px solid var(--red); }
.token-poster { position: relative; margin: 0; padding: 14px; background: var(--paper); border: 3px solid var(--paper); box-shadow: 10px 10px 0 var(--red); transform: rotate(-2deg); }
.token-poster img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.stamp { position: absolute; right: -26px; bottom: 30px; width: 100px; aspect-ratio: 1; display: grid; place-items: center; color: var(--paper); background: var(--red); border: 3px solid var(--paper); border-radius: 50%; text-align: center; font: 900 .8rem/1.1 var(--hand); transform: rotate(10deg); }
.kicker.light { color: var(--gold); }
.token-grid { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--paper); }
.token-grid div { min-width: 0; padding: clamp(15px,2.5vw,28px); border: 1px dashed rgba(248,235,202,.55); }
.token-grid small, .contract-line small { display: block; margin-bottom: 8px; color: var(--gold); font: 900 .62rem/1 var(--hand); letter-spacing: .1em; }
.token-grid strong { display: block; overflow-wrap: anywhere; font: 900 clamp(.95rem,1.8vw,1.5rem)/1 var(--hand); }
.contract-line { width: 100%; margin-top: 22px; padding: 15px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 15px; align-items: center; color: var(--paper); background: transparent; border: 2px dashed var(--paper); cursor: pointer; text-align: left; }
.contract-line span { min-width: 0; }
.contract-line b { padding: 11px 13px; color: var(--ink); background: var(--gold); font: 900 .68rem/1 var(--hand); }
.disclaimer { max-width: 720px; margin: 17px 0 0; font-size: .7rem; line-height: 1.5; opacity: .7; }

.roadmap-section { background: var(--cream); }
.roadmap-list { display: grid; gap: 0; }
.road { display: grid; grid-template-columns: auto 1fr; gap: 17px; padding: 17px 0; border-bottom: 2px dashed rgba(11,40,79,.35); }
.road > span { width: 47px; height: 47px; display: grid; place-items: center; color: var(--paper); background: var(--ink); border-radius: 50%; font-size: 1.2rem; }
.road.active > span { background: var(--red); }
.road small { color: var(--red); font: 900 .6rem/1 var(--hand); letter-spacing: .1em; }
.road h3 { margin: 4px 0; font-size: 1.05rem; }
.road p { margin: 0; font-size: .8rem; line-height: 1.45; }

.community-section { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(30px,6vw,85px); overflow: hidden; background: var(--gold); border-top: 3px solid var(--ink); }
.community-section::before { content: "★"; position: absolute; right: -4vw; top: -9vw; color: rgba(198,56,37,.16); font: 900 34vw/1 var(--hand); transform: rotate(12deg); }
.community-card { position: relative; z-index: 2; padding: clamp(25px,4vw,48px); background: var(--paper); border: var(--line); box-shadow: var(--shadow); transform: rotate(1deg); }
.community-card h2 { font-size: clamp(2.4rem,4.5vw,5rem); }

footer { color: var(--paper); background: var(--ink); border-top: 3px solid var(--ink); }
footer > img { width: 100%; max-height: 360px; object-fit: cover; border-bottom: 3px solid var(--paper); }
.footer-bar { min-height: 85px; padding: 20px clamp(20px,6vw,92px); display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 900 .67rem/1.4 var(--hand); letter-spacing: .07em; }
.footer-bar a { color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 999; padding: 14px 21px; color: var(--paper); background: var(--green); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); font: 900 .78rem/1 var(--hand); transform: translate(-50%,130px) rotate(-2deg); transition: transform .3s ease; }
.toast.show { transform: translate(-50%,0) rotate(-2deg); }

.reveal { opacity: 0; transform: translateY(28px) rotate(.6deg); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1); }
.reveal.in-view { opacity: 1; transform: translateY(0) rotate(0); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { transform: rotate(-5deg) scale(1.08); } }

@media (max-width: 900px) {
  .site-header { min-height: 68px; }
  .menu-toggle { display: block; }
  nav { position: absolute; left: 0; right: 0; top: 100%; padding: 24px; display: grid; gap: 22px; color: var(--paper); background: var(--ink); border-bottom: 3px solid var(--red); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: .25s ease; }
  nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-buy { justify-self: start; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero, .split-section, .buy-layout, .roadmap-section, .community-section { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-copy { text-align: center; }
  .hero-lede, .ca-chip { margin-left: auto; margin-right: auto; }
  .button-row { justify-content: center; }
  .hero-art { width: min(720px,100%); margin: 0 auto; }
  .scribble-arrow { display: none; }
  .split-section .comic-frame { order: 2; }
  .section-copy { max-width: none; }
  .token-section { grid-template-columns: minmax(230px, 390px) 1fr; }
  .community-art { order: 2; }
}

@media (max-width: 680px) {
  .section-pad { padding: 66px 18px; }
  .brand img { width: 44px; height: 44px; }
  .brand { font-size: 1rem; }
  h1 { font-size: clamp(3rem,16.5vw,5rem); }
  h2 { font-size: clamp(2.35rem,12.7vw,4rem); }
  .hero-lede { font-size: .94rem; }
  .button-row, .button-row .btn { width: 100%; }
  .btn { flex: 1 1 auto; }
  .comic-frame { box-shadow: 5px 5px 0 var(--ink); }
  .burst { width: 74px; right: -9px; }
  .token-section { grid-template-columns: 1fr; }
  .token-poster { width: min(350px,90%); margin: 0 auto; }
  .token-grid { grid-template-columns: 1fr; }
  .contract-line { grid-template-columns: 1fr; }
  .contract-line b { justify-self: start; }
  .community-card { box-shadow: 5px 5px 0 var(--ink); }
  .footer-bar { align-items: flex-start; flex-direction: column; }
  footer > img { min-height: 180px; }
}

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