/* GlobalWarm.cn — 中文站样式
   本地化部署版本 | 字体全本地回退，无境外请求 */

:root {
  --brand-50: #ecfdf5;
  --brand-100: #d1fae5;
  --brand-200: #a7f3d0;
  --brand-500: #10b981;
  --brand-600: #059669;
  --brand-700: #047857;
  --brand-900: #064e3b;
  --ink-900: #0b1220;
  --ink-800: #16202f;
  --ink-700: #24344a;
  --ink-600: #48586e;
  --ink-500: #6b7b91;
  --line: #e4eaf1;
  --surface: #f6f9fb;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06);
  --shadow: 0 8px 24px -12px rgba(11, 18, 32, .18);
  --shadow-lg: 0 24px 60px -28px rgba(11, 18, 32, .28);
  --radius: 16px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-700);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
               "Noto Sans CJK SC", "WenQuanYi Micro Hei", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--brand-700); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink-900); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.brand .dot { color: var(--brand-600); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-600); font-size: 15px; font-weight: 500; padding: 8px 13px;
  border-radius: 9px; transition: background .16s, color .16s;
}
.nav a:hover { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }
.nav .btn-nav {
  margin-left: 8px; background: var(--brand-600); color: #fff; padding: 9px 18px;
  border-radius: 10px; font-weight: 600;
}
.nav .btn-nav:hover { background: var(--brand-700); color: #fff; }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 40, 30, .72) 0%, rgba(6, 40, 30, .60) 45%, rgba(6, 40, 30, .78) 100%);
}
.hero-inner { position: relative; padding: 104px 0 88px; }
.hero .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-200); border: 1px solid rgba(167, 243, 208, .45);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px); line-height: 1.22; margin: 0 0 24px;
  font-weight: 800; letter-spacing: -.02em; color: #fff;
}
.hero h1 .hl { color: var(--brand-200); }
.hero p.lead { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .88); max-width: 760px; margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: 11px; transition: transform .16s, background .16s, box-shadow .16s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-500); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .38); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- 数据条 ---------- */
.stats { background: var(--brand-900); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat { padding: 46px 30px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border-right: 0; }
.stat .value { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: var(--brand-200); letter-spacing: -.02em; line-height: 1.1; }
.stat .label { font-size: 14px; color: rgba(255, 255, 255, .74); margin-top: 10px; }

/* ---------- 区块 ---------- */
section { scroll-margin-top: 80px; }
.section { padding: 88px 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 820px; margin-bottom: 48px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: var(--brand-700); background: var(--brand-50); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.3; margin: 0 0 18px; color: var(--ink-900); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 20px; margin: 0 0 8px; color: var(--ink-900); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 18px; }
.section-head p { color: var(--ink-600); font-size: 17px; margin-bottom: 0; }

h4.sub {
  font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-700); margin: 0 0 8px;
}
.group { margin-top: 56px; }
.group > .group-note { color: var(--ink-600); max-width: 780px; margin-bottom: 30px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.card .ico {
  width: 42px; height: 42px; border-radius: 11px; background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; margin-bottom: 16px; font-weight: 800; font-size: 17px;
}
.card p { margin: 0; color: var(--ink-600); font-size: 15.5px; line-height: 1.75; }

/* ---------- 引用 ---------- */
.quote {
  border-left: 4px solid var(--brand-500); background: var(--brand-50);
  padding: 26px 30px; border-radius: 0 var(--radius) var(--radius) 0; margin: 44px 0 0;
}
.quote .q-title { font-weight: 800; color: var(--brand-900); margin-bottom: 10px; font-size: 17px; }
.quote p { margin: 0 0 12px; color: var(--ink-700); }
.quote cite { font-style: normal; font-size: 14px; color: var(--ink-500); }

.pullquote {
  margin: 40px 0; padding: 34px 38px; background: var(--ink-900); color: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.pullquote .q-label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-200); font-weight: 700; margin-bottom: 14px; }
.pullquote blockquote { margin: 0 0 14px; font-size: clamp(18px, 2.1vw, 23px); line-height: 1.6; color: #fff; font-weight: 600; }
.pullquote cite { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .62); }

