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

:root {
  --lime: #d4ff00;
  --lime-hot: #e8ff4d;
  --lime-deep: #c5e13f;
  --lime-glow: rgba(212, 255, 0, 0.45);
  --ink: #050508;
  --ink-raised: #0c0c12;
  --ink-soft: #16161f;
  --ink-card: #101018;
  --muted: #7a7a8a;
  --paper: #0a0a0f;
  --white: #f4f4f8;
  --font-display: "Syne", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --border: 1px solid rgba(212, 255, 0, 0.22);
  --glow-sm: 0 0 20px rgba(212, 255, 0, 0.15);
  --glow-md: 0 0 40px rgba(212, 255, 0, 0.22), 0 0 80px rgba(212, 255, 0, 0.08);
  --glow-lg: 0 0 60px rgba(212, 255, 0, 0.35), 0 0 120px rgba(197, 225, 63, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mono);
  background: var(--ink);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Ambient layers ── */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float-orb 18s ease-in-out infinite alternate;
}

.ambient-orb--a {
  width: 42vw;
  height: 42vw;
  top: -8%;
  left: -10%;
  background: radial-gradient(circle, rgba(212, 255, 0, 0.18) 0%, transparent 70%);
}

.ambient-orb--b {
  width: 36vw;
  height: 36vw;
  bottom: 10%;
  right: -8%;
  background: radial-gradient(circle, rgba(197, 225, 63, 0.12) 0%, transparent 70%);
  animation-delay: -6s;
  animation-duration: 22s;
}

.ambient-svg {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
}

.ambient-svg--1 {
  width: 480px;
  top: 18%;
  right: 8%;
  animation: float-orb 24s ease-in-out infinite alternate;
}

.ambient-svg--2 {
  width: 320px;
  bottom: 22%;
  left: 4%;
  animation: float-orb 20s ease-in-out infinite alternate-reverse;
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(212, 255, 0, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 255, 0, 0.6) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 100%);
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.4) 2px,
    rgba(0, 0, 0, 0.4) 4px
  );
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 255, 0, 0.07) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  will-change: left, top;
}

body.has-cursor-glow .cursor-glow {
  opacity: 1;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.container.narrow {
  width: min(720px, 92vw);
}

.accent {
  color: var(--lime);
  text-shadow: var(--glow-sm);
}

.center {
  text-align: center;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 5, 8, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: var(--border);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.site-header.scrolled {
  background: rgba(5, 5, 8, 0.92);
  border-color: rgba(212, 255, 0, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), var(--glow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1140px, 92vw);
  margin: 0 auto;
  height: 100%;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}

.nav-mark-wrap {
  position: relative;
  width: 40px;
  height: 40px;
}

.nav-mark {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid rgba(212, 255, 0, 0.4);
  border-radius: 2px;
}

.nav-mark-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lime-glow) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--lime);
  text-shadow: var(--glow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
  color: var(--lime);
  text-shadow: var(--glow-sm);
}

.nav-socials {
  display: flex;
  gap: 0.4rem;
}

.nav-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 255, 0, 0.3);
  background: rgba(212, 255, 0, 0.04);
  color: var(--lime) !important;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-social:hover {
  background: rgba(212, 255, 0, 0.12) !important;
  border-color: var(--lime) !important;
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.55rem 1.1rem !important;
  background: var(--lime) !important;
  color: var(--ink) !important;
  font-weight: 600 !important;
  border: 1px solid var(--lime) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--glow-sm);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  background: var(--lime-hot) !important;
  box-shadow: var(--glow-md);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(212, 255, 0, 0.35);
  cursor: pointer;
  padding: 8px;
}

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

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
  background: var(--ink);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: hero-drift 40s var(--ease-out) infinite alternate;
  will-change: transform;
  filter: saturate(1.1) contrast(1.05);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.55) 42%, rgba(5, 5, 8, 0.25) 68%, rgba(5, 5, 8, 0.75) 100%),
    linear-gradient(to top, rgba(5, 5, 8, 0.95) 0%, transparent 45%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.hero-content {
  animation: rise-in 1s var(--ease-out) both;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(212, 255, 0, 0.65);
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-brand {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 12vw, 7.5rem);
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--lime);
  margin-bottom: 0.65rem;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8), var(--glow-lg);
  animation: glitch-in 1.2s var(--ease-out) 0.15s both;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-title .tag {
  color: rgba(212, 255, 0, 0.55);
  font-weight: 600;
}

