/* ═══════════ RETATRUTIDE ═══════════ */

:root {
  --lime: #CCFF00;
  --lime-soft: #d9ff4d;
  --ink: #121407;
  --paper: #f7f8f0;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Inter", -apple-system, sans-serif;
  --display: "Anton", "Arial Narrow", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--lime);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ═══════════ Buttons ═══════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(18, 20, 7, .25); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn-solid { background: var(--ink); color: var(--lime); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-lime  { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-lg    { font-size: 16px; padding: 16px 32px; }

/* ═══════════ Nav ═══════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px var(--pad);
  background: color-mix(in srgb, var(--lime) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid transparent;
  transition: border-color .3s ease;
}

.nav.scrolled { border-bottom-color: var(--ink); }

.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 26px; width: auto; }

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -4px;
  height: 2px;
  background: var(--ink);
  transition: right .2s ease;
}

.nav-links a:hover::after { right: 0; }

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

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-left: auto;
}

.nav-burger span {
  display: block;
  width: 20px; height: 2.5px;
  background: var(--ink);
  transition: transform .25s ease;
}

.nav-burger.open span:first-child { transform: translateY(4.75px) rotate(45deg); }
.nav-burger.open span:last-child  { transform: translateY(-4.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--lime);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

.mobile-menu a {
  font-family: var(--display);
  font-size: clamp(34px, 9vw, 56px);
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.3;
}

.mobile-menu a:hover { -webkit-text-stroke: 2px var(--ink); color: transparent; }

/* ═══════════ Hero ═══════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--pad) 80px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1080px;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 22px;
  background: color-mix(in srgb, var(--lime) 75%, transparent);
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(42px, 7.4vw, 100px);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: .005em;
}

.hero-title span {
  -webkit-text-stroke: 2.5px var(--ink);
  color: transparent;
}

.hero-sub {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  max-width: 560px;
}

/* CA pill */

.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 24px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 14px;
  overflow: hidden;
  max-width: 100%;
}

.ca-label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  padding: 14px 14px;
  background: rgba(204, 255, 0, .15);
}

.ca-pill code {
  font-family: var(--mono);
  font-size: clamp(11px, 1.5vw, 14px);
  padding: 14px 14px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-copy {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  background: #fff;
  border: none;
  align-self: stretch;
  padding: 0 18px;
  cursor: pointer;
  transition: background .15s ease;
}

.ca-copy:hover { background: var(--lime-soft); }
.ca-copy.copied { background: var(--lime); }

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Big edge bottles (the "panes") */

.hero-bottles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.bottle {
  position: absolute;
  width: clamp(120px, 16vw, 300px);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(18, 20, 7, .28));
  will-change: transform;
}

.b1 { top: -4%; left: -3%; transform: rotate(-24deg); }
.b2 { top: 6%; right: -4%; width: clamp(150px, 20vw, 360px); transform: rotate(18deg); }
.b3 { bottom: -8%; left: 6%; width: clamp(160px, 22vw, 400px); transform: rotate(12deg); filter: blur(3px) drop-shadow(0 30px 40px rgba(18,20,7,.2)); opacity: .85; }
.b4 { bottom: 2%; right: 8%; transform: rotate(-14deg); }
.b5 { top: 40%; left: -6%; width: clamp(100px, 12vw, 220px); transform: rotate(38deg); filter: blur(2px) drop-shadow(0 20px 30px rgba(18,20,7,.2)); opacity: .9; }

/* Falling rain */

.rain { position: absolute; inset: -220px 0 0 0; z-index: 2; pointer-events: none; overflow: hidden; }

.rain img {
  position: absolute;
  top: 0; left: 0;
  will-change: transform;
  filter: drop-shadow(0 12px 18px rgba(18, 20, 7, .25));
}

