/* InfoSync — design system. Self-contained, no external fonts or assets.
   8pt spacing rhythm, one accent colour, light + dark, print, reduced motion. */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #eef1f6;
  --ink: #0b1524;
  --ink-soft: #46566b;
  --ink-faint: #5f7188;
  --line: #e3e8ef;
  --line-strong: #cfd7e3;

  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, .08);
  --accent-ring: rgba(37, 99, 235, .28);

  --ok: #0b6b43;
  --ok-bg: #e7f4ed;
  --bad: #a02a22;
  --bad-bg: #fdecea;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(11, 21, 36, .04);
  --shadow: 0 1px 2px rgba(11, 21, 36, .04), 0 12px 32px -20px rgba(11, 21, 36, .28);

  --header-h: 64px;
  --measure: 68ch;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --bg: #080d15;
    --surface: #101823;
    --surface-2: #16202d;
    --ink: #e9eff7;
    --ink-soft: #aab8c9;
    --ink-faint: #8fa0b5;
    --line: #1e2a3a;
    --line-strong: #2c3a4d;

    --accent: #7aa2ff;
    --accent-strong: #a8c2ff;
    --accent-soft: rgba(122, 162, 255, .12);
    --accent-ring: rgba(122, 162, 255, .35);

    --ok: #7ee2b0;
    --ok-bg: #10291d;
    --bad: #ffb4ad;
    --bad-bg: #331715;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -24px rgba(0, 0, 0, .8);
  }

  /* 浅色强调色上用深色文字，保证对比度 */
  .btn-primary, .plan-badge, .skip-link { color: #07101d; }
  .btn-primary:hover { color: #07101d; }
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

::selection { background: var(--accent-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
@media (max-width: 900px) { .section { padding: 64px 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .site-header { background: var(--surface); }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-name { white-space: nowrap; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color .15s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }

.lang-switch {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.lang-switch:hover { border-color: var(--line-strong); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; }

@media (max-width: 900px) {
  html { scroll-padding-top: 132px; }
  .header-inner {
    min-height: auto;
    padding-top: 10px;
    gap: 12px;
  }
  .site-nav {
    order: 3;
    flex: 0 0 100%;
    margin-left: 0;
    gap: 22px;
    padding: 2px 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; }
  .header-inner > .btn { margin-left: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background .15s var(--ease), border-color .15s var(--ease),
    color .15s var(--ease), transform .15s var(--ease);
}
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:active { transform: translateY(1px); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 78% -10%, var(--accent-soft), transparent 62%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 64px;
  align-items: center;
  padding: 104px 24px 104px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.035em;
  text-wrap: balance;
  max-width: 15ch;
}
.hero-sub {
  margin-top: 24px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-ticks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}
.hero-ticks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-ticks li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.hero-art { display: flex; justify-content: center; }
.hero-svg { width: 100%; max-width: 520px; height: auto; }

/* ---------- Section headings ---------- */
.section-title {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.section-sub {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: var(--measure);
  text-wrap: pretty;
}
.section-sub.wide { max-width: 72ch; }

/* ---------- Product cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.card p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.card-tag {
  margin-top: 20px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-faint);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ---------- Plans ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 560px));
  gap: 24px;
  margin-top: 48px;
  justify-content: center;
  min-height: 360px;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  justify-self: center;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.plan-card:hover { border-color: var(--line-strong); }
.plan-card.popular { border-color: var(--accent); }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .02em;
}
.plan-name { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.plan-desc { margin-top: 6px; font-size: 14px; color: var(--ink-faint); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.plan-price .amount { font-size: 34px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan-price .cycle { font-size: 14px; color: var(--ink-faint); }
.plan-alt { margin-top: 4px; font-size: 13.5px; color: var(--ink-soft); }
.plan-alt s { color: var(--ink-faint); margin-right: 6px; }
.plan-alt .save { color: var(--accent); font-weight: 600; white-space: nowrap; }

.plan-offers { display: grid; margin: 8px 0 18px; }
.offer-group {
  margin: 16px 0 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.offer-group:first-child { margin-top: 4px; }
.offer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.offer-row:last-child { border-bottom: 0; }
.offer-period {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
}
.offer-days { font-size: 12px; font-weight: 500; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.offer-mode {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.offer-prices { display: grid; gap: 2px; text-align: right; justify-items: end; }
.offer-price { display: inline-flex; align-items: baseline; gap: 6px; }
.offer-price strong { font-size: 17px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.offer-ch { font-size: 11px; font-weight: 500; color: var(--ink-faint); }
.offer-discount { font-size: 11.5px; font-weight: 600; color: var(--accent); }
.plan-feats { list-style: none; display: grid; gap: 10px; margin: 4px 0 24px; }
.plan-feats li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-soft); }
.plan-feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.plan-feats li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.plan-card .btn { margin-top: auto; width: 100%; }

/* skeleton */
.plan-card.skeleton { pointer-events: none; }
.sk-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--line) 37%, var(--surface-2) 63%);
  background-size: 400% 100%;
  animation: sk 1.4s ease infinite;
}
.sk-line + .sk-line { margin-top: 12px; }
.sk-title { height: 20px; width: 40%; }
.sk-row { height: 44px; margin-top: 14px; border-radius: 8px; }
.sk-btn { height: 46px; margin-top: 24px; border-radius: 12px; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.pricing-status { margin-top: 16px; font-size: 14px; color: var(--ink-faint); }
.pricing-fallback {
  margin-top: 16px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pricing-fallback a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.pricing-meta { margin-top: 12px; font-size: 12.5px; color: var(--ink-faint); }

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.channel {
  padding: 22px;
  background: var(--surface-2);
  border-radius: var(--radius);
}
.channel h4 { font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.channel p { margin-top: 8px; font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); }
.channel-state { margin-top: 10px; font-size: 12.5px; color: var(--bad); }

.plan-note {
  margin-top: 28px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 88ch;
}
.plan-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* payment strip */
.pay-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 32px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.pay-info strong { font-size: 14.5px; font-weight: 650; }
.pay-info p { margin-top: 6px; font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); }
.pay-info a { color: var(--accent); }
.card-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.cb {
  display: grid;
  place-items: center;
  width: 46px;
  height: 30px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.cb svg { width: 100%; height: 100%; }

/* ---------- Network ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 64px;
  align-items: start;
}
.check-list { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink-soft); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 9.5px;
  width: 7px;
  height: 3.5px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}
.region-panel {
  display: grid;
  gap: 10px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.region {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
}
.region + .region { border-top: 1px solid var(--line); }
.region-name { font-size: 15.5px; font-weight: 600; }
.region-count { font-size: 12.5px; color: var(--ink-faint); white-space: nowrap; }

/* ---------- Company ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 48px;
}
.value { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.value h4 { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.value p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.value a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Contact ---------- */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: 64px;
  align-items: start;
}
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s var(--ease);
}
a.contact-card:hover { border-color: var(--accent); }
.contact-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.contact-value { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.contact-value a { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr .8fr .9fr;
  gap: 48px;
  padding: 64px 24px 40px;
}
.footer-brand .brand-name { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.footer-brand p { margin-top: 8px; font-size: 14px; max-width: 34ch; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2px;
}
.footer-col a { font-size: 14px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }
.footer-col a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.footer-legal {
  padding: 20px 24px 32px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ---------- Legal pages ---------- */
.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.legal-body h1 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.legal-body .updated { margin-top: 10px; font-size: 13.5px; color: var(--ink-faint); }
.legal-body .doc-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-faint);
}
.legal-body h2 {
  margin: 56px 0 14px;
  font-size: 1.375rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.02em;
}
.legal-body h3 {
  margin: 28px 0 8px;
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -.01em;
}
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.8; color: var(--ink-soft); }
.legal-body p + p { margin-top: 12px; }
.legal-body p { max-width: var(--measure); text-wrap: pretty; }
.legal-body ul, .legal-body ol { padding-left: 24px; margin-top: 10px; max-width: var(--measure); }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 8px; }
.legal-body li > ul { margin-top: 8px; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.legal-body a:hover { color: var(--accent-strong); }
.legal-body strong { color: var(--ink); font-weight: 650; }
.legal-body sup { font-size: 11px; }

.legal-body .toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 8px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.legal-body .toc a {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.legal-body .toc a:hover { border-color: var(--accent); color: var(--accent); }

.pill {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* tables */
.table-wrap {
  margin: 18px 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.legal-body th, .legal-body td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.legal-body th {
  background: var(--surface-2);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .02em;
  white-space: nowrap;
}
.legal-body tr:last-child td { border-bottom: 0; }
.legal-body td { color: var(--ink-soft); }
.legal-body .data-table td:nth-child(2) { white-space: nowrap; }
.yes, .no {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.yes::before, .no::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.yes { color: var(--ok); background: var(--ok-bg); }
.no { color: var(--bad); background: var(--bad-bg); }

.legal-body .note {
  margin: 20px 0;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.legal-body .note p { font-size: 14px; line-height: 1.75; }
.legal-body .note ul { margin-top: 8px; padding-left: 20px; }
.legal-body .note li { font-size: 14px; line-height: 1.75; margin-bottom: 6px; }
.legal-body .note p + ul { margin-top: 10px; }
.legal-body .note > p:first-child { color: var(--ink); }

/* mobile: data tables become stacked cards */
@media (max-width: 640px) {
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  .legal-body table, .legal-body thead, .legal-body tbody, .legal-body tr, .legal-body th, .legal-body td {
    display: block;
    width: auto;
  }
  .legal-body thead { display: none; }
  .legal-body tr {
    margin-bottom: 12px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .legal-body td { padding: 0; border: 0; font-size: 14px; }
  .legal-body td:first-child {
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 650;
  }
  .legal-body td:not(:first-child) {
    display: grid;
    grid-template-columns: 7.5em minmax(0, 1fr);
    gap: 8px;
    padding: 4px 0;
    border-top: 1px dashed var(--line);
  }
  .legal-body td:not(:first-child)::before {
    content: attr(data-label);
    color: var(--ink-faint);
    font-size: 12px;
    font-weight: 550;
  }
  .legal-body .data-table td:nth-child(2) { white-space: normal; }
}

/* ---------- Support ---------- */
.support-wrap { max-width: 680px; margin: 0 auto; padding: 56px 24px 96px; }
.support-wrap h1 { font-size: clamp(1.9rem, 3.2vw, 2.35rem); font-weight: 700; letter-spacing: -.03em; }
.support-wrap .lede { margin-top: 6px; font-size: 15px; color: var(--ink-faint); }
.support-mail {
  display: block;
  margin-top: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s var(--ease);
}
.support-mail:hover { border-color: var(--accent); }
.support-mail .lbl {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.support-mail .val {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--accent);
  word-break: break-word;
}
.support-mail .hint { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.support-grid .support-mail { margin-top: 0; }
.support-grid .support-mail .val { font-size: 16px; }
.support-block { margin-top: 40px; }
.support-block h2 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; margin-bottom: 12px; }
.support-block ul { list-style: none; display: grid; gap: 10px; }
.support-block li { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); padding-left: 18px; position: relative; }
.support-block li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}
.support-block a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 404 ---------- */
.error-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}
.error-page .code { font-size: 72px; font-weight: 700; letter-spacing: -.04em; color: var(--accent); line-height: 1; }
.error-page h1 { margin-top: 20px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.error-page p { margin-top: 12px; color: var(--ink-soft); }
.error-page .actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px 64px; }
  .hero-art { order: 2; justify-content: flex-start; }
  .hero-svg { max-width: 300px; }
  .hero-copy h1 { max-width: 20ch; }
  .card-grid, .value-grid { grid-template-columns: 1fr; gap: 24px; }
  .split, .contact-panel { grid-template-columns: 1fr; gap: 40px; }
  .channel-grid { grid-template-columns: 1fr; }
  .pay-strip { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 24px 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .card-grid { margin-top: 32px; }
  .value-grid { margin-top: 32px; gap: 28px; }
}
@media (max-width: 560px) {
  .header-inner { gap: 10px; }
  .brand { font-size: 16px; }
  .plan-card { padding: 24px 20px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-wrap { padding: 32px 20px 72px; }
  .legal-body { padding: 40px 20px 72px; }
  .legal-body h2 { margin-top: 44px; }
  .section-sub { font-size: 15.5px; }
  .hero-sub { font-size: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; }
  .header-inner > .btn { width: auto; }
}

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

/* ---------- Print ---------- */
@media print {
  :root { --bg: #fff; --surface: #fff; --ink: #000; --ink-soft: #222; --ink-faint: #444; --line: #bbb; }
  .site-header, .site-footer, .toc, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11.5pt; }
  .legal-body { max-width: none; padding: 0; }
  .legal-body h2 { page-break-after: avoid; margin-top: 24pt; }
  .legal-body h3 { page-break-after: avoid; }
  .legal-body tr, .legal-body .note { page-break-inside: avoid; }
  .legal-body a { color: #000; text-decoration: underline; }
  .legal-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .table-wrap { overflow: visible; }
}

/* ---------- Accessibility helpers ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Hero privacy note ---------- */
.hero-note { margin-top: 24px; font-size: 13.5px; color: var(--ink-faint); }
.hero-note a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.hero-note a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* 中文标题按语义断行，避免把「每一处」拆开 */
html[lang="zh-CN"] .hero-copy h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 9.5em; }
