/* ============================================================
   首页落地页样式（[ht_landing] 短代码输出）v1.1
   设计体系：ink var(--ht-ink) / cream var(--ht-on-dark-soft) / terracotta var(--ht-brand)
             正文 var(--ht-muted) / 边框 var(--ht-line) / 暖米底 var(--ht-surface-soft)
   配色原则：terracotta 是唯一品牌强调色；红/橙/绿/蓝只用于「声调」语义
   ============================================================ */

.ht-landing {
  font-family: var(--ht-font-sans);
  color: var(--ht-ink);
  line-height: 1.6;
}
.ht-container { max-width: min(1280px, 92vw); margin: 0 auto; padding: 0 var(--ht-s-5); box-sizing: border-box; }
/* 单一竖向节奏（v1.3 · 方案 B 对称）：上下各 36px，相邻间隔 = 36 + 36 = 72px。
   与 collapse 方案（间隔全由上一区块底部提供）的区别：
   间隔由两侧区块各出一半，所以每个区块的标题在自己色块内上下都有 36px 内缩，
   不会再紧贴色块边缘，也不会出现“色块底部空一大截”的失衡感。
   注意：既然不再有 collapse 规则，这里的数值就是「单侧」值，总间隔 = 该值 × 2。 */
/* 单侧留白走 --ht-section-y（40 -> 80 流式）。上一轮收敛时写死成 --ht-s-6(32px)，
   区块合计仅 64px，远低于欧美基准（桌面单侧 64–96px）→ 反馈「挤」。 */
.ht-section { padding: var(--ht-section-y) 0; }
.ht-section-alt { background: var(--ht-surface-soft); }
.ht-h1 { font-size: var(--ht-fs-h1); line-height: 1.18; font-weight: 700; margin: 0 0 var(--ht-s-4); letter-spacing: -.015em; }
.ht-h2 { font-size: var(--ht-fs-h2); font-weight: 700; margin: 0 0 var(--ht-s-2); }
.ht-h3-note { font-size: var(--ht-fs-base); color: var(--ht-muted); }
.ht-sub { font-size: var(--ht-fs-base); color: var(--ht-muted); margin: 0 0 var(--ht-s-6); }
.ht-lead { font-size: var(--ht-fs-md); line-height: 1.65; margin: 0 0 var(--ht-s-5); max-width: 46ch; }

/* 防御：wpautop 注入的空元素不应占格 */
.ht-landing br { display: none; }
.ht-landing p:empty { display: none; }
.ht-landing .ht-grid > p { display: contents; }

/* ---------- Hero：深墨底 ---------- */
/* Hero：深墨渐变 + 双色光晕 + 点阵肌理（v2.1.0）。
   层次：径向光晕（品牌红右上 / 雾蓝左下）→ 线性深墨底 → ::after 点阵。
   .ht-hero-inner 必须 position:relative + z-index，否则内容会被 ::after 压住。
   overflow:hidden 防止光晕在窄屏溢出产生横向滚动条。 */
.ht-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% 16%, var(--ht-hero-glow-a), transparent 60%),
    radial-gradient(820px 520px at 10% 84%, var(--ht-hero-glow-b), transparent 62%),
    var(--ht-hero-base);
  padding: var(--ht-s-8) 0 var(--ht-s-7);
}
.ht-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--ht-hero-dot) 1px, transparent 1px);
  background-size: var(--ht-hero-dot-gap) var(--ht-hero-dot-gap);
}
.ht-hero-inner { position: relative; z-index: 2; display: flex; gap: var(--ht-s-7); align-items: center; flex-wrap: wrap; }
.ht-hero-copy { flex: 1 1 380px; }
.ht-h1, .ht-hero .ht-h1 { color: var(--ht-on-dark-soft); }
.ht-hero .ht-lead { color: var(--ht-on-dark-muted); }
.ht-eyebrow {
  display: inline-block; border: 1px solid rgba(247,242,234,.28); color: var(--ht-on-dark-soft);
  /* 复用光晕色做徽章底：与 Hero 氛围同源，不另引色值。
     它是「Tap it. Hear it. Write it.」这类动作提示，做成实心徽章才像可点的入口。 */
  background: var(--ht-hero-glow-a);
  font-size: var(--ht-fs-xs); font-weight: 700; letter-spacing: .04em;
  padding: var(--ht-s-1) var(--ht-s-3); border-radius: var(--ht-r-pill); margin-bottom: var(--ht-s-5);
}
.ht-trust { font-size: var(--ht-fs-xs); color: var(--ht-on-dark-muted); margin: var(--ht-s-4) 0 0; }
.ht-hero-card { flex: 0 0 300px; }
.ht-demo .hanzi-card { width: 100%; max-width: 100%; flex: none; }

/* ---------- Buttons ----------
   v1.6.0 重做。旧版三处「廉价感」来源：① font-weight:700 在 16px 下笔画糊在一起
   （欧美精致产品一律 500–600）；② 纯色平贴无阴影，没有 z 轴层次；③ hover 只换背景色、
   没有 :active，缺少物理反馈。另有 999px 胶囊属 2019 年 Duolingo 模板风。
   现：字重 600 / 圆角 12px / 三层阴影（静息·悬停·按下）/ hover 上浮 1px / active 下压。
   主 CTA（Hero · 定价卡 · CTA 带）用朱砂渐变；次按钮与导航·页脚小按钮用纯色克制版。 */
