:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  line-height: 1.55;
  color: #111;
  background: #fff;
}

body {
  margin: 0;
}

header,
main,
footer {
  max-width: 52rem;
  margin-inline: auto;
  padding: 1rem;
}

header {
  border-bottom: 2px solid #222;
}

footer {
  border-top: 2px solid #222;
  margin-top: 3rem;
}

.site-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.inline {
  display: inline;
}

.field {
  margin-block: 1.25rem;
}

label {
  display: block;
  font-weight: 700;
}

input,
select,
button {
  font: inherit;
  padding: .55rem;
  border: 2px solid #333;
}

input {
  box-sizing: border-box;
  max-width: 100%;
  width: 32rem;
}

button {
  color: #fff;
  background: #164a78;
  cursor: pointer;
}

a {
  color: #0645ad;
  text-decoration-thickness: .12em;
  text-underline-offset: .12em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex="-1"]:focus {
  outline: 4px solid #e06500;
  outline-offset: 3px;
}

.error-summary {
  padding: 1rem;
  border: 4px solid #a40000;
}

.warning {
  padding: 1rem;
  border-left: 5px solid #9b6400;
  background: #fff4d6;
}

.field-errors {
  color: #850000;
  font-weight: 700;
}

.help {
  margin-block: .25rem;
}

li + li {
  margin-top: .75rem;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 0 1rem;
}
