:root {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: #102136;
  background: #f5f8fc;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #125aa3;
  text-underline-offset: 0.2em;
}
a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 3px solid #2a86d4;
  outline-offset: 3px;
}
header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(5vw, calc((100vw - 68rem) / 2));
  background: #0b1c31;
  color: #fff;
}
header a,
footer a {
  color: inherit;
}
header {
  border-bottom: 3px solid #78b5e6;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.12rem;
  text-decoration: none;
}
.brand img {
  filter: brightness(0) invert(1);
  margin-right: 0.4rem;
}
main {
  width: min(90%, 68rem);
  margin: auto;
  min-height: 76vh;
  padding: clamp(1.7rem, 5vw, 4rem) 0;
}
nav,
small,
dt {
  font-size: 0.91rem;
}
nav {
  margin-bottom: 1.2rem;
}
.hero {
  background: #122b47;
  color: #fff;
  padding: clamp(1.5rem, 5vw, 4rem);
  border-radius: 1.1rem;
  border-top: 4px solid #9dcceb;
}
.hero p {
  color: #b5d9f5;
  font-weight: 650;
  margin: 0 0 0.35rem;
}
.hero > div {
  max-width: 63ch;
  color: #e0eaf5;
}
h1 {
  font-size: clamp(2rem, 6vw, 4.25rem);
  line-height: 1.07;
  letter-spacing: -0.05em;
  margin: 0.3rem 0 1rem;
}
h2 {
  margin: 2rem 0 1rem;
  font-size: 1.45rem;
}
form {
  margin-top: 1.5rem;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
input,
button,
.action {
  font: inherit;
  border-radius: 0.5rem;
  padding: 0.7rem 1rem;
}
input {
  min-width: 0;
  width: min(100%, 22rem);
  border: 1px solid #8ba8c1;
}
button,
.action {
  background: #c4e4fc;
  color: #10283d;
  font-weight: 680;
  border: 0;
  cursor: pointer;
}
.action {
  display: inline-block;
  margin-top: 1.2rem;
  text-decoration: none;
}
.grid,
.sources {
  padding: 0;
  list-style: none;
}
.grid,
.columns {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.grid a,
.columns section {
  background: white;
  border: 1px solid #cdd9e5;
  border-radius: 0.75rem;
  padding: 1rem;
}
.grid a {
  display: block;
  font-weight: 650;
  text-decoration: none;
}
.grid a:hover {
  border-color: #125aa3;
}
.grid small,
.sources small {
  display: block;
  color: #455b71;
  font-weight: 450;
}
.columns {
  margin-top: 1rem;
}
.columns h2 {
  margin-top: 0;
}
.sources li {
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}
dt {
  color: #536478;
}
dd {
  margin: 0 0 1rem;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 0.2rem;
  background: white;
  padding: 1rem;
}
.columns p {
  max-width: 60ch;
}
