:root {
  --ink: #1a2140;
  --ink-soft: #3d4a66;
  --muted: #6b6b6b;
  --line: #e6e8f0;
  --line-soft: rgba(230, 232, 240, 0.72);
  --bg: #f5f5f5;
  --card: #ffffff;
  --accent: #17ab66;
  --accent-btn: #0f7a47;
  --accent-text: #0e7d4a;
  --accent-dark: #0b6339;
  --accent-ink: #18593a;
  --accent-soft: rgba(23, 171, 102, 0.1);
  --accent-soft-2: rgba(23, 171, 102, 0.16);
  --lavender: #f4f2ff;
  --lavender-line: #ddd4f5;
  --lavender-ink: #4c3d72;
  --radius: 15px;
  --container: 1320px;
  --shadow: 0 1px 2px rgba(26, 33, 64, 0.05), 0 12px 32px rgba(26, 33, 64, 0.06);
  --font: "Microsoft YaHei", "PingFang SC", "Segoe UI", -apple-system, BlinkMacSystemFont,
    "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent-soft-2); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.home { width: 100%; }
.home-body { display: block; }
.home-body > section:not(.hero-banner) { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.home-body > .cta-band { width: min(var(--container), 100% - 48px); margin: 2.4em auto; }
.home > .layout { padding: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff;
  padding: 8px 14px; border-radius: 10px; z-index: 100;
}
.skip-link:focus { left: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 68px; padding: 6px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 10px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: 0.2px; color: var(--ink); }
.brand-tag { font-size: 12px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); font-size: 14.5px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: var(--lavender); color: var(--ink); text-decoration: none; }
.nav a.is-active { color: var(--accent-ink); background: var(--accent-soft); font-weight: 600; }
.nav .nav-cta {
  margin-left: 8px; background: var(--accent-btn); color: #fff !important; font-weight: 600;
  padding: 9px 18px; border-radius: 12px; font-size: 14.5px;
  box-shadow: 0 6px 16px rgba(23, 171, 102, 0.22);
}
.nav .nav-cta:hover { background: var(--accent-dark); text-decoration: none; }

/* ---------- breadcrumb ---------- */
.breadcrumb { padding: 22px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #c9cede; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li[aria-current] { color: var(--ink-soft); }

/* ---------- layout ---------- */
.layout { padding: 28px 0 80px; }
.layout.with-toc {
  display: grid; grid-template-columns: minmax(0, 1fr) 290px;
  grid-template-areas: "article toc"; gap: 56px; align-items: start;
}
.layout.with-toc > .article { grid-area: article; min-width: 0; }
.layout.with-toc > .toc { grid-area: toc; }
.layout:not(.with-toc) > .article { width: 100%; }
.article { min-width: 0; }
.article p { margin: 0 0 1em; color: var(--ink-soft); }
.article strong { color: var(--ink); }
.article h1 {
  font-size: clamp(30px, 4vw, 40px); line-height: 1.3; letter-spacing: -0.4px;
  margin: 0 0 16px; color: var(--ink); font-weight: 700;
}
.article h2 {
  font-size: 23px; line-height: 1.42; margin: 2em 0 0.6em; color: var(--ink); font-weight: 700;
}
.article h3 { font-size: 18px; margin: 1.4em 0 0.4em; color: var(--ink); font-weight: 600; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1em; color: var(--ink-soft); }
.article li { margin-bottom: 0.35em; }
.article li::marker { color: #9fcdb6; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.article code {
  background: #f1f3f9; border: 1px solid #e4e8f2; border-radius: 6px;
  padding: 1px 6px; font-size: 0.92em; color: var(--lavender-ink);
}

.page-lede {
  font-size: 18px; line-height: 1.8; color: var(--ink-soft);
  padding-left: 16px; border-left: 3px solid var(--accent);
  margin: 0 0 1.5em !important;
}
.page-meta {
  font-size: 13px; color: var(--muted); margin: 0 0 1.6em !important;
  padding-bottom: 1.1em; border-bottom: 1px solid var(--line);
}

/* ---------- toc ---------- */
.toc {
  position: sticky; top: 92px; font-size: 13.5px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.toc-title { margin: 0 0 10px; font-weight: 600; font-size: 12.5px; letter-spacing: 0.08em; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.toc a { color: var(--ink-soft); display: block; padding: 5px 9px; border-radius: 8px; line-height: 1.5; }
.toc a:hover { background: var(--lavender); color: var(--ink); text-decoration: none; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 18px; margin: 1.6em 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-2px); border-color: #b9e4cd; text-decoration: none;
  box-shadow: 0 2px 4px rgba(26, 33, 64, 0.05), 0 18px 40px rgba(23, 171, 102, 0.12);
}
.card-kicker {
  display: inline-block; font-size: 12px; letter-spacing: 0.06em;
  color: var(--accent-ink); background: var(--accent-soft);
  padding: 2px 9px; border-radius: 999px; margin-bottom: 10px;
}
.card h3 { font-size: 17.5px; margin: 0 0 8px; line-height: 1.45; color: var(--ink); }
.card p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }

/* ---------- hero banner ---------- */
.hero-banner {
  position: relative; height: clamp(520px, calc(100vh - 96px), 720px);
  background: var(--lavender); overflow: hidden; border-bottom: 1px solid var(--lavender-line);
}
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s ease; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transition: transform 9s ease;
}
.slide.is-active .slide-bg { transform: scale(1); }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.7) 46%, rgba(255, 255, 255, 0.1) 100%);
}
.slide-content {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 36px 0 80px; color: var(--ink);
}
.slide-content > .eyebrow, .slide-content > h1, .slide-content > .slide-title,
.slide-content > .lead, .slide-content > .hero-note { max-width: 700px; }

