:root {
  color-scheme: light;
  --ink: #16191d;
  --muted: #626a73;
  --line: #dfe3e7;
  --surface: #ffffff;
  --page: #f5f7f8;
  --accent: #146b60;
  --accent-soft: #e5f2ef;
  --focus: #9b4f25;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: #0d554c;
}

a:focus-visible {
  border-radius: 3px;
  outline: 3px solid color-mix(in srgb, var(--focus) 40%, transparent);
  outline-offset: 3px;
}

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

.header-inner,
.page-shell,
.site-footer {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

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

.page-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  padding-block: 54px 72px;
}

.contents {
  position: sticky;
  top: 24px;
  align-self: start;
}

.contents-title {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.contents a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.document {
  min-width: 0;
  max-width: 760px;
}

.document-header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.22;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 8vw, 52px);
  font-weight: 760;
}

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

.updated {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

section {
  padding-top: 34px;
  scroll-margin-top: 20px;
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 24px;
}

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

.notice {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: var(--accent-soft);
}

.fact-list {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
}

.fact-list dt,
.fact-list dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  padding-right: 18px;
  font-weight: 700;
}

.fact-list dd {
  color: var(--muted);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.support-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.support-item h3 {
  margin-top: 0;
}

.support-item p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 760px) {
  .header-inner,
  .page-shell,
  .site-footer {
    width: min(100% - 32px, 680px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .page-shell {
    display: block;
    padding-block: 38px 54px;
  }

  .contents {
    position: static;
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }

  .contents a {
    display: inline-block;
    margin-right: 14px;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .fact-list dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .fact-list dd {
    padding-top: 4px;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
