/* ============================================================
   必博品牌 · 共享站点样式  /assets/site.css
   设计语言：深海军蓝底 · 蓝图标尺 · 电光青路径 · 洋红档案标签
   ============================================================ */

/* ---------- 01. RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

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

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

[hidden] { display: none !important; }

/* ---------- 02. 设计令牌 ---------- */
:root {
  /* 色彩体系 */
  --ink: #0A1A2F;
  --ink-2: #061020;
  --ink-3: #0D2138;
  --paper: #F3EDE1;
  --paper-2: #EAE2D3;
  --paper-ink: #101820;
  --cyan: #1EE7D6;
  --cyan-dim: #0E9E94;
  --orange: #FF8A2B;
  --magenta: #E8468C;
  --mist: #8FA3BC;
  --line: #1E3555;
  --line-soft: #16273E;
  --body-dark: #E7EEF7;
  --index-blue: #40608C;

  /* 字体 */
  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC",
    "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC",
    "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Noto Sans Mono", ui-monospace,
    SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺度 */
  --nav-h: 68px;
  --maxw: 1240px;
  --gutter: clamp(16px, 3.2vw, 44px);
  --radius: 3px;
  --rail-inset: 12px;

  /* 阴影与动效 */
  --shadow-flat: 0 1px 0 0 rgba(30, 231, 214, 0.10);
  --shadow-lift: 0 20px 44px -24px rgba(0, 0, 0, 0.92),
                 0 0 0 1px rgba(30, 231, 214, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* 状态 */
  --focus-ring: 2px solid var(--cyan);
}

/* ---------- 03. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(30, 53, 85, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 53, 85, 0.35) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  background-position: -1px -1px, -1px -1px;
  color: var(--body-dark);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--body-dark);
  text-wrap: balance;
}

h1 { font-size: clamp(28px, 4.6vw, 56px); }
h2 { font-size: clamp(22px, 2.9vw, 34px); }
h3 { font-size: clamp(18px, 1.9vw, 23px); }
h4 { font-size: clamp(16px, 1.4vw, 19px); }

p { max-width: 72ch; }

a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

strong { font-weight: 700; }

code, kbd, samp, .mono {
  font-family: var(--font-mono);
  font-size: 0.86em;
  letter-spacing: 0.04em;
}

::selection {
  background: var(--cyan);
  color: var(--ink-2);
}

/* 锚点定位避开常驻页头 */
[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* ---------- 04. 焦点与可访问性 ---------- */
:where(a, button, [tabindex], input, select, textarea, summary):focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: var(--gutter);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--orange);
  color: #14100A;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
}

/* ---------- 05. 页头：框架式导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  color: var(--body-dark);
}

.site-header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
}

/* 页头底部的蓝图刻度带 */
.site-header__ruler {
  height: 7px;
  border-top: 1px solid var(--line-soft);
  background-image: repeating-linear-gradient(
    90deg,
    var(--line) 0 1px,
    transparent 1px 14px
  );
  opacity: 0.85;
  pointer-events: none;
}

/* 滚动进度线 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 3;
  pointer-events: none;
  transition: transform 0.06s linear;
}

/* 桌面端左右固定导轨 */
.nav-rail { display: none; }

@media (min-width: 1100px) {
  .nav-rail {
    display: block;
    position: fixed;
    top: var(--nav-h);
    bottom: 0;
    width: 1px;
    z-index: 1;
    pointer-events: none;
    background-image: repeating-linear-gradient(
      180deg,
      var(--line) 0 10px,
      transparent 10px 22px
    );
  }
  .nav-rail--left { left: var(--rail-inset); }
  .nav-rail--right { right: var(--rail-inset); }
}

