:root {
  --bsb-primary: #064e8d;
  --bsb-navy: #00072b;
  --bsb-white: #ffffff;
  --bsb-accent-yellow: #fbc02d;
  --font-main: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Below this width the nav uses the hamburger + drawer (many links don’t fit on one row). Keep global.js in sync. */
  --bsb-nav-drawer-max: 1439px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
}

body {
  background: var(--bsb-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 78px 18px 0;
  margin: 0;
  overflow-x: hidden;
}

.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bsb-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.top-navbar__inner {
  width: 100%;
  max-width: 100%;
  min-height: 62px;
  padding: 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  box-sizing: border-box;
}

.top-navbar__brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 228px;
  min-height: 52px;
  padding: 0 6px 0 18px;
  text-decoration: none;
  flex-shrink: 0;
}

.top-navbar__brand img {
  width: auto;
  height: 56px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.top-navbar__list {
  list-style: none;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 1px;
  white-space: nowrap;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.top-navbar__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bsb-white);
}

.top-navbar__link:hover,
.top-navbar__link.active {
  background: rgba(255, 255, 255, 0.18);
}

.top-navbar__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: transparent;
  color: var(--bsb-white);
  cursor: pointer;
}

.top-navbar__toggle i {
  font-size: 24px;
  line-height: 1;
}

.page-main {
  width: 100%;
  padding: 18px 8px 8px;
  display: flex;
  justify-content: center;
}

.content-page {
  width: min(1100px, 100%);
  background: var(--bsb-white);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 18px 36px rgba(0, 7, 43, 0.25);
}

