/* ==========================================================================
   SistaShop™ — Web / Signup (split layout + onboarding carousel)
   Loaded after style.css on the Signup page only (see
   resources/views/frontend/auth/signup.blade.php). Reuses the design
   tokens from style.css §01; everything here is specific to the
   two-column signup. Ported from public/ui/css/signup-onboard.css
   (design reference — kept byte-for-byte except the selectors noted
   below, which target `.split` by presence instead of a `.split-page`
   body class, so the shared frontend/layout/index.blade.php never has
   to be touched just for this one page).

   TABLE OF CONTENTS
   -----------------
   01. Split page shell (nav over aside, form column)
   02. Aside panel
   03. Carousel — slides, head copy, controls
   04. Stage — shared card primitives
   05. Slide 1 · Video Bio
   06. Slide 2 · Shop & book
   07. Slide 3 · Directory & tiers
   08. Slide 4 · Share, grow & earn
   08a. Slide 5 · Discover what women are buying
   08b. Slide 6 · Your privacy, protected
   09. Feature row
   10. Responsive
   ========================================================================== */


/* ==========================================================================
   01. SPLIT PAGE SHELL
   ========================================================================== */

/* The nav still floats over both columns (one <nav> spans the full
   width), but neither half is transparent any more — both .onboard-aside
   and .split__main scroll independently (see §01 below), and either one's
   scrolled content showing through the nav visually collides with
   whatever sits in it (logo on the left, Privacy/Terms/Logout on the
   right). .split is a plain 1fr 1fr grid (see §01), so a hard-stop
   gradient at the 50% mark lines up with the column boundary exactly,
   with no JS/markup needed to track it.
   Left half: solid #eaf0fd — .onboard-aside's own --ob-blue-soft (the top
   of its own background gradient, i.e. exactly what's directly behind the
   nav at rest), so the seam is invisible rather than a visible white
   patch over the aside's blue wash. Custom properties don't cross from
   .onboard-aside to this sibling <nav>, hence the literal hex instead of
   var(--ob-blue-soft) — keep this in sync with that value if it ever
   changes.
   Right half: solid var(--surface) (plain white), matching the page's
   own right-column background.
   Scoped with :has() (already used elsewhere in style.css, e.g.
   .page-main:has(.splash)) instead of a body class, so this applies only
   on the one page that renders a `.split` — no shared-layout edit needed. */
body:has(.split) .site-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  background: linear-gradient(to right, #eaf0fd 50%, var(--surface) 50%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 0;
}

@media (min-width: 1400px) {
  body:has(.split) .site-nav { padding: 0 48px; }
}

/* Privacy/Terms links crowd this floating header above the left carousel
   and right-column content — the split pages' own footer (below) already
   carries the same two links, so hide the header's copy here only. */
body:has(.split) .site-nav__legal {
  display: none;
}

/* Neutralises frontend/layout/index.blade.php's own <main class="page-main">
   wrapper (flex-center + padding) for this page only — .split itself is the
   full-bleed two-column shell, and the reference's OWN .page-main (the
   right column's inner content wrapper, rendered as a plain <div> below to
   avoid nesting two <main> landmarks) gets its layout from the rule further
   down instead. */
body:has(.split) > main.page-main {
  display: block;
  padding: 0;
}

/* The shared layout's own site-footer is hidden on this page — the
   reference's footer lives INSIDE .split__main instead (left-aligned to
   the form column, not spanning the full width). See .split__main
   .site-footer below. */
body:has(.split) > footer.site-footer {
  display: none;
}

/* Desktop/tablet: the whole page never scrolls — only the right column
   (.split__main) does, so the left carousel stays visually fixed while a
   long form (Category, VE, Role Selection, ...) scrolls past it. Undone
   below 992px (§10 Responsive), where the aside drops out and the page
   goes back to normal single-column scrolling. */
@media (min-width: 992px) {
  html:has(.split),
  body:has(.split) {
    height: 100%;
    overflow: hidden;
  }
}

