@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/AtkinsonHyperlegibleNext/AtkinsonHyperlegibleNext-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/AtkinsonHyperlegibleNext/AtkinsonHyperlegibleNext-Bold.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html,
body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

body {
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #111;
  background-color: #fff;
  line-height: 1.6;
}

main.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 60ch;
  margin: 0 auto;

  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;

  padding: 0;
}

main.container > * {
  padding: 0 1rem;
}

.title {
  font-size: 3.6rem;
  line-height: 1.15;
  font-weight: 700;
}

.description {
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #3399ff;
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid #ff9900;
  outline-offset: 4px;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #111;
    color: #f5f5f5;
  }
  a {
    color: #66aaff;
  }
  a:hover,
  a:focus {
    color: #99cfff;
  }
}
