/* ============================================================
   飞亚体育 · 赛事指挥台 / 全站共享样式  /assets/site.css
   ============================================================ */

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

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

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

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

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

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

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

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #121417;
  --ink-800: #161a1f;
  --ink-700: #1c2126;
  --blue-700: #1b3a6b;
  --blue-900: #122a4e;
  --red-600: #d7263d;
  --red-500: #e5304a;
  --cyan-400: #2de2c5;
  --cyan-ink: #062521;
  --terra-500: #e8703a;
  --moss-600: #4c6b5a;
  --cream-100: #f4efe7;
  --fog-400: #a8b0b8;
  --white: #ffffff;

  --rail-w: 88px;
  --bar-h: 58px;
  --max-w: 1240px;

  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 26px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

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

/* ---------- 3. Base / 中文排版 ---------- */
body {
  min-height: 100vh;
  background: var(--ink-900);
  color: var(--cream-100);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 900px) {
  body { padding-left: var(--rail-w); }
}

@media (max-width: 899px) {
  body { padding-top: var(--bar-h); }
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(42px, 7.2vw, 104px); line-height: 0.98; }
h2 { font-size: clamp(26px, 3.8vw, 52px); line-height: 1.05; }
h3 { font-size: clamp(19px, 2.1vw, 27px); line-height: 1.28; letter-spacing: 0; }
h4 { font-size: 17px; line-height: 1.45; letter-spacing: 0.02em; }

strong, b { font-weight: 800; }

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

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

#main-content { scroll-margin-top: calc(var(--bar-h) + 16px); }
#main-content:focus { outline: none; }

@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;
  }
}

/* ---------- 4. 工具类 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 42px);
}

.mono,
.index-tag {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.index-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fog-400);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: none;
  background: currentColor;
}

/* ---------- 5. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--primary {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(215, 38, 61, 0.28);
}

.btn--primary:hover { background: var(--red-500); transform: translateY(-2px); }

.btn--ghost {
  border-color: rgba(244, 239, 231, 0.28);
  color: var(--cream-100);
}

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

.btn--cyan {
  background: var(--cyan-400);
  color: var(--cyan-ink);
}

.btn--cyan:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(45, 226, 197, 0.28); }

/* ---------- 6. 面包屑 ---------- */
.breadcrumb { padding-block: 18px 0; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fog-400);
}

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

.breadcrumb__list li:not(:first-child)::before {
  content: "/";
  color: rgba(168, 176, 184, 0.45);
}

.breadcrumb a { color: var(--fog-400); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--cyan-400); }
.breadcrumb [aria-current="page"] { color: var(--cream-100); }

/* ---------- 7. 图片容器（页面阶段放占位图） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: linear-gradient(140deg, #1c2126 0%, #0e1013 58%, #1b3a6b 145%);
  isolation: isolate;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}

.media-frame:hover img { transform: scale(1.03); }

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

.media-frame__label {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 9px 14px;
  border-top-right-radius: var(--radius-s);
  background: rgba(18, 20, 23, 0.84);
  color: var(--cream-100);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

/* ---------- 8. 状态灯点 ---------- */
.dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
}

.dot--live { animation: dot-pulse 2s ease-in-out infinite; }

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 226, 197, 0.5); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(45, 226, 197, 0); opacity: 0.72; }
}

@media (prefers-reduced-motion: reduce) {
  .dot--live { animation: none; }
}

/* ---------- 9. 滚动显现协议 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 10. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--cyan-400);
  color: var(--cyan-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* ---------- 11. 头部 ---------- */
.site-header { position: relative; z-index: 60; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  z-index: 70;
  height: 2px;
  background: rgba(168, 176, 184, 0.12);
  pointer-events: none;
}

.scroll-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red-600) 0%, var(--terra-500) 45%, var(--cyan-400) 100%);
}

@media (max-width: 899px) {
  .scroll-progress { left: 0; top: var(--bar-h); }
}