.ht-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: var(--ht-fw-btn); font-size: var(--ht-fs-base); letter-spacing: -.01em;
  padding: var(--ht-s-3) var(--ht-s-5); border-radius: var(--ht-r-btn);
  text-decoration: none;
  /* 透明边框占位：ghost 变体有 1px 实边，不预留则同排实心按钮会比描边按钮矮 */
  border: 1px solid transparent;
  box-shadow: var(--ht-sh-btn);
  transition: background .18s var(--ht-ease), color .18s var(--ht-ease),
              border-color .18s var(--ht-ease), box-shadow .18s var(--ht-ease),
              transform .18s var(--ht-ease);
}
.ht-btn:hover  { transform: translateY(-1px); box-shadow: var(--ht-sh-btn-hover); }
.ht-btn:active { transform: translateY(0);    box-shadow: var(--ht-sh-btn-active); }

/* 主 CTA：渐变 + 重阴影（方案 C）。靠位移与阴影表达状态，不再改背景色 */
.ht-btn-primary { background: var(--ht-grad-brand); color: var(--ht-on-brand); }

/* 次按钮：纯色克制版（方案 A） */
.ht-btn-ghost {
  background: var(--ht-surface); color: var(--ht-ink);
  border-color: var(--ht-line-strong); box-shadow: var(--ht-sh-btn-ghost);
}
.ht-btn-ghost:hover { border-color: var(--ht-brand); color: var(--ht-brand); }
.ht-hero .ht-btn-ghost {
  background: transparent; color: var(--ht-on-dark-soft);
  border-color: rgba(247,242,234,.42); box-shadow: none;
}
.ht-hero .ht-btn-ghost:hover {
  background: rgba(247,242,234,.1); border-color: var(--ht-on-dark-soft); color: var(--ht-on-dark);
}
.ht-btn-light { background: var(--ht-surface); color: var(--ht-brand); box-shadow: var(--ht-sh-btn-ghost); }
.ht-btn-light:hover { background: var(--ht-brand-tint); }
.ht-btn-block { width: 100%; box-sizing: border-box; }
.ht-cta-row { display: flex; gap: var(--ht-s-4); flex-wrap: wrap; }

/* 键盘焦点环（WCAG 2.4.7）：此前只有 .ht-course-link 有 :focus-visible，
   Hero CTA 与三张定价卡的按钮都没有 —— 键盘用户完全看不到焦点在哪。
   深底（Hero、主推定价卡、CTA 带）上改用白描边：品牌色沉进深底等于没有焦点。 */
.ht-btn:focus-visible { outline: 2px solid var(--ht-brand); outline-offset: 3px; }
.ht-hero .ht-btn:focus-visible,
.ht-price-featured .ht-btn:focus-visible,
.ht-cta-band .ht-btn:focus-visible { outline-color: var(--ht-on-dark); }

/* 减弱动画偏好：位移与阴影一并停用，只保留颜色过渡 */
@media (prefers-reduced-motion: reduce) {
  .ht-btn { transition: none; }
  .ht-btn:hover, .ht-btn:active { transform: none; }
}

/* ---------- 课程卡 ---------- */
.ht-courses-head { margin-bottom: var(--ht-s-5); }
/* 课程归档页 /courses/ 的统计行（由 [ht_courses] 短代码输出） */
.ht-courses-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--ht-s-4);
  margin-top: var(--ht-s-4);
  font-size: var(--ht-fs-sm); color: var(--ht-muted);
}
.ht-courses-meta strong { color: var(--ht-ink); }
/* 「See pricing」链接：刻意不用 .ht-course-link ——
   那个类的 ::after 是 position:absolute + inset:0 的「整卡可点」遮罩，
   离开 .ht-course（它自带 position:relative）后会盖住整页，把点击全部吃掉。 */
.ht-courses-cta {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ht-brand); font-weight: 600; text-decoration: none;
}
.ht-courses-cta:hover { color: var(--ht-brand-dark); text-decoration: underline; }
.ht-courses-cta:focus-visible { outline: 2px solid var(--ht-brand); outline-offset: 3px; border-radius: var(--ht-r-sm); }
/* 归档页标题区：下边距收窄，避免与紧邻的课程分组之间出现两段大留白叠加 */
.ht-courses-intro { padding-bottom: var(--ht-s-5); }

/* ---------- /courses/ 归档页：搜索框 + 分类 chips + 高密度网格（首页方案 B 版式） ----------
   依赖 courses-filter.js。无 JS 时 .ht-courses-page 拿不到 .ht-js，工具栏整条隐藏，
   9 门课全量展示 —— 不留「点了没反应」的死控件。 */

/* hidden 属性必须显式兜底：.ht-course 是 display:flex，作者样式会盖掉 UA 的 [hidden]{display:none}，
   不写这条的话筛选「看起来没生效」。放在 .ht-courses-page 作用域内，不污染全站。 */
.ht-courses-page [hidden] { display: none !important; }

