:root { color-scheme: light; --ink: #173b50; --muted: #4a6170; --teal: #087e80; --line: #d7e3e7; --paper: #ffffff; --wash: #f2f7f8; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 18px/1.7 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { color: #066c79; text-underline-offset: .18em; }
a:hover { color: #003e4d; }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #eeb840; outline-offset: 5px; }
.skip { position: absolute; top: -100px; left: 20px; background: white; padding: 10px 20px; z-index: 2; }
.skip:focus { top: 10px; }
.site-header, .site-footer { max-width: 1200px; margin: auto; padding: 24px 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-header { border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-weight: 800; text-decoration: none; letter-spacing: .12em; }
nav, .site-footer { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
nav a { text-decoration: none; font-weight: 600; }
main { max-width: 1120px; padding: 58px 40px 80px; margin: auto; }
.paper-header { max-width: 970px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 750; color: var(--teal); font-size: 12px; }
h1 { font-size: clamp(2.2rem, 4.7vw, 3.6rem); line-height: 1.12; letter-spacing: -.035em; margin: 18px 0 24px; max-width: 990px; }
.dek { font-size: 22px; line-height: 1.5; max-width: 870px; color: var(--muted); }
.byline { font-size: 14px; color: var(--muted); }
.downloads { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin: 26px 0; font-size: 15px; font-weight: 650; }
.button { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; border-radius: 4px; padding: 10px 18px; }
.button:hover { color: white; background: #20566d; }
.evidence-note { font-size: 14px; line-height: 1.65; background: var(--wash); border-left: 3px solid var(--teal); padding: 16px 20px; color: var(--muted); }
.evidence-note code { font-size: 12px; overflow-wrap: anywhere; }
.paper-body { max-width: 920px; }
.paper-body h2 { font-size: 28px; letter-spacing: -.02em; line-height: 1.3; margin: 48px 0 20px; }
.paper-body h3 { font-size: 21px; line-height: 1.4; margin: 34px 0 15px; }
.paper-body p, .paper-body li { max-width: 850px; }
.paper-body a { overflow-wrap: anywhere; }
code { font-size: .85em; overflow-wrap: anywhere; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--wash); border: 1px solid var(--line); padding: 20px; border-radius: 6px; font-size: 15px; }
pre code { font-size: inherit; }
figure { margin: 32px 0; }
img { display: block; max-width: 100%; height: auto; }
figcaption { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 12px; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 25px 0; }
table { border-collapse: collapse; font-size: 14px; line-height: 1.5; width: 100%; min-width: 580px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--wash); font-weight: 750; }
blockquote { margin-left: 0; border-left: 3px solid var(--teal); padding-left: 24px; color: var(--muted); }
.research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.research-card { padding: 28px; border: 1px solid var(--line); border-radius: 8px; }
.research-card h2 { font-size: 27px; line-height: 1.3; margin: 12px 0; }
.research-card p { font-size: 16px; }
.reader-links { border-top: 1px solid var(--line); padding-top: 25px; margin-top: 45px; }
.reader-links h2 { font-size: 23px; }
.site-footer { border-top: 1px solid var(--line); justify-content: flex-start; color: var(--muted); padding-bottom: 35px; }
@media (max-width: 900px) { main { padding: 40px 26px 60px; } .site-header, .site-footer { padding: 22px 26px; } .site-header { align-items: flex-start; } .research-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { body { font-size: 16px; } .site-header { flex-direction: column; gap: 12px; } nav { gap: 16px; font-size: 12px; } main { padding: 30px 20px 50px; } .site-header, .site-footer { padding: 20px; } .dek { font-size: 19px; } h1 { font-size: 2.15rem; } .downloads { gap: 14px; } .paper-body h2 { font-size: 25px; } .research-card { padding: 22px; } }
@media print { .site-header, .site-footer, .skip, .downloads { display: none; } main { max-width: none; padding: 0; } body { font-size: 10pt; } h1 { font-size: 25pt; } h2, h3 { break-after: avoid; } figure, table { break-inside: avoid; } a { color: inherit; } }
/* Research hub: section titles, paper cards and the open-source tool list. */
.jump { font-size: 15px; font-weight: 650; }
.section-title { font-size: 30px; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 22px; }
#tools { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.section-dek { max-width: 760px; color: var(--muted); margin: -8px 0 28px; }
.research-card h3 { font-size: 27px; line-height: 1.3; margin: 12px 0; }
.earlier { font-size: 16px; color: var(--muted); margin-top: 24px; }
.repo-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.repo-list li { padding: 22px 0 24px; border-top: 1px solid var(--line); min-width: 0; }
.repo-list h3 { font-size: 20px; line-height: 1.35; margin: 0 0 4px; }
.repo-list h3 a { text-decoration: none; }
.repo-list h3 a:hover { text-decoration: underline; }
.repo-list p { font-size: 16px; margin: 0 0 10px; }
.repo-list .repo-meta { font-size: 13px; color: var(--muted); }
.repo-list pre { font-size: 13px; padding: 12px 14px; margin: 12px 0 0; }
@media (max-width: 900px) { .repo-list { grid-template-columns: 1fr; } }
/* Research portal header: own brand plus a single way back to the main site. */
.brand span { color: var(--teal); }
.back-link { font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.back-link:hover { text-decoration: underline; }
/* Hub: three paper cards in one row on wide screens. */
#papers .research-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
#papers .research-card h3 { font-size: 22px; }
#papers .research-card h3 { margin-top: 0; }