/* ---------- 06. 品牌标识 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
  padding-block: 6px;
}

.brand__mark {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 64%, 64% 100%, 0 100%);
  transition: background-color 0.18s var(--ease);
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--ink-2);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.brand__mark::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 6px;
  height: 6px;
  background: var(--magenta);
}

.brand:hover .brand__mark { background: var(--orange); }

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

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #FFFFFF;
}

.brand__tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--mist);
  white-space: nowrap;
}

.brand--footer .brand__name { font-size: 16px; }

/* ---------- 07. 主导航 ---------- */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item { display: flex; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 12px 13px;
  border-left: 1px solid var(--line-soft);
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.site-nav__item:last-child .site-nav__link {
  border-right: 1px solid var(--line-soft);
}

.site-nav__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--index-blue);
  transition: color 0.18s var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: #FFFFFF;
  background: rgba(30, 231, 214, 0.07);
}

.site-nav__link:hover .site-nav__idx { color: var(--cyan-dim); }

.site-nav__link[aria-current="page"] {
  color: var(--cyan);
  background: linear-gradient(
    180deg,
    rgba(30, 231, 214, 0.12),
    rgba(30, 231, 214, 0)
  );
}

.site-nav__link[aria-current="page"] .site-nav__idx { color: var(--orange); }

.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
}

/* ---------- 08. 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--body-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.nav-toggle:hover {
  color: var(--cyan);
  border-color: var(--cyan-dim);
}

.nav-toggle__box {
  display: grid;
  gap: 5px;
  width: 16px;
}

.nav-toggle__bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(30, 231, 214, 0.08);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ---------- 09. 页头行动按钮组 ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* ---------- 10. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.btn__icon {
  font-size: 12px;
  line-height: 1;
  color: currentColor;
}

.btn--solid {
  background: var(--orange);
  border-color: var(--orange);
  color: #14100A;
  box-shadow: 0 10px 24px -16px rgba(255, 138, 43, 0.9);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: #FFA054;
  border-color: #FFA054;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -16px rgba(255, 138, 43, 0.95);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(30, 231, 214, 0.45);
  color: var(--cyan);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(30, 231, 214, 0.12);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--body-dark);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(30, 231, 214, 0.07);
}

/* ---------- 11. 版心与网格 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 880px; }

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}

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

@media (max-width: 900px) {
  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .grid--12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.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-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* ---------- 12. 面包屑 ---------- */
.breadcrumb {
  padding-block: 20px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

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

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

/* ---------- 13. 纸面区块 ---------- */
.on-paper {
  background: var(--paper);
  color: var(--paper-ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.on-paper h1,
.on-paper h2,
.on-paper h3,
.on-paper h4 { color: var(--paper-ink); }

.on-paper a { color: inherit; }

.on-paper .mono { color: #46566B; }

/* ---------- 14. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media > img,
.media > svg,
.media > picture,
.media > .media__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 231, 214, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 231, 214, 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  mix-blend-mode: screen;
}

.media__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
  background:
    radial-gradient(circle at 22% 18%, rgba(30, 231, 214, 0.16), transparent 58%),
    radial-gradient(circle at 80% 82%, rgba(255, 138, 43, 0.14), transparent 60%),
    var(--ink-2);
}

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

.media__caption {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 15. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(30, 231, 214, 0.04);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.12s var(--ease), border-color 0.12s var(--ease),
    background-color 0.12s var(--ease);
}

.tag:hover {
  color: var(--cyan);
  border-color: var(--cyan-dim);
}

.tag--active,
.tag[aria-pressed="true"] {
  background: rgba(232, 70, 140, 0.22);
  border-color: var(--magenta);
  color: #FFD1E3;
}

.on-paper .tag {
  border-color: #C9BFAE;
  color: #46566B;
  background: transparent;
}

/* ---------- 16. 面板与卡片 ---------- */
.panel {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.6vw, 30px);
  box-shadow: var(--shadow-flat);
}

.card {
  position: relative;
  display: block;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 2.2vw, 26px);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.card--lift:hover,
.card--lift:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(30, 231, 214, 0.4);
  box-shadow: var(--shadow-lift);
}

/* ---------- 17. 页脚：使用记录查询条 ---------- */
.site-footer {
  margin-top: clamp(56px, 8vw, 120px);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  color: var(--body-dark);
}

.lookup {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(24px, 3.6vw, 40px) var(--gutter) clamp(20px, 3vw, 30px);
  border-bottom: 1px dashed var(--line);
}

.lookup__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.lookup__intro { min-width: 0; flex: 1 1 320px; }

.lookup__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: clamp(17px, 1.9vw, 21px);
  letter-spacing: -0.01em;
}

.lookup__badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  background: var(--cyan);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 2px;
}

