/* ==========================================================================
   小狮子 AI 技术分享 · 设计系统 v2
   亮色品牌风：白底 + 狮子红，四产品各带专属点缀色
   ========================================================================== */

:root {
  color-scheme: light;

  /* 基础色 */
  --ink: #211d1a;
  --body-c: #4d4a46;
  --muted: #85807a;
  --paper: #faf8f4;
  --surface: #ffffff;
  --soft: #f4efe7;
  --line: #e8e2d8;
  --line-strong: #d2c9bb;

  /* 品牌色（狮子红） */
  --brand: #c2402a;
  --brand-deep: #93291a;
  --brand-soft: #fbeee9;
  --gold: #b98a2f;

  /* 产品点缀色 */
  --gpt: #0f9d7a;
  --gpt-deep: #0d5c47;
  --gpt-soft: #eafaf4;
  --claude: #d97757;
  --claude-deep: #8c3a20;
  --claude-soft: #fdf1ea;
  --gemini: #3d7ff0;
  --gemini-deep: #2b56a8;
  --gemini-soft: #edf3ff;
  --grok: #23272e;
  --grok-deep: #16191e;
  --grok-soft: #eff1f4;

  /* 页面级点缀（默认品牌红，产品页覆盖） */
  --accent: var(--brand);
  --accent-deep: var(--brand-deep);
  --accent-soft: var(--brand-soft);

  --shadow-sm: 0 1px 2px rgba(41, 32, 26, 0.05), 0 4px 12px rgba(41, 32, 26, 0.05);
  --shadow-md: 0 2px 4px rgba(41, 32, 26, 0.06), 0 14px 34px rgba(41, 32, 26, 0.09);
  --radius: 14px;
  --radius-sm: 10px;
  --content: 1180px;
  --header-h: 68px;
}

body[data-accent="gpt"]    { --accent: var(--gpt);    --accent-deep: var(--gpt-deep);    --accent-soft: var(--gpt-soft); }
body[data-accent="claude"] { --accent: var(--claude); --accent-deep: var(--claude-deep); --accent-soft: var(--claude-soft); }
body[data-accent="gemini"] { --accent: var(--gemini); --accent-deep: var(--gemini-deep); --accent-soft: var(--gemini-soft); }
body[data-accent="grok"]   { --accent: var(--grok);   --accent-deep: var(--grok-deep);   --accent-soft: var(--grok-soft); }

/* ---------- 基础 ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { display: block; height: auto; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

.container {
  width: min(calc(100% - 44px), var(--content));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  z-index: 120;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 44px), var(--content));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid #efd9d3;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(147, 41, 26, 0.12);
}

.brand-copy { display: grid; gap: 1px; }

.brand-copy strong {
  color: var(--brand-deep);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.main-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  color: #55504a;
  background: transparent;
  font-size: 14.5px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.nav-link:hover { color: var(--ink); background: var(--soft); }

.nav-link[aria-current="page"],
.nav-item.is-active > .nav-link {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.nav-link .caret {
  width: 9px;
  height: 9px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  margin-top: -4px;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  opacity: 0.55;
}

/* 下拉面板 */
.sub-panel {
  position: absolute;
  z-index: 130;
  top: calc(100% + 8px);
  left: 50%;
  width: 252px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}

.nav-item:hover > .sub-panel,
.nav-item:focus-within > .sub-panel,
.nav-item.open > .sub-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-item:hover > .nav-link .caret,
.nav-item.open > .nav-link .caret { transform: rotate(225deg); margin-top: 2px; }

.sub-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.sub-head .product-mark { width: 26px; height: 26px; font-size: 12px; }

.sub-head strong { font-size: 13.5px; }

.sub-head .sub-status {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: var(--gpt-deep);
  background: var(--gpt-soft);
  border-radius: 99px;
  padding: 2px 8px;
}

.sub-head .sub-status.draft { color: #8a6420; background: #fdf4e3; }

.sub-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4c4842;
}

.sub-panel a:hover { color: var(--ink); background: var(--soft); }

.sub-panel a .sub-num {
  flex: 0 0 auto;
  width: 20px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

/* 顶部 CTA + 汉堡 */
.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 按钮 ---------- */

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid var(--brand);
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(180deg, #cf4c34, var(--brand));
  font-size: 14.5px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(194, 64, 42, 0.24);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(147, 41, 26, 0.26);
}

.button.secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.button.secondary:hover { border-color: var(--ink); background: var(--paper); }

.button.small { min-height: 38px; padding: 0 14px; font-size: 13px; border-radius: 9px; }

.button.accent {
  border-color: var(--accent-deep);
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 30%, transparent);
}

.button.accent:hover { background: var(--accent-deep); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 750;
}

