:root {
  --ink: #032f24;
  --ink-deep: #01241b;
  --lime: #b8f331;
  --lime-soft: #dafa79;
  --cream: #fff6d9;
  --paper: #f6edcf;
  --orange: #f7a12c;
  --line: rgba(3, 47, 36, 0.18);
  --shadow: 0 18px 0 rgba(1, 36, 27, 0.12);
  --radius: 28px;
  --font-round: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-round);
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px));
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  border: 2px solid rgba(255, 246, 217, 0.18);
  border-radius: 22px;
  color: var(--cream);
  background: rgba(3, 47, 36, 0.88);
  box-shadow: 0 10px 30px rgba(1, 36, 27, 0.18);
  backdrop-filter: blur(14px);
  transition: top 0.3s ease, background 0.3s ease;
}

.site-header.scrolled { top: 10px; background: rgba(1, 36, 27, 0.96); }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -0.04em; font-size: 1.15rem; }
.brand img { width: 45px; height: 45px; object-fit: cover; border-radius: 14px; border: 2px solid var(--lime); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.nav-links > a:not(.nav-buy) { opacity: 0.82; transition: color 0.2s ease, opacity 0.2s ease; }
.nav-links > a:not(.nav-buy):hover { color: var(--lime); opacity: 1; }
.nav-buy { background: var(--lime); color: var(--ink); padding: 13px 20px; border-radius: 14px; box-shadow: inset 0 -4px 0 rgba(3,47,36,.18); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--lime); padding: 12px; }
.menu-toggle span { display: block; height: 3px; border-radius: 4px; background: var(--ink); margin: 4px 0; transition: transform .25s ease, opacity .25s ease; }

.hero {
  min-height: 720px;
  padding-top: 118px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 4vw, 54px);
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; max-width: 510px; }
.eyebrow { margin: 0 0 17px; font-size: 0.77rem; letter-spacing: 0.14em; font-weight: 900; text-transform: uppercase; }
.live-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 99px; background: var(--lime); box-shadow: 0 0 0 5px rgba(184,243,49,.2); animation: pulse 1.8s ease infinite; }

h1, h2, h3 { margin: 0; line-height: 0.98; letter-spacing: -0.065em; }
h1 { font-size: clamp(3.1rem, 5.6vw, 5.25rem); line-height: 1.03; letter-spacing: -0.052em; text-transform: uppercase; }
h1 span { color: var(--lime); -webkit-text-stroke: 1.5px var(--ink); text-shadow: 3px 4px 0 var(--ink); }
.hero-lede { max-width: 475px; margin: 22px 0 24px; font: 1rem/1.65 "Trebuchet MS", Arial, sans-serif; color: rgba(3,47,36,.76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 24px; border: 2px solid var(--ink); border-radius: 15px; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-3px) rotate(-1deg); }
.button-primary { background: var(--lime); box-shadow: 5px 6px 0 var(--ink); }
.button-primary:hover { box-shadow: 7px 9px 0 var(--ink); }
.button-ghost { background: transparent; }
.button-dark { color: var(--cream); background: var(--ink); border-color: var(--ink-deep); box-shadow: 5px 6px 0 rgba(1,36,27,.25); }

.contract-pill { margin-top: 20px; width: min(100%, 430px); display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; background: rgba(255,255,255,.36); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .2s ease, background .2s ease; }
.contract-pill:hover { border-color: var(--ink); background: rgba(255,255,255,.65); }
.contract-label { padding: 4px 7px; border-radius: 7px; background: var(--ink); color: var(--lime); font-size: .67rem; }
.contract-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
.copy-icon { font-size: 1.1rem; }

.hero-art { position: relative; min-width: 0; width: min(100%, 620px); justify-self: end; }
.hero-art::before { content: ""; position: absolute; inset: 8% -2% -4% 5%; z-index: -2; background: var(--lime); border-radius: 34px 76px 34px 76px; transform: rotate(3deg); }
.hero-art img { aspect-ratio: 3/2; width: 100%; object-fit: cover; border: 4px solid var(--ink); border-radius: 30px 72px 30px 72px; box-shadow: 10px 12px 0 var(--ink); animation: heroFloat 6s ease-in-out infinite; }
.float-tag { position: absolute; z-index: 3; padding: 10px 15px; border: 2px solid var(--ink); border-radius: 11px; background: var(--cream); box-shadow: 4px 5px 0 var(--ink); font-size: .7rem; letter-spacing: .1em; transform: rotate(-5deg); }
.tag-top { top: 7%; right: -1%; }
.tag-bottom { bottom: 3%; left: -2%; transform: rotate(4deg); background: var(--orange); }
.orbit { position: absolute; z-index: -1; border: 2px dashed rgba(3,47,36,.28); border-radius: 50%; animation: spin 18s linear infinite; }
.orbit-one { inset: -22px -30px; }
.orbit-two { inset: 8% -8% -11% 10%; animation-direction: reverse; animation-duration: 25s; }

