/* 字体由 site-fonts.css 统一维护，此处只保留展示页布局。 */

/* 展示页公共阅读规范：首页/设备/体验/方案/文档/关于。
 * 使用现有 LOGO 色令牌；不复制各页面组件，不覆盖文档目录或交互逻辑。
 * 标题、首屏、留白和下一步入口共用，图片比例仍由 image-ratios 负责。
 */
.customer-site :is(.home-hero, .product-hero, .case-hero, .solution-hero, .about-hero, .docs-welcome) {
  background: linear-gradient(110deg, var(--brand-blue-soft), #fff 70%);
}
.customer-site :is(.hero-grid, .product-hero-grid, .case-hero-grid, .solution-hero-grid, .about-hero-grid) {
  min-height: 0;
  padding-block: 52px;
  gap: 36px;
}
.customer-site :is(.hero-copy h1, .product-hero h1, .case-hero h1, .solution-hero h1, .about-hero h1, .docs-welcome h1) {
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.35;
  letter-spacing: -.015em;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.customer-site :is(.hero-lead, .product-hero p:not(.product-kicker), .case-hero p:not(.case-kicker), .solution-hero p:not(.solution-kicker), .about-lead) {
  font-size: 16px;
  line-height: 1.9;
  max-width: 40em;
}
.customer-site :is(.eyebrow, .product-kicker, .case-kicker, .solution-kicker, .about-kicker) {
  letter-spacing: .02em;
  font-weight: 600;
  font-size: 12px;
}
/* 保留试玩和看图互动，收敛仅用于装饰的飘浮贴纸及大型色团。 */
.customer-site :is(.hero-sticker, .hero-ink, .collage-sticker, .art-dot, .flow-tag) {
  display: none;
}
.customer-site .about-hero::before {
  display: none;
}
.customer-site :is(.hero-machine-card, .docs-welcome__status, .collage-card) {
  transform: none;
}
.customer-site .hero-machine-card {
  box-shadow: 0 12px 30px rgba(23,40,74,.08);
}
.customer-site .hero-visual {
  min-height: 340px;
}
.customer-site .product-hero-art {
  min-height: 320px;
}
.customer-site :is(.home-section, .module-section, .path-finder, .about-help, .about-proof) {
  padding-block: 52px;
}
.customer-site :is(.section-heading-row h2, .product-section-head h2, .module-heading h2, .rd-heading h2, .case-intro h2, .solution-heading h2, .about-section-head h2) {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.45;
  letter-spacing: 0;
}
.customer-site .dev-code p {
  grid-template-columns: 32px minmax(0, 1fr);
}
.customer-site .dev-code code {
  white-space: normal;
  overflow-wrap: anywhere;
}
.customer-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.customer-hero-links a {
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  white-space: normal;
}
.customer-site .docs-welcome__inner {
  min-height: 0;
  padding-block: 36px;
}
.customer-site .docs-welcome__status {
  box-shadow: none;
  border-radius: 12px;
}
.customer-site a:focus-visible, .customer-site button:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 4px;
}
/* 共用的相关页面入口：强调下一步的目的，不重复产品营销卡片。 */
.customer-next {
  border-top: 1px solid var(--line);
  background: var(--surface-1);
}
.customer-next-inner {
  box-sizing: border-box;
  width: min(var(--container), calc(100% - 48px));
  margin: auto;
  padding: 30px 0;
}
.customer-next h2 {
  margin: 0 0 18px;
  color: var(--ink-700);
  font-size: 18px;
  font-weight: 600;
}
.customer-next-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.customer-next-links a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--brand-600);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.customer-next-links a:hover {
  border-color: var(--brand-500);
}
.customer-next-links strong, .customer-next-links small {
  display: block;
  overflow-wrap: anywhere;
}
.customer-next-links strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.customer-next-links small {
  margin-top: 5px;
  color: var(--ink-500);
  font-size: 13px;
  line-height: 1.6;
}
.customer-next-links i {
  font-style: normal;
}
@media (max-width: 900px) {
  .customer-site :is(.hero-grid, .product-hero-grid, .case-hero-grid, .solution-hero-grid, .about-hero-grid) {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 32px;
  }
  .customer-site :is(.hero-visual, .product-hero-art) {
    min-height: 260px;
  }
}
@media (max-width: 600px) {
  .customer-site :is(.home-wrap, .product-wrap, .case-wrap, .solution-wrap, .about-wrap), .customer-next-inner {
    width: calc(100% - 32px);
  }
  .customer-site :is(.home-section, .module-section, .path-finder, .about-help, .about-proof) {
    padding-block: 32px;
  }
  .customer-site :is(.hero-copy h1, .product-hero h1, .case-hero h1, .solution-hero h1, .about-hero h1, .docs-welcome h1) {
    font-size: 30px;
  }
  .customer-site :is(.hero-lead, .product-hero p:not(.product-kicker), .case-hero p:not(.case-kicker), .solution-hero p:not(.solution-kicker), .about-lead) {
    font-size: 15px;
  }
  .customer-site .hero-actions a {
    min-height: 44px;
    flex: 1 1 160px;
    text-align: center;
  }
  .customer-site .docs-welcome__status {
    display: none;
  }
  .customer-next-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

/* 方案首屏用一个清楚的连接示意替代漂浮节点；窄屏不会互相覆盖。 */
.customer-site .solution-flow-art {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 220px;
  margin: 0;
  transform: none;
}
.customer-site .flow-node {
  position: static;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: auto;
  min-height: 100px;
  box-sizing: border-box;
  padding: 16px 10px;
  border-radius: 12px;
  border-width: 1px;
  transform: none;
  box-shadow: none;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.customer-site .flow-line {
  position: static;
  flex: 0 0 18px;
  width: 18px;
  height: 2px;
  transform: none;
}
.customer-site :is(#finishedSamples, #deviceList, #moduleTitle, #sampleProofTitle, #customRd, #contactStart) {
  scroll-margin-top: 100px;
}
/* 旧 mobile-polish 为所有历史页面加了 !important。
 * 本区仅覆盖本次六页，避免小屏重新回到超大字号和过长空白。 */
@media (max-width: 700px) {
  .customer-site :is(.hero-grid, .product-hero-grid, .case-hero-grid, .solution-hero-grid, .about-hero-grid) {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .customer-site :is(.home-page, .product-page, .case-page, .solution-page, .about-page, .docs-welcome) h1 {
    font-size: 30px !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
  }
  .customer-site :is(.home-section, .scene-quick, .device-section, .case-intro, .case-gallery, .case-next, .path-finder, .user-scenarios, .integration-steps, .solution-gallery, .about-help, .about-proof, .about-strength, .about-business) {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .customer-site :is(.home-section, .product-section-head, .case-page, .solution-page, .about-page) h2 {
    font-size: 25px !important;
    line-height: 1.45 !important;
  }
  .customer-site .docs-welcome__inner {
    padding-block: 32px !important;
  }
  .customer-site .solution-flow-art {
    min-height: 140px;
    gap: 8px;
  }
  .customer-site .flow-line {
    flex-basis: 12px;
  }
  .customer-site .flow-node {
    padding: 12px 6px;
    font-size: 13px;
  }
}