.text-link:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 首页 Hero ---------- */

.hero-band {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(720px 340px at 88% -10%, rgba(194, 64, 42, 0.10), transparent 62%),
    radial-gradient(560px 300px at -6% 108%, rgba(185, 138, 47, 0.10), transparent 60%),
    linear-gradient(180deg, #fdfcf9, #f7f3ec);
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(33, 29, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 29, 26, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 480px at 76% 20%, #000 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(720px 480px at 76% 20%, #000 0%, transparent 74%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  align-items: center;
  gap: 64px;
  padding: 76px 0 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid #ecd9d3;
  border-radius: 99px;
  background: #fff;
  color: var(--brand-deep);
  font-size: 12.5px;
  font-weight: 750;
  box-shadow: var(--shadow-sm);
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.5px;
}

h1 .hl {
  color: var(--brand);
  position: relative;
  white-space: nowrap;
}

.hero-lead,
.page-lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--body-c);
  font-size: 17.5px;
  line-height: 1.85;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12.5px;
}

/* Hero 右侧品牌卡 */
.hero-visual {
  position: relative;
  padding: 26px 26px 22px;
  border: 1px solid #eadfd2;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf9, #faf4ea);
  box-shadow: var(--shadow-md);
}

.hero-visual img.lion {
  width: min(100%, 250px);
  margin: 0 auto;
  filter: drop-shadow(0 16px 22px rgba(90, 41, 26, 0.18));
}

.hero-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.hero-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.hero-chip:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }

.hero-visual .stamp {
  position: absolute;
  top: -13px;
  right: 22px;
  padding: 6px 13px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 1px;
}

/* 数字条 */
.stats-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 0;
}

.stat {
  display: grid;
  gap: 2px;
  padding-left: 16px;
  border-left: 3px solid var(--brand-soft);
}

.stat strong {
  font-size: 24px;
  font-weight: 850;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.stat strong em { font-style: normal; color: var(--brand); }

.stat span { color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* ---------- 区块通用 ---------- */

.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  scroll-margin-top: calc(var(--header-h) + 64px);
}

.section.alt { background: var(--paper); }

.section.tint {
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 46%);
}

.section.dark {
  color: #f3efe9;
  background:
    radial-gradient(640px 300px at 90% 0%, rgba(194, 64, 42, 0.22), transparent 60%),
    #24211e;
}

