:root {
  --void: #07110c;
  --moss: #102018;
  --bark: #1c3326;
  --leaf: #6fbf73;
  --lime: #c6f26a;
  --lime-deep: #9ed63a;
  --cream: #f3ead8;
  --cream-dim: #c9c0ab;
  --quill: #c4a574;
  --fog: #8a9a88;
  --line: rgba(243, 234, 216, 0.12);
  --shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(111, 191, 115, 0.16), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(198, 242, 106, 0.06), transparent 50%),
    linear-gradient(180deg, #08140e 0%, var(--void) 40%, #0a1810 100%);
  font-family: var(--font-display);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--lime);
  text-decoration: none;
}

a:hover {
  color: var(--cream);
}

::selection {
  background: var(--lime);
  color: var(--void);
}

.grain,
.leaves {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
}

.grain {
  opacity: 0.09;
  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");
  mix-blend-mode: overlay;
}

.leaves span {
  position: absolute;
  top: -10vh;
  width: 10px;
  height: 16px;
  background: var(--leaf);
  border-radius: 0 80% 0 80%;
  opacity: 0.35;
  animation: fall var(--t) linear infinite;
  animation-delay: var(--d);
  left: var(--x);
}

@keyframes fall {
  to {
    transform: translateY(115vh) rotate(420deg);
  }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 28px;
  background: rgba(7, 17, 12, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

.nav__brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--lime);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  color: var(--cream-dim);
  font-size: 0.92rem;
}

.nav__links a:hover {
  color: var(--cream);
}

.nav__cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--void) !important;
  font-weight: 700;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--cream);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 28px 88px;
}

.hero__thicket {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 100vw;
  height: 90px;
  transform: translateX(-50%);
  pointer-events: none;
  grid-column: 1 / -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
  animation: rec 1.4s infinite;
}

@keyframes rec {
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
}

.hero h1 {
  margin: 0;
  line-height: 0.82;
}

.hero__lil {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--cream-dim);
}

.hero__name {
  display: block;
  font-size: clamp(5.2rem, 14vw, 9.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff 10%, var(--lime) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tag {
  margin: 8px 0 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--quill);
}

.hero__lede {
  max-width: 34rem;
  margin: 0 0 28px;
  color: var(--cream-dim);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

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

.btn--lime:hover {
  background: #d8ff86;
  color: var(--void);
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.03);
}

.ca {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 32, 24, 0.7);
}

.ca__label {
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--void);
  font-size: 0.72rem;
  font-weight: 800;
}

.ca__value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cream-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.ca__copy {
  border: 0;
  background: transparent;
  color: var(--lime);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cam {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(28, 51, 38, 0.7), rgba(7, 17, 12, 0.9));
  box-shadow: var(--shadow), 0 0 80px rgba(111, 191, 115, 0.12);
}

.cam__chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.cam__rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff6b6b;
}

.cam__rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d4d;
}

.cam__frame {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 1;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.15s ease;
}

.cam__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.08);
  animation: breathe 5.5s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    transform: scale(1.035);
  }
}

.cam__caption {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-top: 12px;
}

.cam__caption strong {
  display: block;
  letter-spacing: 0.08em;
}

.cam__caption span {
  color: var(--fog);
  font-size: 0.82rem;
}

.cam__coords {
  font-family: var(--font-mono);
  font-size: 0.72rem !important;
}

.marquee {
  border-block: 1px solid var(--line);
  background: #0c1a12;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 16px 0;
  animation: ticker 28s linear infinite;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--lime);
}

.marquee__track span + span::before {
  content: "·";
  margin-right: 36px;
  color: var(--quill);
}

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

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 28px;
}

.section__head h2 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.section__sub,
.story__prose p,
.bar-card p,
.community__panel > div > p,
.steps p {
  color: var(--cream-dim);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.section__sub {
  max-width: 36rem;
}

.story__grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.facts li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.facts span {
  display: block;
  margin-bottom: 6px;
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.tweet-embed {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}

.tweet-embed .twitter-tweet {
  margin: 0 !important;
}

.tweet-embed iframe {
  max-width: 100% !important;
}

.tweet-embed blockquote.twitter-tweet:not(.twitter-tweet-rendered) {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0e1b14;
  color: var(--cream);
}

.tweet-embed blockquote.twitter-tweet:not(.twitter-tweet-rendered) a {
  color: var(--lime);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 28px;
}

.stats article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(198, 242, 106, 0.06), transparent);
}

.stats span {
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.stats strong {
  display: block;
  margin: 10px 0 4px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
}

.stats em {
  color: var(--cream-dim);
  font-style: normal;
}

.bar-card,
.note,
.steps li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(14, 27, 20, 0.75);
}

.bar-card h3,
.steps h3 {
  margin: 0 0 16px;
}

.bar {
  display: flex;
  overflow: hidden;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 999px;
}

.bar div {
  width: var(--w);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.bar__lp {
  background: var(--lime);
  color: var(--void);
}

.bar__com {
  background: var(--leaf);
  color: var(--void);
}

.bar__tre {
  background: var(--quill);
  color: var(--void);
}

.note__label,
.note__sign {
  color: var(--quill);
  font-family: var(--font-serif);
  font-style: italic;
}

.note p:nth-child(2) {
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 40px 0 28px;
  list-style: none;
  counter-reset: none;
}

.steps__n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--void);
  font-weight: 800;
}

.buy__cta {
  text-align: center;
  margin-top: 28px;
}

.buy__cta p {
  color: var(--fog);
  font-size: 0.95rem;
}

.chart {
  margin-top: 8px;
}

.chart__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.chart__head .eyebrow {
  margin: 0;
}

.chart__head h3 {
  margin: 0;
  flex: 1;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.chart__frame {
  overflow: hidden;
  height: min(680px, 82vh);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0e1b14;
  box-shadow: var(--shadow);
}

.chart__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.community__panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  padding: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(
      105deg,
      rgba(7, 17, 12, 0.86) 0%,
      rgba(7, 17, 12, 0.62) 46%,
      rgba(7, 17, 12, 0.28) 100%
    ),
    url("../assets/shrub-hands.png") center right / cover no-repeat;
}

.community__panel h2 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.community__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.counters {
  display: grid;
  gap: 16px;
  margin: 0;
}

.counters div {
  padding: 16px 18px;
  border: 1px solid rgba(243, 234, 216, 0.18);
  border-radius: 16px;
  background: rgba(7, 17, 12, 0.42);
  backdrop-filter: blur(10px);
}

.counters dt {
  color: var(--fog);
  font-size: 0.82rem;
}

.counters dd {
  margin: 6px 0 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 28px 56px;
  border-top: 1px solid var(--line);
  color: var(--fog);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--cream);
}

.footer__brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
}

.footer__brand span,
.footer__copy {
  display: block;
  color: var(--fog);
  font-size: 0.85rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  transform: translate(-50%, 20px);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--void);
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 980px) {
  .hero,
  .story__grid,
  .split,
  .stats,
  .steps,
  .community__panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    padding: 18px 28px 24px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(7, 17, 12, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.open .nav__links {
    display: flex;
  }
}

@media (max-width: 640px) {
  .facts {
    grid-template-columns: 1fr;
  }

  .ca {
    flex-wrap: wrap;
  }

  .hero__name {
    font-size: 4.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cam__frame img,
  .marquee__track,
  .leaves span,
  .pulse {
    animation: none;
  }
}
