/* ==========================================================================
   Bib 家族落地页 v3 · 「First Light」
   bold modern sans · dominant product windows · family tile grid ·
   one dark heaven section · 圣别而属天
   References honored: ElevenLabs (product grid, confident type, rounded UI
   cards) + Apple (huge headlines, full-bleed product tiles, light/dark drama).
   ========================================================================== */

:root {
  --canvas: #faf8f3;
  --canvas-2: #f2eee4;
  --ink: #15161b;
  --ink-72: rgba(21, 22, 27, 0.72);
  --ink-52: rgba(21, 22, 27, 0.52);
  --ink-32: rgba(21, 22, 27, 0.32);
  --ink-14: rgba(21, 22, 27, 0.14);
  --ink-07: rgba(21, 22, 27, 0.07);
  --night: #0e1014;
  --gold: #a8833b;
  --sky: #3f6f9f;
  --vermilion: #b4503e;
  /* per-site overrides */
  --brand: var(--gold);
  --glow-warm: #efe0b6;
  --glow-cool: #d6e2ef;
  --mark: var(--brand);

  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --zh: "Noto Sans SC", -apple-system, "PingFang SC", sans-serif;
  --serif-zh: "Noto Serif SC", "Songti SC", serif;
  --serif-en: "Newsreader", Georgia, serif;

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 11px;
  --shadow: 0 1px 2px rgba(21,22,27,.06), 0 28px 60px -28px rgba(21,22,27,.34);
  --shadow-sm: 0 1px 2px rgba(21,22,27,.05), 0 14px 34px -20px rgba(21,22,27,.30);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--zh);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="zh"] .en { display: none !important; }
html[lang="en"] .zh { display: none !important; }
html[lang="en"] body { font-family: var(--sans); }
::selection { background: color-mix(in srgb, var(--brand) 22%, transparent); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.narrow { max-width: 940px; }

/* ==========================================================================
   家族记号
   ========================================================================== */
.mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.92em; height: 1.92em; border-radius: 0.44em;
  background: var(--mark-bg, var(--ink)); color: #fff;
  font-family: var(--zh); font-weight: 700; font-size: 0.9em; line-height: 1;
  flex-shrink: 0; letter-spacing: 0;
}
.mark--du   { --mark-bg: var(--gold); }
.mark--ji   { --mark-bg: var(--sky); }
.mark--ting { --mark-bg: var(--vermilion); }

