/* Shared foundation for the 2026-09 BOGO below-the-fold redesign (Osh / ConversionAlchemy,
   Figma "Week 38" — Micro Infusion Below the fold).

   Only tokens that the redesign introduces live here. Brand tokens that general.css already
   defines (--qure-charcoal, --color-orange, --base-color, --bg-light, font families) are
   reused as-is rather than re-declared, so a brand change still lands in one place. */
:root {
  --rd-ink: #212428; /* headings — matches --qure-charcoal */
  --rd-ink-2: #252525; /* stat numerals, nav labels */
  --rd-body: #242424; /* body copy */
  --rd-muted: #6d6d6d; /* footnotes, captions */
  --rd-muted-2: #666; /* carousel counter */
  --rd-accent: #ff5429; /* = --color-orange */
  --rd-accent-soft: #fff0ea; /* concern-pill background */
  --rd-mint: #c7e5db; /* progress fill, tick circles */
  --rd-track: #f2f2f2; /* progress track */
  --rd-surface: #f6f6f7; /* light section background */
  --rd-dark: #22262b; /* mobile pattern-interrupt background */
  --rd-hairline: #e6e6e6;

  /* ---- Type scale -------------------------------------------------------
     Measured off Osh's Figma renders at their native widths (1600 desktop /
     360 mobile) by cap-height, and cross-checked against the two sections we
     have exact Figma specs for: two-serums card copy reads 24px in both the
     measurement and the Figma spec, which calibrates the rest.

     Every section pulls from these tokens — no section sets a raw font-size
     for a shared role — so the scale stays uniform across anything we add. */
  --rd-fs-display: 46px; /* section h2 — Canela Light */
  --rd-fs-card-title: 40px; /* serum card name — Canela Light */
  --rd-fs-stat: 56px; /* 73% — Canela Light */
  --rd-fs-lede: 24px; /* section subtitle / intro line */
  --rd-fs-body: 20px; /* body paragraphs, review quotes, list items */
  --rd-fs-label: 18px; /* chips, benefit labels, small meta */
  --rd-fs-nav: 16px; /* carousel controls */
  --rd-fs-note: 14px; /* footnotes, captions, disclaimers */

  --rd-lh-display: 1.25;
  --rd-lh-lede: 1.35;
  --rd-lh-body: 1.5;

  --rd-radius-card: 12px;
  --rd-radius-pill: 999px;
  --rd-container: 1160px;
  --rd-gutter: 20px;
  --rd-section-y: 0px; /* see .rd-section below */
  --rd-section-y-mobile: 0px;
}

/* The page's .sections-stack is a flex column with gap:60px, and that gap is the
   rhythm every legacy section (hero, set-up, FAQ) already sits on. Adding our own
   vertical padding on top of it stacked to 148px between blocks, which read as dead
   space. So: no outer padding here — the stack gap is the single, uniform rhythm.

   Sections that paint a background are the exception: they need inner room or the
   copy touches the colour edge. Their background boundary supplies the separation,
   so the perceived gap stays the same 60px everywhere. */
.rd-section {
  background: #fff;
  padding: var(--rd-section-y) 0;
}
.rd-section--surface,
.po-section {
  padding: 56px 0;
  background: var(--rd-surface);
}

.rd-container {
  width: 100%;
  max-width: var(--rd-container);
  margin-inline: auto;
  padding-inline: var(--rd-gutter);
}

/* Display heading — Canela Light, the face Osh set every section title in. */
.rd-h2 {
  margin: 0;
  font-family: var(--heading-font-family), Georgia, serif;
  font-weight: 300;
  font-size: var(--rd-fs-display);
  line-height: var(--rd-lh-display);
  /* No tracking. Osh's Figma sets none on the section headings — the only tracked
     text in the design is the 73% stat (-1.68px) and a few small labels. A -0.5px
     here pulled the string ~15px narrower than the Figma render at 46px, which
     reads as a heavier weight even though the face is identical. */
  letter-spacing: normal;
  color: var(--rd-ink);
}
.rd-h2--center {
  text-align: center;
}

