/**
 * 银证官网 V2：钴蓝工业 + 非对称首屏 + 编辑型层级（与 runtong 克隆视觉脱钩）。
 * 覆盖部分 :root 令牌并新增 .yz-* 组件；内页沿用 .rt-* 类名但继承新色板与字体。
 *
 * 设计约束：对齐仓库 DESIGN.md（Committed 钴蓝）、impeccable 共享禁令（无粗侧条强调、无渐变字、弱化玻璃拟物）。
 */

:root {
  /* 与仓库 DESIGN.md 钴蓝策略对齐（Committed），中性向品牌色相微染 */
  --yz-brand: #1450c8;
  --yz-brand-mid: #1040a8;
  --yz-brand-deep: #0c3488;
  --yz-ink: #071326;
  --yz-ink-muted: #3d4d66;
  --yz-ink-soft: #5a6b82;
  --yz-paper: #f4f7fc;
  --yz-paper-2: #e9f0fa;
  --yz-surface: #fbfcff;
  --yz-line: rgba(7, 19, 38, 0.1);
  --yz-radius: 14px;
  --yz-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --yz-font-ui: 'DM Sans', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --yz-font-display: 'Noto Serif SC', 'Noto Sans SC', serif;
  --rt-brand: var(--yz-brand);
  --rt-brand-deep: var(--yz-brand-deep);
  --rt-ink: var(--yz-ink);
  --rt-ink-muted: var(--yz-ink-muted);
  --rt-ink-soft: var(--yz-ink-soft);
  --rt-paper: var(--yz-paper);
  --rt-paper-2: var(--yz-paper-2);
  --rt-surface: var(--yz-surface);
  --rt-line: var(--yz-line);
  --rt-font-sans: var(--yz-font-ui);
  --rt-font-display: var(--yz-font-display);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--yz-font-ui);
  background-color: var(--yz-paper);
  background-image: radial-gradient(980px 520px at 14% -10%, color-mix(in srgb, var(--yz-brand) 12%, transparent), transparent 58%),
    repeating-linear-gradient(180deg, transparent 0, transparent 5px, color-mix(in srgb, var(--yz-brand) 4.5%, transparent) 5px, color-mix(in srgb, var(--yz-brand) 4.5%, transparent) 6px),
    linear-gradient(188deg, var(--yz-paper) 0%, var(--yz-paper-2) 100%);
}

.site-header {
  background: linear-gradient(118deg, color-mix(in srgb, var(--yz-brand-deep) 92%, #000) 0%, var(--yz-brand-deep) 38%, var(--yz-brand-mid) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 32px rgba(4, 22, 58, 0.26);
}

/* —— 首页：分栏首屏 —— */
.main-stack {
  padding-bottom: clamp(32px, 6vw, 72px);
}

.yz-hero {
  margin-top: clamp(16px, 2.8vw, 26px);
  border-radius: var(--yz-radius);
  overflow: hidden;
  background: color-mix(in srgb, var(--yz-surface) 97%, var(--yz-brand) 3%);
  border: 1px solid var(--yz-line);
  box-shadow: 0 20px 52px rgba(6, 26, 68, 0.1);
}

.yz-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: clamp(320px, 58vh, 560px);
}

@media (min-width: 900px) {
  .yz-hero__grid {
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  }
}

.yz-hero__copy {
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--yz-brand-deep) 8%, transparent) 0%, rgba(251, 252, 255, 0.98) 58%);
  order: 2;
}

@media (min-width: 900px) {
  .yz-hero__copy {
    order: 1;
    justify-content: center;
    border-right: 1px solid var(--yz-line);
  }
}

.yz-kicker {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--yz-brand);
  text-transform: uppercase;
}

.yz-hero__title {
  margin: 0;
  font-family: var(--yz-font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.1vw, 2.45rem);
  line-height: 1.18;
  color: var(--yz-ink);
  max-width: 22ch;
}

.yz-hero__lead {
  margin: 0 0 clamp(12px, 2vw, 18px);
  font-size: clamp(0.96rem, 1.45vw, 1.12rem);
  color: var(--yz-ink-muted);
  max-width: min(48ch, 72vw);
  line-height: 1.68;
}

