/* ==========================================================================
   ChampsLab skin for the Kajabi website theme (learn.champs-lab.com).
   Ported from the homepage (web/app/assets/css): same tokens, type, buttons, plates and cards.
   Everything is scoped to body.cl so Kajabi's own Encore styles keep working underneath.
   ========================================================================== */

/* Fonts are served by www.champs-lab.com (CORS allowed for learn.champs-lab.com) */
@font-face { font-family: 'CL Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(https://www.champs-lab.com/fonts/archivo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'CL Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(https://www.champs-lab.com/fonts/archivo-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'CL Archivo'; font-style: italic; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(https://www.champs-lab.com/fonts/archivo-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'CL Archivo'; font-style: italic; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(https://www.champs-lab.com/fonts/archivo-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'CL Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(https://www.champs-lab.com/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'CL Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(https://www.champs-lab.com/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens (same values as the homepage) ---------- */
.cl {
  --c-ink: #070B14; --c-ink-2: #0D1424; --c-ink-3: #141D33;
  --c-on-ink: #F4F6FB; --c-on-ink-muted: #A3ADC2;
  --c-line: rgb(255 255 255 / 0.1); --c-line-strong: rgb(255 255 255 / 0.18);
  --c-paper: #F4F0E8; --c-paper-2: #EAE3D6; --c-card: #FFFFFF;
  --c-text: #0B1220; --c-text-muted: #545C6B; --c-line-dark: rgb(11 18 32 / 0.12);
  --c-blue: #2F6BFF; --c-blue-deep: #1A48D6; --c-orange: #FF8A1F; --c-orange-soft: #FFB25C; --c-on-orange: #1A0D00;
  --c-live: #16C47F; --c-error: #B42318;
  --f-display: 'CL Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-body: 'CL Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1280px; --gutter: clamp(16px, 4vw, 48px); --nav-h: 76px;
  --r-lg: 24px; --r-md: 18px; --r-sm: 12px; --r-pill: 999px;
  --shadow-card: 0 40px 80px -30px rgb(0 0 0 / 0.75); --shadow-orange: 0 12px 32px -12px rgb(255 138 31 / 0.75);
  --ease-champ: cubic-bezier(0.16, 1, 0.3, 1); --ease-champ-inout: cubic-bezier(0.83, 0, 0.17, 1);
}
@media (max-width: 720px) { .cl { --nav-h: 64px; } }

/* ---------- Base ---------- */
body.cl { margin: 0; background: var(--c-ink) !important; color: var(--c-on-ink); font-family: var(--f-body); font-size: 16px; font-weight: 400; letter-spacing: normal; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.cl--paper { background: var(--c-paper) !important; color: var(--c-text); }
.cl *, .cl *::before, .cl *::after { box-sizing: border-box; }
.cl main { display: block; }
.cl a { color: inherit; text-decoration: none; }
.cl img { max-width: 100%; display: block; }
:where(.cl) button { font: inherit; cursor: pointer; }
.cl :focus-visible { outline: 2px solid var(--c-orange); outline-offset: 3px; border-radius: 4px; }
.cl ::selection { background: var(--c-orange); color: var(--c-on-orange); }
.cl h1, .cl h2, .cl h3, .cl h4, .cl p { margin: 0; }
.cl-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.cl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type helpers */
.cl .cl-display { color: var(--c-on-ink); }
.cl .cl-display em { color: var(--c-orange); }
.cl--paper main .cl-display { color: var(--c-text); }
.cl-display { font-family: var(--f-display); font-stretch: 72%; font-weight: 850; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.92; }
.cl-display em { font-style: italic; color: var(--c-orange); }
.cl-display .o { color: transparent; -webkit-text-stroke: 2px var(--c-on-ink); }
.cl-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-stretch: 110%; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-orange); }
.cl-eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; }
.cl-lede { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--c-on-ink-muted); max-width: 52ch; }
.cl--paper .cl-lede { color: var(--c-text-muted); }

