/*
 * Full Spectrum Mindfulness's lessons (Corey approved the mockup, 2026-11-20: "yes to 1-5"): the sales page's night sky
 * and its spectrum. Each lesson wears its level's color (--lv, --lv-hi on the night, --lv-ink on paper, set on .lp by
 * the template); a practice lesson blends its two levels (--lv2); Full Body, Sexuality and Power take infrared,
 * magenta and red; a welcome or bonus lesson keeps the course's lilac. The header's mark is the spectrum as a ladder,
 * this level lit; the course map climbs the eight levels, then the expansions and the bonus shelf. The page has
 * rhythm: night, lilac map, warm paper, night.
 */
.lp--fsm {
  --lv: #8E7BD8; --lv-hi: #C9BFEA; --lv-ink: #5B3FA8;
  --lp-ink: #1B1726; --lp-body: #2A2438; --lp-muted: #5B5470; --lp-ground: #FAF8F4; --lp-paper: #F1EEF8; --lp-paper2: #ECE7F5; --lp-card: #FFFFFF;
  --lp-deep: #07060B; --lp-deep2: #1E1636; --lp-deep3: #120E22; --lp-light: #EEEAF6; --lp-kick: #C9BFEA;
  --lp-gold: var(--lv-hi); --lp-rose: var(--lv); --lp-accent: var(--lv-ink); --lp-accent-ink: var(--lv-ink); --lp-btn-a: var(--lv-ink); --lp-btn-b: var(--lv-ink);
  --lp-done: #2C7A38; --lp-mark: color-mix(in srgb, var(--lv-hi) 40%, transparent); --lp-hit: var(--lv-hi);
}
.vlx-lesson--fsm { background: #07060B; }
.lp--fsm .lp-kick { letter-spacing: .3em; font-weight: 400; }
.lp--fsm .lp-crumb { color: var(--lp-kick); }

/* the header: night, the level's light behind */
.lp--fsm .lp-head { background: radial-gradient(55% 75% at 80% 30%, color-mix(in srgb, var(--lv) 30%, transparent) 0%, transparent 70%),
  radial-gradient(40% 60% at 8% 100%, rgba(90, 60, 160, .22) 0%, transparent 70%), #07060B; }
.lp-lvl { margin: 24px 0 0; font: 300 14px/1 'Jost', sans-serif; letter-spacing: .42em; text-transform: uppercase; color: var(--lv-hi); }
.lp--fsm .lp-title em { font-style: normal; color: var(--lv-hi); }
.lp--fsm .lp-by img { box-shadow: 0 0 0 2px #07060B, 0 0 0 3.5px var(--lv-hi); }

/* the mark: the spectrum as a ladder, infrared at the bottom, this level lit */
.lp--fsm .lp-head__grid { grid-template-columns: minmax(0, 1fr) 330px; }
.lp-ladder { display: flex; flex-direction: column-reverse; gap: 7px; justify-self: end; width: 330px; }
.lp-rung { display: flex; align-items: center; gap: 14px; height: 24px; }
.lp-rung i { display: block; flex: none; width: var(--w); height: 8px; border-radius: 4px; background: var(--c); animation: lpRung .9s ease-out both; }
.lp-rung span { font: 300 11px/1 'Jost', sans-serif; letter-spacing: .3em; text-transform: uppercase; color: rgba(238, 234, 246, .46); }
.lp-rung.is-past i { opacity: .55; }
.lp-rung.is-next i { opacity: .2; }
.lp-rung.is-here i { height: 12px; box-shadow: 0 0 18px color-mix(in srgb, var(--c) 80%, transparent), 0 0 2px #fff; }
.lp-rung.is-here span { color: #EEEAF6; font-weight: 400; }
.lp-rung:nth-child(1) i { animation-delay: 0s; } .lp-rung:nth-child(2) i { animation-delay: .06s; } .lp-rung:nth-child(3) i { animation-delay: .12s; } .lp-rung:nth-child(4) i { animation-delay: .18s; }
.lp-rung:nth-child(5) i { animation-delay: .24s; } .lp-rung:nth-child(6) i { animation-delay: .3s; } .lp-rung:nth-child(7) i { animation-delay: .36s; } .lp-rung:nth-child(8) i { animation-delay: .42s; }
@keyframes lpRung { from { transform: scaleX(.2); transform-origin: left; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lp-rung i { animation: none; } }

/* the player in the level's light */
.lp--fsm .lp-player { border-color: color-mix(in srgb, var(--lv-hi) 28%, transparent); }
.lp--fsm .lp-play { background: linear-gradient(135deg, var(--lv-hi), var(--lv2, #22B5B0)); color: #07060B; box-shadow: 0 8px 24px color-mix(in srgb, var(--lv) 40%, transparent); }
.lp--fsm .lp-bar__fill { background: linear-gradient(90deg, var(--lv2, var(--lv-hi)), var(--lv-hi)); }
.lp--fsm .lp-chip.is-now { border-color: var(--lv-hi); background: color-mix(in srgb, var(--lv-hi) 14%, transparent); }
.lp--fsm .lp-check input { accent-color: var(--lv-hi); }
.lp--fsm .lp-foot a { color: var(--lv-hi); }

/* the course map: up the spectrum */
.lp--fsm .lp-path { background: #F1EEF8; padding: 52px 0 56px; }
.lp-spec__start { margin: 14px 0 0; }
.lp-spec__start a { display: inline-flex; align-items: center; min-height: 44px; color: #5B3FA8; font-weight: 500; }
.lp-spec { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.lp-lv a { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 112px; padding: 0 12px 12px; border-radius: 16px; overflow: hidden; background: #fff; color: var(--lp-ink); text-decoration: none;
  box-shadow: 0 1px 0 rgba(27, 23, 38, .06); transition: transform .15s ease, box-shadow .15s ease; }
.lp-lv a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27, 23, 38, .1); color: var(--lp-ink); }
.lp-lv__band { display: block; height: 10px; margin: 0 -12px 12px; background: var(--c); }
.lp-lv__n { font: 400 11px/1.3 'Jost', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--lp-muted); }
.lp-lv b { margin-top: 2px; font: 400 19px/1.2 'Newsreader', serif; }
.lp-lv small { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--lp-muted); }
.lp-lv.is-here a { outline: 2px solid var(--c); box-shadow: 0 12px 30px color-mix(in srgb, var(--c) 22%, transparent); }
.lp-lv.is-here small { color: var(--ink); font-weight: 500; }
.lp-lv.is-locked a { opacity: .62; }
.lp-lv__ok { position: absolute; right: 10px; top: 20px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--lp-done); color: #fff; }
.lp-lv__ok svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-prs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.lp-prs > li { grid-column: span 2; }
.lp-prl { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 96px; padding: 0 16px 14px; border-radius: 16px; overflow: hidden; background: #fff; color: var(--lp-ink);
  text-decoration: none; box-shadow: 0 1px 0 rgba(27, 23, 38, .06); transition: transform .15s ease, box-shadow .15s ease; }
.lp-prl:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27, 23, 38, .1); }
.lp a.lp-prl, .lp a.lp-prl:hover { color: var(--lp-ink); }
.lp-prl__band { display: block; height: 6px; margin: 0 -16px 12px; background: linear-gradient(90deg, var(--a), var(--b)); }
.lp-prl__k { font: 400 11px/1.3 'Jost', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--lp-muted); padding-right: 26px; }
.lp-prl__t { margin-top: 4px; font: 400 18px/1.25 'Newsreader', serif; }
.lp-prl small { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--lp-muted); }
.lp-prl.is-here { outline: 2px solid var(--b); box-shadow: 0 12px 30px color-mix(in srgb, var(--b) 22%, transparent); }
.lp-prl.is-here small { color: var(--lv-ink); font-weight: 500; }
.lp-prl .lp-lv__ok { top: 18px; }
.lp-spec__k { margin: 34px 0 0 !important; color: var(--lp-muted); }
.lp--fsm .lp-exps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.lp--fsm .lp-exp { position: relative; min-height: 104px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 22px 16px 16px; text-align: left; overflow: hidden;
  background: #fff; box-shadow: 0 1px 0 rgba(27, 23, 38, .06); border-radius: 16px; }
.lp--fsm .lp-exp::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c, #8E7BD8); }
.lp--fsm .lp-exp:hover { background: #fff; box-shadow: 0 10px 24px rgba(27, 23, 38, .1); }
.lp--fsm .lp-exp.is-open { box-shadow: 0 0 0 2px var(--c, #5B3FA8), 0 12px 30px rgba(27, 23, 38, .1); }
.lp-exp__ring { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c) 0 var(--p, 0%), color-mix(in srgb, var(--c, #8E7BD8) 22%, #fff) var(--p, 0%) 100%); }
.lp-exp__ring::after { content: ""; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.lp-exp__ring--star::after { content: "✦"; display: grid; place-items: center; font-size: 15px; color: var(--c, #8E7BD8); }
.lp-exp__x { display: flex; flex-direction: column; min-width: 0; }
.lp-exp__x small { font: 400 11px/1.3 'Jost', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--lp-muted); }
.lp-exp__x b { margin-top: 2px; font: 400 18px/1.2 'Newsreader', serif; color: var(--lp-ink); }
.lp-exp__x span { margin-top: 2px; font-size: 13px; color: var(--lp-muted); }
.lp--fsm .lp-exp--bonus { --c: #8E7BD8; }
.lp--fsm .lp-lesson.is-now a { background: #07060B; }
.lp--fsm .lp-lesson.is-now .lp-lesson__st { background: linear-gradient(135deg, var(--lv-hi), var(--lv2, var(--lv))); }

/* the lesson: about this level, reflections */
.lp--fsm .lp-body { background: #FAF8F4; }
.lp--fsm .lp-tsec__k { color: var(--lv-ink); }
.lp--fsm .lp-at { color: var(--lv-ink); }
.lp-stage { background: linear-gradient(180deg, color-mix(in srgb, var(--lv) 12%, transparent), transparent 60%), var(--lp-card); }
.lp-stage p { font-size: 16px; line-height: 1.6; color: var(--lp-body); }
.lp-refl__p { margin: 0 0 4px; font-size: 15px; color: var(--lp-muted); }
.lp-rq { padding: 16px 0 4px; border-top: 1px solid #EEE9F3; }
.lp-rq > p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; color: var(--lp-body); }

/* the finish band */
.lp--fsm .lp-end { background: radial-gradient(50% 90% at 50% 0%, color-mix(in srgb, var(--lv) 22%, transparent), transparent 70%), #07060B; }
.lp--fsm .lp-wpcw .fe_btn, .lp--fsm .lp-wpcw input[type="submit"] { background: linear-gradient(90deg, var(--lv-hi), var(--lv2, #22B5B0)) !important; color: #07060B !important; }
.lp--fsm .lp-next__r { border-color: var(--lv-hi); }

@container lp (max-width: 980px) {
  .lp-spec { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-prs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp--fsm .lp-exps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-ladder { justify-self: start; width: 100%; }
}
@container lp (max-width: 560px) {
  .lp-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-prs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp--fsm .lp-exps { grid-template-columns: minmax(0, 1fr); }
  .lp-rung i { width: calc(var(--w) * .7); }
}

/* (Corey 2026-11-21: "make the cards in the course look like the cards in ILP, with the custom course styles") Each
   practice on the map shows its card, in the course's holographic foil, beside its words. */
.lp-prs > li { container-type: inline-size; }
.lp-prl { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; column-gap: 18px; }
.lp-prl.has-face { padding-bottom: 18px; }
.lp-prl__band { grid-column: 1 / -1; }
.lp-prl__x { display: flex; flex-direction: column; min-width: 0; height: 100%; }
/* the card at the app's smallest size (its name fits from 120px): above the words on a narrow tile, beside them on a wide one */
.lp-prl .ilp-cf.lp-prl__face { width: 124px; max-width: 124px; justify-self: center; margin: 4px 0 16px; transform: rotate(-3deg); transition: transform .25s ease; }
@container (min-width: 330px) {
  .lp-prl.has-face { grid-template-columns: 124px minmax(0, 1fr); }
  .lp-prl .ilp-cf.lp-prl__face { margin: 0; justify-self: start; }
}
.lp-prl:hover .ilp-cf.lp-prl__face, .lp-prl:focus-visible .ilp-cf.lp-prl__face { transform: rotate(0deg) translateY(-2px); }
.lp-prl.has-face .lp-prl__k { padding-right: 0; }
.lp-prl.has-face .lp-lv__ok { top: 18px; }
/* the lesson's card, in the night of the course */
.lp--fsm .lp-prac { background: radial-gradient(70% 90% at 15% 50%, color-mix(in srgb, var(--lv) 30%, transparent), transparent 70%), #07060B; }
.lp--fsm .lp-prac .lp-kick { color: var(--lv-hi); }
.lp--fsm .lp-prac .lp-btn:not(.lp-btn--ghost) { background: linear-gradient(90deg, var(--lv-hi), var(--lv2, #22B5B0)); color: #07060B !important; }
