:root {
  color-scheme: dark;
  --bg: #121817;
  --panel: #1c2421;
  --text: #eef2e7;
  --muted: #afbcb2;
  --accent: #cbef77;
  --line: #37423c;
}
* { box-sizing: border-box; }
body { margin: auto; width: min(1160px, 92%); background: var(--bg); color: var(--text); font-family: var(--body-font, system-ui, sans-serif); font-size: var(--body-px, 17px); line-height: var(--line-height, 1.7); }
header, footer, nav, .brand, .signature, .repo { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; }
header, footer { padding: 1.4rem 0; }
header { border-bottom: 1px solid var(--line); }
.brand { font-size: 1.25rem; font-weight: 800; margin-inline-end: auto; }
.brand img, .signature img { object-fit: contain; }
header a, footer a { text-decoration: none; color: var(--muted); }
.brand, a[aria-current="page"] { color: var(--text); }
a { color: var(--accent); text-underline-offset: .25em; }
a:hover, a[aria-current="page"] { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 4px; }
.skip { position: absolute; transform: translateY(-150%); background: var(--bg); padding: .4rem; }
.skip:focus { transform: none; }
main { max-width: 76ch; min-height: 54vh; padding: clamp(2rem, 7vw, 5rem) 0; overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--heading-font, inherit); font-weight: var(--heading-weight, bold); line-height: 1.12; letter-spacing: -.035em; }
h1 em, h2 em { color: var(--heading-em, inherit); }
pre, code { font-family: var(--mono-font, monospace); }
h1 { margin: 0 0 1rem; font-size: clamp(2.6rem, 6vw, 4.75rem); }
h2 { margin-top: 2.25rem; }
pre, :not(pre) > code { background: var(--panel); border-radius: .3rem; }
pre { padding: 1rem; overflow-x: auto; }
:not(pre) > code { padding: .1em .25em; }
main img { max-width: 100%; height: auto; }
footer { border-top: 1px solid var(--line); color: var(--muted); }
.profiles { width: 100%; border-top: 1px solid var(--line); padding-top: 1rem; }
.profiles a { display: grid; place-items: center; min-width: 30px; min-height: 36px; }
.repo img, .profiles a:not(:first-child) img { width: 22px; height: 22px; }
@media (max-width: 650px) { header { gap: .6rem 1rem; } .brand { width: 100%; } }

:root {
  color-scheme: dark;
  --bg: #1c1b19;
  --panel: #25231f;
  --text: #f4e9d5;
  --muted: #beb3a1;
  --accent: #ffb447;
  --line: #49443a;
  --focus: #ffb447;
}
