/* Published research pages (research/*.html, built from the markdown by
   scripts/build-research.mjs). Long-form reading on the dark page: one measure, quiet tables. */
.research-page .findings-main { padding-top: clamp(96px, 12vw, 140px); padding-bottom: 80px; }
.research-crumb { max-width: 76ch; margin: 0 auto 18px; font: 12px/1.6 var(--mono, ui-monospace, monospace); letter-spacing: .06em; }
.research-crumb a { color: var(--glow); }
.research-doc { max-width: 76ch; margin: 0 auto; color: #dbdfd2; font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.research-doc > * + * { margin-top: 1em; }
.research-doc h1 { font: 400 clamp(34px, 5vw, 56px)/1.05 Georgia, serif; letter-spacing: -.03em; color: #f0eee3; margin-bottom: .6em; }
.research-doc h2 { font: 400 clamp(24px, 3vw, 32px)/1.15 Georgia, serif; color: #f0eee3; margin-top: 2em; }
.research-doc h3 { font: 700 13px/1.4 var(--mono, ui-monospace, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--glow); margin-top: 2em; }
.research-doc h4 { font-size: 17px; color: #f0eee3; margin-top: 1.6em; }
.research-doc a { color: var(--glow); text-underline-offset: 3px; }
.research-doc code { font: .86em var(--mono, ui-monospace, monospace); background: #ffffff0f; padding: .1em .35em; }
.research-doc a code { background: none; padding: 0; }
.research-doc pre { overflow-x: auto; padding: 14px; background: #ffffff08; border: 1px solid #ffffff18; }
.research-doc pre code { background: none; padding: 0; }
.research-doc ul, .research-doc ol { padding-left: 1.4em; }
.research-doc li + li { margin-top: .35em; }
.research-doc blockquote { margin-left: 0; padding: .2em 0 .2em 1.1em; border-left: 2px solid var(--glow); color: #c7ccbf; }
.research-doc hr { border: 0; border-top: 1px solid #ffffff22; margin: 2.4em 0; }
/* Tables are the widest thing here; they scroll inside the measure rather than widening the page. */
.research-doc table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.research-doc th, .research-doc td { padding: 8px 12px; border-bottom: 1px solid #ffffff1c; text-align: left; vertical-align: top; }
.research-doc td code { white-space: nowrap; }
.research-doc th { font: 700 11px/1.4 var(--mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; color: #a9b5a4; }
@media (max-width: 700px) { .research-doc { font-size: 16px; } }
