/* ===========================
   TOKENS & RESET
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-50: #f9f9f8;
  --gray-100: #f2f2f0;
  --gray-200: #e5e4e0;
  --gray-300: #c8c7c2;
  --gray-400: #9d9c97;
  --gray-500: #6e6d69;
  --gray-600: #4a4946;
  --gray-700: #2e2d2b;
  --gray-800: #1c1b1a;
  --gray-900: #111110;
  --accent: #2a5f3f;
  --accent-light: #3d8a5a;
  --accent-pale: #e8f3ec;
  --seed-gold: #b8860b;
  --seed-gold-pale: #fdf8e8;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h: 60px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ===========================
   DARK THEME
   =========================== */
[data-theme="dark"] {
  --white: #111110;
  --black: #f0efeb;
  --gray-50: #161614;
  --gray-100: #1c1b1a;
  --gray-200: #2a2927;
  --gray-300: #3d3c39;
  --gray-400: #6b6a66;
  --gray-500: #8f8e8a;
  --gray-600: #b5b4b0;
  --gray-700: #d4d3cf;
  --gray-800: #e8e7e3;
  --gray-900: #f0efeb;
  --accent: #4caf75;
  --accent-light: #5bc985;
  --accent-pale: rgba(76, 175, 117, 0.15);
  --seed-gold: #d4a017;
  --seed-gold-pale: rgba(212, 160, 23, 0.12);
}

[data-theme="dark"] body {
  background: #111110;
}

[data-theme="dark"] #nav {
  background: rgba(17, 17, 16, 0.92);
  border-bottom-color: var(--gray-200);
}

[data-theme="dark"] .mobile-menu {
  background: #111110;
  border-bottom-color: var(--gray-200);
}

[data-theme="dark"] .protocol-card:hover {
  background: var(--gray-100);
}

[data-theme="dark"] .transparency-item:hover {
  background: var(--gray-100);
}

[data-theme="dark"] .hero-graphic {
  mix-blend-mode: screen;
  filter: invert(1);
}

/* Transparent SVG mark: use invert to make black → white in dark mode */
[data-theme="dark"] .logo-icon,
[data-theme="dark"] .footer-logo .logo-icon,
[data-theme="dark"] .cta-bolt {
  filter: invert(1);
}

/* Yield cards — hardcoded so the variable swap doesn't break them */
[data-theme="dark"] .yield-card {
  background: #1c1b1a;
  border-color: #2a2927;
}

[data-theme="dark"] .yield-card-seed {
  background: #1e2420;
  border-color: #2e3a30;
  color: #f0efeb;
}

[data-theme="dark"] .yield-card-seed .yield-apr {
  color: #f0efeb;
}

[data-theme="dark"] .yield-card-seed .yield-apr-sub {
  color: rgba(240, 239, 235, 0.45);
}

[data-theme="dark"] .yield-card-seed .yield-features {
  border-top-color: rgba(240, 239, 235, 0.1);
}

[data-theme="dark"] .yield-card-seed .yield-features li {
  border-bottom-color: rgba(240, 239, 235, 0.08);
  color: rgba(240, 239, 235, 0.7);
}

[data-theme="dark"] .yield-card-seed .yield-features li::before {
  background: rgba(240, 239, 235, 0.3);
}

[data-theme="dark"] .yield-card-seed .yield-badge {
  background: rgba(240, 239, 235, 0.08);
  color: rgba(240, 239, 235, 0.5);
}

[data-theme="dark"] .yield-card-seed .btn-primary {
  background: #f0efeb;
  color: #111110;
  border-color: #f0efeb;
}

[data-theme="dark"] .yield-card-seed .btn-primary:hover {
  background: #d4d3cf;
  border-color: #d4d3cf;
}

/* Seed / "For early believers" section */
[data-theme="dark"] .section-dark {
  background: #1a1a19;
  color: #f0efeb;
}

[data-theme="dark"] .seed-text h2 {
  color: #f0efeb;
}

[data-theme="dark"] .seed-text p {
  color: rgba(240, 239, 235, 0.55);
}

[data-theme="dark"] .seed-highlight {
  border-top-color: rgba(240, 239, 235, 0.1);
}

[data-theme="dark"] .seed-highlight-item {
  border-bottom-color: rgba(240, 239, 235, 0.08);
}

[data-theme="dark"] .sh-value {
  color: #f0efeb;
}

[data-theme="dark"] .sh-label {
  color: rgba(240, 239, 235, 0.4);
}

[data-theme="dark"] .seed-chart {
  background: rgba(240, 239, 235, 0.04);
  border-color: rgba(240, 239, 235, 0.1);
}

[data-theme="dark"] .seed-chart-header {
  color: rgba(240, 239, 235, 0.35);
}

[data-theme="dark"] .bar-item {
  background: rgba(240, 239, 235, 0.1);
}

[data-theme="dark"] .bar-item:hover {
  background: rgba(240, 239, 235, 0.18);
}

[data-theme="dark"] .bar-item-max {
  background: rgba(240, 239, 235, 0.22);
}

[data-theme="dark"] .bar-val {
  color: rgba(240, 239, 235, 0.5);
}

[data-theme="dark"] .bar-item-max .bar-val {
  color: rgba(240, 239, 235, 0.85);
}


/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  cursor: pointer;
  color: var(--gray-500);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--gray-900);
  border-color: var(--gray-400);
}

.theme-toggle svg {
  width: 15px;
  height: 15px;
  transition: opacity 0.15s, transform 0.25s var(--ease-out);
}

/* In light mode: show moon, hide sun */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

/* In dark mode: show sun, hide moon */
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* ===========================
   TYPOGRAPHY
   =========================== */
h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ===========================
   LAYOUT UTILITIES
   =========================== */
