/* ==========================================================================
   MANBET 品牌站 · 共享基础样式 /assets/site.css
   系统：数字资料室 · 深海蓝档案盒 / 电子青索引 / 琥珀橙行动
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd,
ul, ol { margin: 0; }

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

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

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --deep:   #0A1E33;
  --navy:   #123A5A;
  --cyan:   #19C6D1;
  --mist:   #8FE6EC;
  --amber:  #F0A23A;
  --sand:   #F3E5D0;
  --gray:   #DDE7EE;
  --paper:  #F6F9FB;
  --ink:    #0F1B24;
  --violet: #6C5CE7;
  --white:  #FFFFFF;

  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell-w: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --gap: 24px;
  --radius: 6px;
  --line: 1px solid var(--gray);
  --line-dark: 1px solid rgba(143, 230, 236, 0.18);
  --shadow-soft: 0 14px 34px -22px rgba(10, 30, 51, 0.55);
  --dur: 220ms;
  --dur-slow: 320ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 64px;
}

/* ---------- 3. 中文排版基底 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--deep);
  line-height: 1.28;
  letter-spacing: 0.03em;
  font-weight: 700;
}

h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 400; letter-spacing: 0.05em; }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--deep); }

strong, b { font-weight: 700; }

small { font-size: 12px; }

hr { border: 0; border-top: 1px solid var(--gray); margin: 32px 0; }

::selection { background: rgba(25, 198, 209, 0.28); color: var(--deep); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.section {
  padding-block: clamp(40px, 5.5vw, 72px);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.hairline {
  height: 1px;
  border: 0;
  background: var(--gray);
  margin-block: clamp(24px, 3vw, 40px);
}

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 400;
  transform: translate(-50%, -140%);
  padding: 10px 20px;
  background: var(--cyan);
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: var(--deep);
}

/* ---------- 6. 页头：紧凑命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--deep);
  color: rgba(221, 231, 238, 0.82);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header[data-scrolled="true"] {
  box-shadow: 0 22px 44px -34px rgba(2, 10, 18, 0.95);
}

/* 6.1 修订状态带 */
.header-status {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: var(--line-dark);
}

.header-status__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(221, 231, 238, 0.72);
}

.status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.status-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(25, 198, 209, 0.18);
  animation: status-pulse 3.2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(25, 198, 209, 0.18); }
  50%      { box-shadow: 0 0 0 5px rgba(25, 198, 209, 0.06); }
}

.status-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(143, 230, 236, 0.62);
}

.status-meta__sep { color: rgba(143, 230, 236, 0.32); }

/* 6.2 主命令栏 */
.header-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  text-decoration: none;
  color: var(--white);
  padding-block: 8px;
}

.brand:hover { color: var(--white); }

.brand__mark {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(25, 198, 209, 0.85);
  border-radius: 2px;
  background: rgba(25, 198, 209, 0.06);
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-left: 1px solid rgba(143, 230, 236, 0.6);
  border-bottom: 1px solid rgba(143, 230, 236, 0.6);
}

.brand__mark::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  background: var(--amber);
}

.brand__text { display: block; min-width: 0; }

.brand__label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  color: var(--white);
  white-space: nowrap;
}

.brand__descriptor {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: rgba(221, 231, 238, 0.62);
  white-space: nowrap;
}

/* 6.3 导航 */
.primary-nav { min-width: 0; }

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

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(221, 231, 238, 0.78);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-link__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(143, 230, 236, 0.55);
  transition: color var(--dur) var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(25, 198, 209, 0.08);
}

.nav-link[aria-current="page"] .nav-link__index { color: var(--amber); }

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 1px;
  background: var(--cyan);
}

