/* =========================================================
   ANTHOOD ($ANTHOOD) — lime / emerald / peach AI-hood landing
   ========================================================= */

:root {
  --bg: #07140c;
  --bg-2: #0c1f14;
  --bg-3: #122a1c;
  --lime: #b8ff3d;
  --lime-dim: #8fd624;
  --lime-glow: rgba(184, 255, 61, 0.42);
  --emerald: #1faa5a;
  --emerald-glow: rgba(31, 170, 90, 0.35);
  --peach: #ff9b72;
  --peach-glow: rgba(255, 155, 114, 0.35);
  --feather: #ff3b4a;
  --frost: #f3ffe8;
  --muted: #8fb89a;
  --line: rgba(184, 255, 61, 0.2);
  --display: "Syne", system-ui, sans-serif;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1180px;
  --radius: 18px;
}

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

html { background: var(--bg); color: var(--frost); scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--frost);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-gated { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
code, pre { font-family: var(--mono); }

#spark-canvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 3;
}
.fx-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 4;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0,0,0,.78) 100%);
}
.fx-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  background:
    radial-gradient(ellipse 70% 45% at 78% 10%, rgba(184,255,61,.13), transparent 55%),
    radial-gradient(ellipse 55% 40% at 10% 80%, rgba(255,155,114,.09), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(31,170,90,.06), transparent 60%);
}

.glass {
  background: rgba(12, 31, 20, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
}

/* ---------- GATE ---------- */
.gate {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: #07140c;
  transition: opacity .55s ease, visibility .55s ease;
}
.gate.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.gate__inner {
  text-align: center;
  padding: 2rem;
  animation: gate-in 0.8s ease both;
}
@keyframes gate-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.gate__logo {
  width: 112px; height: 112px; margin: 0 auto 1.25rem;
  border-radius: 22px;
  filter: drop-shadow(0 0 28px var(--lime-glow));
  animation: float-y 3.2s ease-in-out infinite;
}
.paw-row { letter-spacing: .35em; margin-bottom: .85rem; opacity: .85; }
.gate__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 8vw, 4rem);
  letter-spacing: .1em;
  color: var(--frost);
  text-shadow: 0 0 40px var(--lime-glow);
}
.gate__sub {
  margin-top: .55rem;
  color: var(--muted);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .72rem;
}
.gate__btn {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: .95rem 1.9rem;
  border: 1px solid var(--lime);
  border-radius: 999px;
  background: rgba(184,255,61,.1);
  color: var(--lime);
  font-weight: 700;
  letter-spacing: .14em;
  transition: background .2s, box-shadow .2s, transform .15s;
  box-shadow: 0 0 0 0 var(--lime-glow);
}
.gate__btn:hover {
  background: rgba(184,255,61,.2);
  box-shadow: 0 0 36px var(--lime-glow);
  transform: translateY(-1px);
}
.gate__mute {
  margin-top: 1rem;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .05em;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem var(--pad);
  background: rgba(7,20,12,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 800; letter-spacing: .08em;
}
.nav__brand img {
  width: 36px; height: 36px;
  border-radius: 10px;
  filter: drop-shadow(0 0 10px var(--lime-glow));
}
.nav__links {
  display: none; gap: 1.25rem; margin-left: auto;
  font-size: .9rem; color: var(--muted);
}
.nav__links a:hover { color: var(--lime); }
.nav__cta {
  margin-left: auto;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  background: var(--lime);
  color: #0a1a0e;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 0 24px var(--lime-glow);
}
.nav__cta:hover { filter: brightness(1.08); }
.nav__burger {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav__burger span {
  display: block; width: 18px; height: 2px; background: var(--frost);
}
.nav-mobile {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 49;
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1rem var(--pad) 1.25rem;
  background: rgba(7,20,12,.96);
  border-bottom: 1px solid var(--line);
}
.nav-mobile[hidden] { display: none !important; }
.nav-mobile a {
  padding: .75rem 0;
  border-bottom: 1px solid rgba(184,255,61,.08);
  color: var(--frost);
}
@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav__cta { margin-left: 1rem; }
  .nav__burger { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: grid;
  align-items: end;
  padding: 4rem var(--pad) 3.5rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,20,12,.35) 0%, rgba(7,20,12,.55) 40%, rgba(7,20,12,.92) 100%),
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(184,255,61,.12), transparent 60%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 720px;
}
.eyebrow {
  color: var(--lime);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .85rem;
}
.hero__title {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  margin-bottom: 1rem;
}
.hero__word {
  display: block;
  font-size: clamp(3rem, 12vw, 6.2rem);
  letter-spacing: .04em;
  text-shadow: 0 0 48px var(--lime-glow);
}
.hero__tick {
  display: inline-block;
  margin-top: .35rem;
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  color: var(--peach);
  letter-spacing: .18em;
  text-shadow: 0 0 24px var(--peach-glow);
}
.hero__tag {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 34rem;
  margin-bottom: 1.4rem;
}
.hero__tag em { color: var(--lime); font-style: normal; }
.hero__tag strong { color: var(--frost); }

