/* MASTERCLASS detail page (agent MASTERCLASS) — follows brand tokens, works in html[data-theme=dark|light] */
:root { --mc-acc: var(--lime-ink, var(--lime)); --mc-on-lime: var(--on-lime, #0b0f19); --mc-card: rgba(var(--fg-rgb, 243, 245, 240), .045); --mc-card-2: rgba(var(--fg-rgb, 243, 245, 240), .08); --mc-gut: clamp(16px, 4vw, 56px); --mc-max: 1180px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; } /* Lenis drives the scroll; native smooth scrolling fights it (first wheel stalls, then jumps) */
body.mc { margin: 0; font-family: var(--f-th); background: radial-gradient(1100px 520px at 90% -8%, rgba(var(--lime-rgb, 200, 245, 66), .09), transparent 62%), var(--bg, var(--ink)); color: var(--text); font-size: 19px; line-height: 1.7; overflow-x: hidden; }
.mc a { color: inherit; text-decoration: none; }
.mc img { max-width: 100%; display: block; }
.mc h1, .mc h2, .mc h3 { margin: 0; font-weight: 700; }
.mc-wrap { width: 100%; max-width: var(--mc-max); margin: 0 auto; padding: 0 var(--mc-gut); }
.mc-eyebrow { font-family: var(--f-lat); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--mc-acc); font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.mc-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.mc-h2 { font-family: var(--f-th-bold); font-weight: 700; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.28; letter-spacing: 0; margin: 12px 0 12px; }
.mc-lead { color: var(--text-2); font-size: clamp(18px, 1.4vw, 20px); line-height: 1.7; max-width: 700px; margin: 0; }
.mc-sec { padding: clamp(64px, 9vw, 112px) 0 0; }
.mc-num { font-family: var(--f-lat); font-weight: 800; }

/* nav */
.mc-nav { position: sticky; top: 0; z-index: 40; background: rgba(var(--bg-rgb, 11, 15, 25), .82); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid var(--line); }
.mc-nav .mc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 64px; }
.mc-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-lat); font-weight: 800; letter-spacing: .04em; font-size: 16px; white-space: nowrap; }
.mc-brand i { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px rgba(var(--lime-rgb, 200, 245, 66), .60); }
.mc-brand span { color: var(--text-3); font-weight: 600; }
.mc-navr { display: flex; align-items: center; gap: 10px; }
.mc-navr .mc-link { color: var(--text-2); font-size: 16px; white-space: nowrap; }
.mc-navr .mc-link:hover { color: var(--text); }

/* buttons */
.mc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-family: var(--f-th-bold); font-weight: 700; font-size: 18px; line-height: 1.45; border: 1px solid var(--line-2); color: var(--text); background: transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s, background .2s; white-space: nowrap; }
.mc-btn:hover { transform: translateY(-1px); border-color: rgba(var(--lime-rgb, 200, 245, 66), .60); }
.mc-btn.fill { background: var(--lime); border-color: var(--lime); color: var(--mc-on-lime); }
.mc-btn.fill:hover { box-shadow: var(--glow); }
.mc-btn.sm { padding: 9px 16px; font-size: 16px; }
.mc-btn.big { padding: 15px 30px; font-size: 20px; }
.mc-btn svg { width: 18px; height: 18px; }

/* hero */
.mc-hero { padding: clamp(40px, 7vw, 88px) 0 0; }
.mc-hero .mc-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.mc-kicker { font-family: var(--f-lat); font-size: 13px; letter-spacing: .22em; color: var(--text-3); font-weight: 600; text-transform: uppercase; }
.mc-title { font-family: var(--f-lat); font-weight: 800; font-size: clamp(48px, 8.4vw, 112px); line-height: .9; letter-spacing: -.035em; margin: 14px 0 0; }
.mc-title em { font-style: normal; color: var(--mc-acc); }
.mc-promise { font-family: var(--f-th-bold); font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; margin: 22px 0 0; max-width: 620px; }
.mc-sub { color: var(--text-2); margin: 12px 0 0; max-width: 560px; }
.mc-pricebox { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin: 30px 0 0; }
.mc-price { font-family: var(--f-lat); font-weight: 800; font-size: clamp(46px, 5.6vw, 68px); line-height: 1; letter-spacing: -.02em; }
.mc-price small { font-size: .42em; color: var(--text-2); font-weight: 600; margin-left: 6px; letter-spacing: 0; }
.mc-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 0; }
.mc-trust { display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 20px 0 0; color: var(--text-3); font-size: 15px; line-height: 1.5; }
.mc-trust b { color: var(--text-2); font-weight: 600; }

