/* Body copy: one size for running text across the site. Change it here.

   Loaded last on every page. Pages carry many older size rules (some with
   !important, some inside phone media queries); the :not(#sj-type) part never
   matches anything to exclude, it only lifts these rules above all of them.
   Inline body copy (FAQ and "Learn More" answers, concern page paragraphs)
   uses var(--body-size) directly in the HTML.

   Deliberately left at their own sizes: headings, quotes, card blurbs
   (product, concern-page treatment and pick cards), captions, labels, buttons,
   the menu, footer, cart and fine print. */
:root{--body-size:17px}

body{font-size:var(--body-size)}

/* Paragraphs with no class or size of their own, outside the menu, footer and cart */
html p:not([class]):not([style*="font-size"]):not(:is(footer,nav,.drawer,.cart-drawer,.site-nav) *):not(#sj-type),

/* Body copy classes, page by page */
html :is(
  .sh-sub,.meet-body,.meet-intro-body,.sec-body,.story-body,        /* home, about */
  .svd-text,.svd-note,.qb-note,.feat-note,.svc-card-desc,           /* treatment pages */
  .mc-desc,.mc-detail,.mp-perk,.mc-list li,                         /* memberships */
  .w-body,.w-faq-answer,.w-exp-body,.w-card li,                     /* wellness */
  .pol-body,.pol-note,.pol-list li,                                 /* policies */
  .review-text,                                                     /* reviews */
  .checker-sub,                                                     /* faq */
  .prod-acc-body p,.prod-acc-body li,                               /* product descriptions */
  .ab-body,.nf-body,.ct-intro,.onco-tx-body,.cat-desc,.prod-more p  /* stragglers that ran 16px */
):not(#sj-type){font-size:var(--body-size)!important;line-height:1.75!important}
html .mp-perk:not(#sj-type){font-weight:300!important;letter-spacing:normal!important}

/* Section headlines: one size everywhere (51.84px on a wide screen, 32px on
   phones), the size the closing call-to-action bands use. Card titles keep
   their own size. */
html :is(
  .sec h2,.sec-hl,.sec-header-hl,.sec-title,.split-hl,.cta-band-hl,.book-banner-hl,
  .ab-hl,.ct-hl,.onco-tx-hl,.mp-hl,.w-hl,.fq-cat-hl,.checker-hl,.cat-title,
  .pol-section-hl,.svc-group-head h2
):not(.svc-card-name):not(#sj-type){font-size:clamp(2rem,3.6vw,3.25rem)!important;letter-spacing:normal!important}

/* Small gold labels above headlines and on cards: one style, the homepage
   "Meet Sidney" label. */
html :is(
  .eyebrow,.eyebrow-sm,.partners-label,.w-label,.svc-card-label,.cx-eyebrow,.cx-label,
  .feat-label,.mc-sub,.w-stat-label,.ct-label,.pg-label,.nf-label,.bk-grp-label
):not(#sj-type){font-family:var(--fb),'Jost',sans-serif!important;font-size:.77rem!important;font-weight:400!important;letter-spacing:3px!important;text-transform:uppercase!important;color:#A08860!important}

/* FAQ ingredient checker and the product page's Unlock Price: the site's
   standard button size and type. */
html :is(.checker-btn,.prod-atc-btn):not(#sj-type){min-height:49px;padding:calc(1rem + 1px) 1.5rem calc(1rem - 1px) calc(1.5rem + 3px)!important;font-family:var(--fb),sans-serif!important;font-size:.75rem!important;font-weight:400!important;letter-spacing:3px!important;line-height:1.25!important;text-transform:uppercase!important;box-sizing:border-box}

/* Section spacing: content sections 96px above and below on a wide screen
   (56px on phones); closing call-to-action bands 112px (80px on phones). */
html :is(
  .sec,.meet,.membership-teaser,.quote-band,.ab-meet,.ab-story,.ct,.mp-faq,
  .w-split,.w-exp,.w-faq,.checker-wrap,.concern-shop
):not(#sj-type){padding-top:clamp(3.5rem,6.67vw,6rem)!important;padding-bottom:clamp(3.5rem,6.67vw,6rem)!important}
html :is(.cta-band,.book-banner,.mp-join):not(#sj-type){padding-top:clamp(5rem,7.78vw,7rem)!important;padding-bottom:clamp(5rem,7.78vw,7rem)!important}
