/* Drawing Wall: shared tokens and the simple doc pages. */
:root {
  color-scheme: light dark;
  --bg: #fffdf8;
  --text: #1d1a14;
  --muted: #5f584b;
  --line: #ece4d3;
  --soft: #f8f2e5;
  --brand: #16130e;          /* the black wall: primary buttons */
  --on-brand: #fff8e6;
  --link: #b8322b;           /* deep coral, readable on paper */
  --accent: #c2362f;
  /* crayon colors from the logo */
  --sun: #ffc93c;
  --coral: #ff6b6b;
  --sky: #4dc9ff;
  --leaf: #4caf50;
  --gold: #c98f00;
  --paper: #fffaf0;
  --wall: #0c0c0c;
  --head: "Nunito", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121110;
    --text: #f3eee3;
    --muted: #aaa293;
    --line: #2d2a25;
    --soft: #1c1a17;
    --brand: #ffc93c;
    --on-brand: #16130e;
    --link: #ff9a8f;
    --accent: #ff8a80;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: break-word;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
header img { width: 44px; height: 44px; border-radius: 10px; }
header a { color: inherit; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 20px; }
h1, h2, h3 { font-family: var(--head); }
h1 { font-size: 32px; line-height: 1.2; margin: 24px 0 4px; font-weight: 800; }
h2 { font-size: 21px; margin: 36px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 800; }
h3 { font-size: 17px; margin: 20px 0 4px; font-weight: 700; }
p, li { color: var(--text); }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
a { color: var(--link); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.box { background: var(--soft); border-radius: 14px; padding: 16px 18px; margin: 16px 0; }
.box p:first-child { margin-top: 0; }
.box p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
.button {
  display: inline-block; background: var(--brand); color: var(--on-brand); text-decoration: none;
  padding: 10px 18px; border-radius: 999px; font-weight: 700;
}
.button:hover { filter: brightness(1.12); }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { margin-right: 14px; display: inline-block; }
@media (max-width: 560px) {
  h1 { font-size: 27px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: 0; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  td:first-child { font-weight: 600; }
}