.container {
  width: 100%;
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

.section {
  padding: 120px 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-dark {
  background: var(--gray-900);
  color: var(--white);
}

.section-header {
  max-width: 680px;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.section-tag-light {
  color: rgba(255, 255, 255, 0.45);
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  color: inherit;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  font-weight: 300;
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary,
.btn-ghost,
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gray-900);
  color: var(--white);
  border: 1px solid var(--gray-900);
}

.btn-primary:hover {
  background: var(--gray-700);
  border-color: var(--gray-700);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
  border-color: var(--gray-500);
  color: var(--gray-900);
}

.btn-nav {
  padding: 7px 16px;
  font-size: 12px;
  background: var(--gray-900);
  color: var(--white);
  border: 1px solid transparent;
}

.btn-nav:hover {
  background: var(--gray-700);
}

/* ── Hamburger button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Animated X when open */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile menu drawer ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 53px;
  /* below nav */
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 0;
  z-index: 999;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu-link {
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-700);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.15s;
}

.mobile-menu-link:last-child {
  border-bottom: none;
}

.mobile-menu-link:hover {
  color: var(--gray-900);
}

.mobile-menu-cta {
  margin-top: 8px;
  background: var(--gray-900);
  color: var(--white) !important;
  padding: 12px 20px;
  border-radius: 6px;
  text-align: center;
  font-size: 13px;
  border-bottom: none !important;
}

.mobile-menu-cta:hover {
  background: var(--gray-700);
}

@media (max-width: 768px) {

  .nav-links,
  #nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

/* Button variant: white bg, black text — used on dark backgrounds */
.btn-outline-light {
  background: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--white);
}

.btn-outline-light:hover {
  background: var(--gray-100);
  border-color: var(--gray-100);
}

/* ===========================
   NAV
   =========================== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: border-color 0.3s;
}

.nav-inner {
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gray-900);
  flex-shrink: 0;
}

.logo-icon {
  height: 22px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 8px;
  flex: 1;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-500);
  transition: color 0.15s;
  letter-spacing: 0.01em;
}

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

/* ===========================
   HERO
   =========================== */
.hero {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 96rem;
  margin: 0 auto;
  padding: clamp(60px, 8vh, 100px) clamp(24px, 5vw, 64px) 0;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* Copy left, graphic right */
.hero-inner--reversed {
  direction: ltr;
  /* default, just explicit */
}

/* Graphic side */
.hero-graphic-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic {
  width: 100%;
  max-width: 520px;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
  display: block;
}

.hero-graphic.visible {
  opacity: 1;
}

/* Dark mode: invert colors to match dark background */
[data-theme="dark"] .hero-graphic {
  filter: invert(1);
}

/* Centered overlay — lightning bolt or logo mark */
.hero-center-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s var(--ease-out) 0.8s;
}

.hero-center-overlay.visible {
  opacity: 1;
}

.overlay-bolt {
  width: 48px;
  height: 48px;
  color: var(--gray-900);
}

.overlay-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Show only the active variant */
[data-variant="bolt"] .overlay-logo {
  display: none;
}

[data-variant="logo"] .overlay-bolt {
  display: none;
}

/* Callouts */
.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.callout.visible {
  opacity: 1;
}

.callout-left {
  flex-direction: row-reverse;
}

.callout-right {
  flex-direction: row-reverse;
}

.callout-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-700);
  flex-shrink: 0;
}

.callout-line {
  width: 80px;
  height: 1px;
  flex-shrink: 0;
  color: var(--gray-400);
  overflow: visible;
}

.callout-text {
  padding: 0 12px;
  max-width: 200px;
}

.callout-text-right {
  text-align: right;
}

.callout-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.callout-arrow {
  font-size: 10px;
}

.callout-text p {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
  font-weight: 300;
}

/* Copy side */
.hero-copy {
  max-width: 480px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out) 0.2s, transform 0.9s var(--ease-out) 0.2s;
}

.hero-copy.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--gray-500);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats bar */
.hero-stats {
  max-width: 96rem;
  margin: 48px auto 0;
  padding: 28px clamp(24px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(32px, 5vw, 80px);
  border-top: 1px solid var(--gray-200);
  width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s var(--ease-out) 0.6s, transform 0.8s var(--ease-out) 0.6s;
}

.hero-stats.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--gray-200);
  opacity: 0.4;
}

/* ===========================
   PROTOCOL GRID
   =========================== */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}

.protocol-card {
  background: var(--white);
  padding: 48px 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.protocol-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.protocol-card:hover {
  background: var(--gray-50);
}

.protocol-number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gray-300);
  margin-bottom: 20px;
}

.protocol-card h3 {
  font-size: 19px;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.protocol-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  font-weight: 300;
}

/* ===========================
   NOT A TOKEN / DISTINCTION
   =========================== */
.distinction-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.distinction-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--gray-900);
}

.distinction-text p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 16px;
  font-weight: 300;
}

.distinction-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
}

.compare-col {
  padding: 32px 28px;
}

.compare-col-no {
  background: var(--white);
  border-right: 1px solid var(--gray-200);
}

.compare-col-yes {
  background: var(--gray-50);
}

.compare-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.compare-col-yes .compare-title {
  color: var(--accent);
}

.compare-col li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 400;
}

.compare-col li::before {
  content: '–';
  color: var(--gray-300);
  flex-shrink: 0;
}

.compare-col-yes li::before {
  content: '✓';
  color: var(--accent);
  flex-shrink: 0;
}

.compare-col li:last-child {
  border-bottom: none;
}

/* ===========================
   YIELD
   =========================== */
.yield-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.yield-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.yield-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.yield-card:nth-child(2) {
  transition-delay: 0.12s;
}

.yield-card-seed {
  background: var(--gray-900);
  border-color: var(--gray-900);
  color: var(--white);
}

.yield-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 28px;
  width: fit-content;
}

.yield-badge-standard {
  background: var(--gray-100);
  color: var(--gray-500);
}

.yield-apr {
  font-size: 80px;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 4px;
}

.yield-card:not(.yield-card-seed) .yield-apr {
  color: var(--gray-900);
}

.yield-pct {
  font-size: 40px;
  font-weight: 300;
  vertical-align: super;
}

.yield-apr-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 36px;
  font-weight: 300;
}

.yield-card:not(.yield-card-seed) .yield-apr-sub {
  color: var(--gray-400);
}

.yield-features {
  flex: 1;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.yield-card:not(.yield-card-seed) .yield-features {
  border-color: var(--gray-200);
}

.yield-features li {
  font-size: 13.5px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 10px;
}

.yield-card:not(.yield-card-seed) .yield-features li {
  border-color: var(--gray-100);
  color: var(--gray-600);
}

.yield-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.yield-card:not(.yield-card-seed) .yield-features li::before {
  background: var(--gray-300);
}

.yield-card-seed .btn-primary {
  background: var(--white);
  color: var(--gray-900);
  border-color: var(--white);
}

.yield-card-seed .btn-primary:hover {
  background: var(--gray-100);
  border-color: var(--gray-100);
}

/* ===========================
   SEED SECTION
   =========================== */
.seed-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.seed-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  margin-bottom: 24px;
  margin-top: 16px;
  color: var(--white);
}

.seed-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin-bottom: 16px;
  font-weight: 300;
}

.seed-highlight {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 36px 0;
}

.seed-highlight-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sh-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}

.sh-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

/* Chart */
.seed-visual {
  position: sticky;
  top: 100px;
}

.seed-chart {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 32px;
}

.seed-chart-header {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 32px;
}

.seed-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 160px;
}

.bar-item {
  flex: 1;
  height: var(--bar-h);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px 2px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 8px;
  position: relative;
  transition: background 0.2s;
  cursor: default;
  min-width: 0;
}

.bar-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.bar-item-max {
  background: rgba(255, 255, 255, 0.25);
}

.bar-item-max:hover {
  background: rgba(255, 255, 255, 0.35);
}

.bar-label {
  display: none;
  font-size: 9px;
}

.bar-val {
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
}

.bar-item-max .bar-val {
  color: rgba(255, 255, 255, 0.85);
}

.seed-chart-bars .bar-item:hover .bar-val {
  color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   OPPORTUNITY
   =========================== */
.opportunity-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 40px;
}

.opportunity-text p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 18px;
}

.opportunity-bold {
  font-weight: 500 !important;
  color: var(--gray-900) !important;
}

