:root {
  --bb-bg: #f1f0fe;
  --bb-text-primary: #000000;
  --bb-text-secondary: rgba(60, 60, 67, 0.75);
  --bb-button-bg: #6155f5;
  --bb-button-text: #ffffff;
  --bb-header-border: rgba(97, 85, 245, 0.09);
  --bb-header-label: #6155f5;
  --bb-overlay: rgba(255, 255, 255, 0.7);

  --bb-max-width: 764px;
  --bb-horizontal-padding: 32px;
  --bb-header-height: 60px;

  --bb-font-rounded: ui-rounded, "SF Pro Rounded", "SF Pro Text",
    "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
  --bb-font-serif: "New York", "New York Small", "Times New Roman", Georgia,
    serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bb-bg: #080714;
    --bb-text-primary: #ffffff;
    --bb-text-secondary: rgba(255, 255, 255, 0.85);
    --bb-button-bg: #6155f5;
    --bb-button-text: #ffffff;
    --bb-header-border: rgba(120, 120, 128, 0.16);
    --bb-header-label: #ffffff;
    --bb-overlay: rgba(0, 0, 0, 0.72);
  }
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

.bb-body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--bb-font-rounded);
  background-color: var(--bb-bg);
  color: var(--bb-text-primary);
}

.bb-skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 8px 12px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--bb-font-rounded);
  font-size: 14px;
  z-index: 1000;
}

.bb-skip-link:focus-visible {
  left: 16px;
}

.bb-modal-open {
  overflow: hidden;
}

.bb-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--bb-header-height);
  background-color: var(--bb-bg);
  border-bottom: 1px solid var(--bb-header-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-header__inner {
  width: 100%;
  max-width: var(--bb-max-width);
  padding: 8px var(--bb-horizontal-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--bb-header-height) - 1px);
}

.bb-header__logo {
  display: flex;
  align-items: center;
  transition: opacity 150ms ease-out;
}

.bb-header__logo:hover {
  opacity: 0.8;
}

.bb-logo {
  height: 24px;
  display: block;
}

.bb-logo--dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .bb-logo--light {
    display: none;
  }
  .bb-logo--dark {
    display: block;
  }
}

.bb-header__label {
  font-family: var(--bb-font-rounded);
  font-size: 18px;
  line-height: 1.25rem;
  letter-spacing: -0.23px;
  font-weight: 500;
  color: var(--bb-header-label);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.bb-main {
  min-height: calc(100vh - var(--bb-header-height));
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.bb-hero {
  width: 100%;
  max-width: var(--bb-max-width);
  padding: 32px var(--bb-horizontal-padding) 40px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}

.bb-hero__image-card {
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
}

.bb-hero__image,
.bb-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

.bb-hero__title {
  margin: 0;
  font-weight: 700;
  font-size: 38px;
  line-height: 2.6rem;
  letter-spacing: 0.38px;
  font-family: var(--bb-font-rounded);
}

.bb-hero__subtitle {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: normal;
  letter-spacing: -0.43px;
  color: var(--bb-text-secondary);
  font-family: var(--bb-font-serif);
}

.bb-hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bb-hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.bb-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 26px;
  border-radius: 1000px;
  background-color: var(--bb-button-bg);
  border: 0;
  cursor: pointer;
  color: var(--bb-button-text);
  text-decoration: none;
  font-size: 23px;
  line-height: 1.5rem;
  letter-spacing: -0.43px;
  font-weight: 500;
  font-family: var(--bb-font-rounded);
  white-space: nowrap;
  transition: opacity 150ms ease-out;
}

.bb-hero__cta:hover {
  opacity: 0.9;
}

.bb-hero__caption {
  margin: 0;
  font-size: 16px;
  line-height: 1rem;
  color: var(--bb-text-secondary);
  font-family: var(--bb-font-rounded);
}

.bb-hero__cta-group {
  margin-top: 8px;
  gap: 24px;
}

.bb-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  padding: 32px 0;
}

.bb-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.bb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--bb-overlay);
}

.bb-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--bb-max-width) - (var(--bb-horizontal-padding) * 2) - 64px);
  margin: 0 32px;
  border-radius: 32px;
  background-color: var(--bb-bg);
  border: 1px solid var(--bb-header-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.98);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.bb-modal.is-open .bb-modal__dialog {
  transform: scale(1);
  opacity: 1;
}

.bb-modal__body {
  padding: 0;
  border-radius: 0;
  overflow: visible;
  flex: 1;
}

.bb-modal__body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .bb-modal,
  .bb-modal__dialog,
  .bb-hero__cta,
  .bb-header__logo {
    transition: none !important;
  }
}

@media (max-width: 600px) {
  .bb-modal__dialog {
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 0;
    border: 0;
  }
  .bb-modal {
    padding: 0;
  }
}

.bb-modal__close {
  position: absolute;
  top: 4px;
  left: 4px;
  background: transparent;
  border: 0;
  color: var(--bb-text-secondary);
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

/* --- Privacy page --- */
.bb-page {
  width: 100%;
  max-width: var(--bb-max-width);
  padding: 32px var(--bb-horizontal-padding) 40px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  text-align: left;
}

.bb-page--privacy {
  padding-top: 48px;
  font-family: var(--bb-font-serif);
}

.bb-page__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bb-privacy__meta {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: normal;
  letter-spacing: -0.43px;
  color: var(--bb-text-secondary);
  font-family: var(--bb-font-serif);
}

.bb-privacy__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bb-privacy__heading {
  margin: 0;
  font-size: 18px;
  line-height: 1.4rem;
  letter-spacing: -0.23px;
  font-weight: 600;
  font-family: var(--bb-font-rounded);
  color: var(--bb-text-primary);
}

.bb-privacy__text {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.55rem;
  letter-spacing: -0.2px;
  color: var(--bb-text-secondary);
  font-family: var(--bb-font-serif);
}

.bb-privacy__list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.bb-privacy__list-item {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.55rem;
  letter-spacing: -0.2px;
  color: var(--bb-text-secondary);
  font-family: var(--bb-font-serif);
}

.bb-privacy__link {
  color: inherit;
  text-decoration: none;
}

.bb-privacy__link:hover {
  text-decoration: underline;
}
