@charset "UTF-8";

/* =========================================================
   贝博艾弗森体育 / Site Kit
   设计概念：数据竞技场 Data Arena
   ========================================================= */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure,
blockquote, fieldset, legend,
textarea, pre, iframe, hr, address {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

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

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

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

address {
  font-style: normal;
}

main {
  display: block;
}

#main-content:focus {
  outline: none;
}

/* ---------- 2. Design tokens ---------- */
:root {
  --bg-primary: #0a0f1e;
  --bg-secondary: #11172e;
  --bg-elevated: #182040;
  --accent-green: #00ff9d;
  --accent-blue: #00d4ff;
  --accent-red: #ff3d5e;
  --text-primary: #f0f8ff;
  --text-secondary: #a0b0c0;
  --border-glow: rgba(0, 255, 157, 0.3);
  --border-blue: rgba(0, 212, 255, 0.16);
  --font-heading: "Rajdhani", "Bahnschrift", "DIN Alternate", "Arial Narrow", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Helvetica Neue", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "DIN Alternate", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  --container-max: 1200px;
  --container-pad: clamp(16px, 4vw, 32px);
  --header-z: 100;
  --section-pad: clamp(56px, 9vw, 112px);
}

/* ---------- 3. Base typography ---------- */
html {
  background: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

::selection {
  background: var(--accent-green);
  color: #06120c;
}

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

/* ---------- 4. Layout utilities ---------- */
.bi-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.bi-section {
  position: relative;
  padding-block: var(--section-pad);
}

.bi-section--alt {
  background-color: var(--bg-secondary);
}

.bi-section__head {
  position: relative;
  max-width: 760px;
  margin-bottom: 40px;
}

.bi-section__index {
  position: absolute;
  top: -20px;
  right: 0;
  font-family: var(--font-mono);
  font-size: clamp(72px, 12vw, 128px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 255, 157, 0.25);
  pointer-events: none;
  user-select: none;
}

.bi-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 14px;
}

.bi-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(0, 255, 157, 0.5);
}

.bi-kicker::after {
  content: "/";
  color: var(--accent-blue);
}

.bi-title {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.bi-lead {
  font-size: 16px;
  max-width: 640px;
}

.bi-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.bi-divider::before,
.bi-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow) 50%, var(--border-blue) 100%, transparent);
}

.bi-divider__mark {
  width: 7px;
  height: 7px;
  background: var(--accent-green);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- 5. Buttons ---------- */
.bi-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-blue);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bi-btn::before,
.bi-btn::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--accent-blue);
  border-style: solid;
  opacity: 0.75;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.bi-btn::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.bi-btn::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.bi-btn:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.18);
  color: var(--text-primary);
}

.bi-btn:active {
  transform: translateY(1px);
}

.bi-btn--primary {
  background: linear-gradient(135deg, #00ff9d 0%, #00d4ff 100%);
  color: #06120c;
  border-color: transparent;
}

.bi-btn--primary::before,
.bi-btn--primary::after {
  border-color: #06120c;
  opacity: 1;
}

.bi-btn--primary:hover {
  background: linear-gradient(135deg, #66ffc2 0%, #66e6ff 100%);
  box-shadow: 0 0 24px rgba(0, 255, 157, 0.4);
  color: #06120c;
}

.bi-btn--small {
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ---------- 6. Tags ---------- */
.bi-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-blue);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.bi-tag:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.bi-tag--active,
.bi-tag--active:hover {
  color: #06120c;
  background: var(--accent-green);
  border-color: var(--accent-green);
}

/* ---------- 7. Breadcrumb ---------- */
.bi-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text-secondary);
}

.bi-breadcrumb__item a {
  color: var(--text-secondary);
}

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

.bi-breadcrumb__sep {
  font-family: var(--font-mono);
  color: var(--accent-green);
}

.bi-breadcrumb__item[aria-current="page"] {
  color: var(--accent-blue);
}

/* ---------- 8. Grid & cards ---------- */
.bi-grid {
  display: grid;
  gap: 24px;
}

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

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