/* ==========================================================================
   顶栏
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--ink-07); }
.nav-inner { display: flex; align-items: center; gap: 16px; padding: 13px 0; }
.brandmark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.brandmark .en-name { color: var(--ink-32); font-weight: 500; font-size: 13px; font-family: var(--sans); }
.nav-fam { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-fam a { font-size: 13px; opacity: .32; transition: opacity .2s, transform .2s; display: flex; }
.nav-fam a:hover, .nav-fam a[aria-current="true"] { opacity: 1; }
.nav-fam a:hover { transform: translateY(-1px); }
.lang {
  border: 0; background: transparent; cursor: pointer; color: var(--ink-52);
  font-family: var(--sans); font-size: 12.5px; letter-spacing: .04em; padding: 6px 8px;
  transition: color .2s;
}
.lang:hover { color: var(--ink); }
.btn-pill {
  background: var(--ink); color: var(--canvas); font-family: var(--sans);
  font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 999px;
  white-space: nowrap; transition: transform .2s, opacity .2s;
}
.btn-pill:hover { opacity: .88; transform: translateY(-1px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; text-align: center; padding: clamp(64px, 11vh, 128px) 0 0; }
.dawn {
  position: absolute; inset: -14vh 0 auto 0; height: 92vh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 40% at 36% 26%, color-mix(in srgb, var(--glow-warm) 62%, transparent), transparent 72%),
    radial-gradient(42% 38% at 66% 20%, color-mix(in srgb, var(--glow-cool) 54%, transparent), transparent 72%);
  filter: blur(6px);
  animation: breathe 11s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .72; transform: scale(1); } to { opacity: 1; transform: scale(1.05); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans);
  font-size: 12.5px; font-weight: 600; letter-spacing: .2em; color: var(--ink-52);
  margin-bottom: clamp(20px, 3.4vh, 32px);
}
.eyebrow .mark { font-size: 13px; }

h1.hero-h {
  font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(44px, 7.4vw, 92px); line-height: 1.06;
  margin-bottom: clamp(16px, 2.6vh, 24px);
}
html[lang="zh"] h1.hero-h { font-family: var(--zh); font-weight: 900; letter-spacing: .01em; line-height: 1.14; }

.hero-sub {
  font-family: var(--sans); font-size: clamp(15px, 1.55vw, 19px); color: var(--ink-52);
  letter-spacing: .04em; margin-bottom: clamp(26px, 4vh, 40px);
}
html[lang="zh"] .hero-sub { font-family: var(--zh); letter-spacing: .12em; }
.hero-sub .dot { margin: 0 .65em; color: var(--ink-32); }

.cta-row { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--canvas);
  font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: .02em;
  padding: 14px 30px; border-radius: 999px; box-shadow: 0 1px 2px rgba(21,22,27,.2);
  transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(21,22,27,.42); }
.btn-primary .arr { transition: transform .22s; }
.btn-primary:hover .arr { transform: translateX(3px); }
.btn-text {
  font-family: var(--sans); font-size: 15px; color: var(--ink-72); display: inline-flex; gap: 6px; align-items: center;
  transition: color .2s, gap .2s;
}
.btn-text:hover { color: var(--ink); gap: 9px; }

/* 产品窗口 — 真实应用画面 */
.window {
  margin: clamp(46px, 7vh, 78px) auto 0; max-width: 1080px;
  border-radius: var(--r-lg); border: 1px solid var(--ink-14);
  background: #fff; overflow: hidden; box-shadow: var(--shadow);
  position: relative;
}
.window::after { /* 画面身后地平线光 */
  content: ""; position: absolute; inset: 14% -3% -16% -3%; z-index: -1;
  background: radial-gradient(58% 56% at 50% 44%,
    color-mix(in srgb, var(--glow-warm) 44%, transparent),
    color-mix(in srgb, var(--glow-cool) 22%, transparent) 56%, transparent 76%);
  filter: blur(16px);
}
.window-bar {
  display: flex; align-items: center; gap: 7px; padding: 0 16px; height: 40px;
  border-bottom: 1px solid var(--ink-07); background: color-mix(in srgb, var(--canvas-2) 60%, #fff);
}
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-14); }
.window-bar .url {
  margin-left: 12px; font-family: var(--sans); font-size: 12px; color: var(--ink-32);
  background: var(--canvas); border-radius: 7px; padding: 3px 14px; letter-spacing: .02em;
}
.window-shot { width: 100%; height: auto; display: block; }
.hero .window { animation: float 8s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* 手机外框 — 移动端 hero 用真实手机应用画面 */
.hero-mobile { display: none; }
.phone {
  width: min(300px, 76vw); margin: clamp(40px, 7vh, 64px) auto 0; position: relative;
  border-radius: 44px; background: #16181d; padding: 9px;
  box-shadow: 0 2px 4px rgba(21,22,27,.18), 0 30px 60px -26px rgba(21,22,27,.5);
  animation: float 8s ease-in-out infinite alternate;
}
.phone::before { /* 听筒/刘海 */
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px; background: #16181d; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone::after { /* 身后晨光 */
  content: ""; position: absolute; inset: 10% -22% -12% -22%; z-index: -1;
  background: radial-gradient(56% 56% at 50% 42%,
    color-mix(in srgb, var(--glow-warm) 50%, transparent),
    color-mix(in srgb, var(--glow-cool) 24%, transparent) 55%, transparent 76%);
  filter: blur(16px);
}
.phone img { width: 100%; height: auto; display: block; border-radius: 36px; }

/* logos / trust strip (optional, light) */
.strip {
  text-align: center; padding: clamp(40px, 7vh, 72px) 0 0;
  font-family: var(--sans); font-size: 13px; letter-spacing: .16em; color: var(--ink-32);
}

/* ==========================================================================
   Feature 节
   ========================================================================== */
.feat { padding: clamp(64px, 12vh, 132px) 0 0; }
.feat-row {
  display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(30px, 6vw, 86px);
  align-items: center; padding: clamp(40px, 8vh, 92px) 0;
}
.feat-row:nth-child(even) .feat-copy { order: 2; }
.feat-row:nth-child(even) .feat-visual { order: 1; }
.feat-tag {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .16em;
  color: var(--brand); margin-bottom: 16px;
}
.feat-copy h2 {
  font-weight: 800; letter-spacing: -0.01em; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08;
  margin-bottom: 16px;
}
html[lang="zh"] .feat-copy h2 { font-family: var(--zh); font-weight: 800; letter-spacing: .01em; line-height: 1.22; }
.feat-copy p { font-family: var(--sans); font-size: 16px; color: var(--ink-52); max-width: 34ch; }
html[lang="zh"] .feat-copy p { font-family: var(--zh); }

/* feature 节里的产品窗 — 完整呈现截图,不裁切 */
.feat-visual .window { margin: 0; max-width: none; }
.feat-visual .window-shot { width: 100%; height: auto; }

.shotframe {
  display: block;
  border-radius: var(--r-md); border: 1px solid var(--ink-14); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 11;
}
.shotframe > img { width: 100%; height: 100%; object-fit: cover; }
.pos-tabs   > img { object-position: top center; }
.pos-rows   > img { object-position: left 18%; transform: scale(1.18); transform-origin: left top; }
.pos-block  > img { object-position: left 24%; transform: scale(1.2); transform-origin: left top; }
.pos-public > img { object-position: top left; }
.pos-top    > img { object-position: top center; }
.pos-center > img { object-position: center center; }
.pos-search > img { object-position: top center; }

/* designed visual cards (no screenshot) */
.designed {
  border-radius: var(--r-md); border: 1px solid var(--ink-14); box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 11; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background:
    radial-gradient(72% 80% at 28% 18%, color-mix(in srgb, var(--glow-warm) 30%, transparent), transparent 70%),
    #fff;
}
.designed .d-tag {
  position: absolute; top: 18px; left: 22px; font-family: var(--sans);
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--ink-32);
}
.lex-big { font-family: var(--serif-en); font-style: italic; font-weight: 400; font-size: clamp(40px, 5vw, 62px); }
.lex-zh { font-family: var(--serif-zh); font-weight: 300; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: .28em; color: var(--ink-52); }
.chip {
  font-family: var(--sans); font-size: 12.5px; color: var(--brand); margin-top: 6px;
  border: 1px solid color-mix(in srgb, var(--brand) 34%, transparent); border-radius: 999px; padding: 5px 15px; letter-spacing: .08em;
}
.collab-line { font-family: var(--zh); font-weight: 400; font-size: clamp(17px, 2vw, 23px); display: inline-flex; align-items: center; letter-spacing: .08em; }
html[lang="en"] .collab-line { font-family: var(--sans); letter-spacing: 0; }
.caret { display: inline-block; width: 2px; height: 1.2em; margin: 0 1px; position: relative; background: var(--c, var(--sky)); animation: blink 1.1s steps(1) infinite; }
.caret::after {
  content: attr(data-name); position: absolute; top: -1.55em; left: -3px; white-space: nowrap;
  font-family: var(--sans); font-size: 10px; letter-spacing: .04em; color: #fff; background: var(--c, var(--sky));
  border-radius: 4px; padding: 1px 6px;
}
@keyframes blink { 50% { opacity: .2; } }

