/* ==========================================================================
   杏悦地址服务 · /assets/site.css
   共享外壳：reset、变量、中文排版、页头、页脚、通用组件
   ========================================================================== */

/* 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, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }

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

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

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

a { color: inherit; }

/* 02 — 变量
   -------------------------------------------------------------------------- */
:root {
  --cream: #FBF4E7;
  --paper: #F1E5D0;
  --white: #FFFFFF;
  --orange: #E8792B;
  --orange-soft: #F7C98F;
  --green: #17332B;
  --pine: #2F5D4C;
  --ink: #241C16;
  --ink-soft: #54473B;
  --slate: #7C8CA0;
  --slate-pale: #E4E9F0;
  --slate-deep: #3D4C5F;
  --seal: #C2452D;

  --line: rgba(36, 28, 22, 0.14);
  --line-strong: rgba(36, 28, 22, 0.32);
  --line-light: rgba(251, 244, 231, 0.18);

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

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-pill: 999px;

  --shadow-paper: 5px 5px 0 -1px var(--paper), 5px 5px 0 0 var(--line-strong);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* 03 — 基础排版
   -------------------------------------------------------------------------- */
body {
  min-height: 100vh;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(36, 28, 22, 0.045) 1px, transparent 1px);
  background-size: 7px 7px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4 {
  color: var(--green);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.25; letter-spacing: -0.01em; }

p { line-height: 1.8; }

strong { font-weight: 900; color: var(--green); }

::selection { background: var(--orange-soft); color: var(--ink); }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 04 — 容器与区块
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section { padding-block: clamp(32px, 5vw, 64px); }

.stack > * + * { margin-top: var(--stack-gap, 1rem); }

.divider {
  height: 0;
  border: 0;
  margin: clamp(24px, 4vw, 40px) 0;
  border-top: 1px dashed var(--line-strong);
}

/* 05 — 网格
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid--home {
  grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
  align-items: start;
}

.grid--content {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  align-items: start;
}

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

@media (max-width: 960px) {
  .grid--home,
  .grid--content { grid-template-columns: minmax(0, 1fr); }
  .grid--thirds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .grid--thirds { grid-template-columns: minmax(0, 1fr); }
}

/* 06 — 卡片、框与标签
   -------------------------------------------------------------------------- */
.paper-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-paper);
}

.frame {
  position: relative;
  background: var(--white);
  border: 1px solid var(--pine);
  border-radius: var(--radius-s);
  padding: clamp(18px, 2.6vw, 30px);
}

.frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(47, 93, 76, 0.28);
  border-radius: 3px;
  pointer-events: none;
}

.frame__tag {
  position: absolute;
  top: -11px;
  left: 16px;
  background: var(--orange-soft);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border: 1px solid rgba(36, 28, 22, 0.2);
  border-radius: 3px;
}

.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-deep);
  background: var(--slate-pale);
  padding: 3px 8px;
  border-radius: 4px;
}

.label-tag--orange {
  background: var(--orange-soft);
  color: var(--ink);
}

.mono-batch {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.86em;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--slate-deep);
  background: var(--slate-pale);
  border-radius: 4px;
  padding: 1px 6px;
  white-space: nowrap;
  vertical-align: baseline;
}

.status-lamp {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--slate);
  box-shadow: 0 0 0 3px rgba(124, 140, 160, 0.22);
}

.status-lamp--live {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 121, 43, 0.24);
}

.status-lamp--seal {
  background: var(--seal);
  box-shadow: 0 0 0 3px rgba(194, 69, 45, 0.2);
}

.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 10px;
  border: 2px solid var(--seal);
  border-radius: 6px;
  color: var(--seal);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.marker {
  background-image: linear-gradient(180deg, transparent 58%, var(--orange-soft) 58%, var(--orange-soft) 92%, transparent 92%);
  padding: 0 0.1em;
}

/* 07 — 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--green);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(36, 28, 22, 0.18);
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: #F08A3F;
  box-shadow: 0 4px 0 rgba(36, 28, 22, 0.18);
}

.btn--ghost {
  border-color: var(--pine);
  color: var(--green);
  background: var(--white);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  background: var(--paper);
}

.btn--small {
  padding: 8px 14px;
  font-size: 13.5px;
}

/* 08 — 面包屑
   -------------------------------------------------------------------------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate-deep);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  display: inline-block;
  margin-right: 6px;
  color: var(--slate);
}

.breadcrumb__link {
  color: var(--slate-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.breadcrumb__link:hover {
  color: var(--green);
  border-bottom-color: var(--orange);
}

.breadcrumb__item--current {
  color: var(--green);
  font-weight: 500;
}

/* 09 — 正文排版
   -------------------------------------------------------------------------- */
.prose {
  max-width: 36em;
  color: var(--ink);
}

.prose > * + * { margin-top: 1.1em; }

.prose p { line-height: 1.85; }

.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.prose h3 { margin-top: 1.6em; }

.prose ul,
.prose ol { padding-left: 1.3em; }

.prose li + li { margin-top: 0.4em; }

.prose li::marker { color: var(--orange); }

.prose a {
  color: var(--pine);
  text-decoration: underline;
  text-decoration-color: var(--orange-soft);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--green); text-decoration-color: var(--orange); }

.prose blockquote {
  margin: 0;
  padding: 14px 18px;
  border-left: 3px solid var(--orange);
  background: var(--paper);
  border-radius: 0 8px 8px 0;
  color: var(--ink-soft);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--slate-deep);
  background: var(--slate-pale);
  padding: 2px 5px;
  border-radius: 3px;
}