.split {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Desktop/tablet only (see the height:100%/overflow:hidden rule above) —
   pins .split to exactly one viewport and clips anything that would
   otherwise push it taller, so .split__main's own overflow-y:auto below
   is what scrolls, never the page itself. */
@media (min-width: 992px) {
  .split {
    height: 100vh;
    overflow: hidden;
  }
}

.split__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

@media (min-width: 992px) {
  .split__main {
    /* min-height:0 overrides a flex item's default auto min-height,
       which would otherwise let this grow to fit its content instead of
       respecting the grid row's stretched (100vh) height — without it,
       overflow-y:auto below would never actually trigger. */
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* The aside gets its OWN independent scroll here too — separate from
     .split__main's — rather than being clipped: grid's own
     align-items:stretch gives it the full 100vh row height, and
     overflow-y:auto lets whatever doesn't fit scroll within just this
     column instead of pushing .split (and the page) taller.
     overflow-x stays hidden (the base .onboard-aside rule's own plain
     `overflow: hidden`, further down this file, was only ever for its
     glow decoration, never scroll-locking) so nothing spills sideways
     underneath the carousel. `.split .onboard-aside` (not the bare
     class) is deliberate: the base rule is a later, equal-specificity
     `.onboard-aside` selector, which would otherwise win on source order
     alone and silently reset this back to overflow:hidden. */
  .split .onboard-aside {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* Scrollbar hidden entirely for both independently-scrolling columns —
     Firefox via the standard property, WebKit/Chromium/Edge via the
     vendor pseudo-element (no standard equivalent yet). Purely cosmetic:
     overflow-y stays auto above, so wheel/touch/keyboard/programmatic
     scrolling all keep working exactly as before, there's just no visible
     track/thumb. */
  .split__main,
  .split .onboard-aside {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .split__main::-webkit-scrollbar,
  .split .onboard-aside::-webkit-scrollbar {
    display: none;
  }
}

.split__main .page-main {
  display: flex;
  justify-content: center;
  /* Deliberately no align-items:center — this shell is reused by ~20
     screens of very different heights (a one-field OTP screen vs. a
     full tier grid). Centering looked right for the shortest pages but
     put long ones' content far down the viewport with a dead gap above
     it — every reference screenshot instead shows content starting
     flush under the Privacy/Terms links, so that's the one rule that
     works at every content height. */
  /* --split-nav-h is the nav's REAL measured height (see
     initNavHeightTracking() in signup-carousel.js), not the fixed --nav-h
     token — .site-nav can wrap onto a second line at some viewport widths
     when it's showing Logout (only true once authenticated, mid-
     onboarding — every pre-auth screen's shorter Privacy/Terms-only nav
     never wraps, which is why this only ever surfaced on later steps).
     --nav-h stays the fallback for the instant before that JS runs, and
     for no-JS. */
  padding-top: calc(var(--split-nav-h, var(--nav-h)) + 24px);
}

.split__main .site-footer {
  flex: 0 0 auto;
  padding: 0 20px 26px;
  font-size: var(--fs-caption);
  color: var(--ink-tertiary);
}

/* .site-footer__copy specifically, NEVER a bare `span` — the footer's own
   Privacy/Terms row (.site-footer__links) also uses a plain <span> for its
   middle-dot separator, which this would otherwise ALSO force to
   display:block/100% width, breaking it onto its own line. */
.split__main .site-footer__copy {
  display: block;
  width: 100%;
  max-width: var(--shell-w);
  margin: 0 auto;
  text-align: left;
}

/* Back link above the progress bar */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-strong);
}
.back-link img { width: 16px; height: 16px; }
.back-link:hover { color: var(--sapphire); }

/* Step 1 of 5 — fill is 48px of the 346px track in the design */
.signup-progress-fill { width: 14%; }

/* The design leaves a larger pause between the fields and the CTA */
.signup-cta-gap { height: 48px; }


/* ==========================================================================
   02. ASIDE PANEL
   ========================================================================== */
.onboard-aside {
  --ob-blue-soft: #eaf0fd;
  --ob-grey-soft: #f7f8fa;
  --ob-shadow:    0 12px 16px rgba(11, 42, 140, .08);
  --ob-sapphire-grad: radial-gradient(ellipse 99% 99% at 30% 30%,
                      var(--grad-start) 0%,
                      #1a48cc 25%,
                      var(--grad-mid) 50%,
                      #102a61 75%,
                      #0d1d44 87.5%,
                      var(--grad-end) 100%);

  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 112px 72px 40px;
  background: linear-gradient(180deg, var(--ob-blue-soft) 0%, var(--ob-grey-soft) 100%);
  border-right: 1px solid var(--border);
}

/* Soft sapphire glow sitting behind the stage */
.onboard-aside__glow {
  position: absolute;
  left: 200px;
  top: 220px;
  width: 620px;
  height: 620px;
  max-width: none;
  pointer-events: none;
}

.onboard-aside__inner {
  position: relative;
  width: 100%;
  max-width: 576px;
  margin: 0 auto;
}

/* "Available on" row */
.onboard-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.onboard-platforms__label {
  margin-right: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-tertiary);
}

.onboard-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px 8px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  color: var(--ink-base);
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}


/* ==========================================================================
   03. CAROUSEL
   ========================================================================== */
.ob-carousel { position: relative; }

/* All slides share one grid cell so the track is as tall as the tallest
   slide and the controls below never jump between slides. */
.ob-carousel__track { display: grid; }

.ob-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 45px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}

.ob-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .45s ease, transform .45s ease, visibility 0s;
}

/* Per-slide rhythm from the design (copy length differs per slide) */
.ob-slide--gap-20 { gap: 20px; }
.ob-slide--gap-33 { gap: 33px; }

.ob-slide__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ob-slide__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
}

.ob-slide__eyebrow {
  font-size: 11px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: .88px;
  color: var(--sapphire);
}

.ob-slide__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 50px;
  color: var(--ink-base);
}

.ob-slide__lede {
  max-width: 480px;
  font-size: 15px;
  line-height: 23px;
  color: var(--ink-secondary);
}

/* -- Controls ------------------------------------------------------------- */
.ob-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  margin-top: 12px;
}

.ob-dots { display: flex; align-items: center; gap: 8px; }

