:root {
  --ink: #111;
  --muted: #555;
  --bg: #fff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2f2;
    --muted: #a8a8a8;
    --bg: #111;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

.card {
  max-width: 34rem;
  text-align: center;
}

.icon {
  width: 96px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* The icon artwork is black; invert it so it reads on a dark background. */
@media (prefers-color-scheme: dark) {
  .icon {
    filter: invert(1);
  }
}

h1 {
  margin: 1.5rem 0 0;
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.social {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social a {
  display: block;
  color: var(--muted);
  transition: color 0.15s ease;
}

.social a:hover,
.social a:focus-visible {
  color: var(--ink);
}

.social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

.bio {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  text-wrap: pretty;
}

a {
  color: inherit;
}

.bio a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}
