/* 闪连加速器 · 全站公共样式
 * 维护顺序：01 设计变量 → 02 导航 → 03 首页 → 04 内容页 →
 *          05 套餐 / 下载 → 06 帮助中心 → 07 响应式。
 * 品牌主色从 site.config.json 生成到 theme.css；这里专注布局。
 */

/* 01. 基础与设计变量 */
:root {
  --paper: #faf9f2;
  --ink: #263d31;
  --muted: #68756a;
  --mint: #d6ed54;
  --mint-dark: #315744;
  --orange: #f4b75a;
  --surface: #ffffff;
  --surface-2: #f4f4e7;
  --line: #e3e7d9;
  --soft-line: #e9eade;
  --radius: 18px;
  --shadow: 0 16px 46px rgba(42, 68, 44, .045);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 15px/1.6 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #d8a24e; outline-offset: 3px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { line-height: 1.28; letter-spacing: -.035em; }
.container { width: min(100% - 80px, 1240px); margin: 0 auto; }
.muted { color: var(--muted); }
.kicker, .eyebrow {
  display: inline-block;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.btn {
  min-height: 51px;
  padding: 12px 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 770;
  transition: transform .22s, background-color .22s, box-shadow .22s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--mint); color: #244634; box-shadow: 0 8px 20px #a1c13e20; }
.btn-primary:hover { background: #c8e448; box-shadow: 0 13px 25px #99b73933; }
.btn-outline { color: var(--ink); border-color: #bdd0a7; background: #fff; }
.btn-outline:hover { border-color: var(--mint-dark); background: #f5f8ed; }
.btn-quiet { color: var(--ink); border: 0; padding-left: 0; background: transparent; }
.btn-quiet:hover { color: #56804a; }

/* 02. 顶部导航和页脚 */
.site-header { position: relative; z-index: 20; background: rgba(250, 249, 242, .97); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 900; white-space: nowrap; letter-spacing: -.04em; line-height: 1.12; }
.brand img { width: 47px; height: 47px; object-fit: contain; }
.brand small { display: block; margin-top: 4px; font-size: 9px; letter-spacing: .23em; font-weight: 800; color: #9b9f8c; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav-links a { font-size: 13px; white-space: nowrap; font-weight: 650; color: #647266; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { position: relative; }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; height: 3px; bottom: -12px; background: #b9d62f; border-radius: 3px; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.nav-actions .btn { min-height: 43px; padding: 9px 20px; font-size: 12px; }
.nav-toggle { display: none; border: 1px solid #dde3d1; background: #fff; border-radius: 10px; height: 41px; width: 43px; color: var(--ink); font-size: 22px; }
.site-footer { border-top: 1px solid var(--line); margin-top: 54px; padding: 35px 0 42px; background: #f3f4e9; }
.footer-flex { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.footer-copyright { color: #758273; font-size: 12px; }
.footer-subtitle { color: #879182; max-width: 350px; line-height: 1.8; font-size: 12px; margin: 9px 0 0; }
.footer-links { display: flex; gap: 10px 19px; flex-wrap: wrap; max-width: 550px; justify-content: flex-end; }
.footer-links a { color: #637362; font-size: 12px; }
.footer-links a:hover { color: var(--ink); }

/* 03. 首页 – 黄绿色编辑式布局，不堆叠套餐与 FAQ */
.home-stage { background: #f6f5e9; position: relative; overflow: hidden; }
.home-stage::before { content: ''; position: absolute; width: 290px; height: 290px; border-radius: 50%; background: #e6f2a4; opacity: .38; left: -170px; top: 170px; filter: blur(58px); }
.home-hero {
  min-height: 665px;
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  gap: 6px;
  padding-top: 46px;
  padding-bottom: 50px;
}
.home-copy { padding: 10px 20px 10px 0; position: relative; z-index: 2; }
.home-edition { display: inline-flex; gap: 10px; align-items: center; border: 1px solid #dde6c5; padding: 7px 13px; border-radius: 99px; font-size: 10px; font-weight: 800; color: #586e4f; letter-spacing: .1em; }
.edition-dot, .label-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: #85a84f; }
.home-copy h1 { margin: 25px 0 20px; font-size: clamp(53px, 5.1vw, 80px); line-height: 1.18; letter-spacing: -.065em; font-weight: 920; }
.home-copy h1 > span { display: block; font-size: .77em; margin-top: 12px; color: #738b4c; font-weight: 790; letter-spacing: -.055em; }
.home-lead { max-width: 475px; color: #63715f; line-height: 2; font-size: 16px; margin: 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.hero-actions .btn-primary { min-height: 57px; font-size: 16px; padding: 14px 31px; }
.hero-footnote { display: flex; gap: 15px; flex-wrap: wrap; color: #82927a; font-size: 12px; margin-top: 34px; }
.hero-footnote span:not(:last-child)::after { content: '·'; padding-left: 14px; color: #b7c5ad; }
.hero-visual { align-self: center; position: relative; min-width: 0; min-height: 490px; border-radius: 30px; overflow: hidden; background: #fbf9e9; border: 1px solid #ebebdb; }
.hero-visual::before, .hero-visual::after { display: none; }
.hero-visual img { display: block; width: 100%; height: 505px; object-fit: cover; object-position: 56% center; }
.visual-label { position: absolute; top: 20px; left: 20px; z-index: 2; display: flex; align-items: center; gap: 10px; border-radius: 99px; background: #ffffffdd; padding: 9px 13px; color: #526c4d; font-size: 11px; backdrop-filter: blur(8px); }
.visual-caption { position: absolute; right: 23px; bottom: 23px; z-index: 2; display: flex; align-items: center; gap: 10px; border-radius: 13px; padding: 9px 16px; background: #fffffff1; box-shadow: 0 12px 25px #32564016; color: #698165; font-size: 11px; }
.visual-caption b { font-size: 25px; font-weight: 950; color: #3a6547; letter-spacing: -.07em; }
.home-benefits { padding-top: 53px; padding-bottom: 72px; }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.split-head h2 { font-size: clamp(25px, 2.8vw, 37px); margin: 0; }
.split-head a { color: #557947; font-weight: 750; font-size: 13px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.benefit { min-width: 0; display: grid; grid-template-columns: auto 1fr; gap: 16px; border: 1px solid var(--line); background: #fff; padding: 26px 23px; border-radius: 20px; transition: transform .2s, border-color .2s; }
.benefit:hover { border-color: #b6c995; transform: translateY(-3px); }
.benefit-number { font-size: 12px; color: #90a26d; font-weight: 900; letter-spacing: .04em; padding-top: 4px; }
.benefit h3 { margin: 0 0 10px; font-size: 18px; }
.benefit p { margin: 0 0 18px; line-height: 1.8; font-size: 13px; color: var(--muted); }
.benefit span { color: #608d4a; font-weight: 750; font-size: 12px; }

/* 04. 独立内容页的标题、功能和文章布局 */
.page-head { padding-top: 69px; padding-bottom: 45px; }
.page-head.compact { padding-top: 52px; padding-bottom: 35px; }
.page-head h1 { margin: 6px 0 16px; max-width: 920px; font-size: clamp(33px, 4vw, 50px); font-weight: 850; }
.page-head p { margin: 0; max-width: 740px; color: var(--muted); line-height: 1.9; font-size: 15px; }
.page-head-center { text-align: center; }
.page-head-center p { margin-left: auto; margin-right: auto; }
.section-block { margin-top: 52px; padding-top: 44px; padding-bottom: 32px; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 27px; }
.section-head h2 { font-size: 28px; margin: 0 0 10px; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.8; }
.soft-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.info-card { padding: 27px; }
.info-card .symbol { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px; background: #eff5d6; color: #52724d; font-size: 19px; }
.info-card h3 { font-size: 17px; margin: 19px 0 9px; }
.info-card p { font-size: 14px; color: var(--muted); line-height: 1.85; margin: 0; }
.info-card a { display: inline-block; font-size: 13px; font-weight: 740; color: #577c45; margin-top: 15px; }
.feature-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0,1fr); align-items: center; gap: 70px; padding: 28px 0 50px; }
.feature-row.alt > :first-child { order: 2; }
.feature-row .art { min-height: 275px; border-radius: 25px; overflow: hidden; display: grid; place-items: center; background: #f1f1df; }
.feature-row .art img { width: 100%; height: 100%; object-fit: cover; }
.feature-row h2 { font-size: 31px; margin: 8px 0 16px; }
.feature-row p { font-size: 15px; line-height: 1.9; color: var(--muted); }
.feature-row ul { color: #677867; padding-left: 22px; line-height: 2.2; font-size: 14px; }
.cta-band { margin-top: 25px; margin-bottom: 65px; padding: 32px 40px; background: #eaf2ce; border-radius: 22px; display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.cta-band h2 { margin: 0 0 7px; font-size: 24px; }
.cta-band p { margin: 0; color: #6a7e60; }
.note-box { background: #ecf1e1; border-radius: 13px; padding: 19px 23px; color: #62745e; line-height: 1.8; font-size: 13px; }

/* 05. 四档套餐、设备选择和下载入口 */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 5px; margin-bottom: 27px; }
.price-card { position: relative; min-width: 0; padding: 29px 22px 24px; background: #fff; border: 1px solid #e4e8d8; border-radius: 19px; }
.price-card.popular { border: 2px solid #abc967; padding: 28px 21px 23px; background: #faffeb; }
.price-tag { display: inline-flex; align-items: center; padding: 7px 11px; background: #eff4db; border-radius: 100px; font-size: 11px; color: #57724d; }
.price-card h2 { margin: 20px 0 0; font-size: 19px; }
.price-value { font-size: 57px; letter-spacing: -.07em; line-height: 1.2; margin-top: 15px; font-weight: 900; }
.price-value small { font-size: 19px; vertical-align: 12px; margin-right: 5px; }
.price-duration { margin-top: 7px; font-size: 13px; color: #7f8b78; }
.price-card ul { padding: 22px 0 15px; margin: 26px 0 15px; list-style: none; min-height: 115px; border-top: 1px solid #edf0e6; }
.price-card li { color: #6f7d68; font-size: 13px; line-height: 2.4; }
.price-card li::before { content: '✓'; color: #5e9e52; font-weight: 900; margin-right: 8px; }
.price-card .btn { width: 100%; }
.device-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.device-tabs button { border: 1px solid #dee6d8; color: #58705a; padding: 11px 23px; background: #fff; border-radius: 12px; }
.device-tabs button[aria-selected='true'] { color: #2c4933; font-weight: 760; border-color: #b1d164; background: #e5f6af; }
.device-panel { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: center; gap: 38px; padding: 35px; }
.device-panel h2 { font-size: 29px; margin: 0 0 13px; }
.device-panel p { font-size: 15px; color: var(--muted); line-height: 1.9; }
.device-panel ul { line-height: 2.1; padding-left: 20px; color: #647460; font-size: 14px; }
.device-art { border-radius: 19px; min-height: 310px; display: grid; place-items: center; background: #eff5d7; border: 1px solid #e5eacc; }
.device-art .device-symbol { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 35px; background: #fff; box-shadow: 0 18px 32px #668a5d1c; color: #628654; font-size: 93px; }
.device-art .device-label { display: block; text-align: center; margin-top: 19px; color: #68805e; font-weight: 700; }

/* 06. 帮助搜索、文章和信息导航 */
.help-search-wrap { display: flex; gap: 10px; padding: 13px; margin: 0 0 21px; }
.help-input { width: 100%; min-width: 0; flex: 1; padding: 14px 17px; border: 1px solid #dfe5d6; border-radius: 11px; background: #fff; color: var(--ink); }
.help-search-wrap button { border: 0; background: var(--mint); color: #345038; font-weight: 790; border-radius: 10px; min-width: 103px; }
.help-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 26px; }
.help-quick button { border: 1px solid #dce5d2; background: #fff; padding: 7px 13px; border-radius: 99px; color: #65765e; font-size: 12px; }
.help-quick button:hover { background: #edf4d5; }
.help-status { margin-bottom: 15px; color: #6d7965; font-size: 13px; }
.help-results { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }
.help-result { display: block; background: #fff; border: 1px solid var(--line); padding: 22px; border-radius: 15px; transition: transform .2s,border-color .2s; }
.help-result:hover { border-color: #bdd59a; transform: translateY(-2px); }
.help-result small { font-size: 11px; color: #5f8852; }
.help-result h3 { font-size: 16px; margin: 8px 0 7px; }
.help-result p { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0,800px) minmax(210px,250px); gap: 64px; padding-bottom: 70px; }
.article-main { min-width: 0; }
.article-main .lead { color: #576f5e; font-size: 16px; line-height: 2; margin: 0 0 28px; }
.article-section { border-top: 1px solid var(--line); padding: 28px 0; }
.article-section h2 { margin: 0 0 16px; font-size: 24px; }
.article-section p { color: #687768; line-height: 2; margin: 0; }
.article-section ol { color: #647266; line-height: 2.1; padding-left: 25px; }
.article-section li { margin: 4px 0; padding-left: 4px; }
.article-aside { align-self: start; position: sticky; top: 20px; background: #f1f4e7; border: 1px solid #e1e9d7; padding: 22px; border-radius: 17px; }
.article-aside h3 { font-size: 16px; margin: 0 0 15px; }
.article-aside a { display: block; border-top: 1px solid #dfe6d6; padding: 12px 0; font-size: 13px; color: #5d7658; }
.article-aside a:hover { color: var(--ink); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: #9aa18e; font-size: 12px; margin-bottom: 18px; }
.help-directory { background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 23px; }
.help-directory > summary { font-size: 16px; font-weight: 750; cursor: pointer; }
.help-directory h3 { font-size: 15px; margin: 25px 0 10px; }
.help-directory-links { display: flex; flex-wrap: wrap; gap: 11px 19px; }
.help-directory-links a { color: #5c765b; font-size: 13px; }
.help-directory-links a:hover { color: #234c2b; }

/* 07. PC / 平板 / 手机响应式适配 */
@media (max-width: 1110px) {
  .nav-links { gap: 14px; }
  .home-hero { grid-template-columns: 45% 55%; min-height: 610px; }
  .hero-visual { min-height: 410px; }
  .hero-visual img { height: 450px; }
  .home-copy h1 { font-size: clamp(45px, 5.3vw, 70px); }
}
@media (max-width: 850px) {
  .container { width: min(100% - 48px, 1240px); }
  .nav-wrap { min-height: 72px; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 70px; background: #fff; padding: 10px 20px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 35px #344a2820; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .home-hero { min-height: auto; grid-template-columns: 1fr; gap: 22px; padding-top: 45px; padding-bottom: 45px; }
  .home-copy { padding-right: 0; }
  .home-copy h1 { font-size: clamp(42px, 7.9vw, 66px); }
  .hero-visual { min-height: auto; }
  .hero-visual img { height: 450px; }
  .benefits { grid-template-columns: 1fr; }
  .feature-row { gap: 28px; }
  .info-grid { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: repeat(2,1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-aside { position: static; }
}
@media (max-width: 590px) {
  .container { width: min(100% - 36px, 1240px); }
  .brand { font-size: 16px; gap: 7px; }
  .brand img { width: 41px; height: 41px; }
  .nav-actions .btn { padding: 9px 12px; min-height: 39px; }
  .nav-wrap { gap: 8px; }
  .home-hero { padding-top: 38px; }
  .home-copy h1 { font-size: clamp(41px, 11.2vw, 55px); margin-top: 21px; }
  .home-copy h1 > span { font-size: .75em; }
  .home-lead { font-size: 14px; line-height: 1.85; }
  .hero-actions { margin-top: 24px; gap: 8px; }
  .hero-actions .btn { font-size: 13px; padding: 11px 18px; min-height: 48px; }
  .hero-footnote { margin-top: 22px; gap: 8px; font-size: 11px; }
  .hero-footnote span:not(:last-child)::after { padding-left: 8px; }
  .hero-visual { border-radius: 19px; }
  .hero-visual img { height: 310px; }
  .visual-label { top: 10px; left: 10px; font-size: 10px; padding: 6px 10px; }
  .visual-caption { bottom: 11px; right: 11px; padding: 5px 10px; font-size: 9px; }
  .visual-caption b { font-size: 20px; }
  .home-benefits { padding-top: 40px; padding-bottom: 44px; }
  .split-head { display: block; }
  .split-head h2 { margin-bottom: 12px; }
  .benefit { padding: 20px 18px; }
  .page-head { padding-top: 42px; padding-bottom: 30px; }
  .page-head h1 { font-size: 32px; }
  .page-head p { font-size: 14px; }
  .info-grid, .price-grid, .help-results { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 15px; padding: 15px 0 32px; }
  .feature-row.alt > :first-child { order: 0; }
  .feature-row h2 { font-size: 26px; }
  .feature-row .art { min-height: 180px; }
  .cta-band { display: block; padding: 25px 24px; }
  .cta-band .btn { margin-top: 18px; }
  .price-card ul { min-height: auto; }
  .device-panel { grid-template-columns: 1fr; gap: 22px; padding: 21px; }
  .device-art { min-height: 180px; }
  .device-art .device-symbol { width: 100px; height: 100px; font-size: 61px; border-radius: 24px; }
  .device-tabs button { flex: 1 1 38%; }
  .help-search-wrap { padding: 9px; }
  .help-search-wrap button { min-width: 62px; }
  .footer-flex { display: block; }
  .footer-links { justify-content: flex-start; margin-top: 20px; }
  .article-section h2 { font-size: 22px; }
}
@media (max-width: 360px) {
  .brand { font-size: 14px; }
  .nav-actions .btn { font-size: 11px; padding: 8px; }
  .home-copy h1 { font-size: 38px; }
  .hero-visual img { height: 275px; }
  .hero-actions .btn { padding: 10px 12px; }
  .hero-footnote { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; animation: none !important; }
}
