/* ==========================================================================
   Mind Body 1 U feature cards (home page). Loaded after lb.css.

   .sc2  "showcase card", the BMI card's language: a three-part header
         (copy · one big number · one action) and a single oversized hero visual
         rising from the bottom edge, cropped by the card. Used for:
           .sc2--pep   Needle-free, by design   (troche tin + pinned callouts)
           .sc2--hair  The hair cycle            (phase arc + growing strand)
           .sc2--skin  Morning and night         (sun / moon half-disc + step chips)
   .ns   the three How it works phone screens (the template's .hiw layout is kept)
   ========================================================================== */

/* ---------- Showcase card base (mirrors .bmi-card) ---------- */
.sc2 {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  margin-top: 56px; min-height: 540px; padding: 40px 40px 0; border-radius: 28px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 32px;
  color: #fff;
  background: linear-gradient(165deg, rgba(246, 246, 240, .13) 0%, rgba(246, 246, 240, .04) 100%);
  border: 1px solid rgba(246, 246, 240, .12);
}
.sc2 .h-card { color: #fff; }
.sc2 .h-card em { color: var(--pearl); }
.wm--pep .sc2 .h-card em { color: var(--gold); }
.sc2__copy p { margin-top: 14px; max-width: 320px; font-size: var(--fs-body-sm); color: rgba(246, 246, 240, .78); }
.sc2__stat { position: relative; text-align: center; padding-top: 6px; min-width: 260px; }
.sc2__big { font-family: var(--f-head); font-size: clamp(48px, 5.4vw, 76px); line-height: 1; letter-spacing: -.045em; color: #fff; }
.sc2__big span { color: rgba(246, 246, 240, .45); padding: 0 .04em; }
.sc2__caption { margin-top: 10px; font-size: var(--fs-body-sm); color: rgba(246, 246, 240, .72); }
.sc2__caption i { font-family: "Instrument Serif", Georgia, serif; font-size: 1.12em; color: var(--accent-soft); }
.sc2__btn { justify-self: end; height: 50px; }
.sc2 .btn--light { background: #fff !important; color: var(--midnight) !important; border-color: #fff !important; }
.sc2 .btn--light::before { background: #F5EEE2 !important; }
.sc2__note { position: absolute; z-index: 2; left: 40px; bottom: 18px; max-width: 200px; font-size: 12px; line-height: 1.4; color: rgba(246, 246, 240, .5); }

/* the hero visual: centred on the bottom edge, rises in on reveal */
.sc2__viz { position: absolute; z-index: -1; left: 50%; bottom: 0; transform: translateX(-50%); }
.js .sc2 .sc2__viz { opacity: 0; transform: translate(-50%, 40px); transition: opacity 1s var(--ease-out) .3s, transform 1.2s var(--ease-out) .3s; }
.js .sc2.is-in .sc2__viz { opacity: 1; transform: translate(-50%, 0); }

/* pill controls on the right (hair phases / time of day) */
.sc2__tabs, .rt__switch { justify-self: end; position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, .1); isolation: isolate; }
.sc2__tabs button, .rt__switch button { position: relative; z-index: 1; height: 42px; padding: 0 18px; border-radius: 99px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .72); transition: background .3s, color .3s; }
.sc2__tabs button.is-on { background: #fff; color: var(--midnight); }

@media (max-width: 960px) {
  .sc2 { grid-template-columns: 1fr auto; }
  .sc2__copy { grid-column: 1 / -1; }
  .sc2__stat { text-align: left; min-width: 0; }
  .sc2__btn, .sc2__tabs, .rt__switch { align-self: center; }
}
@media (max-width: 640px) {
  .sc2 { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; padding: 28px 22px 0; border-radius: 22px; min-height: 0; padding-bottom: 360px; }
  .sc2__btn, .sc2__tabs, .rt__switch { justify-self: stretch; }
  .sc2__btn { width: 100%; }
  .sc2__tabs button, .rt__switch button { flex: 1; padding: 0 10px; }
  .sc2__note { position: static; max-width: none; font-size: 11px; }
}

/* ==========================================================================
   1. Peptides: Needle-free, by design
   ========================================================================== */
.sc2--pep { margin-top: 16px; min-height: 580px; }
.sc2--pep .sc2__viz { width: 440px; height: 380px; }
.sc2__glow { position: absolute; left: 50%; bottom: -160px; width: 760px; height: 520px; margin-left: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 175, 55, .38) 0%, rgba(212, 175, 55, .12) 55%, rgba(212, 175, 55, 0) 100%); animation: sc2-breathe 6s ease-in-out infinite; }
.sc2__tin { position: absolute; left: 0; bottom: -86px; width: 100%; height: auto; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .5)); animation: sc2-float 7s ease-in-out infinite; }
@keyframes sc2-breathe { 50% { transform: scale(1.06); opacity: .85; } }
@keyframes sc2-float { 50% { transform: translateY(-10px); } }

