/**
 * 首页（landing）· 1.12.7 —— 黑白原型的**逐值复刻**。
 *
 * 原型：prototype/partner-home-v2/f.html（F 方案）+ x.html（1.12.3 的创始人致词 / 中英开关）。
 * 本文件把原型里每条声明搬过来，只把选择器加上 `.uh2-` 前缀（唯一例外是 `body.uh2-body` 这一层根重置）。
 * 间距 / 字号 / 颜色 / 圆角 / 阴影**一律照抄原型**，不「顺手优化」——
 * 老板验收的是像素，不是审美。
 *
 * ## 1.12.5 的两个「线上计算值」修复（CSS 写得对、渲染不对）
 *   ① logo 被自己的复位压过：`body.uh2-body img{height:auto}` = (0,1,2)，
 *      而 `.uh2-brand__img{height:20px}` = (0,1,0) ⇒ 实际按原始 400×85 渲染。
 *      改法：选择器抬到 `.uh2-nav .uh2-brand__img`（(0,2,0)），加 `max-height`，**不用 !important**；
 *      另补 ≤900px 时 17px。
 *   ② 语言键被主题撑高：Flatsome `button{min-height:2.5em}` 没覆盖 ⇒ 32×38.8，50% 圆角成椭圆。
 *      改法：`.uh2-langbtn` 显式 `min-height:0; min-width:0`（+ 已有的 `box-sizing:border-box`）。
 *   这两条都不能靠「CSS 里有」验收，自检里用层叠复算（`_checks/lib/cascade.js`）算最终尺寸。
 *
 * ## 1.12.6 / 1.12.7 只改 JS（CSS 一个声明都没动）
 *   1.12.7 改的是「首页重新允许页面缓存 + AI nonce 过期自动重试」，版面相关的一个字都没碰，
 *   本文件的**声明**同样零改动（只有这行版本注释跟着入口走）。
 *   修的是变量遮蔽：`assets/js/home-2026.js` 里手风琴的循环变量 `t` 把翻译助手（同名 `t`）
 *   覆盖成数字 ⇒ 点 AI 按钮抛 `t is not a function`、请求一个都没发出去。
 *   详细的根因 / 修法 / 规矩写在那个文件的头注释里；本文件只是版本号跟着入口走。
 *
 * ## 1.12.4 的四处（只有值和一件新增小结构）
 *   · 招募卡 `.uh2-c--next`（虚线圈 + 浅灰底 + 白底「+」占位）—— 第 6 张恒在，凑满 3 × 2；
 *   · nav logo 26px → **20px**（栏高仍 64px，不塌不溢）；
 *   · 中英开关：胶囊 `.uh2-lang` 退役 → **32px 圆形图标键** `.uh2-langbtn` + 9px 角标；
 *   · 创始人致词：首列 380 → **320px**、卡片限高 640 → **560px**（≤900px 单列时 340 → 300px）。
 *
 * ## 1.12.3 的四处「非新板块」改动（都只是值，不动结构）
 *   · 正文 500（body / 引导语 / 关于三段 / 历程正文）+ 删掉 webkit 字体平滑 + ink2 → #2e2e2e；
 *   · nav 真 logo（1.12.3 起 26px，1.12.4 收到 20px）：`.uh2-brand__mark` 方块退役、`.uh2-brand` 字距归 0；
 *   · 人卡头像 `aspect-ratio:1/1` + 50% 正圆（非方图不再被压成椭圆）；
 *   · 新增 `.uh2-langbtn` 开关 / `.uh2-founder` 板块 / `.uh2-journey-band` 底板（历程本身零改动）。
 *
 * ## 三条硬约束
 *   ① **零彩色**：全文件只有灰阶（#0d0d0d…#fff；rgba 只允许中性灰/黑，形如 rgba(15,15,15,.12)），
 *      断言会逐色号比对。
 *   ② **不依赖主题**：模板整页直出（见 templates/home-v2.php 顶部注释）。
 *      `body.uh2-body` 上的重置 + 一段「祖先容器打平」规则是 B 方案的兜底：
 *      万一哪天又被套回主题壳（#page / .page-wrapper / .container / .row / .col），
 *      这些节点会被压平，正文仍然是 `.uh2-wrap` 的 1080px，而不是 560px 窄柱。
 *   ③ **`[hidden]` 必须显式 display:none**：AI 面板的开关就是摘 / 挂 `hidden`。
 *      主题（Flatsome 等）有一堆 `div{display:block}` 之类的规则，光靠 UA 样式关不掉。
 *
 * ## 为什么样式链接放在 wp_head() 之后
 * 同优先级后加载的胜出 ⇒ 主题那套 `body / a / img / .container` 通用规则压不住本页。
 *
 * @package unithmemd-partner
 */

/* =============================================================================
 * 0. 设计令牌（原型 :root 一对一；全部加 --uh2- 前缀，避免与主题变量撞名）
 * ========================================================================== */

:root {
    --uh2-ink: #0d0d0d;
    --uh2-ink2: #2e2e2e;
    --uh2-muted: #767676;
    --uh2-faint: #a3a3a3;
    --uh2-line: #e6e6e6;
    --uh2-line2: #f0f0f0;
    --uh2-silver: #f6f6f6;
    --uh2-silver2: #fbfbfb;
}

