/* Approved public pages. Load after each page-specific stylesheet.
   About is the reference: 24px sections, 24/16px layout gaps, 8px titles.
   Product-card, price-box, font, image and animation rules are not changed. */
:root {
  --bf-preview-section-space: 24px;
  --bf-preview-layout-gap: 24px;
  --bf-preview-title-gap: 8px;
  --bf-preview-copy-gap: 12px;
  --bf-preview-lead-gap: 16px;
  --bf-public-page-start: var(--bf-preview-section-space);
}

/* One start gap per page. Premium previously carried it inside its hero. */
body[data-public-page] main#app { padding-top: var(--bf-public-page-start); }
.premium-landing > .pl-hero > .pl-hero-inner {
  padding-top: 0;
  padding-bottom: var(--bf-preview-section-space);
  gap: var(--bf-preview-layout-gap);
}

/* About: retain the approved section structure and its existing inner spaces. */
.about-page {
  --about-section-space: var(--bf-preview-section-space);
  --about-layout-gap: var(--bf-preview-layout-gap);
}
.about-page .about-purpose,
.about-page .about-visitors-layout,
.about-page .about-owners { padding-block: var(--bf-preview-section-space); }
.about-page .about-purpose,
.about-page .about-visitors-layout,
.about-page .about-owners-layout { gap: var(--bf-preview-layout-gap); }

/* Newly joined salons: one outer rhythm, without changing the salon cards. */
.new-directory { padding-block: var(--bf-preview-section-space); }
.new-directory > .new-intro {
  gap: var(--bf-preview-layout-gap);
  margin-bottom: 0;
}
.new-directory > .salon-grid { margin-top: var(--bf-preview-section-space); }
.new-directory > .future-salons {
  margin-top: var(--bf-preview-section-space);
  padding-top: var(--bf-preview-section-space);
}
.future-salons > .future-heading { margin-bottom: var(--bf-preview-section-space); }
.community-invite-band {
  margin-block: 0;
  padding-block: var(--bf-preview-section-space);
}
.community-invite-band > .community-invite {
  margin-block: 0;
  padding-block: 0;
  gap: var(--bf-preview-layout-gap);
}

/* Discovery: keep the search overlap and the compact guide-card interiors. */
.home-discovery-body > .home-discovery-guides {
  margin-top: var(--bf-preview-section-space);
  margin-bottom: 0;
  gap: var(--bf-preview-layout-gap);
}
.home-discovery-body > .home-discovery-directory {
  padding-top: var(--bf-preview-section-space);
  padding-bottom: 0;
}
.home-discovery-directory > .section-heading,
.audience-section > .section-heading {
  margin-bottom: var(--bf-preview-section-space);
  gap: var(--bf-preview-layout-gap);
}
.home-discovery-body + .audience-section { padding-block: var(--bf-preview-section-space); }
.audience-section > .audience-grid { gap: var(--bf-preview-layout-gap); }
.discovery-faq-preview { padding-block: var(--bf-preview-section-space); }
.discovery-faq-preview > .search-faq { margin-block: 0; padding-block: 0; }
.how-section.discovery-steps-preview { padding-block: var(--bf-preview-section-space); }
.discovery-steps-preview > .how-layout { gap: var(--bf-preview-layout-gap); }
/* The FAQ rows retain their page-specific 44px minimum and compact padding. */

