@font-face { font-family: Poppins; src: url('/assets/poppins-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Poppins; src: url('/assets/poppins-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Poppins; src: url('/assets/poppins-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Poppins; src: url('/assets/poppins-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #000;
  --charcoal: #161b18;
  --body: #3d3d3d;
  --muted: #5b625e;
  --paper: #fff;
  --soft: #f1f2f1;
  --line: #dde5df;
  --accent: #7ee2a7;
  --accent-strong: #4cb577;
  --accent-light: #effbf4;
  --green: #256945;
  --sidebar: 280px;
  --text-xs: .6875rem;
  --text-sm: .8125rem;
  --text-body: .875rem;
  --text-lead: 1rem;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select, input { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; }
button:disabled { cursor: default; opacity: .3; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.sidebar a:focus-visible, .score-panel button:focus-visible, .score-panel input:focus-visible { outline-color: var(--accent); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.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; top: -80px; left: 20px; background: white; padding: 12px; z-index: 30; }
.skip-link:focus { top: 12px; }

.sidebar { width: var(--sidebar); position: fixed; inset: 0 auto 0 0; background: var(--charcoal); color: white; display: flex; flex-direction: column; padding: 37px 24px 26px; z-index: 10; overflow-y: auto; }
.brand { display: block; text-decoration: none; line-height: 1; }
.brand img { display: block; width: 185px; max-width: 100%; height: auto; }
.sidebar-heading { display: flex; justify-content: space-between; align-items: center; margin: 49px 0 18px; font-size: var(--text-xs); letter-spacing: 1.4px; color: #bdc9c1; }
.sidebar-heading span { font-size: var(--text-xs); color: #bdc9c1; letter-spacing: .6px; }
#chapters { display: flex; flex-direction: column; gap: 4px; }
.chapter { display: flex; gap: 12px; align-items: center; position: relative; padding: 11px 12px; text-decoration: none; font-size: var(--text-body); color: #c5d0c9; transition: background .18s, color .18s; }
.chapter:hover { background: #ffffff0c; color: white; }
.chapter-number { color: #a8b9af; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.chapter.active { background: var(--accent); color: var(--ink); font-weight: 600; }
.chapter.active::before { content: ''; position: absolute; left: -24px; top: 10px; bottom: 10px; width: 3px; background: var(--accent); }
.chapter.active .chapter-number { color: var(--green); }
.sidebar-note { margin-top: auto; padding-top: 35px; }
.note-line { display: block; width: 25px; height: 5px; background: var(--accent); margin-bottom: 15px; }
.sidebar-note strong { font-size: var(--text-body); line-height: 1.8; font-weight: 500; }
.sidebar-note p { font-size: var(--text-xs); color: #bdc9c1; line-height: 1.9; margin: 12px 0 0; }

.workspace { margin-left: var(--sidebar); min-height: 100dvh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 7; background: var(--paper); min-height: 88px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 42px; }
.breadcrumb { font-size: var(--text-xs); letter-spacing: 1.5px; white-space: nowrap; }
.breadcrumb > span { margin: 0 12px; color: #8e9b93; }
.breadcrumb strong { font-weight: 500; color: var(--muted); }
.mobile-brand { display: none; }
.top-actions { display: flex; align-items: center; gap: 20px; }
.draft-badge { font-size: var(--text-xs); color: var(--muted); display: flex; align-items: center; gap: 7px; }
.draft-badge > span { width: 7px; height: 7px; background: var(--accent-strong); }
.download-button { border: 1px solid var(--accent); display: inline-flex; gap: 10px; align-items: center; text-decoration: none; background: var(--accent); color: var(--ink); padding: 12px 15px; font-size: var(--text-sm); font-weight: 600; white-space: nowrap; transition: background .18s; }
.download-button:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.word-downloads { position: relative; }
.word-downloads > summary { cursor: pointer; list-style: none; }
.word-downloads > summary::-webkit-details-marker { display: none; }
.word-downloads > summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -4px 0 0 4px; }
.word-downloads[open] > summary::after { transform: rotate(225deg); margin-top: 3px; }
.download-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 330px; max-width: calc(100vw - 32px); padding: 6px; background: white; border: 1px solid var(--line); box-shadow: 0 10px 28px #00000018; z-index: 12; }
.download-menu a { display: block; text-decoration: none; padding: 15px; }
.download-menu a + a { border-top: 1px solid var(--line); }
.download-menu a:hover { background: var(--accent-light); }
.download-menu strong { display: block; font-size: var(--text-body); color: var(--ink); }
.download-menu small { display: block; font-size: var(--text-xs); color: var(--muted); line-height: 1.7; margin-top: 5px; }
.download-button svg { width: 16px; height: 16px; }
.file-type { font-size: var(--text-xs); color: var(--green); margin-left: 3px; letter-spacing: 1px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 37px; height: 37px; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.icon-button:hover:not(:disabled) { background: var(--accent-light); border-color: var(--accent-strong); }
.menu-toggle { display: none; }

main { width: 100%; max-width: 1550px; margin: 0 auto; flex: 1; padding: 40px 52px 30px; }
main:focus { outline: none; }
.slide { animation: appear .25s ease-out; }
.slide[hidden] { display: none; }
.section-label { display: flex; align-items: center; gap: 12px; color: var(--green); font-size: var(--text-sm); letter-spacing: 1.7px; font-weight: 600; text-transform: uppercase; margin: 0 0 23px; }
.section-label::before { content: ''; width: 17px; height: 17px; background: var(--accent); flex-shrink: 0; }
.section-count { margin-left: auto; color: var(--muted); letter-spacing: 1px; font-weight: 400; }
.slide h1 { font-size: clamp(30px,3vw,44px); line-height: 1.17; letter-spacing: -1.4px; font-weight: 700; max-width: 900px; margin: 0 0 17px; }
.slide-intro { font-size: var(--text-lead); line-height: 1.85; color: var(--muted); max-width: 880px; margin: 0 0 27px; }
.takeaway { display: flex; align-items: flex-start; gap: 13px; padding: 17px 0 0; margin-top: 25px; border-top: 1px solid var(--line); font-size: var(--text-body); line-height: 1.8; color: var(--muted); }
.takeaway-label { white-space: nowrap; color: var(--ink); font-size: var(--text-xs); font-weight: 600; letter-spacing: 1px; padding-top: 1px; }
.takeaway svg { color: var(--green); width: 17px; height: 17px; margin-top: 2px; }

.hero-main { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; padding: 15px 0 17px; }
.hero h1 { font-size: clamp(40px,4vw,59px); line-height: 1.14; letter-spacing: -2px; max-width: 660px; }
.hero h1 em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 67%,var(--accent) 67%,var(--accent) 91%,transparent 91%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .slide-intro { font-size: var(--text-lead); line-height: 1.9; max-width: 510px; margin-bottom: 23px; }
.hero-tag { display: inline-block; background: var(--accent-light); border-left: 3px solid var(--accent); color: var(--green); font-size: var(--text-xs); letter-spacing: 1.2px; padding: 8px 10px; margin-bottom: 21px; }
.primary-button { display: inline-flex; align-items: center; gap: 18px; background: var(--accent); color: var(--ink); border: 1px solid var(--accent); padding: 14px 19px; font-size: var(--text-body); font-weight: 600; }
.primary-button:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.hero-byline { font-size: var(--text-xs); color: var(--muted); margin: 18px 0; }
.ecosystem { height: 350px; position: relative; display: flex; align-items: center; justify-content: center; margin: 0 8px; }
.orbit { position: absolute; border: 1px solid #b3dec4; width: 246px; height: 246px; }
.orbit.inner { width: 185px; height: 185px; border: 0; background: var(--accent); transform: rotate(-12deg); }
.orbit.outer { width: 296px; height: 296px; border-color: #dfeee4; transform: rotate(12deg); }
.orbit-axis { position: absolute; width: 320px; height: 1px; background: #b3dec4; transform: rotate(-30deg); }
.orbit-axis.second { transform: rotate(45deg); }
.ecosystem-center { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 205px; height: 100px; background: var(--charcoal); color: white; z-index: 1; box-shadow: 0 12px 28px #0000000d; }
.ecosystem-center img { width: 156px; height: auto; }
.ecosystem-center span { color: #c5d0c9; font-size: var(--text-xs); letter-spacing: 2.5px; margin-top: 13px; }
.orbit-label { position: absolute; padding: 12px 14px; border: 1px solid #b3dec4; background: var(--paper); font-size: var(--text-sm); z-index: 2; display: flex; align-items: center; gap: 8px; box-shadow: 0 5px 15px #00000004; }
.orbit-label i { width: 8px; height: 8px; background: var(--accent); }
.orbit-label.tech { top: 17px; right: 2px; }
.orbit-label.strategic { bottom: 58px; right: -5px; }
.orbit-label.strategic i { background: var(--green); }
.orbit-label.opportunity { left: -6px; top: 153px; }
.orbit-label.opportunity i { background: var(--accent-strong); }
.orbit-caption { position: absolute; bottom: -7px; font-size: var(--text-xs); letter-spacing: 1.7px; color: var(--muted); }
.hero-bottom { margin-top: 22px; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.cards.count-2, .cards.count-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card { border: 1px solid var(--line); background: var(--paper); padding: 24px; min-width: 0; box-shadow: 0 3px 14px #00000004; }
.card-eyebrow { color: var(--green); font-size: var(--text-xs); letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; display: block; }
.card h2 { font-size: 17px; font-weight: 600; letter-spacing: -.4px; line-height: 1.4; margin: 0 0 11px; }
.card p { font-size: var(--text-body); line-height: 1.85; color: var(--muted); margin: 0; }
.card ul, .track-card ol { margin: 15px 0 0; padding-left: 17px; color: var(--muted); font-size: var(--text-body); line-height: 1.8; }
.card li::marker, .track-card li::marker { color: var(--green); }
.card li + li, .track-card li + li { margin-top: 8px; }
.hero-bottom .card { padding: 19px 21px; background: var(--soft); border-color: var(--soft); border-top: 3px solid var(--accent); box-shadow: none; }
.hero-bottom .card h2 { font-size: 15px; }
.hero-bottom .card-eyebrow { margin-bottom: 9px; }
.hero-bottom .card p { font-size: var(--text-sm); }
.hero-bottom .card ul { display: none; }
.source-note { display: flex; gap: 9px; font-size: var(--text-sm); line-height: 1.8; border-left: 3px solid var(--accent-strong); background: var(--accent-light); color: var(--green); padding: 12px 15px; margin-bottom: 20px; }

.type-card { border-top: 4px solid var(--accent); }
.type-card:nth-child(2) { border-top-color: var(--green); }
.type-card:nth-child(3) { border-top-color: var(--accent-strong); }
.type-number { font-size: var(--text-xs); color: var(--muted); display: block; margin-bottom: 20px; }
.type-card h2 { font-size: 20px; }
.type-description { min-height: 90px; }
.type-field { border-top: 1px solid var(--line); padding-top: 13px; margin-top: 13px; }
.type-field dt { font-size: var(--text-xs); letter-spacing: .8px; font-weight: 600; text-transform: uppercase; margin-bottom: 6px; }
.type-field dd { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.85; }
.type-card dl { margin-bottom: 0; }
.type-footnote { font-size: var(--text-body); color: var(--muted); line-height: 1.7; margin: 14px 0 0; }
.track-card ol { padding-left: 20px; }
.track-card .type-field { margin-bottom: 0; }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.process-step { padding: 19px 16px; border: 1px solid var(--line); background: var(--paper); }
.step-number { font-size: var(--text-lead); font-weight: 600; color: var(--green); display: flex; justify-content: space-between; margin-bottom: 14px; }
.step-number span { color: var(--accent-strong); font-size: 17px; }
.process-step h2 { font-size: var(--text-lead); line-height: 1.5; margin: 0 0 10px; }
.process-step p { font-size: var(--text-sm); color: var(--muted); line-height: 1.8; margin: 0 0 12px; }
.process-step details { border-top: 1px solid var(--line); padding-top: 10px; font-size: var(--text-sm); line-height: 1.8; }
.process-step summary { cursor: pointer; color: var(--green); font-weight: 600; }
.process-step details p { margin-top: 9px; font-size: var(--text-sm); }
.process-step details strong { color: var(--ink); }

.score-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; }
.score-form { border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.score-row { display: grid; grid-template-columns: 1fr 125px; gap: 18px; padding: 15px 18px; border-bottom: 1px solid var(--line); align-items: center; }
.score-row:last-child { border-bottom: 0; }
.score-row label { min-width: 0; overflow-wrap: anywhere; font-size: var(--text-body); font-weight: 600; line-height: 1.6; }
.score-row label small { display: block; color: var(--muted); font-size: var(--text-sm); font-weight: 400; margin-top: 4px; }
.score-weight { color: var(--green); font-size: var(--text-sm); margin-left: 6px; white-space: nowrap; }
.score-row select { width: 100%; background: var(--soft); border: 1px solid var(--line); border-bottom: 2px solid var(--accent-strong); color: var(--ink); padding: 10px 7px; font-size: var(--text-sm); border-radius: 0; }
.score-panel { background: var(--charcoal); border-top: 5px solid var(--accent); color: white; padding: 25px; }
.score-panel .card-eyebrow { color: var(--accent); }
.score-value { font-size: 57px; font-weight: 600; letter-spacing: -3px; font-variant-numeric: tabular-nums; line-height: 1.2; margin-bottom: 9px; }
.score-value span { font-size: 16px; color: #c5d0c9; letter-spacing: 0; font-weight: 400; }
.score-status { font-size: 14px; font-weight: 600; margin: 10px 0; color: var(--accent); }
.score-detail { font-size: var(--text-body); color: #c5d0c9; line-height: 1.8; }
.blocking-toggle { display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-sm); line-height: 1.8; border-top: 1px solid #ffffff25; margin-top: 19px; padding-top: 17px; }
.blocking-toggle input { accent-color: var(--accent); min-width: 16px; height: 16px; margin: 2px 0 0; }
.reset-button { background: transparent; border: 0; border-bottom: 1px solid #8eaa99; color: #d5e2db; font-size: var(--text-sm); margin-top: 19px; padding: 0 0 3px; }
.score-explanation { font-size: var(--text-sm); color: var(--muted); line-height: 1.85; margin-top: 12px; }
.red-flags { margin-top: 16px; }
.red-flags summary { font-size: var(--text-body); font-weight: 600; cursor: pointer; color: var(--green); }
.red-flags ul { padding-left: 17px; color: var(--muted); font-size: var(--text-body); line-height: 1.8; }
.case-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.case-field { border: 1px dashed #a8b9af; padding: 19px; background: var(--paper); }
.case-field h2 { font-size: var(--text-body); margin: 0 0 9px; }
.case-field p { font-size: var(--text-body); color: var(--muted); line-height: 1.8; margin: 0; }
.case-field .placeholder { display: block; font-size: var(--text-xs); letter-spacing: 1.5px; color: var(--green); margin-top: 17px; }
.case-banner { margin-top: 16px; display: flex; gap: 15px; justify-content: space-between; align-items: center; padding: 17px 20px; background: var(--accent-light); border-left: 4px solid var(--accent); font-size: var(--text-body); line-height: 1.8; }
.case-banner p { margin: 0; }
.case-banner a { white-space: nowrap; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; color: var(--green); }

.presentation-footer { position: sticky; bottom: 0; z-index: 6; background: var(--paper); border-top: 1px solid var(--line); min-height: 76px; padding: 17px 42px; display: flex; gap: 25px; align-items: center; margin-top: auto; }
.progress-meta { display: flex; align-items: center; gap: 9px; font-size: var(--text-body); font-variant-numeric: tabular-nums; }
.progress-meta > span:first-child { font-weight: 600; }
.progress-divider, #slide-total { color: var(--muted); }
.footer-label { font-size: var(--text-xs); letter-spacing: 1px; color: var(--muted); margin-left: 15px; white-space: nowrap; }
.progress-track { height: 3px; background: var(--soft); flex: 1; max-width: 200px; margin-left: auto; }
.progress-track > div { height: 100%; background: var(--accent-strong); transition: width .2s; width: 8.33%; }
.navigation-controls { display: flex; gap: 9px; align-items: center; }
.keyboard-hint { font-size: var(--text-xs); color: var(--muted); margin-right: 10px; }
.next-button { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.next-button:hover:not(:disabled) { background: var(--accent-strong); }
.loading { padding: 60px; font-size: 16px; }
.error-state { padding: 30px; border: 1px solid #e6c1b9; background: #fff2ec; }
.error-state h1 { font-size: 24px; }
.error-state p { font-size: 14px; line-height: 1.8; }
.status-note { font-size: var(--text-body); color: var(--green); }
.noscript-message { padding: 30px; }
.compact-disclaimer { font-size: var(--text-xs); color: var(--muted); line-height: 1.8; margin-top: 18px; max-width: 880px; }

.ecosystem-figure { margin: 0; min-width: 0; width: 100%; max-width: 640px; justify-self: center; background: var(--paper); }
.ecosystem-figure .v2-ecosystem { display: flex; height: 310px; margin: 0; transform: none; }
.ecosystem-figure .orbit { width: 58%; max-width: 246px; height: auto; aspect-ratio: 1; }
.ecosystem-figure .orbit.inner { width: 45%; max-width: 185px; }
.ecosystem-figure .orbit.outer { width: 70%; max-width: 260px; }
.ecosystem-figure .orbit-axis { width: 86%; max-width: 410px; }
.ecosystem-figure .ecosystem-center { width: clamp(150px,44%,205px); height: 88px; }
.ecosystem-figure .ecosystem-center img { width: 78%; }
.ecosystem-figure .ecosystem-center span { font-size: var(--text-xs); letter-spacing: 1.6px; margin-top: 10px; }
.ecosystem-figure .relation-node { width: 200px; max-width: 45%; min-height: 52px; padding: 10px 12px; text-align: left; line-height: 1.4; font-size: var(--text-body); color: var(--ink); }
.relation-node i { flex-shrink: 0; }
.relation-node span { min-width: 0; overflow-wrap: anywhere; }
.relation-node:hover, .relation-node:focus-visible { background: var(--accent-light); border-color: var(--green); }
.relation-node.position-0 { left: 0; top: 10px; }
.relation-node.position-1 { right: 0; top: 10px; }
.relation-node.position-1 i { background: var(--green); }
.relation-node.position-2 { left: 0; bottom: 10px; }
.relation-node.position-2 i { background: var(--accent-strong); }
.relation-node.position-3 { right: 0; bottom: 10px; }
.relation-node.position-3 i { background: var(--charcoal); }
.ecosystem-figure figcaption { display: flex; flex-direction: column; gap: 5px; margin: 10px 0 12px; text-align: center; font-size: var(--text-sm); line-height: 1.7; }
.ecosystem-figure figcaption strong { font-weight: 600; }
.ecosystem-figure figcaption > span { font-size: var(--text-xs); color: var(--muted); }
.ecosystem-dimensions { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.ecosystem-dimensions > span { padding: 6px 9px; border: 1px solid var(--line); color: var(--green); background: var(--accent-light); font-size: var(--text-xs); line-height: 1.5; text-align: center; }
.summary-ecosystem-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: center; }
.summary-slide .summary-ecosystem-layout .cards { grid-template-columns: 1fr; gap: 12px; }
.summary-slide .summary-ecosystem-layout .card { padding: 10px 16px; border-top-width: 2px; }
.summary-slide .summary-ecosystem-layout .card h2 { font-size: 17px; margin-bottom: 5px; }
.summary-slide .summary-ecosystem-layout .card-eyebrow { margin-bottom: 3px; }
.summary-slide .summary-ecosystem-layout .card p { line-height: 1.6; }
.summary-ecosystem-layout .v2-ecosystem { height: 270px; }
.summary-ecosystem-layout .orbit { max-width: 220px; }
.summary-ecosystem-layout .orbit.inner { max-width: 165px; }
.summary-ecosystem-layout .orbit.outer { max-width: 225px; }
#slide-diagnostic .section-label { margin-bottom: 16px; }
#slide-diagnostic .project-title { margin-bottom: 12px; }
#slide-diagnostic .slide-intro { margin-bottom: 18px; }
#slide-diagnostic .takeaway { margin-top: 16px; }
#slide-diagnostic .summary-actions { margin-top: 14px; }
#slide-diagnostic .source-disclosure { margin-top: 12px; }
.guide-ecosystem-overview { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; margin-bottom: 24px; }
.guide-ecosystem-overview .dimensions-panel { margin-top: 0; }
.guide-ecosystem-overview .dimensions-grid { grid-template-columns: 1fr; gap: 17px; }
.ecosystem-instruction { color: var(--muted); font-size: var(--text-sm); line-height: 1.8; margin: 0 0 18px; }
.type-card[id] { scroll-margin-top: 185px; }
.type-card[id]:focus { outline: 2px solid var(--accent-strong); outline-offset: 4px; }
@media (max-width:1100px) {
  .summary-ecosystem-layout, .guide-ecosystem-overview { grid-template-columns: 1fr; gap: 24px; }
  .summary-ecosystem-layout .ecosystem-figure { grid-row: 1; }
}
@media (max-width:720px) {
  .ecosystem-figure .v2-ecosystem { height: 300px; }
  .ecosystem-figure .relation-node { padding: 9px; font-size: var(--text-sm); }
  .ecosystem-figure .ecosystem-center { height: 82px; }
  .ecosystem-figure .ecosystem-center span { letter-spacing: 1px; }
  .ecosystem-dimensions > span { padding: 5px 7px; }
  .type-card[id] { scroll-margin-top: 160px; }
}

.modebar { position: sticky; top: 88px; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 42px; background: var(--paper); border-bottom: 1px solid var(--line); }
.mode-switch { display: inline-flex; border: 1px solid var(--line); padding: 3px; gap: 3px; }
.mode-switch button { display: flex; align-items: center; gap: 10px; padding: 10px 13px; background: transparent; border: 0; color: var(--muted); font-size: var(--text-sm); font-weight: 500; }
.mode-switch button[aria-pressed='true'] { background: var(--charcoal); color: white; }
.mode-switch button span { font-size: var(--text-xs); color: var(--green); background: var(--accent-light); padding: 1px 5px; }
.mode-switch button[aria-pressed='true'] span { background: var(--accent); color: var(--ink); }
.mode-caption { font-size: var(--text-xs); color: var(--muted); }
.sidebar-guide-link { display: block; margin-top: 22px; color: var(--accent); font-size: var(--text-xs); line-height: 1.8; text-underline-offset: 4px; }
.project-title { font-size: var(--text-lead); font-weight: 500; color: var(--green); line-height: 1.7; max-width: 920px; margin: -4px 0 18px; }
.summary-slide h1 { max-width: 970px; font-size: clamp(30px,2.8vw,42px); }
.summary-slide .slide-intro { margin-bottom: 24px; }
.summary-slide .card { background: var(--soft); border: 0; border-top: 3px solid var(--accent); padding: 21px; box-shadow: none; }
.summary-slide .card h2 { font-size: 19px; line-height: 1.35; }
.summary-slide .card p, .summary-slide .card ul { line-height: 1.7; }
.summary-slide .card-eyebrow { margin-bottom: 12px; }
.summary-slide .takeaway { background: var(--accent-light); border-top: 0; border-left: 4px solid var(--accent); padding: 17px 20px; margin-top: 22px; color: var(--body); }
.summary-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--green); font-size: var(--text-body); text-decoration: none; border-bottom: 1px solid var(--accent-strong); padding-bottom: 5px; }
.primary-button { text-decoration: none; }
.source-disclosure { margin-top: 18px; font-size: var(--text-xs); color: var(--muted); line-height: 1.8; }
.source-disclosure summary { cursor: pointer; }
.source-disclosure p { max-width: 1000px; }
.operating-model { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.operating-model li { display: flex; align-items: baseline; gap: 9px; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: var(--text-sm); }
.operating-model li span { font-size: var(--text-xs); color: var(--green); font-weight: 600; }
.card-details { margin-top: 17px; border-top: 1px solid var(--line); padding-top: 13px; font-size: var(--text-sm); }
.card-details summary { cursor: pointer; color: var(--green); font-weight: 500; }
.card-details > p { margin-top: 12px; }
.type-card:nth-child(4) { border-top-color: var(--charcoal); }
.dimensions-panel { background: var(--soft); margin-top: 22px; padding: 22px; }
.dimensions-panel h2 { font-size: 17px; margin: 0 0 18px; }
.dimensions-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.dimensions-grid h3 { font-size: var(--text-body); color: var(--green); margin: 0 0 8px; }
.dimensions-grid p { font-size: var(--text-sm); line-height: 1.8; margin: 0; color: var(--muted); }
.integration-steps { padding-left: 20px; font-size: var(--text-body); line-height: 1.8; color: var(--muted); }
.integration-steps li + li { margin-top: 9px; }
.reported-label { display: inline-block; background: var(--accent-light); color: var(--green); padding: 5px 8px; font-size: var(--text-xs); margin-bottom: 14px; }
.case-study .case-source { font-size: var(--text-xs); margin-top: 17px; }
.economic-principle { display: flex; gap: 15px; align-items: flex-start; background: var(--accent-light); padding: 20px; margin-bottom: 22px; border-left: 4px solid var(--accent); }
.economic-principle svg { margin-top: 4px; color: var(--green); }
.economic-principle p { font-size: var(--text-lead); line-height: 1.8; margin: 0; }
.economics-grid, .metrics-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.economic-questions { font-size: var(--text-body); line-height: 1.8; color: var(--body); padding-left: 20px; }
.economic-questions li + li { margin-top: 14px; }
.mechanism-list > h2 { font-size: 17px; margin: 0 0 14px; }
.mechanism { padding: 17px 19px; border: 1px solid var(--line); margin-bottom: 9px; }
.mechanism summary { cursor: pointer; font-weight: 500; color: var(--green); font-size: var(--text-body); }
.mechanism p { font-size: var(--text-body); line-height: 1.8; }
.mechanism .mechanism-condition { font-size: var(--text-sm); color: var(--muted); }
.economic-checks { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.economic-checks h2 { font-size: var(--text-lead); }
.economic-checks ul { font-size: var(--text-body); line-height: 1.8; color: var(--muted); padding-left: 20px; }
.metric-formula { margin-top: 17px; padding: 12px; background: var(--accent-light); color: var(--green); font-size: var(--text-sm); line-height: 1.8; }
.form-preview { border: 1px dashed #a8b9af; padding: 18px 22px; margin-top: 24px; }
.form-preview > summary { cursor: pointer; font-weight: 500; font-size: var(--text-body); color: var(--green); }
.form-preview > p { color: var(--muted); font-size: var(--text-body); line-height: 1.8; }
.form-preview > dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; margin-bottom: 22px; }
.process-step details h3 { font-size: var(--text-sm); margin-bottom: 7px; color: var(--ink); }
.process-step details ul { padding-left: 16px; color: var(--muted); }
.guide-slide .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.guide-slide .process-step h2 { font-size: 17px; }
.guide-slide .process-step > p { font-size: var(--text-body); }

@media (max-width:1200px) {
  .modebar { padding-left: 27px; padding-right: 27px; }
  .mode-caption { display: none; }
  .sidebar-heading { flex-wrap: wrap; gap: 9px; }
}
@media (max-width:960px) {
  .mode-switch button { font-size: var(--text-xs); padding: 10px; }
  .summary-slide .cards, .economics-grid, .metrics-grid, .dimensions-grid { grid-template-columns: 1fr; }
  .operating-model { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:720px) {
  .modebar { top: 72px; padding: 10px 16px; }
  .mode-switch { width: 100%; }
  .mode-switch button { flex: 1; justify-content: center; gap: 5px; padding: 10px 5px; }
  .summary-slide h1 { font-size: 30px; }
  .summary-slide .card h2 { font-size: 18px; }
  .summary-slide .takeaway { padding: 15px; }
  .project-title { font-size: var(--text-body); }
  .summary-actions { align-items: flex-start; }
  .form-preview > dl, .guide-slide .process-grid { grid-template-columns: 1fr; }
  .economic-principle p { font-size: var(--text-body); }
  .form-preview { padding: 17px; }
}
@media (max-width:370px) {
  .mode-switch button span { display: none; }
  .mode-switch button { font-size: var(--text-xs); }
}

@keyframes appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width:1550px) {
  main { padding-top: 55px; }
  .hero-main { padding-top: 30px; padding-bottom: 30px; }
  .hero-bottom { margin-top: 32px; }
  .ecosystem { height: 360px; }
  .orbit-label.tech { right: 40px; top: 33px; }
  .orbit-label.strategic { right: 22px; bottom: 78px; }
  .orbit-label.opportunity { left: 16px; top: 179px; }
  .orbit-caption { bottom: 6px; }
}

@media (max-width:1200px) {
  :root { --sidebar: 224px; }
  .sidebar { padding-left: 20px; padding-right: 20px; }
  .chapter.active::before { left: -20px; }
  .topbar { padding: 0 27px; }
  .top-actions { gap: 12px; }
  .draft-badge { display: none; }
  main { padding: 32px 30px 25px; }
  .ecosystem { transform: scale(.87); margin: -12px -20px; }
  .hero-main { grid-template-columns: 1.2fr 1fr; gap: 10px; }
  .hero h1 { font-size: 43px; }
  .card { padding: 20px; }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-label { display: none; }
  .presentation-footer { padding-left: 30px; padding-right: 30px; }
  .type-description { min-height: 110px; }
}

@media (max-width:960px) {
  .hero-main { grid-template-columns: 1fr; }
  .ecosystem { display: none; }
  .hero h1 { max-width: 650px; font-size: 45px; }
  .hero .slide-intro { max-width: 650px; }
  .cards { grid-template-columns: 1fr; }
  .hero-bottom .cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
  .hero-bottom .card { padding: 15px; }
  .hero-bottom .card h2 { font-size: var(--text-lead); }
  .hero-bottom .card p { font-size: var(--text-sm); }
  .type-description { min-height: 0; }
  .type-card dl { display: block; }
  .score-layout { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .keyboard-hint { display: none; }
  .breadcrumb { font-size: var(--text-xs); letter-spacing: 1px; }
  .breadcrumb > span { margin: 0 6px; }
  .download-button { padding: 11px; font-size: var(--text-sm); gap: 7px; }
  .file-type { display: none; }
  .card h2 { font-size: 16px; }
}

@media (max-width:720px) {
  :root { --sidebar: 0px; }
  .sidebar { display: none; position: fixed; top: 72px; bottom: 0; width: 260px; padding-top: 23px; box-shadow: 10px 0 30px #00000020; }
  .sidebar.is-open { display: flex; }
  .sidebar .brand { display: none; }
  .sidebar-heading { margin-top: 0; }
  .sidebar-note { padding-top: 25px; }
  .menu-toggle { display: inline-flex; flex-shrink: 0; }
  .topbar { height: 72px; min-height: 72px; padding: 0 16px; gap: 10px; }
  .top-actions { gap: 8px; margin-left: auto; }
  .breadcrumb { display: none; }
  .mobile-brand { display: block; width: 92px; flex-shrink: 0; }
  .mobile-brand img { display: block; width: 100%; height: auto; }
  .top-actions #fullscreen { width: 32px; height: 32px; }
  .download-button { font-size: var(--text-xs); padding: 10px; gap: 6px; }
  .workspace { margin-left: 0; }
  main { padding: 27px 22px 24px; }
  .section-label { font-size: var(--text-xs); letter-spacing: 1.2px; margin-bottom: 20px; }
  .slide h1 { font-size: 30px; letter-spacing: -1px; }
  .slide-intro { font-size: var(--text-body); line-height: 1.85; }
  .hero-main { padding-top: 0; }
  .hero h1 { font-size: 37px; letter-spacing: -1.5px; }
  .hero .slide-intro { font-size: var(--text-body); }
  .hero-tag { font-size: var(--text-xs); letter-spacing: .8px; }
  .hero-bottom .cards, .cards.count-2, .cards.count-4 { grid-template-columns: 1fr; }
  .hero-bottom { margin-top: 17px; }
  .hero-bottom .card { padding: 17px; }
  .hero-bottom .card h2 { font-size: 16px; }
  .hero-bottom .card p { font-size: var(--text-body); }
  .hero-bottom .card-eyebrow { float: right; margin: 4px 0 0 15px; }
  .takeaway { gap: 9px; flex-wrap: wrap; font-size: var(--text-sm); }
  .takeaway-label { font-size: var(--text-xs); }
  .takeaway > span:last-child { flex-basis: 100%; }
  .presentation-footer { min-height: 72px; padding: 16px 22px; gap: 16px; }
  .progress-track { max-width: none; }
  .progress-meta { font-size: var(--text-body); gap: 7px; }
  .navigation-controls .icon-button { width: 34px; height: 34px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-banner { align-items: flex-start; flex-direction: column; }
  .type-card dl { display: block; }
  .process-grid { gap: 10px; }
  .process-step { padding: 15px 12px; }
  .process-step h2 { font-size: var(--text-body); }
  .score-row { padding: 15px 13px; grid-template-columns: 1fr 108px; gap: 10px; }
  .score-row label { font-size: var(--text-body); }
  .score-row select { font-size: var(--text-xs); }
  .score-weight { display: block; margin-left: 0; }
  .compact-disclaimer { font-size: var(--text-xs); }
}

@media (max-width:370px) {
  .top-actions #fullscreen { display: none; }
  .mobile-brand { width: 82px; }
  .section-label { letter-spacing: .7px; gap: 8px; }
  .section-count { letter-spacing: 0; white-space: nowrap; }
  .hero h1 { font-size: 33px; }
  .process-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion:reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .sidebar, .topbar, .modebar, .presentation-footer, .primary-button, .case-banner a, .reset-button, .summary-actions { display: none; }
  .workspace { margin: 0; }
  main { padding: 0; }
  .slide[hidden] { display: block; }
  .slide { break-after: page; padding: 20px; }
  .slide:last-child { break-after: auto; }
  .hero-main { grid-template-columns: 1fr; }
  .ecosystem { display: none; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .card, .process-step, .case-field { break-inside: avoid; }
  .score-layout { grid-template-columns: 1fr; }
  .score-panel { background: white; color: var(--ink); border: 1px solid var(--line); }
  .score-panel *, .score-explanation { color: var(--ink); }
  .takeaway { margin-bottom: 20px; }
}
