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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: #f3f4f6;
  color: #111827;
}

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

a {
  color: inherit;
}

.b-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.b-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
}

.b-header__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.b-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.b-brand__mark {
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #f9fafb;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
}

.b-brand__text {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #111827;
}

.b-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
}

.b-nav__link {
  position: relative;
  text-decoration: none;
  color: #4b5563;
  padding: 6px 0;
}

.b-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #22c55e);
  transition: width 0.16s ease;
}

.b-nav__link:hover {
  color: #111827;
}

.b-nav__link:hover::after,
.b-nav__link--active::after {
  width: 100%;
}

.b-main {
  flex: 1 0 auto;
}

.b-hero {
  padding: 40px 0 32px;
}

.b-hero__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.b-hero__intro {
  border-left: 3px solid #2563eb;
  padding-left: 14px;
  margin-bottom: 20px;
}

.b-hero__eyebrow {
  margin: 0 0 4px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
}

.b-hero__title {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.35;
}

.b-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: flex-start;
}

.b-hero__col--text {
  display: grid;
  gap: 14px;
}

.b-hero__lead {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.9;
}

.b-hero__lead strong {
  color: #0f766e;
}

.b-hero__actions {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.b-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease,
    box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.b-button--primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.b-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.4);
}

.b-button--ghost {
  background: #ffffff;
  color: #111827;
  border-color: rgba(148, 163, 184, 0.9);
}

.b-button--ghost:hover {
  background: #eff6ff;
}

.b-hero__col--panel {
  display: grid;
  gap: 14px;
}

.b-hero-panel {
  margin: 0;
  padding: 12px 12px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.3);
}

.b-hero-panel__image {
  border-radius: 14px;
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.b-hero-panel__caption {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.7;
}

.b-hero-facts {
  padding: 12px 12px 14px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid rgba(191, 219, 254, 0.9);
}

.b-hero-facts__title {
  margin: 0 0 6px;
  font-size: 0.96rem;
  color: #1d4ed8;
}

.b-hero-facts__list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.86rem;
  color: #4b5563;
  display: grid;
  gap: 4px;
}

.b-section {
  padding: 30px 0 34px;
}

.b-section--grid {
  background: #f9fafb;
  border-top: 1px solid rgba(229, 231, 235, 0.9);
}

.b-section__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.b-section__head {
  max-width: 760px;
  margin-bottom: 18px;
}

.b-section__title {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.b-section__subtitle {
  margin: 0;
  font-size: 0.93rem;
  color: #4b5563;
  line-height: 1.8;
}

.b-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.b-tile {
  padding: 12px 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.b-tile__title {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.b-tile__title a {
  text-decoration: none;
  color: #111827;
}

.b-tile__title a:hover {
  color: #2563eb;
}

.b-tile__text {
  margin: 0;
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.8;
}

.b-footer {
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
}

.b-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 20px 16px;
}

.b-footer__line {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.b-footer__line + .b-footer__line {
  margin-top: 4px;
}

.b-footer__line--muted {
  color: #9ca3af;
}

/* Sub pages */
.b-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.b-page-main {
  flex: 1 0 auto;
}

.b-page-hero {
  padding: 36px 0 20px;
  background: #ffffff;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.b-page-hero__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.b-page-hero__title {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.b-page-hero__subtitle {
  margin: 0;
  font-size: 0.93rem;
  color: #4b5563;
  line-height: 1.8;
  max-width: 780px;
}

.b-page-body {
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 20px 40px;
}

.b-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.b-page-list {
  display: grid;
  gap: 12px;
}

.b-page-card {
  padding: 12px 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.b-page-card__title {
  margin: 0 0 4px;
  font-size: 0.96rem;
  color: #111827;
}

.b-page-card__title a {
  text-decoration: none;
  color: inherit;
}

.b-page-card__title a:hover {
  color: #2563eb;
}

.b-page-card__text {
  margin: 0;
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.8;
}

.b-article {
  max-width: 780px;
}

.b-article__image {
  border-radius: 14px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  margin-bottom: 14px;
}

.b-article__p {
  margin: 0 0 12px;
  font-size: 0.93rem;
  color: #4b5563;
  line-height: 1.9;
}

.b-article__p strong {
  color: #b45309;
}

.b-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px;
}

.b-two-col__block {
  font-size: 0.93rem;
  color: #4b5563;
  line-height: 1.9;
}

.b-note {
  padding: 10px 12px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid rgba(191, 219, 254, 0.9);
  font-size: 0.84rem;
  color: #1d4ed8;
}

@media (max-width: 960px) {
  .b-header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .b-nav {
    justify-content: center;
  }

  .b-hero__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .b-hero__col--panel {
    order: -1;
  }

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

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

  .b-two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .b-hero__inner {
    padding-inline: 16px;
  }

  .b-section__inner {
    padding-inline: 16px;
  }

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

  .b-page-body {
    padding-inline: 16px;
  }

  .b-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