.yz-hero-stats {
  list-style: none;
  margin: 0 0 clamp(14px, 2.2vw, 20px);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.yz-hero-stats__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--yz-line);
  background: color-mix(in srgb, var(--yz-surface) 90%, var(--yz-brand) 10%);
  box-shadow: 0 4px 14px rgba(6, 26, 68, 0.04);
}

.yz-hero-stats__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--yz-brand);
}

.yz-hero-stats__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.yz-hero-stats__val {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--yz-ink);
  line-height: 1.25;
}

.yz-hero-stats__lbl {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--yz-ink-soft);
  text-transform: uppercase;
}

.yz-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.yz-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.22s var(--yz-ease-out), color 0.22s var(--yz-ease-out), border-color 0.22s var(--yz-ease-out), box-shadow 0.22s var(--yz-ease-out);
}

.yz-btn--primary {
  background: var(--yz-brand);
  color: #f5f8ff;
  box-shadow: 0 10px 26px rgba(11, 99, 216, 0.28);
}

.yz-btn--primary:hover {
  background: var(--yz-brand-mid);
  box-shadow: 0 14px 32px rgba(11, 99, 216, 0.34);
}

.yz-btn--ghost {
  background: transparent;
  color: var(--yz-brand-deep);
  border-color: rgba(11, 99, 216, 0.35);
}

.yz-btn--ghost:hover {
  border-color: var(--yz-brand);
  background: rgba(11, 99, 216, 0.06);
}

.yz-hero__media {
  margin: 0;
  position: relative;
  min-height: 240px;
  order: 1;
}

@media (min-width: 900px) {
  .yz-hero__media {
    order: 2;
    min-height: 100%;
  }
}

.yz-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.yz-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, color-mix(in srgb, var(--yz-ink) 14%, transparent) 0%, transparent 44%, color-mix(in srgb, var(--yz-brand-deep) 22%, transparent) 100%);
  pointer-events: none;
}

/* —— 首页：公司简介条带 —— */
.yz-band {
  margin-top: clamp(28px, 5vw, 44px);
}

.yz-split {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

@media (min-width: 860px) {
  .yz-split {
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
  }
}

.yz-eyebrow {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--yz-brand);
  background: rgba(11, 99, 216, 0.09);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.yz-split__intro h2 {
  margin: 0 0 10px;
  font-family: var(--yz-font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  color: var(--yz-ink);
}

.yz-muted {
  margin: 0 0 16px;
  color: var(--yz-ink-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  max-width: 52ch;
}

.yz-textlink {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--yz-brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 99, 216, 0.35);
  padding-bottom: 2px;
  cursor: pointer;
}

.yz-textlink:hover {
  color: var(--yz-brand-deep);
  border-bottom-color: var(--yz-brand-deep);
}

.yz-pillars {
  display: grid;
  gap: 14px;
}

@media (min-width: 520px) {
  .yz-pillars {
    grid-template-columns: 1fr 1fr;
  }
}

.yz-pillar {
  padding: 22px 22px 24px;
  border-radius: var(--yz-radius);
  background: color-mix(in srgb, var(--yz-surface) 94%, var(--yz-brand) 6%);
  border: 1px solid var(--yz-line);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--yz-brand) 8%, transparent);
}

.yz-pillar h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--yz-ink);
}

.yz-pillar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--yz-ink-muted);
  line-height: 1.65;
}

/* —— 首页产品区：与旧类共存 —— */
.surface-muted .card {
  background: var(--yz-surface);
  border: 1px solid var(--yz-line);
  border-radius: var(--yz-radius);
  box-shadow: 0 12px 40px rgba(6, 28, 72, 0.06);
}

.section-kicker {
  color: var(--yz-brand) !important;
  background: rgba(11, 99, 216, 0.09) !important;
}

.product-tile {
  border-radius: var(--yz-radius) !important;
  transition: border-color 0.22s var(--yz-ease-out), box-shadow 0.22s var(--yz-ease-out) !important;
}

.product-tile:hover {
  transform: none !important;
  border-color: rgba(11, 99, 216, 0.45) !important;
  box-shadow: 0 14px 36px rgba(6, 28, 72, 0.1) !important;
}

/* —— 面包屑 —— */
.yz-breadcrumb {
  font-size: 0.82rem;
  color: var(--yz-ink-soft);
  margin-bottom: 16px;
}