/* Buttons (pill with the rising sweep, as on the homepage) */
.cl-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border: 0; border-radius: var(--r-pill); font-family: var(--f-body); font-weight: 600; font-size: 0.94rem; line-height: 1; white-space: nowrap; overflow: hidden; isolation: isolate; text-decoration: none; transition: transform 0.3s var(--ease-champ), box-shadow 0.3s, color 0.3s; }
.cl-btn:active { transform: scale(0.97); }
.cl-btn::after { content: ''; position: absolute; left: -10%; right: -10%; top: 100%; height: 240%; border-radius: 50%; z-index: -1; transition: transform 0.55s var(--ease-champ); }
@media (hover: hover) { .cl-btn:hover::after { transform: translateY(-50%); } }
.cl-btn:active::after { transform: translateY(-50%); }
.cl-btn--primary { background: var(--c-orange); color: var(--c-on-orange) !important; box-shadow: var(--shadow-orange); }
.cl-btn--primary::after { background: var(--c-orange-soft); }
.cl-btn--ghost { background: transparent; border: 1px solid var(--c-line-strong); color: var(--c-on-ink) !important; }
.cl-btn--ghost::after { background: rgb(255 255 255 / 0.1); }
.cl-btn--dark { background: var(--c-text); color: #fff !important; }
.cl-btn--dark::after { background: #22304a; }
.cl-btn--light { background: #fff; color: var(--c-text) !important; border: 1px solid var(--c-line-dark); }
.cl-btn--light::after { background: var(--c-paper); }
.cl-btn--block { width: 100%; }
.cl-btn--sm { height: 44px; padding: 0 20px; font-size: 0.875rem; }
.cl-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Brand ---------- */
.cl-brand { display: inline-flex; align-items: center; gap: 12px; }
.cl-brand__badge { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 5px; flex: 0 0 auto; }
.cl-brand__badge img { width: 100%; height: auto; }
.cl-brand__word { font-family: var(--f-display); font-stretch: 80%; font-weight: 900; font-style: italic; font-size: 1.4rem; letter-spacing: 0.01em; line-height: 1; color: var(--c-on-ink); }
.cl-brand__word span { color: var(--c-orange); }

/* ---------- Header ---------- */
.cl-nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgb(7 11 20 / 0.82); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--c-line); color: var(--c-on-ink); }
.cl-nav--float { position: absolute; left: 0; right: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: transparent; }
.cl-nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cl-nav__links { display: flex; align-items: center; gap: 6px; }
.cl-nav__link { position: relative; padding: 8px 12px; font-size: 0.875rem; font-weight: 500; color: var(--c-on-ink-muted); transition: color 0.25s; }
.cl-nav__link span { position: relative; }
.cl-nav__link span::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--c-orange); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-champ); }
.cl-nav__link.is-current { color: var(--c-on-ink); }
.cl-nav__link.is-current span::after { transform: scaleX(1); }
@media (hover: hover) { .cl-nav__link:hover { color: var(--c-on-ink); } .cl-nav__link:hover span::after { transform: scaleX(1); transform-origin: left; } }
.cl-nav__actions { display: flex; align-items: center; gap: 10px; }
/* The one way back to the homepage in the bar: quiet, it is not where members are heading */
.cl-nav__www { font-size: 0.8rem; font-weight: 500; color: var(--c-on-ink-muted); padding: 0 8px; white-space: nowrap; transition: color 0.25s; }
@media (hover: hover) { .cl-nav__www:hover { color: var(--c-on-ink); } }
.cl-nav__cta { white-space: nowrap; }
.cl-nav__login a, .cl-nav__login { font-size: 0.875rem; font-weight: 600; color: var(--c-on-ink); padding: 0 8px; }
.cl-avatar { width: 38px; height: 38px; padding: 0; border-radius: 50%; overflow: hidden; border: 2px solid var(--c-line-strong); background: var(--c-ink-3); cursor: pointer; transition: border-color 0.25s; }
@media (hover: hover) { .cl-avatar:hover { border-color: var(--c-orange); } }
.cl-avatar[aria-expanded="true"] { border-color: var(--c-orange); }
.cl-avatar:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 3px; }
/* Account menu under the avatar */
.cl-acct { position: relative; }
.cl-acct__menu { position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; min-width: 230px; display: grid; padding: 8px; background: var(--c-ink-2); border: 1px solid var(--c-line-strong); border-radius: 16px; box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.65); }
.cl-acct__menu[hidden] { display: none; }
.cl-acct__who { margin: 0; padding: 8px 12px 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-on-ink-muted); border-bottom: 1px solid var(--c-line); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-acct__menu a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 0.9rem; font-weight: 500; color: var(--c-on-ink); text-decoration: none; transition: background-color 0.2s, color 0.2s; }
@media (hover: hover) { .cl-acct__menu a:hover { background: rgb(255 255 255 / 0.06); } }
.cl-acct__menu a:focus-visible { outline: 2px solid var(--c-orange); outline-offset: -2px; }
.cl-acct__menu .cl-acct__up { color: var(--c-orange); font-weight: 600; }
.cl-acct__sep { height: 1px; margin: 6px 4px; background: var(--c-line); }
.cl-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Race-plate menu button (same as the homepage) */
.cl-plate { position: relative; isolation: isolate; display: block; width: 66px; height: 44px; margin: 0 4px 0 10px; padding: 0; border: 0; background: none; }
.cl-plate::before { content: ''; position: absolute; inset: -4px -3px; z-index: -1; border: 1px solid var(--c-line-strong); border-radius: 7px; transform: skewX(-12deg); transition: border-color 0.3s, inset 0.45s var(--ease-champ); }
.cl-plate__in { position: absolute; inset: 0; background: var(--c-orange); clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%); transition: background-color 0.3s; }
.cl-plate__in i { position: absolute; height: 2.5px; border-radius: 2px; background: var(--c-ink); }
.cl-plate__in i:nth-child(1) { top: 14px; left: 25px; width: 26px; }
.cl-plate__in i:nth-child(2) { top: 21px; left: 20px; width: 16px; }
.cl-plate__in i:nth-child(3) { top: 28px; left: 18px; width: 23px; }
.cl-plate__runner { position: absolute; top: 19px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: -9px 0 6px -2px rgb(255 255 255 / 0.55); opacity: 0; animation: cl-lap 5s cubic-bezier(0.5, 0, 0.3, 1) 2s infinite; }
@keyframes cl-lap { 0% { translate: -8px 0; opacity: 0; } 3% { opacity: 1; } 20% { translate: 64px 0; opacity: 1; } 21%, 100% { translate: 64px 0; opacity: 0; } }
@keyframes cl-sprint { 0% { translate: 0 0; opacity: 1; } 45% { translate: 34px 0; opacity: 0; } 46% { translate: -34px 0; opacity: 0; } 100% { translate: 0 0; opacity: 1; } }
.cl-plate:is(:focus-visible, :active)::before { inset: -6px -5px; border-color: rgb(255 138 31 / 0.7); }
.cl-plate:focus-visible { outline: none; }
.cl-plate:is(:focus-visible, :active) .cl-plate__in i { animation: cl-sprint 0.6s var(--ease-champ) both; }
.cl-plate--close .cl-plate__in i { top: 50%; left: 50%; width: 20px; margin: -1.25px 0 0 -10px; transition: rotate 0.5s var(--ease-champ); }
.cl-plate--close .cl-plate__in i:nth-child(1) { rotate: 45deg; }
.cl-plate--close .cl-plate__in i:nth-child(2) { rotate: -45deg; }
@media (hover: hover) {
  .cl-plate:hover::before { inset: -6px -5px; border-color: rgb(255 138 31 / 0.7); }
  .cl-plate:hover .cl-plate__in { background: var(--c-orange-soft); }
  .cl-plate:not(.cl-plate--close):hover .cl-plate__in i { animation: cl-sprint 0.6s var(--ease-champ) both; }
  .cl-plate:not(.cl-plate--close):hover .cl-plate__in i:nth-child(2) { animation-delay: 0.06s; }
  .cl-plate:not(.cl-plate--close):hover .cl-plate__in i:nth-child(3) { animation-delay: 0.12s; }
  .cl-plate--close:hover .cl-plate__in i:nth-child(1) { rotate: 135deg; }
  .cl-plate--close:hover .cl-plate__in i:nth-child(2) { rotate: 45deg; }
}