.hero-title .accent {
  color: var(--lime);
  text-shadow: var(--glow-sm);
}

.hero-lede {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.62);
  max-width: 30rem;
  margin-bottom: 1.85rem;
  line-height: 1.6;
}

.hero-lede strong {
  color: var(--lime);
  font-weight: 600;
}

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

/* ── Hero terminal ── */
.hero-terminal {
  background: rgba(8, 8, 12, 0.82);
  border: 1px solid rgba(212, 255, 0, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: var(--glow-md), inset 0 1px 0 rgba(212, 255, 0, 0.08);
  animation: rise-in 1s var(--ease-out) 0.2s both;
  overflow: hidden;
}

.terminal-chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(212, 255, 0, 0.12);
  background: rgba(212, 255, 0, 0.03);
}

.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(212, 255, 0, 0.25);
}

.terminal-dot:first-child { background: #ff5f57; opacity: 0.85; }
.terminal-dot:nth-child(2) { background: #febc2e; opacity: 0.85; }
.terminal-dot:nth-child(3) { background: #28c840; opacity: 0.85; }

.terminal-title {
  margin-left: auto;
  font-size: 0.68rem;
  color: rgba(212, 255, 0, 0.45);
  letter-spacing: 0.06em;
}

.terminal-body {
  padding: 1.1rem 1rem 1.25rem;
  font-size: clamp(0.62rem, 1.4vw, 0.78rem);
  line-height: 1.7;
  overflow-x: auto;
  color: var(--lime-deep);
}

.terminal-body code {
  font-family: var(--font-mono);
}

.terminal-body .ln {
  display: inline-block;
  width: 1.6em;
  color: rgba(255, 255, 255, 0.18);
  user-select: none;
}

.terminal-body .kw { color: rgba(255, 255, 255, 0.45); }
.terminal-body .ty { color: var(--lime); }
.terminal-body .fn { color: var(--lime-hot); text-shadow: 0 0 12px rgba(212, 255, 0, 0.35); }
.terminal-body .cm { color: rgba(255, 255, 255, 0.28); font-style: italic; }

.terminal-cursor {
  display: inline-block;
  width: 0.5em;
  height: 1.1em;
  margin-left: 2px;
  background: var(--lime);
  vertical-align: text-bottom;
  animation: blink 1.1s step-end infinite;
  box-shadow: 0 0 8px var(--lime);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(212, 255, 0, 0.4);
  animation: bob 2.4s ease-in-out infinite;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  letter-spacing: 0.03em;
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

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

.btn-glow:hover {
  box-shadow: var(--glow-md);
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
  box-shadow: var(--glow-sm);
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(212, 255, 0, 0.35);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(212, 255, 0, 0.06);
}

.btn-ink {
  background: var(--ink-soft);
  color: var(--lime);
  border-color: rgba(212, 255, 0, 0.4);
}

.btn-ink:hover {
  background: var(--ink-raised);
  border-color: var(--lime);
}

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

.btn-outline-ink:hover {
  background: var(--ink);
  color: var(--lime);
}

.buy .btn-outline-ink {
  color: var(--ink);
  border-color: var(--ink);
}

.buy .btn-outline-ink:hover {
  background: var(--ink);
  color: var(--lime);
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 0.9rem;
}

.btn-copy {
  flex-shrink: 0;
  padding: 0.7rem 1.15rem;
  font-size: 0.82rem;
}

.btn-copy.copied {
  background: var(--lime-deep);
  color: var(--ink);
}

/* ── Ticker ── */
.ticker {
  background: linear-gradient(90deg, var(--ink-raised), var(--ink-soft), var(--ink-raised));
  color: var(--lime);
  padding: 0.8rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(212, 255, 0, 0.2);
  border-bottom: 1px solid rgba(212, 255, 0, 0.2);
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 30px rgba(212, 255, 0, 0.04);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker 36s linear infinite;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-shadow: 0 0 16px rgba(212, 255, 0, 0.25);
}

.ticker-sep {
  opacity: 0.3;
}

/* ── Sections ── */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(212, 255, 0, 0.5);
  margin-bottom: 1rem;
}

.eyebrow.center {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.section-text {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.96rem;
  margin-bottom: 1rem;
  max-width: 34rem;
  line-height: 1.7;
}

.section-text strong {
  color: var(--lime);
  font-weight: 600;
}

.section-text em {
  font-style: normal;
  color: var(--ink);
  background: var(--lime);
  padding: 0.05em 0.35em;
}

.section-sub {
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.75rem;
  font-size: 0.94rem;
}

.mono-note {
  margin-top: 1.5rem;
  color: var(--lime) !important;
  font-size: 0.88rem !important;
}

.cursor-line {
  display: inline-flex;
  align-items: center;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 2px;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: blink 1.1s step-end infinite;
}

/* ── About ── */
.about {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-raised) 100%);
  border-top: 1px solid rgba(212, 255, 0, 0.08);
}

.about .section-title .accent {
  color: var(--lime);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-portrait {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
}

.portrait-bracket {
  position: absolute;
  width: 42px;
  height: 42px;
  opacity: 0.7;
  z-index: 2;
}

.portrait-bracket--tl { top: -12px; left: -12px; }
.portrait-bracket--br {
  bottom: -12px;
  right: -12px;
  transform: rotate(180deg);
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 255, 0, 0.35);
  box-shadow: var(--glow-md);
  background: #000;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, var(--lime-glow) 0%, transparent 55%);
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite;
}

.portrait-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.portrait-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(125deg, transparent 40%, rgba(212, 255, 0, 0.12) 50%, transparent 60%);
  animation: shine-sweep 5s ease-in-out infinite;
  pointer-events: none;
}

.stat-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(212, 255, 0, 0.18);
  background: rgba(212, 255, 0, 0.03);
  min-width: 100px;
}

