:root {
  --bg: #F6F5F2;
  --fg: #151515;
  --muted: #6E6C67;
  --rule: #DAD8D2;
  --accent: #5B4FD6;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --fg: #EDEBE6;
    --muted: #9A978F;
    --rule: #2C2B29;
    --accent: #9C93F2;
    color-scheme: dark;
  }
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.55 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  padding-block: 28vh 4rem;
}

.mark {
  margin: 0 0 2.5rem;
}

.dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lede {
  margin: 0.75rem 0 0;
  font-size: 1.25rem;
}

.body {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.contact {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--muted);
}

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

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

footer {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  padding-block: 2rem;
  color: var(--muted);
  font-size: 0.8125rem;
}
