:root {
  color-scheme: light;
  --background: #fff;
  --foreground: #000;
  --main: #000;
  --main-foreground: #fff;
  --border: #1a1a1a;
  --muted: #666;
  --card-border: #d4d4d4;
  --shadow: 4px 4px 0 0 var(--border);
  --radius: 12px;
  --warning: #fde68a;
  --grain: .25;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #050505;
    --foreground: oklch(98% 0 0);
    --main: oklch(98% 0 0);
    --main-foreground: #000;
    --border: #8a8a8a;
    --muted: oklch(65% 0 0);
    --card-border: #2a2a2a;
    --warning: #facc15;
  }

  body::before { filter: invert(1); }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 500 1.0625rem/1.6 Outfit, system-ui, sans-serif;
}

a { color: inherit; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  4 0 0 0 -2.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--grain);
}

.letter {
  max-width: 36rem;
  margin: 0 auto;
  padding: 18vh 1.5rem 6rem;
}

.title {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 1;
}

.home .title {
  margin-top: 1rem;
  font-size: clamp(3.5rem, 12vw, 6rem);
}

.chip {
  display: inline-block;
  padding: .15rem .65rem;
  border: 2px solid #000;
  border-radius: 999px;
  background: var(--warning);
  color: #000;
  font-size: .85rem;
  font-weight: 700;
}

.tag { margin: .5rem 0 2rem; font-size: 1.35rem; }
.lede { margin: 0 0 2rem; }

.btn {
  display: inline-block;
  padding: .75rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--main);
  color: var(--main-foreground);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .1s, box-shadow .1s;
}

.btn:hover { transform: translate(4px, 4px); box-shadow: none; }

footer.site {
  margin-top: 5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--card-border);
  color: var(--muted);
  font-size: .9rem;
}

footer.site a { color: var(--foreground); }

.privacy .wordmark {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.privacy h1 { margin-bottom: 2rem; font-size: 3rem; }
.privacy p { margin: 0 0 1.5rem; }
.privacy footer.site { margin-top: 5rem; }