/* ---------- Menu overlay: running-track lanes ---------- */
.cl-menu { position: fixed; inset: 0; z-index: 60; background: var(--c-ink); color: var(--c-on-ink); display: grid; grid-template-rows: var(--nav-h) 1fr auto; overflow: auto; clip-path: circle(0 at calc(100% - 60px) 38px); visibility: hidden; transition: clip-path 0.8s var(--ease-champ-inout), visibility 0s 0.8s; }
.cl-menu.is-open { clip-path: circle(150% at calc(100% - 60px) 38px); visibility: visible; transition: clip-path 0.8s var(--ease-champ-inout), visibility 0s; }
.cl-menu__top { display: flex; align-items: center; justify-content: space-between; }
.cl-menu__body { display: grid; align-content: center; gap: 28px; padding-top: 2vh; padding-bottom: 4vh; }
.cl-menu__group { display: grid; counter-reset: cl-menu; }
.cl-menu__link { counter-increment: cl-menu; }
.cl-menu__num::before { content: counter(cl-menu); }
.cl-menu__group--alpha .cl-menu__num::before { content: counter(cl-menu, upper-alpha); }
/* Member links: shown only with the course, or only without it (html classes from champs_head) */
html:not(.cl-has-course) .cl-course-only, html.cl-has-course .cl-no-course-only { display: none !important; }
.cl-menu__h { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-on-ink-muted); margin-bottom: 6px; }
.cl-menu__link { position: relative; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 16px; padding: 8px 0; overflow: hidden; }
.cl-menu__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgb(255 255 255 / 0.18); }
.cl-menu__link::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 1; background: linear-gradient(90deg, transparent, var(--c-orange) 70%, #fff); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease-champ); }
.cl-menu__num { display: grid; place-items: center; width: 40px; height: 34px; background: var(--c-on-ink); color: var(--c-ink); font-family: var(--f-display); font-stretch: 72%; font-weight: 900; font-size: 1.35rem; line-height: 1; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); transition: background-color 0.3s; }
.cl-menu__label { font-family: var(--f-display); font-stretch: 72%; font-weight: 850; text-transform: uppercase; font-size: clamp(2.2rem, min(6.4vw, 8vh), 4.8rem); line-height: 1; transition: transform 0.5s var(--ease-champ), color 0.3s; }
.cl-menu__label a { color: inherit; }
.cl-menu__link--sm .cl-menu__label { font-size: clamp(1.4rem, 3vw, 2.2rem); }
@media (hover: hover) {
  .cl-menu__link:hover .cl-menu__label { color: var(--c-orange); transform: translateX(10px) skewX(-6deg); }
  .cl-menu__link:hover .cl-menu__num { background: var(--c-orange); }
  .cl-menu__link:hover::before { transform: scaleX(1); }
}
.cl-menu__foot { border-top: 1px solid var(--c-line); padding-block: 18px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--c-on-ink-muted); }
.cl-menu-open { overflow: hidden; }

