:root {
  --blue: #3d63ea;
  --lime: #d9f15a;
  --ink: #1c1e29;
  --muted: #5e6172;
  --soft: #eef0fb;
  --line: #e4e7f2;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font:
    17px/1.65 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--ink);
  background: #fff;
}
a {
  color: var(--blue);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 9;
}
header,
main,
footer {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
header img {
  height: 48px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 15px;
}
nav a {
  color: var(--muted);
  text-decoration: none;
}
nav a:hover,
nav a[aria-current] {
  color: var(--ink);
  text-decoration: underline;
}
h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 1.4rem 0 0.6rem;
}
h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.4rem;
}
p,
li {
  max-width: 68ch;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
}
.card {
  background: var(--soft);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 1.4rem 0;
}
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
}
.btn.disabled {
  background: #c9cde0;
  color: #fff;
  cursor: default;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 1rem 0;
}
.grid .card {
  margin: 0;
}
.muted {
  color: var(--muted);
  font-size: 15px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
}
th,
td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 18px;
  padding-bottom: 36px;
  font-size: 15px;
  color: var(--muted);
}
footer a {
  color: var(--muted);
}
