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

:root {
  --bf-bg: #0C2D26;
  --bf-surface: #123A30;
  --bf-surface-light: #1A4538;
  --bf-gold: #D4AF37;
  --bf-gold-light: #E5C158;
  --bf-red: #8B2500;
  --bf-cream: #F5EFE0;
  --bf-gray: #A3B5AC;
  --bf-border: #2E5147;
  --bf-font-title: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --bf-font-body: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bf-font-data: "Roboto Mono", "SFMono-Regular", "Consolas", monospace;
  --bf-size-base: 16px;
  --bf-scale: 1.25;
  --bf-container: 1200px;
  --bf-header-height: 76px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bf-header-height) + 12px);
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  font-family: var(--bf-font-body);
  font-size: var(--bf-size-base);
  line-height: 1.75;
  color: var(--bf-cream);
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(212, 175, 55, 0.07) 0%, transparent 58%),
    linear-gradient(160deg, #0C2D26 0%, #09241E 44%, #071B17 100%);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--bf-gold);
  color: #081E18;
}

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

a {
  color: var(--bf-gold-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}
a:hover {
  color: var(--bf-gold);
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--bf-font-title);
  font-weight: 900;
  line-height: 1.2;
  color: var(--bf-cream);
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; }
h2 { font-size: clamp(1.4rem, 2.8vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1rem; }

:focus-visible {
  outline: 2px solid var(--bf-gold);
  outline-offset: 3px;
}

main {
  display: block;
}

#main-content {
  scroll-margin-top: calc(var(--bf-header-height) + 16px);
}

.bf-container {
  width: 100%;
  max-width: var(--bf-container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.5vw, 2rem);
}

.bf-section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.bf-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 3vw, 1.75rem);
}

.bf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  font-family: var(--bf-font-data);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--bf-gold);
  text-transform: uppercase;
}
.bf-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--bf-gold);
}

.bf-section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
  max-width: 24em;
}

.bf-section__number {
  font-family: var(--bf-font-data);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(212, 175, 55, 0.75);
}

.bf-lead {
  max-width: 68ch;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--bf-gray);
}

.bf-prose {
  max-width: 76ch;
}
.bf-prose p {
  margin: 0 0 1.2em;
  max-width: 68ch;
  color: var(--bf-gray);
}
.bf-prose strong {
  color: var(--bf-cream);
}
.bf-prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.3rem;
  background: var(--bf-surface);
  border-left: 3px solid var(--bf-gold);
  color: var(--bf-cream);
}
.bf-prose code {
  font-family: var(--bf-font-data);
  font-size: 0.85em;
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  padding: 0.15em 0.4em;
}

.bf-divider {
  border: 0;
  height: 1px;
  margin: 2rem 0;
  background: linear-gradient(90deg, var(--bf-gold) 0%, var(--bf-border) 28%, var(--bf-border) 100%);
}

.bf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.55rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  font-family: var(--bf-font-title);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.bf-btn--gold {
  background: linear-gradient(135deg, var(--bf-gold) 0%, var(--bf-gold-light) 100%);
  color: #081E18;
}
.bf-btn--gold:hover {
  background: var(--bf-gold-light);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22);
  color: #081E18;
}

.bf-btn--ghost {
  background: transparent;
  border-color: var(--bf-border);
  color: var(--bf-cream);
  font-family: var(--bf-font-data);
  font-weight: 400;
}
.bf-btn--ghost:hover {
  border-color: var(--bf-gold);
  color: var(--bf-gold);
}

.bf-btn--sm {
  min-height: 34px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
}

.bf-breadcrumb {
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
}
.bf-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bf-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bf-gray);
}
.bf-breadcrumb li + li::before {
  content: "/";
  font-family: var(--bf-font-data);
  font-size: 0.68rem;
  color: var(--bf-gold);
}
.bf-breadcrumb a {
  color: var(--bf-gray);
  text-decoration: none;
}
.bf-breadcrumb a:hover {
  color: var(--bf-gold);
}
.bf-breadcrumb [aria-current="page"] {
  color: var(--bf-cream);
}

.bf-card {
  position: relative;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  background: linear-gradient(155deg, var(--bf-surface) 0%, var(--bf-surface-light) 100%);
  border: 1px solid var(--bf-border);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.bf-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--bf-gold);
  border-left: 2px solid var(--bf-gold);
  pointer-events: none;
}
.bf-card:hover {
  border-color: var(--bf-gold);
}

.bf-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  font-family: var(--bf-font-data);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--bf-gold-light);
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  white-space: nowrap;
}
.bf-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--bf-red);
  border-radius: 50%;
}

.bf-data {
  font-family: var(--bf-font-data);
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.02em;
}

.bf-stat {
  font-family: var(--bf-font-data);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--bf-gold);
}
.bf-stat__label {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--bf-font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--bf-gray);
}

