/* The Platform CEO — site styles, v1.0, 2 October 2026 */

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations"),
       url("/fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-latin-opsz-italic.woff2") format("woff2-variations"),
       url("/fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
       url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --paper: #fcf9f1;
  --paper-2: #f3ede0;
  --surface: #fffdf7;
  --ink: #1b1915;
  --ink-2: #48433b;
  --ink-3: #635c51;
  --gold: #7a571a;
  --gold-display: #9a7128;
  --rule: #e0d7c4;
  --rule-strong: #c9bda5;
  --focus: #1b1915;
  --focus-ring: #e9c46a;
  --stone-1: #3f3d39;
  --stone-2: #d8d3c8;
  --stone-3: #b98d3c;
  --shadow: 0 1px 2px rgba(40, 30, 10, .06), 0 18px 40px -18px rgba(40, 30, 10, .35);
  --plate: #ffffff;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --reader-scale: 1;
  --measure: 66ch;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 4rem;
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #13120f;
  --paper-2: #1b1a16;
  --surface: #1f1d19;
  --ink: #eee9de;
  --ink-2: #cdc5b6;
  --ink-3: #aba291;
  --gold: #dcb96f;
  --gold-display: #d6b064;
  --rule: #33302a;
  --rule-strong: #4a453c;
  --focus: #eee9de;
  --focus-ring: #dcb96f;
  --stone-1: #2b2a27;
  --stone-2: #8f897d;
  --stone-3: #c99d4a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -18px rgba(0, 0, 0, .8);
  --plate: #f7f3ea;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--focus-ring);
  border-radius: 2px;
}
::selection { background: #e9d7a8; color: #1b1915; }

.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); font-family: var(--sans); font-weight: 600;
  padding: .75rem 1rem; border-radius: 4px; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.bar {
  max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 1rem;
}
.wordmark {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none; margin-right: auto; white-space: nowrap;
  font-variation-settings: "opsz" 36;
}
.wordmark .gold { color: var(--gold); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.main-nav a, .tool-btn, .menu-btn {
  font-family: var(--sans); font-size: .9375rem; font-weight: 500; color: var(--ink);
  text-decoration: none; min-height: 44px; min-width: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: 0 .75rem; border-radius: 999px; border: 1px solid transparent; background: none; cursor: pointer;
}
.main-nav a:hover, .tool-btn:hover, .menu-btn:hover { background: var(--paper-2); }
.main-nav a[aria-current="page"] { border-color: var(--rule-strong); }
.tools { display: flex; align-items: center; gap: .25rem; }
.tool-btn svg, .menu-btn svg { width: 20px; height: 20px; flex: none; }
.tool-btn .label-sm { font-size: .875rem; }
.menu-btn { display: none; }

@media (max-width: 52rem) {
  .menu-btn { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: .5rem var(--gutter) 1rem; }
  .main-nav a { justify-content: flex-start; border-radius: 6px; width: 100%; font-size: 1.0625rem; }
  .tool-btn .hide-sm { display: none; }
}

.progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--gold); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Landing ---------- */
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding: clamp(2.5rem, 7vw, 6.5rem) 0 clamp(3rem, 7vw, 6rem);
}
.byline-caps {
  font-family: var(--serif); font-weight: 600; font-size: .95rem; letter-spacing: .32em;
  margin: 0 0 1.75rem; color: var(--ink);
}
.title-stack {
  font-family: var(--serif); font-weight: 500; margin: 0;
  font-size: clamp(3.4rem, 9.5vw, 7.75rem); line-height: .9; letter-spacing: -.025em;
  font-variation-settings: "opsz" 72;
}
.title-stack span { display: block; }
.title-stack .gold { color: var(--gold-display); }
.subtitle {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2;
  font-weight: 400; margin: 1.5rem 0 0; color: var(--ink); max-width: 24ch;
  font-variation-settings: "opsz" 36;
}
.hero-lead { font-size: 1.1875rem; color: var(--ink-2); max-width: 36rem; margin: 1.75rem 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn {
  font-family: var(--sans); font-weight: 600; font-size: 1rem; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 1.5rem; border-radius: 999px; border: 1.5px solid var(--ink); cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--paper-2); }
.status { font-family: var(--sans); font-size: .9375rem; color: var(--ink-3); margin: 1.5rem 0 0; max-width: 34rem; }

