/* BEFORE YOU POP™ — founder-approved typography and rich-color system.
 * Source of typography: approved BYP account sign-in + Jazzy Hairstyles.
 * Deliberately scoped to pages which import this file. Jazzy's existing provider
 * site, Mini/Kids, results formulas, media, and customer records are untouched.
 */
:root{
  --byp-rich-pink:#ff00c8;
  --byp-rich-blue:#144dff;
  --byp-rich-purple:#7900ef;
  --byp-rich-gold:#ffc43b;
  --byp-rich-black:#080511;
  --byp-type-heading:"Jost",ui-sans-serif,system-ui,sans-serif;
  --byp-type-body:"Manrope",ui-sans-serif,system-ui,sans-serif;
  /* Replace the faded supporting colors with saturated BYP accents. */
  --pink:var(--byp-rich-pink);
  --blue:var(--byp-rich-blue);
  --purple:var(--byp-rich-purple);
  --violet:var(--byp-rich-purple);
  --bridge:var(--byp-rich-purple);
  --softpink:#ff00c8;
  --softblue:#144dff;
  --lightblue:#144dff;
  --gold:var(--byp-rich-gold);
  --byp-wellness-strong:#7900ef;
  --byp-growth-strong:#05d2af;
  --byp-enjoyment-strong:#144dff;
  --byp-family-strong:#ff00c8;
}
html,body{
  font-family:var(--byp-type-body)!important;
}
/* Some legacy views explicitly assign system fonts on their inner containers.
 * Override those too, or they win over the body font through inheritance. */
body :is(
  #entryView,#entryView .byp-founder-home,#bypLifeView,
  #growthProtectionView,.checkflow,#studio,#batchForm,#preview,
  .byp-journey-layer,.hero-copy,.gp-form,.bl-hero,.intro,
  main,section,article,header,footer,nav,form
){
  font-family:var(--byp-type-body)!important;
}
body :is(p,a,li,small,summary,blockquote,button,input,select,textarea,option,label){
  font-family:var(--byp-type-body)!important;
}
/* Headlines match the elegant, airy Jost lettering of the approved login. */
body :is(h1,h2,h3,h4,h5,h6){
  font-family:var(--byp-type-heading)!important;
  text-wrap:balance;
}
body h1{
  font-weight:300!important;
  letter-spacing:.035em!important;
  line-height:1.13!important;
}
body h2{
  font-weight:400!important;
  letter-spacing:.022em!important;
  line-height:1.2!important;
}
body :is(h3,h4){
  font-weight:500!important;
  letter-spacing:.012em!important;
}
body :is(h5,h6){
  font-weight:600!important;
}
/* Old component headings hard-code Archivo or a system font. Align them while
 * leaving icon glyphs, code, score digits, and image-based logos untouched. */
body :is(
  .gp-sec-title,
  .gp-step-title .t,
  .gp-room-title,
  .gp-member-name,
  .bl-hero .bl-title,
  .bl-major b,
  .bl-section b,
  .bl-product h3,
  .byp-pop-copy b,
  .byp-journey-dialog .byp-welcome-brand
){
  font-family:var(--byp-type-heading)!important;
}
body :is(
  .eyebrow,.gp-room-eyebrow,.bl-kicker,
  .byp-guided-kicker,.byp-key-education-heading
){
  font-family:var(--byp-type-body)!important;
}
/* Keep large feature headings refined, but use comfortable UI weights for
 * key buttons, member lookup, scores and price choices. */
body :is(
  .gp-sec-title,.gp-step-title .t,.gp-room-title,
  .bl-major b,.bl-section b,.bl-product h3,.byp-pop-copy b
){
  font-weight:600!important;
  letter-spacing:.012em!important;
}
#entryView.byp-home-v4 .byp-founder-home{
  --byp-pink:var(--byp-rich-pink)!important;
  --byp-blue:var(--byp-rich-blue)!important;
  --byp-purple:var(--byp-rich-purple)!important;
}
/* Founder-approved saturated trio: fuchsia / royal electric blue / deep neon
 * purple. Keep the same color family in big gradient moments. */
#entryView.byp-home-v4 .byp-founder-title h1 em{
  background:linear-gradient(90deg,var(--byp-rich-pink),var(--byp-rich-purple) 53%,var(--byp-rich-blue))!important;
  background-clip:text!important;-webkit-background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
}
#entryView.byp-home-v4 .byp-pillar-actions .byp-v4-primary{
  background:linear-gradient(100deg,var(--byp-rich-pink),var(--byp-rich-purple),var(--byp-rich-blue))!important;
}
/* Keep electric blue and purple saturated in rich category accents. */
body [data-byp-category="wellness"]{--byp-card-accent:var(--byp-rich-purple)}
body [data-byp-category="enjoyment"]{--byp-card-accent:var(--byp-rich-blue)}
body [data-byp-category="family"]{--byp-card-accent:var(--byp-rich-pink)}

@media (max-width:560px){
  body h1{letter-spacing:.008em!important;line-height:1.15!important}
  body h2{letter-spacing:.008em!important}
}
