:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  color: #172033;
  overflow-wrap: break-word;
}

a {
  color: #4338ca;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(79, 70, 229, 0.3);
  outline-offset: 3px;
}

.skip-link {
  background: #ffffff;
  border: 1px solid #c7d2fe;
  border-radius: 0.5rem;
  color: #172033;
  font-weight: 700;
  left: 0.75rem;
  padding: 0.65rem 0.85rem;
  position: fixed;
  top: 0.75rem;
  transform: translateY(-180%);
  z-index: 10;
}

.skip-link:focus {
  transform: none;
}

[aria-current="page"] {
  color: #172033;
  font-weight: 750;
  text-decoration-thickness: 2px;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5rem;
}

nav a,
main > p:last-child > a {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}

h1,
h2 {
  line-height: 1.2;
}

h2 {
  margin-top: 2rem;
}

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

@media (max-width: 480px) {
  body {
    margin: 0 auto !important;
    padding: 1rem !important;
  }

  nav {
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.5rem !important;
  }

  h1 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
