:root {
  --text: #191919;
  --muted: #666666;
  --line: #dedede;
  --link: #0a59c7;
  --surface: #f6f7f9;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
  overflow-wrap: anywhere;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid rgba(10, 89, 199, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--text);
  color: #ffffff;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

.page-shell {
  width: min(calc(100% - 40px), 866px);
  margin: 0 auto;
  padding: 18px 0 44px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.language-switch {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 14px;
}

.brand {
  width: 54px;
  height: 54px;
  margin: 0 0 12px;
  color: #181818;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.45;
}

h1 {
  margin: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px 20px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.summary {
  width: 100%;
  margin: 26px 0 0;
}

.summary p {
  margin: 5px 0;
}

.toc {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.toc h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.toc ol {
  margin: 0;
  padding-left: 1.45rem;
  columns: 2;
  column-gap: 38px;
}

.toc li {
  break-inside: avoid;
  margin: 2px 0;
}

main {
  margin-top: 29px;
}

.policy-section {
  margin-top: 30px;
}

.policy-section h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.policy-section h3 {
  margin: 18px 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.policy-section p {
  margin: 6px 0;
}

.policy-section ul,
.policy-section ol {
  margin: 6px 0;
  padding-left: 1.55rem;
}

.policy-section li {
  margin: 4px 0;
}

.note {
  margin: 14px 0;
  padding: 12px 15px;
  border-left: 3px solid #1f1f1f;
  background: var(--surface);
}

.data-table {
  width: 100%;
  margin: 12px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table th,
.data-table td {
  padding: 10px 11px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--surface);
  font-weight: 700;
}

.contact-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 3px 14px;
  margin: 10px 0 0;
}

.contact-list dt {
  font-weight: 700;
}

.contact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.footer {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 28px), 866px);
  }

  .language-switch {
    position: static;
    align-self: flex-end;
    order: -1;
    margin-bottom: 4px;
  }

  .toc ol {
    columns: 1;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
  }

  .data-table th,
  .data-table td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .data-table tr > :last-child {
    border-bottom: 0;
  }

  .contact-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-list dd + dt {
    margin-top: 7px;
  }
}

@media print {
  .language-switch,
  .skip-link {
    display: none;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  a {
    color: inherit;
  }
}
