/* ==========================================================================
   [T05] 温暖人文 · Warm Humanist — 官网模板库
   米白纸感 + 衬线标题（Source Serif 4 / 思源宋体）+ 赤陶橙强调
   字体：Source Serif 4 / Inter / Noto Serif SC / Noto Sans SC · 圆角 12px
   契约：类名与骨架完全一致，复制为本站 css/style.css 即可使用
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;600;700&family=Inter:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@400;500;700&display=swap');

/* ---------- 1. Design tokens ---------- */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --bg-soft: #f3ede2;

  --accent: #c2551f;
  --accent-strong: #9a4419;
  --accent-soft: #f9e7dc;

  --ink: #292524;
  --heading: #1c1917;
  --muted: #78716c;
  --line: #e7e0d4;

  --danger: #b91c1c;
  --success: #15803d;

  --radius: 12px;
  --radius-sm: 8px;

  --font-serif: "Source Serif 4", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --logo-bg: #c2551f;
  --logo-accent: #faf7f2;

  --header-h: 72px;
  --maxw: 1160px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em; line-height: 1.18; font-weight: 600;
  font-family: var(--font-serif);
  color: var(--heading); letter-spacing: -0.01em; text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p { margin: 0 0 1rem; }

a { color: var(--accent-strong); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--accent); }

img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
button, input, select, textarea { font: inherit; }

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

