:root {
  --sky: #2e9fdf;
  --sky-deep: #1787cc;
  --cloud: #f8fbff;
  --ink: #101010;
  --red: #bd2f35;
  --red-deep: #8e2228;
  --paper: #fffdf6;
  --muted: #dbeaf3;
  --shadow: 7px 8px 0 var(--ink);
  --radius: 26px 31px 23px 29px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 18%),
    linear-gradient(180deg, #2f9fe0 0%, #45b3ef 55%, #82cdf3 100%);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image:
    linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 4px 4px, 5px 5px;
  mix-blend-mode: multiply;
  z-index: 20;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sky-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 10%, rgba(255,255,255,.16), transparent 30%);
  z-index: -2;
}

.cloud,
.art-cloud {
  position: fixed;
  width: 160px;
  height: 54px;
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  filter: drop-shadow(0 10px 10px rgba(0, 85, 130, .12));
  z-index: -1;
  animation: drift 28s linear infinite;
}
.cloud::before,
.cloud::after,
.art-cloud::before,
.art-cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud::before,
.art-cloud::before { width: 72px; height: 72px; left: 24px; top: -34px; }
.cloud::after,
.art-cloud::after { width: 98px; height: 98px; right: 18px; top: -52px; }
.cloud-a { top: 22vh; left: -40px; opacity: .55; }
.cloud-b { top: 58vh; right: -70px; transform: scale(.78); opacity: .5; animation-delay: -13s; }
.cloud-c { top: 76vh; left: 10vw; transform: scale(1.25); opacity: .3; animation-delay: -8s; }

@keyframes drift {
  0% { translate: -12vw 0; }
  50% { translate: 8vw 12px; }
  100% { translate: -12vw 0; }
}