/* product callouts pinned to the tin with a leader line */
.sc2__callouts { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.co { position: absolute; width: 190px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.co b { display: block; font-size: 15px; font-weight: 600; }
.co small { display: block; margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.co i { position: absolute; top: 50%; height: 1px; width: 72px; background: linear-gradient(90deg, rgba(212, 175, 55, .9), rgba(212, 175, 55, .2)); transform-origin: left center; }
.co i::after { content: ""; position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(212, 175, 55, .2); animation: co-pulse 2.4s ease-out infinite; }
.co--1 { left: calc(50% - 400px); bottom: 300px; text-align: right; }
.co--3 { left: calc(50% - 380px); bottom: 150px; text-align: right; }
.co--1 i, .co--3 i { left: 100%; }
.co--1 i::after, .co--3 i::after { right: -4px; }
.co--2 { left: calc(50% + 236px); bottom: 220px; }
.co--2 i { right: 100%; left: auto; background: linear-gradient(270deg, rgba(212, 175, 55, .9), rgba(212, 175, 55, .2)); }
.co--2 i::after { left: -4px; animation-delay: .8s; }
.co--3 i::after { animation-delay: 1.6s; }
@keyframes co-pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, .5); } 100% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); } }
.js .sc2--pep .co { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
.js .sc2--pep.is-in .co { opacity: 1; transform: none; }
.js .sc2--pep.is-in .co--1 { transition-delay: .9s; }
.js .sc2--pep.is-in .co--2 { transition-delay: 1.1s; }
.js .sc2--pep.is-in .co--3 { transition-delay: 1.3s; }

/* ---------- Peptides, animated layer ----------
   countdown 3 → 0 with the three icons struck through · ripples from behind the tin ·
   a tilted gold orbit with a lozenge passing behind and in front · a sheen across the tin ·
   gold dust rising · callout leader lines drawing out, callouts gently bobbing */
.pep-count__icons { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.pep-count__icons li { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); transition: opacity .4s, background .4s; }
.pep-count__icons svg { width: 21px; height: 21px; fill: none; stroke: var(--accent-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pep-count__icons i { position: absolute; left: 7px; right: 7px; top: 50%; height: 2.5px; margin-top: -1px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 8px rgba(212, 175, 55, .7); transform: rotate(-40deg) scaleX(0); transition: transform .35s var(--ease-out); }
.pep-count[data-count="2"] li:nth-child(1) i,
.pep-count[data-count="1"] li:nth-child(-n+2) i,
.pep-count[data-count="0"] li i { transform: rotate(-40deg) scaleX(1); }
.pep-count[data-count="2"] li:nth-child(1),
.pep-count[data-count="1"] li:nth-child(-n+2),
.pep-count[data-count="0"] li { background: rgba(212, 175, 55, .1); }
.pep-count .sc2__big { transition: color .6s, text-shadow .6s; }
.pep-count[data-count="0"] .sc2__big { color: #F6D98E; text-shadow: 0 0 40px rgba(212, 175, 55, .45); }
.pep-count__n { display: inline-block; color: inherit !important; padding: 0 !important; }
.pep-count__n.is-bump { animation: pep-bump .45s var(--ease-out); }
@keyframes pep-bump { 0% { transform: translateY(-14px); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* the tin, its sheen, and the stage around it */
.pep-tin { position: absolute; z-index: 2; left: 0; bottom: -86px; width: 100%; animation: sc2-float 7s ease-in-out infinite; }
.pep-tin .sc2__tin { position: relative; bottom: auto; display: block; animation: none; }
.pep-tin__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .55) 48%, rgba(255, 255, 255, 0) 58%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
  -webkit-mask: url("../img/products/lb/nad-troche.png") center / 100% 100% no-repeat;
          mask: url("../img/products/lb/nad-troche.png") center / 100% 100% no-repeat;
  mix-blend-mode: soft-light; animation: pep-sheen 5.5s ease-in-out infinite 1.5s;
}
@keyframes pep-sheen { 0% { background-position: 160% 0; } 45%, 100% { background-position: -60% 0; } }

.pep-ripples { position: absolute; z-index: 0; left: 50%; top: 250px; }
.pep-ripples i { position: absolute; left: -90px; top: -24px; width: 180px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(212, 175, 55, .7); opacity: 0; animation: pep-ripple 4.8s ease-out infinite; }
.pep-ripples i:nth-child(2) { animation-delay: 1.6s; }
.pep-ripples i:nth-child(3) { animation-delay: 3.2s; }
@keyframes pep-ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.6); opacity: 0; } }

.pep-orbit { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pep-orbit ellipse { fill: none; stroke: rgba(212, 175, 55, .5); stroke-width: 1.2; stroke-dasharray: 3 7; animation: pep-dash 14s linear infinite; }
@keyframes pep-dash { to { stroke-dashoffset: -200; } }
.pep-lozenge {
  position: absolute; left: 0; top: 0; width: 44px; height: 24px; border-radius: 12px;
  background: radial-gradient(circle at 35% 30%, #fff, #EDE8DC 55%, #CFC7B5);
  box-shadow: 0 10px 16px -6px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .4) inset;
  offset-path: path("M -42 236 A 262 62 0 1 0 482 236 A 262 62 0 1 0 -42 236"); offset-rotate: 0deg;
  animation: pep-orbit-run 10s linear infinite;
}
@keyframes pep-orbit-run {
  0%     { offset-distance: 0%;   z-index: 3; scale: 1; }
  25%    { scale: 1.15; }
  49.9%  { z-index: 3; }
  50%    { z-index: 1; scale: .85; }
  75%    { scale: .7; }
  99.9%  { z-index: 1; }
  100%   { offset-distance: 100%; z-index: 3; scale: 1; }
}

.pep-dust i { position: absolute; z-index: 1; bottom: 90px; width: 4px; height: 4px; border-radius: 50%; background: #F6D98E; box-shadow: 0 0 8px rgba(246, 217, 142, .9); opacity: 0; animation: pep-rise 6s ease-in infinite; }
.pep-dust i:nth-child(1) { left: 6%;  animation-delay: 0s; }
.pep-dust i:nth-child(2) { left: 18%; animation-delay: 2.2s; animation-duration: 7s; }
.pep-dust i:nth-child(3) { left: 31%; animation-delay: 4.1s; }
.pep-dust i:nth-child(4) { left: 46%; animation-delay: 1.1s; animation-duration: 8s; }
.pep-dust i:nth-child(5) { left: 58%; animation-delay: 3.3s; }
.pep-dust i:nth-child(6) { left: 72%; animation-delay: .6s; animation-duration: 7.5s; }
.pep-dust i:nth-child(7) { left: 84%; animation-delay: 2.8s; }
.pep-dust i:nth-child(8) { left: 95%; animation-delay: 5s; animation-duration: 6.5s; }
@keyframes pep-rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-230px); opacity: 0; } }

