/* base.css */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --page-background: hsl(209 21% 90%);
  --surface: #fffdf8;
  --text: #191919;
  --muted-text: #66625b;
  --accent: #a52a24;
  --accent-text: #ffffff;
  --line: #282828;

  --font-body:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  --font-display: Georgia, serif;
  --display-weight: 700;
  --display-tracking: -0.025em;
}

html {
  background: var(--page-background);
  color: var(--text);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.55;
  background: var(--page-background);
  color: var(--text);
}

h1,
h2,
h3,
.site-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
}

a {
  color: var(--accent);
}

button {
  font: inherit;
}

.site-nav button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: var(--accent-text);
}