/* ════════════════════════════════════════
   BAOBAB DESIGN SYSTEM
   Free AI Education for Every African Student
   ════════════════════════════════════════ */

/* ─── 1. Variables & Tokens ─── */
:root {
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Lexend', system-ui, sans-serif;
  --sunset: #E8692E;
  --sunset-light: #F0874F;
  --sunset-dark: #C4521F;
  --sunset-10: rgba(232,105,46,.1);
  --sunset-15: rgba(232,105,46,.15);
  --sunset-25: rgba(232,105,46,.25);
  --canopy: #0D8B6B;
  --canopy-light: #15A880;
  --canopy-dark: #096B52;
  --canopy-10: rgba(13,139,107,.1);
  --canopy-15: rgba(13,139,107,.15);
  --sprout: #A8D948;
  --sprout-dark: #7FB830;
  --sprout-10: rgba(168,217,72,.1);
  --earth: #3D2B1F;
  --stone: #8B7D6B;
  --pebble: #C4B8A8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;
}

[data-theme="light"] {
  --bg: #FFFAF5;
  --bg-alt: #FFF5EC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFAF5;
  --bg-nav: rgba(255,250,245,.9);
  --text-heading: #2A1A0E;
  --text-body: #5C4D3E;
  --text-secondary: #8B7D6B;
  --text-muted: #B0A494;
  --border: #EDE0D0;
  --border-strong: #D9CABB;
  --border-hover: #C4B8A8;
  --shadow-sm: 0 1px 3px rgba(60,40,20,.04), 0 2px 8px rgba(60,40,20,.03);
  --shadow-md: 0 4px 16px rgba(60,40,20,.06);
  --shadow-lg: 0 8px 32px rgba(60,40,20,.08);
  --grain-opacity: .03;
}

[data-theme="dark"] {
  --bg: #141010;
  --bg-alt: #1A1514;
  --bg-card: #221C18;
  --bg-card-hover: #2A2320;
  --bg-nav: rgba(20,16,16,.92);
  --text-heading: #FAF0E6;
  --text-body: #C4B8A8;
  --text-secondary: #8B7D6B;
  --text-muted: #5C4D3E;
  --border: #322A24;
  --border-strong: #443A32;
  --border-hover: #5C4D3E;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,.25);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.3);
  --grain-opacity: .04;
}

