/* =========================================================
   TCQ 提词器 — Landing Page
   设计语言：mimo.xiaomi.com Taste Pack（暖纸张编辑式）
   硬约束：暖纸张底 / 单一强调色≤2% / 无渐变 / 无卡片化 /
          无 700 粗体 / 无 hover 放大 / 双档动效
   ========================================================= */

:root {
  /* 暖纸张系统（所有中性色 R>G>B） */
  --paper: #faf7f5;
  --paper-2: #f1edea;
  --ink: #26251e;        /* 暖黑：文字 + 主强调承载 */
  --ink-soft: #504f49;   /* 正文 */
  --ink-weak: #8d8a83;   /* 弱色 */
  --rule: #e5e2e0;       /* 1px 暖灰分隔线 */

  /* 单一强调色（暖陶土橙），面积严格受限 */
  --accent: #d9622c;
  --accent-tint: rgba(217, 98, 44, 0.07);

  /* 字体分工：无衬线管“扫”，衬线管“读” */
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Apple Garamond", Georgia,
    "Times New Roman", "Songti SC", "Noto Serif SC", serif;

  --wrap: 1080px;
  --pad: 32px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.wordmark {
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
}
.wordmark__sub {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--ink-weak);
  font-weight: 500;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: var(--paper) !important;
  background: var(--ink);
  padding: 10px 18px;
  transition: background-color 0.15s ease;
}
.nav__cta:hover { background: var(--ink-soft); }

/* ---------- Hero（排版式，无渐变） ---------- */
.hero {
  padding: 110px 0 96px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--ink-weak);
  font-weight: 500;
}
.hero__title {
  margin: 0 auto;
  max-width: 16em;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(2.25rem, 5.2vw, 3.15rem);
  color: var(--ink);
}
.hero__lede {
  margin: 30px auto 0;
  max-width: 36em;
  font-family: var(--serif);
  font-weight: 450;
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.hero__note {
  margin-top: 22px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-weak);
}

/* ---------- 按钮 / 链接（强调色稀缺） ---------- */
.btn-primary {
  display: inline-block;
  background: var(--ink);          /* 暖黑承载主要强调，非强调色填充 */
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border: 1px solid var(--ink);
  border-radius: 0;                /* 直角，扁平 */
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary:hover { background: var(--ink-soft); border-color: var(--ink-soft); }

.link-accent {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  background-image: linear-gradient(to top, var(--accent) 0%, var(--accent) 100%);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;
  padding-bottom: 2px;
  transition: background-size 0.3s ease, color 0.3s ease;
}
.link-accent:hover { background-size: 0% 2px; color: var(--accent); }

/* ---------- 区块（1px 顶边线 + 间距分隔，非阴影盒） ---------- */
.block {
  border-top: 1px solid var(--rule);
  padding-top: 54px;
  padding-bottom: 54px;
}
.block__title {
  margin: 0 0 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.5rem;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.block__no {
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  color: var(--ink-weak);
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ---------- 编辑式编号行（非卡片） ---------- */
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.rows--2 {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
}
.row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  align-items: start;
}
.row__no {
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  color: var(--ink-weak);
  font-weight: 500;
  padding-top: 2px;
  letter-spacing: 0.04em;
}
.row__title {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.row__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

/* 极淡徽章（强调色面积受限） */
.tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 2px 8px;
  border-radius: 2px;
}
.tag--ghost {
  color: var(--ink-weak);
  background: var(--paper-2);
}

/* ---------- 隐私指标 ---------- */
.privacy__metric {
  margin: 0 0 32px;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.metric {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--accent);   /* 强调色仅用于指标数字 */
  margin-right: 8px;
}

/* ---------- 产品视觉（暗色面板，1px 边框，无阴影，扁平） ---------- */
.product { text-align: center; }
.screen {
  max-width: 340px;
  margin: 0 auto;
  background: #151616;
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 28px 24px 22px;
  text-align: left;
  position: relative;
}
.screen__manuscript p {
  margin: 0 0 12px;
  color: #f3efe9;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.7;
}
.screen__dim { color: #6f6c66 !important; }
.screen__line {
  height: 1px;
  background: #64d98b;     /* 呼应 App 图标绿点，作为阅读线 */
  margin: 14px 0 14px;
  opacity: 0.85;
}
.screen__controls {
  display: flex;
  gap: 10px;
}
.screen__btn {
  font-size: 0.82rem;
  color: #f3efe9;
  border: 1px solid #3a3a38;
  padding: 7px 14px;
  letter-spacing: 0.03em;
}
.product__caption {
  margin: 22px auto 0;
  max-width: 40em;
  color: var(--ink-weak);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- 开始使用 CTA ---------- */
.start__cta { margin-top: 36px; text-align: center; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--rule);
  margin-top: 40px;
  padding: 48px 0 40px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__stance {
  margin: 12px 0 0;
  color: var(--ink-weak);
  font-size: 0.9rem;
}
.footer__links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.footer__links a:hover { color: var(--ink); }
.footer__legal {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-weak);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  :root { --pad: 20px; }
  .nav__inner { height: 64px; }
  .nav__links { gap: 16px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .hero { padding: 76px 0 64px; }
  .hero__lede { font-size: 1.08rem; }
  .rows--2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nav__inner { height: 56px; }
  body { font-size: 16px; }
  .block { padding-top: 44px; padding-bottom: 44px; }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