/* =============================================================================
 * 1. 根重置 + 主题容器打平
 * ========================================================================== */

html {
    -webkit-text-size-adjust: 100%;
    /* 1.12.3：「了解我们 ↗」锚到 #about 时平滑滚过去（减少动效偏好时在文件末尾关掉） */
    scroll-behavior: smooth;
}

html,
body.uh2-body {
    margin: 0;
    padding: 0;
}

body.uh2-body {
    background: #fff;
    color: var(--uh2-ink);
    font-family: "Inter Tight", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    /*
     * 1.12.3：删掉 webkit 的字体平滑声明（font-smoothing）。
     * 它在 macOS 上会把中文笔画削细一档，和「正文加粗到 500」的意图正好相反。
     */
    /* 主题常在 body 上留 max-width / padding / 居中，这里全部抹平 */
    max-width: none;
    width: auto;
    float: none;
    display: block;
    overflow-x: hidden;
}

body.uh2-body a {
    color: inherit;
    text-decoration: none;
}

/*
 * 祖先容器打平（正常路径下这些节点根本不存在：模板整页直出，不套主题模板）。
 * 写它们只为「万一被套回去」时不至于又变成一条窄柱 —— 代价是 0。
 */
body.uh2-body #page,
body.uh2-body #wrapper,
body.uh2-body .page-wrapper,
body.uh2-body .page-wrapper > .row,
body.uh2-body .page-wrapper .col,
body.uh2-body .container,
body.uh2-body .row,
body.uh2-body .col,
body.uh2-body .content,
body.uh2-body .page-content,
body.uh2-body .is-layout-constrained > * {
    max-width: none;
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
}

/* AI 面板的开关就是 hidden；必须有显式规则，否则关不掉 */
body.uh2-body [hidden] {
    display: none !important;
}

body.uh2-body img {
    max-width: 100%;
    height: auto;
}

body.uh2-body button {
    font-family: inherit;
}

body.uh2-body :focus-visible {
    outline: 2px solid var(--uh2-ink);
    outline-offset: 3px;
}

/* =============================================================================
 * 2. 容器（原型 .wrap / .wide）
 *    · .uh2-wrap  = 宽容器 1080px（导航 / 数据带 / 卡片区 / 收尾区）
 *    · .uh2-hero__inner = 正文列 780px（首屏文字，原型 .wrap）
 *    1440 视口下 .uh2-wrap 的计算宽度 = 1080（验收线是 ≥1000）
 * ========================================================================== */

.uh2-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.uh2-hero__inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================================================
 * 3. 导航
 * ========================================================================== */

.uh2-nav {
    border-bottom: 1px solid var(--uh2-line2);
}

.uh2-nav__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.uh2-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    /* 1.12.3：nav 换成真 logo（<img>，无文字），字距归 0；.uh2-brand__mark 方块退役 */
    letter-spacing: 0;
    font-size: 12px;
    color: var(--uh2-ink);
}

/* logo_url() 返回的图片：20px 高、等比缩放（1.12.4 从 26px 收到 20px）；
   nav 行高仍是 64px + align-items:center ⇒ 只是图变小，栏高不塌。

   ⚠ 1.12.5 特意把选择器写成两段（`.uh2-nav .uh2-brand__img` = (0,2,0)）：
   本文件第 119 行有全局复位 `body.uh2-body img{max-width:100%;height:auto}` = (0,1,2)，
   原来单类 `.uh2-brand__img`（0,1,0）压不过它 —— 线上实测图被 `height:auto` 还原成
   原始 400×85（1.12.4 的 bug）。这里靠选择器层级解决，**不用 !important**；
   并且必须写在第 119 行之后（同特异性时后者胜）。 */
.uh2-nav .uh2-brand__img,
body.uh2-body .uh2-nav .uh2-brand__img {
    height: 20px;
    width: auto;
    max-height: 20px;
    display: block;
}

/* 手机端再小一档（17px）见文件末尾 `3c` 段 —— 放在最后是为了不打断 §12 那个 900px 大段：
   `_checks` 里的 mediaBlock() 取的是**第一个** 900px 媒体查询，插在中间会把历程断言挤掉。 */

.uh2-nav__acts {
    display: flex;
    gap: 12px;
    align-items: center;
}

.uh2-ghost {
    font-size: 12.5px;
    color: var(--uh2-muted);
}

.uh2-solid {
    font-size: 12.5px;
    background: var(--uh2-ink);
    color: #fff;
    border-radius: 999px;
    padding: 9px 18px;
    font-weight: 500;
}

.uh2-ghost:hover {
    color: var(--uh2-ink);
}

/* =============================================================================
 * 3b. 中英切换（1.12.4 · 圆形图标键，取代 1.12.3 的「中 / EN」胶囊）
 *     32×32 白底圆 + 1px 极浅描边 + 地球图标；右下角一枚 9px 角标写当前语言。
 *     只换页面文字、不换 DOM ⇒ 键的尺寸恒定，点下去不会左右抖。
 * ========================================================================== */