.ht-courses-page:not(.ht-js) .ht-courses-toolbar { display: none; }
.ht-courses-toolbar {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--ht-s-3);
  margin-top: var(--ht-s-5);
}

/* 搜索框：图标与清除按钮绝对定位在输入框内，输入框自己承担 44px 触摸高度 */
.ht-courses-search { position: relative; flex: 1 1 300px; max-width: 420px; }
.ht-search-ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  display: flex; color: var(--ht-subtle); pointer-events: none;
}
.ht-search-input {
  width: 100%; height: var(--ht-tap); box-sizing: border-box;
  padding: 0 44px 0 40px;
  font-family: inherit; font-size: var(--ht-fs-base); color: var(--ht-ink);
  background: var(--ht-surface); border: 1px solid var(--ht-line);
  border-radius: var(--ht-r-btn);
  transition: border-color .18s var(--ht-ease), box-shadow .18s var(--ht-ease);
}
.ht-search-input::placeholder { color: var(--ht-subtle); }
.ht-search-input:focus { outline: 0; border-color: var(--ht-brand); box-shadow: var(--ht-ring); }
/* 浏览器自带的 type=search 清除按钮样式不可控（且 Safari 上是灰叉），用我们自己的按钮替代 */
.ht-search-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.ht-search-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0;
  background: none; border: 0; border-radius: var(--ht-r-sm);
  color: var(--ht-subtle); cursor: pointer;
  transition: color .18s var(--ht-ease), background-color .18s var(--ht-ease);
}
.ht-search-clear:hover { color: var(--ht-ink); background: var(--ht-surface-soft); }
.ht-search-clear:focus-visible { outline: 2px solid var(--ht-brand); outline-offset: 1px; }

/* 分类 chips：单选，数量角标实时来自服务端统计 */
.ht-courses-chips { display: flex; flex-wrap: wrap; gap: var(--ht-s-2); }
.ht-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 var(--ht-s-4);
  font-family: inherit; font-size: var(--ht-fs-sm); font-weight: 600;
  color: var(--ht-ink-2); background: var(--ht-surface);
  border: 1px solid var(--ht-line); border-radius: var(--ht-r-pill);
  cursor: pointer;
  transition: border-color .18s var(--ht-ease), color .18s var(--ht-ease), background-color .18s var(--ht-ease);
}
.ht-chip:hover { border-color: var(--ht-brand); color: var(--ht-brand-dark); }
.ht-chip:focus-visible { outline: 2px solid var(--ht-brand); outline-offset: 2px; }
.ht-chip.is-active { background: var(--ht-brand); border-color: var(--ht-brand); color: var(--ht-on-brand); }
.ht-chip-n { font-size: var(--ht-fs-xs); font-weight: 500; opacity: .75; }

/* 高密度网格：比首页 .ht-grid（gap 16px / 3 列固定）更紧，一屏能扫到更多课
   auto-fill + minmax 让列数随容器自适应：约 4 / 3 / 2 / 1 列，无需手写断点 */
.ht-courses-grid {
  display: grid; gap: var(--ht-s-3);
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
}
.ht-courses-grid .ht-course { padding: var(--ht-s-4); }
.ht-courses-empty {
  padding: var(--ht-s-6) 0; text-align: center;
  font-size: var(--ht-fs-md); color: var(--ht-muted);
}
/* 列表区紧跟标题区，标题区已经给了下边距，这里顶部不再叠加一段 */
.ht-courses-list { padding-top: var(--ht-s-5); }

/* 套餐条：只讲 HSK 1 六门，不把生活主题课混进 $49 的承诺 */
.ht-bundle-strip { background: var(--ht-surface-alt); }
.ht-bundle-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--ht-s-5); flex-wrap: wrap;
}
.ht-bundle-copy { flex: 1 1 420px; }
.ht-bundle-inner .ht-sub { margin-bottom: 0; }

@media (max-width: 768px) {
  /* 触摸目标回到 44px（Google 移动端指引 44–48px） */
  .ht-chip { min-height: var(--ht-tap); }
  .ht-courses-search { max-width: none; flex-basis: 100%; }
  .ht-bundle-inner { flex-direction: column; align-items: flex-start; }
  .ht-bundle-inner .ht-btn { width: 100%; }
}

