:root { color-scheme: light; --bg: #fff; --text: #101010; --muted: #5d5d5d; --line: #d7d7d7; --surface: #f3f3f3; --accent: #101010; --accent-text: #fff; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
:root[data-theme="black"] { color-scheme: dark; --bg: #080808; --text: #f8f8f8; --muted: #b9b9b9; --line: #3a3a3a; --surface: #171717; --accent: #fff; --accent-text: #080808; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-underline-offset: .2em; }
.skip-link { position: absolute; left: 1rem; top: -5rem; background: var(--accent); color: var(--accent-text); padding: .75rem; z-index: 10; }
.skip-link:focus { top: 1rem; }
.site-header, footer, main { max-width: 1180px; margin: auto; }
.site-header { min-height: 84px; padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand-logo { display: block; width: clamp(9.25rem, 18vw, 12.8125rem); height: auto; }
.brand--footer .brand-logo { width: 7.5rem; }
nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.theme-toggle, .text-button { border: 1px solid var(--line); color: var(--text); background: var(--bg); padding: .6rem .8rem; cursor: pointer; }
main { min-height: 70vh; padding: 0 2rem; }
.hero { min-height: 62vh; display: grid; align-content: center; max-width: 850px; }
h1 { font-size: clamp(2.7rem, 8vw, 6.8rem); letter-spacing: -.065em; line-height: .95; margin: .2em 0; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; }
h3 { font-size: 1.3rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 750; }
.lede { font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--muted); max-width: 680px; }
.actions { display: flex; gap: 1.2rem; align-items: center; margin-top: 1.5rem; }
.button { display: inline-block; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-text); padding: .85rem 1.1rem; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding: 5rem 0; border-top: 1px solid var(--line); }
.page-heading, .prose, .admin { max-width: 850px; padding: 5rem 0; }
.form-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding: 5rem 0; }
.field { margin-bottom: 1.1rem; }
label { display: block; font-weight: 700; margin-bottom: .35rem; }
input, textarea, select { width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: .8rem; font: inherit; }
input:focus, textarea:focus, select:focus, button:focus, a:focus { outline: 3px solid currentColor; outline-offset: 3px; }
.honeypot { position: absolute; left: -10000px; }
.form-note, .muted { color: var(--muted); font-size: .9rem; }
.errors, .flash { border: 2px solid currentColor; padding: 1rem; }
.flash { max-width: 1116px; margin: 1rem auto; }
.section-heading { display: flex; justify-content: space-between; align-items: end; }
.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th, td { text-align: left; border-bottom: 1px solid var(--line); padding: .9rem; }
.status { text-transform: capitalize; padding: .2rem .5rem; background: var(--surface); }
dt { font-weight: 700; } dd { margin: 0 0 1rem; }
footer { border-top: 1px solid var(--line); padding: 2rem; display: flex; justify-content: space-between; align-items: center; }
.footer-brand { display: grid; gap: .65rem; }
.footer-brand p { margin: 0; }
@media (max-width: 760px) { .site-header, footer { align-items: flex-start; flex-direction: column; gap: 1rem; } .grid, .form-layout { grid-template-columns: 1fr; gap: 2rem; } .site-header { padding: 1rem; } .brand-logo { width: 9.25rem; } main { padding: 0 1rem; } nav { gap: .8rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
