/*
 * QFLabs 官网视觉样式。
 * 设计基调：深墨黑、冷青与风暴黄，强调安全工程的精确、克制与可追踪性。
 */

/* DesignTokens：全站色彩、尺寸与动效变量。 */
:root {
  --ink-950: #050a09;
  --ink-900: #07100f;
  --ink-850: #0a1513;
  --ink-800: #0d1d1a;
  --ink-700: #18302c;
  --paper: #f3f5f1;
  --paper-dim: #c9d0ca;
  --muted: #87948e;
  --line: rgba(221, 235, 227, 0.13);
  --line-strong: rgba(221, 235, 227, 0.24);
  --cyan: #55e6cb;
  --cyan-dark: #1d9b87;
  --yellow: #d9f04c;
  --danger: #ff705d;
  --shell: min(1180px, calc(100vw - 48px));
  --header-height: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* BaseLayer：页面重置、字体与基础交互。 */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--paper);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }

::selection { background: var(--yellow); color: var(--ink-950); }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--ink-950);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 16px; }

/* HeaderComponent：吸顶导航与品牌标识。 */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, height 0.3s ease;
}

.site-header.is-scrolled {
  height: 66px;
  background: rgba(5, 10, 9, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transform: skewX(-10deg);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 2px 5px;
  border: 2px solid var(--cyan);
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%, 22% 50%);
}

.brand-mark::after {
  inset: 8px 11px;
  border-color: var(--yellow);
}

.brand-mark i {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--paper);
}

.brand-mark i:nth-child(1) { top: 1px; right: 1px; }
.brand-mark i:nth-child(2) { right: 3px; bottom: 3px; }
.brand-mark i:nth-child(3) { left: 2px; bottom: 8px; }

.brand-copy { display: grid; line-height: 1; }

.brand-copy strong {
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 19px;
  letter-spacing: 0;
}

.brand-copy strong span { color: var(--cyan); }

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
}

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

.primary-nav a {
  position: relative;
  color: var(--paper-dim);
  font-size: 14px;
  transition: color 0.2s ease;
}

.primary-nav a:not(.nav-action)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: var(--yellow);
  transition: right 0.25s var(--ease);
}

.primary-nav a:hover,
.primary-nav a.is-active { color: var(--paper); }
.primary-nav a:hover::after,
.primary-nav a.is-active::after { right: 0; }

.primary-nav .nav-action {
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  color: var(--paper);
}

.primary-nav .nav-action:hover { border-color: var(--yellow); color: var(--yellow); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span { width: 18px; height: 1px; background: var(--paper); transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* SharedComponents：章节标题、标签、按钮与入场动效。 */
.section { padding: 132px 0; }

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.eyebrow span { width: 22px; height: 1px; background: currentColor; }

.section h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 90px;
  margin-bottom: 68px;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--ink-950); }
.button-primary:hover { background: var(--paper); }
.button-light { background: var(--paper); color: var(--ink-950); }
.button-light:hover { background: var(--yellow); }

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

[data-reveal].is-visible { animation: reveal-in 0.75s var(--ease) both; }

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HeroComponent：沉浸式首屏品牌和安全状态面板。 */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(880px, 93svh);
  padding: calc(var(--header-height) + 82px) 0 92px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink-950) url("../images/t01f9f0ebb47f91b1b7.png") center 24% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(5, 10, 9, 0.98) 0%, rgba(5, 10, 9, 0.86) 42%, rgba(5, 10, 9, 0.38) 74%, rgba(5, 10, 9, 0.72) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 38%;
  background: linear-gradient(to top, var(--ink-950), transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image: linear-gradient(rgba(85, 230, 203, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 230, 203, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-scanline {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to bottom, transparent 49.8%, rgba(85, 230, 203, 0.09) 50%, transparent 50.2%);
  background-size: 100% 7px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 11vw;
}

.hero-copy { max-width: 720px; }

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 7.2vw, 100px);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 em {
  display: block;
  margin-top: 12px;
  color: transparent;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.82em;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(243, 245, 241, 0.44);
}

.hero-lead {
  margin: 30px 0 8px;
  color: var(--yellow);
  font-size: 21px;
  font-weight: 700;
}

.hero-description {
  max-width: 660px;
  margin: 0;
  color: var(--paper-dim);
  font-size: 16px;
}

.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 30px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper-dim);
  font-size: 14px;
}

