:root {
  --bg: #110e08;
  --bg-raised: #1c1a16;
  --bg-soft: #181510;
  --ink: #ffffff;
  --muted: #bfbfbf;
  --soft: #d9d9d9;
  --border: #322f2f;
  --neon: #ccff00;
  --neon-hover: #b8e600;
  --on-neon: #110e08;
  --radius: 16px;
  --radius-pill: 999px;
  --font: "DM Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav,
main,
.footer,
.mobile-menu {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 1.5rem;
  backdrop-filter: blur(16px);
  background: rgba(17, 14, 8, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  background: #f4f2ec;
}

.nav-name {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-ticker {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--on-neon);
  background: var(--neon);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
}

.nav-links {
  display: none;
  gap: 1.5rem;
  margin-left: auto;
  color: var(--soft);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--neon);
}

.nav-actions {
  display: none;
  gap: 0.6rem;
  margin-left: auto;
}

.nav-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.15rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--neon);
  color: var(--on-neon);
}

.btn-primary:hover {
  background: var(--neon-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--soft);
  border: 1px solid var(--border);
}

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

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--neon);
  color: var(--neon);
}

.btn-lg {
  padding: 0.9rem 1.45rem;
  font-size: 1rem;
}

.btn-copy {
  background: var(--bg-raised);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-copy.copied {
  background: var(--neon);
  color: var(--on-neon);
  border-color: var(--neon);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  display: grid;
  gap: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--neon);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero h1 .serif {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
}

.hero-sub {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--soft);
  font-weight: 500;
  max-width: 18ch;
}

.lede {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.ca-bar {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ca-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  width: 100%;
}

.ca-value {
  color: var(--neon);
  font-size: 0.95rem;
  word-break: break-all;
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.banner-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f4f2ec;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.token-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.token-chip img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #f4f2ec;
}

.token-chip strong {
  display: block;
  line-height: 1.2;
}

.token-chip span {
  color: var(--muted);
  font-size: 0.85rem;
}

.chip-badge {
  margin-left: auto !important;
  background: var(--neon);
  color: var(--on-neon);
  font-weight: 700;
  font-size: 0.75rem !important;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
}

.stats {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.stat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-weight: 600;
  font-size: 1.05rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(28, 26, 22, 0.65), transparent);
}

.section-head {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.about-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.4rem;
}

.card-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--neon);
  color: var(--on-neon);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.card p {
  margin: 0;
  color: var(--muted);
}

.quote {
  margin: 2rem 0 0;
  padding: 1.5rem;
  border-left: 3px solid var(--neon);
  background: rgba(204, 255, 0, 0.05);
  border-radius: 0 16px 16px 0;
}

.quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  line-height: 1.35;
}

.quote cite {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--neon);
  color: var(--on-neon);
  font-weight: 700;
}

.step h3 {
  margin: 0.15rem 0 0.35rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.buy-panel {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 20px;
  background: #000;
  border: 1px solid var(--border);
}

.buy-panel h3 {
  margin: 0 0 0.35rem;
}

.buy-panel p {
  margin: 0;
  color: var(--muted);
}

.buy-panel code {
  color: var(--neon);
}

.join-panel {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(204, 255, 0, 0.16), transparent 45%),
    var(--bg-raised);
  border: 1px solid var(--border);
}

.join-copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.05;
}

.join-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 34rem;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.join-visual {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: #f4f2ec;
  color: #110e08;
  min-height: 220px;
}

.join-visual img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.join-visual p {
  margin: 0;
  font-weight: 600;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: #f4f2ec;
}

.footer-brand strong {
  display: block;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--soft);
}

.footer-links a:hover {
  color: var(--neon);
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .nav-toggle,
  .mobile-menu,
  .mobile-menu.open {
    display: none !important;
  }

  .nav-actions {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-top: 4.5rem;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .buy-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .join-panel {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
  }

  .footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-note {
    grid-column: 1 / -1;
  }

  .ca-label {
    width: auto;
  }
}
