/* ==========================================================================
   奇亿测速 · 共享外壳 /assets/site.css
   深空蓝仪表盘 + 信号青交互层 + 细线边界
   ========================================================================== */

:root {
  --bg: #070B18;
  --panel: #0E1628;
  --panel-2: #17233A;
  --line: #2B3A55;
  --line-soft: rgba(43, 58, 85, 0.55);
  --cyan: #36E2D0;
  --blue: #4D8DFF;
  --amber: #FFC857;
  --magenta: #FF4D8D;
  --green: #5BE08B;
  --text: #E9F1FF;
  --muted: #9FB0C9;

  --sans: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", Consolas, ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1440px;
  --gutter: 6vw;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

html, body {
  min-height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: #6ff2e4;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

::selection {
  background: rgba(54, 226, 208, 0.28);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. 中文排版基线
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 5.2rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}

h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  letter-spacing: -0.015em;
}

h4 {
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

p {
  color: var(--text);
}

strong, b {
  font-weight: 700;
}

small {
  font-size: 12.5px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   3. 焦点与可达性
   -------------------------------------------------------------------------- */

:where(a, button, [tabindex], summary, input, select):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -72px;
  z-index: 300;
  display: inline-block;
  padding: 10px 18px;
  background: var(--cyan);
  color: #04121a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: top 0.18s var(--ease);
}

.skip-link:focus {
  top: 12px;
  color: #04121a;
}

/* --------------------------------------------------------------------------
   4. 通用工具类
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 64px;
}

.section--tight {
  padding-block: 36px;
}

.mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
  flex: 0 0 auto;
}

.vertical-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  user-select: none;
}

.rule {
  height: 1px;
  border: 0;
  background: var(--line);
  margin-block: 32px;
}

/* --------------------------------------------------------------------------
   5. 网格
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 24px;
}

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

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

/* --------------------------------------------------------------------------
   6. 状态灯与标签
   -------------------------------------------------------------------------- */

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  flex: 0 0 auto;
  vertical-align: middle;
}

.dot--ok    { background: var(--green);   box-shadow: 0 0 0 3px rgba(91, 224, 139, 0.14); }
.dot--info  { background: var(--cyan);    box-shadow: 0 0 0 3px rgba(54, 226, 208, 0.14); }
.dot--warn  { background: var(--amber);   box-shadow: 0 0 0 3px rgba(255, 200, 87, 0.14); }
.dot--alert { background: var(--magenta); box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.16); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 35, 58, 0.8);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.tag--cyan    { color: var(--cyan);    border-color: rgba(54, 226, 208, 0.42); background: rgba(54, 226, 208, 0.08); }
.tag--blue    { color: var(--blue);    border-color: rgba(77, 141, 255, 0.42); background: rgba(77, 141, 255, 0.08); }
.tag--amber   { color: var(--amber);   border-color: rgba(255, 200, 87, 0.42); background: rgba(255, 200, 87, 0.08); }
.tag--magenta { color: var(--magenta); border-color: rgba(255, 77, 141, 0.42); background: rgba(255, 77, 141, 0.08); }
.tag--green   { color: var(--green);   border-color: rgba(91, 224, 139, 0.42); background: rgba(91, 224, 139, 0.08); }

/* --------------------------------------------------------------------------
   7. 按钮
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.72em 1.15em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  border-color: rgba(54, 226, 208, 0.55);
  background: #1c2a45;
  color: var(--text);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04121a;
  box-shadow: 0 12px 28px -18px rgba(54, 226, 208, 0.9);
}

.btn--primary:hover {
  background: #62f2e2;
  border-color: #62f2e2;
  color: #04121a;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(54, 226, 208, 0.42);
  color: var(--cyan);
}

.btn--ghost:hover {
  background: rgba(54, 226, 208, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--sm {
  padding: 0.46em 0.82em;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   8. 面板与图像容器
   -------------------------------------------------------------------------- */

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.panel--raised {
  background: var(--panel-2);
  border-color: rgba(54, 226, 208, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 22px 44px -34px rgba(0, 0, 0, 0.95);
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(54, 226, 208, 0.12), transparent 58%),
    radial-gradient(90% 80% at 100% 100%, rgba(77, 141, 255, 0.14), transparent 62%),
    var(--panel);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(43, 58, 85, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 58, 85, 0.42) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.32;
  pointer-events: none;
}

.media-frame > * {
  position: relative;
  z-index: 1;
}

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