.content-page--free {
  width: min(1180px, 100%);
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.content-page--free h1 {
  color: var(--bsb-white);
  margin-bottom: 12px;
}

.page-title-center {
  text-align: center;
  width: 100%;
  display: block;
  margin: 4px 0 18px;
  color: #ffffff !important;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.content-page--free .content-subtitle {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
}

.content-page--free .info-section {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.content-page--free .info-section h2 {
  color: #ffffff;
}

.content-page--free .bullet-list,
.content-page--free .info-section p,
.content-page--free .kpi-card p {
  color: rgba(255, 255, 255, 0.92);
}

.content-page--free .kpi-card {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.14);
}

.content-page--free .kpi-card h3 {
  color: #ffffff;
}

.content-page--free .criteria-table th,
.content-page--free .criteria-table td {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.content-page--free .criteria-table th {
  background: rgba(0, 0, 0, 0.28);
}

/* Who Can Participate: white bordered cards, blue typography */
.content-page--free.content-page--participate .info-section {
  margin-top: 18px;
  padding: 20px 22px;
  border: none;
  border-radius: 12px;
  background: var(--bsb-white);
  box-shadow: 0 10px 28px rgba(0, 7, 43, 0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.content-page--free.content-page--participate .info-section:first-of-type {
  margin-top: 0;
}

.content-page--free.content-page--participate .info-section h2 {
  color: var(--bsb-primary);
}

.content-page--free.content-page--participate .bullet-list,
.content-page--free.content-page--participate .info-section p,
.content-page--free.content-page--participate .info-section li {
  color: var(--bsb-navy);
}

.content-page--free.content-page--participate .info-section strong {
  color: var(--bsb-primary);
}

.content-page--free.content-page--participate .criteria-table {
  border-collapse: separate;
  border-spacing: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 7, 43, 0.04);
  background: #ffffff;
}

.content-page--free.content-page--participate .criteria-table th,
.content-page--free.content-page--participate .criteria-table td {
  border: none;
  border-bottom: 1px solid rgba(6, 78, 141, 0.08);
  color: var(--bsb-navy);
  padding: 16px 24px;
  font-size: 15px;
  line-height: 1.6;
}

.content-page--free.content-page--participate .criteria-table tr:last-child td {
  border-bottom: none;
}

.content-page--free.content-page--participate .criteria-table th {
  background: var(--bsb-primary);
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  padding: 18px 24px;
}

.content-page--free.content-page--participate .criteria-table tbody tr:nth-child(even) td {
  background-color: #f8fafc;
}

.content-page--free.content-page--participate .criteria-table tbody tr:hover td {
  background-color: #eef5fb;
}

.content-page--free.content-page--participate .criteria-table tbody td:first-child {
  font-weight: 800;
  color: var(--bsb-primary);
  width: 35%;
  vertical-align: middle;
}

/* Page-specific light mode for detail pages (no global impact) */
body.page-light {
  background: #f3f7fc;
}

.content-page--light {
  width: min(1100px, 100%);
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 14px 32px rgba(0, 7, 43, 0.12);
}

.content-page--light h1,
.content-page--light h2,
.content-page--light p,
.content-page--light li,
.content-page--light td,
.content-page--light th {
  color: #1d2a46;
}

.content-page--light .info-section {
  margin-top: 14px;
  padding: 14px 14px 10px;
  border: 1px solid #d8e1f0;
  border-radius: 10px;
  background: #f8fbff;
}

.content-page--light .info-section h2 {
  color: #0f4e8a;
}

.content-page--light .criteria-table th {
  background: #0f5d9d;
  color: #ffffff;
}

.page-main--doc {
  align-items: flex-start;
}

.content-page--doc {
  width: min(760px, 100%);
  border-radius: 0;
  box-shadow: none;
  padding: 18px 16px 12px;
}

.content-page--doc h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.content-page--doc p,
.content-page--doc li,
.content-page--doc td,
.content-page--doc th {
  font-size: 12px;
}

.content-page h1 {
  color: var(--bsb-primary);
  margin-bottom: 10px;
}

.content-page p {
  color: #27324a;
  line-height: 1.65;
}

.content-subtitle {
  color: #2a3855;
  margin-bottom: 14px;
}

.info-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #d9deea;
}

.info-section h2 {
  color: var(--bsb-primary);
  font-size: 20px;
  margin-bottom: 10px;
}

.content-page--doc .info-section {
  margin-top: 10px;
  padding-top: 8px;
  border-top: none;
}

.content-page--doc .info-section h2 {
  font-size: 13px;
  margin-bottom: 8px;
  color: #07264f;
  background: linear-gradient(90deg, #dcefff, #f4f9ff);
  padding: 4px 8px;
  border-left: 3px solid #0f5d9d;
}

.bullet-list {
  padding-left: 18px;
  color: #27324a;
  line-height: 1.7;
}

.content-page--doc .bullet-list {
  line-height: 1.45;
}

.kpi-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.kpi-card {
  border: 1px solid #d7ddec;
  border-radius: 10px;
  padding: 14px 12px;
  background: #f8fbff;
}

.kpi-card h3 {
  color: var(--bsb-primary);
  font-size: 15px;
  margin-bottom: 5px;
}

.kpi-card p {
  font-size: 14px;
}

.criteria-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
}

.criteria-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.criteria-table th,
.criteria-table td {
  border: 1px solid #cfd8ea;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: #1d2a46;
}

.criteria-table th {
  background: var(--bsb-primary);
  color: var(--bsb-white);
  font-weight: 700;
}

.content-page--doc .criteria-table {
  min-width: 0;
}

.content-page--doc .criteria-table th,
.content-page--doc .criteria-table td {
  padding: 5px 8px;
  line-height: 1.35;
}

.content-page--light .info-section.benefits-section {
  border: none;
  --benefits-banner-radius: 15px;
  --benefits-table-header-radius: 10px;
  --benefits-table-radius: 12px;
}

.benefits-title-bar {
  margin: -14px 0 16px;
  padding: 8px 12px;
  text-align: center;
  color: #ffffff !important;
  background: #0f4e8a;
  font-size: 20px !important;
  font-weight: 800;
  border-radius: var(--benefits-banner-radius) var(--benefits-banner-radius) 0 0;
}

.content-page--light .benefits-section .criteria-table-wrap {
  border-radius: var(--benefits-table-header-radius) var(--benefits-table-header-radius) var(--benefits-table-radius) var(--benefits-table-radius);
  overflow-x: auto;
  overflow-y: hidden;
}

.benefits-table th {
  background: #b8bec8;
  color: #1b2740;
}

.benefits-table td {
  /* background: #eceff3; */
  color: #1d2a46 !important;
}

/* Terms page: outer background from primary + white only */
body.terms-doc-page.page-light {
  background: color-mix(in srgb, var(--bsb-primary) 5%, var(--bsb-white));
}

.terms-page.content-page--light {
  background: var(--bsb-white);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--bsb-navy) 12%, transparent);
}

