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

:root {
  --bg: #0e0e0e;
  --bg-2: #141414;
  --bg-3: #1a1a1a;
  --fg: #f0f0f0;
  --fg-muted: #888;
  --accent: #CAFF2B;
  --accent-dim: rgba(202, 255, 43, 0.12);
  --border: rgba(255,255,255,0.08);
  --font-head: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
  --radius: 6px;
  --container: 1100px;
}

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

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

/* dot-grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,14,14,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-mark {
  color: var(--accent);
  font-size: 20px;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
}
.logo-dot { color: var(--accent); }
.header-nav { display: flex; align-items: center; }
.nav-tag {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(202,255,43,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
  width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.headline-accent {
  color: var(--accent);
  font-style: normal;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-val {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Flow diagram */
.flow-diagram {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.flow-node {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.flow-node--ai { border-color: rgba(202,255,43,0.3); background: rgba(202,255,43,0.05); }
.flow-node--book { border-color: rgba(202,255,43,0.4); background: rgba(202,255,43,0.08); }
.flow-icon { font-size: 20px; color: var(--accent); flex-shrink: 0; }
.flow-label { font-size: 14px; font-weight: 600; line-height: 1.3; }
.flow-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px;
  color: var(--fg-muted);
}
.arrow-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.arrow-head { font-size: 16px; }
.flow-badge {
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  color: var(--accent);
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Pipeline ─── */
.pipeline {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.pipe-item {
  padding: 32px 28px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pipe-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pipe-item h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.pipe-item p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* ─── Manifesto ─── */
.manifesto {
  padding: 100px 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 760px; }
.manifesto-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-family: var(--font-head);
  margin-bottom: 24px;
}
.manifesto-text {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 24px;
}
.manifesto-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  padding-left: 24px;
}

/* ─── Process ─── */
.process {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.step { position: relative; }
.step-connector {
  position: absolute;
  top: 40px;
  right: 0;
  width: 100%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step-connector::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.step-card {
  position: relative;
  z-index: 1;
  padding: 28px 28px 28px 0;
  padding-right: 40px;
}
.step-card--final { padding-right: 0; }
.step-week {
  font-size: 11px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.step-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* ─── Outcomes ─── */
.outcomes {
  padding: 100px 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.outcome-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.outcome-val {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-muted);
}
.outcome-equals {
  font-size: 24px;
  color: var(--accent);
  font-family: var(--font-head);
}
.outcome-result {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.outcomes-note {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 40px;
  max-width: 600px;
}
.outcomes-stack {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.stack-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-family: var(--font-head);
}
.stack-logos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stack-item {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
}
.stack-sep { color: var(--border); }

/* ─── Niches ─── */
.niches {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.niche-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.niche-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s;
}
.niche-card:hover { border-color: rgba(202,255,43,0.3); }
.niche-icon { font-size: 18px; color: var(--accent); }
.niche-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
}
.niche-reason { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }

/* ─── Closing ─── */
.closing {
  padding: 120px 0;
}
.closing-inner { max-width: 720px; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.closing-headline em {
  color: var(--accent);
  font-style: normal;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 560px;
}
.closing-cta {}
.cta-box {
  display: inline-block;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  max-width: 480px;
}
.cta-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-family: var(--font-head);
  margin-bottom: 12px;
}
.cta-text { font-size: 15px; color: var(--fg-muted); line-height: 1.6; }

/* ─── Footer ─── */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand .logo-mark { font-size: 16px; }
.footer-brand .logo-text { font-size: 15px; font-family: var(--font-head); font-weight: 700; }
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  flex: 1;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .step-connector { display: none; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .niche-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-diagram { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 60px 0 50px; }
  .pipeline-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .niche-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-div { display: none; }
}