.yz-breadcrumb__label {
  color: var(--yz-ink-muted);
  margin-right: 6px;
}

.yz-breadcrumb a {
  color: var(--yz-brand);
  text-decoration: none;
  font-weight: 600;
}

.yz-breadcrumb a:hover {
  text-decoration: underline;
}

/* —— 内页英雄条 —— */
.rt-block-hero,
.rt-block-hero--slate,
.rt-block-hero--cert {
  border-radius: var(--yz-radius);
  background: linear-gradient(105deg, color-mix(in srgb, var(--yz-brand-deep) 92%, #000) 0%, var(--yz-brand-mid) 48%, var(--yz-brand) 100%) !important;
  box-shadow: 0 16px 40px rgba(4, 22, 58, 0.2);
}

/* —— 页脚 —— */
.site-footer {
  margin-top: clamp(40px, 8vw, 72px);
  padding: clamp(28px, 5vw, 44px) 0 clamp(36px, 6vw, 56px);
  background: linear-gradient(180deg, rgba(6, 54, 122, 0.06) 0%, rgba(226, 234, 247, 0.95) 100%);
  border-top: 1px solid var(--yz-line);
}

.yz-footer-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 720px) {
  .yz-footer-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.yz-footer-brand {
  font-family: var(--yz-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--yz-ink);
  margin: 0 0 8px;
}

.yz-footer-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--yz-ink-muted);
  line-height: 1.65;
  max-width: 48ch;
}

.yz-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.86rem;
}

.yz-footer-links a {
  color: var(--yz-brand);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.yz-footer-links a:hover {
  text-decoration: underline;
}

.site-footer__extra {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--yz-line);
  font-size: 0.82rem;
  color: var(--yz-ink-soft);
}

.floating-contact a.floating-contact__link {
  background: var(--yz-brand) !important;
  color: #f5f8ff !important;
  border-color: transparent !important;
}

.floating-contact button {
  color: var(--yz-brand-deep) !important;
}

/* —— 关于页内 hero：与首页幻灯解耦 —— */
.yz-about-hero {
  margin-top: 20px;
  border-radius: var(--yz-radius);
  overflow: hidden;
  border: 1px solid var(--yz-line);
  display: grid;
}

@media (min-width: 720px) {
  .yz-about-hero {
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 260px;
  }
}

.yz-about-hero img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.yz-about-hero__copy {
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--yz-surface);
}

.yz-about-hero__copy h1 {
  margin: 0 0 10px;
  font-family: var(--yz-font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  color: var(--yz-ink);
}

.yz-about-hero__copy p {
  margin: 0;
  color: var(--yz-ink-muted);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .yz-btn,
  .product-tile,
  .floating-contact a.floating-contact__link {
    transition: none !important;
  }

  .yz-hero__media img {
    animation: none !important;
  }
}

/* —— pb0942 参考：顶栏、区块标题线、分类条、四宫格、咨询条、关于双按钮、新闻双列、友链 —— */
.yz-topbar {
  font-size: 0.78rem;
  color: rgba(245, 248, 255, 0.94);
  background: color-mix(in srgb, var(--yz-brand-deep) 88%, #000);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yz-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 36px;
  padding: 6px 0;
}

.yz-topbar__hours {
  opacity: 0.88;
}

.yz-topbar__phone {
  font-weight: 600;
}

.yz-topbar__label {
  margin-right: 6px;
  font-weight: 500;
  opacity: 0.9;
}

.yz-topbar a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.yz-topbar a:hover {
  border-bottom-color: #fff;
}

.yz-home-section {
  margin-top: clamp(24px, 4vw, 40px);
}

.yz-home-section--paper {
  padding-top: clamp(20px, 3.5vw, 36px);
  padding-bottom: clamp(8px, 2vw, 20px);
  background-image: radial-gradient(1200px 400px at 12% 0%, color-mix(in srgb, var(--yz-brand) 7%, transparent), transparent 55%),
    radial-gradient(900px 320px at 88% 20%, color-mix(in srgb, var(--yz-brand-deep) 6%, transparent), transparent 50%);
}

.yz-pb-head {
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.yz-pb-head--left {
  text-align: left;
}

.yz-pb-head__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yz-brand-mid);
  margin-bottom: 8px;
}

.yz-pb-head__title {
  margin: 0 0 6px;
  font-family: var(--yz-font-display);
  font-size: clamp(1.28rem, 2.5vw, 1.62rem);
  font-weight: 700;
  color: var(--yz-ink);
}

.yz-pb-head__dash {
  display: block;
  margin: 4px auto 10px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--yz-brand);
  opacity: 0.75;
}