.ht-grid { display: grid; gap: var(--ht-s-4); }
.ht-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ht-course {
  position: relative; display: flex; flex-direction: column; background: var(--ht-surface);
  border: 1px solid var(--ht-line); border-radius: var(--ht-r-lg); padding: var(--ht-s-5) var(--ht-s-5);
  text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ht-course:hover, .ht-course:focus-within { border-color: var(--ht-brand); transform: translateY(-2px); box-shadow: var(--ht-sh-md); }
.ht-course p { margin: 0; }
.ht-course-cn { font-size: var(--ht-fs-xl); font-weight: 700; font-family: var(--ht-font-cn); color: var(--ht-ink); }
/* 注意：没有给标题留徽章让位。试过 padding-right: var(--ht-s-7)，窄屏（<1220）标题会被挤成两行，
   那一行卡片就比其他卡高 var(--ht-s-5)，「N cards」随之错位——比徽章轻微压字更难接受。 */
.ht-course-en { font-size: var(--ht-fs-xs); color: var(--ht-muted); margin: var(--ht-s-1) 0 var(--ht-s-3); letter-spacing: .01em; }
.ht-course-tag { font-size: var(--ht-fs-sm); color: var(--ht-muted); flex: 1 1 auto; }

/* 卡片右侧留白填充：六门课各配一个示例词，声调用站内语义色（1红 2橙 3绿 4蓝 轻声灰），
   音节下方标声调序号（轻声用中点表示，没有序号）。
   示例块高度只有 ≈28px（17px 音节 + 1px + 10px 序号），刻意压紧：
   它一变高就会把 tag 与「N cards」之间的间距重新撑大（这是之前被指出的老问题）。 */
.ht-course-tag.has-demo { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--ht-s-3); }
.ht-course-tag.has-demo .ht-tag-text { flex: 0 1 auto; }
.ht-tone-demo { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; }
.ht-tone-row { display: inline-flex; gap: var(--ht-s-2); }
.ht-tone {
  display: inline-flex; flex-direction: column; align-items: center;
  font-size: var(--ht-fs-md); font-weight: 700; line-height: 1;
  font-family: var(--ht-font-sans);
}
/* 声调序号。10px 是能看清又不抢戏的下限，再小会糊成一团 */
.ht-tone small {
  font-size: var(--ht-fs-xs); font-weight: 700; line-height: 1;
  opacity: .7; margin-top: 1px;
}
.ht-tone.t1 { color: var(--ht-tone-1); }
.ht-tone.t2 { color: var(--ht-tone-2); }
.ht-tone.t3 { color: var(--ht-tone-3); }
.ht-tone.t4 { color: var(--ht-tone-4); }
.ht-tone.tn { color: var(--ht-tone-0); }
/* 「N cards · 2 lessons」与右侧说明同一行：左卡片数、右付费/门槛说明。
   说明放在这一行而不是示例词下面，是为了让示例块只占 28px，避免重开间距。 */
.ht-course-meta {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--ht-s-1) var(--ht-s-3); flex-wrap: wrap;
  font-size: var(--ht-fs-xs); color: var(--ht-brand); font-weight: 700; margin-top: var(--ht-s-2);
}
.ht-tone-note { font-size: var(--ht-fs-xs); line-height: 1.2; color: var(--ht-muted); white-space: nowrap; }
/* 课程卡箭头链接（欧美 SaaS 常见做法：克制字号 + 中等字重 + hover 微位移）。
   原先是字面量 &rarr; + 14px/700，小字号下过重显廉价，且没有任何 hover 反馈。 */
.ht-course-link {
  display: inline-flex; align-items: center; gap: var(--ht-s-2);
  margin-top: var(--ht-s-3); font-size: var(--ht-fs-sm); font-weight: 600;
  color: var(--ht-brand); position: relative; z-index: 2;
  letter-spacing: .01em; line-height: 1.2;
  transition: color .18s ease;
}
.ht-course-link .ht-arrow {
  width: 14px; height: 14px; flex: none;
  transition: transform .18s ease;
}
/* 遮罩覆盖整卡，所以悬停卡片任意处都会触发下面的箭头位移 */
.ht-course-link:hover { color: var(--ht-brand-dark); }
.ht-course-link:hover .ht-arrow { transform: translateX(3px); }
.ht-course-link:focus-visible { outline: 2px solid var(--ht-brand); outline-offset: 3px; border-radius: var(--ht-r-sm); }
/* 整卡可点 */
.ht-course-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .ht-course-link, .ht-course-link .ht-arrow { transition: none; }
  .ht-course-link:hover .ht-arrow { transform: none; }
}
.ht-badge {
  position: absolute; top: var(--ht-s-4); right: var(--ht-s-4); background: var(--ht-success-bg); color: var(--ht-success);
  font-size: var(--ht-fs-xs); font-weight: 700; padding: var(--ht-s-1) var(--ht-s-2); border-radius: var(--ht-r-pill);
}

/* ---------- 卡片解剖：你 + 好 = 你好 ---------- */
.ht-demo-band { display: block; }
.ht-eq { display: flex; align-items: center; justify-content: center; gap: var(--ht-s-5); flex-wrap: wrap; }
.ht-op {
  font-size: var(--ht-fs-h3); font-weight: 600; line-height: 1;
  color: var(--ht-brand); opacity: .5; user-select: none; text-align: center;
}
.ht-demo-card { flex: 0 0 260px; min-width: 0; display: flex; }
.ht-demo-card > .hanzi-card { width: 100%; height: 100%; }
.ht-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ht-s-6); margin-top: var(--ht-s-6); }
.ht-point { display: flex; gap: var(--ht-s-3); align-items: flex-start; }
.ht-point h3 { font-size: var(--ht-fs-base); font-weight: 700; margin: 0 0 var(--ht-s-1); }
.ht-point p { font-size: var(--ht-fs-sm); color: var(--ht-muted); margin: 0; max-width: 52ch; }
.ht-dot { flex: 0 0 10px; height: 10px; border-radius: 50%; margin-top: var(--ht-s-2); }
.ht-dot-1 { background: var(--ht-tone-1); }
.ht-dot-2 { background: var(--ht-tone-2); }
.ht-dot-3 { background: var(--ht-tone-3); }
.ht-dot-4 { background: var(--ht-tone-4); }

