/* The app's colors and fonts, so the site looks like the app it describes. */

:root {
  color-scheme: light dark;
  --canvas: light-dark(#ffffff, #1f2023);
  --text: light-dark(#1d1f23, #e8e9eb);
  --muted: light-dark(#6f737b, #9b9fa7);
  --line: light-dark(#ececef, #2f3135);
  --panel: light-dark(#f6f6f8, #26272b);
  --accent: light-dark(#d6194c, #ff5f6d);
  --radius: 24px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-rounded: ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font: 17px/1.6 var(--font);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 64px 16px;
}

h1,
h2 {
  font-family: var(--font-rounded);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin: 16px 0 8px;
}

h2 {
  font-size: 1.3rem;
  margin: 40px 0 8px;
}

a {
  color: var(--accent);
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  margin-top: 0;
}

.icon {
  display: block;
  width: 112px;
  height: 112px;
  /* The icon's artwork sits on the macOS grid, inset from its canvas. */
  margin: 0 0 0 -12px;
}

.panel {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 8px 24px;
  margin: 24px 0;
}

li + li {
  margin-top: 8px;
}

footer {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
