:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-card: #141414;
  --fg: #faf7f0;
  --fg-muted: #9a958a;
  --accent: #d4a843;
  --accent-dim: rgba(212, 168, 67, 0.12);
  --accent-glow: rgba(212, 168, 67, 0.06);
  --border: rgba(212, 168, 67, 0.15);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 48px 100px;
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(212,168,67,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(212,168,67,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Grain overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  max-width: 820px;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-headline br { display: block; }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.stat { padding-right: 40px; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

/* ─── SECTION LABEL ─────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ─── PROBLEM ───────────────────────────────────────────── */
.problem {
  background: var(--bg-2);
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.problem-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.problem-icon {
  color: #e05555;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-item p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ─── PIPELINE ──────────────────────────────────────────── */
.pipeline {
  padding: 120px 48px;
  background: var(--bg);
}

.pipeline-header {
  max-width: 680px;
  margin: 0 auto 80px;
  text-align: center;
}

.pipeline-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

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

.pipeline-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-weight: 600;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 0 auto 20px;
  background: var(--accent-dim);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 20px;
  flex-shrink: 0;
}

/* ─── FEATURES ───────────────────────────────────────────── */
.features {
  background: var(--bg-2);
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

.feature-large {
  grid-row: span 2;
  padding: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: fit-content;
}

.feature-large .feature-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.feature-large .feature-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.book-icon-stack {
  margin-top: 40px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.book-icon {
  width: 48px;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  position: relative;
}

.book-icon::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 8px;
  height: 1px;
  background: var(--border);
  box-shadow: 0 10px 0 var(--border), 0 20px 0 var(--border), 0 30px 0 var(--border);
}

.book-icon:nth-child(1) { height: 56px; }
.book-icon:nth-child(2) { height: 72px; }
.book-icon:nth-child(3) { height: 48px; }

.feature-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon-block {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
}

.feature-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

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

/* ─── MANIFESTO ─────────────────────────────────────────── */
.manifesto {
  padding: 120px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg-muted);
  border-left: 3px solid var(--accent);
  padding-left: 32px;
  margin-bottom: 48px;
}

.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.manifesto-body p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* ─── CLOSING ───────────────────────────────────────────── */
.closing {
  padding: 120px 48px 160px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 48px;
}

.closing-vision {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.closing-vision p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

.btn-cta-landing {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 40px;
  transition: opacity 0.2s;
}

.btn-cta-landing:hover { opacity: 0.85; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 4px;
}

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

.footer-meta {
  font-size: 0.75rem;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { padding: 80px 32px 80px; }
  .problem-inner { grid-template-columns: 1fr; gap: 48px; }
  .pipeline-steps { flex-direction: column; align-items: center; gap: 40px; }
  .step-connector { display: none; }
  .step { max-width: 100%; text-align: left; padding: 0; }
  .step-icon { margin-left: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-large { grid-row: auto; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 24px; }
  .problem, .pipeline, .manifesto, .closing, .features { padding: 80px 24px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stat-divider { display: none; }
  .stat { padding-right: 0; }
  .hero-headline { font-size: 2.4rem; }
  .footer { padding: 32px 24px; }
}