/* ==========================================================================
   图纸风覆盖层（2026-10-28）
   目标：从"苹果式留白"转向"工程图纸"——网格底、竖排标尺、细线、方角按钮。
   只改形状与线条，不动内容结构。
   ========================================================================== */

:root {
  --bp-line: rgba(255, 255, 255, .10);
  --bp-line-2: rgba(255, 255, 255, .18);
  --bp-accent: #7DF9FF;
  --bp-ink: #F7F9FC;
  --bp-mute: #8C97A8;
}

/* 格子底：24px 细格 + 120px 主格 */
body.page-home main {
  background-color: #06080C;
  background-image:
    linear-gradient(var(--bp-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

/* 首屏：改左对齐 + 竖排标尺 */
.a-hero { text-align: left; padding: clamp(88px, 14vh, 168px) 0 clamp(64px, 9vh, 108px); }
.a-hero .a-wrap { position: relative; padding-left: 64px; }
.a-hero .a-wrap::before {
  content: "局部有解"; position: absolute; left: 6px; top: 4px;
  writing-mode: vertical-rl; letter-spacing: .42em; font-size: 11px;
  font-family: var(--font-mono); color: var(--bp-mute);
  border-left: 1px solid var(--bp-line-2); padding-left: 14px;
}
.a-eyebrow { font-family: var(--font-mono); letter-spacing: .26em; color: var(--bp-mute); }
.a-eyebrow::before { content: "[ "; color: var(--bp-accent); }
.a-eyebrow::after { content: " ]"; color: var(--bp-accent); }

.a-h1 {
  margin: 26px 0 0; max-width: 14em;
  font-size: clamp(46px, 6.2vw, 88px); line-height: 1.04; letter-spacing: -.035em;
  background: linear-gradient(180deg, #FFFFFF 34%, #B6C2D2 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.a-lead { margin: 26px 0 0; max-width: 600px; }

/* 方角／细线主按钮 */
.a-pill {
  border-radius: 2px; height: 46px; padding: 0 26px; font-size: 13.5px; letter-spacing: .04em;
  background: var(--bp-ink); color: #06080C; border: 1px solid var(--bp-ink);
  box-shadow: 5px 5px 0 rgba(255,255,255,.12);
}
.a-pill:hover { background: var(--bp-accent); border-color: var(--bp-accent); box-shadow: 5px 5px 0 rgba(125,249,255,.45); }
.a-link { color: var(--bp-accent); }
.a-scroll { font-family: var(--font-mono); letter-spacing: .34em; color: var(--bp-mute); }

/* 每个 section 加竖排标尺与细线 */
.a-sec, .a-cta { position: relative; }
.a-sec .a-wrap, .a-cta .a-wrap { position: relative; padding-left: 64px; }
.a-sec .a-wrap::before, .a-cta .a-wrap::before {
  content: attr(data-rail);
  position: absolute; left: 6px; top: 2px;
  writing-mode: vertical-rl; letter-spacing: .4em; font-size: 11px;
  font-family: var(--font-mono); color: var(--bp-mute);
  border-left: 1px solid var(--bp-line-2); padding-left: 14px;
}

/* 分节标题：标题上方加刻度线 */
.a-kicker { font-family: var(--font-mono); letter-spacing: .26em; color: var(--bp-accent); }
.a-kicker::before { content: "// "; color: var(--bp-mute); }
.a-sec-head { position: relative; border-top: 1px solid var(--bp-line-2); padding-top: 18px; }
.a-sec-head::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 160px; height: 5px;
  background-image: repeating-linear-gradient(90deg, var(--bp-line-2) 0 1px, transparent 1px 8px);
}
.a-h2 { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.03em; }

/* 列表：只剩细线 */
.a-item { border-top: 1px solid var(--bp-line); padding: 26px 0; }
.a-item h3 { font-size: 20px; font-weight: 700; }
.a-item h3::before { content: "— "; color: var(--bp-accent); }

/* 三段：方角、细线，去掉球体 */
.a-seg { border-top: 1px solid var(--bp-line); padding: 64px 0; }
.a-seg .art { display: none; }
.a-seg h3 { font-size: clamp(24px, 2.4vw, 32px); }
.a-seg li { border-top: 1px dashed var(--bp-line); }
.a-seg .k { font-family: var(--font-mono); color: var(--bp-accent); letter-spacing: .24em; }

/* 数字：等宽、方框、细线 */
.a-nums { border: 1px solid var(--bp-line); }
.a-num { border-left: 1px solid var(--bp-line); padding: 28px 26px; }
.a-num b { font-family: var(--font-mono); font-weight: 500; letter-spacing: -.02em; }
.a-num span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--bp-mute); }

/* 案例 */
.a-cases { border-top: 1px solid var(--bp-line); padding-top: 28px; }
.a-case { border: 1px solid var(--bp-line); padding: 22px; }
.a-case .t { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--bp-accent); }

/* 收尾：细线框 + 大留白 */
.a-cta { border-top: 1px solid var(--bp-line-2); }
.a-cta h2 { font-size: clamp(32px, 4.6vw, 60px); }

/* 页脚：细线网格 */
.site-footer { background: #04060A !important; border-top: 1px solid var(--bp-line-2); }

/* 细节：选中、焦点 */
body.page-home main ::selection { background: rgba(125,249,255,.28); }
@media (max-width: 760px) {
  .a-hero .a-wrap, .a-sec .a-wrap, .a-cta .a-wrap { padding-left: 0; }
  .a-hero .a-wrap::before, .a-sec .a-wrap::before, .a-cta .a-wrap::before { display: none; }
}


/* 首屏右上角规格注释与底部刻度 */
.a-hero .a-wrap::after {
  content: "企业 AI 工作系统 / 方案 v3 / 2026";
  position: absolute; right: 0; top: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .22em; color: var(--bp-mute);
}
.a-scroll::before {
  content: ""; display: block; width: 240px; height: 6px; margin: 0 auto 14px;
  background-image: repeating-linear-gradient(90deg, var(--bp-line-2) 0 1px, transparent 1px 12px);
}
@media (max-width: 760px) { .a-hero .a-wrap::after { display: none; } }

/* 代码风：diff 行 */
.a-item .diff { margin-top: 12px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; }
.a-item .diff > div { padding: 5px 10px; border-left: 2px solid transparent; }
.a-item .diff .del { color: #F0A0AC; background: rgba(251,113,133,.055); border-left-color: rgba(251,113,133,.55); }
.a-item .diff .add { color: #9FE7C4; background: rgba(52,211,153,.06); border-left-color: rgba(52,211,153,.55); margin-top: 6px; }
.a-item h3 { font-family: var(--font-mono); font-size: 15px; letter-spacing: .02em; }
.a-item h3::before { content: "## "; color: var(--bp-accent); }