.stat-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--lime);
  line-height: 1;
  text-shadow: var(--glow-sm);
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* ── ASCII band ── */
.ascii-band {
  background: linear-gradient(90deg, var(--lime-deep), var(--lime), var(--lime-deep));
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 0.95rem 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 40px rgba(212, 255, 0, 0.15);
}

.ascii-band pre {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  width: max-content;
  animation: band-scroll 40s linear infinite;
  letter-spacing: 0.08em;
}

/* ── How it works ── */
.how-it-works {
  background: var(--ink-raised);
  border-top: 1px solid rgba(212, 255, 0, 0.08);
}

.how-it-works .section-sub {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

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

.step-fn {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  background: rgba(212, 255, 0, 0.08);
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(212, 255, 0, 0.2);
}

.how-it-works .step {
  border: 1px solid rgba(212, 255, 0, 0.2);
  background: rgba(212, 255, 0, 0.03);
}

.how-it-works .step:hover {
  background: rgba(212, 255, 0, 0.06);
  border-color: rgba(212, 255, 0, 0.35);
  box-shadow: var(--glow-sm);
}

.how-it-works .step h3 {
  color: var(--white);
}

.how-it-works .step p {
  color: rgba(255, 255, 255, 0.55);
}

.how-it-works .step-num {
  color: var(--lime);
  opacity: 0.45;
}

.mechanic-box {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(212, 255, 0, 0.22);
  background: rgba(8, 8, 12, 0.6);
  box-shadow: inset 0 0 40px rgba(212, 255, 0, 0.04);
}

.mechanic-code {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.6vw, 0.85rem);
  line-height: 1.75;
  color: var(--lime-deep);
  overflow-x: auto;
}

.registry-cta {
  text-align: center;
  margin-top: 2.25rem;
}

/* ── Lore ── */
.lore {
  background: var(--ink-soft);
  border-top: 1px solid rgba(212, 255, 0, 0.08);
  border-bottom: 1px solid rgba(212, 255, 0, 0.08);
}

.lore-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 0.5rem;
}

.lore-item {
  padding: 0.9rem 1rem;
  border-left: 2px solid rgba(212, 255, 0, 0.35);
  background: rgba(212, 255, 0, 0.03);
}

.lore-item dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--lime);
  margin-bottom: 0.25rem;
}

.lore-item dd {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}

.lore-item code {
  font-size: 0.78rem;
  color: rgba(212, 255, 0, 0.7);
}

/* ── Registry layout ── */
.registry-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.registry-copy .section-text {
  max-width: 28rem;
}

.registry-banner-card {
  position: relative;
  border: 1px solid rgba(212, 255, 0, 0.3);
  overflow: hidden;
  box-shadow: var(--glow-md);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.registry-banner-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--glow-lg);
}

.registry-banner-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.registry-banner-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.92), transparent);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.registry-tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--lime);
  text-shadow: var(--glow-sm);
  letter-spacing: -0.02em;
}