.yz-pb-head__dash--left {
  margin-left: 0;
  margin-right: auto;
}

.yz-pb-head__sub {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 0.95rem;
  color: var(--yz-ink-muted);
  line-height: 1.65;
}

.yz-pb-head__sub--left {
  margin-left: 0;
}

.filters.yz-cat-strip {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 18px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--yz-surface) 88%, var(--yz-brand) 12%);
  border: 1px solid color-mix(in srgb, var(--yz-brand) 14%, var(--yz-line));
}

.grid.yz-product-grid {
  gap: clamp(14px, 2vw, 18px);
}

.yz-feat-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .yz-feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .yz-feat-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: var(--yz-line);
    border-radius: var(--yz-radius);
    overflow: hidden;
    border: 1px solid var(--yz-line);
  }

  .yz-feat-card:nth-child(1) {
    grid-column: 1 / span 7;
  }

  .yz-feat-card:nth-child(2) {
    grid-column: 8 / span 5;
  }

  .yz-feat-card:nth-child(3) {
    grid-column: 1 / span 5;
  }

  .yz-feat-card:nth-child(4) {
    grid-column: 6 / span 7;
  }
}

.yz-feat-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--yz-radius);
  background: var(--yz-surface);
  border: 1px solid var(--yz-line);
  box-shadow: 0 6px 22px rgba(6, 26, 68, 0.04);
  overflow: hidden;
  transition: background 0.22s var(--yz-ease-out), box-shadow 0.22s var(--yz-ease-out);
}

@media (min-width: 1024px) {
  .yz-feat-card {
    border-radius: 0;
    border: none;
    box-shadow: none;
    min-height: 168px;
  }

  .yz-feat-card:hover {
    background: color-mix(in srgb, var(--yz-surface) 88%, var(--yz-brand) 12%);
  }
}

@media (max-width: 1023px) {
  .yz-feat-card:hover {
    box-shadow: 0 10px 28px rgba(6, 26, 68, 0.07);
    border-color: color-mix(in srgb, var(--yz-brand) 22%, var(--yz-line));
  }
}

.yz-feat-card__idx {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--yz-brand) 26%, var(--yz-ink-soft));
}

.yz-feat-card__title {
  margin: 0 0 10px;
  padding-right: 2.5rem;
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  color: var(--yz-ink);
}

.yz-feat-card__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--yz-ink-muted);
  line-height: 1.68;
  max-width: 62ch;
}

.yz-cta-strip {
  margin-top: clamp(28px, 5vw, 44px);
  padding: clamp(18px, 3vw, 26px) 0;
  background: linear-gradient(105deg, color-mix(in srgb, var(--yz-brand-deep) 92%, #000) 0%, var(--yz-brand-mid) 52%, var(--yz-brand) 100%);
  box-shadow: 0 14px 38px rgba(4, 22, 58, 0.22);
}

.yz-cta-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  text-align: center;
}

.yz-cta-strip__label {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(245, 248, 255, 0.92);
}

.yz-cta-strip__tel {
  font-family: var(--yz-font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.yz-cta-strip__tel:hover {
  text-decoration: underline;
}

.yz-cta-strip__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--yz-brand-deep);
  background: #f5f8ff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.yz-cta-strip__btn:hover {
  background: #fff;
}

.yz-about-home {
  padding: clamp(22px, 3.5vw, 32px);
}

.yz-about-home__excerpt {
  margin: 0 0 22px;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--yz-ink-muted);
  max-width: 68ch;
}

.yz-about-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.yz-news-home {
  display: grid;
  gap: 18px 24px;
}

