:root {
  --bg: #faf7f2;
  --bg-alt: #f0ebe2;
  --green: #1a3327;
  --green-mid: #2a4f3a;
  --green-light: #3d6b50;
  --amber: #e8a030;
  --amber-dim: rgba(232,160,48,0.15);
  --text: #1a3327;
  --text-muted: #6b7d70;
  --text-light: #faf7f2;
  --border: #d9cfc2;
  --card-bg: #ffffff;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navbar ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  display: block;
  width: 10px;
  height: 10px;
  background: var(--green);
  transform: rotate(45deg);
}
.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Hero ── */
.hero {
  padding: 80px 48px 64px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--amber-dim) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.hero-left { display: flex; flex-direction: column; gap: 24px; }
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--green);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}
.hero-meta-item {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  background: var(--amber-dim);
  padding: 4px 12px;
  border-radius: 20px;
}
.hero-meta-sep {
  width: 4px;
  height: 4px;
  background: var(--border);
  border-radius: 50%;
}

/* HUD cards */
.hero-right { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.hero-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 40% 40%, #d4e8d6 0%, #c8dfc8 40%, var(--bg) 100%);
  border-radius: 50%;
  opacity: 0.7;
  z-index: 0;
}
.hero-card-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1;
  width: 100%;
  max-width: 360px;
}
.hud-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(26,51,39,0.07), 0 0 0 1px rgba(26,51,39,0.05);
  position: relative;
  transition: transform 0.2s;
}
.hud-card:hover { transform: translateX(4px); }
.hud-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.hud-title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}
.hud-meta { font-size: 12px; color: var(--text-muted); }
.hud-badge--hot {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #e83c3c;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}
.hud-progress {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin: 8px 0 6px;
  overflow: hidden;
}
.hud-progress-bar {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
}
.hud-card--rev { background: var(--green); }
.hud-card--rev .hud-label,
.hud-card--rev .hud-meta { color: rgba(250,247,242,0.6); }
.hud-card--rev .hud-meta { color: rgba(250,247,242,0.7); }
.hud-rev {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

/* ── Stats ── */
.stats-row {
  background: var(--green);
  padding: 48px 48px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.stat-item { flex: 1; padding: 0 32px; }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; }
.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-desc {
  font-size: 13px;
  color: rgba(250,247,242,0.65);
  line-height: 1.55;
}
.stat-divider {
  width: 1px;
  background: rgba(250,247,242,0.15);
  align-self: stretch;
  margin: 0 8px;
}

/* ── Features ── */
.features { padding: 96px 48px; background: var(--bg); }
.features-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 56px; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 520px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,51,39,0.1);
}
.feature-card--accent {
  background: var(--green);
  border-color: var(--green);
}
.feature-card--accent .feature-title,
.feature-card--accent .feature-desc,
.feature-card--accent .feature-list li { color: var(--text-light); }
.feature-card--accent .feature-list li { color: rgba(250,247,242,0.7); }
.feature-icon { margin-bottom: 20px; }
.feature-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}
.feature-card--accent .feature-list li::before { background: var(--amber); }

/* ── Workbook ── */
.workbook { padding: 96px 48px; background: var(--bg-alt); }
.workbook-inner { max-width: 1200px; margin: 0 auto; }
.workbook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.workbook-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 20px 0 32px;
}
.workbook-quote {
  padding: 24px 28px;
  background: var(--card-bg);
  border-left: 3px solid var(--amber);
  border-radius: 0 12px 12px 0;
}
.wq-mark {
  width: 20px;
  height: 20px;
  background: var(--amber);
  border-radius: 4px;
  margin-bottom: 12px;
}
.wq-text {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--green);
  line-height: 1.5;
  margin-bottom: 10px;
}
.wq-attr { font-size: 12px; color: var(--text-muted); }

/* Kanban */
.workbook-kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.kb-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}
.kb-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.kb-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}
.kb-card--1 { border-left: 3px solid #e83c3c; }
.kb-card--2 { border-left: 3px solid #f59e0b; }
.kb-card--3 { border-left: 3px solid #3b82f6; }
.kb-card--4 { border-left: 3px solid var(--green); }
.kb-card--5 { border-left: 3px solid var(--green); background: rgba(26,51,39,0.05); }
.kb-card--6 { border-left: 3px solid var(--green); background: rgba(26,51,39,0.05); }

/* ── Manifesto ── */
.manifesto { padding: 80px 48px; background: var(--green); }
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-rule {
  height: 1px;
  background: rgba(250,247,242,0.15);
  margin-bottom: 40px;
}
.manifesto-rule:last-child { margin-bottom: 0; margin-top: 40px; }
.manifesto-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.manifesto-sub {
  font-size: 15px;
  color: rgba(250,247,242,0.6);
  line-height: 1.7;
  margin-top: 32px;
}

/* ── Closing ── */
.closing { padding: 96px 48px 80px; background: var(--bg); text-align: center; }
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-icon { margin-bottom: 32px; }
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Footer ── */
.footer { padding: 40px 48px; background: var(--bg-alt); border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.footer-copy { font-size: 11px; color: var(--text-muted); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .stats-inner { flex-direction: column; gap: 32px; }
  .stat-item { padding: 0; }
  .stat-divider { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .workbook-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .navbar, .hero, .stats-row, .features, .workbook, .manifesto, .closing, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero { padding-top: 48px; }
  .stats-row, .features, .workbook, .manifesto, .closing { padding-top: 64px; padding-bottom: 64px; }
}