/* ─── 2. Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--body);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.65;
  transition: background .4s ease, color .4s ease;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
a { color: var(--sunset); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sunset-light); }
[data-theme="dark"] a { color: var(--sunset-light); }
::selection { background: var(--sunset-25); color: var(--text-heading); }

h1, h2, h3 { font-family: var(--display); color: var(--text-heading); }
h1 { font-size: clamp(48px,7vw,80px); font-weight: 800; line-height: .95; letter-spacing: -.04em; }
h2 { font-size: clamp(32px,4vw,48px); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 16px; }
h3 { font-size: clamp(20px,2.5vw,24px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
h4 { font-family: var(--body); font-size: 17px; font-weight: 600; color: var(--text-heading); margin-bottom: 8px; }
p { font-size: 16px; line-height: 1.75; max-width: 60ch; }

.label {
  font-family: var(--body); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--sunset); margin-bottom: 12px; display: block;
}
[data-theme="dark"] .label { color: var(--sunset-light); }
.accent-sunset { color: var(--sunset); }
[data-theme="dark"] .accent-sunset { color: var(--sunset-light); }
.accent-canopy { color: var(--canopy); }
[data-theme="dark"] .accent-canopy { color: var(--canopy-light); }
.gradient-text {
  background: linear-gradient(135deg, var(--sunset), var(--canopy));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─── 3. Layout ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
section { padding: 120px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.divider { height: 1px; background: var(--border); transition: background .4s ease; }

/* ─── 4. Navigation ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
  transition: background .4s ease, border-color .4s ease;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.nav-logo .wordmark {
  font-family: var(--display); font-size: 18px; font-weight: 800;
  color: var(--text-heading); letter-spacing: -.03em;
}
.nav-right { display: flex; gap: 8px; align-items: center; }
.nav-right a {
  font-family: var(--body); font-size: 13px; font-weight: 500;
  color: var(--text-secondary); padding: 6px 16px;
  border-radius: var(--radius-pill); transition: all .2s;
}
.nav-right a:hover { color: var(--sunset); background: var(--sunset-10); }
.nav-right a.active { color: var(--sunset); font-weight: 600; }
.nav-badge {
  font-family: var(--body); font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--canopy);
  padding: 4px 12px; border-radius: var(--radius-pill);
}
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--bg-card);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all .25s ease; margin-left: 8px;
}
.theme-toggle:hover { border-color: var(--sunset); background: var(--sunset-10); transform: scale(1.08); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 6px 10px;
  font-size: 18px; cursor: pointer; color: var(--text-heading);
}

/* ─── 5. Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius-pill);
  font-family: var(--body); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .25s; border: none; text-decoration: none;
}
.btn-sunset { background: var(--sunset); color: #fff; }
.btn-sunset:hover { background: var(--sunset-light); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,105,46,.25); }
.btn-canopy { background: var(--canopy); color: #fff; }
.btn-canopy:hover { background: var(--canopy-light); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,139,107,.25); }
.btn-outline { background: transparent; color: var(--text-body); border: 1.5px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--sunset); color: var(--sunset); transform: translateY(-2px); }

/* ─── 6. Cards & Components ─── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm); transition: all .3s ease;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px,5vw,56px); letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(135deg, var(--sunset), var(--sunset-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-text { font-size: 14px; font-weight: 400; color: var(--text-secondary); margin-top: 10px; line-height: 1.5; }

.crisis-banner {
  background: var(--bg-alt); border-radius: var(--radius-xl); padding: 48px;
  margin-top: 48px; border: 1px solid var(--border); transition: all .4s ease;
}
.crisis-banner h3 { color: var(--sunset-dark); margin-bottom: 8px; }
[data-theme="dark"] .crisis-banner h3 { color: var(--sunset-light); }

.audience-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px 36px;
  box-shadow: var(--shadow-sm); transition: all .3s ease;
  position: relative; overflow: hidden;
}
.audience-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.audience-card.students::before { background: linear-gradient(90deg, var(--sunset), var(--canopy)); }
.audience-card.parents::before { background: linear-gradient(90deg, var(--canopy), var(--sprout)); }
.audience-card.partners::before { background: linear-gradient(90deg, var(--sunset), var(--sunset-light)); }
.audience-card.educators::before { background: linear-gradient(90deg, var(--sprout), var(--canopy)); }
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.commitment {
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 4px solid var(--canopy); border-radius: var(--radius-lg);
  padding: 28px 32px; margin-top: 48px; transition: all .4s ease; text-align: left;
}
.commitment h4 { color: var(--canopy); }
[data-theme="dark"] .commitment h4 { color: var(--canopy-light); }

/* ─── 7. Feature Grid ─── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--border); border-radius: var(--radius-xl);
  overflow: hidden; margin-top: 48px;
}
.feature { background: var(--bg-card); padding: 36px 32px; transition: background .25s; }
.feature:hover { background: var(--bg-card-hover); }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-icon.orange { background: var(--sunset-10); }
.feature-icon.green { background: var(--canopy-10); }
.feature-icon.lime { background: var(--sprout-10); }
.feature h4 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; max-width: none; }

/* ─── 8. Baobab Model ─── */
.model-grid { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start; margin-top: 48px; }
.layer-stack { display: flex; flex-direction: column; gap: 4px; }
.layer {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 24px; border-radius: var(--radius-lg);
  border: 1px solid transparent; transition: all .3s ease; cursor: default;
}
.layer:hover { background: var(--bg-card); border-color: var(--border); box-shadow: var(--shadow-sm); }
.layer-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.layer-icon.canopy { background: var(--sunset-10); }
.layer-icon.branches { background: var(--canopy-10); }
.layer-icon.trunk { background: var(--sprout-10); }
.layer-icon.roots { background: rgba(139,125,107,.1); }
.layer-age {
  font-family: var(--body); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--sunset); margin-bottom: 2px;
}
[data-theme="dark"] .layer-age { color: var(--sunset-light); }
.layer h4 { margin-bottom: 4px; font-size: 16px; }
.layer p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; max-width: none; }

