  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  a { color: var(--accent-ink); text-decoration: none; }
  ::selection { background: rgba(108,92,231,0.18); }

  /* ---------- Nav ---------- */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    display: flex; align-items: center; gap: 8px;
    padding: 0 max(22px, env(safe-area-inset-left));
    background: rgba(251,251,253,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease;
  }
  .nav.scrolled { background: rgba(251,251,253,0.82); border-bottom-color: var(--border-2); }
  .nav .brand {
    font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
    display: flex; align-items: baseline; gap: 8px; margin-right: auto;
  }
  .nav .brand .cn { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
  .nav .links { display: flex; align-items: center; gap: 26px; }
  .nav .links a { color: var(--ink-2); font-size: 14px; font-weight: 400; transition: color .2s; }
  .nav .links a:hover { color: var(--ink); }
  .nav .cta {
    font-size: 14px; font-weight: 500; color: #fff; background: var(--accent);
    padding: 7px 15px; border-radius: 980px; letter-spacing: -0.01em;
    transition: transform .15s ease, background .2s ease;
    touch-action: manipulation;
  }
  .nav .cta:hover { background: var(--accent-ink); }
  .nav .cta:active { transform: scale(0.96); }
  .nav .lang { color: var(--ink-2); font-size: 13px; padding: 6px 4px; }
  .nav .lang:hover { color: var(--ink); }
  @media (max-width: 720px) { .nav .links { display: none; } }

  /* ---------- Layout ---------- */
  section { padding: 0 22px; }
  .wrap { max-width: 1080px; margin: 0 auto; }

  /* ---------- Hero ---------- */
  .hero { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 20px; text-align: center; }
  .eyebrow {
    display: inline-block; font-size: 15px; font-weight: 600; color: var(--accent);
    letter-spacing: -0.01em; margin-bottom: 16px;
  }
  h1.title {
    font-size: clamp(44px, 8vw, 88px); font-weight: 700; line-height: 1.04;
    letter-spacing: -0.03em; color: var(--ink); text-wrap: balance;
    margin: 0 auto; max-width: 14ch;
  }
  .hero .sub {
    font-size: clamp(18px, 2.4vw, 23px); color: var(--ink-2); font-weight: 400;
    line-height: 1.45; letter-spacing: -0.01em; text-wrap: pretty;
    max-width: 34ch; margin: 22px auto 0;
  }
  .hero .actions { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
  .link-arrow { font-size: 17px; font-weight: 400; color: var(--accent-ink); }
  .link-arrow:hover { text-decoration: underline; }
  .link-arrow::after { content: " ›"; }

  /* App Store badge */
  .appstore {
    display: inline-flex; align-items: center; gap: 10px;
    background: #000; color: #fff; border-radius: 12px;
    padding: 10px 16px 10px 14px; transition: transform .15s ease, opacity .2s ease;
    touch-action: manipulation;
  }
  .appstore:hover { opacity: 0.88; }
  .appstore:active { transform: scale(0.97); }
  .appstore svg { width: 22px; height: 22px; }
  .appstore .txt { text-align: left; line-height: 1.1; }
  .appstore .txt small { display: block; font-size: 10px; font-weight: 400; opacity: 0.85; letter-spacing: 0.02em; }
  .appstore .txt b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

  /* trust row under hero */
  .trust { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
  .trust span {
    font-size: 13.5px; font-weight: 500; color: var(--ink-2);
    background: var(--surface-2); border-radius: 980px; padding: 7px 15px;
  }
  .trust b { color: var(--accent-ink); font-weight: 600; }

  /* ---------- Phone mockup ---------- */
  .device { margin: 50px auto 0; width: min(300px, 78vw); filter: drop-shadow(0 40px 60px rgba(28,28,30,0.18)); }
  .device svg { width: 100%; height: auto; display: block; }
  .wave-bar { transform-box: fill-box; transform-origin: center bottom; animation: pulse 1.1s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }

  /* ---------- Feature intro ---------- */
  .band { padding-top: 120px; padding-bottom: 20px; text-align: center; }
  .band h2 {
    font-size: clamp(30px, 5vw, 52px); font-weight: 700; letter-spacing: -0.022em;
    line-height: 1.08; color: var(--ink); text-wrap: balance; max-width: 20ch; margin: 0 auto;
  }
  .band h2 .dim { color: var(--ink-3); }
  .band p.lead {
    font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); line-height: 1.5;
    max-width: 42ch; margin: 20px auto 0; text-wrap: pretty;
  }

  /* ---------- Bento grid ---------- */
  .bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 52px; }
  .card {
    background: var(--surface-2); border-radius: var(--r-lg); padding: 34px 34px 36px;
    position: relative; overflow: hidden; opacity: 0; transform: translateY(20px);
    transition: opacity .7s cubic-bezier(0.16,1,0.3,1), transform .7s cubic-bezier(0.16,1,0.3,1);
  }
  .card.in { opacity: 1; transform: none; }
  .card .kicker { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 12px; }
  .card h3 { font-size: clamp(21px, 2.5vw, 27px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; color: var(--ink); }
  .card p { font-size: 15.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.5; text-wrap: pretty; }
  .card.span-3 { grid-column: span 3; }
  .card.span-2 { grid-column: span 2; }
  .card.span-6 { grid-column: span 6; }
  .card.feature-hero { min-height: 320px; display: flex; flex-direction: column; }
  .card.feature-hero .art { margin-top: auto; }
  .card.accent { background: linear-gradient(160deg, #6c5ce7 0%, #5847c8 100%); }
  .card.accent .kicker { color: rgba(255,255,255,0.72); }
  .card.accent h3 { color: #fff; }
  .card.accent p { color: rgba(255,255,255,0.82); }

  /* visuals inside cards */
  .chip { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 980px; padding: 7px 13px; font-size: 13.5px; color: var(--ink); font-weight: 500; }
  .chip .dot { width: 8px; height: 8px; border-radius: 50%; }
  .chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
  .card.accent .chip { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.24); color: #fff; }
  .langs { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 20px; }
  .langs span { font-size: 15px; color: var(--ink-2); font-weight: 500; }
  .langs span.on { color: var(--accent-ink); font-weight: 600; }
  .offline-badge {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
    background: var(--surface); border: 1px solid var(--border-2); border-radius: 12px;
    padding: 12px 16px; box-shadow: var(--shadow-card);
  }
  .offline-badge svg { width: 20px; height: 20px; color: var(--accent); }
  .offline-badge span { font-size: 14px; font-weight: 500; color: var(--ink); }
  .price-tag { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; }
  .price-tag b { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; color: #fff; line-height: 1; }
  .price-tag em { font-size: 15px; font-style: normal; color: rgba(255,255,255,0.8); }

  /* mini transcript art */
  .mini { background: var(--surface); border-radius: 16px; padding: 16px; margin-top: 24px; box-shadow: var(--shadow-card); }
  .mini .row { display: flex; gap: 10px; margin-bottom: 12px; }
  .mini .row:last-child { margin-bottom: 0; }
  .mini .spk { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; }
  .mini .txt { flex: 1; }
  .mini .name { font-size: 11px; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
  .mini .line { height: 8px; border-radius: 6px; background: var(--surface-2); }
  .mini .line.w1 { width: 92%; margin-bottom: 5px; }
  .mini .line.w2 { width: 66%; }

  /* ---------- Support ---------- */
  .support { padding-top: 130px; padding-bottom: 20px; }
  .support-inner {
    background: var(--surface-2); border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px);
    text-align: center;
  }
  .support h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.022em; color: var(--ink); text-wrap: balance; }
  .support p { font-size: 18px; color: var(--ink-2); margin-top: 16px; max-width: 44ch; margin-left: auto; margin-right: auto; text-wrap: pretty; }
  .support .mail {
    display: inline-flex; align-items: center; gap: 9px; margin-top: 28px;
    background: var(--accent); color: #fff; font-size: 16px; font-weight: 500;
    padding: 12px 24px; border-radius: 980px; letter-spacing: -0.01em;
    transition: transform .15s ease, background .2s ease; touch-action: manipulation;
  }
  .support .mail:hover { background: var(--accent-ink); }
  .support .mail:active { transform: scale(0.97); }

  .faq { max-width: 720px; margin: 44px auto 0; text-align: left; }
  .faq details {
    border-top: 1px solid var(--border); padding: 4px 0;
  }
  .faq details:last-child { border-bottom: 1px solid var(--border); }
  .faq summary {
    list-style: none; cursor: pointer; padding: 20px 40px 20px 4px; position: relative;
    font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    font-size: 24px; font-weight: 300; color: var(--accent); transition: transform .25s ease;
  }
  .faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
  .faq .a { padding: 0 40px 22px 4px; color: var(--ink-2); font-size: 16px; line-height: 1.55; text-wrap: pretty; }

  /* ---------- Footer ---------- */
  footer { margin-top: 120px; background: var(--surface-2); border-top: 1px solid var(--border-2); padding: 44px 22px 40px; }
  .foot-wrap { max-width: 1080px; margin: 0 auto; }
  .foot-top { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: baseline; justify-content: space-between; }
  .foot-brand { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
  .foot-brand .cn { font-size: 13px; color: var(--ink-3); font-weight: 500; margin-left: 8px; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
  .foot-links a { color: var(--ink-2); font-size: 14px; transition: color .2s; }
  .foot-links a:hover { color: var(--ink); }
  .foot-legal { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border-2); color: var(--ink-3); font-size: 12.5px; line-height: 1.6; }

  /* ---------- Hero enter animation ---------- */
  .rise { opacity: 0; transform: translateY(16px); filter: blur(4px); animation: rise .9s cubic-bezier(0.16,1,0.3,1) forwards; }
  .rise.d1 { animation-delay: .05s; } .rise.d2 { animation-delay: .15s; }
  .rise.d3 { animation-delay: .25s; } .rise.d4 { animation-delay: .38s; }
  @keyframes rise { to { opacity: 1; transform: none; filter: none; } }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rise, .card { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
    .wave-bar { animation: none; }
  }

  @media (max-width: 860px) {
    .card.span-3, .card.span-2 { grid-column: span 6; }
  }
  @media (max-width: 520px) {
    .card { padding: 28px 24px 30px; }
    .hero .actions { gap: 16px; }
  }

  /* ---------- 法务/支持页（body.legal；support 页另加 .legal-support，刻意不叫 .support——首页的 section.support 有一组 p 规则会命中整页） ----------
     迁移自 privacy.html / terms.html / support.html 各自原有的 <style> 块。
     这些页面不走 block 模板，正文是整段 custom-html，样式必须由主题提供。
     全部作用域在 body.legal 下：裸 h1/h2/p/li 与 .eyebrow/.faq 若不隔离，
     会与首页已有的同名规则互相冲掉。 */
  body.legal { line-height: 1.65; }
  body.legal a:hover { text-decoration: underline; }
  body.legal .container { max-width: 720px; margin: 0 auto; padding: calc(var(--nav-h) + 56px) 22px 0; }
  /* letter-spacing 必须显式写回 normal：首页的 .eyebrow 有 -0.01em，
     本页原样式没有，不覆盖会继承过来。 */
  body.legal .eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 12px; letter-spacing: normal; }
  body.legal h1 { font-size: clamp(34px, 6vw, 52px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; color: var(--ink); }
  body.legal h1 .cn { font-size: 0.42em; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 10px; }
  body.legal .subtitle { color: var(--ink-3); font-size: 14.5px; margin-top: 14px; }
  body.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); margin: 44px 0 14px; }
  body.legal p, body.legal li { font-size: 16px; color: var(--ink-2); margin-bottom: 12px; text-wrap: pretty; }
  body.legal strong { color: var(--ink); font-weight: 600; }
  body.legal ul { padding-left: 22px; margin-bottom: 12px; }
  body.legal li { margin-bottom: 7px; }
  body.legal .highlight { background: var(--surface-2); border-radius: 18px; padding: 24px 26px; margin: 28px 0; }
  body.legal .highlight p { color: var(--ink); margin-bottom: 0; font-size: 16px; }

  /* support 页专属（class 名必须避开首页的 .support）：原 support.html 的 h2 间距与 p/li 下边距与 privacy/terms 不同 */
  body.legal-support h2 { margin: 48px 0 16px; }
  body.legal-support p, body.legal-support li { margin-bottom: 0; }
  body.legal-support .contact-card { background: var(--surface-2); border-radius: 20px; padding: 30px 30px 32px; margin-top: 30px; }
  body.legal-support .contact-card h3 { font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
  body.legal-support .contact-card p { margin-top: 8px; }
  body.legal-support .contact-btn {
    display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
    background: var(--accent); color: #fff; font-size: 16px; font-weight: 500;
    padding: 12px 24px; border-radius: 980px; letter-spacing: -0.01em;
    transition: transform .15s ease, background .2s ease; touch-action: manipulation;
  }
  body.legal-support .contact-btn:hover { background: var(--accent-ink); text-decoration: none; }
  body.legal-support .contact-btn:active { transform: scale(0.97); }
  body.legal-support .contact-btn svg { width: 18px; height: 18px; }
  /* support 页的 FAQ 与首页 FAQ 参数不同（宽度、内边距、字号），这里还原本页原值 */
  body.legal-support .faq { max-width: none; margin: 0; }
  body.legal-support .faq summary { padding: 20px 40px 20px 2px; font-size: 17px; }
  body.legal-support .faq .a { padding: 0 20px 22px 2px; font-size: 15.5px; line-height: 1.6; }
  body.legal-support .sysreq { background: var(--surface-2); border-radius: 18px; padding: 22px 26px; margin-top: 18px; }
  body.legal-support .sysreq p { color: var(--ink); font-size: 15.5px; line-height: 1.9; }