/* ---------- Background: track lanes and glow ---------- */
.cl-stage { position: relative; isolation: isolate; overflow: clip; }
.cl-glow { position: absolute; inset: -10% -10% 0; z-index: -3; pointer-events: none; background: radial-gradient(48vw 34vw at 78% 30%, rgb(47 107 255 / 0.32), transparent 64%), radial-gradient(36vw 26vw at 6% 70%, rgb(255 138 31 / 0.14), transparent 62%); }
.cl-track { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 64%); mask-image: linear-gradient(100deg, transparent 30%, #000 64%); }
.cl-track path { fill: none; stroke: rgb(255 255 255 / 0.1); stroke-width: 2; vector-effect: non-scaling-stroke; }
.cl-track path.is-accent { stroke: var(--c-orange); stroke-width: 2.5; filter: drop-shadow(0 0 10px rgb(255 138 31 / 0.5)); }

/* ---------- Cards and form fields (the homepage contact form) ---------- */
.cl-card { position: relative; background: var(--c-card); color: var(--c-text); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-card); }
.cl-card::before { content: ''; position: absolute; top: 0; left: 28px; right: 28px; height: 6px; background: repeating-linear-gradient(90deg, var(--c-orange) 0 22px, transparent 22px 30px); clip-path: polygon(0 0, 100% 0, 99% 100%, 1% 100%); }
.cl .cl-card .cl-card__title, .cl .cl-card h2, .cl .cl-card h3 { color: var(--c-text); }
.cl-card__title { font-family: var(--f-display); font-stretch: 80%; font-weight: 850; text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin-bottom: 6px !important; }
.cl-card__sub { color: var(--c-text-muted); font-size: 0.95rem; margin-bottom: 22px !important; }
.cl-form { display: grid; gap: 16px; margin: 0; }
.cl-field { display: grid; gap: 7px; }
.cl-field label { font-size: 0.8rem; font-weight: 600; color: var(--c-text); margin: 0; }
.cl .cl-field input[type=text], .cl .cl-field input[type=email], .cl .cl-field input[type=password] { width: 100%; height: auto; font-family: var(--f-body); font-size: 1rem; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--c-line-dark); background: #FAFAF7; color: var(--c-text); box-shadow: none; transition: border-color 0.2s, box-shadow 0.2s; }
.cl .cl-field input:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 4px rgb(47 107 255 / 0.15); background: #fff; }
.cl-field--error input { border-color: var(--c-error) !important; }
.cl-field__msg { font-size: 0.82rem; color: var(--c-error); }
.cl-check { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--c-text-muted); cursor: pointer; margin: 0; }
.cl-check input { width: 18px; height: 18px; accent-color: var(--c-orange); margin: 0; }
.cl-alert { border-radius: var(--r-sm); padding: 12px 14px; font-size: 0.9rem; line-height: 1.45; }
.cl-alert--error { background: #FDECEA; color: var(--c-error); border: 1px solid rgb(180 35 24 / 0.2); }
.cl-alert--info { background: #EAF0FF; color: #1A3A8F; border: 1px solid rgb(47 107 255 / 0.2); }
.cl-alert--success { background: #E7F7EF; color: #0E6A44; border: 1px solid rgb(14 106 68 / 0.2); }
.cl-divider { display: flex; align-items: center; gap: 14px; margin: 18px 0; font-size: 0.8rem; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.12em; }
.cl-divider::before, .cl-divider::after { content: ''; flex: 1; height: 1px; background: var(--c-line-dark); }
.cl-card__links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 0.9rem; }
.cl-card__links a { color: var(--c-blue-deep); font-weight: 600; }
@media (hover: hover) { .cl-card__links a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.cl-social form { margin: 0; }

/* Kajabi flash messages (password sent, signed out, ...) restyled as a toast under the nav */
.cl .flash-messages { position: relative; z-index: 40; margin: 0; padding: 0; background: none; }
.cl .flash-messages .container { max-width: var(--wrap); margin: 12px auto 0; padding: 0 var(--gutter); }
.cl .flash-messages .flash-text { margin: 0; padding: 12px 16px; text-align: left; justify-content: flex-start; line-height: 1.45; border-radius: var(--r-sm); font-family: var(--f-body); font-size: 0.92rem; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.cl .flash--success .flash-text { background: #E7F7EF; color: #0E6A44; }
.cl .flash--error .flash-text { background: #FDECEA; color: var(--c-error); }

/* ---------- Auth pages: login, forgot password, new password ---------- */
.cl-auth { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 32px) 0 56px; }
.cl-auth__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cl-auth__title { font-size: clamp(3.2rem, 7.6vw, 7rem); margin: 18px 0 22px !important; }
.cl-auth__title span { display: block; }
.cl-auth__points { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--c-on-ink-muted); font-size: 0.95rem; }
.cl-auth__points li { display: flex; gap: 12px; align-items: baseline; }
.cl-auth__points li::before { content: ''; flex: 0 0 18px; height: 2px; background: var(--c-orange); transform: translateY(-4px); }
.cl-auth__card { width: 100%; max-width: 460px; justify-self: end; }
.cl-auth--narrow .cl-auth__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.cl-auth--narrow .cl-auth__card { justify-self: center; text-align: left; }
.cl-auth--narrow .cl-auth__title { font-size: clamp(2.8rem, 6vw, 5rem); }

/* ---------- Library ---------- */
.cl-lib { padding: calc(var(--nav-h) * 0 + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 120px); }
.cl-lib__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.cl-lib__title { font-size: clamp(3rem, 7vw, 6.4rem); margin-top: 16px !important; }
.cl-resume { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; margin-bottom: clamp(40px, 5vw, 72px); border-radius: var(--r-lg); overflow: hidden; background: var(--c-ink-2); border: 1px solid var(--c-line); }
.cl-resume__media { position: relative; aspect-ratio: 16 / 9; background: var(--c-ink-3); }
.cl-resume__media img { width: 100%; height: 100%; object-fit: cover; }
.cl-resume__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--c-ink-2)); }
.cl-resume__play { position: absolute; left: 18px; bottom: 18px; width: 64px; height: 64px; border-radius: 50%; background: rgb(7 11 20 / 0.82); border: 2px solid rgb(255 255 255 / 0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgb(0 0 0 / 0.6); z-index: 1; transition: scale 0.4s var(--ease-champ), background-color 0.3s, border-color 0.3s; }
/* Ink disc with a white ring: reads on orange, blue and photo thumbnails alike. Hover keeps the disc dark (an orange
   disc would vanish on the orange thumbnails) and lights the ring and the arrow orange instead. */
.cl-resume__play svg { width: 22px; height: 22px; margin-left: 4px; fill: #fff; transition: fill 0.3s; }
@media (hover: hover) {
  .cl-resume:hover .cl-resume__play { scale: 1.08; background: rgb(7 11 20 / 0.92); border-color: var(--c-orange); }
  .cl-resume:hover .cl-resume__play svg { fill: var(--c-orange); }
}
.cl-resume__body { padding: clamp(24px, 3.4vw, 44px); display: grid; align-content: center; gap: 14px; }
.cl-resume__kicker { font-family: var(--f-display); font-stretch: 110%; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-orange); }
.cl-resume__module { color: var(--c-on-ink-muted); font-size: 0.9rem; }
.cl-resume__lesson { font-family: var(--f-display); font-stretch: 80%; font-weight: 850; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
/* Product tile: the homepage player card (foil frame, number, name plate) */
.cl-pcard { position: relative; display: flex; flex-direction: column; border-radius: 20px; padding: 5px; background: linear-gradient(150deg, var(--c-orange), #FFD08A 30%, var(--c-blue) 70%, #8EB0FF); box-shadow: var(--shadow-card); transition: transform 0.5s var(--ease-champ); }
@media (hover: hover) { .cl-pcard:hover { transform: translateY(-6px) rotate(-0.6deg); } }
.cl-pcard__in { position: relative; display: flex; flex-direction: column; flex: 1; border-radius: 16px; overflow: hidden; background: var(--c-ink-2); }
.cl-pcard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-ink-3); }
.cl-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.8s var(--ease-champ); }
@media (hover: hover) { .cl-pcard:hover .cl-pcard__media img { scale: 1.05; } }
/* Number plate as in the course sidebar: readable on any thumbnail, light or dark */
.cl-pcard__no { position: absolute; top: 14px; left: 14px; z-index: 1; display: grid; place-items: center; min-width: 42px; height: 32px; padding: 0 8px; background: var(--c-ink); color: #fff; font-family: var(--f-display); font-stretch: 72%; font-weight: 900; font-size: 1.15rem; line-height: 1; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); box-shadow: 0 6px 16px rgb(0 0 0 / 0.35); }
.cl-pcard__tag { position: absolute; top: 16px; right: 0; z-index: 1; padding: 6px 14px 6px 18px; background: var(--c-ink); color: var(--c-on-ink); font-family: var(--f-display); font-stretch: 110%; font-weight: 700; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
.cl-pcard__body { display: grid; gap: 12px; padding: 18px 20px 20px; flex: 1; align-content: start; }
.cl-pcard__title { font-family: var(--f-display); font-stretch: 80%; font-weight: 850; text-transform: uppercase; font-size: 1.5rem; line-height: 1.02; }
.cl-pcard__text { color: var(--c-on-ink-muted); font-size: 0.9rem; }
.cl-pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.cl-pcard__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--c-orange); }
.cl-pcard__go svg { width: 18px; height: 18px; transition: translate 0.4s var(--ease-champ); }
@media (hover: hover) { .cl-pcard:hover .cl-pcard__go svg { translate: 4px 0; } }
/* Progress: a slanted lane that fills */
.cl-progress { display: grid; gap: 6px; }
.cl-progress__row { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 600; color: var(--c-on-ink-muted); }
.cl-progress__row b { color: var(--c-on-ink); font-family: var(--f-display); font-stretch: 80%; font-size: 0.95rem; }
.cl-progress__bar { position: relative; height: 8px; background: rgb(255 255 255 / 0.08); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.cl-progress__bar i { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: linear-gradient(90deg, var(--c-orange), var(--c-orange-soft)); }
.cl-empty { text-align: center; padding: clamp(48px, 8vw, 96px) 24px; border: 1px dashed var(--c-line-strong); border-radius: var(--r-lg); display: grid; justify-items: center; gap: 16px; }
.cl .pagination { margin-top: 32px; }

/* ---------- Thank you and 404 ---------- */
.cl-finish { min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; padding: clamp(56px, 8vw, 110px) 0; text-align: center; }
/* One column as wide as the container: the tape below is wider than the screen and must not widen the column */
.cl-finish__in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 22px; }
.cl-finish__title { font-size: clamp(3.6rem, 11vw, 9rem); }
.cl-finish__body { max-width: 60ch; color: var(--c-on-ink-muted); font-size: 1.05rem; }
.cl-finish__body a { color: var(--c-orange); text-decoration: underline; text-underline-offset: 3px; }
.cl-finish__body p + p { margin-top: 12px; }
.cl-finish__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.cl-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: min(100%, 720px); margin-top: 10px; text-align: left; }
.cl-step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: var(--r-md); background: var(--c-ink-2); border: 1px solid var(--c-line); }
.cl-step b { display: block; font-size: 0.98rem; margin-bottom: 2px; }
.cl-step div span { color: var(--c-on-ink-muted); font-size: 0.88rem; }
/* The step number reuses the menu plate; its menu counter is not running here, so only the written digit shows */
.cl-step .cl-menu__num::before { content: none; }
/* Finish tape across the headline */
.cl-tape { position: relative; width: 120vw; max-width: none; justify-self: start; height: 40px; margin: -6px calc(50% - 60vw); rotate: -3deg; display: flex; overflow: hidden; background: repeating-linear-gradient(90deg, #fff 0 46px, var(--c-orange) 46px 92px); }
.cl-tape span { display: block; white-space: nowrap; padding: 0 20px; line-height: 40px; font-family: var(--f-display); font-stretch: 110%; font-weight: 800; font-size: 0.75rem; letter-spacing: 0.3em; color: var(--c-ink); mix-blend-mode: multiply; }
.cl .cl-404__no { font-size: clamp(7rem, 24vw, 18rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 2px var(--c-on-ink-muted); }

/* ---------- Redirect stub (retired Kajabi website pages) ---------- */
.cl-redirect { min-height: 100svh; display: grid; place-items: center; text-align: center; gap: 12px; padding: 24px; }
.cl-redirect a { color: var(--c-orange); font-weight: 600; }

/* ---------- Footer ---------- */
.cl-footer { border-top: 1px solid var(--c-line); padding: 56px 0 28px; color: var(--c-on-ink); background: var(--c-ink); }
.cl-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.cl-footer__brand p { color: var(--c-on-ink-muted); font-size: 0.92rem; margin: 18px 0 22px !important; max-width: 36ch; }
.cl-footer__h { font-family: var(--f-body); font-size: 0.75rem; font-weight: 600; color: var(--c-on-ink-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px !important; }
.cl-footer ul { display: grid; gap: 10px; font-size: 0.95rem; margin: 0; padding: 0; list-style: none; }
@media (hover: hover) { .cl-footer ul a:hover { color: var(--c-orange); } }
.cl-footer__social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--c-line-strong); }
.cl-footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.cl-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--c-line); font-size: 0.8rem; color: var(--c-on-ink-muted); }

