/* The app's own palette and type, so the page and the app are recognisably the
   same thing. Kept in step with lib/theme.ts by hand. */
:root {
  --paper: #f2ead9;
  --card: #fffdf8;
  --ink: #3f3930;
  --muted: #7a7064;
  --rule: #e6dcc6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.65 "Lora", Georgia, "Times New Roman", serif;
  padding-inline: 20px;
}
main { max-width: 640px; margin: 0 auto; padding-block: 56px 72px; }
h1, h2 { font-family: "Caveat", "Bradley Hand", "Segoe Print", cursive; font-weight: 600; line-height: 1.1; }
h1 { font-size: 64px; margin: 12px 0 4px; }
h2 { font-size: 36px; margin: 48px 0 8px; }
h3 { font-size: 18px; margin: 28px 0 4px; }
p, li { margin: 0 0 14px; }
ul { padding-left: 22px; }
a { color: var(--ink); text-underline-offset: 3px; }
.lede { font-size: 21px; color: var(--muted); margin-bottom: 32px; }
.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 18px rgba(63, 57, 48, .18); }
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 24px 0;
}
.small { font-size: 15px; color: var(--muted); }
footer { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--rule); }
@media (max-width: 480px) {
  body { font-size: 17px; }
  h1 { font-size: 52px; }
  h2 { font-size: 30px; }
  main { padding-block: 36px 56px; }
}
/* Long unbroken strings -- a relay address, an email -- must wrap on a narrow
   phone instead of pushing the page sideways. */
code, a[href^="mailto"] { overflow-wrap: anywhere; }
code { font-size: .9em; }