.mc-get { border: 1px solid var(--line-2); border-radius: 24px; padding: 8px; background: linear-gradient(180deg, var(--mc-card-2), var(--mc-card)); box-shadow: var(--shadow-lg); }
.mc-get h2 { font-family: var(--f-lat); font-size: 12px; letter-spacing: .2em; font-weight: 600; color: var(--text-3); padding: 14px 16px 6px; text-transform: uppercase; }
.mc-gi { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 14px 16px; border-radius: 16px; align-items: start; }
.mc-gi + .mc-gi { border-top: 1px solid var(--line); }
.mc-gi .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--lime-dim); color: var(--mc-acc); }
.mc-gi .ic svg { width: 22px; height: 22px; }
.mc-gi b { display: block; font-family: var(--f-th-bold); font-weight: 700; font-size: 19px; line-height: 1.4; }
.mc-gi > div > span { display: block; color: var(--text-2); font-size: 16px; line-height: 1.6; margin-top: 3px; }
.mc-gi.bonus { background: radial-gradient(380px 160px at 100% 0%, rgba(var(--lime-rgb, 200, 245, 66), .14), transparent 70%); }
.mc-tag { display: inline-block; font-family: var(--f-lat); font-size: 12px; letter-spacing: .14em; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--lime); color: var(--mc-on-lime); vertical-align: 3px; margin-left: 6px; }
.mc-tier .nm .mc-tag { font-family: var(--f-th-bold); font-size: 14px; letter-spacing: 0; line-height: 1.45; }

/* preview */
.mc-prev { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; margin-top: 32px; align-items: start; }
.mc-player { min-width: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); background: #0b0f19; }
.mc-prev-side { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: var(--mc-card); }
.mc-prev-side .mod { font-family: var(--f-lat); font-size: 12px; letter-spacing: .14em; color: var(--mc-acc); font-weight: 600; }
.mc-prev-side h3 { font-family: var(--f-th-bold); font-weight: 700; font-size: 22px; line-height: 1.38; margin: 8px 0 8px; }
.mc-prev-side p { color: var(--text-2); font-size: 17px; line-height: 1.65; margin: 0 0 16px; }
.mc-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.mc-chip { font-family: var(--f-th); font-size: 15px; font-weight: 500; line-height: 1.45; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.mc-note { font-size: 15px; color: var(--text-3); margin-top: 14px; }
.mc-done { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--lime-dim); font-size: 17px; }
.mc-done.on { display: block; }

/* lessons */
.mc-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.mc-mod { border: 1px solid var(--line); border-radius: 20px; background: var(--mc-card); overflow: hidden; }
.mc-mod-h { display: flex; align-items: baseline; gap: 12px; padding: 18px 20px 12px; }
.mc-mod-h .k { font-family: var(--f-lat); font-weight: 800; font-size: 34px; color: var(--mc-acc); line-height: 1; }
.mc-mod-h b { font-family: var(--f-th-bold); font-weight: 700; font-size: 21px; line-height: 1.35; }
.mc-mod-h small { color: var(--text-3); font-size: 15px; margin-left: auto; font-family: var(--f-lat); white-space: nowrap; }
.mc-les { display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 12px; padding: 14px 20px; border-top: 1px solid var(--line); align-items: start; }
.mc-les .n { font-family: var(--f-lat); font-weight: 700; font-size: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); margin-top: 2px; }
.mc-les.free .n { background: var(--lime); border-color: var(--lime); color: var(--mc-on-lime); }
.mc-les h3 { font-family: var(--f-th-bold); font-weight: 700; font-size: 19px; line-height: 1.45; }
.mc-les p { grid-column: 2 / 4; margin: 0; color: var(--text-2); font-size: 17px; line-height: 1.6; }
.mc-les .d { font-family: var(--f-lat); font-size: 13px; color: var(--text-3); white-space: nowrap; text-align: right; line-height: 1.5; padding-top: 3px; }
.mc-les .free-b { font-family: var(--f-th-bold); font-size: 15px; color: var(--mc-acc); margin-left: 6px; }
.mc-sum { display: flex; gap: 10px 28px; flex-wrap: wrap; margin-top: 22px; color: var(--text-2); font-size: 17px; line-height: 1.5; }
.mc-sum b { font-family: var(--f-lat); color: var(--text); font-weight: 700; }

