:root {
  --paper: #e6dfd0;
  --ink: #1a1712;
  --muted: #5c564c;
  --rule: #c9c0ad;
  --mint: #1f8a5b;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(20px, 4vw, 40px);
}

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

html, body { min-height: 100%; }

body {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.shell {
  width: min(720px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.03em;
}

.mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--paper);
}

.mark svg { width: 18px; height: 18px; }

nav.social {
  display: flex;
  gap: 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

nav.social a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
}

nav.social a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

main {
  padding: 24px 0 56px;
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin-top: 18px;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

article {
  margin-top: 32px;
}

article h2 {
  margin: 32px 0 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
}

article p,
article li {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

article p + p { margin-top: 14px; }

article ul {
  margin: 12px 0 0 1.2em;
}

article li + li { margin-top: 8px; }

article a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

article a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 28px;
  padding-bottom: 28px;
  font-family: var(--mono);
  font-size: 11px;
  color: #8a8376;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.legal a {
  color: #8a8376;
  border-bottom: 1px solid transparent;
}

.legal a:hover,
.legal a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (max-width: 820px) {
  header { height: 64px; }
  nav.social { gap: 16px; font-size: 11px; }
  main { padding: 12px 0 48px; }
}