/* Scroll cue */

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-line {
  width: 2px; height: 34px;
  background: var(--ink);
  animation: scrollPulse 1.6s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(.3); opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ═══════════ Marquee ═══════════ */

.marquee {
  background: var(--ink);
  color: var(--lime);
  overflow: hidden;
  padding: 16px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-track span {
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.marquee-track i { font-style: normal; font-size: 16px; }

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

/* ═══════════ Sections ═══════════ */

.section { padding: clamp(80px, 12vw, 150px) var(--pad); }

.section-paper { background: var(--paper); }
.section-lime  { background: var(--lime); }

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

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

.section-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.section-num {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .2em;
  display: block;
  margin-bottom: 14px;
  opacity: .65;
}

.section-head h2, .center-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  text-transform: uppercase;
}

.section-dark .section-head h2 { color: var(--lime); }

.lede {
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 22px;
}

.section-body p + p { margin-top: 16px; font-size: 17px; }
.section-dark .section-body p + p { opacity: .8; }

/* stats */

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.stats li {
  border: 2px solid var(--lime);
  border-radius: 18px;
  padding: 22px;
}

.stats strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  color: var(--lime);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.stats span { font-size: 14px; opacity: .85; }

/* ═══════════ Cards ═══════════ */

.center-title { text-align: center; }
.center-title span { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.section-dark .center-title span { -webkit-text-stroke-color: var(--paper); }

.center-sub {
  text-align: center;
  margin-top: 16px;
  font-size: 17px;
}

.cards {
  max-width: 1000px;
  margin: clamp(40px, 6vw, 70px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
}

.card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 26px;
  padding: 40px 34px 34px;
  text-align: center;
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 var(--ink); }

.card-vial {
  height: 150px;
  width: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 14px 18px rgba(18, 20, 7, .25));
  transition: transform .25s ease;
}

.tilt-l { transform: rotate(-12deg); }
.tilt-r { transform: rotate(12deg); }
.card:hover .tilt-l { transform: rotate(-14deg) translateY(-6px); }
.card:hover .tilt-r { transform: rotate(14deg) translateY(-6px); }

.card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card p { font-size: 15.5px; }

.card-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}

/* ═══════════ Steps ═══════════ */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.steps li {
  counter-increment: step;
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 17px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 18px 22px;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.ca-pill.big { margin-bottom: 30px; }

/* ═══════════ Community ═══════════ */

.community {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.community-logo {
  width: min(680px, 86vw);
  margin-bottom: clamp(30px, 5vw, 50px);
}

.community .center-title { color: var(--paper); }
.community .center-sub { opacity: .8; }
.community .btn { margin-top: 30px; }

/* ═══════════ Footer ═══════════ */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px var(--pad) 30px;
  border-top: 3px solid var(--lime);
}

.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 40px;
}

.footer-logo { height: 22px; width: auto; margin-bottom: 16px; }

.footer h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
}

.footer-note { font-size: 13px; opacity: .6; max-width: 300px; }

.footer-ca {
  font-family: var(--mono);
  font-size: 12.5px;
  word-break: break-all;
  opacity: .85;
}

.footer-link {
  display: block;
  font-size: 14.5px;
  text-decoration: none;
  opacity: .85;
  margin-bottom: 8px;
}

.footer-link:hover { color: var(--lime); opacity: 1; }

.footer-copy {
  max-width: 1160px;
  margin: 44px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 248, 240, .15);
  font-size: 13px;
  opacity: .55;
}

/* ═══════════ Reveal ═══════════ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* ═══════════ Responsive ═══════════ */

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .section-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .b3, .b5 { display: none; }
}

@media (max-width: 600px) {
  .hero-kicker { font-size: 10.5px; letter-spacing: .12em; }
  .hero-title { font-size: clamp(38px, 10.5vw, 52px); }
  .ca-label { display: none; }
  .bottle { width: clamp(90px, 24vw, 140px); }
  .b2 { width: clamp(110px, 30vw, 170px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hero-scroll-line { animation: none; }
}
