:root {
  --ink: #241900;
  --muted: #6e5109;
  --gold: #f0b900;
  --gold-deep: #b87b00;
  --cream: #fff4d5;
  --paper: #f7df9d;
  --line: rgba(78, 52, 0, .22);
  --shadow: 0 30px 90px rgba(102, 68, 0, .18);
  --space: #1b1408;
  --space-2: #342408;
  --space-3: #5d430d;
  --star: rgba(255, 246, 214, .95);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 2%, rgba(255,255,255,.78), transparent 30rem),
    linear-gradient(180deg, #f8e8b9 0%, #f3cd64 52%, #edb82e 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--cream); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.orbit {
  position: fixed;
  border: 1px solid rgba(92, 62, 0, .15);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.orbit-a { width: 70rem; height: 70rem; top: -25rem; left: 50%; transform: translateX(-50%); }
.orbit-b { width: 92rem; height: 92rem; top: -35rem; left: 50%; transform: translateX(-50%); }

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
}
.brand img { border-radius: 50%; box-shadow: 0 4px 18px rgba(93, 61, 0, .18); }
nav { display: flex; gap: 28px; }
nav a { font-size: .78rem; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .13em; }
nav a:hover { opacity: .56; }

.hero { text-align: center; padding: 70px 0 96px; }
.eyebrow, .section-kicker {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(67,45,0,.18);
  border-radius: 999px;
  padding: 9px 13px;
}
.status-dot { width: 7px; height: 7px; background: var(--gold-deep); border-radius: 50%; box-shadow: 0 0 0 5px rgba(184,123,0,.12); }

h1 {
  margin: 24px 0 0;
  font-size: clamp(3.1rem, 10.5vw, 8.8rem);
  line-height: .82;
  letter-spacing: -.085em;
  font-weight: 950;
  text-transform: uppercase;
}
h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  text-stroke: 2px var(--ink);
}
.tagline { margin: 25px auto 0; font-size: clamp(1rem, 2vw, 1.28rem); font-weight: 750; letter-spacing: -.025em; }

.hero-art-wrap {
  position: relative;
  width: min(660px, 88vw);
  aspect-ratio: 1;
  margin: 30px auto 8px;
}
.halo {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.65) 0%, rgba(255,220,113,.22) 54%, transparent 72%);
  filter: blur(14px);
  transform: scale(1.08);
}
.hero-art {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 36px 50px rgba(95, 62, 0, .22));
  animation: float 5.5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-.3deg); } 50% { transform: translateY(-12px) rotate(.35deg); } }
.stamp {
  position: absolute;
  z-index: 2;
  font-size: .62rem;
  line-height: 1;
  letter-spacing: .16em;
  font-weight: 950;
  padding: 9px 11px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}
.stamp-left { left: -3%; top: 44%; transform: rotate(-8deg); }
.stamp-right { right: -4%; bottom: 25%; transform: rotate(7deg); }

.actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 10px auto 14px;
  max-width: 820px;
  perspective: 1000px;
}
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid rgba(255, 208, 89, .34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 226, 132, .24) 0, transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(255,255,255,.16) 0, transparent 20%),
    linear-gradient(145deg, rgba(16, 11, 3, .97) 0%, rgba(41, 29, 7, .96) 50%, rgba(80, 57, 12, .94) 100%);
  color: var(--cream);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 0 0 1px rgba(255, 215, 103, .08),
    0 12px 30px rgba(56, 35, 0, .22),
    0 0 0 1px rgba(52, 33, 0, .18);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease;
  backdrop-filter: blur(12px);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 35%, rgba(255,255,255,.18) 0 1px, transparent 1.5px),
    radial-gradient(circle at 58% 22%, rgba(255,242,191,.18) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 68%, rgba(255,248,221,.14) 0 1.1px, transparent 1.7px),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  opacity: .95;
  z-index: -1;
}
.btn::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  top: -44px;
  right: -22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 96, .28);
  box-shadow:
    0 0 0 11px rgba(255, 214, 96, .06),
    0 0 0 22px rgba(255, 214, 96, .03);
  opacity: .9;
  z-index: -1;
}
.btn span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--gold);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,.03) 45%, rgba(0,0,0,.16) 100%);
  border: 1px solid rgba(255, 214, 96, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 16px rgba(240, 185, 0, .14);
}
.btn:hover {
  transform: translateY(-4px) rotateX(6deg);
  border-color: rgba(255, 226, 132, .58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 0 0 1px rgba(255, 215, 103, .1),
    0 18px 38px rgba(56, 35, 0, .28),
    0 0 24px rgba(240, 185, 0, .18);
  filter: saturate(1.05);
}
.btn:active { transform: translateY(-1px) scale(.99); }
.btn-primary {
  border-color: rgba(255, 223, 122, .54);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 226, 132, .3) 0, transparent 28%),
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.18) 0, transparent 20%),
    linear-gradient(145deg, #2b1f05 0%, #4f3608 38%, #8f620d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 0 0 1px rgba(255, 221, 119, .12),
    0 16px 34px rgba(88, 56, 0, .28),
    0 0 24px rgba(240, 185, 0, .18);
}
.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 0 0 1px rgba(255, 221, 119, .18),
    0 20px 42px rgba(88, 56, 0, .32),
    0 0 30px rgba(240, 185, 0, .24);
}

