:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1f1d1a;
  --ink-soft: #5d574e;
  --line: #e4ded2;
  --accent: #6a5b3e;
  --radius: 10px;
  --measure: 36rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171614;
    --surface: #1e1d1a;
    --ink: #ece7dd;
    --ink-soft: #a39c8e;
    --line: #322f2a;
    --accent: #c3ae82;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 1.5rem 5rem;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 ui-serif, Georgia, "Times New Roman", serif;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
}

header.site {
  padding: 3.5rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

header.site h1 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

header.site h1 a {
  color: inherit;
  text-decoration: none;
}

header.site p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-style: italic;
}

nav {
  display: flex;
  gap: 1.25rem;
  font: 500 0.8125rem/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

article.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

article.note h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
}

time {
  display: block;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font: 500 0.75rem/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

article.note p {
  margin: 0 0 0.9rem;
}

article.note p:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin: 2.25rem 0 0.6rem;
  font-size: 1.1875rem;
  font-weight: 600;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

footer.site {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font: 400 0.8125rem/1.6 ui-sans-serif, system-ui, sans-serif;
}

footer.site p {
  margin: 0;
}

.center {
  text-align: center;
  padding: 4rem 0 2rem;
}

.center .big {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
}
