:root {
  --bg: #17120d;
  --panel: #21180f;
  --panel-2: #2a1f14;
  --cream: #efe2c3;
  --tan: #c7a86d;
  --gold: #f0c15a;
  --brown: #4b3320;
  --muted: #ad9d83;
  --line: rgba(239, 226, 195, 0.18);
  --dark: #0d0a07;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
body::selection { background: var(--gold); color: var(--dark); }

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  z-index: 50;
  background-image:
    radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1.4px),
    radial-gradient(circle at 80% 60%, #fff 0 1px, transparent 1.4px);
  background-size: 21px 21px, 27px 27px;
  mix-blend-mode: soft-light;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 72px;
  padding: 12px clamp(18px, 3vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(23, 18, 13, .93);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.brand strong {
  font-size: 11px;
  color: var(--dark);
  background: var(--gold);
  border-radius: 99px;
  padding: 6px 8px;
}
.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240,193,90,.12);
}

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--cream); }

.buy-button,
.outline-button,
.fomo-button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.buy-button { background: var(--gold); color: var(--dark); box-shadow: 0 10px 30px rgba(240,193,90,.14); }
.buy-button:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(240,193,90,.25); }
.buy-button.small { min-height: 42px; padding: 0 14px; justify-self: end; }
.outline-button { border-color: var(--line); color: var(--cream); background: rgba(255,255,255,.02); }
.outline-button:hover, .fomo-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.05); }
.fomo-button { border-color: rgba(255,255,255,.16); background: #f4f4f4; color: #111; }

.section-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-section {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  padding: 58px 0 66px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--tan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(74px, 10vw, 150px);
  line-height: .78;
  letter-spacing: -.085em;
  text-transform: lowercase;
}
.hero-copy h1 span { color: var(--gold); }
.hero-text {
  width: min(610px, 100%);
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.52;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.ca-card {
  margin-top: 22px;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  max-width: 660px;
}
.ca-card > div { min-width: 0; }
.ca-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--tan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}
.ca-card code {
  display: block;
  max-width: 520px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cream);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.ca-card button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--cream);
  color: var(--dark);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.hero-art-wrap { position: relative; display: grid; place-items: center; }
.hero-frame {
  width: min(100%, 560px);
  aspect-ratio: 1;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 110px rgba(0,0,0,.48);
  transform: rotate(1.7deg);
  background: var(--panel);
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  pointer-events: none;
}
.hero-art { width: 100%; height: 100%; object-fit: cover; display: block; }
.stamp {
  position: absolute;
  right: -12px;
  bottom: 7%;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 1000;
  text-transform: uppercase;
  transform: rotate(-12deg);
  border: 8px solid var(--bg);
}

.ticker-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--gold);
  color: var(--dark);
}
.ticker-track {
  width: max-content;
  display: flex;
  gap: 38px;
  padding: 14px 0;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .1em;
  animation: ticker 22s linear infinite;
}
.ticker-track span::after { content: "✹"; margin-left: 38px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.split-section,
.how-section,
.links-section {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}
.split-section {
  display: grid;
  grid-template-columns: 70px 1.2fr .8fr;
  gap: 38px;
  align-items: start;
}
.section-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--tan);
  font-size: 12px;
  font-weight: 900;
}
.section-content h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .95;
  letter-spacing: -.055em;
}
.section-content p:not(.eyebrow) {
  color: var(--muted);
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
}
.quote-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 24px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 900;
}

.how-section,
.links-section {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 38px;
}
.section-heading { max-width: 900px; }
.steps-grid,
.links-grid {
  grid-column: 2;
  display: grid;
  gap: 14px;
  margin-top: 44px;
}
.steps-grid { grid-template-columns: repeat(3, 1fr); }
.step-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}
.step-card > span { color: var(--gold); font-size: 12px; font-weight: 900; }
.step-card h3 { margin: 48px 0 10px; font-size: 26px; letter-spacing: -.03em; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.55; }

.links-grid { grid-template-columns: repeat(2, 1fr); }
.link-card {
  min-height: 120px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 8px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.link-card:hover { transform: translateY(-3px); border-color: rgba(240,193,90,.45); background: var(--panel-2); }
.link-card .link-label { color: var(--tan); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.link-card strong { align-self: end; font-size: 28px; letter-spacing: -.04em; }
.link-card b { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 24px; }
.fomo-card { background: #f3f3f3; color: #111; }
.fomo-card .link-label { color: #555; }

footer {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}
footer div { display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
footer strong { color: var(--cream); }
footer span { color: var(--dark); background: var(--gold); padding: 5px 8px; border-radius: 99px; font-weight: 900; }
footer p { margin: 0; text-align: right; }

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero-section { grid-template-columns: 1fr; min-height: auto; padding-top: 52px; }
  .hero-copy { order: 1; }
  .hero-art-wrap { order: 0; }
  .hero-frame { width: min(82vw, 560px); }
  .hero-copy h1 { font-size: clamp(72px, 18vw, 132px); }
  .split-section { grid-template-columns: 56px 1fr; }
  .quote-card { grid-column: 2; }
}

@media (max-width: 720px) {
  .topbar { min-height: 64px; padding: 10px 14px; }
  .brand span:not(.brand-dot), .brand strong { display: none; }
  .buy-button.small { font-size: 10px; min-height: 40px; }
  .section-shell { width: min(100% - 24px, 1240px); }
  .hero-section { gap: 32px; padding: 28px 0 42px; }
  .hero-frame { width: 100%; border-radius: 24px; transform: none; }
  .stamp { width: 104px; height: 104px; right: -4px; bottom: 5%; font-size: 13px; border-width: 6px; }
  .hero-copy h1 { font-size: clamp(68px, 23vw, 102px); }
  .hero-text { margin-top: 24px; font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .buy-button { grid-column: 1 / -1; }
  .hero-actions > * { width: 100%; }
  .ca-card { align-items: stretch; }
  .ca-card code { max-width: 58vw; }

  .split-section,
  .how-section,
  .links-section { padding: 74px 0; grid-template-columns: 1fr; gap: 22px; }
  .section-number { width: 44px; height: 44px; }
  .section-content,
  .section-heading,
  .quote-card,
  .steps-grid,
  .links-grid { grid-column: 1; }
  .section-content h2,
  .section-heading h2 { font-size: clamp(44px, 13vw, 64px); }
  .steps-grid { grid-template-columns: 1fr; margin-top: 20px; }
  .step-card { min-height: 190px; }
  .links-grid { grid-template-columns: 1fr; margin-top: 20px; }
  footer { flex-direction: column; align-items: flex-start; }
  footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
  .buy-button, .outline-button, .fomo-button, .link-card { transition: none; }
}
