* {
  box-sizing: border-box;
}
:root {
  font-family: system-ui, sans-serif;
  color: #172b4d;
  background: #f8fafc;
  font-size: 16px;
  line-height: 1.6;
}
body {
  margin: 0;
}
header,
main,
footer {
  width: min(100% - 32px, 48rem);
  margin-inline: auto;
}
header {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  border-bottom: 1px solid #cbd5e1;
}
header span,
footer {
  color: #475569;
}
main {
  padding-block: 48px;
}
h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.2;
  max-width: 18ch;
  margin-block: 16px 24px;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 1.25rem;
}
p {
  max-width: 62ch;
}
.eyebrow {
  color: #475569;
}
section {
  padding: 24px;
  margin-block: 32px;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
}
a {
  color: #075985;
  text-underline-offset: 4px;
}
a:hover {
  color: #0c4a6e;
}
a:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px white;
}
.brand {
  font-size: 1.5rem;
  font-weight: 750;
  text-decoration: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-block: 24px;
}
nav a,
.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
.button {
  background: #075985;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
}
.button:hover {
  color: white;
  background: #0c4a6e;
}
footer {
  border-top: 1px solid #cbd5e1;
  padding-block: 24px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px;
  background: white;
  z-index: 1;
}
.skip-link:focus {
  top: 8px;
}
@media (max-width: 360px) {
  main {
    padding-block: 32px;
  }
  section {
    padding: 16px;
  }
}
