:root {
  --sheet: #f1f3f5;
  --ink: #14213d;
  --muted: #44505f;
  --rule: #c3cad3;
  --cut: #f5b700;
  --field: #ffffff;
  --measure: 40rem;
  --heading: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sheet);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
}

.page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--sheet);
  font-family: var(--heading);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 3px;
}

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

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem 0 1rem;
  border-bottom: 2px solid var(--ink);
}

.wordmark {
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a[aria-current="page"] {
  text-decoration-color: var(--cut);
  text-decoration-thickness: 4px;
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.1;
}

h1 {
  margin: 2.75rem 0 1rem;
  font-size: clamp(2.5rem, 9vw, 4.25rem);
  letter-spacing: -0.02em;
}

h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.4rem;
}

p,
ul {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.5;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.cuts {
  display: flex;
  gap: 4px;
  margin: 2rem 0 0;
  font-family: var(--heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.cuts span {
  min-width: 0;
  padding: 0.7rem 0.5rem;
  overflow: hidden;
  background: var(--cut);
  white-space: nowrap;
}

.cuts span:nth-child(1) {
  flex: 3;
}

.cuts span:nth-child(2) {
  flex: 2;
}

.cuts span:nth-child(3) {
  flex: 4;
}

.cuts span:nth-child(4) {
  flex: 3;
}

.address {
  display: block;
  width: 100%;
  min-height: 8rem;
  margin: 1rem 0;
  padding: 0.75rem;
  border: 2px solid var(--ink);
  background: var(--field);
  color: var(--ink);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  word-break: break-all;
}

.button {
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: var(--sheet);
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.button:hover {
  background: #26396a;
}

.status {
  min-height: 1.65rem;
  margin-top: 0.75rem;
  color: var(--muted);
}

.problem {
  padding: 1rem 1.25rem;
  border-left: 6px solid var(--cut);
  background: var(--field);
}

.site-footer {
  margin-top: 4rem;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 30rem) {
  html {
    font-size: 100%;
  }
}