.opportunity-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 1px solid var(--gray-200);
  padding-left: 40px;
}

.opportunity-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.opportunity-stat-value {
  font-size: 28px;
  font-weight: 300;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
}

.opportunity-stat-label {
  font-size: 12.5px;
  color: var(--gray-400);
  font-weight: 300;
  line-height: 1.4;
}

.opportunity-tagline {
  font-size: 15px;
  color: var(--gray-500);
  font-style: italic;
  font-weight: 300;
  border-top: 1px solid var(--gray-200);
  padding-top: 28px;
}

@media (max-width: 640px) {
  .opportunity-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .opportunity-stats {
    border-left: none;
    border-top: 1px solid var(--gray-200);
    padding-left: 0;
    padding-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .opportunity-stat-value {
    font-size: 22px;
  }

  .opportunity-tagline {
    font-size: 14px;
  }
}

/* ===========================
   COMPOUND / GROW YOUR POSITION
   =========================== */
.compound-layout {
  max-width: 680px;
}

.compound-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  margin-bottom: 24px;
  margin-top: 16px;
  color: var(--gray-900);
}

.compound-text p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 16px;
  font-weight: 300;
}

.compound-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin: 32px 0;
}

.compound-stat {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.compound-stat:not(:last-child) {
  border-right: 1px solid var(--gray-200);
  padding-right: 32px;
}

.compound-stat:not(:first-child) {
  padding-left: 32px;
}

.compound-stat-value {
  font-size: 30px;
  font-weight: 300;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
}

.compound-stat-label {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 300;
  line-height: 1.4;
}

.compound-tagline {
  font-size: 13px;
  color: var(--gray-400);
  font-style: italic;
  font-weight: 300;
}

/* ===========================
   TRANSPARENCY
   =========================== */
.transparency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin-bottom: 40px;
}

.transparency-item {
  background: var(--white);
  padding: 36px 32px;
  transition: background 0.15s;
}

.transparency-item:hover {
  background: var(--gray-50);
}

.transparency-icon {
  width: 26px;
  height: 26px;
  color: var(--gray-300);
  margin-bottom: 18px;
}

.transparency-icon svg {
  width: 100%;
  height: 100%;
}

.transparency-item h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.transparency-item p {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.65;
  font-weight: 300;
}

.transparency-tagline {
  font-size: 15px;
  color: var(--gray-500);
  font-style: italic;
  font-weight: 300;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===========================
   TEAM — Portrait Grid
   =========================== */
.team-portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.team-portrait-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.team-portrait-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.team-portrait-card:nth-child(2) {
  transition-delay: 0.1s;
}

.team-portrait-card:nth-child(3) {
  transition-delay: 0.2s;
}

.team-portrait-card:nth-child(4) {
  transition-delay: 0.3s;
}

.team-photo-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 16px;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s var(--ease-out);
  filter: grayscale(8%);
}

.team-portrait-card:hover .team-photo {
  transform: scale(1.03);
}

.team-portrait-info {
  padding: 0;
}

.team-portrait-meta {
  padding-top: 0;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-portrait-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.team-portrait-role {
  font-size: 12.5px;
  color: var(--gray-500);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.team-portrait-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  font-weight: 300;
}

.team-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 300;
  font-style: italic;
}

.team-note svg {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
  flex-shrink: 0;
}

/* ===========================
   STATUS
   =========================== */
.status-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  border-left: 1px solid var(--gray-200);
  padding-left: 0;
}

.status-item {
  display: flex;
  gap: 32px;
  padding: 28px 0 28px 40px;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.status-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.status-item:nth-child(2) {
  transition-delay: 0.1s;
}

.status-item:nth-child(3) {
  transition-delay: 0.2s;
}

.status-item:nth-child(4) {
  transition-delay: 0.3s;
}

.status-item:nth-child(5) {
  transition-delay: 0.4s;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
  position: absolute;
  left: -4px;
}

.status-active .status-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-pale);
}

.status-upcoming .status-dot {
  background: var(--gray-300);
  border: 1.5px solid var(--gray-300);
}

.status-content h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.status-upcoming .status-content h3 {
  color: var(--gray-400);
}

.status-content p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  font-weight: 300;
}

.status-upcoming .status-content p {
  color: var(--gray-400);
}

/* ===========================
   CTA
   =========================== */
.section-cta {
  padding: 140px 0;
  border-top: 1px solid var(--gray-200);
}