.media-frame__caption {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  background: rgba(7, 11, 24, 0.72);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.media-frame--wide   { aspect-ratio: 16 / 9; }
.media-frame--tall   { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* --------------------------------------------------------------------------
   9. 面包屑
   -------------------------------------------------------------------------- */

.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.breadcrumb__list li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb__list li + li::before {
  content: "/";
  margin-inline: 9px;
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   10. 显现（配合 data-reveal）
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

/* --------------------------------------------------------------------------
   11. 头部
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-utility {
  background: linear-gradient(90deg, #070b18 0%, #0c1526 46%, #070b18 100%);
  border-bottom: 1px solid var(--line-soft);
}

.utility-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 9px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
}

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

.brand__mark {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: end;
  gap: 3px;
  width: 22px;
  height: 18px;
  flex: 0 0 auto;
}

.brand__mark i {
  display: block;
  width: 4px;
  border-radius: 1px;
  background: var(--cyan);
  transition: height 0.24s var(--ease), background-color 0.24s var(--ease);
}

.brand__mark i:nth-child(1) { height: 55%; }
.brand__mark i:nth-child(2) { height: 100%; }
.brand__mark i:nth-child(3) { height: 38%; background: var(--blue); }

.brand:hover .brand__mark i:nth-child(1) { height: 100%; }
.brand:hover .brand__mark i:nth-child(3) { height: 72%; }

.brand__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__word {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand__sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.utility-strip {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 1px solid var(--line-soft);
  padding-left: 22px;
}

.utility-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--muted);
}

.utility-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.utility-meta__item--region {
  font-size: 11px;
  letter-spacing: 0.08em;
  padding-left: 18px;
  border-left: 1px solid var(--line-soft);
}

.utility-meta__item--alert a {
  color: var(--magenta);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.utility-meta__item--alert a:hover {
  color: #ff7dad;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 导航带 */

.nav-bar {
  background: var(--panel);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 56px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  align-self: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(54, 226, 208, 0.5);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 14px;
  height: 2px;
  background: var(--cyan);
  transition: background-color 0.18s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 14px;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.18s var(--ease);
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after  { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-5px) rotate(-45deg);
}

.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.primary-nav__list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2px;
  height: 100%;
}

.primary-nav__list > li {
  display: flex;
}

.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 13px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}

.primary-nav__link:hover {
  color: var(--text);
  background: rgba(23, 35, 58, 0.85);
  border-bottom-color: rgba(54, 226, 208, 0.5);
}

.primary-nav__link[aria-current="page"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.nav-pin {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 200, 87, 0.14);
  vertical-align: middle;
}

.nav-cta {
  align-self: center;
  flex: 0 0 auto;
}

/* 滚动进度 */

.progress-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(43, 58, 85, 0.5);
  overflow: hidden;
  pointer-events: none;
}

.progress-rail__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 10px rgba(54, 226, 208, 0.55);
  transition: width 0.12s linear;
}

/* --------------------------------------------------------------------------
   12. 页脚
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  margin-top: 72px;
  background: linear-gradient(180deg, #070b18 0%, #0a1223 38%, #070b18 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 34%, rgba(43, 58, 85, 0) 78%);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(0, 1.6fr) minmax(250px, 1fr);
  gap: 44px 48px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 56px var(--gutter) 44px;
}

.brand--footer {
  margin-bottom: 16px;
}

.brand--footer .brand__word {
  font-size: 17px;
}

.footer-brand__summary {
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-brand__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 35, 58, 0.7);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col__title::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--cyan);
  flex: 0 0 auto;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  display: inline-block;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-links a:hover {
  color: var(--cyan);
  transform: translateX(2px);
}

.footer-links a[aria-current="page"] {
  color: var(--cyan);
}

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

.contact-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.contact-row__label {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.contact-row__value {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
  word-break: break-word;
}

.footer-note {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-legal {
  border-top: 1px solid var(--line-soft);
  background: rgba(7, 11, 24, 0.6);
}

.footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 18px var(--gutter);
  font-size: 12.5px;
  color: var(--muted);
}

.footer-legal__copy {
  color: var(--muted);
}

.footer-legal__meta {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
}

.footer-legal__links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer-legal__links a:hover {
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   13. 响应式
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .utility-strip {
    display: none;
  }

  .footer-top {
    grid-template-columns: minmax(230px, 1fr) minmax(0, 1.4fr);
    gap: 40px;
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 32px;
    border-top: 1px solid var(--line-soft);
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 5vw;
  }

  .utility-inner {
    padding-block: 8px;
    gap: 14px;
  }

  .utility-meta {
    gap: 12px;
    margin-left: auto;
  }

  .utility-meta__item--hours,
  .utility-meta__item--region {
    display: none;
  }

  .nav-inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-block: 9px;
    min-height: 0;
  }

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

  .nav-cta {
    margin-left: auto;
  }

  .primary-nav {
    flex: 1 0 100%;
    display: none;
    border-top: 1px solid var(--line);
    margin-top: 2px;
  }

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

  .primary-nav__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    height: auto;
    padding-block: 6px 10px;
  }

  .primary-nav__list > li {
    display: block;
  }

  .primary-nav__link {
    display: flex;
    width: 100%;
    height: auto;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line-soft);
    border-left: 2px solid transparent;
    font-size: 14.5px;
  }

  .primary-nav__link:hover {
    background: rgba(23, 35, 58, 0.9);
    border-bottom-color: var(--line-soft);
    border-left-color: rgba(54, 226, 208, 0.5);
  }

  .primary-nav__link[aria-current="page"] {
    background: rgba(54, 226, 208, 0.07);
    border-bottom-color: var(--line-soft);
    border-left-color: var(--cyan);
  }

  .section {
    padding-block: 44px;
  }

  .grid {
    gap: 18px;
  }

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

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

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-block: 42px 36px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact {
    padding-top: 26px;
  }

  .footer-legal__inner {
    justify-content: flex-start;
  }

  .site-footer {
    margin-top: 52px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

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

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

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .footer-brand__summary {
    max-width: none;
  }

  .vertical-note {
    writing-mode: horizontal-tb;
    letter-spacing: 0.18em;
  }
}

/* --------------------------------------------------------------------------
   14. 减少动效
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  .btn:hover,
  .footer-links a:hover {
    transform: none;
  }
}
