:root {
  --ink: #142033;
  --muted: #4b5a73;
  --paper: #f7f4ee;
  --card: #fffdf8;
  --line: #e4dccb;
  --accent: #2f5d8c;
  --accent-2: #1e7a62;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  line-height: 1.65;
  font-size: 1.05rem;
}
a { color: var(--accent); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 1.25rem 4rem; }
header {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.nav {
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}
.brand { font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.links { display: flex; gap: 1rem; flex-wrap: wrap; }
.links a { text-decoration: none; color: var(--muted); font-family: "Segoe UI", system-ui, sans-serif; font-size: 0.95rem; }
.hero { padding: 2.5rem 0 1rem; }
.kicker {
  font-family: "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent-2);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; margin: 0.35rem 0 0.8rem; }
h2 { font-size: 1.45rem; margin: 2rem 0 0.6rem; }
p.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.5rem 0; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.12rem; }
.meta { font-family: "Segoe UI", system-ui, sans-serif; color: var(--muted); font-size: 0.9rem; }
article p, .card p { color: #243049; }
footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.9rem;
}
ul.study { padding-left: 1.2rem; }
ul.study li { margin: 0.35rem 0; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: #fff; padding: 0.5rem 1rem;
}
.skip:focus { left: 0.5rem; z-index: 10; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 1rem 0 0; margin: 0; font-family: "Segoe UI", system-ui, sans-serif; font-size: 0.85rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.related { margin-top: 2rem; font-family: "Segoe UI", system-ui, sans-serif; font-size: 0.95rem; }
.gloss dt { font-weight: 700; margin-top: 0.9rem; }
.gloss dd { margin: 0.2rem 0 0 0; color: #243049; }
.card a { color: var(--ink); text-decoration: none; }
.card a:hover { color: var(--accent); }
