:root {
  --bb-navy: #071447;
  --bb-blue: #1f3a60;
  --bb-blue-soft: #315a88;
  --bb-ink: #17243a;
  --bb-muted: #5d6876;
  --bb-line: #dce4ee;
  --bb-surface: #ffffff;
  --bb-background: #f4f7fb;
  --bb-focus: #f4b942;
}

.bb-catalog-privacy-notice {
  margin: 12px 0 2px;
  color: #526071;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

.bb-catalog-privacy-notice a,
.bb-legal-link {
  color: #244f80;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bb-catalog-privacy-notice a:hover,
.bb-legal-link:hover {
  color: #153b69;
}

.bb-catalog-privacy-notice a:focus-visible,
.bb-legal-link:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(49, 90, 136, 0.32);
  outline-offset: 3px;
}

.footer-inner .bb-legal-link {
  color: inherit;
}

.bb-static-57fecedd7b .bb-legal-link {
  display: inline-block;
  margin-left: 12px;
}

body.bb-standalone {
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(83, 142, 201, 0.14), transparent 30rem),
    linear-gradient(180deg, #f9fbfe 0%, var(--bb-background) 100%);
  color: var(--bb-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

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

.bb-standalone a {
  color: #245b92;
  text-underline-offset: 3px;
}

.bb-standalone a:hover {
  color: #123f70;
}

.bb-standalone a:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--bb-focus);
  outline-offset: 4px;
}

.bb-standalone-header {
  border-bottom: 1px solid rgba(31, 58, 96, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.bb-standalone-header__inner,
.bb-standalone-main,
.bb-standalone-footer__inner {
  width: min(100% - 40px, 980px);
  margin-inline: auto;
}

.bb-standalone-header__inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bb-standalone-brand {
  display: inline-flex;
  align-items: center;
}

.bb-standalone-brand img {
  display: block;
  width: min(210px, 58vw);
  height: auto;
}

.bb-standalone-header__link {
  font-size: 0.92rem;
  font-weight: 750;
}

.bb-standalone-main {
  padding-block: 48px 64px;
}

.bb-document,
.bb-error-card {
  border: 1px solid var(--bb-line);
  border-radius: 24px;
  background: var(--bb-surface);
  box-shadow: 0 24px 64px rgba(31, 58, 96, 0.1);
}

.bb-document {
  padding: clamp(26px, 5vw, 58px);
}

.bb-document__eyebrow,
.bb-error-card__code {
  margin: 0 0 8px;
  color: var(--bb-blue-soft);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bb-document h1,
.bb-error-card h1 {
  margin: 0;
  color: var(--bb-navy);
  font-size: clamp(2rem, 6vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.bb-document__updated {
  margin: 14px 0 26px;
  color: var(--bb-muted);
  font-size: 0.9rem;
}

.bb-document__intro {
  margin: 0 0 34px;
  color: #33445b;
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.bb-document section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #e7edf4;
}

.bb-document h2 {
  margin: 0 0 12px;
  color: var(--bb-blue);
  font-size: clamp(1.22rem, 3vw, 1.55rem);
  line-height: 1.25;
}

.bb-document p,
.bb-document ul {
  margin-top: 0;
  margin-bottom: 14px;
}

.bb-document li + li {
  margin-top: 8px;
}

.bb-document strong {
  color: #1e3048;
}

.bb-review-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 4px solid #c48b18;
  border-radius: 8px;
  background: #fff8e8;
  color: #60470f;
  font-size: 0.92rem;
}

.bb-document__actions,
.bb-error-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.bb-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--bb-blue);
  border-radius: 11px;
  background: var(--bb-blue);
  color: #fff !important;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.bb-button:hover {
  background: #152f52;
}

.bb-button--secondary {
  background: #fff;
  color: var(--bb-blue) !important;
}

.bb-button--secondary:hover {
  background: #edf3f9;
}

.bb-standalone-footer {
  border-top: 1px solid rgba(31, 58, 96, 0.12);
  background: var(--bb-navy);
  color: #eaf1fb;
}

.bb-standalone-footer__inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.88rem;
}

.bb-standalone-footer a {
  color: #fff;
}

.bb-error-layout {
  display: grid;
  min-height: calc(100vh - 175px);
  min-height: calc(100dvh - 175px);
  place-items: center;
}

.bb-error-card {
  width: min(100%, 720px);
  padding: clamp(30px, 7vw, 64px);
  text-align: center;
}

.bb-error-card p {
  max-width: 580px;
  margin: 18px auto 0;
  color: var(--bb-muted);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.bb-error-card__actions {
  justify-content: center;
}

@media (max-width: 600px) {
  .bb-catalog-privacy-notice {
    font-size: 0.8rem;
  }

  .bb-static-57fecedd7b .bb-legal-link {
    display: block;
    margin: 10px 0 0;
  }

  .bb-standalone-header__inner,
  .bb-standalone-main,
  .bb-standalone-footer__inner {
    width: min(100% - 28px, 980px);
  }

  .bb-standalone-header__inner {
    min-height: 76px;
  }

  .bb-standalone-header__link {
    display: none;
  }

  .bb-standalone-main {
    padding-block: 28px 40px;
  }

  .bb-document,
  .bb-error-card {
    border-radius: 18px;
  }

  .bb-document ul {
    padding-left: 20px;
  }

  .bb-document__actions,
  .bb-error-card__actions {
    display: grid;
  }

  .bb-button {
    width: 100%;
  }

  .bb-standalone-footer__inner {
    min-height: 96px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
