@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { --bg:#d6d6d6; --ink:#1c1c1c; --muted:#4f4f4f; --line:#b8b8b8; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg:#1c1c1c; --ink:#e6e6e6; --muted:#a3a3a3; --line:#3a3a3a; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg:#1c1c1c; --ink:#e6e6e6; --muted:#a3a3a3; --line:#3a3a3a; color-scheme: dark; }
/* One scale for the whole site (the same in home.css): five text sizes with their line
   heights, spacing in multiples of 8, one button height. */
:root {
  --fs-display: clamp(2.5rem, 6vw, 4rem);      --lh-display: 1.05;
  --fs-section: clamp(1.75rem, 3.5vw, 2.25rem); --lh-section: 1.15;
  --fs-sub: 1.25rem;                            --lh-sub: 1.4;
  --fs-body: 1.0625rem;                         --lh-body: 1.6;
  --fs-small: 0.9375rem;                        --lh-small: 1.5;
  --button: 44px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin:0; background:var(--bg); color:var(--ink); font-family:"Inter", system-ui, sans-serif; font-size:var(--fs-body); line-height:var(--lh-body); -webkit-font-smoothing:antialiased; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
/* Buttons: primary (filled) and secondary (outlined), one height, padding and radius. */
.button, .theme { display:inline-flex; align-items:center; justify-content:center; height:var(--button); padding:0 24px; border-radius:6px; font:inherit; font-size:var(--fs-body); font-weight:600; line-height:1; text-decoration:none; white-space:nowrap; cursor:pointer; border:1px solid var(--ink); background:var(--ink); color:var(--bg); }
.button:hover { opacity: 0.88; }
.button.secondary, .theme { background:transparent; color:var(--ink); border-color:var(--line); }
.button.secondary:hover, .theme:hover { opacity:1; border-color:var(--muted); }
.top { display:flex; align-items:center; justify-content:space-between; padding-block:16px; }
.brand { display:flex; align-items:center; gap:8px; text-decoration:none; font-weight:600; letter-spacing:-0.01em; }
.brand img { display: block; width: 24px; height: 24px; }
.theme { font-weight:500; padding:0 16px; }
/* One centred column: the title block and buttons centred, long text left-aligned in it. */
main { max-width: 66ch; margin-inline: auto; padding-block: 48px 96px; }
main > h1, main > h1 + p, .updated, .summary, .get, .file { text-align: center; }
.short { text-align: center; }
h1 { font-weight:700; font-size:var(--fs-display); line-height:var(--lh-display); letter-spacing:-0.03em; margin:0 0 16px; }
/* The rest of a page's one heading, naming the app and what it is, set smaller under it. */
h1 .for { display:block; margin-top:8px; font-size:var(--fs-sub); line-height:var(--lh-sub); font-weight:500; letter-spacing:0; color:var(--muted); }
.updated { color:var(--muted); font-size:var(--fs-small); line-height:var(--lh-small); margin:0 0 48px; }
h2 { font-weight:600; font-size:var(--fs-sub); line-height:var(--lh-sub); margin:48px 0 16px; }
p { margin: 0 0 16px; }
p, li { color: var(--muted); }
p strong, li strong { color: var(--ink); font-weight: 600; }
ul { padding-left: 1.2em; margin: 0 0 16px; }
ol { padding-left: 1.4em; margin: 0 0 16px; }
li + li { margin-top: 8px; }
.summary { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding-block: 24px; margin: 0 0 32px; color: var(--ink); }
.get { margin: 32px 0 16px; }
.file { font-size:var(--fs-small); line-height:var(--lh-small); margin:0 0 8px; overflow-wrap:anywhere; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: var(--fs-small); overflow-wrap: anywhere; }
footer { border-top:1px solid var(--line); padding-block:48px 64px; color:var(--muted); font-size:var(--fs-small); line-height:var(--lh-small); display:flex; flex-direction:column; align-items:center; text-align:center; gap:16px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
.links { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 24px; list-style:none; margin:0; padding:0; }
.links li + li { margin-top:0; }
footer a[aria-current="page"] { color: var(--ink); }
/* The download page's feature list, folded on a phone by notes.js: a row per feature. */
.features.folding { list-style: none; padding-left: 0; }
.features.folding li { border-bottom: 1px solid var(--line); margin: 0; }
.features.folding li:first-child { border-top: 1px solid var(--line); }
.features.folding .more { display: block; padding-bottom: 16px; }
.features.folding .folded .more { display: none; }
.fold { all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; width: 100%; min-height: var(--button); align-items: center; padding-block: 8px; }
.fold:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.fold::after { content: "−"; color: var(--muted); }
.folded .fold::after { content: "+"; }
