:root {
  color-scheme: light;
  --background: #f6f7f8;
  --surface: #ffffff;
  --text: #17212b;
  --muted: #52606d;
  --border: #dce2e7;
  --accent: #176b52;
  --accent-dark: #0f4f3d;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 3px solid #93c5b5;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 2;
  padding: 0.5rem 0.75rem;
  color: #fff;
  background: var(--accent-dark);
}

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

.site-header,
.site-footer,
main {
  width: min(100% - 2rem, 48rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.wordmark {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

main {
  margin-bottom: 2rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgb(23 33 43 / 4%);
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  letter-spacing: -0.03em;
}

h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

p,
li {
  max-width: 70ch;
}

.lead,
.effective-date {
  color: var(--muted);
}

.lead {
  margin-top: 0;
  font-size: 1.1rem;
}

.effective-date {
  margin-bottom: 1.75rem;
  font-size: 0.92rem;
}

.notice {
  padding: 1rem 1.1rem;
  background: #eef8f4;
  border-left: 4px solid var(--accent);
}

.site-footer {
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 38rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav ul {
    justify-content: flex-start;
  }
}
