:root {
  --bg: #f5f8f7;
  --paper: #ffffff;
  --ink: #17211e;
  --muted: #60706b;
  --line: #dbe5e1;
  --deep: #0c2f2a;
  --deep-2: #16473f;
  --accent: #0f766e;
  --accent-2: #b65445;
  --pending-bg: #fff2cd;
  --pending-ink: #7a4a00;
  --shadow: 0 24px 80px rgba(19, 42, 36, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(245, 248, 247, 0) 0, var(--bg) 420px),
    var(--bg);
  line-height: 1.75;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration-color: rgba(15, 118, 110, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease,
    transform 180ms ease;
}

a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.hero {
  position: relative;
  min-height: min(760px, 88svh);
  overflow: hidden;
  color: #f8fffc;
  background:
    linear-gradient(120deg, rgba(12, 47, 42, 0.96), rgba(22, 71, 63, 0.9) 58%, rgba(182, 84, 69, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 82px),
    var(--deep);
}

.hero::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, rgba(245, 248, 247, 0), var(--bg));
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(255, 255, 255, 0.18) 44% 45%, transparent 45% 100%),
    linear-gradient(25deg, transparent 0 62%, rgba(255, 255, 255, 0.12) 62% 63%, transparent 63% 100%);
  transform: translate3d(0, 0, 0);
  animation: heroPlane 9s ease-in-out infinite alternate;
}

.topbar,
.hero__content,
.layout,
.footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--deep);
  background: #ffffff;
  border-radius: 50%;
  font-weight: 800;
  line-height: 1;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.topbar__actions a {
  text-decoration: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(min(760px, 88svh) - 76px);
  flex-direction: column;
  justify-content: center;
  padding: 44px 0 116px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 1040px;
  margin: 0;
  font-size: 78px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
  line-height: 1.7;
}

.meta-grid {
  display: grid;
  width: min(820px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.meta-grid div {
  min-width: 0;
  padding: 18px 18px 18px 0;
}

.meta-grid span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.meta-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 15px;
}

.layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  padding: 72px 0 88px;
}

.toc {
  position: sticky;
  top: 28px;
  align-self: start;
  max-height: calc(100svh - 56px);
  overflow: auto;
  padding-right: 18px;
  color: var(--muted);
}

.toc h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
}

.toc a {
  display: block;
  padding: 8px 0 8px 14px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.toc a:hover,
.toc a.is-active {
  border-left-color: var(--accent);
  color: var(--accent);
}

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

.policy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 54px 60px 66px;
  background: var(--paper);
  border: 1px solid rgba(219, 229, 225, 0.9);
  box-shadow: var(--shadow);
}

.policy-content > *:first-child {
  margin-top: 0;
}

.policy-content h1,
.policy-content h2,
.policy-content h3 {
  color: var(--ink);
  letter-spacing: 0;
}

.policy-content h1 {
  margin: 0 0 28px;
  font-size: 42px;
  line-height: 1.18;
}

.policy-content h2 {
  margin: 54px 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 25px;
  line-height: 1.35;
}

.policy-content h3 {
  margin: 34px 0 12px;
  color: var(--deep-2);
  font-size: 19px;
  line-height: 1.45;
}

.policy-content p {
  margin: 14px 0;
}

.policy-content hr {
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: var(--line);
}

.policy-content blockquote {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: #eef7f5;
  color: #314743;
}

.policy-content blockquote > *:first-child {
  margin-top: 0;
}

.policy-content blockquote > *:last-child {
  margin-bottom: 0;
}

.policy-content ul,
.policy-content ol {
  margin: 14px 0 18px;
  padding-left: 1.35em;
}

.policy-content li {
  margin: 7px 0;
}

.policy-content code {
  padding: 0.16em 0.38em;
  border-radius: 4px;
  background: #edf2f0;
  color: #0d564f;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92em;
}

.table-wrap {
  width: 100%;
  margin: 20px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th:last-child,
td:last-child {
  border-right: 0;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: #f1f6f4;
  color: var(--deep);
  font-size: 14px;
  white-space: nowrap;
}

mark.pending {
  padding: 0.08em 0.34em;
  border-radius: 4px;
  background: var(--pending-bg);
  color: var(--pending-ink);
  font-weight: 700;
}

.loading,
.noscript,
.error {
  padding: 28px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #f8fbfa;
}

.loading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.loading__mark {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(15, 118, 110, 0.22);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer strong {
  color: var(--ink);
}

.footer p {
  max-width: 660px;
  margin: 0;
}

@keyframes heroPlane {
  from {
    transform: translate3d(-1.2%, -0.5%, 0);
  }

  to {
    transform: translate3d(1.2%, 0.6%, 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 960px) {
  h1 {
    max-width: 760px;
    font-size: 60px;
  }

  .hero__lead {
    font-size: 19px;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 42px;
  }

  .toc {
    position: static;
    max-height: none;
    padding-right: 0;
  }

  #toc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .policy-content {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .topbar,
  .hero__content,
  .layout,
  .footer {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    min-height: 100svh;
  }

  .topbar {
    min-height: 68px;
    align-items: flex-start;
    padding-top: 16px;
  }

  .topbar__actions {
    gap: 12px;
    font-size: 13px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero__content {
    min-height: calc(100svh - 68px);
    padding: 24px 0 86px;
  }

  h1 {
    font-size: 48px;
    line-height: 1.04;
  }

  .hero__lead {
    font-size: 17px;
  }

  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 38px;
  }

  .policy-content {
    padding: 32px 20px 42px;
  }

  .policy-content h1 {
    font-size: 32px;
  }

  #toc-list {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    padding-bottom: 36px;
  }
}
