/* Ezen Type 官网样式 — 与管理端同源的 Clay 设计语言（暖纸白 / 墨黑 / 深青）。 */

@font-face {
  font-family: "Orhon Chagan Tig";
  src: url("fonts/OrhonChaganTig.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+1800-18AF, U+202F;
}
@font-face {
  font-family: "Mengguyu Mongol Patch";
  src: url("fonts/MengguyuMongolPatch-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+1808-181F;
}
@font-face {
  font-family: "Himalaya I";
  src: url("fonts/Himalaya-I.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0F00-0FFF, U+25CC;
}
@font-face {
  font-family: "Noto Naskh Arabic Ezen";
  src: url("fonts/NotoNaskhArabic-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+25CC;
}
@font-face {
  font-family: "Roboto Android Ezen";
  src: url("fonts/Roboto-Android-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-024F, U+0400-052F;
}

:root {
  --canvas: #fffaf0;
  --surface: #f5f0e0;
  --surface-soft: #faf5e8;
  --surface-strong: #ebe6d6;
  --ink: #0a0a0a;
  --body: #3a3a3a;
  --muted: #6a6a6a;
  --hairline: #e2ddcd;
  --dark: #0a1a1a;
  --dark-2: #142828;
  --on-dark: #f2efe6;
  --on-dark-soft: #9fb0ac;
  --pink: #ff4d8b;
  --pink-soft: #ffd9e6;
  --lavender: #d9cdf7;
  --peach: #ffd9bd;
  --ochre: #f3dfa4;
  --mint: #cde8dd;
  --coral-soft: #ffd2cc;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow: 0 1px 2px rgba(20, 16, 4, 0.04), 0 10px 30px -12px rgba(20, 16, 4, 0.14);
  /* 与 Android KeyboardTheme.LIGHT 同值。 */
  --kbd-bg: #e9e2d7;
  --kbd-key: #fffdf8;
  --kbd-key-fn: #dcd4c8;
  --kbd-key-accent: #b84a3a;
  --kbd-key-pressed: #f0e7dc;
  --kbd-key-shadow: #bdb3a6;
  --kbd-key-stroke: #d8d0c2;
  --kbd-text: #20201e;
  --kbd-text-dim: #6a645b;
  --kbd-on-accent: #fffbf7;
  --kbd-candidate: #f7f2e8;
  --kbd-candidate-selected: #fff8f4;
  --kbd-accent: #b84a3a;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--canvas);
  color: var(--body);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 0.5em; font-weight: 650; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #1769e0; outline-offset: 3px; }
:lang(mn-Mong) {
  font-family: "Mengguyu Mongol Patch", "Orhon Chagan Tig", sans-serif;
  font-synthesis: none;
}
:lang(bo) { font-family: "Himalaya I", sans-serif; font-synthesis: none; }
:lang(mn-Cyrl) { font-family: "Roboto Android Ezen", sans-serif; font-synthesis: none; }
:lang(ug), :lang(kk-Arab) {
  font-family: "Noto Naskh Arabic Ezen", serif;
  font-synthesis: none;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mvf-vertical, .mvf-inline {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  direction: ltr;
  font-weight: 400;
}
.mvf-inline {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}
.mvf-inline-compact { font-size: 1.12em; margin-inline: .08em; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

/* ---------------- 导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  position: relative; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: #fffaf0; display: inline-flex;
  align-items: flex-end; justify-content: center; overflow: hidden;
}
.brand-mark b { font-size: 17px; font-weight: 700; line-height: 1; margin-bottom: 5px; }
.brand-mark .dot {
  position: absolute; top: 5px; width: 4px; height: 4px; border-radius: 2px; background: #fffaf0; opacity: .85;
}
.brand-mark .dot:nth-child(1) { left: 7px; background: var(--pink); }
.brand-mark .dot:nth-child(2) { left: 15px; }
.brand-mark .dot:nth-child(3) { left: 23px; }
.brand-name { font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.brand-sub { font-size: 12.5px; color: var(--muted); margin-left: -2px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--body); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; text-decoration: none;
  border-radius: 999px; font-weight: 600; font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fffaf0; }
.btn-primary:hover { box-shadow: 0 6px 18px -6px rgba(10, 10, 10, .45); }
.btn-light { background: #fffaf0; color: var(--ink); }
.btn-sm { height: 36px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16.5px; }
.btn[data-state="disabled"] { opacity: .55; pointer-events: none; }

/* 四端下载按钮组(hero 与页尾 CTA 共用;按钮按 data-platform 由 site.js 填充)。
   hero 左栏 2×2 网格;页尾 CTA 桌面端一行四个居中,小屏同样回到 2×2。
   双类选择器是刻意的:.hero-actions 的 flex 规则在源顺序上靠后,需压过它。 */
.hero-actions.dl-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 224px)); gap: 12px; }
.section-cta .hero-actions.dl-actions { grid-template-columns: repeat(4, auto); justify-content: center; }
.btn-dl {
  flex-direction: column; align-items: flex-start; gap: 1px;
  height: auto; min-width: 138px; padding: 11px 20px 12px;
  border-radius: 18px; text-align: left;
}
.btn-dl .dl-plat { font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.btn-dl .dl-note { font-size: 12px; font-weight: 500; opacity: .72; line-height: 1.35; }
.btn-plain { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(45, 37, 28, .24); }
.btn-plain:hover { box-shadow: inset 0 0 0 1px rgba(45, 37, 28, .46); }
.btn-ghost-light { background: transparent; color: #fffaf0; box-shadow: inset 0 0 0 1px rgba(255, 250, 240, .34); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1px rgba(255, 250, 240, .62); }

/* ---------------- Hero ---------------- */
.hero { padding: 84px 0 72px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(44px, 6vw, 68px); letter-spacing: -0.015em; }
.lead { font-size: 18px; max-width: 34em; }
.lead strong { color: var(--ink); }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { font-size: 13px; color: var(--muted); }
.hero-scripts {
  margin-top: 34px; font-size: 15px; color: var(--muted);
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.hero-scripts .sep { opacity: .4; }

/* 五语种键盘预览 */
.hero-kbd { position: relative; min-width: 0; }
.kbd-deck {
  position: relative; height: 429px; isolation: isolate; perspective: 1200px;
  --deck-top-x: 0; --deck-top-y: 0; --deck-top-z: 0;
  --deck-top-rotate: 1; --deck-top-rotate-x: 0; --deck-top-scale: 1;
  --deck-next-x: 14; --deck-next-y: 52; --deck-next-z: -42;
  --deck-next-rotate: -1.1; --deck-next-rotate-x: -1.2; --deck-next-scale: .985;
  --deck-third-x: 18; --deck-third-y: 61; --deck-third-z: -76;
  --deck-third-rotate: .4; --deck-third-rotate-x: 0; --deck-third-scale: .965;
  --deck-hidden-x: 18; --deck-hidden-y: 61; --deck-hidden-z: -88;
  --deck-hidden-rotate: .4; --deck-hidden-rotate-x: 0; --deck-hidden-scale: .955;
  --deck-bottom-x: -22; --deck-bottom-y: 58; --deck-bottom-z: -96;
  --deck-bottom-rotate: -1.8; --deck-bottom-rotate-x: 0; --deck-bottom-scale: .95;
}
.kbd-card {
  position: absolute; inset: auto 0 64px; padding: 10px;
  background: var(--kbd-bg); border: 1px solid var(--kbd-key-stroke);
  border-radius: var(--r-xl); box-shadow:
    0 2px 3px rgba(45, 37, 28, .09),
    0 18px 38px -20px rgba(45, 37, 28, .34);
  transform-origin: 50% 86%; transform-style: preserve-3d; overflow: hidden;
  transition: opacity 180ms ease, box-shadow 180ms ease;
  will-change: transform, opacity, filter;
  user-select: none; -webkit-user-select: none;
}
.kbd-card[data-position="0"] {
  z-index: 5; opacity: 1;
  transform: translate3d(
    calc(var(--deck-top-x) * 1px), calc(var(--deck-top-y) * 1px), calc(var(--deck-top-z) * 1px)
  ) rotateZ(calc(var(--deck-top-rotate) * 1deg)) rotateX(calc(var(--deck-top-rotate-x) * 1deg)) scale(var(--deck-top-scale));
}
.kbd-card[data-position="1"] {
  z-index: 4; opacity: .96;
  box-shadow: 0 1.42px 2.42px rgba(45, 37, 28, .078), 0 13.36px 29.88px -18.84px rgba(45, 37, 28, .259);
  transform: translate3d(
    calc(var(--deck-next-x) * 1px), calc(var(--deck-next-y) * 1px), calc(var(--deck-next-z) * 1px)
  ) rotateZ(calc(var(--deck-next-rotate) * 1deg)) rotateX(calc(var(--deck-next-rotate-x) * 1deg)) scale(var(--deck-next-scale));
}
.kbd-card[data-position="2"] {
  z-index: 3; opacity: 0;
  transform: translate3d(
    calc(var(--deck-third-x) * 1px), calc(var(--deck-third-y) * 1px), calc(var(--deck-third-z) * 1px)
  ) rotateZ(calc(var(--deck-third-rotate) * 1deg)) rotateX(calc(var(--deck-third-rotate-x) * 1deg)) scale(var(--deck-third-scale));
}
.kbd-card.is-stack-hidden {
  z-index: 1; opacity: 0;
  transform: translate3d(
    calc(var(--deck-hidden-x) * 1px), calc(var(--deck-hidden-y) * 1px), calc(var(--deck-hidden-z) * 1px)
  ) rotateZ(calc(var(--deck-hidden-rotate) * 1deg)) rotateX(calc(var(--deck-hidden-rotate-x) * 1deg)) scale(var(--deck-hidden-scale));
}
.kbd-card.is-stack-bottom {
  z-index: 1; opacity: 0;
  transform: translate3d(
    calc(var(--deck-bottom-x) * 1px), calc(var(--deck-bottom-y) * 1px), calc(var(--deck-bottom-z) * 1px)
  ) rotateZ(calc(var(--deck-bottom-rotate) * 1deg)) rotateX(calc(var(--deck-bottom-rotate-x) * 1deg)) scale(var(--deck-bottom-scale));
}
.kbd-card[data-position="1"]:hover { opacity: 1; box-shadow: 0 18px 38px -18px rgba(41, 36, 28, .38); }
.kbd-card.is-dragging,
.kbd-card.is-transitioning { transition: none; }
.kbd-card.is-dragging { cursor: grabbing; }
.kbd-card:has(.kbd-card-action:active) { box-shadow: 0 6px 18px -12px rgba(41, 36, 28, .46); }
.kbd-card[data-position="2"],
.kbd-card.is-stack-hidden { pointer-events: none; }
.kbd-card-action {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  border: 0; border-radius: inherit; padding: 0; background: transparent;
  cursor: grab; touch-action: pan-y;
}
.kbd-card-action:active { background: color-mix(in srgb, var(--kbd-text) 3%, transparent); }
.kbd-card-action:focus-visible { outline: 3px solid #1769e0; outline-offset: 4px; }
.kbd-stage { border-radius: 15px 15px 10px 10px; overflow: hidden; }
.kbd-preview, .kbd-preview img { display: block; width: 100%; }
.kbd-preview img { height: auto; }
.kbd-card-footer {
  height: 44px; margin-top: 8px; padding: 0 8px;
  border: 1px solid var(--kbd-key-stroke); border-radius: 11px; background: var(--kbd-candidate);
  display: flex; align-items: center; gap: 9px;
  color: var(--kbd-text-dim); pointer-events: none;
}
.kbd-card-native {
  min-width: 28px; max-height: 30px; display: inline-flex;
  align-items: center; justify-content: center; color: var(--kbd-text); font-size: 15px;
}
.kbd-card-native.mvf-inline { font-size: 19px; }
.kbd-card-label { font-size: 13px; font-weight: 650; color: var(--kbd-text); }
.kbd-card-count { margin-inline-start: auto; font-size: 12px; color: var(--kbd-text-dim); }

/* ---------------- 通用 section ---------------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-soft); border-block: 1px solid var(--hairline); }
.section h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.01em; max-width: 22em; }
.section-lead { max-width: 42em; font-size: 16.5px; margin-bottom: 8px; }

/* ---------------- 语种卡 ---------------- */
.lang-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px;
}
.lang-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 26px 24px 20px; min-height: 210px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lang-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lang-native { font-size: 34px; color: var(--ink); line-height: 1.35; }
.lang-native.bo { font-size: 30px; }
.lang-card-mvf .lang-native.mvf-vertical {
  min-height: 120px; font-size: 30px; line-height: 1.1;
}
.lang-native.ui-langs {
  min-height: 48px; display: flex; align-items: center; flex-wrap: nowrap; gap: .36em;
  font-size: 22px; line-height: 1; color: var(--muted);
}
.ui-langs .sep { opacity: .55; }
.lang-meta b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 2px; }
.lang-meta span { font-size: 13.5px; color: var(--muted); }

/* ---------------- 功能卡 ---------------- */
.feat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 40px; }
.feat-card {
  grid-column: span 2;
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 26px 24px;
}
.feat-card h3 { font-size: 18px; }
.feat-card p { font-size: 14.5px; color: var(--body); margin: 0; }

/* ---------------- 深色区(AI / CTA) ---------------- */
.section-dark { background: var(--dark); color: var(--on-dark-soft); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark .kicker { color: var(--on-dark-soft); }
.section-dark .section-lead { color: var(--on-dark-soft); }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.ai-card {
  background: var(--dark-2); border: 1px solid rgba(255, 250, 240, .08);
  border-radius: var(--r-lg); padding: 24px 22px;
}
.ai-card h3 { font-size: 17px; }
.ai-card p { font-size: 14px; margin: 0; }
.section-cta { padding: 96px 0; }
.section-cta .btn-light {
  box-shadow:
    inset 0 0 0 1px rgba(10, 26, 26, .24),
    0 8px 22px -12px rgba(0, 0, 0, .68);
}
.section-cta .btn-light:hover {
  box-shadow:
    inset 0 0 0 1px rgba(10, 26, 26, .38),
    0 10px 26px -12px rgba(0, 0, 0, .78);
}
.section-cta .btn-ghost-light {
  background: rgba(242, 239, 230, .025);
  color: var(--on-dark);
  box-shadow: inset 0 0 0 1px rgba(242, 239, 230, .52);
}
.section-cta .btn-ghost-light:hover {
  background: rgba(242, 239, 230, .07);
  box-shadow: inset 0 0 0 1px rgba(242, 239, 230, .78);
}
.section-cta .btn[data-state="disabled"] { opacity: .7; }

/* ---------------- 隐私 ---------------- */
.priv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.priv-card {
  border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 26px 24px;
  background: var(--canvas);
}
.priv-no { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.priv-card h3 { font-size: 18px; }
.priv-card p { font-size: 14.5px; margin: 0; }
.priv-links { margin-top: 26px; font-size: 14.5px; }
.priv-links a { color: var(--ink); font-weight: 600; }

/* ---------------- 会员 ---------------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.plan-card {
  background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 26px 24px;
}
.plan-hot { border: 1.5px solid var(--ink); box-shadow: var(--shadow); }
.plan-card h3 { font-size: 18px; }
.plan-line { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.plan-price { font-size: 22px; font-weight: 700; color: var(--ink); margin: 10px 0 0; min-height: 1.3em; }
.plan-price:empty { display: none; }
.plan-card p:last-child { font-size: 14.5px; margin: 6px 0 0; }
.plan-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.plans-lead { max-width: none; }

/* ---------------- FAQ ---------------- */
.faq-list { margin-top: 34px; border-top: 1px solid var(--hairline); }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 4px; position: relative;
  font-weight: 600; color: var(--ink); font-size: 16.5px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--muted); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 4px 22px; margin: 0; max-width: 46em; }

/* ---------------- Footer ---------------- */
.footer { border-top: 1px solid var(--hairline); padding: 44px 0 30px; background: var(--surface-soft); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-mut { font-size: 13.5px; color: var(--muted); margin: 0; }
.footer-links { display: flex; gap: 22px; align-items: flex-start; }
.footer-links a { font-size: 14px; color: var(--body); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-icp {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted);
}
.footer-icp a { color: var(--muted); }

/* ---------------- 滚动浮现 ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .kbd-card { transition: none; }
}

/* ---------------- 深色模式 ---------------- */
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #121716;
    --surface: #1a201f;
    --surface-soft: #161c1b;
    --surface-strong: #232b2a;
    --ink: #f2efe6;
    --body: #c4c9c4;
    --muted: #8d968f;
    --hairline: #2a322f;
    --dark: #060d0d;
    --dark-2: #101b1a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .5);
    --pink-soft: #5c2a3d;
    --lavender: #3c3455;
    --peach: #5c3f28;
    --ochre: #55471f;
    --mint: #24413a;
    --coral-soft: #59302b;
    /* 与 Android KeyboardTheme.DARK 同值。 */
    --kbd-bg: #17140f;
    --kbd-key: #2a261f;
    --kbd-key-fn: #39332a;
    --kbd-key-accent: #c96858;
    --kbd-key-pressed: #3a342b;
    --kbd-key-shadow: #090806;
    --kbd-key-stroke: #4d463d;
    --kbd-text: #f2ebe1;
    --kbd-text-dim: #c1b8ab;
    --kbd-on-accent: #fff8f4;
    --kbd-candidate: #1c1914;
    --kbd-candidate-selected: #38241f;
    --kbd-accent: #c96858;
  }
  .brand-mark { background: #f2efe6; color: #121716; }
  .brand-mark .dot { background: #121716; }
  .brand-mark .dot:nth-child(1) { background: var(--pink); }
  .btn-primary { background: #f2efe6; color: #121716; }
  .btn-light { background: #f2efe6; color: #121716; }
  .btn-plain { box-shadow: inset 0 0 0 1px rgba(242, 239, 230, .28); }
  .btn-plain:hover { box-shadow: inset 0 0 0 1px rgba(242, 239, 230, .5); }
  .nav { background: color-mix(in srgb, var(--canvas) 86%, transparent); }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-kbd { max-width: 520px; }
  .lang-grid, .feat-grid, .priv-grid, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card { grid-column: span 1; }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 64px 0; }
  .lang-grid, .feat-grid, .priv-grid, .plan-grid, .ai-grid { grid-template-columns: 1fr; }
  .hero-kbd { width: 100%; }
  .kbd-deck {
    height: 385px;
    --deck-top-rotate: .6;
    --deck-next-x: 8; --deck-next-y: 50; --deck-next-z: -38;
    --deck-next-rotate: -.7; --deck-next-rotate-x: -1;
    --deck-third-x: 12; --deck-third-y: 58; --deck-third-z: -72;
    --deck-third-rotate: .3; --deck-third-scale: .97;
    --deck-hidden-x: 12; --deck-hidden-y: 58; --deck-hidden-z: -76;
    --deck-hidden-rotate: .3; --deck-hidden-scale: .965;
    --deck-bottom-x: -16; --deck-bottom-y: 56; --deck-bottom-z: -82;
    --deck-bottom-rotate: -1.4; --deck-bottom-scale: .96;
  }
  .kbd-card-footer { height: 44px; margin-top: 8px; padding-inline: 6px; }
  /* 小屏四端按钮两列排布,避免竖向占满整屏 */
  .hero-actions.dl-actions,
  .section-cta .hero-actions.dl-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-dl { min-width: 0; }
  .brand-sub { display: none; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--canvas); border-bottom: 1px solid var(--hairline);
    flex-direction: column; gap: 0; padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-burger {
    display: inline-flex; flex-direction: column; gap: 4.5px; background: none;
    border: none; padding: 8px; cursor: pointer;
  }
  .nav-burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 1px; }
}