.ticker { overflow: hidden; background: var(--ink); color: var(--lime); border-block: 3px solid var(--ink-deep); transform: rotate(-1deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; padding: 15px 0; animation: ticker 24s linear infinite; }
.ticker span { font-size: 1rem; letter-spacing: .08em; white-space: nowrap; }

.split-section { padding-block: 130px; display: grid; grid-template-columns: 1fr .86fr; gap: 82px; align-items: center; }
.comic-frame { position: relative; border: 4px solid var(--ink); border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow), 12px 14px 0 var(--ink); overflow: hidden; transform-style: preserve-3d; transition: transform .18s ease; }
.comic-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.panel-number { position: absolute; left: 18px; top: 18px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--lime); border: 2px solid var(--ink); border-radius: 50%; font-size: .75rem; }

.section-copy h2, .section-heading h2, .crew-copy h2, .launch-copy h2 { font-size: clamp(2.7rem, 5vw, 5rem); text-transform: uppercase; }
.section-copy > p:not(.eyebrow), .section-heading > p:not(.eyebrow), .crew-copy > p:not(.eyebrow), .launch-copy > p:not(.eyebrow) { margin: 24px 0; font: 1.02rem/1.75 "Trebuchet MS", Arial, sans-serif; color: rgba(3,47,36,.72); }
.speech-bubble { position: relative; margin: 25px 0; padding: 20px; background: white; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 5px 6px 0 var(--ink); font-size: .95rem; transform: rotate(-1deg); }
.speech-bubble::after { content: ""; position: absolute; left: 36px; bottom: -13px; width: 20px; height: 20px; background: white; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.check-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 11px; font-size: .9rem; text-transform: uppercase; letter-spacing: .03em; }
.check-list span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--cream); background: var(--ink); }

.code-section { padding: 110px 0 130px; background-color: var(--paper); background-image: radial-gradient(rgba(3,47,36,.15) 1px, transparent 1px); background-size: 18px 18px; border-block: 2px solid var(--line); }
.section-heading { max-width: 820px; text-align: center; }
.section-heading > p:not(.eyebrow) { max-width: 640px; margin-inline: auto; }
.card-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card { min-width: 0; padding: 12px 12px 24px; background: var(--cream); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 7px 9px 0 var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.story-card:nth-child(2) { transform: translateY(20px) rotate(1deg); }
.story-card:hover { transform: translateY(-7px) rotate(-1deg); box-shadow: 10px 14px 0 var(--ink); }
.story-card:nth-child(2):hover { transform: translateY(12px) rotate(0deg); }
.card-image { position: relative; overflow: hidden; border: 2px solid var(--ink); border-radius: 16px; }
.card-image img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.story-card:hover .card-image img { transform: scale(1.045); }
.card-sticker { position: absolute; right: 12px; bottom: 12px; padding: 7px 11px; border: 2px solid var(--ink); border-radius: 9px; color: var(--ink); background: var(--lime); box-shadow: 3px 4px 0 var(--ink); transform: rotate(-4deg); font-size: .68rem; letter-spacing: .08em; }
.card-copy { padding: 21px 10px 0; }
.step { font-size: .65rem; letter-spacing: .12em; color: rgba(3,47,36,.62); }
.card-copy h3 { margin-top: 9px; font-size: 1.7rem; text-transform: uppercase; }
.card-copy p { margin: 12px 0 0; font: .92rem/1.55 "Trebuchet MS", Arial, sans-serif; color: rgba(3,47,36,.7); }

.crew-section { padding-block: 130px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; align-items: center; }
.crew-copy .button { margin-top: 12px; }
.wide-frame img { aspect-ratio: 3/2; }
.burst { position: absolute; right: 18px; top: 18px; width: 98px; height: 98px; display: grid; place-items: center; text-align: center; line-height: 1; font-size: .72rem; color: var(--ink); background: var(--lime); border: 3px solid var(--ink); clip-path: polygon(50% 0%,60% 25%,80% 7%,79% 33%,100% 30%,84% 50%,100% 66%,75% 67%,82% 94%,59% 76%,50% 100%,40% 76%,19% 94%,25% 67%,0 66%,16% 50%,0 30%,21% 33%,20% 7%,40% 25%); transform: rotate(8deg); }

.launch-section { position: relative; overflow: hidden; padding: 105px 0; background: var(--lime); border-block: 3px solid var(--ink); }
.launch-section::before { content: ""; position: absolute; inset: 0; opacity: .13; background: repeating-linear-gradient(-45deg, transparent 0 18px, var(--ink) 18px 20px); }
.launch-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 74px; align-items: center; }
.launch-art { position: relative; }
.launch-art img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border: 4px solid var(--ink); border-radius: 28px 80px 28px 80px; box-shadow: 13px 15px 0 var(--ink); transform: rotate(-2deg); }
.token-lockup { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.token-lockup img { width: 60px; height: 60px; border: 2px solid var(--ink); border-radius: 18px; }
.token-lockup div { display: grid; }
.token-lockup span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.token-lockup strong { font-size: 1.45rem; line-height: 1; }
.launch-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.text-link { font-size: .78rem; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding-bottom: 3px; }
.launch-ca { margin-top: 25px; width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 2px dashed var(--ink); border-radius: 14px; color: var(--ink); background: rgba(255,246,217,.28); cursor: pointer; text-align: left; }
.launch-ca span, .launch-ca b { font-size: .67rem; text-transform: uppercase; letter-spacing: .06em; }
.launch-ca code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .73rem; }

