:root {
  color-scheme: light;
  font-family: system-ui, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: #181a1e;
  background: #fff;
}

body {
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 3rem) 3rem;
  max-width: 55rem;
}

header, footer {
  border-block-end: 1px solid #d8dade;
  padding: 0.75rem 0 1.25rem;
}

header img {
  display: block;
  width: min(12rem, 70vw);
  height: auto;
  margin-block-end: 1rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.3rem;
}

a {
  color: #9b1721;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

a:focus-visible {
  outline: 3px solid #9b1721;
  outline-offset: 4px;
}

h1, h2, h3 {
  line-height: 1.23;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

section + section {
  margin-block-start: 2.75rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid #d8dade;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1rem;
  overflow-wrap: anywhere;
}

th, td {
  padding: 0.65rem;
  text-align: start;
  vertical-align: top;
  border: 1px solid #d8dade;
}

th {
  background: #f4f5f6;
}

footer {
  border-block: 1px solid #d8dade;
  margin-block-start: 2rem;
}