/* ─── 9. Journey Timeline ─── */
.journey-timeline { display: flex; gap: 0; margin-top: 48px; position: relative; }
.journey-timeline::before {
  content: ''; position: absolute; top: 28px; left: 32px; right: 32px;
  height: 3px; background: linear-gradient(90deg, var(--stone), var(--sunset), var(--canopy), var(--sprout));
  border-radius: 2px;
}
.j-step { flex: 1; text-align: center; position: relative; padding: 0 8px; }
.j-dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-card); border: 3px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 22px;
  position: relative; z-index: 1; transition: all .3s ease; box-shadow: var(--shadow-sm);
}
.j-step:hover .j-dot { transform: scale(1.12); border-color: var(--sunset); box-shadow: var(--shadow-md); }
.j-step h4 { font-size: 15px; margin-bottom: 4px; }
.j-step p { font-size: 13px; color: var(--text-muted); line-height: 1.4; margin: 0 auto; }

/* ─── 10. Hero (Landing) ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--bg); transition: background .4s ease;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 65% 50%, var(--sunset-10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 35% 55%, var(--canopy-10) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 50% 80%, var(--sprout-10) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px;
  align-items: center; width: 100%; position: relative; z-index: 1;
}
.hero-content { padding: 40px 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-size: 13px; font-weight: 600;
  color: var(--canopy); background: var(--canopy-10);
  padding: 6px 18px; border-radius: var(--radius-pill); margin-bottom: 28px;
  animation: fadeUp .6s cubic-bezier(.16,1,.3,1) .1s both;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--canopy); animation: pulse 2s ease-in-out infinite;
}
.hero h1 { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .2s both; }
.hero-desc {
  font-size: 18px; color: var(--text-secondary); line-height: 1.7;
  margin-top: 24px; max-width: 46ch;
  animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .35s both;
}
.hero-tags {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px;
  animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .45s both;
}
.hero-tag {
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  padding: 5px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-pill); transition: all .2s;
}
.hero-tag:hover { border-color: var(--sunset); color: var(--sunset); }
.hero-actions {
  display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap;
  animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .55s both;
}
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative; animation: heroVisIn 1s cubic-bezier(.16,1,.3,1) .3s both;
}
.hero-visual canvas { position: absolute; inset: 0; pointer-events: none; }
.hero-visual svg { position: relative; z-index: 1; }
#seedCanvas { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: fadeUp .7s cubic-bezier(.16,1,.3,1) 1.2s both; z-index: 1;
}
.scroll-hint span { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.scroll-bar { width: 2px; height: 28px; border-radius: 2px; background: var(--border); position: relative; overflow: hidden; }
.scroll-bar::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 50%;
  border-radius: 2px; background: var(--sunset);
  animation: scrollDown 2s ease-in-out infinite;
}

/* ─── 11. Page Hero (sub-pages) ─── */
.page-hero {
  text-align: center; padding: 100px 40px 60px;
  position: relative; overflow: hidden;
  background: var(--bg); transition: background .4s ease;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 60%, var(--sunset-10) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(36px,5vw,56px);
  animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .1s both;
}
.page-hero p {
  font-size: 18px; color: var(--text-secondary); line-height: 1.7;
  max-width: 52ch; margin: 20px auto 0;
  animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .25s both;
}
.page-hero .label {
  animation: fadeUp .6s cubic-bezier(.16,1,.3,1) 0s both;
}

