:root {
  --background: #ffffff;
  --foreground: #1f1f1f;
  --muted: #f4f4f3;
  --muted-foreground: #8c8c8c;
  --border: #ececec;
  --brand: #d23a2a;
  --wordmark-from: #5f5f5f;
  --wordmark-to: #bdbdbd;
  --font-ui: "Inter", ui-sans-serif, sans-serif;
  --font-app: "Source Serif 4", Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #111111;
    --foreground: #e8e8e8;
    --muted: #1b1b1b;
    --muted-foreground: #8a8a8a;
    --border: #262626;
    --brand: #e2483a;
    --wordmark-from: #d6d6d6;
    --wordmark-to: #6a6a6a;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-app);
  font-size: 1.075rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.ui { font-family: var(--font-ui); }
.muted { color: var(--muted-foreground); }
.caps { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; }
.wordmark {
  background: linear-gradient(180deg, var(--wordmark-from), var(--wordmark-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-ui);
  font-weight: 400;
}
.link { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--foreground) 30%, transparent); text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--foreground); }
.mark { display: inline-block; width: 0.6em; height: 0.6em; border: 1.5px solid var(--brand); transform: rotate(-14deg); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