/* ---------- 配图 ---------- */
.figure { margin: 44px 0 0; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.figure figcaption { font-size: 13px; color: var(--ink-500); margin-top: 10px; }
.figure.narrow { max-width: 560px; }

/* ---------- 标签页 ---------- */
.tabs { display: grid; grid-template-columns: 268px 1fr; gap: 28px; align-items: start; }
.tablist { display: flex; flex-direction: column; gap: 8px; }
.tab {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: 12px; border: 1px solid transparent; background: transparent;
  color: var(--ink-600); font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background .16s, color .16s, border-color .16s;
}
.tab:hover { background: var(--white); color: var(--brand-700); border-color: var(--line); }
.tab[aria-selected="true"] { background: var(--white); color: var(--brand-800, #065f46); border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.tab .tb {
  width: 36px; height: 36px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; flex: 0 0 36px; font-weight: 800; font-size: 15px;
}
.tabpanel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 34px; box-shadow: var(--shadow); min-height: 340px;
}
.tabpanel[hidden] { display: none; }
.tabpanel > p { color: var(--ink-600); }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: "✓"; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand-600); font-size: 13px; font-weight: 800;
  display: grid; place-items: center;
}
.checklist li span { color: var(--ink-700); font-size: 16px; }
.highlight {
  margin-top: 26px; padding: 18px 22px; background: var(--brand-50); border-radius: 12px;
  color: var(--brand-900); font-size: 15.5px;
}
.highlight strong { color: var(--brand-900); font-size: 20px; }

/* ---------- 列表卡 ---------- */
.stack { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.stack .card h3 { display: flex; align-items: center; gap: 10px; }
.stack .card .tag { font-size: 13px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: 4px 11px; border-radius: 999px; }
.stack .card .stat-line { font-size: 15px; font-weight: 700; color: var(--brand-700); margin-bottom: 10px; }

/* ---------- 时间线 ---------- */
.timeline { list-style: none; padding: 0; margin: 40px 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 74px; top: 8px; bottom: 8px; width: 2px; background: var(--brand-100); }
.timeline li { display: grid; grid-template-columns: 74px 1fr; gap: 28px; padding: 0 0 30px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .year { font-weight: 800; color: var(--brand-700); font-size: 19px; text-align: left; }
.timeline .tl-body { position: relative; padding-left: 24px; }
.timeline .tl-body::before {
  content: ""; position: absolute; left: -6px; top: 11px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--brand-600); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand-100);
}
.timeline .tl-body p { margin: 0; color: var(--ink-600); }

/* ---------- 资源 ---------- */
.resources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.resources a {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.resources a:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.resources .r-name { font-weight: 700; color: var(--ink-900); font-size: 16px; margin-bottom: 6px; }
.resources .r-desc { font-size: 14.5px; color: var(--ink-600); line-height: 1.7; }
.resources .r-url { font-size: 12.5px; color: var(--brand-600); margin-top: 10px; word-break: break-all; }

.band { margin-top: 52px; border-radius: var(--radius); overflow: hidden; position: relative; }
.band img { width: 100%; height: 260px; object-fit: cover; }
.band .band-txt {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 0 44px; background: linear-gradient(90deg, rgba(6, 40, 30, .82) 0%, rgba(6, 40, 30, .55) 60%, rgba(6, 40, 30, .20) 100%); color: #fff;
}
.band .band-txt h3 { color: #fff; font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 10px; }
.band .band-txt p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 620px; font-size: 16px; }

/* ---------- 免责 / 页脚 ---------- */
.disclaimer {
  margin-top: 40px; padding: 20px 24px; background: var(--surface); border: 1px dashed var(--line);
  border-radius: 12px; font-size: 14.5px; color: var(--ink-500);
}
.site-footer { background: var(--ink-900); color: rgba(255, 255, 255, .72); padding: 64px 0 32px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 14px; }
.footer-brand img { width: 26px; height: 26px; }
.footer-col h5 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; margin: 0 0 16px; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (max-width: 980px) {
  .grid-3, .grid-4, .resources, .footer-top { grid-template-columns: repeat(2, 1fr); }
  .tabs { grid-template-columns: 1fr; }
  .tablist { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .tab { width: auto; white-space: nowrap; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .grid-3, .grid-4, .grid-2, .resources { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .section { padding: 60px 0; }
  .hero-inner { padding: 68px 0 56px; }
  .timeline::before { left: 52px; }
  .timeline li { grid-template-columns: 52px 1fr; gap: 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .tabpanel { padding: 24px 20px; }
}

/* 页脚数据来源免责声明（备案合规） */
.footer-bottom .disc { display: block; margin-top: 6px; font-size: 12px; opacity: .72; line-height: 1.6; }