.uh2-langbtn {
    position: relative;
    width: 32px;
    height: 32px;
    /* 1.12.5：Flatsome 的 `button{min-height:2.5em}` 会把这颗键撑到 32×38.8，
       border-radius:50% 就成了椭圆 —— 必须显式压掉 min-height / min-width */
    min-height: 0;
    min-width: 0;
    padding: 0;
    border: 1px solid rgba(15, 15, 15, .12);
    border-radius: 50%;
    background: #fff;
    color: var(--uh2-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: inherit;
    line-height: 0;
    box-sizing: border-box;
    transition: border-color .2s ease, color .2s ease;
}

.uh2-langbtn svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* hover：边框加深、图标变黑（不发蓝，全页无彩色） */
.uh2-langbtn:hover {
    border-color: rgba(15, 15, 15, .34);
    color: var(--uh2-ink);
}

/* 右下角当前语言角标：9px 灰底白字 4px 圆角，探出圆键一点点，避开图标 */
.uh2-langbtn__cur {
    position: absolute;
    right: -4px;
    bottom: -4px;
    padding: 1px 3px;
    border-radius: 4px;
    background: var(--uh2-muted);
    color: #fff;
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .02em;
}

.uh2-solid:hover {
    background: var(--uh2-ink2);
}

/*
 * 黑底按钮的文字颜色必须显式钉住。
 * Flatsome 的 `a` / `.nav a` 一类规则落在元素选择器上，把 `.uh2-solid{color:#fff}`
 * 这条类选择器压了过去 —— 线上表现就是「黑底黑字」。这里用「四条伪类 + 两个上下文」
 * 把它钉到压不过去：不改主题，也不用 !important。
 * `a.uh2-ask--sm` 是收尾区那个 <a> 版按钮，同一个坑。
 */
a.uh2-solid:link,
a.uh2-solid:visited,
a.uh2-solid:hover,
a.uh2-solid:focus,
.uh2-nav a.uh2-solid,
.uh2-final a.uh2-solid,
a.uh2-ask--sm:link,
a.uh2-ask--sm:visited,
a.uh2-ask--sm:hover,
a.uh2-ask--sm:focus {
    color: #fff;
}

/* =============================================================================
 * 4. 首屏
 * ========================================================================== */

.uh2-hero {
    padding: 104px 0 70px;
    text-align: center;
}

.uh2-kicker {
    font-size: 11.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--uh2-faint);
}

.uh2-h1 {
    font-size: 46px;
    line-height: 1.14;
    letter-spacing: -.028em;
    margin: 22px 0 0;
    font-weight: 600;
    color: var(--uh2-ink);
}

.uh2-sub {
    font-size: 15px;
    line-height: 1.72;
    color: var(--uh2-muted);
    margin: 18px auto 0;
    max-width: 540px;
}

.uh2-ask {
    margin: 42px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: var(--uh2-ink);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 19px 30px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 14px 34px rgba(0, 0, 0, .10);
    transition: transform .18s, box-shadow .18s;
}

.uh2-ask:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 20px 44px rgba(0, 0, 0, .14);
}

.uh2-ask svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

/* 收尾区那个小一号的按钮（原型是同一条 .ask + 三个行内覆盖值） */
.uh2-ask--sm {
    margin: 0 auto;
    padding: 17px 28px;
    font-size: 15px;
}

.uh2-ask-note {
    font-size: 12px;
    color: var(--uh2-faint);
    margin: 16px 0 0;
}

/* =============================================================================
 * 5. AI 回答面板（外壳与原型一致：问题行 / 正文 / 底栏 / 验证行）
 * ========================================================================== */

.uh2-answer {
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
    animation: uh2-fade .45s ease;
}

@keyframes uh2-fade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.uh2-card {
    border: 1px solid var(--uh2-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 10px 30px rgba(0, 0, 0, .05);
    overflow: hidden;
}

.uh2-qrow {
    padding: 14px 20px;
    border-bottom: 1px solid var(--uh2-line2);
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: var(--uh2-muted);
    background: var(--uh2-silver2);
    flex-wrap: wrap;
}

.uh2-qrow b {
    color: var(--uh2-ink);
    font-weight: 500;
}

.uh2-pill {
    font-size: 10.5px;
    border: 1px solid var(--uh2-line);
    border-radius: 999px;
    padding: 2px 8px;
    color: var(--uh2-muted);
    margin-left: auto;
}

.uh2-ans {
    padding: 22px 22px 10px;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--uh2-ink2);
    min-height: 24px;
}

.uh2-ans p {
    margin: 0 0 14px;
}

.uh2-ans strong {
    color: var(--uh2-ink);
    font-weight: 600;
}

/* 加载 / 出错 / 提示：同一块正文区里的一行灰字（不新增视觉元素） */
.uh2-ans .uh2-note {
    color: var(--uh2-muted);
    font-size: 13px;
}

.uh2-metaline {
    padding: 12px 20px;
    border-top: 1px solid var(--uh2-line2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--uh2-faint);
    background: var(--uh2-silver2);
    gap: 12px;
    flex-wrap: wrap;
}


/* =============================================================================
 * 6. 「不信？自己问一遍」（原型 .verify）
 * ========================================================================== */

.uh2-verify {
    margin: 14px 0 0;
    border: 1px solid var(--uh2-line);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--uh2-silver2);
}

