:root {
  color-scheme: light;
  --ink: #17313a;
  --muted: #526a70;
  --line: #cbd9d5;
  --paper: #ffffff;
  --mist: #f3f8f6;
  --mint: #d8eee5;
  --coral: #e56c55;
  --coral-dark: #b84935;
  --focus: #1d6f84;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--mist);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
  line-height: 1.58;
}

a {
  color: var(--coral-dark);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.16em;
}

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

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

.skip-link {
  background: var(--ink);
  color: #ffffff;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  position: absolute;
  top: -4rem;
  z-index: 2;
}

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

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.main,
.site-footer-inner {
  margin: 0 auto;
  max-width: var(--max-width);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  min-height: 5.25rem;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 750;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  border-radius: 11px;
  height: 2.5rem;
  width: 2.5rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--ink);
  font-weight: 650;
}

.site-nav a[aria-current="page"] {
  color: var(--coral-dark);
}

.main {
  padding-bottom: 4rem;
  padding-top: 3.5rem;
}

.eyebrow {
  color: var(--coral-dark);
  font-size: 0.9rem;
  font-weight: 750;
  margin: 0 0 0.65rem;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.16;
  margin-top: 0;
}

h1 {
  font-size: 2.7rem;
  margin-bottom: 1rem;
  max-width: 16ch;
}

h2 {
  font-size: 1.45rem;
  margin-bottom: 0.7rem;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

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

.lede {
  color: var(--muted);
  font-size: 1.18rem;
  margin-bottom: 2.2rem;
  max-width: 64ch;
}

.notice {
  background: var(--mint);
  border-left: 5px solid var(--coral);
  margin: 1.5rem 0 2.5rem;
  max-width: 76ch;
  padding: 1rem 1.1rem;
}

.notice p {
  margin: 0;
}

.content-section {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.content-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.topic-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.5rem 0;
}

.topic {
  border-top: 3px solid var(--coral);
  padding: 1rem 0.25rem 0;
}

.topic p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-line {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  margin: 1.25rem 0;
  padding: 1.15rem 1.25rem;
}

.contact-line strong {
  display: block;
}

.contact-line span {
  color: var(--muted);
}

.detail-list {
  margin: 0;
  max-width: 76ch;
  padding-left: 1.2rem;
}

.detail-list li + li {
  margin-top: 0.65rem;
}

.site-footer {
  background: var(--ink);
  color: #eaf4f1;
}

.site-footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  min-height: 5.5rem;
}

.site-footer a {
  color: #ffffff;
}

.site-footer p {
  margin: 0;
}

.not-found {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: auto minmax(0, 1fr);
  max-width: 720px;
}

.not-found .brand-mark {
  height: 5rem;
  width: 5rem;
}

@media (max-width: 700px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .main {
    padding-bottom: 3rem;
    padding-top: 2.5rem;
  }

  h1 {
    font-size: 2.15rem;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .not-found {
    grid-template-columns: 1fr;
  }
}