/* ==========================================================================
   规格条 — 一眼见深度 (Apple stat strip)
   ========================================================================== */
.spec {
  margin-top: clamp(40px, 7vh, 72px);
  border-top: 1px solid var(--ink-07); border-bottom: 1px solid var(--ink-07);
}
.spec-row {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center;
}
.spec-item {
  flex: 1 1 0; min-width: 150px; text-align: center; padding: clamp(22px, 3.4vh, 34px) 18px;
  position: relative;
}
.spec-item + .spec-item::before {
  content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: var(--ink-07);
}
.spec-n {
  font-family: var(--sans); font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(26px, 3vw, 38px); line-height: 1; color: var(--brand);
}
.spec-n .u { font-size: .5em; font-weight: 700; margin-left: 2px; color: var(--ink-32); }
.spec-l { font-family: var(--zh); font-size: 13px; color: var(--ink-52); margin-top: 8px; letter-spacing: .04em; }
html[lang="en"] .spec-l { font-family: var(--sans); }

/* ==========================================================================
   能力网格 — 长尾深度功能(广度陈列)
   ========================================================================== */
.caps { padding: clamp(64px, 11vh, 120px) 0 0; }
.capgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 20px); margin-top: clamp(34px, 5vh, 52px); text-align: left; }
.cap {
  border-radius: var(--r-md); border: 1px solid var(--ink-14); background: #fff;
  padding: clamp(22px, 2.4vw, 30px); box-shadow: var(--shadow-sm);
  transition: transform .24s cubic-bezier(.2,.8,.3,1), box-shadow .24s;
  display: flex; flex-direction: column;
}
.cap:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(21,22,27,.36); }
.cap-ico {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); margin-bottom: 16px;
}
.cap-ico svg { width: 22px; height: 22px; }
.cap h3 { font-family: var(--zh); font-weight: 700; font-size: 1.08rem; letter-spacing: .02em; margin-bottom: 4px; }
.cap .cap-en { font-family: var(--sans); font-size: .8rem; color: var(--ink-32); margin-bottom: 9px; letter-spacing: .02em; }
.cap p { font-family: var(--zh); font-size: .9rem; color: var(--ink-52); line-height: 1.78; }
html[lang="en"] .cap p { font-family: var(--sans); }
.cap.cap-link { text-decoration: none; }
.cap.cap-link .cap-go { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--brand); margin-top: 12px; }

