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

:root {
  --bg: #0B0E14;
  --surface: #12151D;
  --surface2: #1A1E28;
  --border: #232836;
  --fg: #F0EDE8;
  --fg-muted: #8A8A9A;
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --red: #E84040;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Navigation ─── */
.nav {
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(11,14,20,0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.nav-brand { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--fg); }
.nav-tag { font-size: 0.75rem; color: var(--fg-muted); border: 1px solid var(--border); padding: 3px 10px; border-radius: 100px; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-ext-link { font-size: 0.82rem; color: var(--fg-muted); text-decoration: none; transition: color 0.2s; }
.nav-ext-link:hover { color: var(--accent); }

/* ─── Shared ─── */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 40px;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 100px 48px 80px;
  overflow: hidden;
}
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: fit-content;
  background: var(--surface);
}
.stat { padding: 28px 40px; }
.stat-value { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.75rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-divider { width: 1px; background: var(--border); }
.hero-bg-texture {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── Pillars ─── */
.pillars { padding: 100px 48px; background: var(--surface); }
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; max-width: 1200px; margin: 0 auto; }
.pillar { padding: 40px; background: var(--bg); }
.pillar-icon { font-size: 1.5rem; margin-bottom: 16px; }
.pillar-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.15rem; margin-bottom: 12px; }
.pillar-desc { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.7; }

/* ─── System ─── */
.system { padding: 100px 48px; background: var(--bg); }
.system-layout { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.system-desc { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.7; max-width: 420px; }
.workflow-step { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.workflow-step:last-child { border-bottom: none; }
.step-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.75rem; color: var(--accent); padding-top: 4px; flex-shrink: 0; }
.step-content h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.step-content p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; }

/* ─── Manifesto ─── */
.manifesto { padding: 100px 48px; background: var(--surface); }
.manifesto-inner { max-width: 800px; margin: 0 auto; }
.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 32px;
  font-style: normal;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}
.manifesto-body { font-size: 1rem; color: var(--fg-muted); line-height: 1.8; margin-bottom: 20px; }

/* ─── Niche ─── */
.niche { padding: 100px 48px; background: var(--bg); }
.rpm-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.rpm-card { padding: 36px; background: var(--bg); }
.rpm-range { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--accent); margin-bottom: 8px; }
.rpm-niche { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.rpm-desc { font-size: 0.8rem; color: var(--fg-muted); line-height: 1.6; }
.rpm-high { border-left: 3px solid var(--accent); }
.rpm-mid { border-left: 3px solid #7A8FA6; }
.rpm-low { border-left: 3px solid var(--red); opacity: 0.7; }

/* ─── Closing ─── */
.closing { padding: 120px 48px; background: var(--surface); text-align: center; }
.closing-headline { font-family: 'Syne', sans-serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; color: var(--fg); margin-bottom: 24px; }
.closing-sub { font-size: 1rem; color: var(--fg-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ─── Footer ─── */
.footer { padding: 48px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.footer-desc { font-size: 0.8rem; color: var(--fg-muted); margin-bottom: 16px; }
.footer-note { font-size: 0.7rem; color: var(--border); text-transform: uppercase; letter-spacing: 0.1em; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero { padding: 60px 24px 60px; }
  .pillars, .system, .manifesto, .niche, .closing, .footer { padding: 60px 24px; }
  .nav { padding: 16px 24px; }
  .hero-stats { flex-direction: column; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
  .system-layout { grid-template-columns: 1fr; gap: 40px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .rpm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .stat { padding: 20px 24px; }
}