:root {
  --bg: #fdfdfc;
  --fg: #111;
  --muted: #5a5a5a;
  --link: #1a5fd6;
  --focus: #f5a700;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101010;
    --fg: #eeeeee;
    --muted: #a8a8a8;
    --link: #8fb8ff;
    --focus: #ffcf5c;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: light dark;
}

body {
  margin: 0;
  padding: 2.5rem 1.5rem;
  color: var(--fg);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans",
    Arial, sans-serif;
}

.page {
  max-width: 600px;
  margin: 0 auto;
}

.intro {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.intro img {
  width: 128px;
  height: 128px;
  border-radius: 8px;
  object-fit: cover;
}

h1,
h2 {
  margin: 0 0 0.4rem;
  line-height: 1.25;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.25rem;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

p {
  margin: 0.3rem 0;
}

section + section {
  margin-top: 1.25rem;
}

address {
  font-style: normal;
}

ul {
  margin: 0;
  padding-left: 1.25rem;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

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

@media (max-width: 560px) {
  body {
    padding: 1.5rem 1rem;
  }

  .intro img {
    width: 88px;
    height: 88px;
  }

  h1 {
    font-size: 1.6rem;
  }
}
