/* ==========================================================================
   智岸科技 · 官网样式（简洁版）
   PC 固定版：整站最小宽度 1200px，不做移动端适配

   设计原则（改样式前先读一遍，避免又做回「卡片墙」）：
     1. 用留白分隔内容，不用卡片、边框、阴影。区块之间靠间距说话。
     2. 字号差距拉大：标题很大、正文很小，靠对比建立层次，而不是靠装饰。
     3. 全站近乎单色，青绿只做点睛（编号、强调数字、小标签），不做大面积色块。
     4. 圆角为 0。卡片式的圆角盒子会把页面切割得很碎，正是这个版本要避免的。
     5. 分隔只用 1px 细线（--line），且只在需要建立秩序的地方用（列表、数据区）。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌 —— 改这一处即可全局换色
   -------------------------------------------------------------------------- */
:root {
  /* 主色：Logo 深蓝。白字压深蓝对比度约 13:1，达 WCAG AA */
  --brand: #0b2144;
  --brand-2: #1d4d7c;

  /* 点睛色：Logo 青绿，只用于编号、强调数字、小标签 */
  --accent: #17a2ab;

  /* 文字三档 */
  --ink: #0b1f38;
  --ink-2: #54697f;
  --ink-3: #93a4b4;

  /* 线与底 */
  --line: #e4eaef;
  --line-soft: #eff3f6;
  --bg: #ffffff;
  --bg-soft: #f8fafb;

  /* 版心：PC 固定版下同时作为整站最小宽度 */
  --container: 1200px;
  --gutter: 40px;
  --section-y: 150px;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. 基础重置
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;

  /* PC 固定版核心约束：整站最小宽度锁定为版心宽度。
     html 与 body 都设，是为了两层背景都能铺满 1200px，右侧不漏白条。 */
  min-width: var(--container);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* ⚠️ 这里不能写 overflow-x: hidden。
     按 CSS 规范，html 的 overflow 为 visible 时 body 的 overflow 会传播到视口，
     写成 hidden 会把 PC 固定版必需的横向滚动条吃掉，窄窗口下内容被裁且滚不到。 */
  min-width: var(--container);
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: rgba(23, 162, 171, 0.18);
}

/* 跳到主内容：键盘用户按 Tab 第一个出现 */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   3. 版式
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 600;
}

h1 {
  font-size: 76px;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h2 {
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* 小标签：全站统一的「类别 / 眉标」样式 */
.label {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* 弱化版标签：与主标签同排出现时用灰色，避免两处抢色 */
.label--muted {
  color: var(--ink-3);
}

/* 引导句：比正文大一点，用于承接标题 */
.lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* 点睛色文字：仅用于标题里的关键词，全站克制使用 */
.u-accent {
  color: var(--accent);
}

/* 区块标题组 */
.section-head {
  max-width: 720px;
  margin-bottom: 76px;
}

.section-head h2 {
  margin-top: 18px;
}

.section-head .lead {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   4. 布局
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--soft {
  background: var(--bg-soft);
}

/* --------------------------------------------------------------------------
   5. 页头
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 92px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.logo-mark {
  width: 30px;
  height: auto;
}

.logo-text {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-list a {
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.28s var(--ease);
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--ink);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
  width: 100%;
}

/* 页头右侧：只用文字链接，不放按钮，保持头部轻 */
.header-tel {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s var(--ease);
}

.header-tel:hover {
  border-bottom-color: var(--ink);
}

/* --------------------------------------------------------------------------
   6. 首屏
   -------------------------------------------------------------------------- */
.hero {
  padding-block: 130px 110px;
  text-align: center;
}

.hero h1 {
  margin-top: 26px;
}

.hero .lead {
  max-width: 640px;
  margin: 30px auto 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 46px;
}

/* 首屏底部的媒体行：极轻的一行字，用细线与正文隔开 */
.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-top: 88px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-3);
}

.hero-media .hero-media-label {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   7. 按钮与文字链接：两种，都极简，圆角为 0
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease),
    border-color 0.24s var(--ease);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-2);
}

.btn-block {
  width: 100%;
}

.btn--onDark {
  background: #fff;
  color: var(--brand);
}

.btn--onDark:hover {
  background: var(--accent);
  color: #fff;
}

