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

:root {
  --bg: #0A0A0F;
  --surface: #111117;
  --surface2: #1A1A22;
  --fg: #F0F0E8;
  --fg-muted: #888890;
  --accent: #B8FF00;
  --accent-dim: rgba(184, 255, 0, 0.12);
  --border: rgba(240, 240, 232, 0.08);

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Background grid ─── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 255, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 255, 0, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* ─── Layout helpers ─── */
section { position: relative; z-index: 1; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-lg) var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--accent); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--accent); }
}

.eyebrow-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: var(--space-md);
}

.headline-accent {
  color: var(--accent);
}

.hero-lede {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

/* ─── Hero Stats ─── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: 160px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ─── MANIFESTO ─── */
.manifesto {
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--fg);
  letter-spacing: -0.02em;
}

/* ─── FEATURES ─── */
.features {
  padding: var(--space-xl) var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: var(--space-lg);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-sm);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-md);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(184, 255, 0, 0.25);
  background: var(--surface2);
}

.feature-icon {
  margin-bottom: var(--space-sm);
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── VISION ─── */
.vision {
  padding: var(--space-xl) var(--space-md);
  background: var(--surface);
}

.vision-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.vision-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.vision-body {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

/* ─── CLOSING ─── */
.closing {
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--fg);
  margin-bottom: var(--space-md);
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  margin-bottom: 6px;
}

/* ─── FOOTER ─── */
.footer {
  padding: var(--space-md) var(--space-md);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.footer-sep {
  color: var(--fg-muted);
  font-size: 0.8rem;
}

.footer-tagline,
.footer-stack {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .hero { padding: var(--space-lg) 1.25rem; }
  .features { padding: var(--space-lg) 1.25rem; }
  .manifesto { padding: var(--space-lg) 1.25rem; }
  .vision { padding: var(--space-lg) 1.25rem; }
  .closing { padding: var(--space-lg) 1.25rem; }

  .hero-stats { gap: var(--space-sm); }
  .stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { gap: 0.5rem; }
}