:root {
  color-scheme: light;
  --text: #222;
  --muted: #666;
  --link: #075c9c;
  --border: #d7d7d7;
  --background: #fff;
  --code-background: #f4f4f4;
  --notice-background: #fff8e6;
  --notice-border: #d19a20;
}

* { box-sizing: border-box; }

html { background: var(--background); }

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font: 16px/1.55 Arial, Helvetica, sans-serif;
}

a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }

main,
footer { width: min(820px, calc(100% - 32px)); margin: 0 auto; }
main { padding: 36px 0 52px; }
h1, h2 { line-height: 1.25; }
h1 { margin: 0 0 26px; font-size: 2rem; }
h2 { margin: 38px 0 12px; font-size: 1.35rem; }
p { max-width: 75ch; margin: 0 0 16px; }

.news { padding: 14px 16px; border-left: 4px solid var(--notice-border); background: var(--notice-background); }

pre { overflow-x: auto; margin: 18px 0; padding: 15px 17px; border: 1px solid var(--border); background: var(--code-background); line-height: 1.5; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
:not(pre) > code { padding: .08em .25em; background: var(--code-background); }

footer { padding: 20px 0 34px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
footer p { margin: 0; }

@media (max-width: 520px) {
  main { padding-top: 28px; }
  h1 { font-size: 1.65rem; }
}
