*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink: #0f1a23;
  --ink-2: #24374a;
  --muted: #5c6b7a;
  --line: #e3e9ef;
  --line-2: #cfdae3;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --bg-tint: #eef4f1;
  --brand: #0f6b52;
  --brand-2: #14856a;
  --brand-ink: #08402f;
  --apricot: #d9822b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 35, .05);
  --shadow: 0 1px 2px rgba(15, 26, 35, .05), 0 10px 28px rgba(15, 26, 35, .07);
  --maxw: 1140px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html[data-lang="en"] .zh,
html[data-lang="zh"] .en { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: -.012em;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(30px, 4.4vw, 46px); }
h2 { font-size: clamp(23px, 2.7vw, 31px); }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin: .35em 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0; }
small { font-size: 13px; color: var(--muted); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section > .wrap > .eyebrow { margin-bottom: 6px; }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 13.5px; }
.nowrap { white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { background: var(--bg-soft); color: var(--brand-ink); }
.nav a[aria-current="page"] { color: var(--brand-ink); background: var(--bg-tint); font-weight: 600; }
.tools { display: flex; align-items: center; gap: 10px; flex: none; }
.lang {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
}
.lang button {
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.menu-btn {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--bg);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.menu-btn svg { width: 18px; height: 18px; margin: auto; }

@media (max-width: 940px) {
  .menu-btn { display: flex; }
  .nav {
    position: absolute;
    inset: 66px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 22px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav a { padding: 11px 10px; border-radius: 8px; }
  [data-open="true"] .nav { display: flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: .16s ease;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-2); color: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: var(--bg); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- hero ---------- */
.hero { padding: 78px 0 66px; background:
  radial-gradient(1100px 400px at 12% -12%, var(--bg-tint) 0%, rgba(238, 244, 241, 0) 70%),
  linear-gradient(180deg, #fbfdfd 0%, #ffffff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.06fr .94fr; gap: 52px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 18.5px; }
.hero-art { border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); }
.trust svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .section { padding: 56px 0; }
}

/* ---------- page head (inner pages) ---------- */
.page-head { padding: 52px 0 34px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 940px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card--flat { box-shadow: none; background: var(--bg-soft); }
.card h3, .card h4 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--bg-tint);
  color: var(--brand);
  margin-bottom: 15px;
}
.card .ico svg { width: 21px; height: 21px; }
.card--link { text-decoration: none; color: inherit; display: block; transition: .18s ease; }
.card--link:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tag-list li {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-ink);
  background: var(--bg-tint);
  border: 1px solid #d5e5dd;
  border-radius: 999px;
  padding: 3px 11px;
}

/* ---------- steps ---------- */
.steps { counter-reset: st; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li {
  counter-increment: st;
  position: relative;
  padding: 0 0 26px 54px;
  margin: 0;
  border-left: 1px solid var(--line-2);
  margin-left: 17px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(st, decimal-leading-zero);
  position: absolute;
  left: -18px;
  top: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--brand);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--mono);
}
.steps h4 { margin-bottom: 4px; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
caption { text-align: left; padding: 16px 18px 0; color: var(--muted); font-size: 13px; caption-side: bottom; }
th, td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-soft); color: var(--ink); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td code, th code { font-family: var(--mono); font-size: 13px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--brand-ink); white-space: nowrap; }

/* ---------- callouts ---------- */
.note {
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--brand);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
}
.note strong { color: var(--ink); }
.note p:last-child { margin-bottom: 0; }
.note--warn { border-left-color: var(--apricot); background: #fdf6ee; }

/* ---------- definition blocks ---------- */
.dl { display: grid; grid-template-columns: 220px 1fr; gap: 0; border-top: 1px solid var(--line); }
.dl dt, .dl dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.dl dt { color: var(--muted); font-size: 14.5px; }
.dl dd { color: var(--ink); font-weight: 500; }
@media (max-width: 700px) {
  .dl { grid-template-columns: 1fr; }
  .dl dt { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 12px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; display: inline-block; width: 1.3em; color: var(--brand); font-weight: 500; }
details[open] summary::before { content: "–"; }
details p { color: var(--muted); margin: 0 0 14px 1.3em; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
form .field { margin-bottom: 16px; }
label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 10px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(15, 107, 82, .18); border-color: var(--brand); }
textarea { min-height: 128px; resize: vertical; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; flex: none; }
.form-msg { font-size: 14px; margin-top: 12px; min-height: 20px; }
.form-msg[data-kind="ok"] { color: var(--brand); }
.form-msg[data-kind="err"] { color: #b23c17; }

/* ---------- policy typography ---------- */
.doc { max-width: 820px; }
.doc h2 { margin-top: 2.6em; font-size: 22px; }
.doc h2:first-of-type { margin-top: 1.2em; }
.doc h3 { margin-top: 1.8em; font-size: 16.5px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { margin-bottom: 1.1em; }
.doc .meta { font-size: 14px; color: var(--muted); border: 1px solid var(--line); background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 18px; }
.doc .meta p { margin: 0; }
.toc { columns: 2; column-gap: 30px; font-size: 14px; padding-left: 1.1em; }
@media (max-width: 640px) { .toc { columns: 1; } }

/* ---------- footer ---------- */
.site-footer { background: #0d1620; color: #a9b8c5; padding: 56px 0 26px; font-size: 14.5px; }
.site-footer a { color: #cddbe6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 8px 0; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; margin-bottom: 14px; }
.foot-brand svg { width: 28px; height: 28px; }
.foot-note { max-width: 40ch; line-height: 1.65; }
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid #223140;
  font-size: 13px;
  color: #8598a8;
}
.legal a { color: #9fb1c0; }
.legal span { display: block; }

/* ---------- misc ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: var(--bg-tint); color: var(--brand-ink); border: 1px solid #d5e5dd;
}
.kv { display: flex; flex-wrap: wrap; gap: 12px 0; margin: 0; padding: 0; list-style: none; }
.kv li { margin: 0; padding-right: 26px; }
.kv b { display: block; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kv span { color: var(--ink); font-weight: 500; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 99;
}
.skip:focus { left: 0; color: #fff; }
:target { scroll-margin-top: 90px; }
h2[id], h3[id] { scroll-margin-top: 90px; }
