:root {
  --ink: #151b2c;
  --ink-2: #2c3346;
  --muted: #6f7585;
  --gold: #aa843c;
  --gold-soft: #d9bd7e;
  --paper: #faf9f6;
  --white: #ffffff;
  --line: #e7e5de;
  --line-dark: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --max: 1160px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img, svg { max-width: 100%; }
.container { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--ink); color: var(--gold-soft);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 21px; line-height: 1;
  border: 1px solid rgba(217, 189, 126, 0.5);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 16px; letter-spacing: 0.08em; color: var(--ink); font-weight: 600; }
.brand-text small { font-size: 10px; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; }
.site-nav { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.site-nav a { font-size: 14px; color: var(--ink-2); position: relative; padding: 6px 0; }
.site-nav a:hover { color: var(--gold); }
.site-nav a.active { color: var(--ink); font-weight: 600; }
.site-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--gold);
}
.nav-account { margin-left: 8px; display: flex; align-items: center; gap: 12px; }
.user-chip { font-size: 12px; color: var(--muted); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; font-size: 14px; letter-spacing: 0.02em;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #232c45; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #93702f; }
.btn-outline { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- typography ---------- */
.eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.display { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 60px); line-height: 1.35; color: var(--ink); font-weight: 600; margin: 18px 0 22px; letter-spacing: 0.01em; }
.h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.45; color: var(--ink); font-weight: 600; margin: 14px 0 18px; }
.h3 { font-size: 19px; color: var(--ink); font-weight: 600; margin: 0 0 10px; }
.lead { font-size: 16px; color: var(--muted); line-height: 2; max-width: 620px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.gold { color: var(--gold); }

/* ---------- layout ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.section-head .lead { margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.divider { height: 1px; background: var(--line); margin: 0; }

/* ---------- hero ---------- */
.hero { padding: 92px 0 84px; overflow: hidden; border-bottom: 1px solid var(--line); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .38;
  mask-image: linear-gradient(90deg, transparent, #000 60%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; }
.hero .display { max-width: 640px; }
.hero .lead { max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-visual { display: grid; place-items: center; }
.hero-visual svg { width: 100%; max-width: 400px; height: auto; }
.hero-meta { display: flex; gap: 36px; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta div span { display: block; font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.hero-meta div b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; margin-top: 4px; }

/* ---------- stats / cards ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 36px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--serif); font-size: 30px; color: var(--gold); line-height: 1; }
.stat .label { font-size: 13px; color: var(--muted); margin-top: 12px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: #d7ceb6; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(21, 27, 44, .05); }
.card-index { font-family: var(--serif); font-size: 13px; color: var(--gold); letter-spacing: .1em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .detail { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; display: none; }
.card.open .detail { display: block; }
.card-toggle { margin-top: 18px; background: none; border: 0; padding: 0; color: var(--gold); font-size: 13px; cursor: pointer; }
.card-toggle:hover { text-decoration: underline; }
.value-card { padding-left: 0; padding-right: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.value-card:hover { transform: none; box-shadow: none; }
.value-card .h3 { margin-top: 18px; }

/* ---------- page hero ---------- */
.page-hero { padding: 78px 0 66px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero .display { margin-bottom: 16px; }
.crumb { font-size: 12px; color: var(--muted); letter-spacing: .1em; margin-bottom: 26px; }
.crumb a:hover { color: var(--gold); }

/* ---------- timeline ---------- */
.timeline { border-left: 1px solid var(--line); padding-left: 30px; margin-top: 20px; }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before { content: ""; position: absolute; left: -35px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.timeline-item time { font-size: 12px; letter-spacing: .12em; color: var(--gold); }
.timeline-item p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- forms ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--paper); color: var(--ink); outline: none; transition: border-color .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); background: #fff; }
.field textarea { min-height: 128px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.field-error { font-size: 12.5px; color: #b4433a; margin-top: 6px; min-height: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.otp-row { display: flex; gap: 12px; }
.otp-row input { flex: 1; }
.notice { padding: 12px 16px; border-radius: 9px; font-size: 13.5px; margin-bottom: 20px; }
.notice-info { background: #f2efe6; color: #6b5a34; border: 1px solid #e5dcc2; }
.notice-error { background: #fcf0ef; color: #a33f36; border: 1px solid #f2d5d1; }
.notice-success { background: #eef6f0; color: #36704a; border: 1px solid #d2e8d9; }
[hidden] { display: none !important; }
.gate { text-align: center; padding: 26px 10px; }
.list-item { border-top: 1px solid var(--line); padding: 18px 0; }
.list-item:first-child { border-top: 0; }
.list-item .meta { font-size: 12px; color: var(--muted); }
.list-item p { margin: 8px 0 0; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.file-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }
.file-row:first-child { border-top: 0; }
.file-row .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62%; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #f1eee5; color: #7a6636; font-size: 11px; margin-left: 8px; }
.info-line { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-line:last-child { border-bottom: 0; }
.info-line span { color: var(--muted); width: 110px; flex-shrink: 0; }
.info-line b { color: var(--ink); font-weight: 500; }
.info-line b[data-setting-format="tel-list"], .info-line b.tel-static, .info-line b.wx-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tel-link { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.tel-link:hover { color: var(--gold); border-bottom-color: var(--gold-soft); }
.tel-sep { color: var(--muted); font-style: normal; opacity: .5; }
.tel-note { color: var(--muted); font-size: 12px; line-height: 1.4; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.wx-copy { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .3px; padding: 4px 12px; cursor: pointer; }
.wx-copy:hover { border-color: var(--gold); }
.wx-copy em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--gold); }
.kw-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.kw-grid span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 13px; color: var(--ink); font-weight: 600; }
.kw-group { margin-bottom: 18px; }
.kw-label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.kw-group .kw-grid { margin-bottom: 0; }

/* ---------- cta / footer ---------- */
.cta { background: var(--ink); color: #fff; padding: 76px 0; }
.cta .h2 { color: #fff; }
.cta .lead { color: rgba(255, 255, 255, .62); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.site-footer { background: #101624; color: rgba(255, 255, 255, .62); padding: 64px 0 26px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 42px; }
.site-footer b { color: #fff; font-weight: 600; }
.site-footer .brand-mark { background: transparent; border-color: rgba(217, 189, 126, .45); }
.site-footer .brand-text b { color: #fff; }
.site-footer ul { list-style: none; margin: 14px 0 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12px; }
.disclaimer { color: var(--gold-soft); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-visual { order: -1; }
  .hero-visual svg { max-width: 260px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 36px); }
  .header-inner { height: auto; padding: 14px 0; flex-wrap: wrap; gap: 12px 18px; }
  .site-nav { width: 100%; margin-left: 0; gap: 18px; flex-wrap: wrap; }
  .site-nav a { font-size: 13px; }
  .nav-account { margin-left: auto; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .grid-2, .grid-3, .grid-4, .stat-row, .field-row { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .stat:last-child { border-bottom: 0; }
  .panel { padding: 24px 20px; }
  .display { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
