:root {
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted: #5f6368;
  --card: #f5f5f7;
  --line: #d9d9de;
  --accent: #0a6cff;
  --accent-text: #ffffff;
  --green: #2ea44f;
  --where-bg: #dbe8ff;
  --key-bg: #ffe4b8;
  --band: #f5f5f7;
  --band-text: #5f6368;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161618;
    --text: #f2f2f4;
    --muted: #a6a6ad;
    --card: #222226;
    --line: #38383e;
    --accent: #2f7bf0;
    --accent-text: #ffffff;
    --where-bg: #23365a;
    --key-bg: #5a4220;
    --band: #2c2c30;
    --band-text: #a6a6ad;
  }
}
/* Ubuntu Sans (Ubuntu Font Licence 1.0, fonts/UbuntuSans-LICENCE.txt), from
   this site, so that every system shows the same letters, the demo
   video's too. */
@font-face {
  font-family: "Ubuntu Sans";
  src: url("/fonts/UbuntuSans.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "Ubuntu Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 40rem; margin: 0 auto; padding: 3rem 1rem 2rem; }
h1 { font-size: 2.2rem; line-height: 1.15; margin: 0 0 0.6rem; }
h2 { font-size: 1.15rem; margin: 2.2rem 0 0.6rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
a { color: var(--accent); }
.downloads { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.5rem 0; }
.download {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--text); text-decoration: none;
  flex-wrap: wrap;
}
.download small { text-align: right; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.download small { color: var(--muted); }
.download.mine { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.download.mine small { color: var(--accent-text); }
.note { font-size: 0.92rem; color: var(--muted); }
button {
  font: inherit; padding: 0.6rem 1rem; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
}
h3 { font-size: 1.05rem; margin: 0 0 0.35rem; }
.steps { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: 1.6rem; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step p { margin-bottom: 0.6rem; }
.art { flex: 0 0 auto; width: 120px; height: 80px; }
.art .soft { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.art .accent { fill: var(--accent); }
.art .window { fill: var(--bg); stroke: var(--line); stroke-width: 1.5; }
.art .bar { fill: var(--card); }
.art .dot { fill: var(--line); }
.art .arrow { fill: none; stroke: #ffffff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.art .plug { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.art .line { fill: none; stroke: var(--muted); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.art .dashed { stroke-dasharray: 4 5; }
.art .ink { fill: var(--text); }
.art .check { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.link-sample {
  font: 0.95rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.6rem 0.8rem; overflow-wrap: anywhere;
}
.link-site { color: var(--muted); }
.link-dot { color: var(--muted); }
.link-where { background: var(--where-bg); border-radius: 3px; padding: 0 2px; }
.link-key { background: var(--key-bg); border-radius: 3px; padding: 0 2px; }
.link-parts { list-style: none; padding: 0; margin: 0 0 0.6rem; font-size: 0.92rem; }
.link-parts li { display: flex; align-items: center; gap: 0.5rem; }
.swatch { display: inline-block; width: 0.9rem; height: 0.9rem; border-radius: 3px; }
.swatch.where { background: var(--where-bg); }
.swatch.key { background: var(--key-bg); }
.examples, .facts { padding-left: 1.2rem; }
.examples li, .facts li { margin-bottom: 0.5rem; }
@media (max-width: 30rem) {
  .step { flex-direction: column; gap: 0.5rem; }
}
.faq dt { font-weight: 600; margin-top: 1rem; }
.faq dd { margin: 0.25rem 0 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.topbar .logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.topbar .logo img { width: 40px; height: 40px; }
.topbar nav { display: flex; gap: 1.1rem; font-size: 0.95rem; }
.topbar nav a { color: var(--muted); text-decoration: none; }
.topbar nav a:hover { color: var(--text); }
/* Wider than the text column on a wide screen, so the app in it reads;
   within the screen on a narrow one (3rem leaves room for a scrollbar). */
.demo { margin: 1.5rem 0; width: min(64rem, calc(100vw - 3rem)); position: relative; left: 50%; transform: translateX(-50%); }
.demo video { display: block; width: 100%; height: auto; border-radius: 10px; background: #ffffff; }
.demo figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; text-align: center; }
/* Three pictures on a grey band, so they read as three windows. */
.drives { display: flex; gap: 1rem; align-items: flex-end; margin: 1rem 0 1.2rem; padding: 1rem 1rem 0.6rem; box-sizing: border-box; background: var(--band); width: min(90rem, calc(100vw - 3rem)); position: relative; left: 50%; transform: translateX(-50%); }
.drives figure { margin: 0; flex: 1 1 0; min-width: 0; text-align: center; }
/* Grown by each picture's width (so as tall as each other), the Mac's
   then a tenth smaller and the Windows one a tenth larger. */
.drives .mac { flex-grow: 672; }
.drives .windows { flex-grow: 652; }
.drives .linux { flex-grow: 526; }
.drives img { display: block; width: 100%; height: auto; }
.drives figcaption { font-size: 0.85rem; color: var(--band-text); margin-top: 0.4rem; }
@media (max-width: 40rem) { .drives { flex-direction: column; align-items: stretch; } }
footer { max-width: 40rem; margin: 0 auto; padding: 0 1rem 2.5rem; font-size: 0.85rem; color: var(--muted); }
footer a { color: var(--muted); }
.link-steps { padding-left: 1.4rem; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 1.4rem; }
.link-steps .downloads { margin: 0.6rem 0; }
.link-steps details summary { cursor: pointer; color: var(--accent); margin-bottom: 0.6rem; }
