:root {
  --night: #070b1a;
  --night-2: #0d1328;
  --panel: #111936;
  --panel-soft: #161f3c;
  --moon: #f5edda;
  --moon-dim: #b9b6b5;
  --gold: #d6a84b;
  --gold-bright: #f2c76e;
  --cinnabar: #d64b3f;
  --lavender: #9299c7;
  --line: rgba(214, 168, 75, .28);
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--moon); font-family: var(--serif); font-size: 16px; line-height: 1.5; }
button, a { color: inherit; font: inherit; }
button { border-radius: 0; }
a { text-decoration: none; }
[hidden] { display: none !important; }
.page-shell { min-height: 100vh; overflow: hidden; }
.section-pad { padding: 110px max(32px, calc((100vw - 1240px) / 2)); }

.site-header { position: relative; z-index: 20; height: 82px; padding: 0 max(28px, calc((100vw - 1320px) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: var(--night); }
.wordmark { display: inline-flex; align-items: center; color: var(--gold-bright); font-size: 15px; font-weight: 700; letter-spacing: .16em; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { color: var(--moon-dim); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.nav-links a:hover { color: var(--gold-bright); }
.wallet-button { justify-self: end; min-width: 152px; padding: 12px 17px; border: 1px solid var(--gold); background: transparent; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; cursor: pointer; }
.wallet-button:hover { background: var(--gold); color: var(--night); }

.hero { min-height: 755px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: center; position: relative; }
.hero::before { content: "4663"; position: absolute; left: max(32px, calc((100vw - 1240px) / 2)); bottom: 18px; color: rgba(146, 153, 199, .055); font-size: clamp(180px, 25vw, 390px); line-height: .7; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 25px; color: var(--gold-bright); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--cinnabar); border-radius: 50%; }
h1, h2, h3, p { text-wrap: balance; }
h1, h2 { margin: 0; font-weight: 400; letter-spacing: -.025em; }
h1 { font-size: clamp(67px, 7.2vw, 108px); line-height: .83; }
h1 em { color: var(--gold-bright); font-style: normal; }
h2 { font-size: clamp(50px, 5.8vw, 86px); line-height: .9; }
.hero-deck { max-width: 625px; margin: 32px 0; color: var(--moon-dim); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions.centered { justify-content: center; }
.button { min-height: 47px; padding: 13px 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--gold); cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.button-primary { background: var(--gold); color: var(--night); }
.button-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.button-secondary { background: transparent; color: var(--gold-bright); }
.button-secondary:hover { background: rgba(214, 168, 75, .08); }
.hero-facts { display: flex; margin-top: 45px; }
.hero-facts div { min-width: 132px; padding: 0 22px; border-left: 1px solid var(--line); }
.hero-facts div:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { font-size: 25px; font-weight: 400; }
.hero-facts span { margin-top: 3px; color: var(--lavender); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }

.hero-art { position: relative; display: grid; place-items: center; }
.card-stage { position: relative; width: min(390px, 38vw); }
.card-halo { position: absolute; inset: 13% -16%; border: 1px solid rgba(214, 168, 75, .14); transform: rotate(8deg); }
.hero-card { position: relative; filter: drop-shadow(0 25px 30px rgba(0, 0, 0, .48)); transform: rotate(-2.3deg); }
.hero-card svg, .identity-art svg { display: block; width: 100%; height: auto; border: 1px solid rgba(214, 168, 75, .18); background: #080d1f; }
.card-stamp { position: absolute; z-index: 2; padding: 8px 11px; border: 1px solid var(--gold); background: var(--night); color: var(--gold-bright); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.stamp-top { top: 9%; right: -18%; transform: rotate(6deg); }
.stamp-bottom { bottom: 13%; left: -20%; transform: rotate(-7deg); }

.ticker { min-height: 49px; padding: 12px 26px; display: flex; align-items: center; justify-content: center; gap: 28px; overflow: hidden; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); background: var(--gold); color: var(--night); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
.ticker i { font-style: normal; }

.mechanism { background: #e7dfcb; color: #11162a; }
.section-heading { max-width: 780px; margin-bottom: 55px; }
.section-heading .eyebrow { color: #8a662d; }
.section-heading > p:last-child { max-width: 610px; margin: 25px 0 0; color: #615e58; font-size: 16px; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #bdb59f; }
.step-card { min-height: 360px; padding: 34px; position: relative; border-right: 1px solid #bdb59f; }
.step-card:last-child { border-right: 0; }
.step-number { color: #8a662d; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; }
.step-symbol { margin: 34px 0 24px; color: #8a662d; font-size: 42px; line-height: 1; }
.step-card h3 { margin: 0; font-size: 28px; font-weight: 400; }
.step-card p { max-width: 310px; color: #615e58; font-size: 14px; line-height: 1.7; }
.text-action { position: absolute; left: 34px; bottom: 30px; padding: 0; border: 0; background: transparent; color: #7f5c25; cursor: pointer; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }

.identities { background: var(--night); }
.heading-row { margin-bottom: 58px; display: grid; grid-template-columns: 1fr 460px; gap: 70px; align-items: end; }
.heading-row > p { margin: 0 0 3px; color: var(--moon-dim); line-height: 1.75; }
.identity-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
.identity-card { min-width: 0; padding: 17px 17px 20px; border: 1px solid var(--line); background: var(--night-2); }
.identity-card.sheriff { border-color: rgba(214, 75, 63, .62); }
.identity-art { position: relative; overflow: hidden; }
.identity-art svg { transition: transform .28s ease; }
.identity-card:hover .identity-art svg { transform: scale(1.018); }
.identity-meta { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; align-items: end; padding: 17px 3px 0; }
.identity-name { color: var(--moon); font-size: 18px; letter-spacing: .08em; }
.identity-ticker { color: var(--gold-bright); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; }
.identity-market { grid-column: 1 / 3; color: var(--lavender); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.identity-odds { color: var(--moon-dim); font-family: var(--mono); font-size: 9px; }

.launch-cta { border-top: 1px solid var(--line); background: var(--night-2); text-align: center; }
.launch-cta h2 span { color: var(--gold-bright); }
.launch-cta .hero-actions { margin-top: 38px; }
.site-footer { min-height: 100px; padding: 25px max(28px, calc((100vw - 1320px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: var(--lavender); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.site-footer p { margin: 0; }

.action-backdrop { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; background: rgba(3, 5, 13, .82); }
.action-panel { width: min(560px, 100%); max-height: calc(100vh - 48px); overflow: auto; border: 1px solid var(--gold); background: var(--night-2); box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
.action-head { min-height: 74px; padding: 0 25px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.action-head h2 { font-size: 26px; letter-spacing: .04em; }
.action-close { border: 0; background: transparent; color: var(--gold-bright); cursor: pointer; font-size: 28px; }
.action-body { padding: 27px 25px 30px; }
.action-kicker { margin: 0 0 14px; color: var(--gold-bright); font-family: var(--mono); font-size: 9px; letter-spacing: .13em; }
.action-lead { margin: 0 0 24px; color: var(--moon-dim); line-height: 1.7; }
.action-stats { display: grid; grid-template-columns: repeat(2, 1fr); margin-bottom: 20px; border: 1px solid var(--line); }
.action-stat { padding: 17px; text-align: center; }
.action-stat + .action-stat { border-left: 1px solid var(--line); }
.action-stat strong, .action-stat span { display: block; }
.action-stat strong { font-size: 20px; font-weight: 400; }
.action-stat span { margin-top: 3px; color: var(--lavender); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.action-submit { width: 100%; min-height: 48px; padding: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold); background: var(--gold); color: var(--night); cursor: pointer; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.action-submit:disabled { cursor: default; opacity: .5; }
.quantity { height: 50px; margin-bottom: 11px; display: grid; grid-template-columns: 48px 1fr 48px; border: 1px solid var(--line); }
.quantity button { border: 0; background: transparent; color: var(--gold-bright); cursor: pointer; font-size: 20px; }
.quantity strong { display: grid; place-items: center; font-weight: 400; }
.agent-select { display: grid; gap: 8px; margin-bottom: 14px; }
.agent-option { padding: 12px 14px; display: flex; justify-content: space-between; border: 1px solid var(--line); background: transparent; color: var(--moon-dim); cursor: pointer; }
.agent-option.active { border-color: var(--gold); color: var(--gold-bright); }
.agent-option span { font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.empty-state { margin-bottom: 15px; padding: 24px; border: 1px solid var(--line); color: var(--lavender); text-align: center; }
.tx-state { margin: 12px 0 0; color: var(--gold-bright); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-align: center; }

.toast { position: fixed; right: 24px; bottom: 24px; z-index: 90; max-width: min(390px, calc(100vw - 48px)); padding: 13px 17px; border: 1px solid var(--gold); background: var(--night-2); color: var(--moon); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.wmenu { position: fixed; top: 70px; right: max(24px, calc((100vw - 1320px) / 2)); z-index: 80; width: 220px; border: 1px solid var(--gold); background: var(--night-2); }
.wm-addr, .wm-item { padding: 13px 15px; border-bottom: 1px solid var(--line); color: var(--moon-dim); cursor: pointer; font-size: 12px; }
.wm-copy { float: right; color: var(--gold-bright); font-family: var(--mono); font-size: 8px; }
.wp-back { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(3, 5, 13, .84); }
.wpicker { width: min(390px, 100%); overflow: hidden; border: 1px solid var(--gold); background: var(--night-2); box-shadow: 0 28px 80px rgba(0, 0, 0, .55); }
.wp-head { min-height: 62px; padding: 0 15px 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wp-h { color: var(--gold-bright); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }
.wp-close { width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: var(--moon-dim); cursor: pointer; font-family: var(--mono); font-size: 22px; line-height: 1; }
.wp-close:hover, .wp-close:focus-visible { color: var(--gold-bright); outline: 0; }
.wp-row { width: 100%; min-height: 64px; padding: 10px 18px; display: flex; align-items: center; gap: 13px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--moon); cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-align: left; }
.wp-row:last-child { border-bottom: 0; }
.wp-row:hover, .wp-row:focus-visible { background: var(--panel-soft); color: var(--gold-bright); outline: 0; }
.wp-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: var(--night); }
.wp-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wp-initial { color: var(--gold-bright); font-size: 12px; }
.wp-name { flex: 1; }
.wp-arrow { color: var(--gold-bright); font-size: 14px; }
.wp-empty { min-height: 106px; padding: 24px 18px 20px; display: grid; place-items: center; align-content: center; gap: 8px; border-bottom: 1px solid var(--line); color: var(--lavender); font-family: var(--mono); }
.wp-empty span { color: var(--gold-bright); font-size: 20px; line-height: 1; }
.wp-empty strong { font-size: 9px; font-weight: 400; letter-spacing: .14em; }
.wp-links { background: rgba(7, 11, 26, .32); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 75px; gap: 75px; }
  .hero-art { order: -1; }
  .card-stage { width: min(340px, 74vw); }
  .heading-row { grid-template-columns: 1fr; }
  .identity-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .section-pad { padding: 82px 20px; }
  .site-header { height: 70px; padding: 0 18px; }
  .wallet-button { min-width: 0; padding: 10px 12px; }
  .hero { min-height: 0; padding-top: 55px; }
  h1 { font-size: clamp(54px, 17vw, 74px); }
  h2 { font-size: clamp(46px, 14vw, 68px); }
  .hero-deck { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .hero-facts { justify-content: space-between; }
  .hero-facts div { min-width: 0; padding: 0 12px; }
  .hero-facts strong { font-size: 20px; }
  .hero-facts span { font-size: 7px; }
  .ticker { justify-content: flex-start; }
  .step-grid, .identity-list { grid-template-columns: 1fr; }
  .step-card { min-height: 325px; border-right: 0; border-bottom: 1px solid #bdb59f; }
  .step-card:last-child { border-bottom: 0; }
  .heading-row { gap: 30px; }
  .site-footer { flex-wrap: wrap; justify-content: center; text-align: center; }
  .stamp-top { right: -7%; }
  .stamp-bottom { left: -8%; }
  .wp-back { padding: 16px; }
  .wpicker { width: 100%; }
}
