:root {
  --bg: #f3f1ec;
  --ink: #1c1916;
  --muted: #5e5852;
  --line: #d8d2c8;
  --link: #1c1916;
}

* {
  box-sizing: border-box;
}

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

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration-thickness: 2px;
}

.wrap {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 2.5rem 1.35rem 4.5rem;
}

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.brand {
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 1.05rem;
}

.brand:hover {
  text-decoration: underline;
}

.nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.82rem;
}

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

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

.kicker {
  margin: 2rem 0 0.35rem;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0 0 0.4rem;
  font-size: 1.85rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 600;
  overflow-wrap: break-word;
}

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

h2 {
  margin: 1.75rem 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

p,
li {
  color: var(--ink);
  overflow-wrap: break-word;
}

p {
  margin: 0 0 0.9rem;
}

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

li {
  margin: 0 0 0.35rem;
}

.links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.links li {
  margin: 0 0 0.7rem;
}

.links a {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

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

.foot {
  margin-top: 3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

.foot p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 40rem) {
  html {
    font-size: 16px;
  }

  .wrap {
    padding: 1.5rem 1.15rem 3.5rem;
  }

  .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  h1 {
    font-size: 1.55rem;
  }
}
