:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #343534;
  background: #fff;
  font-synthesis: none;
  --brand: #B31643;
  --muted: #62666b;
  --line: #e6e8eb;
  --green: #16834a;
  --yellow: #946600;
  --red: #c42b32;
  --unknown: #737b86;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  border-top: 5px solid var(--brand);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
a {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.header,
main,
footer {
  max-width: 960px;
  margin: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.header img {
  width: 204px;
  height: auto;
  display: block;
}

.header-label {
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--muted);
}

.intro {
  margin: 42px 0 24px;
}

.eyebrow {
  color: var(--brand);
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 700;
}

h1 {
  font-size: 32px;
  letter-spacing: -.035em;
  margin: 12px 0;
}

h2 {
  font-size: 17px;
  margin: 0;
}

h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 600;
}

p {
  line-height: 1.6;
}

.intro > p:last-child {
  color: var(--muted);
  font-size: 15px;
  max-width: 660px;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 28px 0;
}

nav a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  color: #4a4c50;
}

nav .active {
  color: var(--brand);
  background: #fbf0f3;
  border-color: #e9bac8;
  font-weight: 600;
}

.banner {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 25px;
  border: 1px solid var(--line);
  border-left: 4px solid currentColor;
  border-radius: 7px;
  background: #fafbfc;
  margin-bottom: 38px;
}

.banner.green {
  background: #f2faf5;
}

.banner.yellow {
  background: #fffaf0;
}

.banner.red {
  background: #fff5f5;
}

.banner p {
  font-size: 13px;
  color: #535961;
  margin: 6px 0 0;
}

.status-icon {
  border: 2px solid currentColor;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 700;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}

#updated {
  font-size: 11px;
  color: var(--muted);
}

#content {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}

.card {
  padding: 23px 25px;
  border-bottom: 1px solid var(--line);
}

.card:last-child {
  border-bottom: 0;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  font-size: 12px;
  display: flex;
  gap: 7px;
  align-items: center;
}

.symbol {
  font-weight: 800;
}

.green {
  color: var(--green);
}

.yellow {
  color: var(--yellow);
}

.red {
  color: var(--red);
}

.unknown {
  color: var(--unknown);
}

.small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}

.explanation {
  margin: 34px 0 44px;
  padding: 23px;
  background: #f8f9fa;
  border-radius: 7px;
}

.explanation > p {
  font-size: 13px;
  color: var(--muted);
}

.legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  margin: 20px 0;
}

.legend span {
  display: flex;
  gap: 7px;
  align-items: center;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  padding-bottom: 32px;
  font-size: 12px;
  color: var(--muted);
}

.empty {
  padding: 20px;
}

.skip {
  position: absolute;
  top: -100px;
}

.skip:focus {
  top: 10px;
  left: 10px;
  background: white;
  padding: 10px;
  z-index: 10;
}

@media (max-width: 600px) {
  .header,
  main,
  footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header img {
    width: 165px;
  }

  .header-label {
    font-size: 9px;
  }

  h1 {
    font-size: 27px;
  }

  .intro {
    margin-top: 30px;
  }

  nav {
    gap: 6px;
  }

  nav a {
    font-size: 12px;
    padding: 9px;
  }

  .banner {
    padding: 20px 16px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .card {
    padding: 20px 14px;
  }

  .card-top {
    align-items: flex-start;
  }

  .badge {
    font-size: 11px;
    text-align: right;
  }

  footer {
    gap: 15px;
    flex-wrap: wrap;
  }
}
