/* =====================================================
   b体育官网 · /assets/site.css
   技术蓝图 · 体育数据终端
   ===================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  --primary-bg: #0B1014;
  --secondary-bg: #1A1B2F;
  --accent-green: #3DFF88;
  --accent-blue: #00E5FF;
  --highlight-yellow: #FFD166;
  --body-text: #E5E9F0;
  --muted-text: #8A94A6;
  --grid-line: #2A3B4C;
  --card-bg: #111A23;
  --warning-red: #FF6B6B;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, "Liberation Mono", monospace;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --container-max: 1280px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
  background: var(--primary-bg);
  color: var(--body-text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  width: 900px;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

ul,
ol {
  list-style-position: inside;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent-blue);
  color: var(--primary-bg);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--primary-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--grid-line);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* ---------- 3. Base Typography & Links ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(28px, 6vw, 48px); }
h2 { font-size: clamp(22px, 4vw, 32px); }
h3 { font-size: clamp(18px, 3vw, 24px); }
h4 { font-size: 18px; }

p {
  margin-bottom: 1em;
}

a {
  color: var(--accent-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-green);
}

strong {
  color: var(--highlight-yellow);
  font-weight: 600;
}

code,
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 4. Layout & Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.site-main {
  position: relative;
  z-index: 1;
  min-height: 70vh;
}

.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  color: var(--primary-bg);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
}
.btn-primary:hover {
  color: var(--primary-bg);
  box-shadow: 0 6px 28px rgba(61, 255, 136, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--grid-line);
  color: var(--body-text);
}
.btn-secondary:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* ---------- 6. Skip Link & Header ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 3000;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--accent-blue);
  color: var(--primary-bg);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.3);
  transform: translateY(-300%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-bg);
  border-bottom: 1px solid var(--grid-line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 20;
  pointer-events: none;
  background: transparent;
}
.header-progress {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.55);
}

.header-topline {
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.04), transparent);
  border-bottom: 1px solid rgba(42, 59, 76, 0.7);
}
.header-topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 8px 24px;
}

.header-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px 5px 14px 5px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  color: var(--primary-bg);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
  transition: transform 0.2s ease;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 18px 8px 18px 8px;
  pointer-events: none;
}
.brand-mark:hover {
  transform: translateY(-2px);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--body-text);
  text-decoration: none;
}
.brand-name:hover {
  color: var(--accent-green);
}
.brand-slogan {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted-text);
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-keyword {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--highlight-yellow);
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 1px dashed rgba(255, 209, 102, 0.4);
}
.header-coord {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted-text);
  white-space: nowrap;
  padding: 4px 12px;
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-pill);
  background: rgba(11, 16, 20, 0.5);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(61, 255, 136, 0.35);
  background: rgba(61, 255, 136, 0.07);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-green);
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: status-pulse 2.2s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 255, 136, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(61, 255, 136, 0); }
}

/* ---------- 7. Navbar ---------- */
.header-navbar {
  position: relative;
  background:
    linear-gradient(rgba(42, 59, 76, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 59, 76, 0.22) 1px, transparent 1px),
    var(--secondary-bg);
  background-size: 28px 28px, 28px 28px, auto;
  border-bottom: 1px solid var(--grid-line);
}
.header-navbar::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  opacity: 0.45;
  pointer-events: none;
}
.header-navbar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
}

.nav-marker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-pill);
  background: rgba(11, 16, 20, 0.55);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted-text);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--muted-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.nav-link::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-blue);
  opacity: 0.85;
}
.nav-link:hover {
  color: var(--body-text);
  border-color: var(--grid-line);
  background: rgba(0, 229, 255, 0.06);
}
.nav-link[aria-current="page"] {
  color: var(--accent-green);
  border-color: rgba(61, 255, 136, 0.45);
  background: rgba(61, 255, 136, 0.08);
  box-shadow: inset 0 0 14px rgba(61, 255, 136, 0.05);
}
.nav-link[aria-current="page"]::before {
  color: var(--accent-green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  transition: border-color 0.2s ease;
}
.nav-toggle:hover {
  border-color: var(--accent-blue);
}
.nav-toggle-line {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-blue);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 8. Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 80px;
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 229, 255, 0.07), transparent 36%),
    linear-gradient(rgba(42, 59, 76, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 59, 76, 0.18) 1px, transparent 1px),
    var(--secondary-bg);
  background-size: auto, 32px 32px, 32px 32px, auto;
  border-top: 1px solid var(--grid-line);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-green) 30%, var(--accent-blue) 70%, transparent);
  opacity: 0.75;
  pointer-events: none;
}

.footer-frame {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px 24px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
}
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark--small {
  width: 30px;
  height: 30px;
  font-size: 14px;
  border-radius: 10px 4px 10px 4px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
.brand-mark--small::after {
  inset: -3px;
  border-radius: 13px 6px 13px 6px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--body-text);
  transition: color 0.2s ease;
}
.footer-brand-link:hover .footer-brand-name {
  color: var(--accent-green);
}

.footer-slogan {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent-blue);
}
.footer-trust {
  max-width: 280px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-text);
}
.footer-note {
  max-width: 280px;
  font-size: 12px;
  color: rgba(138, 148, 166, 0.7);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.footer-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
}
.footer-col-title::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-green);
}