.cta-block {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cta-graphic {
  width: 48px;
  height: 48px;
  color: var(--gray-300);
  margin-bottom: 28px;
}

.cta-bolt {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.cta-block h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.cta-block p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 36px;
}

.cta-actions {
  margin-bottom: 20px;
}

.cta-tagline {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  font-weight: 300;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  border-top: 1px solid var(--gray-200);
  padding: 36px 0;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  color: var(--gray-700);
}

.footer-logo .logo-icon {
  color: var(--gray-700);
}

.footer-nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.footer-nav a {
  font-size: 12px;
  color: var(--gray-400);
  transition: color 0.15s;
  letter-spacing: 0.02em;
}

.footer-nav a:hover {
  color: var(--gray-700);
}

.footer-copy {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ===========================
   ANIMATIONS (scroll observer)
   =========================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   HERO GLOW
   =========================== */
/* Hide the HTML element — we use body::after for full-page glow instead */
.hero-glow {
  display: none;
}

/* Full-page ambient green glow */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 80% 20%,
      rgba(42, 95, 63, 0.10) 0%,
      rgba(42, 95, 63, 0.03) 35%,
      transparent 65%),
    radial-gradient(ellipse at 15% 75%,
      rgba(42, 95, 63, 0.06) 0%,
      transparent 45%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-stats {
  position: relative;
  z-index: 1;
}

[data-theme="dark"] body::after {
  background:
    radial-gradient(ellipse at 80% 20%,
      rgba(76, 175, 117, 0.09) 0%,
      rgba(76, 175, 117, 0.03) 35%,
      transparent 65%),
    radial-gradient(ellipse at 15% 75%,
      rgba(76, 175, 117, 0.06) 0%,
      transparent 45%);
}

/* ===========================
   DOTTED GRID BACKGROUNDS
   =========================== */
.section-alt {
  background-image: radial-gradient(circle, var(--gray-300) 1px, transparent 1px);
  background-size: 28px 28px;
  background-color: var(--gray-50);
}

[data-theme="dark"] .section-alt {
  background-image: radial-gradient(circle, var(--gray-200) 1px, transparent 1px);
  background-color: var(--gray-50);
}

/* ===========================
   MARQUEE TICKER
   =========================== */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
  background: var(--white);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

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

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
  padding: 0 36px;
}

.marquee-dot {
  font-size: 8px;
  color: var(--accent);
  opacity: 0.7;
}

[data-theme="dark"] .marquee-wrap {
  background: #111110;
}

/* ===========================
   NUMBER COUNTER
   =========================== */
[data-count] {
  transition: none;
}

/* ===========================
   ENHANCED BUTTON HOVER
   =========================== */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover::after {
  opacity: 1;
}

/* ===========================
   CARD HOVER LIFT
   =========================== */
.protocol-card {
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.protocol-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.protocol-card.visible:hover {
  transform: translateY(-2px);
}

.transparency-item {
  transition: background 0.15s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}

.transparency-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* ===========================
   SECTION TAG ANIMATED UNDERLINE
   =========================== */
.section-tag {
  position: relative;
  cursor: default;
}

/* ===========================
   STAT VALUE GLOW (hero bar)
   =========================== */
.stat-value {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .stat-value {
  background: linear-gradient(135deg, #f0efeb 0%, #8f8e8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .container {
    padding: 0 28px;
  }

  .nav-inner {
    padding: 0 28px;
    gap: 20px;
  }

  .nav-links {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 28px 0;
    gap: 48px;
  }

  .hero-graphic-wrap {
    order: -1;
  }

  .hero-graphic {
    max-width: 340px;
    margin: 0 auto;
  }

  .callout {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px 28px;
  }

  .stat-divider {
    display: none;
  }

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

  .distinction-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .distinction-compare {
    grid-template-columns: 1fr;
  }

  .compare-col-no {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }

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

  .seed-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .seed-visual {
    position: relative;
    top: 0;
  }

  .transparency-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .compound-stat:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding-right: 0;
  }

  .compound-stat:not(:first-child) {
    padding-left: 0;
  }

  .team-portrait-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-nav {
    margin-left: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: auto;
  }

  .section-cta {
    padding: 100px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-portrait-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   SCROLL PROGRESS BAR
   =========================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.05s linear;
}

[data-theme="dark"] #scroll-progress {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(76, 175, 117, 0.6);
}

/* ===========================
   HERO CANVAS
   =========================== */
/* ===========================
   HERO ANIMATED DOT GRID
   =========================== */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(42, 95, 63, 0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  animation: heroGridDrift 25s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

[data-theme="dark"] .hero::before {
  background-image: radial-gradient(circle, rgba(76, 175, 117, 0.2) 1px, transparent 1px);
}

@keyframes heroGridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 36px 36px; }
}

.hero-inner,
.hero-stats {
  position: relative;
}

/* ===========================
   HERO STATS — GLASSMORPHISM
   =========================== */
.hero-stats {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .hero-stats {
  background: rgba(17, 17, 16, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top-color: rgba(255, 255, 255, 0.05);
  border-bottom-color: var(--gray-200);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.2);
}

/* Live stat */
.stat-live {
  position: relative;
  flex-direction: column;
}

.live-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: livePulse 1.8s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(42, 95, 63, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(42, 95, 63, 0); }
}

[data-theme="dark"] .live-dot {
  background: var(--accent);
}

@keyframes livePulseDark {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 117, 0.6); }
  50%       { box-shadow: 0 0 0 5px rgba(76, 175, 117, 0); }
}

[data-theme="dark"] .live-dot {
  animation-name: livePulseDark;
}

.live-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

/* ===========================
   SPLIT-TEXT HERO TITLE
   =========================== */
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px) skewX(-4deg);
  transition: opacity 0.4s var(--ease-out),
              transform 0.5s var(--ease-out);
}

.char-space {
  transform: none;
}

.char.char-in {
  opacity: 1;
  transform: translateY(0) skewX(0deg);
}

/* Hero copy: let chars handle title, but sub+actions still fade in */
.hero-copy {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out) 0.15s, transform 0.8s var(--ease-out) 0.15s;
}

.hero-copy.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Title resets opacity so chars can animate independently */
.hero-title {
  opacity: 1 !important;
}

/* ===========================
   ENHANCED HERO TITLE STYLE
   =========================== */
.hero-title {
  color: var(--gray-900);
}

[data-theme="dark"] .hero-title {
  color: #f0efeb;
}

/* ===========================
   ENHANCED SECTION TITLES
   =========================== */
.section-title,
.compound-text h2,
.distinction-text h2,
.seed-text h2 {
  position: relative;
}

/* Accent underline on section tags */
.section-tag::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 20px;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}

.section-tag:hover::after {
  width: 100%;
}

/* ===========================
   MAGNETIC BUTTON HOVER
   =========================== */
.btn-primary {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.08));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: scale(0.97);
}

/* ===========================
   PROTOCOL GRID — ENHANCED
   =========================== */
.protocol-grid {
  border: 1px solid var(--gray-200);
  background: var(--gray-200);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.protocol-card {
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.protocol-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(42,95,63,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.protocol-card:hover::before {
  opacity: 1;
}

/* ===========================
   OPPORTUNITY STATS ANIMATION
   =========================== */
.opportunity-stat-value {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .opportunity-stat-value {
  background: linear-gradient(135deg, #f0efeb 0%, #8f8e8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ===========================
   STATUS ITEMS — ENHANCED
   =========================== */
.status-active .status-dot {
  animation: dotGlow 2s ease-in-out infinite;
}

@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-pale); }
  50%       { box-shadow: 0 0 0 6px rgba(42, 95, 63, 0.08); }
}

[data-theme="dark"] .status-active .status-dot {
  box-shadow: 0 0 0 3px rgba(76, 175, 117, 0.15);
  animation: dotGlowDark 2s ease-in-out infinite;
}

@keyframes dotGlowDark {
  0%, 100% { box-shadow: 0 0 0 3px rgba(76, 175, 117, 0.15); }
  50%       { box-shadow: 0 0 0 7px rgba(76, 175, 117, 0.04); }
}

/* ===========================
   CTA SECTION — ENHANCED
   =========================== */
.section-cta {
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(42,95,63,0.06) 0%, transparent 70%);
  pointer-events: none;
}

[data-theme="dark"] .section-cta::before {
  background: radial-gradient(ellipse, rgba(76,175,117,0.07) 0%, transparent 70%);
}

/* ===========================
   FOOTER — ENHANCED
   =========================== */
.footer {
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

/* ===========================
   GLOBAL SMOOTH TRANSITIONS
   =========================== */
body,
.hero-stats,
.protocol-card,
.yield-card,
.transparency-item,
#nav {
  transition-property: background-color, color, border-color;
  transition-duration: 0.3s;
  transition-timing-function: var(--ease-out);
}

/* ============================================================
   NEXT-GEN DESIGN UPGRADE
   ============================================================ */

/* ── Grain overlay ─────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  mix-blend-mode: overlay;
  animation: grainShift 8s steps(10) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(3%, 1%); }
  30%  { transform: translate(-1%, 4%); }
  40%  { transform: translate(4%, -1%); }
  50%  { transform: translate(-3%, 2%); }
  60%  { transform: translate(1%, -4%); }
  70%  { transform: translate(-4%, 3%); }
  80%  { transform: translate(2%, -2%); }
  90%  { transform: translate(-2%, 4%); }
  100% { transform: translate(0, 0); }
}

[data-theme="dark"] .grain {
  opacity: 0.045;
}

/* ── Nav — frosted glass ───────────────────────────────────── */
#nav {
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
}

/* ── Hero badge ────────────────────────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gray-600);
  background: var(--white);
  text-decoration: none;
  margin-bottom: 28px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hero-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-pale);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}

.hero-badge-arrow {
  margin-left: 2px;
  transition: transform 0.2s var(--ease-out);
}

.hero-badge:hover .hero-badge-arrow {
  transform: translateX(3px);
}

[data-theme="dark"] .hero-badge {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(240, 239, 235, 0.5);
}

[data-theme="dark"] .hero-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(76, 175, 117, 0.08);
}

/* ── Hero — dramatic typography that fits 2 lines ──────────── */
.hero-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  max-width: 440px;
  opacity: 0.72;
}

