:root {
  --soil: #10140e;
  --moss: #1a2216;
  --bark: #24301e;
  --leaf: #5d7a3e;
  --leaf-hot: #7a9a52;
  --gold: #d4b46a;
  --gold-hot: #e8c97a;
  --bone: #efe4cc;
  --ink: #f6f0e2;
  --mute: #b7aa8e;
  --line: rgba(212, 180, 106, 0.22);
  --eth: #9aa8ff;
  --radius: 18px;
  --nav-h: 72px;
  --max: 1120px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--soil);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(93, 122, 62, 0.28), transparent 55%),
    radial-gradient(700px 420px at 0% 20%, rgba(212, 180, 106, 0.08), transparent 50%),
    var(--soil);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: var(--bone);
  margin: 0;
}

p {
  margin: 0;
}

em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.canopy {
  pointer-events: none;
  position: fixed;
  inset: 0 0 auto;
  height: 180px;
  z-index: 0;
  background: linear-gradient(to bottom, rgba(16, 20, 14, 0.7), transparent);
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 80;
  background: var(--gold);
  color: var(--soil);
  padding: 8px 12px;
  font-weight: 700;
}

.skip:focus {
  top: 16px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: var(--nav-h);
  padding: 10px 28px;
  background: rgba(16, 20, 14, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: 55% 40%;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.brand em {
  font-size: 0.68rem;
  color: var(--mute);
  font-style: italic;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--mute);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--bone);
}

.icon-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--soil);
  box-shadow: 0 8px 0 #8a6d32;
}

.btn-gold:hover {
  background: var(--gold-hot);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(36, 48, 30, 0.6);
  color: var(--bone);
}

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

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bone);
}

.mobile-menu {
  display: none;
  position: sticky;
  top: var(--nav-h);
  z-index: 29;
  background: var(--moss);
  border-bottom: 1px solid var(--line);
  padding: 12px 20px 20px;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu a {
  color: var(--bone);
  font-size: 1.05rem;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 40px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 48px;
  min-height: calc(100svh - var(--nav-h));
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--leaf);
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
}

.hero-tick {
  display: block;
  color: var(--gold);
  font-size: 0.36em;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.hero-line {
  display: block;
  overflow-wrap: anywhere;
}

.lede {
  margin-top: 22px;
  max-width: 36rem;
  font-size: 1.12rem;
  color: var(--mute);
  overflow-wrap: break-word;
}

.lede.tight {
  margin-top: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ca-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(26, 34, 22, 0.7);
  font-size: 0.86rem;
  color: var(--mute);
}

.ca-row code {
  font-family: var(--font-mono);
  color: var(--bone);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.copy-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bark);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-btn.copied {
  color: var(--leaf-hot);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.hero-plate {
  margin: 0;
}

.plate-frame {
  position: relative;
  padding: 14px 14px 48px;
  background:
    linear-gradient(180deg, rgba(212, 180, 106, 0.12), transparent 30%),
    var(--moss);
  border: 1px solid var(--gold);
  border-radius: 6px;
  box-shadow:
    0 0 0 8px var(--soil),
    0 30px 60px rgba(0, 0, 0, 0.4);
}

.plate-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 60% 42%;
  filter: saturate(1.08) contrast(1.05);
}

.plate-frame figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.marquee {
  border-block: 1px solid var(--line);
  background: var(--moss);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  padding: 14px 0;
  animation: ticker 32s linear infinite;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.embed {
  display: flex;
  justify-content: center;
  padding: 48px 20px 56px;
  background: #0b0e0a;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 84px;
}

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

.section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px;
  scroll-margin-top: 84px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.section-head p:not(.kicker) {
  margin-top: 16px;
  color: var(--mute);
  font-size: 1.08rem;
}

.genus-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.genus-portrait {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.genus-portrait img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 42%;
}

.specimen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 28px 0 0;
}

.specimen > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.specimen dt {
  color: var(--mute);
  font-size: 0.86rem;
}

.specimen dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--bone);
  text-align: right;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stats article {
  padding: 22px 20px;
  background: var(--moss);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stats span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.stats strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
}

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

.steps li {
  padding: 24px;
  background: var(--moss);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.steps span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.steps h3 {
  margin: 10px 0 8px;
  font-size: 1.45rem;
}

.steps p {
  color: var(--mute);
}

.buy-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--moss);
  padding: 4px 18px 4px;
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  font-weight: 600;
  color: var(--bone);
}

summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 0 16px;
  color: var(--mute);
}

.footer {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 110px;
  border-top: 1px solid var(--line);
  color: var(--mute);
}

.footer .brand {
  margin-bottom: 16px;
}

.footer a {
  color: var(--gold);
}

.footer-socials {
  margin-top: 14px;
}

.fine {
  margin-top: 12px;
  font-size: 0.86rem;
}

.sticky-buy {
  position: fixed;
  z-index: 25;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(16, 20, 14, 0.95) 30%);
}

.sticky-buy .btn {
  width: 100%;
}

@media (max-width: 1100px) {
  .hero,
  .genus-layout {
    grid-template-columns: 1fr;
  }

  .hero-plate {
    order: -1;
    max-width: 520px;
    margin-inline: auto;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 10vw, 4.2rem);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav .btn-gold {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .mobile-menu.open {
    display: flex;
  }

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

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

  .hero {
    padding-top: 28px;
    min-height: auto;
  }

  .sticky-buy {
    display: block;
  }

  .section {
    padding: 64px 20px;
  }
}

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

  .hero h1 {
    font-size: 3rem;
  }

  .ca-row {
    font-size: 0.78rem;
  }
}