.cover-frame { justify-self: center; width: min(100%, 26rem); position: relative; }
.cover-frame img {
  width: 100%; border-radius: 3px 6px 6px 3px; box-shadow: var(--shadow);
  outline: 1px solid rgba(0,0,0,.06);
}
.cover-frame::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.12), rgba(255,255,255,.18) 40%, transparent);
  border-radius: 3px 0 0 3px;
}

.praise { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.praise blockquote { margin: 0 auto; max-width: 52rem; padding: clamp(2.5rem, 6vw, 4.5rem) 0; text-align: center; }
.praise p {
  font-size: clamp(1.4rem, 3vw, 2.15rem); line-height: 1.3; font-style: italic; margin: 0;
  font-variation-settings: "opsz" 48; text-wrap: balance;
}
.praise footer { font-family: var(--sans); font-size: .9375rem; margin-top: 1.25rem; color: var(--ink-2); }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08; letter-spacing: -.015em; margin: 0 0 1.25rem; max-width: 22ch;
  font-variation-settings: "opsz" 60; text-wrap: balance;
}
.section .intro { font-size: 1.1875rem; color: var(--ink-2); max-width: 40rem; margin: 0; }

.equation {
  margin: 2.5rem 0 0; padding: 1.75rem 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule-strong);
  font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.35; font-variation-settings: "opsz" 36;
}
.equation .op { color: var(--gold); padding: 0 .15em; }
.levers { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-top: 3rem; }
.stones { width: 100%; max-width: 18rem; justify-self: center; }
.lever-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.lever-list li { padding: 1.4rem 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1.25rem minmax(0,1fr); gap: 1rem; }
.lever-list li:first-child { border-top: 0; padding-top: 0; }
.swatch { width: 1.1rem; height: .8rem; border-radius: 50%; margin-top: .45rem; }
.swatch.s3 { background: var(--stone-3); }
.swatch.s2 { background: var(--stone-2); border: 1px solid var(--rule-strong); }
.swatch.s1 { background: var(--stone-1); }
.lever-list h3 { font-size: 1.375rem; font-weight: 600; margin: 0; font-variation-settings: "opsz" 24; }
.lever-list .term { font-style: italic; color: var(--ink-3); font-size: 1.0625rem; margin: .1rem 0 .4rem; }
.lever-list p { margin: 0; color: var(--ink-2); }
.moats { margin-top: 3rem; max-width: 46rem; color: var(--ink-2); font-size: 1.1875rem; }

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.story p { margin: 0 0 1rem; color: var(--ink-2); font-size: 1.1875rem; }
.excerpt {
  margin: 0; padding: 2rem clamp(1.25rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--rule);
  border-left: 3px solid var(--gold-display); border-radius: 2px;
}
.excerpt .src { font-family: var(--sans); font-size: .875rem; color: var(--ink-3); margin: 0 0 1rem; }
.excerpt p { font-size: 1.125rem; line-height: 1.65; color: var(--ink); margin: 0 0 1rem; }
.excerpt a { font-family: var(--sans); font-weight: 600; font-size: .9375rem; }

.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; }
.part h3 { font-size: 1.375rem; font-weight: 600; margin: 0; font-variation-settings: "opsz" 24; }
.part .when { font-family: var(--sans); font-size: .875rem; color: var(--ink-3); margin: .2rem 0 .75rem; }
.part ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.part li { border-bottom: 1px solid var(--rule); }
.part li a {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem; padding: .7rem 0;
  color: var(--ink); text-decoration: none; font-size: 1.125rem; min-height: 44px;
}
.part li a:hover .t { text-decoration: underline; text-underline-offset: .18em; }
.part .n { font-family: var(--sans); font-size: .875rem; color: var(--ink-3); padding-top: .25rem; font-variant-numeric: tabular-nums; }
.also { margin-top: 2.5rem; font-family: var(--sans); font-size: .9375rem; color: var(--ink-3); }
.also a { color: var(--ink-2); }

