:root {
  --ink: #152522;
  --muted: #60716d;
  --forest: #0b3b36;
  --forest-2: #13564e;
  --mint: #d8f064;
  --cream: #f4f1e8;
  --paper: #fffdf7;
  --line: #d9dfda;
  --danger: #a9462d;
  --shadow: 0 24px 70px rgba(22, 47, 42, .12);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }
.narrow-left { width: min(860px, 100%); }
.section { padding: 96px 0; }
.tone { background: var(--cream); }
.kicker { display: block; margin-bottom: 12px; color: var(--forest-2); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(44px, 6vw, 82px); }
h2 { font-size: clamp(32px, 4vw, 50px); }
h3 { font-size: 22px; }
p { color: var(--muted); }

.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(11, 59, 54, .1); background: rgba(255, 253, 247, .92); backdrop-filter: blur(18px); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--mint); background: var(--forest); font-size: 20px; font-weight: 900; }
.brand span:last-child { display: grid; }
.brand strong { font-size: 18px; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.site-header nav a:hover { color: var(--forest-2); }
.site-header .nav-cta { padding: 10px 18px; border-radius: 999px; color: var(--mint); background: var(--forest); }

.hero { overflow: hidden; padding: 94px 0 104px; color: white; background: var(--forest); position: relative; }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border: 1px solid rgba(216, 240, 100, .18); border-radius: 50%; box-shadow: 0 0 0 80px rgba(216, 240, 100, .035), 0 0 0 160px rgba(216, 240, 100, .02); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 80px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #d4e2de; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.eyebrow span { width: 34px; height: 2px; background: var(--mint); }
.hero h1 { max-width: 760px; margin: 24px 0; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-lead { max-width: 690px; color: #cbd9d5; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; font: inherit; font-weight: 800; cursor: pointer; }
.button:hover { transform: translateY(-1px); }
.button.primary { border-color: var(--mint); color: var(--forest); background: var(--mint); }
.button.ghost { color: inherit; background: transparent; border-color: rgba(255,255,255,.28); }
.button.wide { width: 100%; }
.button.small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.button:disabled { opacity: .55; cursor: wait; }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; color: #b8cac5; font-size: 13px; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--mint); }
.hero-panel { padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(255,255,255,.07); box-shadow: 0 20px 60px rgba(0,0,0,.16); backdrop-filter: blur(10px); }
.status-line { display: flex; align-items: center; gap: 8px; color: #bcd0cb; font-size: 12px; }
.status-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(216,240,100,.12); }
.hero-panel h2 { margin: 20px 0; font-size: 28px; }
.hero-panel ol { list-style: none; padding: 0; margin: 0; }
.hero-panel li { display: flex; gap: 15px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.hero-panel li b { color: var(--mint); font: 700 12px monospace; }
.hero-panel li span { display: grid; }
.hero-panel li small { margin-top: 3px; color: #aebfbb; }
.panel-meta { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #bcd0cb; font-size: 13px; }
.panel-meta strong { color: white; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 390px; margin: 0; }
.section-heading > a { color: var(--forest-2); font-weight: 800; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 248px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: .22s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #aec5bd; box-shadow: var(--shadow); }
.service-index { color: #81948e; font: 700 12px monospace; }
.service-card h3 { margin: 26px 0 12px; }
.service-card p { font-size: 14px; }
.card-link { margin-top: auto; color: var(--forest-2); font-size: 13px; font-weight: 800; }

.split-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.split-section > div:first-child p { max-width: 470px; font-size: 18px; }
.promise { display: grid; gap: 6px; padding: 22px; border-left: 4px solid var(--mint); background: white; }
.promise span { color: var(--muted); font-size: 14px; }
.steps { border-top: 1px solid #cbd3cc; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid #cbd3cc; }
.step b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--mint); background: var(--forest); }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; font-size: 14px; }

.request-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.request-copy { position: sticky; top: 120px; }
.request-copy > p { font-size: 18px; }
.contact-card { display: grid; gap: 5px; margin-top: 32px; padding: 24px; color: white; border-radius: var(--radius); background: var(--forest); }
.contact-card small { color: #a9bfba; }
.contact-card a { color: var(--mint); font-size: 26px; font-weight: 900; letter-spacing: .02em; }
.contact-card span { color: #ccdad7; font-size: 13px; }
.lead-form { padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.lead-form label, .admin-form-card label { display: grid; gap: 7px; margin-bottom: 18px; color: #334642; font-size: 13px; font-weight: 800; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select, textarea { width: 100%; border: 1px solid #cbd5d0; border-radius: 10px; background: #fbfcfa; color: var(--ink); font: inherit; font-weight: 500; outline: none; }
input, select { height: 48px; padding: 0 13px; }
textarea { padding: 12px 13px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(19,86,78,.1); }
.form-time { display: grid; align-content: center; min-height: 70px; padding: 0 15px; border-radius: 10px; background: var(--cream); }
.form-time span { color: var(--muted); font-size: 12px; }
.consent { grid-template-columns: auto 1fr !important; align-items: start; gap: 9px !important; font-weight: 500 !important; }
.consent input { width: 17px; height: 17px; margin: 3px 0 0; }
.consent a { color: var(--forest-2); text-decoration: underline; }
.form-note { margin: 12px 0 0; font-size: 12px; text-align: center; }
.form-result { display: none; margin-top: 16px; padding: 14px; border-radius: 10px; }
.form-result.success, .form-result.error { display: grid; gap: 3px; }
.form-result.success { color: #165548; background: #e5f3ed; }
.form-result.error { color: #813720; background: #fbe8e1; }
.form-result span, .form-result small { font-size: 13px; }
.honeypot { position: absolute !important; left: -9999px !important; }

.articles-preview { background: #f8faf7; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { min-height: 250px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.article-card > span { color: var(--forest-2); font-size: 12px; font-weight: 900; }
.article-card h3 { margin: 22px 0 12px; }
.article-card p { font-size: 14px; }
.article-card small { margin-top: auto; color: #788a85; }
.faq-section h2 { margin-bottom: 32px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 0; cursor: pointer; font-weight: 850; }
.faq-list p { padding: 0 30px 20px 0; }

.page-hero { padding: 92px 0; color: white; background: var(--forest); }
.page-hero.compact { padding: 70px 0; }
.page-hero h1 { margin: 18px 0 24px; font-size: clamp(40px, 6vw, 68px); }
.page-hero p { max-width: 760px; color: #cbd9d5; font-size: 19px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; color: #adc0bb; font-size: 12px; }
.service-detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0; list-style: none; }
.check-list li { padding: 17px 18px; border: 1px solid var(--line); border-radius: 12px; }
.check-list li::before { content: "✓"; margin-right: 9px; color: var(--forest-2); font-weight: 900; }
.detail-panel { padding: 30px; border-radius: var(--radius); background: var(--cream); }
.detail-panel h3 { margin: 0 0 8px; font-size: 17px; }
.detail-panel p { margin-bottom: 25px; font-size: 14px; }
.horizontal-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid #c9d1cb; }
.horizontal-steps > div { padding: 24px 22px; border-right: 1px solid #c9d1cb; }
.horizontal-steps > div:first-child { border-left: 1px solid #c9d1cb; }
.horizontal-steps b { color: var(--forest-2); font: 800 13px monospace; }
.horizontal-steps p { margin: 18px 0 0; color: var(--ink); font-weight: 800; }

.article-header { padding: 80px 0 64px; color: white; background: var(--forest); }
.article-header h1 { margin: 18px 0 24px; font-size: clamp(38px, 5vw, 64px); }
.article-header p { color: #cbd9d5; font-size: 19px; }
.article-header small { color: #9fb6b0; }
.article-body { padding-top: 70px; padding-bottom: 100px; font-size: 17px; }
.article-body h2 { margin-top: 48px; font-size: 30px; }
.article-body h3 { margin-top: 34px; }
.article-body p, .article-body li { color: #374b46; }
.article-body code { padding: 2px 6px; border-radius: 5px; background: var(--cream); }
.article-body blockquote { margin: 30px 0; padding: 20px 24px; border-left: 4px solid var(--mint); background: var(--cream); }
.sources { margin-top: 55px; padding-top: 25px; border-top: 1px solid var(--line); }
.sources a { color: var(--forest-2); word-break: break-all; }
.article-cta { margin-top: 65px; padding: 36px; border-radius: var(--radius); background: var(--cream); }
.article-cta h2 { margin-top: 0; }
.prose h2 { margin-top: 45px; font-size: 28px; }
.empty { padding: 25px; border: 1px dashed var(--line); border-radius: 12px; }

.site-footer { padding: 60px 0 26px; color: #d5dfdc; background: #082f2b; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 60px; }
.footer-brand { color: var(--mint); font-size: 22px; font-weight: 900; }
.site-footer p { margin: 8px 0; color: #a9bdb8; font-size: 13px; }
.site-footer a { color: white; }
.copyright { margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #79918b; font-size: 12px; }
.mobile-actions { display: none; }

/* 后台 */
.admin-body { background: #eef1ec; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 22px; color: white; background: var(--forest); }
.admin-sidebar .brand small { color: #9fb6b0; }
.admin-sidebar nav { display: grid; gap: 5px; margin-top: 42px; }
.admin-sidebar nav a { padding: 11px 12px; border-radius: 8px; color: #c5d4d0; font-size: 14px; }
.admin-sidebar nav a:hover { color: var(--forest); background: var(--mint); }
.admin-main { width: min(1260px, 100%); padding: 42px; }
.admin-main > header { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.admin-main h1 { margin: 0; font-size: 34px; }
.admin-message { margin: 25px 0; padding: 14px 18px; border-left: 4px solid var(--mint); background: white; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 32px 0; }
.stat-grid > div { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.stat-grid span { color: var(--muted); font-size: 12px; font-weight: 800; }
.stat-grid strong { font-size: 30px; }
.stat-grid .urgent { color: #7d321f; border-color: #e1b7aa; background: #fff3ee; }
.admin-section { margin: 24px 0; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 22px; }
.admin-heading h2 { margin: 0; font-size: 27px; }
.admin-heading p { margin: 0; font-size: 13px; }
.lead-list { display: grid; gap: 12px; }
.lead-item { padding: 20px; border: 1px solid var(--line); border-left-width: 5px; border-radius: 12px; background: #fcfdfa; }
.lead-item.grade-high { border-left-color: #d55835; }
.lead-item.grade-medium { border-left-color: #e3a62f; }
.lead-item.grade-low { border-left-color: #8ea19b; }
.lead-top { display: flex; justify-content: space-between; gap: 25px; }
.lead-top > div:first-child { display: grid; }
.lead-top .grade { color: var(--danger); font-size: 11px; font-weight: 900; }
.lead-top strong { font-size: 18px; }
.lead-top small { color: var(--muted); }
.lead-contact { display: grid; text-align: right; }
.lead-contact a { color: var(--forest-2); font-weight: 900; }
.lead-contact span { color: var(--muted); font-size: 12px; }
.lead-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.lead-facts span { padding: 5px 9px; border-radius: 6px; background: var(--cream); font-size: 12px; }
.lead-description { margin: 0 0 15px; color: var(--ink); white-space: pre-wrap; }
.lead-actions { display: grid; grid-template-columns: 140px 1fr auto; gap: 8px; }
.lead-actions input, .lead-actions select { height: 38px; }
.content-admin-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 25px; }
.content-list { display: grid; align-content: start; gap: 8px; }
.content-row { display: flex; justify-content: space-between; gap: 15px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; }
.content-row > div { display: grid; }
.content-row strong { margin-top: 5px; }
.content-row small { color: var(--muted); }
.content-row > a { color: var(--forest-2); font-size: 13px; font-weight: 800; }
.status { width: fit-content; padding: 2px 6px; border-radius: 4px; background: var(--cream); color: var(--muted); font-size: 10px; text-transform: uppercase; }
.status-published { color: #1b6758; background: #dff1ea; }
.status-scheduled { color: #855f13; background: #fff1c9; }
.admin-form-card { padding: 22px; border-radius: 12px; background: var(--cream); }
.admin-form-card h3 { margin-bottom: 7px; }
.admin-form-card > p { font-size: 13px; }
.job-list { display: grid; gap: 6px; }
.job-list > div { display: grid; grid-template-columns: 110px 150px 80px 1fr; gap: 10px; padding: 9px; border-bottom: 1px solid var(--line); font-size: 12px; }
.job-list span, .job-list small { color: var(--muted); }
.job-list em { font-style: normal; font-weight: 800; }
.job-success { color: #287565; }
.job-error { color: var(--danger); }

@media (max-width: 900px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero-grid, .split-section, .request-grid, .service-detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: left; }
  .service-grid, .article-grid { grid-template-columns: 1fr 1fr; }
  .request-copy { position: static; }
  .horizontal-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-sidebar nav { grid-template-columns: repeat(4, auto); margin-top: 20px; overflow-x: auto; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .content-admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 68px 0; }
  .header-inner { height: 68px; }
  .site-header .nav-cta { padding: 8px 13px; }
  .hero { padding: 70px 0; }
  .hero-grid { gap: 45px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .section-heading { display: grid; gap: 16px; }
  .service-grid, .article-grid, .form-row.two, .check-list { grid-template-columns: 1fr; }
  .split-section { gap: 55px; }
  .lead-form { padding: 22px; }
  .horizontal-steps { grid-template-columns: 1fr; }
  .horizontal-steps > div, .horizontal-steps > div:first-child { border: 0; border-top: 1px solid #c9d1cb; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-bottom: 90px; }
  .mobile-actions { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,253,247,.96); backdrop-filter: blur(12px); }
  .mobile-actions a { min-height: 45px; display: grid; place-items: center; border: 1px solid var(--forest); border-radius: 9px; color: var(--forest); font-weight: 900; }
  .mobile-actions .primary { color: var(--mint); background: var(--forest); }
  .admin-main { padding: 20px 14px; }
  .admin-main > header, .admin-heading, .lead-top { align-items: start; flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-section { padding: 16px; }
  .lead-contact { text-align: left; }
  .lead-actions { grid-template-columns: 1fr; }
  .job-list > div { grid-template-columns: 1fr 1fr; }
}

