:root {
  --bg: #06100a;
  --bg-2: #0a1a10;
  --bg-3: #102418;
  --ink: #e8ffe8;
  --muted: #8fb896;
  --lime: #6dff3a;
  --lime-deep: #39c91a;
  --lime-soft: rgba(109, 255, 58, 0.14);
  --stroke: rgba(109, 255, 58, 0.28);
  --black: #020805;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 2px;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(109, 255, 58, 0.12), transparent 55%),
    radial-gradient(900px 500px at 10% 30%, rgba(20, 80, 40, 0.35), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--black) 100%);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(6, 16, 10, 0.82);
  border-bottom: 1px solid var(--stroke);
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: var(--lime);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ticker strong {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  min-width: 2.5ch;
  text-align: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

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

.btn-fill:hover {
  background: #8dff5f;
}

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

.btn-outline:hover {
  border-color: var(--lime);
  background: var(--lime-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}

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

.btn-lg {
  padding: 0.9rem 1.45rem;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 10, 0.55) 0%, rgba(2, 8, 5, 0.72) 45%, rgba(2, 8, 5, 0.96) 100%),
    radial-gradient(ellipse at 50% 40%, transparent 20%, rgba(2, 8, 5, 0.55) 80%);
}

.marquee {
  overflow: hidden;
  padding: 0.6rem 0;
  border-block: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.35);
}

.marquee-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.08em;
  color: rgba(109, 255, 58, 0.35);
  white-space: nowrap;
}

.marquee-track.reverse {
  animation-direction: reverse;
  animation-duration: 34s;
  color: rgba(232, 255, 232, 0.18);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 820px);
  margin: 3rem auto 5rem;
  text-align: center;
}

.hero-logo {
  width: clamp(140px, 28vw, 220px);
  height: auto;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  box-shadow: 0 0 0 10px rgba(109, 255, 58, 0.06);
  animation: floatLogo 5.5s ease-in-out infinite;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 14vw, 8rem);
  line-height: 0.88;
  letter-spacing: 0.04em;
}

.hero-title .line {
  display: block;
}

.hero-title .accent,
.accent {
  color: var(--lime);
}

.hero-sub {
  max-width: 34rem;
  margin: 1.35rem auto 1.75rem;
  color: var(--muted);
  font-size: clamp(0.92rem, 2.2vw, 1.05rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  position: relative;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
}

.lead {
  max-width: 38rem;
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 1rem;
}

.about {
  background:
    linear-gradient(180deg, transparent, rgba(109, 255, 58, 0.03)),
    var(--bg-2);
  border-block: 1px solid var(--stroke);
}

.ca-block {
  max-width: 42rem;
  padding: 1.5rem;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.35);
}

.ca-label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.ca-row code {
  flex: 1 1 220px;
  padding: 0.8rem 0.9rem;
  background: var(--black);
  border: 1px solid var(--stroke);
  color: var(--ink);
  font-size: 0.82rem;
  word-break: break-all;
}

.ca-hint {
  margin: 0.75rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.manifesto {
  background: var(--bg);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.manifesto-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.manifesto-visual img {
  width: min(100%, 340px);
  border-radius: 50%;
  border: 2px solid var(--stroke);
  position: relative;
  z-index: 1;
}

.smoke {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 255, 58, 0.25), transparent 65%);
  filter: blur(18px);
  animation: pulseSmoke 4s ease-in-out infinite;
}

.code-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.code-list li {
  position: relative;
  padding: 0.95rem 0 0.95rem 1.5rem;
  border-bottom: 1px solid var(--stroke);
  color: var(--ink);
  font-size: 1.02rem;
}

.code-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lime);
}

.flip {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(109, 255, 58, 0.08), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--stroke);
  text-align: center;
}

.flip .lead,
.flip .eyebrow,
.flip h2 {
  text-align: center;
}

.flip h2,
.cult h2 {
  margin-inline: auto;
}

.flip-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  margin: 2.5rem auto 1.75rem;
  max-width: 760px;
}

.flip-item {
  padding: 1.5rem 1.1rem;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.35);
}

.flip-item img {
  margin: 0 auto 0.75rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
}

.flip-item h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
}

.mc-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mc-value {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--lime);
  letter-spacing: 0.04em;
}

.rival .mc-value {
  color: var(--muted);
}

.rival-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  display: grid;
  place-items: center;
  border: 1px dashed var(--stroke);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--muted);
}

.flip-vs {
  align-self: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--lime);
  letter-spacing: 0.08em;
}

.progress {
  width: min(100%, 760px);
  margin: 0 auto;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--lime-deep), var(--lime));
  transition: width 1.2s ease;
}

.progress-label {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.cult {
  text-align: center;
  background:
    linear-gradient(180deg, transparent, rgba(109, 255, 58, 0.05)),
    var(--bg);
}

.cult-inner {
  max-width: 720px;
}

.cult .lead {
  margin-inline: auto;
}

.footer {
  border-top: 1px solid var(--stroke);
  padding: 1.5rem 0 2rem;
  background: var(--black);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.back-top {
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.back-top:hover {
  color: #8dff5f;
}

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

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

@keyframes pulseSmoke {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 820px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .manifesto-visual img {
    width: min(70%, 260px);
    margin-inline: auto;
  }

  .code-list li {
    text-align: left;
  }

  .flip-board {
    grid-template-columns: 1fr;
  }

  .flip-vs {
    padding: 0.25rem 0;
  }
}

@media (max-width: 560px) {
  .nav-actions .btn-ghost {
    display: none;
  }

  .ticker {
    font-size: 0.68rem;
  }

  .hero-content {
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track,
  .hero-logo,
  .smoke,
  .hero-bg img {
    animation: none !important;
  }
}
