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

:root {
  --green: #0d4b16;
  --green-deep: #082d10;
  --green-mid: #146b22;
  --green-bright: #1a8f2e;
  --green-mist: rgba(13, 75, 22, 0.08);
  --green-line: rgba(13, 75, 22, 0.18);
  --ink: #121412;
  --ink-soft: #1c241e;
  --muted: #5c6b5f;
  --paper: #f7f8f6;
  --white: #ffffff;
  --border: #e2e6e1;
  --font-display: "Sora", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Sans", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 70px;
  --radius: 6px;
}

html {
  scroll-behavior: smooth;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  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");
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

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

.accent {
  color: var(--green-bright);
}

.center {
  text-align: center;
}

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

.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(8, 45, 16, 0.08);
}

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

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

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s;
}

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

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

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

.nav-social:hover {
  border-color: var(--green);
  color: var(--green) !important;
  background: var(--green-mist);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.55rem 1.1rem !important;
  background: var(--green);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s !important;
}

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

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

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

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

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

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

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      rgba(8, 45, 16, 0.92) 0%,
      rgba(8, 45, 16, 0.72) 36%,
      rgba(8, 45, 16, 0.28) 64%,
      rgba(8, 45, 16, 0.45) 100%
    ),
    linear-gradient(to top, rgba(8, 45, 16, 0.88) 0%, transparent 48%);
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 24px rgba(8, 45, 16, 0.35);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
}

.hero-lede {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

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

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

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.88rem 1.55rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}

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

.btn-primary {
  background: var(--white);
  color: var(--green-deep);
}

.btn-primary:hover {
  background: #f0f5f1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

.buy .btn-primary {
  background: var(--green);
  color: var(--white);
}

.buy .btn-primary:hover {
  background: var(--green-mid);
  box-shadow: 0 10px 28px rgba(13, 75, 22, 0.28);
}

.buy .btn-ghost {
  color: var(--ink);
  border-color: rgba(18, 20, 18, 0.22);
}

.buy .btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-mist);
}

.contract .btn-primary {
  background: var(--green);
  color: var(--white);
}

.contract .btn-primary:hover {
  background: var(--green-mid);
}

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

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

.btn-copy.copied {
  background: var(--green-deep);
  color: var(--white);
}

/* ── Ticker ── */
.ticker {
  background: var(--green);
  color: var(--white);
  padding: 0.8rem 0;
  overflow: hidden;
  border-top: 1px solid var(--green-deep);
  border-bottom: 1px solid var(--green-deep);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker 34s linear infinite;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker-sep {
  opacity: 0.45;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  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-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

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

.section-text strong {
  color: var(--green);
  font-weight: 700;
}

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

/* ── About ── */
.about {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(13, 75, 22, 0.12), transparent 55%),
    var(--white);
}

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

.about-mark {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-mark::before {
  content: "";
  position: absolute;
  inset: 8% 6% -6% 10%;
  background: var(--green);
  z-index: 0;
  border-radius: 2px;
  transform: rotate(2.5deg);
  animation: mark-tilt 8s ease-in-out infinite alternate;
}

.about-mark img {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  display: block;
  object-fit: cover;
  aspect-ratio: 1;
  border-radius: 2px;
  box-shadow: 0 18px 48px rgba(8, 45, 16, 0.22);
}

@keyframes mark-tilt {
  from { transform: rotate(2.5deg) translateY(0); }
  to { transform: rotate(4deg) translateY(6px); }
}

.value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin-top: 2rem;
}

.value-row li {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
}

/* ── Contract ── */
.contract {
  background:
    linear-gradient(180deg, var(--paper) 0%, #eef2ee 100%);
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(8, 45, 16, 0.05);
}

.ca-address {
  flex: 1;
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 2.4vw, 0.88rem);
  font-weight: 500;
  color: var(--ink);
  word-break: break-all;
  line-height: 1.5;
}

.copy-toast {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  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(255, 255, 255, 0.5);
}

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

.chart-frame {
  border: 1px solid rgba(26, 143, 46, 0.45);
  background: #0e1510;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius);
}

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

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

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

.chart-placeholder code {
  color: #7ddea0;
  background: rgba(26, 143, 46, 0.15);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}

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

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

.text-link {
  color: #7ddea0;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

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

/* ── Buy ── */
.buy {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(26, 143, 46, 0.18), transparent 48%),
    radial-gradient(ellipse at 90% 100%, rgba(13, 75, 22, 0.12), transparent 42%),
    var(--paper);
}

.buy .eyebrow {
  color: var(--muted);
}

.buy .accent {
  color: var(--green);
}

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

.step {
  background: var(--white);
  color: var(--ink);
  padding: 1.85rem 1.4rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(8, 45, 16, 0.1);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.75rem;
}

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

.step p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

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

/* ── Footer ── */
.footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.55);
  padding: 3.25rem 0 2.25rem;
  border-top: 3px solid var(--green);
}

.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 {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.15;
}

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

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

/* ── 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);
}

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

  .about-mark img {
    width: min(100%, 280px);
  }

  .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(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.15rem;
    border-bottom: 1px solid 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 {
    align-items: flex-end;
    padding-bottom: 3.5rem;
  }

  .hero-veil {
    background:
      linear-gradient(
        to top,
        rgba(8, 45, 16, 0.94) 0%,
        rgba(8, 45, 16, 0.62) 42%,
        rgba(8, 45, 16, 0.35) 100%
      );
  }

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

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

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

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

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

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

  .hero-actions {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  .hero-banner,
  .ticker-track,
  .about-mark::before {
    animation: none;
  }

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