.uh2-verify__txt {
    font-size: 13px;
    color: var(--uh2-ink2);
    line-height: 1.6;
}

.uh2-verify__txt b {
    color: var(--uh2-ink);
}

.uh2-verify__acts {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.uh2-mini {
    font-size: 12px;
    border: 1px solid #dcdcdc;
    background: #fff;
    border-radius: 999px;
    padding: 7px 13px;
    color: var(--uh2-ink);
    cursor: pointer;
    font-family: inherit;
    line-height: 1.4;
}

.uh2-mini:hover {
    border-color: #bdbdbd;
}

/* =============================================================================
 * 7. 数据带（原型 .stats / .st）
 * ========================================================================== */

.uh2-stats {
    border-top: 1px solid var(--uh2-line2);
    border-bottom: 1px solid var(--uh2-line2);
    margin-top: 80px;
}

.uh2-stats__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.uh2-st {
    padding: 26px 24px;
    border-left: 1px solid var(--uh2-line2);
}

.uh2-st:first-child {
    border-left: 0;
    padding-left: 0;
}

.uh2-st b {
    display: block;
    font-size: 29px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.1;
    color: var(--uh2-ink);
}

.uh2-st b span {
    font-size: 14px;
    color: var(--uh2-muted);
    margin-left: 2px;
}

.uh2-st i {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: var(--uh2-muted);
    margin-top: 7px;
    white-space: nowrap;
}

/* =============================================================================
 * 8. 服务方卡片区（原型 .sec / .grid / .c）
 * ========================================================================== */

.uh2-sec {
    padding: 78px 0;
}

.uh2-sec__h2 {
    font-size: 27px;
    letter-spacing: -.02em;
    margin: 0;
    font-weight: 600;
    color: var(--uh2-ink);
}

.uh2-sec__lead {
    font-size: 14px;
    color: var(--uh2-muted);
    margin: 10px 0 28px;
    font-weight: 500;
}

/* 服务方区 = 5 张真卡（3 家机构 + 2 位协调员，见 Home_2026::cards()）+ 1 张招募卡
   （模板写死的「下一个是你」）：3 列时正好排成整齐的 3 × 2 两行，右下角不留空位。
   长名字（Chongqing People's Hospital）也不再被压成两三行。三档断点：≥1100 三列 → 768–1100 两列 → <768 一列。 */
.uh2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.uh2-c {
    border: 1px solid var(--uh2-line);
    border-radius: 14px;
    background: #fff;
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    transition: border-color .3s ease, transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}

.uh2-c:hover {
    border-color: #d4d4d4;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
}

/* 头部：52×52 缩略图 + 名称 + 认证标识 */
.uh2-c__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.uh2-c__thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    flex: 0 0 auto;
    background: var(--uh2-silver);
    display: block;
}

/* 人：1:1 正圆（1.12.3 补 aspect-ratio，非方图也不会被压成椭圆），取像位置略上移 */
.uh2-c--person .uh2-c__thumb {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 18%;
}

/* 没有缩略图时的首字占位：同样 52×52 / 12px */
.uh2-c__thumb--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #c9c9c9;
    letter-spacing: .02em;
}

.uh2-c__meta {
    min-width: 0;
    flex: 1;
}

.uh2-c__h3 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    align-items: center;
    min-width: 0;
    color: var(--uh2-ink);
}

/* 标题允许换行：3 列下仍可能出现长名字（Chongqing People's Hospital），
   1.12.1 起不再 white-space:nowrap 截成省略号，超长单词才断字。 */
.uh2-c__h3 .uh2-c__nm {
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
}

.uh2-c__sub {
    font-size: 11.5px;
    color: var(--uh2-muted);
    margin-top: 4px;
    line-height: 1.4;
}

/* 认证标识（1.12.1 页面上仅有的两处品牌色之一，取自原型的 --vf） */
.vf {
    display: inline-block;
    vertical-align: -2px;
    margin-left: 5px;
    flex: 0 0 auto;
}

.vf svg {
    width: 15px;
    height: 15px;
    display: block;
}

.vf .seal {
    fill: #1d9bf0;
    stroke: #1d9bf0;
    stroke-width: .9;
    stroke-linejoin: round;
}

.vf .tick {
    stroke: #fff;
    fill: none;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.uh2-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 13px;
}

.uh2-t {
    font-size: 11px;
    border: 1px solid var(--uh2-line);
    border-radius: 999px;
    padding: 3px 8px;
    color: var(--uh2-muted);
}

.uh2-c__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--uh2-line2);
    font-size: 11.5px;
    color: var(--uh2-faint);
    gap: 10px;
}

.uh2-c__foot a {
    color: var(--uh2-ink);
    white-space: nowrap;
}

/* 招募卡（1.12.4 · 原型 .c--next）：虚线边框 + 浅灰底；占位块（那个「+」）用白底，
   和真卡同尺寸 ⇒ 第 6 张落在 3×2 的右下角，视觉上一眼看出「还差你一个」。 */
.uh2-c--next {
    border-style: dashed;
    background: var(--uh2-silver2);
}

.uh2-c--next .uh2-c__thumb--ph {
    background: #fff;
}


/* =============================================================================
 * 9. 关于我们 + 历程（原型 .about / .journey / .ti / .xhs，1.12.1）
 * ========================================================================== */