.author { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.author img { border-radius: 50%; width: 100%; max-width: 15rem; aspect-ratio: 1; object-fit: cover; filter: saturate(.92); }
.author p { color: var(--ink-2); font-size: 1.1875rem; margin: 0 0 1rem; max-width: 40rem; }

.notify { background: var(--paper-2); border-top: 1px solid var(--rule); }
.notify-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
.notify p { color: var(--ink-2); font-size: 1.1875rem; margin: 0 0 1rem; max-width: 34rem; }
.form-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; flex: 1 1 16rem; }
.field label { font-family: var(--sans); font-weight: 600; font-size: .9375rem; }
.field .hint { font-family: var(--sans); font-size: .875rem; color: var(--ink-3); margin: 0; }
.field input {
  font: inherit; font-family: var(--sans); font-size: 1.0625rem; min-height: 48px; padding: 0 1rem;
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink-3); border-radius: 6px;
}
.field input:focus-visible { border-color: var(--ink); }
.form-row .btn { align-self: flex-end; }
.honey { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: 3.5rem 0 3rem; font-family: var(--sans); font-size: .9375rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-family: var(--sans); font-size: .9375rem; font-weight: 700; margin: 0 0 .75rem; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: .3rem 0; color: var(--ink-2); min-height: 24px; }
.site-footer .wordmark { font-size: 1.375rem; display: inline-block; margin-bottom: .5rem; }
.legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: .875rem; color: var(--ink-3); max-width: 60rem; }
.legal p { margin: 0 0 .5rem; }

/* ---------- Reader ---------- */
.reader { padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) 3rem; }
.page {
  max-width: var(--measure); margin: 0 auto;
  font-size: calc(1.1875rem * var(--reader-scale)); line-height: 1.72;
}
.page-head { margin: 0 0 3rem; }
.part-banner { margin: 0 0 3rem; padding: 0 0 1.5rem; border-bottom: 1px solid var(--rule); }
.part-banner .pnum { font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: var(--gold); margin: 0; }
.part-banner .ptitle { font-size: 1.75rem; font-weight: 500; margin: .25rem 0 0; font-variation-settings: "opsz" 36; line-height: 1.2; }
.part-banner .pwhen { font-style: italic; color: var(--ink-3); margin: .35rem 0 0; font-size: 1.0625rem; }
.kicker { font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: var(--gold); margin: 0 0 .75rem; }
.page h1 {
  font-weight: 500; font-size: clamp(2.4rem, 6vw, 3.75rem); line-height: 1.04; letter-spacing: -.02em;
  margin: 0; font-variation-settings: "opsz" 72; text-wrap: balance;
}
.page .byline { font-style: italic; color: var(--ink-2); margin: 1rem 0 0; font-size: 1.125rem; }
.meta { font-family: var(--sans); font-size: .875rem; color: var(--ink-3); margin: 1.25rem 0 0; }
.page p { margin: 0 0 1.15em; hyphens: auto; -webkit-hyphens: auto; }
.page .prose > p:first-of-type::first-letter {
  float: left; font-size: 3.6em; line-height: .82; padding: .07em .1em 0 0; font-weight: 500; color: var(--gold-display);
  font-variation-settings: "opsz" 72;
}
.page h2 {
  font-weight: 500; font-size: 1.75rem; line-height: 1.2; margin: 3rem 0 1rem; font-variation-settings: "opsz" 36;
}
.page h3 { font-weight: 600; font-size: 1.25rem; margin: 2rem 0 .75rem; }
.page hr { border: 0; height: auto; margin: 2.5rem 0; text-align: center; }
.page hr::after { content: "\2022\2002\2022\2002\2022"; color: var(--gold-display); letter-spacing: .2em; font-size: .9rem; }
.page blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--gold-display); color: var(--ink-2); }
.page ul, .page ol { padding-left: 1.4em; margin: 0 0 1.25em; }
.page li { margin: 0 0 .55em; }
.page li::marker { color: var(--gold); }
.page strong { font-weight: 650; }
.page sup { line-height: 0; font-size: .68em; }
.page sup a {
  font-family: var(--sans); font-weight: 700; text-decoration: none; padding: .15em .25em; margin-left: .05em;
  border-radius: 3px; display: inline-block; min-width: 24px; text-align: center;
}
.page sup a:hover { background: var(--paper-2); }

.author-note {
  margin: 4rem 0 0; padding: 2.25rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem; background: var(--paper-2);
  border-top: 3px solid var(--ink); border-radius: 0 0 4px 4px;
}
.author-note .kicker { margin-bottom: .25rem; }
.author-note h2 { margin-top: 0; }
.page .author-note p:first-of-type::first-letter { all: unset; }

figure { margin: 2.5rem 0; }
figure img { width: 100%; background: var(--plate); padding: clamp(.75rem, 2vw, 1.25rem); border: 1px solid var(--rule); border-radius: 4px; }
figcaption { font-family: var(--sans); font-size: .9375rem; color: var(--ink-3); margin-top: .75rem; line-height: 1.5; }

