:root {
  --ink: #142522;
  --muted: #5e6d69;
  --forest: #0b2e2b;
  --forest-2: #164b45;
  --cream: #f7f3e9;
  --paper: #fffdf8;
  --line: #dfe5df;
  --accent: #e76235;
  --accent-dark: #bb3f1c;
  --gold: #e8b64f;
  --success: #24704a;
  --danger: #b2372e;
  --shadow: 0 18px 55px rgba(20, 37, 34, .09);
  --radius: 18px;
  --shell: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest-2); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0 0 .65em; color: var(--forest); line-height: 1.23; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1.15em; }

.shell { width: min(var(--shell), calc(100% - 32px)); margin-inline: auto; }
.shell-narrow { width: min(820px, calc(100% - 32px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 9px 14px; color: #fff; background: var(--forest); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(223, 229, 223, .85); background: rgba(255, 253, 248, .94); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 20px; }
.brand-mark { display: inline-flex; min-width: 0; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; }
.brand-mark:hover { color: var(--forest); }
.brand-mark > span:last-child { display: flex; min-width: 0; flex-direction: column; line-height: 1.25; }
.brand-mark strong { overflow: hidden; max-width: 190px; font-size: 1.04rem; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark small { color: var(--muted); font-size: .7rem; }
.brand-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 12px; color: #fff; background: var(--forest); font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { padding: 8px 9px; border-radius: 9px; color: var(--ink); font-size: .91rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--forest); background: var(--cream); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--forest); }

.hero { overflow: hidden; padding: clamp(54px, 8vw, 105px) 0; color: #fff; background: var(--forest); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .65fr); align-items: center; gap: clamp(36px, 7vw, 90px); }
.hero h1 { max-width: 850px; color: #fff; }
.hero p { max-width: 690px; color: #d9e7e2; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.eyebrow { display: block; margin-bottom: 12px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: #f4a17d; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 25px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid var(--accent); border-radius: 11px; color: #fff; background: var(--accent); font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { color: #fff; background: var(--accent-dark); transform: translateY(-1px); }
.button-small { min-height: 40px; padding: 7px 15px; font-size: .92rem; }
.button-outline { color: var(--forest); border-color: var(--forest); background: transparent; }
.button-outline:hover { color: #fff; background: var(--forest); }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.text-link { color: var(--forest-2); font-weight: 750; text-decoration: none; }
.hero .text-link { color: #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 25px; padding: 0; margin: 30px 0 0; color: #c8d9d4; font-size: .88rem; list-style: none; }
.trust-row li::before { content: "✓"; margin-right: 7px; color: #f4a17d; font-weight: 900; }
.hero-note { position: relative; padding: 27px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.07); box-shadow: 0 22px 60px rgba(0,0,0,.18); }
.hero-note::before { content: "核验"; position: absolute; top: -13px; right: 18px; padding: 4px 11px; border-radius: 999px; color: var(--forest); background: var(--gold); font-size: .72rem; font-weight: 900; }
.hero-note strong { font-size: 1.2rem; }
.hero-note ol { padding-left: 21px; margin: 13px 0 0; color: #e6f0ed; }
.hero-note li + li { margin-top: 8px; }

.section { padding: clamp(55px, 8vw, 92px) 0; }
.section-tint { background: var(--cream); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 31px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.category-card { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 13px; min-height: 105px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fff; box-shadow: 0 6px 20px rgba(20, 37, 34, .03); text-decoration: none; }
.category-card:hover { border-color: #b5ccc5; color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.category-symbol, .brand-avatar { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; color: var(--forest); background: #e6f0e9; font-weight: 900; }
.category-card > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.category-card strong { color: var(--forest); }
.category-card small { overflow: hidden; color: var(--muted); font-size: .77rem; text-overflow: ellipsis; white-space: nowrap; }
.category-card em { color: var(--muted); font-size: .74rem; font-style: normal; white-space: nowrap; }

.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.brand-card, .guide-card { display: flex; min-width: 0; flex-direction: column; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 25px rgba(20, 37, 34, .035); }
.brand-card:hover, .guide-card:hover { border-color: #bbcec9; box-shadow: var(--shadow); }
.brand-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.brand-card-head h3 { margin: 0; }
.brand-card-head small { color: var(--muted); }
.brand-card > p, .guide-card > p { flex: 1; color: var(--muted); font-size: .93rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.card-meta span { padding: 3px 8px; border-radius: 999px; color: var(--forest-2); background: #eef5f2; font-size: .7rem; }
.card-link { display: inline-flex; align-items: center; justify-content: space-between; color: var(--forest); font-weight: 800; text-decoration: none; }
.site-filter { display: flex; min-width: min(310px, 100%); flex-direction: column; gap: 4px; color: var(--muted); font-size: .75rem; }
.site-filter input { width: 100%; padding: 10px 13px; border: 1px solid #becbc7; border-radius: 10px; color: var(--ink); background: #fff; }
.empty-result { padding: 25px; text-align: center; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card h3 a { color: var(--forest); text-decoration: none; }

.breadcrumbs { display: flex; overflow: hidden; align-items: center; gap: 8px; padding-top: 22px; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.breadcrumbs a, .breadcrumbs span { overflow: hidden; text-overflow: ellipsis; }
.breadcrumbs i { opacity: .45; font-style: normal; }
.article-shell { padding-top: clamp(42px, 7vw, 74px); padding-bottom: 48px; }
.article-header { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 33px; }
.article-header h1 { font-size: clamp(2rem, 5vw, 3.55rem); }
.standfirst { color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.22rem); }
.byline { margin: 20px 0 0; color: #788581; font-size: .79rem; }
.content-section { margin: 0 0 42px; }
.content-section p { color: #344743; }
.content-section h2 { margin-top: 1.15em; padding-top: .15em; }
.check-list { display: grid; gap: 9px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 11px 14px 11px 39px; border-radius: 10px; background: #f4f7f4; }
.check-list li::before { content: "✓"; position: absolute; left: 15px; color: var(--success); font-weight: 900; }
.check-list li strong, .check-list li span { display: block; }
.check-list li span { color: var(--muted); font-size: .92rem; }
.editor-note, .independence-notice { padding: 18px 20px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: #fff8e5; }
.independence-notice { margin: 25px 0 32px; }
.independence-notice p { margin: 5px 0 0; color: #665733; }
.brand-kicker { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.brand-avatar-large { width: 56px; height: 56px; border-radius: 16px; font-size: 1.35rem; }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; color: var(--muted); font-size: .8rem; }
.status { padding: 5px 10px; border-radius: 999px; color: var(--forest); background: #e8efec; font-weight: 800; }
.status-open, .status-active, .status-verified { color: #185437; background: #dff1e5; }
.status-closed, .status-paused, .status-unavailable { color: #8d2a23; background: #f9e1df; }
.status-open-official-channel { color: #185437; background: #dff1e5; }
.status-paused-last-verified { color: #8d2a23; background: #f9e1df; }
.status[class*="status-open"] { color: #185437; background: #dff1e5; }
.status[class*="status-paused"], .status[class*="status-closed"] { color: #8d2a23; background: #f9e1df; }
.sources ol { padding-left: 22px; }
.sources li { margin-bottom: 12px; }
.sources li span { display: block; color: var(--muted); font-size: .87rem; }
.table-scroll { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
th, td { min-width: 120px; padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--forest); background: #eef4f1; }
tr:last-child td { border-bottom: 0; }

.ad-slot { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 19px; margin-top: 10px; margin-bottom: 10px; padding: 20px; border: 1px solid #e6cfa6; border-radius: 14px; background: #fff9ed; }
.ad-slot img { width: 180px; aspect-ratio: 16 / 9; border-radius: 10px; object-fit: cover; }
.ad-slot h2 { margin-bottom: 5px; font-size: 1.18rem; }
.ad-slot p { margin: 0 0 10px; color: #695c46; font-size: .88rem; }
.ad-label { align-self: start; padding: 3px 7px; border: 1px solid #c7a976; border-radius: 5px; color: #79613b; font-size: .65rem; font-weight: 800; white-space: nowrap; }
.ad-slot-empty { grid-template-columns: auto 1fr; box-shadow: none; }
.ad-slot-empty p { margin: 0; }
.ad-monogram { display: grid; width: 74px; height: 74px; place-items: center; border-radius: 13px; color: #8a6530; background: #f5dfb6; font-size: 1.35rem; font-weight: 900; }

.lead-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 65px); margin-top: 70px; margin-bottom: 85px; padding: clamp(25px, 5vw, 48px); border-radius: 22px; color: #fff; background: var(--forest); box-shadow: 0 24px 70px rgba(11, 46, 43, .22); }
.lead-copy h2 { color: #fff; }
.lead-copy p { color: #cfddda; }
.lead-form { min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.lead-form label { display: flex; flex-direction: column; gap: 5px; color: #e2ece9; font-size: .78rem; }
.lead-form input, .lead-form select { width: 100%; min-height: 45px; padding: 9px 11px; border: 1px solid #8ca49f; border-radius: 9px; color: var(--ink); background: #fff; }
.lead-form input:focus, .lead-form select:focus, .site-filter input:focus, .calculator input:focus { outline: 3px solid rgba(231, 98, 53, .28); border-color: var(--accent); }
.lead-form input[aria-invalid="true"] { border-color: #f49488; box-shadow: 0 0 0 2px rgba(244, 148, 136, .25); }
.field-wide { grid-column: 1 / -1; }
.lead-form .consent { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 9px; margin: 15px 0; color: #cbd9d6; line-height: 1.5; }
.lead-form .consent input { min-height: auto; margin-top: 3px; }
.lead-form .consent a { color: #fff; }
.form-status { min-height: 1.7em; margin: 10px 0 0; color: #ffe0d2; font-size: .84rem; }
.form-status.is-success { color: #b9ebc9; }

.calculator { padding: clamp(22px, 5vw, 36px); border: 1px solid #c8d7d2; border-radius: var(--radius); margin-bottom: 43px; background: #f1f7f4; }
.calculator-heading p { color: var(--muted); }
.calculator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calculator label { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: .78rem; }
.calculator input { min-height: 43px; padding: 8px 10px; border: 1px solid #b8c9c3; border-radius: 9px; background: #fff; }
.calculator-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.calculator-result span { padding: 15px; border-radius: 11px; color: var(--muted); background: #fff; font-size: .78rem; }
.calculator-result strong { display: block; color: var(--forest); font-size: 1.25rem; }
.calculator-result strong.is-negative { color: var(--danger); }
.calculator-note { margin: 15px 0 0; color: var(--muted); font-size: .8rem; }

.page-intro { padding: clamp(58px, 8vw, 92px) 0 15px; }
.page-intro p { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.legal-page { min-height: 65vh; }
.not-found { min-height: 70vh; padding: clamp(80px, 12vw, 150px) 0; text-align: center; }
.error-code { display: block; color: var(--accent); font-size: clamp(4rem, 16vw, 9rem); font-weight: 900; line-height: 1; }
.not-found .hero-actions { justify-content: center; }

.site-footer { padding: 50px 0 20px; color: #cbdad6; background: #08211f; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 45px; }
.footer-title { display: block; margin-bottom: 10px; color: #fff; font-size: 1.2rem; }
.footer-grid p { max-width: 700px; color: #aebfbb; font-size: .82rem; }
.footer-grid nav { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 17px; }
.footer-grid a { color: #dce7e4; font-size: .85rem; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; color: #8fa4a0; font-size: .76rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .no-js .nav-toggle { display: none; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; max-height: calc(100vh - 75px); padding: 10px 16px 18px; overflow-y: auto; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 30px rgba(20, 37, 34, .1); }
  .site-nav.is-open, .no-js .site-nav { display: grid; }
  .site-nav a { padding: 10px 12px; }
  .hero-grid, .lead-panel { grid-template-columns: 1fr; }
  .hero-note { max-width: 560px; }
  .category-grid, .brand-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .shell, .shell-narrow { width: min(100% - 24px, var(--shell)); }
  .brand-mark strong { max-width: 145px; }
  .hero { padding-top: 47px; }
  .hero-note { padding: 22px; }
  .section-heading { display: block; }
  .section-heading > p, .section-heading > a, .section-heading > label { display: block; margin-top: 14px; }
  .category-grid, .brand-grid, .guide-grid, .form-grid, .calculator-grid, .calculator-result, .footer-grid { grid-template-columns: 1fr; }
  .category-card { grid-template-columns: 42px 1fr; }
  .category-card em { display: none; }
  .brand-card, .guide-card { padding: 20px; }
  .breadcrumbs { padding-top: 15px; }
  .article-shell { padding-top: 35px; }
  .field-wide { grid-column: auto; }
  .ad-slot { grid-template-columns: 1fr; }
  .ad-slot img { width: 100%; }
  .ad-slot-empty { grid-template-columns: auto 1fr; }
  .lead-panel { width: 100%; border-radius: 0; margin-bottom: 0; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
