/* ==========================================================
   乐鱼赛事 / LeYu Sports — Site CSS
   File: /assets/site.css
   ========================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: #F5F7FA;
  background: #0A1E3F;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 900;
  line-height: 1.25;
  color: #FFFFFF;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul, ol { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

/* ---------- CSS Variables ---------- */
:root {
  /* Colors */
  --color-deep: #0A1E3F;
  --color-orange: #FF6A00;
  --color-fire: #FF3D00;
  --color-green: #00E5A0;
  --color-green-soft: #B2FFE0;
  --color-cloud: #F5F7FA;
  --color-ink: #12181F;
  --color-blue-gray: #4A6A8F;
  --gradient-fire: linear-gradient(135deg, #FF6A00, #FF3D00);
  --gradient-jade: linear-gradient(135deg, #00E5A0, #B2FFE0);

  /* Fonts */
  --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Roboto Mono', 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Layout */
  --container-max: 1280px;
  --container-pad: 24px;

  /* Spacing */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 40px;
  --sp-5: 64px;
  --sp-6: 96px;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 0.2s var(--ease);
  --t-med: 0.35s var(--ease);
  --t-slow: 0.6s var(--ease);

  /* Shape */
  --radius: 6px;
  --radius-lg: 12px;
}

/* ---------- Focus Visible ---------- */
:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  background: var(--color-green);
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: top 0.3s var(--ease);
}
.skip-link:focus {
  top: 0;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-pad);
}

/* ---------- Main Content ---------- */
#main-content {
  display: block;
  min-height: 60vh;
  scroll-margin-top: 96px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 12px 24px;
  border-radius: var(--radius);
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: transform var(--t-med), box-shadow var(--t-med), background var(--t-med), border-color var(--t-med);
}
.btn-primary {
  background: var(--gradient-fire);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(255, 106, 0, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 106, 0, 0.5);
}
.btn-secondary {
  background: transparent;
  border: 1px solid var(--color-blue-gray);
  color: var(--color-cloud);
}
.btn-secondary:hover {
  border-color: var(--color-green);
  color: var(--color-green);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 30, 63, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74, 106, 143, 0.2);
}

/* Status Strip */
.status-strip {
  background: var(--color-ink);
  border-bottom: 1px solid rgba(74, 106, 143, 0.15);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-blue-gray);
  overflow: hidden;
  white-space: nowrap;
}
.status-strip-inner {
  display: flex;
  align-items: center;
  height: 26px;
}
.status-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-green);
  font-weight: 500;
  margin-right: 18px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 8px rgba(0, 229, 160, 0.7);
  animation: pulse-glow 1.6s ease infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.status-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 24px;
  font-size: 11px;
}
.status-val {
  color: var(--color-orange);
  font-weight: 700;
}

/* Header Bar */
.header-bar {
  position: relative;
}
.header-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient-fire);
  border-radius: 8px;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(255, 106, 0, 0.35);
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand-name em {
  font-style: normal;
  color: var(--color-orange);
}

/* Navigation */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: rgba(245, 247, 250, 0.75);
  border-radius: 4px;
  line-height: 1.2;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-no {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--color-blue-gray);
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}
.nav-link[aria-current="page"] {
  color: var(--color-orange);
}
.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 1px;
  height: 2px;
  background: var(--gradient-fire);
  border-radius: 1px;
}
.nav-link[aria-current="page"] .nav-no {
  color: var(--color-orange);
}

/* Header Tools */
.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-search {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(74, 106, 143, 0.4);
  border-radius: 999px;
  padding: 0 14px;
  height: 36px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.header-search:focus-within {
  border-color: var(--color-green);
  background: rgba(0, 229, 160, 0.06);
}
.search-glyph {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  flex-shrink: 0;
}
.search-glyph::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--color-blue-gray);
  border-radius: 50%;
  transition: border-color 0.2s ease;
}
.search-glyph::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 6px;
  height: 2px;
  background: var(--color-blue-gray);
  border-radius: 1px;
  transform: rotate(45deg);
  transition: background 0.2s ease;
}
.header-search:focus-within .search-glyph::before {
  border-color: var(--color-green);
}
.header-search:focus-within .search-glyph::after {
  background: var(--color-green);
}
.search-input {
  background: transparent;
  border: none;
  outline: none;
  width: 172px;
  font-size: 13px;
  color: var(--color-cloud);
  line-height: 1;
}
.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search-input::placeholder {
  color: rgba(74, 106, 143, 0.75);
  font-size: 12px;
}
.header-cta {
  padding: 9px 20px;
  font-size: 13px;
}

/* Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(74, 106, 143, 0.4);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-toggle:hover {
  border-color: var(--color-green);
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-cloud);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) 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(-7px) rotate(-45deg);
}

/* Progress Track */
.progress-track {
  position: absolute;
  left: 0;
  bottom: -1px;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 5;
  pointer-events: none;
}
.progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gradient-fire);
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.08s linear;
}

/* ---------- Mobile Nav Dropdown ---------- */
.nav-mobile-extras {
  display: none;
}