/* ---------- Generic Kajabi pages still on the Encore layout (account settings, announcements, ...) ---------- */
.cl--paper main { min-height: 60vh; }
.cl--paper main h1, .cl--paper main h2, .cl--paper main h3 { font-family: var(--f-display); font-stretch: 80%; font-weight: 850; text-transform: uppercase; letter-spacing: 0; color: var(--c-text); }
.cl--paper main .btn, .cl--paper main .form-btn, .cl--paper main button[type=submit] { border-radius: var(--r-pill) !important; background: var(--c-orange) !important; border-color: var(--c-orange) !important; color: var(--c-on-orange) !important; font-family: var(--f-body); font-weight: 600; }
.cl--paper main .form-control { border-radius: var(--r-sm); border: 1px solid var(--c-line-dark); }

/* ---------- Entrance motion hooks (champs.js); visible by default, hidden only once JS takes over ---------- */
.cl-js .cl-rise { opacity: 0; translate: 0 28px; }
.cl-js .cl-rise.is-in { opacity: 1; translate: 0 0; transition: opacity 0.9s var(--ease-champ), translate 0.9s var(--ease-champ); transition-delay: var(--d, 0s); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cl-auth__grid { grid-template-columns: 1fr; }
  .cl-auth__card { justify-self: stretch; max-width: none; }
  .cl-resume { grid-template-columns: 1fr; }
  .cl-resume__media::after { background: linear-gradient(180deg, transparent 60%, var(--c-ink-2)); }
  .cl-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cl-footer__brand { grid-column: 1 / -1; }
}
/* Member links fold into the menu on tablets and phones; on wider screens the bar holds everything and the
   race-plate menu steps aside (the account menu on the avatar has log out) */
