:root {
  --bg: #f8f1e5;
  --panel: #fffaf2;
  --soft: #eef5f3;
  --deep: #194044;
  --green: #2f7a74;
  --green-soft: #d9ece7;
  --orange: #d9834a;
  --ink: #223437;
  --muted: #5f7472;
  --line: rgba(25, 64, 68, 0.12);
  --shadow: 0 16px 40px rgba(25, 64, 68, 0.08);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: linear-gradient(180deg, #fcf7ef 0%, #f5efe4 100%);
  color: var(--ink);
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 241, 229, 0.92);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; gap: 28px; align-items: center; justify-content: space-between; padding: 14px 0; }
.main-nav ul {
  display: flex; flex-wrap: wrap; gap: 10px 14px; list-style: none; margin: 0; padding: 0;
}
.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(47, 122, 116, 0.08);
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
  transition: .25s ease;
}
.main-nav a:hover, .main-nav a:focus-visible { background: rgba(47, 122, 116, 0.16); transform: translateY(-1px); }
.search-row { padding: 0 0 18px; }
.fake-search {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px;
  padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.fake-search input { border: 0; background: transparent; outline: none; }
.fake-search button, .primary-btn, .ghost-btn, .expert-actions a, .share-btn {
  border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700; transition: .25s ease;
}
.fake-search button, .primary-btn { background: var(--deep); color: #fff; }
.fake-search button:hover, .primary-btn:hover, .share-btn:hover { transform: translateY(-1px); }
.ghost-btn {
  background: rgba(217, 236, 231, 0.9);
  color: var(--deep);
  border: 1px solid rgba(25, 64, 68, 0.14);
}
.search-feedback {
  margin-top: 10px; color: var(--muted); font-size: 14px; padding: 4px 2px 0;
}
.search-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.search-pill {
  border: 0; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--deep); box-shadow: 0 8px 24px rgba(25,64,68,.08);
}
.hero-section, .sub-hero { padding: 38px 0 20px; }
.hero-grid, .sub-hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 30px; align-items: center; }
.hero-copy, .sub-hero-copy, .prose-panel, .side-note, .contact-card, .article-card, .trust-card, .expert-card, .review-card, .mini-card, .howto-card {
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius);
}
.hero-copy, .sub-hero-copy { padding: 32px; }
.hero-visual, .sub-hero-image, .image-aside { position: relative; }
.hero-visual img, .sub-hero-image img, .image-aside img {
  border-radius: 34px; box-shadow: 0 24px 48px rgba(25, 64, 68, 0.14);
}
.floating-panel {
  position: absolute; right: 24px; bottom: 24px; max-width: 260px; background: rgba(255,250,242,.94); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px; border-radius: 20px;
}
.eyebrow {
  margin: 0 0 12px; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
h1, h2, h3, h4, h5, h6 { color: var(--deep); line-height: 1.25; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.35rem); }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }
h5, h6 { font-size: .95rem; }
p { margin: 0 0 14px; }
.hero-desc { font-size: 1.06rem; color: #3f5452; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.stat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px;
}
.stat-grid div {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px;
}
.stat-grid dt { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.stat-grid dd { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--deep); }
.breadcrumb {
  margin: 4px 0 18px; padding: 14px 16px; background: rgba(255,255,255,.74); border: 1px solid var(--line); border-radius: 16px; color: var(--muted); font-size: 14px;
}
.section-shell { padding: 22px 0; }
.soft-section { background: linear-gradient(180deg, rgba(238,245,243,.74) 0%, rgba(248,241,229,0) 100%); }
.section-heading { max-width: 760px; margin-bottom: 22px; }
.article-layout, .two-column-section, .feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }
.prose-panel, .side-note { padding: 24px; }
.tag-cloud, .logo-wall, .share-grid, .mcp-actions, .qr-wrap, .expert-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-cloud span, .logo-wall span {
  display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px; background: rgba(217,236,231,.7); color: var(--deep); font-weight: 700; font-size: 14px;
}
.article-grid, .video-grid, .trust-grid, .expert-grid, .review-grid, .mini-card-grid, .contact-cards {
  display: grid; gap: 18px;
}
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 18px; }
.expert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 18px; }
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.mini-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 18px; }
.article-card, .trust-card, .expert-card, .review-card, .mini-card, .howto-card, .contact-card { padding: 22px; }
.article-card a, .mini-card.link-card, .expert-actions a { font-weight: 700; color: var(--green); }
.article-meta { color: var(--muted); font-size: 13px; }
.video-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
}
.video-cover {
  min-height: 210px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.28), transparent 30%),
    linear-gradient(135deg, #1a4848 0%, #2f7a74 48%, #d9834a 100%);
  position: relative;
}
.video-overlay {
  position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; color: #fff;
  background: linear-gradient(180deg, rgba(10, 27, 30, .08), rgba(10, 27, 30, .42));
}
.video-badge { align-self: flex-start; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 12px; font-weight: 800; }
.play-bubble {
  width: 64px; height: 64px; margin: auto; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--deep); font-size: 22px; opacity: 0; transform: scale(.86); transition: .26s ease;
}
.video-card:hover .play-bubble, .video-card:focus-within .play-bubble { opacity: 1; transform: scale(1); }
.video-data { font-size: 13px; margin: 0; }
.video-body { padding: 18px; }
.feature.feature-reverse .feature-grid { direction: rtl; }
.feature.feature-reverse .feature-copy, .feature.feature-reverse .feature-image { direction: ltr; }
.feature-copy { padding: 14px 0; }
.feature-list { margin: 0; padding-left: 18px; }
.feature-list li { margin-bottom: 8px; }
.json-box {
  margin: 0; padding: 18px; background: #132e31; color: #d6f6ee; border-radius: 22px; overflow: auto; font-size: 13px; line-height: 1.7; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.logo-wall { margin-bottom: 18px; }
.howto-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.howto-card span {
  display: inline-flex; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; background: var(--green-soft); color: var(--deep); font-weight: 800; margin-bottom: 16px;
}
.contact-card p:last-child, .review-card p:last-child, .trust-card p:last-child, .expert-card p:last-child { margin-bottom: 0; }
.footer-logo { margin-bottom: 14px; width: 180px; height: auto; }
.site-footer {
  margin-top: 26px; padding: 38px 0 52px; background: #173f44; color: #f9f4ea;
}
.site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6 { color: #fff8ef; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .8fr .95fr; gap: 24px; }
.footer-meta, .footer-note { color: rgba(255,248,239,.84); font-size: 14px; }
.qr-wrap figure { margin: 0; }
.qr-wrap figcaption { margin-top: 8px; font-size: 14px; color: rgba(255,248,239,.84); }
.share-btn, .mcp-actions button {
  background: rgba(255,255,255,.12); color: #fff8ef; border: 1px solid rgba(255,255,255,.1);
}
.mcp-panel {
  margin-top: 18px; padding: 18px; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08);
}
.mcp-feedback { margin-top: 12px; color: rgba(255,248,239,.82); font-size: 14px; }
.notice-bar { color: var(--muted); }

@media (max-width: 1024px) {
  .hero-grid, .sub-hero-grid, .article-layout, .two-column-section, .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .article-grid, .video-grid, .review-grid, .howto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 20px, 1200px); }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .fake-search { grid-template-columns: 1fr; }
  .stat-grid, .trust-grid, .expert-grid, .article-grid, .video-grid, .review-grid, .mini-card-grid, .contact-cards, .howto-grid { grid-template-columns: 1fr; }
  .hero-copy, .sub-hero-copy, .prose-panel, .side-note, .article-card, .trust-card, .expert-card, .review-card, .mini-card, .howto-card, .contact-card { padding: 20px; }
  .main-nav ul { gap: 8px; }
  .main-nav a { font-size: 13px; padding: 9px 12px; }
}
