
:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface2: #1a1a26;
  --border: rgba(255,255,255,0.07);
  --accent: #e63946;
  --accent2: #f4a261;
  --accent3: #2ec4b6;
  --text: #e8e8f0;
  --muted: #6b6b80;
  --gold: #ffd166;
  --supply-color: #2ec4b6;
  --demand-color: #e63946;
  --shade-red: rgba(230,57,70,0.18);
  --shade-teal: rgba(46,196,182,0.15);
  --shade-gold: rgba(255,209,102,0.18);
  --shade-orange: rgba(244,162,97,0.2);
  --noise-opacity: 0.5;
  --nav-bg: rgba(10,10,15,0.92);
  --hero-glow: rgba(230,57,70,0.07);
  --range-bg: rgba(255,255,255,0.1);
  --inset-bg: #0a0a0f;
  --box-bg: rgba(10,10,15,0.65);
  --text-secondary: #9090a8;
  --text-box: #8888a0;
  --content-color: #a0a0b5;
  --example-color: #8888a0;
  --quote-small: #5a5a70;
  --ebar-bg: rgba(255,255,255,0.06);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.skip-link { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; z-index:10000; background:var(--accent); color:#fff; padding:12px 24px; font-size:14px; text-decoration:none; }
.skip-link:focus { left:16px; top:16px; width:auto; height:auto; overflow:visible; }
body { background:var(--bg); color:var(--text); font-family:'DM Sans',sans-serif; font-weight:300; overflow-x:hidden; }
body::before { content:''; position:fixed; inset:0; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"); pointer-events:none; z-index:1; opacity:var(--noise-opacity); }

/* NAV */
nav:not(.breadcrumb) { position:fixed; top:0; left:0; right:0; z-index:1000; display:flex; flex-direction:column; align-items:stretch; padding:0; background:var(--nav-bg); backdrop-filter:blur(24px); border-bottom:1px solid var(--border); }
.nav-row1 { display:flex; align-items:center; justify-content:space-between; padding:10px 32px; gap:16px; border-bottom:1px solid var(--border); }
.nav-row2 { display:flex; align-items:center; justify-content:center; padding:0 32px; gap:0; overflow-x:auto; scrollbar-width:none; }
.nav-row2::-webkit-scrollbar { display:none; }
.nav-logo { font-family:'DM Sans',sans-serif; font-size:13px; font-weight:500; letter-spacing:0; color:var(--muted); white-space:nowrap; flex-shrink:1; min-width:0; overflow:hidden; text-overflow:ellipsis; display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-logo-text { color:var(--muted); }
.nav-logo-text span { color:var(--accent); }
.nav-logo .nav-favicon { width:28px; height:28px; flex-shrink:0; }
.nav-links { display:flex; gap:0; list-style:none; flex-shrink:0; }
.nav-links a { font-family:'Space Mono',monospace; font-size:9px; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); text-decoration:none; padding:10px 14px; border-right:1px solid var(--border); border-top:none; border-bottom:none; border-left:none; transition:all 0.2s; white-space:nowrap; display:block; }
.nav-links li:first-child a { border-left:1px solid var(--border); }
.nav-links a:hover, .nav-links a.active { color:var(--text); background:var(--surface); }
.nav-links a.active { border-bottom:2px solid var(--accent); }

/* MAIN CONTENT */
main { padding-top:108px; min-height:100vh; }

/* HERO */
.hero { min-height:calc(100vh - 80px); display:flex; flex-direction:column; justify-content:center; padding:80px 48px; position:relative; overflow:hidden; }
.hero::before { content:''; position:absolute; width:900px; height:900px; border-radius:50%; background:radial-gradient(circle, var(--hero-glow) 0%, transparent 70%); top:-250px; right:-200px; pointer-events:none; }
.hero-eyebrow { font-family:'Space Mono',monospace; font-size:11px; letter-spacing:0.4em; text-transform:uppercase; color:var(--accent); margin-bottom:32px; }
.hero-title { font-family:'Playfair Display',serif; font-size:clamp(52px,8vw,110px); font-weight:900; line-height:0.92; letter-spacing:-0.02em; max-width:800px; margin-bottom:40px; }
.hero-title em { font-style:italic; color:var(--accent); }
.hero-desc { max-width:520px; font-size:16px; line-height:1.7; color:var(--muted); margin-bottom:56px; }
.hero-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; max-width:900px; }
.hero-card { background:var(--surface); border:1px solid var(--border); padding:32px; cursor:pointer; transition:all 0.35s; position:relative; overflow:hidden; }
.hero-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:2px; background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform 0.35s; }
.hero-card:hover::after { transform:scaleX(1); }
.hero-card:hover { background:var(--surface2); transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,0.3); }
.hero-card-num { font-family:'Space Mono',monospace; font-size:10px; letter-spacing:0.3em; color:var(--accent); margin-bottom:16px; }
.hero-card h3 { font-family:'Playfair Display',serif; font-size:22px; margin-bottom:12px; font-weight:700; }
.hero-card p { font-size:13px; color:var(--muted); line-height:1.6; }