.formula { font-weight: 600; padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.pager { max-width: var(--measure); margin: 4rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pager a {
  display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--rule-strong); border-radius: 6px; text-decoration: none; color: var(--ink);
}
.pager a:hover { background: var(--paper-2); }
.pager .dir { display: block; font-family: var(--sans); font-size: .875rem; color: var(--ink-3); margin-bottom: .2rem; }
.pager .t { font-size: 1.125rem; line-height: 1.3; }
.pager .next { text-align: right; grid-column: 2; }
.draft-note { max-width: var(--measure); margin: 2.5rem auto 0; font-family: var(--sans); font-size: .875rem; color: var(--ink-3); }

.endnotes ol { padding-left: 2em; }
.endnotes li { margin-bottom: 1em; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.endnotes li:target { background: var(--paper-2); outline: 2px solid var(--gold-display); outline-offset: 6px; border-radius: 2px; }
.back { font-family: var(--sans); font-size: .875rem; font-weight: 600; white-space: nowrap; }

/* Contents dialog */
dialog.toc {
  border: 1px solid var(--rule-strong); border-radius: 8px; padding: 0; background: var(--paper); color: var(--ink);
  width: min(34rem, calc(100vw - 2rem)); max-height: min(44rem, calc(100vh - 2rem)); box-shadow: var(--shadow);
}
dialog.toc::backdrop { background: rgba(20, 16, 10, .45); }
.toc-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: var(--paper); }
.toc-head h2 { margin: 0; font-size: 1.375rem; font-weight: 600; }
.toc-body { padding: .5rem 1.25rem 1.5rem; }
.toc-body h3 { font-family: var(--sans); font-size: .875rem; font-weight: 700; color: var(--ink-3); margin: 1.25rem 0 .25rem; }
.toc-body ul { list-style: none; margin: 0; padding: 0; }
.toc-body a { display: block; padding: .5rem .5rem; margin: 0 -.5rem; border-radius: 6px; color: var(--ink); text-decoration: none; min-height: 44px; }
.toc-body a:hover { background: var(--paper-2); }
.toc-body a[aria-current="page"] { background: var(--paper-2); font-weight: 600; }
.reading-settings { display: flex; align-items: center; gap: .5rem; padding: 1rem 1.25rem; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: .9375rem; flex-wrap: wrap; }
.size-btn { border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink); border-radius: 999px; min-width: 44px; min-height: 44px; font-family: var(--serif); font-size: 1.1rem; cursor: pointer; }
.size-btn:hover { background: var(--paper-2); }

/* Simple pages */
.simple { max-width: var(--measure); margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 60rem) {
  .hero { grid-template-columns: 1fr; }
  .cover-frame { width: min(70%, 20rem); order: 2; }
  .story, .notify-grid, .author { grid-template-columns: 1fr; }
  .levers { grid-template-columns: 1fr; }
  .stones { max-width: 13rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 40rem) {
  body { font-size: 1.0625rem; }
  .parts { grid-template-columns: 1fr; }
  .page { font-size: calc(1.125rem * var(--reader-scale)); line-height: 1.68; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .author img { max-width: 11rem; }
  .wordmark { font-size: 1.125rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .pager a, .tool-btn { border: 1px solid CanvasText; }
  .progress { display: none; }
}
@media print {
  .site-header, .site-footer, .pager, .notify, .skip, dialog { display: none !important; }
  body { background: #fff; color: #000; }
}
.h2like {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.05; letter-spacing: -.015em; margin: 0 0 1.25rem; font-variation-settings: "opsz" 72;
}
.part h2 { font-size: 1.375rem; font-weight: 600; margin: 0; font-variation-settings: "opsz" 24; font-family: var(--serif); letter-spacing: 0; max-width: none; line-height: 1.3; }
.page p, .page li { overflow-wrap: break-word; }
@media (max-width: 24rem) {
  .bar { gap: .5rem; }
  .tools { gap: 0; }
  .wordmark { font-size: 1rem; }
}
.page h1 { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 24rem) { .page h1 { font-size: 2.05rem; } .title-stack { font-size: 3rem; } }
.equation .term { white-space: nowrap; }
@media (max-width: 30rem) { .equation .term { white-space: normal; } }
.page sup a { min-width: 0; padding: .1em .15em; margin-left: .02em; }
