:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f2f5f7;
  --ink: #111b2b;
  --muted: #667085;
  --line: #dce2e8;
  --navy: #132033;
  --navy-2: #22344d;
  --accent: #dfe7ee;
  --radius-sm: 10px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(23, 34, 51, .07);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 56px 0; }
.section-tight { padding-top: 12px; padding-bottom: 38px; }
.content-narrow { max-width: 880px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 9999; background: #fff; padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,248,250,.88); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(220,226,232,.75); }
body.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; color: var(--navy); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 21px; letter-spacing: -.03em; }
.brand-copy small { font-size: 9px; color: var(--muted); }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav .menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { font-size: 13px; color: #344054; }
.primary-nav .menu a:hover { color: var(--ink); }
.language-hub { position: relative; display: inline-flex; align-items: center; }
.language-switcher { display: inline-flex; align-items: center; gap: 7px; margin-left: 2px; color: #98a2b3; font-size: 10px; font-weight: 650; letter-spacing: .08em; }
.language-switcher a { color: #8b96a6; transition: color .2s ease; }
.language-switcher a:hover { color: var(--ink); }
.language-switcher a.is-active { color: var(--ink); font-weight: 800; }
.language-switcher > span { color: #c3cad2; }
.language-globe-toggle { width: 34px; height: 34px; margin-left: 4px; padding: 0; display: grid; place-items: center; border: 1px solid #cfd6de; border-radius: 50%; background: rgba(255,255,255,.7); color: #5d6a7b; cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease; }
.language-globe-toggle:hover, .language-globe-toggle[aria-expanded="true"] { border-color: #8d99a8; color: var(--navy); background: #fff; }
.language-globe-toggle:hover { transform: translateY(-1px); }
.language-globe-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.language-panel[hidden] { display: none !important; }
.language-panel { position: absolute; z-index: 80; top: calc(100% + 16px); right: 0; width: min(560px, calc(100vw - 36px)); max-height: min(720px, calc(100vh - 118px)); overflow: auto; overscroll-behavior: contain; border: 1px solid #d4dbe3; border-radius: 16px; background: rgba(255,255,255,.985); box-shadow: 0 28px 70px rgba(22,34,51,.16); color: var(--ink); letter-spacing: normal; }
.language-panel::before { content: ""; position: absolute; top: -7px; right: 13px; width: 13px; height: 13px; transform: rotate(45deg); border-left: 1px solid #d4dbe3; border-top: 1px solid #d4dbe3; background: #fff; }
.language-panel__head { position: sticky; top: 0; z-index: 2; min-height: 72px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e3e7ec; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.language-panel__head div { display: grid; gap: 3px; }
.language-panel__head strong { font-size: 16px; letter-spacing: -.02em; }
.language-panel__head span { color: #7a8696; font-size: 11px; }
.language-panel__close { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #7a8696; cursor: pointer; }
.language-panel__close:hover { background: #f1f4f6; color: var(--ink); }
.language-panel__close span { font-size: 24px; line-height: 1; transform: translateY(-1px); }
.language-panel__body { padding: 6px 18px 4px; }
.language-group { padding: 15px 0 17px; border-bottom: 1px solid #e6eaee; }
.language-group:last-child { border-bottom: 0; }
.language-group__head { margin-bottom: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.language-group__head strong { color: #344054; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.language-group__head span { color: #909aa8; font-size: 10px; }
.language-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.language-option { min-width: 0; min-height: 54px; padding: 9px 10px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; border: 1px solid #dde3e8; border-radius: 10px; background: #fbfcfd; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
a.language-option:hover { border-color: #aeb8c4; background: #fff; transform: translateY(-1px); }
.language-option.is-active { border-color: #8e9baa; background: #f1f4f7; }
.language-option.is-fallback { border-style: dashed; background: #fafbfc; }
.language-option.is-fallback:hover { border-style: solid; }
.language-option.is-fallback .language-option__copy small { color: #6f7d8f; }
.language-option__code { width: 34px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: #edf1f4; color: #4b5a6f; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.language-option__copy { min-width: 0; display: grid; gap: 2px; }
.language-option__copy strong { overflow: hidden; color: #26354a; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.language-option__copy small { overflow: hidden; color: #8792a1; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.language-option__check { color: #53667e; font-size: 12px; font-weight: 800; }
.language-panel__note { margin: 0; padding: 14px 18px 17px; border-top: 1px solid #e3e7ec; background: #f6f8fa; color: #7a8696; font-size: 9.5px; line-height: 1.6; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.nav-toggle span:not(.sr-only) { width: 18px; height: 1.5px; background: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 9px; border: 1px solid transparent; font-weight: 600; font-size: 14px; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 40px; padding-inline: 16px; font-size: 12px; }
.button-dark { background: var(--navy); color: white; box-shadow: 0 7px 18px rgba(19,32,51,.16); }
.button-outline { border-color: #b6c0ca; background: rgba(255,255,255,.55); }
.button-light { background: white; color: var(--navy); }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: #344054; font-size: 14px; font-weight: 500; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(3px); }

.hero { padding-top: 48px; padding-bottom: 28px; overflow: hidden; }
.hero-grid { min-height: 560px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.hero-copy { max-width: 700px; padding-top: 0; }
.eyebrow { margin-bottom: 18px; font-size: 11px; line-height: 1.2; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; color: #758195; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; margin-top: 0; letter-spacing: -.045em; }
.hero h1 { margin-bottom: 28px; font-size: clamp(44px, 5.7vw, 72px); line-height: 1.03; font-weight: 650; max-width: 7.3ch; }
.hero h1 span { color: #43516a; font-weight: 550; }
.hero-lead { max-width: 670px; font-size: 18px; line-height: 1.75; color: #536174; }
.hero-points { display: grid; gap: 11px; margin: 30px 0 34px; }
.hero-points span { position: relative; padding-left: 26px; font-size: 14px; color: #3e4a5c; }
.hero-points span::before { content: '✓'; position: absolute; left: 0; top: -1px; width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #97a5b4; border-radius: 50%; font-size: 10px; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.hero-visual { min-height: 520px; display: grid; place-items: center; position: relative; justify-self: end; width: 100%; }
.network-orb { width: 100%; color: #29374e; animation: none; }
.network-orb-image { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; justify-self: end; width: min(100%, 720px); transform: translate(14px, -4px); }
.network-orb-image::before { content: ""; position: absolute; inset: 16% 10% 18%; border-radius: 50%; background: radial-gradient(circle at center, rgba(229,234,240,.46) 0%, rgba(229,234,240,.18) 42%, rgba(229,234,240,0) 74%); filter: blur(18px); z-index: 0; }
.network-brain { position: relative; z-index: 1; width: min(100%, 620px); height: auto; filter: drop-shadow(0 16px 24px rgba(17,27,43,.035)); opacity: .96; }
.hero-research-counter { position: relative; z-index: 2; margin-top: -8px; text-align: center; }
.arm3-public-counter { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; padding-top: 11px; border-top: 1px solid rgba(117,129,149,.34); min-width: 310px; color: #647084; }
.arm3-public-counter__label { font-size: 10px; line-height: 1.2; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: #7b8798; }
.arm3-public-counter__numbers { font-size: 12px; line-height: 1.45; color: #647084; white-space: nowrap; }
.arm3-public-counter__numbers strong { color: #2f3d52; font-weight: 650; font-variant-numeric: tabular-nums; }
.arm3-public-counter__sep { color: #9aa4b2; }
@keyframes float { 50% { transform: translateY(-8px); } }

.pillars-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.pillar-card { min-height: 185px; padding: 28px 28px 26px; background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 22px rgba(23, 34, 51, .035); }
.icon-wrap { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #c7d0da; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(244,247,250,.92) 100%); color: #2d3d55; }
.pillar-icon { width: 26px; height: 26px; }
.pillar-card h3 { margin: 22px 0 10px; font-size: 16px; }
.pillar-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 13px; }

.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.split-grid h2, .home-research-copy h2, .cta-card h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.07; }
.prose { font-size: 17px; color: #5c6879; line-height: 1.8; }
.prose p { margin-top: 0; }

.home-research-section { padding-top: 70px; padding-bottom: 76px; }
.home-research-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 96px; align-items: start; }
.home-research-copy { max-width: 500px; }
.home-research-copy h2 { margin-bottom: 22px; }
.home-research-copy > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.home-research-link { margin-top: 28px; }
.home-research-signals { border-top: 1px solid var(--line); }
.home-research-signals article { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 23px 0 24px; border-bottom: 1px solid var(--line); }
.home-research-signals article > span { padding-top: 2px; color: #8c97a6; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.home-research-signals strong { display: block; margin-bottom: 7px; color: #26354a; font-size: 14px; }
.home-research-signals p { max-width: 610px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.home-final-cta { padding-top: 34px; padding-bottom: 82px; }
.home-cta-container { max-width: 980px; }
.cta-card { min-height: 286px; padding: 54px 64px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; background: var(--navy); color: #fff; text-align: center; box-shadow: 0 22px 54px rgba(19,32,51,.12); }
.cta-copy { display: grid; justify-items: center; }
.cta-card .eyebrow { color: #aeb9c7; }
.cta-card h2 { max-width: 760px; margin-bottom: 14px; }
.cta-card p { max-width: 650px; margin: 0; color: #b9c4cf; line-height: 1.65; }

.site-footer { padding: 56px 0 30px; border-top: 1px solid var(--line); background: #f3f5f7; color: #5d6878; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 56px; }
.footer-copy { min-width: 0; }
.footer-brand { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-weight: 700; color: var(--ink); font-size: 22px; }
.site-footer p { margin: 7px 0 0; font-size: 12px; }
.footer-mark { flex: 0 0 auto; display: block; width: 58px; height: 58px; color: var(--navy); opacity: .82; transition: opacity .2s ease, transform .2s ease; }
.footer-mark:hover { opacity: 1; transform: translateY(-2px); }
.footer-mark svg { width: 100%; height: 100%; }
.footer-meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 35px; margin-top: 35px; border-top: 1px solid var(--line); font-size: 11px; }

.page-shell { min-height: 70vh; }
.content-card { padding: 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.page-header h1 { font-size: clamp(38px, 6vw, 64px); }
.entry-content { color: #4f5b6c; line-height: 1.8; }
.entry-content h2 { margin-top: 42px; color: var(--ink); }
.entry-content code { padding: 2px 6px; background: #eff2f5; border-radius: 5px; }

.test-container { max-width: 980px; }
.test-intro { max-width: 720px; margin-bottom: 32px; }
.test-intro h1 { font-size: clamp(42px, 6vw, 68px); }
.test-intro p { color: var(--muted); line-height: 1.7; }
.test-mount { min-height: 420px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.plugin-placeholder { min-height: 350px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px dashed #bbc5cf; border-radius: 14px; color: var(--muted); }
.plugin-placeholder strong { color: var(--ink); }


/* Methodology · example result */
.result-preview-section { background: #f0f3f6; border-top: 1px solid rgba(220,226,232,.8); border-bottom: 1px solid rgba(220,226,232,.8); }
.result-preview-heading { margin-bottom: 38px; }
.result-preview-heading h2 { max-width: 570px; }
.result-demo { display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; border: 1px solid #d5dde5; border-radius: 18px; background: #fff; box-shadow: 0 18px 46px rgba(23,34,51,.055); }
.result-demo-primary { padding: 38px 40px; background: var(--navy); color: #fff; }
.result-demo-badge { display: inline-flex; margin-bottom: 34px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #c5ced8; font-size: 8.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.result-demo-label { display: block; margin-bottom: 10px; color: #9eabb9; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.result-demo-primary h3 { margin: 0; color: #fff; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04; }
.result-demo-similarity { margin: 12px 0 0; color: #bcc6d0; font-size: 12px; }
.result-demo-state { margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.result-demo-state-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.result-demo-state-head strong { font-size: 12px; }
.result-demo-state-head span { color: #9eabb9; font-size: 9px; }
.result-demo-bar-row { display: grid; grid-template-columns: 92px 1fr 25px; gap: 12px; align-items: center; margin-top: 13px; color: #c8d0d9; font-size: 10px; }
.result-demo-bar-row strong { color: #fff; font-size: 10px; text-align: right; }
.result-demo-track { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.13); }
.result-demo-track i { display: block; height: 100%; border-radius: inherit; background: #d9e1e8; }
.result-demo-detail { padding: 38px 40px; }
.result-demo-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.result-demo-metrics article { min-width: 0; padding: 18px 16px; border: 1px solid var(--line); border-radius: 11px; background: #f8fafb; }
.result-demo-metrics article > span { display: block; color: #8692a2; font-size: 9px; font-weight: 750; letter-spacing: .09em; }
.result-demo-metrics article > strong { display: block; margin: 12px 0 7px; color: #1e2c40; font-size: 28px; letter-spacing: -.04em; }
.result-demo-metrics article > small { display: block; color: #727e8f; font-size: 9px; line-height: 1.35; }
.result-demo-reading { margin-top: 22px; padding: 25px 27px; border-left: 3px solid #66778e; background: #f2f5f7; }
.result-demo-reading span, .result-demo-scope span { display: block; margin-bottom: 9px; color: #536177; font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.result-demo-reading p { margin: 0; color: #4f5d70; font-size: 13px; line-height: 1.72; }
.result-demo-scope { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.result-demo-scope p { margin: 0; color: #687587; font-size: 11px; line-height: 1.65; }
.result-demo-note { max-width: 920px; margin: 18px 0 0; color: #778292; font-size: 10.5px; line-height: 1.6; }
.result-demo-note strong { color: #566477; }
.result-taxonomy-link { margin-top: 16px; font-size: 12px; color: #4a5a70; }

/* Test page · restrained output preview */
.test-output-expectation { display: grid; grid-template-columns: .72fr 1.28fr; gap: 44px; align-items: center; margin: 0 0 18px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.58); }
.test-output-expectation div > span { display: block; margin-bottom: 6px; color: #8793a3; font-size: 8.5px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.test-output-expectation div > strong { display: block; color: #26354a; font-size: 15px; }
.test-output-expectation p { margin: 0; color: #687587; font-size: 11.5px; line-height: 1.65; }

@media (max-width: 960px) {
  .home-dynamics-head { grid-template-columns: 1fr; gap: 24px; }
  .state-shift { grid-template-columns: 1fr; gap: 0; }
  .state-arrow { height: 44px; }
  .state-arrow::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px solid #c9d1da; }
  .state-arrow span { transform: rotate(90deg); background: #f0f3f6; }
  .state-node:first-child { border-radius: 14px 14px 0 0; }
  .state-node:last-child { border-radius: 0 0 14px 14px; }
  .hero-grid, .split-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 34px; }
  .hero-copy { padding-top: 0; }
  .hero-visual { min-height: 380px; justify-self: stretch; }
  .network-orb-image { justify-self: center; transform: none; width: min(100%, 620px); }
  .hero-research-counter { margin-top: -2px; }
  .arm3-public-counter { min-width: min(310px, 86vw); }
  .arm3-public-counter__numbers { white-space: normal; }
  .pillars-grid { grid-template-columns: repeat(2,1fr); }
  .home-research-layout { grid-template-columns: 1fr; gap: 46px; }
  .home-research-copy { max-width: 680px; }
  .primary-nav { position: fixed; inset: 86px 18px auto; padding: 24px; background: rgba(255,255,255,.98); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: none; flex-direction: column; align-items: stretch; }
  .primary-nav.is-open { display: flex; }
  .primary-nav .menu { flex-direction: column; align-items: stretch; gap: 18px; }
  .language-hub { width: 100%; display: block; margin-top: 2px; padding-top: 18px; border-top: 1px solid var(--line); }
  .language-switcher { width: 100%; margin: 0; padding: 0; justify-content: flex-start; font-size: 11px; }
  .language-globe-toggle { margin-left: auto; }
  .language-panel { position: static; width: 100%; max-height: min(62vh, 620px); margin-top: 14px; box-shadow: 0 12px 28px rgba(22,34,51,.08); }
  .language-panel::before { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
  .home-dynamics-section { padding-top: 64px; padding-bottom: 66px; }
  .home-dynamics-head h2 { font-size: 42px; }
  .home-dynamics-head > p { font-size: 15px; }
  .state-shift { margin-top: 34px; }
  .state-node { min-height: 0; padding: 24px; }
  .state-node > span { margin-bottom: 18px; }
  .home-dynamics-foot { align-items: flex-start; flex-direction: column; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 44px 0; }
  .hero { padding-top: 46px; }
  .hero h1 { font-size: 46px; max-width: 8ch; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 0; }
  .cta-card, .content-card { padding: 30px; }
  .home-research-section { padding-top: 54px; padding-bottom: 58px; }
  .home-research-layout { gap: 38px; }
  .home-research-signals article { grid-template-columns: 36px 1fr; gap: 14px; padding: 20px 0; }
  .home-final-cta { padding-top: 20px; padding-bottom: 60px; }
  .home-cta-container { width: min(calc(100% - 28px), 980px); }
  .cta-card { min-height: 0; padding: 42px 26px; gap: 24px; }
  .cta-card h2 { font-size: 38px; }
  .language-grid { grid-template-columns: 1fr; }
  .language-panel__body { padding-inline: 14px; }
  .language-panel__note { padding-inline: 14px; }
  .footer-grid, .footer-meta { flex-direction: column; }
  .footer-grid { align-items: flex-start; gap: 34px; }
  .footer-mark { align-self: center; width: 54px; height: 54px; }
  .brand-copy small { display: none; }
}

/* ARM-3 v0.1.9 · Theory / Research content */
.content-wide { max-width: 1120px; }
.compact-split { gap: 72px; }
.section-heading { margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.section-intro { max-width: 760px; margin: 0; color: #5c6879; font-size: 16px; line-height: 1.8; }

.type-section { padding-top: 52px; }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.type-card { position: relative; min-height: 330px; padding: 32px; background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(23,34,51,.035); }
.type-card-emphasis { background: #eef2f6; border-color: #cfd7e0; }
.type-index { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 11px; color: #8994a4; letter-spacing: .12em; }
.type-label { display: inline-block; margin-top: 48px; padding: 5px 9px; border: 1px solid #cbd3dc; border-radius: 999px; color: #667385; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.type-card h3 { margin: 18px 0 13px; font-size: 25px; }
.type-card .type-lead { color: #28374c; font-weight: 600; line-height: 1.55; }
.type-card p { color: var(--muted); font-size: 14px; line-height: 1.72; }

.mechanism-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 46px 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.mechanism-copy h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; }
.mechanism-copy p { max-width: 650px; color: var(--muted); line-height: 1.8; }
.formula-panel { padding: 28px 30px; background: var(--navy); color: #fff; border-radius: 14px; }
.formula-kicker { display: block; margin-bottom: 22px; color: #aeb9c7; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.formula { display: flex; align-items: center; gap: 13px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: clamp(25px, 3vw, 37px); letter-spacing: -.035em; }
.fraction { display: inline-grid; text-align: center; font-size: .58em; line-height: 1.45; }
.fraction span:first-child { padding: 0 8px 5px; border-bottom: 1px solid rgba(255,255,255,.72); }
.fraction span:last-child { padding-top: 5px; }
.formula-panel p { margin: 22px 0 0; color: #aeb9c7; font-size: 11px; line-height: 1.65; }

.subhero { padding-top: 78px; padding-bottom: 44px; }
.subhero h1 { max-width: 920px; margin-bottom: 26px; font-size: clamp(45px, 6.7vw, 78px); line-height: 1.03; }
.subhero-lead { max-width: 850px; margin: 0; color: #556276; font-size: 19px; line-height: 1.8; }
.status-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.status-pill { padding: 7px 11px; border: 1px solid #ccd4dd; border-radius: 999px; background: rgba(255,255,255,.55); color: #5d697a; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.alt-section { background: #f0f3f6; border-top: 1px solid rgba(220,226,232,.8); border-bottom: 1px solid rgba(220,226,232,.8); }

.theory-type-stack { border-top: 1px solid var(--line); }
.theory-type-row { display: grid; grid-template-columns: 1fr 1.35fr .55fr; gap: 40px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.theory-type-name { display: flex; gap: 18px; align-items: baseline; }
.theory-type-name > span { color: #929dad; font-size: 10px; letter-spacing: .12em; }
.theory-type-name h3 { margin: 0; font-size: 24px; }
.theory-type-row strong { color: #29374a; font-size: 13px; }
.theory-type-row p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.principle { padding-left: 20px; border-left: 1px solid var(--line); }
.principle span { display: block; margin-bottom: 7px; color: #8a95a5; font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }
.principle strong { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 14px; }

.mechanism-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mechanism-item { min-height: 245px; padding: 28px; background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 14px; }
.mechanism-item > span { display: inline-grid; place-items: center; min-width: 43px; height: 29px; padding-inline: 8px; border-radius: 7px; background: #e8edf2; color: #34445b; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 11px; font-weight: 700; }
.mechanism-item h3 { margin: 24px 0 10px; font-size: 18px; }
.mechanism-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }

.rp-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.large-formula { padding: 38px; }
.two-axis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 38px; }
.two-axis-grid article { padding: 26px 28px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.two-axis-grid article > span { color: #758195; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.two-axis-grid h3 { margin: 12px 0 8px; font-size: 18px; }
.two-axis-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.instrument-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.instrument-grid article { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.instrument-grid article > span { color: #9aa4b2; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 30px; font-weight: 600; }
.instrument-grid h3 { margin: 22px 0 10px; font-size: 18px; }
.instrument-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }
.notice-box { margin-top: 24px; padding: 24px 28px; border-left: 3px solid #61728a; background: #e9eef3; border-radius: 0 12px 12px 0; }
.notice-box strong { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 14px; }
.notice-box p { margin: 7px 0 0; color: #596779; font-size: 13px; line-height: 1.7; }
.prominent { margin-top: 0; padding: 30px 34px; }

.research-content-section { padding-top: 18px; }
.evidence-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.evidence-legend article { min-height: 185px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.evidence-legend strong { display: block; margin-bottom: 14px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 25px; }
.evidence-legend span { display: block; color: #34445b; font-size: 12px; font-weight: 600; }
.evidence-legend p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.evidence-list { border-top: 1px solid var(--line); }
.evidence-list article { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.evidence-tag { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 30px; border: 1px solid #bfc9d4; border-radius: 7px; color: #40516a; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.evidence-list h3 { margin: 1px 0 8px; font-size: 19px; }
.evidence-list p { max-width: 850px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.hypothesis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hypothesis-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.hypothesis-grid article > span { color: #7d8999; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 700; }
.hypothesis-grid h3 { margin: 18px 0 10px; font-size: 19px; }
.hypothesis-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }


/* Research · theoretical archetype taxonomy */
.taxonomy-heading { max-width: 900px; }
.taxonomy-space-note { margin-top: 26px; padding: 22px 24px; border-left: 2px solid #aeb9c5; background: rgba(255,255,255,.48); }
.taxonomy-space-note > p { margin: 0; color: #5f6c7f; font-size: 13px; line-height: 1.72; }
.taxonomy-space-note > p strong { color: #2d3d53; }
.taxonomy-space-math { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 19px 0; }
.taxonomy-space-math span { display: flex; align-items: baseline; gap: 9px; padding: 10px 12px; border-top: 1px solid #d4dbe3; border-bottom: 1px solid #d4dbe3; }
.taxonomy-space-math strong { color: #26364c; font-size: 22px; line-height: 1; }
.taxonomy-space-math small { color: #718094; font-size: 9px; font-weight: 650; line-height: 1.35; letter-spacing: .025em; }
.taxonomy-space-example { font-size: 12px !important; }
.taxonomy-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 36px 0 52px; }
.taxonomy-summary article { display: grid; grid-template-columns: auto auto 1fr; gap: 13px; align-items: center; padding: 18px 20px; border: 1px solid #d7dee6; border-radius: 12px; background: rgba(255,255,255,.68); }
.taxonomy-summary span { display: inline-grid; place-items: center; min-width: 36px; height: 28px; border-radius: 7px; background: #e7ecf1; color: #44546a; font-size: 9px; font-weight: 750; letter-spacing: .08em; }
.taxonomy-summary strong { color: #1f2d41; font-size: 27px; line-height: 1; }
.taxonomy-summary p { margin: 0; color: #667286; font-size: 11px; line-height: 1.35; }
.taxonomy-family { padding-top: 34px; margin-top: 34px; border-top: 1px solid #d7dee6; }
.taxonomy-family:first-of-type { margin-top: 0; }
.taxonomy-family-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: end; margin-bottom: 22px; }
.taxonomy-family-head > div { display: flex; align-items: center; gap: 14px; }
.taxonomy-family-code { display: inline-grid; place-items: center; min-width: 38px; height: 30px; border: 1px solid #bfc9d4; border-radius: 8px; color: #40516a; font-size: 9px; font-weight: 750; letter-spacing: .09em; }
.taxonomy-family-head h3 { margin: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.08; }
.taxonomy-family-head p { max-width: 650px; margin: 0; color: #687487; font-size: 13px; line-height: 1.7; }
.taxonomy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.taxonomy-card { display: flex; flex-direction: column; min-height: 252px; padding: 22px 21px 19px; border: 1px solid #d9e0e7; border-radius: 13px; background: #fff; }
.taxonomy-id { display: inline-flex; align-self: flex-start; margin-bottom: 22px; color: #8692a2; font-size: 9px; font-weight: 750; letter-spacing: .11em; }
.taxonomy-card h4 { margin: 0 0 10px; color: #243349; font-size: 16px; line-height: 1.28; letter-spacing: -.018em; }
.taxonomy-card > p { margin: 0; color: #667286; font-size: 11.5px; line-height: 1.62; }
.taxonomy-signature { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 18px; }
.taxonomy-signature span { padding: 5px 7px; border-radius: 999px; background: #f0f3f6; color: #526176; font-size: 8px; font-weight: 700; letter-spacing: .025em; white-space: nowrap; }
.taxonomy-family-rz .taxonomy-card { background: #f8fafb; }
.taxonomy-family-rz .taxonomy-family-code { background: var(--navy); border-color: var(--navy); color: #fff; }
.taxonomy-notice { margin-top: 34px; }

.age-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 54px; align-items: center; }
.causal-card { padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.causal-card .evidence-tag { width: auto; padding-inline: 11px; margin-bottom: 24px; }
.causal-line { padding: 13px 14px; background: #f3f6f8; border: 1px solid #e0e5ea; border-radius: 9px; color: #334258; font-size: 13px; font-weight: 600; text-align: center; }
.causal-arrow { padding: 5px 0; color: #95a0af; text-align: center; }

.prediction-list { border-top: 1px solid var(--line); }
.prediction-list article { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.prediction-list strong { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #40516a; }
.prediction-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }

.reference-list { margin: 0; padding-left: 24px; }
.reference-list li { padding: 15px 0 15px 8px; border-bottom: 1px solid var(--line); color: #596678; font-size: 13px; line-height: 1.7; }
.reference-list li:first-child { border-top: 1px solid var(--line); }
.reference-list a { color: #31445f; font-weight: 600; text-decoration: underline; text-decoration-color: #b6c0ca; text-underline-offset: 3px; }
.limits-section { padding-top: 30px; }

@media (max-width: 960px) {
  .type-grid, .mechanism-grid, .instrument-grid { grid-template-columns: 1fr 1fr; }
  .type-card:last-child, .instrument-grid article:last-child { grid-column: 1 / -1; }
  .mechanism-card, .rp-layout, .age-layout { grid-template-columns: 1fr; }
  .theory-type-row { grid-template-columns: 1fr 1.35fr; }
  .principle { grid-column: 2; }
  .evidence-legend { grid-template-columns: repeat(2, 1fr); }
  .taxonomy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .taxonomy-family-head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
}

@media (max-width: 640px) {
  .type-grid, .mechanism-grid, .instrument-grid, .two-axis-grid, .hypothesis-grid, .evidence-legend { grid-template-columns: 1fr; }
  .type-card:last-child, .instrument-grid article:last-child { grid-column: auto; }
  .type-card { min-height: 0; }
  .type-label { margin-top: 30px; }
  .mechanism-card { padding: 30px; }
  .subhero { padding-top: 54px; }
  .subhero h1 { font-size: 46px; }
  .subhero-lead { font-size: 16px; }
  .theory-type-row { grid-template-columns: 1fr; gap: 18px; }
  .principle { grid-column: auto; padding: 15px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .evidence-list article { grid-template-columns: 1fr; gap: 12px; }
  .prediction-list article { grid-template-columns: 48px 1fr; }
  .taxonomy-space-note { padding: 18px 16px; }
  .taxonomy-space-math { grid-template-columns: 1fr; gap: 0; }
  .taxonomy-space-math span { padding-inline: 2px; border-bottom: 0; }
  .taxonomy-space-math span:last-child { border-bottom: 1px solid #d4dbe3; }
  .taxonomy-summary, .taxonomy-grid { grid-template-columns: 1fr; }
  .taxonomy-summary { margin-bottom: 38px; }
  .taxonomy-card { min-height: 0; }
  .taxonomy-family-head > div { align-items: flex-start; }
  .taxonomy-family-head h3 { font-size: 26px; }
  .large-formula { padding: 28px; }
}


/* Legal pages */
.legal-page { padding: 72px 0 110px; }
.legal-page__inner { max-width: 860px; }
.legal-page h1 { margin-bottom: 36px; font-size: clamp(40px, 5vw, 62px); }
.legal-content { color: #465466; font-size: 15px; line-height: 1.8; }
.legal-content h2 { margin: 44px 0 14px; color: var(--ink); font-size: 24px; letter-spacing: -.025em; }
.legal-content h3 { margin: 30px 0 10px; color: var(--ink); font-size: 18px; letter-spacing: -.02em; }
.legal-content p, .legal-content ul { margin: 0 0 16px; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.legal-note { margin: 26px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; color: #5b6675; font-size: 13px; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 11px; }
.footer-legal a { color: var(--muted); }


/* Homepage · Dynamisches Modell */
.home-dynamics-section { padding-top: 88px; padding-bottom: 92px; background: #f0f3f6; border-top: 1px solid rgba(220,226,232,.75); border-bottom: 1px solid rgba(220,226,232,.75); }
.home-dynamics-head { display: grid; grid-template-columns: .92fr 1.08fr; gap: 86px; align-items: end; }
.home-dynamics-head h2 { max-width: 590px; margin: 0; font-size: clamp(42px, 5.2vw, 64px); line-height: 1.02; }
.home-dynamics-head > p { max-width: 570px; margin: 0 0 6px; color: #5d697b; font-size: 17px; line-height: 1.78; }
.state-shift { display: grid; grid-template-columns: 1fr 54px 1.12fr 54px 1fr; align-items: stretch; margin-top: 48px; }
.state-node { min-height: 205px; padding: 28px 30px; border: 1px solid #d6dde5; background: rgba(255,255,255,.78); }
.state-node:first-child { border-radius: 14px 0 0 14px; }
.state-node:last-child { border-radius: 0 14px 14px 0; }
.state-node > span { display: block; margin-bottom: 28px; color: #8b97a7; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.state-node strong { display: block; color: #1d2a3e; font-size: 17px; line-height: 1.35; }
.state-node p { margin: 10px 0 0; color: #667287; font-size: 13px; line-height: 1.68; }
.state-node-pressure { background: #f8fafb; }
.state-node-protect { background: var(--navy); border-color: var(--navy); }
.state-node-protect > span { color: #aeb9c7; }
.state-node-protect strong { color: #fff; }
.state-node-protect p { color: #bbc5cf; }
.state-arrow { display: grid; place-items: center; position: relative; color: #8793a3; font-size: 20px; }
.state-arrow::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #c9d1da; }
.state-arrow span { position: relative; z-index: 1; padding: 0 8px; background: #f0f3f6; }
.home-dynamics-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; }
.home-dynamics-foot > span { color: #7e8999; font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }

/* ARM-3 Genese */
.genesis-hero { padding-bottom: 34px; }
.genesis-hero h1 { max-width: 980px; overflow-wrap: anywhere; hyphens: auto; }
.genesis-path { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 30px; color: #596779; font-size: 11px; font-weight: 650; letter-spacing: .035em; }
.genesis-path > span { padding: 8px 11px; border: 1px solid #ccd4dd; border-radius: 999px; background: rgba(255,255,255,.62); }
.genesis-path i { color: #98a3b2; font-style: normal; }

.philosophy-pillars { display: grid; grid-template-columns: repeat(10, 1fr); gap: 14px; margin-top: 38px; }
.philosophy-pillar { grid-column: span 2; position: relative; min-height: 355px; padding: 25px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.philosophy-pillar .pillar-number { display: block; margin-bottom: 24px; color: #99a3b1; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.philosophy-pillar h3 { min-height: 42px; margin-bottom: 20px; color: #526176; font-size: 11px; font-weight: 750; line-height: 1.35; letter-spacing: .055em; text-transform: uppercase; }
.philosophy-pillar .pillar-thesis { margin: 0 0 14px; color: var(--ink); font-size: 16px; font-weight: 650; line-height: 1.38; letter-spacing: -.022em; }
.philosophy-pillar .pillar-explanation { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.68; }
.philosophy-pillar-focus { border-color: #9eabb9; background: var(--navy); color: #fff; box-shadow: 0 16px 34px rgba(19,32,51,.13); }
.philosophy-pillar-focus .pillar-number { color: #aeb9c7; margin-bottom: 12px; }
.philosophy-pillar-focus h3 { color: #f5f7fa; }
.philosophy-pillar-focus .pillar-thesis { color: #fff; }
.philosophy-pillar-focus .pillar-explanation { color: #bdc7d1; }
.pillar-focus-label { display: inline-flex; margin-bottom: 20px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #d5dce4; font-size: 8px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; white-space: normal; line-height: 1.25; }

.anthro-layout { display: grid; grid-template-columns: 1.06fr .94fr; gap: 58px; align-items: center; }
.thesis-panel { padding: 38px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: 0 18px 42px rgba(19,32,51,.12); }
.thesis-equation { display: grid; gap: 14px; margin: 5px 0 26px; }
.thesis-equation strong { font-size: clamp(24px, 3vw, 35px); line-height: 1.06; letter-spacing: -.04em; }
.thesis-equation span { color: #91a0b3; font-size: 24px; font-weight: 300; }
.thesis-panel p { margin: 0; color: #bac4cf; font-size: 13px; line-height: 1.75; }
.anthro-contrast { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 38px; }
.anthro-contrast article { padding: 27px 28px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.84); }
.anthro-contrast article > span { color: #7d8999; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.anthro-contrast h3 { margin: 12px 0 9px; font-size: 19px; }
.anthro-contrast p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }

.kant-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.kant-reference { padding: 35px 36px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.kant-reference blockquote { margin: 0; color: #26354a; font-size: 22px; line-height: 1.52; letter-spacing: -.025em; }
.kant-reference cite { display: block; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: #7a8696; font-size: 10px; font-style: normal; line-height: 1.6; }
.kant-copy h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.07; }

.mode-branch { max-width: 950px; margin: 40px auto 0; }
.mode-root, .mode-card { padding: 28px 30px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mode-root { max-width: 460px; margin: 0 auto; text-align: center; }
.mode-root h3, .mode-card h3 { margin: 17px 0 9px; font-size: 23px; }
.mode-root strong, .mode-card strong { color: #3b4b61; font-size: 12px; }
.mode-root p, .mode-card p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.mode-code { display: inline-flex; padding: 6px 8px; border-radius: 7px; background: #e9eef3; color: #526176; font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.branch-lines { position: relative; width: calc(50% + 13px); height: 66px; margin: 0 auto; transform: none; }
.branch-lines::before { content: ""; position: absolute; left: 50%; top: 0; height: 33px; border-left: 1px solid #bfc8d2; transform: translateX(-.5px); }
.branch-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 33px; border-top: 1px solid #bfc8d2; }
.branch-lines span { position: absolute; top: 33px; height: 33px; border-left: 1px solid #bfc8d2; }
.branch-lines span:first-child { left: 0; }
.branch-lines span:last-child { right: 0; }
.mode-outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.mode-card { min-height: 235px; }
.mode-card:first-child { border-color: #bec9d4; }
.mode-card:last-child { background: #f4f6f8; }
.genesis-notice { max-width: 950px; margin: 28px auto 0; }

.translation-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 13px; align-items: stretch; margin-top: 38px; }
.translation-flow article { padding: 25px 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.translation-flow article > span { color: #95a0af; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.translation-flow h3 { margin: 20px 0 9px; font-size: 17px; }
.translation-flow p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.68; }
.translation-flow > i { display: grid; place-items: center; color: #9aa5b3; font-style: normal; }
.genesis-mechanisms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.genesis-mechanisms article { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; padding: 20px 21px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.62); }
.genesis-mechanisms article > span { grid-row: 1 / 3; display: inline-grid; place-items: center; min-width: 44px; min-height: 30px; padding-inline: 7px; border-radius: 7px; background: #e7ecf1; color: #40516a; font-size: 9px; font-weight: 700; }
.genesis-mechanisms strong { color: #334258; font-size: 12px; line-height: 1.3; }
.genesis-mechanisms p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.independence-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding: 42px 45px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.independence-card h2 { margin-bottom: 0; font-size: clamp(31px, 4vw, 47px); line-height: 1.08; }
.independence-card p { margin: 0 0 16px; color: #596779; font-size: 14px; line-height: 1.78; }
.independence-card p:last-child { margin-bottom: 0; }
.genesis-next { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.genesis-next-card { padding: 29px 30px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.7); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.genesis-next-card:hover { transform: translateY(-2px); border-color: #bcc6d0; background: #fff; }
.genesis-next-card > span { color: #8792a1; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.genesis-next-card h3 { margin: 15px 0 9px; font-size: 21px; }
.genesis-next-card p { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.genesis-next-card strong { color: #40516a; font-size: 12px; }

@media (max-width: 1100px) {
  .philosophy-pillars { grid-template-columns: repeat(6, 1fr); }
  .philosophy-pillar { grid-column: span 2; }
  .philosophy-pillar:nth-child(4), .philosophy-pillar:nth-child(5) { grid-column: span 3; }
  .translation-flow { grid-template-columns: repeat(2, 1fr); }
  .translation-flow > i { display: none; }
}

@media (max-width: 960px) {
  .anthro-layout, .kant-layout, .independence-card { grid-template-columns: 1fr; gap: 34px; }
  .genesis-mechanisms { grid-template-columns: repeat(2, 1fr); }
  .independence-card { padding: 34px; }
}

@media (max-width: 640px) {
  .genesis-path { gap: 8px; }
  .genesis-path i { display: none; }
  .genesis-path > span { font-size: 9px; }
  .genesis-hero h1 { max-width: 100%; font-size: clamp(36px, 12vw, 46px); line-height: 0.98; letter-spacing: -.055em; overflow-wrap: anywhere; hyphens: auto; }
  .philosophy-pillars { grid-template-columns: 1fr; }
  .philosophy-pillar, .philosophy-pillar:nth-child(4), .philosophy-pillar:nth-child(5) { grid-column: auto; min-height: 0; }
  .philosophy-pillar .pillar-number { margin-bottom: 18px; }
  .philosophy-pillar h3 { min-height: 0; margin-bottom: 15px; }
  .thesis-panel { padding: 28px; }
  .anthro-contrast, .mode-outcomes, .translation-flow, .genesis-mechanisms, .genesis-next { grid-template-columns: 1fr; }
  .kant-reference { padding: 28px; }
  .kant-reference blockquote { font-size: 19px; }
  .branch-lines { width: 1px; height: 35px; margin: 0 auto 14px; border: 0; border-left: 1px solid #bfc8d2; transform: none; }
  .branch-lines::before, .branch-lines::after, .branch-lines span { display: none; }
  .mode-outcomes { gap: 14px; }
  .independence-card { padding: 28px; }
}


@media (max-width: 960px) {
  .result-demo { grid-template-columns: 1fr; }
  .result-demo-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .result-preview-heading { margin-bottom: 28px; }
  .result-demo-primary, .result-demo-detail { padding: 28px 24px; }
  .result-demo-badge { margin-bottom: 28px; line-height: 1.3; }
  .result-demo-state-head { flex-direction: column; gap: 5px; }
  .result-demo-bar-row { grid-template-columns: 82px 1fr 22px; gap: 9px; }
  .result-demo-metrics { grid-template-columns: repeat(2, 1fr); }
  .result-demo-metrics article { padding: 15px 14px; }
  .result-demo-reading { padding: 21px 22px; }
  .test-output-expectation { grid-template-columns: 1fr; gap: 10px; padding: 19px 20px; }
}

/* --------------------------------------------------------------------------
   v0.5.1 · Mobile clarity fixes
   Keep these overrides at the end of the stylesheet so they reliably win
   against the desktop component declarations above.
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  /* Home: dynamic state model must collapse to one readable column. */
  .home-dynamics-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .home-dynamics-head > * {
    min-width: 0;
  }

  .home-dynamics-head > p {
    max-width: 680px;
    margin: 0;
  }

  .state-shift {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: 100%;
  }

  .state-node {
    min-width: 0;
    min-height: 0;
    border-radius: 14px;
  }

  .state-node:first-child,
  .state-node:last-child {
    border-radius: 14px;
  }

  .state-arrow {
    width: 100%;
    height: 42px;
    min-height: 42px;
  }

  .state-arrow::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    border-top: 0;
    border-left: 1px solid #c9d1da;
  }

  .state-arrow span {
    transform: rotate(90deg);
    padding: 0 8px;
    background: #f0f3f6;
  }
}

@media (max-width: 640px) {
  /* Home: tighter typography and spacing after the one-column collapse. */
  .home-dynamics-section {
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 62px;
  }

  .home-dynamics-head {
    gap: 18px;
  }

  .home-dynamics-head h2 {
    max-width: 9.5ch;
    font-size: clamp(38px, 11vw, 44px);
    line-height: 1.02;
  }

  .home-dynamics-head > p {
    font-size: 15px;
    line-height: 1.72;
  }

  .state-shift {
    margin-top: 30px;
  }

  .state-node {
    padding: 24px 22px;
  }

  .state-node > span {
    margin-bottom: 16px;
  }

  .state-node strong {
    font-size: 17px;
  }

  .state-node p {
    font-size: 13px;
  }

  .home-dynamics-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
  }

  /* Genesis: preserve the conceptual fork on narrow screens instead of
     making rationale and rationalizans look like sequential stages. */
  .mode-branch {
    margin-top: 30px;
  }

  .mode-root,
  .mode-card {
    padding: 24px 22px;
  }

  .mode-root {
    max-width: none;
  }

  .mode-root h3,
  .mode-card h3 {
    margin-top: 15px;
    font-size: clamp(22px, 7vw, 27px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .mode-root p,
  .mode-card p {
    font-size: 13px;
    line-height: 1.66;
  }

  /* Compact Y-shaped split marker: one source, two possible directions. */
  .branch-lines {
    position: relative;
    width: 78px;
    height: 48px;
    margin: 0 auto 10px;
    border: 0;
    transform: none;
  }

  .branch-lines::before {
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 0;
    height: 20px;
    border-left: 1px solid #bfc8d2;
    transform: translateX(-.5px);
  }

  .branch-lines::after {
    display: none;
  }

  .branch-lines span {
    display: block;
    position: absolute;
    top: 18px;
    width: 1px;
    height: 31px;
    border-left: 1px solid #bfc8d2;
    transform-origin: top center;
  }

  .branch-lines span:first-child {
    left: 50%;
    transform: rotate(40deg);
  }

  .branch-lines span:last-child {
    right: 50%;
    transform: rotate(-40deg);
  }

  .mode-outcomes {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .mode-card {
    min-width: 0;
    min-height: 0;
  }

  .mode-card:first-child {
    border-left: 3px solid #aab8c7;
  }

  .mode-card:last-child {
    border-left: 3px solid #53657b;
  }
}

/* Future RTL language support (e.g. Arabic once published). */
html[dir="rtl"] .language-panel { right: auto; left: 0; }
html[dir="rtl"] .language-panel::before { right: auto; left: 13px; }
html[dir="rtl"] .language-option { grid-template-columns: auto minmax(0,1fr) 34px; }
html[dir="rtl"] .language-option__code { grid-column: 3; }
html[dir="rtl"] .language-option__copy { grid-column: 2; grid-row: 1; text-align: right; }
html[dir="rtl"] .language-option__check { grid-column: 1; grid-row: 1; }

/* ARM-3 v0.8.1 · Global language layer */
.language-globe-toggle { position: relative; }
.language-globe-toggle.is-active { border-color: #69798d; background: #f4f7f9; color: var(--navy); }
.language-globe-toggle__code { position: absolute; top: -7px; right: -9px; max-width: 50px; padding: 2px 4px; border: 1px solid #d5dce4; border-radius: 5px; background: #fff; color: #43516a; font-size: 7px; font-weight: 800; line-height: 1.2; letter-spacing: .04em; box-shadow: 0 2px 7px rgba(22,34,51,.08); }
.language-panel { width: min(680px, calc(100vw - 36px)); }
.language-panel__body { padding-bottom: 8px; }
.language-search { position: sticky; top: 72px; z-index: 1; margin: 8px 0 2px; padding: 10px 0 8px; background: rgba(255,255,255,.97); }
.language-search__icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #7f8b9a; font-size: 16px; pointer-events: none; }
.language-search input { width: 100%; height: 42px; padding: 0 14px 0 38px; border: 1px solid #d8dfe6; border-radius: 10px; outline: none; background: #fbfcfd; color: #25344a; font: inherit; font-size: 12px; }
.language-search input:focus { border-color: #93a0af; background: #fff; box-shadow: 0 0 0 3px rgba(74,91,113,.07); }
.language-grid--core { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.language-grid--global { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 410px; overflow-y: auto; overscroll-behavior: contain; padding: 1px 4px 2px 1px; scrollbar-width: thin; }
.language-grid--global .language-option { min-height: 58px; }
.language-option--machine .language-option__code { font-size: 8px; }
.language-option[hidden] { display: none !important; }
.language-loading { grid-column: 1 / -1; margin: 8px 0; padding: 16px; border: 1px dashed #d9dfe6; border-radius: 10px; color: #7c8796; font-size: 11px; text-align: center; }
.language-loading--error { color: #8a4750; border-color: #e6cbd0; background: #fffafb; }
.language-panel__foot { border-top: 1px solid #e3e7ec; background: #f6f8fa; }
.language-panel__note { border-top: 0; padding-bottom: 7px; }
.language-panel__provider { margin: 0; padding: 0 18px 15px; color: #98a1ad; font-size: 8.5px; line-height: 1.5; }
.arm3-term { unicode-bidi: isolate; }

.arm3-translation-notice { position: fixed; z-index: 99999; left: 50%; top: 18px; transform: translateX(-50%); width: min(560px, calc(100vw - 32px)); padding: 11px 14px; border: 1px solid #e2c9cd; border-radius: 10px; background: #fffafb; color: #7f414a; box-shadow: 0 12px 34px rgba(24,37,55,.14); font-size: 12px; line-height: 1.45; text-align: center; }
.arm3-translation-notice[hidden] { display: none !important; }
body.arm3-translation-busy main { cursor: progress; }
html[dir="rtl"] .language-panel { left: 0; right: auto; }
html[dir="rtl"] .language-panel::before { left: 13px; right: auto; }
html[dir="rtl"] .language-search__icon { left: auto; right: 13px; }
html[dir="rtl"] .language-search input { padding-left: 14px; padding-right: 38px; }
html[dir="rtl"] .language-option { grid-template-columns: auto minmax(0,1fr) 34px; }
html[dir="rtl"] .language-option__code { grid-column: 3; grid-row: 1; }
html[dir="rtl"] .language-option__copy { grid-column: 2; grid-row: 1; text-align: right; }
html[dir="rtl"] .language-option__check { grid-column: 1; grid-row: 1; }

@media (max-width: 760px) {
  .language-grid--core, .language-grid--global { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .language-grid--core, .language-grid--global { grid-template-columns: 1fr; }
  .language-grid--global { max-height: 46vh; }
  .language-panel__provider { padding-inline: 14px; }
}

/* ARM-3 v0.8.3 · Browser compatibility disclosure for free world-language translation */
.language-browser-warning { margin: 8px 0 12px; padding: 11px 12px; border: 1px solid #e6d5b7; border-radius: 10px; background: #fffaf0; color: #735a2d; font-size: 10.5px; line-height: 1.55; }
.language-browser-warning[hidden] { display: none !important; }
.language-panel__browser-note { margin: 0; padding: 0 18px 8px; color: #667488; font-size: 9px; line-height: 1.55; }
html.arm3-browser-safari .language-globe-toggle { box-shadow: inset 0 0 0 1px rgba(158,119,55,.12); }
@media (max-width: 520px) {
  .language-panel__browser-note { padding-inline: 14px; }
}

/* ARM-3 v0.9.0 · Epistemic Dynamics */
.dynamics-page .subhero h1 { max-width: 880px; }
.dynamics-system-section { padding-top: 38px; }
.dynamics-system-graph { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; position: relative; margin-top: 40px; padding-bottom: 62px; }
.dynamics-node { min-width: 0; min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 24px 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.86); }
.dynamics-node-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.dynamics-node > span { margin-bottom: 18px; color: #8793a3; font-size: 9px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.dynamics-node-primary > span { color: #aeb9c7; }
.dynamics-node strong { color: #26354a; font-size: 17px; line-height: 1.25; }
.dynamics-node-primary strong { color: #fff; }
.dynamics-node small { margin-top: 8px; color: #748094; font-size: 10px; line-height: 1.45; }
.dynamics-node-primary small { color: #aeb9c7; }
.dynamics-arrow { min-width: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8d99a9; text-align: center; }
.dynamics-arrow > span { font-size: 23px; line-height: 1; }
.dynamics-arrow small { max-width: 64px; margin-top: 8px; font-size: 8px; line-height: 1.35; }
.dynamics-return { position: absolute; left: 5%; right: 5%; bottom: 4px; display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 17px; border-top: 1px solid #cdd5de; color: #728094; }
.dynamics-return span { font-size: 23px; }
.dynamics-return small { font-size: 10px; letter-spacing: .02em; }
.dynamics-timescales { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.dynamics-timescales article { min-height: 174px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.dynamics-timescales article > span { color: #8490a1; font-size: 9px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.dynamics-timescales h3 { margin: 16px 0 9px; font-size: 20px; }
.dynamics-timescales p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.dynamics-cycle { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr; gap: 6px; align-items: stretch; margin-top: 38px; }
.dynamics-cycle article { min-width: 0; min-height: 250px; display: flex; flex-direction: column; padding: 22px 20px; border: 1px solid #d7dee6; border-radius: 13px; background: rgba(255,255,255,.78); }
.dynamics-cycle article > span { color: #8b96a6; font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.dynamics-cycle h3 { margin: 26px 0 10px; font-size: 17px; line-height: 1.25; }
.dynamics-cycle p { margin: 0; color: #5d697b; font-size: 12px; line-height: 1.67; }
.dynamics-cycle small { margin-top: auto; padding-top: 20px; color: #7c8797; font-size: 9px; line-height: 1.5; }
.cycle-arrow { display: grid; place-items: center; color: #98a3b1; font-size: 16px; }
.optimal-stopping-card { display: grid; grid-template-columns: 1.12fr .88fr; gap: 36px; align-items: center; margin-top: 28px; padding: 30px 32px; border: 1px solid #ccd5df; border-radius: 15px; background: #fff; }
.optimal-stopping-card h3 { margin: 17px 0 9px; font-size: 20px; }
.optimal-stopping-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }
.optimal-formula { padding: 24px 26px; border-radius: 12px; background: var(--navy); color: #d5dce4; font-size: clamp(16px, 2vw, 23px); line-height: 1.45; text-align: center; letter-spacing: -.02em; }
.optimal-formula strong { padding: 0 6px; color: #fff; }

.compression-graph { display: grid; gap: 20px; margin-top: 42px; padding: 34px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.compression-row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; }
.compression-label span { display: block; margin-bottom: 5px; color: #8a95a5; font-size: 9px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.compression-label strong { color: #2e3d53; font-size: 13px; }
.compression-track { display: flex; min-width: 0; height: 54px; overflow: hidden; border: 1px solid #d8dfe6; border-radius: 9px; background: #f3f5f7; }
.compression-track > span { flex: var(--phase) 1 0; min-width: 0; display: grid; place-items: center; padding: 4px; border-right: 1px solid rgba(255,255,255,.8); color: #435269; font-size: 9px; font-weight: 650; text-align: center; }
.compression-track > span:last-child { border-right: 0; }
.phase-explore { background: #eef1f4; }
.phase-model { background: #e6ebef; }
.phase-analyse { background: #dce3e9; }
.phase-decide { background: #d2dbe3; }
.phase-learn { background: #c7d2dc; }
.compression-track-short { width: 73%; }

.dynamics-construct-grid .mechanism-item { min-height: 270px; }
.transition-matrix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.transition-matrix article { min-height: 230px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.transition-matrix article > span { display: inline-flex; padding: 6px 8px; border-radius: 7px; background: #e8edf2; color: #3d4d64; font-size: 10px; font-weight: 750; }
.transition-matrix h3 { margin: 24px 0 10px; font-size: 17px; }
.transition-matrix p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.dynamics-loop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.loop-card { min-height: 225px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #f8fafb; }
.loop-card > span { color: #6e7b8d; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.loop-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 24px 0 18px; }
.loop-flow b { padding: 7px 8px; border-radius: 7px; background: #e7ecf1; color: #334258; font-size: 10px; }
.loop-flow i { color: #8d99a8; font-size: 12px; font-style: normal; }
.loop-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.67; }
.loop-card-adaptive { background: #fff; border-color: #cbd5df; }
.loop-card-adaptive .loop-flow b { background: #dfe7ed; }

.blockade-list { border-top: 1px solid var(--line); }
.blockade-list article { display: grid; grid-template-columns: 250px 1fr; gap: 30px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.blockade-list strong { color: #2c3b50; font-size: 14px; }
.blockade-list p { max-width: 760px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }
.dynamics-clinical-note { margin-top: 34px; }
.dynamics-development-card sub { font-size: .72em; }
.dynamics-development-layout .section-intro + .section-intro { margin-top: 18px; }
.dynamics-next-links { display: flex; justify-content: space-between; gap: 24px; margin-top: 28px; }
.dynamics-inline-bridge { padding-top: 18px; padding-bottom: 6px; }

@media (max-width: 1150px) and (min-width: 961px) {
  .header-inner { gap: 18px; }
  .primary-nav, .primary-nav .menu { gap: 20px; }
  .primary-nav .menu a { font-size: 12px; }
}

@media (max-width: 1080px) {
  .dynamics-cycle { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .dynamics-cycle .cycle-arrow { display: none; }
  .transition-matrix { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .dynamics-system-graph { grid-template-columns: 1fr; gap: 0; padding-bottom: 72px; }
  .dynamics-arrow { min-height: 42px; transform: rotate(90deg); }
  .dynamics-arrow small { display: none; }
  .dynamics-timescales, .dynamics-loop-grid { grid-template-columns: 1fr; }
  .dynamics-timescales article, .loop-card { min-height: 0; }
  .compression-track-short { width: 100%; }
}

@media (max-width: 760px) {
  .dynamics-cycle { grid-template-columns: 1fr; }
  .dynamics-cycle article { min-height: 0; }
  .optimal-stopping-card, .compression-row { grid-template-columns: 1fr; }
  .compression-graph { padding: 24px 20px; }
  .compression-track { height: auto; min-height: 48px; }
  .compression-track > span { min-height: 48px; font-size: 8px; }
  .transition-matrix { grid-template-columns: 1fr; }
  .transition-matrix article { min-height: 0; }
  .blockade-list article { grid-template-columns: 1fr; gap: 8px; }
  .dynamics-next-links { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .dynamics-system-graph { margin-top: 28px; }
  .dynamics-node { min-height: 125px; }
  .compression-track { flex-direction: column; }
  .compression-track > span { flex: none; width: 100%; min-height: 34px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.9); }
  .compression-track > span:last-child { border-bottom: 0; }
  .loop-flow { gap: 4px; }
}