/* ---------- 三步 ---------- */
.ht-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ht-s-4); }
.ht-step { background: var(--ht-surface); border: 1px solid var(--ht-line); border-radius: var(--ht-r-lg); padding: var(--ht-s-5) var(--ht-s-5); }
.ht-step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--ht-r-md); background: var(--ht-brand-tint); color: var(--ht-brand); font-size: var(--ht-fs-h3); font-weight: 700;
  margin-bottom: var(--ht-s-4);
}
.ht-step h3 { font-size: var(--ht-fs-base); font-weight: 700; margin: 0 0 var(--ht-s-2); }
.ht-step p { font-size: var(--ht-fs-sm); color: var(--ht-muted); margin: 0; }

/* ---------- 价格 ---------- */
/* 层级：一张主推（深墨底）+ 两张陪衬（白底）。三张卡原本同权重，
   读者的目光会在 $12 和白卡之间分散；现在只有一张卡在「发光」。 */
.ht-kicker {
  display: inline-block; font-size: var(--ht-fs-xs); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ht-brand); margin: 0 0 var(--ht-s-3);
}
.ht-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ht-s-4); align-items: stretch; }
.ht-price {
  position: relative; display: flex; flex-direction: column; background: var(--ht-surface);
  border: 1px solid var(--ht-line); border-radius: var(--ht-r-lg); padding: var(--ht-s-5) var(--ht-s-5) var(--ht-s-5);
}
.ht-price-featured {
  background: var(--ht-dark); border-color: var(--ht-dark); color: var(--ht-on-dark-soft);
  box-shadow: var(--ht-sh-lg);
}
.ht-price-tag {
  position: absolute; top: -12px; left: var(--ht-s-5); background: var(--ht-brand); color: var(--ht-on-brand);
  font-size: var(--ht-fs-xs); font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  padding: var(--ht-s-1) var(--ht-s-3); border-radius: var(--ht-r-pill);
}
.ht-price-name { font-size: var(--ht-fs-xs); font-weight: 700; color: var(--ht-muted); text-transform: uppercase; letter-spacing: .08em; }
.ht-price-featured .ht-price-name { color: var(--ht-on-dark-dim); }
.ht-price-amount { font-size: var(--ht-fs-price); font-weight: 700; line-height: 1.15; margin: var(--ht-s-2) 0 0; letter-spacing: -.02em; }
.ht-price-list { font-size: var(--ht-fs-md); font-weight: 400; color: var(--ht-subtle); text-decoration: line-through; margin-left: var(--ht-s-2); letter-spacing: 0; }
.ht-price-featured .ht-price-list { color: var(--ht-on-dark-dim); }
.ht-price-desc { font-size: var(--ht-fs-sm); line-height: 1.5; color: var(--ht-muted); margin: var(--ht-s-2) 0 0; }
.ht-price-featured .ht-price-desc { color: var(--ht-on-dark-muted); }
.ht-price-featured .ht-price-desc strong { color: var(--ht-on-dark-soft); }
/* 「学完之后能说出什么」：把 210 个字翻译成读者能想象的生活场景。
   放在卡片上方而不是塞进主推卡 —— 塞进卡里会让主推卡高出 143px，
   另外两张白卡底部就会空出 165px 的洞（1100px 宽时更是 259px）。 */
.ht-outcome { margin: 0 0 var(--ht-s-5); }
.ht-outcome-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--ht-s-3); }
.ht-outcome-list li {
  display: inline-flex; align-items: baseline; gap: var(--ht-s-2); white-space: nowrap;
  background: var(--ht-surface); border: 1px solid var(--ht-line); border-radius: var(--ht-r-md); padding: var(--ht-s-2) var(--ht-s-4);
  font-size: var(--ht-fs-xs); color: var(--ht-muted);
}
.ht-outcome-list b {
  font-family: var(--ht-font-cn);
  font-size: var(--ht-fs-md); font-weight: 700; color: var(--ht-ink);
}
/* 清单吃满剩余高度：三张卡的按钮因此落在同一水平线上 */
.ht-price-items {
  flex: 1 1 auto; list-style: none; margin: var(--ht-s-4) 0 var(--ht-s-5); padding: var(--ht-s-4) 0 0;
  border-top: 1px solid var(--ht-line); color: var(--ht-ink-2);
  display: flex; flex-direction: column; gap: var(--ht-s-2);
  font-size: var(--ht-fs-sm); line-height: 1.5;
}
.ht-price-featured .ht-price-items { border-top-color: rgba(247, 242, 234, .14); color: var(--ht-on-dark-soft); }
.ht-price-items li { position: relative; padding-left: var(--ht-s-5); }
.ht-price-items li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--ht-brand); font-size: var(--ht-fs-xs); font-weight: 700; line-height: 1.55;
}
.ht-price-featured .ht-price-items li::before { color: var(--ht-brand-on-dark); }
/* 深色底上需要更亮的按钮，否则品牌色沉进背景 */
/* 深底（Hero / 主推定价卡）主 CTA 改为反白实心。
   渐变 #c4523c→#a3391f 放在深墨 #1c2430 上实测对比仅 3.44 / 2.35（非文本元素最低 3.0），
   放在品牌红底上更只有 1.18 → 按钮与背景融为一体，这是「不跳」的根因。
   深底上唯一能跳的是高明度：米白底 vs 深墨 14.02，字 #8f3222 vs 米白 7.12（AAA）。
   渐变仍保留给浅底主 CTA（评价表单提交按钮等），两套各司其职。 */