/* pdf */
.mc-pdf { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: 34px; align-items: start; }
.mc-pdf-info .big { font-family: var(--f-lat); font-weight: 800; font-size: 84px; line-height: .9; letter-spacing: -.03em; }
.mc-pdf-info .big small { font-family: var(--f-th-bold); font-size: 26px; letter-spacing: 0; margin-left: 8px; }
.mc-pdf-info ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.mc-pdf-info li { display: flex; gap: 10px; color: var(--text-2); font-size: 18px; line-height: 1.6; }
.mc-pdf-info li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-top: 8px; }
.mc-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mc-page { position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; color: var(--text); font: inherit; border-radius: 10px; }
.mc-page img { width: 100%; height: auto; aspect-ratio: 1200 / 1697; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); box-shadow: 0 14px 34px rgba(0,0,0,.28); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; background: #fff; }
.mc-page:hover img, .mc-page:focus-visible img { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 22px 44px rgba(0,0,0,.34); }
.mc-page span { display: block; font-size: 15px; color: var(--text-2); margin-top: 9px; line-height: 1.5; }
.mc-page span b { font-family: var(--f-lat); color: var(--text-3); font-size: 12px; letter-spacing: .1em; margin-right: 6px; font-weight: 600; }
.mc-page:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

/* lightbox */
.mc-lb { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(5,7,12,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 56px 64px 64px; }
.mc-lb.on { display: flex; }
.mc-lb img { max-width: min(860px, 100%); max-height: 100%; width: auto; height: auto !important; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #fff; }
.mc-lb .x, .mc-lb .pv, .mc-lb .nx { position: absolute; border: 1px solid rgba(243,245,240,.25); background: rgba(11,15,25,.7); color: #f3f5f0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.mc-lb .x { top: 14px; right: 14px; }
.mc-lb .pv { left: 12px; top: 50%; transform: translateY(-50%); }
.mc-lb .nx { right: 12px; top: 50%; transform: translateY(-50%); }
.mc-lb svg { width: 20px; height: 20px; }
.mc-lb .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(243,245,240,.8); font-size: 16px; padding: 0 16px; }

/* reels */
.mc-reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.mc-reel { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: #000; aspect-ratio: 9 / 16; cursor: pointer; padding: 0; color: #f3f5f0; font: inherit; text-align: left; }
.mc-reel img, .mc-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.82)); pointer-events: none; transition: opacity .3s; }
.mc-reel.playing::after, .mc-reel.playing .mc-rinfo, .mc-reel.playing .mc-rplay { opacity: 0; }
.mc-rplay { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: rgba(11,15,25,.55); border: 1px solid rgba(243,245,240,.4); display: grid; place-items: center; transition: opacity .3s, transform .3s; z-index: 2; }
.mc-reel:hover .mc-rplay { transform: translate(-50%, -50%) scale(1.06); }
.mc-rplay svg { width: 22px; height: 22px; margin-left: 3px; }
.mc-rinfo { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; transition: opacity .3s; }
.mc-rinfo .v { font-family: var(--f-lat); font-weight: 800; font-size: 26px; line-height: 1; }
.mc-rinfo .v small { font-size: 13px; font-weight: 600; opacity: .75; margin-left: 4px; }
.mc-rinfo .t { font-size: 15px; line-height: 1.5; opacity: .85; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-rinfo .l { font-family: var(--f-lat); font-size: 12px; opacity: .7; margin-top: 4px; }
.mc-src { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--text-3); }
.mc-src a { text-decoration: underline; text-underline-offset: 3px; }

