:root {
  color-scheme: light dark;
  --bg: #f6f4ef;
  --ink: #1e1c19;
  --muted: #5e5a53;
  --accent: #0c5c5a;
  --line: #e3ddd3;
  --max: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141412;
    --ink: #f4f1ea;
    --muted: #b9b3a8;
    --accent: #8fd0cc;
    --line: #2c2a26;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: none;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

nav a {
  color: var(--ink);
  text-decoration: none;
}

nav a:hover {
  color: var(--accent);
}

h1 {
  margin: 0 0 1rem;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
}

h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

h3 {
  margin: 1.25rem 0 0.35rem;
  font-size: 1.05rem;
}

p,
li {
  margin: 0.6rem 0;
}

ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.status {
  margin-top: 2rem;
  color: var(--muted);
}

.updated {
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.45rem 0;
}

.etsy {
  font-size: 0.82rem;
}

@media (max-width: 40rem) {
  h1 {
    font-size: 1.6rem;
  }

  .wrap {
    padding: 1rem 1rem 2.5rem;
  }
}
