:root {
  --paper: #f4f1ea;
  --ink: #1f2420;
  --muted: #5c625b;
  --line: #d6d1c4;
  --accent: #4b5a3a;
  --accent-ink: #f4f1ea;
  --max: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161916;
    --ink: #e7e4dc;
    --muted: #a3a89f;
    --line: #2e332d;
    --accent: #9fb07f;
    --accent-ink: #161916;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }

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

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand svg { width: 1.6rem; height: 1.6rem; color: var(--accent); flex: none; }
.brand strong { letter-spacing: 0.02em; }
.brand span { color: var(--muted); font-size: 0.85rem; }
header.site nav a { font-size: 0.9rem; color: var(--muted); }

main { padding: 3.5rem 0 4rem; }

.eyebrow {
  font: 600 0.75rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 1rem;
}

h1 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 600; font-size: clamp(2rem, 6vw, 2.9rem); line-height: 1.15;
  margin: 0 0 1.25rem; letter-spacing: -0.01em;
}
h2 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 600; font-size: 1.35rem; line-height: 1.3;
  margin: 2.75rem 0 0.75rem;
}
h3 { font-size: 1rem; margin: 1.5rem 0 0.4rem; }

.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 2rem; }

.status {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.35rem 0.9rem; font-size: 0.9rem; color: var(--muted);
}
.status::before {
  content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--accent); margin-right: 0.5rem; vertical-align: 0.05em;
}

.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin-top: 1rem; }
.card { border: 1px solid var(--line); border-radius: 0.5rem; padding: 1rem 1.1rem; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

ul.tags { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
ul.tags li {
  font: 0.8rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  border: 1px solid var(--line); border-radius: 0.25rem; padding: 0.45rem 0.6rem;
}

.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  text-decoration: none; padding: 0.7rem 1.2rem; border-radius: 0.375rem; font-weight: 600;
}
.button:hover { color: var(--accent-ink); filter: brightness(1.08); }

table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 0.75rem 0; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }

.note { color: var(--muted); font-size: 0.9rem; }

footer.site { border-top: 1px solid var(--line); padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: 0.875rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