/* ── Hero stats — bigger numbers ───────────────────────────── */
.stat-value {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.1em;
}


/* ── CTA Buttons — premium pill style ─────────────────────── */
.btn-primary {
  border-radius: 100px;
  padding: 13px 28px;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease-out),
              box-shadow 0.2s var(--ease-out),
              background 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

[data-theme="dark"] .btn-primary {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.12);
}

.btn-ghost {
  border-radius: 100px;
  padding: 13px 24px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s var(--ease-out), color 0.2s;
}

.btn-ghost:hover {
  gap: 10px;
}

/* ── Section titles — bigger ───────────────────────────────── */
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

/* ── Opportunity quote — more editorial ────────────────────── */
.opportunity-tagline {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 300;
  letter-spacing: -0.025em;
  font-style: italic;
  line-height: 1.4;
  opacity: 0.55;
  border: none;
  padding: 48px 0 0;
  text-align: center;
}

/* ── Protocol cards — deeper hover ────────────────────────── */
.protocol-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

[data-theme="dark"] .protocol-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* ── Yield card seed — gradient border ─────────────────────── */
.yield-card-seed {
  position: relative;
}

/* Replace border with gradient border in light mode */
[data-theme="light"] .yield-card-seed,
:not([data-theme="dark"]) .yield-card-seed {
  border: none;
  background: linear-gradient(var(--gray-900), var(--gray-900)) padding-box,
              linear-gradient(145deg, rgba(42,95,63,0.7) 0%, rgba(42,95,63,0.15) 100%) border-box;
  border: 1px solid transparent;
}

/* Dark mode seed card gradient border */
[data-theme="dark"] .yield-card-seed {
  background: linear-gradient(#1e2420, #1a1e1c) padding-box,
              linear-gradient(145deg, rgba(76,175,117,0.5) 0%, rgba(76,175,117,0.1) 100%) border-box;
  border: 1px solid transparent;
}

/* ── Stat value gradient text ──────────────────────────────── */
.opportunity-stat-value {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 200;
  letter-spacing: -0.04em;
}

/* ── Section separator line ────────────────────────────────── */
.section + .section {
  border-top: 1px solid var(--gray-200);
}

/* ── Hero animated dot grid — softer ──────────────────────── */
.hero::before {
  opacity: 0.5;
  background-size: 40px 40px;
  background-image: radial-gradient(circle, rgba(42, 95, 63, 0.14) 1px, transparent 1px);
}

[data-theme="dark"] .hero::before {
  background-image: radial-gradient(circle, rgba(76, 175, 117, 0.16) 1px, transparent 1px);
  opacity: 0.6;
}

/* ── Split-text — chars always visible, only container fades ── */
.char {
  display: inline-block;
  opacity: 1;
  transform: none;
}

/* Keeps chars within a word together — prevents mid-word line breaks */
.char-word {
  display: inline-block;
  white-space: nowrap;
}

/* ── Scroll progress — green glow ─────────────────────────── */
#scroll-progress {
  height: 2px;
  background: linear-gradient(to right, var(--accent), rgba(42,95,63,0.4));
}

[data-theme="dark"] #scroll-progress {
  background: linear-gradient(to right, var(--accent), rgba(76,175,117,0.3));
  box-shadow: 0 0 12px rgba(76, 175, 117, 0.5);
}

/* ── Marquee ticker — crisper ──────────────────────────────── */
.marquee-item {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.marquee-dot {
  color: var(--accent);
  opacity: 0.9;
}

/* =======================================================
   ENERGY CORE — hero centerpiece
   ======================================================= */
:root {
  --core-bright: #4caf75;
  --core-fill: rgba(42, 95, 63, 0.03);
  --core-stroke: #2a5f3f;
  --logo-invert: 0;
}

[data-theme="dark"] {
  --core-bright: #6fe3a0;
  --core-fill: rgba(111, 227, 160, 0.04);
  --core-stroke: #6fe3a0;
  --logo-invert: 1;
}

.energy-core {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  color: var(--core-stroke);
  isolation: isolate;
}

/* Fade-in on load */
.energy-core {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1.4s var(--ease-out) 0.2s, transform 1.4s var(--ease-out) 0.2s;
}

.hero-graphic-wrap .energy-core,
.energy-core.visible {
  opacity: 1;
  transform: scale(1);
}

.core-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
}

.core-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: plus-lighter;
}

[data-theme="dark"] .core-canvas {
  mix-blend-mode: screen;
}

/* Aura — ambient glow behind everything */
.core-aura {
  animation: coreAuraPulse 5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes coreAuraPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.06); }
}

/* Rings — viewBox is "-220 -220 440 440" so user coord (0,0) is the geometric
   center. For CSS transforms on SVG elements, explicit numeric transform-origin
   is interpreted in user-coordinates — this works reliably across browsers
   without needing transform-box. */
.ring,
.ring-ticks,
.bolts,
.nodes,
.core-orb {
  transform-origin: 0 0;
}

.ring-outer {
  animation: ringSpin 60s linear infinite;
}

.ring-mid-arc {
  animation: ringSpin 5s linear infinite;
  filter: drop-shadow(0 0 6px var(--core-bright));
}

.ring-inner {
  animation: ringSpinReverse 14s linear infinite;
  opacity: 0.7;
}

