:root {
  --paper: #faf7f1;
  --paper-strong: #f1eadf;
  --surface: #fffdf9;
  --ink: #17231e;
  --ink-soft: #415049;
  --muted: #65716b;
  --line: #d9d0c2;
  --rust: #a84638;
  --rust-dark: #84362c;
  --teal: #246553;
  --teal-soft: #e5f0eb;
  --warning: #8a4b12;
  --shadow: 0 18px 45px rgba(53, 42, 28, 0.09);
  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rust-dark); }
button, input, select, textarea { font: inherit; }
::selection { color: #fff; background: var(--rust); }
:focus-visible { outline: 3px solid rgba(36, 101, 83, 0.38); outline-offset: 3px; }

.site-wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 247, 241, 0.96);
}
.site-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 11px;
  font-family: "STSong", "Songti SC", serif;
  font-size: 22px;
  font-weight: 700;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: "STSong", "Songti SC", serif; font-size: 20px; letter-spacing: 0.08em; }
.brand-copy span { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: 0.18em; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--paper-strong); color: var(--ink); }
.header-call {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.header-call:hover { background: var(--rust-dark); color: #fff; }

.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(42px, 6vw, 76px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.58fr); gap: clamp(32px, 7vw, 100px); align-items: end; }
.hero h1, .document h1 {
  margin: 0;
  max-width: 14ch;
  font-family: "STSong", "Songti SC", serif;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-lead { max-width: 64ch; margin: 24px 0 0; color: var(--ink-soft); font-size: clamp(15px, 1.8vw, 18px); line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.button.primary { background: var(--rust); border-color: var(--rust); color: #fff; }
.button.primary:hover { background: var(--rust-dark); border-color: var(--rust-dark); color: #fff; }
.button:hover { text-decoration: none; }
.trust-block { border-top: 1px solid var(--ink); padding-top: 18px; }
.trust-block .label { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; }
.trust-block strong { display: block; margin-top: 8px; font-family: "STSong", "Songti SC", serif; font-size: 24px; line-height: 1.35; }
.trust-block p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.section { padding: clamp(42px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr); gap: 32px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-family: "STSong", "Songti SC", serif; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -0.025em; }
.section-heading p { margin: 0; max-width: 62ch; color: var(--ink-soft); }
.fee-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.fee-main { padding: clamp(26px, 4vw, 46px); }
.fee-number { display: flex; align-items: baseline; gap: 10px; color: var(--rust); font-family: "STSong", "Songti SC", serif; }
.fee-number strong { font-size: clamp(54px, 8vw, 92px); line-height: 0.96; letter-spacing: -0.04em; }
.fee-number span { font-size: 20px; font-weight: 700; }
.fee-formula { margin: 22px 0 0; padding: 16px 18px; background: var(--paper-strong); border-radius: 10px; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; line-height: 1.7; }
.fee-notes { padding: clamp(24px, 4vw, 42px); border-left: 1px solid var(--line); background: #f7f2e9; }
.fee-notes h3 { margin: 0 0 15px; font-size: 17px; }
.fee-notes ul, .plain-list { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.fee-notes li, .plain-list li { margin: 9px 0; }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.info-block { border-top: 2px solid var(--ink); padding-top: 18px; }
.info-block h3 { margin: 0 0 10px; font-size: 17px; }
.info-block p, .info-block ul { margin: 0; color: var(--ink-soft); }
.info-block li { margin: 7px 0; }
.muted { color: var(--muted); }
.note {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid #d8b78e;
  border-radius: 10px;
  background: #fff4e5;
  color: #65390e;
  font-size: 13px;
}
.document { padding: clamp(48px, 7vw, 84px) 0 76px; }
.document-head { max-width: 900px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.document-meta { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.document-body { display: grid; grid-template-columns: minmax(0, 760px) minmax(210px, 280px); gap: clamp(34px, 7vw, 90px); margin-top: 38px; align-items: start; }
.prose { min-width: 0; max-width: 76ch; }
.prose h2 { margin: 38px 0 12px; font-family: "STSong", "Songti SC", serif; font-size: 26px; line-height: 1.35; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 25px 0 9px; font-size: 17px; }
.prose p { margin: 10px 0; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 22px; color: var(--ink-soft); }
.prose li { margin: 7px 0; }
.document-aside { position: sticky; top: 24px; border-top: 2px solid var(--ink); padding-top: 16px; }
.document-aside strong { display: block; margin-bottom: 8px; }
.document-aside p { margin: 8px 0; color: var(--muted); font-size: 13px; }
.license-image { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

.support-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr); gap: clamp(30px, 6vw, 72px); align-items: start; }
.contact-stack { display: grid; gap: 18px; }
.contact-row { padding: 17px 0; border-top: 1px solid var(--line); }
.contact-row:first-child { border-top: 2px solid var(--ink); }
.contact-row span { display: block; color: var(--muted); font-size: 12px; }
.contact-row strong, .contact-row a { display: block; margin-top: 5px; color: var(--ink); font-size: clamp(18px, 2.5vw, 26px); font-family: "STSong", "Songti SC", serif; text-decoration: none; }
.support-form { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.support-form h2 { margin: 0; font-family: "STSong", "Songti SC", serif; font-size: 30px; }
.support-form > p { margin: 10px 0 24px; color: var(--muted); font-size: 13px; }
.field { margin-bottom: 17px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #beb5a7;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(36,101,83,0.12); outline: none; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.consent { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--teal); }
.form-status { min-height: 24px; margin-top: 12px; font-size: 13px; }
.form-status.error { color: #a12b22; }
.form-status.success { color: #1d654f; }
.process { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.process-step b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.process-step h3 { margin: 0 0 5px; font-size: 17px; }
.process-step p { margin: 0; color: var(--ink-soft); }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 42px; background: var(--paper-strong); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr); gap: 38px; }
.footer-brand strong { font-family: "STSong", "Songti SC", serif; font-size: 20px; }
.footer-brand p, .footer-meta p { margin: 8px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 12px; }
.footer-meta { text-align: right; }
.footer-meta a { color: var(--ink-soft); }
.status-pill { display: inline-flex; align-items: center; min-height: 26px; margin-top: 5px; padding: 0 9px; border: 1px solid #c89b5c; border-radius: 999px; background: #fff4e5; color: #65390e; font-size: 11px; font-weight: 700; }

@keyframes page-enter { from { opacity: 0; transform: translateY(12px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.hero > .site-wrap, .document-head { animation: page-enter 520ms cubic-bezier(.16,1,.3,1) both; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; } }

@media (max-width: 900px) {
  .hero-grid, .fee-panel, .document-body, .support-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero h1, .document h1 { max-width: 18ch; }
  .fee-notes { border-left: 0; border-top: 1px solid var(--line); }
  .document-aside { position: static; }
  .footer-meta { text-align: left; }
  .site-header-inner { min-height: auto; padding: 14px 0; flex-wrap: wrap; gap: 12px; }
  .site-nav { width: 100%; order: 3; margin-left: 0; }
  .header-call { margin-left: auto; }
}
@media (max-width: 640px) {
  .site-wrap { width: min(100% - 28px, 1160px); }
  .site-nav { gap: 0; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .site-nav a { flex: none; padding: 8px 9px; font-size: 12px; }
  .brand-copy span { display: none; }
  .header-call { padding: 0 12px; font-size: 12px; }
  .hero { padding-top: 48px; }
  .hero h1, .document h1 { font-size: clamp(34px, 12vw, 48px); }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .info-grid, .field-row { grid-template-columns: 1fr; }
  .fee-number strong { font-size: 64px; }
  .document { padding-top: 44px; }
}
