:root {
  --ink: #13211b;
  --muted: #5a675f;
  --paper: #f4efe4;
  --sheet: #fffaf1;
  --line: #d8d0c2;
  --forest: #10382c;
  --forest-2: #1a5642;
  --sun: #d13a27;
  --sun-deep: #b22e1e;
  --gold: #c4a46a;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 92% -10%, rgba(209, 58, 39, 0.12), transparent 60%),
    linear-gradient(180deg, #f7f3ea 0%, var(--paper) 220px);
  line-height: 1.75;
}
img { max-width: 100%; }
a { color: inherit; }
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus {
  left: 12px;
  z-index: 30;
  background: #fff;
  padding: 8px 12px;
}

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 56, 44, 0.96);
  color: #f6f1e6;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}
.brand img { width: 36px; height: 32px; object-fit: contain; flex: none; }
.brand span { font-size: 15px; letter-spacing: 0.04em; white-space: nowrap; }
.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(246, 241, 230, 0.62);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: rgba(246, 241, 230, 0.82);
  text-decoration: none;
  font-size: 14px;
  border-radius: 999px;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}
.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 160ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-sun {
  background: var(--sun);
  color: #fff;
}
.btn-sun:hover { background: var(--sun-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: #fff; }
.btn-light {
  background: #fff;
  color: var(--forest);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: #fff;
  border-radius: 10px;
}
.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  position: relative;
  margin: 0 auto;
}
.nav-toggle span:before,
.nav-toggle span:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span:before { top: -5px; }
.nav-toggle span:after { top: 5px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
}
.hero:after {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #e24a34 0%, #d13a27 46%, transparent 72%);
  opacity: 0.9;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: center;
}
.kicker {
  margin: 0 0 12px;
  color: var(--sun);
  letter-spacing: 0.18em;
  font-size: 12px;
}
h1, h2, h3 {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
h1 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; }
h3 { font-size: 20px; margin: 0 0 8px; }
.lede { font-size: 17px; color: var(--muted); max-width: 36em; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.panel {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 18px 40px rgba(19, 33, 27, 0.06);
}
.panel-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.panel-logo img { width: 56px; height: 50px; }
.panel dl { margin: 0; display: grid; gap: 10px; }
.panel div { display: grid; gap: 2px; }
.panel dt { color: var(--muted); font-size: 12px; }
.panel dd { margin: 0; }
.panel a { color: var(--forest-2); text-decoration: none; border-bottom: 1px solid rgba(26, 86, 66, 0.25); }
.panel a:hover { border-bottom-color: var(--forest-2); }

.section { padding: 28px 0 56px; }
.section-head { max-width: 38em; margin-bottom: 22px; }
.section-head p { margin: 0; color: var(--muted); }
.num {
  display: inline-block;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 12px;
  margin-bottom: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 196px;
  padding: 22px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: #c9b79a;
  box-shadow: 0 16px 28px rgba(19, 33, 27, 0.06);
}
.card:active { transform: scale(0.99); }
.card p { margin: 0 0 16px; color: var(--muted); flex: 1; }
.more {
  font-size: 13px;
  color: var(--sun);
  letter-spacing: 0.04em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.prose p { margin: 0 0 14px; }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fact {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.fact b { display: block; font-size: 28px; line-height: 1.1; color: var(--forest); }
.fact span { color: var(--muted); font-size: 13px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  text-decoration: none;
}
.step i {
  display: block;
  font-style: normal;
  color: var(--sun);
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.step p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.cta {
  margin: 10px 0 70px;
  background: var(--forest);
  color: #f6f1e6;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.cta p { margin: 8px 0 0; color: rgba(246, 241, 230, 0.74); }

.page-hero { padding: 48px 0 12px; }
.page-hero p { color: var(--muted); max-width: 40em; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}
.field { display: grid; gap: 6px; margin-bottom: 12px; }
label { font-size: 13px; color: var(--muted); }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(209, 58, 39, 0.25);
  border-color: #e08a7d;
}
.form-note {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #eef6f1;
  color: var(--forest);
}
.form-note.is-on { display: block; }
button.btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 4px; color: var(--muted); }

.site-footer {
  background: #0c241c;
  color: rgba(246, 241, 230, 0.78);
  padding: 36px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}
.site-footer a { color: #f6f1e6; text-decoration: none; }
.site-footer a:hover { color: #ffd7b0; }
.site-footer h3 { font-size: 16px; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.icp {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero-grid, .split, .cards, .steps, .contact-grid, .foot-grid, .facts { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: #0f3328;
    padding: 10px 16px 16px;
    flex-direction: column;
    align-items: stretch;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links .btn-sun { margin-top: 8px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
