:root {
  --bg: #fdfdfc;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #e6e6e3;
  --link: #1a1a1a;
  --link-hover: #7a5cff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111112;
    --fg: #ececec;
    --muted: #8a8a8a;
    --rule: #26262a;
    --link: #ececec;
    --link-hover: #b3a1ff;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}

header.intro h1 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  letter-spacing: -0.005em;
}

header.intro .role {
  color: var(--muted);
  margin: 0 0 2.5rem;
  font-size: 1rem;
}

section {
  margin: 2.75rem 0;
}

section h2 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 1rem;
}

p { margin: 0 0 1rem; }

.lede {
  font-size: 1.18rem;
  line-height: 1.55;
  letter-spacing: -0.005em;
  margin: 0 0 1.25rem;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease;
}
a:hover { color: var(--link-hover); }

.contact p { margin: 0.35rem 0; }

footer.legal {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
