:root {
  --ink: #16130f;
  --paper: #e8bd7b;
  --cream: #f6ebd8;
  --orange: #f16b3b;
  --acid: #dfff54;
  --line: rgba(22, 19, 15, 0.72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", Arial, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; z-index: -2; inset: 0;
  background: radial-gradient(circle at 82% 4%, #ffdeaa 0 1%, transparent 28%), linear-gradient(125deg, #d59a56, var(--paper) 42%, #f2cc8d);
}
a { color: inherit; text-decoration: none; }
.site-header { height: 84px; display: flex; align-items: center; gap: 28px; padding: 13px clamp(20px, 4.2vw, 70px); border-bottom: 2px solid var(--ink); position: relative; z-index: 20; background: rgba(232, 189, 123, .85); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: -.08em; }
.brand img { width: 47px; height: 47px; object-fit: contain; }
.main-nav { display: flex; margin: 0 auto; gap: clamp(17px, 2.3vw, 43px); font-family: "DM Mono", monospace; font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.main-nav a { border-bottom: 1px solid transparent; padding: 7px 0; transition: border-color .2s, transform .2s; }
.main-nav a:hover { border-color: var(--ink); transform: rotate(-2deg); }
.header-socials { display: flex; gap: 7px; }
.header-socials a { display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--cream); width: 35px; height: 35px; transition: transform .2s, background .2s; }
.header-socials a:hover { transform: rotate(9deg) translateY(-3px); background: var(--acid); }
.header-socials img { width: 15px; height: 15px; object-fit: contain; }
.header-socials .dex-icon { width: 19px; height: 19px; border-radius: 4px; }
.menu-toggle { display: none; }

.section { padding-left: clamp(20px, 7vw, 120px); padding-right: clamp(20px, 7vw, 120px); }
.hero { min-height: 700px; display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; position: relative; padding-top: 52px; padding-bottom: 52px; border-bottom: 2px solid var(--ink); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font: 12px/1 "DM Mono", monospace; letter-spacing: .04em; }
.eyebrow span { width: 17px; height: 17px; background: var(--orange); display: inline-block; transform: rotate(12deg); border: 1px solid var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-size: clamp(56px, 7.4vw, 118px); line-height: .79; letter-spacing: -.09em; font-weight: 700; margin-bottom: 26px; }
h1 em, h2 em { font-family: Georgia, serif; font-size: 1.18em; font-weight: 400; letter-spacing: -.12em; }
.hero-intro { max-width: 335px; font-size: 17px; line-height: 1.32; margin-bottom: 27px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; max-width: 420px; }
.button { display: inline-flex; align-items: center; gap: 8px; height: 49px; padding: 0 14px; border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font: 500 11px/1 "DM Mono", monospace; transition: transform .17s, box-shadow .17s; }
.button:hover { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.button img { width: 20px; height: 20px; object-fit: contain; }
.button-primary { background: var(--acid); }
.button-dark { background: var(--ink); color: var(--cream); }
.button .dex-button-icon { width: 21px; height: 21px; border-radius: 4px; }
.hero-character { align-self: stretch; min-height: 590px; position: relative; display: grid; place-items: end center; }
.character-frame { width: min(87%, 600px); height: 100%; min-height: 595px; position: relative; z-index: 1; overflow: hidden; clip-path: polygon(5% 3%, 95% 0, 100% 92%, 71% 97%, 6% 92%, 0 13%); background: var(--ink); border: 2px solid var(--ink); transform: rotate(1deg); box-shadow: 14px 15px 0 var(--orange); }
.character-frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(246,235,216,.5); pointer-events: none; }
.character-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: normal; }
.character-caption { font: 10px/1.35 "DM Mono", monospace; position: absolute; z-index: 3; right: 0; bottom: 9px; padding: 8px 10px; color: var(--cream); background: var(--ink); transform: rotate(-4deg); }
.scribble { position: absolute; z-index: 4; right: -6px; top: 55px; font: 700 16px/.87 "DM Mono", monospace; text-align: center; transform: rotate(14deg); }
.burst { position: absolute; z-index: 4; left: -8px; top: 87px; width: 76px; aspect-ratio: 1; display: grid; place-items: center; background: var(--acid); clip-path: polygon(50% 0,61% 28%,84% 8%,77% 37%,100% 50%,76% 60%,91% 88%,61% 75%,50% 100%,39% 74%,11% 90%,23% 60%,0 50%,24% 39%,10% 11%,39% 26%); font: 700 18px "DM Mono", monospace; }
.hero-stamp { position: absolute; top: 34px; left: 44%; font: 9px/1.3 "DM Mono", monospace; letter-spacing: .1em; padding: 8px; border: 1px solid var(--ink); transform: rotate(-7deg); opacity: .75; }

.ticker { overflow: hidden; white-space: nowrap; background: var(--ink); color: var(--cream); border-bottom: 2px solid var(--ink); font: 12px/1 "DM Mono", monospace; letter-spacing: .06em; }
.ticker div { width: max-content; display: flex; align-items: center; gap: 20px; padding: 13px 0; animation: ticker 26s linear infinite; }
.ticker b { color: var(--acid); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-label { width: fit-content; padding: 7px 10px; border: 1px solid var(--ink); background: var(--cream); font: 11px "DM Mono", monospace; letter-spacing: .07em; }
.lore { padding-top: 104px; padding-bottom: 112px; background: var(--cream); border-bottom: 2px solid var(--ink); }
.lore-grid { display: grid; grid-template-columns: .8fr 1.55fr .8fr; gap: clamp(27px, 5vw, 85px); margin-top: 38px; align-items: start; }
.lore-aside { padding-top: 53px; }
.tape { display: inline-block; padding: 10px 12px; margin-bottom: 80px; background: #f0ce74; border: 1px solid var(--ink); transform: rotate(-8deg); font: 12px/1.12 "DM Mono", monospace; }
.tiny-note { font: 11px/1.6 "DM Mono", monospace; border-left: 2px solid var(--orange); padding-left: 9px; }
.lore-story h2 { font-size: clamp(49px, 5.9vw, 94px); }
.lore-story > p:not(.eyebrow) { max-width: 530px; font-size: 17px; line-height: 1.48; margin-bottom: 17px; }

.roadmap { padding-top: 103px; padding-bottom: 118px; border-bottom: 2px solid var(--ink); background: #d8974d; }
.roadmap-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin: 35px 0 50px; }.roadmap-heading h2, .chart-heading h2 { margin: 0; }.roadmap-heading > p { max-width: 260px; font-size: 15px; line-height: 1.25; margin-bottom: 8px; }
.roadmap-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }.roadmap-list li { display: grid; grid-template-columns: 80px 1fr auto; gap: 20px; align-items: center; padding: 29px 8px; border-bottom: 2px solid var(--ink); transition: background .2s, padding .2s; }.roadmap-list li:hover { background: var(--acid); padding-left: 18px; }.phase-number { color: var(--orange); -webkit-text-stroke: 1px var(--ink); font: 700 52px/.7 "DM Mono", monospace; letter-spacing: -.15em; }.roadmap-list h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.05em; }.roadmap-list p { margin: 0; font: 13px/1.3 "DM Mono", monospace; }.phase-status { padding: 7px 8px; border: 1px solid var(--ink); background: var(--cream); font: 11px "DM Mono", monospace; }.phase-status.done { background: var(--acid); }.phase-status.live { background: var(--orange); }

.chart { padding-top: 104px; padding-bottom: 116px; background: var(--ink); color: var(--cream); }.chart .section-label { color: var(--ink); }.chart-heading { margin: 35px 0 43px; display: flex; align-items: end; justify-content: space-between; }.text-link { border-bottom: 1px solid var(--cream); padding-bottom: 7px; font: 11px "DM Mono", monospace; }.text-link span { color: var(--acid); font-size: 16px; }.dex-window { width: min(82%, 1080px); min-height: 520px; margin: 0 auto; border: 2px solid var(--cream); background: #111; position: relative; overflow: hidden; }.dex-topbar { position: relative; z-index: 3; display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 13px; background: #252525; border-bottom: 1px solid rgba(246,235,216,.35); font: 11px "DM Mono", monospace; }.window-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }.window-dot:nth-child(2) { background: #e0b14e; }.window-dot:nth-child(3) { background: var(--acid); }.dex-topbar p { margin: 0 12px; color: #d4d4d4; }.dex-live { margin-left: auto; color: var(--acid); }.dex-window iframe { position: relative; z-index: 2; border: 0; width: 100%; height: 477px; display: block; background: #111; }.dex-fallback { position: absolute; z-index: 1; inset: 42px 0 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; color: #efefef; }.dex-fallback img { width: 38px; height: 38px; border-radius: 9px; }.dex-fallback p { margin: 0; font: 700 16px "DM Mono", monospace; }.dex-fallback small { color: #9b9b9b; font: 11px "DM Mono", monospace; }

footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 24px clamp(20px, 7vw, 120px); background: var(--acid); border-top: 2px solid var(--ink); font: 11px "DM Mono", monospace; }footer .brand { font-family: "Space Grotesk", sans-serif; font-size: 18px; }footer .brand img { width: 39px; height: 39px; }footer > a:last-child { border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.chart-heading { width: min(82%, 1080px); margin-right: auto; margin-left: auto; }
.toast { position: fixed; z-index: 50; right: 22px; bottom: 22px; padding: 11px 14px; color: var(--cream); background: var(--ink); border: 1px solid var(--cream); font: 11px "DM Mono", monospace; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .2s; }.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) { .site-header { height: 69px; padding: 8px 20px; gap: 10px; }.brand { font-size: 17px; }.brand img { width: 42px; height: 42px; }.main-nav { position: absolute; z-index: 4; top: 67px; right: 12px; left: 12px; padding: 17px; display: none; flex-direction: column; gap: 3px; border: 2px solid var(--ink); background: var(--cream); box-shadow: 5px 5px 0 var(--ink); }.main-nav.open { display: flex; }.main-nav a { padding: 8px 0; }.header-socials { margin-left: auto; }.header-socials a { width: 29px; height: 29px; }.header-socials img { width: 13px; height: 13px; }.menu-toggle { display: grid; gap: 4px; width: 31px; height: 31px; padding: 7px; border: 1px solid var(--ink); background: var(--cream); }.menu-toggle span { display: block; height: 2px; background: var(--ink); }.hero { grid-template-columns: 1fr; padding-top: 55px; }.hero-copy { padding-top: 16px; }.hero h1 { font-size: clamp(64px, 17vw, 100px); }.hero-character { min-height: 455px; margin-top: 27px; }.character-frame { min-height: 455px; width: min(93%, 470px); }.hero-stamp { left: auto; right: 20px; top: 27px; }.scribble { top: 15px; right: 2px; }.burst { top: 48px; left: 0; }.lore, .roadmap, .chart { padding-top: 70px; padding-bottom: 76px; }.lore-grid { grid-template-columns: 1fr; margin-top: 30px; gap: 19px; }.lore-aside { display: flex; align-items: center; gap: 18px; padding: 0; }.tape { margin: 0; }.tiny-note { margin: 0; }.roadmap-heading, .chart-heading { display: block; margin-top: 30px; }.roadmap-heading > p { margin-top: 22px; }.roadmap-list li { grid-template-columns: 58px 1fr; gap: 13px; padding: 21px 0; }.phase-number { font-size: 41px; }.phase-status { grid-column: 2; justify-self: start; }.text-link { display: inline-block; margin-top: 25px; }.dex-window { width: 100%; min-height: 410px; }.dex-window iframe { height: 368px; }.dex-fallback { inset: 42px 0 0; }.dex-topbar p { margin: 0 3px; max-width: 152px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.dex-live { font-size: 10px; } footer { flex-wrap: wrap; } footer p { width: 100%; order: 3; margin: 0; } }
@media (max-width: 410px) { .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }.button:first-child { grid-column: 1/-1; justify-content: center; }.button { justify-content: center; padding: 0 9px; font-size: 9px; } }
@media (max-width: 800px) { .chart-heading { width: 100%; } }