/* SECTION */
.section { padding:64px 48px; max-width:1400px; margin:0 auto; }
.section-header { margin-bottom:48px; border-bottom:1px solid var(--border); padding-bottom:40px; }
.section-tag { font-family:'Space Mono',monospace; font-size:10px; letter-spacing:0.4em; text-transform:uppercase; color:var(--accent); margin-bottom:16px; }
.section-title { font-family:'Playfair Display',serif; font-size:clamp(36px,4vw,68px); font-weight:900; line-height:1; letter-spacing:-0.02em; margin-bottom:20px; }
.section-intro { max-width:720px; font-size:15px; line-height:1.85; color:var(--muted); }

/* Language switch fade */
[data-de], [data-en], [data-i18n] {
  transition: opacity 0.15s ease;
}
.lang-switching [data-de], .lang-switching [data-en], .lang-switching [data-i18n] {
  opacity: 0;
}

/* LANGUAGE TOGGLE */
.lang-toggle { display:flex; gap:4px; margin-left:12px; flex-shrink:0; align-items:center; }
.lang-btn { background:transparent; border:1px solid var(--border); padding:4px 8px; cursor:pointer; font-size:16px; transition:all 0.2s; border-radius:2px; line-height:1; }
.lang-btn.active { border-color:var(--accent); background:rgba(230,57,70,0.1); }
.lang-btn:hover { border-color:var(--muted); }
.theme-btn { background:transparent; border:1px solid var(--border); padding:4px 8px; cursor:pointer; font-size:15px; transition:all 0.2s; border-radius:2px; line-height:1; display:flex; align-items:center; gap:3px; }
.theme-btn:hover { border-color:var(--muted); }

footer { border-top:1px solid var(--border); padding:36px 48px; display:flex; justify-content:space-between; align-items:center; }
footer p { font-family:'Space Mono',monospace; font-size:9px; letter-spacing:0.2em; color:var(--muted); }

/* SCROLL TO TOP */
.scroll-top { position:fixed; bottom:28px; right:28px; z-index:900; width:44px; height:44px; border-radius:50%; border:1px solid var(--border); background:var(--nav-bg); backdrop-filter:blur(16px); color:var(--muted); display:flex; align-items:center; justify-content:center; cursor:pointer; opacity:0; pointer-events:none; transition:opacity 0.3s, color 0.2s, border-color 0.2s, transform 0.2s; }
.scroll-top.visible { opacity:1; pointer-events:auto; }
.scroll-top:hover { color:var(--text); border-color:var(--accent); transform:translateY(-2px); }
.scroll-top svg { width:18px; height:18px; }

