/* /playbooks/how-teams-work/: "The Interface Layer", a guide read one chapter at a time.
   Clarity look (src/css/clarity.css): one background, hairlines, bold type, navy line art.
   Desktop: a contents rail on the left and the chapter on the right. Phones: one column, the
   contents button in the pager opens the contents chapter. */

.interface-book-root {
  --text-primary: var(--ink);
  --text-secondary: var(--ink-2);
  --text-muted: var(--mute-2);
  --text-hint: var(--mute);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  padding-bottom: 96px;
}

/* Top: breadcrumbs and language */
.book-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 40px; padding-bottom: 8px; }
.book-top .cl-crumbs { margin: 0; min-width: 0; }
.book-top .cl-crumbs span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Rail + chapter */
.book-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 72px; align-items: start; padding-top: 40px; }
.book-wrap { max-width: 720px; min-width: 0; }
.book-rail { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; }
.book-rail .cl-eyebrow { margin-bottom: 12px; }
.rail-list button { all: unset; box-sizing: border-box; display: flex; gap: 10px; width: 100%; padding: 7px 0 7px 12px; border-left: 2px solid var(--line); font-size: .875rem; line-height: 1.35; font-weight: 600; color: var(--mute-2); cursor: pointer; transition: color .2s, border-color .2s; }
.rail-list button:hover { color: var(--ink); }
.rail-list button[aria-current] { color: var(--ink); font-weight: 800; border-left-color: var(--ink); }
.rail-list button:focus-visible { outline: 2px solid #5170ff; outline-offset: 2px; border-radius: 4px; }
.rail-num { flex: none; width: 20px; font-size: .75rem; font-weight: 700; color: var(--mute); font-variant-numeric: tabular-nums; padding-top: 1px; }
@media (max-width: 1024px) {
  .book-layout { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .book-rail { display: none; }
  .book-wrap { margin: 0 auto; }
}

/* Chapters */
.lang-body { display: block; }
.lang-body[hidden] { display: none; }
.chapter { display: none; padding-bottom: 56px; }
.chapter.active { display: block; animation: htw-in .45s cubic-bezier(.23, 1, .32, 1); }
@keyframes htw-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .chapter.active { animation: none; } }

.ch-eyebrow { font-size: .78125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.ch-eyebrow:empty { display: none; }
.ch-num { font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--line-2); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.ch-title { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.034em; line-height: 1.08; color: var(--ink); margin-bottom: 12px; }
.ch-deck { font-size: clamp(1.25rem, 2.3vw, 1.6rem); font-weight: 700; letter-spacing: -.022em; line-height: 1.3; color: var(--mute); margin-bottom: 44px; }
.ch-deck:empty { display: none; }
.ch-header-rule { display: none; }
.ch-title + .ch-deck:empty + .lang-body { margin-top: 32px; }

/* The cover repeats the guide's name as its H1, so its chapter header stays hidden;
   the cover shows the deck line as .cover-tag instead. */
#ch-1 > .ch-eyebrow, #ch-1 > .ch-title, #ch-1 > .ch-deck { display: none; }

/* Body */
.body-text { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 20px; }
.body-text strong, .body-text b { color: var(--ink); }
.sub-head { font-size: .78125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 40px 0 6px; }
.section-rule { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
.section-rule + .sub-head { margin-top: 0; }
.note-box { margin: 0 0 32px; padding: 14px 0 14px 18px; border-left: 2px solid var(--line-2); }
.note-box p { font-size: .9375rem; line-height: 1.65; color: var(--mute-2); }

/* Cover */
.cover-art { color: var(--ink); margin: 8px 0 36px; }
.cover-art .art { display: block; width: 168px; height: auto; }
.cover-label { font-size: .78125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.cover-title { font-size: clamp(2.6rem, 6.4vw, 4.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; color: var(--ink); }
.cover-title .cover-sub { display: block; margin-top: 14px; font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.25; color: var(--mute); }
.cover-rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0 22px; }
.cover-meta { font-size: .875rem; line-height: 1.8; color: var(--mute); }
.cover-tag { margin-top: 32px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }
.cover-tag + .cover-intro { margin-top: 10px; }
.cover-intro { margin-top: 32px; }
.cover-intro p { font-size: 1.1875rem; line-height: 1.7; font-weight: 500; color: var(--ink); opacity: .86; }

/* Quotes */
.hero-quote { margin: 48px 0; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.hero-quote-text { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.1rem); font-weight: 400; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); margin-bottom: 16px; }
.hero-quote-text em { font-style: italic; }
.hero-quote-cite { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.pull-quote { margin: 40px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--ink); }
.pull-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 400; line-height: 1.3; color: var(--ink); }
.pull-quote cite { display: block; margin-top: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--mute); }
.noise-quote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--ink); }
.noise-quote-text { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.3; color: var(--ink); }
.noise-quote-auth { margin-top: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.closing-quote { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.closing-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; color: var(--ink); }
.closing-quote cite { display: block; margin-top: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--mute); }

