:root {
  --ink: #14241f;
  --muted: #5c6b64;
  --teal: #0f6e66;
  --amber: #d4652f;
  --paper: #f7f4ef;
  --line: rgba(20, 36, 31, 0.1);
  --night: #10211c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-underline-offset: 0.16em;
}

a:hover {
  color: #0b524c;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 4.75rem;
}

.brand img {
  height: 3.15rem;
  width: auto;
}

.prose {
  width: min(740px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem;
}

.kicker {
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin: 0.7rem 0 0.8rem;
}

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

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 520;
  letter-spacing: -0.03em;
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 2.1rem 0 0.65rem;
}

p,
li {
  font-size: 1.02rem;
}

p + p {
  margin-top: 0.8rem;
}

ul,
ol {
  margin: 0.7rem 0 0.2rem 1.2rem;
}

li + li {
  margin-top: 0.4rem;
}

.note {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.site-footer {
  background: var(--night);
  color: rgba(247, 244, 239, 0.62);
  border-top: 1px solid rgba(247, 244, 239, 0.08);
}

.site-footer a {
  color: rgba(247, 244, 239, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: #f7f4ef;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 0 1.5rem;
  font-size: 0.85rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
}
