:root {
  color-scheme: light dark;
  /* Kesyn Teal. --muted is one step darker than #697372 to reach WCAG AA on --bg. */
  --text: #1f2424;
  --muted: #687271;
  --bg: #f7f5ef;
  --card: #ffffff;
  --line: #d9e0de;
  --accent: #2c7773;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8eeed;
    --muted: #9aa8a6;
    --bg: #111515;
    --card: #1a2120;
    --line: #2d3837;
    --accent: #5fb3ac;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
header.site { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.5rem; }
header.site .name { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1.25rem; color: var(--text); text-decoration: none; margin-right: auto; }
header.site .name img { display: block; width: 2rem; height: 2rem; border-radius: 22%; }
nav a { margin-left: 1rem; }
nav a:first-child { margin-left: 0; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.3rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.075rem; margin: 1.5rem 0 0.25rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }
.meta { color: var(--muted); font-size: 0.95rem; }
.note { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; margin: 1.25rem 0; }
.note p:last-child { margin-bottom: 0; }
footer.site { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1rem; color: var(--muted); font-size: 0.9rem; }

/* Home page: a wider column with a sideways-scrolling strip of app screenshots. */
.wrap.wide { max-width: 68rem; }
.prose { max-width: 42rem; }
.lede { font-size: 1.15rem; }
img { max-width: 100%; }
.strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 1.25rem;
  list-style: none;
  margin: 1.5rem -1.25rem 2rem;
  padding: 0 1.25rem 1rem;
}
.strip:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.strip li { flex: 0 0 min(68vw, 15rem); margin: 0; scroll-snap-align: start; }
.strip img { display: block; width: 100%; height: auto; border-radius: 1rem; border: 1px solid var(--line); }
.hint { color: var(--muted); font-size: 0.9rem; margin: -1.25rem 0 2rem; }
