:root {
  --bl-trust-red: #e33922;
  --bl-trust-red-dark: #bd2c1b;
  --bl-trust-bg: #121212;
  --bl-trust-surface: #1b1b1b;
  --bl-trust-raised: #232323;
  --bl-trust-border: #393939;
  --bl-trust-text: #eee;
  --bl-trust-muted: #b7b7b7;
  --bl-trust-glass: rgb(27 27 27 / 78%);
  --bl-trust-glass-raised: rgb(255 255 255 / 5%);
  --bl-trust-glass-border: rgb(255 255 255 / 12%);
  --bl-trust-glass-shadow: 0 22px 55px rgb(0 0 0 / 32%), inset 0 1px 0 rgb(255 255 255 / 5%);
}

.bl-form-privacy {
  box-sizing: border-box;
  margin: 14px 0;
  padding: 14px 16px;
  color: #d8d8d8;
  background: var(--bl-trust-glass-raised);
  border: 1px solid var(--bl-trust-glass-border);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
  font-size: 0.82rem;
  line-height: 1.55;
}

.bl-form-privacy a,
.bl-legal-page a {
  color: #ff7764;
  text-underline-offset: 3px;
}

.bl-legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 12px;
  box-sizing: border-box;
  width: 100%;
  padding: 12px max(14px, calc((100vw - 1180px) / 2));
  color: #aaa;
  background: #111;
  border-top: 1px solid #303030;
  font-size: 0.76rem;
  line-height: 1.4;
}

.bl-legal-nav a,
.bl-legal-nav button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 4px;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  cursor: pointer;
}

.bl-legal-nav a:hover,
.bl-legal-nav button:hover {
  color: #fff;
  text-decoration-color: var(--bl-trust-red);
}

.bl-legal-nav a:focus-visible,
.bl-legal-nav button:focus-visible,
.bl-legal-page a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.bl-legal-page {
  box-sizing: border-box;
  width: min(100% - 28px, 980px);
  margin: clamp(24px, 5vw, 56px) auto 72px;
  color: #d8d8d8;
}

