:root {
  color-scheme: dark;
  --bg: #050b10;
  --panel: #101c27;
  --ink: #e8eee9;
  --muted: #b2bec0;
  --accent: #b2ddce;
  --rule: #35504e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.65 system-ui, sans-serif;
}
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(70rem, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--rule); }
.site-header nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.site-header a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-header img { display: block; width: 3rem; height: 3rem; }
.site-header .studio-link { gap: .65rem; text-decoration: none; font-weight: 700; }
main { padding-block: clamp(2.4rem, 8vw, 6rem); }
article, .listing { max-width: 48rem; }
time { color: var(--accent); font: .85rem/1.5 ui-monospace, monospace; }
h1, h2, dt { line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 4.3rem); letter-spacing: -.045em; margin: .7rem 0 1.2rem; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.025em; margin: 2.6rem 0 .8rem; }
p { margin: .65rem 0 1rem; }
.intro { color: var(--muted); font-size: clamp(1.15rem, 3vw, 1.4rem); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .9rem; }
.choices > div, .example, .entry { padding: clamp(1rem, 3vw, 1.6rem); background: var(--panel); border: 1px solid var(--rule); }
dt { color: var(--accent); font-weight: 700; margin-bottom: .6rem; }
dd { margin: 0; }
.example { border-inline-start: .25rem solid var(--accent); margin-block: 2rem; }
.example h2, .entry h2 { margin-top: .4rem; }
.example p:last-child, .entry p:last-child { margin-bottom: 0; }
ol, ul { padding-inline-start: 1.3rem; }
li + li { margin-top: .5rem; }
.sources { margin-top: 2.8rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .95rem; }
