/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #999999;
  --gray-600: #555555;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--black);
}

.logo-img { width: 30px; height: 30px; display: block; }

.nav-wordmark {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

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

.nav-cta {
  color: var(--black) !important;
  border: 1px solid var(--black);
  padding: 7px 18px;
  font-size: 13px !important;
  transition: background 0.15s, color 0.15s !important;
}

.nav-cta:hover {
  background: var(--black) !important;
  color: var(--white) !important;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 180px 40px 120px;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gray-400);
  margin-bottom: 36px;
}

.hero-h1 {
  font-size: clamp(52px, 7.5vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.hero-lede {
  font-size: 19px;
  color: var(--gray-600);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.15s;
}

.btn-primary:hover { opacity: 0.75; }

.btn-secondary {
  display: inline-block;
  border: 1px solid var(--black);
  color: var(--black);
  text-decoration: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.btn-secondary:hover { background: var(--black); color: var(--white); }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 96px 40px; }
.section-alt { background: var(--gray-100); }

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gray-400);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-inner h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 22px;
  max-width: 720px;
}

.section-lede {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 640px;
  line-height: 1.72;
  margin-bottom: 56px;
}

/* ── Mission Pillars ────────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}

.pillar {
  background: var(--white);
  padding: 40px 36px;
}

.pillar h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.pillar p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── Grants Grid ────────────────────────────────────────────── */
.grants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin-bottom: 48px;
}

.grant-card {
  background: var(--white);
  padding: 36px 30px;
}

.grant-icon {
  font-size: 18px;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.grant-card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

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

.grant-cta {
  border: 1px solid var(--black);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--white);
}

.grant-cta-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.grant-cta-text p {
  font-size: 15px;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.65;
}

/* ── Token Two Col ──────────────────────────────────────────── */
.token-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}

.token-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.token-item {
  background: var(--white);
  padding: 40px 40px;
}

.token-item h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.token-item p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── Community Cards ────────────────────────────────────────── */
.community-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin-bottom: 64px;
}

.community-card {
  background: var(--white);
  padding: 32px 28px;
  text-decoration: none;
  color: var(--black);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.15s;
  position: relative;
}

.community-card:hover { background: var(--black); }
.community-card:hover .community-card-name,
.community-card:hover .community-card-desc,
.community-card:hover .community-card-arrow {
  color: var(--white);
}

.community-card-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.community-card-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
  flex: 1;
  transition: color 0.15s;
}

.community-card-arrow {
  font-size: 16px;
  color: var(--gray-400);
  transition: color 0.15s;
}

/* ── Backers ────────────────────────────────────────────────── */
.backers { border-top: 1px solid var(--gray-200); padding-top: 48px; }

.backers-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gray-400);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.backers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.backers-list span {
  font-size: 14px;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  padding: 8px 18px;
  background: var(--white);
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 40px 40px;
}

.footer-inner { max-width: 1120px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 26px; height: 26px; filter: invert(1); }
.footer-wordmark { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }

.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }

.footer-col { display: flex; flex-direction: column; gap: 14px; }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.footer-col a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .grants-grid { grid-template-columns: repeat(2, 1fr); }
  .community-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .pillars,
  .token-two-col { grid-template-columns: 1fr; }
  .grants-grid,
  .community-links { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 140px 24px 80px; }
  .section { padding: 72px 24px; }
}