.ob-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(138, 144, 153, .35);
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}
.ob-dot:hover { background: rgba(138, 144, 153, .6); }
.ob-dot[aria-selected="true"] {
  width: 24px;
  background: var(--sapphire);
  cursor: default;
}

.ob-arrows { display: flex; gap: 8px; }

.ob-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0 0 2px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-base);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.ob-arrow:hover { border-color: var(--border-outline); color: var(--sapphire); }


/* ==========================================================================
   04. STAGE — shared card primitives
   The stage is a 576 × 300 illustration composed at design scale, so its
   pieces are placed at the design's coordinates. js/signup-carousel.js
   sets --stage-scale so the whole canvas shrinks with a narrower aside.
   ========================================================================== */
.ob-stage {
  --stage-scale: 1;
  position: relative;
  width: 100%;
  height: calc(300px * var(--stage-scale));
}

.ob-stage__canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 576px;
  height: 300px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid #fff;
  border-radius: 24px;
  box-shadow: 0 20px 24px rgba(11, 42, 140, .06);
  transform: scale(var(--stage-scale));
  transform-origin: 0 0;
}

.ob-stage__canvas img { max-width: none; }

/* Generic white card */
.ob-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--ob-shadow);
}

/* Text placed at design coordinates */
.ob-at { position: absolute; margin: 0; white-space: nowrap; line-height: normal; }

/* Card micro-label, e.g. "YOUR SISTAFAM™" */
.ob-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .6px;
  color: var(--ink-tertiary);
}

.ob-t13s { font-size: 13px; font-weight: 600; color: var(--ink-base); }
.ob-t12s { font-size: 12px; font-weight: 600; color: var(--ink-base); }
.ob-t12m { font-size: 12px; font-weight: 500; color: var(--ink-base); }
.ob-t11m { font-size: 11px; font-weight: 500; color: var(--ink-base); }
.ob-t11  { font-size: 11px; color: var(--ink-secondary); }
.ob-t10  { font-size: 10px; color: var(--ink-secondary); }

/* Media card (video still + scrim) */
.ob-media {
  position: absolute;
  left: 23px;
  top: 23px;
  width: 264px;
  height: 252px;
  overflow: hidden;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(11, 42, 140, .08);
}

.ob-media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ob-media__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(5, 13, 38, .72) 100%);
}
.ob-media__scrim--35 {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(5, 13, 38, .75) 100%);
}

/* Small white pill tag on media ("VIDEO BIO", "3 TAGGED") */
.ob-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: .54px;
  color: var(--sapphire);
  background: var(--surface);
  border-radius: 999px;
}

/* Play button: white disc + the exported up-pointing triangle, turned 90° */
.ob-play     { position: absolute; }
.ob-play-tri { position: absolute; transform: rotate(90deg); }

/* Round avatar — each export includes its white ring, so it overhangs
   its 32/36px slot by 2px on every side. */
.ob-avatar { position: absolute; border-radius: 50%; }

/* Absolutely placed icon */
.ob-badge { position: absolute; }

/* Square slot that centres a tier glyph at full width */
.ob-badgebox {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ob-badgebox img { width: 100%; height: auto; }
.ob-badgebox--11 { width: 11px; height: 11px; }
.ob-badgebox--16 { width: 16px; height: 16px; }

/* Hairline divider */
.ob-rule { position: absolute; height: 1px; background: var(--border); }

/* Sapphire gradient pill button (small) */
.ob-grad-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  line-height: normal;
  color: #fff;
  border-radius: 999px;
  background: var(--ob-sapphire-grad);
}


/* ==========================================================================
   05. SLIDE 1 · VIDEO BIO
   ========================================================================== */
