:root {
  --bg: #0D1117;
  --bg-card: #161B22;
  --bg-card-alt: #1C2128;
  --fg: #E8E8E0;
  --fg-muted: #8B949E;
  --accent: #E8A838;
  --accent-dim: rgba(232, 168, 56, 0.12);
  --border: rgba(255,255,255,0.08);
  --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: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav-logo em { color: var(--accent); font-style: normal; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--fg); }
.nav-status {
  font-size: 0.75rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3FB950;
  box-shadow: 0 0 8px rgba(63,185,80,0.6);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Sections */
section { padding: 80px 24px; }

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 96px 24px 80px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.eyebrow-tag {
  background: var(--accent-dim);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(232,168,56,0.25);
}
.eyebrow-sep { color: var(--border); }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-headline em { color: var(--accent); font-style: italic; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-meta {
  display: flex;
  gap: 40px;
}
.meta-stat { display: flex; flex-direction: column; gap: 4px; }
.meta-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
}
.meta-label { font-size: 0.75rem; color: var(--fg-muted); max-width: 120px; }
.hero-right { position: relative; }
.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Manifesto */
.manifesto { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-label, .framework-label, .method-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 24px; }
.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 28px;
}
.manifesto-src { font-size: 0.75rem; color: var(--fg-muted); font-style: normal; font-family: var(--font-body); }
.manifesto-body { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.7; }
.manifesto-body em { color: var(--fg); font-style: normal; }

/* Framework */
.framework-inner { max-width: 1200px; margin: 0 auto; }
.framework-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.framework-sub { color: var(--fg-muted); margin-bottom: 56px; font-size: 0.95rem; }
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.framework-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}
.card-weak { border-color: rgba(232,168,56,0.3); background: rgba(232,168,56,0.04); }
.card-pct {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.card-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; }
.framework-img-wrap { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.framework-img { width: 100%; height: 240px; object-fit: cover; display: block; }

/* Methodology */
.methodology { background: var(--bg-card); border-top: 1px solid var(--border); }
.methodology-inner { max-width: 1200px; margin: 0 auto; }
.method-headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}
.method-steps { display: flex; align-items: center; gap: 0; }
.step { flex: 1; }
.step-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.step-title { font-size: 1rem; font-weight: 500; margin-bottom: 8px; }
.step-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; }
.step-connector { padding: 0 20px; flex: 0; }

/* Closing */
.closing { text-align: center; padding: 120px 24px; }
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 24px; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 28px;
}
.closing-headline em { color: var(--accent); font-style: italic; }
.closing-body { color: var(--fg-muted); font-size: 1rem; line-height: 1.7; max-width: 580px; margin: 0 auto 40px; }
.closing-products { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.product-tag {
  font-size: 0.7rem;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
}

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.footer-logo em { color: var(--accent); font-style: normal; }
.footer-tagline { font-size: 0.75rem; color: var(--fg-muted); margin-top: 4px; }
.footer-meta { font-size: 0.75rem; color: var(--fg-muted); display: flex; align-items: center; gap: 8px; }
.footer-sep { color: var(--border); }
.footer-contact { display: flex; align-items: center; }
.footer-email {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-email:hover { color: var(--accent); }

/* Mobile */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 48px; }
  .hero-right { order: -1; }
  .hero-img { height: 240px; }
  .hero-meta { gap: 24px; }
  .framework-grid { grid-template-columns: 1fr; }
  .method-steps { flex-direction: column; align-items: flex-start; gap: 24px; }
  .step-connector { transform: rotate(90deg); padding: 0; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  section { padding: 60px 24px; }
}