:root {
  color-scheme: light dark;
  --background: #f7f9fa;
  --surface: #ffffff;
  --ink: #172126;
  --muted: #5c6970;
  --line: #d8e0e3;
  --teal: #087f8c;
  --teal-dark: #055c66;
  --coral: #db514c;
  --focus: #0b6ea8;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--background);
  line-height: 1.65;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.site-header,
footer {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 80px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 720;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--teal-dark);
}

.home-main,
.document-main {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
}

.home-main {
  padding: 72px 0 88px;
}

.home-intro {
  display: grid;
  grid-template-columns: 144px 1fr;
  align-items: center;
  gap: 36px;
  margin-bottom: 64px;
}

.home-icon {
  width: 144px;
  height: 144px;
  border-radius: 24px;
  box-shadow: 0 12px 36px rgb(20 59 66 / 14%);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: ui-serif, Georgia, serif;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.link-list {
  border-top: 1px solid var(--line);
}

.link-list > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.link-list > a:hover strong {
  color: var(--teal-dark);
}

.link-list strong,
.link-list small {
  display: block;
}

.link-list strong {
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.link-list small {
  max-width: 620px;
  color: var(--muted);
  font-size: 0.94rem;
}

.document-main {
  padding: 64px 0 88px;
}

.document-title {
  padding-bottom: 48px;
  border-bottom: 2px solid var(--ink);
}

.document-title h1 {
  font-size: 2.65rem;
}

.document-meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

article section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

article section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: 0;
}

h3 {
  margin: 28px 0 8px;
  color: var(--teal-dark);
  font-size: 1rem;
  letter-spacing: 0;
}

article p {
  margin: 12px 0;
}

ul {
  margin: 14px 0;
  padding-left: 24px;
}

li + li {
  margin-top: 8px;
}

address {
  font-style: normal;
}

.contact-link {
  display: inline-block;
  margin-top: 24px;
  padding: 11px 16px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-link:hover {
  background: rgb(8 127 140 / 8%);
}

footer {
  min-height: 88px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  nav {
    gap: 16px;
  }

  .home-main,
  .document-main {
    width: min(100% - 36px, 760px);
  }

  .home-main {
    padding: 48px 0 64px;
  }

  .home-intro {
    grid-template-columns: 88px 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }

  .home-icon {
    width: 88px;
    height: 88px;
    border-radius: 18px;
  }

  h1,
  .document-title h1 {
    font-size: 2.15rem;
  }

  .lede {
    font-size: 1rem;
  }

  .link-list > a {
    min-height: 104px;
  }

  .document-main {
    padding: 48px 0 64px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101617;
    --surface: #172022;
    --ink: #f2f5f5;
    --muted: #aebbbf;
    --line: #344347;
    --teal: #5fd0d4;
    --teal-dark: #7bdce0;
    --coral: #ff8c82;
    --focus: #72c8ff;
  }

  .home-icon,
  .brand img {
    box-shadow: none;
  }
}