/* ===== Terms & Conditions (document layout; BSB palette only) ===== */
.terms-page-title-bar {
  margin: -24px -24px 28px;
  padding: 16px 20px;
  text-align: center;
  color: var(--bsb-white) !important;
  background: var(--bsb-primary);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  border-radius: 15px 15px 0 0;
}

.terms-page .terms-section-heading {
  margin: 0 0 16px;
  padding: 13px 56px 13px 20px;
  max-width: 100%;
  font-size: clamp(0.98rem, 1.9vw, 1.08rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--bsb-navy);
  letter-spacing: 0.01em;
  background: linear-gradient(90deg,
      color-mix(in srgb, var(--bsb-primary) 14%, var(--bsb-white)) 0%,
      color-mix(in srgb, var(--bsb-primary) 7%, var(--bsb-white)) 100%);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 100%, 0 100%);
  border-radius: 15px 0 0 15px;
}

.terms-section {
  margin: 0;
  padding: 28px 0 32px;
  border-bottom: 1px solid color-mix(in srgb, var(--bsb-primary) 18%, var(--bsb-white));
}

.terms-section:last-of-type {
  border-bottom: none;
  padding-bottom: 8px;
}

.terms-section-body {
  max-width: 72ch;
}

.terms-page .terms-intro {
  margin: 0 0 14px;
  color: var(--bsb-navy);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

.terms-page .terms-list {
  margin: 0;
  padding-left: 1.35rem;
  list-style-type: disc;
  color: var(--bsb-navy);
}

.terms-page .terms-list li {
  margin-bottom: 10px;
  padding-left: 0.35rem;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--bsb-navy);
}

.terms-page .terms-list li::marker {
  color: var(--bsb-primary);
  font-size: 0.85em;
}

.terms-page .terms-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .terms-page-title-bar {
    margin: -20px -16px 22px;
    border-radius: 12px 12px 0 0;
  }

  .terms-page {
    padding: 20px 16px 22px;
  }

  .terms-section {
    padding: 22px 0 26px;
  }

  .terms-page .terms-section-heading {
    padding: 12px 44px 12px 16px;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 100%, 0 100%);
  }
}

/* ===== Premium Tech Kit for Market Mover (document layout; BSB palette only) ===== */
body.premium-kit-doc-page.page-light {
  background: color-mix(in srgb, var(--bsb-primary) 5%, var(--bsb-white));
}

.premium-kit-page.content-page--light {
  background: var(--bsb-white);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--bsb-navy) 12%, transparent);
}

.premium-kit-title-bar {
  margin: -24px -24px 28px;
  padding: 16px 20px;
  text-align: center;
  color: var(--bsb-white) !important;
  background: var(--bsb-primary);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  border-radius: 15px 15px 0 0;
}

.premium-kit-page .premium-kit-section-heading {
  margin: 0 0 16px;
  padding: 13px 56px 13px 20px;
  max-width: 100%;
  font-size: clamp(0.98rem, 1.9vw, 1.08rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--bsb-navy);
  letter-spacing: 0.01em;
  background: linear-gradient(90deg,
      color-mix(in srgb, var(--bsb-primary) 14%, var(--bsb-white)) 0%,
      color-mix(in srgb, var(--bsb-primary) 7%, var(--bsb-white)) 100%);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 100%, 0 100%);
  border-radius: 15px 0 0 15px;
}

.premium-kit-intro {
  margin: 0 0 22px;
  color: var(--bsb-navy);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
  max-width: 72ch;
}

.premium-kit-intro strong {
  color: var(--bsb-primary);
  font-weight: 800;
}

.premium-kit-visual {
  margin: 0 auto 32px;
  padding: 0;
  max-width: min(720px, 100%);
}

.premium-kit-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--bsb-primary) 22%, var(--bsb-white));
  box-sizing: border-box;
}

.premium-kit-section {
  margin: 0;
  padding: 24px 0 32px;
  border-bottom: 1px solid color-mix(in srgb, var(--bsb-primary) 18%, var(--bsb-white));
}

.premium-kit-section:last-of-type {
  border-bottom: none;
  padding-bottom: 8px;
}

.premium-kit-section--with-visual {
  padding-bottom: 24px;
}

.premium-kit-section-body {
  max-width: 100%;
}

.premium-kit-split {
  display: flex;
  align-items: center;
  gap: 32px;
}

.premium-kit-split--reverse {
  flex-direction: row-reverse;
}