/* ==========================================================================
   家族 — 产品三宫格(中心舞台)
   ========================================================================== */
.family { padding: clamp(80px, 14vh, 160px) 0 clamp(40px, 7vh, 80px); text-align: center; }
.section-eyebrow { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .2em; color: var(--ink-52); margin-bottom: 16px; }
.section-h {
  font-weight: 800; letter-spacing: -0.01em; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.08;
  margin-bottom: clamp(14px, 2.4vh, 22px);
}
html[lang="zh"] .section-h { font-family: var(--zh); font-weight: 900; letter-spacing: .01em; line-height: 1.18; }
.section-lead { font-family: var(--sans); font-size: 16px; color: var(--ink-52); max-width: 52ch; margin: 0 auto clamp(40px, 6vh, 60px); }
html[lang="zh"] .section-lead { font-family: var(--zh); }
.section-lead b { color: var(--ink); font-weight: 600; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); text-align: left; }
.tile {
  position: relative; border-radius: var(--r-md); border: 1px solid var(--ink-14);
  background: #fff; padding: clamp(24px, 2.6vw, 34px); box-shadow: var(--shadow-sm);
  transition: transform .26s cubic-bezier(.2,.8,.3,1), box-shadow .26s;
  display: flex; flex-direction: column;
}
.tile::before { /* top accent wash */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--t-color, var(--ink)); opacity: .85;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.tile--du   { --t-color: var(--gold); }
.tile--ji   { --t-color: var(--sky); }
.tile--ting { --t-color: var(--vermilion); }
.tile:hover { transform: translateY(-6px); box-shadow: 0 20px 44px -18px rgba(21,22,27,.4); }
.tile .mark { font-size: 19px; margin-bottom: 18px; }
.tile h3 { font-family: var(--zh); font-weight: 800; font-size: 1.42rem; letter-spacing: .04em; }
.tile .tile-en { font-family: var(--sans); font-size: .9rem; color: var(--ink-32); margin: 2px 0 12px; letter-spacing: .02em; }
.tile p { font-family: var(--zh); font-size: .92rem; color: var(--ink-52); line-height: 1.8; flex: 1; }
html[lang="en"] .tile p { font-family: var(--sans); }
.tile .tile-go { font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--t-color, var(--ink)); margin-top: 18px; display: inline-flex; gap: 6px; align-items: center; transition: gap .2s; }
.tile:hover .tile-go { gap: 10px; }
.tile.current { box-shadow: 0 0 0 2px var(--t-color), var(--shadow-sm); }
.tile .here {
  position: absolute; top: 14px; right: 14px; font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; color: #fff; background: var(--t-color, var(--ink)); border-radius: 999px; padding: 3px 11px;
}

