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

:root {
  --lime: #d4ff00;
  --lime-hot: #e6ff4d;
  --lime-deep: #b8e600;
  --ink: #14141c;
  --ink-soft: #2a2a36;
  --muted: #5c5c6a;
  --paper: #f7f8f2;
  --white: #ffffff;
  --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: 68px;
  --border: 2px solid var(--ink);
}

html {
  scroll-behavior: smooth;
}

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

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(var(--ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 48px 48px;
}

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

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

.accent {
  color: var(--lime-deep);
  -webkit-text-stroke: 0;
}

.ink {
  color: var(--ink);
}

.center {
  text-align: center;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(212, 255, 0, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: var(--border);
  transition: background 0.25s, box-shadow 0.25s;
}

.site-header.scrolled {
  background: rgba(212, 255, 0, 0.97);
  box-shadow: 0 8px 0 rgba(20, 20, 28, 0.06);
}

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

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

.nav-mark {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

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

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.55;
}

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

.nav-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink) !important;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.nav-social:hover {
  background: var(--ink) !important;
  color: var(--lime) !important;
  opacity: 1 !important;
  transform: translateY(-2px);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.5rem 1rem !important;
  background: var(--ink);
  color: var(--lime) !important;
  font-weight: 600 !important;
  border: 2px solid var(--ink);
  transition: background 0.2s, color 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--white) !important;
  color: var(--ink) !important;
  opacity: 1 !important;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 2px solid var(--ink);
  cursor: pointer;
  padding: 8px;
}

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

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

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

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

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(20, 20, 28, 0.88) 0%,
      rgba(20, 20, 28, 0.35) 38%,
      rgba(20, 20, 28, 0.08) 62%,
      transparent 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  margin: 0 auto;
  max-width: 640px;
  margin-left: max(4vw, calc((100vw - 1100px) / 2));
  animation: rise-in 0.9s var(--ease-out) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.25rem, 11vw, 6.5rem);
  letter-spacing: -0.03em;
  line-height: 0.88;
  color: var(--lime);
  margin-bottom: 0.55rem;
  text-shadow: 3px 3px 0 var(--ink);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.hero-lede {
  font-size: clamp(0.9rem, 1.8vw, 1.02rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
  margin-bottom: 1.75rem;
  font-weight: 400;
  line-height: 1.55;
}

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

@keyframes hero-drift {
  from { transform: scale(1.02) translate(0, 0); }
  to { transform: scale(1.07) translate(-1.2%, -0.8%); }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  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%); }
}

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

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

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

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

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

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

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

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

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

.btn-lg {
  padding: 1rem 1.85rem;
  font-size: 0.92rem;
}

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

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

/* ── Ticker ── */
.ticker {
  background: var(--ink);
  color: var(--lime);
  padding: 0.75rem 0;
  overflow: hidden;
  border-top: var(--border);
  border-bottom: var(--border);
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker 36s linear infinite;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.ticker-sep {
  opacity: 0.35;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.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.4rem, 6vw, 3.75rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.section-text {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
  max-width: 34rem;
}

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

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

.section-sub {
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.mono-note {
  margin-top: 1.5rem;
  color: var(--ink) !important;
  font-size: 0.9rem !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-deep);
  animation: blink 1.1s step-end infinite;
}

/* ── About ── */
.about {
  background: var(--ink);
  color: var(--white);
}

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

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

.about .eyebrow {
  color: rgba(212, 255, 0, 0.55);
}

.about .section-text {
  color: rgba(255, 255, 255, 0.62);
}

.about .section-text strong {
  color: var(--lime);
}

.about .section-text em {
  color: var(--ink);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.about-portrait {
  position: relative;
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  border: 2px solid var(--lime);
  z-index: 0;
}

.about-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
}

/* ── ASCII band ── */
.ascii-band {
  background: var(--lime);
  border-top: var(--border);
  border-bottom: var(--border);
  overflow: hidden;
  padding: 0.9rem 0;
  position: relative;
  z-index: 1;
}

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

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

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: var(--border);
}

.ca-address {
  flex: 1;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 2.2vw, 0.82rem);
  color: var(--ink);
  word-break: break-all;
  line-height: 1.5;
}

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

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

/* ── Chart ── */
.chart-section {
  background: var(--ink-soft);
  color: var(--white);
}

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

.chart-section .eyebrow {
  color: rgba(212, 255, 0, 0.5);
}

.chart-section .section-sub {
  color: rgba(255, 255, 255, 0.5);
}

.chart-frame {
  border: 2px solid var(--lime);
  background: #101018;
  min-height: 480px;
  overflow: hidden;
}

.dexscreener-embed {
  width: 100%;
  height: 540px;
  border: none;
  display: block;
}

.dexscreener-embed.hidden {
  display: none;
}

.chart-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

.chart-placeholder code {
  color: var(--lime);
  background: rgba(212, 255, 0, 0.1);
  padding: 0.1rem 0.4rem;
}

.chart-placeholder.hidden {
  display: none;
}

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

.text-link {
  color: var(--lime);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
}

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

/* ── Buy ── */
.buy {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.25) 0%, transparent 40%),
    linear-gradient(to bottom right, var(--lime) 0%, var(--lime-deep) 100%);
}

.buy .eyebrow {
  color: rgba(20, 20, 28, 0.5);
}

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

.step {
  border: 2px solid var(--ink);
  background: transparent;
  padding: 1.6rem 1.25rem;
  transition: transform 0.25s var(--ease-out), background 0.25s;
}

.step:hover {
  transform: translateY(-4px);
  background: rgba(20, 20, 28, 0.06);
}

.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.35;
}

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

.step p {
  font-size: 0.88rem;
  color: rgba(20, 20, 28, 0.65);
  line-height: 1.55;
}

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

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  padding: 3rem 0 2rem;
  border-top: 2px solid var(--lime);
  position: relative;
  z-index: 1;
}

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

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

.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 2px solid var(--lime);
}

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

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

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

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

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

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

  .about-portrait {
    max-width: 300px;
    margin: 0 auto;
  }

  .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: var(--lime);
    flex-direction: column;
    padding: 1.35rem;
    gap: 1rem;
    border-bottom: var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

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

  .hero {
    padding-bottom: 3rem;
  }

  .hero-veil {
    background:
      linear-gradient(
        to top,
        rgba(20, 20, 28, 0.92) 0%,
        rgba(20, 20, 28, 0.45) 42%,
        rgba(20, 20, 28, 0.12) 100%
      );
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-banner {
    object-position: 35% center;
  }

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

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

  .dexscreener-embed {
    height: 440px;
  }
}

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

  .hero-actions {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  .hero-banner,
  .ticker-track,
  .ascii-band pre,
  .cursor {
    animation: none;
  }

  .cursor {
    opacity: 1;
  }

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