.premium-kit-split-text {
  flex: 1;
  min-width: 0;
}

.premium-kit-split-img {
  flex: 1.35;
  min-width: 0;
  margin: 0 !important;
}

@media (max-width: 768px) {

  .premium-kit-split,
  .premium-kit-split--reverse {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

.premium-kit-subhead {
  margin: 0 0 12px;
  color: var(--bsb-navy);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

.premium-kit-page .premium-kit-list {
  margin: 0;
  padding-left: 1.35rem;
  list-style-type: disc;
  color: var(--bsb-navy);
}

.premium-kit-page .premium-kit-list li {
  margin-bottom: 10px;
  padding-left: 0.35rem;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--bsb-navy);
}

.premium-kit-page .premium-kit-list li::marker {
  color: var(--bsb-primary);
  font-size: 0.85em;
}

.premium-kit-page .premium-kit-list li:last-child {
  margin-bottom: 0;
}

.premium-kit-caption {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  color: color-mix(in srgb, var(--bsb-navy) 88%, var(--bsb-white));
}

.premium-kit-title-bar--left {
  text-align: left;
}

.premium-kit-section--footer-band {
  padding-bottom: 0;
  border-bottom: none;
}

.premium-kit-admin-band {
  margin: 20px -24px -24px;
  padding: 28px 20px 32px;
  background: var(--bsb-primary);
  text-align: center;
  border-radius: 0 0 15px 15px;
  position: relative;
  overflow: hidden;
}

.premium-kit-admin-band::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 70%;
  background: radial-gradient(circle at 100% 100%,
      color-mix(in srgb, var(--bsb-white) 18%, transparent) 0%,
      transparent 55%);
  pointer-events: none;
}

.premium-kit-admin-band__label {
  margin: 0;
  display: inline-block;
  padding: 12px 28px;
  background: var(--bsb-white);
  color: var(--bsb-primary);
  font-weight: 800;
  font-size: 15px;
  border-radius: 14px;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .premium-kit-title-bar {
    margin: -20px -16px 22px;
    border-radius: 12px 12px 0 0;
  }

  .premium-kit-page {
    padding: 20px 16px 22px;
  }

  .premium-kit-visual {
    margin-bottom: 28px;
  }

  .premium-kit-section {
    padding: 8px 0 26px;
  }

  .premium-kit-page .premium-kit-section-heading {
    padding: 12px 44px 12px 16px;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 100%, 0 100%);
  }

  .premium-kit-visual img {
    border-radius: 12px;
  }

  .premium-kit-admin-band {
    margin: 20px -16px -22px;
    border-radius: 0 0 12px 12px;
  }
}

/* ===== Synopsis (roadmap table + notes; BSB palette only) ===== */
body.synopsis-doc-page.page-light {
  background: color-mix(in srgb, var(--bsb-primary) 5%, var(--bsb-white));
}

.synopsis-page.content-page--light {
  background: var(--bsb-white);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--bsb-navy) 12%, transparent);
}

.synopsis-title-bar {
  margin: -24px -24px 24px;
  padding: 16px 22px;
  text-align: left;
  color: var(--bsb-white) !important;
  background: var(--bsb-primary);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  border-radius: 15px 15px 0 0;
}

.synopsis-table-wrap {
  margin: 0 0 32px;
  border-radius: 15px;
  overflow: hidden;
  overflow-x: auto;
  border: none;
  box-shadow: none;
}

.synopsis-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.synopsis-table th,
.synopsis-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border: 1px solid color-mix(in srgb, var(--bsb-primary) 20%, var(--bsb-white));
  color: var(--bsb-navy);
}

.synopsis-table thead th {
  background: color-mix(in srgb, var(--bsb-primary) 12%, var(--bsb-white));
  color: var(--bsb-navy);
  font-weight: 800;
  font-size: 13px;
}

.synopsis-table__no {
  width: 52px;
  text-align: center !important;
  font-weight: 700;
}

.synopsis-table__milestones {
  min-width: 280px;
}

.synopsis-milestone-block {
  margin-bottom: 14px;
}

.synopsis-milestone-block:last-child {
  margin-bottom: 0;
}

.synopsis-milestone-block strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--bsb-navy);
}

.synopsis-milestone-block ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.synopsis-milestone-block li {
  margin-bottom: 4px;
  color: var(--bsb-navy);
}