.ring-ticks {
  animation: ringSpin 120s linear infinite;
  opacity: 0.45;
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

@keyframes ringSpinReverse {
  to { transform: rotate(-360deg); }
}

/* Lightning bolts — stagger the flashes */
.bolts {
  color: var(--core-bright);
  mix-blend-mode: screen;
}

.bolt {
  opacity: 0;
  filter: drop-shadow(0 0 4px var(--core-bright));
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
}

.bolt-1 { animation: boltFlash 4.1s var(--ease-out) infinite;  animation-delay: 0s; }
.bolt-2 { animation: boltFlash 3.7s var(--ease-out) infinite;  animation-delay: 0.4s; }
.bolt-3 { animation: boltFlash 4.3s var(--ease-out) infinite;  animation-delay: 0.9s; }
.bolt-4 { animation: boltFlash 3.9s var(--ease-out) infinite;  animation-delay: 1.4s; }
.bolt-5 { animation: boltFlash 4.2s var(--ease-out) infinite;  animation-delay: 1.9s; }
.bolt-6 { animation: boltFlash 3.6s var(--ease-out) infinite;  animation-delay: 2.3s; }
.bolt-7 { animation: boltFlash 4.0s var(--ease-out) infinite;  animation-delay: 2.7s; }
.bolt-8 { animation: boltFlash 3.8s var(--ease-out) infinite;  animation-delay: 3.1s; }

@keyframes boltFlash {
  0%          { opacity: 0; stroke-dashoffset: 180; }
  6%          { opacity: 1; stroke-dashoffset: 0; }
  12%         { opacity: 0.3; }
  16%         { opacity: 0.9; }
  22%         { opacity: 0; stroke-dashoffset: 0; }
  100%        { opacity: 0; stroke-dashoffset: 180; }
}

/* BESS nodes — pulsing dots around the ring */
.nodes {
  color: var(--core-bright);
}

.node {
  fill: currentColor;
  filter: drop-shadow(0 0 3px currentColor);
  transform-origin: center;
  transform-box: fill-box;
}

.n1 { animation: nodePulse 2.8s ease-in-out infinite; animation-delay: 0s; }
.n2 { animation: nodePulse 2.8s ease-in-out infinite; animation-delay: 0.35s; }
.n3 { animation: nodePulse 2.8s ease-in-out infinite; animation-delay: 0.7s; }
.n4 { animation: nodePulse 2.8s ease-in-out infinite; animation-delay: 1.05s; }
.n5 { animation: nodePulse 2.8s ease-in-out infinite; animation-delay: 1.4s; }
.n6 { animation: nodePulse 2.8s ease-in-out infinite; animation-delay: 1.75s; }
.n7 { animation: nodePulse 2.8s ease-in-out infinite; animation-delay: 2.1s; }
.n8 { animation: nodePulse 2.8s ease-in-out infinite; animation-delay: 2.45s; }

@keyframes nodePulse {
  0%, 100% { opacity: 0.4; r: 2.5; }
  50%      { opacity: 1;   r: 4; }
}

/* Core orb pulse */
.core-orb circle {
  transform-origin: center;
}

.core-ring-pulse {
  animation: corePulse 2.4s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes corePulse {
  0%   { opacity: 0.85; transform: scale(1); }
  100% { opacity: 0;    transform: scale(1.45); }
}

/* Center glyph — real Megawatt mark, mask-based electric treatment */
.core-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Logo is wider than tall (~1.38:1), so the container is landscape */
  width: 34%;
  aspect-ratio: 1.38 / 1;
  pointer-events: none;
  z-index: 3;
}

.core-glyph {
  position: relative;
  width: 100%;
  height: 100%;
  animation: glyphBreathe 3.6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--core-bright) 55%, transparent))
          drop-shadow(0 0 22px color-mix(in srgb, var(--core-bright) 35%, transparent));
}

@keyframes glyphBreathe {
  0%, 100% { transform: scale(1);    }
  50%      { transform: scale(1.04); }
}

/* All the masked layers share the same logo silhouette */
.glyph-body,
.glyph-sweep,
.glyph-edge {
  position: absolute;
  inset: 0;
  -webkit-mask-image: url('mwlogo-mark.svg');
          mask-image: url('mwlogo-mark.svg');
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}

/* Soft back-halo — a radial glow, no mask so it bleeds outward */
.glyph-halo {
  position: absolute;
  inset: -18%;
  background: radial-gradient(
    ellipse 55% 50% at 50% 55%,
    color-mix(in srgb, var(--core-bright) 65%, transparent) 0%,
    color-mix(in srgb, var(--core-bright) 20%, transparent) 40%,
    transparent 70%
  );
  opacity: 0.7;
  animation: glyphHaloPulse 3.6s ease-in-out infinite;
  z-index: 0;
}

@keyframes glyphHaloPulse {
  0%, 100% { opacity: 0.55; transform: scale(1);    }
  50%      { opacity: 0.9;  transform: scale(1.1);  }
}

/* Shadow silhouette — slightly offset + blurred, sits behind the body */
.glyph-shadow {
  position: absolute;
  inset: 0;
  background: var(--core-bright);
  -webkit-mask-image: url('mwlogo-mark.svg');
          mask-image: url('mwlogo-mark.svg');
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  filter: blur(6px);
  opacity: 0.55;
  transform: translate(0, 2px);
  z-index: 0;
}

/* Main body — vertical gradient: bright top, rich green middle, deep bottom */
.glyph-body {
  background: linear-gradient(
    178deg,
    #bffad2 0%,
    #6fe3a0 25%,
    #4caf75 55%,
    #2a5f3f 85%,
    #1b4028 100%
  );
  z-index: 1;
}

/* Top highlight edge — a faint white sheen on the upper edges only,
   achieved by a second body layer with a top-biased gradient */
.glyph-edge {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.25) 8%,
    rgba(255, 255, 255, 0)    20%
  );
  mix-blend-mode: screen;
  opacity: 0.9;
  z-index: 3;
}

/* Electric sweep — a diagonal bright band moving across, clipped to the logo */
.glyph-sweep {
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.0) 46%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.0) 54%,
    transparent 58%,
    transparent 100%
  );
  background-size: 260% 100%;
  background-position: 160% 0;
  mix-blend-mode: screen;
  animation: glyphSweep 3.4s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  z-index: 2;
  opacity: 0;
}

@keyframes glyphSweep {
  0%   { background-position: 160% 0; opacity: 0;    }
  15%  {                               opacity: 0.95; }
  85%  {                               opacity: 0.95; }
  100% { background-position: -60% 0;  opacity: 0;    }
}

/* Dark mode: bump the glow intensity */
[data-theme="dark"] .core-glyph {
  filter: drop-shadow(0 0 14px var(--core-bright))
          drop-shadow(0 0 32px color-mix(in srgb, var(--core-bright) 50%, transparent));
}

[data-theme="dark"] .glyph-body {
  background: linear-gradient(
    178deg,
    #d8ffe7 0%,
    #8cf0b8 22%,
    #5fd492 50%,
    #2fb070 80%,
    #0f4a2a 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .core-glyph,
  .glyph-halo,
  .glyph-sweep {
    animation: none !important;
  }
}

/* Floating data readouts */
.core-readout {
  position: absolute;
  font-family: 'Inter', monospace;
  font-variant-numeric: tabular-nums;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--white) 72%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, var(--core-bright) 22%, transparent);
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  animation: readoutIn 0.8s var(--ease-out) forwards;
  box-shadow: 0 8px 28px color-mix(in srgb, var(--core-bright) 10%, transparent);
}

.core-readout-top {
  top: 6%;
  right: -8%;
  animation-delay: 1.2s;
}

.core-readout-bottom {
  bottom: 8%;
  left: -10%;
  animation-delay: 1.5s;
}

@keyframes readoutIn {
  to { opacity: 1; transform: translateY(0); }
}

.core-readout .r-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  font-weight: 500;
}

.core-readout .r-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.r-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--core-bright);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--core-bright) 60%, transparent);
  animation: rDotPulse 1.6s ease-out infinite;
}

@keyframes rDotPulse {
  0%   { box-shadow: 0 0 0 0   color-mix(in srgb, var(--core-bright) 55%, transparent); }
  100% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--core-bright) 0%,  transparent); }
}