@media (min-width: 901px) {
  .cl-nav__plate { display: none; }
}
@media (max-width: 900px) {
  .cl-nav__links { display: none; }
}
@media (max-width: 720px) {
  .cl-brand__word { font-size: 1.2rem; }
  .cl-brand__badge { width: 38px; height: 38px; }
  .cl-auth { padding-top: calc(var(--nav-h) + 16px); align-items: flex-start; }
  .cl-auth__title { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .cl-auth__points { display: none; }
  .cl-lib__head { flex-direction: column; align-items: flex-start; }
  .cl-steps { grid-template-columns: 1fr; }
  .cl-menu__link { grid-template-columns: 34px 1fr; gap: 12px; }
  .cl-menu__num { width: 32px; height: 28px; font-size: 1.1rem; }
  .cl-nav__login, .cl-nav__www, .cl-nav__cta.cl-no-course-only { display: none; }
}

/* ---------- Reduced motion: everything visible, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  .cl *, .cl *::before, .cl *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .cl-js .cl-rise { opacity: 1; translate: none; }
}

/* Kajabi flash messages placed inside the auth card */
.cl-card .flash-messages .container { margin: 0 0 14px; padding: 0; max-width: none; }

/* ---------- Digital download page (e.g. The Champion's Guide): dark like the library ---------- */
body.cl:has(.website-digital-downloads-collections) { background: var(--c-ink) !important; color: var(--c-on-ink); }
.cl .website-digital-downloads-collections { background: var(--c-ink) !important; }
.cl .website-digital-downloads-collections .sizer, .cl .digital-downloads-collection__content, .cl .website-digital-downloads-collections .container { background: transparent !important; }
.cl .website-digital-downloads-collections { position: relative; isolation: isolate; padding: clamp(40px, 6vw, 88px) 0 !important; }
.cl .website-digital-downloads-collections::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(48vw 34vw at 82% 10%, rgb(47 107 255 / 0.28), transparent 64%), radial-gradient(36vw 26vw at 6% 90%, rgb(255 138 31 / 0.12), transparent 62%); }
.cl .digital-downloads-collection__thumbnail { border-radius: 20px; padding: 5px; background: linear-gradient(150deg, var(--c-orange), #FFD08A 30%, var(--c-blue) 70%, #8EB0FF); box-shadow: var(--shadow-card); }
.cl .digital-downloads-collection__thumbnail img { border-radius: 16px; display: block; width: 100%; }
.cl .digital-downloads-collection__title { font-family: var(--f-display) !important; font-stretch: 72%; font-weight: 850 !important; text-transform: uppercase; letter-spacing: 0 !important; line-height: 0.95 !important; font-size: clamp(2.4rem, 5vw, 4.2rem) !important; color: var(--c-on-ink) !important; margin: 28px 0 14px !important; }
.cl .digital-downloads-collection__description, .cl .digital-downloads-collection__description * { color: var(--c-on-ink-muted) !important; font-size: 1.05rem; }
/* Files header: let the button drop below the title on narrow cards instead of squeezing "0 files • 0 Bytes" onto two lines */
.cl .digital-downloads-collection__file-list-header { flex-wrap: wrap; gap: 12px 16px; }
.cl .digital-downloads-collection__file-list-header-stats div { white-space: nowrap; }
.cl .digital-downloads-collection__file-list { background: var(--c-ink-2) !important; color: var(--c-on-ink) !important; border: 1px solid var(--c-line) !important; border-radius: var(--r-md) !important; box-shadow: none !important; }
.cl .digital-downloads-collection__file-list * { color: inherit; }
.cl .digital-downloads-collection__file-list h1, .cl .digital-downloads-collection__file-list h2, .cl .digital-downloads-collection__file-list h3, .cl .digital-downloads-collection__file-list h4 { font-family: var(--f-display) !important; font-stretch: 80%; text-transform: uppercase; color: var(--c-on-ink) !important; }
.cl .digital-downloads-collection__file-list-header { border-color: var(--c-line) !important; }
.cl .digital-downloads-collection__file-list-header-stats, .cl .digital-downloads-collection__file-list-header-stats * { color: var(--c-on-ink-muted) !important; }
.cl .digital-downloads-collection__file-list .btn { border-radius: var(--r-pill) !important; background: var(--c-orange) !important; border-color: var(--c-orange) !important; color: var(--c-on-orange) !important; font-family: var(--f-body) !important; font-weight: 600 !important; box-shadow: var(--shadow-orange); }
.cl .digital-downloads-collection__file-list-body-list > * { border-color: var(--c-line) !important; color: var(--c-on-ink) !important; }
.cl .digital-downloads-collection__file-list-body-list a { color: var(--c-orange) !important; }

/* ---------- Account page (/pages/account, snippets/champs_account; behaviour in champs.js) ---------- */
.cl-acc { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.cl-acc__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.cl-acc__who { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); min-width: 0; }
.cl-acc__photo { flex: 0 0 auto; width: clamp(72px, 9vw, 104px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--c-ink-3); box-shadow: 0 0 0 2px var(--c-orange), 0 0 0 7px rgb(255 138 31 / 0.14); }
.cl-acc__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-acc__id { min-width: 0; }
.cl-acc__title { margin: 10px 0 10px !important; font-size: clamp(2.4rem, 5.4vw, 4.4rem); overflow-wrap: anywhere; }
.cl-acc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 !important; font-size: 0.95rem; color: var(--c-on-ink-muted); overflow-wrap: anywhere; }
.cl-acc__plan { padding: 4px 10px; border: 1px solid var(--c-line-strong); border-radius: var(--r-pill); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-on-ink-muted); }
.cl-acc__plan.is-champion { border-color: rgb(255 138 31 / 0.55); color: var(--c-orange); }
.cl-acc__out a { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid var(--c-line-strong); border-radius: var(--r-pill); font-weight: 600; font-size: 0.875rem; color: var(--c-on-ink) !important; text-decoration: none; transition: border-color 0.25s, background-color 0.25s; }
@media (hover: hover) { .cl-acc__out a:hover { border-color: rgb(255 255 255 / 0.4); background: rgb(255 255 255 / 0.05); } }
.cl-acc__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.cl-acc__main, .cl-acc__side { display: grid; align-content: start; gap: 20px; min-width: 0; }
@media (min-width: 980px) {
  .cl-acc__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
  .cl-acc__side { position: sticky; top: calc(var(--nav-h) + 20px); }
}
.cl-acc-card { display: grid; gap: 18px; margin: 0; padding: clamp(20px, 2.6vw, 30px); background: var(--c-ink-2); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.cl-acc-card__head h2 { margin: 0 0 6px !important; font-family: var(--f-display); font-stretch: 80%; font-weight: 850; font-size: 1.4rem; line-height: 1; text-transform: uppercase; color: var(--c-on-ink); }
.cl-acc-card__head p { margin: 0 !important; font-size: 0.92rem; line-height: 1.5; color: var(--c-on-ink-muted); }
.cl-acc-fields { display: grid; gap: 16px; }
.cl-acc-fields--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.cl-acc-field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.cl-acc-field label { margin: 0; font-size: 0.8rem; font-weight: 600; color: var(--c-on-ink); }
.cl .cl-acc-field input { width: 100%; height: auto; margin: 0; padding: 13px 15px; font-family: var(--f-body); font-size: 1rem; color: var(--c-on-ink); background: var(--c-ink); border: 1px solid var(--c-line-strong); border-radius: var(--r-sm); box-shadow: none; transition: border-color 0.2s, box-shadow 0.2s; }
.cl .cl-acc-field input:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 4px rgb(47 107 255 / 0.22); }
.cl-acc-field--error input { border-color: #F97066 !important; }
.cl-acc-field__msg { margin: 0 !important; font-size: 0.84rem; color: #FDA29B; }
.cl-acc-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.cl-acc-card__foot .cl-btn { margin-left: auto; }
.cl-acc-card__foot .cl-btn[disabled] { opacity: 0.6; cursor: progress; }
.cl-acc-status { min-height: 1.3em; margin: 0 !important; font-size: 0.88rem; color: var(--c-on-ink-muted); }
.cl-acc-status.is-ok { color: var(--c-live); }
.cl-acc-status.is-error { color: #FDA29B; }
[data-cl-acc-notify] .cl-acc-status:empty { display: none; }
.cl-acc-link { font-weight: 600; font-size: 0.9rem; color: var(--c-orange) !important; text-decoration: none; }
.cl-acc-link::after { content: ' \2192'; }
@media (hover: hover) { .cl-acc-link:hover { text-decoration: underline; text-underline-offset: 3px; } }
/* Email notification switches */
.cl-acc-toggles { display: grid; margin: 0; padding: 0; list-style: none; }
.cl-acc-toggle { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--c-line); }
.cl-acc-toggle:first-child { border-top: 0; padding-top: 0; }
.cl-acc-toggle__text { display: grid; gap: 2px; margin: 0; cursor: pointer; }
.cl-acc-toggle__text strong { font-weight: 600; font-size: 0.95rem; color: var(--c-on-ink); }
.cl-acc-toggle__text span { font-size: 0.85rem; line-height: 1.4; color: var(--c-on-ink-muted); }
.cl .cl-switch { -webkit-appearance: none; appearance: none; position: relative; flex: 0 0 auto; width: 46px; height: 26px; margin: 0; border: 0; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.16); cursor: pointer; transition: background-color 0.25s; }
.cl .cl-switch::before { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / 0.35); transition: transform 0.25s var(--ease-champ); }
.cl .cl-switch:checked { background: var(--c-orange); }
.cl .cl-switch:checked::before { transform: translateX(20px); }
.cl .cl-switch:disabled { opacity: 0.55; cursor: progress; }
/* Membership */
.cl-acc-planname { margin: -6px 0 0 !important; font-family: var(--f-display); font-stretch: 72%; font-weight: 900; font-size: 2.2rem; line-height: 1; text-transform: uppercase; color: var(--c-on-ink); }
.cl-acc-access { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cl-acc-access:empty { display: none; }
.cl-acc-access a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; background: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--r-sm); font-weight: 600; font-size: 0.9rem; line-height: 1.3; color: var(--c-on-ink) !important; text-decoration: none; transition: border-color 0.25s; }
@media (hover: hover) { .cl-acc-access a:hover { border-color: rgb(255 138 31 / 0.55); } }
.cl-acc-card--plan .cl-btn[hidden] { display: none; }

