:root {
  color-scheme: light;
  --ink: #18243a;
  --muted: #66748b;
  --line: #dfe8f5;
  --blue: #2169e8;
  --blue-soft: #eaf2ff;
  --mint: #1d9b78;
  --paper: rgba(255, 255, 255, 0.92);
  --shadow: 0 22px 70px rgba(54, 83, 132, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(92, 145, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(86, 208, 170, 0.13), transparent 28rem),
    linear-gradient(155deg, #f4f8ff 0%, #f8f5ff 48%, #fff8f3 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.82;
}

a { color: var(--blue); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 232, 245, 0.9);
  background: rgba(249, 252, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header__inner,
.site-footer__inner,
.page-shell {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.brand small {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.site-nav { display: flex; gap: 18px; }
.site-nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--blue); }

.page-shell { padding: 46px 0 72px; }

.hero,
.document,
.policy-card {
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero { padding: 46px; }
.hero__eyebrow { color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: 0.14em; }
.hero h1 { margin: 8px 0 14px; font-size: clamp(34px, 7vw, 54px); line-height: 1.14; letter-spacing: -0.04em; }
.hero p { max-width: 660px; margin: 0; color: var(--muted); font-size: 18px; }

.policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.policy-card { display: block; padding: 28px; color: var(--ink); text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.policy-card:hover { transform: translateY(-2px); box-shadow: 0 26px 76px rgba(54, 83, 132, 0.16); }
.policy-card__label {
  display: inline-flex;
  width: max-content;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}
.policy-card__label::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.policy-card__label--privacy { background: #eaf8f3; color: #168566; }
.policy-card h2 { margin: 16px 0 7px; font-size: 22px; }
.policy-card p { margin: 0; color: var(--muted); font-size: 14px; }
.policy-card__action { display: inline-block; margin-top: 18px; color: var(--blue); font-size: 14px; font-weight: 700; }

.document { padding: 48px 54px; }
.document__eyebrow { margin: 0 0 8px; color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: 0.12em; }
.document h1 { margin: 0; font-size: clamp(32px, 6vw, 46px); line-height: 1.2; letter-spacing: -0.035em; }
.document__meta { margin: 10px 0 28px; color: var(--muted); font-size: 13px; }
.document__lead { margin: 0 0 28px; padding: 22px 24px; border-radius: 18px; background: var(--blue-soft); color: #34445e; }
.document__notice { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--mint); border-radius: 4px 14px 14px 4px; background: #eefaf6; color: #345e52; }
.document h2 { margin: 40px 0 12px; padding-top: 4px; font-size: 22px; line-height: 1.45; }
.document h3 { margin: 24px 0 8px; font-size: 17px; }
.document p { margin: 10px 0; }
.document ul, .document ol { margin: 10px 0; padding-left: 24px; }
.document li { margin: 7px 0; }
.document strong { color: #111d31; }

.table-wrap { width: 100%; margin: 18px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.data-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; line-height: 1.62; }
.data-table th, .data-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: #f0f5fc; color: #31435e; font-weight: 750; }
.data-table tr:last-child td { border-bottom: 0; }

.toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 26px 0 34px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fbfdff; }
.toc a { color: #51617a; font-size: 14px; text-decoration: none; }
.toc a:hover { color: var(--blue); }

.site-footer { padding: 0 0 38px; color: var(--muted); font-size: 13px; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; }
.site-footer__group,
.site-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.site-footer a { color: var(--muted); }
.site-footer__beian { text-underline-offset: 3px; }

body.embed .site-header,
body.embed .site-footer,
html.embed-ready .site-header,
html.embed-ready .site-footer { display: none; }
body.embed .page-shell { width: 100%; padding: 0; }
body.embed .document { border: 0; border-radius: 0; box-shadow: none; }
html.embed-ready .page-shell { width: 100%; padding: 0; }
html.embed-ready .document { border: 0; border-radius: 0; box-shadow: none; }

@media (max-width: 680px) {
  body { font-size: 15px; }
  .site-header__inner, .site-footer__inner, .page-shell { width: min(100% - 28px, 960px); }
  .site-header__inner { min-height: 60px; }
  .brand small { display: none; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 13px; }
  .page-shell { padding: 24px 0 48px; }
  .hero { padding: 30px 24px; border-radius: 24px; }
  .hero p { font-size: 16px; }
  .policy-grid { grid-template-columns: 1fr; }
  .policy-card { padding: 24px; border-radius: 22px; }
  .document { padding: 30px 22px 52px; border-radius: 24px; }
  .document__lead { padding: 18px; }
  .document h2 { margin-top: 34px; font-size: 20px; }
  .toc { grid-template-columns: 1fr; padding: 17px 19px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  body.embed .document { padding-top: 28px; }
}