.registry-sub {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Contract ── */
.contract {
  background: var(--ink);
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  background: var(--ink-card);
  border: 1px solid rgba(212, 255, 0, 0.28);
  box-shadow: var(--glow-sm), inset 0 0 30px rgba(212, 255, 0, 0.03);
}

.ca-address {
  flex: 1;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 2.2vw, 0.82rem);
  color: var(--lime);
  word-break: break-all;
  line-height: 1.5;
  text-shadow: 0 0 12px rgba(212, 255, 0, 0.2);
}

.copy-toast {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--lime);
  min-height: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-toast.show {
  opacity: 1;
}

/* ── Chart ── */
.chart-section {
  background: linear-gradient(180deg, var(--ink-raised) 0%, var(--ink-soft) 100%);
}

.chart-section .section-title {
  color: var(--white);
}

.chart-frame {
  position: relative;
  border: 1px solid rgba(212, 255, 0, 0.35);
  background: #08080e;
  min-height: 480px;
  overflow: hidden;
}

.chart-frame-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(212, 255, 0, 0.06);
  pointer-events: none;
  z-index: 1;
}

.dexscreener-embed {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 540px;
  border: none;
  display: block;
}

.chart-link-wrap {
  text-align: center;
  margin-top: 1.25rem;
}

.text-link {
  color: var(--lime);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  text-shadow: var(--glow-sm);
  transition: opacity 0.2s;
}

.text-link:hover {
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Buy ── */
.buy {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 255, 0, 0.14) 0%, transparent 55%),
    linear-gradient(165deg, var(--lime-deep) 0%, var(--lime) 45%, #b8d42e 100%);
  color: var(--ink);
}

.buy .eyebrow {
  color: rgba(5, 5, 8, 0.45);
}

.buy .section-title {
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.25rem 0 2.75rem;
}

.step {
  border: 1px solid rgba(5, 5, 8, 0.25);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 1.7rem 1.35rem;
  transition: transform 0.25s var(--ease-out), background 0.25s, box-shadow 0.25s;
}

.step:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(5, 5, 8, 0.12);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.65rem;
  opacity: 0.3;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.step p {
  font-size: 0.86rem;
  color: rgba(5, 5, 8, 0.62);
  line-height: 1.55;
}

.buy-cta {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.45);
  padding: 3.5rem 0 2.25rem;
  border-top: 1px solid rgba(212, 255, 0, 0.25);
  position: relative;
  z-index: 1;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: var(--lime);
  box-shadow: var(--glow-md);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  text-align: center;
}

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

.footer-logo-wrap {
  position: relative;
}

.footer-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lime-glow) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

.footer-logo {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid rgba(212, 255, 0, 0.4);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--lime);
  line-height: 1;
  text-shadow: var(--glow-sm);
}

.footer-brand span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-disclaimer {
  font-size: 0.72rem;
  max-width: 520px;
  line-height: 1.65;
}

.footer-disclaimer .text-link {
  font-size: inherit;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Keyframes ── */
@keyframes hero-drift {
  from { transform: scale(1.03) translate(0, 0); }
  to { transform: scale(1.08) translate(-1.5%, -1%); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes band-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes float-orb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(3%, 4%) scale(1.06); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@keyframes shine-sweep {
  0%, 100% { transform: translateX(-120%); }
  45%, 55% { transform: translateX(120%); }
}

@keyframes glitch-in {
  0% { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  60% { opacity: 1; transform: translateY(0); filter: blur(0); }
  62% { transform: translateX(-2px); }
  64% { transform: translateX(2px); }
  66% { transform: translateX(0); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ── */
@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-terminal {
    max-width: 520px;
  }

  .about-layout,
  .registry-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .registry-banner-card {
    order: -1;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(5, 5, 8, 0.97);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(212, 255, 0, 0.25);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
    backdrop-filter: blur(16px);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero {
    padding-bottom: 3.5rem;
    align-items: flex-end;
  }

  .hero-scroll-hint {
    display: none;
  }

  .ca-box {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-copy {
    justify-content: center;
  }

  .dexscreener-embed {
    height: 440px;
  }

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

  body.has-cursor-glow .cursor-glow {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-brand {
    font-size: 3rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .stat-row {
    gap: 0.75rem;
  }

  .stat {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner,
  .ticker-track,
  .ascii-band pre,
  .cursor,
  .terminal-cursor,
  .ambient-orb,
  .ambient-svg,
  .portrait-shine,
  .nav-mark-glow,
  .footer-logo-wrap::after,
  .pulse-dot,
  .hero-scroll-hint {
    animation: none;
  }

  .cursor,
  .terminal-cursor {
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}
