/* Deliberately one small stylesheet shared by all three pages. When the Astro
   landing arrives these pages get its layout; until then legibility is the
   only requirement. */
:root {
    --ink: #1d2327;
    --muted: #50575e;
    --rule: #dcdcde;
    --link: #2271b1;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 48px 24px 96px;
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
}

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

h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 1.2rem; margin: 40px 0 8px; }
h3 { font-size: 1rem; margin: 24px 0 4px; }

.lede { color: var(--muted); margin: 0 0 8px; }
.updated { color: var(--muted); font-size: 0.875rem; margin: 0 0 32px; }

a { color: var(--link); }
a:hover { color: #135e96; }

table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; }

code { font: 0.875em ui-monospace, SFMono-Regular, Menlo, monospace; background: #f6f7f7; padding: 1px 4px; border-radius: 3px; }

ul { padding-left: 1.25rem; }
li { margin: 4px 0; }

footer { max-width: 46rem; margin: 64px auto 0; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.875rem; }

@media (prefers-color-scheme: dark) {
    :root { --ink: #e6e6e6; --muted: #a7aaad; --rule: #3c434a; --link: #72aee6; }
    body { background: #101517; }
    code { background: #1e2327; }
}
