:root {
  color-scheme: light;
  --background: #f8fafc;
  --text: #152439;
  --muted: #475569;
  --accent: #1d4ed8;
  --border: #cbd5e1;
  font-family: system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 58rem;
  margin: auto;
  padding: 0 1.5rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.25em;
}

a:hover {
  text-decoration-thickness: 0.15em;
}

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

.site-header,
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.site-header {
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.name {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.intro {
  padding: clamp(3rem, 10vw, 7rem) 0;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
}

h1 {
  max-width: 14ch;
  margin: 1rem 0;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

h2 {
  margin-top: 0;
}

p {
  max-width: 60ch;
  color: var(--muted);
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
}

section + section,
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

footer {
  color: var(--muted);
  font-size: 0.875rem;
}
