/* =============================================================
   HOME
   ============================================================= */
.hero {
  padding: 48px 0 24px;
  background: var(--bg);
  border-bottom: 1px dashed var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 90% -10%, oklch(0.82 0.19 140 / 0.06), transparent 70%),
    radial-gradient(700px 500px at -10% 40%, oklch(0.78 0.16 75 / 0.04), transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero-window {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-1);
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.4);
}
.hero-window-bar {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-mute);
  gap: 10px;
}
.hero-dots { display: flex; gap: 6px; }
.hero-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--fg-faint); border: 1px solid var(--border); }
.hero-dots span:nth-child(3) { background: var(--green-faint); }
.hero-window-title { flex: 1; text-align: center; letter-spacing: 0.02em; }
.hero-window-meta { color: var(--fg-mute); }

.hero-body { padding: 44px 48px 36px; }
.hero .eyebrow { display: inline-block; margin-bottom: 20px; }

.hero h1 {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin: 0 0 20px;
}
.hero h1 em { font-style: italic; color: var(--amber); font-weight: 600; }
.hero .lede { color: var(--fg-dim); font-size: 1.03rem; max-width: 64ch; margin-bottom: 28px; }
.hero .lede strong { color: var(--fg); }

.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 3px;
  border: 1px solid;
  text-decoration: none !important;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.btn-hero-primary {
  background: var(--green);
  color: var(--bg) !important;
  border-color: var(--green);
}
.btn-hero-primary:hover { background: var(--fg); border-color: var(--fg); }
.btn-hero-ghost {
  background: transparent;
  color: var(--fg) !important;
  border-color: var(--border);
}
.btn-hero-ghost:hover { border-color: var(--green); color: var(--green) !important; }

/* Stats */
.hero-stats {
  font-family: var(--mono);
  font-size: 13px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 22px 0;
}
.hero-stat {
  padding: 0 20px;
  border-left: 1px dashed var(--border);
  background: transparent;
  border-radius: 0;
}
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat-num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stats .hero-stat:nth-child(1) .hero-stat-num,
.hero-stats .hero-stat:nth-child(2) .hero-stat-num { color: var(--green); }
.hero-stats .hero-stat:nth-child(3) .hero-stat-num,
.hero-stats .hero-stat:nth-child(4) .hero-stat-num { color: var(--amber); }
.hero-stat-num .stat-unit { color: var(--fg-mute); font-size: 0.55em; margin-left: 2px; font-weight: 500; }
.hero-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
  margin-top: 8px;
}

/* ── Feature section (the `.py-5` home-only block) ──────────── */
.home-features {
  background: var(--bg);
  border-bottom: 1px dashed var(--border);
  padding: 56px 0;
}
.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.home-section-head h2 {
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--fg);
  margin: 4px 0 0;
  letter-spacing: -0.018em;
}
.home-section-hint {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--fg-mute);
}

.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px;
  height: 100%;
  text-decoration: none !important;
  color: var(--fg) !important;
  transition: border-color 0.12s;
}
.feature-card:hover {
  border-color: var(--green);
  transform: none;
  box-shadow: none;
  color: var(--fg) !important;
}
.fc-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
}
.fc-eyebrow::after { content: ''; color: var(--green); }
.fc-title {
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg) !important;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.fc-body {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}
.fc-cta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  margin-top: auto;
}
.fc-cta::before { content: '→ '; }
.feature-card:hover .fc-cta { color: var(--fg); }

/* ── Timeline ───────────────────────────────────────────────── */
.timeline-section {
  padding: 48px 0 72px;
  background: var(--bg);
}
.timeline-section .eyebrow.text-center { display: block; text-align: left; }
.timeline-section h2.text-center {
  text-align: left !important;
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 600;
  margin: 4px 0 28px !important;
  letter-spacing: -0.018em;
}
.timeline-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 32px;
  position: relative;
}
.timeline-strip::before { display: none; }
.tl-node {
  border-left: 1px solid var(--border);
  padding: 18px 22px 14px;
  position: relative;
  background: transparent;
  border-radius: 0;
}
.tl-node:first-child { border-left: none; padding-left: 2px; }
.tl-node::before {
  content: '';
  position: absolute;
  top: 22px;
  left: -5px;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 50%;
}
.tl-node:first-child::before { left: -4px; }
.tl-node-active { border-color: var(--border); box-shadow: none; }
.tl-node-active::before { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.tl-year {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
}
.tl-node-active .tl-year { color: var(--amber); }
.tl-title {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
  margin-top: 6px;
}
.tl-note { font-size: 13px; color: var(--fg-dim); margin-top: 6px; line-height: 1.5; }
