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

:root {
  --lime: #c8ff00;
  --lime-hot: #ddff4a;
  --forest: #14352c;
  --forest-deep: #0c221c;
  --ink: #111411;
  --muted: #5d675f;
  --paper: #f3f0e6;
  --white: #fffcf5;
  --glow: #f0c14a;
  --lawn: #1f6b45;
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --rail: 248px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.app {
  min-height: 100dvh;
}

/* ── Side rail ── */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem 1.25rem 1.6rem;
  background: var(--forest-deep);
  color: var(--white);
  border-right: 1px solid rgba(200, 255, 0, 0.18);
}

.rail-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.rail-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(200, 255, 0, 0.45);
}

.rail-brand strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.rail-brand em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--lime);
  letter-spacing: 0.04em;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rail-nav a {
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 252, 245, 0.72);
  transition: background 0.2s, color 0.2s;
}

.rail-nav a:hover {
  background: rgba(200, 255, 0, 0.1);
  color: var(--lime);
}

.rail-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.rail-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(200, 255, 0, 0.28);
  color: var(--lime);
  transition: background 0.2s, color 0.2s;
}

.rail-socials a:hover {
  background: var(--lime);
  color: var(--ink);
}

.rail-buy {
  width: 100%;
  justify-content: center;
}

/* ── Stage ── */
.stage {
  margin-left: var(--rail);
}

.mobile-bar {
  display: none;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--forest);
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
  animation: drift 28s var(--ease) infinite alternate;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, transparent 38%, rgba(12, 34, 28, 0.25) 58%, rgba(12, 34, 28, 0.72) 100%),
    linear-gradient(180deg, rgba(12, 34, 28, 0.12) 0%, transparent 28%, rgba(12, 34, 28, 0.55) 100%);
}

.hero-logo {
  position: absolute;
  z-index: 2;
  left: 4vw;
  bottom: 3.25rem;
  width: min(220px, 28vw);
  margin: 0;
}

.hero-logo img {
  width: 100%;
  border-radius: 16px;
  border: 6px solid var(--lime);
  box-shadow: 10px 10px 0 var(--forest-deep);
  object-fit: cover;
  aspect-ratio: 1;
}

.listing-card {
  position: relative;
  z-index: 1;
  width: min(420px, 88vw);
  margin: 0 0 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 2.25rem 3rem 0;
  animation: rise 0.9s var(--ease) both;
}

.sign-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.28rem 0.7rem;
  background: var(--forest);
  color: var(--lime);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.listing-card h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.ticker-mark {
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.hero-lede {
  margin: 1.1rem 0 1.5rem;
  color: rgba(255, 252, 245, 0.82);
  font-size: 1.02rem;
  max-width: 22rem;
}

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

.ca-row {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 0.7rem 0.85rem;
  background: rgba(12, 34, 28, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 255, 0, 0.22);
  border-radius: 10px;
  color: rgba(255, 252, 245, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ca-row code {
  font-family: var(--font);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--lime);
  font-weight: 600;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
}

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

.btn-lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(240, 193, 74, 0.4);
}

.btn-lime:hover {
  background: var(--lime-hot);
  box-shadow: 0 8px 24px rgba(200, 255, 0, 0.28);
}

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

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

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

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

.btn-copy {
  border: 0;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
}

.btn-copy.copied {
  background: var(--glow);
}

/* ── Marquee ── */
.marquee {
  background: var(--lime);
  color: var(--ink);
  overflow: hidden;
  padding: 0.85rem 0;
  border-block: 1px solid var(--ink);
}

.marquee-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  animation: marquee 32s linear infinite;
}

.sep {
  opacity: 0.4;
}

/* ── Panels ── */
.panel {
  padding: 5.5rem 6vw;
}

.panel-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lawn);
  margin-bottom: 0.55rem;
}

.kicker.light {
  color: var(--lime);
}

.panel-head h2,
.about-copy h2,
.join-inner h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}

.panel-head p,
.about-copy p,
.join-inner > p {
  color: var(--muted);
  font-size: 1.02rem;
}

.listing,
.buy {
  background: var(--paper);
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.buy-card {
  background: var(--white);
  border: 1px solid rgba(17, 20, 17, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 0 rgba(20, 53, 44, 0.06);
  transition: transform 0.25s var(--ease);
}

.buy-card:hover {
  transform: translateY(-4px);
}

.buy-card figure {
  position: relative;
  margin: 0;
}

.buy-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.buy-num {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.2rem 0.55rem;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border-radius: 4px;
}

.buy-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  padding: 1rem 1.15rem 0.25rem;
}

.buy-card p {
  padding: 0 1.15rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.buy-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.buy-scene {
  margin-top: 2.25rem;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid var(--lime);
  box-shadow: 12px 12px 0 var(--forest);
}

.buy-scene img {
  width: 100%;
  height: min(280px, 42vw);
  object-fit: cover;
  object-position: center 60%;
}

.thesis {
  background: var(--white);
}

.embed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.embed-col {
  min-width: 0;
}

.embed-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tweet-frame {
  background: var(--paper);
  border: 1px solid rgba(17, 20, 17, 0.1);
  border-radius: 16px;
  padding: 0.75rem 0.75rem 0.35rem;
  min-height: 280px;
}

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

.embed-fallback {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lawn);
  text-decoration: none;
}

.embed-fallback:hover {
  color: var(--ink);
}

.article-card {
  display: block;
  height: 100%;
  padding: 1.6rem 1.5rem 1.45rem;
  background: var(--forest-deep);
  color: var(--white);
  text-decoration: none;
  border-radius: 16px;
  border: 1px solid rgba(200, 255, 0, 0.22);
  box-shadow: 12px 12px 0 var(--lime);
  transition: transform 0.25s var(--ease);
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-show {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  margin-bottom: 0.9rem;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
}

.article-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.55rem, 3vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.article-meta {
  font-size: 0.82rem;
  color: rgba(255, 252, 245, 0.5);
  margin-bottom: 1.15rem;
}

.article-card blockquote {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--lime);
  background: rgba(200, 255, 0, 0.08);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--lime);
}