.site-footer { padding: 65px 0 38px; display: grid; grid-template-columns: 1fr auto; gap: 38px 60px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 18px; border: 2px solid var(--ink); }
.footer-brand div { display: grid; }
.footer-brand strong { font-size: 1.1rem; }
.footer-brand span { font: .8rem "Trebuchet MS", Arial, sans-serif; opacity: .65; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 25px; font-size: .72rem; text-transform: uppercase; }
.footer-links a:hover { color: #548500; }
.disclaimer { max-width: 700px; margin: 0; font: .72rem/1.6 "Trebuchet MS", Arial, sans-serif; color: rgba(3,47,36,.58); }
.copyright { margin: 0; text-align: right; font-size: .7rem; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 30px); padding: 13px 18px; color: var(--cream); background: var(--ink); border: 2px solid var(--lime); border-radius: 12px; box-shadow: 5px 6px 0 rgba(1,36,27,.25); opacity: 0; pointer-events: none; font-size: .76rem; transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(184,243,49,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes heroFloat { 50% { transform: translateY(-8px) rotate(.5deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 46px; padding-top: 132px; }
  .hero-copy { max-width: 620px; }
  .hero-art { width: min(700px, 100%); justify-self: center; }
  .split-section { gap: 45px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .story-card:last-child { grid-column: span 2; width: calc(50% - 11px); justify-self: center; }
  .crew-section { grid-template-columns: 1fr; }
  .crew-copy { max-width: 650px; }
  .launch-grid { grid-template-columns: 1fr; }
  .launch-art { max-width: 760px; }
}

@media (max-width: 740px) {
  :root { --radius: 22px; }
  .section-shell, .site-header { width: min(100% - 24px, 1180px); }
  .site-header { top: 10px; height: 62px; padding: 8px 9px 8px 13px; }
  .brand img { width: 40px; height: 40px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { position: fixed; top: 72px; left: 0; width: 100%; min-height: calc(100vh - 72px); padding: 50px 24px; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink-deep); transform: translateX(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 20px 8px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1rem; }
  .nav-links .nav-buy { margin-top: 20px; text-align: center; border: 0; }
  .hero { padding-top: 104px; padding-bottom: 54px; gap: 38px; }
  h1 { font-size: clamp(2.75rem, 12.8vw, 3.8rem); line-height: 1.02; }
  h1 span { -webkit-text-stroke-width: 1px; text-shadow: 2px 3px 0 var(--ink); }
  .hero-lede { margin-block: 18px 21px; font-size: .94rem; line-height: 1.6; }
  .hero-actions .button { flex: 1; }
  .hero-art::before { inset: 7% -1% -3% 4%; border-radius: 24px 52px 24px 52px; }
  .hero-art img { border-radius: 22px 50px 22px 50px; box-shadow: 7px 8px 0 var(--ink); }
  .float-tag { font-size: .57rem; }
  .tag-top { right: 3px; }
  .tag-bottom { left: 2px; }
  .split-section, .crew-section { padding-block: 88px; grid-template-columns: 1fr; gap: 50px; }
  .split-section .comic-frame { order: 2; }
  .section-copy h2, .section-heading h2, .crew-copy h2, .launch-copy h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .code-section { padding: 85px 0 100px; }
  .card-grid { grid-template-columns: 1fr; }
  .story-card:nth-child(2), .story-card:nth-child(2):hover { transform: none; }
  .story-card:last-child { grid-column: auto; width: auto; }
  .launch-section { padding: 82px 0; }
  .launch-grid { gap: 52px; }
  .launch-art img { border-radius: 22px 52px 22px 52px; box-shadow: 8px 10px 0 var(--ink); }
  .site-footer { grid-template-columns: 1fr; gap: 30px; }
  .footer-links { justify-content: flex-start; }
  .copyright { text-align: left; }
}

@media (max-width: 440px) {
  h1 { font-size: clamp(2.55rem, 12vw, 3.15rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .contract-pill { grid-template-columns: auto minmax(0,1fr) auto; }
  .comic-frame { box-shadow: 8px 9px 0 var(--ink); }
  .launch-ca { grid-template-columns: 1fr auto; }
  .launch-ca span { grid-column: 1 / -1; }
}

@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; }
}
