:root { color-scheme: light dark; --background: #fff; --text: #172126; --muted: #46555e; --line: #dce3e6; --accent: #0066cc; }
* { box-sizing: border-box; }
html { background: var(--background); color: var(--text); font: 100%/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
::selection { background: #cde6ff; color: #142735; }
header, main, footer { width: min(100% - 3rem, 68rem); margin-inline: auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; font-size: 1.15rem; font-weight: 650; }
.brand img { border-radius: .5rem; }
main { padding-block: clamp(3rem, 8vw, 7rem); min-height: 60vh; }
h1 { max-width: 20ch; margin: 0 0 1.5rem; font-size: clamp(2.25rem, 5.5vw, 4.5rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
p { max-width: 68ch; color: var(--muted); margin: 1rem 0; overflow-wrap: anywhere; }
.intro { max-width: 48ch; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.contact { display: inline-block; margin-top: 1.5rem; overflow-wrap: anywhere; }
.updated { font-size: .9rem; margin-bottom: 3rem; }
section { max-width: 68ch; margin-top: 2.5rem; }
h2 { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 650; line-height: 1.35; }
section p { margin: 0; }
footer { border-top: 1px solid var(--line); padding-block: 1.5rem 2.5rem; font-size: .9rem; }
nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.skip { position: absolute; top: -10rem; left: 1rem; background: var(--background); padding: .5rem 1rem; }
.skip:focus { top: 1rem; }
@media (max-width: 28rem) { header, main, footer { width: calc(100% - 2rem); } header { gap: 1rem; } }
@media (prefers-color-scheme: dark) { :root { --background: #121719; --text: #f2f5f6; --muted: #b5c1c8; --line: #38454c; --accent: #89c4ff; } ::selection { background: #285078; color: #fff; } }