.ht-hero .ht-btn-primary,
.ht-price-featured .ht-btn-primary {
  background: var(--ht-btn-invert-bg); color: var(--ht-btn-invert-fg);
  box-shadow: var(--ht-sh-btn-invert);
}
.ht-hero .ht-btn-primary:hover,
.ht-price-featured .ht-btn-primary:hover {
  background: var(--ht-btn-invert-bg-hover); box-shadow: var(--ht-sh-btn-invert);
}
.ht-price-micro { font-size: var(--ht-fs-xs); color: var(--ht-subtle); text-align: center; margin: var(--ht-s-3) 0 0; }
.ht-price-featured .ht-price-micro { color: var(--ht-on-dark-dim); }
.ht-price-foot { font-size: var(--ht-fs-xs); color: var(--ht-subtle); text-align: center; margin: var(--ht-s-5) 0 0; }

/* ---------- FAQ ---------- */
/* 不再单独设 max-width：继承 .ht-container，避免 max-width:none 变成全视口铺满 */
.ht-faq { border-top: 1px solid var(--ht-line); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--ht-s-7); }
.ht-faq-item { border-bottom: 1px solid var(--ht-line); padding: var(--ht-s-4) var(--ht-s-1); }
.ht-faq-item summary {
  cursor: pointer; font-size: var(--ht-fs-base); font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; gap: var(--ht-s-4); align-items: center;
}
.ht-faq-item summary::-webkit-details-marker { display: none; }
.ht-faq-item summary::after { content: "+"; color: var(--ht-brand); font-size: var(--ht-fs-xl); font-weight: 400; line-height: 1; }
.ht-faq-item[open] summary::after { content: "\2212"; }
.ht-faq-item p { font-size: var(--ht-fs-sm); color: var(--ht-muted); margin: var(--ht-s-3) 0 0; max-width: 66ch; }

/* ---------- CTA 条 ---------- */
.ht-cta-band { background: var(--ht-brand); color: var(--ht-on-brand); padding: var(--ht-s-7) 0; }
.ht-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--ht-s-5); flex-wrap: wrap; }
.ht-cta-text { font-size: var(--ht-fs-xl); font-weight: 700; }

/* ---------- 老师介绍 ---------- */
.ht-teacher-inner { display: grid; grid-template-columns: 320px 1fr; gap: var(--ht-s-7); align-items: center; }
.ht-teacher-photo-wrap { position: relative; }
.ht-teacher-photo {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--ht-r-lg); box-shadow: var(--ht-sh-lg);
  background: var(--ht-surface-soft); display: block;
}
.ht-teacher-copy { text-align: left; }
.ht-left { text-align: left; }
.ht-teacher-name { font-size: var(--ht-fs-h3); font-weight: 700; color: var(--ht-ink); margin: 0 0 var(--ht-s-1); }
.ht-teacher-cred { display: block; font-size: var(--ht-fs-sm); font-weight: 600; color: var(--ht-brand); margin-top: var(--ht-s-1); }
.ht-teacher-bio { font-size: var(--ht-fs-base); line-height: 1.7; color: var(--ht-muted); margin: var(--ht-s-4) 0 0; max-width: 52ch; }
.ht-teacher-sign { margin: var(--ht-s-4) 0 0; font-size: var(--ht-fs-xl); color: var(--ht-ink); }
.ht-teacher-note {
  display: inline-block; margin-top: var(--ht-s-4); font-size: var(--ht-fs-xs); color: var(--ht-muted);
  border: 1px dashed var(--ht-line-strong); border-radius: var(--ht-r-sm); padding: var(--ht-s-1) var(--ht-s-3);
}

/* ---------- 学员评价 ---------- */
.ht-reviews { background: var(--ht-surface-soft); }
.ht-review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--ht-s-4); margin-top: var(--ht-s-6); }
.ht-review {
  background: var(--ht-surface); border: 1px solid var(--ht-line); border-radius: var(--ht-r-lg);
  padding: var(--ht-s-5) var(--ht-s-5); display: flex; flex-direction: column; gap: var(--ht-s-4);
}
.ht-review-stars { color: var(--ht-star); font-size: var(--ht-fs-base); letter-spacing: 2px; }
.ht-review-quote { font-size: var(--ht-fs-base); line-height: 1.65; color: var(--ht-ink); margin: 0; flex: 1; }
.ht-review-author { display: flex; align-items: center; gap: var(--ht-s-3); }
.ht-review-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 40px;
  background: var(--ht-surface-soft); color: var(--ht-muted); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--ht-fs-base);
}
.ht-review-name { font-size: var(--ht-fs-sm); font-weight: 700; color: var(--ht-ink); }
.ht-review-meta { font-size: var(--ht-fs-xs); color: var(--ht-subtle); }

