:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #203047;
  background: #f7f9fc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.container {
  width: min(100% - 40px, 800px);
  margin-inline: auto;
}

a {
  color: #194eb5;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #102c64;
}

a:focus-visible {
  outline: 3px solid #345bce;
  outline-offset: 5px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  padding: 10px 16px;
  background: white;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  border-bottom: 1px solid #dce3ee;
  padding-block: 28px 22px;
  background: white;
}

.app-name {
  display: inline-block;
  color: #182b46;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 16px;
  font-size: 0.92rem;
}

nav a {
  min-height: 32px;
  padding-block: 2px;
}

nav a[aria-current="page"] {
  color: #182b46;
  font-weight: 700;
}

main {
  padding-block: 42px 22px;
}

article,
.intro {
  padding: 32px;
  border: 1px solid #dce3ee;
  border-radius: 16px;
  background: white;
}

h1 {
  margin: 0 0 24px;
  color: #172842;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h2 {
  margin: 32px 0 12px;
  color: #172842;
  font-size: 1.23rem;
  line-height: 1.4;
}

p {
  margin-block: 0 18px;
}

ul,
ol {
  padding-left: 24px;
}

li + li {
  margin-top: 10px;
}

article > :last-child,
.intro > :last-child {
  margin-bottom: 0;
}

.eyebrow {
  color: #52637c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.document-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.document-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid #dce3ee;
  border-radius: 12px;
  background: white;
  font-weight: 600;
  text-decoration: none;
}

.site-footer {
  padding-block: 22px 42px;
  color: #52637c;
  font-size: 0.88rem;
}

.site-footer p {
  margin-bottom: 4px;
}

@media (max-width: 540px) {
  body {
    font-size: 16px;
  }

  .container {
    width: calc(100% - 28px);
  }

  main {
    padding-top: 24px;
  }

  article,
  .intro {
    padding: 24px 20px;
    border-radius: 12px;
  }

  nav {
    gap: 8px 18px;
  }
}
