/* LDR's pages. Light only, on purpose: the app's own rule is that every Palette is
   a light one, because the single surface that inverts — the partner's half of the
   clock, while it is night for them — has to mean something. */
:root {
  --paper: #edf1ea;
  --raised: #f6f8f4;
  --ink: #23291f;
  --quiet: #5c6456;
  --rule: #d3dbcd;
  --accent: #6b7f5c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 16px;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 34rem;
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 6rem) 0 5rem;
}

h1 {
  font-family: Faustina, Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.standfirst {
  font-family: Faustina, Georgia, serif;
  font-size: 1.2rem;
  color: var(--quiet);
  margin: 0 0 3rem;
}

h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 2.75rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

h2:first-of-type { border-top: none; padding-top: 0; }

p, li { margin: 0 0 1rem; }
ul { padding-left: 1.1rem; margin: 0 0 1.25rem; }
li::marker { color: var(--accent); }

strong { font-weight: 600; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.note {
  background: var(--raised);
  border-left: 2px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.note p:last-child { margin-bottom: 0; }

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--quiet);
  font-size: 0.9rem;
}

.pillars { list-style: none; padding: 0; }
.pillars li { padding-left: 0; margin-bottom: 1.25rem; }
.pillars strong { display: block; }