.header-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 60;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 0 18px;
  background: linear-gradient(180deg, #15181d 0%, #0c0e11 100%);
  border-right: 1px solid rgba(168, 176, 184, 0.14);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.header-rail::-webkit-scrollbar { width: 0; height: 0; }

/* 品牌 */
.brand {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.brand__glyph {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--red-600) 0%, #a3152a 100%);
  color: var(--white);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 10px 26px rgba(215, 38, 61, 0.34);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.brand__name {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.26em;
  color: var(--white);
}

.brand__descriptor {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--fog-400);
}

/* 移动端开关（桌面隐藏） */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border: 1px solid rgba(168, 176, 184, 0.28);
  border-radius: 999px;
  background: rgba(28, 33, 38, 0.72);
  color: var(--cream-100);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), opacity 0.18s var(--ease);
}

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

/* 导航 */
.rail-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  padding: 0 4px;
}

.rail-nav__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--fog-400);
}

.rail-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.rail-nav__item {
  display: flex;
  justify-content: center;
  width: 100%;
}

.rail-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 8px 4px;
  border-radius: 10px;
  color: var(--fog-400);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.rail-nav__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: rgba(168, 176, 184, 0.42);
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.rail-nav__num {
  display: none;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(168, 176, 184, 0.52);
}

.rail-nav__link:hover {
  color: var(--cream-100);
  background: rgba(244, 239, 231, 0.05);
}

.rail-nav__link:hover .rail-nav__dot { background: var(--fog-400); }

.rail-nav__link[aria-current="page"] {
  color: var(--white);
  background: rgba(45, 226, 197, 0.09);
}

.rail-nav__link[aria-current="page"] .rail-nav__dot {
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(45, 226, 197, 0.16);
}

/* 轨道底部行动区 */
.rail-actions {
  display: flex;
  flex: none;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0 6px 4px;
}

