:root {
  --paper: #ffffff;
  --ink: #111111;
  --muted: #707070;
  --line: #171717;
  --soft: #f5f5f2;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1.5px solid var(--line);
}

.wordmark {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.nav,
.socials,
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 800;
}

.socials { justify-content: flex-end; }
.nav a,
.socials a,
.footer-links a { position: relative; }
.nav a::after,
.socials a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--ink);
  transition: right .18s ease;
}
.nav a:hover::after,
.socials a:hover::after,
.footer-links a:hover::after { right: 0; }

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

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  border-bottom: 1.5px solid var(--line);
}

.hero-copy { padding: 70px 0; }
.eyebrow,
.small-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 900;
}
.eyebrow { margin-bottom: 20px; }
.hero h1 {
  margin: 0;
  font-size: clamp(74px, 10vw, 152px);
  line-height: .78;
  letter-spacing: -.08em;
  font-weight: 900;
}
.hero-line {
  margin: 34px 0 0;
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.035em;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: 16px 13px 17px 12px;
  font-size: 13px;
  font-weight: 900;
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.button-dark { background: var(--ink); color: var(--paper); }
.button-light { background: var(--paper); color: var(--ink); }

.character-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 570px;
}
.character-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transform-origin: 50% 85%;
}
.character-button img {
  width: min(440px, 100%);
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  user-select: none;
  pointer-events: none;
}
.character-button:hover { animation: tinyWobble .8s ease-in-out infinite alternate; }
.character-button.pop { animation: poomf .38s ease; }
.character-note {
  margin: 6px 0 0;
  min-height: 20px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

@keyframes tinyWobble {
  from { transform: rotate(-1deg) translateY(0); }
  to { transform: rotate(1deg) translateY(-4px); }
}
@keyframes poomf {
  0% { transform: scale(1); }
  35% { transform: scale(.96, 1.05); }
  70% { transform: scale(1.04, .97); }
  100% { transform: scale(1); }
}

.contract-wrap { padding-top: 28px; padding-bottom: 28px; }
.contract-box {
  border: 1.5px solid var(--ink);
  border-radius: 17px 13px 19px 15px;
  min-height: 88px;
  padding: 18px 18px 18px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}
.contract-box > div { min-width: 0; }
.contract-box code {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}
.copy-button {
  min-width: 82px;
  height: 42px;
  border-radius: 13px 10px 14px 11px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
  font-weight: 900;
  cursor: pointer;
}
.copy-button:hover { background: var(--ink); color: var(--paper); }

.story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  padding-top: 120px;
  padding-bottom: 120px;
  border-top: 1.5px solid var(--line);
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.065em;
}
.story-copy {
  align-self: end;
  max-width: 620px;
}
.story-copy p {
  margin: 0 0 22px;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.48;
  letter-spacing: -.025em;
  font-weight: 700;
}
.story-copy p:last-child { margin-bottom: 0; }

.tokenomics {
  padding-top: 100px;
  padding-bottom: 120px;
  border-top: 1.5px solid var(--line);
}
.compact-heading h2 { font-size: clamp(42px, 5vw, 70px); }
.token-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.token-card {
  min-height: 180px;
  border: 1.5px solid var(--ink);
  border-radius: 24px 17px 22px 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.token-card:nth-child(2) { border-radius: 17px 25px 18px 23px; }
.token-card:nth-child(3) { border-radius: 21px 16px 25px 17px; }
.token-card strong {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1;
  letter-spacing: -.055em;
}

.buy {
  padding-bottom: 120px;
}
.buy-panel {
  background: var(--soft);
  border: 1.5px solid var(--ink);
  border-radius: 28px 20px 30px 22px;
  padding: clamp(28px, 5vw, 64px);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 48px 0 42px;
  border-top: 1.5px solid var(--ink);
}
.steps li {
  min-height: 84px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  border-bottom: 1.5px solid var(--ink);
}
.steps span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}
.steps p {
  margin: 0;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -.025em;
}
.wide-button { width: 100%; }

.site-footer {
  min-height: 160px;
  border-top: 1.5px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.footer-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
}
.site-footer p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}
.footer-links { justify-content: flex-end; }

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }
  .nav { display: none; }
  .socials { gap: 14px; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 20px;
  }
  .hero-copy { padding: 0; }
  .character-zone { min-height: 440px; }
  .character-button img { width: min(360px, 90vw); }
  .story { grid-template-columns: 1fr; gap: 52px; }
  .story-copy { max-width: 100%; }
  .token-grid { grid-template-columns: 1fr; }
  .token-card { min-height: 130px; }
  .site-footer { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .site-header, .section-pad { width: min(calc(100% - 24px), var(--max)); }
  .socials a:nth-child(2) { display: none; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(68px, 24vw, 104px); }
  .hero-line { font-size: 19px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .character-zone { min-height: 370px; }
  .contract-wrap { padding-top: 18px; padding-bottom: 18px; }
  .contract-box { grid-template-columns: 1fr; gap: 14px; }
  .copy-button { width: 100%; }
  .story { padding-top: 80px; padding-bottom: 80px; }
  .tokenomics { padding-top: 80px; padding-bottom: 80px; }
  .buy { padding-bottom: 80px; }
  .steps li { grid-template-columns: 48px 1fr; padding: 14px 0; }
}

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