/* base.css — 字体加载 + reset 与元素默认样式（frontend-execute.md §3.3/§4） */
@font-face {
  font-family: "Jost";
  src: url("https://cdn-s3.t24.thinkart.net/xitec/public/fonts/jost-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("https://cdn-s3.t24.thinkart.net/xitec/public/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* 桌面档（≥1280）根字号随视口等比缩放：100vw/120 使 1920 宽时恰为 16px（设计基准）。
   125%/150% 显示缩放下视口为 1536/1280 CSS px，根字号相应 12.8/10.667px，
   全站 rem 几何与字号按同一比例还原 1920 版式，物理渲染与 1920@100% 逐像素一致。
   min() 锁 16px 上限：>1920 不再放大，保持满幅延展现状。<1280 平板/移动档不受影响。 */
@media (min-width: 1280px) {
  html {
    font-size: min(16px, calc(100vw / 120));
  }
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-normal);
  color: var(--color-text-1);
  background: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-title);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* 桌面稿的硬换行仅在大屏生效（§2 断点行为） */
.title-break {
  display: none;
}

@media (min-width: 1024px) {
  .title-break {
    display: inline;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- 品牌水印图全局隐藏（2026-11-13 临时下线；恢复时删除本段即可）----------
   覆盖全站 10 类水印 <img>：首页 4 类 / 产品 4 类 / 解决方案 2 类。
   ⚠ `.kv__marks` / `.pn-feat__marks` 是轮播指示点容器，不是水印图，不要误伤。 */
.kv__mark,
.about__mark,
.product-card__mark,
.solution__mark,
.plist-card__mark,
.pmod-card__mark,
.pmd-gallery__mark,
.pmd-omcard__mark,
.psol-card__mark,
.psold-mark {
  display: none !important;
}