/* Spotlights: a labelled idea between hairlines, no box */
.spotlight { margin: 0; padding: 24px 0; border-top: 1px solid var(--line); }
.spotlight + .spotlight { margin-top: 0; }
.spotlight:has(+ :not(.spotlight)), .spotlight:last-child { border-bottom: 1px solid var(--line); margin-bottom: 32px; }
* + .spotlight:not(.spotlight + .spotlight) { margin-top: 32px; }
.spotlight-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute-2); margin-bottom: 8px; }
.spotlight-title { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.018em; line-height: 1.3; color: var(--ink); margin-bottom: 8px; }
.spotlight p:not(.spotlight-label):not(.spotlight-title) { font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
@media (min-width: 761px) {
  .spotlight { display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 28px; }
  .spotlight > * { grid-column: 2; }
  .spotlight > .spotlight-label { grid-column: 1; grid-row: 1 / span 3; padding-top: 4px; margin: 0; }
}

/* Numbered findings: navy chip, hairline rows */
.finding-row { display: flex; gap: 18px; align-items: flex-start; margin: 0; padding: 20px 0; border-top: 1px solid var(--line); }
.finding-row:not(.finding-row + .finding-row) { margin-top: 28px; }
.finding-row:has(+ :not(.finding-row)), .finding-row:last-child { border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.finding-num { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.finding-body { flex: 1; min-width: 0; }
.finding-body strong { display: block; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.012em; line-height: 1.35; color: var(--ink); margin: 5px 0 4px; }
.finding-body span { font-size: 1rem; line-height: 1.65; color: var(--mute-2); }

/* Contents chapter */
.toc-intro { color: var(--mute-2); }
.toc-item { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); cursor: pointer; transition: padding-left .25s; }
.toc-item:last-child { border-bottom: 1px solid var(--line); }
.toc-item:hover { padding-left: 6px; }
.toc-num { flex: none; width: 40px; font-size: .8125rem; font-weight: 700; color: var(--mute); font-variant-numeric: tabular-nums; }
.toc-ch-title { flex: 1; min-width: 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.toc-author { flex: none; font-size: .8125rem; font-weight: 600; color: var(--mute); }
@media (max-width: 560px) {
  .toc-item { flex-wrap: wrap; gap: 4px 12px; }
  .toc-author { width: 100%; padding-left: 52px; }
}

/* Layers */
.layer-art { display: flex; justify-content: center; color: var(--ink); margin: 32px 0 8px; padding: 32px 0; border-top: 1px solid var(--line); }
.layer-art .art { display: block; width: 200px; height: auto; }
.layer-block { display: flex; gap: 18px; align-items: flex-start; margin: 0; padding: 20px 0; border-top: 1px solid var(--line); }
.layer-block:has(+ :not(.layer-block)) { border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.layer-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 800; }
.layer-badge.l2 { background: #3a4a63; }
.layer-badge.l3 { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.layer-body strong { display: block; font-size: 1.0625rem; font-weight: 800; color: var(--ink); margin: 5px 0 4px; }
.layer-body span { font-size: 1rem; line-height: 1.65; color: var(--mute-2); }

/* Myths */
.myth-group { margin: 32px 0; }
.myth-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute-2); margin-bottom: 12px; }
.myth-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.myth-pill { font-size: .875rem; font-weight: 600; line-height: 1.35; padding: 7px 14px; border-radius: 999px; color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); text-decoration: line-through; text-decoration-color: rgba(192, 72, 107, .55); text-decoration-thickness: 1.5px; }
.myth-note { margin-top: 12px; font-size: 1rem; line-height: 1.65; color: var(--ink-2); }

/* Leadership levels: a staircase of hairline rows */
.level-row { display: flex; gap: 18px; align-items: flex-start; margin: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.level-row:has(+ :not(.level-row)) { border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.level-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.level-badge.solid { background: var(--ink); color: #fff; box-shadow: none; }
.level-badge .lnum { font-size: 1.125rem; font-weight: 800; line-height: 1; }
.level-badge .ltxt { font-size: .5625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 2px; }
.level-badge.solid .ltxt { color: #9fb0cc; }
.level-row-body strong { display: block; font-size: 1.0625rem; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.level-row-body em { display: block; font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.3; color: var(--ink); }
.level-row-body p { margin-top: 6px; font-size: 1rem; line-height: 1.65; color: var(--mute-2); }
.level-row:nth-child(n) .level-row-body { min-width: 0; }

/* Axioms */
.axiom-block { margin: 0; padding: 24px 0; border-top: 1px solid var(--line); }
.axiom-block:has(+ :not(.axiom-block)) { border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.axiom-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.axiom-title { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.018em; color: var(--ink); margin-bottom: 8px; }
.axiom-rule { font-size: 1rem; line-height: 1.7; color: var(--ink-2); margin-bottom: 6px; }
.axiom-because { font-size: .9375rem; line-height: 1.65; color: var(--mute-2); }

/* Signals */
.signal-list { margin-top: 6px; }
.signal-item { font-size: 1rem; line-height: 1.55; color: var(--ink-2); padding: 10px 0; border-top: 1px solid var(--line); }
.signal-item:first-child { border-top: 0; }
.red-flag { font-size: .6875rem; font-weight: 800; letter-spacing: .04em; color: #a23557; background: #fbe7ed; padding: 2px 8px; border-radius: 999px; margin-right: 6px; }

/* Presence vs maker: two columns split by a hairline */
.presence-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.presence-col { padding: 26px 26px 22px 0; min-width: 0; }
.presence-col.maker { padding: 26px 0 22px 26px; border-left: 1px solid var(--line); }
.pc-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.presence-col.maker .pc-label { color: var(--ink); }
.pc-q { font-family: var(--serif); font-style: italic; font-size: 1.375rem; line-height: 1.3; color: var(--mute-2); margin-bottom: 14px; }
.presence-col.maker .pc-q { color: var(--ink); }
.presence-col .signal-item { font-size: .9375rem; }
.presence-col:not(.maker) .signal-item { color: var(--mute-2); }
@media (max-width: 600px) {
  .presence-cols { grid-template-columns: 1fr; }
  .presence-col, .presence-col.maker { padding: 24px 0; border-left: 0; }
  .presence-col.maker { border-top: 1px solid var(--line); }
}

/* Nova principles */
.nova-principle { margin: 0; padding: 24px 0; border-top: 1px solid var(--line); }
.nova-principle:has(+ :not(.nova-principle)) { border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.np-num { font-size: .8125rem; font-weight: 800; color: var(--mute); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.np-title { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.018em; color: var(--ink); margin-bottom: 6px; }
.np-body { font-size: 1rem; line-height: 1.7; color: var(--ink-2); margin-bottom: 8px; }
.np-question { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.35; color: var(--ink); }
.np-flag { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: .9375rem; line-height: 1.55; color: var(--mute-2); }
.np-flag svg { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--pink); stroke-width: 1.75; }

/* Dead vs live process table */
.compare-table { width: 100%; border-collapse: collapse; margin: 28px 0 36px; font-size: 1rem; table-layout: fixed; }
.compare-table th { padding: 0 16px 12px 0; text-align: left; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--ink); }
.compare-table th:last-child { color: var(--ink); padding-left: 16px; }
.compare-table td { padding: 14px 16px 14px 0; line-height: 1.5; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--mute-2); }
.compare-table td:last-child { color: var(--ink); font-weight: 600; padding-left: 16px; border-left: 1px solid var(--line); }
.compare-table th:last-child { border-left: 1px solid var(--line); }
@media (max-width: 600px) { .compare-table { font-size: .9375rem; } .compare-table td, .compare-table th { padding-right: 10px; } .compare-table td:last-child, .compare-table th:last-child { padding-left: 10px; } }

/* Summary: line art cards in a hairline grid */
.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 32px 0; border-top: 1px solid var(--line); }
.summary-card { padding: 30px 26px 28px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.summary-card:nth-child(even) { padding: 30px 0 28px 26px; border-left: 1px solid var(--line); }
.sc-art { color: var(--ink); margin-bottom: 18px; }
.sc-art .art { width: 120px; height: auto; display: block; }
.sc-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.sc-name { font-size: 1.125rem; font-weight: 800; letter-spacing: -.015em; color: var(--ink); margin-bottom: 6px; }
.sc-insight { font-size: .9375rem; line-height: 1.6; color: var(--mute-2); }
@media (max-width: 600px) {
  .summary-grid { grid-template-columns: 1fr; }
  .summary-card, .summary-card:nth-child(even) { padding: 26px 0; border-left: 0; }
}

/* Principles to carry forward */
.principle-item { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.principle-item:has(+ :not(.principle-item)) { border-bottom: 1px solid var(--line); }
.principle-dot { flex: none; width: 9px; height: 9px; margin-top: 9px; border-radius: 50%; background: var(--ink); }
.principle-body { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.principle-body strong { color: var(--ink); font-weight: 800; }

/* FAQ chapter */
.faq-item { padding: 24px 0; border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.35; color: var(--ink); margin-bottom: 8px; }
.faq-a { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); }

/* Calls to action */
.cta-block { margin: 44px 0 0; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cl .cta-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 14px; border: 0; background: var(--ink); color: #fff; font: 700 1rem/1.2 Figtree, sans-serif; letter-spacing: -.01em; text-decoration: none; cursor: pointer; box-shadow: 0 4px 16px rgba(19, 35, 61, .18); transition: background .25s, color .25s, box-shadow .25s, transform .25s; }
.cl .cta-btn:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); transform: translateY(-2px); }
.cl .cta-btn.ghost, .cl .cta-btn.ghost-light { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.cl .cta-btn.ghost:hover, .cl .cta-btn.ghost-light:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.cl .cta-btn.light { background: var(--ink); color: #fff; }
.cta-label { margin-top: 14px; font-size: .8125rem; color: var(--mute); }
.cta-final { margin: 56px 0 0; padding: 48px 0 0; border-top: 1px solid var(--line); }
.cta-final h3 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.032em; line-height: 1.12; color: var(--ink); margin-bottom: 12px; }
.cta-final p { font-size: 1.0625rem; line-height: 1.7; color: var(--mute-2); margin-bottom: 28px; max-width: 560px; }
@media (prefers-reduced-motion: reduce) { .cta-btn, .toc-item { transition: none; } }
@media (max-width: 560px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-btn { width: 100%; }
}

/* Pager: a thin progress line, then previous and next with the chapter names */
.pager { margin-top: 8px; }
.pager-bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pager-bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .5s cubic-bezier(.23, 1, .32, 1); }
.pager-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: stretch; padding-top: 20px; }
.pager-btn { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 4px 0; cursor: pointer; }
.pager-btn.next { text-align: right; align-items: flex-end; }
.pager-dir { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.pager-btn.prev .pager-dir::before { content: "← "; }
.pager-btn.next .pager-dir::after { content: " →"; }
.pager-title { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pager-btn:hover .pager-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.pager-btn:disabled { visibility: hidden; }
.pager-btn:focus-visible, .pager-index:focus-visible { outline: 2px solid #5170ff; outline-offset: 4px; border-radius: 6px; }
.pager-index { all: unset; box-sizing: border-box; align-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: .8125rem; font-weight: 700; color: var(--mute-2); cursor: pointer; white-space: nowrap; font-variant-numeric: tabular-nums; transition: box-shadow .2s, color .2s; }
.pager-index:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.pager-index svg { width: 16px; height: 16px; stroke-width: 1.8; }
.pager-demo { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--mute-2); text-align: center; }
@media (max-width: 600px) {
  .pager-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 18px; }
  .pager-index { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .pager-title { font-size: .9375rem; }
}

/* A run of hairline rows followed by a spotlight shares one hairline instead of two. */
:is(.finding-row, .layer-block, .level-row, .axiom-block, .nova-principle):has(+ .spotlight) { margin-bottom: 0; }
:is(.finding-row, .layer-block, .level-row, .axiom-block, .nova-principle) + .spotlight { margin-top: 0; }

/* Chapter 09: where strategy really lives */
.lw-title { margin: 6px 0 18px; font-size: clamp(1.375rem, 2.6vw, 1.75rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; color: var(--ink); text-wrap: balance; }
.lw-title span { color: var(--mute); }
.lw-vs { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: center; gap: 12px; margin: 28px 0 32px; }
.lw-cell { padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.lw-cell svg { width: 22px; height: 22px; margin-bottom: 10px; }
.lw-cell.off { background: transparent; border-style: dashed; color: var(--mute); }
.lw-cell.on { border-color: var(--blue); box-shadow: 0 18px 40px -30px rgba(81, 112, 255, .6); }
.lw-cell.on svg { color: var(--blue); }
.lw-l { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.lw-cell.on .lw-l { color: var(--blue); }
.lw-cell p:last-child { font-size: 1rem; line-height: 1.5; }
.lw-cell.off p:last-child { color: var(--mute-2); }
.lw-cell.on p:last-child { color: var(--ink); font-weight: 700; }
.lw-arrow { position: relative; height: 12px; }
.lw-arrow::before { content: ""; position: absolute; left: 0; right: 4px; top: 5.5px; border-top: 1.5px dashed var(--line-2); }
.lw-arrow::after { content: ""; position: absolute; right: 1px; top: 1.5px; width: 7px; height: 7px; border-right: 1.5px solid var(--mute); border-top: 1.5px solid var(--mute); transform: rotate(45deg); }
.lw-close { font-weight: 700; color: var(--ink); }
@media (max-width: 600px) {
  .lw-vs { grid-template-columns: 1fr; gap: 6px; }
  .lw-arrow { height: 28px; width: 12px; justify-self: center; transform: rotate(90deg); }
}