/* ---------- 响应式 ----------
   断点收敛为 4 档（唯一文档见 tokens.css）：1280 / 1024 / 768 / 480。
   本站容器最大 1280px，故实际只用 1024 / 768 / 480 三档。
   旧值归并：1120·1100·1080 -> 1024；900 -> 768；620·385 -> 480。
   字号改走 clamp() 流式缩放后，h1 不再需要按断点覆盖（旧版 900 档 34px、620 档 28px 已删除）。 */
@media (max-width: 1024px) {
  /* 三列课程卡内宽不足（tag 文字 + 四声卡 ≈271px）：隐藏四声演示，避免挤成两行 */
  .ht-tone-demo { display: none; }
  /* 示例词隐藏后，释义就没有了参照对象，一并隐藏；免费卡的门槛提示与此无关，保留 */
  .ht-tone-note.is-gloss { display: none; }
  /* 三段式改「两卡并排 + 说明在下」 */
  .ht-points { grid-template-columns: 1fr 1fr; }
  /* 价格区降到两列会剩一张孤零零占半行，所以直接单列 */
  .ht-pricing { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: var(--ht-s-5); }
}
@media (max-width: 768px) {
  .ht-faq { grid-template-columns: 1fr; column-gap: 0; }
  .ht-teacher-inner { grid-template-columns: 1fr; gap: var(--ht-s-5); }
  .ht-teacher-photo-wrap { max-width: 280px; }
  .ht-review-grid { grid-template-columns: 1fr 1fr; }
  .ht-grid-3, .ht-steps { grid-template-columns: 1fr 1fr; }
  .ht-hero { padding: var(--ht-s-6) 0 var(--ht-s-7); }
  .ht-demo-band { gap: var(--ht-s-6); }
}
@media (max-width: 480px) {
  .ht-grid-3, .ht-steps, .ht-pricing { grid-template-columns: 1fr; }
  .ht-review-grid { grid-template-columns: 1fr; }
  .ht-outcome-list { gap: var(--ht-s-2); }
  .ht-outcome-list li { padding: var(--ht-s-2) var(--ht-s-3); font-size: var(--ht-fs-xs); gap: var(--ht-s-2); }
  .ht-outcome-list b { font-size: var(--ht-fs-base); }
  .ht-price { padding: var(--ht-s-5) var(--ht-s-5) var(--ht-s-4); }
  .ht-price-items { gap: var(--ht-s-2); margin: var(--ht-s-4) 0 var(--ht-s-4); padding-top: var(--ht-s-4); }
  .ht-hero-card { flex: 1 1 100%; }
  /* 手机上等式竖向排列：你 / + / 好 / = / 你好
     align-items:stretch 让三张卡等宽铺满（否则 center 会按各自内容宽度收窄，
     「你好」卡会明显比单字卡窄） */
  .ht-eq { flex-direction: column; gap: var(--ht-s-3); align-items: stretch; }
  .ht-demo-card { flex: 0 0 auto; width: 100%; }
  .ht-points { grid-template-columns: 1fr; gap: var(--ht-s-5); margin-top: var(--ht-s-6); }
  /* 单列布局下标题换成两行不会造成左右错位，才敢给徽章让位，避免压住最后一个字 */
  .ht-badge + .ht-course-cn { padding-right: var(--ht-s-7); }
  /* 单列其实放得下示例词：撤销 1024 档的隐藏，再收窄两处间隙腾出空间。
     flex-wrap 兜底：真放不下时示例块整块换到下一行（margin-left:auto 保证仍靠右）。 */
  .ht-tone-demo { display: flex; margin-left: auto; }
  .ht-tone-note.is-gloss { display: inline; }
  .ht-course-tag.has-demo { gap: var(--ht-s-2); flex-wrap: wrap; }
  .ht-tone-row { gap: var(--ht-s-1); }
  /* 原 ≤385px 档合并进来：窄屏（375–430px）示例词再收一档，
     音节降到 16px、间隙收到 4px，换任何字体都不至于挤到换行。 */
  .ht-tone { font-size: var(--ht-fs-base); }

  /* 评价表单两栏 -> 上下堆叠 */
  .ht-review-row2 { flex-direction: column; gap: var(--ht-s-4); }
  .ht-review-row2 .ht-review-field { flex: 1 1 auto; }
}

/* 减弱动画偏好 */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ==================== T1-1 真实评价采集表单 ====================
   访客提交后进入待审队列，前台只显示「已提交，等待审核」——不会出现假评价。 */
.ht-review-submit { margin-top: var(--ht-s-6); padding-top: var(--ht-s-5); border-top: 1px solid rgba(28, 36, 48, .1); }
.ht-review-submit-title { font-size: var(--ht-fs-lg); line-height: 1.4; margin: 0 0 var(--ht-s-2); color: var(--ht-ink); }
.ht-review-submit-note { margin: 0 0 var(--ht-s-4); font-size: var(--ht-fs-sm); color: var(--ht-muted); }
.ht-review-form { max-width: 640px; }

