:root {
  color-scheme: light;
  --paper: #fffaf7;
  --ink: #1d1a18;
  --muted: #685f5a;
  --line: #eadfd8;
  --brand: #df5b50;
  --brand-dark: #b83f36;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

a { color: var(--brand-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--brand); }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 3px; }

.site-header,
footer {
  width: min(100% - 40px, 780px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header { min-height: 76px; border-bottom: 1px solid var(--line); }
.site-header > a:last-child { font-size: 0.875rem; font-weight: 650; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; }
.brand span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: var(--brand); color: white; }

main { width: min(100% - 40px, 720px); margin: 72px auto 96px; }
.kicker { margin: 0 0 8px; color: var(--brand-dark); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.35rem, 7vw, 4.5rem); line-height: 0.98; letter-spacing: -0.055em; }
.updated { margin: 18px 0 44px; color: var(--muted); font-size: 0.875rem; }
h2 { margin: 48px 0 10px; font-size: 1.45rem; line-height: 1.25; letter-spacing: -0.025em; }
h3 { margin: 26px 0 8px; font-size: 1.05rem; }
p, li { color: var(--muted); }
ul { padding-left: 1.3rem; }
li + li { margin-top: 8px; }
address { color: var(--muted); font-style: normal; }
.caps { font-size: 0.925rem; }
.button { display: inline-block; margin-top: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: white; font-weight: 750; text-decoration: none; }
.button:hover { background: var(--brand-dark); color: white; }

footer { min-height: 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 540px) {
  main { margin-top: 48px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
}