/* 6.4 操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

/* 6.5 移动端索引按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(143, 230, 236, 0.42);
  border-radius: 4px;
  background: transparent;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-toggle:hover { border-color: var(--mist); color: var(--white); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* 6.6 滚动进度线 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(143, 230, 236, 0.14);
  overflow: hidden;
  pointer-events: none;
}

.scroll-meter__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--mist) 70%, var(--amber));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ---------- 7. 页脚：档案柜底座 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: clamp(40px, 6vw, 72px);
  background: var(--deep);
  color: rgba(221, 231, 238, 0.76);
  font-size: 14px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(25, 198, 209, 0) 52%, var(--amber));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.85fr 1.3fr;
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.footer-identity { min-width: 0; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
}

.footer-brand:hover { color: var(--white); }

.footer-brand__label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--white);
}

.footer-tagline {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(221, 231, 238, 0.6);
}

.footer-note {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(143, 230, 236, 0.55);
}

.footer-col,
.footer-contact { min-width: 0; }

.footer-col__title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(143, 230, 236, 0.82);
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 10px;
}

.footer-list a {
  display: inline-block;
  color: rgba(221, 231, 238, 0.8);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--cyan);
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.contact-item__label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(25, 198, 209, 0.72);
}

.contact-item__value {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(221, 231, 238, 0.86);
  word-break: break-word;
}

.contact-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(143, 230, 236, 0.14);
  font-size: 12px;
  line-height: 1.75;
  color: rgba(221, 231, 238, 0.48);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px 28px;
  border-top: 1px solid rgba(143, 230, 236, 0.14);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(221, 231, 238, 0.5);
}

.footer-copy,
.footer-icp { margin: 0; }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #241503;
}

.btn--primary:hover {
  background: #FFB44F;
  border-color: #FFB44F;
  color: #241503;
}

.btn--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04222A;
}

.btn--cyan:hover {
  background: var(--mist);
  border-color: var(--mist);
  color: #04222A;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(143, 230, 236, 0.42);
  color: var(--mist);
}

.btn--ghost:hover {
  background: rgba(143, 230, 236, 0.1);
  border-color: var(--mist);
  color: var(--white);
}

.btn--quiet {
  background: transparent;
  border-color: var(--gray);
  color: var(--navy);
}

.btn--quiet:hover {
  background: var(--paper);
  border-color: var(--navy);
  color: var(--deep);
}

/* ---------- 9. 通用文字与索引 ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-transform: uppercase;
}

.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.8;
  color: #2C4457;
  max-width: 62ch;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: clamp(20px, 2.6vw, 32px);
  padding-top: 16px;
  border-top: 1px solid var(--gray);
}

.section-head__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #6A8398;
}

.section-head h2 { margin: 0; }

.brass { color: var(--amber); }
.cyan { color: #0B7C86; }

/* ---------- 10. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #5B7183;
}

.crumbs a {
  color: #3D5D75;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.crumbs a:hover {
  color: var(--navy);
  border-bottom-color: var(--cyan);
}

.crumbs__sep { color: #A7BAC8; }

/* ---------- 11. 卡片与标签 ---------- */
.card {
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 28px);
}

.card--dark {
  background: var(--deep);
  border-color: rgba(143, 230, 236, 0.22);
  color: rgba(221, 231, 238, 0.8);
}

.card--dark h2,
.card--dark h3,
.card--dark h4 { color: var(--white); }

.card--dark a { color: var(--mist); }

.card--raised { box-shadow: var(--shadow-soft); }

.card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--gray);
}

.card--dark .card__head { border-bottom-color: rgba(143, 230, 236, 0.18); }

.card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--gray);
  border-radius: 3px;
  background: var(--sand);
  color: #4A3823;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  white-space: nowrap;
}

.tag--cyan {
  background: rgba(25, 198, 209, 0.12);
  border-color: rgba(25, 198, 209, 0.45);
  color: #0B6E77;
}

.tag--amber {
  background: rgba(240, 162, 58, 0.14);
  border-color: rgba(240, 162, 58, 0.5);
  color: #8A5312;
}

/* ---------- 12. 提示块 ---------- */
.callout {
  border-left: 3px solid var(--amber);
  background: var(--sand);
  border-radius: 0 4px 4px 0;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: #3A2A18;
}

.callout--cyan {
  border-left-color: var(--cyan);
  background: rgba(25, 198, 209, 0.08);
  color: #103B44;
}

.callout p:last-child { margin-bottom: 0; }

