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

:root {
  --green: #285A48;
  --bg: #091413;
  --white: #FFFFFF;
  --dim: rgba(255,255,255,0.45);
  --faint: rgba(255,255,255,0.08);
  --px: clamp(20px, 8vw, 120px);
  --content-width: 1080px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--white);
  overflow-x: hidden;
}

#node-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(9,20,19,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--faint);
  gap: 24px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span { color: var(--green); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--green);
  color: white;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: 0.85; }

/* TYPOGRAPHY */
.headline {
  font-size: 80px;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
  max-width: var(--content-width);
}
.headline .accent {
  background: var(--green);
  color: #fff;
  padding: 2px 10px;
  border-radius: 6px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.subtext {
  font-size: 20px;
  color: var(--dim);
  line-height: 1.65;
  max-width: 560px;
  font-weight: 400;
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  color: #4db388;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

/* BUTTONS */
.btn-primary {
  background: var(--green);
  color: white;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  color: rgba(255,255,255,0.6);
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  display: inline-block;
}
.btn-ghost:hover { color: white; border-color: rgba(255,255,255,0.4); }

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px var(--px) 80px;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 48px;
  margin-bottom: 32px;
}

.pill-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.04);
  letter-spacing: -0.01em;
}
.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4db388;
  flex-shrink: 0;
}

/* STATS */
#stats {
  padding: 0 var(--px) 80px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats-row {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: var(--content-width);
}

.stat-item {
  flex: 1;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
}
.stat-item:first-child { padding-left: 0; }

.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.5;
  max-width: 180px;
}

/* HOW IT WORKS */
#how {
  padding: 100px var(--px) 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.steps {
  display: flex;
  gap: 12px;
  margin-top: 64px;
  width: 100%;
  max-width: var(--content-width);
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.step.active { z-index: 2; }

.step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px;
  width: 100%;
  border: 1px solid rgba(176,228,204,0.12);
  border-radius: 12px;
  transition: border-color 0.25s, background 0.25s;
  user-select: none;
  position: relative;
  z-index: 2;
  background: rgba(40,90,72,0.18);
}
.step:hover .step-header {
  border-color: rgba(176,228,204,0.35);
  background: rgba(40,90,72,0.3);
}
.step.active .step-header {
  border-color: var(--green);
  background: rgba(40,90,72,0.35);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
}

.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  transition: all 0.25s;
}
.step.active .step-num {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.step-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.step-body {
  width: 100%;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  position: relative;
  z-index: 1;
}
.step.active .step-body {
  max-height: 320px;
  opacity: 1;
}

.step-body-inner {
  padding: 22px 20px 24px;
  font-size: 15px;
  color: var(--dim);
  line-height: 1.7;
  text-align: center;
  border: 1px solid var(--green);
  border-top: none;
  border-radius: 0 0 12px 12px;
  background: var(--bg);
}

/* LOGO CAROUSEL */
#supporters {
  padding: 72px var(--px) 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.carousel-outer {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 180px;
}

.logo-img {
  max-width: 260px;
  max-height: 160px;
  object-fit: contain;
  opacity: 0.9;
  filter: none;
  transition: opacity 0.3s;
}
.logo-item:hover .logo-img {
  opacity: 1;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CTA */
#cta {
  padding: 100px var(--px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 70vh;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.email-form {
  display: flex;
  gap: 12px;
  margin-top: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.email-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 16px 24px;
  font-size: 15px;
  font-family: inherit;
  color: white;
  width: 300px;
  outline: none;
  transition: border-color 0.2s;
}
.email-input::placeholder { color: rgba(255,255,255,0.25); }
.email-input:focus { border-color: var(--green); }

/* PAGE HERO (non-home pages) */
.page-hero {
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px var(--px) 60px;
  position: relative;
  z-index: 1;
}
.page-hero .headline { font-size: 62px; line-height: 1.15; }
.page-hero .subtext { margin: 0 auto; }

/* SECTION BASE */
.section-body {
  position: relative;
  z-index: 1;
  padding: 0 var(--px) 100px;
}

/* CARD GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--faint);
  border-radius: 16px;
  padding: 28px 24px;
}

.card-icon {
  font-size: 22px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.card p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.65;
}

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tag {
  padding: 5px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.01em;
}

/* PROTOCOL TABLE */
.proto-table {
  border: 1px solid var(--faint);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}

.proto-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.5fr 1.8fr;
  border-bottom: 1px solid var(--faint);
}
.proto-row:last-child { border-bottom: none; }
.proto-row.header { background: rgba(40,90,72,0.4); }

.proto-cell {
  padding: 18px 20px;
  font-size: 14px;
  color: var(--dim);
  line-height: 1.5;
}
.proto-row.header .proto-cell {
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.proto-cell b { color: var(--white); display: block; margin-bottom: 2px; }

/* AUDIENCE CARDS */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audience-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--faint);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.audience-card:hover { border-color: rgba(176,228,204,0.3); }

.audience-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.audience-need {
  font-size: 13px;
  font-weight: 600;
  color: #4db388;
  margin-bottom: 12px;
}

.audience-card p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.65;
}

/* WHY + MOAT */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.check-list {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--faint);
  border-radius: 16px;
  padding: 28px 24px;
}

.check {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--faint);
}
.check:last-child { border-bottom: none; }

.check-mark {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  margin-top: 2px;
  flex-shrink: 0;
}

.check b { color: var(--white); display: block; margin-bottom: 3px; font-size: 15px; }
.check span { color: var(--dim); font-size: 14px; line-height: 1.6; }

.moat-card {
  background: rgba(40,90,72,0.2);
  border: 1px solid rgba(176,228,204,0.15);
  border-radius: 16px;
  padding: 28px 24px;
}

.moat-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.moat-card > p {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.7;
  margin-bottom: 20px;
}

.moat-points { display: grid; gap: 12px; }

.moat-point {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--faint);
  border-radius: 12px;
  padding: 16px;
}
.moat-point b { display: block; color: var(--white); margin-bottom: 4px; font-size: 14px; }
.moat-point span { color: var(--dim); font-size: 13px; line-height: 1.6; }

/* BUSINESS MODEL */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.model-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--faint);
  border-radius: 16px;
  padding: 28px 24px;
}

.model-icon { font-size: 22px; margin-bottom: 14px; }
.model-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; letter-spacing: -0.02em; }
.model-card p { font-size: 14px; color: var(--dim); line-height: 1.65; }

/* MARKET STATS */
.market-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--faint);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}

.market-item {
  flex: 1;
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--faint);
}
.market-item:last-child { border-right: none; }

.market-num {
  font-size: 36px;
  font-weight: 800;
  color: #4db388;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}

.market-label {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.5;
}

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--faint);
  padding: 32px var(--px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.footer-logo span { color: var(--green); }

.footer-nav { display: flex; gap: 24px; }
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-contact {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  :root { --px: 28px; }
  .headline { font-size: 52px; }
  .page-hero .headline { font-size: 44px; }
  .nav-links { display: none; }
  .stats-row { flex-wrap: wrap; }
  .stat-item { min-width: 45%; }
  .card-grid,
  .audience-grid,
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .market-row { flex-wrap: wrap; }
  .market-item { min-width: 45%; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 600px) {
  .headline { font-size: 38px; }
  .page-hero .headline { font-size: 34px; }
  .subtext { font-size: 16px; }
  .steps { flex-direction: column; }
  .card-grid,
  .audience-grid,
  .model-grid { grid-template-columns: 1fr; }
  .market-item { min-width: 100%; }
  .proto-row { grid-template-columns: 1fr; }
}
