:root {
  --bg: #f4f5f1;
  --fg: #1c1e21;
  --muted: #565c64;
  --line: #dcdfd8;
  --panel: #ffffff;
  --accent: #1f5fbf;
  --accent-fg: #ffffff;
  --band: #0d0f12;          /* the header band and the buttons */
  --band-fg: #f2f3ee;
  --band-muted: #a7adb5;
  --lime: #d2f50f;          /* the logo's green: only ever on --band */
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --fg: #e8eaed;
    --muted: #a3a9b2;
    --line: #2c3036;
    --panel: #1b1e22;
    --accent: #6ea1ef;
    --accent-fg: #0b1220;
    --band: #08090b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
header, main, footer { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
/* Download pages: wide enough for the Windows and Mac choices side by side. Text stays 40rem. */
body.wide main, body.wide footer { max-width: 64rem; }
.brand { display: inline-block; line-height: 0; color: var(--fg); text-decoration: none; }
.brand img { display: block; height: 36px; width: auto; max-width: 100%; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 1.25rem 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
p, li { max-width: 40rem; }
a { color: var(--accent); }
.lead { color: var(--muted); font-size: 1.05rem; margin-top: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin: 1.25rem 0; }
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }
.button {
  display: inline-block;
  background: var(--band);
  color: #ffffff;
  border: 2px solid var(--lime);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
}
.button:hover { background: #1d2127; }
button.button { font: inherit; font-weight: 600; cursor: pointer; }
/* the Windows or Apple mark on a download button, in the button's own color */
.button svg.os { width: 1.1em; height: 1.1em; fill: currentColor; vertical-align: -0.15em; margin-right: 0.55em; }
/* the band: full width, its contents lined up with the page below */
header {
  max-width: none;
  margin: 0;
  background: var(--band);
  color: var(--band-fg);
  border-bottom: 2px solid var(--lime);
  padding: 16px max(16px, calc((100% - 44rem) / 2 + 16px));
}
main { padding-top: 12px; }
.image-button { display: inline-block; line-height: 0; border-radius: 999px; }
.image-button img { display: block; height: 56px; width: auto; max-width: 100%; }
body.wide header { padding-left: max(16px, calc((100% - 64rem) / 2 + 16px));
                   padding-right: max(16px, calc((100% - 64rem) / 2 + 16px)); }
.agree { display: flex; gap: 10px; align-items: flex-start; }
.agree input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--accent); }
.terms h2 { font-size: 1.05rem; margin-top: 1.75rem; }
.terms .caps { font-size: 0.9rem; }
.button:focus-visible, .agree input:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 1rem 0 0; font-size: 0.95rem; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; min-width: 0; }
.hash { font-family: ui-monospace, Consolas, monospace; font-size: 0.85rem; overflow-wrap: anywhere; }
ol li { margin-bottom: 0.5rem; }
/* Windows and Mac: side by side on a computer's screen, one above the other on a phone */
.choices { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 1.25rem 0; }
.choices > .panel { margin: 0; min-width: 0; }
@media (min-width: 760px) {
  .choices { grid-template-columns: 1fr 1fr; }
}
video.tutorial { display: block; width: 100%; height: auto; margin: 1.25rem 0; border-radius: 10px; background: #000; }
.note { color: var(--muted); font-size: 0.95rem; }
footer { color: var(--muted); font-size: 0.85rem; padding-top: 32px; padding-bottom: 32px; }
@media (max-width: 480px) {
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dd { margin-bottom: 8px; }
}
