/* =====================================================================
   styles.css — 入口页（index.html）的设计系统。

   配色和控件照隔壁 imgkit 那一套（Tailwind v4 默认色板：stone-50 底、
   white 卡片、zinc-200 边框、neutral 文字、indigo-600 主色），版式骨架是：
   白色顶栏 + hero + 分类筛选药丸 + 工具卡片网格 + 说明区（核心功能 /
   怎么用 / 常见问题）+ 页脚。说明区那几屏是对着 subextractor.com 的
   首页学的（它有核心功能 6 张、怎么用 4 步、FAQ 6 条）。

   零外部依赖：不加载任何第三方字体、图标或脚本。 */
:root {
  --page:          #fafaf9;
  --bg:            #ffffff;
  --bg-elevated:   #ffffff;
  --bg-sunken:     #f5f5f4;
  --bg-hover:      #f5f5f4;

  --chip-on:       #4f39f6;
  --chip-on-fg:    #ffffff;
  --heading:       #171717;
  --text:          #404040;
  --text-muted:    #525252;
  --text-faint:    #737373;

  --border:        #e4e4e7;
  --border-strong: #d4d4d8;

  --accent:        #4f39f6;
  --accent-hover:  #432dd7;
  --accent-soft:   #eef2ff;

  --local:         #16a34a;
  --local-soft:    #dcfce7;
  --cdn:           #d97706;
  --cdn-soft:      #fef3c7;
  --network:       #dc2626;
  --network-soft:  #fee2e2;

  --hero-bg:       #faf8f5;
  --hero-ink:      #18181b;
  --hero-muted:    #52525b;
  --hero-line:     #e8e4dd;
  --hero-brand:    #4f39f6;
  --hero-brand-h:  #432dd7;
  --hero-brand-2:  #7c3aed;
  --hero-brand-3:  #a855f7;
  --hero-brand-soft: #eef2ff;
  --hero-card:     #ffffff;
  --hero-glow:     #efece5;
  --foot-bg:       rgba(255,255,255,.55);
  --foot-fg:       #525252;
  --foot-strong:   #171717;
  --foot-line:     #e4e4e7;

  --radius:        12px;
  --radius-card:   20px;
  --radius-sm:     8px;
  --radius-pill:   99px;
  --shadow:        0 1px 3px rgba(0,0,0,.10), 0 1px 2px -1px rgba(0,0,0,.10);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10);

  --check-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.8 12.6l4.6 4.6 9.8-10' fill='none' stroke='%23000' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page:          #0a0a0a;
    --bg:            #171717;
    --bg-elevated:   #171717;
    --bg-sunken:     #262626;
    --bg-hover:      #262626;
    --chip-on:       #818cf8;
    --chip-on-fg:    #171717;
    --heading:       #f5f5f5;
    --text:          #d4d4d4;
    --text-muted:    #a3a3a3;
    --text-faint:    #737373;
    --border:        #2e2e2e;
    --border-strong: #404040;
    --accent:        #818cf8;
    --accent-hover:  #a5b4fc;
    --accent-soft:   #1e1b4b;
    --local:         #4ade80;
    --local-soft:    #052e16;
    --cdn:           #fbbf24;
    --cdn-soft:      #451a03;
    --network:       #f87171;
    --network-soft:  #450a0a;
    --hero-bg:       #1a1917;
    --hero-ink:      #f4f4f5;
    --hero-muted:    #a1a1aa;
    --hero-line:     #2e2c29;
    --hero-brand:    #818cf8;
    --hero-brand-h:  #a5b4fc;
    --hero-brand-2:  #a78bfa;
    --hero-brand-3:  #c084fc;
    --hero-brand-soft: #221f3d;
    --hero-card:     #232228;
    --hero-glow:     #262421;
    --foot-bg:       rgba(23,23,23,.55);
    --foot-fg:       #a3a3a3;
    --foot-strong:   #f5f5f5;
    --foot-line:     #2e2e2e;
    --shadow:        0 1px 3px rgba(0,0,0,.5), 0 1px 2px -1px rgba(0,0,0,.5);
    --shadow-lg:     0 10px 15px -3px rgba(0,0,0,.5), 0 4px 6px -4px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --page:          #0a0a0a;
  --bg:            #171717;
  --bg-elevated:   #171717;
  --bg-sunken:     #262626;
  --bg-hover:      #262626;
  --chip-on:       #818cf8;
  --chip-on-fg:    #171717;
  --heading:       #f5f5f5;
  --text:          #d4d4d4;
  --text-muted:    #a3a3a3;
  --text-faint:    #737373;
  --border:        #2e2e2e;
  --border-strong: #404040;
  --accent:        #818cf8;
  --accent-hover:  #a5b4fc;
  --accent-soft:   #1e1b4b;
  --local:         #4ade80;
  --local-soft:    #052e16;
  --cdn:           #fbbf24;
  --cdn-soft:      #451a03;
  --network:       #f87171;
  --network-soft:  #450a0a;
  --hero-bg:       #1a1917;
  --hero-ink:      #f4f4f5;
  --hero-muted:    #a1a1aa;
  --hero-line:     #2e2c29;
  --hero-brand:    #818cf8;
  --hero-brand-h:  #a5b4fc;
  --hero-brand-2:  #a78bfa;
  --hero-brand-3:  #c084fc;
  --hero-brand-soft: #221f3d;
  --hero-card:     #232228;
  --hero-glow:     #262421;
  --foot-bg:       rgba(23,23,23,.55);
  --foot-fg:       #a3a3a3;
  --foot-strong:   #f5f5f5;
  --foot-line:     #2e2e2e;
  --shadow:        0 1px 3px rgba(0,0,0,.5), 0 1px 2px -1px rgba(0,0,0,.5);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,.5), 0 4px 6px -4px rgba(0,0,0,.5);
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--page); overflow-x: clip; }
body {
  margin: 0; background: none; color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* 一列到底：内容短的页面（账户页、联系我们）也要把页脚压到窗口底部，
     不然页脚会飘在半空中。中间空出来的那块由 .page-foot 的 margin-top:auto 吃掉。 */
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: var(--heading); }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--mono); font-size: .88em; }
kbd {
  background: var(--bg-sunken); border: 1px solid var(--border);
  border-bottom-width: 2px; border-radius: 4px; padding: .1em .4em; font-size: .82em;
}
::selection { background: var(--accent-soft); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 页脚（每页最后那一行） ----------
   .page-foot 这个类名一直在 HTML 里，但 CSS 从来没写过它 —— 页脚一直是裸的
   （没线、没留白、不居中），内容短的页面上看着就像飘在半空。补上：
   一条细线 + 居中的一行灰字；上面的 body 是 flex 列，margin-top:auto 负责把它
   推到窗口底部，内容长了就自然跟在后头。 */
.page-foot {
  margin-top: auto;
  width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto;
  padding: 24px 24px 34px;
  border-top: 1px solid var(--border);
  text-align: center; color: var(--text-faint); font-size: 13px; line-height: 1.9;
}
.page-foot a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.page-foot a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  background: var(--hero-bg);
  border-bottom: 1px solid var(--hero-line);
  padding: 72px 0 84px;
}
.hero__in { display: flex; align-items: center; gap: 48px; }
.hero__text { flex: 1 1 auto; min-width: 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 13px; margin-bottom: 24px;
  border-radius: var(--radius-pill);
  background: var(--hero-brand-soft); color: var(--hero-brand);
  font-size: 13.5px; font-weight: 700;
}
.hero__badge i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--hero-brand); flex: none; }
.hero__badge i::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--hero-brand); animation: hero-ping 1.9s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes hero-ping { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.6); opacity: 0; } }

