:root {
  --bk-bg: #0b1120;
  --bk-bg-soft: #11192c;
  --bk-surface: rgba(17, 25, 44, 0.9);
  --bk-surface-solid: #171f31;
  --bk-surface-light: #22304a;
  --bk-card: #f3efe8;
  --bk-card-edge: rgba(215, 165, 74, 0.28);
  --bk-text: #e8ecf3;
  --bk-muted: #8e9aaf;
  --bk-gold: #d7a54a;
  --bk-blue: #2fa7ff;
  --bk-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --bk-radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body.bk-body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(47, 167, 255, 0.12), transparent 34%),
    radial-gradient(circle at top left, rgba(215, 165, 74, 0.16), transparent 30%),
    linear-gradient(180deg, #0b1120 0%, #0d1424 52%, #0b1120 100%);
  color: var(--bk-text);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: var(--bk-blue);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus {
  color: var(--bk-gold);
}

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

.grid-container {
  max-width: 75rem;
}

.bk-main {
  position: relative;
  z-index: 1;
}

.bk-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 17, 32, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bk-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.bk-brand {
  display: flex;
  flex-direction: column;
  color: var(--bk-text);
  min-width: 0;
}

.bk-brand__wordmark {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bk-brand__line {
  color: var(--bk-muted);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.bk-nav {
  flex: 1;
}

.bk-nav .menu {
  background: transparent;
}

.bk-nav .menu > li > a,
.bk-nav__submenu a {
  color: var(--bk-text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bk-nav .menu > li > a {
  padding: 0.8rem 0.9rem;
}

.bk-nav .menu > li > a:hover,
.bk-nav__submenu a:hover {
  color: var(--bk-gold);
}

.bk-nav__item {
  position: relative;
}

.bk-nav__submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 15rem;
  padding: 0.5rem 0;
  background: rgba(12, 19, 35, 0.96);
  border: 1px solid rgba(215, 165, 74, 0.2);
  box-shadow: var(--bk-shadow);
}

.bk-nav__item:hover > .bk-nav__submenu,
.bk-nav__item:focus-within > .bk-nav__submenu {
  display: block;
}

.bk-hero {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
}

.bk-hero__image,
.bk-hero__shade {
  position: absolute;
  inset: 0;
}

.bk-hero__image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.04);
}

.bk-hero__shade {
  background:
    linear-gradient(135deg, rgba(11, 17, 32, 0.72), rgba(11, 17, 32, 0.35)),
    linear-gradient(180deg, rgba(11, 17, 32, 0.05), rgba(11, 17, 32, 0.94));
}

.bk-hero__content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5rem;
}

.bk-hero__eyebrow,
.bk-panel__eyebrow {
  margin: 0 0 0.9rem;
  color: var(--bk-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.bk-hero__title,
.bk-page-title,
.bk-heading {
  margin: 0 0 1rem;
  color: var(--bk-text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.05;
}

.bk-hero__title {
  max-width: 50rem;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 700;
}

.bk-hero__summary,
.bk-page-summary {
  max-width: 38rem;
  margin: 0;
  color: rgba(232, 236, 243, 0.88);
  font-size: 1.05rem;
}

.bk-shell {
  padding: 3.5rem 0 5rem;
}

.bk-shell--home {
  margin-top: -4rem;
}

.bk-breadcrumbs {
  margin-bottom: 1.5rem;
}

.bk-breadcrumbs .breadcrumbs {
  margin: 0;
  background: transparent;
}

.bk-breadcrumbs .breadcrumbs li,
.bk-breadcrumbs .breadcrumbs a,
.bk-breadcrumbs .breadcrumbs span {
  color: var(--bk-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bk-panel,
.bk-lead-panel,
.bk-toc,
.bk-category-card {
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--bk-radius);
  background: linear-gradient(180deg, rgba(23, 31, 49, 0.98), rgba(15, 22, 36, 0.98));
  box-shadow: var(--bk-shadow);
}

.bk-panel,
.bk-lead-panel,
.bk-toc {
  padding: 1.6rem;
}

.bk-panel--feature {
  border-color: var(--bk-card-edge);
}

.bk-panel--article,
.bk-panel--static {
  background:
    linear-gradient(180deg, rgba(19, 27, 43, 0.98), rgba(11, 17, 32, 0.98)),
    var(--bk-surface-solid);
}

.bk-panel__feature-image,
.bk-lead-panel__image,
.bk-panel__promo-image {
  width: 100%;
  min-height: 14rem;
  object-fit: cover;
  border-radius: calc(var(--bk-radius) - 6px);
}

.bk-panel__heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.bk-article-head {
  margin-bottom: 1.6rem;
}

.bk-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1rem;
  color: var(--bk-muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bk-heading--1,
.bk-page-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

.bk-heading--2 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.bk-heading--3 {
  font-size: 1.35rem;
}

.bk-heading--4,
.bk-heading--5,
.bk-heading--6 {
  font-size: 1.05rem;
}

.bk-block {
  margin-bottom: 1rem;
}

.bk-block--heading {
  margin-top: 2rem;
}

.bk-paragraph {
  margin: 0 0 1rem;
  color: rgba(232, 236, 243, 0.92);
  font-size: 1.02rem;
}

.bk-paragraph--meta {
  color: var(--bk-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bk-paragraph--action a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bk-gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bk-figure {
  margin: 1.5rem 0;
}

.bk-figure img {
  width: 100%;
  border-radius: calc(var(--bk-radius) - 6px);
}

.bk-figure figcaption {
  margin-top: 0.6rem;
  color: var(--bk-muted);
  font-size: 0.84rem;
}

.bk-float-figure {
  float: right;
  width: min(38%, 18rem);
  margin: 0 0 1.5rem 1.5rem;
}

.bk-float-figure img {
  width: 100%;
  border-radius: calc(var(--bk-radius) - 6px);
}

.bk-list {
  margin: 0 0 1.4rem 1.2rem;
}

.bk-list li {
  margin-bottom: 0.55rem;
}

.bk-table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
}

.bk-table,
.bk-table table {
  width: 100%;
  border-collapse: collapse;
}

.bk-table th,
.bk-table td,
.bk-table table th,
.bk-table table td {
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bk-quote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--bk-gold);
  background: rgba(255, 255, 255, 0.03);
}

.bk-embed {
  margin: 1.5rem 0;
}

.bk-code {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  overflow-x: auto;
  border-radius: calc(var(--bk-radius) - 6px);
  background: #050a14;
  color: var(--bk-text);
}

.bk-gallery {
  margin: 1.5rem 0;
}

.bk-list-item {
  padding: 1.2rem;
  border-radius: calc(var(--bk-radius) - 6px);
  background: rgba(255, 255, 255, 0.03);
}

.bk-separator {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bk-link-grid {
  margin-top: 0.8rem;
}

.bk-link-card {
  height: 100%;
  border-radius: calc(var(--bk-radius) - 8px);
  border: 1px solid rgba(47, 167, 255, 0.16);
  background: rgba(7, 13, 24, 0.55);
}

.bk-link-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-height: 6rem;
  padding: 1.15rem 1.2rem;
  color: var(--bk-text);
}

.bk-link-card:hover a,
.bk-link-card a:focus {
  transform: translateY(-2px);
}

.bk-link-card__label {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
}

.bk-link-card__arrow {
  color: var(--bk-gold);
  font-size: 1.15rem;
  font-weight: 700;
}

.bk-sidebar {
  position: relative;
}

.bk-search {
  display: flex;
  gap: 0.6rem;
}

.bk-search input {
  flex: 1;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--bk-text);
}

.bk-search button {
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bk-gold), #c98f2e);
  color: #111;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bk-sidebar__list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bk-sidebar__list a {
  display: block;
  padding: 0.8rem 0;
  color: var(--bk-text);
}

.bk-sidebar__list--compact a {
  padding: 0.55rem 0;
  font-size: 0.92rem;
}

.bk-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.bk-tag {
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(142, 154, 175, 0.24);
  border-radius: 999px;
  color: var(--bk-text);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bk-tag:hover,
.bk-tag:focus {
  background: rgba(215, 165, 74, 0.16);
  border-color: rgba(215, 165, 74, 0.55);
}

.bk-toc {
  margin-bottom: 1.6rem;
}

.bk-toc .menu > li > a {
  padding: 0.45rem 0;
  color: var(--bk-text);
}

.bk-toc__child {
  padding-left: 1rem;
}

.bk-sticky {
  position: sticky;
  top: 6rem;
}

.bk-category-head {
  margin-bottom: 1.6rem;
}

.bk-category-card {
  overflow: hidden;
}

.bk-category-card img {
  width: 100%;
  min-height: 13rem;
  object-fit: cover;
}

.bk-category-card__body {
  padding: 1.2rem;
}

.bk-category-card h2 {
  margin: 0 0 0.8rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.3rem;
  line-height: 1.2;
}

.bk-category-card p {
  color: rgba(232, 236, 243, 0.88);
}

.bk-category-card__link {
  display: inline-flex;
  margin-top: 0.7rem;
  color: var(--bk-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bk-category-card--horizontal {
  display: grid;
  grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
}

.bk-category-card--horizontal img {
  min-height: 100%;
}

.bk-category-card--minimal .bk-category-card__body {
  padding-top: 1.4rem;
}

.bk-footer {
  margin-top: 2rem;
  padding: 3rem 0;
  background: #080d18;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bk-footer__brand {
  color: var(--bk-text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.bk-footer__domain {
  color: var(--bk-muted);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bk-footer__menu li + li {
  margin-top: 0.25rem;
}

.bk-footer__menu a {
  color: var(--bk-text);
  padding: 0.2rem 0;
}

.bk-prose h1,
.bk-prose h2,
.bk-prose h3,
.bk-prose h4,
.bk-prose h5,
.bk-prose h6 {
  color: var(--bk-text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin-top: 1.7rem;
}

.bk-prose p,
.bk-prose li,
.bk-prose td,
.bk-prose th {
  color: rgba(232, 236, 243, 0.92);
}

.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

@media screen and (max-width: 63.9375em) {
  .bk-header__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .bk-nav {
    width: 100%;
  }

  .bk-nav .menu {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .bk-nav .menu > li {
    width: 100%;
  }

  .bk-nav .menu > li > a {
    padding-left: 0;
  }

  .bk-nav__submenu {
    position: static;
    display: block;
    min-width: 0;
    margin-bottom: 0.5rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .bk-hero {
    min-height: 26rem;
  }

  .bk-hero__content {
    padding-top: 6rem;
  }

  .bk-float-figure {
    float: none;
    width: 100%;
    margin: 0 0 1.2rem;
  }

  .bk-category-card--horizontal {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 39.9375em) {
  .bk-shell,
  .bk-hero__content {
    padding-bottom: 3rem;
  }

  .bk-panel,
  .bk-lead-panel,
  .bk-toc {
    padding: 1.2rem;
  }

  .bk-search {
    flex-direction: column;
  }
}

@media print {
  body.bk-body {
    background: #fff;
    color: #111;
  }

  .bk-header,
  .bk-footer,
  .bk-sidebar,
  .bk-toc {
    display: none !important;
  }

  .bk-panel,
  .bk-lead-panel {
    box-shadow: none;
    border: 1px solid #ccc;
    background: #fff;
    color: #111;
  }
}
