/* ==========================================================================
   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: '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: '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: '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: '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: '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: '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: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-body: '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; }
.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; }
.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; border-radius: 50%; overflow: hidden; border: 2px solid var(--c-line-strong); background: var(--c-ink-3); }
.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; }
.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: 18px 0 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: 60px; height: 60px; border-radius: 50%; background: var(--c-orange); display: grid; place-items: center; box-shadow: var(--shadow-orange); z-index: 1; transition: scale 0.4s var(--ease-champ); }
.cl-resume__play svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--c-on-orange); }
@media (hover: hover) { .cl-resume:hover .cl-resume__play { scale: 1.08; } }
.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; } }
.cl-pcard__no { position: absolute; top: 12px; left: 16px; z-index: 1; font-family: var(--f-display); font-stretch: 72%; font-weight: 900; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #fff; text-shadow: 0 2px 12px rgb(0 0 0 / 0.3); }
.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; }
.cl-finish__in { display: grid; 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 span { color: var(--c-on-ink-muted); font-size: 0.88rem; }
/* Finish tape across the headline */
.cl-tape { position: relative; width: 120vw; height: 40px; margin: -6px 0; 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-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; }
}
@media (max-width: 720px) {
  .cl-nav__links { display: none; }
  .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 { 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; }