.bi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-blue);
  border-top: 3px solid var(--accent-green);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bi-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 18px rgba(0, 255, 157, 0.06);
}

.bi-card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.bi-card__title {
  font-size: 20px;
  margin-bottom: 4px;
}

.bi-card__body {
  flex: 1;
  font-size: 14px;
  color: var(--text-secondary);
}

.bi-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 700;
  color: var(--accent-green);
}

.bi-card__link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.bi-card:hover .bi-card__link::after {
  transform: translateX(4px);
}

/* ---------- 9. Panel / stat / timeline / image ---------- */
.bi-panel {
  position: relative;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(0, 255, 157, 0.06) 0%, transparent 34%),
    var(--bg-secondary);
  border: 1px solid var(--border-blue);
}

.bi-panel::before,
.bi-panel::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--accent-green);
  border-style: solid;
  pointer-events: none;
}

.bi-panel::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.bi-panel::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.bi-stat {
  position: relative;
  padding: 18px 20px;
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-green);
}

.bi-stat__value {
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1;
  color: var(--accent-green);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.bi-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.bi-timeline {
  position: relative;
}

.bi-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-green) 0%, var(--accent-blue) 70%, transparent 100%);
  opacity: 0.7;
}

.bi-timeline__item {
  position: relative;
  padding: 0 0 30px 34px;
}

.bi-timeline__item:last-child {
  padding-bottom: 0;
}

.bi-timeline__item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--bg-primary);
  border: 2px solid var(--accent-green);
  transform: rotate(45deg);
}

.bi-timeline__time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 6px;
}

.bi-timeline__content {
  font-size: 14px;
  color: var(--text-secondary);
}

.bi-image-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--bg-secondary);
  background-image:
    linear-gradient(135deg, transparent 0 12px, rgba(0, 212, 255, 0.08) 12px, transparent 18px),
    linear-gradient(45deg, rgba(0, 255, 157, 0.04) 25%, transparent 25%),
    repeating-linear-gradient(90deg, rgba(0, 212, 255, 0.05) 0 1px, transparent 1px 16px);
  background-size: auto, 26px 26px, auto;
  border: 1px solid var(--border-blue);
}

.bi-image-frame > img,
.bi-image-frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bi-image-frame:hover > img {
  transform: scale(1.04);
}

.bi-image-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent-green);
  background: rgba(10, 15, 30, 0.7);
  padding: 4px 8px;
  border-left: 2px solid var(--accent-green);
}

.bi-image-frame:not(:has(> img))::before {
  content: "MEDIA SLOT";
}

.bi-image-frame::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  bottom: 8px;
  left: 8px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  z-index: 1;
  pointer-events: none;
}

.bi-image-frame--4x3 {
  aspect-ratio: 4 / 3;
}

.bi-image-frame--1x1 {
  aspect-ratio: 1 / 1;
}

/* ---------- 10. Skip link & progress ---------- */
.bi-skip-link {
  position: fixed;
  top: -72px;
  left: 16px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--accent-green);
  color: #06120c;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}

.bi-skip-link:focus {
  top: 16px;
}

.bi-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.6);
  z-index: 400;
}

/* ---------- 11. Header ---------- */
.bi-header {
  position: relative;
  z-index: var(--header-z);
  background: #0a0f1e;
  border-bottom: 1px solid var(--border-blue);
}

.bi-masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 96px;
}

.bi-masthead__side {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.bi-masthead__side--left {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.bi-masthead__side--right {
  justify-self: end;
}

.bi-masthead__code {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
}

.bi-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: bi-pulse-glow 2s infinite;
}

@keyframes bi-pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(0, 255, 157, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0);
  }
}

.bi-brand {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 14px;
  color: var(--text-primary);
  text-align: center;
}

.bi-brand:hover {
  color: var(--text-primary);
}

.bi-brand::before,
.bi-brand::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--accent-green);
  border-style: solid;
  pointer-events: none;
}

.bi-brand::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.bi-brand::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.bi-brand__title {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.bi-brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--accent-green);
  text-transform: uppercase;
  margin-right: -0.4em;
}

