:root {
  --bg: #0c0c0c;
  --surface: #111111;
  --text: #ededeb;
  --muted: #a3a3a0;
  --border: #2a2a29;
  --surface-hover: #171717;
  --container: 1040px;
  --radius: 2px;
  --font-small: 13px;
  --font-body: 15px;
  --font-heading: 21px;
  --font-title: clamp(32px, 4vw, 48px);
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

:root[data-theme="light"] {
  --bg: #dcd9d0;
  --surface: #eeede8;
  --text: #20201e;
  --muted: #63635e;
  --border: #d5d4ce;
  --surface-hover: #e7e6df;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 6px;
}

a:hover {
  color: var(--text);
}

::selection {
  background: #ddd;
  color: #111;
}

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -.025em;
}

h1 {
  font-size: var(--font-title);
  line-height: 1.15;
}

h2, h3 {
  font-size: var(--font-heading);
  line-height: 1.3;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  padding: 0;
}

.eyebrow, .mono {
  font: inherit;
  font-size: var(--font-small);
  color: var(--muted);
  letter-spacing: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  background: var(--surface);
  color: var(--text);
  padding: 12px 20px;
  z-index: 100;
}

.skip-link:focus {
  top: 14px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

}