.article-note {
  font-size: 0.92rem;
  color: rgba(255, 252, 245, 0.72);
  margin-bottom: 1.25rem;
}

.article-cta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lime);
}

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

  .article-card {
    box-shadow: 8px 8px 0 var(--lime);
  }
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.fact {
  padding: 1.35rem 1.2rem;
  background: var(--white);
  border: 1px solid rgba(17, 20, 17, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 0 rgba(20, 53, 44, 0.06);
  transition: transform 0.25s var(--ease);
}

.fact:hover {
  transform: translateY(-4px);
}

.fact span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1100px;
}

.portrait {
  position: relative;
}

.portrait img {
  width: 100%;
  border-radius: 18px;
  border: 8px solid var(--lime);
  box-shadow: 16px 16px 0 var(--forest);
}

.portrait figcaption {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-copy p + p {
  margin-top: 0.85rem;
}

.about-copy em {
  font-style: normal;
  background: var(--lime);
  padding: 0 0.25em;
  font-weight: 600;
}

.bullets {
  margin-top: 1.4rem;
  list-style: none;
}

.bullets li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  color: var(--ink);
  font-weight: 500;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--lime);
  border: 1px solid var(--ink);
}

.token {
  background: var(--forest-deep);
  color: var(--white);
}

.token .panel-head p,
.token .kicker {
  color: rgba(200, 255, 0, 0.65);
}

.sheet {
  max-width: 720px;
  border: 1px solid rgba(200, 255, 0, 0.22);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 252, 245, 0.03);
}

.sheet-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid rgba(200, 255, 0, 0.12);
}

.sheet-row:last-child {
  border-bottom: 0;
}

.sheet-row span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 252, 245, 0.45);
}

.sheet-row strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.sheet-ca {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.sheet-ca code {
  font-family: var(--font);
  color: var(--lime);
  font-size: 0.95rem;
  word-break: break-all;
}

.copy-toast {
  min-height: 1.2rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--lime);
  opacity: 0;
  transition: opacity 0.25s;
}

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

.join {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  background: var(--forest-deep);
}

.join-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.join-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 34, 28, 0.22) 0%, rgba(12, 34, 28, 0.58) 55%, rgba(12, 34, 28, 0.78) 100%);
}

.join-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.join-inner > p {
  color: rgba(255, 252, 245, 0.78);
}

.join-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

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

@keyframes drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.1) translate(-1.2%, -0.6%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

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

@media (max-width: 980px) {
  .buy-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .portrait {
    max-width: 380px;
  }
}

@media (max-width: 860px) {
  .rail {
    display: none;
    position: fixed;
    inset: 64px 0 auto 0;
    width: auto;
    height: auto;
    flex-direction: column;
    padding: 1.1rem 1.2rem 1.4rem;
    border-right: 0;
    border-bottom: 1px solid rgba(200, 255, 0, 0.18);
  }

  .rail.open {
    display: flex;
  }

  .rail-buy,
  .rail-socials {
    margin-top: 0;
  }

  .stage {
    margin-left: 0;
  }

  .mobile-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 1rem;
    background: var(--forest-deep);
    color: var(--white);
    border-bottom: 1px solid rgba(200, 255, 0, 0.18);
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-weight: 700;
  }

  .mobile-brand img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 8px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 1px solid rgba(200, 255, 0, 0.35);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
  }

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

  .listing-card {
    width: min(100%, 92vw);
    margin: 0 auto;
    min-height: min(92dvh, 820px);
    padding: 5.5rem 1.25rem 2.25rem;
    justify-content: flex-end;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(12, 34, 28, 0.15) 0%, transparent 30%, rgba(12, 34, 28, 0.82) 100%);
  }

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

  .hero-logo {
    left: 1.25rem;
    bottom: auto;
    top: 1.25rem;
    width: 92px;
  }

  .hero-logo img {
    border-width: 4px;
    box-shadow: 6px 6px 0 var(--forest-deep);
  }

  .sheet-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

@media (max-width: 560px) {
  .buy-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    flex: 1;
  }
}

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

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