.rd-eyebrow {
  margin: 0 0 8px;
  font-family: var(--base-font-family), system-ui, sans-serif;
  font-size: var(--rd-fs-label);
  line-height: 1.375;
  color: var(--rd-body);
}

.rd-body {
  margin: 0;
  font-family: var(--base-font-family), system-ui, sans-serif;
  font-size: var(--rd-fs-body);
  line-height: var(--rd-lh-body);
  color: var(--rd-body);
}
.rd-note {
  margin: 0;
  font-family: var(--base-font-family), system-ui, sans-serif;
  font-size: var(--rd-fs-note);
  line-height: 20px;
  color: var(--rd-muted);
}

/* Concern chip — "Dark Spots", "Wrinkles", "Smokers Lines" */
.rd-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1.155px solid var(--rd-accent);
  border-radius: var(--rd-radius-pill);
  background: var(--rd-accent-soft);
  font-family: var(--base-font-family), system-ui, sans-serif;
  font-size: var(--rd-fs-label);
  line-height: 1;
  color: var(--rd-accent);
  white-space: nowrap;
}

/* Mint tick used by the benefit lists (clinic-price, how-it-works) */
.rd-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rd-mint);
}
.rd-tick::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 1.8px solid #12513f;
  border-bottom: 1.8px solid #12513f;
  transform: translateY(-1px) rotate(-45deg);
}

.rd-ticklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rd-ticklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--base-font-family), system-ui, sans-serif;
  font-size: var(--rd-fs-body);
  line-height: 1.4;
  color: var(--rd-body);
}

/* Carousel controls — round arrow buttons, shared by §1 and §3 */
.rd-arrow {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--rd-hairline);
  border-radius: 50%;
  background: #fff;
  color: var(--rd-ink);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.rd-arrow:hover:not(:disabled) {
  background: var(--rd-ink);
  border-color: var(--rd-ink);
  color: #fff;
}
.rd-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.rd-arrow--solid {
  background: var(--rd-ink);
  border-color: var(--rd-ink);
  color: #fff;
}
.rd-arrow svg {
  width: 15px;
  height: 15px;
}

.rd-dots {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* The dot looks 9px but takes a 23 x 37px tap: the ::before reaches into the gap and above and below, never
   into a neighbour's (Marko 2026-10-26; the dots measured 9 x 9 against a 24px minimum). */
.rd-dot::before {
  content: "";
  position: absolute;
  inset: -14px -7px;
}
.rd-dot {
  position: relative;
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--rd-ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.rd-dot[aria-current="true"] {
  background: var(--rd-ink);
}

@media (max-width: 1023px) {
  :root {
    --rd-gutter: 16px;
    --rd-fs-display: 28px;
    --rd-fs-card-title: 27px;
    --rd-fs-stat: 48px;
    --rd-fs-lede: 18px;
    --rd-fs-body: 17px;
    --rd-fs-label: 16px;
    --rd-fs-nav: 15px;
    --rd-fs-note: 13px;
  }
  .rd-h2 {
    line-height: 1.18;
  }
}
@media (max-width: 767px) {
  .rd-section {
    padding: var(--rd-section-y-mobile) 0;
  }
}

/* 360px (Galaxy-class Android) is narrower than Osh's own 360 frame once our 16px
   gutters are taken off, so a couple of the longer headings wrapped where the Figma
   keeps them on one line. One step down below 375px; 390+ is unaffected. */
@media (max-width: 374px) {
  :root {
    --rd-fs-display: 26px;
  }
}

/* Buy box: no grey band above or below it on this page (Marko, 2026-10-04). The
   padding comes from the shared purchase-form.css, which the subscription page also
   uses, so it is overridden here — `main #purchase-form` outranks `#purchase-form`
   at every breakpoint — rather than changed at the source. */
main #purchase-form {
  padding-top: 0;
  padding-bottom: 0;
}
/* Desktop keeps a 5px grey lip above and below, so the band does not cut flush against
   the heading and the card edge. Mobile (single column, <= 880px) stays at 0: there the
   section meets white, which already reads cleanly. */
@media (min-width: 881px) {
  main #purchase-form {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}
