:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #17201e;
  background: #f3f5f2;
  font-synthesis: none;
  --ink: #17201e;
  --muted: #66706c;
  --green: #0d8a63;
  --green-dark: #086247;
  --mint: #dff3e9;
  --line: rgba(23, 32, 30, 0.14);
  --paper: #f3f5f2;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 92% 2%, rgba(13, 138, 99, 0.12), transparent 27rem),
    var(--paper);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.document-header {
  min-height: 76px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 245, 242, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 750;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.home-link {
  color: var(--muted);
  font-size: 14px;
  text-underline-offset: 4px;
}

.language-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  border-radius: 6px;
}

.language-switch button {
  min-width: 48px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--white);
  background: var(--green-dark);
}

.document-hero {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 92px 0 74px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.document-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  font-weight: 500;
}

.document-hero .lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.effective-date {
  display: inline-block;
  margin-top: 28px;
  padding: 8px 12px;
  border-radius: 5px;
  color: var(--green-dark);
  background: var(--mint);
  font-size: 13px;
  font-weight: 750;
}

.document-layout {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 72px 0 112px;
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: clamp(58px, 9vw, 138px);
  justify-content: space-between;
}

.table-of-contents {
  position: sticky;
  top: 34px;
  align-self: start;
}

.table-of-contents strong {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
}

.table-of-contents nav {
  display: grid;
  gap: 12px;
}

.table-of-contents a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.table-of-contents a:hover {
  color: var(--green);
}

.document-content {
  min-width: 0;
}

.document-content section {
  padding: 0 0 42px;
  scroll-margin-top: 28px;
}

.document-content section + section {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.document-content h2 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 600;
}

.document-content h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.document-content p,
.document-content li {
  color: #3d4945;
  font-size: 16px;
  line-height: 1.75;
}

.document-content p {
  margin: 0 0 16px;
}

.document-content ul,
.document-content ol {
  margin: 12px 0 18px;
  padding-left: 22px;
}

.document-content li + li {
  margin-top: 8px;
}

.document-content a {
  color: var(--green-dark);
  text-underline-offset: 4px;
}

.notice {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--green);
  background: var(--white);
}

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

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

.support-card {
  min-height: 174px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
}

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

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

.contact-panel {
  padding: 28px;
  border-radius: 10px;
  color: var(--white);
  background: var(--green-dark);
}

.contact-panel h2,
.contact-panel p,
.contact-panel a {
  color: inherit;
}

.contact-panel a {
  font-weight: 750;
}

.document-footer {
  min-height: 150px;
  padding: 38px max(22px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  color: #dfe7e3;
  background: #111816;
}

.document-footer p {
  margin: 0;
  color: #9aa7a2;
  font-size: 13px;
}

.document-footer nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
}

.document-footer a {
  text-underline-offset: 4px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .home-link {
    display: none;
  }

  .document-hero {
    padding: 68px 0 56px;
  }

  .document-layout {
    padding: 52px 0 82px;
    display: block;
  }

  .table-of-contents {
    position: static;
    margin-bottom: 56px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.65);
  }

  .table-of-contents nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .document-footer {
    padding-top: 46px;
    padding-bottom: 46px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .document-header {
    min-height: 70px;
  }

  .brand span {
    display: none;
  }

  .table-of-contents nav {
    grid-template-columns: 1fr;
  }

  .document-content p,
  .document-content li {
    font-size: 15px;
  }
}

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