/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #000;
  color: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 56px; /* room for ticker */
}
a { color: #FFE100; text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: 'SF Mono', Menlo, Consolas, monospace; }

:root {
  --yellow: #FFE100;
  --yellow-dim: #d4bd00;
  --ink: #000;
  --paper: #fff;
  --line: #1f1f1f;
  --muted: #8a8a8a;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: #fff; color: #000;
  border-bottom: 4px solid var(--yellow);
}
.brand { display: flex; align-items: center; gap: 10px; color: #000; font-weight: 900; letter-spacing: -0.02em; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: #000; color: var(--yellow);
  font-weight: 900; font-size: 22px;
  border-radius: 4px;
}
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-sub { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; color: #555; margin-top: 3px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: #000; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- CA bar ---------- */
.ca-bar {
  position: sticky; top: 64px; z-index: 49;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 28px;
  background: var(--yellow); color: #000;
  border-bottom: 2px solid #000;
  font-weight: 800;
}
.ca-label {
  background: #000; color: var(--yellow);
  padding: 4px 8px;
  font-size: 11px; letter-spacing: 0.14em;
  border-radius: 2px;
}
.ca-bar code {
  font-size: 13px; font-weight: 700;
  word-break: break-all;
  flex: 1; min-width: 0;
}
.ca-btn {
  background: #000; color: var(--yellow);
  border: none; cursor: pointer;
  padding: 6px 12px;
  font-size: 11px; font-weight: 900; letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: inherit;
}
.ca-btn:hover { background: #1a1a1a; text-decoration: none; }
@media (max-width: 560px) {
  .ca-bar { padding: 8px 14px; font-size: 11px; }
  .ca-bar code { font-size: 11px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  font-weight: 900; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--yellow);
  border-radius: 0;
  cursor: pointer;
  transition: transform 80ms ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: #000; box-shadow: 4px 4px 0 #000; }
.btn-primary:hover { background: #fff200; }
.btn-ghost { background: transparent; color: var(--yellow); }
.btn-ghost:hover { background: var(--yellow); color: #000; }
.btn-lg { padding: 16px 28px; font-size: 14px; }
.btn-sm { padding: 8px 14px; font-size: 11px; }

/* dark-bg variant for nav buy button */
.nav .btn-primary { box-shadow: none; border-color: #000; }

/* ---------- hero ---------- */
.hero { padding: 64px 28px 40px; border-bottom: 1px solid var(--line); }
.hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
  align-items: center;
}
.hero-left .tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(255,225,0,0.12);
  color: var(--yellow);
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em;
  border: 1px solid rgba(255,225,0,0.4);
  text-transform: uppercase;
}
.tag-live .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255,59,59,0.8);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,59,59,0.8); }
  70%  { box-shadow: 0 0 0 12px rgba(255,59,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); }
}

.hero h1 {
  font-size: clamp(72px, 11vw, 168px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin: 18px 0 8px;
  color: var(--yellow);
}
.hero-sub {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--yellow);
  margin: 0 0 22px;
  line-height: 0.95;
}
.hero-body { color: #d8d8d8; max-width: 60ch; font-size: 16px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.hero-foot { color: var(--muted); font-size: 12px; margin-top: 22px; max-width: 60ch; }

.hero-right {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.card {
  background: #fff; color: #000;
  padding: 28px 24px;
  border-radius: 4px;
}
.card.stat {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 140px;
}
.stat-value { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: #555; text-transform: uppercase; margin-top: 12px; }

/* ---------- section heads ---------- */
section { padding: 80px 28px; border-bottom: 1px solid var(--line); }
.section-head { max-width: 1280px; margin: 0 auto 40px; }
.kicker {
  display: inline-block; background: var(--yellow); color: #000;
  font-size: 11px; font-weight: 900; letter-spacing: 0.16em;
  padding: 6px 10px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
  color: #fff;
}
.lede { color: #b8b8b8; max-width: 70ch; font-size: 16px; }

/* ---------- treasury ---------- */
.treasury-grid {
  max-width: 1280px; margin: 0 auto 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.card.big { padding: 28px 24px; min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; }
.card.big.highlight { background: var(--yellow); }
.card-label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: #444; text-transform: uppercase; }
.card-num {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 14px 0 8px;
}
.card-sub { font-size: 13px; color: #555; font-weight: 600; }
.card-sub .muted { color: #888; }

.progress-wrap { max-width: 1280px; margin: 0 auto 28px; }
.progress-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px; color: #ccc; margin-bottom: 10px;
}
.progress-meta strong { color: #fff; }
.progress {
  height: 18px; background: #1a1a1a; border: 1px solid #2a2a2a; overflow: hidden;
}
.progress-bar {
  height: 100%; background: var(--yellow);
  transition: width 600ms ease;
  background-image: repeating-linear-gradient(
    45deg, rgba(0,0,0,0.08) 0 8px, transparent 8px 16px
  );
}
.progress-foot { font-size: 12px; color: var(--muted); margin-top: 8px; }

.wallet-row {
  max-width: 1280px; margin: 24px auto 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: #0c0c0c; border: 1px solid #1f1f1f;
}
.wallet-label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.wallet-row code {
  font-size: 13px; color: var(--yellow);
  word-break: break-all;
  flex: 1; min-width: 200px;
}

/* ---------- how ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.steps li {
  background: #0c0c0c;
  padding: 28px 24px;
  border: 1px solid #1f1f1f;
  border-top: 4px solid var(--yellow);
  min-height: 220px;
}
.step-num {
  font-size: 14px; font-weight: 900; color: var(--yellow);
  letter-spacing: 0.1em; margin-bottom: 14px;
}
.steps h3 {
  font-size: 18px; font-weight: 900; margin: 0 0 10px;
  letter-spacing: -0.01em; line-height: 1.15;
}
.steps p { color: #b0b0b0; font-size: 14px; margin: 0; }

/* ---------- pledges ---------- */
.pledge-list {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.pledge-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px; align-items: center;
  background: #0c0c0c; border: 1px solid #1f1f1f;
  padding: 18px 22px;
}
.pledge-item .date { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pledge-item .label { font-weight: 800; font-size: 16px; }
.pledge-item .amount { font-weight: 900; font-size: 22px; color: var(--yellow); }
.pledge-item .links { display: flex; gap: 10px; }
.pledge-item .links a { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.pledge-empty {
  background: #0c0c0c; border: 1px dashed #2a2a2a;
  padding: 28px; text-align: center; color: var(--muted);
}

/* ---------- faq ---------- */
.faq-grid {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 8px;
}
details {
  background: #0c0c0c; border: 1px solid #1f1f1f;
  padding: 18px 22px;
}
details[open] { border-color: var(--yellow); }
summary {
  cursor: pointer; font-weight: 800; font-size: 16px; letter-spacing: -0.01em;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; color: var(--yellow); font-size: 22px; font-weight: 900;
  margin-left: 16px;
}
details[open] summary::after { content: "−"; }
details p { color: #b8b8b8; margin: 14px 0 0; font-size: 15px; }

/* ---------- footer ---------- */
.footer { background: #050505; padding: 48px 28px 28px; border: none; }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start;
}
.brand-foot .brand-mark { background: var(--yellow); color: #000; }
.brand-foot { color: #fff; font-size: 22px; }
.footer-tag { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-disclaimer {
  max-width: 1280px; margin: 32px auto 0;
  color: #6a6a6a; font-size: 11px; line-height: 1.6;
  border-top: 1px solid #1a1a1a; padding-top: 18px;
}

/* ---------- ticker ---------- */
.ticker {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--yellow); color: #000;
  border-top: 4px solid #000;
  overflow: hidden; height: 44px;
  z-index: 40;
}
.ticker-track {
  display: inline-flex; gap: 28px;
  white-space: nowrap;
  padding: 12px 0;
  font-weight: 900; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  animation: marquee 50s linear infinite;
}
.ticker-track span { display: inline-block; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .treasury-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .nav { padding: 12px 16px; }
  section { padding: 56px 18px; }
  .hero { padding: 40px 18px 32px; }
  .hero-right { grid-template-columns: 1fr 1fr; }
  .treasury-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pledge-item { grid-template-columns: 1fr; gap: 8px; }
  .pledge-item .amount { font-size: 28px; }
}