.ob-s1__play   { left: 106px; top: 92px; width: 52px; height: 52px; }
.ob-s1__tri    { left: 127.32px; top: 111.25px; width: 13.8564px; height: 13.5px; }
.ob-s1__avatar { left: 14px; top: 194px; width: 40px; height: 40px; }
.ob-s1__name   { left: 62px; top: 196px; font-size: 13px; font-weight: 600; color: #fff; }
.ob-s1__meta   { left: 62px; top: 215px; font-size: 12px; color: #fff; opacity: .85; }

.ob-verified {
  position: absolute;
  left: 311px;
  top: 23px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
  color: var(--ink-base);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.ob-verified img { width: 14px; height: 11px; }

.ob-s1__fam       { left: 311px; top: 71px; width: 240px; height: 84px; }
.ob-s1__fam-label { left: 15px; top: 13px; }
.ob-s1__fam-a1    { left: 13px; top: 33px; width: 36px; height: 36px; }
.ob-s1__fam-a2    { left: 35px; top: 33px; width: 36px; height: 36px; }
.ob-s1__fam-title { left: 77px; top: 33px; font-size: 14px; font-weight: 600; color: var(--ink-base); }
.ob-s1__fam-sub   { left: 77px; top: 51px; font-size: 12px; color: var(--ink-secondary); }

.ob-chip {
  position: absolute;
  left: 311px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: var(--fs-meta);
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  border-radius: 8px;
}
.ob-chip--blue { top: 167px; color: #2563eb; background: rgba(37, 99, 235, .08); }
.ob-chip--gold { top: 196px; color: #d4a24e; background: rgba(212, 162, 78, .08); }

.ob-chip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
}
.ob-s1__cat-baby { width: 13.75px; height: 13.03px; }
.ob-s1__cat-feed { width: 10.34px; height: 13.75px; }

.ob-s1__comm      { left: 311px; top: 229px; width: 240px; height: 46px; }
.ob-s1__comm-icon { left: 15px; top: 12px; width: 20px; height: 20px; }
.ob-s1__comm-amt  { left: 43px; top: 12px; font-size: 16px; font-weight: 700; color: var(--sapphire); }
.ob-s1__comm-sub  { left: 127px; top: 15px; }


/* ==========================================================================
   06. SLIDE 2 · SHOP & BOOK
   ========================================================================== */
.ob-s2__play { left: 110px; top: 70px; width: 44px; height: 44px; }
.ob-s2__tri  { left: 127.94px; top: 86px; width: 12.1244px; height: 12px; }

.ob-product {
  position: absolute;
  left: 16px;
  top: 156px;
  width: 232px;
  height: 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 10px rgba(11, 42, 140, .2);
}

.ob-product__img {
  position: absolute;
  left: 11px;
  top: 15px;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
}

.ob-s2__p-title { left: 69px; top: 13px; }
.ob-s2__p-sub   { left: 69px; top: 30px; }
.ob-s2__p-btn   { left: 69px; top: 47px; width: 92px; height: 24px; }

.ob-s2__book  { left: 311px; top: 23px; width: 240px; height: 132px; }
.ob-s2__label { left: 15px; top: 15px; }

.ob-slot {
  position: absolute;
  top: 35px;
  width: 64px;
  height: 40px;
  text-align: center;
  line-height: normal;
  background: var(--ob-grey-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.ob-slot__day  { display: block; margin-top: 5px; font-size: 10px; font-weight: 600; color: var(--ink-secondary); }
.ob-slot__time { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: var(--ink-base); }

.ob-slot.is-selected { background: var(--sapphire); border-color: var(--sapphire); }
.ob-slot.is-selected .ob-slot__day,
.ob-slot.is-selected .ob-slot__time { color: #fff; }

.ob-s2__slot-1 { left: 15px; }
.ob-s2__slot-2 { left: 87px; }
.ob-s2__slot-3 { left: 159px; }

.ob-s2__b-sub { left: 15px; top: 87px; }
.ob-s2__b-btn { left: 15px; top: 103px; width: 208px; height: 22px; }

.ob-s2__order   { left: 311px; top: 171px; width: 240px; height: 104px; }
.ob-s2__o-icon  { left: 15px; top: 15px; width: 20px; height: 20px; }
.ob-s2__o-title { left: 43px; top: 13px; }
.ob-s2__o-sub   { left: 43px; top: 31px; }
.ob-s2__o-rule  { left: 15px; top: 55px; width: 208px; }

.ob-track       { position: absolute; height: 4px; border-radius: 999px; background: var(--border); }
.ob-track--fill { background: var(--sapphire); }
.ob-s2__o-track { left: 15px; top: 69px; width: 208px; }
.ob-s2__o-fill  { left: 15px; top: 69px; width: 140px; }

.ob-step            { top: 79px; font-size: 9px; color: var(--ink-tertiary); }
.ob-step.is-current { font-weight: 600; color: var(--sapphire); }
.ob-s2__o-step-1 { left: 15px; }
.ob-s2__o-step-2 { left: 95px; }
.ob-s2__o-step-3 { left: 177px; }


/* ==========================================================================
   07. SLIDE 3 · DIRECTORY & TIERS
   ========================================================================== */
.ob-s3__dir { left: 23px; top: 23px; width: 264px; height: 252px; }

.ob-search {
  position: absolute;
  left: 15px;
  top: 15px;
  width: 232px;
  height: 34px;
  background: var(--ob-grey-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.ob-s3__search-icon { left: 11px; top: 8px; width: 14px; height: 14px; }
.ob-s3__search-text { left: 35px; top: 8px; }

/* Directory rows repeat every 46px */
.ob-s3__row { position: absolute; left: 0; width: 100%; height: 46px; }
.ob-s3__row--1 { top: 0; }
.ob-s3__row--2 { top: 46px; }
.ob-s3__row--3 { top: 92px; }
.ob-s3__row--4 { top: 138px; }

.ob-s3__r-avatar { left: 13px; top: 61px; width: 36px; height: 36px; }
.ob-s3__r-name   { left: 57px; top: 64px; }
.ob-s3__r-badge  { left: 57px; top: 81px; }
.ob-s3__r-meta   { left: 73px; top: 80px; }

.ob-s3__rule    { left: 15px; width: 232px; }
.ob-s3__rule--1 { top: 103px; }
.ob-s3__rule--2 { top: 149px; }
.ob-s3__rule--3 { top: 195px; }

.ob-s3__tiers { left: 311px; top: 23px; width: 240px; height: 168px; }
.ob-s3__label { left: 15px; top: 15px; }

/* Tier rows repeat every 32px */
.ob-s3__tier { position: absolute; left: 0; width: 100%; height: 32px; }
.ob-s3__tier--1 { top: 0; }
.ob-s3__tier--2 { top: 32px; }
.ob-s3__tier--3 { top: 64px; }
.ob-s3__tier--4 { top: 96px; }

.ob-s3__t-badge { left: 15px; top: 40px; }
.ob-s3__t-name  { left: 43px; top: 37px; }
.ob-s3__t-sub   { left: 43px; top: 52px; }

.ob-s3__leader { left: 311px; top: 207px; width: 240px; height: 68px; }
.ob-s3__l-meta { left: 15px; top: 43px; }

/* Category Leader ribbon · sash */
.ob-ribbon {
  position: absolute;
  left: 15px;
  top: 11px;
  width: 144px;
  height: 24px;
}
.ob-ribbon img { position: absolute; }
.ob-ribbon__band   { left: -3.2px; top: -1.6px; width: 150.4px; height: 24px; }
.ob-ribbon__stripe { left: 7.33px; top: 12.8px; width: 125.673px; height: 1.6px; }
.ob-ribbon__gloss  { left: 2.44px; top: 3.2px; width: 137.891px; height: 2.4px; }
.ob-ribbon__text {
  position: absolute;
  left: 30.4px;
  top: 4.8px;
  font-size: 7.6px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: .608px;
  white-space: nowrap;
  color: var(--ink-strong);
}


/* ==========================================================================
   08. SLIDE 4 · SHARE, GROW & EARN
   ========================================================================== */
.ob-earnings {
  position: absolute;
  left: 23px;
  top: 23px;
  width: 264px;
  height: 252px;
  color: #fff;
  border-radius: 16px;
  box-shadow: var(--ob-shadow);
  background: var(--ob-sapphire-grad);
}

.ob-earnings .ob-label  { color: #fff; opacity: .8; }
.ob-earnings__total     { font-size: 30px; font-weight: 700; }
.ob-earnings__delta     { font-size: 12px; font-weight: 500; opacity: .9; }
.ob-earnings__name      { font-size: 12px; font-weight: 600; }
.ob-earnings__sub       { font-size: 10px; opacity: .7; }
.ob-earnings__amt       { width: 64px; font-size: 12px; font-weight: 600; text-align: right; }
.ob-earnings__rule {
  position: absolute;
  left: 20px;
  top: 106px;
  width: 224px;
  height: 1px;
  background: rgba(255, 255, 255, .2);
}

.ob-s4__e-label { left: 20px; top: 18px; }
.ob-s4__e-total { left: 20px; top: 36px; }
.ob-s4__e-delta { left: 20px; top: 80px; }

.ob-s4__e-name-1 { left: 20px; top: 120px; }
.ob-s4__e-sub-1  { left: 20px; top: 136px; }
.ob-s4__e-amt-1  { left: 180px; top: 124px; }
.ob-s4__e-name-2 { left: 20px; top: 160px; }
.ob-s4__e-sub-2  { left: 20px; top: 176px; }
.ob-s4__e-amt-2  { left: 180px; top: 164px; }
.ob-s4__e-name-3 { left: 20px; top: 200px; }
.ob-s4__e-sub-3  { left: 20px; top: 216px; }
.ob-s4__e-amt-3  { left: 180px; top: 204px; }

.ob-s4__share { left: 311px; top: 23px; width: 240px; height: 120px; }
.ob-s4__label { left: 15px; top: 15px; }

.ob-link {
  position: absolute;
  left: 15px;
  top: 35px;
  width: 208px;
  height: 32px;
  background: var(--ob-grey-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.ob-s4__link-icon { left: 9.69px; top: 50%; width: 14.6236px; height: 14.624px; transform: translateY(-50%); }
.ob-s4__link-text { left: 31px; top: 8px; }
.ob-s4__s-sub     { left: 15px; top: 77px; }

.ob-mini-tag {
  position: absolute;
  top: 93px;
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: .54px;
  white-space: nowrap;
  color: var(--sapphire);
  background: var(--sapphire-tint);
  border-radius: 999px;
}
.ob-s4__tag-1 { left: 15px; }
.ob-s4__tag-2 { left: 95px; }

.ob-s4__growth   { left: 311px; top: 159px; width: 240px; height: 116px; }
.ob-s4__g-a1     { left: 13px; top: 35px; width: 32px; height: 32px; }
.ob-s4__g-a2     { left: 31px; top: 35px; width: 32px; height: 32px; }
.ob-s4__g-title  { left: 69px; top: 37px; }
.ob-s4__g-sub    { left: 69px; top: 55px; }
.ob-s4__g-rule   { left: 15px; top: 77px; width: 208px; }
.ob-s4__g-icon   { left: 15px; top: 87px; width: 15px; height: 15px; }
.ob-s4__g-payout { left: 39px; top: 88px; }


/* -- Shared bits used by slides 5 & 6 ------------------------------------- */
.ob-slide--gap-38 { gap: 38px; }

/* Cards on slides 5–6 are drawn with a hairline only, no drop shadow */
.ob-card--flat { box-shadow: none; }

.ob-label--sm { font-size: 8.5px; letter-spacing: .68px; }
.ob-label--xs { font-size: 7.5px; letter-spacing: .6px; white-space: normal; }

/* Tiny status pill at design coordinates */
.ob-pill {
  position: absolute;
  padding: 3px 8px;
  font-size: 7px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: .42px;
  white-space: nowrap;
  border-radius: 999px;
}
.ob-pill--num      { padding: 3px 7px; font-size: 8px; letter-spacing: 0; }
.ob-pill--white    { color: var(--ink-base); background: #fff; }
.ob-pill--muted    { color: var(--ink-secondary); opacity: .72; }
.ob-pill--sapphire { color: #fff; background: var(--sapphire); }
.ob-pill--sapphire-ink { color: var(--sapphire); }
.ob-pill--tint     { color: var(--sapphire); background: var(--sapphire-tint); }
.ob-pill--green    { color: var(--positive); background: #e6f5ec; }
.ob-pill--gold     { color: #d4a24e; background: #fdf5e6; }


/* ==========================================================================
   08a. SLIDE 5 · DISCOVER WHAT WOMEN ARE BUYING
   ========================================================================== */
.ob-s5__feed {
  position: absolute;
  left: 23px;
  top: 23px;
  width: 150px;
  height: 252px;
  overflow: hidden;
  border-radius: 16px;
}
.ob-s5__feed-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 55%, rgba(8, 13, 31, .85) 100%);
}
.ob-s5__feed .ob-pill--white { font-size: 8px; letter-spacing: 0; }
.ob-s5__pill-fert   { left: 10px; top: 10px; }
.ob-s5__pill-preg   { left: 62px; top: 10px; }
.ob-s5__pill-buying { left: 10px; top: 34px; }
.ob-s5__play { left: 57px; top: 96px; width: 36px; height: 36px; }
.ob-s5__name { left: 12px; top: 206px; font-size: 11px; font-weight: 600; color: #fff; }
.ob-s5__meta { left: 12px; top: 222px; width: 120px; font-size: 8px; color: #fff; opacity: .85; white-space: normal; }

/* Shop / Share rail on the feed card */
.ob-s5__actions {
  position: absolute;
  right: 10px;
  top: 176.74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7.25px;
  transform: translateY(-50%);
}
.ob-s5__act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 5.95px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 0 5.175px rgba(8, 14, 26, .35), 0 .518px 1.553px rgba(8, 14, 26, .55);
}
.ob-s5__act-icon { display: flex; align-items: center; justify-content: center; width: 16.56px; height: 16.56px; }

/* Trending list */
.ob-s5__trend { left: 189px; top: 23px; width: 220px; height: 252px; }
.ob-s5__trend-label { left: 13px; top: 13px; }
.ob-s5__week { left: 149px; top: 9px; }

.ob-s5__rank  { font-size: 11px; font-weight: 700; color: var(--ink-tertiary); }
.ob-s5__thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 10px; }
.ob-s5__item  { font-size: 10px; font-weight: 600; color: var(--ink-base); }
.ob-s5__sub   { width: 88px; font-size: 8px; color: var(--ink-secondary); white-space: normal; }

.ob-s5__rank.ob-s5__r1  { left: 13px; top: 47px; }
.ob-s5__thumb.ob-s5__r1 { left: 29px; top: 39px; }
.ob-s5__item.ob-s5__r1  { left: 79px; top: 41px; }
.ob-s5__sub.ob-s5__r1   { left: 79px; top: 56px; }
.ob-s5__rank.ob-s5__r2  { left: 13px; top: 113px; }
.ob-s5__thumb.ob-s5__r2 { left: 29px; top: 105px; }
.ob-s5__item.ob-s5__r2  { left: 79px; top: 107px; }
.ob-s5__sub.ob-s5__r2   { left: 79px; top: 125px; }
.ob-s5__rank.ob-s5__r3  { left: 13px; top: 179px; }
.ob-s5__thumb.ob-s5__r3 { left: 29px; top: 171px; }
.ob-s5__item.ob-s5__r3  { left: 79px; top: 173px; width: 88px; white-space: normal; }
.ob-s5__sub.ob-s5__r3   { left: 79px; top: 188px; }

.ob-s5__d1 { left: 158px; top: 56px; }
.ob-s5__d2 { left: 157px; top: 122px; }
.ob-s5__d3 { left: 165px; top: 187px; }

.ob-s5__hair { left: 13px; width: 192px; }
.ob-s5__hair--1 { top: 93px; }
.ob-s5__hair--2 { top: 159px; }

/* Leadership position */
.ob-s5__pos { left: 425px; top: 23px; width: 126px; height: 120px; }
.ob-s5__pos-label   { left: 11px; top: 11px; width: 104px; }
.ob-s5__held        { left: 11px; top: 23px; }
.ob-s5__pos-title   { left: 11px; top: 43px; width: 104px; font-size: 10px; font-weight: 600; color: var(--ink-base); white-space: normal; }
.ob-s5__pos-country { left: 11px; top: 71px; font-size: 8.5px; color: var(--ink-secondary); }
.ob-s5__preview {
  position: absolute;
  left: 11px;
  top: 87px;
  width: 102px;
  height: 18px;
  font-size: 8px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  color: var(--sapphire);
  background: var(--sapphire-tint);
  border-radius: 10px;
}

/* High demand */
.ob-s5__demand {
  position: absolute;
  left: 425px;
  top: 159px;
  width: 126px;
  height: 116px;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(137.37deg, #1444c4 0%, #0d246b 71.43%);
}
.ob-s5__demand-label { left: 12px; top: 12px; font-size: 7.5px; font-weight: 600; letter-spacing: .6px; opacity: .8; }
.ob-s5__demand-num   { left: 12px; top: 21px; font-size: 26px; font-weight: 700; }
.ob-s5__demand-sub   { left: 12px; top: 55px; width: 102px; font-size: 8.5px; opacity: .85; white-space: normal; }
.ob-s5__demand-foot  { left: 12px; top: 95px; font-size: 7.5px; font-weight: 600; opacity: .9; }
.ob-s5__bar {
  position: absolute;
  left: 12px;
  top: 85px;
  width: 102px;
  height: 6px;
  background: #fff;
  border-radius: 3px;
  opacity: .25;
}
.ob-s5__bar--fill { width: 74px; opacity: 1; }


/* ==========================================================================
   08b. SLIDE 6 · YOUR PRIVACY, PROTECTED
   ========================================================================== */
.ob-s6__shield-card {
  position: absolute;
  left: 23px;
  top: 23px;
  width: 176px;
  height: 252px;
  overflow: hidden;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(132.96deg, #1444c4 0%, #0d2166 71.43%);
}
.ob-s6__glow   { left: 40px; top: -60px; width: 200px; height: 200px; }
.ob-s6__shield { left: 52px; top: 28px; width: 72px; height: 84px; }
.ob-s6__id-title { left: 16px; top: 126px; width: 144px; font-size: 13px; font-weight: 600; text-align: center; }
.ob-s6__id-text  { left: 16px; top: 146px; width: 144px; font-size: 8.5px; text-align: center; white-space: normal; opacity: .82; }
.ob-s6__private  { left: 40px; top: 212px; padding: 3px 9px; }

/* Privacy controls */
.ob-s6__controls { left: 215px; top: 23px; width: 214px; height: 252px; }
.ob-s6__ctl-label { left: 13px; top: 13px; }
.ob-s6__ctl-title { left: 13px; width: 140px; font-size: 10.5px; font-weight: 600; color: var(--ink-base); }
.ob-s6__ctl-sub   { left: 13px; width: 140px; font-size: 8.5px; color: var(--ink-secondary); }
.ob-s6__toggle    { left: 169px; width: 30px; height: 18px; }

.ob-s6__ctl-title.ob-s6__c1 { top: 41px; }
.ob-s6__ctl-sub.ob-s6__c1   { top: 57px; }
.ob-s6__toggle.ob-s6__c1    { top: 45px; }
.ob-s6__ctl-title.ob-s6__c2 { top: 93px; }
.ob-s6__ctl-sub.ob-s6__c2   { top: 109px; }
.ob-s6__toggle.ob-s6__c2    { top: 97px; }
.ob-s6__ctl-title.ob-s6__c3 { top: 145px; }
.ob-s6__ctl-sub.ob-s6__c3   { top: 161px; }
.ob-s6__toggle.ob-s6__c3    { top: 149px; }
.ob-s6__ctl-title.ob-s6__c4 { top: 197px; }
.ob-s6__ctl-sub.ob-s6__c4   { top: 213px; }
.ob-s6__toggle.ob-s6__c4    { top: 201px; }

.ob-s6__hair { left: 13px; width: 186px; }
.ob-s6__hair--1 { top: 81px; }
.ob-s6__hair--2 { top: 133px; }
.ob-s6__hair--3 { top: 185px; }

/* Mobile number + Your data */
.ob-s6__mobile { left: 445px; top: 23px; width: 106px; height: 110px; }
.ob-s6__data   { left: 445px; top: 149px; width: 106px; height: 126px; }
.ob-s6__mini-label { left: 11px; top: 11px; width: 84px; }
.ob-s6__number   { left: 11px; top: 29px; font-size: 11px; font-weight: 600; color: var(--ink-base); }
.ob-s6__mini-sub { left: 11px; top: 47px; width: 84px; font-size: 8.5px; color: var(--ink-secondary); white-space: normal; }
.ob-s6__never    { left: 11px; top: 75px; }

.ob-s6__data-btn {
  position: absolute;
  left: 11px;
  width: 82px;
  height: 22px;
  font-size: 8px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  border-radius: 11px;
}
.ob-s6__export { top: 29px; color: var(--sapphire); background: var(--sapphire-tint); }
.ob-s6__delete { top: 57px; color: #b23a5a; background: #f8f0f2; }
.ob-s6__data-note { left: 11px; top: 87px; width: 84px; font-size: 7.5px; color: var(--ink-secondary); white-space: normal; }


/* ==========================================================================
   09. FEATURE ROW
   ========================================================================== */
.ob-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 176px));
  gap: 24px;
  min-height: 105px;
}

.ob-feature__icon {
  position: relative;
  width: 36px;
  height: 36px;
}
.ob-feature__icon img { position: absolute; max-width: none; }
.ob-feature__ring  { left: 0; top: 0; width: 36px; height: 36px; }
.ob-feature__glyph { left: 9px; top: 9px; width: 18px; height: 18px; }
/* The share glyph is drawn inset 9.38% inside its 18px slot */
.ob-feature__glyph--share { left: 10.69px; top: 10.69px; width: 14.6236px; height: 14.624px; }

.ob-feature__title {
  margin: 10px 0 3px;
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
  color: var(--ink-base);
}

.ob-feature__text {
  font-size: 12px;
  line-height: 17px;
  color: var(--ink-secondary);
}


/* ==========================================================================
   10. RESPONSIVE
   ========================================================================== */
@media (max-width: 1279.98px) {
  .onboard-aside { padding: 112px 48px 36px; }
  .ob-slide__title { font-size: 38px; line-height: 44px; }
  .ob-features { gap: 16px; }
}

/* Below desktop the aside is dropped and the page reverts to the
   single centred column used by every other onboarding screen. */
@media (max-width: 991.98px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .onboard-aside { display: none; }

  /* `sticky`, not `static` — the desktop rule's own `position: absolute`
     (floating over both columns, no space reserved for it) never left the
     nav any real space to scroll back into if it wasn't pinned here: a
     plain `static` nav that isn't kept on screen scrolls away on the very
     first scroll (even a few px, e.g. a field's own focus-scroll on a
     real phone) and never comes back, since nothing below it ever pushes
     it back into view — it just reads as "missing". Sticky matches the
     exact same non-split `.site-nav` behavior every other page on the
     site already has (style.css's own base rule, `position: sticky; top:
     0;`), just reapplied here since the desktop-only absolute rule above
     would otherwise still win. */
  body:has(.split) .site-nav {
    position: sticky;
    top: 0;
    background: var(--glass-nav);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .split__main .page-main { padding-top: var(--main-top); }
  .split__main .site-footer__copy { text-align: center; }

  /* Any split-layout screen that wants its trailing CTA pinned to the
     bottom of the viewport — Login/OTP/choose-profile/confirm-video/
     choose-thumbnail/ready (.auth-shell__spacer, every breakpoint) and
     the Welcome/home screen (resources/views/frontend/index.blade.php's
     own page-unique .hero-spacer, mobile/tablet only — see its own
     comment in index.blade.php for why it's a separate class rather than
     reusing .auth-shell__spacer there). Detected by :has() instead of a
     per-page class, so this applies to all of them at once and to any
     future screen that adds its own .auth-shell__spacer, without having
     to repeat this fix per page.

     Verified via DevTools (Welcome, mobile): the REAL <main class="page-
     main"> (this section's own `body:has(.split) > main.page-main
     { display: block; }` rule at the very top of this file, §01) is
     already a genuine 100%-viewport-tall box at this breakpoint — it's a
     flex child of <body>, which flex-grows it to fill the space below
     .site-nav. But that <main> was just switched to display:block, and a
     plain block element never stretches a block child to fill its own
     height the way a flex/grid parent would — so .split (an ordinary
     block child of it once the grid's own forced min-height:100vh is
     removed, just above) was sizing to its own content only, leaving the
     real extra space unclaimed below it (and below .site-footer, inside
     .split__main) instead of above the spacer/CTA.
     height:100% on .split (percentage) looked right but doesn't actually
     resolve — confirmed in DevTools, computed height stayed at .split's
     own content size. A percentage height only resolves against an
     ancestor's own *specified* height; <main>'s height here is just the
     result of flex-grow (body stretching it to fill the space below the
     nav), which CSS doesn't count as "specified" for a percentage
     *grandchild* to resolve against — only flex-grow (distributing the
     flex container's own, however-derived, size directly to its items)
     sidesteps that rule. So <main> is switched back to a flex container
     here (overriding the shared display:block rule just for these pages)
     and .split sized with flex-grow instead of a percentage; everything
     below (.split__main's grid stretch, .page-main's own flex-grow from
     style.css's own base .page-main rule, the spacer itself) already
     worked correctly once .split has real height to pass down.

     `body:has(.split) > main.page-main:has(...)` (not the bare
     `.page-main:has(...)`) — needs to out-specify the `display: block`
     override at the very top of this file (`body:has(.split) > main.
     page-main`, §01), which otherwise wins regardless of source order
     since it's the more specific selector (an extra real `main` element
     + :has()). */
  body:has(.split) > main.page-main:has(.auth-shell__spacer, .hero-spacer) {
    display: flex;
    flex-direction: column;
  }

  main.page-main:has(.auth-shell__spacer, .hero-spacer) > .split {
    flex: 1 1 auto;
    min-height: 0;
  }

  .split__main .page-main.home-shell {
    flex: 1 1 auto;
  }

  .home-shell .hero-spacer {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ob-slide { transform: none; }
}
