/* ============================================================
   必威指南 · 共享站点样式 /assets/site.css
   深海蓝近单色体系 + 荧光青路径 + 暖橙本地提示
   ============================================================ */

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

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

body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote {
  margin: 0;
}

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

a { color: inherit; text-decoration: none; }

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

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

/* ---------- tokens ---------- */
:root {
  --sea-900: #071A2B;
  --sea-800: #0B253A;
  --sea-700: #12344F;
  --steel-500: #41627A;
  --mist-300: #A9C1D1;
  --ice-050: #EAF3F7;
  --cyan-400: #2EE6D6;
  --cyan-200: #9FF7EF;
  --orange-500: #FF8A3D;
  --gray-450: #6B7F8F;

  --line: rgba(65, 98, 122, 0.5);
  --line-soft: rgba(65, 98, 122, 0.3);

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;

  --shell: 1240px;
  --header-h: 78px;

  --font-head: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Courier New", "PingFang SC", monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- base ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--ice-050);
  background:
    radial-gradient(1100px 520px at 84% -10%, rgba(46, 230, 214, 0.10), transparent 62%),
    radial-gradient(820px 440px at 4% 6%, rgba(255, 138, 61, 0.07), transparent 58%),
    var(--sea-900);
  background-attachment: fixed;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(32px, 5.4vw, 64px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }

p { color: var(--mist-300); }

strong { color: var(--ice-050); font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(46, 230, 214, 0.18);
  border-radius: 6px;
}

/* ---------- utilities ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section {
  padding-block: clamp(38px, 6vw, 78px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.section-number {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 50px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--sea-700);
  -webkit-text-stroke: 1.4px var(--steel-500);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.divider {
  border: 0;
  height: 1px;
  background: var(--line);
  margin-block: clamp(18px, 3vw, 32px);
}

/* ---------- grid ---------- */
.grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

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

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

@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- panels & cards ---------- */
.panel {
  position: relative;
  background: var(--sea-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(18px, 3vw, 34px);
  box-shadow: 0 22px 46px -34px #000, inset 0 1px 0 rgba(169, 193, 209, 0.05);
}

.panel--raised {
  background: linear-gradient(158deg, var(--sea-700), var(--sea-800) 78%);
  border-color: rgba(46, 230, 214, 0.28);
  box-shadow: 0 22px 48px -32px #000, 0 0 0 1px rgba(46, 230, 214, 0.06);
}

.card {
  position: relative;
  background: rgba(11, 37, 58, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: clamp(16px, 2.4vw, 24px);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 230, 214, 0.55);
  box-shadow: 0 20px 38px -30px #000;
}

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn--primary {
  background: linear-gradient(118deg, var(--cyan-400), var(--cyan-200));
  color: var(--sea-900);
  box-shadow: 0 14px 28px -18px var(--cyan-400);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -18px var(--cyan-400);
}

.btn--ghost {
  border-color: rgba(169, 193, 209, 0.4);
  background: rgba(18, 52, 79, 0.55);
  color: var(--ice-050);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-400);
  color: var(--cyan-200);
}

.btn--local {
  background: rgba(255, 138, 61, 0.14);
  border-color: rgba(255, 138, 61, 0.55);
  color: var(--orange-500);
}

.btn--local:hover {
  transform: translateY(-2px);
  background: rgba(255, 138, 61, 0.22);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 37, 58, 0.85);
  font-size: 13px;
  color: var(--mist-300);
  line-height: 1.6;
}

.chip--active,
.chip[aria-current="true"] {
  border-color: var(--cyan-400);
  color: var(--cyan-200);
  background: rgba(46, 230, 214, 0.1);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 37, 58, 0.8);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--mist-300);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.filter-chip:hover {
  transform: translateY(-2px);
  color: var(--ice-050);
  border-color: var(--cyan-200);
}

.filter-chip[aria-pressed="true"] {
  color: var(--cyan-200);
  border-color: var(--cyan-400);
  background: rgba(46, 230, 214, 0.12);
}

.version-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--cyan-200);
  background: rgba(46, 230, 214, 0.1);
  border: 1px solid rgba(46, 230, 214, 0.4);
}

