:root {
  color-scheme: light;
  font-family: Verdana, Arial, sans-serif;
  font-size: 16px;
  color: #222;
  background: #fbfaf5;
}

* { box-sizing: border-box; }
body { max-width: 780px; margin: 32px auto; padding: 0 24px; line-height: 1.6; }
a { color: #0000bb; text-decoration: underline; }
a:visited { color: #551a8b; }
a:hover { color: #b00000; }
::selection { background: #ffe66d; }
a:focus-visible, button:focus-visible { outline: 2px solid #0000bb; outline-offset: 4px; }
h1, h2, h3 { line-height: 1.3; }
h1 { margin: 0 0 12px; font: bold 30px Georgia, 'Times New Roman', serif; }
h2 { margin: 0 0 16px; font: bold 23px Georgia, 'Times New Roman', serif; }
h2::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; background: #222; }
h3 { margin: 20px 0 4px; font-size: 16px; }
p { margin: 0 0 16px; }
header { border-bottom: 2px solid #222; padding-bottom: 16px; }
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
section { padding: 26px 0; border-bottom: 1px dashed #999; scroll-margin-top: 16px; }
section > :last-child { margin-bottom: 0; }
.intro { padding-top: 22px; }
figcaption, footer { font-size: 13px; color: #555; }
figure { margin: 20px 0 0; }
#screens figure { margin-top: 0; }
#screens figure + figure { margin-top: 26px; }
@media (min-width: 700px) { #screens figure + figure { margin-top: 0; } }
figure img { display: block; width: 100%; height: auto; border: 1px solid #222; box-shadow: 5px 5px 0 #222; }
/* The two screenshots stand side by side where there is the width for it, each given room in
   proportion to its shape so they come out the same height, and run past the text column on
   a desktop. */
@media (min-width: 700px) {
  #screens { display: flex; gap: 22px; }
  #screens figure:first-child { flex: 1400 1 0; }
  #screens figure:last-child { flex: 1276 1 0; }
}
@media (min-width: 1000px) {
  #screens { width: 126%; margin-left: -13%; }
}
@media (min-width: 1200px) {
  #screens { width: 150%; margin-left: -25%; }
}
figcaption { margin-top: 6px; }
ul, ol { padding-left: 24px; margin: 12px 0 18px; }
li { margin-bottom: 8px; }
li p { margin: 4px 0 16px; }
dl { margin: 0; }
dt { font-weight: bold; margin-top: 16px; }
dd { margin: 4px 0 16px 24px; }
code { font-family: 'Courier New', monospace; overflow-wrap: anywhere; }
p code, dt code { padding: 1px 4px; background: #efece2; }
.terminal-command { margin-bottom: 22px; padding: 12px; border: 1px solid #222; background: #fff; box-shadow: 5px 5px 0 #222; }
.terminal-command code { display: block; margin-bottom: 10px; white-space: pre-wrap; }
button { padding: 3px 10px; border: 1px solid #222; border-radius: 0; background: #ffe66d; color: #222; font: 14px Arial, sans-serif; cursor: pointer; }
button:active { transform: translate(1px, 1px); }
footer { padding-top: 18px; }
.skip-link { position: absolute; left: 12px; top: -100px; background: white; padding: 8px; }
.skip-link:focus { top: 8px; }
@media (max-width: 480px) {
  body { margin: 20px auto; padding: 0 16px; }
  dd { margin-left: 16px; }
}
