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

:root {
  --bg: #f5f0e6;
  --surface: #ffffff;
  --fg: #1a1814;
  --fg-muted: #6b6560;
  --accent: #b87333;
  --accent-light: #d4a76a;
  --border: #d9cfc0;
  --card-bg: #ffffff;
}

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

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

/* ─── HERO ─── */
.hero {
  padding: 80px 48px 96px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 420px;
}

/* OS Card */
.os-card {
  background: var(--fg);
  color: #f5f0e6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(26,24,20,0.18), 0 8px 24px rgba(26,24,20,0.12);
}
.os-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(245,240,230,0.1);
}
.os-card-title { font-weight: 500; font-size: 0.9rem; letter-spacing: 0.05em; }
.os-card-tag {
  background: #4a9e6a;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 99px;
}
.os-card-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.task-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: rgba(255,255,255,0.06); border-radius: 8px; }
.task-label { font-size: 0.82rem; color: rgba(245,240,230,0.85); }
.task-status { font-size: 0.68rem; padding: 3px 8px; border-radius: 99px; font-weight: 500; letter-spacing: 0.04em; }
.task-status.done { background: rgba(74,158,106,0.3); color: #7fd4a5; }
.task-status.pending { background: rgba(212,167,106,0.3); color: var(--accent-light); }
.task-status.vote { background: rgba(184,115,51,0.3); color: var(--accent-light); }
.os-card-footer { padding: 12px 20px; border-top: 1px solid rgba(245,240,230,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: rgba(245,240,230,0.45); }
.os-badge { color: var(--accent-light); font-size: 0.7rem; letter-spacing: 0.1em; font-weight: 500; text-transform: uppercase; }
.os-card-cta { color: var(--accent-light); font-size: 0.78rem; font-weight: 500; text-decoration: none; letter-spacing: 0.02em; transition: color 0.15s; }
.os-card-cta:hover { color: #fff; }

/* ─── MANIFESTO ─── */
.manifesto { background: var(--fg); color: #f5f0e6; padding: 80px 48px; }
.manifesto-inner { max-width: 900px; margin: 0 auto; }
.manifesto blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: #f5f0e6;
  margin-bottom: 24px;
}
.manifesto-sub { font-size: 0.9rem; color: rgba(245,240,230,0.5); }

/* ─── THREE PILLARS ─── */
.three-pillars { padding: 96px 48px; max-width: 1200px; margin: 0 auto; }
.pillars-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.pillar-number { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 16px; }
.pillar h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; margin-bottom: 12px; }
.pillar p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.7; }

/* ─── OS SECTION ─── */
.os-section { background: #ede8de; padding: 96px 48px; }
.os-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.section-label { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 16px; }
.os-left h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; line-height: 1.2; margin-bottom: 20px; }
.os-left p { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.7; }
.os-right { display: flex; flex-direction: column; gap: 20px; }
.os-feature { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border-radius: 12px; padding: 20px; border: 1px solid var(--border); }
.os-feature-icon { width: 36px; height: 36px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.os-feature strong { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 4px; }
.os-feature p { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.5; }

/* ─── STATS ─── */
.stats-section { padding: 80px 48px; background: var(--fg); }
.stats-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 64px; }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 5rem; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.stat-label { font-size: 0.9rem; color: rgba(245,240,230,0.55); line-height: 1.5; max-width: 240px; }
.stat-divider { width: 1px; height: 80px; background: rgba(245,240,230,0.15); }

/* ─── CLOSING ─── */
.closing-section { padding: 96px 48px; max-width: 1200px; margin: 0 auto; }
.closing-inner { max-width: 640px; }
.closing-section h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.15; margin-bottom: 24px; }
.closing-section p { font-size: 1rem; color: var(--fg-muted); line-height: 1.8; }

/* ─── FOOTER ─── */
footer { background: var(--fg); color: rgba(245,240,230,0.4); padding: 32px 48px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; color: #f5f0e6; }
.footer-tagline { font-size: 0.82rem; color: rgba(245,240,230,0.4); }
.footer-meta { display: flex; gap: 24px; font-size: 0.78rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero { padding: 56px 24px 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .pillars-inner { grid-template-columns: 1fr; gap: 40px; }
  .os-inner { grid-template-columns: 1fr; gap: 40px; }
  .stats-inner { flex-direction: column; gap: 32px; }
  .stat-divider { width: 80px; height: 1px; }
  .manifesto, .os-section { padding: 64px 24px; }
  .three-pillars, .closing-section { padding: 64px 24px; }
  .stats-section { padding: 64px 24px; }
  footer { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}