:root {
  color-scheme: light dark;
  --paper: #F7F5ED;
  --surface: #FFFFFF;
  --ink: #30473B;
  --text: #1F2A24;
  --muted: #5B665F;
  --rule: #E2DED1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151B18;
    --surface: #242D27;
    --ink: #B9D8BD;
    --text: #E8EDE9;
    --muted: #A3AEA7;
    --rule: #2F3A33;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

header.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
header.brand img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}
header.brand .name {
  font: 600 1.6rem/1.1 ui-serif, "New York", Georgia, "Times New Roman", serif;
  color: var(--text);
  text-decoration: none;
}
header.brand .tagline {
  color: var(--muted);
  font-size: 0.95rem;
}

h1, h2 {
  font-family: ui-serif, "New York", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
}
h1 { font-size: 2.2rem; margin: 0 0 0.75rem; }
h2 { font-size: 1.35rem; margin: 2.5rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 0.25rem; }

p, li { max-width: 38rem; }
.lede { font-size: 1.15rem; color: var(--muted); }
.meta { color: var(--muted); font-size: 0.9rem; }

a { color: var(--ink); text-underline-offset: 2px; }

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

footer {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
footer a { color: var(--muted); }
