:root {
  --navy: #080b10;
  --navy-2: #10151e;
  --panel: #141a24;
  --gold: #c9a227;
  --gold-hot: #e4c56a;
  --gold-dim: rgba(201, 162, 39, 0.16);
  --cream: #f3ead6;
  --ink: #efe6d2;
  --mute: #b7a88a;
  --line: rgba(201, 162, 39, 0.22);
  --eth: #9aa8ff;
  --danger: #c45c4a;
  --radius: 18px;
  --nav-h: 74px;
  --max: 1120px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(201, 162, 39, 0.18), transparent 55%),
    radial-gradient(640px 420px at 0% 18%, rgba(154, 168, 255, 0.06), transparent 50%),
    var(--navy);
  min-height: 100vh;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.94;
  color: var(--cream);
  margin: 0;
  overflow-wrap: break-word;
}

p {
  margin: 0;
}

em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
}

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

.glow {
  pointer-events: none;
  position: fixed;
  inset: auto -10% 20% auto;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.12), transparent 68%);
  z-index: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 80;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  font-weight: 700;
}

.skip:focus {
  top: 16px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: var(--nav-h);
  padding: 10px 28px;
  background: rgba(8, 11, 16, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 11, 16, 0.92);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: #1a1608;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

.brand em {
  font-size: 0.7rem;
  color: var(--mute);
  font-style: italic;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--mute);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream);
}

.icon-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-hot), var(--gold));
  color: #1a1406;
  box-shadow: 0 8px 0 #7a6418;
}

.btn-gold:hover {
  background: var(--gold-hot);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(20, 26, 36, 0.7);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.ca-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 10px 14px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cream);
}

.mobile-menu {
  display: none;
  position: sticky;
  top: var(--nav-h);
  z-index: 29;
  background: var(--navy-2);
  border-bottom: 1px solid var(--line);
  padding: 12px 20px 20px;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu a {
  color: var(--cream);
  font-size: 1.05rem;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 40px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 48px;
  min-height: calc(100svh - var(--nav-h));
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}

.hero-tick {
  display: block;
  color: var(--gold);
  font-size: 0.22em;
  letter-spacing: 0.22em;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
}

.hero-line {
  display: block;
}

.hero-line.italic {
  font-style: italic;
  color: var(--gold-hot);
}

.lede {
  margin-top: 22px;
  max-width: 36rem;
  font-size: 1.12rem;
  color: var(--mute);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ca-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 21, 30, 0.75);
  font-size: 0.86rem;
  color: var(--mute);
}

.ca-row code {
  font-family: var(--font-mono);
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.copy-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-btn.copied {
  color: #9dca7a;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.coin-stage {
  margin: 0;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.coin-glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.38), transparent 68%);
  filter: blur(18px);
}

.coin {
  position: relative;
  width: min(420px, 86%);
  animation: float 7s var(--ease) infinite;
}

.coin img {
  width: 100%;
  border-radius: 50%;
  box-shadow:
    0 0 0 10px rgba(8, 11, 16, 0.85),
    0 0 0 11px var(--gold),
    0 30px 80px rgba(0, 0, 0, 0.55);
}

.coin-stage figcaption {
  position: relative;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

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

.marquee {
  border-block: 1px solid var(--line);
  background: var(--navy-2);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  padding: 14px 0;
  animation: ticker 36s linear infinite;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px;
  scroll-margin-top: 84px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
}

.section-head p:not(.kicker) {
  margin-top: 16px;
  color: var(--mute);
  font-size: 1.08rem;
}

.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.tweet-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.tweet-head {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
}

.tweet-head img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.tweet-head strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0;
  font-family: var(--font-body);
}

.tweet-head span {
  color: var(--mute);
  font-size: 0.82rem;
}

.x-mark {
  color: var(--mute);
}

.tweet-body {
  margin: 16px 0 14px;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--cream);
}

.tweet-shot {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #111;
}

.tweet-shot img {
  width: 100%;
}

.tweet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  color: var(--mute);
  font-size: 0.82rem;
}

.tweet-link,
.clip-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 600;
}

.clip-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pull {
  margin: 0;
  padding: 22px 24px;
  background: var(--gold-dim);
  border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0;
}

.pull p {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--cream);
}

.pull cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--gold);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.letter {
  position: relative;
  z-index: 1;
  padding: 24px 24px 88px;
}

.letter-sheet {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 44px 52px;
  background:
    linear-gradient(180deg, rgba(255, 248, 230, 0.04), transparent 18%),
    #ece3cc;
  color: #2a2214;
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.35),
    0 28px 70px rgba(0, 0, 0, 0.4);
}

.letter-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a6418;
}

.letter-sheet h2 {
  margin: 12px 0 22px;
  color: #1b160c;
  font-size: clamp(2rem, 4vw, 3rem);
}

.letter-sheet p {
  margin-bottom: 16px;
  font-size: 1.12rem;
  line-height: 1.7;
}

.letter-sheet a {
  color: #7a6418;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.letter-sheet em {
  color: #7a6418;
}

.letter-sign {
  margin-top: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem !important;
}

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

.stats article {
  padding: 22px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stats span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.stats strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
}

.specimen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 28px 0 0;
}

.specimen > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.specimen dt {
  color: var(--mute);
  font-size: 0.86rem;
}

.specimen dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--cream);
  text-align: right;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.steps span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.steps h3 {
  margin: 10px 0 8px;
  font-size: 1.45rem;
}

.steps p {
  color: var(--mute);
}

.buy-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 4px 18px 4px;
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  font-weight: 600;
  color: var(--cream);
}

summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 0 16px;
  color: var(--mute);
}

details a {
  color: var(--gold);
}

.footer {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 110px;
  border-top: 1px solid var(--line);
  color: var(--mute);
}

.footer .brand {
  margin-bottom: 16px;
}

.footer a {
  color: var(--gold);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.fine {
  margin-top: 12px;
  font-size: 0.86rem;
}

.sticky-buy {
  position: fixed;
  z-index: 25;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(8, 11, 16, 0.95) 30%);
}

.sticky-buy.visible {
  display: none;
}

.sticky-buy .btn {
  width: 100%;
}

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1406;
  font-weight: 700;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

@media (max-width: 1100px) {
  .nav .ca-btn {
    display: none;
  }

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

  .coin-stage {
    order: -1;
    min-height: auto;
    padding-top: 12px;
  }

  .coin {
    width: min(340px, 72%);
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav .ca-btn,
  .nav .btn-gold {
    display: none;
  }

  .nav {
    grid-template-columns: 1fr auto;
  }

  .menu-btn {
    display: flex;
  }

  .mobile-menu.open {
    display: flex;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
    min-height: auto;
  }

  .sticky-buy.visible {
    display: block;
  }

  .section {
    padding: 64px 20px;
  }

  .letter-sheet {
    padding: 32px 22px 36px;
  }
}

@media (max-width: 560px) {
  .stats,
  .specimen {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .ca-row {
    font-size: 0.78rem;
  }

  .nav {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .coin,
  .marquee-track {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
