/* Site styles on top of core.css and npg.css. Text uses only the pairs listed as passing in tokens.json "contrast"; signal is never text. */
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg-page); font-size: var(--text-md); line-height: var(--lh-body); }
img { max-width: 100%; height: auto; }
a { color: var(--text-accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.site-footer :focus-visible { outline-color: var(--text-inverse); }
main:focus { outline: none; }

.skip-link { position: absolute; left: var(--space-5); top: -100px; z-index: 10; background: var(--btn-bg); color: var(--btn-text); padding: var(--space-4) var(--space-5); }
.skip-link:focus { top: var(--space-5); color: var(--btn-text); }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-5); }
@media (min-width: 900px) { .wrap { padding: 0 var(--space-7); } }

.site-header { border-bottom: var(--rule) solid var(--border); }
.site-header__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); padding-top: var(--space-5); padding-bottom: var(--space-5); }
.site-header__logo { display: inline-block; line-height: 0; }
.nav { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-7); list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--text); font-weight: 500; text-decoration: none; padding: var(--space-3) 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--text-muted); }
.nav a[aria-current="page"] { border-bottom-color: var(--text); }

.section { padding: var(--space-12) 0; }
@media (min-width: 900px) { .section { padding: var(--space-14) 0; } }
.section--quiet { background: var(--bg-quiet); }
.section > .wrap > * + *, .stack > * + * { margin-top: var(--space-5); }
.hero h1 { font-size: var(--text-5xl); }
@media (min-width: 900px) { .hero h1 { font-size: var(--text-7xl); } }
.hero .t-lead { max-width: 40rem; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
.prose { max-width: 42rem; }

.grid { display: grid; gap: var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .split { grid-template-columns: 4fr 8fr; } }
.card h3 { margin-bottom: var(--space-3); }
.card--quiet { background: var(--bg-quiet); border: 0; }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li + li { margin-top: var(--space-3); }
.byline { color: var(--text-muted); }

.placeholder { display: inline-block; background: var(--accent-tint); color: var(--text); border: 1px dashed var(--accent-strong); padding: 0 var(--space-3); font-size: var(--text-sm); }

.site-footer { background: var(--bg-inverse); color: var(--text-inverse); padding: var(--space-12) 0; }
.site-footer a { color: var(--text-inverse); }
.site-footer__legal { color: var(--text-inverse-muted); margin: var(--space-4) 0 0; font-size: var(--text-sm); }
.site-footer .placeholder { background: transparent; color: var(--text-inverse); border-color: var(--text-inverse-muted); }
.site-footer__links { display: flex; gap: var(--space-7); list-style: none; padding: 0; margin: var(--space-5) 0 0; }
.draft-note { color: var(--text-muted); font-weight: 600; }
