:root {
  --bg: #f8f8f8;
  --ink: #292724;
  --muted: #746a5d;
  --fur: #ead2a3;
  --fur-soft: #f3dfb7;
  --fur-deep: #b99761;
  --card: #fffdf9;
  --line: #2b2926;
  --shadow: 0 22px 60px rgba(41, 39, 36, 0.08);
  --radius-lg: 34px;
  --radius-md: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(234, 210, 163, 0.22), transparent 30%),
    radial-gradient(circle at 82% 28%, rgba(185, 151, 97, 0.10), transparent 26%),
    var(--bg);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.02em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(41, 39, 36, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(41, 39, 36, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

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

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

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

.page-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  margin-bottom: 58px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 7px 7px 0 rgba(41, 39, 36, 0.06);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 800;
  font-size: 18px;
}

.wordmark-dot {
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--fur);
  box-shadow: 3px 3px 0 var(--line);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  background: var(--fur-soft);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  align-items: center;
  gap: 56px;
  margin-bottom: 34px;
}

.hero-copy {
  padding: 8px 0;
}

.eyebrow,
.card-kicker {
  margin: 0 0 16px;
  color: var(--fur-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(58px, 10vw, 124px);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.closing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.copy-button,
.closing-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--line);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.copy-button:hover,
.closing-links a:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--line);
  background: var(--fur-soft);
}

.button:focus-visible,
.copy-button:focus-visible,
.nav-links a:focus-visible,
.closing-links a:focus-visible {
  outline: 3px solid rgba(185, 151, 97, 0.42);
  outline-offset: 3px;
}

.primary {
  background: var(--fur);
}

.mascot-card {
  position: relative;
  padding: clamp(16px, 3.5vw, 30px);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 10px 10px 0 var(--line), var(--shadow);
}

.mascot-card::before,
.mascot-card::after {
  content: "";
  position: absolute;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--fur-soft);
}

.mascot-card::before {
  width: 58px;
  height: 34px;
  left: -16px;
  top: 16%;
  transform: rotate(-12deg);
}

.mascot-card::after {
  width: 36px;
  height: 26px;
  right: -12px;
  bottom: 18%;
  transform: rotate(18deg);
}

.mascot-frame {
  overflow: hidden;
  border-radius: 28px;
  background: var(--bg);
}

.mascot-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 22px;
  margin-top: 34px;
}

.card,
.closing-panel {
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 8px 8px 0 rgba(41, 39, 36, 0.09);
}

.card {
  padding: clamp(22px, 4vw, 34px);
}

.card h2,
.closing-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.card p,
.closing-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.token-card {
  display: grid;
  gap: 14px;
}

.token-row,
.contract-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 2px solid rgba(41, 39, 36, 0.14);
  border-radius: var(--radius-md);
  background: rgba(248, 248, 248, 0.72);
}

.token-row span,
.contract-box span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.token-row strong {
  font-size: 22px;
}

.contract-box {
  align-items: flex-start;
  flex-direction: column;
}

code {
  width: 100%;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
}

.copy-button {
  min-height: 44px;
  padding: 0 16px;
  box-shadow: 4px 4px 0 var(--line);
  background: var(--fur);
}

.closing-panel {
  margin-top: 22px;
  padding: clamp(28px, 6vw, 52px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(234, 210, 163, 0.38), rgba(255, 253, 249, 0.9)),
    var(--card);
}

.closing-panel p {
  max-width: 560px;
  margin: 0 auto 24px;
}

.closing-links {
  justify-content: center;
}

footer {
  margin-top: 24px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 36px;
  }

  .wordmark {
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
  }

  .hero,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
  }

  .mascot-card {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 20px, var(--max));
    padding-top: 10px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding-inline: 10px;
    font-size: 13px;
  }

  .hero-actions,
  .closing-links {
    flex-direction: column;
  }

  .button,
  .closing-links a {
    width: 100%;
  }

  .token-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