.rail-actions__primary {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 18px 9px;
  border-radius: 999px;
  background: var(--red-600);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(215, 38, 61, 0.34);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.rail-actions__primary:hover {
  background: var(--red-500);
  transform: translateY(-2px);
}

.rail-actions__ghost {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 16px 8px;
  border: 1px solid rgba(45, 226, 197, 0.45);
  border-radius: 999px;
  color: var(--cyan-400);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.rail-actions__ghost:hover {
  background: rgba(45, 226, 197, 0.12);
  border-color: var(--cyan-400);
}

/* ---------- 12. 头部：移动端 / 抽屉 ---------- */
@media (max-width: 899px) {
  .header-rail {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: var(--bar-h);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    background: rgba(16, 18, 22, 0.96);
    border-right: 0;
    border-bottom: 1px solid rgba(168, 176, 184, 0.14);
    overflow: visible;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .brand { flex-direction: row; align-items: center; gap: 10px; }
  .brand__glyph { width: 32px; height: 32px; border-radius: 10px; font-size: 16px; box-shadow: none; }
  .brand__text { flex-direction: row; align-items: baseline; gap: 8px; writing-mode: horizontal-tb; }
  .brand__name { font-size: 15px; letter-spacing: 0.06em; }
  .brand__descriptor { font-size: 10px; letter-spacing: 0.18em; }

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

  .rail-nav {
    position: fixed;
    top: var(--bar-h);
    left: 0;
    right: 0;
    z-index: 59;
    width: auto;
    max-height: calc(100vh - var(--bar-h));
    max-height: calc(100dvh - var(--bar-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 18px 16px 26px;
    background: #0c0e11;
    border-bottom: 1px solid rgba(168, 176, 184, 0.16);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.58);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s var(--ease);
  }

  .site-header[data-open] .rail-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .rail-nav__meta {
    writing-mode: horizontal-tb;
    margin-bottom: 14px;
    padding-left: 2px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .rail-nav__list { gap: 2px; align-items: stretch; }

  .rail-nav__item { justify-content: flex-start; }

  .rail-nav__link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .rail-nav__dot { order: 1; width: 8px; height: 8px; }
  .rail-nav__text { order: 2; }
  .rail-nav__num { display: inline; order: 3; margin-left: auto; font-size: 11px; }

  .rail-actions {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 0;
  }

  .rail-actions__primary,
  .rail-actions__ghost {
    writing-mode: horizontal-tb;
    flex: 1 1 auto;
    padding: 13px 16px;
    text-align: center;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.06em;
  }

  .rail-actions__primary { box-shadow: none; }

  body.is-nav-open { overflow: hidden; }
}

@media (min-width: 900px) and (max-height: 820px) {
  .header-rail { gap: 12px; padding: 14px 0; }
  .brand__descriptor { display: none; }
  .rail-nav { gap: 12px; }
  .rail-nav__meta { display: none; }
  .rail-actions__primary { padding: 14px 8px; }
  .rail-actions__ghost { padding: 12px 7px; }
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 10vw, 140px);
  padding: clamp(44px, 6vw, 84px) 0 0;
  background: linear-gradient(180deg, #0f1216 0%, #090b0d 100%);
  border-top: 1px solid rgba(168, 176, 184, 0.14);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--red-600) 0%,
    var(--red-600) 22%,
    var(--blue-700) 22%,
    var(--blue-700) 62%,
    var(--cyan-400) 62%,
    var(--cyan-400) 67%,
    rgba(70, 90, 120, 0.55) 67%,
    rgba(70, 90, 120, 0.55) 100%
  );
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -34%;
  width: min(620px, 72vw);
  height: min(620px, 72vw);
  background: radial-gradient(circle, rgba(27, 58, 107, 0.55) 0%, rgba(27, 58, 107, 0) 68%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 0.8fr 0.8fr 1.35fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

/* 品牌块 */
.footer-brand { display: flex; flex-direction: column; gap: 14px; }

.footer-brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--white);
}

.footer-brand__glyph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--red-600) 0%, #a3152a 100%);
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.footer-brand__note {
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--fog-400);
}

.footer-brand__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border: 1px solid rgba(45, 226, 197, 0.32);
  border-radius: 999px;
  background: rgba(45, 226, 197, 0.08);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cyan-400);
}

/* 链接列 */
.footer-col { display: flex; flex-direction: column; gap: 14px; }

.footer-col__title {
  position: relative;
  padding-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--cream-100);
}

.footer-col__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 18px;
  height: 2px;
  background: var(--blue-700);
}

.footer-col__list { display: flex; flex-direction: column; gap: 10px; }

.footer-col__list a {
  display: inline-block;
  font-size: 14px;
  color: var(--fog-400);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-col__list a:hover {
  color: var(--cyan-400);
  transform: translateX(3px);
}

/* 联系块 */
.footer-contact { display: flex; flex-direction: column; gap: 14px; }

.footer-contact__title {
  position: relative;
  padding-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--cream-100);
}

.footer-contact__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 18px;
  height: 2px;
  background: var(--red-600);
}

.footer-contact__list { display: flex; flex-direction: column; gap: 10px; }

.footer-contact__row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.footer-contact__key {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(168, 176, 184, 0.72);
}

.footer-contact__val {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--cream-100);
  word-break: break-word;
}

/* 底栏 */
.footer-legal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: clamp(36px, 5vw, 64px);
  padding-block: 22px 26px;
  border-top: 1px solid rgba(168, 176, 184, 0.14);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(168, 176, 184, 0.78);
}

.footer-legal__brand { color: rgba(168, 176, 184, 0.9); }
.footer-legal__region { color: rgba(168, 176, 184, 0.62); }

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-left: auto;
}

.footer-legal__links a { color: var(--fog-400); transition: color 0.2s var(--ease); }
.footer-legal__links a:hover { color: var(--cyan-400); }

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 599px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand,
  .footer-contact { grid-column: auto; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .footer-legal__links { margin-left: 0; }
}