.text-link:hover { color: var(--cyan); }

.hero-status {
  position: relative;
  align-self: stretch;
  min-height: 430px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(6, 18, 16, 0.45);
  backdrop-filter: blur(5px);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.hero-status::before,
.hero-status::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 2px;
  background: var(--yellow);
}

.hero-status::before { top: -1px; left: 0; }
.hero-status::after { bottom: -1px; right: 0; }

.status-head {
  padding-bottom: 14px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
}

.status-head b { color: var(--cyan); font-weight: 500; }
.status-head b i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 12px var(--cyan); }

.status-core { height: 300px; display: grid; place-items: center; align-content: center; }

.radar {
  position: relative;
  width: 184px;
  height: 184px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(85, 230, 203, 0.28);
  border-radius: 50%;
  background-image: linear-gradient(rgba(85, 230, 203, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 230, 203, 0.1) 1px, transparent 1px);
  background-size: 23px 23px;
  overflow: hidden;
}

.radar::before,
.radar::after { content: ""; position: absolute; background: rgba(85, 230, 203, 0.3); }
.radar::before { width: 100%; height: 1px; }
.radar::after { width: 1px; height: 100%; }
.radar > img {
  z-index: 2;
  width: 34px;
  height: 34px;
  padding: 3px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(85, 230, 203, 0.34));
}

.radar-ring { position: absolute; border: 1px solid rgba(85, 230, 203, 0.22); border-radius: 50%; }
.ring-one { inset: 22%; }
.ring-two { inset: 38%; }

.radar-sweep {
  position: absolute;
  inset: -2px 50% 50% -2px;
  transform-origin: 100% 100%;
  background: linear-gradient(45deg, transparent 45%, rgba(85, 230, 203, 0.32));
  animation: radar-spin 5s linear infinite;
}

.status-core p { margin: 13px 0 0; color: var(--muted); font: 10px/1.5 Consolas, monospace; text-align: center; }

