:root { --accent: #13765b; --tint: #edf7ef; }
/* 基础变量与排版 */
:root { --ink: #172333; --muted: #596675; --line: #dce2e8; --paper: #fff; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.8 "Microsoft YaHei", "PingFang SC", sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: auto; }
.skip { position: absolute; top: -80px; }
.skip:focus { top: 10px; background: white; z-index: 30; }
header { border-bottom: 1px solid var(--line); background: #fff; }
.header-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 25px; font-weight: 800; }
.brand img { width: 38px; height: 38px; }
nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; }
nav a { padding: 10px 0; }
nav a[aria-current] { color: var(--accent); border-bottom: 2px solid var(--accent); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 10px 27px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: #fff; font-weight: 600; }
.button.secondary { color: var(--ink); background: white; border-color: var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 20px; }
.hero { background: var(--tint); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 80px 0; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 2px; }
h1 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.2; letter-spacing: -2px; margin: 20px 0 24px; }
h2 { font-size: 32px; line-height: 1.4; margin: 0 0 16px; }
h3 { font-size: 20px; margin: 0 0 12px; }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: 18px; max-width: 640px; }
.small { font-size: 13px; }
figure { margin: 0; }
.demo { padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px #19385418; }
.demo img { display: block; width: 100%; height: auto; border-radius: 6px; }
figcaption { color: var(--muted); font-size: 12px; text-align: center; padding-top: 8px; }
section.block { padding: 76px 0; }
.section-head { max-width: 680px; margin-bottom: 34px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { border: 1px solid var(--line); padding: 30px; border-radius: 12px; background: white; }
.number { display: block; color: var(--accent); font-size: 13px; margin-bottom: 24px; font-weight: 700; }
.text-link { display: inline-block; color: var(--accent); border-bottom: 1px solid currentColor; }
.soft { background: var(--tint); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.steps { list-style: none; counter-reset: steps; margin: 0; padding: 0; }
.steps li { counter-increment: steps; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps strong { display: block; margin-bottom: 5px; }
.steps strong::before { content: counter(steps, decimal-leading-zero); color: var(--accent); margin-right: 18px; }
.cta { margin: 0 auto 70px; padding: 45px; border-radius: 16px; background: var(--tint); display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta p { margin-bottom: 0; }
footer { padding: 38px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; gap: 32px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.breadcrumb { font-size: 13px; padding-top: 24px; color: var(--muted); }
.page-intro { padding: 48px 0 58px; max-width: 800px; }
.page-intro h1 { font-size: 48px; }
details { border-bottom: 1px solid var(--line); padding: 24px 0; }
summary { cursor: pointer; font-size: 19px; font-weight: 600; }
details p { margin: 18px 0 0; max-width: 850px; }
.table-scroll { overflow: auto; }
table { border-collapse: collapse; width: 100%; min-width: 600px; margin-top: 35px; }
th, td { border-bottom: 1px solid var(--line); padding: 18px; text-align: left; }
th { background: var(--tint); }
/* 各套模板的独立布局 */
.theme-2 { --paper: #fcfdf9; }
.theme-2 .hero-grid { grid-template-columns: 1.05fr 1fr; }
.theme-2 .hero-copy { order: 2; }
.theme-2 .card, .theme-2 .demo { border-radius: 2px; }
.theme-2 .button { border-radius: 30px; }
.theme-3 .hero-grid { grid-template-columns: 1fr; text-align: center; padding-bottom: 50px; gap: 32px; }
.theme-3 .hero-copy { max-width: 850px; margin: auto; }
.theme-3 .hero-copy .lead { margin: auto; }
.theme-3 .actions { justify-content: center; }
.theme-3 .hero .demo { max-width: 860px; width: 100%; margin: auto; }
.theme-3 .card { border-radius: 20px; }
.theme-4 { --paper: #fffdf9; }
.theme-4 .hero { border-bottom: 1px solid var(--line); }
.theme-4 .hero-grid { grid-template-columns: .85fr 1.15fr; }
.theme-4 .button, .theme-4 .card, .theme-4 .demo { border-radius: 0; }
.theme-4 .grid { gap: 0; }
.theme-4 .card { border-right: 0; }
.theme-4 .card:last-child { border-right: 1px solid var(--line); }
@media (max-width: 850px) {
    .header-row { flex-wrap: wrap; padding: 18px 0; gap: 12px; }
    nav { order: 3; width: 100%; gap: 22px; }
    .header-row > .button { font-size: 13px; min-height: 40px; padding: 7px 18px; }
    .hero-grid, .theme-2 .hero-grid, .theme-4 .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
    .theme-2 .hero-copy { order: 0; }
    .hero-grid { padding: 48px 0; }
    .grid { grid-template-columns: 1fr; }
    .theme-4 .card { border-right: 1px solid var(--line); }
    section.block { padding: 48px 0; }
    .cta, .footer-row { flex-direction: column; align-items: flex-start; }
    .cta { padding: 28px; }
    .wrap { width: calc(100% - 32px); }
    h1, .page-intro h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    .animated-demo { display: none !important; }
    .still-demo { display: block !important; }
}
.still-demo { display: none !important; }