/* 文字箭头链接：比按钮更轻，用于次要动作 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.link-arrow:hover {
  border-bottom-color: var(--ink);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   8. 数字条：四个数字，细线分隔，无底色无边框
   -------------------------------------------------------------------------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 54px 0;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-num .unit {
  font-size: 23px;
  font-weight: 500;
  color: var(--accent);
}

.stat-label {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   9. 服务：六项，两列，编号 + 标题 + 一句说明。没有卡片、没有图标
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
}

.service {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 20px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.service-index {
  /* 显式锚定到第 1 行，跨 3 行（标题 / 描述 / 交付项）。
     不能写成 .service p { grid-column: 2 } —— 那会连本元素一起命中，
     且 .service p 优先级(0,1,1)高于 .service-index(0,1,0)，编号会被塞进第 2 列。 */
  grid-row: 1 / span 3;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.service h3 {
  grid-column: 2;
}

.service-text {
  grid-column: 2;
  margin-top: 8px;
  font-size: 15.5px;
}

/* 交付项：纯文字小字，不用 chip 底色，保持页面干净 */
.service-tags {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   10. 优势（营销四力）+ 营销打法：都用 1px 细线分组，不用卡片
   -------------------------------------------------------------------------- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.reason {
  padding: 48px 44px;
  background: var(--bg);
}

.reason h3 {
  margin-top: 16px;
}

/* 用显式类，不能用 .reason p —— 那会连 <p class="label">01</p> 一起命中，
   把编号撑成 15.5px 的正文大小，label 样式就失效了 */
.reason-text {
  margin-top: 14px;
  font-size: 15.5px;
}

/* —— 营销打法：五组能力标签，两列，第 5 组通栏 —— */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
}

.method {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

/* 能力基础一词最长、标签最多，通栏排更从容，也避免右下角留空 */
.method--wide {
  grid-column: 1 / -1;
}

.method-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   11. 案例：按类别分组，每类两列，靠细线分隔。没有封面块、没有 Tab
   -------------------------------------------------------------------------- */
.case-group + .case-group {
  margin-top: 92px;
}

.case-group-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}

.case-group-head h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
}

.case {
  padding: 34px 0 36px;
  border-bottom: 1px solid var(--line);
}

.case-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
}

.case-meta strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.case h4 {
  margin-top: 12px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* 用显式类，不能用 .case > p —— 那会连 <p class="case-meta"> 一起命中，
   把品牌名行撑到 14.5px */
.case-text {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.72;
}

/* 指标：标签在前（保持 dt→dd 的阅读顺序），数值放大加粗 */
.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 18px;
}

.case-metrics div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.case-metrics dt {
  font-size: 12.5px;
  color: var(--ink-3);
}

.case-metrics dd {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   12. 联系：深色收尾。全站唯一的深色区块，用色彩对比做结束感
   -------------------------------------------------------------------------- */
.contact {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.72);
  padding-block: 130px;
}

.contact h2 {
  color: #fff;
  max-width: 620px;
}

.contact .lead {
  max-width: 560px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.66);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 96px;
  align-items: start;
}

.contact-list {
  margin-top: 54px;
  max-width: 430px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15.5px;
}