@media (min-width: 768px) {
  .yz-news-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.yz-news-home__item {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--yz-surface);
  border: 1px solid var(--yz-line);
  box-shadow: 0 8px 26px rgba(6, 28, 72, 0.05);
  transition: border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.yz-news-home__item:hover {
  border-color: color-mix(in srgb, var(--yz-brand) 28%, var(--yz-line));
  box-shadow: 0 12px 32px rgba(6, 28, 72, 0.08);
}

.yz-news-home__title {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yz-ink);
  text-decoration: none;
}

.yz-news-home__title:hover {
  color: var(--yz-brand);
}

.yz-news-home__excerpt {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.yz-news-home__link {
  color: var(--yz-ink-muted);
  text-decoration: none;
}

.yz-news-home__link:hover {
  color: var(--yz-brand);
}

.yz-news-home__date {
  font-size: 0.78rem;
  color: var(--yz-ink-soft);
}

.yz-news-home__more {
  margin-top: 22px;
  text-align: center;
}

.yz-footer-friends {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--yz-line);
}

.yz-footer-friends__title {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--yz-ink-soft);
  letter-spacing: 0.06em;
}

.yz-footer-friends__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.84rem;
}

.yz-footer-friends__row:empty {
  display: none;
}

.yz-footer-friends__row a {
  color: var(--yz-brand);
  font-weight: 600;
  text-decoration: none;
}

.yz-footer-friends__row a:hover {
  text-decoration: underline;
}

/* —— 首页：首屏媒体轻呼吸（仅变换 transform，尊重减少动态效果） —— */
@media (prefers-reduced-motion: no-preference) {
  .yz-hero__media img {
    animation: yz-hero-media-breathe 22s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
  }
}

@keyframes yz-hero-media-breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.045);
  }
}

/* —— 首页：价值点图标（非 emoji，避免字体漂移） —— */
.yz-feat-card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yz-brand);
  background: color-mix(in srgb, var(--yz-brand) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--yz-brand) 20%, var(--yz-line));
}

/* —— 首页：产品卡图片缩放 + 箭头提示（仅 transform） —— */
.product-tile__visual {
  display: block;
  overflow: hidden;
  background: color-mix(in srgb, var(--yz-ink) 8%, #0b1220);
}

.product-tile__visual img {
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-tile > img {
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .product-tile:hover .product-tile__visual img,
  .product-tile:hover > img {
    transform: scale(1.05);
  }
}

.product-tile:has(.product-tile__go) .tile-body {
  position: relative;
  padding-bottom: 20px;
}

.product-tile__go {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--yz-brand) 55%, var(--yz-ink-soft));
  opacity: 0.45;
  transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1), transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), color 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-tile:hover .product-tile__go {
  opacity: 1;
  color: var(--yz-brand);
  transform: translateX(3px);
}

/* —— 首页：区块入场（IntersectionObserver 添加 .yz-reveal--visible） —— */
.yz-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1), transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.yz-reveal.yz-reveal--visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .yz-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— 产品详情：主图裁切 + 悬停微缩放（仅 transform） —— */
.rt-product-hero__cover {
  display: block;
  overflow: hidden;
  border-radius: var(--rt-radius-md, 12px);
}

.rt-product-hero__cover .rt-cover {
  display: block;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .rt-page-product .rt-product-hero:hover .rt-product-hero__cover .rt-cover,
  .rt-page-product .rt-product-hero:focus-within .rt-product-hero__cover .rt-cover {
    transform: scale(1.04);
  }
}

/* —— 纯文字产品卡（招聘等）：最小高度与行首图标 —— */
.product-tile--textonly .tile-body {
  position: relative;
  min-height: 148px;
  padding-bottom: 22px;
}

.product-tile__text-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 11px;
  color: var(--yz-brand);
  background: color-mix(in srgb, var(--yz-brand) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--yz-brand) 22%, var(--yz-line));
}

/* —— 应用案例：底栏「阅读更多」与箭头并排 —— */
.rt-app-tile__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.product-tile__go--inline {
  position: static;
  opacity: 0.5;
}

.rt-app-tile:hover .product-tile__go--inline {
  opacity: 1;
  color: var(--yz-brand);
  transform: translateX(3px);
}

/* —— 新闻列表卡片：悬停强调边框（无侧条装饰） —— */
a.rt-news-card {
  transition:
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  a.rt-news-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--yz-brand) 28%, var(--yz-line));
  }
}