/* callouts: leader lines draw toward the tin, then the cards bob */
.co i { transform: scaleX(0); transition: transform .9s var(--ease-out); }
.co--2 i { transform-origin: right center; }
.js .sc2--pep.is-in .co i { transform: scaleX(1); }
.js .sc2--pep.is-in .co--1 i { transition-delay: 1.3s; }
.js .sc2--pep.is-in .co--2 i { transition-delay: 1.5s; }
.js .sc2--pep.is-in .co--3 i { transition-delay: 1.7s; }
.js .sc2--pep.is-in .co { animation: co-bob 6s ease-in-out 2s infinite; }
.js .sc2--pep.is-in .co--2 { animation-delay: 3s; }
.js .sc2--pep.is-in .co--3 { animation-delay: 4s; }
@keyframes co-bob { 50% { translate: 0 -7px; } }

@media (max-width: 960px) {
  .pep-count__icons { justify-content: flex-start; }
  .co { width: 180px; }
  .co--1, .co--3 { left: 24px; }
  .co--2 { left: auto; right: 24px; }
  .co i { display: none; }
}
@media (max-width: 640px) {
  .sc2--pep { padding-bottom: 330px; min-height: 0; }
  .sc2--pep .sc2__viz { width: 300px; height: 280px; }
  .sc2__tin { bottom: -60px; }
  .pep-tin { bottom: -60px; }
  .pep-ripples { top: 180px; }
  .pep-ripples i { left: -60px; top: -16px; width: 120px; height: 32px; }
  .pep-orbit ellipse { transform: scale(.68); transform-origin: 220px 250px; }
  .pep-lozenge { width: 34px; height: 19px; offset-path: path("M -28 172 A 178 42 0 1 0 328 172 A 178 42 0 1 0 -28 172"); }
  .sc2__glow { width: 480px; height: 380px; margin-left: -240px; bottom: -140px; }
  .sc2__callouts { position: static; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: auto; }
  .co { position: static; width: auto; flex: 1 1 140px; padding: 10px 12px; text-align: left !important; }
  .co b { font-size: 14px; }
}

