:root {
  color-scheme: light;
  --bg: #f7f7fb;
  --surface: #ffffff;
  --border: #e2e4ea;
  --text: #1a1b1f;
  --muted: #5b6170;
  --accent: #3b5bfd;
  --accent-soft: rgba(59, 91, 253, 0.1);
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: opacity 180ms ease;
}

a:hover,
a:focus-visible {
  opacity: 0.7;
}

main {
  padding-bottom: 4rem;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-header {
  padding: 4.5rem 1.5rem 3rem;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.headline {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 1.125rem;
  max-width: 48ch;
  color: var(--muted);
  margin: 0;
}

section {
  margin-top: 3rem;
}

section:first-of-type {
  margin-top: 0;
}

section h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

section p {
  margin: 0 0 1rem;
  color: var(--muted);
}

#bio p {
  max-width: 600px;
}

@media (max-width: 640px) {
  .page-header {
    padding-top: 3.5rem;
  }
}