@media (max-width: 1024px) {
  .header-search { display: none; }
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-deep);
    border-bottom: 1px solid rgba(74, 106, 143, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    flex: none;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .site-nav[data-open] {
    max-height: 520px;
    visibility: visible;
    opacity: 1;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid rgba(74, 106, 143, 0.2);
  }

  .nav-item {
    border-bottom: 1px solid rgba(74, 106, 143, 0.2);
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 0;
  }

  .nav-link[aria-current="page"] {
    background: rgba(255, 106, 0, 0.08);
  }
  .nav-link[aria-current="page"]::after {
    left: 0;
    width: 3px;
    height: auto;
    top: 0;
    bottom: 0;
    right: auto;
  }

  .nav-mobile-extras {
    display: block;
    padding: 16px 24px 24px;
  }

  .btn-nav-cta {
    width: 100%;
    margin-bottom: 12px;
  }

  .nav-support-line {
    font-size: 12px;
    color: var(--color-blue-gray);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--color-ink);
  color: var(--color-cloud);
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-fire);
  z-index: 2;
}
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(74, 106, 143, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 106, 143, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.footer-brand-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--gradient-fire);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 900;
  color: #FFFFFF;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(255, 106, 0, 0.3);
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  color: #FFFFFF;
}
.footer-trust {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.65);
  max-width: 340px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-blue-gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-heading::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--color-orange);
  flex-shrink: 0;
}

.footer-links li + li {
  margin-top: 8px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(245, 247, 250, 0.72);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover {
  color: var(--color-green);
  padding-left: 4px;
}

.footer-contact-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-blue-gray);
  flex-shrink: 0;
  min-width: 36px;
  letter-spacing: 0.05em;
}
.footer-contact-list a {
  color: rgba(245, 247, 250, 0.8);
  word-break: break-all;
  transition: color 0.2s ease;
}
.footer-contact-list a:hover {
  color: var(--color-orange);
}
.footer-contact-list span:last-child {
  color: rgba(245, 247, 250, 0.8);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(74, 106, 143, 0.2);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-size: 12px;
  color: var(--color-blue-gray);
  font-family: var(--font-mono);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-legal a {
  font-size: 13px;
  color: rgba(245, 247, 250, 0.65);
  transition: color 0.2s ease;
}
.footer-legal a:hover {
  color: var(--color-green);
}
.legal-dot {
  color: var(--color-blue-gray);
  font-size: 14px;
}
.footer-icp {
  font-size: 12px;
  color: var(--color-blue-gray);
  font-family: var(--font-mono);
}

/* ---------- Shared Page Components ---------- */
.section {
  padding-block: var(--sp-6);
  position: relative;
}
.section-header {
  margin-bottom: var(--sp-4);
}
.section-title {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  position: relative;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--gradient-fire);
  margin-right: 12px;
  vertical-align: -0.1em;
  border-radius: 2px;
}
.section-desc {
  font-size: 15px;
  color: var(--color-blue-gray);
  max-width: 640px;
}

.divider-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gradient-fire);
  border-radius: 2px;
  margin: 20px 0;
  position: relative;
}
.divider-line::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
  background: rgba(0, 229, 160, 0.5);
  transform: skewX(-30deg);
}

/* Grid */
.grid-base {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.grid-base > * {
  grid-column: span var(--span, 4);
}
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* Stats */
.stat-block {
  padding: 20px 24px;
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--color-orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.stat-block:hover {
  background: rgba(0, 229, 160, 0.06);
  transform: translateX(4px);
}
.stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}
.stat-value .stat-unit {
  font-size: 0.4em;
  color: var(--color-orange);
  margin-left: 2px;
}
.stat-label {
  font-size: 13px;
  color: var(--color-blue-gray);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* Cards */
.data-card {
  position: relative;
  padding: 24px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(74, 106, 143, 0.12);
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.data-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-fire);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.data-card:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
  border-color: rgba(0, 229, 160, 0.3);
}
.data-card:hover::before {
  opacity: 1;
}

.glass-panel {
  background: rgba(18, 24, 31, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 247, 250, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 229, 160, 0.12);
  color: var(--color-green);
  line-height: 1.5;
}
.tag-live {
  position: relative;
}
.tag-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  animation: pulse-glow 1.4s ease infinite;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  font-size: 13px;
}
.breadcrumb a {
  color: var(--color-blue-gray);
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: var(--color-green);
}
.breadcrumb .breadcrumb-current {
  color: var(--color-cloud);
  font-weight: 500;
}
.breadcrumb .breadcrumb-sep {
  color: var(--color-blue-gray);
  font-family: var(--font-mono);
  font-size: 11px;
}

/* Image Frame */
.img-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(74, 106, 143, 0.2), rgba(10, 30, 63, 0.3));
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
}
.img-frame.portrait { aspect-ratio: 3 / 4; }
.img-frame.square { aspect-ratio: 1 / 1; }
.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 30, 63, 0.55) 100%);
  pointer-events: none;
}
.img-frame:hover img {
  transform: scale(1.03);
}

/* Page Hero */
.page-hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(74, 106, 143, 0.15);
  margin-bottom: var(--sp-5);
}
.page-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  margin: 8px 0 12px;
  letter-spacing: -0.01em;
}
.page-hero-desc {
  font-size: 16px;
  color: var(--color-blue-gray);
  max-width: 680px;
}

/* ---------- Reveal Animation ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .header-search {
    display: none;
  }
}

@media (max-width: 1024px) {
  .grid-base {
    gap: 16px;
  }
  .grid-base > * {
    grid-column: span 6;
  }
  .section {
    padding-block: var(--sp-5);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .header-bar-inner {
    min-height: 60px;
  }
  .brand-glyph {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .brand-name {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 16px;
  }
  .grid-base > * {
    grid-column: span 12;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 28px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
  }
  .section {
    padding-block: var(--sp-4);
  }
}

@media (max-width: 640px) {
  .status-metric {
    display: none;
  }
  .status-live {
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 32px 0 28px;
  }
  .header-cta {
    padding: 8px 14px;
    font-size: 12px;
  }
  .brand-name {
    font-size: 17px;
  }
  .brand-glyph {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .nav-toggle {
    width: 36px;
    height: 36px;
  }
}

/* ---------- 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;
  }
  .tag-live::before {
    animation: none;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .progress-fill {
    transition: none;
  }
}