.status-data { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.status-data div { padding: 12px 5px 0; border-right: 1px solid var(--line); text-align: center; }
.status-data div:last-child { border-right: 0; }
.status-data dt { color: var(--muted); font: 9px/1.4 Consolas, monospace; }
.status-data dd { margin: 2px 0 0; color: var(--paper); font: 10px/1.4 Consolas, monospace; }

.hero-footer {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 34px;
  color: var(--muted);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.hero-footer span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 8px 2px 0; background: var(--cyan-dark); }

@keyframes radar-spin { to { transform: rotate(360deg); } }

/* CapabilityComponent：四列能力矩阵。 */
.capabilities { padding-top: 104px; background: var(--ink-950); }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.capability-item {
  position: relative;
  min-height: 460px;
  padding: 28px 25px 32px;
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: background 0.3s ease;
}

.capability-item:first-child { border-left: 1px solid var(--line); }
.capability-item:hover { background: var(--ink-850); }
.capability-item::after { content: ""; position: absolute; inset: auto 100% 0 0; height: 2px; background: var(--yellow); transition: right 0.45s var(--ease); }
.capability-item:hover::after { right: 0; }

.item-index { color: var(--muted); font: 11px Consolas, monospace; }

.item-icon { height: 116px; display: flex; align-items: center; }

.item-icon > span { position: relative; display: block; width: 48px; height: 48px; color: var(--cyan); }
.item-icon > span::before,
.item-icon > span::after { content: ""; position: absolute; }

.icon-web { border: 1px solid currentColor; border-radius: 50%; }
.icon-web::before { inset: 10px 0; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.icon-web::after { inset: 0 15px; border-left: 1px solid currentColor; border-right: 1px solid currentColor; border-radius: 50%; }

.icon-code::before { inset: 6px 12px; border-left: 1px solid currentColor; border-right: 1px solid currentColor; transform: skewX(-19deg); }
.icon-code::after { inset: 14px 2px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }

.icon-cloud { border: 1px solid currentColor; border-top-color: transparent; margin-top: 14px; }
.icon-cloud::before { width: 24px; height: 24px; top: -14px; left: 10px; border: 1px solid currentColor; border-radius: 50%; background: var(--ink-950); }
.capability-item:hover .icon-cloud::before { background: var(--ink-850); }
.icon-cloud::after { width: 10px; height: 10px; right: 3px; top: 5px; background: currentColor; box-shadow: -18px 15px 0 -2px var(--yellow); }

.icon-shield { border: 1px solid currentColor; clip-path: polygon(50% 0, 100% 18%, 91% 72%, 50% 100%, 9% 72%, 0 18%); }
.icon-shield::before { width: 9px; height: 18px; left: 19px; top: 12px; border-right: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(45deg); }

.capability-item h3 { margin: 0 0 15px; font-size: 20px; font-weight: 650; }
.capability-item > p { margin: 0; color: var(--muted); font-size: 14px; }
.capability-item ul { margin: 26px 0 0; padding: 0; list-style: none; }
.capability-item li { padding: 6px 0; color: var(--paper-dim); font-size: 12px; font-family: Consolas, "Microsoft YaHei UI", sans-serif; }
.capability-item li::before { content: "+"; margin-right: 10px; color: var(--yellow); }

/* WorkflowComponent：左侧原则说明与右侧阶段列表。 */
.workflow { background: var(--paper); color: var(--ink-950); }

.workflow-layout { display: grid; grid-template-columns: minmax(280px, 0.75fr) minmax(460px, 1fr); gap: 12vw; }
.workflow .eyebrow { color: var(--cyan-dark); }
.workflow-intro { position: sticky; top: 120px; align-self: start; }
.workflow-intro > p:not(.eyebrow) { max-width: 480px; margin: 30px 0 0; color: #59635f; }

.workflow-note {
  margin-top: 54px;
  padding: 20px 0;
  border-top: 1px solid #bac3bd;
  border-bottom: 1px solid #bac3bd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.workflow-note span { color: #78837e; font: 10px Consolas, monospace; }
.workflow-note strong { font-size: 18px; }

.workflow-list { margin: 0; padding: 0; list-style: none; counter-reset: workflow; }

.workflow-list li {
  min-height: 150px;
  padding: 33px 0;
  display: grid;
  grid-template-columns: 70px 1fr;
  border-top: 1px solid #bac3bd;
}

.workflow-list li:last-child { border-bottom: 1px solid #bac3bd; }
.workflow-list > li > span { color: var(--cyan-dark); font: 12px Consolas, monospace; }
.workflow-list h3 { margin: 0 0 8px; font-size: 21px; }
.workflow-list p { margin: 0; color: #59635f; font-size: 14px; }

/* ScopeComponent：授权范围与禁止事项对照板。 */
.scope { background: var(--ink-900); }

.scope-board {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.015);
}

.scope-column { padding: 34px; }
.scope-label { padding-bottom: 23px; border-bottom: 1px solid var(--line); color: var(--paper-dim); font-size: 13px; }
.scope-label span { display: inline-block; width: 7px; height: 7px; margin: 0 10px 1px 0; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(85, 230, 203, 0.5); }
.scope-denied .scope-label span { background: var(--danger); box-shadow: none; }
.scope-column ul { margin: 0; padding: 18px 0 0; list-style: none; }
.scope-column li { min-height: 61px; display: grid; grid-template-columns: 60px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.scope-column li:last-child { border-bottom: 0; }
.scope-column li span { color: var(--muted); font: 10px Consolas, monospace; }
.scope-column li strong { font-size: 14px; font-weight: 500; }

.scope-divider { display: grid; place-items: center; border-inline: 1px solid var(--line); background: rgba(85, 230, 203, 0.025); }
.scope-divider span { writing-mode: vertical-rl; color: var(--muted); font: 9px Consolas, monospace; }

/* PrincipleComponent：旧素材背景上的白帽工作准则。 */
.principles { position: relative; overflow: hidden; background: #07100f; }

.principles-backdrop {
  position: absolute;
  inset: 0;
  background: url("../images/t01f301c97250cc076e.png") center / cover no-repeat;
  opacity: 0.1;
  filter: saturate(0.35) hue-rotate(95deg);
}

.principles::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-950) 0%, rgba(5, 10, 9, 0.72) 58%, var(--ink-950) 100%); }
.principles-inner { position: relative; }
.principles-copy { max-width: 650px; }
.principles-copy > p:last-child { margin: 28px 0 0; max-width: 580px; color: var(--muted); }

.principle-list { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.principle-list article { min-height: 210px; padding: 26px 24px; border-right: 1px solid var(--line); }
.principle-list article:first-child { border-left: 1px solid var(--line); }
.principle-list span { color: var(--yellow); font: 11px Consolas, monospace; }
.principle-list h3 { margin: 36px 0 8px; font-size: 19px; }
.principle-list p { margin: 0; color: var(--muted); font-size: 13px; }

/* ContactComponent：业务对接行动区域。 */
.contact { padding: 88px 0; background: var(--cyan); color: var(--ink-950); }
.contact .eyebrow { color: var(--ink-700); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 90px; }
.contact h2 { font-size: clamp(34px, 5vw, 58px); }
.contact p:not(.eyebrow) { max-width: 680px; margin: 22px 0 0; color: #24433d; }
.contact .button { min-width: 190px; }

/* FooterComponent：归属信息和快捷导航。 */
.site-footer { padding: 68px 0 24px; background: #030706; }
.footer-main { display: grid; grid-template-columns: 1fr 0.75fr; gap: 80px; padding-bottom: 60px; }
.footer-brand > p { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; }
.footer-links > div { display: grid; align-content: start; gap: 8px; }
.footer-links strong { margin-bottom: 8px; color: var(--paper); font-size: 12px; }
.footer-links a { color: var(--muted); font-size: 12px; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #68736e; font: 10px Consolas, "Microsoft YaHei UI", sans-serif; }
.footer-bottom p { margin: 0; }

/* ResponsiveLayer：平板与手机布局适配。 */
@media (max-width: 1024px) {
  :root { --shell: min(100% - 40px, 940px); }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 290px; gap: 6vw; }
  .hero-status { min-height: 390px; }
  .status-core { height: 265px; }
  .radar { width: 155px; height: 155px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-item { min-height: 410px; border-bottom: 1px solid var(--line); }
  .workflow-layout { gap: 7vw; }
}

@media (max-width: 780px) {
  :root { --header-height: 68px; --shell: calc(100% - 32px); }

  .menu-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    padding: 34px 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 10, 9, 0.98);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s;
  }

  .site-header.is-scrolled .primary-nav { inset-block-start: 66px; }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; }
  .primary-nav a { padding: 18px 12px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .primary-nav a::after { display: none; }
  .primary-nav .nav-action { margin-top: 24px; border: 1px solid var(--line-strong); text-align: center; }

  .hero { min-height: auto; padding-top: calc(var(--header-height) + 60px); padding-bottom: 110px; align-items: start; background-position: 58% top; }
  .hero::before { background: rgba(5, 10, 9, 0.79); }
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero h1 em { margin-top: 8px; }
  .hero-description { font-size: 14px; }
  .hero-status { width: min(100%, 360px); min-height: 350px; justify-self: end; }
  .status-core { height: 235px; }
  .radar { width: 145px; height: 145px; }
  .hero-footer { width: var(--shell); overflow: hidden; gap: 24px; white-space: nowrap; }
  .hero-footer span:nth-child(n+3) { display: none; }

  .section { padding: 92px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 48px; }
  .section h2 { font-size: clamp(34px, 10vw, 50px); }

  .workflow-layout { grid-template-columns: 1fr; gap: 60px; }
  .workflow-intro { position: static; }
  .scope-board { grid-template-columns: 1fr; }
  .scope-divider { min-height: 54px; border: 0; border-block: 1px solid var(--line); }
  .scope-divider span { writing-mode: horizontal-tb; }
  .principle-list { grid-template-columns: repeat(2, 1fr); }
  .principle-list article:nth-child(3) { border-left: 1px solid var(--line); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact .button { justify-self: start; }
  .footer-main { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 520px) {
  .hero { padding-bottom: 100px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .button { width: 100%; }
  .hero-status { width: 100%; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-item { min-height: auto; padding-bottom: 40px; border-left: 1px solid var(--line); }
  .item-icon { height: 100px; }
  .scope-column { padding: 26px 20px; }
  .scope-column li { grid-template-columns: 52px 1fr; }
  .principle-list { grid-template-columns: 1fr; }
  .principle-list article,
  .principle-list article:nth-child(3) { min-height: 180px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .contact .button { width: 100%; }
  .footer-links { gap: 24px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* AccessibilityLayer：减少动态效果偏好与低性能回退。 */
@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; }
  [data-reveal], [data-reveal].is-visible { opacity: 1; transform: none; animation: none; }
}

@supports not (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled,
  .hero-status { background: rgba(5, 10, 9, 0.96); }
}
