:root {
  --bg: #f7f7fb;
  --bg-alt: #ffffff;
  --text: #1a1a2e;
  --text-muted: #55556b;
  --accent: #5b5bd6;
  --accent-2: #16a37b;
  --card-bg: #ffffff;
  --card-border: #e6e6f0;
  --line: #d8d8ee;
  --shadow: 0 8px 24px rgba(30, 30, 60, 0.08);
  --hero-bg-1: #0a1330;
  --hero-bg-2: #13275c;
  --hero-text: #f4f6fb;
  --hero-text-muted: #b6c2de;
  --hero-accent: #7fb2ff;
  --hero-tag-bg: rgba(255, 255, 255, 0.08);
  --hero-tag-border: rgba(255, 255, 255, 0.18);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f16;
    --bg-alt: #15151f;
    --text: #f1f1f7;
    --text-muted: #a6a6bf;
    --accent: #8b8bf0;
    --accent-2: #3fd3a5;
    --card-bg: #1a1a26;
    --card-border: #2a2a3a;
    --line: #2c2c40;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

a { color: inherit; }

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem;
  background: linear-gradient(165deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 100%);
  color: var(--hero-text);
  position: relative;
}

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

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--hero-text-muted);
  margin: 0 0 0.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--hero-text);
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--hero-text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero .tagline .hl {
  color: var(--hero-accent);
  font-weight: 600;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.tag {
  background: var(--hero-tag-bg);
  border: 1px solid var(--hero-tag-border);
  color: var(--hero-text);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.scroll-cue {
  display: inline-block;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--hero-text-muted);
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

main { max-width: 980px; margin: 0 auto; padding: 0 1.25rem; }

.intro, .timeline-section, .pillars {
  padding: 4rem 0;
}

.intro h2, .timeline-section h2, .pillars h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 1.25rem;
}

.intro p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
}

/* Timeline */
.timeline {
  position: relative;
  margin-top: 2.5rem;
  padding-left: 2.25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.25rem;
  top: 0.3rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item.milestone .timeline-dot {
  background: var(--accent-2);
  box-shadow: 0 0 0 2px var(--accent-2);
  width: 1.15rem;
  height: 1.15rem;
  left: -2.32rem;
}

.timeline-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.timeline-item.milestone .timeline-card {
  border-color: var(--accent-2);
}

.timeline-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.timeline-item.milestone .timeline-year {
  color: var(--accent-2);
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.timeline-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--text);
  font-size: 1rem;
}

.timeline-list li .icon {
  flex-shrink: 0;
}

.milestone-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: color-mix(in srgb, var(--accent-2) 18%, transparent);
  color: var(--accent-2);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

/* Pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.pillar-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }

.pillar-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.pillar-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

footer {
  text-align: center;
  padding: 2.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--card-border);
  margin-top: 2rem;
}

@media (max-width: 560px) {
  .timeline { padding-left: 1.75rem; }
  .timeline-dot { left: -1.75rem; }
  .timeline-item.milestone .timeline-dot { left: -1.82rem; }
  .timeline-card { padding: 1.25rem 1.25rem; }
}