.section.dark .section-intro,
.section.dark p { color: #bdb6ad; }

.section.dark .card { color: var(--ink); }
.section.dark .card p { color: var(--body-c); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2px;
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

.section-head h2, .h2 {
  margin-bottom: 12px;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.section-intro {
  max-width: 700px;
  color: var(--body-c);
  font-size: 15.5px;
  line-height: 1.85;
}

/* ---------- 卡片体系 ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

a.card:hover, .card.lift:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.card-pad { padding: 26px; }

.card h3 { margin-bottom: 10px; font-size: 19px; font-weight: 800; line-height: 1.4; }

.card p { color: var(--body-c); font-size: 14px; line-height: 1.8; }

.card-index {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.5px;
}

/* 产品卡（首页） */
.product-card { display: flex; flex-direction: column; }

.product-card .main-link { display: block; }

.product-card h3 a:hover { color: var(--brand); }

.product-card .visual {
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.product-card .visual img { width: 100%; height: 100%; object-fit: cover; }

.product-card .body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 20px; }

.product-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.product-name h3 { margin: 0; font-size: 20px; }

.product-mark {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.5px;
}

.product-mark.gpt { background: linear-gradient(135deg, #12b389, var(--gpt-deep)); }
.product-mark.claude { background: linear-gradient(135deg, #e08a68, #a24a2f); }
.product-mark.gemini { background: linear-gradient(135deg, #3d7ff0, #9b72cb); }
.product-mark.grok { background: linear-gradient(135deg, #3a4048, #16191e); }

.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
}

.quick-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: #55504a;
  font-size: 12.5px;
  font-weight: 700;
}

.quick-links a:hover { color: var(--ink); border-color: var(--line-strong); background: #fff; }

.quick-links a::before { content: "›"; color: var(--brand); font-weight: 800; }

/* 徽标状态 */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 1px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  color: var(--gpt-deep);
  background: var(--gpt-soft);
  border: 1px solid #c4e8db;
}

.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.status.draft { color: #8a6420; background: #fdf4e3; border-color: #ecd9b4; }

.status.plan { color: #6b7280; background: #f3f4f6; border-color: #e0e3e8; }

/* 层级路径（四步） */
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.path-card { padding: 24px 22px; }

.path-card .num {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 850;
}

/* meta 徽章 */
.page-meta, .tags { display: flex; flex-wrap: wrap; gap: 8px; }

.meta, .tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 1px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #6b665f;
  background: #fff;
  font-size: 11.5px;
  font-weight: 650;
}

.tag.acc { color: var(--accent-deep); background: var(--accent-soft); border-color: transparent; }

/* ---------- 产品页 ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(640px 300px at 92% -20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 62%),
    linear-gradient(180deg, #fdfcf9, #f8f5ef);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.breadcrumbs a:hover { color: var(--brand); }

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 56px;
  align-items: center;
}

.page-hero h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 16px; }

.page-hero .visual {
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.page-hero .visual img { width: 100%; }

/* 吸顶板块导航 */
.page-tabs {
  position: sticky;
  z-index: 110;
  top: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-tabs-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 9px 0;
  width: min(calc(100% - 44px), var(--content));
  margin: 0 auto;
}

.page-tabs-inner::-webkit-scrollbar { display: none; }

.page-tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 99px;
  color: #5d5852;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

.page-tab .t-num { color: var(--accent); font-size: 11px; font-weight: 850; }

.page-tab:hover { background: var(--soft); color: var(--ink); }

.page-tab.is-active {
  color: var(--accent-deep);
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  background: var(--accent-soft);
}

/* 能力卡 */
.cap-card { padding: 24px 22px; }

.cap-card .ico {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.cap-card .ico svg { width: 21px; height: 21px; }

/* 对比表 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

table.plans {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 14px;
}

table.plans th, table.plans td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

table.plans thead th {
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

table.plans tbody tr:last-child td { border-bottom: 0; }

table.plans tbody th {
  white-space: nowrap;
  font-weight: 800;
  color: var(--ink);
  background: #fcfbf8;
}

table.plans td { color: var(--body-c); }

table.plans .fit { color: var(--accent-deep); font-weight: 700; }

/* 服务卡 + 流程 */
.service-card { padding: 26px 24px; display: flex; flex-direction: column; }

.service-card .check-list { margin-top: 6px; }

.service-card .text-link { margin-top: auto; padding-top: 16px; }

.check-list { list-style: none; padding: 0; }

.check-list li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-bottom: 1px dashed var(--line);
  color: #4f4b45;
  font-size: 14px;
  line-height: 1.65;
}

.check-list li:last-child { border-bottom: 0; }

.check-list li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.check-list li::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 6px;
  width: 7px;
  height: 4px;
  border-left: 1.8px solid var(--accent-deep);
  border-bottom: 1.8px solid var(--accent-deep);
  transform: rotate(-45deg);
}

.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: flow; }

.flow-step {
  position: relative;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  counter-increment: flow;
}

.flow-step::before {
  content: "0" counter(flow);
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 1px;
}

.flow-step h4 { margin-bottom: 8px; font-size: 15.5px; font-weight: 800; }

.flow-step p { color: var(--body-c); font-size: 13px; line-height: 1.75; }

/* 提示条 */
.notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
  border: 1px solid #ecdec2;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  background: #fdf9f0;
}

.notice h3 { margin-bottom: 5px; font-size: 16px; font-weight: 800; }

.notice p { color: #6b6357; font-size: 13.5px; line-height: 1.75; }

.notice.safety { border-left-color: var(--gpt); border-color: #cfe8de; background: #f4fbf8; }

/* 干货 / 教程卡 */
.tip-card { display: flex; flex-direction: column; }

.tip-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.tip-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 220ms ease; }

a.tip-card:hover .thumb img { transform: scale(1.03); }

.tip-card .body { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 20px; }

.tip-card h3 { margin: 0; font-size: 17px; }

.tip-card .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--accent-deep);
  font-size: 12.5px;
  font-weight: 750;
}

.tutorial-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
}

.tutorial-item .t-index {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 850;
}

.tutorial-item h3 { margin-bottom: 4px; font-size: 16.5px; }

.tutorial-item p { color: var(--body-c); font-size: 13px; }

.tutorial-item .t-go { color: var(--accent-deep); font-size: 13px; font-weight: 800; white-space: nowrap; }

.tutorial-list { display: grid; gap: 12px; }

/* ---------- 配图与占位 ---------- */

figure.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

figure.shot img { width: 100%; }

figure.shot figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

/* 占位图组件：待补图 */
.ph {
  display: grid;
  place-items: center;
  border: 1.6px dashed var(--line-strong);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(33, 29, 26, 0.018) 0 12px, transparent 12px 24px),
    #fcfbf8;
  text-align: center;
  padding: 26px 18px;
}

.ph.r169 { aspect-ratio: 16 / 9; }
.ph.r1610 { aspect-ratio: 16 / 10; }
.ph.r43 { aspect-ratio: 4 / 3; }
.ph.r11 { aspect-ratio: 1 / 1; }
.ph.rtall { aspect-ratio: 9 / 16; max-width: 300px; margin-inline: auto; }

.ph .ph-inner { display: grid; gap: 7px; justify-items: center; max-width: 340px; }

.ph svg { width: 34px; height: 34px; color: var(--line-strong); }

.ph strong { color: #7a746c; font-size: 13.5px; font-weight: 800; }

.ph span { color: var(--muted); font-size: 12px; line-height: 1.65; }

.ph .ph-tag {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: 99px;
  background: #f3e8d9;
  color: #8a6420;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 12px; max-width: 860px; }

details.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

details.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  list-style: none;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::before {
  content: "Q";
  display: grid;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 850;
}

details.faq summary::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

details.faq[open] summary::after { transform: rotate(225deg); }

details.faq .faq-body {
  padding: 0 20px 18px 58px;
  color: var(--body-c);
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- 联系区 ---------- */

.contact-band {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(560px 260px at 8% 0%, rgba(194, 64, 42, 0.08), transparent 60%),
    var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 46px;
  align-items: center;
  padding: 64px 0;
}

.contact-grid .h2 { margin-bottom: 12px; }

.contact-qr {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.contact-qr .ph { width: 100%; padding: 18px 10px; }

.contact-qr small { color: var(--muted); font-size: 12px; }

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 54px 0 30px;
  color: #cfc9c0;
  background: #211e1b;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.3fr) repeat(3, minmax(130px, 0.6fr));
  gap: 40px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-brand img { width: 46px; height: 46px; border-radius: 11px; }

.footer-brand strong { color: #fff; font-size: 15.5px; }

.footer-copy {
  max-width: 360px;
  margin-top: 16px;
  color: #a49d92;
  font-size: 13px;
  line-height: 1.8;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  padding: 4.5px 0;
  color: #aaa298;
  font-size: 12.5px;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #3a352f;
  color: #8d867b;
  font-size: 11.5px;
  line-height: 1.7;
}

/* ---------- 工具类 ---------- */

.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.small-copy { color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.center { text-align: center; }

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 40px;
  align-items: start;
}

.feature-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}

.feature-panel h3 { margin-bottom: 12px; font-size: 19px; font-weight: 800; }

.feature-panel p { color: #5d564d; font-size: 14px; line-height: 1.8; }

/* ---------- 响应式 ---------- */

@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  :root { --header-h: 62px; }

  /* 移动端取消毛玻璃：backdrop-filter 会让 fixed 菜单面板以顶栏为包含块 */
  .site-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    z-index: 115;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    overflow-y: auto;
    padding: 18px 22px 40px;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  body.nav-open .main-nav { display: flex; }
  body.nav-open { overflow: hidden; }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 14px;
    font-size: 15.5px;
    border-radius: 11px;
  }

  .sub-panel {
    position: static;
    width: 100%;
    margin: 2px 0 8px;
    padding: 6px 6px 6px 14px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: hidden;
    transform: none;
    display: none;
  }

  .nav-item.open > .sub-panel {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .sub-head { display: none; }

  .sub-panel a { min-height: 44px; font-size: 14.5px; }

  .header-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 48px; }

  .page-hero-grid { grid-template-columns: 1fr; gap: 34px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .feature-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

  .contact-grid { grid-template-columns: 1fr; gap: 30px; padding: 54px 0; }

  .contact-qr { max-width: 270px; }
}

@media (max-width: 680px) {
  .container, .header-inner, .page-tabs-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .section { padding: 58px 0; }

  .hero-grid { padding: 44px 0 40px; }

  .hero-lead, .page-lead { font-size: 15.5px; }

  .grid-2, .grid-3, .grid-4, .path-grid, .flow-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 20px 0; }

  .stat strong { font-size: 20px; }

  .section-head { display: block; }

  .section-head .button, .section-head .text-link { margin-top: 18px; }

  .quick-links { grid-template-columns: 1fr 1fr; }

  .hero-chips { grid-template-columns: 1fr 1fr; }

  .tutorial-item { grid-template-columns: 44px minmax(0, 1fr); }

  .tutorial-item .t-index { width: 44px; height: 44px; border-radius: 11px; }

  .tutorial-item .t-go { display: none; }

  .notice { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }

  .footer-bottom { flex-direction: column; }

  .brand-copy small { display: none; }

  .page-tabs { top: var(--header-h); }

  details.faq .faq-body { padding-left: 20px; }
}

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

@media print {
  .site-header, .site-footer, .page-tabs, .nav-toggle, .hero-actions { display: none !important; }
  body { background: #fff; }
  .section { break-inside: avoid; border: 0; }
}
