:root {
  color-scheme: light;
  --ink: #17233a;
  --muted: #667085;
  --line: #e5eaf2;
  --surface: #ffffff;
  --wash: #f5f7fb;
  --brand: #2f6fc2;
  --brand-deep: #24599b;
  --brand-soft: #eaf2fd;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 247, 251, .88);
  border-bottom: 1px solid rgba(229, 234, 242, .9);
  backdrop-filter: blur(18px);
}
.nav {
  width: min(calc(100% - 40px), var(--max));
  min-height: 68px;
  margin: 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: 650; }
.mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--brand);
  box-shadow: 0 7px 18px rgba(47, 111, 194, .2);
}
.mark svg { width: 21px; height: 21px; }
.links { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.links a { color: var(--muted); }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }

main { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.hero { padding: 112px 0 88px; max-width: 820px; }
.eyebrow { margin: 0 0 16px; color: var(--brand); font-size: 14px; font-weight: 650; letter-spacing: .08em; }
h1 { margin: 0; font-size: clamp(42px, 7vw, 74px); line-height: 1.08; letter-spacing: -.045em; }
.lead { max-width: 690px; margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 2.4vw, 22px); }
.hero-note { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 7px 12px; border: 1px solid #dbe5f3; border-radius: 999px; background: rgba(255,255,255,.7); color: #526078; font-size: 13px; }

.section { padding: 18px 0 88px; }
.section-title { margin: 0 0 30px; font-size: clamp(28px, 4vw, 38px); line-height: 1.25; letter-spacing: -.025em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 14px 34px rgba(23,35,58,.045); }
.step { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.card h2, .card h3 { margin: 20px 0 8px; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); }
.privacy-banner { margin-bottom: 96px; padding: 34px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-radius: 22px; color: white; background: #1d3150; }
.privacy-banner h2 { margin: 0 0 5px; font-size: 24px; }
.privacy-banner p { margin: 0; color: #cfdbec; }
.button { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; color: #153052; background: white; font-weight: 650; }
.button:hover { color: #153052; background: #f3f6fa; }

.document { max-width: 800px; padding: 76px 0 96px; }
.document h1 { font-size: clamp(38px, 6vw, 56px); }
.meta { margin: 18px 0 48px; color: var(--muted); font-size: 14px; }
.document article { padding: 42px clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.document h2 { margin: 42px 0 12px; font-size: 23px; line-height: 1.35; }
.document h2:first-child { margin-top: 0; }
.document h3 { margin: 26px 0 8px; font-size: 17px; }
.document p, .document li { color: #455168; }
.document ul, .document ol { padding-left: 1.4em; }
.document strong { color: var(--ink); }
.notice { padding: 18px 20px; border-left: 3px solid var(--brand); border-radius: 4px 12px 12px 4px; background: var(--brand-soft); }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.help-item { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfe; }
.help-item h3 { margin: 0 0 6px; }

footer { border-top: 1px solid var(--line); }
.footer-inner { width: min(calc(100% - 40px), var(--max)); margin: auto; padding: 34px 0 42px; display: flex; justify-content: space-between; gap: 28px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 760px) {
  .links a:not(:last-child) { display: none; }
  .hero { padding: 82px 0 64px; }
  .grid { grid-template-columns: 1fr; }
  .privacy-banner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .help-grid { grid-template-columns: 1fr; }
  .document { padding-top: 52px; }
  .document article { margin-left: -8px; margin-right: -8px; }
}

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