:root {
  --paper: #ffffff;
  --paper-soft: #f6f5f2;
  --paper-sink: #eeece7;
  --ink: #141210;
  --ink-soft: #2a2622;
  --ink-mute: #7a7268;
  --rule: #e4e0d6;
  --hair: #ececec;
  --oxide: #e85d2f;
  --oxide-deep: #b0431f;
  --patina: #4eb6a6;
  --sulfur: #d9a441;
  --shadow: 0 20px 40px -20px rgba(20, 18, 16, 0.18);
  --shadow-hard: 6px 6px 0 var(--ink);
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.06 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
  --serif: 'DM Serif Display', 'Cormorant Garamond', 'Songti SC', 'STSong', 'Times New Roman', serif;
  --body: 'Spectral', 'Noto Serif SC', 'Songti SC', Georgia, serif;
  --mono: 'Space Mono', 'IBM Plex Mono', 'Noto Sans SC', 'Courier New', monospace;
}

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

html,
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: multiply;
  z-index: 9999;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  color: inherit;
}

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

.mono {
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.hidden {
  display: none !important;
}