.uh2-about {
    background: #fbfbfb;
    border-top: 1px solid var(--uh2-line2);
    padding: 96px 0 110px;
    /* 1.12.3：创始人致词的「了解我们 ↗」跳到 #about 时，别让 kicker 钻进吸顶 nav 底下 */
    scroll-margin-top: 72px;
}

.uh2-about__head,
.uh2-about__body {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.uh2-about__h2 {
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: -.035em;
    margin: 16px 0 0;
    font-weight: 600;
    color: var(--uh2-ink);
}

.uh2-about__body p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--uh2-ink2);
    margin: 20px 0 0;
    font-weight: 500;
}

.uh2-about__body p.uh2-muted {
    color: var(--uh2-muted);
}

/* =============================================================================
 * 9b. 创始人致词（1.12.3 · 原型 .founder）：左 320px 小红书主页截图 / 右文案
 *     1.12.4：首列 380 → 320、卡片限高 640 → 560（截图整体小一圈，右栏文字占比更高）。
 *     圆角**必须**套在 .uh2-founder__frame 上：直接给 img 加 26px 圆角，
 *     缩图时边缘会有锯齿（overflow:hidden 的父层裁切才干净）。
 * ========================================================================== */

.uh2-founder {
    background: #fff;
    border-top: 1px solid var(--uh2-line2);
    padding: 88px 0 92px;
}

.uh2-founder__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.uh2-founder__media {
    position: relative;
}

.uh2-founder__frame {
    border-radius: 26px;
    overflow: hidden;
    display: block;
}

.uh2-founder__card {
    width: 100%;
    display: block;
    max-height: 560px;
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 22px 54px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .04);
}

/* 左上角悬浮小胶囊：黑底白字 11px（原型 top:-12px / left:14px） */
.uh2-founder__tag {
    position: absolute;
    left: 14px;
    top: -12px;
    z-index: 1;
    background: var(--uh2-ink);
    color: #fff;
    font-size: 11px;
    letter-spacing: .08em;
    padding: 6px 12px;
    border-radius: 999px;
}

.uh2-founder__h2 {
    font-size: 30px;
    line-height: 1.35;
    letter-spacing: -.02em;
    margin: 14px 0 0;
    font-weight: 600;
    color: var(--uh2-ink);
}

.uh2-founder__body p {
    font-size: 15px;
    line-height: 1.95;
    color: var(--uh2-ink2);
    margin: 18px 0 0;
    font-weight: 500;
}

.uh2-founder__body p strong {
    color: var(--uh2-ink);
    font-weight: 600;
}

.uh2-founder__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    border: 1px solid rgba(0, 0, 0, .5);
    border-radius: 10px;
    padding: 13px 26px;
    font-size: 14px;
    font-weight: 500;
    color: var(--uh2-ink);
    transition: background .25s, color .25s, border-color .25s;
}

.uh2-founder__btn:hover {
    background: var(--uh2-ink);
    color: #fff;
    border-color: var(--uh2-ink);
}

/* 历程区底色 / 留白（1.12.3 新增这一层包住 .uh2-journey）：
   以前 .uh2-journey 住在 .uh2-about 里，靠父级的 #fbfbfb + 自身 86px 上留白；
   现在中间插了创始人致词（白底），这段把同样的底色与上下留白原样接回来。 */
.uh2-journey-band {
    background: #fbfbfb;
    border-top: 1px solid var(--uh2-line2);
    padding: 0 0 110px;
}

/* 历程：80% 视窗宽，左 216px 目录（sticky）+ 右时间线 */
.uh2-journey {
    width: 80vw;
    max-width: 1480px;
    margin: 86px auto 0;
    display: grid;
    grid-template-columns: 216px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.uh2-jhead {
    position: sticky;
    top: 96px;
}

.uh2-jhead h3 {
    font-size: 24px;
    letter-spacing: -.02em;
    margin: 10px 0 0;
    font-weight: 600;
    color: var(--uh2-ink);
}

.uh2-jhead p {
    font-size: 13px;
    color: var(--uh2-muted);
    margin: 10px 0 0;
    line-height: 1.75;
}

.uh2-jhead__count {
    margin-top: 22px;
    font-size: 11.5px;
    color: var(--uh2-faint);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.uh2-yearband {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0 0 30px;
}

.uh2-yearband b {
    font-size: 60px;
    font-weight: 600;
    letter-spacing: -.05em;
    line-height: .9;
    color: #0d0d0d;
}

.uh2-yearband span {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--uh2-faint);
    font-weight: 600;
}

.uh2-track {
    position: relative;
    padding-left: 34px;
}

.uh2-track::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: #e8e8e8;
}

/* 进度线高度由脚本写 --uh2-p（0–1）；没有脚本 = 高度 0，不挡内容 */
.uh2-track__fill {
    position: absolute;
    left: 4px;
    top: 8px;
    width: 1px;
    height: calc((100% - 16px) * var(--uh2-p, 0));
    background: linear-gradient(#0d0d0d, #9a9a9a);
    transition: height .12s linear;
}

/* 每条：左文字 / 右照片。默认可见 —— 只有脚本挂上 .uh2-journey--ready 才做淡入 */
.uh2-journey .ti {
    position: relative;
    padding: 0 0 68px;
}

.uh2-journey .ti:last-child {
    padding-bottom: 0;
}

.uh2-journey--ready .ti {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1);
}