/* ETHICS SECTION */
.ethics-section { padding:80px 48px; background:var(--surface); border-top:1px solid var(--border); }
.ethics-grid { display:grid; grid-template-columns:1fr 1fr; gap:2px; margin:40px 0; }
.ethics-col { padding:36px 40px; }
.ethics-col.gesinnung { background:linear-gradient(135deg,rgba(230,57,70,0.05),transparent); border:1px solid rgba(230,57,70,0.15); }
.ethics-col.verantwortung { background:linear-gradient(135deg,rgba(46,196,182,0.05),transparent); border:1px solid rgba(46,196,182,0.15); }
.ethics-col-tag { font-family:'Space Mono',monospace; font-size:9px; letter-spacing:0.35em; text-transform:uppercase; margin-bottom:12px; }
.ethics-col.gesinnung .ethics-col-tag { color:var(--accent); }
.ethics-col.verantwortung .ethics-col-tag { color:var(--accent3); }
.ethics-col h4 { font-family:'Playfair Display',serif; font-size:22px; margin-bottom:14px; }
.ethics-col p { font-size:14px; line-height:1.8; color:var(--muted); margin-bottom:16px; }
.ethics-col .ethics-quote { font-family:'Playfair Display',serif; font-style:italic; font-size:15px; border-left:3px solid; padding:6px 0 6px 18px; margin:18px 0; line-height:1.5; }
.ethics-col.gesinnung .ethics-quote { border-color:var(--accent); color:var(--muted); }
.ethics-col.verantwortung .ethics-quote { border-color:var(--accent3); color:var(--muted); }
.ethics-examples { display:grid; grid-template-columns:1fr 1fr 1fr; gap:2px; margin-top:40px; }
.ethics-example { background:var(--bg); border:1px solid var(--border); padding:24px; position:relative; }
.ethics-example::before { content:''; position:absolute; top:0; left:0; width:100%; height:3px; }
.ethics-example.bad::before { background:var(--accent); }
.ethics-example.mixed::before { background:var(--gold); }
.ethics-example.good::before { background:var(--accent3); }
.ethics-example-tag { font-family:'Space Mono',monospace; font-size:8px; letter-spacing:0.3em; text-transform:uppercase; margin-bottom:10px; }
.ethics-example.bad .ethics-example-tag { color:var(--accent); }
.ethics-example.mixed .ethics-example-tag { color:var(--gold); }
.ethics-example.good .ethics-example-tag { color:var(--accent3); }
.ethics-example h5 { font-family:'Playfair Display',serif; font-size:16px; margin-bottom:10px; }
.ethics-example p { font-size:12px; line-height:1.7; color:var(--muted); }
.ethics-feel-outcome { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:14px; }
.ethics-feel { background:rgba(230,57,70,0.08); border:1px solid rgba(230,57,70,0.2); padding:8px 12px; font-size:11px; line-height:1.5; }
.ethics-outcome { background:rgba(46,196,182,0.08); border:1px solid rgba(46,196,182,0.2); padding:8px 12px; font-size:11px; line-height:1.5; }
.ethics-feel-label { font-family:'Space Mono',monospace; font-size:8px; letter-spacing:0.2em; text-transform:uppercase; color:var(--accent); margin-bottom:4px; }
.ethics-outcome-label { font-family:'Space Mono',monospace; font-size:8px; letter-spacing:0.2em; text-transform:uppercase; color:var(--accent3); margin-bottom:4px; }
@media (max-width:900px) {
  .ethics-section { padding:40px 16px; }
  .ethics-grid { grid-template-columns:1fr; }
  .ethics-examples { grid-template-columns:1fr; }
  .ethics-col { padding:24px 20px; }
}

/* ══ LIGHT MODE (system preference) ═════════════════════════════ */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f5f0; --surface: #ffffff; --surface2: #eeebe4;
    --border: rgba(0,0,0,0.09); --text: #16162a; --muted: #6b6b80;
    --accent: #c0272e; --accent2: #c45a1a; --accent3: #178f84; --gold: #b8892a;
    --shade-red: rgba(192,39,46,0.12); --shade-teal: rgba(23,143,132,0.12);
    --shade-gold: rgba(184,137,42,0.14); --shade-orange: rgba(196,90,26,0.14);
    --noise-opacity: 0.15; --nav-bg: rgba(247,245,240,0.92);
    --hero-glow: rgba(192,39,46,0.06); --range-bg: rgba(0,0,0,0.12);
    --inset-bg: #eeebe4; --box-bg: rgba(247,245,240,0.9);
    --text-secondary: #606070; --text-box: #606070;
    --content-color: #50506a; --example-color: #666680;
    --quote-small: #909090; --ebar-bg: rgba(0,0,0,0.08);
  }
}

/* ══ FORCE LIGHT (manual override) ══════════════════════════════ */
html.theme-light {
  --bg: #f7f5f0; --surface: #ffffff; --surface2: #eeebe4;
  --border: rgba(0,0,0,0.09); --text: #16162a; --muted: #6b6b80;
  --accent: #c0272e; --accent2: #c45a1a; --accent3: #178f84; --gold: #b8892a;
  --shade-red: rgba(192,39,46,0.12); --shade-teal: rgba(23,143,132,0.12);
  --shade-gold: rgba(184,137,42,0.14); --shade-orange: rgba(196,90,26,0.14);
  --noise-opacity: 0.15; --nav-bg: rgba(247,245,240,0.92);
  --hero-glow: rgba(192,39,46,0.06); --range-bg: rgba(0,0,0,0.12);
  --inset-bg: #eeebe4; --box-bg: rgba(247,245,240,0.9);
  --text-secondary: #606070; --text-box: #606070;
  --content-color: #50506a; --example-color: #666680;
  --quote-small: #909090; --ebar-bg: rgba(0,0,0,0.08);
}

