/* Emberleaf — the two store pages. No script, no font download, no tracker:
   the page makes no request beyond itself, which is the point of the app. */
:root {
  --bg: #fbf8f3;
  --ink: #1f1d1a;
  --muted: #6b655c;
  --ember: #c2410c;
  --leaf: #2f6b3a;
  --card: #ffffff;
  --line: #e7e1d8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161412;
    --ink: #f1ece4;
    --muted: #a49c90;
    --ember: #f97316;
    --leaf: #7bc47f;
    --card: #211e1b;
    --line: #35302a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
main { max-width: 42rem; margin: 0 auto; padding: 2rem 1rem 4rem; }
header.brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
header.brand .mark {
  width: 2.5rem; height: 2.5rem; border-radius: .75rem;
  background: linear-gradient(160deg, var(--ember), var(--leaf));
}
header.brand a { color: inherit; text-decoration: none; font-weight: 700; font-size: 1.25rem; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 .25rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
p.lead { color: var(--muted); margin-top: 0; }
p, li { max-width: 65ch; }
a { color: var(--ember); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 1rem;
  padding: 1rem 1.25rem; margin: 1rem 0;
}
.card h2 { margin-top: 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
code { font: .92em ui-monospace, SFMono-Regular, Menlo, monospace; }
footer { color: var(--muted); font-size: .9rem; margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1rem; }
nav.pages a { margin-right: 1rem; }
