:root {
  color-scheme: light;
  font-family: "Atkinson Hyperlegible Next", "Malgun Gothic", system-ui, sans-serif;
  color: #193c50;
  background: #fcfbf6;
  --line: #cbdad9;
  --ink: #193c50;
  --blue: #206587;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible { outline: 3px solid #ad650a; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .6rem 1rem; background: white; }
.skip:focus { top: .5rem; }
.top, main { width: min(100% - 2.5rem, 52rem); margin-inline: auto; }
.top { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem; min-height: 4.8rem; padding-block: .8rem; border-bottom: 1px solid var(--line); }
.brand { margin-right: auto; color: var(--ink); font-size: 1.1rem; font-weight: 750; text-decoration: none; }
nav { display: flex; align-items: center; gap: 1rem; }
nav a { padding-block: .4rem; color: var(--ink); text-decoration: none; }
nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.reading { color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: .4rem; padding: .45rem .65rem; font: inherit; cursor: pointer; }
.reading[aria-pressed="true"] { background: var(--ink); color: white; }
main { padding-bottom: 4rem; font-size: 1.04rem; line-height: 1.8; overflow-wrap: anywhere; }
html[data-reading="large"] main { font-size: 1.25rem; }
h1, h2, p, figure, pre { margin: 0; }
h1, h2 { line-height: 1.24; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 8vw, 4.6rem); }
h2 { font-size: 1.45em; }
.cover { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: clamp(2.8rem, 8vw, 6rem); border-bottom: 1px solid var(--line); }
.cover p { margin-top: .85rem; font-size: 1.12em; }
.snow, figure img { border-radius: 22%; height: auto; }
.snow { width: clamp(4.5rem, 15vw, 7rem); }
.entry, .article section { margin-top: 2.2rem; }
.entry h2 a { text-decoration: none; }
.entry h2 a:hover { text-decoration: underline; }
.entry h2 span { font-size: .72em; }
.entry p, .article p { max-width: 65ch; margin-top: .65rem; }
.article { padding-top: 3rem; }
.article h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.article section + section { border-top: 1px solid var(--line); padding-top: 1.8rem; }
code { font: .92em/1.55 "IBM Plex Mono", Consolas, monospace; }
figure { margin: 1.2rem 0; display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
figcaption { color: #415f6d; }
pre { padding: .8rem 1rem; border-radius: .4rem; background: #eaf0ee; white-space: pre-wrap; }
.note { border-left: 3px solid #6ea3b8; padding-left: .85rem; }
@media (max-width: 30rem) {
  .top, main { width: calc(100% - 2rem); }
  .top { gap: .7rem; font-size: .92rem; }
  nav { gap: .65rem; }
  .cover { align-items: flex-start; }
}
