:root {
  color-scheme: light dark;
  --background: #ffffff;
  --foreground: #202020;
  --muted: #888888;
  --surface: #efefef;
  --vibrant: #5b96e6;
  --corner-radius: 6px;
  color: var(--foreground);
  background-color: var(--background);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: clamp(1.5rem, 5vw, 4rem);
  min-height: 100vh;
  color: inherit;
  background-color: inherit;
}

main {
  max-width: 58rem;
}

.mark { display: block; width: 4rem; height: 4rem; margin-bottom: 1.5rem; border-radius: var(--corner-radius); }

h1 {
  margin: 0.938rem 0 0.25rem;
  padding-bottom: 0.42rem;
  color: var(--foreground);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2857;
}

address,
p {
  margin: 1rem 0;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.4;
}

.tagline {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

a {
  color: var(--foreground);
  text-underline-offset: 0.14em;
}

a:hover,
a:focus-visible {
  color: var(--foreground);
}

a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.18rem var(--vibrant);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #151515;
    --foreground: #e6e6e6;
    --muted: #b6b6b6;
    --surface: #282828;
    --vibrant: #8bb9ff;
  }
}

@media (max-width: 40rem) {
  body {
    padding: 2rem 1.5rem;
  }
}
