/* ==========================================================================
   花云 Flowercloud · 多页站点补充样式
   在 site.css（首页视觉基线）之后加载，只负责“页面壳 + 内页组件”。
   设计语言：铂金灰底、玻璃面板、深海军蓝文字、Bodoni/Didot 衬线标题。
   ========================================================================== */

/* ---------- 页头：多页导航与当前页 ---------- */
.site-header nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-header nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--ink); }
.brand small { text-transform: none; }

/* ---------- 页面主体与页头 ---------- */
.page-main { padding-top: 10px; }
.page-head { max-width: 880px; padding: 40px 0 14px; }
.page-head h1 {
  font: 450 clamp(38px, 4.8vw, 60px)/1.3 var(--serif);
  letter-spacing: -1.4px;
  color: var(--ink);
  margin-top: 18px;
}
.page-head h1 em { font-style: normal; color: #647391; }
.page-lead { max-width: 660px; margin-top: 22px; font-size: 13.5px; line-height: 2.05; color: #525d70; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; min-height: 30px;
  padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px;
  font: 9.5px var(--mono); letter-spacing: .08em; color: #4b5c7c;
  background: rgba(255,255,255,.45);
}
.page-block { padding: 34px 0 8px; }
.page-block > h2 {
  font: 450 clamp(26px, 3vw, 38px)/1.45 var(--serif);
  letter-spacing: -1px; color: var(--ink); margin-bottom: 10px;
}
.page-block > p { max-width: 680px; font-size: 12.5px; line-height: 2.05; color: #5d6778; }

/* ---------- 面包屑 ---------- */
.crumbs { display: flex; align-items: center; gap: 9px; padding-top: 16px; font-size: 10px; color: #7a8290; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: #5d6778; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current="page"] { color: #3c4557; }
.crumbs .sep { color: #b3bac7; }

/* ---------- 正文排版（政策页 / 说明页） ---------- */
.prose { max-width: 780px; }
.prose h2 {
  font: 450 25px/1.5 var(--serif); letter-spacing: -.5px; color: var(--ink);
  margin: 46px 0 14px; scroll-margin-top: 120px;
}
.prose h3 { font-size: 14px; font-weight: 650; color: var(--ink); margin: 26px 0 8px; }
.prose p { font-size: 13px; line-height: 2.1; color: #4c5568; margin: 12px 0; }
.prose ul { list-style: none; padding: 0; margin: 12px 0; }
.prose li { position: relative; padding-left: 17px; font-size: 13px; line-height: 2.05; color: #4c5568; margin: 7px 0; }
.prose li::before {
  content: ""; position: absolute; left: 1px; top: .92em;
  width: 5px; height: 5px; border-radius: 50%; background: #a2acbd;
}
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b3bac7; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose code { font: 11px var(--mono); background: #ffffff99; border: 1px solid var(--line); border-radius: 5px; padding: 2px 5px; }
.prose blockquote {
  margin: 20px 0; padding: 16px 20px; border-left: 2px solid #9aa5b8;
  background: rgba(255,255,255,.45); border-radius: 0 12px 12px 0;
  font-size: 12px; line-height: 2; color: #4c5568;
}

/* ---------- 文档页：目录 + 正文 ---------- */
.doc-layout {
  display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 64px;
  align-items: start; padding: 18px 0 86px;
}
.doc-meta {
  font: 9.5px var(--mono); letter-spacing: .06em; color: #6b7383;
  border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 10px;
}
.toc { position: sticky; top: 112px; border-left: 1px solid var(--line); padding-left: 18px; }
.toc h2 { font: 600 9px var(--mono); letter-spacing: .16em; color: #6b7383; margin-bottom: 10px; }
.toc a { display: block; padding: 6px 0; font-size: 10.5px; line-height: 1.7; color: #5d6778; }
.toc a:hover { color: var(--ink); }

/* ---------- FAQ 分组 ---------- */
.faq-groups { display: grid; gap: 38px; max-width: 880px; margin-top: 34px; }
.faq-group > h2 { font: 450 21px/1.5 var(--serif); letter-spacing: -.3px; color: var(--ink); }
.faq-group > p { font-size: 10.5px; color: #6b7383; margin: 4px 0 6px; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.faq-nav a {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 10px; color: #4b5c7c; background: rgba(255,255,255,.5); min-height: 34px;
  display: inline-flex; align-items: center;
}
.faq-nav a:hover { background: #fff; color: var(--ink); }

/* ---------- 套餐预览（首页） ---------- */
.plan-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.plan-mini {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 24px 22px 22px; border-radius: 20px; color: var(--ink);
  transition: transform .28s, box-shadow .28s, background .28s;
}
.plan-mini:hover { transform: translateY(-4px); background: rgba(255,255,255,.72); }
.plan-mini .mini-label { font: 600 9px var(--mono); letter-spacing: .14em; color: #6b7383; }
.plan-mini h3 { font-size: 22px; font-weight: 500; letter-spacing: 2px; }
.plan-mini .mini-quota { font: 450 25px/1 var(--serif); }
.plan-mini .mini-quota span { font: 9.5px var(--sans); color: #6b7383; margin-left: 5px; letter-spacing: 0; }
.plan-mini .mini-price { font-size: 11px; color: #4c5568; margin-top: 2px; }
.plan-mini .mini-go {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px; color: #5d6778;
}
.plan-mini .mini-go span { font-size: 14px; transition: transform .25s; }
.plan-mini:hover .mini-go span { transform: translateX(3px); }
.plan-mini .mini-tag {
  position: absolute; top: 16px; right: 16px; font: 8px var(--mono);
  letter-spacing: .08em; color: #f7f9fb; background: var(--ink);
  border-radius: 999px; padding: 4px 8px;
}

/* ---------- 概念卡 / 检查卡 ---------- */
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.concept { padding: 24px 22px; border-radius: 18px; }
.concept h3 { font-size: 13px; font-weight: 650; color: var(--ink); margin-bottom: 8px; }
.concept p { font-size: 11.5px; line-height: 2; color: #5d6778; }
.concept .concept-kicker { font: 8.5px var(--mono); letter-spacing: .14em; color: #7a8290; display: block; margin-bottom: 8px; }

/* ---------- 规格表 ---------- */
.table-scroll { overflow-x: auto; margin-top: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.35); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 11.5px; min-width: 620px; }
.spec-table caption { text-align: left; padding: 16px 18px 4px; font: 9px var(--mono); letter-spacing: .12em; color: #6b7383; }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.spec-table th { font: 600 9px var(--mono); letter-spacing: .1em; color: #6b7383; background: rgba(255,255,255,.4); white-space: nowrap; }
.spec-table td { color: #4c5568; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover { background: rgba(255,255,255,.5); }
.spec-table .cell-plan { font-weight: 600; color: var(--ink); white-space: nowrap; }
.spec-table .cell-num { font-family: var(--serif); font-size: 15px; color: var(--ink); white-space: nowrap; }

/* ---------- 客户端下载卡 ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.dl-card { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px; border-radius: 20px; }
.dl-card .dl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dl-card h3 { font-size: 14px; font-weight: 650; color: var(--ink); }
.dl-card .dl-os { font: 8.5px var(--mono); letter-spacing: .12em; color: #7a8290; }
.dl-card p { font-size: 11px; line-height: 1.95; color: #5d6778; flex: 1; }
.dl-card .dl-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--line); padding-top: 14px;
  font-size: 10.5px; color: var(--ink); min-height: 40px;
}
.dl-card .dl-link span { transition: transform .25s; }
.dl-card .dl-link:hover span { transform: translate(2px,-2px); }
.dl-card .dl-note { font: 9px var(--mono); color: #8a93a2; }

/* ---------- 提示条 ---------- */
.note {
  margin-top: 26px; padding: 20px 22px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255,255,255,.5);
  font-size: 11.5px; line-height: 2; color: #4c5568;
}
.note strong { color: var(--ink); }
.note.warn { border-left: 3px solid #b9975b; background: rgba(255,250,240,.55); }
.note .note-kicker { display: block; font: 600 8.5px var(--mono); letter-spacing: .14em; color: #7a8290; margin-bottom: 6px; }

/* ---------- 上下页 ---------- */
.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 52px; padding-top: 22px; }
.pager a { display: flex; flex-direction: column; gap: 6px; min-height: 48px; font-size: 11px; color: #5d6778; }
.pager a:hover { color: var(--ink); }
.pager .pager-kicker { font: 8.5px var(--mono); letter-spacing: .12em; color: #8a93a2; }

/* ---------- 页脚（多列） ---------- */
.site-footer {
  margin-top: 40px; padding: 64px 0 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(242,244,247,0), rgba(233,237,243,.65));
}
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 44px; }
.footer-grid h2 { font: 600 9px var(--mono); letter-spacing: .16em; color: #6b7383; margin-bottom: 12px; }
.footer-grid nav a { display: block; font-size: 10.5px; color: #4c5568; padding: 7px 0; min-height: 32px; }
.footer-grid nav a:hover { color: var(--ink); }
.footer-brand p { max-width: 300px; margin: 16px 0 12px; font-size: 10.5px; line-height: 2; color: #5d6778; }
.footer-brand .mono { font-size: 8.5px; color: #7a8290; letter-spacing: .1em; }
.footer-note {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 9px; color: #747b8a;
}
.footer-note button { background: none; font-size: 9px; min-height: 36px; color: #747b8a; }
.footer-note button:hover { color: var(--ink); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .doc-layout { gap: 40px; }
}
@media (max-width: 900px) {
  .plan-mini-grid { grid-template-columns: 1fr 1fr; }
  .dl-grid, .concept-grid { grid-template-columns: 1fr 1fr; }
  .doc-layout { grid-template-columns: 1fr; padding-bottom: 64px; }
  .toc {
    position: static; display: flex; flex-wrap: wrap; gap: 4px 16px;
    border-left: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px;
  }
  .toc h2 { width: 100%; margin-bottom: 4px; }
  .toc a { padding: 3px 0; }
  .page-head { padding-top: 32px; }
}
@media (max-width: 680px) {
  .plan-mini-grid, .dl-grid, .concept-grid, .footer-grid { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 33px; letter-spacing: -1px; }
  .page-head { padding-top: 24px; }
  .page-lead { font-size: 12.5px; }
  .page-block > h2 { font-size: 27px; }
  .prose h2 { font-size: 22px; }
  .footer-note { flex-wrap: wrap; }
  .footer-note button { min-height: 44px; }
  .pager { margin-top: 40px; }
  .spec-table { min-width: 560px; }
}

/* ---------- 减少动效 / 打印 ---------- */
@media (prefers-reduced-motion: reduce) {
  .plan-mini, .dl-card { transition: none; }
}
@media print {
  .site-header, .site-footer, .ambient, .scroll-progress, .crumbs, .toc, .pager { display: none !important; }
  body { background: #fff; }
  .doc-layout { display: block; padding: 0; }
  .prose { max-width: none; }
}

/* ---------- 首页套餐预览脚注 ---------- */
.mini-note { margin-top: 20px; font: 9px var(--mono); letter-spacing: .07em; color: #7a8290; }

/* ---------- 计费说明 ---------- */
.billing-note { margin-top: 18px; font: 9.5px var(--mono); letter-spacing: .06em; color: #7a8290; }

/* ---------- 细节修正 ---------- */
.plan-mini h3 { font: 500 16px/1.38 var(--serif); letter-spacing: .2px; }
.dl-card .dl-link[aria-disabled="true"] { color: #8a93a2; cursor: default; }
.dl-card .dl-link[aria-disabled="true"]:hover span { transform: none; }
.faq-group { scroll-margin-top: 120px; }

/* 小屏套餐卡改为单列，避免两列过窄 */
@media (max-width: 560px) {
  .plan-grid { grid-template-columns: 1fr; }
}

/* 移动端导航改为实色面板，避免透出首屏文字 */
@media (max-width: 900px) {
  .site-header nav {
    background: #f1f3f7;
    border: 1px solid #ffffff;
    box-shadow: 0 22px 44px rgba(39, 48, 65, .14);
    backdrop-filter: blur(18px);
  }
  .site-header nav a { border-radius: 10px; }
  .site-header nav a:hover { background: rgba(255, 255, 255, .75); }
  .site-header nav a[aria-current="page"] { background: rgba(255, 255, 255, .9); }
}

/* 桌面端导航三列居中：品牌｜导航｜账户，导航始终位于页头正中 */
@media (min-width: 901px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .site-header .brand { justify-self: start; }
  .site-header nav { justify-self: center; }
  .site-header .header-actions { justify-self: end; }
}

/* 移动端去掉当前页下划线，只保留浅色底 */
@media (max-width: 900px) {
  .site-header nav a::after { display: none; }
}

/* 英文套餐名较长：控制字号与行高；窄屏提早切两列，避免挤压 */
.plan h3 {
  font: 500 21px/1.34 var(--serif);
  letter-spacing: 0;
  margin-top: 18px;
}
.spec-table .cell-plan {
  white-space: normal;
  min-width: 168px;
  line-height: 1.6;
}
@media (max-width: 1150px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-mini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .plan h3 { font-size: 19px; }
  .spec-table .cell-plan { min-width: 140px; }
}

/* ---------- 可访问性修正：小号辅助文字对比度与可滚动表格 ---------- */
.note-kicker,
.pager-kicker,
.mini-note,
.doc-meta,
.faq-group > p,
.footer-note,
.footer-brand .mono,
.footer-grid h2,
.dl-card .dl-note,
.dl-card .dl-os,
.plan-top > .mono,
.toc h2,
.crumbs {
  color: #5d6778;
}
.spec-table th { color: #5d6778; }
.table-scroll:focus-visible { outline: 3px solid #3b4862; outline-offset: 4px; }

/* 覆盖原有更高优先级的辅助文字颜色 */
.note .note-kicker,
.pager .pager-kicker,
.faq-group > p,
.crumbs {
  color: #5d6778;
}

/* 首页底部探索提示：移动端字号过小且对比度不足 */
.hero-bottom,
.hero-bottom > span,
.hero-bottom a {
  color: #5d6778;
}
@media (max-width: 680px) {
  .hero-bottom { font-size: 9px; }
}

/* 页脚邮箱 */
.footer-mail {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  color: #4c5568;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #b3bac7;
}
.footer-mail:hover { color: var(--ink); text-decoration-color: var(--ink); }
