/* pointandcheck.com: one stylesheet for the static pages. Light and dark follow the device. */
:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --background: #ffffff;
  --panel: #f5f5f7;
  --line: #d2d2d7;
  --accent: #0066cc;
  --mark: #fff3b0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --background: #000000;
    --panel: #1c1c1e;
    --line: #38383a;
    --accent: #2997ff;
    --mark: #5c4b00;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0 16px;
  background: var(--background);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
header, main, footer { max-width: 680px; margin: 0 auto; }
header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; }
nav a { margin-left: 16px; }
nav a:first-child { margin-left: 0; }
nav a[aria-current="page"] { color: var(--text); font-weight: 600; text-decoration: none; }
a { color: var(--accent); }
h1 { font-size: 34px; line-height: 1.15; margin: 32px 0 4px; }
h2 { font-size: 22px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
.meta { color: var(--muted); margin-top: 0; }
.summary { background: var(--panel); border-radius: 14px; padding: 4px 20px 12px; margin: 24px 0; }
.summary h2 { margin-top: 16px; }
li { margin: 6px 0; }
code { font-size: 15px; background: var(--panel); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
/* Still to fill in before publishing. */
mark { background: var(--mark); color: inherit; padding: 0 3px; border-radius: 3px; }
footer { color: var(--muted); font-size: 14px; padding: 32px 0 40px; margin-top: 40px; border-top: 1px solid var(--line); }
/* A shopping list sent from the app (list.html). */
.shopping { list-style: none; padding: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.shopping li { display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.shopping li strong { white-space: nowrap; }
.shopping .mark { flex: none; width: 20px; height: 20px; border: 2px solid var(--line); border-radius: 50%;
  font-size: 13px; line-height: 16px; text-align: center; align-self: center; }
.shopping li.bought { color: var(--muted); }
.shopping li.bought .text { text-decoration: line-through; }
.shopping li.bought .mark { background: #34c759; border-color: #34c759; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 24px 0; }
.button { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; }