/* bonus */
.mc-bonus { margin-top: 32px; border-radius: 26px; border: 1px solid rgba(var(--lime-rgb, 200, 245, 66), .40); background: radial-gradient(700px 300px at 100% 0%, rgba(var(--lime-rgb, 200, 245, 66), .16), transparent 70%), var(--mc-card); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.mc-bonus .val { font-family: var(--f-lat); font-weight: 800; font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -.02em; }
.mc-bonus .val small { font-family: var(--f-th-bold); font-size: 20px; color: var(--text-2); margin-left: 8px; letter-spacing: 0; }
.mc-bonus h3 { font-family: var(--f-th-bold); font-weight: 700; font-size: clamp(23px, 2.3vw, 30px); line-height: 1.35; margin-top: 14px; }
.mc-bonus p { color: var(--text-2); margin: 10px 0 0; }
.mc-kv { display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; background: rgba(var(--bg-rgb, 11, 15, 25), .6); }
.mc-kv dt { color: var(--text-3); font-size: 16px; }
.mc-kv dd { margin: 0; font-family: var(--f-th-bold); font-weight: 700; font-size: 19px; line-height: 1.45; }

/* compare */
.mc-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; align-items: stretch; max-width: 920px; margin-inline: auto; }
.mc-tier { border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: var(--mc-card); display: flex; flex-direction: column; }
.mc-tier.hl { border-color: var(--lime); box-shadow: var(--glow); background: radial-gradient(420px 200px at 50% 0%, rgba(var(--lime-rgb, 200, 245, 66), .12), transparent 70%), var(--mc-card-2); }
.mc-tier .nm { font-family: var(--f-lat); font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mc-tier .pr { font-family: var(--f-lat); font-weight: 800; font-size: 42px; line-height: 1.05; margin: 10px 0 4px; }
.mc-tier .tg { color: var(--text-2); font-size: 17px; line-height: 1.6; min-height: 54px; }
.mc-tier ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.mc-tier li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 17px; line-height: 1.55; }
.mc-tier li svg { width: 18px; height: 18px; color: var(--mc-acc); margin-top: 3px; }
.mc-tier .mc-btn { width: 100%; }

/* final */
.mc-final { margin: clamp(64px, 9vw, 112px) 0 0; text-align: center; padding: clamp(40px, 6vw, 72px) var(--mc-gut); border-top: 1px solid var(--line); }
.mc-final h2 { font-family: var(--f-th-bold); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; }
.mc-final p { color: var(--text-2); margin: 12px auto 0; max-width: 560px; }
.mc-final .mc-ctas { justify-content: center; }
.mc-recover { display: inline-block; margin-top: 18px; color: var(--text-2); font-size: 17px; text-decoration: underline !important; text-underline-offset: 4px; }
.mc-foot { border-top: 1px solid var(--line); padding: 26px var(--mc-gut) 110px; text-align: center; color: var(--text-3); font-size: 15px; }
.mc-foot a { text-decoration: underline; text-underline-offset: 3px; }

/* sticky buy bar */
.mc-bar { position: fixed; left: 70px; right: 12px; bottom: 12px; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(var(--bg-rgb, 11, 15, 25), .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.7,.2,1); max-width: 560px; margin: 0 auto; }
.mc-bar.on { transform: none; }
.mc-bar .p { font-family: var(--f-lat); font-weight: 800; font-size: 22px; white-space: nowrap; }
.mc-bar .p small { font-family: var(--f-th); font-weight: 400; font-size: 14px; color: var(--text-2); display: block; line-height: 1.3; margin-bottom: 1px; }
.mc-bar .p small, .mc-bar .p small * { font-size: 15px; }

@media (max-width: 960px) {
  .mc-hero .mc-wrap, .mc-prev, .mc-pdf, .mc-bonus { grid-template-columns: minmax(0, 1fr); }
  .mc-mods, .mc-cmp { grid-template-columns: minmax(0, 1fr); }
  .mc-reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body.mc { font-size: 17px; line-height: 1.7; }
  .mc-bar .p { min-width: 0; flex: 1 1 auto; white-space: normal; }
  .mc-bar .p small { white-space: normal; line-height: 1.35; }
  .mc-bar .p small, .mc-bar .p small * { font-size: 14px; }
  .mc-bar .mc-btn { flex: none; }
  .mc-h2 { font-size: 27px; }
  .mc-lead { font-size: 17px; }
  .mc-navr .mc-link { display: none; }
  .mc-navr .mc-link.mc-in { display: inline; }
  .mc-brand span { display: none; }
  .mc-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mc-reels { gap: 10px; }
  .mc-rinfo .v { font-size: 21px; }
  .mc-les { padding: 14px 16px; }
  .mc-les p { grid-column: 1 / 4; }
  .mc-lb { padding: 60px 8px 64px; }
  .mc-lb .pv, .mc-lb .nx { top: auto; bottom: 10px; transform: none; }
  .mc-lb .cap { bottom: 24px; padding: 0 70px; font-size: 14px; }
  .mc-kv { padding: 16px; }
  .mc-pdf-info .big { font-size: 68px; }
}
@media (max-width: 820px) {
  .mc-navr .mc-link:not(.mc-in) { display: none; }
}
@media (max-width: 400px) {
  .mc-navr .mc-navprice { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .mc-bar, .mc-page img { transition: none; } }
