:root {
  --bg: #F7F5F0;
  --bg-alt: #EDEAE2;
  --surface: #FFFFFF;
  --fg: #1A1A2E;
  --fg-2: #4A4A6A;
  --fg-3: #7A7A9A;
  --accent: #FF8C00;
  --accent-dark: #D97500;
  --dark: #1A1A2E;
  --border: rgba(26,26,46,0.1);
}

*, *::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: 'DM Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 80px 80px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-dark);
  margin-bottom: 32px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.headline-em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero-sub {
  max-width: 560px;
  font-size: 1.15rem;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--dark);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fg);
}
.stat-label { font-size: 0.8rem; color: var(--fg-3); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ─── SYSTEM SECTION ───────────────────────────────────── */
.system-section {
  padding: 100px 80px;
  background: var(--dark);
  color: #fff;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 680px;
}
.section-sub {
  max-width: 560px;
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  margin-top: 16px;
  margin-bottom: 56px;
}
.system-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 48px;
  overflow-x: auto;
}
.flow-stage {
  flex: 1;
  min-width: 180px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px;
}
.flow-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.flow-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.flow-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.flow-arrow {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sys-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}
.sys-card:hover {
  border-color: var(--accent);
  background: rgba(255,140,0,0.06);
}
.sys-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,140,0,0.12);
  border-radius: 10px;
  margin-bottom: 16px;
}
.sys-card h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.sys-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

/* ─── PHASES SECTION ───────────────────────────────────── */
.phases-section {
  padding: 100px 80px;
  background: var(--bg-alt);
}
.phases-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 60px;
  align-items: start;
}
.phase-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.phase-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.phase-body {
  font-size: 1rem;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 24px;
}
.phase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phase-list li {
  font-size: 0.95rem;
  color: var(--fg-2);
  padding-left: 20px;
  position: relative;
}
.phase-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}
.phase-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* ─── NICHES SECTION ────────────────────────────────────── */
.niches-section {
  padding: 100px 80px;
  background: var(--surface);
}
.niches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.niche-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  transition: transform 0.2s, box-shadow 0.2s;
}
.niche-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,26,46,0.08);
}
.niche-card--highlight {
  border-color: var(--accent);
  background: var(--dark);
  color: #fff;
}
.niche-card--highlight p { color: rgba(255,255,255,0.6); }
.niche-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 14px;
}
.niche-card h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.niche-card p {
  font-size: 0.85rem;
  color: var(--fg-3);
  line-height: 1.55;
}

/* ─── MANIFESTO ─────────────────────────────────────────── */
.manifesto-section {
  padding: 100px 80px;
  background: var(--accent);
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.manifesto-quote {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.manifesto-sub {
  font-size: 1rem;
  color: rgba(26,26,46,0.7);
  line-height: 1.7;
}

/* ─── CLOSING ──────────────────────────────────────────── */
.closing-section {
  padding: 100px 80px;
  background: var(--dark);
  text-align: center;
}
.closing-inner { max-width: 720px; margin: 0 auto; }
.closing-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  padding: 48px 80px;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.footer-brand {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .niches-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: 100px 24px 60px; }
  .hero-headline { font-size: 2.8rem; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .system-section, .phases-section, .niches-section, .manifesto-section, .closing-section, .footer { padding: 60px 24px; }
  .phases-inner { grid-template-columns: 1fr; gap: 40px; }
  .phase-divider { height: 1px; width: 100%; }
  .system-grid { grid-template-columns: 1fr; }
  .niches-grid { grid-template-columns: 1fr; }
  .system-flow { flex-direction: column; }
  .flow-arrow { display: none; }
  .flow-stage { min-width: unset; }
}