/* ---------- 13. 对照表 ---------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 560px;
  font-size: 15px;
}

.data-table caption {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #6A8398;
  border-bottom: 1px solid var(--gray);
}

.data-table th {
  padding: 12px 14px;
  text-align: left;
  background: var(--sand);
  border: 1px solid var(--gray);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 14px;
  border: 1px solid var(--gray);
  vertical-align: top;
  color: #223444;
}

.data-table tbody tr { transition: background-color var(--dur) var(--ease); }
.data-table tbody tr:hover { background: rgba(25, 198, 209, 0.07); }

.data-table td .mono,
.data-table td.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--navy);
}

/* ---------- 14. 折叠问答 / 章节组 ---------- */
.accordion {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.accordion + .accordion { margin-top: 10px; }

.accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--deep);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary::marker { content: ""; }

.accordion__summary:hover { background: rgba(25, 198, 209, 0.06); }

.accordion__summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--cyan);
  transition: transform var(--dur) var(--ease);
}

.accordion[open] > .accordion__summary {
  background: rgba(25, 198, 209, 0.08);
  color: var(--navy);
}

.accordion[open] > .accordion__summary::after {
  content: "\2013";
}

.accordion__body {
  padding: 4px 18px 18px;
  font-size: 15px;
  line-height: 1.8;
  color: #2C4457;
  border-top: 1px solid var(--gray);
}

/* ---------- 15. 图片容器（页面阶段填 img） ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: var(--line);
  border-radius: var(--radius);
  background-color: #E7EFF5;
  background-image:
    linear-gradient(to right, rgba(18, 58, 90, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 58, 90, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--dark {
  border-color: rgba(143, 230, 236, 0.22);
  background-color: var(--deep);
  background-image:
    linear-gradient(to right, rgba(143, 230, 236, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(143, 230, 236, 0.12) 1px, transparent 1px);
}

.media-frame--21x9 { aspect-ratio: 21 / 9; }
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3  { aspect-ratio: 4 / 3; }
.media-frame--1x1  { aspect-ratio: 1 / 1; }

.media-frame__caption {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #6A8398;
}

/* ---------- 16. 进入视口显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-link { padding: 9px 8px; font-size: 13px; }
  .brand__descriptor { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 58px; }

  .nav-toggle { display: inline-flex; }

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 130;
    background: var(--deep);
    border-top: var(--line-dark);
    box-shadow: 0 28px 48px -34px rgba(0, 0, 0, 0.95);
    padding: 6px 0 16px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .site-header[data-open="true"] .primary-nav { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-inline: var(--gutter);
  }

  .nav-link {
    display: flex;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    padding: 15px 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(143, 230, 236, 0.1);
    font-size: 15px;
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    background: transparent;
    border-bottom-color: rgba(25, 198, 209, 0.5);
  }

  .grid-12 > [class*="col-"] { grid-column: 1 / -1; }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-contact { grid-column: 1 / -1; }
}

@media (min-width: 1025px) {
  .footer-col:first-of-type,
  .footer-contact { border-left: 1px solid rgba(143, 230, 236, 0.14); padding-left: clamp(18px, 2vw, 28px); }

  .footer-col:nth-of-type(2) { border-left: 1px solid rgba(143, 230, 236, 0.14); padding-left: clamp(18px, 2vw, 28px); }
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-identity { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .status-meta { display: none; }

  .header-actions .btn--ghost { display: none; }

  .header-actions .btn { padding: 8px 12px; font-size: 12px; }

  .footer-base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .brand__label { font-size: 14px; }
  .brand__mark { width: 22px; height: 22px; }
  .brand__mark::before { inset: 5px; }

  .header-actions .btn { padding: 7px 10px; letter-spacing: 0.02em; }

  .nav-toggle { padding: 7px 9px; }
  .nav-toggle__label { display: none; }

  .footer-grid { grid-template-columns: 1fr; }

  .contact-item { grid-template-columns: 46px minmax(0, 1fr); }
}

/* ---------- 18. 动效与可访问性降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

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

  .status-dot {
    animation: none;
    box-shadow: 0 0 0 3px rgba(25, 198, 209, 0.18);
  }
}