/* Hide the old .hero-graphic img rules are fine — img no longer exists */

/* Responsive — smaller core on mobile */
@media (max-width: 820px) {
  .energy-core {
    max-width: 360px;
  }

  .core-readout {
    padding: 8px 10px;
  }

  .core-readout-top    { right: -4%; }
  .core-readout-bottom { left: -4%;  }
}

@media (max-width: 520px) {
  .energy-core {
    max-width: 300px;
  }

  .core-readout {
    font-size: 10px;
  }

  .core-readout .r-value {
    font-size: 12px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .ring-outer,
  .ring-mid-arc,
  .ring-inner,
  .ring-ticks,
  .core-aura,
  .core-mark,
  .core-ring-pulse,
  .bolt,
  .node,
  .r-dot,
  .circuit-grid,
  .flow-line path,
  .section-reveal {
    animation: none !important;
  }
}

/* =======================================================
   PAGE-WIDE ELECTRIC TREATMENT
   ======================================================= */

/* ── Hero background: circuit grid with moving energy line ── */
.hero {
  overflow: hidden;
}

.hero::before {
  /* Upgrade dot grid to a combined dot + faint line grid */
  background-image:
    radial-gradient(circle, rgba(111, 227, 160, 0.22) 1px, transparent 1px),
    linear-gradient(to right, rgba(111, 227, 160, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(111, 227, 160, 0.06) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 48px 48px;
  opacity: 0.75;
  animation: heroGridDrift 35s linear infinite;
}

[data-theme="dark"] .hero::before {
  background-image:
    radial-gradient(circle, rgba(111, 227, 160, 0.28) 1px, transparent 1px),
    linear-gradient(to right, rgba(111, 227, 160, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(111, 227, 160, 0.07) 1px, transparent 1px);
  opacity: 0.85;
}

/* Horizontal scan line sweeping across the hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 35%,
    color-mix(in srgb, var(--core-bright) 18%, transparent) 50%,
    transparent 65%,
    transparent 100%
  );
  mix-blend-mode: plus-lighter;
  transform: translateX(-100%);
  animation: heroScan 8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  z-index: 0;
  opacity: 0.6;
}

[data-theme="dark"] .hero::after {
  opacity: 0.9;
}

@keyframes heroScan {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%);  }
}

/* ── Electric button states ────────────────────────────── */
.btn-primary {
  transition: transform 0.25s var(--ease-out),
              box-shadow 0.35s var(--ease-out),
              background 0.25s var(--ease-out);
}

.btn-primary:hover {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--core-bright) 45%, transparent),
    0 0 24px  color-mix(in srgb, var(--core-bright) 40%, transparent),
    0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--core-bright) 65%, transparent),
    0 0 28px  color-mix(in srgb, var(--core-bright) 55%, transparent),
    0 6px 20px rgba(0, 0, 0, 0.5);
}

.btn-ghost,
.btn-outline-light {
  transition: transform 0.25s var(--ease-out),
              box-shadow 0.3s var(--ease-out),
              border-color 0.25s var(--ease-out),
              color 0.2s var(--ease-out);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--core-bright) 60%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--core-bright) 25%, transparent);
  color: var(--core-bright);
}

/* ── Hero badge: electric glow ─────────────────────────── */
.hero-badge {
  position: relative;
  overflow: hidden;
}

.hero-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    color-mix(in srgb, var(--core-bright) 35%, transparent) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: badgeShimmer 4.5s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
}

@keyframes badgeShimmer {
  0%, 60%, 100% { transform: translateX(-100%); }
  80%           { transform: translateX(100%);  }
}

.hero-badge-dot {
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--core-bright) 60%, transparent);
  animation: rDotPulse 1.6s ease-out infinite;
}

/* ── Stats counter: accent line under the ticker ──────── */
.hero-stats .stat-value {
  position: relative;
  display: inline-block;
}

/* ── Protocol / Yield cards: accent edge glow on hover ── */
.protocol-card,
.yield-card,
.transparency-item,
.team-portrait-card,
.status-item {
  position: relative;
  transition: transform 0.35s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              border-color 0.3s var(--ease-out);
}

.protocol-card::before,
.transparency-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at var(--mx, 50%) var(--my, 0%),
    color-mix(in srgb, var(--core-bright) 14%, transparent) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.protocol-card:hover::before,
.transparency-item:hover::before {
  opacity: 1;
}

.protocol-card:hover,
.transparency-item:hover,
.team-portrait-card:hover {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--core-bright) 25%, transparent),
    0 12px 32px color-mix(in srgb, var(--core-bright) 10%, transparent);
}

[data-theme="dark"] .protocol-card:hover,
[data-theme="dark"] .transparency-item:hover,
[data-theme="dark"] .team-portrait-card:hover {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--core-bright) 35%, transparent),
    0 14px 40px color-mix(in srgb, var(--core-bright) 18%, transparent);
}

/* ── Yield-card: seed card gets a more dramatic treatment ── */
.yield-card-seed {
  position: relative;
  overflow: hidden;
}

.yield-card-seed::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--core-bright) 60%, transparent) 0%,
    transparent 35%,
    transparent 65%,
    color-mix(in srgb, var(--core-bright) 50%, transparent) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.yield-card-seed:hover::after {
  opacity: 1;
}

/* ── Section tag: bolt prefix ───────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--core-bright);
  box-shadow: 0 0 8px var(--core-bright);
  flex-shrink: 0;
  animation: rDotPulse 2.2s ease-out infinite;
}

/* ── Section reveal on scroll: slide + glow ────────────── */
.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.section-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Marquee: brighter accent ──────────────────────────── */
[data-theme="dark"] .marquee-wrap {
  border-top: 1px solid color-mix(in srgb, var(--core-bright) 18%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--core-bright) 18%, transparent);
}

.marquee-dot {
  text-shadow: 0 0 8px var(--core-bright);
}

/* ── Status dots: stronger glow on active ──────────────── */
.status-active .status-dot {
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--core-bright) 60%, transparent);
  animation: rDotPulse 1.8s ease-out infinite;
}

/* ── Scroll progress: add glow ────────────────────────── */
#scroll-progress {
  box-shadow: 0 0 12px var(--core-bright);
}

/* ── Section title: gradient text in dark mode ────────── */
[data-theme="dark"] .section-title,
[data-theme="dark"] .compound-text h2,
[data-theme="dark"] .distinction-text h2,
[data-theme="dark"] .seed-text h2 {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #d4d3cf 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── CTA section: make it feel like the payoff ─────────── */
.section-cta {
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 60%,
    color-mix(in srgb, var(--core-bright) 14%, transparent) 0%,
    transparent 55%
  );
  pointer-events: none;
}

[data-theme="dark"] .section-cta::before {
  background: radial-gradient(
    ellipse at 50% 60%,
    color-mix(in srgb, var(--core-bright) 18%, transparent) 0%,
    transparent 60%
  );
}

/* ── Logo in nav: subtle glow in dark mode ─────────────── */
[data-theme="dark"] .logo-icon {
  filter: invert(1) drop-shadow(0 0 8px color-mix(in srgb, var(--core-bright) 50%, transparent));
}