.synopsis-milestone-block li::marker {
  color: var(--bsb-primary);
}

.synopsis-milestone-block-list {
  margin: 0;
  padding-left: 1.25rem;
  list-style-type: disc;
  color: var(--bsb-navy);
}

.synopsis-milestone-block-list li {
  margin-bottom: 6px;
}

.synopsis-milestone-block-list li::marker {
  color: var(--bsb-primary);
}

.synopsis-notes {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--bsb-primary) 18%, var(--bsb-white));
}

.synopsis-notes__title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bsb-navy);
}

.synopsis-notes__list {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--bsb-navy);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
}

.synopsis-notes__list li {
  margin-bottom: 12px;
  padding-left: 0.35rem;
}

.synopsis-notes__list li::marker {
  color: var(--bsb-primary);
  font-weight: 800;
}

@media (max-width: 640px) {
  .synopsis-title-bar {
    margin: -20px -16px 20px;
    border-radius: 12px 12px 0 0;
    padding: 14px 18px;
  }

  .synopsis-page.content-page--light {
    padding: 20px 16px 22px;
  }

  .synopsis-table-wrap {
    border-radius: 12px;
    margin-bottom: 26px;
  }

  .synopsis-table {
    min-width: 640px;
  }
}

/* ===== FAQ accordion (BSB palette only) ===== */
body.faq-doc-page.page-light {
  background: color-mix(in srgb, var(--bsb-primary) 5%, var(--bsb-white));
}

.faq-page.content-page--light {
  background: var(--bsb-white);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--bsb-navy) 12%, transparent);
}

.faq-title-bar {
  margin: -24px -24px 24px;
  padding: 16px 22px;
  text-align: left;
  color: var(--bsb-white) !important;
  background: var(--bsb-primary);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  border-radius: 15px 15px 0 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  margin: 0;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--bsb-primary) 18%, var(--bsb-white));
  background: color-mix(in srgb, var(--bsb-primary) 6%, var(--bsb-white));
  overflow: hidden;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--bsb-navy) 6%, transparent);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.45;
  color: var(--bsb-primary);
  list-style: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::marker {
  content: "";
}

.faq-item__question-text {
  flex: 1;
  text-align: left;
}

.faq-item__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--bsb-primary) 12%, var(--bsb-white));
  color: var(--bsb-primary);
  transition: transform 0.2s ease;
}

.faq-item__icon i {
  font-size: 18px;
  line-height: 1;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__panel {
  padding: 0 18px 18px;
  border-top: 1px solid color-mix(in srgb, var(--bsb-primary) 14%, var(--bsb-white));
}

.faq-item__panel p {
  margin: 14px 0 10px;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--bsb-navy);
}

.faq-item__panel p:first-child {
  margin-top: 14px;
}

.faq-item__panel ul {
  margin: 0 0 4px;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.faq-item__panel li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--bsb-navy);
}

.faq-item__panel li::marker {
  color: var(--bsb-primary);
}

@media (max-width: 640px) {
  .faq-title-bar {
    margin: -20px -16px 20px;
    border-radius: 12px 12px 0 0;
    padding: 14px 18px;
  }

  .faq-page.content-page--light {
    padding: 20px 16px 22px;
  }

  .faq-item__question {
    padding: 14px 14px;
    font-size: 14px;
  }

  .faq-item__panel {
    padding: 0 14px 16px;
  }
}

/* Market Mover legal terms block (on terms page; BSB palette only) */
.terms-mmv-intro {
  margin: 0 0 8px;
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.terms-mmv-doc-title {
  margin: 0 0 10px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--bsb-navy);
  letter-spacing: 0.02em;
}

.terms-mmv-doc-lead {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--bsb-primary);
}

.terms-mmv-sep {
  margin: 20px 0;
  border: none;
  border-top: 1px solid color-mix(in srgb, var(--bsb-primary) 22%, var(--bsb-white));
}

.terms-mmv-body .terms-mmv-clause {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--bsb-navy);
}

.terms-mmv-body .terms-mmv-clause:last-child {
  margin-bottom: 0;
}

.terms-mmv-num {
  display: inline-block;
  min-width: 2.25rem;
  font-weight: 800;
  color: var(--bsb-primary);
}