/* ---------- Library: section headings, the course topics and extras (champs.js "Library") ---------- */
.cl-lib__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0 0 18px; }
.cl-lib__h h2 { margin: 0 !important; font-family: var(--f-display); font-stretch: 80%; font-weight: 850; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; text-transform: uppercase; color: var(--c-on-ink); }
.cl-lib__h span { font-size: 0.9rem; color: var(--c-on-ink-muted); }
.cl-lib__more { display: grid; gap: clamp(48px, 6vw, 80px); margin-top: clamp(48px, 6vw, 80px); }
.cl-lib__more:empty { display: none; }
.cl-lib-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.cl-ltopic { display: flex; flex-direction: column; overflow: hidden; background: var(--c-ink-2); border: 1px solid var(--c-line); border-radius: var(--r-md); color: var(--c-on-ink) !important; text-decoration: none; transition: transform 0.4s var(--ease-champ), border-color 0.3s; }
@media (hover: hover) { .cl-ltopic:hover { transform: translateY(-4px); border-color: rgb(255 138 31 / 0.55); } }
.cl-ltopic__media { position: relative; aspect-ratio: 16 / 9; background: var(--c-ink-3); }
.cl-ltopic__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-ltopic--locked .cl-ltopic__media img { filter: saturate(0.75) brightness(0.72); }
.cl-ltopic__lock { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: var(--r-pill); background: rgb(7 11 20 / 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-on-ink); }
.cl-ltopic__lock::before { content: ''; width: 12px; height: 12px; background: var(--c-orange); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
.cl-ltopic__body { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; padding: 14px 16px 16px; }
.cl-ltopic__head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 2px; }
.cl-ltopic__no { flex: 0 0 auto; display: grid; place-items: center; min-width: 30px; height: 20px; padding: 0 6px; background: var(--c-on-ink); color: var(--c-ink); font-family: var(--f-display); font-stretch: 72%; font-weight: 900; font-size: 0.82rem; line-height: 1; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.cl-ltopic__title { font-family: var(--f-display); font-stretch: 80%; font-weight: 850; font-size: 1.1rem; line-height: 1.05; text-transform: uppercase; }
.cl-ltopic__experts { font-size: 0.85rem; font-weight: 500; color: var(--c-on-ink); opacity: 0.85; }
.cl-ltopic__meta { font-size: 0.8rem; color: var(--c-on-ink-muted); }
.cl-ltopic__progress { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; font-weight: 600; font-size: 0.75rem; color: var(--c-on-ink-muted); }
.cl-ltopic--done .cl-ltopic__progress { color: var(--c-orange); }
.cl-ltopic__bar { flex: 1 1 auto; height: 6px; background: linear-gradient(90deg, var(--c-orange), var(--c-orange-soft)) 0 0 / var(--p, 0%) 100% no-repeat, rgb(255 255 255 / 0.08); clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
/* Free members: the Champion upsell above the locked topics */
.cl-lib-upsell { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-bottom: 22px; padding: clamp(22px, 3vw, 34px); background: url(https://www.champs-lab.com/kajabi/lanes.svg) right bottom / auto 100% no-repeat, radial-gradient(60% 120% at 90% 0%, rgb(47 107 255 / 0.35), transparent 65%), var(--c-ink-2); border: 1px solid rgb(255 138 31 / 0.35); border-radius: var(--r-lg); }
.cl-lib-upsell__copy { display: grid; gap: 8px; max-width: 620px; }
.cl-lib-upsell__copy h3 { margin: 0 !important; font-family: var(--f-display); font-stretch: 80%; font-weight: 850; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; text-transform: uppercase; color: var(--c-on-ink); }
.cl-lib-upsell__copy p:last-child { margin: 0 !important; color: var(--c-on-ink-muted); line-height: 1.55; }
.cl-lib-upsell__actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Extras: live Q&A, podcasts, experts */
.cl-lib-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.cl-xcard { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; background: var(--c-ink-2); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.cl-xcard h3 { margin: 4px 0 0 !important; font-family: var(--f-display); font-stretch: 80%; font-weight: 850; font-size: 1.4rem; line-height: 1; text-transform: uppercase; color: var(--c-on-ink); }
.cl-xcard p { margin: 0 !important; font-size: 0.92rem; line-height: 1.5; color: var(--c-on-ink-muted); }
.cl-xcard .cl-xcard__when { font-weight: 600; color: var(--c-on-ink); }
.cl-xcard--live { background: url(https://www.champs-lab.com/kajabi/lanes.svg) right bottom / auto 100% no-repeat, radial-gradient(80% 90% at 100% 0%, rgb(47 107 255 / 0.32), transparent 65%), var(--c-ink-2); }
.cl-xcard__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-xcard__live, .cl-xcard__tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border: 1px solid var(--c-line-strong); border-radius: var(--r-pill); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-on-ink); }
.cl-xcard__live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c-live); box-shadow: 0 0 0 3px rgb(22 196 127 / 0.2); }
.cl-xcard__faces { display: flex; margin-bottom: 2px; }
.cl-xcard__faces img { width: 40px; height: 40px; margin-left: -10px; border: 2px solid var(--c-ink-2); border-radius: 50%; object-fit: cover; background: var(--c-ink-3); }
.cl-xcard__faces img:first-child { margin-left: 0; }
.cl-xcard__link { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 0.9rem; color: var(--c-orange) !important; text-decoration: none; }
.cl-xcard__link::after { content: ' \2192'; }
.cl-xcard__link--out::after { content: ' \2197'; }
@media (hover: hover) { .cl-xcard__link:hover { text-decoration: underline; text-underline-offset: 3px; } }