.bf-tabs {
  border: 1px solid var(--bf-border);
  background: var(--bf-surface);
}
.bf-tabs__header {
  display: flex;
  border-bottom: 1px solid var(--bf-border);
}
.bf-tab {
  flex: 1;
  padding: 0.7rem 1rem;
  border-right: 1px solid var(--bf-border);
  background: transparent;
  font-family: var(--bf-font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bf-gray);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.bf-tab:last-child {
  border-right: 0;
}
.bf-tab:hover {
  color: var(--bf-cream);
}
.bf-tab[aria-selected="true"] {
  background: var(--bf-gold);
  color: #081E18;
}
.bf-tab-panel {
  padding: 1.25rem;
}

.bf-image {
  --bf-aspect: 16 / 9;
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--bf-aspect);
  background: linear-gradient(135deg, var(--bf-surface) 0%, var(--bf-surface-light) 100%);
  border: 1px solid var(--bf-border);
}
.bf-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--bf-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--bf-border) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.35;
  pointer-events: none;
}
.bf-image::after {
  content: "IMG";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bf-font-data);
  font-size: 0.7rem;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  color: var(--bf-gray);
  opacity: 0.55;
  pointer-events: none;
}
.bf-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bf-image--wide {
  --bf-aspect: 21 / 9;
}
.bf-image--card {
  --bf-aspect: 4 / 3;
}
.bf-image--square {
  --bf-aspect: 1 / 1;
}
.bf-image--portrait {
  --bf-aspect: 3 / 4;
}
.bf-image--media::before,
.bf-image--media::after,
.bf-image:has(img)::before,
.bf-image:has(img)::after {
  display: none;
}

.bf-skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  padding: 0.6rem 1.2rem;
  background: var(--bf-gold);
  color: #081E18;
  font-family: var(--bf-font-title);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform 0.15s ease;
}
.bf-skip-link:focus {
  transform: translateY(0);
}

.bf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(7, 27, 23, 0.96) 0%, rgba(12, 45, 38, 0.93) 100%);
  border-bottom: 1px solid var(--bf-border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.bf-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--bf-header-height);
  padding-top: 4px;
}

.bf-header__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 72%;
  height: 4px;
  background: linear-gradient(90deg, var(--bf-gold) 0%, var(--bf-gold) 76%, var(--bf-red) 76%, var(--bf-red) 86%, transparent 86%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
  pointer-events: none;
}

.bf-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 auto;
  color: var(--bf-cream);
  text-decoration: none;
}
.bf-brand:hover {
  color: var(--bf-cream);
}

.bf-brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--bf-gold);
}
.bf-brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--bf-gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.bf-brand__text {
  display: grid;
  gap: 0.1rem;
}

.bf-brand__name {
  font-family: var(--bf-font-title);
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--bf-cream);
}

.bf-brand__tag {
  font-family: var(--bf-font-data);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--bf-gold);
  text-transform: uppercase;
}

.bf-nav {
  counter-reset: bf-navcount;
  display: flex;
  align-items: center;
  margin-inline: auto;
}

.bf-nav__list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bf-nav__item {
  counter-increment: bf-navcount;
}

.bf-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  padding: 0.5rem 0.55rem;
  font-family: var(--bf-font-title);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bf-cream);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.bf-nav__link::before {
  content: counter(bf-navcount, decimal-leading-zero);
  font-family: var(--bf-font-data);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--bf-gold);
  opacity: 0.85;
}
.bf-nav__link::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.1rem;
  height: 2px;
  background: var(--bf-gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.15s ease;
}
.bf-nav__link:hover,
.bf-nav__link[aria-current="page"] {
  color: var(--bf-gold-light);
}
.bf-nav__link:hover::after,
.bf-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.bf-nav__toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  padding: 0.55rem 0.85rem;
  background: transparent;
  border: 1px solid var(--bf-border);
  color: var(--bf-cream);
  font-family: var(--bf-font-title);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.bf-nav__toggle:hover {
  border-color: var(--bf-gold);
  color: var(--bf-gold);
}

.bf-nav__toggle-lines {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
  color: var(--bf-gold);
}
.bf-nav__toggle-lines::before,
.bf-nav__toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.15s ease, top 0.15s ease;
}
.bf-nav__toggle-lines::before {
  top: 0;
}
.bf-nav__toggle-lines::after {
  top: 10px;
}
.bf-nav__toggle[aria-expanded="true"] .bf-nav__toggle-lines::before {
  top: 5px;
  transform: rotate(45deg);
}
.bf-nav__toggle[aria-expanded="true"] .bf-nav__toggle-lines::after {
  top: 5px;
  transform: rotate(-45deg);
}

.bf-nav__toggle-label {
  font-size: 0.82rem;
}

.bf-header__cta {
  flex: 0 0 auto;
}

.bf-nav__cta {
  display: none;
}