/* ==========================================================================
   属天 — 深色经文节(signature)
   ========================================================================== */
.heaven {
  position: relative; margin-top: clamp(72px, 12vh, 140px);
  background: var(--night); color: #f3efe6; text-align: center;
  padding: clamp(88px, 16vh, 184px) 0; overflow: hidden;
}
.heaven::before { /* 破晓地平线 */
  content: ""; position: absolute; inset: auto 0 -30% 0; height: 80%;
  background: radial-gradient(60% 90% at 50% 100%,
    color-mix(in srgb, var(--gold) 42%, transparent),
    color-mix(in srgb, var(--sky) 16%, transparent) 48%, transparent 76%);
  filter: blur(8px); opacity: .55;
}
.heaven::after { /* 星点 */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 18% 22%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 72% 16%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 44% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 88% 36%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 30% 12%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 60% 40%, rgba(255,255,255,.4), transparent);
}
.heaven .wrap { position: relative; z-index: 1; }
.heaven-marks { display: inline-flex; gap: 12px; margin-bottom: clamp(28px, 5vh, 46px); }
.heaven-marks .mark { box-shadow: 0 0 22px -4px var(--mark-bg); }
.heaven blockquote {
  font-family: var(--serif-zh); font-weight: 300; font-size: clamp(22px, 3vw, 38px);
  line-height: 1.95; letter-spacing: .1em; max-width: 22ch; margin: 0 auto; color: #f6f1e7;
}
html[lang="en"] .heaven blockquote { font-family: var(--serif-en); font-style: italic; letter-spacing: .01em; line-height: 1.5; max-width: 26ch; }
.heaven .ref { display: block; margin-top: clamp(22px, 4vh, 36px); font-family: var(--sans); font-size: 12px; letter-spacing: .34em; color: rgba(243,239,230,.5); }

/* ==========================================================================
   页脚 — 结构化
   ========================================================================== */
footer { border-top: 1px solid var(--ink-07); padding: clamp(48px, 8vh, 80px) 0 clamp(36px, 6vh, 56px); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px 28px; }
.foot-brand .brandmark { margin-bottom: 14px; }
.foot-brand p { font-family: var(--sans); font-size: 13.5px; color: var(--ink-52); max-width: 30ch; }
html[lang="zh"] .foot-brand p { font-family: var(--zh); }
.foot-col h4 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--ink-32); margin-bottom: 14px; text-transform: uppercase; }
.foot-col a { display: block; font-family: var(--sans); font-size: 14px; color: var(--ink-72); padding: 5px 0; transition: color .18s; }
html[lang="zh"] .foot-col a { font-family: var(--zh); }
.foot-col a:hover { color: var(--brand); }
.foot-bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: clamp(40px, 6vh, 60px);
  padding-top: 24px; border-top: 1px solid var(--ink-07);
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-32);
}
.foot-bottom .marks { display: flex; gap: 6px; font-size: 10px; }
.foot-bottom .sp { flex: 1; }

/* ==========================================================================
   动效
   ========================================================================== */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.65,.3,1), transform .9s cubic-bezier(.2,.65,.3,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .09s; } .rv.d2 { transition-delay: .18s; } .rv.d3 { transition-delay: .3s; }
.rv-s { opacity: 0; transform: translateY(34px) scale(.98); transition: opacity 1.1s cubic-bezier(.2,.65,.3,1), transform 1.1s cubic-bezier(.2,.65,.3,1); }
.rv-s.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-s { opacity: 1; transform: none; transition: none; }
  .dawn, .hero .window, .caret { animation: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 900px) {
  .feat-row { grid-template-columns: 1fr; gap: 26px; padding: clamp(34px,6vh,56px) 0; }
  .feat-row:nth-child(even) .feat-copy { order: 0; }
  .feat-row:nth-child(even) .feat-visual { order: 1; }
  .feat-copy p { max-width: none; }
  .tiles { grid-template-columns: 1fr; }
  .capgrid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}