.hero h1 {
  font-size: clamp(34px, 4.3vw, 54px); font-weight: 800;
  line-height: 1.16; letter-spacing: -.035em;
  color: var(--hero-ink); margin: 0 0 20px;
}
.hero h1 .gr {
  background-image: linear-gradient(96deg, var(--hero-brand), var(--hero-brand-2) 58%, var(--hero-brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  max-width: 31em; margin: 0 0 30px; text-wrap: pretty;
  font-size: 20px; line-height: 1.75; color: var(--hero-muted);
}
.hero__sub b { color: var(--hero-ink); font-weight: 700; }

.hero__checks { display: flex; gap: 28px; margin: 0 0 34px; }
.hero__checks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.hero__checks ul + ul { border-left: 1px solid var(--hero-line); padding-left: 28px; }
.hero__checks li {
  position: relative; padding-left: 29px;
  font-size: 15.5px; line-height: 1.45; color: var(--hero-muted);
}
.hero__checks li::before {
  content: ''; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: var(--hero-brand-soft);
}
.hero__checks li::after {
  content: ''; position: absolute; left: 4.5px; top: 4.5px;
  width: 11px; height: 11px; background: var(--hero-brand);
  -webkit-mask: var(--check-mask) center / contain no-repeat;
  mask: var(--check-mask) center / contain no-repeat;
}
@media (max-width: 620px) {
  .hero__checks { flex-direction: column; gap: 13px; }
  .hero__checks ul + ul { border-left: 0; padding-left: 0; }
}

/* hero 主按钮（去提取页） */
.hero__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-main {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 12px;
  background: var(--hero-brand); color: #fff;
  font-size: 17px; font-weight: 700; box-shadow: var(--shadow);
  transition: background .14s, box-shadow .14s, transform .14s;
}
.btn-main:hover { background: var(--hero-brand-h); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-main svg { width: 19px; height: 19px; flex: none; }
.btn-quiet {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--hero-brand);
}
.btn-quiet:hover { color: var(--hero-brand-h); }
.btn-quiet svg { width: 16px; height: 16px; transition: transform .14s; }
.btn-quiet:hover svg { transform: translateX(3px); }

/* ---------- Hero 右边那摞卡片（纯 CSS，没有图片请求） ---------- */
.hero__art { position: relative; flex: 0 0 430px; height: 380px; display: none; }
@media (min-width: 1060px) { .hero__art { display: block; } }
.hero__art .art-glow {
  position: absolute; inset: -6% -2%;
  background: radial-gradient(closest-side, var(--hero-glow), transparent 76%);
  border-radius: 50%;
}
.hcard {
  position: absolute; border-radius: 18px;
  background: var(--hero-card); border: 1px solid var(--hero-line);
  box-shadow: 0 20px 45px -22px rgba(24, 24, 27, .38), 0 2px 6px rgba(24, 24, 27, .05);
}
.hcard--l { left: -4px; top: 66px; width: 176px; height: 236px; padding: 14px; transform: rotate(-7deg); opacity: .96; }
.hcard--r { right: -6px; top: 50px; width: 184px; height: 244px; padding: 14px; transform: rotate(7deg); opacity: .96; }
.hcard--main { left: 50%; top: 26px; width: 268px; padding: 18px; transform: translateX(-50%); z-index: 3; }
.hero__art .art-pill {
  position: absolute; right: 2px; top: 4px; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--radius-pill);
  background: var(--hero-card); border: 1px solid var(--hero-line);
  box-shadow: 0 10px 22px -12px rgba(24, 24, 27, .35);
  font-size: 13px; font-weight: 700; color: var(--hero-ink);
}
.hero__art .art-pill i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; flex: none; }