.uh2-journey--ready .ti.on {
    opacity: 1;
    transform: none;
}

.uh2-journey .ti > div {
    max-width: 440px;
}

.uh2-journey .ti__dot {
    position: absolute;
    left: -34px;
    top: 7px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d6d6d6;
    transition: border-color .3s, background .3s, box-shadow .3s, transform .3s;
}

.uh2-journey .ti.on .ti__dot {
    border-color: #b9b9b9;
    background: #b9b9b9;
}

.uh2-journey .ti.active .ti__dot {
    border-color: var(--uh2-ink);
    background: var(--uh2-ink);
    transform: scale(1.25);
    animation: uh2-halo 2.6s ease-in-out infinite;
}

@keyframes uh2-halo {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, .22);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 0, 0, .06), 0 0 0 15px rgba(0, 0, 0, .025);
    }
}

.uh2-journey .ti__month {
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--uh2-faint);
    font-weight: 600;
    transition: color .3s;
}

.uh2-journey .ti.active .ti__month {
    color: var(--uh2-ink);
}

.uh2-journey .ti h4 {
    font-size: 19px;
    letter-spacing: -.02em;
    margin: 9px 0 0;
    font-weight: 600;
    line-height: 1.35;
    color: var(--uh2-ink);
}

.uh2-journey .ti p {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--uh2-muted);
    margin: 9px 0 0;
    max-width: 420px;
    font-weight: 500;
}

/* 文字块：padding 用负 margin 抵消，出线框时文字不会位移 */
.uh2-journey .ti__txt {
    padding: 15px 17px;
    margin: -15px -17px;
    border-radius: 18px;
    transition: box-shadow .22s ease;
}

/* 悬停 / 键盘聚焦的 1px 线框：用 box-shadow 而不是 border，避免整行位移 */
.uh2-journey .ti:hover .ti__txt,
.uh2-journey .ti:focus-within .ti__txt {
    box-shadow: 0 0 0 1px #0d0d0d;
}

/* 1.12.2 · 历程头部 / 折叠区：桌面就是原来那两行文字，箭头不出现；
   ≤900px 才交给手风琴（见文件末尾的 900px 段），桌面版式一个像素不动。 */
.uh2-journey .ti__head {
    display: block;
}

.uh2-journey .ti__body {
    display: block;
}

.uh2-journey .ti__chev {
    display: none;
}

/* 小红书笔记：缩略图标 + 两行标题 + ↗ */
.uh2-journey .xhs {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 16px 0 0;
    padding: 8px 14px 8px 8px;
    border: 1px solid var(--uh2-line);
    border-radius: 999px;
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.uh2-journey .xhs:hover {
    border-color: #d8d8d8;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
    transform: translateY(-1px);
}

/* 小红书红：页面上仅有的两处品牌色之一（原型 #ff2442） */
.uh2-journey .xhs__logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex: 0 0 auto;
    background: #ff2442;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1;
    text-align: center;
}

.uh2-journey .xhs__txt {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.uh2-journey .xhs__k {
    font-size: 10.5px;
    color: var(--uh2-faint);
    letter-spacing: .04em;
}

.uh2-journey .xhs__v {
    font-size: 13px;
    color: var(--uh2-ink);
    font-weight: 500;
}

.uh2-journey .xhs__go {
    font-size: 12px;
    color: var(--uh2-faint);
    margin-left: 2px;
}

/* 右侧照片：悬停 / 聚焦才出现的白卡片。
   阴影挂在 .ti__pop 上（drop-shadow），箭头那块小方块也一起有影。 */
.uh2-journey .ti__pop {
    position: absolute;
    left: 506px;
    top: -6px;
    width: 318px;
    z-index: 5;
    opacity: 0;
    transform: translateX(-12px) scale(.98);
    transition: opacity .36s ease, transform .36s cubic-bezier(.16, 1, .3, 1);
    pointer-events: none;
    will-change: opacity, transform;
    filter: drop-shadow(0 16px 34px rgba(0, 0, 0, .10)) drop-shadow(0 2px 4px rgba(0, 0, 0, .05));
}

.uh2-journey .ti:hover .ti__pop,
.uh2-journey .ti:focus-within .ti__pop {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* 白卡片本体 */
.uh2-journey .ti__card {
    position: relative;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 22px;
    padding: 0;
    max-height: 82vh;
    overflow: hidden;
    box-shadow: none;
}

/* 左箭头：旋转 45° 的小方块，两条边与卡片同色 */
.uh2-journey .ti__pop::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    background: #fff;
    border-left: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    transform: rotate(45deg);
    border-bottom-left-radius: 4px;
    z-index: 1;
}

/* 被箭头压住的那一小段卡边抹掉，否则会看到「十字」 */
.uh2-journey .ti__card::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 50%;
    width: 4px;
    height: 18px;
    margin-top: -9px;
    background: #fff;
    z-index: 2;
}

.uh2-journey .ti__shot {
    border-radius: 22px;
    overflow: hidden;
    background: var(--uh2-silver);
    position: relative;
}

