:root {
  --bg: #03110a;
  --bg-2: #061a10;
  --ink: #e8ffe9;
  --muted: #8fb89a;
  --gold: #f0b429;
  --gold-2: #ffd76a;
  --sun: #f4a03c;
  --green: #00c805;
  --green-2: #39ff8a;
  --green-3: #14f195;
  --line: rgba(57, 255, 138, 0.16);
  --glass: rgba(3, 22, 12, 0.74);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --glow: 0 0 28px rgba(0, 200, 5, 0.28);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: radial-gradient(1200px 700px at 80% -10%, rgba(0, 200, 5, 0.12), transparent 50%),
              radial-gradient(900px 500px at -10% 80%, rgba(20, 241, 149, 0.08), transparent 45%),
              var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code {
  font-family: var(--mono);
  font-size: 0.86em;
  word-break: break-all;
}
button { font-family: inherit; }

.ai-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(57, 255, 138, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 138, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: grid-shift 22s linear infinite;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  background: repeating-linear-gradient(
    to bottom,
    rgba(180, 255, 200, 0.35) 0 1px,
    transparent 1px 3px
  );
  animation: scan-drift 8s linear infinite;
}
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.04;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.orb {
  pointer-events: none;
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  z-index: 0;
}
.orb-a {
  top: -10vw;
  right: -8vw;
  background: #00c805;
  animation: orb-drift 16s ease-in-out infinite;
}
.orb-b {
  bottom: 8vh;
  left: -12vw;
  background: #14f195;
  opacity: 0.14;
  animation: orb-drift 22s ease-in-out infinite reverse;
}
.orb-c {
  top: 48vh;
  right: 8vw;
  width: 22vw;
  height: 22vw;
  background: #f0b429;
  opacity: 0.08;
  animation: orb-drift 18s ease-in-out infinite 1s;
}

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(3, 17, 10, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.08em; }
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(57, 255, 138, 0.4), 0 0 16px rgba(0, 200, 5, 0.35);
}
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 0.95rem; }
.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--green-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--green-2); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.menu-btn span { width: 16px; height: 1.5px; background: var(--ink); display: block; }

.btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.green {
  background: var(--green);
  color: #041406;
  box-shadow: 0 0 0 1px rgba(0, 200, 5, 0.3), 0 10px 30px rgba(0, 200, 5, 0.22);
  animation: pulse-glow 2.8s ease-in-out infinite;
}
.btn.ghost, .btn.outline, .btn.tiny {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.tiny { padding: 6px 10px; font-size: 0.78rem; }
.btn.lg { padding: 13px 20px; }
.btn.ghost:hover, .btn.outline:hover {
  border-color: var(--green-2);
  color: var(--green-2);
  box-shadow: var(--glow);
}

.hero { position: relative; padding-bottom: 40px; }
.hero-banner { position: relative; height: min(58vh, 560px); overflow: hidden; }
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(1.08);
  animation: banner-zoom 18s ease-in-out infinite alternate;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,17,10,0.18) 0%, rgba(3,17,10,0.28) 40%, var(--bg) 96%);
}
.hero-inner { margin-top: -120px; text-align: center; }
.hero-logo {
  width: 118px;
  height: 118px;
  margin: 0 auto 18px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(57,255,138,0.28), 0 0 40px rgba(0,200,5,0.28), 0 20px 50px rgba(0,0,0,0.45);
  background: #06140c;
  animation: logo-float 5.5s ease-in-out infinite;
}
.eyebrow {
  color: var(--green-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 12px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
h1 em { font-style: italic; color: var(--green-2); }
.lede {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}
.ca-row {
  margin: 26px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 22, 12, 0.84);
  max-width: 100%;
  box-shadow: inset 0 0 0 1px rgba(57, 255, 138, 0.04);
}
.ca-label { color: var(--green); font-size: 0.72rem; letter-spacing: 0.14em; font-weight: 700; }
#caText { font-size: 0.78rem; color: #dfffe4; }
.hero-ctas { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat, .glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.stat { padding: 18px 16px; text-align: left; }
.stat span { display: block; color: var(--muted); font-size: 0.78rem; margin-bottom: 6px; }
.stat strong { font-size: 1.25rem; font-weight: 600; color: var(--green-2); }

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 12px 0;
  background: rgba(0, 200, 5, 0.05);
}
.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: marquee 28s linear infinite;
  color: var(--green-2);
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.section { padding: 88px 0; position: relative; z-index: 1; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(0,200,5,0.045), transparent); }
.kicker {
  color: var(--green-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 10px;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.section-lead { color: var(--muted); margin: 10px 0 28px; max-width: 620px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 32px;
}
.essay { padding: 32px; }
.essay p + p { margin-top: 16px; }
.essay-mark { width: 56px; border-radius: 50%; margin-bottom: 18px; }
.muted { color: var(--muted); }
.tweet-card { padding: 22px; min-height: 100%; }
.tweet-card .twitter-tweet { margin: 12px auto !important; }
.tweet-fallback {
  display: inline-block;
  margin-top: 8px;
  color: var(--green-2);
  border-bottom: 1px solid rgba(57, 255, 138, 0.35);
}

.plan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.plan-card { padding: 22px; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 138, 0.42);
  box-shadow: var(--glow);
}
.plan-card span {
  font-family: var(--mono);
  color: var(--green);
  font-size: 0.8rem;
}
.plan-card h3 { margin: 10px 0 8px; font-size: 1.15rem; }
.plan-card p { color: var(--muted); font-size: 0.95rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
  align-items: start;
}
.gallery-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #04140c;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.gallery-item.featured {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: #020a06;
}
.gallery-item span {
  display: block;
  padding: 12px 14px 14px;
  color: var(--green-2);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow);
  border-color: rgba(57, 255, 138, 0.45);
}
.gallery-item:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(1, 8, 5, 0.88);
  backdrop-filter: blur(10px);
  padding: 28px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(920px, 92vw); text-align: center; }
