:root {
  --paper: #f7f0e7;
  --paper-2: #fffaf3;
  --ink: #2d2926;
  --muted: #746b63;
  --mint: #42c990;
  --mint-dark: #258464;
  --blush: #ef9b88;
  --tan: #d99a53;
  --cream: #f4dfbc;
  --line: rgba(55, 46, 40, .19);
  --shadow: 0 18px 35px rgba(69, 48, 35, .13), 0 5px 0 rgba(69, 48, 35, .08);
  --round: 28px;
  --max: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(239,155,136,.14), transparent 24%),
    radial-gradient(circle at 90% 32%, rgba(66,201,144,.10), transparent 25%),
    var(--paper);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: 19px;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .40;
  background-image: url("assets/bg.png");
  background-size: cover;
  background-position: center;
  filter: saturate(.65) brightness(1.08);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: .16;
  mix-blend-mode: multiply;
  background:
    repeating-linear-gradient(8deg, transparent 0 37px, rgba(78,54,40,.045) 38px 39px),
    repeating-linear-gradient(101deg, transparent 0 71px, rgba(255,255,255,.45) 72px 74px);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.paper-noise { position: fixed; inset: 0; pointer-events: none; z-index: -1; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(calc(100% - 30px), 1440px);
  margin: 14px auto 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px 13px 20px;
  background: rgba(255,250,243,.88);
  border: 2px solid var(--line);
  border-radius: 24px 19px 27px 17px;
  box-shadow: 0 9px 25px rgba(69,48,35,.11);
  backdrop-filter: blur(13px);
}
.topbar::after {
  content: "";
  position: absolute;
  inset: 5px 8px 7px 5px;
  border: 1px dashed rgba(55,46,40,.12);
  border-radius: 21px 16px 23px 15px;
  pointer-events: none;
}

.ticker-badge {
  position: relative;
  z-index: 1;
  padding: 10px 15px;
  border-radius: 13px 10px 15px 9px;
  background: var(--blush);
  font-weight: 900;
  letter-spacing: .035em;
  box-shadow: 3px 4px 0 rgba(45,41,38,.18);
  transform: rotate(-1deg);
}
.topnav { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; }
.nav-link {
  padding: 11px 12px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  transition: transform .18s ease, color .18s ease;
}
.nav-link:hover { color: var(--mint-dark); transform: translateY(-2px) rotate(-1deg); }
.icon-button {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 2px solid var(--line);
  border-radius: 13px 16px 12px 15px;
  background: #fffaf4;
  transition: transform .18s ease, box-shadow .18s ease;
}
.icon-button svg { width: 22px; fill: var(--ink); }
.icon-button:hover { transform: rotate(3deg) translateY(-2px); box-shadow: 4px 5px 0 rgba(45,41,38,.14); }
.buy-button, .paper-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(45,41,38,.22);
  font-weight: 950;
  letter-spacing: .055em;
  box-shadow: 5px 6px 0 rgba(45,41,38,.16);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.buy-button:hover, .paper-button:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 7px 9px 0 rgba(45,41,38,.14); filter: saturate(1.06); }
.buy-button:active, .paper-button:active { transform: translateY(1px); box-shadow: 2px 3px 0 rgba(45,41,38,.17); }
.small-buy { min-height: 48px; padding: 0 19px; background: var(--mint); border-radius: 15px 11px 16px 13px; }
.menu-button { display: none; width: 48px; height: 48px; border: 2px solid var(--line); border-radius: 14px; background: #fffaf4; }
.menu-button span { display: block; width: 22px; height: 3px; margin: 5px auto; border-radius: 99px; background: var(--ink); }
.mobile-menu {
  position: fixed; top: 100px; left: 15px; right: 15px; z-index: 45;
  padding: 18px; background: var(--paper-2); border: 2px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow);
}
.mobile-menu a { display: block; padding: 14px; font-weight: 900; border-bottom: 1px dashed var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }

.section-shell { width: min(calc(100% - 38px), var(--max)); margin-inline: auto; }
.hero {
  min-height: 740px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(72px, 8vw, 110px) 0 76px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 17px;
  font-size: clamp(.76rem, 1vw, .9rem);
  letter-spacing: .13em;
  font-weight: 950;
  color: var(--mint-dark);
  text-transform: uppercase;
}
.paper-label {
  display: inline-block;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--cream);
  transform: rotate(-1.4deg);
  border-radius: 7px 10px 8px 11px;
  box-shadow: 2px 3px 0 rgba(45,41,38,.12);
}
.wordmark {
  width: min(100%, 740px);
  margin-left: -2.5%;
  border-radius: 20px;
  mix-blend-mode: multiply;
  filter: contrast(.98) saturate(.9);
}
.hero-tagline {
  max-width: 760px;
  margin: 25px 0 0;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.08;
  font-weight: 900;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.paper-button { min-height: 61px; padding: 0 25px; border-radius: 18px 13px 19px 14px; font-size: .92rem; }
.paper-button.mint { background: var(--mint); }
.paper-button.blush { background: var(--blush); }
.paper-button.cream { background: var(--cream); }

.contract-card {
  margin-top: 24px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  max-width: 760px;
  background: rgba(255,250,243,.72);
  border: 2px dashed rgba(45,41,38,.23);
  border-radius: 15px 20px 14px 18px;
}
.contract-card span { font-weight: 950; color: var(--blush); }
.contract-card code {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 800 .82rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.contract-card button {
  border: 0; padding: 10px 12px; border-radius: 10px 8px 11px 7px;
  background: var(--ink); color: white; font-weight: 900; cursor: pointer;
}

.paper-frame {
  position: relative;
  padding: clamp(9px, 1.4vw, 16px);
  background: #fffaf4;
  border: 2px solid rgba(45,41,38,.14);
  border-radius: 25px 19px 29px 17px;
  box-shadow: var(--shadow);
}
.paper-frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 1px dashed rgba(45,41,38,.10);
  border-radius: inherit;
}
.paper-frame img { width: 100%; height: auto; border-radius: 18px 14px 22px 13px; }
.hero-art, .section-art {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-art {
  aspect-ratio: 1 / 1;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.section-art {
  aspect-ratio: 4 / 3;
}
.section-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.wordmark { height: auto; object-fit: contain; }
.tilt-right { transform: rotate(1.3deg); }
.tilt-left { transform: rotate(-1.25deg); }
.tape {
  position: absolute; width: 112px; height: 34px; top: -18px; left: 50%;
  background: rgba(239,155,136,.56); border: 1px solid rgba(127,91,78,.10);
  transform: translateX(-50%) rotate(-3deg); opacity: .9;
}
.scribble {
  position: absolute; right: -8px; bottom: -19px;
  padding: 9px 14px; background: var(--cream); border-radius: 8px;
  font-size: .77rem; font-weight: 900; transform: rotate(3deg);
  box-shadow: 2px 4px 0 rgba(45,41,38,.10);
}

.story-strip {
  width: 100%; overflow: hidden;
  display: flex; justify-content: center; align-items: center; gap: 18px;
  padding: 23px 22px;
  border-block: 2px dashed var(--line);
  background: rgba(239,155,136,.17);
  font-size: clamp(1.05rem, 2vw, 1.5rem); font-weight: 950; letter-spacing: .03em;
}
.story-strip span { color: var(--mint-dark); }

.content-section {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  padding-block: clamp(90px, 11vw, 150px);
}
.content-section.reverse .section-art { order: 2; }
.content-section.reverse .section-copy { order: 1; }
.section-copy h2, .chart-heading h2, .join-card h2 {
  margin: 0 0 22px;
  font-size: clamp(3.15rem, 7vw, 6.5rem);
  line-height: .86;
  letter-spacing: -.06em;
}
.section-copy > p:not(.eyebrow):not(.fine-print) {
  margin: 0 0 18px;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
}

.roadmap-list { display: grid; gap: 12px; }
.roadmap-list article {
  display: grid; grid-template-columns: 58px 1fr; gap: 15px;
  padding: 17px 18px;
  border: 2px solid rgba(45,41,38,.13);
  border-radius: 15px 19px 14px 21px;
  background: rgba(255,250,243,.74);
  box-shadow: 3px 4px 0 rgba(45,41,38,.08);
}
.roadmap-list article:nth-child(even) { transform: rotate(.35deg); }
.roadmap-list article:nth-child(odd) { transform: rotate(-.25deg); }
.roadmap-list article > span {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 50% 45% 53% 42%; background: var(--mint); font-weight: 950;
}
.roadmap-list h3 { margin: 0 0 5px; font-size: 1.15rem; }
.roadmap-list p { margin: 0; font-family: "Trebuchet MS", Arial, sans-serif; line-height: 1.42; font-weight: 700; }

.token-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 28px; }
.token-grid > div {
  min-height: 118px;
  padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(255,250,243,.78);
  border: 2px solid rgba(45,41,38,.13);
  border-radius: 18px 14px 19px 13px;
  box-shadow: 4px 5px 0 rgba(45,41,38,.09);
}
.token-grid > div:nth-child(2), .token-grid > div:nth-child(3) { background: rgba(66,201,144,.13); }
.token-grid small { font-size: .71rem; letter-spacing: .11em; color: var(--muted); font-weight: 950; }
.token-grid strong { font-size: clamp(1.1rem, 2vw, 1.55rem); }
.fine-print { margin: 20px 0 0; color: var(--muted); font: 700 .88rem/1.5 "Trebuchet MS", Arial, sans-serif; }

.chart-section { padding-block: clamp(70px, 9vw, 120px); }
.chart-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.chart-heading h2 { margin-bottom: 0; }
.chart-paper {
  position: relative;
  min-height: 650px;
  padding: 12px;
  background: #fffaf4;
  border: 2px solid rgba(45,41,38,.17);
  border-radius: 26px 20px 30px 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chart-paper iframe { width: 100%; height: 650px; border: 0; border-radius: 18px 14px 21px 13px; background: #f7f0e7; }

.join-section {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 70px 20px;
  margin-top: 50px;
  background-image: url("assets/bg.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.join-overlay { position: absolute; inset: 0; background: rgba(44,39,34,.52); }
.join-card {
  position: relative; z-index: 2;
  width: min(900px, 100%);
  padding: clamp(32px, 6vw, 65px);
  text-align: center;
  color: #fffaf4;
  background: rgba(47,42,37,.60);
  border: 2px solid rgba(255,250,244,.34);
  border-radius: 28px 21px 32px 18px;
  backdrop-filter: blur(7px);
  box-shadow: 0 26px 70px rgba(0,0,0,.24);
}
.join-card .eyebrow { color: #a6f0cf; }
.join-card h2 { margin-bottom: 18px; }
.join-card p { max-width: 650px; margin: 0 auto; font: 800 clamp(1.05rem, 2vw, 1.35rem)/1.45 "Trebuchet MS", Arial, sans-serif; }
.join-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 29px; }
.join-buttons .paper-button { min-width: 180px; color: var(--ink); }

.site-footer {
  width: min(calc(100% - 38px), var(--max));
  margin: 0 auto;
  padding: 48px 0 56px;
  display: grid; grid-template-columns: .35fr 1fr; gap: 30px; align-items: start;
  border-top: 2px dashed var(--line);
}
.site-footer strong { font-size: 1.05rem; }
.site-footer p { margin: 0; max-width: 920px; color: var(--muted); font: 700 .82rem/1.55 "Trebuchet MS", Arial, sans-serif; }

@media (max-width: 980px) {
  body { font-size: 17px; }
  .desktop-only { display: none; }
  .menu-button { display: block; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }
  .hero-copy { text-align: center; }
  .wordmark { margin-inline: auto; }
  .hero-tagline { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .contract-card { margin-inline: auto; text-align: left; }
  .hero-art { width: min(700px, 92%); margin: 28px auto 0; }
  .content-section, .content-section.reverse { grid-template-columns: 1fr; gap: 42px; }
  .content-section.reverse .section-art, .content-section.reverse .section-copy { order: initial; }
  .section-art { width: min(720px, 100%); margin-inline: auto; }
  .section-copy { text-align: left; }
  .chart-heading { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topbar { min-height: 68px; padding: 9px 10px 9px 12px; margin-top: 8px; width: calc(100% - 16px); }
  .ticker-badge { padding: 9px 11px; font-size: .81rem; }
  .icon-button, .small-buy, .menu-button { height: 44px; min-height: 44px; }
  .icon-button, .menu-button { width: 44px; }
  .small-buy { padding: 0 13px; }
  .section-shell { width: min(calc(100% - 24px), var(--max)); }
  .hero { padding-top: 52px; padding-bottom: 55px; gap: 28px; }
  .hero-tagline { font-size: 1.25rem; }
  .paper-button { min-height: 55px; padding: 0 18px; font-size: .78rem; }
  .hero-actions .paper-button { flex: 1 1 160px; }
  .contract-card { grid-template-columns: auto 1fr; }
  .contract-card button { grid-column: 1 / -1; width: 100%; }
  .story-strip { justify-content: flex-start; overflow-x: auto; white-space: nowrap; font-size: .95rem; }
  .content-section { padding-block: 74px; }
  .section-copy h2, .chart-heading h2, .join-card h2 { font-size: clamp(2.85rem, 16vw, 4.3rem); }
  .roadmap-list article { grid-template-columns: 46px 1fr; padding: 14px; gap: 11px; }
  .roadmap-list article > span { width: 43px; height: 43px; font-size: .77rem; }
  .token-grid { grid-template-columns: 1fr; }
  .chart-paper { min-height: 520px; padding: 7px; }
  .chart-paper iframe { height: 520px; }
  .join-section { min-height: 560px; padding: 55px 12px; }
  .join-card { padding: 35px 20px; }
  .join-buttons { display: grid; grid-template-columns: 1fr; }
  .join-buttons .paper-button { width: 100%; }
  .site-footer { width: calc(100% - 24px); padding-bottom: 42px; }
  .scribble { right: 6px; }
}

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


@media (min-width: 981px) {
  .hero-art { min-height: 520px; }
  .section-art { min-height: 420px; }
}
