/* Hallmark · 狐狐单词首页 · redesign: restyle（内容、链接、脚本、配色全部保持）
 * theme: brand（#2C7CAD 蓝 / #12205A 墨蓝 / #F2F4F6 浅灰 / #2848F5 高亮蓝）
 * 只改视觉系统：字阶、间距、表面、控件、页脚；不动任何结构、文案、链接与数据。
 */

:root {
  --hh-blue: #2c7cad;
  --hh-blue-deep: #22628a;
  --hh-ink: #12205a;
  --hh-ink-2: #3b4a7a;
  --hh-muted: #6b7794;
  --hh-line: #e2e6ef;
  --hh-field: #f2f4f6;
  --hh-field-2: #f7f9fb;
  --hh-accent: #2848f5;
  --hh-chip: #dde4ff;
  --hh-radius-card: 20px;
  --hh-radius-control: 999px;
  --hh-shadow: 0 18px 40px -28px rgba(18, 32, 90, 0.45);
  --hh-shadow-soft: 0 2px 6px rgba(18, 32, 90, 0.06);
  --hh-measure: 62ch;
}

/* 统一正文与标题的字距和行高，压掉 Webflow 的默认值 */
body {
  color: var(--hh-ink-2);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
.heading-hero,
.heading-2,
.heading-3,
h1, h2, h3 {
  color: var(--hh-ink);
  letter-spacing: -0.01em;
  line-height: 1.18;
  text-wrap: balance;
}
.heading-hero { font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1.12; }
.heading-2 { font-size: clamp(1.9rem, 2.6vw, 2.75rem); }
.heading-3 { font-size: clamp(1.25rem, 1.4vw, 1.6rem); }

.description,
.section-2-desc,
.feature-card__description {
  color: var(--hh-muted);
  line-height: 1.65;
  max-width: var(--hh-measure);
  text-wrap: pretty;
}
.description--center { margin-inline: auto; }

/* 首屏：给它呼吸，而不是贴着导航 */
.hero { padding-top: clamp(32px, 6vw, 72px); }
.hero-info { gap: 20px; }
.hero-info-module { row-gap: 14px; }

/* 导航：白底胶囊收干净，阴影只留一层 */
.nav-wrapper {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border: 1px solid var(--hh-line);
  border-radius: var(--hh-radius-control);
  box-shadow: var(--hh-shadow-soft);
}
.nav-logo img { height: 34px; width: auto; }
.nav-links-container { gap: 18px; }
.nav-button,
.button-new {
  background: var(--hh-blue);
  color: #fff;
  border-radius: var(--hh-radius-control);
  font-weight: 600;
  transition: background-color 180ms ease, transform 120ms ease;
}
.nav-button:hover,
.button-new:hover { background: var(--hh-blue-deep); }
.nav-button:active,
.button-new:active { transform: translateY(1px); }

/* 分区节奏：统一 96 / 72，浅灰分区去掉「条带感」 */
.info-section { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.info-section--gray { background: var(--hh-field-2); }
.info-container { max-width: 1180px; }
.info-container--center { text-align: center; }

/* 场景视频卡：圆角 + 一层阴影 + 字幕压底 */
.video-card-new {
  border-radius: var(--hh-radius-card);
  overflow: hidden;
  box-shadow: var(--hh-shadow);
  background: #fff;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease;
}
.video-card-new:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -30px rgba(18, 32, 90, 0.5); }
.video-card__heading { color: #fff; }
.video-card__description { color: rgba(255, 255, 255, 0.82); }
.video-card-scrim { background: linear-gradient(180deg, transparent 40%, rgba(8, 14, 40, 0.72) 100%); }

/* 场景标签行（吃火锅 | 坐飞机 …）当文本处理，别当链接 */
.video-card-container { gap: 24px; }

/* 用户评价卡：白卡 + 细边，去掉彩色底 */
.comment-card {
  background: #fff;
  border: 1px solid var(--hh-line);
  border-radius: var(--hh-radius-card);
  box-shadow: var(--hh-shadow-soft);
  padding: 24px;
}
.comment-name { color: var(--hh-ink); font-weight: 600; }
.comment-content { color: var(--hh-ink-2); line-height: 1.65; }

/* 大引用：留白 + 更大字号 */
.quote-2 { max-width: 900px; margin-inline: auto; padding-block: clamp(40px, 6vw, 72px); }
.quote__text {
  color: var(--hh-ink);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.7;
  text-wrap: pretty;
}
.quote__tag-name { color: var(--hh-muted); }

/* FAQ：细线分隔的行，答案限宽 */
.faq-container { max-width: 880px; margin-inline: auto; }
.faq-item-new { border-top: 1px solid var(--hh-line); }
.faq-item-new:last-child { border-bottom: 1px solid var(--hh-line); }
.faq-item__question { color: var(--hh-ink); font-weight: 600; }
.faq-item__answer { color: var(--hh-ink-2); line-height: 1.7; max-width: 72ch; }
.faq-item__icon { color: var(--hh-blue); }

/* 下载按钮区：两个商店徽章等宽，四个平台图标对齐 */
.download-APP { align-items: center; gap: 12px; }
.login-ios-download-btn img,
.login-android-download-btn img { height: 44px; width: auto; }

/* 页脚：蓝块保持，圆角与内边距重新给 */
.footer-links-wrapper {
  border-radius: 24px;
  padding: 56px 56px 32px;
  background: var(--hh-blue);
}
.footer-logo, .footer-links-wrapper > img { width: 180px; height: auto; }
.footer-link-title { color: #fff; font-weight: 600; margin-bottom: 6px; }
.footer-link { color: rgba(255, 255, 255, 0.66); transition: color 160ms ease; }
.footer-link:hover { color: #fff; }
.footer-fineprint { color: rgba(255, 255, 255, 0.5); line-height: 1.7; }

/* 状态与可达性 */
a:focus-visible,
button:focus-visible,
.faq-item__toggle:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--hh-accent);
  outline-offset: 3px;
  border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) {
  .video-card-new, .video-card-new:hover, .button-new, .nav-button { transition: none; transform: none; }
}

/* 窄屏：间距收紧，徽章与图标换行不对齐 */
@media (max-width: 767px) {
  .info-section { padding-top: 56px; padding-bottom: 56px; }
  .footer-links-wrapper { padding: 32px 24px 24px; border-radius: 18px; }
  .quote__text { font-size: 1.05rem; }
  .comment-card { padding: 18px; }
}