.hand-border {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  background: rgba(255,253,246,.92);
  position: sticky;
  top: 14px;
  z-index: 100;
  backdrop-filter: blur(12px);
  transform: rotate(-.15deg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 1000;
  letter-spacing: -1px;
}
.brand-face { font-family: monospace; font-size: 18px; }
.ticker {
  background: var(--red);
  color: white;
  padding: 5px 8px;
  border: 2px solid var(--ink);
  border-radius: 8px 11px 7px 10px;
  transform: rotate(1.5deg);
}

.nav-links { display: flex; gap: 18px; }
.nav-links a, .mini-cta, .hero-socials a {
  font-weight: 900;
  font-size: 13px;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.mini-cta {
  text-decoration: none;
  border: 2px solid var(--ink);
  background: var(--red);
  color: white;
  padding: 9px 13px;
  border-radius: 10px 8px 12px 9px;
}

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

.hero {
  min-height: 760px;
  padding: 92px 0 64px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 7px 10px;
  background: rgba(255,255,255,.86);
  border: 2px solid var(--ink);
  border-radius: 9px 12px 8px 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  transform: rotate(-.5deg);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 20px 0 22px;
  max-width: 780px;
  font-size: clamp(52px, 7vw, 98px);
  line-height: .87;
  letter-spacing: -6px;
  font-weight: 1000;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(255,255,255,.58);
}
h1 span, .final-card h2 span { color: var(--red); -webkit-text-stroke: 2px var(--ink); text-shadow: 4px 5px 0 var(--ink); }

.hero-text {
  max-width: 660px;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 750;
  background: rgba(255,255,255,.18);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.button {
  border: 3px solid var(--ink);
  border-radius: 13px 10px 15px 9px;
  padding: 15px 19px;
  font: inherit;
  font-weight: 1000;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 5px 0 var(--ink);
  transition: transform .14s ease, box-shadow .14s ease;
}
.button:hover { transform: translate(3px, 3px) rotate(-.4deg); box-shadow: 1px 2px 0 var(--ink); }
.button-red { background: var(--red); color: white; }
.button-white { background: var(--paper); color: var(--ink); }

.contract-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  max-width: 650px;
}
.contract-strip span:first-child { font-weight: 1000; background: var(--ink); color: white; padding: 5px 7px; border-radius: 6px; }
.contract-strip code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
#copyStatus { font-size: 12px; font-weight: 900; }

.hero-socials { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }

.hero-art-wrap {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
}
.hero-art {
  position: relative;
  width: min(680px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 44px 38px 49px 33px;
  box-shadow: 12px 14px 0 var(--ink);
  transform: rotate(1.4deg);
  animation: hoverCar 5s ease-in-out infinite;
}
@keyframes hoverCar { 50% { transform: rotate(.2deg) translateY(-11px); } }
.caption-card {
  position: absolute;
  right: 0;
  bottom: 50px;
  background: var(--paper);
  padding: 12px 16px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  box-shadow: 5px 6px 0 var(--ink);
  transform: rotate(-2deg);
}
.sun-doodle {
  position: absolute;
  right: 16px;
  top: 22px;
  font-size: 60px;
  color: #fff6a7;
  -webkit-text-stroke: 2px var(--ink);
  animation: spin 10s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.art-cloud { position: absolute; z-index: -1; opacity: .8; }
.art-cloud-left { left: -40px; top: 120px; transform: scale(.7); }
.art-cloud-right { right: -40px; bottom: 100px; transform: scale(.55); }

.ticker-tape {
  overflow: hidden;
  border-block: 3px solid var(--ink);
  background: var(--paper);
  transform: rotate(-.6deg) scale(1.01);
}
.tape-track {
  width: max-content;
  display: flex;
  animation: tape 24s linear infinite;
  font-family: ui-monospace, monospace;
  font-weight: 1000;
  font-size: 18px;
  letter-spacing: 1px;
}
.tape-track span { padding: 13px 18px; }
@keyframes tape { to { transform: translateX(-50%); } }

.story, .roadmap, .chart-section { padding: 110px 0 20px; }
.section-heading {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 42px;
}
.section-number {
  font: 1000 64px/1 ui-monospace, monospace;
  color: rgba(255,255,255,.9);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 3px 4px 0 var(--ink);
  transform: rotate(-5deg);
}
h2 {
  margin: 14px 0 0;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: .92;
  letter-spacing: -4px;
  text-transform: uppercase;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.story-card {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 760;
}
.story-card:nth-child(2) { background: #f2fbff; }
.story-card:nth-child(3) { background: #fff0f0; }
.tilt-right { transform: rotate(1deg); }
.tilt-left { transform: rotate(-.8deg); }
.sticker {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 9px;
  background: var(--red);
  color: white;
  border: 2px solid var(--ink);
  transform: rotate(-2deg);
  font: 1000 12px/1 ui-monospace, monospace;
}
.manifesto {
  margin-top: 28px;
  padding: 22px 28px;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 7px 8px 0 rgba(255,255,255,.8);
}
.manifesto p { margin: 0; font-size: 18px; }
.manifesto-face { font: 900 27px ui-monospace, monospace; white-space: nowrap; }

.roadmap { position: relative; }
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.roadmap-step {
  position: relative;
  min-height: 360px;
  padding: 24px 22px;
  background: rgba(255,253,246,.94);
}
.roadmap-step:nth-child(even) { transform: translateY(28px) rotate(.7deg); }
.roadmap-step:nth-child(odd) { transform: rotate(-.7deg); }
.step-badge {
  display: inline-block;
  padding: 6px 9px;
  color: white;
  background: var(--ink);
  border-radius: 7px;
  font: 900 12px ui-monospace, monospace;
}
.roadmap-step h3 { margin: 24px 0 16px; font-size: 28px; }
.roadmap-step ul { padding-left: 20px; line-height: 1.65; font-weight: 760; }
.roadmap-step li::marker { content: "↗  "; }

.chart-frame {
  overflow: hidden;
  background: #101722;
  box-shadow: 11px 12px 0 var(--ink);
}
.chart-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  color: white;
  border-bottom: 3px solid var(--ink);
  font: 900 13px ui-monospace, monospace;
}
.live-dot { display: flex; align-items: center; gap: 7px; }
.live-dot i { width: 9px; height: 9px; background: #44ff8b; border-radius: 50%; box-shadow: 0 0 0 5px rgba(68,255,139,.16); }
#dexFrame { width: 100%; height: 650px; border: 0; display: block; background: #0f1720; }
.chart-placeholder {
  min-height: 650px;
  margin-top: -650px;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  color: white;
  padding: 30px;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    #101722;
  background-size: 28px 28px;
}
.chart-placeholder.hidden { display: none; }
.face-big { font: 1000 64px ui-monospace, monospace; }
.chart-placeholder h3 { margin: 20px 0 8px; }
.chart-placeholder p { max-width: 610px; color: #cbd5e1; }
.chart-placeholder code { color: #fff; }

.final-cta { padding: 120px 0 90px; }
.final-card {
  padding: 54px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  transform: rotate(.35deg);
}
.final-card h2 { margin-bottom: 16px; }
.final-card p { font-size: 20px; font-weight: 800; }
.final-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

footer {
  border-top: 3px solid var(--ink);
  background: var(--ink);
  color: white;
  padding: 24px max(20px, calc((100vw - 1180px)/2));
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  font: 800 12px/1.5 ui-monospace, monospace;
}
.disclaimer { max-width: 620px; opacity: .68; text-align: right; }

body.launch-mode .hero-art { animation-duration: 1.3s; }
body.launch-mode .ticker-tape { background: #fff4a8; }
body.launch-mode .topbar { transform: rotate(.5deg); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-art-wrap { min-height: 520px; }
  .story-grid { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-step:nth-child(n) { transform: none; }
  .final-card { grid-template-columns: 1fr; }
  .final-buttons { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .topbar { width: calc(100% - 18px); margin-top: 9px; top: 8px; }
  .brand span:nth-child(2) { display: none; }
  .mini-cta { padding: 8px 10px; font-size: 11px; }
  .section-shell { width: calc(100% - 20px); }
  .hero { padding-top: 46px; gap: 18px; }
  h1 { letter-spacing: -3.5px; }
  h2 { letter-spacing: -2.5px; }
  .hero-text { font-size: 17px; }
  .hero-art-wrap { min-height: 390px; }
  .caption-card { right: 8px; bottom: 18px; max-width: 80%; }
  .section-heading { gap: 13px; }
  .section-number { font-size: 44px; }
  .story, .roadmap, .chart-section { padding-top: 80px; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .manifesto { align-items: flex-start; flex-direction: column; }
  #dexFrame, .chart-placeholder { min-height: 520px; height: 520px; }
  .chart-placeholder { margin-top: -520px; }
  .final-card { padding: 30px 22px; }
  footer { flex-direction: column; align-items: flex-start; }
  .disclaimer { text-align: left; }
}

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