/* 主卡：一块「影片画面」+ 框住的字幕条 + 认出来的几行 */
.hframe {
  position: relative; height: 118px; border-radius: 11px; overflow: hidden;
  background: linear-gradient(150deg, #1e2a4a, #141c33 62%, #0f1626);
}
.hframe .hplay {
  position: absolute; left: 50%; top: 42%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; background: rgba(255,255,255,.24);
  display: grid; place-items: center;
}
.hframe .hplay::after {
  content: ''; border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff; margin-left: 2px;
}
/* 框住字幕的选区 + 「Subtitle region」小签（hero 的主视觉语言） */
.hframe .hbox {
  position: absolute; left: 8%; right: 8%; bottom: 12px; height: 34px;
  border: 1.5px solid #fff; border-radius: 3px;
  box-shadow: 0 0 0 200px rgba(16, 17, 20, .38);
}
.hframe .hbox::after {
  content: 'Subtitle region';
  position: absolute; left: -1.5px; top: -20px;
  padding: 1px 9px; border-radius: 6px 6px 0 0;
  background: var(--hero-brand); color: #fff;
  font: 700 10px/1.8 var(--sans); white-space: nowrap;
}
.hframe .hbox i {
  position: absolute; width: 10px; height: 10px; background: #fff; border-radius: 2px;
}
.hframe .hbox i:nth-child(1) { left: -5px; top: -5px; }
.hframe .hbox i:nth-child(2) { right: -5px; top: -5px; }
.hframe .hbox i:nth-child(3) { left: -5px; bottom: -5px; }
.hframe .hbox i:nth-child(4) { right: -5px; bottom: -5px; }
.hline { height: 7px; border-radius: 99px; background: var(--hero-line); margin-top: 10px; }
.hline--s { width: 58%; }
/* 认出来的字（主卡下半那几行）：真句子比灰条更像「认出来了」 */
.hcue { font-size: 12.5px; line-height: 1.5; color: var(--hero-ink); font-weight: 600; margin-top: 12px; }
.hcue + .hcue { margin-top: 7px; padding-top: 7px; border-top: 1px dashed var(--hero-line); }
.hcue .hconf { float: right; font-size: 10.5px; font-weight: 700; color: var(--local); }
.hcard__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hero-line);
  font-size: 12.5px;
}
.hcard__foot b { color: var(--hero-brand); font-weight: 800; }
.hcard__foot span:last-child { color: var(--hero-muted); }