.terms-mmv-closing {
  margin: 24px 0 20px;
  padding: 20px 18px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--bsb-primary) 8%, var(--bsb-white));
  border: 1px solid color-mix(in srgb, var(--bsb-primary) 16%, var(--bsb-white));
}

.terms-mmv-closing__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bsb-navy);
}

.terms-mmv-closing p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
  color: var(--bsb-navy);
}

.terms-mmv-after-note {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--bsb-primary);
  text-align: center;
}

.site-footer {
  margin-top: 32px;
  margin-left: -18px;
  margin-right: -18px;
  width: calc(100% + 36px);
  margin-bottom: 0;
  background: linear-gradient(180deg, #01113f 0%, #000727 100%);
  color: var(--bsb-white);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 28px;
}

.footer-logo-wrap {
  max-width: 258px;
  margin-left: -8px;
}

.footer-logo-wrap img {
  width: 100%;
  height: auto;
}

.footer-tagline {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 330px;
}

.footer-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--bsb-accent-yellow);
  margin-bottom: 10px;
}

.footer-links,
.footer-contact {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.footer-social {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--bsb-white);
  text-decoration: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.footer-contact li i {
  color: var(--bsb-accent-yellow);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  margin-bottom: 0;
}

/* Nav drawer: wide breakpoint so long menus (Synopsis, Premium Tech Kit, etc.) fit via hamburger */
@media (max-width: 1439px) {
  body {
    padding: 84px 0 0;
  }

  body.nav-menu-open {
    overflow: hidden;
  }

  .top-navbar {
    overflow: visible;
  }

  .top-navbar.open {
    box-shadow: 0 16px 40px rgba(0, 7, 43, 0.28);
  }

  .top-navbar__inner {
    min-height: 64px;
    padding: 12px 14px;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0;
  }

  .top-navbar__brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px;
    padding: 0;
  }

  /* Readable on tablet + phone (was 36px — too small next to hamburger) */
  .top-navbar__brand img {
    height: clamp(44px, 7vw, 56px);
    width: auto;
    max-height: 56px;
  }

  .top-navbar__toggle {
    display: inline-flex;
    order: 2;
    flex-shrink: 0;
    margin-left: 0;
    width: 46px;
    height: 46px;
  }

  .top-navbar__list {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin-top: 10px;
    padding: 8px;
    border-radius: 10px;
    background: #0a5b9e;
    border: 1px solid rgba(255, 255, 255, 0.22);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: min(75vh, 520px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1002;
    box-sizing: border-box;
  }

  .top-navbar.open .top-navbar__list {
    display: flex;
  }

  .top-navbar__link {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
    white-space: normal;
    word-break: break-word;
    justify-content: flex-start;
    border-radius: 8px;
    box-sizing: border-box;
  }
}

@media (max-width: 1099px) {
  .site-footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 16px 16px;
  }

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

@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .event-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .event-details-grid,
  .event-why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
  }

  .event-detail-card {
    min-height: 0;
  }

  .event-why-card {
    min-height: 0;
  }

  .event-block {
    padding-left: 12px;
    padding-right: 12px;
  }

  .event-why {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ===== Event landing page (event-details.html) ===== */
body.event-details-page {
  background: var(--bsb-primary);
}

.event-landing-main {
  padding: 0;
  max-width: 100%;
}

.event-landing {
  width: 100%;
}

.event-hero {
  position: relative;
  padding: 1px 20px 48px;
  text-align: center;
  background: var(--bsb-primary);
}

.event-hero__logo {
  display: block;
  margin: 0 auto 20px;
}

.event-hero__logo img {
  height: 48px;
  width: auto;
  display: inline-block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.event-hero h1 {
  color: var(--bsb-white);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.event-hero__tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 720px;
  margin: 0 auto 12px;
  line-height: 1.4;
}

.event-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.event-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.event-btn--primary {
  background: var(--bsb-accent-yellow);
  color: #1a1a1a;
  border: none;
  box-shadow: 0 8px 24px rgba(251, 192, 45, 0.35);
}

.event-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(251, 192, 45, 0.45);
}

.event-btn--outline {
  background: transparent;
  color: var(--bsb-white);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.event-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.event-block {
  padding: 0 16px 28px;
  background: var(--bsb-primary);
}

.event-block__title {
  text-align: center;
  color: var(--bsb-white);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 800;
  margin-bottom: 24px;
}

/* Two cards per row; next pair stacks below (readable on laptop & mobile) */
.event-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
  max-width: min(980px, 100%);
  margin: 0 auto;
  align-items: stretch;
}

.event-detail-card {
  background: var(--bsb-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 7, 43, 0.22);
  display: flex;
  flex-direction: column;
  min-height: 158px;
}

.event-detail-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(90deg, #e8f1fb, #f5f9ff);
  border-bottom: 1px solid #d8e4f0;
  flex-shrink: 0;
}

.event-detail-card__head i {
  font-size: 22px;
  color: var(--bsb-primary);
}

.event-detail-card__head span {
  font-size: 14px;
  font-weight: 800;
  color: #0d2540;
  letter-spacing: 0.02em;
}

.event-detail-card__body {
  padding: 16px 18px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #27324a;
  flex: 1;
}

.event-detail-card__body strong {
  display: block;
  font-size: 15px;
  color: #0d2540;
  margin-bottom: 6px;
}

.event-why {
  padding: 12px 20px 32px;
  background: var(--bsb-primary);
}

.event-why__title {
  text-align: center;
  color: var(--bsb-white);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.event-why__subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.event-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
  max-width: min(980px, 100%);
  margin: 0 auto;
  align-items: stretch;
}

.event-why-card {
  background: var(--bsb-white);
  border-radius: 16px;
  padding: 18px 20px 20px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 7, 43, 0.2);
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-why-card--highlight {
  background: linear-gradient(180deg, #fff9e6, #fff3cc);
  border: 2px solid rgba(251, 192, 45, 0.55);
}

.event-why-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: #eef4fc;
  color: var(--bsb-primary);
  flex-shrink: 0;
}

.event-why-card--highlight .event-why-card__icon {
  background: #ffe8a3;
  color: #b45309;
}

.event-why-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0d2540;
  margin-bottom: 8px;
  line-height: 1.25;
}

