/* BASE LEGAL PAGE BACKGROUND */
.bb-body-legal {
  background:
    radial-gradient(circle at 0 0, rgba(255, 180, 75, 0.2), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(24, 196, 185, 0.18), transparent 55%),
    linear-gradient(145deg, #050612, #090b1e 42%, #151837 82%);
}

/* MAIN WRAPPER */
.bb-legal-main {
  padding-top: clamp(4.2rem, 6vw, 5.2rem);
}

/* HERO BLOCK */
.bb-legal-hero {
  padding-top: clamp(2.6rem, 4vw, 3.2rem);
  padding-bottom: clamp(2.4rem, 4vw, 3rem);
}

.bb-legal-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.1rem 2rem 2.4rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 0 0, rgba(255, 180, 75, 0.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(24, 196, 185, 0.22), transparent 55%),
    rgba(7, 8, 22, 0.97);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.88);
}

.bb-legal-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bb-accent-soft);
}

.bb-legal-title {
  margin: 0 0 0.6rem;
  font-family: "BazaarBloomDisplay", "Times New Roman", serif;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bb-legal-intro {
  margin: 0 0 0.8rem;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--bb-text-soft);
}

/* TABLE OF CONTENTS */
.bb-legal-toc {
  margin-top: 0.8rem;
}

.bb-legal-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.bb-legal-toc-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--bb-text-soft);
  text-decoration: none;
  background: rgba(5, 7, 20, 0.96);
  transition:
    border-color var(--bb-transition-fast),
    background-color var(--bb-transition-fast),
    color var(--bb-transition-fast),
    transform var(--bb-transition-fast);
}

.bb-legal-toc-list a:hover {
  border-color: rgba(255, 255, 255, 0.86);
  background: radial-gradient(circle at 0 0, rgba(255, 180, 75, 0.22), transparent 55%);
  color: #ffffff;
  transform: translateY(-1px);
}

/* SECTIONS */
.bb-legal-section {
  padding-block: 1.8rem;
}

.bb-legal-section-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.7rem 2rem 1.9rem;
  border-radius: 1.8rem;
  background: rgba(7, 8, 22, 0.97);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bb-legal-section-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "BazaarBloomDisplay", "Times New Roman", serif;
}

.bb-legal-section-inner p {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--bb-text-soft);
}

/* LISTS */
.bb-legal-list {
  margin: 0 0 0.6rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--bb-text-muted);
}

.bb-legal-list li + li {
  margin-top: 0.3rem;
}

/* NOTE */
.bb-legal-note {
  margin-top: 0.7rem;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--bb-text-muted);
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  padding-top: 0.55rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .bb-legal-hero-inner,
  .bb-legal-section-inner {
    padding-inline: 1.6rem;
  }
}

@media (max-width: 600px) {
  .bb-legal-hero-inner,
  .bb-legal-section-inner {
    padding-inline: 1.3rem;
    border-radius: 1.6rem;
  }

  .bb-legal-toc-list {
    gap: 0.25rem;
  }

  .bb-legal-toc-list a {
    font-size: 0.76rem;
  }
}