/* 后面两张陪衬卡 */
.hcard--l .hsrthead { height: 7px; border-radius: 99px; background: var(--hero-line); width: 62%; margin-bottom: 12px; }
.hcard--l .hsub { height: 46px; border-radius: 8px; background: linear-gradient(150deg, #dbeafe, #c7d2fe 58%, #ddd6fe); }
.hcard--r .hcards4 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.hcards4 i { display: block; height: 66px; border-radius: 10px; background: linear-gradient(150deg, #fef3c7, #fde68a); }
.hcards4 i:nth-child(2) { background: linear-gradient(150deg, #d1fae5, #a7f3d0); }
.hcards4 i:nth-child(3) { background: linear-gradient(150deg, #e0e7ff, #c7d2fe); }
.hcards4 i:nth-child(4) { background: linear-gradient(150deg, #ffe4e6, #fecdd3); }

/* ---------- 分类筛选药丸 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 20px; }
.chip {
  font: inherit; font-size: 14.5px; cursor: pointer;
  background: var(--bg-elevated); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 9px 18px; display: inline-flex; align-items: center; gap: 7px;
  transition: background .12s, border-color .12s, color .12s, transform .12s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--chip-on); border-color: var(--chip-on); color: var(--chip-on-fg); font-weight: 600; }
.chip[aria-pressed="true"]:hover { color: var(--chip-on-fg); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--tile, var(--text-faint)); }
.chip[aria-pressed="true"] .dot { background: var(--chip-on-fg); }
.chip .count { font-size: .88em; opacity: .65; font-variant-numeric: tabular-nums; }

/* ---------- 分组标题 / 工具卡片 ---------- */
.sec-title {
  margin: 44px 0 16px; font-size: 17px; font-weight: 700;
  color: var(--text); display: flex; align-items: center; gap: 9px;
}
.sec-title::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--tile, var(--text-faint)); }
.sec-title .n { font-weight: 500; font-size: 14px; color: var(--text-faint); }
.section { margin: 0 0 8px; scroll-margin-top: 84px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); }
.card {
  display: flex; flex-direction: column; gap: 9px;
  background: var(--bg-elevated); border-radius: var(--radius-card);
  padding: 20px 20px 18px; color: inherit; position: relative;
  box-shadow: var(--shadow);
  transition: box-shadow .16s, transform .16s;
}
.card:hover { text-decoration: none; color: inherit; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card .top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 4px; }
.card h3 {
  margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.015em;
  color: var(--heading); flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 10px;
}
.card .ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; color: var(--tile, var(--text-muted)); }
.card .ic svg { width: 30px; height: 30px; display: block; }
.card p {
  margin: 0; font-size: 15px; color: var(--text-muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card .foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card .slug { font-family: var(--mono); font-size: 12.5px; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 运行模式小标签：本地 / 需联网取语言数据 / 会发数据出去（红） */
.mtag {
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 2px 9px; border-radius: 99px;
}
.mtag.local { background: var(--local-soft); color: var(--local); }
.mtag.cdn { background: var(--cdn-soft); color: var(--cdn); }
.mtag.network { background: var(--network-soft); color: var(--network); }

.empty {
  text-align: center; padding: 56px 20px; color: var(--text-muted);
  background: var(--bg-sunken); border-radius: var(--radius);
}
.empty .chip { background: var(--bg-elevated); }

/* ---------- 说明区（核心功能 / 怎么用 / FAQ / CTA） ---------- */
.sect { padding: 62px 0 8px; }
.sect--alt { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 48px; padding: 58px 0 54px; }
.sect h2 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; text-align: center; margin: 0 0 12px; }
.sect .sect__sub { text-align: center; font-size: 16px; color: var(--text-muted); max-width: 60ch; margin: 0 auto 40px; }

.featgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 22px 22px 20px; box-shadow: var(--shadow);
}
.feat .fic {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.feat .fic svg { width: 22px; height: 22px; }
.feat b { display: block; font-size: 16.5px; color: var(--heading); margin-bottom: 6px; }
.feat p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--text-muted); }

.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 22px 20px; box-shadow: var(--shadow); position: relative;
}
.step .n {
  width: 32px; height: 32px; border-radius: 50%; margin-bottom: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 15px; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.step b { display: block; font-size: 16px; color: var(--heading); margin-bottom: 6px; }
.step p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text-muted); }

.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 20px; box-shadow: var(--shadow);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  font-size: 15.5px; font-weight: 600; color: var(--heading);
  display: flex; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; font-size: 20px; font-weight: 400; color: var(--text-faint);
  transition: transform .16s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 16px; font-size: 14.5px; line-height: 1.75; color: var(--text-muted); }
.faq .a p { margin: 0; }

.cta {
  text-align: center; padding: 64px 0 12px;
}
.cta h2 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; margin: 0 0 12px; }
.cta p { font-size: 16px; color: var(--text-muted); margin: 0 0 26px; }
.cta .btn-main { font-size: 18px; padding: 15px 30px; }

/* 广告位整个拿掉了（2026-10-12 决定）：本站靠订阅和额度包收费，
   页面上不再留任何广告位。 */

.page-note {
  margin: 26px auto 0; max-width: 74ch; text-align: center;
  font-size: 14px; color: var(--text-faint); line-height: 1.8;
}
.page-note .pn2 { white-space: nowrap; margin-left: 4px; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 56px;
  background: var(--foot-bg); color: var(--foot-fg);
  border-top: 1px solid var(--border);
  padding: 40px 0 26px; font-size: 14px;
}
.site-footer .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.site-footer h4 { color: var(--foot-strong); font-size: 13px; letter-spacing: .08em; margin: 0 0 12px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--foot-fg); }
.site-footer a:hover { color: var(--foot-strong); }
.site-footer .bottom {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--foot-line);
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  color: var(--foot-fg); font-size: 13.5px;
}
.site-footer .bottom .grow { flex: 1 1 auto; }

