:root {
  color-scheme: light;
  --ink: #15182a;
  --muted: #5f667d;
  --soft: #f4f5fa;
  --paper: #ffffff;
  --line: #e4e6ef;
  --brand: #6366f1;
  --brand-dark: #4f46e5;
  --brand-soft: #eef0ff;
  --success: #087f5b;
  --shadow: 0 24px 70px rgba(26, 30, 58, 0.09);
  --radius: 20px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 9% -10%, rgba(99, 102, 241, 0.15), transparent 31rem),
    radial-gradient(circle at 96% 3%, rgba(245, 158, 11, 0.09), transparent 27rem),
    var(--soft);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: #3730a3; }
.skip-link {
  position: fixed;
  top: 10px;
  left: -9999px;
  z-index: 100;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(228, 230, 239, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), #8b5cf6);
  box-shadow: 0 9px 24px rgba(99, 102, 241, 0.25);
}
.brand-mark span { width: 3px; border-radius: 3px; background: #fff; }
.brand-mark span:nth-child(1) { height: 8px; }
.brand-mark span:nth-child(2) { height: 15px; }
.brand-mark span:nth-child(3) { height: 21px; }
.brand-mark span:nth-child(4) { height: 12px; }
.brand-mark span:nth-child(5) { height: 17px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-link,
.language-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.header-link { color: var(--muted); }
.header-link:hover { background: var(--soft); color: var(--ink); }
.language-link { border: 1px solid #cfd3e4; color: var(--ink); background: #fff; }
.language-link:hover { border-color: var(--brand); color: var(--brand-dark); }

.hero {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 42px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(8, 127, 91, 0.1);
}
h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}
.hero-lead {
  max-width: 760px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.58;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 14px;
}
.meta-row strong { color: var(--ink); font-weight: 680; }

.page-grid {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 98px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}
.toc-title {
  margin: 0 0 11px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li + li { margin-top: 5px; }
.toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}
.toc a:hover { color: var(--brand-dark); }

.policy {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.summary {
  margin: 32px 34px 4px;
  padding: 22px 24px;
  border: 1px solid #d9dcff;
  border-radius: 15px;
  background: var(--brand-soft);
}
.summary strong { display: block; margin-bottom: 6px; color: #3730a3; }
.summary p { margin: 0; color: #424869; }
.section {
  scroll-margin-top: 96px;
  margin: 0 34px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.section:last-child { border-bottom: 0; }
.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  margin-bottom: 13px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}
h2 {
  margin: 0 0 14px;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}
h3 { margin: 24px 0 8px; font-size: 18px; line-height: 1.35; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
ul { margin: 14px 0; padding-left: 23px; }
li + li { margin-top: 9px; }
.note {
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: #f8f8fc;
  color: #4e556d;
}
.contact-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}
.contact-card a { font-weight: 720; }
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand-dark); }

@media (max-width: 820px) {
  .page-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 28px; }
  .toc li { break-inside: avoid; }
}

@media (max-width: 580px) {
  body { font-size: 15px; }
  .header-inner,
  .hero,
  .page-grid,
  .footer-inner { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 64px; }
  .header-link { display: none; }
  .hero { padding: 50px 0 31px; }
  h1 { font-size: clamp(38px, 13vw, 56px); }
  .hero-lead { font-size: 17px; }
  .page-grid { gap: 18px; margin-bottom: 54px; }
  .toc { padding: 18px; }
  .toc ol { columns: 1; }
  .summary { margin: 20px 20px 0; padding: 18px; }
  .section { margin: 0 20px; padding: 28px 0; }
  .footer-inner { padding: 22px 0; align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .toc, .site-footer { display: none; }
  .hero, .page-grid { width: 100%; margin: 0; padding: 0; display: block; }
  .hero { padding-bottom: 18pt; }
  h1 { font-size: 30pt; }
  .policy { border: 0; border-radius: 0; box-shadow: none; }
  .summary, .section { margin-left: 0; margin-right: 0; }
  .section { break-inside: avoid; }
  a { color: #000; }
}
