/* Ekalix Classroom (/academy/classroom): one page, three tabs - Find a tutor, Become a tutor, Recorded paid sessions.
   /assets/classroom.css. Every class starts cl- (site.css has global rules for short names: .step, .sw, .dot ...).
   LAWS: motion is transform and opacity only; nothing animates on a big layer (the hero's rings and light are one small
   canvas; the nodes move by transform); a card's glow, glare and sweep are their own small layers; under reduced motion
   everything is at rest (.cl-still, and the media query below). Each group has its hue: --h (r, g, b). */
.cl { --h: var(--glow2); }
.g-school { --h: 56, 189, 248; }
.g-exams { --h: 245, 158, 11; }
.g-tech { --h: 192, 132, 252; }
.g-cse { --h: 52, 211, 153; }
html.cl-open { overflow: hidden; }

/* ---- the hero ---- */
.cl-hero { position: relative; padding: 30px 0 22px; }
.cl-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 24px; align-items: center; }
.cl-brand { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 14px; border-radius: 999px; border: 1px solid var(--gline2); background: linear-gradient(100deg, rgba(var(--glow1), .1), rgba(var(--glow3), .08)); box-shadow: 0 0 34px -12px rgba(var(--glow2), .8); }
.cl-logo { display: block; width: auto; height: 26px; }
.cl-brand b { padding-left: 12px; border-left: 1px solid var(--line2); font: 800 19px var(--display); letter-spacing: .16em; text-transform: uppercase; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cl-hero h1 { max-width: 13.5em; margin: 18px 0 12px; font-size: clamp(32px, 3.7vw, 50px); }
.cl-status { display: flex; align-items: flex-start; gap: 10px; max-width: 58ch; margin-top: 16px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--gline); background: rgba(var(--glow1), .05); font-size: 14px; line-height: 1.5; color: var(--text2); }
.cl-status b { color: var(--text); font-weight: 600; }
.cl-pulse { position: relative; flex: none; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: var(--ok); }
.cl-pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: clPing 2.4s ease-out infinite; }
@keyframes clPing { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
.cl-pillars { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.cl-pillars li { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 10px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); font: 600 13px var(--body); color: var(--text); }
.cl-pillars svg { width: 16px; height: 16px; color: var(--accent); }

/* the constellation: three orbits round the mark */
.cl-sky { position: relative; height: clamp(400px, 40vw, 540px); }
.cl-sky::before { content: ''; position: absolute; left: 50%; top: 50%; width: 82%; height: 82%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--glow2), .2), rgba(var(--glow3), .07) 55%, transparent); pointer-events: none; }
.cl-sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cl-core { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; align-content: center; gap: 5px; width: 164px; height: 164px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(9, 13, 26, .98) 70%, rgba(9, 13, 26, .75) 86%, rgba(9, 13, 26, 0)); }
.cl-core i { position: absolute; inset: 12px; border-radius: 50%; border: 1px solid rgba(var(--glow2), .6); box-shadow: 0 0 44px rgba(var(--glow2), .45), inset 0 0 30px rgba(var(--glow1), .22); }
.cl-core i::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(var(--glow1), .7); }
.cl-core img { position: relative; display: block; width: 104px; height: auto; }
.cl-core span { position: relative; font: 700 9.5px var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--accent-hi); padding-left: .3em; }
.cl-nodes { position: absolute; inset: 0; }
.cl-node { position: absolute; left: 0; top: 0; will-change: transform; }
.cl-node-in { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.n-group .cl-node-in { display: flex; align-items: center; gap: 7px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(9, 13, 26, .94); border: 1px solid rgba(var(--h), .6); box-shadow: 0 0 24px -4px rgba(var(--h), .65); white-space: nowrap; }
.n-group svg { width: 17px; height: 17px; color: rgb(var(--h)); }
.n-group b { font: 700 12.5px var(--display); letter-spacing: -.005em; color: #fff; }
.n-topic .cl-node-in { padding: 4px 10px; border-radius: 9px; background: rgba(9, 13, 26, .9); border: 1px solid rgba(var(--h), .4); white-space: nowrap; }
.n-topic b { font: 500 11px var(--mono); letter-spacing: .02em; color: var(--text); }
.n-tutor .cl-node-in { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid rgb(var(--h)); box-shadow: 0 0 20px rgba(var(--h), .55), 0 0 0 4px rgba(var(--h), .14); background: #0b1220; }
.n-tutor img.cl-pic { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.n-tutor .cl-wm { width: 80%; top: 76%; opacity: .5; transform: translate(-50%, -50%); }
.n-tutor .cl-av { font-size: 18px; }
.n-learner i { display: block; width: 12px; height: 12px; border-radius: 50%; background: #dbe3ff; box-shadow: 0 0 0 5px rgba(var(--glow2), .2), 0 0 16px rgba(var(--glow2), .9); }
.cl-node.hit .cl-node-in { animation: clHit .75s var(--ease); }
@keyframes clHit { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 35% { transform: translate(-50%, -50%) scale(1.24); } }

/* ---- the watermark, the logo chip and the Sample label: on every tutor picture, poster and session preview ---- */
.cl-wm { position: absolute; left: 50%; top: 47%; z-index: 1; width: 46%; height: auto; transform: translate(-50%, -50%) rotate(-14deg); opacity: .22; pointer-events: none; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.cl-lg { position: absolute; right: 10px; top: 10px; z-index: 2; padding: 5px 8px; border-radius: 9px; background: rgba(3, 5, 10, .66); border: 1px solid rgba(255, 255, 255, .18); }
.cl-lg img { display: block; width: auto; height: 13px; }
.cl-tag { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 4px 9px; border-radius: 999px; background: rgba(3, 5, 10, .8); border: 1px solid rgba(255, 255, 255, .24); font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.cl-tag.in { position: static; display: inline-block; margin-top: 6px; font-style: normal; }
.cl-av { display: grid; place-items: center; width: 100%; height: 100%; font: 800 44px var(--display); letter-spacing: -.02em; color: #fff; background: linear-gradient(140deg, rgba(var(--glow1), .55), rgba(var(--glow3), .5)); }

/* ---- the three tabs ---- */
.cl-tabs { position: sticky; top: 66px; z-index: 30; padding: 8px 0; }
.cl-tabrow { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 6px; border-radius: 22px; background: rgba(8, 12, 24, .95); border: 1px solid var(--gline2); box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .95), 0 0 40px -22px rgba(var(--glow2), .7); }
.cl-ind { position: absolute; left: 0; top: 6px; bottom: 6px; width: 33%; border-radius: 16px; background: linear-gradient(100deg, rgba(var(--glow1), .24), rgba(var(--glow2), .26) 55%, rgba(var(--glow3), .24)); border: 1px solid rgba(var(--glow2), .7); box-shadow: 0 0 30px -8px rgba(var(--glow2), .9), inset 0 0 18px rgba(var(--glow1), .16); transition: transform .55s var(--ease), width .55s var(--ease); pointer-events: none; }
.cl-ind::after { content: ''; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--grad); }
.cl:not(.cl-js) .cl-ind { display: none; }
.cl-tab { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 8px 14px; border-radius: 16px; text-decoration: none; color: var(--text2); transition: color .25s; }
.cl-tab svg { flex: none; width: 24px; height: 24px; transition: transform .45s var(--ease); }
.cl-tab > span { display: grid; gap: 1px; min-width: 0; }
.cl-tab b { font: 700 16px var(--display); letter-spacing: -.015em; color: inherit; white-space: nowrap; }
.cl-tab small { font: 500 11.5px var(--body); color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-tab:hover { color: var(--text); }
.cl-tab.on { color: #fff; }
.cl-tab.on svg { color: var(--accent-hi); transform: scale(1.12); }
.cl-tab.on small { color: var(--text2); }
.cl-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- the panels ---- */
.cl-panel { padding: 22px 0 40px; }
.cl-js .cl-panel[hidden] { display: none; }
.cl-panel.cl-enter > * { animation: clPanel .6s var(--ease) both; }
.cl-panel.cl-enter > *:nth-child(2) { animation-delay: .06s; }
.cl-panel.cl-enter > *:nth-child(n+3) { animation-delay: .12s; }
@keyframes clPanel { from { opacity: 0; transform: translateY(18px); } }
.cl-sec { margin-top: 72px; }
.cl-ph-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 18px; }
.cl-ph-head h2 { margin-top: 8px; }
.cl-ph-head .lead { max-width: 46ch; margin: 0; font-size: 15.5px; }
.cl-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }

/* the search row */
.cl-search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; padding: 12px; border-radius: 20px; background: var(--panel); border: 1px solid var(--gline2); box-shadow: var(--shadow-lg), 0 0 46px -26px rgba(var(--glow2), .9); }
.cl-sf { display: grid; gap: 6px; min-width: 0; }
.cl-sf label { padding-left: 4px; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text3); }
.cl-search .input, .cl select.input { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238390a8' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px 14px; }
.cl select option, .cl select optgroup { background: #0b1220; color: var(--text); }
.cl-go { height: 45px; }
.cl-fbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: 14px; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--text2); font: 600 13.5px var(--body); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.cl-chip[class*="g-"]::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--h)); box-shadow: 0 0 10px rgba(var(--h), .9); }
.cl-chip:hover { color: var(--text); border-color: rgba(var(--h), .55); }
.cl-chip.on { color: #fff; border-color: rgba(var(--h), .9); background: rgba(var(--h), .16); }
.cl-chip:focus-visible, .cl-gs button:focus-visible, .cl-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cl-chip.sm { height: 32px; padding: 0 12px; font-size: 12.5px; }
.cl-count { margin-top: 14px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text3); }
.cl-fbar .cl-count { margin-top: 0; }
.cl-link { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---- a group: its glowing header, then its cards ---- */
.cl-group { margin-top: 30px; }
.cl-group:first-child { margin-top: 18px; }
.cl-gh { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 16px 20px 18px; border-radius: 22px; background: linear-gradient(100deg, rgba(var(--h), .15), rgba(var(--h), .035) 46%, rgba(255, 255, 255, .02)); border: 1px solid rgba(var(--h), .3); overflow: hidden; }
.cl-gh::before { content: ''; position: absolute; left: -70px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--h), .38), rgba(var(--h), 0)); pointer-events: none; }
.cl-gi { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; background: rgba(var(--h), .14); border: 1px solid rgba(var(--h), .55); color: rgb(var(--h)); box-shadow: 0 0 30px -6px rgba(var(--h), .8), inset 0 0 16px rgba(var(--h), .22); }
.cl-gi svg { width: 26px; height: 26px; }
.cl-gt { position: relative; min-width: 0; }
.cl-gk { font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--h)); }
.cl-gh h3 { margin: 2px 0 2px; font-size: 25px; font-weight: 800; letter-spacing: -.03em; }
.cl-gh p { font-size: 14px; color: var(--text2); }
.cl-gm { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.cl-gn { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text2); }
.cl-gs { position: relative; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.cl-gs button { height: 30px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(var(--h), .28); background: rgba(3, 5, 10, .35); color: var(--text2); font: 500 12.5px var(--body); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.cl-gs button:hover, .cl-gs button.on { color: #fff; border-color: rgba(var(--h), .85); background: rgba(var(--h), .2); }
.cl-gline { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, rgb(var(--h)), rgba(var(--h), .5) 40%, rgba(var(--h), 0) 82%); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease) .15s; }
.cl-group.in .cl-gline { transform: none; }
.cl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.cl-cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---- a card (a tutor, a course): depth, a lean toward the pointer, a glare and a sweep of light ---- */
.cl-card, .cl-course { position: relative; isolation: isolate; opacity: 0; transform: translateY(30px) scale(.965); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 85ms); }
.cl-group.in .cl-card, .cl-group.in .cl-course { opacity: 1; transform: none; }
.cl-card::before, .cl-course::before { content: ''; position: absolute; inset: 14px; z-index: -1; border-radius: 22px; background: rgba(var(--h), .6); filter: blur(30px); opacity: 0; transition: opacity .4s; pointer-events: none; }
.cl-card:hover::before, .cl-course:hover::before, .cl-card.cl-hl::before { opacity: .55; }
.cl-card-in { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 22px; background: linear-gradient(180deg, #131a2c, #0b101d); border: 1px solid var(--line2); overflow: hidden; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease), border-color .3s; }
.cl-card:hover .cl-card-in, .cl-course:hover .cl-card-in { border-color: rgba(var(--h), .65); }
.cl-card-in::after { content: ''; position: absolute; inset: 0 0 auto; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, rgba(var(--h), .9), transparent); }
.cl-glare { position: absolute; left: -150px; top: -150px; z-index: 3; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0)); transform: translate3d(var(--gx, -300px), var(--gy, -300px), 0); opacity: 0; transition: opacity .3s; pointer-events: none; }
.cl-card:hover .cl-glare, .cl-course:hover .cl-glare { opacity: 1; }
.cl-sweep { position: absolute; top: 0; bottom: 0; left: 0; z-index: 3; width: 55%; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .17) 50%, rgba(255, 255, 255, 0) 80%); transform: translateX(-140%) skewX(-12deg); pointer-events: none; }
.cl-card:hover .cl-sweep, .cl-course:hover .cl-sweep { transform: translateX(290%) skewX(-12deg); transition: transform 1s var(--ease); }
.cl-ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(140deg, rgba(var(--h), .3), rgba(var(--glow3), .18)); }
.cl-ph img.cl-pic { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cl-card:hover .cl-ph img.cl-pic { transform: scale(1.06); }
.cl-ph::after { content: ''; position: absolute; inset: auto 0 0; height: 58%; background: linear-gradient(180deg, rgba(8, 12, 22, 0), rgba(8, 12, 22, .55) 52%, rgba(11, 16, 29, .97)); pointer-events: none; }
.cl-ph-foot { position: absolute; left: 16px; right: 16px; bottom: 10px; z-index: 2; }
.cl-ph-foot h3 { font-size: 22px; font-weight: 800; letter-spacing: -.025em; color: #fff; }
.cl-ph-foot p { margin-top: 2px; font-size: 13px; color: #c6d0e6; }
.cl-body { display: flex; flex: 1; flex-direction: column; padding: 14px 16px 18px; }
.cl-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 22px; }
.cl-city { margin-left: auto; font-size: 12px; color: var(--text3); }
.cl-bdg { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; border: 1px solid; font: 600 10px var(--mono); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.cl-bdg.v { color: var(--accent-hi); background: rgba(var(--glow1), .1); border-color: var(--gline2); }
.cl-bdg.v::before { content: ''; width: 10px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237dd3fc' stroke-width='2.6'%3E%3Cpath d='M12 3l8 4v5c0 5-3.5 8-8 9-4.5-1-8-4-8-9V7z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
.cl-bdg.p { color: #fcd34d; background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .45); }
.cl-bdg.paid { color: #fff; background: rgba(var(--h), .2); border-color: rgba(var(--h), .6); }
.cl-line { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.cl-subj { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0 0; padding: 0; list-style: none; }
.cl-subj li { padding: 3px 9px; border-radius: 8px; background: rgba(var(--h), .1); border: 1px solid rgba(var(--h), .28); font: 500 12px var(--body); color: var(--text); }
.cl-facts { display: grid; gap: 7px; margin: 14px 0 16px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.cl-facts > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 8px; align-items: start; }
.cl-facts dt { display: flex; align-items: center; gap: 6px; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text3); }
.cl-facts dt svg { flex: none; width: 14px; height: 14px; color: rgb(var(--h)); }
.cl-facts dd { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text2); }
.cl-bookb { margin-top: auto; width: 100%; border-color: rgba(var(--h), .5); background: rgba(var(--h), .08); }
.cl-bookb:hover { border-color: rgb(var(--h)); background: rgba(var(--h), .2); }
/* the card Ask Ekalix points at */
.cl-card.cl-hl .cl-card-in { border-color: rgb(var(--h)); animation: clHl 1.4s var(--ease) 3; }
@keyframes clHl { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.cl-none { display: grid; justify-items: start; gap: 8px; margin-top: 18px; padding: 22px; border-radius: var(--r-lg); border: 1px dashed var(--gline2); background: rgba(var(--glow1), .04); color: var(--text2); }
.cl-none[hidden] { display: none; }
.cl-none b { color: var(--text); font: 700 17px var(--display); }
.cl-disc b { color: var(--text); }

/* a course: its poster */
.cl-course .cl-card-in { flex-direction: row; }
.cl-course .cl-poster { flex: 0 0 46%; }
.cl-poster { position: relative; min-height: 100%; aspect-ratio: 16 / 10; overflow: hidden; color: rgb(var(--h)); background: radial-gradient(120% 120% at 18% 0%, rgba(var(--h), .44), rgba(var(--h), .1) 52%, rgba(7, 11, 20, 0) 100%), #070b14; }
.cl-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 20, 0) 55%, rgba(7, 11, 20, .7)); pointer-events: none; }
.cl-art { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.cl-art svg { display: block; width: 100%; height: 100%; }
.cl-course:hover .cl-art { transform: scale(1.07); }
.cl-art .a1 { stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cl-art .a2 { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; opacity: .42; }
.cl-art .a3 { stroke: #fff; stroke-width: 2; stroke-linecap: round; opacity: .75; }
.cl-art .thick { stroke-width: 3.2; }
.cl-art .dash { stroke-dasharray: 5 6; }
.cl-art .af { fill: currentColor; }
.cl-art .ag { fill: currentColor; opacity: .3; }
.cl-art .ar { fill: currentColor; opacity: .1; }
.cl-art .ab { fill: #0a0f1c; }
.cl-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(3, 5, 10, .6); border: 1.5px solid rgba(255, 255, 255, .8); box-shadow: 0 0 30px rgba(var(--h), .7); transition: transform .4s var(--ease); }
.cl-play::after { content: ''; position: absolute; left: 22px; top: 17px; border: solid transparent; border-width: 10px 0 10px 16px; border-left-color: #fff; }
.cl-course:hover .cl-play { transform: translate(-50%, -50%) scale(1.14); }
.cl-len { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 4px 9px; border-radius: 8px; background: rgba(3, 5, 10, .78); font: 500 10.5px var(--mono); letter-spacing: .04em; color: #fff; }
.cl-poster .cl-wm { top: 26%; width: 38%; }
.cl-course h3 { margin-top: 10px; font-size: 19px; }
.cl-by { margin-top: 4px; font-size: 13px; color: var(--text2); }
.cl-by span { color: var(--text3); }
.cl-course .cl-line { font-size: 14px; color: var(--text2); }

/* ---- how it works ---- */
.cl-flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.cl-flow::before { content: ''; position: absolute; left: 10%; right: 10%; top: 21px; height: 1px; background: linear-gradient(90deg, transparent, var(--gline2), var(--gline2), transparent); }
.cl-flow li { position: relative; display: grid; justify-items: center; gap: 6px; padding: 0 6px; text-align: center; }
.cl-flow b { font: 700 16px var(--display); color: var(--text); }
.cl-flow li > span:last-child { font-size: 13.5px; line-height: 1.5; color: var(--text2); }
.cl-n { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #0c1222; border: 1px solid var(--gline2); font: 700 15px var(--mono); color: var(--accent-hi); box-shadow: 0 0 0 5px rgba(var(--glow1), .06), 0 0 18px rgba(var(--glow1), .25); }

/* ---- inside a class: a session preview (a sample profile's picture, labelled, with the watermark) ---- */
.cl-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.cl-kind { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); }
.cl-ki { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--gline2); background: rgba(var(--glow1), .08); color: var(--accent); }
.cl-ki svg { width: 20px; height: 20px; }
.cl-kind h3 { font-size: 15.5px; }
.cl-kind p { margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--text2); }
.cl-live, .cl-prof, .cl-player { position: relative; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--gline2); box-shadow: var(--shadow-lg), 0 0 60px -30px rgba(var(--glow2), .9); overflow: hidden; }
.cl-live::before, .cl-prof::before, .cl-player::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, rgba(var(--glow1), .9), transparent); }
.cl-live-top { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); font: 500 11px var(--mono); letter-spacing: .06em; color: var(--text2); }
.cl-live-top > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-rec { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px; background: rgba(248, 113, 113, .14); color: var(--bad-t); text-transform: uppercase; }
.cl-rec i { width: 6px; height: 6px; border-radius: 50%; background: var(--bad); animation: clBlink 1.6s steps(2, jump-none) infinite; }
.cl-rec2 { color: var(--text3); }
@keyframes clBlink { 50% { opacity: .25; } }
.cl-live-main { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 12px; padding: 12px; }
.cl-cam { position: relative; min-height: 220px; border-radius: 14px; overflow: hidden; background: linear-gradient(140deg, rgba(var(--glow1), .25), rgba(var(--glow3), .2)); border: 1px solid var(--line2); }
.cl-cam img.cl-pic { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-cam-name { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 3px 8px; border-radius: 8px; background: rgba(3, 5, 10, .72); font: 500 10.5px var(--mono); color: var(--text); }
.cl-board, .cl-std-ex { display: flex; flex-direction: column; min-width: 0; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.cl-bk { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.cl-bq { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--text2); }
.cl-bs { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; counter-reset: clb; }
.cl-bs li { position: relative; display: grid; gap: 1px; padding: 7px 10px 7px 30px; border-radius: 10px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); counter-increment: clb; }
.cl-bs li::before { content: counter(clb); position: absolute; left: 9px; top: 9px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: rgba(var(--glow1), .18); color: var(--accent-hi); font: 700 9px var(--mono); }
.cl-bs i { font: 500 9.5px var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--text3); }
.cl-bs b { font: 700 15px var(--display); letter-spacing: -.01em; color: var(--text); }
.cl-bs li.b3 { border-color: rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .08); }
.cl-bs li.b3 b { color: var(--ok-t); }
.cl-live-foot { display: flex; align-items: center; gap: 12px; padding: 10px 14px 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text2); }
.cl-you { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(var(--glow2), .25); border: 1px solid var(--gline2); font: 700 9.5px var(--mono); color: var(--text); }
.cl-wave { display: flex; align-items: center; gap: 3px; height: 18px; }
.cl-wave i { width: 3px; height: 18px; border-radius: 2px; background: var(--accent); transform: scaleY(.3); transform-origin: 50% 50%; }
.cl-askn { white-space: nowrap; }
.cl-askn b { color: var(--accent-hi); font-weight: 600; }
.cl-live-logo { display: block; width: auto; height: 16px; margin-left: auto; }
@keyframes clStep { 0% { opacity: 0; transform: translateY(6px); } 6%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes clStep2 { 0%, 18% { opacity: 0; transform: translateY(6px); } 24%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes clStep3 { 0%, 36% { opacity: 0; transform: translateY(6px); } 42%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes clWave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* ---- Become a tutor ---- */
.cl-bhero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: center; }
.cl-bhero h2 { margin-top: 8px; font-size: clamp(28px, 3.2vw, 40px); }
.cl-bhero .lead { margin-top: 12px; }
.cl-prof { padding: 16px; }
.cl-prof-top { display: flex; align-items: center; gap: 14px; }
.cl-prof-ph { position: relative; flex: none; width: 84px; height: 84px; border-radius: 20px; overflow: hidden; border: 1px solid var(--gline2); background: #0b1220; }
.cl-prof-ph img.cl-pic { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cl-prof-ph .cl-wm { top: 74%; width: 78%; opacity: .5; transform: translate(-50%, -50%); }
.cl-prof-ph .cl-av { font-size: 26px; }
.cl-prof-top b { display: block; font: 700 18px var(--display); color: var(--text); }
.cl-prof-top span { display: block; margin-top: 2px; font-size: 13px; color: var(--text2); }
.cl-path { position: relative; display: grid; gap: 4px; margin: 16px 0 0; padding: 0; list-style: none; }
.cl-path::before { content: ''; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 1px; background: var(--line2); }
.cl-path li { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--text2); }
.cl-path li i { position: relative; flex: none; width: 27px; height: 27px; border-radius: 50%; background: #0d1321; border: 1px solid var(--line2); }
.cl-path li i::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303050a' stroke-width='3.2'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: 0 0 12px rgba(var(--glow1), .6); }
.cl-path li.p5 i::after { background-color: var(--ok); box-shadow: 0 0 14px rgba(52, 211, 153, .6); }
.cl-path li b { font-weight: 600; color: var(--text); }
.cl-prof-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
@keyframes clDone { 0% { opacity: 0; transform: scale(.4); } 4%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes clDone2 { 0%, 16% { opacity: 0; transform: scale(.4); } 20%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes clDone3 { 0%, 32% { opacity: 0; transform: scale(.4); } 36%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes clDone4 { 0%, 48% { opacity: 0; transform: scale(.4); } 52%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes clDone5 { 0%, 64% { opacity: 0; transform: scale(.4); } 68%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.cl-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cl-whoc { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(var(--h), .13), rgba(255, 255, 255, .02) 60%); border: 1px solid rgba(var(--h), .3); overflow: hidden; }
.cl-whoc::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--h), .3), rgba(var(--h), 0)); pointer-events: none; }
.cl-whoc h3 { margin: 8px 0 6px; font-size: 19px; }
.cl-whoc p { font-size: 14px; line-height: 1.5; color: var(--text2); }
.cl-whoc .cl-bdg { margin-top: 12px; }
.cl-std { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: center; padding: 28px; border-radius: var(--r-xl); background: linear-gradient(120deg, rgba(245, 158, 11, .07), rgba(13, 19, 33, .88) 40%); border: 1px solid rgba(245, 158, 11, .32); box-shadow: var(--shadow-lg); }
.cl-std h2 { margin-top: 8px; }
.cl-std .lead { margin-top: 10px; }
.cl-std .kicker { color: #fcd34d; }
.cl-rules { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: clr; }
.cl-rules li { position: relative; padding: 0 0 0 40px; font-size: 14.5px; line-height: 1.55; color: var(--text2); counter-increment: clr; }
.cl-rules li::before { content: counter(clr); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .4); color: #fcd34d; font: 700 12px var(--mono); }
.cl-rules b { color: var(--text); font-weight: 600; }
.cl-std-ex { padding: 18px; background: rgba(0, 0, 0, .34); border-color: var(--line2); }
.cl-ncert { margin-top: 14px; padding: 10px 12px; border-left: 2px solid #f59e0b; border-radius: 0 10px 10px 0; background: rgba(245, 158, 11, .06); font-size: 13px; line-height: 1.55; color: var(--text2); }
.cl-ncert b { color: #fcd34d; font-weight: 600; }
/* ownership */
.cl-own { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding: 28px; border-radius: var(--r-xl); background: var(--panel); border: 1px solid var(--gline2); box-shadow: var(--shadow-lg), 0 0 70px -36px rgba(var(--glow2), .9); }
.cl-own h2 { margin-top: 8px; }
.cl-own-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: #0b1220; }
.cl-own-frame img.cl-pic { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.cl-own-frame .cl-wm { opacity: .42; }
.cl-own-frame .cl-lg img { height: 16px; }
.cl-own-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.cl-own-bar i { display: block; width: 100%; height: 100%; border-radius: 4px; background: var(--grad); transform: scaleX(.42); transform-origin: 0 50%; }
.cl-own-keys { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text2); }
.cl-own-keys span { display: inline-flex; align-items: center; gap: 7px; }
.cl-own-keys i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(var(--glow1), .9); }
.cl-own-keys i.k2 { background: #c084fc; box-shadow: 0 0 10px rgba(192, 132, 252, .9); }
.cl-earn { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; padding: 24px; border-radius: var(--r-lg); background: linear-gradient(110deg, rgba(52, 211, 153, .08), rgba(255, 255, 255, .02) 55%); border: 1px solid rgba(52, 211, 153, .3); }
.cl-earn-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .4); color: var(--ok-t); box-shadow: 0 0 28px -8px rgba(52, 211, 153, .7); }
.cl-earn-ic svg { width: 26px; height: 26px; }
.cl-earn h2 { margin: 6px 0 8px; }
.cl-earn p { max-width: 70ch; font-size: 15.5px; line-height: 1.6; color: var(--text2); }

/* ---- the forms ---- */
.cl-formp { max-width: 980px; margin: 0 auto; }
.cl-fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.cl-fs legend { padding: 0; margin-bottom: 8px; font: 600 12.5px var(--body); color: var(--text2); }
.cl-fs legend .req { color: var(--accent); }
.cl-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-pick { position: relative; display: inline-flex; cursor: pointer; }
.cl-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cl-pick span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .2); font: 500 13.5px var(--body); color: var(--text2); transition: color .2s, border-color .2s, background .2s; }
.cl-pick span::before { content: ''; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--text3); transition: background .2s, border-color .2s; }
.cl-pick input:checked + span { color: var(--text); border-color: var(--accent); background: rgba(var(--glow1), .1); }
.cl-pick input:checked + span::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303050a' stroke-width='3.4'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.cl-pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cl .check[hidden] { display: none; }
.cl-owns { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--gline2); background: rgba(var(--glow2), .07); }
.cl-owns b { color: var(--text); }

/* the request sheet */
.cl-sheet { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 18px; }
.cl-sheet[hidden] { display: none; }
.cl-sheet-bg { position: absolute; inset: 0; background: rgba(2, 4, 9, .78); opacity: 0; transition: opacity .25s; }
.cl-sheet-box { position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px); overflow-y: auto; padding: 22px 24px 24px; border-radius: 24px; background: #0c1222; border: 1px solid var(--gline2); box-shadow: 0 50px 120px -30px #000, 0 0 80px -30px rgba(var(--glow2), .9); opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .28s var(--ease), transform .32s var(--ease); outline: none; }
.cl-sheet.on .cl-sheet-bg { opacity: 1; }
.cl-sheet.on .cl-sheet-box { opacity: 1; transform: none; }
.cl-sheet-head { display: flex; align-items: center; gap: 10px; }
.cl-sheet-head .cl-logo { height: 20px; }
.cl-sheet-head span { padding-left: 10px; border-left: 1px solid var(--line2); font: 700 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-hi); }
.cl-sheet-box h2 { margin: 12px 0 10px; font-size: 28px; }
.cl-sheet-lead { font-size: 14.5px; color: var(--text2); }
.cl-x { position: absolute; right: 14px; top: 14px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: var(--text2); cursor: pointer; }
.cl-x:hover { color: var(--text); border-color: var(--gline2); }
.cl-x svg { width: 18px; height: 18px; }
.cl-from { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--gline2); background: rgba(var(--glow1), .07); font-size: 14px; color: var(--text2); }
.cl-from[hidden] { display: none; }
.cl-from b { color: var(--text); }
.cl-from-ph { position: relative; flex: none; width: 60px; height: 60px; border-radius: 14px; overflow: hidden; background: #0b1220; }
.cl-from-ph img.cl-pic { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cl-from-ph .cl-wm { top: 76%; width: 82%; opacity: .5; transform: translate(-50%, -50%); }
.cl-from-ph .cl-av { font-size: 20px; }

/* ---- Recorded: the player preview, buying and watching, publish your course ---- */
.cl-player { padding: 12px; }
.cl-pl-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; color: rgb(var(--h)); background: radial-gradient(120% 120% at 18% 0%, rgba(var(--h), .44), rgba(var(--h), .1) 52%, rgba(7, 11, 20, 0) 100%), #070b14; border: 1px solid var(--line2); }
.cl-pl-screen .cl-wm { top: 30%; width: 34%; }
.cl-pl-screen .cl-lg img { height: 16px; }
.cl-pl-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; padding: 6px 10px; border-radius: 9px; background: rgba(3, 5, 10, .75); font: 600 13px var(--body); color: #fff; }
.cl-pl-bar { height: 4px; margin: 12px 2px 0; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.cl-pl-bar i { display: block; width: 100%; height: 100%; border-radius: 4px; background: var(--grad); transform: scaleX(.3); transform-origin: 0 50%; }
.cl-pl-list { display: grid; gap: 2px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--text2); }
.cl-pl-list li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; }
.cl-pl-list li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--text3); }
.cl-pl-list li.done::before { border-color: var(--ok); background: var(--ok); }
.cl-pl-list li.now { background: rgba(var(--glow1), .1); color: var(--text); font-weight: 600; }
.cl-pl-list li.now::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 10px rgba(var(--glow1), .9); }
.cl-buy { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: clq; }
.cl-buy li { position: relative; padding: 2px 0 0 46px; min-height: 34px; font-size: 15px; line-height: 1.55; color: var(--text2); counter-increment: clq; }
.cl-buy li::before { content: counter(clq); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #0c1222; border: 1px solid var(--gline2); color: var(--accent-hi); font: 700 13px var(--mono); box-shadow: 0 0 16px rgba(var(--glow1), .25); }
.cl-buy b { color: var(--text); font-weight: 600; }
.cl-cta { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg); background: linear-gradient(100deg, rgba(var(--glow1), .12), rgba(var(--glow3), .1)); border: 1px solid var(--gline2); text-decoration: none; color: var(--text); transition: transform .35s var(--ease), border-color .3s; }
.cl-cta:hover { transform: translateY(-3px); border-color: var(--accent); }
.cl-cta-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(var(--glow1), .12); border: 1px solid var(--gline2); color: var(--accent); }
.cl-cta-ic svg { width: 26px; height: 26px; }
.cl-cta-copy b { display: block; font: 700 21px var(--display); }
.cl-cta-copy span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--text2); }
.cl-cta-go { font: 600 15px var(--body); color: var(--accent); white-space: nowrap; }

