@import url("/static/css/brand-palette.css?v=20261017");

/* Beauty Bee document pages
   ---------------------------------------------------------------------------
   Privacy, Terms, Refund, Acceptable Use, AI Disclosure, Contact.

   These are read, not scanned, so the page is a single measured column rather
   than the landing page's artboard. Colours come from beauty-bee.css so the
   documents feel like the same product, but the ground is cream instead of
   sky: long-form text on a saturated blue is hard to read.                   */

.legal-page {
  margin: 0;
  background: var(--bb-pearl);
  color: var(--bb-charcoal);
  font-family: Nunito, ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.legal-skip {
  position: absolute;
  left: -9999px;
}

.legal-skip:focus {
  left: 16px;
  top: 16px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--bb-teal);
  color: var(--bb-pearl);
  text-decoration: none;
}

/* ------------------------------------------------------------------- header */

.legal-head {
  border-bottom: 1px solid rgba(var(--bb-teal-rgb), 0.12);
  background: var(--bb-powder);
}

.legal-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-left)) 18px;
}

.legal-wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--bb-charcoal);
  text-decoration: none;
}

.legal-wordmark img {
  width: 30px;
  height: 30px;
}

.legal-wordmark span {
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -.015em;
}

.legal-wordmark em {
  font-style: normal;
  color: var(--bb-charcoal);
}

.legal-back {
  color: rgba(var(--bb-ink-rgb), 0.78);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.legal-back:hover,
.legal-back:focus-visible { text-decoration: underline; }

/* --------------------------------------------------------------------- body */

.legal-main {
  max-width: 74ch;
  margin: 0 auto;
  padding: 56px max(20px, env(safe-area-inset-left)) 72px;
}

.legal-eyebrow {
  margin: 0 0 10px;
  color: var(--bb-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.legal-main h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.legal-lede {
  margin: 0 0 8px;
  color: var(--bb-muted);
  font-size: 17px;
}

.legal-updated {
  margin: 0 0 36px;
  color: var(--bb-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.legal-main h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.legal-main h3 {
  margin: 26px 0 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.005em;
}

.legal-main p,
.legal-main li { font-size: 16px; }

.legal-main ul,
.legal-main ol {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.legal-main a {
  color: var(--bb-teal);
  font-weight: 700;
  text-underline-offset: 2px;
}

/* --------------------------------------------------- the not-yet-written box */

.legal-draft {
  display: grid;
  gap: 10px;
  margin: 32px 0;
  padding: 24px 26px;
  border: 1px dashed rgba(var(--bb-teal-rgb), 0.5);
  border-radius: 14px;
  background: rgba(var(--bb-blush-rgb), 0.14);
}

.legal-draft strong {
  font-size: 17px;
  font-weight: 900;
}

.legal-draft p {
  margin: 0;
  color: var(--bb-muted);
  font-size: 15px;
}

/* ------------------------------------------------------------ contact blocks */

.legal-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin: 32px 0;
  padding: 0;
}

.legal-contact > div {
  padding: 20px 22px;
  border: 1px solid rgba(var(--bb-teal-rgb), 0.13);
  border-radius: 14px;
  background: #fffdf8;
}

.legal-contact dt {
  margin-bottom: 6px;
  color: var(--bb-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.legal-contact dd {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.legal-contact dd a {
  color: var(--bb-charcoal);
  text-decoration: none;
}

.legal-contact dd a:hover,
.legal-contact dd a:focus-visible { text-decoration: underline; }

.legal-contact .is-pending {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px dashed currentColor;
  color: var(--bb-muted);
  font-weight: 700;
}

@media (max-width: 560px) {
  .legal-main { padding-top: 40px; }
  .legal-head__inner { padding: 14px 18px; }
}

/* The one line on the About page that has to land. Given room and weight
   rather than quote marks, which would make it read as someone else's words. */
.about-pull {
  margin: 34px 0;
  padding-left: 20px;
  border-left: 3px solid var(--bb-line);
  font-size: clamp(20px, 3.2vw, 26px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.01em;
  text-wrap: balance;
}
