:root {
  --bg: #faf9f7;
  --ink: #1c1b1a;
  --muted: #6f6b66;
  --hairline: rgba(28, 27, 26, 0.12);
  --accent: #2f6d5f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131211;
    --ink: #ece9e4;
    --muted: #96918a;
    --hairline: rgba(236, 233, 228, 0.14);
    --accent: #7fb5a6;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.6;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.sans {
  font-family: ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
header.nav {
  max-width: 34rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand svg { width: 1.35rem; height: 1.35rem; color: var(--accent); }
nav.links {
  display: flex;
  gap: 1.4rem;
  font-family: ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
nav.links a {
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
nav.links a:hover { color: var(--ink); border-color: var(--accent); }
nav.links a[aria-current="page"] { color: var(--ink); border-color: var(--hairline); }
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 34rem;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
main.hero { justify-content: center; }
.mark {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 2.5rem;
  color: var(--accent);
}
h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.page h1 { font-size: clamp(1.6rem, 5vw, 2rem); }
.tagline {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--muted);
  max-width: 28rem;
}
.prose { margin-top: 2rem; }
.prose p { margin-top: 1.1rem; color: var(--ink); }
.prose p.quiet { color: var(--muted); }
.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.prose ul { margin-top: 1.1rem; padding-left: 1.2rem; }
.prose li { margin-top: 0.6rem; color: var(--ink); }
.prose li strong { font-weight: 600; }
.prose a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hairline); transition: border-color 160ms ease; }
.prose a:hover { border-color: var(--accent); }
.rule { border: none; border-top: 1px solid var(--hairline); margin: 2.75rem 0; }
.contact {
  margin-top: 2.75rem;
  font-family: ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: border-color 160ms ease;
}
.contact a:hover { border-color: var(--accent); }
footer {
  max-width: 34rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-family: ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
footer nav { display: flex; gap: 1.1rem; }
footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
footer a:hover { color: var(--ink); border-color: var(--hairline); }
