:root {
  --green: #ccff00;
  --green-press: #b8e600;
  --green-deep: #9fcc00;
  --green-dim: rgba(204, 255, 0, 0.12);
  --red: #ff5000;
  --canvas: #0c0b08;
  --elevated: #16140f;
  --elevated-2: #1e1a10;
  --ink: #f5f5f0;
  --ink-soft: #c4c2b8;
  --muted: #8a877c;
  --line: #2c291f;
  --black: #1e1a10;
  --nav-h: 72px;
  --radius: 16px;
  --font: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  color-scheme: dark;
  background: var(--canvas);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 85% -8%, rgba(204, 255, 0, 0.18), transparent 58%),
    radial-gradient(700px 360px at 0% 18%, rgba(204, 255, 0, 0.07), transparent 50%),
    var(--canvas);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
.btn {
  font-family: inherit;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.toast {
  position: fixed;
  top: 88px;
  left: 50%;
  z-index: 90;
  translate: -50% -12px;
  opacity: 0;
  pointer-events: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  translate: -50% 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--canvas) 84%, transparent);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 18px;
}

.brand-face {
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: 4px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
}

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

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--elevated);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--elevated-2);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease, color 0.15s ease;
}

.btn:hover {
  background: #2a261c;
}

.btn:active {
  transform: scale(0.98);
}

.btn-green,
.btn-pink {
  background: var(--green);
  color: var(--black);
}

.btn-green:hover,
.btn-pink:hover {
  background: var(--green-press);
}

.btn-ink {
  background: #fff;
  color: var(--black);
}

.btn-ink:hover {
  background: #e8e8e8;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-ghost:hover {
  background: var(--elevated);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
  min-height: 52px;
}

.btn-tiny {
  padding: 6px 12px;
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 64px 7vw 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--elevated);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.65);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
}

.hero h1 {
  margin: 0;
  font-size: clamp(72px, 11vw, 140px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.hero h1 span {
  display: block;
  color: var(--green);
}

.lede {
  max-width: 38ch;
  margin: 22px 0 26px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line);
  background: var(--elevated);
  border-radius: 14px;
  margin-bottom: 22px;
}

.ca-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

#caText {
  font-family: var(--font-mono);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(52ch, 100%);
  color: var(--green);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.stat-strip li {
  border: 1px solid var(--line);
  background: var(--elevated);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}

.stat-strip strong {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.stat-strip span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.polaroid {
  position: relative;
  margin: 0;
  padding: 10px;
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(204, 255, 0, 0.12);
}

.polaroid-shot {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.polaroid-shot img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  object-position: 50% 28%;
}

.polaroid figcaption {
  padding: 16px 10px 10px;
}

.tape {
  display: none;
}

.hand {
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.caption-meta {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sticker {
  position: absolute;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--green);
  color: var(--black);
}

.sticker-1 {
  top: 14px;
  left: 12px;
}

.sticker-2 {
  bottom: 14px;
  right: 12px;
  background: rgba(14, 14, 14, 0.82);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.marquee {
  border-block: 1px solid var(--line);
  background: #100f0b;
  color: var(--ink-soft);
  overflow: hidden;
  margin-top: 36px;
}

.marquee-track {
  display: flex;
  width: max-content;
  padding: 14px 0;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 13px;
  animation: ticker 28s linear infinite;
}

.marquee-track span {
  padding: 0 28px;
}

.marquee-track span::after {
  content: "●";
  color: var(--green);
  margin-left: 28px;
}

@keyframes ticker {
  to {
    translate: -50%;
  }
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 7vw;
}

.kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 16ch;
}

.section-lead {
  margin: 0 0 36px;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 18px;
}

.lore-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.lore-text p {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--ink-soft);
}

.lore-text strong {
  color: var(--ink);
}

.stamp {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.zine-card {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.zine-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.zine-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zine-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.zine-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.zine-card span {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 20px;
  min-height: 220px;
}

.card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
}

.card h3 {
  margin: 12px 0 10px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.rot-1,
.rot-2,
.rot-3,
.rot-4 {
  rotate: 0deg;
}

.phases {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.phases li {
  padding: 0 22px 8px;
  border-left: 1px solid var(--line);
}

.phases span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.phases h3 {
  margin: 8px 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.phases p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

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

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-n {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  background: var(--green);
  color: var(--black);
  border-radius: 14px;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.steps p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.step-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.network-spec {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-dim);
}

.network-spec h3 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.network-spec dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
}

.network-spec div {
  display: grid;
  gap: 2px;
}

.network-spec dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.network-spec dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.network-spec a {
  color: var(--green);
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion details {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--ink-soft);
}

.accordion details p a {
  color: var(--green);
}

.accordion details[open] summary {
  color: var(--green);
}

.footer {
  border-top: 1px solid var(--line);
  background: #080705;
  color: var(--ink);
  padding: 48px 7vw 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.footer-brand strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0;
}

.footer-links a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.legal,
.copy {
  max-width: 72ch;
  color: var(--muted);
  font-size: 13px;
}

.copy {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px 28px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav .btn-ghost {
    display: none;
  }

  .hero,
  .lore-grid,
  .cards,
  .phases,
  .network-spec dl {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 32px;
    gap: 32px;
  }

  .polaroid {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }

  .sticker {
    font-size: 10px;
    padding: 6px 8px;
  }

  .hero h1 {
    font-size: 84px;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  .phases li {
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
