:root {
  color-scheme: light;
  --text: #202124;
  --muted: #666b73;
  --border: #d9dce1;
  --accent: #176c65;
  --content-width: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--text);
  background: none;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: #ffffff;
  background: #202124;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.document-tabs {
  display: flex;
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding-top: 18px;
  gap: 28px;
  border-bottom: 1px solid var(--border);
}

.document-tab {
  min-height: 44px;
  margin-bottom: -1px;
  padding: 8px 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-weight: 600;
}

.document-tab:hover {
  color: var(--text);
}

.document-tab[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--text);
}

.document-shell {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.legal-document {
  padding: 40px 0 80px;
  color: var(--text);
  background: transparent;
}

.legal-document[hidden] {
  display: none;
}

.document-type {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.document-header h2 {
  margin: 8px 0 6px;
  font-size: 36px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.effective-date {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
}

.document-header > p:last-of-type {
  margin-top: 0;
}

.local-processing-notice {
  margin: 28px 0 36px;
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--accent);
}

.local-processing-notice strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.local-processing-notice p {
  margin: 7px 0 0;
}

.table-of-contents {
  margin: 0 0 44px;
  padding: 20px 0;
}

.table-of-contents > strong {
  display: block;
  margin-bottom: 9px;
  font-size: 15px;
}

.table-of-contents ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 40px;
}

.table-of-contents li {
  margin: 4px 0;
  break-inside: avoid;
}

.table-of-contents a {
  color: var(--muted);
  text-decoration: none;
}

.table-of-contents a:hover {
  color: var(--text);
  text-decoration: underline;
}

.legal-document section {
  padding-top: 2px;
}

.legal-document section + section {
  margin-top: 42px;
  padding-top: 36px;
}

.legal-document h3 {
  display: flex;
  align-items: baseline;
  margin: 0 0 16px;
  gap: 9px;
  font-size: 23px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.legal-document h3 span {
  flex: 0 0 auto;
  min-width: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.legal-document h4 {
  margin: 24px 0 6px;
  font-size: 17px;
  font-weight: 650;
}

.legal-document p {
  margin: 11px 0 0;
  color: #454950;
}

.legal-document ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: #454950;
}

.legal-document li {
  margin: 7px 0;
  padding-left: 2px;
}

.legal-document strong {
  color: var(--text);
}

.contact-card {
  display: grid;
  margin-top: 20px;
  padding-top: 18px;
  gap: 3px;
  color: var(--muted);
  background: transparent;
  font-style: normal;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: 26px 0 36px;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 12px;
}

.site-footer > div {
  display: grid;
}

.site-footer strong {
  color: var(--text);
  font-weight: 600;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

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

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.noscript-notice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 50;
  max-width: 680px;
  margin: 0 auto;
  padding: 10px 14px;
  color: #ffffff;
  background: #7a3f00;
  text-align: center;
}

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

@media (max-width: 680px) {
  .document-tabs,
  .document-shell,
  .site-footer {
    width: calc(100% - 32px);
  }

  .document-tabs {
    padding-top: 10px;
    gap: 0;
  }

  .document-tab {
    flex: 1;
    min-height: 48px;
    padding-inline: 8px;
  }

  .legal-document {
    padding: 30px 0 56px;
  }

  .document-header h2 {
    font-size: 30px;
  }

  .local-processing-notice {
    margin: 24px 0 30px;
    padding-left: 16px;
  }

  .table-of-contents {
    margin-bottom: 36px;
  }

  .table-of-contents ol {
    columns: 1;
    padding-left: 20px;
  }

  .legal-document section + section {
    margin-top: 34px;
    padding-top: 30px;
  }

  .legal-document h3 {
    align-items: baseline;
    font-size: 21px;
  }

  .site-footer {
    flex-direction: column;
    gap: 16px;
  }

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

@media (max-width: 420px) {
  .document-tabs,
  .document-shell,
  .site-footer {
    width: calc(100% - 28px);
  }

  .document-tab {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    --text: #000000;
    --muted: #242424;
    --border: #c8c8c8;
    --accent: #000000;
  }

  body {
    background: #ffffff;
    font-size: 11pt;
  }

  .document-tabs,
  .site-footer,
  .noscript-notice {
    display: none;
  }

  .document-shell {
    width: 100%;
    margin: 0;
  }

  .legal-document {
    padding: 0;
  }

  .table-of-contents {
    break-after: page;
  }

  .legal-document section {
    break-inside: avoid;
  }

  a {
    color: #000000;
  }
}
