:root {
  --bg: #0e0f18;
  --surface: #161822;
  --raised: #1e2130;
  --border: #2a2d3d;
  --gold: #c9a24a;
  --gold-light: #e2c56a;
  --gold-dim: #8a7035;
  --green: #5fe3a8;
  --green-soft: #9af0c9;
  --green-dim: #2a8f68;
  --text: #ede8dc;
  --muted: #9a9588;
  --faint: #6a665c;
  --banner-h: 4.25rem;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gold-light);
  text-wrap: balance;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-soft); }

/* Fixed header */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--banner-h);
  background: rgba(14, 15, 24, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.banner-inner {
  max-width: 68rem;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--gold-dim);
}

.brand:hover { color: var(--gold); }

.banner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1rem;
}

.banner nav a {
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}

.banner nav a:hover,
.banner nav a.is-on {
  color: var(--gold-light);
}

/* Page layout */
.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: calc(var(--banner-h) + 2.5rem) 1.25rem 4rem;
}

.page.wide {
  max-width: 68rem;
}

.kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}

.hero {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1fr 1.2fr;
  }
}

.hero-coin {
  justify-self: center;
  width: min(220px, 55vw);
  height: auto;
  border-radius: 50%;
  box-shadow:
    0 0 0 3px var(--gold-dim),
    0 0 40px rgba(95, 227, 168, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  margin: 0.4rem 0 0.75rem;
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 1.25rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #1a1408;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1408;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

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

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-dim));
  color: #0a1a14;
}

.btn-green:hover {
  filter: brightness(1.08);
  color: #0a1a14;
}

/* Cards */
.grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.25rem 1.35rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card.gold-edge {
  border-color: rgba(201, 162, 74, 0.35);
}

.card.green-edge {
  border-color: rgba(95, 227, 168, 0.3);
}

.section {
  margin-top: 2.75rem;
}

.section h2 {
  font-size: 1.65rem;
  margin: 0 0 0.85rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--text);
}

.prose p.muted { color: var(--muted); }

.token-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.token-table th,
.token-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.token-table th {
  color: var(--muted);
  font-weight: 500;
  width: 38%;
}

.token-table td {
  color: var(--text);
}

.note {
  font-size: 0.85rem;
  color: var(--faint);
  margin-top: 0.75rem;
}

.links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.foot {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--faint);
}

.foot a { color: var(--muted); }
.foot a:hover { color: var(--green); }

@media (max-width: 640px) {
  .banner nav a { font-size: 0.8rem; }
}