.date-stamp {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--gray-450);
}

.badge-local {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--orange-500);
  background: rgba(255, 138, 61, 0.12);
  border: 1px solid rgba(255, 138, 61, 0.45);
}

/* ---------- path / steps ---------- */
.path-line {
  position: relative;
  padding-left: 26px;
}

.path-line::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan-400), rgba(46, 230, 214, 0.08));
}

.step {
  position: relative;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.step:last-child { border-bottom: 0; }

.step::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sea-900);
  border: 2px solid var(--cyan-400);
}

/* ---------- breadcrumb & prose ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--gray-450);
  margin-bottom: clamp(16px, 2.5vw, 26px);
}

.breadcrumb li { display: flex; align-items: center; gap: 8px; }

.breadcrumb li + li::before {
  content: "/";
  color: var(--steel-500);
}

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

.prose { max-width: 72ch; }
.prose p { margin-block: 0 1.1em; font-size: 16.5px; line-height: 1.8; }
.prose h2, .prose h3 { margin-block: 1.6em 0.6em; }
.prose ul { margin-block: 0 1.2em; padding-left: 1.1em; list-style: none; }
.prose ul li { position: relative; padding-left: 16px; margin-block: 6px; color: var(--mist-300); }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--cyan-400);
}
.prose a {
  color: var(--cyan-200);
  border-bottom: 1px solid rgba(46, 230, 214, 0.45);
}
.prose a:hover { color: var(--ice-050); border-bottom-color: var(--cyan-400); }

/* ---------- horizontal scroll band ---------- */
.h-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--steel-500) transparent;
}

.h-scroll::-webkit-scrollbar { height: 6px; }
.h-scroll::-webkit-scrollbar-track { background: rgba(18, 52, 79, 0.6); border-radius: 6px; }
.h-scroll::-webkit-scrollbar-thumb { background: var(--steel-500); border-radius: 6px; }

.h-card {
  flex: 0 0 clamp(230px, 30vw, 320px);
  scroll-snap-align: start;
  background: var(--sea-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: clamp(16px, 2vw, 22px);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.h-card:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 230, 214, 0.55);
}

/* ---------- media frames (image placeholders) ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--sea-700), var(--sea-900));
  aspect-ratio: 16 / 10;
  width: 100%;
}

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

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--device { aspect-ratio: 10 / 16; max-width: 320px; }

.media-frame--abstract::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(46, 230, 214, 0.14) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(46, 230, 214, 0.09) 0 1px, transparent 1px 34px);
  opacity: 0.75;
  pointer-events: none;
}

.media-frame__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--mist-300);
  background: rgba(7, 26, 43, 0.8);
  border: 1px solid var(--line-soft);
  padding: 3px 8px;
  border-radius: 5px;
}

/* ============================================================
   HEADER
   ============================================================ */
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--cyan-400);
  color: var(--sea-900);
  font-weight: 700;
  font-size: 14px;
  transition: top 0.18s var(--ease);
}

.skip-link:focus {
  top: 0;
  outline-offset: -4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 26, 43, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(46, 230, 214, 0.55), transparent);
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  min-height: var(--header-h);
}

/* brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 6px 4px;
  border-radius: 12px;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(142deg, var(--cyan-400), var(--sea-700) 72%);
  box-shadow: inset 0 0 0 1px rgba(234, 243, 247, 0.2), 0 10px 20px -14px var(--cyan-400);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--sea-900);
  box-shadow: 0 5px 0 var(--sea-900), 0 10px 0 rgba(7, 26, 43, 0.6);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ice-050);
}

.brand-meta {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--gray-450);
}

/* nav */
.site-nav { margin-left: auto; }

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

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--mist-300);
  transition: color 0.16s var(--ease), background 0.16s var(--ease), transform 0.16s var(--ease);
}

.nav-link:hover {
  color: var(--ice-050);
  background: rgba(18, 52, 79, 0.9);
  transform: translateY(-2px);
}

.nav-link[aria-current="page"] {
  color: var(--cyan-200);
  background: rgba(46, 230, 214, 0.09);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan-400), rgba(46, 230, 214, 0.12));
}

/* actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.action-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid rgba(46, 230, 214, 0.45);
  color: var(--cyan-200);
  background: rgba(46, 230, 214, 0.1);
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.action-chip:hover {
  transform: translateY(-2px);
  background: rgba(46, 230, 214, 0.2);
  border-color: var(--cyan-400);
  color: var(--ice-050);
}

.action-chip--ghost {
  border-color: rgba(169, 193, 209, 0.28);
  background: rgba(11, 37, 58, 0.7);
  color: var(--mist-300);
}

.action-chip--ghost:hover {
  border-color: var(--cyan-200);
  color: var(--ice-050);
  background: rgba(18, 52, 79, 0.9);
}

/* toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(169, 193, 209, 0.3);
  background: rgba(18, 52, 79, 0.75);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--cyan-400);
  background: rgba(18, 52, 79, 1);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ice-050);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

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

/* scroll meter */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(65, 98, 122, 0.35);
  overflow: hidden;
}

.scroll-meter-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan-400), var(--cyan-200));
  transition: width 0.12s linear;
}

/* header responsive */
@media (max-width: 1180px) {
  .action-chip--ghost { display: none; }
  .nav-link { padding: 8px 9px; font-size: 13.5px; }
}

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

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    background: linear-gradient(180deg, var(--sea-800), var(--sea-900));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 44px -26px #000;
    padding: 10px clamp(16px, 4vw, 40px) 22px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 14px 10px;
    border-bottom: 1px dashed var(--line-soft);
    border-radius: 0;
    font-size: 15.5px;
  }

  .nav-link:hover { transform: none; background: rgba(18, 52, 79, 0.6); }

  .nav-link[aria-current="page"]::after {
    left: 10px;
    right: auto;
    width: 24px;
    bottom: 8px;
  }
}

@media (max-width: 560px) {
  .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .brand-name { font-size: 16px; }
  .brand-meta { font-size: 9.5px; letter-spacing: 0.12em; }
  .action-chip { padding: 7px 11px; font-size: 12px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(44px, 7vw, 96px);
  background: linear-gradient(180deg, var(--sea-800), var(--sea-900) 88%);
  border-top: 1px solid var(--line);
  color: var(--mist-300);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 61, 0.5), rgba(46, 230, 214, 0.5), transparent);
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 58px) clamp(16px, 4vw, 40px) 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.95fr 1fr;
  gap: clamp(22px, 3.4vw, 48px);
}

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

.footer-panel--brand {
  padding-right: clamp(0px, 2vw, 24px);
  border-right: 1px solid var(--line-soft);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-panel--brand {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding-right: 0;
    padding-bottom: 22px;
  }
}

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

.footer-brand {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ice-050);
}

.footer-note {
  margin-top: 10px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist-300);
}

.footer-local {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--orange-500);
}

.footer-local::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.18);
}

.footer-meta {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-450);
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
}

.footer-link {
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  color: var(--mist-300);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-link:hover {
  color: var(--ice-050);
  border-bottom-color: rgba(46, 230, 214, 0.55);
}

.footer-contact {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.footer-contact-label {
  min-width: 42px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gray-450);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px dashed rgba(65, 98, 122, 0.85);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ice-050);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.copy-btn:hover {
  border-color: var(--cyan-400);
  color: var(--cyan-200);
}

.copy-btn[data-copied="true"] {
  border-style: solid;
  border-color: var(--cyan-400);
  color: var(--cyan-400);
  background: rgba(46, 230, 214, 0.1);
}

.copy-status {
  min-height: 1.3em;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan-400);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: clamp(24px, 4vw, 42px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--gray-450);
}

.footer-legal {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  margin-left: auto;
}

.footer-copy { font-size: 12.5px; }

@media (max-width: 720px) {
  .footer-legal-links { margin-left: 0; }
  .footer-base { gap: 8px 16px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   motion preferences
   ============================================================ */
@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;
  }

  .card:hover,
  .h-card:hover,
  .btn:hover,
  .action-chip:hover,
  .nav-link:hover,
  .filter-chip:hover {
    transform: none;
  }
}