.ca-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  flex-wrap: wrap;
  padding: .55rem .65rem .55rem .9rem;
  border-radius: 999px;
  background: rgba(12,31,20,.75);
  border: 1px solid var(--line);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
}
.ca-pill__label {
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--lime);
  font-weight: 700;
}
.ca-pill__addr {
  font-size: .82rem;
  color: var(--frost);
  max-width: min(52vw, 28rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca-pill.is-soon .ca-pill__addr { color: var(--peach); }
.ca-pill__copy {
  padding: .4rem .85rem;
  border-radius: 999px;
  background: var(--lime);
  color: #0a1a0e;
  font-weight: 700;
  font-size: .78rem;
}
.ca-pill__copy:hover { filter: brightness(1.06); }

.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .15s, box-shadow .2s, filter .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--lime);
  color: #0a1a0e;
  box-shadow: 0 0 28px var(--lime-glow);
}
.btn--ghost {
  border: 1px solid var(--line);
  background: rgba(184,255,61,.06);
  color: var(--frost);
}
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.hero__pair-note {
  margin-top: 1rem;
  font-size: .78rem;
  color: var(--muted);
}
.hero__pair-note code { color: var(--lime); }

.hero__float {
  position: absolute;
  right: clamp(1rem, 6vw, 5rem);
  bottom: 2.5rem;
  z-index: 2;
  width: min(280px, 38vw);
  pointer-events: none;
}
.hero__float .mascot {
  width: 100%;
  border-radius: 28px;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.45)) drop-shadow(0 0 30px var(--lime-glow));
  animation: float-y 4s ease-in-out infinite;
}
@media (max-width: 720px) {
  .hero__float { display: none; }
}

/* ---------- MARQUEE ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(184,255,61,.06);
  padding: .85rem 0;
}
.marquee__track {
  display: flex; gap: 1.25rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--lime);
  font-size: .9rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- BANNER ---------- */
.banner-strip {
  margin: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.banner-strip img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.section__head { margin-bottom: 2rem; max-width: 40rem; }
.section__head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 1.1;
  margin: .35rem 0 .85rem;
}
.section__lead { color: var(--muted); font-size: 1.05rem; }
.section__lead strong { color: var(--frost); }

.lore__grid, .feat__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.lore-card, .feat {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.lore-card:hover, .feat:hover {
  transform: translateY(-3px);
  border-color: rgba(184,255,61,.4);
  box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 24px rgba(184,255,61,.08);
}
.lore-card__icon { font-size: 1.5rem; margin-bottom: .65rem; }
.lore-card h3, .feat h3 {
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: .45rem;
  letter-spacing: .02em;
}
.lore-card p, .feat p { color: var(--muted); font-size: .95rem; }
.feat code { color: var(--lime); font-size: .85em; }

/* ---------- STEPS ---------- */
.steps {
  list-style: none;
  display: grid;
  gap: .85rem;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
}
.step__n {
  font-family: var(--mono);
  color: var(--lime);
  font-weight: 700;
  font-size: 1rem;
  padding-top: .15rem;
}
.step h3 { font-family: var(--display); margin-bottom: .3rem; }
.step p { color: var(--muted); }
.step a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CHART ---------- */
.chart-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  color: var(--muted);
}
.chart-empty img {
  margin: 0 auto 1rem;
  border-radius: 16px;
  filter: drop-shadow(0 0 18px var(--lime-glow));
}
.chart-empty code { color: var(--lime); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 1rem;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  padding: 1rem;
  border-radius: 14px;
  display: flex; flex-direction: column; gap: .35rem;
}
.stat span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stat strong { font-family: var(--display); font-size: 1.15rem; }
.chart-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: #000;
}
.chart-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- VAULT ---------- */
.vault__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
}
.vault__item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  aspect-ratio: 1;
}
.vault__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.vault__item:hover img { transform: scale(1.05); }
.vault__item--logo {
  display: grid; place-items: center;
  background: #b8ff3d;
  padding: 1.5rem;
}
.vault__item--logo img {
  width: 70%; height: auto;
  object-fit: contain;
}

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: .65rem; max-width: 760px; }
.faq__list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12,31,20,.5);
  padding: .35rem 1rem 0;
}
.faq__list summary {
  cursor: pointer;
  padding: .95rem 0;
  font-family: var(--display);
  font-weight: 700;
  list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list details[open] summary { color: var(--lime); }
.faq__list p {
  color: var(--muted);
  padding-bottom: 1rem;
}
.faq__list code { color: var(--peach); }

/* ---------- FOOTER ---------- */
.footer {
  padding: 2.5rem var(--pad) 3rem;
  border-top: 1px solid var(--line);
  display: grid; gap: 1rem;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.footer__brand {
  display: flex; align-items: center; gap: .85rem;
}
.footer__brand img { border-radius: 10px; }
.footer__brand strong {
  display: block;
  font-family: var(--display);
  letter-spacing: .06em;
}
.footer__brand span { color: var(--muted); font-size: .85rem; }
.footer__warn { color: var(--muted); font-size: .88rem; max-width: 42rem; }
.footer__copy { color: var(--muted); font-size: .75rem; opacity: .8; }

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 300;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  background: var(--lime);
  color: #0a1a0e;
  font-weight: 700;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .gate__logo, .hero__float .mascot, .marquee__track { animation: none !important; }
}


/* CA explorer link */
.ca-pill__explorer {
  margin-left: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0b1a0a;
  background: linear-gradient(135deg, #b8ff3d, #7dffb0);
  border: 1px solid rgba(184, 255, 61, 0.55);
}
.ca-pill__explorer:hover { filter: brightness(1.08); }

.footer__socials {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 0.35rem;
}
.footer__socials a {
  color: #b8ff3d;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.footer__socials a:hover { text-decoration: underline; }