.ht-review-field { margin: 0 0 var(--ht-s-4); }
.ht-review-field label { display: block; font-size: var(--ht-fs-xs); font-weight: 700; color: var(--ht-ink-2); margin-bottom: var(--ht-s-2); }
.ht-req { color: var(--ht-brand); }
.ht-review-field input[type="text"],
.ht-review-field select,
.ht-review-field textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: var(--ht-fs-base); color: var(--ht-ink);
  background: var(--ht-surface); border: 1.5px solid var(--ht-line-strong); border-radius: var(--ht-r-md); padding: var(--ht-s-3) var(--ht-s-3);
  transition: border-color .2s, box-shadow .2s;
}
.ht-review-field textarea { resize: vertical; line-height: 1.6; }
.ht-review-field select { padding: var(--ht-s-3) var(--ht-s-3); }
.ht-review-field input:focus,
.ht-review-field select:focus,
.ht-review-field textarea:focus {
  outline: none; border-color: var(--ht-brand); box-shadow: var(--ht-ring);
}
.ht-review-row2 { display: flex; gap: var(--ht-s-3); flex-wrap: wrap; margin: 0 0 var(--ht-s-4); }
.ht-review-row2 .ht-review-field { flex: 1 1 170px; margin-bottom: 0; }

.ht-review-msg { margin: 0 0 var(--ht-s-4); padding: var(--ht-s-3) var(--ht-s-4); border-radius: var(--ht-r-md); font-size: var(--ht-fs-sm); line-height: 1.55; }
.ht-review-msg-ok  { background: var(--ht-success-bg); color: var(--ht-success); border: 1px solid var(--ht-success-border); }
.ht-review-msg-err { background: var(--ht-danger-bg); color: var(--ht-danger); border: 1px solid var(--ht-danger-border); }
.ht-review-actions { margin: var(--ht-s-1) 0 0; }

/* honeypot：对人类访客视觉隐藏（移出视口 + 极小尺寸），机器人会填中它 → 被判为垃圾提交 */
.ht-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }


/* ---------- 方案 A：首屏单主 CTA + 滚动中的文字链入口 ---------- */
/* Hero 里的次级入口降级为文字链：仍给「再看看」的人出口，但不与主 CTA 抢视觉重量。
   深底上用 on-dark 系列色，保证对比度（不用 .ht-courses-cta —— 那是为浅底调的）。 */
.ht-hero-link {
  display: inline-flex; align-items: center; gap: 6px; align-self: center;
  min-height: var(--ht-tap);
  font-size: var(--ht-fs-sm); font-weight: 600; color: var(--ht-on-dark-muted);
  text-decoration: none;
  transition: color .18s var(--ht-ease);
}
.ht-hero-link:hover { color: var(--ht-on-dark); text-decoration: underline; }
.ht-hero-link:focus-visible { outline: 2px solid var(--ht-on-dark); outline-offset: 3px; border-radius: var(--ht-r-sm); }
.ht-hero-link .ht-arrow { transition: transform .18s var(--ht-ease); }
.ht-hero-link:hover .ht-arrow { transform: translateX(3px); }

/* 区块末尾的「下一步」文字链（浅底）。区块被隐藏时由 body.ht-no-* 规则自动隐藏，不留死链。 */
.ht-section-cta {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: var(--ht-tap);
  font-size: var(--ht-fs-sm); font-weight: 600; color: var(--ht-brand);
  text-decoration: none;
}
.ht-section-cta:hover { color: var(--ht-brand-dark); text-decoration: underline; }
.ht-section-cta:focus-visible { outline: 2px solid var(--ht-brand); outline-offset: 3px; border-radius: var(--ht-r-sm); }
.ht-section-cta .ht-arrow { transition: transform .18s var(--ht-ease); }
.ht-section-cta:hover .ht-arrow { transform: translateX(3px); }

/* ---------- 移动端常驻 CTA 条 ----------
   桌面完全不渲染（display:none 兜底，避免 fixed 元素在打印 / 无 JS 时残留）。
   z-index 9998 低于 cookie 条的 9999 —— cookie 条在上，两条不会互相盖住；
   两者同屏时的抬高由 landing-cta.js 实测高度处理。 */
.ht-stickycta { display: none; }
.ht-stickycta-lbl {
  flex: 1 1 auto; min-width: 0;
  font-size: var(--ht-fs-xs); line-height: 1.3; color: var(--ht-muted);
}
@media (max-width: 768px) {
  .ht-stickycta {
    display: flex; align-items: center; gap: var(--ht-s-3);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
    padding: var(--ht-s-2) var(--ht-s-4);
    /* iOS 主屏指示条区域：不加这段，按钮会被 Home 指示条压住 */
    padding-bottom: calc(var(--ht-s-2) + env(safe-area-inset-bottom, 0px));
    background: var(--ht-surface);
    border-top: 1px solid var(--ht-line);
    box-shadow: var(--ht-sh-up);
  }
  .ht-stickycta .ht-btn { flex: none; min-height: var(--ht-tap); }
  /* 滚到底部 CTA 带或页脚时由 JS 收起（那里已有入口，不需要再叠一条） */
  .ht-stickycta.is-hidden { display: none; }
  /* 给落地页底部补白，避免最后一个区块被常驻条永久遮住 */
  .ht-landing { padding-bottom: 76px; }
}
