:root {
  --color-gold: #dabf72;
  --color-paper: #f6efdd;
  --color-ink: #16120c;
  --color-muted: #5a4f3c;
  --color-wechat: #07c160;

  --step--1: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --step-0: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
  --step-1: clamp(1.4375rem, 1.27rem + 0.8vw, 1.9375rem);
  --step-2: clamp(1.875rem, 1.5rem + 1.8vw, 3rem);
  --step-3: clamp(2.75rem, 1.2rem + 7.5vw, 9rem);

  --space-s: clamp(0.75rem, 0.65rem + 0.4vw, 1rem);
  --space-m: clamp(1.25rem, 1rem + 1vw, 2rem);
  --space-l: clamp(2.5rem, 2rem + 2.4vw, 4rem);
  --space-xl: clamp(4rem, 3rem + 5vw, 8rem);

  --wrap: max(var(--space-m), (100% - 84rem) / 2);
  --measure: 60ch;
  --stroke: 1px solid var(--color-ink);
  --stroke-heavy: 6px solid var(--color-ink);
}

body {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: sans-serif;
  font-size: var(--step-0);
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

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

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  width: 100%;
  height: auto;
}