/* ══ FORCE DARK (override system light preference) ═══════════════ */
html.theme-dark {
  --bg: #0a0a0f; --surface: #111118; --surface2: #1a1a26;
  --border: rgba(255,255,255,0.07); --text: #e8e8f0; --muted: #6b6b80;
  --accent: #e63946; --accent2: #f4a261; --accent3: #2ec4b6; --gold: #ffd166;
  --shade-red: rgba(230,57,70,0.18); --shade-teal: rgba(46,196,182,0.15);
  --shade-gold: rgba(255,209,102,0.18); --shade-orange: rgba(244,162,97,0.2);
  --noise-opacity: 0.5; --nav-bg: rgba(10,10,15,0.92);
  --hero-glow: rgba(230,57,70,0.07); --range-bg: rgba(255,255,255,0.1);
  --inset-bg: #0a0a0f; --box-bg: rgba(10,10,15,0.65);
  --text-secondary: #9090a8; --text-box: #8888a0;
  --content-color: #a0a0b5; --example-color: #8888a0;
  --quote-small: #5a5a70; --ebar-bg: rgba(255,255,255,0.06);
}

/* HAMBURGER MENU */
.hamburger { display:none; background:transparent; border:1px solid var(--border); padding:6px 8px; cursor:pointer; flex-direction:column; gap:4px; border-radius:2px; }
.hamburger span { display:block; width:20px; height:2px; background:var(--text); transition:all 0.3s; }
.hamburger.open span:nth-child(1) { transform:rotate(45deg) translate(4px,4px); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:rotate(-45deg) translate(4px,-4px); }

.mobile-overlay { display:none; position:fixed; inset:0; z-index:999; background:var(--bg); padding-top:70px; flex-direction:column; align-items:center; justify-content:flex-start; gap:0; overflow-y:auto; }
.mobile-overlay.open { display:flex; }
.mobile-overlay a { font-family:'Space Mono',monospace; font-size:13px; letter-spacing:0.15em; text-transform:uppercase; color:var(--muted); text-decoration:none; padding:16px 32px; width:100%; text-align:center; border-bottom:1px solid var(--border); transition:all 0.2s; }
.mobile-overlay a:hover, .mobile-overlay a.active { color:var(--text); background:var(--surface); }
.mobile-overlay a.active { border-left:3px solid var(--accent); }
.mobile-overlay .overlay-legal { display:flex; width:100%; border-top:1px solid var(--border); margin-top:12px; padding-top:0; }
.mobile-overlay .overlay-legal a { font-size:10px; width:50%; border-bottom:none; padding:14px 8px; color:var(--muted); opacity:0.7; }
.mobile-overlay .overlay-legal a:hover { opacity:1; }

/* FOCUS STATES (Accessibility) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.lang-btn:focus-visible, .theme-btn:focus-visible, .hamburger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  background: var(--surface);
}
input[type=range]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.chapter-nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ══ MOBILE ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* ── NAV ── */
  .nav-row1 { padding: 8px 14px; gap: 8px; }
  .nav-row2 { padding: 0 8px; justify-content:flex-start; overflow-x: auto; }
  .nav-logo { font-size: 10px; overflow: hidden; gap: 8px; }
  .nav-logo .nav-favicon { width: 24px; height: 24px; }
  .nav-logo .nav-logo-text { white-space: normal; line-height: 1.25; }
  .nav-links a { font-size: 8px; padding: 8px 10px; letter-spacing: 0.06em; white-space: nowrap; }
  .lang-toggle { margin-left: 4px; flex-shrink: 0; }
  main { padding-top: 60px; }

  /* ── HERO ── */
  .hero { padding: 32px 16px 40px; min-height: auto; }
  .hero-title { font-size: clamp(34px, 9vw, 68px); margin-bottom: 20px; line-height: 0.95; }
  .hero-desc { font-size: 13px; margin-bottom: 28px; }
  .interactive-hint { font-size: 12px; }

  /* ── ETHICS TEASER (home page) ── */
  .ethics-teaser-wrap { padding: 36px 16px 44px !important; }
  .ethics-teaser-header { flex-direction: column !important; gap: 14px !important; align-items: flex-start !important; }
  .ethics-teaser-header button { align-self: flex-start; }
  .ethics-examples { grid-template-columns: 1fr !important; }
  .ethics-feel-outcome { grid-template-columns: 1fr !important; }

  /* ── MAIN GRIDS ── */
  .hero-cards, .hero-cards-4 { grid-template-columns: 1fr 1fr; }
  .ethics-grid { grid-template-columns: 1fr; }

  /* ── SECTIONS ── */
  .section { padding: 28px 16px; }
  .section-title { font-size: clamp(26px, 7vw, 52px); }
  .ethics-section { padding: 32px 16px; }
  .ethics-col { padding: 22px 18px; }

  /* ── HEADINGS ── */
  h4, .slope-box h4, .content-block h4, .elasticity-box h4,
  .mono-title, .balanced-title { font-size: 16px; line-height: 1.35; }
  h5, .effect-chip h5, .mono-box h5, .balanced-box h6 { font-size: 13px; line-height: 1.35; }

  /* ── BODY TEXT ── */
  .section-intro, .mono-intro, .balanced-intro,
  .slope-box p, .content-block p,
  .explainer p, .dyn-explain { font-size: 13px; line-height: 1.7; }
  .mono-box p, .balanced-box p, .effect-chip p,
  .elasticity-box > div > p,
  .slope-box .example { font-size: 12px; line-height: 1.65; }

  /* ── TINY LABELS ── */
  .e-val, .e-label { font-size: 9px; }
  .stat-label { font-size: 8px; letter-spacing: 0.12em; }
  .section-tag, .slope-box-tag, .mono-tag, .balanced-tag,
  .elasticity-box-label, .chart-card-label,
  .effect-chip-label { font-size: 8px; }

  /* ── MISC ELEMENTS ── */
  .formula-box { font-size: 11px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .big-quote { font-size: 14px; padding-left: 14px; line-height: 1.5; }
  .big-quote small { font-size: 11px; }
  .hero-card h3 { font-size: 16px; }
  .hero-card p { font-size: 12px; }

  /* ── RENTE: stack the linked-slider panel vertically ── */
  .rente-slider-panel { grid-template-columns: 1fr !important; gap: 16px 0 !important; }
  .rente-slider-divider { display: none !important; }

  footer { flex-direction: column; gap: 10px; padding: 20px 16px; text-align: center; }
  footer p { font-size: 11px; }

  /* ── HAMBURGER ── */
  .hamburger { display:flex; }
  .nav-row2 { display:none; }
}