.footer-link {
  padding: 3px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-text);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-link:hover {
  color: var(--accent-green);
  transform: translateX(4px);
}

.footer-meta {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body-text);
}
.footer-meta-note {
  font-size: 12px;
  color: var(--muted-text);
}

.footer-data-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding: 16px 0;
  border-top: 1px solid var(--grid-line);
  border-bottom: 1px solid var(--grid-line);
}
.footer-coordinate {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-text);
  white-space: nowrap;
}

.footer-bottom {
  background: var(--primary-bg);
  border-top: 1px solid var(--grid-line);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 24px;
}
.footer-copy,
.footer-icp {
  font-size: 13px;
  color: var(--muted-text);
}

/* ---------- 9. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--grid-line);
  font-size: 13px;
  color: var(--muted-text);
}
.breadcrumb a {
  color: var(--accent-blue);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--accent-green);
  text-decoration: underline;
}
.breadcrumb-sep {
  color: var(--grid-line);
}
.breadcrumb [aria-current="page"] {
  color: var(--highlight-yellow);
}

/* ---------- 10. Core Components ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.08);
  transform: translateY(-3px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue);
}
.section-kicker::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 72px;
  background: linear-gradient(90deg, var(--grid-line), transparent);
}
.section-title {
  margin-bottom: 16px;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--body-text);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-pill);
  background: var(--card-bg);
  font-size: 12px;
  color: var(--muted-text);
  white-space: nowrap;
}
.pill--green {
  color: var(--accent-green);
  border-color: rgba(61, 255, 136, 0.3);
  background: rgba(61, 255, 136, 0.06);
}
.pill--blue {
  color: var(--accent-blue);
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.06);
}
.pill--yellow {
  color: var(--highlight-yellow);
  border-color: rgba(255, 209, 102, 0.3);
  background: rgba(255, 209, 102, 0.06);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.data-stat {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-lg);
}
.data-stat::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid var(--accent-blue);
  border-right: 2px solid var(--accent-blue);
  border-radius: 0 var(--radius-lg) 0 4px;
  opacity: 0.5;
  pointer-events: none;
}
.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--accent-green);
}
.stat-value--blue { color: var(--accent-blue); }
.stat-value--yellow { color: var(--highlight-yellow); }
.stat-label {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.table-shell {
  width: 100%;
  overflow-x: auto;
  background: var(--card-bg);
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-lg);
}
.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-text);
  background: rgba(11, 16, 20, 0.4);
  border-bottom: 1px solid var(--grid-line);
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(42, 59, 76, 0.4);
  color: var(--body-text);
}
.data-table tbody tr:hover td {
  background: rgba(0, 229, 255, 0.04);
}
.data-table .num {
  font-family: var(--font-mono);
  color: var(--accent-blue);
}

.image-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(61, 255, 136, 0.06)),
    var(--secondary-bg);
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-lg);
}
.image-shell--wide { aspect-ratio: 21 / 9; }
.image-shell--square { aspect-ratio: 1 / 1; }
.image-shell--portrait { aspect-ratio: 3 / 4; }
.image-shell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted-text);
}
.image-placeholder::before {
  content: attr(data-label);
  padding: 6px 14px;
  background: rgba(11, 16, 20, 0.6);
  border: 1px solid var(--grid-line);
  border-radius: var(--radius-pill);
}
.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--muted-text);
  background: rgba(11, 16, 20, 0.75);
  border-top: 1px solid rgba(42, 59, 76, 0.6);
}

/* ---------- 11. Scroll Reveal ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.has-js [data-reveal][data-visible] {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 12. Responsive ---------- */
@media (max-width: 1024px) {
  .header-keyword,
  .header-coord,
  .nav-marker {
    display: none;
  }
  .nav-link {
    padding: 8px 12px;
    gap: 6px;
    font-size: 13px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .footer-col:nth-child(4) {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-topline-inner {
    min-height: 48px;
    padding: 6px 16px;
    gap: 8px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 12px 4px 12px 4px;
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-slogan {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .header-utility {
    gap: 8px;
  }
  .status-pill {
    padding: 4px 10px;
    font-size: 11px;
  }

  .header-navbar-inner {
    min-height: 52px;
  }
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 16px 14px;
    background: var(--secondary-bg);
    border-bottom: 1px solid var(--grid-line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  .main-nav[data-open] {
    display: flex;
  }
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 15px;
  }
  .nav-link[aria-current="page"] {
    background: rgba(61, 255, 136, 0.1);
    border-color: rgba(61, 255, 136, 0.4);
  }

  .footer-frame {
    padding: 40px 16px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-col:nth-child(4) {
    grid-column: span 2;
  }
  .footer-data-strip {
    justify-content: center;
  }
  .footer-coordinate:last-child {
    display: none;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col:nth-child(4) {
    grid-column: auto;
  }
  .brand-slogan {
    display: none;
  }
}

/* ---------- 13. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .status-dot {
    animation: none;
  }
  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card:hover,
  .brand-mark:hover,
  .footer-link:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}
