/* One stylesheet, no framework, no webfont, no JavaScript anywhere on this
   site. It exists to be read by a person and by Google's reviewer, and the
   fastest way to be readable is to have almost nothing in it. */
:root {
    --ink: #1b1b1b;
    --muted: #55606b;
    --line: #dfe3e8;
    --bg: #ffffff;
    --accent: #14507d;
}

@media (prefers-color-scheme: dark) {
    :root {
        --ink: #e9ecef;
        --muted: #a9b2bb;
        --line: #333b43;
        --bg: #16191c;
        --accent: #7fb6e3;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 2rem 1rem 4rem;
    background: var(--bg);
    color: var(--ink);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.75;
}

main { max-width: 42rem; margin: 0 auto; }

header { border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 2rem; }

h1 { font-size: 1.6rem; margin: 0 0 .3rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 .6rem; }

.sub { color: var(--muted); margin: 0; font-size: .95rem; }

p, li { color: var(--ink); }

ul { padding-inline-start: 1.3rem; }
li { margin-bottom: .45rem; }

code {
    background: rgba(127, 127, 127, .14);
    padding: .1rem .35rem;
    border-radius: 3px;
    font-size: .92em;
    direction: ltr;
    display: inline-block;
}

a { color: var(--accent); }

nav { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
nav a { margin-inline-end: 1.2rem; display: inline-block; }

footer { margin-top: 3rem; color: var(--muted); font-size: .88rem; }

@media (max-width: 480px) {
    body { padding: 1.25rem .9rem 3rem; font-size: 16px; }
    h1 { font-size: 1.35rem; }
}