.bl-legal-page__intro {
  position: relative;
  overflow: hidden;
  margin-bottom: 34px;
  padding: clamp(26px, 5vw, 52px);
  background:
    radial-gradient(circle at 92% 4%, rgb(227 57 34 / 14%), transparent 32%),
    var(--bl-trust-glass);
  border: 1px solid var(--bl-trust-glass-border);
  border-radius: 26px;
  box-shadow: var(--bl-trust-glass-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
}

.bl-legal-page__intro::after {
  position: absolute;
  right: 14px;
  bottom: -20px;
  color: rgb(255 255 255 / 3%);
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  content: "LEGAL";
  pointer-events: none;
}

.bl-legal-page__eyebrow {
  margin: 0 0 10px;
  color: #ff6f5a;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bl-legal-page h1 {
  position: relative;
  z-index: 1;
  max-width: 17ch;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.bl-legal-page h2 {
  margin: 42px 0 14px;
  padding-top: 16px;
  color: #fff;
  border-top: 1px solid #333;
  font-size: clamp(1.25rem, 3vw, 1.72rem);
  line-height: 1.15;
}

.bl-legal-page h3 {
  margin: 26px 0 9px;
  color: #f4f4f4;
  font-size: 1.05rem;
}

.bl-legal-page p,
.bl-legal-page li {
  max-width: 76ch;
  color: #d0d0d0;
  line-height: 1.75;
}

.bl-legal-page table {
  width: 100%;
  margin: 20px 0 30px;
  overflow: hidden;
  background: rgb(20 20 20 / 74%);
  border: 1px solid var(--bl-trust-glass-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  font-size: 0.87rem;
}

.bl-legal-page th,
.bl-legal-page td {
  padding: 14px;
  border-right: 1px solid var(--bl-trust-border);
  border-bottom: 1px solid var(--bl-trust-border);
  text-align: left;
  vertical-align: top;
}

.bl-legal-page th {
  color: #fff;
  background: #252525;
}

.bl-legal-page tr > :last-child {
  border-right: 0;
}

.bl-legal-page tbody tr:last-child td {
  border-bottom: 0;
}

.bl-legal-page__note {
  position: relative;
  padding: 16px 18px 16px 48px;
  color: #e4e4e4 !important;
  background: var(--bl-trust-glass-raised);
  border: 1px solid var(--bl-trust-glass-border);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
}

.bl-legal-page__note::before {
  position: absolute;
  top: 16px;
  left: 17px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: var(--bl-trust-red);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  content: "i";
}

.bl-legal-page .button[data-bl-open-consent] {
  min-height: 44px;
  padding: 7px 12px;
  color: #fff;
  background: var(--bl-trust-red);
  border: 1px solid var(--bl-trust-red);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.bl-legal-page .button[data-bl-open-consent]:hover {
  background: var(--bl-trust-red-dark);
}

.bl-direct-primary {
  width: 100%;
}

.bl-direct-page,
.bl-direct-page *,
.bl-direct-page *::before,
.bl-direct-page *::after {
  box-sizing: border-box;
}

.bl-direct-page {
  width: min(100%, 980px);
  margin-inline: auto;
  padding: clamp(32px, 7vw, 96px) clamp(14px, 4vw, 32px) clamp(64px, 9vw, 112px);
  color: var(--bl-trust-text);
}

.bl-direct-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 24px;
  overflow: hidden;
  padding: clamp(32px, 7vw, 72px);
  background:
    radial-gradient(circle at 92% 8%, rgb(227 57 34 / 17%), transparent 36%),
    var(--bl-trust-glass);
  border: 1px solid var(--bl-trust-glass-border);
  border-radius: 30px;
  box-shadow: var(--bl-trust-glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
}

.bl-direct-panel::after {
  position: absolute;
  z-index: -1;
  right: -8px;
  bottom: -34px;
  color: rgb(255 255 255 / 3%);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.09em;
  content: attr(data-mark);
  pointer-events: none;
}

.bl-direct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0;
  color: #ff6f5a;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.bl-direct-eyebrow span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--bl-trust-red);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgb(227 57 34 / 14%);
}

.bl-direct-panel h1 {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.bl-direct-panel > p:not(.bl-direct-eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 56ch;
  margin: 0;
  color: var(--bl-trust-muted);
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.7;
}

.bl-direct-action {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 58px;
  padding: 12px 18px;
  color: #fff !important;
  background: var(--bl-trust-red);
  border: 1px solid #ff725d;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgb(227 57 34 / 22%);
  font-size: 0.84rem;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.bl-direct-action strong {
  overflow-wrap: anywhere;
  font-size: clamp(0.88rem, 2.3vw, 1rem);
}

.bl-direct-action:hover {
  background: var(--bl-trust-red-dark);
  box-shadow: 0 16px 38px rgb(227 57 34 / 28%);
  transform: translateY(-2px);
}

.bl-direct-action:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 520px) {
  .bl-direct-panel {
    border-radius: 24px;
  }

  .bl-direct-action {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    padding-inline: 18px;
  }

  .bl-direct-action > span:first-child {
    display: none;
  }

  .bl-direct-action strong {
    overflow-wrap: normal;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bl-direct-action {
    transition: none;
  }
}

@media (max-width: 680px) {
  .bl-legal-page table,
  .bl-legal-page thead,
  .bl-legal-page tbody,
  .bl-legal-page tr,
  .bl-legal-page th,
  .bl-legal-page td {
    display: block;
  }

  .bl-legal-page thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .bl-legal-page tr {
    margin-bottom: 13px;
    overflow: hidden;
    border: 1px solid var(--bl-trust-glass-border);
    border-radius: 16px;
  }

  .bl-legal-page td {
    border: 0;
    border-bottom: 1px solid #303030;
  }

  .bl-legal-page td::before {
    display: block;
    margin-bottom: 4px;
    color: #ff705b;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    content: attr(data-label);
  }
}