.contact-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-key {
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.contact-list a {
  color: #fff;
  transition: color 0.2s var(--ease);
}

.contact-list a:hover {
  color: var(--accent);
}

/* 表单：只有下划线，无输入框边框，保持干净 */
.form-title {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
}

.field {
  margin-top: 28px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.field label .req {
  color: var(--accent);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 0;
  font: inherit;
  font-size: 16px;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  transition: border-color 0.24s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.field textarea {
  min-height: 74px;
  resize: vertical;
}

/* 字段错误提示：JS 只负责写入/清空文字，空即不占位。
   用 :empty 而不是开关类，是为了让「有无错误」只有 JS 一个真相源，
   避免出现「类加了但文字没写」这类不同步的状态。 */
.field-error {
  margin-top: 7px;
  font-size: 13px;
  color: #ff9d7a;
}

.field-error:empty {
  display: none;
}

.field.has-error input,
.field.has-error textarea {
  border-bottom-color: #ff9d7a;
}

.contact-form .btn {
  margin-top: 38px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.checkbox input {
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--accent);
}

.form-status {
  min-height: 1.4em;
  margin-top: 18px;
  font-size: 14px;
}

/* 类名必须与 js/main.js 的 setStatus(text, 'is-success' | 'is-error') 完全一致 */
.form-status.is-success {
  color: #7ee0d0;
}

.form-status.is-error {
  color: #ff9d7a;
}

/* --------------------------------------------------------------------------
   13. 页脚：一行两段，极简
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: 52px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-left .logo-mark {
  width: 22px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-links a {
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--ink);
}

/* 底部法务行：一句话简介 + 版权与备案号，用细线与上面隔开 */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 40px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-meta a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   14. 回到顶部
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
    visibility 0.28s var(--ease), border-color 0.2s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--ink);
}

/* --------------------------------------------------------------------------
   15. 入场动效：只做极轻的淡入上移

   ⚠️ 整体挂在 .js 之下（<head> 里有一行内联脚本给 <html> 加这个类）。
   原因：隐藏态是 opacity: 0，若脚本没被执行（JS 文件 404、MIME 类型不对被
   浏览器拒绝等），整页内容会全部隐形，表现为「白屏」。挂在 .js 下之后，
   脚本没跑 → 没有 .js 类 → 内容保持默认可见，降级为无动画的静态页。
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   16. PC 固定版说明 + 无障碍与用户偏好

   PC 固定版：整站最小宽度锁定 1200px（见第 2 节），不做手机 / 平板适配，
   浏览窗口再窄也不压缩布局，而是出现横向滚动条。因此这里没有任何 max-width 断点。

   ⚠️ 下面三个媒体查询与「响应式」无关，是无障碍与输出介质要求，不要删：
        prefers-reduced-motion  尊重系统「减少动态效果」
        prefers-contrast        尊重系统「提高对比度」
        print                   打印时去掉装饰
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* 选择器需带上 .js，否则优先级低于第 15 节的隐藏态，改不动 */
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .to-top {
    transition: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink: #000000;
    --ink-2: #35485c;
    --ink-3: #4a6076;
    --line: #b3c1cd;
    --line-soft: #c8d3dc;
  }

  .nav-list a {
    color: var(--ink);
  }

  .contact {
    background: #061830;
    color: rgba(255, 255, 255, 0.85);
  }

  .contact-list li {
    border-color: rgba(255, 255, 255, 0.4);
  }

  .field input,
  .field textarea {
    border-bottom-color: rgba(255, 255, 255, 0.45);
  }
}

/* --------------------------------------------------------------------------
   17. 404 错误页
   -------------------------------------------------------------------------- */
.error-main {
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding-block: 100px;
}

.error-inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.error-inner .logo {
  margin-bottom: 64px;
}

.error-code {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.error-inner h1 {
  margin-top: 18px;
  font-size: 52px;
  line-height: 1.15;
}

/* 用显式类而不是 .error-inner > p ——
   后者会连 <p class="error-code">404</p> 一起命中，把点睛色冲掉 */
.error-desc {
  margin-top: 24px;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 44px;
}

.error-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}

.error-links a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   18. 文档页（隐私政策等纯文本页）
   全部用显式类，不写 .doc-inner p 这类后代选择器 ——
   页面里若有带类名的同类元素会被一起命中（本项目在这个坑上栽过 4 次）
   -------------------------------------------------------------------------- */
.doc-main {
  padding-block: 88px 120px;
}

.doc-inner {
  max-width: 720px;
}

.doc-inner .logo {
  margin-bottom: 72px;
}

.doc-meta {
  font-size: 14px;
  color: var(--ink-3);
}

.doc-title {
  margin-top: 14px;
  font-size: 44px;
  line-height: 1.2;
}

.doc-h2 {
  margin-top: 56px;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
}

.doc-text {
  margin-top: 18px;
  line-height: 1.9;
  color: var(--ink-2);
}

.doc-list {
  margin-top: 18px;
  padding-left: 22px;
}

.doc-item {
  margin-top: 12px;
  line-height: 1.9;
  color: var(--ink-2);
}

.doc-text a,
.doc-item a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-back {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   19. 打印：去掉装饰，只留正文
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .to-top,
  .contact-form,
  .hero-actions {
    display: none !important;
  }

  html,
  body {
    min-width: 0;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .hero,
  .contact {
    padding-block: 20px;
    background: none;
    color: #000;
  }

  .contact h2,
  .contact .lead,
  .contact-list a,
  .form-title {
    color: #000;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .case,
  .service,
  .reason {
    break-inside: avoid;
  }
}
