@font-face {
  font-family: "DM Sans";
  src: url("/static/fonts/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #142c43;
  background: white;
  font:
    16px/1.58 "DM Sans",
    Arial,
    sans-serif;
}
header,
footer {
  border-block: 1px solid #dce5ec;
}
.bar {
  max-width: 1120px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 24px;
}
.brand {
  font-weight: 800;
  font-size: 24px;
  color: #102f4a;
  letter-spacing: -1px;
  text-decoration: none;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
nav a {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
a {
  color: #0a5182;
}
a:hover {
  text-decoration: underline;
}
.skip {
  position: absolute;
  left: 8px;
  top: -80px;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 0;
}
main {
  max-width: 840px;
  margin: auto;
  padding: clamp(32px, 6vw, 70px) 24px;
  min-height: 64vh;
}
h1 {
  font-size: clamp(31px, 5vw, 49px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 20px;
}
h2 {
  line-height: 1.22;
  font-size: 23px;
  margin: 28px 0 7px;
}
p {
  margin: 8px 0 16px;
}
.lead {
  color: #455f73;
  font-size: 19px;
}
.tag {
  color: #205e88;
  font-weight: 750;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.panel {
  background: #f1f6fa;
  border: 1px solid #d6e2ea;
  border-radius: 9px;
  padding: 19px 23px;
  margin: 20px 0;
}
.action,
button {
  display: inline-block;
  background: #0a4d80;
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 11px 18px;
  text-decoration: none;
  font:
    650 15px "DM Sans",
    Arial;
  cursor: pointer;
}
label {
  display: block;
  font-weight: 650;
}
input,
select,
textarea {
  margin-top: 4px;
  background: #fff;
  color: #112f45;
  border: 1px solid #99abba;
  border-radius: 5px;
  padding: 9px 10px;
  font: inherit;
  max-width: 100%;
}
textarea,
input[type="email"],
input[type="text"] {
  width: 100%;
}
.errorlist {
  color: #982e25;
}
small {
  font-size: 14px;
  color: #496176;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid #d8e1e7;
  padding: 7px 5px;
}
th {
  font-weight: 650;
}
.source {
  width: 100%;
  max-width: 450px;
  height: auto;
  border: 1px solid #cbd9e4;
}
footer {
  background: #f3f6f9;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #3781b7;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .bar {
    padding: 12px 16px;
  }
  nav {
    gap: 9px;
  }
  nav a {
    font-size: 12px;
  }
  main {
    padding-inline: 18px;
  }
  .panel {
    padding: 15px;
  }
  footer .bar {
    flex-wrap: wrap;
  }
}