@media (max-width: 480px) {
  /* ── NAV ── */
  .nav-logo { font-size: 9px; }
  .nav-logo .nav-favicon { width: 22px; height: 22px; }
  .nav-links a { font-size: 7px; padding: 7px 8px; }
  .lang-btn { font-size: 14px; padding: 3px 6px; }

  /* ── HERO ── */
  .hero { padding: 20px 14px 32px; }
  .hero-title { font-size: clamp(28px, 10vw, 48px); }
  .hero-cards, .hero-cards-4 { grid-template-columns: 1fr; }
  .hero-cards-4 .hero-card { padding: 16px; }
  .hero-card h3 { font-size: 15px; }
  .hero-card p { font-size: 11px; }

  /* ── ETHICS TEASER ── */
  .ethics-teaser-wrap { padding: 24px 14px 32px !important; }
  .ethics-examples { gap: 8px !important; }

  /* ── TEXT ── */
  .section-intro, .mono-intro, .balanced-intro,
  .slope-box p, .content-block p { font-size: 12px; }
  .mono-box p, .balanced-box p, .effect-chip p { font-size: 11px; }
  h4, .slope-box h4, .content-block h4 { font-size: 15px; }

  /* ── ETHICS ── */
  .ethics-section { padding: 20px 14px; }
  .ethics-col { padding: 16px 14px; }
  .ethics-example { padding: 16px; }
  .ethics-feel-outcome { gap: 6px; }

  /* ── FORMULA ── */
  .formula-box { font-size: 10px; }
}

/* BREADCRUMB */
.breadcrumb {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  padding: 24px 48px 0;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.5;
}
@media (max-width: 900px) {
  .breadcrumb { padding: 16px 16px 0; }
}

/* SHARE BAR */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  margin-top: 32px;
  border-top: 1px solid var(--border);
}
.share-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}
.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* CHAPTER NAVIGATION */
.chapter-nav { display:flex; justify-content:space-between; gap:16px; padding:48px 48px 0; border-top:1px solid var(--border); margin-top:64px; }
.chapter-nav-link { text-decoration:none; display:flex; flex-direction:column; gap:4px; padding:16px 0; }
.chapter-nav-link.chapter-next { text-align:right; margin-left:auto; }
.chapter-nav-label { font-family:'Space Mono',monospace; font-size:9px; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent); }
.chapter-nav-title { font-family:'DM Sans',sans-serif; font-size:15px; color:var(--text); font-weight:500; }
.chapter-nav-link:hover .chapter-nav-title { color:var(--accent); }

@media (max-width: 900px) {
  .chapter-nav { padding:32px 16px 0; margin-top:40px; }
}
@media (max-width: 480px) {
  .chapter-nav { flex-direction:column; gap:24px; }
  .chapter-nav-link.chapter-next { text-align:left; margin-left:0; }
}