/* =======================================================
   DOWN-PAGE SECTIONS — electric treatments
   ======================================================= */

/* ── Status timeline: vertical energy line ─────────────── */
.status-list {
  position: relative;
}

.status-list::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--core-bright) 70%, transparent) 0%,
    color-mix(in srgb, var(--core-bright) 40%, transparent) 55%,
    color-mix(in srgb, var(--core-bright) 8%, transparent) 100%
  );
  pointer-events: none;
}

.status-list::after {
  /* Flowing pulse traveling down the line */
  content: '';
  position: absolute;
  left: 4.5px;
  width: 2px;
  height: 48px;
  top: 12px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--core-bright) 50%,
    transparent 100%
  );
  box-shadow: 0 0 12px var(--core-bright);
  border-radius: 2px;
  animation: statusFlow 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes statusFlow {
  0%   { transform: translateY(0);                  opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(calc(100% + 400px)); opacity: 0; }
}

.status-dot {
  position: relative;
  z-index: 1;
}

.status-active .status-dot {
  background: var(--core-bright) !important;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--core-bright) 20%, transparent),
    0 0 12px var(--core-bright);
}

.status-upcoming .status-dot {
  background: color-mix(in srgb, var(--core-bright) 25%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--core-bright) 35%, transparent);
  box-shadow: none;
  animation: none;
}

/* ── Seed Pool bar chart: animated rise + gradient fill ──── */
.bar-item {
  position: relative;
  overflow: hidden;
  /* Start flat, animate to --bar-h when .seed-chart is in view */
  height: 0 !important;
  transition: height 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.18) 100%
  ) !important;
}

.bar-item::after {
  /* Glowing top edge */
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 2px;
  background: var(--core-bright);
  box-shadow: 0 0 10px var(--core-bright);
  opacity: 0;
  transition: opacity 0.5s ease 0.6s;
}

.seed-chart.in-view .bar-item {
  height: var(--bar-h) !important;
}

.seed-chart.in-view .bar-item::after {
  opacity: 0.9;
}

.seed-chart.in-view .bar-item:nth-child(1)  { transition-delay: 0.00s; }
.seed-chart.in-view .bar-item:nth-child(2)  { transition-delay: 0.06s; }
.seed-chart.in-view .bar-item:nth-child(3)  { transition-delay: 0.12s; }
.seed-chart.in-view .bar-item:nth-child(4)  { transition-delay: 0.18s; }
.seed-chart.in-view .bar-item:nth-child(5)  { transition-delay: 0.24s; }
.seed-chart.in-view .bar-item:nth-child(6)  { transition-delay: 0.30s; }
.seed-chart.in-view .bar-item:nth-child(7)  { transition-delay: 0.36s; }
.seed-chart.in-view .bar-item:nth-child(8)  { transition-delay: 0.42s; }
.seed-chart.in-view .bar-item:nth-child(9)  { transition-delay: 0.48s; }
.seed-chart.in-view .bar-item:nth-child(10) { transition-delay: 0.54s; }

.bar-item-max {
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--core-bright) 14%, rgba(255,255,255,0.06)) 0%,
    color-mix(in srgb, var(--core-bright) 45%, rgba(255,255,255,0.18)) 100%
  ) !important;
  box-shadow: 0 0 24px color-mix(in srgb, var(--core-bright) 25%, transparent);
}

.bar-item-max::after {
  background: #ffffff;
  box-shadow: 0 0 14px #ffffff, 0 0 28px var(--core-bright);
}

/* ── Transparency cards: icon glow on hover ────────────── */
.transparency-item {
  overflow: hidden;
}

.transparency-item::after {
  /* Corner accent triangle */
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(
    225deg,
    color-mix(in srgb, var(--core-bright) 40%, transparent) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.transparency-item:hover::after {
  opacity: 1;
}

.transparency-icon {
  position: relative;
  transition: transform 0.4s var(--ease-out),
              color 0.4s var(--ease-out);
}

.transparency-item:hover .transparency-icon {
  transform: scale(1.08);
  color: var(--core-bright);
}

.transparency-item:hover .transparency-icon svg {
  filter: drop-shadow(0 0 10px var(--core-bright));
}

/* ── Distinction (Not a Token): heavier visual contrast ── */
.compare-col {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.compare-col-no {
  filter: grayscale(0.3);
  opacity: 0.88;
}

.compare-col-no::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(180, 70, 60, 0.04) 100%
  );
  pointer-events: none;
}

.compare-col-yes {
  position: relative;
}

.compare-col-yes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 100%,
    color-mix(in srgb, var(--core-bright) 14%, transparent) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.compare-col-yes::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--core-bright) 50%,
    transparent 100%
  );
  opacity: 0.7;
  box-shadow: 0 0 10px var(--core-bright);
}

/* ── Team cards: faint border accent + hover lift ─────── */
.team-portrait-card {
  overflow: hidden;
  position: relative;
}

.team-portrait-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--core-bright) 30%, transparent),
    transparent 40%,
    transparent 70%,
    color-mix(in srgb, var(--core-bright) 20%, transparent)
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
  padding: 1px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.team-portrait-card:hover::before {
  opacity: 1;
}

.team-portrait-role {
  color: color-mix(in srgb, var(--core-bright) 75%, var(--gray-500));
}

[data-theme="dark"] .team-portrait-role {
  color: var(--core-bright);
  opacity: 0.85;
}

/* ── CTA section: floating glyph + stronger glow ───────── */
.cta-block {
  position: relative;
}

.cta-graphic {
  position: relative;
  display: inline-block;
}

.cta-bolt {
  filter: drop-shadow(0 0 20px color-mix(in srgb, var(--core-bright) 50%, transparent));
  animation: ctaBoltFloat 4s ease-in-out infinite;
}

@keyframes ctaBoltFloat {
  0%, 100% {
    transform: translateY(0);
    filter: invert(var(--logo-invert, 0))
            drop-shadow(0 0 16px color-mix(in srgb, var(--core-bright) 45%, transparent));
  }
  50% {
    transform: translateY(-6px);
    filter: invert(var(--logo-invert, 0))
            drop-shadow(0 0 28px color-mix(in srgb, var(--core-bright) 65%, transparent));
  }
}

.cta-block h2 {
  position: relative;
}

[data-theme="dark"] .cta-block h2 {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    color-mix(in srgb, var(--core-bright) 40%, #d4d3cf) 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Opportunity stats: highlight on scroll-in ─────────── */
.opportunity-stat {
  position: relative;
  padding-left: 16px;
  transition: transform 0.4s var(--ease-out);
}

.opportunity-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--core-bright) 80%, transparent) 0%,
    transparent 100%
  );
  border-radius: 2px;
}

/* ── Yield APR numbers: subtle shimmer on hero-style tabs ── */
.yield-apr {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--core-bright) 90%, #ffffff) 0%,
    var(--core-bright) 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .yield-card-seed .yield-apr {
  background: linear-gradient(180deg, #ffffff 0%, var(--core-bright) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}