/* Premium: section spacing is owned by one container, never both wrappers. */
.premium-landing > .pl-proofline {
  padding-block: var(--bf-preview-copy-gap);
  gap: var(--bf-preview-layout-gap);
}
.premium-landing > .pl-section,
.premium-landing > .pl-showcase-section > .pl-section,
.premium-landing > .pl-start-section > .pl-section {
  padding-block: var(--bf-preview-section-space);
}
.premium-landing > .pl-showcase-section,
.premium-landing > .pl-start-section { margin-block: 0; padding-block: 0; }
.premium-landing .pl-heading {
  margin-bottom: var(--bf-preview-section-space);
  gap: var(--bf-preview-layout-gap);
}
.premium-landing .pl-showcase-toolbar { margin-bottom: var(--bf-preview-section-space); }
.premium-landing .pl-showcase-grid { gap: var(--bf-preview-layout-gap); }
.premium-landing .pl-start-grid {
  margin-top: var(--bf-preview-section-space);
  gap: var(--bf-preview-layout-gap);
}
.premium-landing .pl-start-links { margin-top: var(--bf-preview-section-space); }
.premium-landing > .premium-sales-faq { padding-block: var(--bf-preview-section-space); }
.premium-landing > .premium-sales-faq > .premium-sales-section-heading {
  margin-bottom: var(--bf-preview-section-space);
}
.premium-landing > .pl-final {
  margin-top: 0;
  margin-bottom: var(--bf-preview-section-space);
  padding-block: var(--bf-preview-section-space);
  gap: var(--bf-preview-layout-gap);
}

/* Salon-owner page keeps its composition and follows the same outer rhythm. */
body[data-public-page="owners"] #app > .owner-intro { padding-top: 0; padding-bottom: var(--bf-preview-section-space); gap: var(--bf-preview-layout-gap); }
body[data-public-page="owners"] #app > .owner-finder-section,
body[data-public-page="owners"] #app > .owner-onboarding,
body[data-public-page="owners"] #app > .owner-premium-benefits,
body[data-public-page="owners"] #app > .owner-upgrade-banner,
body[data-public-page="owners"] #app > .premium-sales-faq { padding-block: var(--bf-preview-section-space); }
body[data-public-page="owners"] #app .owner-onboarding .section-heading,
body[data-public-page="owners"] #app .owner-premium-benefits .premium-sales-section-heading,
body[data-public-page="owners"] #app .premium-sales-faq .premium-sales-section-heading { margin-bottom: var(--bf-preview-section-space); }

/* Reuse About's title and introductory-copy rhythm, without changing type. */
.about-purpose h2,
.about-visitors h2,
.about-owners h2,
.new-intro h2,
.future-heading h3,
.community-invite h2,
.home-discovery-guides .guide-home-intro h2,
.home-discovery-directory .section-heading h2,
.audience-section > .section-heading h2,
.discovery-faq-preview .search-faq h2,
.discovery-steps-preview .how-intro h2,
.premium-landing .pl-heading h2,
.premium-landing .pl-start-section h2,
.premium-landing .premium-sales-section-heading h2,
.premium-landing .pl-final h2 { margin-top: var(--bf-preview-title-gap); }
.new-intro > p,
.audience-section > .section-heading p,
.discovery-steps-preview .how-intro > p { margin-top: var(--bf-preview-lead-gap); }
.future-heading > p { margin-top: var(--bf-preview-copy-gap); }

@media (max-width: 760px) {
  :root { --bf-preview-layout-gap: 16px; }
}

.public-design-notice { flex-basis: 100%; margin: 8px 0 0; color: var(--bf-theme-muted,#6b746b); font-size: 10px; line-height: 1.5; }
.public-design-notice[hidden] { display: none; }
/* Public examples disclose their illustrative nature once in the shared footer. */
body[data-public-page] .premium-benefit-image-note,
body[data-public-page] .pl-visual-note.is-photo-label,
body[data-public-page] .pl-visual-note.is-example-label { display: none; }
@media (max-width: 620px) {
  /* Keep the complete white About headline legible over the bright photo. */
  .about-hero .hero-shade { background: linear-gradient(90deg, #0a251ee6 0%, #0a251ed1 55%, #0a251e99 100%); }
}

/* Public hero titles share the existing product type scale on every device.
   Auth forms, account headings and miniature profile examples retain their roles. */
html body #app :is(.home-discovery-hero, .owner-intro, .pl-hero) h1,
html body #app .creator-hero h1 {
  font-size: var(--bf-hero-title-size);
  line-height: 1.15;
  font-family: var(--bf-font);
}
html body #app :is(.section-heading, .pl-heading, .owner-section-heading) h2,
html body :is(.creator-section-heading, .partner-section-heading) h2 {
  font-size: var(--bf-section-title-size);
  line-height: 1.25;
}
.site-footer .public-design-notice {
  font-family: var(--bf-font);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
