/* Landia's pages on haley.org (promo, privacy, support): the Mac app's
   Parchment look by day and Walnut by night. */

:root {
  --ground: #efe4c9;
  --ink: #2b2118;
  --muted: rgba(43, 33, 24, 0.64);
  --rule: rgba(43, 33, 24, 0.18);
  --accent: #965829;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #33281f;
    --ink: #efe3c8;
    --muted: rgba(239, 227, 200, 0.62);
    --rule: rgba(239, 227, 200, 0.14);
    --accent: #c99a52;
  }
}

html { background: var(--ground); }

body {
  margin: 0 auto;
  max-width: 34em;
  padding: 3em 1.25em 4em;
  color: var(--ink);
  background: var(--ground);
  font-family: "Ubuntu Sans", system-ui, sans-serif;
  font-stretch: 85%;
  font-size: 17px;
  line-height: 1.6;
}

h1 {
  font-family: "IM Fell English", Georgia, serif;
  font-weight: normal;
  font-size: 2.2em;
  line-height: 1.15;
  margin: 0 0 0.15em;
}

.updated {
  color: var(--muted);
  font-style: italic;
  margin: 0 0 2em;
  padding-bottom: 1.25em;
  border-bottom: 1px solid var(--rule);
}

h1.ruled {
  margin-bottom: 1em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--rule);
}

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

.home {
  display: inline-block;
  margin-bottom: 2.5em;
  color: var(--muted);
  text-decoration: none;
  font-family: "IM Fell English SC", Georgia, serif;
  letter-spacing: 0.06em;
}
.home:hover { color: var(--accent); }