/* 原图完整显示（不裁切）：卡片限高 82vh + overflow:hidden 兜住超长截图 */
.uh2-journey .ti__shot img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* 触屏 / 无 hover 设备：直接摊开（否则永远看不到照片） */
@media (hover: none) {
    .uh2-journey .ti__pop {
        position: static;
        width: auto;
        max-width: 520px;
        margin-top: 14px;
        opacity: 1;
        transform: none;
        filter: none;
    }

    .uh2-journey .ti__pop::before {
        display: none;
    }
}

/* 窄屏：照片移到文字下面；服务方卡 5 列太挤 ⇒ 一排 2 张（1.12.1 三档断点的中档） */
@media (max-width: 1100px) {
    .uh2-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .uh2-journey {
        width: 92vw;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .uh2-jhead {
        position: static;
    }

    .uh2-journey .ti {
        padding-bottom: 44px;
    }

    .uh2-journey .ti__pop {
        position: static;
        width: auto;
        max-width: 520px;
        margin-top: 16px;
        opacity: 1;
        transform: none;
        filter: none;
    }

    .uh2-journey .ti__pop::before {
        display: none;
    }

    .uh2-journey .ti__card {
        box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
    }
}

/* =============================================================================
 * 10. 收尾 + 页脚（原型 .final / .footline）
 * ========================================================================== */

.uh2-final {
    border-top: 1px solid var(--uh2-line2);
    padding: 70px 0;
    text-align: center;
}

.uh2-final__h2 {
    font-size: 30px;
    margin: 0;
    letter-spacing: -.02em;
    font-weight: 600;
    color: var(--uh2-ink);
}

.uh2-final__p {
    color: var(--uh2-muted);
    font-size: 14px;
    margin: 12px 0 26px;
}

.uh2-footline {
    border-top: 1px solid var(--uh2-line2);
    padding: 20px 0;
    font-size: 11.5px;
    color: var(--uh2-faint);
    display: flex;
    justify-content: center;
    gap: 22px;
    margin: 56px auto 0;
    max-width: 1080px;
    padding-left: 24px;
    padding-right: 24px;
}

.uh2-footline a:hover {
    color: var(--uh2-ink);
}

/* =============================================================================
 * 11. 窄屏（原型是桌面稿，这里只做「不破版」的最小补齐）
 * ========================================================================== */

@media (max-width: 980px) {
    .uh2-hero {
        padding: 80px 0 56px;
    }

    .uh2-h1 {
        font-size: 38px;
    }

    .uh2-sec {
        padding: 60px 0;
    }

    .uh2-about {
        padding: 64px 0 72px;
    }

    .uh2-about__h2 {
        font-size: 32px;
    }

    .uh2-journey {
        margin-top: 56px;
        gap: 34px;
    }

    .uh2-stats__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .uh2-st {
        padding: 22px 20px;
    }

    .uh2-st:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }

    .uh2-st:nth-child(1),
    .uh2-st:nth-child(2) {
        border-bottom: 1px solid var(--uh2-line2);
    }
}

@media (max-width: 680px) {
    .uh2-nav__inner {
        height: 58px;
        padding: 0 18px;
    }

    .uh2-wrap,
    .uh2-hero__inner {
        padding: 0 18px;
    }

    .uh2-hero {
        padding: 64px 0 48px;
    }

    .uh2-h1 {
        font-size: 30px;
        margin-top: 16px;
    }

    .uh2-sub {
        font-size: 14px;
    }

    .uh2-ask {
        padding: 16px 24px;
        font-size: 15px;
    }

    .uh2-qrow {
        padding: 12px 16px;
    }

    .uh2-ans {
        padding: 18px 16px 8px;
    }

    .uh2-verify {
        flex-direction: column;
        align-items: flex-start;
    }

    .uh2-st {
        padding: 18px 16px;
    }

    .uh2-st b {
        font-size: 24px;
    }

    .uh2-final {
        padding: 52px 0;
    }

    .uh2-final__h2 {
        font-size: 24px;
    }

    .uh2-about {
        padding: 52px 0 60px;
    }

    .uh2-about__head,
    .uh2-about__body {
        padding: 0 18px;
    }

    .uh2-about__h2 {
        font-size: 27px;
    }

    .uh2-journey {
        width: auto;
        margin: 40px 18px 0;
    }

    .uh2-yearband b {
        font-size: 42px;
    }

    .uh2-journey .ti {
        padding-bottom: 36px;
    }

    .uh2-journey .ti h4 {
        font-size: 17px;
    }

    .uh2-footline {
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 40px;
        padding-left: 18px;
        padding-right: 18px;
    }

    /* 1.12.3：创始人致词与其它区在 680 以下同样收窄到 18px 边距 */
    .uh2-founder__inner {
        padding: 0 18px;
    }

    /* 1.12.3：历程外层 band 在手机上跟「关于我们」一样收到底部 60px */
    .uh2-journey-band {
        padding-bottom: 60px;
    }
}