.event-why-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #3d4a63;
  margin: 0;
  flex: 1;
}

.event-why-card--highlight p {
  color: #3d3510;
}

/* ===== How It Works Page ===== */
.how-works-page {
  width: min(1060px, 100%);
}

.how-works-panel {
  background: #f4f8fc !important;
  border: 1px solid #cedfeb !important;
}

.how-works-panel--flow {
  margin-bottom: 20px;
}

.how-works-panel--steps {
  margin-top: 8px;
}

.how-works-title {
  display: inline-block;
  background: #c8d8ee;
  color: #0d2240 !important;
  font-size: 22px;
  font-weight: 800;
  padding: 8px 18px;
  margin: 0 0 16px;
  border-radius: 4px;
}

.how-works-title--flow {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 18px;
  box-sizing: border-box;
}

.how-works-diagram-frame {
  background: #ffffff;
  border-radius: 12px;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid #b7cde0;
  box-shadow: 0 8px 28px rgba(6, 78, 141, 0.1);
}

.how-works-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background: #ffffff;
}

/* Bulleted steps (reference layout) */
.how-works-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}

.how-works-bullets li {
  position: relative;
  background: #dce5ee;
  color: #064e8d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  border-radius: 12px;
  padding: 16px 18px 16px 20px;
  margin-bottom: 12px;
  border-left: 4px solid var(--bsb-primary);
}

.how-works-ordered {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: howworks-step;
}

.how-works-ordered>li {
  position: relative;
  background: #dce5ee;
  color: #0c4f8f;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  border-radius: 14px;
  padding: 16px 20px 16px 54px;
  margin-bottom: 14px;
  counter-increment: howworks-step;
}

.how-works-ordered>li::before {
  content: counter(howworks-step) ".";
  position: absolute;
  left: 20px;
  top: 16px;
  color: #0c4f8f;
  font-weight: 800;
}

.how-works-sublist {
  list-style: disc;
  margin: 12px 0 0 22px;
  padding-left: 14px;
}

.how-works-sublist li {
  background: transparent !important;
  color: #064E8D;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .how-works-title {
    font-size: 17px;
    padding: 8px 14px;
  }

  .how-works-title--flow {
    text-align: left;
  }

  .how-works-bullets li {
    font-size: 14px;
    padding: 14px 14px 14px 16px;
  }

  .how-works-ordered>li {
    font-size: 14px;
    padding: 12px 14px;
  }

  .how-works-sublist li {
    font-size: 13px;
  }
}