.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 0.08em;
  color: var(--accent-ink); background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 171, 102, 0.24);
  padding: 4px 12px; border-radius: 999px; margin: 0 0 16px;
}
.hero-banner h1, .hero-banner .slide-title {
  font-size: clamp(32px, 4vw, 50px); line-height: 1.22; letter-spacing: -0.8px;
  margin: 0 0 18px; color: var(--ink); font-weight: 700;
}
.hero-banner .lead { font-size: 17.5px; line-height: 1.8; max-width: 34em; color: #5d6b8a; margin: 0; }
.hero-banner .cta-row { margin: 26px 0 0; }
.hero-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 11px 22px; border-radius: 12px; font-size: 15px; font-weight: 600; transition: 0.16s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent-btn); color: #fff; box-shadow: 0 8px 20px rgba(23, 171, 102, 0.24); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #b9e4cd; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0d1226; color: #fff; }
.btn-outline-light { background: rgba(255, 255, 255, 0.82); color: var(--ink); border: 1px solid #dfe2ee; }
.btn-outline-light:hover { background: #fff; border-color: #c9d0e4; color: var(--ink); }

.carousel-arrow {
  position: absolute; bottom: 22px; z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid #dfe2ee;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 20px; line-height: 1;
  cursor: pointer; box-shadow: 0 4px 14px rgba(26, 33, 64, 0.1); transition: 0.18s ease;
}
.carousel-arrow:hover { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }
.carousel-arrow.prev { right: 78px; }
.carousel-arrow.next { right: 24px; }
.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 5;
  display: flex; justify-content: center; gap: 4px;
}
.dot {
  width: 24px; height: 24px; padding: 0; border-radius: 999px; border: 0;
  background: transparent; cursor: pointer; display: grid; place-items: center;
}
.dot::after {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: #c3c8d8; transition: width 0.22s ease, background 0.22s ease;
}
.dot.is-active::after { width: 24px; background: var(--accent); }

/* ---------- stats ---------- */
.stat-band { background: #fff; border-bottom: 1px solid var(--line); padding: 20px 0; }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 auto; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 16px 18px; }
.stat b { display: block; font-size: 24px; line-height: 1.2; color: var(--ink); letter-spacing: -0.5px; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- service lines ---------- */
.lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 1.6em 0; }
.line-card {
  border-radius: 18px; padding: 26px 28px; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow);
}
.line-card.dark { background: linear-gradient(160deg, #f6f3ff, #f4f2ff); border-color: var(--lavender-line); }
.line-card.accent { background: linear-gradient(160deg, #f2fcf7, #eafaf2); border-color: #b9e4cd; }
.line-tag {
  display: inline-block; font-size: 12px; letter-spacing: 0.06em; padding: 3px 10px;
  border-radius: 999px; background: #fff; color: var(--accent-ink);
  border: 1px solid rgba(23, 171, 102, 0.22); margin-bottom: 12px;
}
.line-card.dark .line-tag { color: var(--lavender-ink); border-color: var(--lavender-line); }
.line-card h3 { font-size: 22px; margin: 0 0 10px; letter-spacing: -0.2px; color: var(--ink); }
.line-card p { margin: 0 0 14px; font-size: 15px; color: var(--ink-soft); }
.line-card ul { margin: 0 0 18px; padding-left: 1.1em; font-size: 14.5px; color: var(--ink-soft); }
.line-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block; font-size: 13px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-soft); background: #fff;
}
.chip:hover { text-decoration: none; border-color: #b9e4cd; color: var(--accent-ink); }

/* ---------- steps ---------- */
.step-list { counter-reset: step; list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 12px; }
.step-list li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 18px 22px 18px 64px; margin: 0;
}
.step-list li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 18px;
  width: 28px; height: 28px; border-radius: 9px; background: var(--accent-soft);
  color: var(--accent-ink); font-size: 14px; font-weight: 700; display: grid; place-items: center;
}
.step-list strong { display: block; margin-bottom: 2px; color: var(--ink); }
.step-list span { color: var(--muted); font-size: 14.5px; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 1.6em 0; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.price-card.featured { border-color: #b9e4cd; background: linear-gradient(180deg, #f7fdf9, #fff 45%); box-shadow: 0 18px 44px rgba(23, 171, 102, 0.12); }
.price-card .plan { font-size: 12.5px; color: var(--muted); letter-spacing: 0.08em; margin: 0 0 6px; }
.price-card .price { font-size: 30px; font-weight: 700; letter-spacing: -0.8px; line-height: 1.2; margin: 0; color: var(--ink); }
.price-card .price small { font-size: 13.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card .price-note { font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.price-card li::before { content: "·"; color: var(--accent); font-weight: 700; margin-right: 7px; }
.price-card .btn { margin-top: auto; text-align: center; }

/* ---------- proof & cta ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 1.6em 0; }
.proof { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.proof b { display: block; font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.proof p { font-size: 14px; color: var(--muted); margin: 0; }

.cta-band {
  margin: 2.4em 0; padding: 30px 32px; border-radius: 18px;
  background: linear-gradient(135deg, #f4f2ff, #eefaf4);
  border: 1px solid var(--lavender-line);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: var(--ink); margin: 0 0 6px; font-size: 23px; }
.cta-band p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- tables & callout ---------- */
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f6f4ff; font-weight: 600; white-space: nowrap; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
td { color: var(--ink-soft); }

.callout {
  background: #f6fdf9; border: 1px solid #cdeadd; border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 1.6em 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout-label { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--accent-ink); margin-bottom: 6px; }

/* ---------- form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fbfbfe;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; line-height: 1.6;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: #8fd7b6; background: #fff; box-shadow: 0 0 0 3px rgba(23, 171, 102, 0.14);
}
.hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }

/* ---------- faq & related ---------- */
.faq { margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--accent-text); font-weight: 500; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 14px; font-size: 15px; }
.related { margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--line); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; margin: 1.8em 0; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 18px; margin: 0 0 14px; color: var(--ink); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { font-size: 15px; color: var(--ink-soft); display: grid; gap: 2px; }
.contact-list .k { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.contact-list a { font-weight: 600; }

/* ---------- post list ---------- */
.post-list { display: grid; gap: 14px; margin: 1.4em 0; }
.post-item {
  display: grid; gap: 4px; background: #fff; border: 1px solid var(--line);
  border-radius: 13px; padding: 18px 20px; box-shadow: var(--shadow);
}
.post-item:hover { border-color: #b9e4cd; text-decoration: none; }
.post-item .meta { font-size: 12.5px; color: var(--muted); }
.post-item h3 { font-size: 17px; margin: 0; color: var(--ink); }
.post-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- footer ---------- */
.site-footer { margin-top: 40px; background: #eef0f6; color: #6b6b6b; padding: 46px 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 30px; padding-bottom: 34px; }
.footer-brand { color: var(--ink); font-weight: 700; font-size: 17px; margin: 0 0 8px; }
.footer-desc { font-size: 13.5px; line-height: 1.75; margin: 0 0 10px; max-width: 30em; }
.footer-icp { font-size: 12.5px; color: #8a8fa3; margin: 0; }
.footer-title { color: var(--ink); font-size: 13px; letter-spacing: 0.06em; margin: 0 0 12px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: #6b6b6b; font-size: 14px; }
.site-footer a:hover { color: var(--accent-ink); }
.footer-bottom {
  border-top: 1px solid #dfe2ec; display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: space-between; padding: 16px 0 22px; font-size: 12.5px;
}
.footer-bottom p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .layout.with-toc { grid-template-columns: 1fr; grid-template-areas: "toc" "article"; gap: 26px; }
  .layout.with-toc > .toc { position: static; }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid, .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 6px; padding: 9px 0; }
  .brand-tag { display: none; }
  .nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .nav a { white-space: nowrap; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav a { font-size: 14px; padding: 6px 10px; }
  .nav .nav-cta { margin-left: 6px; padding: 7px 14px; }
  .hero-banner { height: clamp(480px, calc(100vh - 150px), 660px); }
  .slide-overlay { background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 62%, rgba(255, 255, 255, 0.55) 100%); }
  .slide-content { justify-content: flex-end; padding: 26px 0 72px; }
  .hero-banner h1, .hero-banner .slide-title { font-size: 29px; }
  .hero-banner .lead { font-size: 15.5px; }
  .carousel-arrow { display: none; }
  .lines, .grid-2, .grid-3, .price-grid, .proof-grid, .form-row, .toc ol { grid-template-columns: 1fr; }
  .article h2 { font-size: 21px; }
  .page-lede { font-size: 16.5px; }
  .cta-band { padding: 24px 22px; }
}

@media print {
  .site-header, .toc, .site-footer, .skip-link, .cta-band, .carousel-arrow, .carousel-dots { display: none; }
  body { background: #fff; font-size: 12pt; }
  .layout { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .slide-bg { transition: none; }
  .slide-bg { transform: none; }
  html { scroll-behavior: auto; }
}

/* ================= 活力增强：渐变、插图、版式 ================= */
.grad {
  background: linear-gradient(92deg, #0e9f6e 0%, #0891b2 55%, #7c5cfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-primary,
.nav .nav-cta {
  background: linear-gradient(135deg, #0a7d55 0%, #0e7490 100%);
  box-shadow: 0 10px 24px rgba(14, 124, 144, 0.26), 0 4px 12px rgba(10, 125, 85, 0.22);
}
.btn-primary:hover,
.nav .nav-cta:hover {
  filter: brightness(1.12);
  background: linear-gradient(135deg, #0a7d55 0%, #0e7490 100%);
}

.hero-banner h1,
.hero-banner .slide-title { font-size: clamp(34px, 4.2vw, 56px); }

.article h2 { font-size: 26px; font-weight: 800; }

.stat b {
  background: linear-gradient(90deg, #0e9f6e, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 760px; margin: 0 0 26px; }
.section-head h2 {
  margin: 0 0 8px; font-size: clamp(26px, 3vw, 34px); font-weight: 800;
  line-height: 1.3; color: var(--ink); letter-spacing: -0.3px;
}
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }

.panel {
  border-radius: 26px; padding: 34px 34px 30px;
  border: 1px solid var(--line);
}
.panel-mint { background: linear-gradient(135deg, #f0fdf8 0%, #eefaff 100%); border-color: #d9f2e7; }
.panel-lav { background: linear-gradient(135deg, #f8f5ff 0%, #fff3f8 100%); border-color: #eadffb; }

.line-visual {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 12px; margin-bottom: 18px;
  border: 1px solid rgba(26, 33, 64, 0.07);
}
.card-visual {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 12px; margin-bottom: 14px;
  border: 1px solid rgba(26, 33, 64, 0.07);
}
.visual-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.visual-card img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 12px; margin-bottom: 14px;
  border: 1px solid rgba(26, 33, 64, 0.06);
}
.visual-card b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.visual-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 42px; align-items: center; }
.split-visual {
  width: 100%; border-radius: 20px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.step-list.compact li { padding: 13px 18px 13px 58px; }
.step-list.compact li::before { top: 13px; left: 16px; width: 26px; height: 26px; }
.step-list.compact span { display: block; font-size: 13.5px; }

.page-visual { margin: 0 0 1.8em; }
.page-visual img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.post-item { grid-template-columns: 168px minmax(0, 1fr); gap: 18px; align-items: center; }
.post-thumb {
  width: 168px; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 10px; border: 1px solid rgba(26, 33, 64, 0.06);
}
.post-item > div { display: grid; gap: 4px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .post-item { grid-template-columns: 1fr; gap: 12px; }
  .post-thumb { width: 100%; aspect-ratio: 16 / 9; }
  .panel { padding: 24px 20px; border-radius: 20px; }
}

@media (max-width: 700px) {
  .page-visual img { aspect-ratio: 4 / 3; }
  .hero-banner h1, .hero-banner .slide-title { font-size: 28px; }
}

/* 修复：width/height 属性会锁死高度，需要让 CSS 宽高比生效 */
.line-visual,
.card-visual,
.visual-card img,
.page-visual img,
.post-thumb,
.split-visual { height: auto; }

/* 渐变文字的降级：不支持 background-clip 或强制色彩模式下保持可读 */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad { color: var(--accent-ink); background: none; }
}
@media (forced-colors: active) {
  .grad { color: CanvasText; background: none; }
}

/* ================= 紫橙主题 · 间距 · 数字动效 ================= */
:root {
  --accent: #7c3aed;
  --accent-btn: #6d28d9;
  --accent-text: #6d28d9;
  --accent-dark: #5b21b6;
  --accent-ink: #4c1d95;
  --accent-soft: rgba(124, 58, 237, 0.1);
  --accent-soft-2: rgba(124, 58, 237, 0.16);
  --orange: #ea580c;
  --orange-deep: #c2410c;
  --orange-soft: rgba(249, 115, 22, 0.12);
  --lavender: #f7f2ff;
  --lavender-line: #e4d8fb;
  --lavender-ink: #4c1d95;
  --line: #e7e2f0;
  --line-soft: rgba(231, 226, 240, 0.75);
}

body { line-height: 1.9; }
a { color: var(--accent-text); }
a:hover { color: var(--accent-ink); }
::selection { background: var(--accent-soft-2); }
:focus-visible { outline-color: var(--accent); }

.btn-primary,
.nav .nav-cta {
  background: linear-gradient(135deg, #6d28d9 0%, #c2410c 100%);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.26), 0 4px 12px rgba(194, 65, 12, 0.22);
}
.btn-primary:hover,
.nav .nav-cta:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #c2410c 100%);
  filter: brightness(1.12);
}
.btn-ghost:hover { border-color: #cbb6f5; color: var(--accent-ink); }
.btn-outline-light:hover { border-color: #cbb6f5; color: var(--accent-ink); }

.grad {
  background: linear-gradient(92deg, #6d28d9 0%, #c2410c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  color: #6d28d9;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(249, 115, 22, 0.1));
  border-color: rgba(124, 58, 237, 0.22);
}
.stat b {
  background: linear-gradient(90deg, #6d28d9, #c2410c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: filter 0.25s ease;
}
.stat { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.stat:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(124, 58, 237, 0.12); }
.stat:hover b { filter: drop-shadow(0 6px 16px rgba(124, 58, 237, 0.28)); }

.section-head { margin-bottom: 34px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 12px; line-height: 1.35; }
.section-head p { line-height: 1.85; }
.hero-banner .lead { line-height: 1.95; }
.article p { margin-bottom: 1.15em; }
.article li { margin-bottom: 0.5em; line-height: 1.85; }
.article h2 { margin: 2.3em 0 0.8em; }
.article h3 { margin: 1.7em 0 0.5em; }
.article li::marker { color: #bda7f5; }
.article code { background: #f5f0ff; border-color: #e6dcfa; color: var(--lavender-ink); }
.page-lede { line-height: 1.9; }
.card p { line-height: 1.8; }

.card:hover {
  border-color: #cbb6f5;
  box-shadow: 0 2px 4px rgba(26, 33, 64, 0.05), 0 18px 40px rgba(124, 58, 237, 0.12);
}
.card-kicker { color: var(--accent-ink); background: var(--accent-soft); }
.line-card.dark { background: linear-gradient(160deg, #f8f3ff, #f2ebff); border-color: #e4d8fb; }
.line-card.accent { background: linear-gradient(160deg, #fff7f1, #ffefe3); border-color: #f5d3bb; }
.line-tag { color: #6d28d9; border-color: rgba(124, 58, 237, 0.22); }
.line-card.dark .line-tag { color: #4c1d95; border-color: #e4d8fb; }
.chip:hover { border-color: #cbb6f5; color: var(--accent-ink); }
.price-card.featured {
  border-color: #d9c6fb;
  background: linear-gradient(180deg, #faf5ff, #fff 45%);
  box-shadow: 0 18px 44px rgba(124, 58, 237, 0.12);
}
.price-card li::before { color: var(--accent); }
.callout { background: #fbf5ff; border-color: #e6d9fb; border-left-color: var(--accent); }
.callout-label { color: var(--accent-ink); }
.panel-lav { background: linear-gradient(135deg, #f8f3ff 0%, #fff1e8 100%); border-color: #e8dcfb; }
.panel-peach { background: linear-gradient(135deg, #fff6ef 0%, #f6efff 100%); border-color: #f3ddc8; }
th { background: #f6f1ff; }
.field input:focus,
.field textarea:focus { border-color: #b9a2f2; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14); }
.faq-item summary::after { color: var(--accent-text); }
.toc a:hover { background: var(--lavender); color: var(--accent-ink); }
.post-item:hover { border-color: #cbb6f5; }
.nav a.is-active { color: var(--accent-ink); background: var(--accent-soft); }
.nav a:hover { background: var(--lavender); }
.site-footer a:hover { color: var(--accent-ink); }
.dot.is-active::after { background: var(--accent); }
.carousel-arrow:hover { background: var(--accent-btn); border-color: var(--accent-btn); }