.lookup__hint {
  margin-top: 8px;
  font-size: 14px;
  color: var(--mist);
  max-width: 56ch;
}

.lookup__toggle { flex: 0 0 auto; }

.lookup__sign {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

[data-lookup-toggle][aria-expanded="true"] .lookup__sign {
  transform: rotate(45deg);
}

.lookup__panel {
  margin-top: 20px;
  border: 1px solid var(--line);
  background: var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  animation: lookupIn 0.22s var(--ease) both;
}

@keyframes lookupIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lookup__steps {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.lookup__step {
  display: grid;
  gap: 5px;
  align-content: start;
  padding: 16px 18px 18px;
  background: var(--ink);
}

.lookup__step-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.lookup__step-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.lookup__step-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 18. 页脚三栏 ---------- */
.site-footer__grid {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 52px) var(--gutter);
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
}

.footer-brand__note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
  max-width: 42ch;
}

.footer-brand__icp {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--index-blue);
}

.footer-col__title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.footer-links {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  font-size: 15px;
  color: var(--body-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-links a::before {
  content: "";
  width: 5px;
  height: 1px;
  background: var(--line);
  transition: background-color 0.16s var(--ease), width 0.16s var(--ease);
}

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

.footer-links a:hover::before {
  background: var(--cyan);
  width: 12px;
}

.footer-contact {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li { display: grid; gap: 2px; }

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--index-blue);
}

.footer-contact__value {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--body-dark);
  word-break: break-word;
}

/* ---------- 19. 页脚底条 ---------- */
.site-footer__base {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.site-footer__copyright { margin: 0; }
.site-footer__meta { margin: 0; color: var(--index-blue); }

/* ---------- 20. 响应式：平板 ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .site-header__inner { gap: 10px; }

  .brand { order: 1; flex: 1 1 auto; min-width: 0; }
  .header-actions { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex: none;
    justify-content: flex-start;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    padding: 10px var(--gutter) 24px;
    background: var(--ink-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.95);
  }

  .site-nav[data-open] {
    display: block;
    animation: navDrop 0.2s var(--ease) both;
  }

  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .site-nav__list {
    flex-direction: column;
    width: 100%;
    gap: 1px;
  }

  .site-nav__item { width: 100%; }

  .site-nav__link {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 14px;
    border-left: 2px solid transparent;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }

  .site-nav__item:last-child .site-nav__link {
    border-right: 0;
    border-bottom: 0;
  }

  .site-nav__link[aria-current="page"] {
    border-left-color: var(--cyan);
    background: rgba(30, 231, 214, 0.1);
  }

  .site-nav__link[aria-current="page"]::after {
    left: auto;
    right: 14px;
    bottom: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(50%);
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

/* ---------- 21. 响应式：手机 ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }

  .header-actions .btn--ghost { display: none; }
  .header-actions .btn--solid { padding: 0 12px; font-size: 13px; }

  .brand__tagline { display: none; }

  .site-footer__grid { grid-template-columns: 1fr; }

  .site-footer__base {
    flex-direction: column;
    align-items: flex-start;
  }

  .lookup__head { align-items: flex-start; }
  .lookup__toggle { width: 100%; }

  .nav-toggle__text { display: none; }
}

@media (max-width: 420px) {
  .btn__text { display: none; }
  .header-actions .btn--solid { padding: 0 12px; }
}

/* ---------- 22. 降低动效偏好 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  .scroll-progress { transition: none; }

  .card--lift:hover,
  .card--lift:focus-visible,
  .btn:hover,
  .btn:focus-visible {
    transform: none;
  }
}