.bf-footer {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, #0A2821 0%, #071B17 100%);
  border-top: 1px solid var(--bf-border);
  color: var(--bf-gray);
}

.bf-footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(2.75rem, 5vw, 4rem) 2.25rem;
}

.bf-footer__grid::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 72%;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--bf-red) 10%, var(--bf-gold) 20%, var(--bf-gold) 100%);
  clip-path: polygon(0 100%, 26px 0, 100% 0, 100% 100%);
  pointer-events: none;
}

.bf-footer__block {
  min-width: 0;
}

.bf-footer__nav,
.bf-footer__contact,
.bf-footer__legal {
  min-width: 0;
}

.bf-footer__brand .bf-brand {
  margin-bottom: 1.1rem;
}

.bf-brand--footer .bf-brand__name {
  font-size: 1.14rem;
}

.bf-footer__trust {
  max-width: 34ch;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--bf-gray);
}

.bf-footer__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-family: var(--bf-font-title);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bf-gold);
}
.bf-footer__title::before {
  content: "//";
  font-family: var(--bf-font-data);
  font-size: 0.72rem;
  letter-spacing: -0.04em;
  color: var(--bf-red);
}

.bf-footer__list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bf-footer__list a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--bf-gray);
  text-decoration: none;
  transition: color 0.15s ease;
}
.bf-footer__list a::before {
  content: "/";
  font-family: var(--bf-font-data);
  font-size: 0.72rem;
  color: var(--bf-gold);
  opacity: 0.85;
  transition: color 0.15s ease;
}
.bf-footer__list a:hover {
  color: var(--bf-cream);
}
.bf-footer__list a:hover::before {
  color: var(--bf-gold-light);
}

.bf-footer__meta {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bf-footer__meta li {
  display: grid;
  grid-template-columns: 3.6em 1fr;
  gap: 0.55rem;
  align-items: baseline;
  font-size: 0.86rem;
  line-height: 1.55;
}
.bf-footer__meta-label {
  font-family: var(--bf-font-data);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bf-gold);
}

.bf-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.75rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--bf-border);
  font-size: 0.8rem;
  color: var(--bf-gray);
}
.bf-footer__copyright,
.bf-footer__icp,
.bf-footer__note {
  margin: 0;
}
.bf-footer__copyright {
  font-family: var(--bf-font-body);
}
.bf-footer__icp {
  font-family: var(--bf-font-data);
}
.bf-footer__note {
  margin-left: auto;
  font-style: normal;
  color: var(--bf-gray);
}

@media (min-width: 1440px) {
  body::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1320px;
    max-width: calc(100% - 2rem);
    border-left: 1px solid rgba(46, 81, 71, 0.5);
    border-right: 1px solid rgba(46, 81, 71, 0.5);
    pointer-events: none;
    z-index: 30;
  }
}

@media (max-width: 1100px) {
  .bf-nav__link {
    padding: 0.45rem 0.4rem;
    font-size: 0.8rem;
  }
  .bf-brand__name {
    font-size: 0.95rem;
  }
  .bf-brand__mark {
    width: 26px;
    height: 26px;
  }
  .bf-header__inner {
    gap: 0.75rem;
  }

  .bf-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bf-footer__brand {
    grid-column: 1 / -1;
  }
  .bf-footer__note {
    margin-left: 0;
    flex-basis: 100%;
  }
}

@media (max-width: 920px) {
  body {
    background:
      radial-gradient(800px 420px at 80% -6%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
      linear-gradient(160deg, #0C2D26 0%, #09241E 48%, #071B17 100%);
  }

  .bf-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .bf-header__inner {
    flex-wrap: wrap;
    min-height: 64px;
    padding-top: 4px;
    padding-bottom: 0.5rem;
  }

  .bf-nav__toggle {
    display: inline-flex;
  }

  .bf-header__cta {
    display: none;
  }

  .bf-nav {
    flex-basis: 100%;
    order: 10;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin-inline: 0;
    padding-block: 0.75rem 1.25rem;
    border-top: 1px solid var(--bf-border);
    background: linear-gradient(180deg, rgba(7, 27, 23, 0.92) 0%, rgba(12, 45, 38, 0.96) 100%);
  }
  .bf-nav[data-open] {
    display: flex;
  }

  .bf-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .bf-nav__link {
    display: flex;
    align-items: center;
    padding: 0.68rem 0.3rem;
    border-bottom: 1px solid var(--bf-border);
    font-size: 0.95rem;
    white-space: normal;
  }
  .bf-nav__link::after {
    display: none;
  }

  .bf-nav__cta {
    display: flex;
    width: 100%;
    margin-top: 1rem;
  }

  .bf-tab {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
  }
  .bf-tab-panel {
    padding: 1rem;
  }
}

@media (max-width: 560px) {
  .bf-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bf-footer__grid {
    grid-template-columns: 1fr;
  }
  .bf-footer__brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