/* ─── 12. Manifesto ─── */
.manifesto {
  padding: 140px 40px; text-align: center;
  position: relative; overflow: hidden;
  background: var(--bg-alt); transition: background .4s ease;
}
.manifesto::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--sunset-10) 0%, transparent 70%);
  pointer-events: none;
}
.manifesto-text {
  font-family: var(--display);
  font-size: clamp(28px,4vw,44px); font-weight: 700;
  line-height: 1.25; letter-spacing: -.025em;
  color: var(--text-heading); max-width: 22ch;
  margin: 0 auto; position: relative;
}

/* ─── 13. Forms ─── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-heading); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  font-family: var(--body); font-size: 15px;
  color: var(--text-heading); background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sunset);
  box-shadow: 0 0 0 3px var(--sunset-10);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-message {
  padding: 14px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; margin-top: 16px; display: none;
}
.form-message.success { display: block; background: var(--canopy-10); color: var(--canopy); border: 1px solid var(--canopy); }
.form-message.error { display: block; background: var(--sunset-10); color: var(--sunset-dark); border: 1px solid var(--sunset); }

/* ─── 14. CTA Section ─── */
.cta-section { text-align: center; }
.cta-section p { margin-left: auto; margin-right: auto; }

/* ─── 15. Footer ─── */
footer {
  padding: 56px 0; text-align: center;
  border-top: 1px solid var(--border);
  transition: border-color .4s ease;
}
footer p { margin: 0 auto; }
.footer-logo { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 12px; }
.footer-logo svg { width: 28px; height: 28px; }
.footer-logo span {
  font-family: var(--display); font-size: 16px; font-weight: 800;
  color: var(--text-heading); letter-spacing: -.02em;
}
.footer-links { display: flex; gap: 28px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.footer-links a:hover { color: var(--sunset); }
.footer-byline {
  margin-top: 24px; font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px; justify-content: center;
}
.footer-byline a { font-weight: 600; }

/* ─── 16. Animations ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroVisIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes scrollDown { 0% { top: -50%; } 100% { top: 150%; } }
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── 17. Prose (for content pages) ─── */
.prose { max-width: 680px; }
.prose p { margin-bottom: 20px; }
.prose h2 { margin-top: 48px; margin-bottom: 16px; }
.prose h3 { margin-top: 36px; margin-bottom: 12px; }
.prose ul, .prose ol { margin: 16px 0; padding-left: 24px; }
.prose li { margin-bottom: 8px; font-size: 15px; line-height: 1.7; color: var(--text-body); }
.prose blockquote {
  border-left: 4px solid var(--sunset);
  padding: 16px 24px; margin: 24px 0;
  background: var(--bg-alt); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.prose blockquote p { font-style: italic; color: var(--text-secondary); margin-bottom: 0; }

/* ─── 18. Transitions ─── */
nav, .card, .feature, .layer, .audience-card, .commitment, .crisis-banner, footer {
  transition-property: background, border-color, box-shadow, color, transform;
  transition-duration: .35s;
  transition-timing-function: ease;
}

/* ─── 19. Responsive ─── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .model-grid { grid-template-columns: 1fr; gap: 40px; }
  .model-tree { max-width: 260px; margin: 0 auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content { order: 2; }
  .hero-visual { order: 1; max-width: 280px; margin: 0 auto; }
  .hero-tags, .hero-actions { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  section { padding: 80px 0; }
  nav { padding: 0 24px; }
  .nav-right { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px 24px; gap: 8px; z-index: 99; }
  .nav-right.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .journey-timeline { flex-direction: column; gap: 4px; align-items: flex-start; padding-left: 40px; }
  .journey-timeline::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 3px; height: auto; }
  .j-step { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 8px 0; }
  .j-dot { margin: 0; }
  .scroll-hint { display: none; }
  .page-hero { padding: 80px 24px 48px; }
  .manifesto { padding: 100px 24px; }
}
@media (max-width: 600px) {
  .grid-2 { grid-template-columns: 1fr; }
}
