:root {
  --bg: #0a0a0a;
  --bg-raised: #131313;
  --fg: #f5f5f0;
  --fg-dim: #9a9a94;
  --accent: #76b900;
  --accent-dim: #4d7a00;
  --border: #262622;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Bebas Neue", "Inter", sans-serif;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-brand {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--accent);
  white-space: nowrap;
}
.nav-links {
  display: none;
  gap: 22px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
}
.nav-links a:hover { color: var(--fg); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg);
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  order: 2;
}
.nav-toggle svg { width: 18px; height: 18px; }
@media (max-width: 799px) {
  .nav-toggle { display: inline-flex; }
  .nav .wrap { flex-wrap: wrap; }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }
  .nav-links.open {
    display: flex;
    max-height: 260px;
    margin-top: 14px;
  }
  .nav-links a {
    padding: 12px 0;
    border-top: 1px solid var(--border);
  }
}
@media (min-width: 800px) {
  .nav-links { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}
.btn-primary:hover { opacity: 0.88; }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-disabled {
  background: transparent;
  border-color: var(--border);
  color: var(--fg-dim);
  cursor: not-allowed;
  opacity: 0.6;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 50px;
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
}
.hero-banner {
  display: block;
  width: 100%;
  height: auto;
}
.hero-inner {
  position: relative;
  text-align: center;
  padding-top: 34px;
}
.hero-position {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 13px;
  color: var(--fg-dim);
  letter-spacing: 0.03em;
}
.hero-position strong { color: var(--fg); }
.ca-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 14px;
  margin: 0 auto 30px;
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  color: var(--fg-dim);
  max-width: calc(100% - 40px);
}
.ca-row span { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .ca-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}
.ca-row button {
  background: none;
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.ca-row button:hover { border-color: var(--accent); }
.hero .btn-row { justify-content: center; }

/* Ticker strip */
.ticker {
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}
.ticker .wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}
@media (min-width: 640px) {
  .ticker .wrap { grid-template-columns: repeat(4, 1fr); }
}
.tick {
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  min-width: 0;
}
.tick:nth-child(2n) { border-right: none; }
@media (min-width: 640px) {
  .tick:nth-child(2n) { border-right: 1px solid var(--border); }
  .tick:nth-child(4n) { border-right: none; }
  .tick:nth-last-child(-n+4) { border-bottom: none; }
}
.tick-value {
  overflow-wrap: anywhere;
}
.tick-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  margin-bottom: 4px;
}
.tick-value {
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 16px;
  color: var(--accent);
}

/* Sections */
section { padding: 70px 0; border-bottom: 1px solid var(--border); }
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(30px, 5vw, 52px);
  margin-bottom: 22px;
}
.lede {
  max-width: 680px;
  font-size: 18px;
  color: var(--fg-dim);
  margin-bottom: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 800px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px;
}
.fact-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.fact-row:last-child { border-bottom: none; }
.fact-row span:first-child { color: var(--fg-dim); }
.fact-row span:last-child { font-family: "SFMono-Regular", Menlo, monospace; }

/* Token data table (copy-paste card) */
.data-table {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-raised);
}
.data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.data-row:last-child { border-bottom: none; }
.dr-label { color: var(--fg-dim); flex-shrink: 0; }
.dr-value {
  font-family: "SFMono-Regular", Menlo, monospace;
  text-align: right;
  overflow-wrap: anywhere;
  margin-left: auto;
  margin-right: 10px;
}
.copy-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.copy-btn:hover { border-color: var(--accent); }
.data-note {
  font-size: 12.5px;
  color: var(--fg-dim);
  margin-top: 14px;
}
.data-note a { color: var(--accent); text-decoration: underline; }

/* Launch mechanics */
.mech-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mech-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--fg-dim);
}
.mech-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}
.mech-list strong { color: var(--fg); }
.mech-list code {
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
  color: var(--accent);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 22px;
  background: var(--bg-raised);
}
.faq-item + .faq-item { margin-top: 10px; }
.faq-q { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.faq-a { font-size: 14px; color: var(--fg-dim); margin: 0; }

/* Chart embed */
.chart-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-raised);
}
@media (min-width: 700px) {
  .chart-embed { aspect-ratio: 16 / 8; }
}
.chart-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.warn-line {
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--accent-dim);
  border-radius: 6px;
  background: rgba(118,185,0,0.06);
  font-size: 13.5px;
  color: var(--fg);
}

.punches {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
@media (min-width: 800px) {
  .punches { grid-template-columns: repeat(3, 1fr); }
}
.punch {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px;
  background: var(--bg-raised);
}
.punch-num {
  color: var(--accent);
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.steps li {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  background: var(--bg-raised);
  font-size: 14px;
}
.step-num {
  display: inline-block;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0a0a;
  text-align: center;
  line-height: 26px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.receipts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
  background: var(--bg-raised);
  font-size: 14px;
}
.receipt-row .r-label { color: var(--fg-dim); }
.receipt-row .r-link { color: var(--accent); text-decoration: none; white-space: nowrap; }
.receipt-row .r-link:hover { text-decoration: underline; }
.pending { color: var(--fg-dim); font-style: italic; font-size: 13px; }

footer {
  padding: 40px 0 60px;
  border-bottom: none;
}
.disclaimer {
  font-size: 12.5px;
  color: var(--fg-dim);
  max-width: 720px;
}
.footer-links {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Thesis page */
.thesis-body { max-width: 680px; margin: 0 auto; }
.thesis-body h2 { margin-top: 50px; margin-bottom: 14px; font-size: 26px; }
.thesis-body p { color: var(--fg-dim); font-size: 16px; margin-bottom: 16px; }
.thesis-body h2:first-child { margin-top: 0; }
.back-link { display: inline-block; margin-bottom: 30px; color: var(--accent); text-decoration: none; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