/* ---------- 联系我们（contact.html） ----------
   一页纸的内容：一张居中的卡片，邮箱是最大那颗靛蓝按钮。没做表单 ——
   本站没有服务端，表单发不出去；邮箱点开是写信，用户看得见收件人。 */
.contact { padding: 56px 0 8px; }
.contact__card {
  max-width: 620px; margin: 0 auto; text-align: center;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-card); box-shadow: var(--shadow);
  padding: 40px 36px 32px;
}
.contact__ic {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.contact__ic svg { width: 27px; height: 27px; display: block; }
.contact h1 { font-size: 32px; margin: 0 0 12px; }
.contact .lede {
  margin: 0 auto 26px; max-width: 44ch; text-wrap: pretty;
  font-size: 17px; line-height: 1.75; color: var(--text-muted);
}
.contact__mail {
  display: flex; gap: 10px; align-items: center; justify-content: center;
  flex-wrap: wrap; margin-bottom: 8px;
}
.mailbtn {
  font-size: 18px; font-weight: 600; letter-spacing: .01em;
  padding: 14px 24px; border-radius: 12px;
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow);
  transition: background .14s;
}
.mailbtn:hover { background: var(--accent-hover); color: #fff; }
.copybtn {
  padding: 13px 18px; border-radius: 12px; font-size: 15.5px; cursor: pointer;
  background: var(--bg-elevated); color: var(--text);
  border: 1px solid var(--border-strong);
  transition: background .14s, color .14s;
}
.copybtn:hover { background: var(--bg-sunken); color: var(--text); }
.contact__ok { margin: 10px 0 0; font-size: 14px; color: var(--local); min-height: 1.2em; }
.contact__tips {
  list-style: none; margin: 26px 0 22px; padding: 22px 0 0; text-align: left;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 11px;
}
.contact__tips li {
  position: relative; padding-left: 20px;
  font-size: 15px; line-height: 1.65; color: var(--text-muted);
}
.contact__tips li::before {
  content: ""; position: absolute; left: 2px; top: .58em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.contact__tips b { color: var(--heading); }
.contact__note { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--text-faint); }
@media (max-width: 640px) {
  .contact { padding: 30px 0 6px; }
  .contact__card { padding: 28px 20px 24px; }
  .contact h1 { font-size: 25px; }
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-elevated); border: 0;
  color: var(--text-muted); cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); font-size: 17px; padding: 0;
  opacity: 0; pointer-events: none; transition: opacity .18s, color .12s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: var(--accent); }

/* ---------- 窄屏 ---------- */
@media (max-width: 1000px) {
  .featgrid { grid-template-columns: 1fr 1fr; }
  .steps4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 46px; }
  .hero h1 { font-size: 34px; }
  .hero__sub { font-size: 16.5px; max-width: none; }
  .hero__badge { margin-bottom: 18px; }
  .sect h2, .cta h2 { font-size: 24px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 14px; }
  .grid { grid-template-columns: 1fr; }
  .featgrid, .steps4 { grid-template-columns: 1fr; }
  .to-top { right: 12px; bottom: 12px; }
}
@media print {
  .to-top, .filters { display: none !important; }
  body { background: #fff; }
  .card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
}