/* ---- what moves while a page is looked at (none of it under reduced motion) ---- */
@media (prefers-reduced-motion: no-preference) {
  .cl-bs:not(.static) li { animation: clStep 9s var(--ease) infinite backwards; }
  .cl-bs:not(.static) li.b2 { animation-name: clStep2; }
  .cl-bs:not(.static) li.b3 { animation-name: clStep3; }
  .cl-wave i { animation: clWave 1.1s ease-in-out infinite; }
  .cl-wave i:nth-child(2) { animation-delay: -.2s; } .cl-wave i:nth-child(3) { animation-delay: -.45s; } .cl-wave i:nth-child(4) { animation-delay: -.1s; }
  .cl-wave i:nth-child(5) { animation-delay: -.7s; } .cl-wave i:nth-child(6) { animation-delay: -.35s; } .cl-wave i:nth-child(7) { animation-delay: -.6s; }
  .cl-path li i::after { animation: clDone 10s linear infinite backwards; }
  .cl-path li.p2 i::after { animation-name: clDone2; } .cl-path li.p3 i::after { animation-name: clDone3; } .cl-path li.p4 i::after { animation-name: clDone4; } .cl-path li.p5 i::after { animation-name: clDone5; }
  .cl-core i::after { animation: clCore 3.6s ease-out infinite; }
  .cl-gh::before { animation: clGlow 5s ease-in-out infinite; }
}
@keyframes clCore { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes clGlow { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .cl-card, .cl-course { opacity: 1; transform: none; transition: none; }
  .cl-gline { transform: none; transition: none; }
  .cl-ind, .cl-card-in, .cl-sweep, .cl-art, .cl-play, .cl-sheet-box, .cl-sheet-bg, .cl-ph img.cl-pic { transition: none !important; }
  .cl-card:hover .cl-sweep, .cl-course:hover .cl-sweep { transform: translateX(-140%) skewX(-12deg); }
  .cl-panel.cl-enter > *, .cl-node.hit .cl-node-in, .cl-card.cl-hl .cl-card-in, .cl-pulse::after, .cl-rec i { animation: none !important; }
}
.cl-still .cl-card, .cl-still .cl-course { opacity: 1; transform: none; transition: none; }

/* ---- narrower windows ---- */
@media (max-width: 1180px) {
  .cl-who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-course .cl-card-in { flex-direction: column; }
  .cl-course .cl-poster { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 1080px) {
  .cl-hero .wrap { grid-template-columns: 1fr; gap: 6px; }
  .cl-sky { height: 400px; max-width: 640px; width: 100%; margin: 0 auto; }
  .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-split, .cl-bhero, .cl-std, .cl-own { grid-template-columns: 1fr; gap: 24px; }
  .cl-flow { grid-template-columns: 1fr; gap: 14px; }
  .cl-flow::before { left: 21px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--gline2), var(--gline2), transparent); }
  .cl-flow li { grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto; justify-items: start; gap: 2px 14px; padding: 0; text-align: left; }
  .cl-flow .cl-n { grid-row: span 2; }
  .cl-ph-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cl-tab small { display: none; }
  .cl-tab { min-height: 50px; }
}
@media (max-width: 760px) {
  .cl-hero { padding: 16px 0 6px; }
  .cl-hero h1 { font-size: clamp(29px, 8.4vw, 36px); margin-top: 14px; }
  .cl-brand { padding: 7px 14px 7px 11px; gap: 9px; }
  .cl-logo { height: 21px; }
  .cl-brand b { padding-left: 9px; font-size: 15px; }
  .cl-pillars li { height: 31px; font-size: 12.5px; }
  .cl-sky { height: 318px; margin-top: 4px; }
  .cl-core { width: 122px; height: 122px; }
  .cl-core img { width: 78px; }
  .cl-core span { font-size: 8px; }
  /* a phone's stage is small: a group is its glowing icon alone, so the orbits stay clear of each other and the mark */
  .n-group .cl-node-in { width: 34px; height: 34px; padding: 0; justify-content: center; }
  .n-group b { display: none; }
  .n-group svg { width: 16px; height: 16px; }
  .n-topic b { font-size: 9.5px; }
  .n-tutor .cl-node-in { width: 42px; height: 42px; }
  .cl-tabs { top: 60px; padding: 6px 0; }
  .cl-tabs .wrap { padding: 0 10px; }
  .cl-tabrow { display: flex; padding: 5px; border-radius: 18px; overflow-x: auto; scrollbar-width: none; }
  .cl-tabrow::-webkit-scrollbar { display: none; }
  .cl-tab { flex: 0 0 auto; gap: 8px; min-height: 44px; padding: 6px 13px; border-radius: 13px; }
  .cl-tab svg { width: 19px; height: 19px; }
  .cl-tab b { font-size: 14px; }
  .cl-ind { top: 5px; bottom: 5px; border-radius: 13px; }
  .cl-sec { margin-top: 52px; }
  .cl-search { grid-template-columns: 1fr; }
  .cl-go { width: 100%; }
  .cl-chips { flex-wrap: nowrap; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
  .cl-chips::-webkit-scrollbar { display: none; }
  .cl-chip { flex: none; }
  .cl-fbar { display: grid; gap: 8px; }
  .cl-gh { grid-template-columns: 46px minmax(0, 1fr); padding: 14px 14px 16px; border-radius: 18px; }
  .cl-gi { width: 46px; height: 46px; border-radius: 14px; }
  .cl-gh h3 { font-size: 21px; }
  .cl-gm { grid-column: 1 / -1; justify-content: flex-start; }
  .cl-gs { flex-wrap: nowrap; margin: 0 -14px; padding: 0 14px 2px; overflow-x: auto; scrollbar-width: none; }
  .cl-gs::-webkit-scrollbar { display: none; }
  .cl-gs button { flex: none; }
  /* a group's cards: one row to swipe through */
  .cl-grid, .cl-cgrid { display: flex; gap: 12px; margin: 14px -16px 0; padding: 2px 16px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cl-grid::-webkit-scrollbar { display: none; }
  .cl-card, .cl-course { flex: 0 0 84%; scroll-snap-align: center; }
  .cl-kinds, .cl-who { grid-template-columns: 1fr; }
  .cl-live-main { grid-template-columns: 1fr; }
  .cl-cam { min-height: 0; aspect-ratio: 16 / 10; }
  .cl-rec2, .cl-askn { display: none; }
  .cl-std, .cl-own { padding: 18px; }
  .cl-earn { grid-template-columns: 1fr; padding: 20px; }
  .cl-cta { grid-template-columns: 46px minmax(0, 1fr); padding: 18px; }
  .cl-cta-ic { width: 46px; height: 46px; }
  .cl-cta-go { grid-column: 1 / -1; }
  .cl-facts > div { grid-template-columns: 92px minmax(0, 1fr); }
  .cl-sheet { padding: 0; place-items: end center; }
  .cl-sheet-box { max-height: 92vh; max-height: 92dvh; padding: 18px 16px 22px; border-radius: 22px 22px 0 0; transform: translateY(60px); }
  .cl-sheet-box h2 { font-size: 24px; }
}
