:root {
  --orange: #f4a322;
  --orange-deep: #e08912;
  --cream: #fff6e6;
  --paper: #ffe9c2;
  --ink: #17110c;
  --ink-soft: #4a3b2a;
  --white: #fffaf2;
  --base: #0052ff;
  --sky: #8ec8e8;
  --fish: #2f8f8a;
  --line: rgba(23, 17, 12, 0.12);
  --shadow: 6px 6px 0 #17110c;
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(255, 246, 230, 0.86);
  border-bottom: 3px solid var(--ink);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  object-fit: cover;
  background: var(--orange);
}

.chain-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--base);
  color: white;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 10px 4px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chain-pill i {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--base);
  border-radius: 50%;
  font-style: normal;
  font-weight: 800;
  font-size: 0.7rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--orange-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 3px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  color: var(--ink);
  background: var(--orange);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--ink);
}

.btn.dark {
  background: var(--ink);
  color: var(--cream);
}

.btn.blue {
  background: var(--base);
  color: white;
}

.btn.ghost {
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  padding: 48px 0 20px;
  background:
    radial-gradient(circle at 80% 10%, #ffd36a 0 18%, transparent 19%),
    linear-gradient(180deg, #f4a322 0%, #ffb84a 42%, #fff6e6 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -2px;
  height: 90px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 18px;
}

h1 {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(4.4rem, 12vw, 8.4rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.lede {
  max-width: 38rem;
  font-size: 1.18rem;
  color: var(--ink-soft);
  margin: 18px 0 28px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 8px 8px 8px 14px;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.92rem;
  font-weight: 700;
}

.ca-pill button {
  border: 2px solid var(--ink);
  background: var(--orange);
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.portrait-wrap {
  position: relative;
  justify-self: center;
  padding: 28px 28px 12px;
}

.portrait {
  width: min(420px, 88vw);
  aspect-ratio: 1;
  border-radius: 36px;
  border: 5px solid var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--orange);
  transform: rotate(-2.4deg);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bubble {
  position: absolute;
  top: -18px;
  right: -18px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 24px 24px 24px 6px;
  padding: 10px 16px;
  font-family: "Fredoka", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
  animation: bob 2.8s ease-in-out infinite;
}

.sticker {
  position: absolute;
  left: -22px;
  bottom: 24px;
  background: #ffef7a;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 8px 12px;
  font-weight: 800;
  transform: rotate(-12deg);
  box-shadow: 3px 3px 0 var(--ink);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.ticker {
  border-block: 3px solid var(--ink);
  background: var(--ink);
  color: var(--orange);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 28px;
  padding: 10px 0;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  animation: ticker 18s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

section {
  padding: 84px 0;
  scroll-margin-top: 88px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.eyebrow {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--orange-deep);
  margin-bottom: 8px;
}

h2 {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1;
  margin-bottom: 12px;
}

.muted {
  color: var(--ink-soft);
  font-weight: 500;
}

.origin {
  background: var(--cream);
}

.embed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.embed-card {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.embed-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 3px solid var(--ink);
  font-weight: 800;
}

.embed-body {
  display: flex;
  justify-content: center;
  background: #fff;
  min-height: 520px;
}

.embed-card iframe {
  width: 100%;
  min-height: 640px;
  border: 0;
  background: #fff;
}

.embed-card.x-card iframe {
  max-width: 560px;
}

.quote {
  margin-top: 28px;
  background: #17110c;
  color: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 8px;
}

.quote p {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}

.quote span {
  opacity: 0.7;
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: 4px 4px 0 var(--ink);
}

.stat b {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 6px;
}

.tokenomics {
  background:
    linear-gradient(180deg, transparent, rgba(244, 163, 34, 0.18)),
    var(--cream);
}

.token-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.card {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.list li {
  list-style: none;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  font-weight: 600;
}

.num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.buy {
  background: #17110c;
  color: var(--cream);
}

.buy .eyebrow {
  color: var(--orange);
}

.buy .muted {
  color: rgba(255, 246, 230, 0.72);
}

.buy a.btn.ghost {
  background: transparent;
  color: #ffc14a;
  border-color: #ffc14a;
  box-shadow: 4px 4px 0 #ffc14a;
}

.buy a.btn.ghost:hover {
  background: #ffc14a;
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.step {
  background: #241911;
  border: 3px solid #3a2c20;
  border-radius: 22px;
  padding: 22px;
}

.step strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.3rem;
  margin: 8px 0;
}

.chart {
  background: var(--paper);
}

.chart-box {
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.chart-box iframe {
  width: 100%;
  height: 480px;
  border: 0;
}

.chart-empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
  gap: 10px;
}

.footer {
  border-top: 3px solid var(--ink);
  padding: 36px 0 28px;
  background: var(--orange);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: start;
}

.fineprint {
  max-width: 46rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .embed-grid,
  .token-grid,
  .stats,
  .steps {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 3px solid var(--ink);
    padding: 16px 20px 22px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  h1 {
    font-size: 4.6rem;
  }

  .embed-body,
  .embed-card iframe {
    min-height: 540px;
  }

  .sticker {
    left: 8px;
    bottom: 12px;
  }

  .bubble {
    right: 8px;
    top: 0;
  }
}