h1 em, h2 em { font-style: italic; font-family: inherit; color: var(--accent); letter-spacing: 0; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: #1c1917; color: #e7e5e4; }
.section--navy h2, .section--navy h3 { color: #faf7f2; }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }

.eyebrow {
  display: inline-block; font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-strong); margin-bottom: 10px;
}
.eyebrow--light { color: #fdba74; }

.lede { font-size: 1.08rem; color: var(--muted); }
.text-muted { color: var(--muted); }

.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;
}

/* ---------- 4. Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 0.98rem; line-height: 1;
  cursor: pointer; text-align: center;
  transition: transform 0.15s ease, background-color 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
}
.button:active { transform: translateY(1px); }
.button span { font-size: 1.05em; }

.button--primary { background: var(--accent); color: #fff; }
.button--primary:hover { background: var(--accent-strong); color: #fff; }

.button--secondary { background: transparent; color: var(--heading); border-color: #a8a29e; }
.button--secondary:hover { background: var(--heading); color: #fff; border-color: var(--heading); }

.button--ghost { background: rgba(255,255,255,0.5); color: var(--heading); border-color: #d6cfc2; }
.button--ghost:hover { border-color: var(--accent); color: var(--accent-strong); }

.button--lg { padding: 16px 30px; font-size: 1.05rem; }
.button--block { width: 100%; }

/* ---------- 5. Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em;
  color: var(--heading); min-width: 0;
}
.brand:hover { color: var(--heading); }
.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand > span:last-child { line-height: 1.2; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav__link {
  display: block; padding: 9px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 500; font-size: 0.95rem; white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.site-nav__link:hover { color: var(--heading); background: var(--bg-soft); }
.site-nav__link[aria-current="page"] { color: var(--accent-strong); background: var(--accent-soft); font-weight: 600; }

.nav-cta { margin-left: 10px; }
.header-actions { display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  display: inline-flex; align-items: center;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font-size: 0.8rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.lang-toggle:hover { background: var(--accent-soft); border-color: var(--accent); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); cursor: pointer; color: var(--heading);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px; position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 480px at 85% -10%, rgba(194, 85, 31, 0.09), transparent 60%),
    radial-gradient(600px 400px at -5% 110%, rgba(194, 85, 31, 0.06), transparent 55%),
    var(--bg);
  color: var(--ink);
  padding: 88px 0 96px;
}

.hero__grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--heading); margin-bottom: 0.45em; }
.hero .eyebrow { color: var(--accent-strong); }
.hero__lede { font-size: 1.13rem; color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; font-size: 0.9rem; color: var(--muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { color: var(--accent); flex: 0 0 auto; }

.hero__visual { position: relative; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(41, 37, 36, 0.10);
}
.hero-card__window {
  border-radius: 12px; overflow: hidden;
  border: 1px solid #44403c;
  background: #292524;
}
.hero-card__titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; background: #33302c;
  border-bottom: 1px solid #44403c;
}
.hero-card__dot { width: 10px; height: 10px; border-radius: 50%; background: #57534e; }
.hero-card__dot--a { background: #e0704f; }
.hero-card__dot--b { background: #e0b45f; }
.hero-card__dot--c { background: #8fbf7f; }
.hero-card__app { margin-left: 6px; font-size: 0.78rem; font-weight: 600; color: #d6cfc2; }

.hero-card__body { padding: 20px 18px 16px; }

.wf__track { position: relative; display: flex; justify-content: space-between; margin: 4px 6px 10px; }
.wf__line { position: absolute; top: 11px; left: 12px; right: 12px; height: 2px; background: #57534e; }
.wf__node {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid #78716c; background: #292524;
  color: #a8a29e; display: grid; place-items: center; z-index: 1;
  font-size: 11px; font-weight: 600;
}
.wf__node--done, .wf__node--current { background: var(--accent); border-color: var(--accent); color: #fff; }
.wf__node--current { box-shadow: 0 0 0 5px rgba(194, 85, 31, 0.3); }

.wf__labels { display: flex; justify-content: space-between; color: #a8a29e; font-size: 0.66rem; }

.wf__task {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid #44403c;
  margin-top: 16px; padding-top: 14px;
  font-size: 0.78rem; color: #d6cfc2;
}
.wf__task + .wf__task { margin-top: 12px; }
.wf__task strong { margin-left: auto; font-size: 0.66rem; font-weight: 600; color: #fdba74; }
.wf__avatar {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 700; flex: 0 0 auto;
}
.wf__avatar--a { background: #e0b45f; color: #694c1d; }
.wf__avatar--b { background: #f9e7dc; color: #9a4419; }

.hero-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.stat {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 10px; text-align: center;
}
.stat__num { display: block; font-size: 1.4rem; font-weight: 700; color: var(--heading); font-family: var(--font-serif); }
.stat__label { font-size: 0.72rem; color: var(--muted); }

/* ---------- 7. Cards & grids ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: 0 2px 10px rgba(41, 37, 36, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(41, 37, 36, 0.10); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-strong);
  margin-bottom: 16px;
}

/* ---------- 8. Check list ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.check-list .check { flex: 0 0 auto; margin-top: 3px; color: var(--accent); }
.check-list strong { display: block; color: var(--heading); margin-bottom: 2px; }
.check-list span:not(.check) { color: var(--muted); }

/* ---------- 9. Panel ---------- */
.why-wrap { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }

.panel {
  background: linear-gradient(150deg, #292524, #44403c);
  border-radius: var(--radius); padding: 34px;
  color: #e7e5e4;
}
.panel h3 { color: #faf7f2; }
.panel p { color: #d6cfc2; }

.panel__steps { margin: 18px 0 6px; }
.panel__step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px solid rgba(250, 247, 242, 0.14);
}
.panel__step:last-child { border-bottom: 0; }
.panel__num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong);
  font-weight: 700; font-size: 0.85rem;
}
.panel__step strong { display: block; color: #faf7f2; font-size: 0.95rem; }
.panel__step small { color: #b8b2aa; font-size: 0.8rem; line-height: 1.5; display: block; }

.chips { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  display: inline-block; padding: 6px 13px; border-radius: 999px;
  background: rgba(250, 247, 242, 0.08); border: 1px solid rgba(250, 247, 242, 0.2);
  font-size: 0.8rem; font-weight: 600; color: #e7e5e4;
}

/* ---------- 10. Process ---------- */
.process { display: grid; grid-template-columns: 1fr; gap: 16px; }
.process__step { display: flex; gap: 16px; align-items: flex-start; }
.process__num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--heading); color: #fdba74;
  font-weight: 700; font-size: 1rem;
}
.process__step h3 { margin-bottom: 0.2em; }
.process__step p { color: var(--muted); margin: 0; }

/* ---------- 11. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon-badge { width: 42px; height: 42px; margin: 0; border-radius: 10px; }
.contact-item h3 { font-size: 1rem; margin: 0 0 2px; }
.contact-item p { margin: 0; color: var(--muted); }
.contact-item a { color: var(--accent-strong); font-weight: 500; }

/* ---------- 12. Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 10px rgba(41, 37, 36, 0.05); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--heading); }
.field label b { color: var(--danger); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field .error-msg { display: none; font-size: 0.82rem; color: var(--danger); }
.field.has-error .error-msg { display: block; }

.form-status { display: none; margin-top: 16px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 0.94rem; }
.form-status--success { display: block; background: #dcfce7; color: var(--success); border: 1px solid #bbf7d0; }
.form-status--error { display: block; background: #fee2e2; color: var(--danger); border: 1px solid #fecaca; }
.form-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

/* ---------- 13. Interior page hero ---------- */
.page-hero {
  background: linear-gradient(150deg, #292524, #44403c);
  color: #e7e5e4; padding: 64px 0;
}
.page-hero h1 { color: #faf7f2; }
.page-hero h1 em { color: #fdba74; }
.page-hero p { color: #d6cfc2; max-width: 40em; font-size: 1.08rem; }

.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: #b8b2aa; margin-bottom: 14px; }
.breadcrumb a { color: #fdba74; }
.breadcrumb a:hover { color: #faf7f2; }

/* ---------- 14. Notice ---------- */
.notice {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin-top: 44px;
  font-size: 0.92rem; color: var(--muted);
}
.notice small { display: block; margin-top: 5px; color: #a8a29e; font-size: 0.82rem; }

/* ---------- 15. Legal prose ---------- */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose p { color: var(--ink); }
.prose a { text-decoration: underline; }

/* ---------- 16. Footer ---------- */
.site-footer { background: #1c1917; color: #b8b2aa; padding: 64px 0 0; font-size: 0.94rem; }
.site-footer a { color: #e7e5e4; }
.site-footer a:hover { color: #fdba74; }

.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
.site-footer__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.02rem; font-weight: 700; color: #faf7f2;
}
.site-footer__brand:hover { color: #fdba74; }
.site-footer__brand svg { width: 32px; height: 32px; }
.site-footer__grid > div > p { margin-top: 14px; font-size: 0.88rem; max-width: 30em; }

.site-footer h4 { color: #faf7f2; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer address { font-style: normal; line-height: 1.8; }

.site-footer__bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.14); padding: 20px 0;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-start; justify-content: space-between;
  font-size: 0.84rem; color: #8a847c;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- 17. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- 17b. Skeleton utility classes (template contract) ---------- */
.cta-lede { color: #d6cfc2; max-width: 600px; margin-inline: auto; }
.h2-md { font-size: 1.5rem; }
.stack-lg { grid-template-columns: 1fr; gap: 24px; }
.head-more { margin-top: 40px; }
.cta-actions { margin-top: 24px; }
.h1--nf { font-size: clamp(2.5rem, 8vw, 4rem); color: var(--heading); }

/* ---------- 18. Chinese typography overrides ---------- */
html[lang="zh"] body { line-height: 1.85; }
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3 { font-family: "Noto Serif SC", var(--font-serif); letter-spacing: 0; line-height: 1.35; }
html[lang="zh"] h1 { font-size: clamp(1.9rem, 4.6vw, 2.95rem); }
html[lang="zh"] h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); }
html[lang="zh"] h1 em, html[lang="zh"] h2 em { font-style: normal; letter-spacing: 0; }
html[lang="zh"] .eyebrow { letter-spacing: 0.08em; }
html[lang="zh"] .hero__lede, html[lang="zh"] .lede, html[lang="zh"] .card p, html[lang="zh"] .process__step p { line-height: 1.9; }
html[lang="zh"] .check-list span:not(.check), html[lang="zh"] .panel__step small { line-height: 1.75; }
html[lang="zh"] .page-hero p { max-width: 36em; }

/* ---------- 19. Responsive ---------- */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .contact-grid { grid-template-columns: 1fr 1.25fr; }
  .why-wrap { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .site-footer__bottom { flex-direction: row; align-items: center; }
}

/* ---------- 20. Mobile navigation ---------- */
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 16px 20px 22px; box-shadow: 0 18px 44px rgba(41, 37, 36, 0.18);
    display: none;
  }
  .site-nav.nav-open { display: flex; }
  .site-nav__link { padding: 12px 14px; border-radius: 10px; }
  .nav-cta { margin-left: 0; width: 100%; }
}

@media (max-width: 520px) {
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 72px; }
  .page-hero { padding: 48px 0; }
  .brand { font-size: 0.82rem; }
  .brand__mark { width: 32px; height: 32px; }
  .lang-toggle { padding: 6px 11px; font-size: 0.75rem; }
  .hero-card { padding: 16px; }
  .stat { padding: 12px 6px; }
  .site-footer__bottom { flex-direction: column; }
}
