/* ethanfoell.dev hub (ADR 0001). Black canvas, white links, two greys. Nothing else. */
:root {
  color-scheme: dark;
  --canvas: #000;
  --ink: #f2f2f2;
  --muted: #8c8c8c;
  --rule: #3a3a3a;
}

html {
  background: var(--canvas);
  color: var(--ink);
  font:
    17px/1.5 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
}

main {
  box-sizing: border-box;
  max-width: 36rem;
  margin: 0 auto;
  padding: 14vh 1.5rem 4rem;
}

h1 {
  margin: 0 0 3rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

li + li {
  margin-top: 1.4rem;
}

a {
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.1em;
  transition: border-color 120ms ease;
}

a:hover,
a:focus-visible {
  border-bottom-color: var(--ink);
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}

@media (max-width: 30rem) {
  a {
    font-size: 1.3rem;
  }
}