/* ==========================================================================
   2. Hair loss: the hair cycle (arc gauge, same family as the BMI gauge)
   ========================================================================== */
.sc2--hair .sc2__stat { min-width: 320px; }
.sc2--hair .sc2__big { font-size: clamp(44px, 5vw, 70px); }
.hc__panel { display: none; }
.hc__panel.is-on { display: block; animation: sc2-in .5s var(--ease-out) both; }
@keyframes sc2-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.sc2--hair .sc2__viz { width: 600px; height: 330px; }
.sc2--hair .sc2__viz::before { content: ""; position: absolute; left: 50%; bottom: -120px; width: 720px; height: 420px; margin-left: -360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 175, 55, .4) 0%, rgba(212, 175, 55, .1) 55%, rgba(212, 175, 55, 0) 100%); }
.hc__arc { position: absolute; left: 0; bottom: -4px; width: 100%; height: auto; overflow: visible; }
.hc__track { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 34; }
.hc__seg { fill: none; stroke-width: 34; opacity: .35; transition: opacity .5s, stroke-width .5s; }
.hc__seg--0 { stroke: var(--accent-soft); }
.hc__seg--1 { stroke: var(--gold); }
.hc__seg--2 { stroke: #E2A593; }
.hc[data-phase="0"] .hc__seg--0, .hc[data-phase="1"] .hc__seg--1, .hc[data-phase="2"] .hc__seg--2 { opacity: 1; stroke-width: 40; }
.hc__lbl { font: 600 12px var(--f-body); fill: rgba(255, 255, 255, .45); text-anchor: middle; letter-spacing: .04em; text-transform: uppercase; transition: fill .4s; }
.hc[data-phase="0"] .hc__lbl--0, .hc[data-phase="1"] .hc__lbl--1, .hc[data-phase="2"] .hc__lbl--2 { fill: #fff; }
.hc__dot { fill: #fff; stroke: rgba(255, 255, 255, .25); stroke-width: 10; paint-order: stroke; offset-path: path("M30 200 A170 170 0 0 1 370 200"); offset-rotate: 0deg; offset-distance: var(--at, 31%); transition: offset-distance 1s var(--ease-out); }
.hc[data-phase="0"] .hc__dot { --at: 31%; }
.hc[data-phase="1"] .hc__dot { --at: 69%; }
.hc[data-phase="2"] .hc__dot { --at: 88%; }

/* the strand grows from the card's bottom edge (the "scalp") */
.hc__scalp { position: absolute; left: 50%; bottom: 0; width: 180px; height: 26px; margin-left: -90px; border-radius: 90px 90px 0 0; background: linear-gradient(180deg, rgba(243, 217, 166, .55), rgba(243, 217, 166, .12)); }
.hc__strand { position: absolute; left: 50%; bottom: 14px; width: 7px; height: 150px; margin-left: -3.5px; border-radius: 6px; background: linear-gradient(180deg, rgba(253, 249, 241, .2), var(--pearl) 70%); transform-origin: 50% 100%; transition: height 1s var(--ease-out), opacity .8s, transform .8s; }
.hc[data-phase="0"] .hc__strand { animation: hc-grow 3.6s ease-in-out infinite alternate; }
@keyframes hc-grow { from { height: 120px; } to { height: 180px; } }
.hc[data-phase="1"] .hc__strand { height: 110px; transform: translateY(-10px); }
.hc[data-phase="2"] .hc__strand { height: 96px; animation: hc-shed 3.6s ease-in-out infinite; }
@keyframes hc-shed { 0%, 35% { transform: translateY(-16px); opacity: 1; } 100% { transform: translateY(-70px) rotate(16deg); opacity: 0; } }

@media (max-width: 640px) {
  .sc2--hair { padding-bottom: 240px; }
  .sc2--hair .sc2__stat { min-width: 0; }
  .sc2--hair .sc2__viz { width: 360px; height: 210px; }
  .sc2--hair .sc2__viz::before { width: 460px; height: 300px; margin-left: -230px; }
  .hc__lbl { font-size: 14px; }
  .hc__scalp { width: 120px; margin-left: -60px; height: 18px; }
  .hc__strand { width: 5px; }
  .hc[data-phase="0"] .hc__strand { animation-name: hc-grow-sm; }
  @keyframes hc-grow-sm { from { height: 70px; } to { height: 110px; } }
  .hc[data-phase="1"] .hc__strand { height: 70px; }
  .hc[data-phase="2"] .hc__strand { height: 64px; }
}

/* ==========================================================================
   3. Skin care: morning and night (sun / moon half-disc rising from the bottom)
   ========================================================================== */
.sc2--skin { min-height: 580px; transition: background .9s ease; }
.sc2--skin::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: radial-gradient(60% 70% at 50% 110%, rgba(243, 197, 139, .45) 0%, rgba(243, 197, 139, 0) 70%); transition: opacity .9s; }
.sc2--skin::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: radial-gradient(60% 70% at 50% 110%, rgba(212, 175, 55, .22) 0%, rgba(212, 175, 55, 0) 70%), linear-gradient(180deg, rgba(3, 3, 3, .55), rgba(3, 3, 3, .2)); opacity: 0; transition: opacity .9s; }
.rt[data-time="pm"].sc2--skin::before { opacity: 0; }
.rt[data-time="pm"].sc2--skin::after { opacity: 1; }
.rt__pm { display: none; }
.rt[data-time="pm"] .rt__am { display: none; }
.rt[data-time="pm"] .rt__pm { display: inline; }
.rt .sc2__big span { color: inherit; padding: 0; }
.rt[data-time="am"] .sc2__big { color: #F6D98E; }

.rt__switch { gap: 0; display: inline-grid; grid-template-columns: 1fr 1fr; }
.rt__switch button.is-on { color: var(--midnight); }
.rt__switch i { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: #fff; transition: transform .45s var(--ease-out); }
.rt[data-time="pm"] .rt__switch i { transform: translateX(100%); }

.sc2--skin .sc2__viz { width: 520px; height: 300px; }
.rt__orb { position: absolute; left: 50%; bottom: -250px; width: 500px; height: 500px; margin-left: -250px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #FBE7A8 0%, #E9C259 35%, #D4AF37 70%); box-shadow: 0 0 120px 20px rgba(233, 194, 89, .45); transition: background 1s, box-shadow 1s; }
.rt[data-time="pm"] .rt__orb { background: radial-gradient(circle at 46% 28%, #FFFFFF 0%, #FDF9F1 40%, #D8CFBC 100%); box-shadow: 0 0 90px 10px rgba(253, 249, 241, .25), inset -60px -10px 0 0 rgba(17, 17, 17, .18); }
.rt__rays { position: absolute; left: 50%; bottom: -330px; width: 660px; height: 660px; margin-left: -330px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(246, 217, 142, .16) 0deg 3deg, rgba(246, 217, 142, 0) 3deg 15deg); -webkit-mask-image: radial-gradient(closest-side, transparent 72%, #000 76%, transparent 100%); mask-image: radial-gradient(closest-side, transparent 72%, #000 76%, transparent 100%); animation: pb-spin 60s linear infinite; transition: opacity 1s; }
.rt[data-time="pm"] .rt__rays { opacity: 0; }
@keyframes pb-spin { to { transform: rotate(360deg); } }
.rt__stars { position: absolute; inset: -180px -200px 0; opacity: 0; transition: opacity 1s; }
.rt[data-time="pm"] .rt__stars { opacity: 1; }
.rt__stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; animation: rt-twinkle 3s ease-in-out infinite; }
.rt__stars i:nth-child(1) { left: 8%; top: 20%; }
.rt__stars i:nth-child(2) { left: 22%; top: 46%; animation-delay: .6s; }
.rt__stars i:nth-child(3) { left: 36%; top: 12%; animation-delay: 1.2s; }
.rt__stars i:nth-child(4) { left: 64%; top: 18%; animation-delay: .3s; }
.rt__stars i:nth-child(5) { left: 78%; top: 40%; animation-delay: 1.6s; }
.rt__stars i:nth-child(6) { left: 90%; top: 14%; animation-delay: .9s; }
.rt__stars i:nth-child(7) { left: 14%; top: 66%; animation-delay: 2s; }
.rt__stars i:nth-child(8) { left: 86%; top: 64%; animation-delay: 1.4s; }
@keyframes rt-twinkle { 50% { opacity: .25; } }

/* the three steps float in an arc around the disc */
.rt__steps { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.rt__steps li { position: absolute; display: flex; align-items: center; gap: 12px; width: 236px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: sc2-in .55s var(--ease-out) both; }
.rt__steps li:nth-child(1) { left: calc(50% - 470px); bottom: 110px; }
.rt__steps li:nth-child(2) { left: calc(50% - 118px); bottom: 300px; animation-delay: .1s; }
.rt__steps li:nth-child(3) { left: calc(50% + 234px); bottom: 110px; animation-delay: .2s; }
.rt__steps span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--midnight); font-size: 13px; font-weight: 700; }
.rt[data-time="pm"] .rt__steps span { background: var(--pearl); }
.rt__steps b { display: block; font-size: 15px; font-weight: 600; }
.rt__steps small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .66); }
.rt__steps--pm { display: none; }
.rt[data-time="pm"] .rt__steps--am { display: none; }
.rt[data-time="pm"] .rt__steps--pm { display: block; }

@media (max-width: 960px) {
  .rt__steps li:nth-child(1) { left: 24px; bottom: 210px; }
  .rt__steps li:nth-child(2) { left: auto; right: 24px; bottom: 290px; }
  .rt__steps li:nth-child(3) { left: auto; right: 24px; bottom: 130px; }
}
@media (max-width: 640px) {
  .sc2--skin { padding-bottom: 230px; min-height: 0; }
  .sc2--skin .sc2__viz { width: 340px; height: 200px; }
  .rt__orb { width: 320px; height: 320px; margin-left: -160px; bottom: -170px; }
  .rt__rays { width: 440px; height: 440px; margin-left: -220px; bottom: -230px; }
  .rt__steps { position: static; display: grid; gap: 8px; pointer-events: auto; }
  .rt[data-time="pm"] .rt__steps--pm { display: grid; }
  .rt__steps li { position: static; width: auto; }
}

/* ==========================================================================
   How it works: the template's layout (copy · step list · phone rising from the bottom)
   with three steps and three new Mind Body 1 U screens
   ========================================================================== */
.hiw--3 .h-card em { color: var(--pearl); }
.hiw--3 .hiw__copy { max-width: 300px; }
.hiw--3 .mp__screen[data-active="2"] .mp__status { color: var(--midnight); }
.hiw--3 .mp__screen[data-active="2"] .mp__home { background: var(--midnight); }

.ns { color: var(--midnight); display: flex; flex-direction: column; }
.ns-1, .ns-3 { background: var(--pearl); }
.ns-2 { background: var(--midnight); color: #fff; }
.ns-kicker { margin-top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
.ns-title { margin: 6px 0 16px; font-family: var(--f-head); font-weight: 700; font-size: 25px; line-height: 1.05; letter-spacing: -.03em; }
@keyframes ns-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ns-arc { to { stroke-dasharray: 100 0; } }
@keyframes ns-fill { to { width: 100%; } }
.ns.is-active .ns-title { animation: ns-in .5s var(--ease-out) both; }

/* 1 · goal */
.ns-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ns-chips span { padding: 9px 13px; border-radius: 99px; background: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 6px 14px -10px rgba(17, 17, 17, .4); }
.ns-1.is-active .ns-chips span { animation: ns-in .4s var(--ease-out) both; }
.ns-1.is-active .ns-chips span:nth-child(2) { animation-delay: .06s; }
.ns-1.is-active .ns-chips span:nth-child(3) { animation-delay: .12s; }
.ns-1.is-active .ns-chips span:nth-child(4) { animation-delay: .18s; }
.ns-1.is-active .ns-chips span:nth-child(5) { animation-delay: .24s; }
.ns-1.is-active .ns-chips span:nth-child(6) { animation-delay: .3s; }
.ns-1.is-active .ns-chip--pick { animation: ns-in .4s var(--ease-out) .06s both, ns-pick .35s ease 1.2s forwards; }
@keyframes ns-pick { 40% { transform: scale(.92); } 100% { transform: scale(1.04); background: #111111; color: #D4AF37; } }
.ns-timer { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px; border-radius: 18px; background: #fff; }
.ns-timer svg { flex: none; width: 44px; height: 44px; rotate: -90deg; }
.ns-timer circle { fill: none; stroke: rgba(17, 17, 17, .1); stroke-width: 4; }
.ns-timer .ns-timer__arc { stroke: var(--foil); stroke-linecap: round; stroke-dasharray: 0 100; }
.ns-1.is-active .ns-timer { animation: ns-in .45s var(--ease-out) .4s both; }
.ns-1.is-active .ns-timer__arc { animation: ns-arc 3s ease-out .6s forwards; }
.ns-timer b { display: block; font-size: 13px; }
.ns-timer small { display: block; font-size: 10.5px; opacity: .6; }
.ns-btn { position: relative; display: grid; place-items: center; height: 46px; margin-top: auto; border-radius: 99px; overflow: hidden; background: var(--midnight); color: #fff; font-size: 13px; font-weight: 600; }
.ns-btn i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); }
.ns-btn em { position: relative; font-style: normal; }
.ns-1.is-active .ns-btn i { animation: ns-fill .6s ease 3.4s forwards; }
.ns-1.is-active .ns-btn em { animation: ns-ink .2s ease 3.6s forwards; }
@keyframes ns-ink { to { color: #111111; } }

/* 2 · provider review */
.ns-doc { position: relative; width: 120px; height: 120px; margin: 4px auto 16px; }
.ns-doc img { position: absolute; inset: 22px; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.ns-doc__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(212, 175, 55, .55); opacity: 0; }
.ns-2.is-active .ns-doc__ring { animation: ns-ping 2s ease-out infinite; }
.ns-2.is-active .ns-doc__ring--2 { animation-delay: 1s; }
@keyframes ns-ping { 0% { transform: scale(.65); opacity: .9; } 100% { transform: scale(1.15); opacity: 0; } }
.ns-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-top: 6px; border-radius: 14px; background: rgba(255, 255, 255, .07); font-size: 12px; font-weight: 500; opacity: .45; }
.ns-list i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); background-position: center; background-size: 12px; background-repeat: no-repeat; }
.ns-2.is-active .ns-list li { animation: ns-row .3s ease forwards; }
.ns-2.is-active .ns-list li i { animation: ns-tick .3s ease forwards; }
.ns-2.is-active .ns-list li:nth-child(1), .ns-2.is-active .ns-list li:nth-child(1) i { animation-delay: .7s; }
.ns-2.is-active .ns-list li:nth-child(2), .ns-2.is-active .ns-list li:nth-child(2) i { animation-delay: 1.5s; }
.ns-2.is-active .ns-list li:nth-child(3), .ns-2.is-active .ns-list li:nth-child(3) i { animation-delay: 2.3s; }
@keyframes ns-row { to { opacity: 1; background: rgba(255, 255, 255, .12); } }
@keyframes ns-tick { to { border-color: #D4AF37; background-color: #D4AF37; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M6 12.5l4 4 8-9%22 fill=%22none%22 stroke=%22%230E3B3B%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); } }
.ns-card { position: relative; display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #2A2A2A, #000000); border: 1px solid rgba(255, 255, 255, .14); }
.ns-card__chip { flex: none; width: 30px; height: 22px; border-radius: 5px; background: rgba(255, 255, 255, .25); }
.ns-card__txt { position: relative; flex: 1; height: 18px; font-size: 12px; }
.ns-card__txt em, .ns-card__txt b { position: absolute; left: 0; top: 0; white-space: nowrap; }
.ns-card__txt em { font-style: normal; opacity: .7; }
.ns-card__txt b { color: var(--gold); opacity: 0; }
.ns-2.is-active .ns-card__chip { animation: ns-chip .4s ease 2.9s forwards; }
.ns-2.is-active .ns-card__txt em { animation: ns-out .3s ease 2.9s forwards; }
.ns-2.is-active .ns-card__txt b { animation: ns-in .4s var(--ease-out) 3.05s forwards; }
@keyframes ns-chip { to { background: #D4AF37; } }
@keyframes ns-out { to { opacity: 0; transform: translateY(-6px); } }

/* 3 · on its way */
.ns-box { display: grid; place-items: center; height: 108px; margin-bottom: 12px; border-radius: 22px; background: #fff; }
.ns-box svg { width: 66px; height: 66px; fill: #F1E8D2; stroke: var(--midnight); stroke-width: 2; stroke-linejoin: round; }
.ns-3.is-active .ns-box svg { animation: ns-drop .7s cubic-bezier(.2, 1.4, .4, 1) .2s both; }
@keyframes ns-drop { from { opacity: 0; transform: translateY(-26px) rotate(-8deg); } to { opacity: 1; transform: none; } }
.ns-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ns-months span { padding: 10px 4px; border-radius: 14px; background: #fff; text-align: center; font-size: 10px; opacity: .6; }
.ns-months b { display: block; font-family: var(--f-head); font-size: 20px; line-height: 1; }
.ns-3.is-active .ns-months span { animation: ns-month .35s ease forwards; }
.ns-3.is-active .ns-months span:nth-child(1) { animation-delay: .7s; }
.ns-3.is-active .ns-months span:nth-child(2) { animation-delay: 1.1s; }
.ns-3.is-active .ns-months span:nth-child(3) { animation-delay: 1.5s; }
@keyframes ns-month { to { opacity: 1; background: #111111; color: #D4AF37; } }
.ns-msg { display: flex; align-items: flex-end; gap: 8px; margin-top: auto; }
.ns-msg img { flex: none; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ns-msg p { position: relative; flex: 1; min-height: 40px; padding: 10px 12px; border-radius: 16px 16px 16px 4px; background: #fff; font-size: 11.5px; line-height: 1.35; }
.ns-msg em { font-style: normal; opacity: 0; }
.ns-dots { position: absolute; left: 12px; top: 12px; display: inline-flex; gap: 4px; }
.ns-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(17, 17, 17, .4); animation: ns-dot 1s ease-in-out infinite; }
.ns-dots i:nth-child(2) { animation-delay: .15s; }
.ns-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ns-dot { 50% { transform: translateY(-3px); opacity: .5; } }
.ns-3.is-active .ns-dots { animation: ns-fade-out .2s ease 2.6s forwards; }
.ns-3.is-active .ns-msg em { animation: ns-fade-in .4s ease 2.7s forwards; }
@keyframes ns-fade-out { to { opacity: 0; } }
@keyframes ns-fade-in { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .sc2__glow, .sc2__tin, .co i::after, .hc__strand, .rt__rays, .rt__stars i, .ns-dots i,
  .pep-tin, .pep-tin__sheen, .pep-ripples i, .pep-orbit ellipse, .pep-dust i, .co { animation: none !important; }
  .pep-lozenge { animation: none; offset-distance: 22%; z-index: 3; }
}