/* 1.12.1 三档断点的最后一档：<768 一列（原来挂在 680 上，手机横屏 700 左右会挤出两列窄条） */
@media (max-width: 768px) {
    .uh2-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
 * 12. 手机端历程 = 手风琴（1.12.2，≤900px）
 *     >900px 一个像素不动：80vw 双栏 + 悬停弹卡照旧。
 *     折叠只在脚本给 .uh2-journey 挂上 --accordion 之后才生效 —— JS 关掉时
 *     六条内容照常全部展开，不会变成「只剩标题」。
 * ========================================================================== */

@media (max-width: 900px) {
    /* ① 竖线 / 进度线去掉，9px 圆点留在左侧 */
    .uh2-track {
        padding-left: 26px;
    }

    .uh2-track::before,
    .uh2-track__fill {
        display: none;
    }

    .uh2-journey .ti {
        padding-bottom: 0;
        border-bottom: 1px solid var(--uh2-line2);
    }

    .uh2-journey .ti:last-child {
        border-bottom: 0;
    }

    .uh2-journey .ti__dot {
        left: -26px;
        top: 14px;
        width: 9px;
        height: 9px;
    }

    /* ② 文字块去掉桌面那圈内边距 / 圆角 / hover 线框，整条变成可点的一行 */
    .uh2-journey .ti__txt {
        padding: 15px 0;
        margin: 0;
        border-radius: 0;
    }

    .uh2-journey .ti:hover .ti__txt,
    .uh2-journey .ti:focus-within .ti__txt {
        box-shadow: none;
    }

    .uh2-journey--accordion .ti__head {
        display: flex;
        align-items: baseline;
        gap: 10px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .uh2-journey .ti__head h4 {
        font-size: 17px;
        margin: 0;
    }

    .uh2-journey .ti__chev {
        display: block;
        margin-left: auto;
        font-size: 14px;
        line-height: 1.4;
        color: var(--uh2-faint);
        transition: transform .3s ease;
    }

    .uh2-journey--accordion .ti.is-open .ti__chev {
        transform: rotate(180deg);
    }

    /* 键盘走到头部时补一圈细线（蓝牙键盘 / 读屏器会用得上） */
    .uh2-journey--accordion .ti__head:focus-visible {
        outline: 1px solid #0d0d0d;
        outline-offset: 3px;
        border-radius: 6px;
    }

    /* ③ 折叠区：max-height 过渡（脚本按实际高度写 inline 值），收起不硬切 */
    .uh2-journey--accordion .ti__body {
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
    }

    .uh2-journey--accordion .ti.is-open .ti__body {
        max-height: 2400px;
    }

    /* ④ 照片变静态卡片：跟着正文一起展开，无左箭头，阴影减弱 */
    .uh2-journey .ti__pop {
        position: static;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 520px;
        margin-top: 14px;
        opacity: 1;
        transform: none;
        filter: none;
        pointer-events: auto;
    }

    .uh2-journey .ti__pop::before,
    .uh2-journey .ti__card::before {
        display: none;
    }

    .uh2-journey .ti__card {
        box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    }
}

/* 尊重「减少动态效果」：只去掉位移与淡入，功能照旧 */
@media (prefers-reduced-motion: reduce) {
    .uh2-answer {
        animation: none;
    }

    .uh2-ask {
        transition: none;
    }

    .uh2-ask:hover {
        transform: none;
    }

    .uh2-journey .ti,
    .uh2-journey--ready .ti {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .uh2-journey .ti__pop,
    .uh2-journey .ti:hover .ti__pop,
    .uh2-journey .ti:focus-within .ti__pop {
        transition: none;
    }

    .uh2-journey .ti.active .ti__dot {
        animation: none;
    }

    .uh2-journey--accordion .ti__body,
    .uh2-journey .ti__chev {
        transition: none;
    }

    /* 平滑滚动也关掉（锚点跳转直接到位） */
    html {
        scroll-behavior: auto;
    }
}

/* =============================================================================
 * 13. 创始人致词：≤900px 单列（1.12.3；1.12.4 图上限 340 → 300px）
 *     图上文案下，与「关于我们」的 900px 断点对齐。
 * ========================================================================== */

@media (max-width: 900px) {
    .uh2-founder {
        padding: 64px 0 68px;
    }

    .uh2-founder__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .uh2-founder__media {
        max-width: 300px;
    }
}

/* =============================================================================
 * 3c. nav logo 在手机上再小一档（1.12.5 · ≤900px 20px → 17px）
 *     20px 的 logo 在 375 宽下把「登录门户」挤到换行，收一档后 nav 仍是一条线。
 *     选择器沿用 §3 的两段写法，特异性 (0,2,0) 仍压过 `body.uh2-body img` 的 height:auto。
 * ========================================================================== */

@media (max-width: 900px) {
    .uh2-nav .uh2-brand__img,
    body.uh2-body .uh2-nav .uh2-brand__img {
        height: 17px;
        max-height: 17px;
    }
}


/* ============================================================================
 * 1.16.2 · 首屏性能：创始人区块的渲染延后
 *
 * content-visibility:auto 让浏览器跳过这块的布局与绘制，直到它接近视口；
 * contain-intrinsic-size 给一个占位高度，避免滚动时页面跳动（640×700 是实测尺寸）。
 * 只作用于 .uh2-founder 这一个 section —— hero / 卡片区绝不加，否则首屏会闪。
 * ========================================================================== */
.uh2-founder {
    content-visibility: auto;
    contain-intrinsic-size: 640px 700px;
}
