:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: #171815;
  background:
    radial-gradient(circle at 15% 10%, rgb(255 255 255 / 85%), transparent 32rem),
    #f4f1eb;
}

main {
  display: grid;
  min-height: 100svh;
  padding: clamp(1.5rem, 5vw, 5rem);
  place-items: center;
}

.intro {
  width: min(100%, 58rem);
}

h1 {
  max-width: 10ch;
  margin: 0 0 2.25rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Noto Serif", Georgia, serif;
  font-size: clamp(4rem, 13vw, 9.5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.84;
}

a {
  display: inline-block;
  padding-block: 0.3rem;
  color: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration-color: #9b9c96;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4rem;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover {
  color: #3859a8;
  text-decoration-color: currentColor;
}

a:focus-visible {
  border-radius: 0.15rem;
  outline: 2px solid currentColor;
  outline-offset: 0.35rem;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #eeeee9;
    background:
      radial-gradient(circle at 15% 10%, rgb(55 57 52 / 70%), transparent 32rem),
      #151613;
  }

  a:hover {
    color: #9bb4f5;
  }
}

@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }
}