.contract-card {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 15px 16px 15px 18px;
  border-radius: 18px;
  background: rgba(255,248,225,.67);
  border: 1px solid rgba(50,34,0,.24);
  box-shadow: 0 18px 46px rgba(83,55,0,.08);
  backdrop-filter: blur(12px);
}
.contract-card > div { min-width: 0; }
.contract-label { display: block; margin-bottom: 5px; font-size: .62rem; font-weight: 950; letter-spacing: .18em; color: var(--muted); }
code { display: block; font-family: "SFMono-Regular", Consolas, monospace; font-size: .85rem; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#copyButton {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: none;
  min-width: 98px;
  border: 1px solid rgba(255, 214, 96, .28);
  border-radius: 14px;
  padding: 11px 14px;
  color: var(--cream);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 231, 147, .2) 0, transparent 30%),
    linear-gradient(145deg, rgba(19, 13, 4, .98) 0%, rgba(53, 37, 8, .96) 50%, rgba(94, 66, 13, .92) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 26px rgba(56, 35, 0, .18);
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#copyButton::after {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  top: -30px;
  right: -20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 96, .18);
  box-shadow: 0 0 0 8px rgba(255, 214, 96, .04);
  z-index: -1;
}
#copyButton:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 226, 132, .48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 14px 32px rgba(56, 35, 0, .24), 0 0 20px rgba(240, 185, 0, .12);
}
.copy-icon { margin-right: 6px; }

.section-card {
  background: rgba(255,247,220,.5);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.lore { padding: clamp(28px, 5vw, 64px); }
.section-kicker { color: var(--muted); margin: 0 0 28px; }
.lore-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 8vw, 100px); align-items: end; }
.lore h2, .faq h2 { margin: 0; font-size: clamp(2.3rem, 5.8vw, 5.3rem); line-height: .94; letter-spacing: -.065em; }
.lore-grid > p { margin: 0; font-size: 1.05rem; line-height: 1.75; color: #4f3b0b; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 54px; border-top: 1px solid var(--line); }
.stats div { padding: 24px 0 0; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.stats div + div { border-left: 1px solid var(--line); padding-left: 26px; }
.stats strong { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.06em; }
.stats span { font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; padding-bottom: 5px; }

.faq { padding: 118px 0 90px; }
.faq h2 { max-width: 720px; margin-bottom: 46px; }
.faq-list { border-top: 1px solid rgba(47,31,0,.35); }
details { border-bottom: 1px solid rgba(47,31,0,.35); }
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-weight: 900;
  font-size: clamp(1rem, 2vw, 1.2rem);
}
summary::-webkit-details-marker { display: none; }
summary span { font-size: 1.55rem; font-weight: 450; transition: transform .2s ease; }
details[open] summary span { transform: rotate(45deg); }
details p { margin: -6px 0 26px; max-width: 760px; line-height: 1.65; color: #5d460e; }

.footer { padding: 48px 0 32px; border-top: 1px solid rgba(47,31,0,.32); }
.footer-mark { display: flex; align-items: center; gap: 12px; letter-spacing: .08em; }
.footer-mark img { border-radius: 50%; }
.disclaimer { max-width: 870px; margin: 22px 0 42px; color: #5e470f; line-height: 1.6; font-size: .82rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom a { text-decoration: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 24px);
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--ink);
  font-size: .8rem;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .shell { width: min(100% - 24px, 1120px); }
  .topbar { padding: 14px 0; }
  .brand span { font-size: .72rem; }
  nav { gap: 14px; }
  nav a { font-size: .65rem; }
  .hero { padding: 52px 0 74px; }
  h1 { letter-spacing: -.075em; }
  h1 span { -webkit-text-stroke-width: 1.4px; }
  .hero-art-wrap { width: 100%; margin-top: 20px; }
  .stamp { display: none; }
  .actions { grid-template-columns: 1fr 1fr; }
  .btn { min-height: 54px; border-radius: 16px; }
  .contract-card { align-items: stretch; }
  code { font-size: .72rem; max-width: 54vw; }
  #copyButton { min-width: 82px; }
  .lore-grid { grid-template-columns: 1fr; }
  .stats { margin-top: 38px; }
  .stats div { display: block; }
  .stats div + div { padding-left: 14px; }
  .stats span { display: block; margin-top: 8px; }
  .faq { padding-top: 84px; }
  .footer-bottom { gap: 16px; align-items: flex-start; }
}

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