/* ========== 移动端主战场 — 全面优化 (≤700) ========== */
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 20px; }

  /* hero: 手机框替代浏览器窗 */
  .hero { padding-top: clamp(40px, 7vh, 72px); }
  .hero-desktop { display: none; }
  .hero-mobile { display: block; }
  h1.hero-h { font-size: clamp(38px, 11vw, 56px); }
  html[lang="zh"] h1.hero-h { line-height: 1.18; }
  .hero-sub { font-size: 15px; }
  .dawn { height: 64vh; }

  /* 段落节奏收紧 */
  .feat { padding-top: clamp(48px, 9vh, 80px); }
  .feat-row { padding: clamp(30px, 5vh, 48px) 0; gap: 22px; }
  .feat-copy h2 { font-size: clamp(27px, 7.6vw, 36px); }
  .feat-tag { margin-bottom: 12px; }

  /* 特性画面:移动端用真实手机截图,竖版框取,保证可读 */
  .shotframe { aspect-ratio: 4 / 5; }
  .shotframe > img { object-position: top center !important; transform: none !important; }
  .designed { aspect-ratio: 5 / 4; }

  /* 家族三宫格 */
  .family { padding-top: clamp(56px, 10vh, 96px); }
  .section-h { font-size: clamp(28px, 8vw, 40px); }
  .tile { padding: 22px; }

  /* 规格条:2 列网格,去竖线 */
  .spec-row { display: grid; grid-template-columns: 1fr 1fr; }
  .spec-item { flex: none; min-width: 0; padding: 18px 12px; }
  .spec-item + .spec-item::before { display: none; }
  .spec-item { border-top: 1px solid var(--ink-07); }
  .spec-item:nth-child(odd) { border-right: 1px solid var(--ink-07); }
  .spec-item:nth-child(1), .spec-item:nth-child(2) { border-top: 0; }
  .spec-n { font-size: 26px; }

  /* 能力网格 1 列 */
  .caps { padding-top: clamp(48px, 9vh, 80px); }
  .capgrid { grid-template-columns: 1fr; gap: 12px; }
  .cap { padding: 20px; }

  /* 属天节收紧 */
  .heaven { padding: clamp(64px, 12vh, 110px) 0; margin-top: clamp(56px, 10vh, 96px); }

  /* 触控目标 ≥44px */
  .btn-primary { padding: 15px 30px; font-size: 16px; }
  .lang { padding: 10px 10px; }
  .nav-fam a .mark { width: 2.1em; height: 2.1em; }

  /* 图标在移动端收小,与文字配比更稳 */
  .cap-ico { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 13px; }
  .cap-ico svg { width: 19px; height: 19px; }
  .eyebrow .mark { font-size: 11.5px; }
  .tile .mark { font-size: 16px; margin-bottom: 14px; }
  .heaven-marks { gap: 9px; }
  .heaven-marks .mark { font-size: 12.5px; }
  .feat-tag { font-size: 11.5px; }
}

/* ========== 小屏 (≤560) ========== */
@media (max-width: 560px) {
  .brandmark .en-name { display: none; }
  .nav-fam { display: none; } /* 家族导航在页内三宫格 + 页脚已充分呈现,顶栏让位呼吸 */
  .nav-inner { gap: 10px; }
  .eyebrow { margin-bottom: 18px; letter-spacing: .14em; }
  .cta-row { flex-direction: column; gap: 14px; width: 100%; }
  .cta-row .btn-primary { width: 100%; justify-content: center; }
  .window-bar .url { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { font-size: 12px; }
}

/* ========== 极窄 (≤380) ========== */
@media (max-width: 380px) {
  h1.hero-h { font-size: 36px; }
  .hero-sub .dot { margin: 0 .4em; }
  .phone { width: 82vw; }
}