/* 10 — 区块标题
   -------------------------------------------------------------------------- */
.section-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(20px, 3vw, 32px);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green);
}

.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 2px;
  background: var(--orange);
}

.section-head__title { font-size: clamp(1.4rem, 2.6vw, 2rem); }

.section-head__note {
  max-width: 30em;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 11 — 图片容器基础
   -------------------------------------------------------------------------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
}

.media-frame__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-frame--placeholder {
  background-image: repeating-linear-gradient(135deg, var(--paper) 0 10px, #EADBC2 10px 20px);
}

.media-frame__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
}

.media-frame__caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  background: rgba(251, 244, 231, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
}

/* 12 — 跳转链接
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--green);
  color: var(--cream);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: var(--orange-soft);
}

/* 13 — 页头：悬浮胶囊浮岛
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 16px var(--gutter) 0;
  transition: padding 0.2s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -16px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(251, 244, 231, 0.9) 58%, rgba(251, 244, 231, 0) 100%);
}

.site-header__progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 3px;
  background: rgba(36, 28, 22, 0.1);
  pointer-events: none;
}

.site-header__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-soft) 100%);
  transition: transform 0.12s linear;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px -14px rgba(36, 28, 22, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: padding 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-stuck { padding-top: 8px; }

.site-header.is-stuck .site-header__inner {
  padding-block: 5px;
  box-shadow: 0 10px 22px -14px rgba(36, 28, 22, 0.6);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  padding: 2px 6px 2px 2px;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green);
  color: var(--orange-soft);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand__name {
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__sub {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: var(--slate-deep);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand__sub .mono-batch { font-size: 10.5px; padding: 0 4px; }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.nav-toggle:hover { background: var(--paper); }

.nav-toggle__icon {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

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

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

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

.site-nav__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}

.site-nav__link:hover {
  background: var(--paper);
  color: var(--green);
  transform: translateY(-2px);
}

.site-nav__link[aria-current="page"] {
  background: var(--orange);
  color: var(--ink);
  font-weight: 900;
}

.site-nav__link[aria-current="page"]:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

/* 反馈按钮 */
.feedback-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.feedback-pill:hover {
  background: #1F4438;
  transform: translateY(-2px);
}

.feedback-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 121, 43, 0.28);
}

.feedback-pill:focus-visible { outline-color: var(--orange-soft); }

/* 14 — 页头响应式
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .site-header__inner {
    gap: 8px;
    padding: 7px 10px;
  }

  .brand__sub { display: none; }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    justify-content: flex-start;
    margin: 0;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    box-shadow: var(--shadow-paper), 0 20px 32px -24px rgba(36, 28, 22, 0.55);
    max-height: min(70vh, 420px);
    overflow-y: auto;
  }

  .site-nav[data-open] { display: block; }

  .site-nav__list {
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .site-nav__link {
    padding: 9px 14px;
    background: var(--paper);
    font-size: 14px;
  }

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

@media (max-width: 640px) {
  .site-header { padding-top: 10px; }

  .brand__mark { width: 30px; height: 30px; font-size: 16px; border-radius: 8px; }
  .brand__name { font-size: 13.5px; }
  .brand { gap: 8px; }

  .nav-toggle { padding: 7px 10px; }
  .nav-toggle__text { display: none; }

  .feedback-pill { padding: 7px 11px; font-size: 12.5px; }
  .feedback-pill__dot { width: 7px; height: 7px; }
}

/* 15 — 页脚：档案柜
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--green);
  color: var(--cream);
}

.site-footer__perf {
  height: 6px;
  background-image: repeating-linear-gradient(90deg, var(--orange) 0 16px, var(--orange-soft) 16px 32px);
}

.site-footer__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px) var(--gutter) clamp(20px, 3vw, 28px);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 1.25fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line-light);
}

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

.footer-col__title {
  margin-bottom: 12px;
  color: var(--orange-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col__title--sub { margin-top: 18px; }

.footer-col__text {
  max-width: 26em;
  color: rgba(251, 244, 231, 0.78);
  font-size: 14.5px;
  line-height: 1.75;
}

.footer-col__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: rgba(251, 244, 231, 0.6);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

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

.footer-brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--green);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.footer-brand__name {
  color: var(--cream);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

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

.footer-nav--legal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 12px;
}

.footer-nav__link {
  display: inline-block;
  padding: 3px 0;
  color: rgba(251, 244, 231, 0.8);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-nav__link:hover {
  color: var(--orange-soft);
  transform: translateX(3px);
}

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

.footer-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.footer-contact__label {
  background: rgba(251, 244, 231, 0.14);
  color: var(--orange-soft);
}

.footer-contact__value {
  color: rgba(251, 244, 231, 0.9);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.footer-notes {
  margin-top: 12px;
  color: rgba(251, 244, 231, 0.58);
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-status {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(251, 244, 231, 0.8);
  font-size: 13.5px;
}

.footer-status__row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-footer .mono-batch {
  background: rgba(251, 244, 231, 0.12);
  color: var(--orange-soft);
}

.site-footer a:focus-visible {
  outline-color: var(--orange-soft);
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  color: rgba(251, 244, 231, 0.58);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

.site-footer__version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 16 — 页脚响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .site-footer__base { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-nav--legal { grid-template-columns: minmax(0, 1fr); }
}

/* 17 — 动效与可访问性
   -------------------------------------------------------------------------- */
@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;
  }

  .site-header__progress-bar { transition: none; }

  .btn:hover,
  .site-nav__link:hover,
  .feedback-pill:hover,
  .footer-nav__link:hover { transform: none; }
}