.bi-brand--footer {
  align-items: flex-start;
  padding-left: 0;
  margin-bottom: 16px;
}

.bi-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid var(--border-blue);
  background: transparent;
  transition: border-color 0.2s ease;
}

.bi-nav-toggle[aria-expanded="true"],
.bi-nav-toggle:hover {
  border-color: var(--border-glow);
}

.bi-nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent-green);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

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

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

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

.bi-nav {
  border-top: 1px solid var(--border-blue);
  background: rgba(17, 23, 46, 0.72);
}

.bi-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.2vw, 36px);
}

.bi-nav__item a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 2px 12px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.bi-nav__item a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(0, 255, 157, 0.55);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.bi-nav__item a:hover {
  color: var(--text-primary);
}

.bi-nav__item a:hover::after {
  transform: scaleX(1);
}

.bi-nav__item a[aria-current="page"] {
  color: var(--accent-green);
}

.bi-nav__item a[aria-current="page"]::after {
  transform: scaleX(1);
}

.bi-header__edge {
  height: 6px;
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  background:
    repeating-linear-gradient(90deg,
      transparent 0 12px,
      rgba(0, 212, 255, 0.3) 12px 13px,
      transparent 13px 26px);
}

/* ---------- 12. Footer ---------- */
.bi-footer {
  position: relative;
  margin-top: 64px;
  background-color: var(--bg-secondary);
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(0, 255, 157, 0.02) 14px 15px);
  background-size: 32px 32px, 32px 32px, auto;
  border-top: 2px solid var(--border-glow);
}

.bi-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: repeating-linear-gradient(90deg,
      var(--accent-green) 0 8px,
      transparent 8px 20px,
      var(--accent-blue) 20px 26px,
      transparent 26px 40px);
  opacity: 0.5;
}

.bi-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.9fr;
  gap: 48px;
  padding-block: 56px 44px;
}

.bi-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.bi-footer__slogan {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.bi-footer__text {
  max-width: 420px;
  font-size: 14px;
}

.bi-footer__heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-green);
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-blue);
  position: relative;
}

.bi-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background: var(--accent-green);
}

.bi-footer__item {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.bi-footer__links li + li {
  margin-top: 10px;
}

.bi-footer__link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
}

.bi-footer__link::before {
  content: "→";
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-right: 8px;
}

.bi-footer__link:hover {
  color: var(--accent-green);
  transform: translateX(3px);
}

.bi-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px;
  border-top: 1px solid var(--border-blue);
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---------- 13. Reveal ---------- */
html.bi-js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

html.bi-js [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 1100px) {
  .bi-nav__list {
    gap: 18px;
  }

  .bi-nav__item a {
    font-size: 14px;
    letter-spacing: 0.04em;
  }
}

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

  .bi-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .bi-masthead {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    min-height: 70px;
  }

  .bi-masthead__side--left {
    visibility: hidden;
    overflow: hidden;
  }

  .bi-brand {
    padding: 6px 10px;
  }

  .bi-brand__title {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
  }

  .bi-brand__sub {
    font-size: 9px;
    letter-spacing: 0.3em;
    margin-right: -0.3em;
  }

  .bi-btn--small {
    padding: 8px 12px;
    font-size: 12px;
  }

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

  .bi-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-blue);
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }

  .bi-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .bi-nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 10px 0;
  }

  .bi-nav__item a {
    display: block;
    padding: 14px var(--container-pad);
    font-size: 16px;
    color: var(--text-primary);
    border-left: 3px solid transparent;
  }

  .bi-nav__item a::after {
    display: none;
  }

  .bi-nav__item a:hover,
  .bi-nav__item a[aria-current="page"] {
    background: rgba(0, 255, 157, 0.06);
    color: var(--accent-green);
  }

  .bi-nav__item a[aria-current="page"] {
    border-left-color: var(--accent-green);
  }

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

  .bi-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 40px 32px;
  }

  .bi-footer__legal {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 15. 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;
    transition-delay: 0s !important;
  }

  html.bi-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
