/* ==========================================================================
   UX pass — 30 Sep 2026. Lessons from the Solo Fight app, applied to the site.
   Loaded after style.css on every page; delete the <link> to undo it all.

   1. One colour for the main action: gold. Secondary actions are outlined.
      A lecture's own colour stays in its label and picture, not its button.
   4. Text you can read: no light grey on cream, nothing under ~14px.
   5. A whole card is pressable, not only the button at its foot.
   6. One way to emphasise: bold in the text colour; gold only on dark.
   8. The floating buy button appears after the first screen, is the same
      gold as the main button, and never covers the last line of text.
   ========================================================================== */

/* ---------- 1. one main-action colour ---------- */
.lect-page-cta,
.lect-card--movement .lect-page-cta,
.lect-card--pain .lect-page-cta,
.lect-card--fibro .lect-page-cta {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 24px -16px rgba(232,184,75,.7);
}
.lect-page-cta:hover { color: var(--ink); box-shadow: 0 14px 28px -12px rgba(232,184,75,.55); }

.floating-course-cta,
.floating-course-cta--teal {
  background: var(--gold);
  color: var(--ink);
  border: 0;
  box-shadow: 0 16px 38px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(232,184,75,.45);
  animation: none;
}
.floating-course-cta span,
.floating-course-cta--teal span { color: rgba(19,16,25,.72); }
.floating-course-cta b,
.floating-course-cta--teal b { color: var(--ink); }
.floating-course-cta::before { display: none; }
.floating-course-cta:hover { filter: brightness(1.05); box-shadow: 0 18px 40px -12px rgba(0,0,0,.85), 0 0 0 1px rgba(232,184,75,.6); }

/* ---------- 8. the floating button: a bar, shown after the first screen ---------- */
.floating-course-cta {
  position: fixed; top: auto; bottom: 16px; left: 18px; right: auto;
  width: auto; height: auto; min-height: 56px; padding: 10px 22px;
  border-radius: 16px; transform: translateY(140%); opacity: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transition: transform .28s ease, opacity .28s ease, filter .2s ease, box-shadow .2s ease;
  pointer-events: none;
}
.floating-course-cta.is-shown { transform: none; opacity: 1; pointer-events: auto; }
.floating-course-cta span { display: block; margin: 0; font-size: .8rem; font-weight: 700; }
.floating-course-cta b { font-size: .98rem; }
@media (max-width: 920px) {
  .floating-course-cta,
  .movement-lecture-page .floating-course-cta {
    left: 12px; right: 12px; bottom: 10px; width: auto; height: auto;
    min-height: 56px; padding: 8px 16px; border-radius: 16px;
    flex-direction: row; gap: 10px; animation: none;
  }
  .floating-course-cta span { display: block; font-size: .8rem; }
  .floating-course-cta b { font-size: .95rem; }
  /* room at the foot of the page so the bar never covers the last line */
  body:has(.floating-course-cta) { padding-bottom: 86px; }
}
@media (prefers-reduced-motion: reduce) { .floating-course-cta { transition: none; } }

/* ---------- 4. readable text ---------- */
.lectures-head p { color: #4d4560; }
.light .testimonial-more-cue { color: #4d4560; }
.brand-intro-proof span,
.lect-meta span { font-size: .95rem; }
.contact-microcopy, .micro-note { font-size: .88rem; }
.med-disclaimer, .copyright { color: #c9c1db; font-size: .85rem; }

/* ---------- 6. one way to emphasise ---------- */
.lect-card .lect-question { color: inherit; font-weight: 800; }
.lect-card .lect-fit-line b { color: inherit; font-weight: 800; }

/* ---------- 5. the whole card is pressable ---------- */
.lect-card, .online-course-card, .path-card { position: relative; cursor: pointer; }
/* (the card itself is made pressable in ux-pass.js — the buttons clip their
   own overflow for the shine effect, so a stretched overlay can't be used) */
@media (hover: hover) {
  .lect-card:hover, .online-course-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -24px rgba(0,0,0,.6), 0 0 0 1px rgba(232,184,75,.35); }
}
.lect-card, .online-course-card { transition: transform .22s ease, box-shadow .22s ease; }

/* ---------- 2. the first screen goes straight to the choice ---------- */
@media (max-width: 760px) {
  .brand-intro-logo { display: none; }
}
.path-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 14px; display: block; }

/* ---------- 3. "on this page" list on lecture and course pages ---------- */
.page-index { padding: 18px 0 6px; }
.page-index-inner {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
}
.page-index-title { color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .06em; margin-inline-end: 6px; }
.page-index a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--paper);
  text-decoration: none; font-weight: 700; font-size: .95rem; transition: border-color .18s ease, background .18s ease;
}
.page-index a:hover, .page-index a:focus-visible { border-color: var(--gold); background: rgba(232,184,75,.08); }
.page-index a.is-price { border-color: rgba(232,184,75,.55); color: var(--gold); }

/* 2b. (removed 30 Sep: showing the hidden .paths section repeated the
   lecture cards right below it — Eran. The hero's two buttons are the choice.) */
