/*
 * The public pages borrow the admin site's light palette so the two read as one
 * project, but nothing is shared at build time: these are two plain HTML files
 * with no framework and no build step, and this is the whole stylesheet.
 */
:root {
  --paper: #fbf7ea;
  --surface: #ffffff;
  --ink: #1d1b2e;
  --ink-soft: #6b6880;
  --edge: #e5ddc8;
  --brand: #6d28d9;
  --brand-deep: #5b21b6;

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
}

main {
  max-width: 40rem;
  /* The side padding is what keeps the page readable at 320px. */
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

header {
  margin-bottom: 2.5rem;
}

/* Sized in the tag as well, so the header does not reflow as the image loads. */
.mark {
  display: block;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.85rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.15rem;
  margin: 2.25rem 0 0.5rem;
}

.tagline {
  color: var(--ink-soft);
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

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

a:hover {
  color: var(--brand-deep);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 0.75rem;
  padding: 1.25rem 1.25rem 0.5rem;
  margin: 1.5rem 0;
}

.card h2 {
  margin-top: 0;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--edge);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

footer p {
  margin: 0 0 0.35rem;
}