.lightbox img {
  max-width: min(920px, 88vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5), var(--glow);
}
.lightbox figcaption {
  margin-top: 14px;
  color: var(--green-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(4, 22, 12, 0.8);
  color: var(--ink);
  border: 1px solid var(--line);
  cursor: pointer;
}
.lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}
.lightbox-nav.prev { left: 18px; }
.lightbox-nav.next { right: 18px; }
.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--green-2);
  color: var(--green-2);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 18px;
}
.steps li { padding: 24px; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 138, 0.42);
  box-shadow: var(--glow);
}
.steps em { font-family: var(--mono); font-style: normal; color: var(--green); }
.steps h3 { margin: 8px 0; }
.steps p { color: var(--muted); }

.buy-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
}
.buy-bar-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.chart-frame {
  overflow: hidden;
  padding: 8px;
  margin-top: 22px;
}
.chart-frame iframe {
  width: 100%;
  height: 680px;
  border: 0;
  border-radius: 14px;
  background: #0b1118;
}
.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--green-2);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.social-card:hover {
  border-color: var(--green-2);
  transform: translateY(-3px);
  box-shadow: var(--glow);
}
.social-card svg { width: 28px; height: 28px; color: var(--green-2); flex: none; }
.social-card p { color: var(--muted); font-size: 0.92rem; }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.footer .brand img { width: 28px; height: 28px; border-radius: 50%; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--green);
  color: #041406;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 70;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-play-state: paused;
}
.reveal.in { animation-play-state: running; }
.reveal:nth-child(2) { animation-delay: 0.06s; }
.reveal:nth-child(3) { animation-delay: 0.12s; }
.reveal:nth-child(4) { animation-delay: 0.18s; }
.reveal:nth-child(5) { animation-delay: 0.24s; }
.gallery-item.reveal:nth-child(1) { animation-delay: 0.04s; }
.gallery-item.reveal:nth-child(2) { animation-delay: 0.1s; }
.gallery-item.reveal:nth-child(3) { animation-delay: 0.16s; }
.gallery-item.reveal:nth-child(4) { animation-delay: 0.22s; }
.gallery-item.reveal:nth-child(5) { animation-delay: 0.28s; }
.gallery-item.reveal:nth-child(6) { animation-delay: 0.34s; }
.gallery-item.reveal:nth-child(7) { animation-delay: 0.4s; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes grid-shift { to { background-position: 64px 64px; } }
@keyframes scan-drift { to { background-position: 0 12px; } }
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6vw, 4vh) scale(1.12); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0, 200, 5, 0.3), 0 10px 30px rgba(0, 200, 5, 0.18); }
  50% { box-shadow: 0 0 0 1px rgba(57, 255, 138, 0.5), 0 12px 36px rgba(0, 200, 5, 0.38); }
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes banner-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    padding: 16px;
    background: rgba(3, 14, 8, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: flex; }
  .nav-actions .ghost { display: none; }
  .stats, .about-grid, .plan, .steps, .social-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.featured { grid-column: span 2; }
  .buy-bar, .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-inner { margin-top: -80px; }
  .chart-frame iframe { height: 520px; }
  #caText { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.featured { grid-column: auto; }
}

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