.tg-section{padding:70px 0 44px;background:radial-gradient(ellipse at 92% 6%,#d9f8f7 0,transparent 50%),linear-gradient(180deg,#faffff,#f1f8ff);scroll-margin-top:88px}.tg-shell{max-width:1240px}.tg-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:30px}.tg-intro h1{font-size:clamp(38px,5.2vw,64px);line-height:1.04;letter-spacing:-.052em;color:#164269;margin:15px 0 18px}.tg-intro p{font-size:16px;color:#567083;line-height:1.7;max-width:720px;margin:0}.tg-total{white-space:nowrap;padding:12px 18px;border-radius:999px;border:1px solid #bfe8ee;background:#ffffffc9;font-size:12px;font-weight:800;color:#157c9e;box-shadow:0 10px 30px #0877970a}.tg-playlist{margin:0 0 22px}.tg-playlist-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px}.tg-playlist-head b{font-size:10px;letter-spacing:.13em;color:#658390}.tg-playlist-head a{font-size:12px;font-weight:700;color:#a76840;text-decoration:none}.tg-playlist-head a:hover{text-decoration:underline}.tg-playlist ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.tg-lesson{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:10px;width:100%;height:100%;padding:17px 14px 30px;border:1px solid #d1e6ee;border-radius:17px;background:#ffffffbd;text-align:left;cursor:pointer;font:inherit;color:#28516a;transition:border-color .2s,background .2s,transform .2s,box-shadow .2s}.tg-lesson:hover{background:#fff;border-color:#67c7da;transform:translateY(-2px)}.tg-lesson.is-active{border-color:#51bed5;background:linear-gradient(135deg,#edf7ff,#e3fbf8);box-shadow:inset 0 -3px #13a9c1,0 8px 25px #1683a40c}.tg-lesson-number{display:grid;place-items:center;width:29px;height:29px;background:#eaf3f8;color:#6a96a8;font-size:11px;font-weight:900;border-radius:10px}.is-active .tg-lesson-number{background:linear-gradient(135deg,#188bfa,#13b8bf);color:#fff}.tg-lesson-copy{display:grid;gap:6px;min-width:0}.tg-lesson-copy strong{font-size:13px;line-height:1.4;letter-spacing:-.01em}.tg-lesson-copy small{font-size:10px;color:#77909b;line-height:1.55}.tg-lesson-duration{position:absolute;bottom:10px;right:14px;font-size:10px;color:#7392a1;font-variant-numeric:tabular-nums}.tg-feature{background:#fff;border:1px solid #cce4ed;border-radius:27px;box-shadow:0 25px 70px #1d658418;overflow:hidden;scroll-margin-top:90px}.tg-screen{position:relative;aspect-ratio:16/9;background:#e9f7fb;isolation:isolate}.tg-screen video{display:block;width:100%;height:100%;object-fit:contain}.tg-screen video:fullscreen{object-fit:contain;background:#000}.tg-watch{position:absolute;left:50%;bottom:10%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:12px;padding:15px 24px;background:linear-gradient(125deg,#087ff2,#00aab3);border:1px solid #fff9;border-radius:999px;box-shadow:0 12px 35px #087faf45;color:#fff;white-space:nowrap;font:inherit;cursor:pointer}.tg-watch[hidden]{display:none}.tg-watch>span{display:grid;place-items:center;width:35px;height:35px;background:#fff;color:#087ff2;border-radius:50%;font-size:13px}.tg-watch b{font-size:15px}.tg-watch small{font-size:12px;opacity:.85}.tg-feature-info{padding:23px 28px 25px}.tg-feature-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.tg-kicker{font-size:10px;font-weight:900;letter-spacing:.16em;color:#078ca8}.tg-feature-info h3{margin:8px 0;font-size:26px;line-height:1.2;letter-spacing:-.035em;color:#164467}.tg-feature-info p{margin:0;font-size:13px;line-height:1.6;color:#6b8392}.tg-player-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.tg-player-actions button{border:1px solid #cde5ed;border-radius:999px;background:#f3fbfd;color:#087b9e;padding:10px 14px;min-height:42px;font-family:inherit;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}.tg-player-actions button:disabled{opacity:.35;cursor:default}.tg-player-actions #tg-fullscreen{background:#eaf7fc}.tg-tip{display:flex;gap:12px;margin-top:20px;padding:15px 18px;background:linear-gradient(115deg,#f1faff,#edfafa);border-radius:15px;border:1px solid #d8eff1}.tg-tip>span{color:#0aa9b2;font-size:20px}.tg-tip p{display:grid;gap:4px;color:#587889}.tg-tip b{font-size:9px;letter-spacing:.12em;color:#188999}.tg-tip span{font-size:12px}.tg-reassurance{display:flex;gap:17px;align-items:center;margin-top:25px;padding:22px 24px;border:1px solid #d3e9ec;border-radius:20px;background:#ffffffa6}.tg-reassurance-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:15px;background:#e2f8f6;color:#079ca7;font-size:25px}.tg-reassurance b{font-size:10px;color:#158594;letter-spacing:.08em}.tg-reassurance p{font-size:13px;color:#567989;line-height:1.7;margin:5px 0 0}.tg-reassurance small{font-size:10px;line-height:1.6;max-width:145px;flex-shrink:0;color:#88a0ab;margin-left:auto}.tg-footnote{text-align:center;font-size:11px;color:#829ba8;line-height:1.7;max-width:850px;margin:20px auto 0}.tg-error{padding:12px;margin-top:16px!important;background:#fff6ec;border-radius:12px;color:#8d6243!important}.tg-error[hidden]{display:none}.tg-error button,.tg-error a{font:inherit;color:inherit;text-decoration:underline;border:0;background:none;margin-left:8px;cursor:pointer}.tg-section button:focus-visible,.tg-section a:focus-visible{outline:3px solid #f1a76a;outline-offset:4px}.tg-insights{padding:52px 0 70px;background:#fff}.tg-insights h2{font-size:clamp(29px,3.4vw,42px);color:#184665;line-height:1.15;letter-spacing:-.04em;margin:15px 0}.tg-insights-intro{font-size:14px;line-height:1.7;color:#74909e;margin:0 0 25px}.tg-insights-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tg-insight{position:relative;padding:26px;border:1px solid #dfeef2;border-radius:22px;background:linear-gradient(145deg,#faffff,#f3f9fe)}.tg-insight>span{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#e0f5f6;color:#159ab0;font-size:11px;font-weight:800}.tg-insight h3{font-size:18px;letter-spacing:-.02em;color:#24516a;margin:17px 0 11px;line-height:1.3}.tg-insight p{font-size:12px;color:#718997;line-height:1.8;margin:0}
@media(max-width:900px){.tg-section{padding:45px 0 32px}.tg-intro{align-items:flex-start;flex-direction:column;gap:20px}.tg-playlist ol{grid-template-columns:repeat(5,minmax(150px,1fr));overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.tg-playlist li{scroll-snap-align:start}.tg-feature-heading{align-items:flex-start;flex-direction:column}.tg-player-actions{justify-content:flex-start}.tg-reassurance{flex-wrap:wrap}.tg-reassurance small{max-width:none;width:100%;margin-left:61px}.tg-insights-grid{grid-template-columns:1fr}.tg-playlist-head{align-items:flex-start;flex-direction:column;gap:10px}.tg-intro h1{font-size:43px}.tg-insights{padding:40px 0}.tg-lesson{min-height:122px}.tg-lesson-copy strong{font-size:13px}}
@media(max-width:600px){.tg-intro p{font-size:14px}.tg-feature{border-radius:19px}.tg-feature-info{padding:18px}.tg-feature-info h3{font-size:23px}.tg-watch{padding:9px 14px;gap:8px;bottom:8%}.tg-watch>span{width:26px;height:26px;font-size:10px}.tg-watch b{font-size:12px}.tg-watch small{font-size:10px}.tg-player-actions button{font-size:10px;padding:9px 11px}.tg-tip{padding:13px}.tg-reassurance{padding:18px;gap:12px}.tg-reassurance>div{flex:1;min-width:200px}.tg-reassurance small{margin-left:0}.tg-total{font-size:11px}.tg-lesson-copy small{font-size:10px}.tg-insights-grid{gap:12px}.tg-insight{padding:22px}}
@media(prefers-reduced-motion:reduce){.tg-section *{transition:none!important;scroll-behavior:auto!important}}




/* V310: chapter contrast and uninterrupted playback while scrolling. */
.tg-lesson{grid-template-columns:34px minmax(0,1fr);gap:11px;min-height:155px;padding:21px 16px 34px;border:2px solid #9bc8dc;background:#fff;box-shadow:0 6px 20px #165b7c12}.tg-lesson-copy strong{font-size:16px;color:#123f60;line-height:1.3}.tg-lesson-copy small{font-size:12px;color:#486b7f;line-height:1.5}.tg-lesson-number{width:34px;height:34px;background:#dceff8;color:#17668d;font-size:13px}.tg-lesson-duration{font-size:12px;font-weight:700;color:#245c78}.tg-lesson.is-active{border-color:#078bb7;background:linear-gradient(135deg,#e0f0ff,#d6faf3);box-shadow:inset 0 -5px #09a5b7,0 10px 26px #077da51b}.tg-lesson:hover{border-color:#078bb7;box-shadow:0 10px 24px #087ea51c}
.tg-video-slot{position:relative;aspect-ratio:16/9;scroll-margin-top:var(--tg-header-offset,82px)}.tg-video-slot>.tg-screen{width:100%;height:100%}

@media(max-width:640px){.tg-playlist ol{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:10px}.tg-playlist li:last-child{grid-column:1/-1}.tg-lesson{min-height:138px;padding:16px 13px 29px;grid-template-columns:29px minmax(0,1fr);gap:9px;border-radius:15px}.tg-lesson-number{width:29px;height:29px;font-size:12px}.tg-lesson-copy strong{font-size:15px}.tg-lesson-copy small{font-size:12px}.tg-playlist li:last-child .tg-lesson{min-height:100px}}

@media(max-height:540px){.tg-video-slot{max-height:calc(100vh - var(--tg-header-offset,82px) - 24px);max-height:calc(100dvh - var(--tg-header-offset,82px) - 24px)}}

.tg-video-slot{width:100%}


/* V311: contextual navigation at the end of every tutorial. */
.tg-end[hidden]{display:none}.tg-end{position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;padding:20px;background:#eaf7fbd9;backdrop-filter:blur(5px);border-radius:inherit}.tg-end-inner{width:min(100%,900px);padding:22px;border:1px solid #96cbdc;border-radius:20px;background:#fafffff5;box-shadow:0 14px 45px #164c6c1c}.tg-end-heading{margin:0 0 15px;color:#164269;text-align:center;font-size:16px;font-weight:750;line-height:1.35}.tg-end-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tg-end-actions button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;padding:17px 15px;border:1px solid #92c8da;border-radius:15px;background:#fff;color:#15496a;text-align:left;font:inherit;cursor:pointer}.tg-end-actions .is-replay{background:linear-gradient(135deg,#078df0,#0aafbc);border-color:#068db9;color:#fff}.tg-end-kicker{font-size:12px;font-weight:800}.tg-end-actions strong{font-size:18px;line-height:1.25}.tg-end-actions small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:12px;line-height:1.45;opacity:.87}.tg-end-actions button:hover:not(:disabled){box-shadow:0 6px 18px #0b6e9325;border-color:#078bb7}.tg-end-actions button:disabled{opacity:.5;cursor:default}
@media(max-width:640px),(max-height:540px){.tg-end{padding:8px}.tg-end-inner{padding:10px;border-radius:13px}.tg-end-heading{font-size:12px;margin-bottom:8px}.tg-end-actions{gap:6px}.tg-end-actions button{padding:9px 7px;gap:4px;border-radius:10px}.tg-end-kicker{font-size:11px}.tg-end-actions strong{font-size:12px}.tg-end-actions small{font-size:10px;line-height:1.3}}

/* V320: maximize the actual video within the available screen, including rotation. */
.tg-modal-open{overflow:hidden}
.tg-modal{--tg-available-height:calc(100vh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));--tg-available-height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));--tg-controls-height:106px;box-sizing:border-box;width:min(calc(100vw - 16px),calc((var(--tg-available-height) - var(--tg-controls-height))*16/9));max-width:none;max-height:var(--tg-available-height);margin:auto;padding:40px 0 0;border:1px solid #bce3ec;border-radius:16px;background:#f0fbff;color:#164269;box-shadow:0 30px 120px #082f5566;overflow:auto;font-family:Inter,sans-serif}
.tg-modal::backdrop{background:#123f62ba;backdrop-filter:blur(9px)}
.tg-modal-close{position:absolute;right:8px;top:4px;border:1px solid #a9d5e1;background:#fff;color:#126b8b;border-radius:999px;padding:5px 15px;min-height:32px;font:600 12px Inter,sans-serif;cursor:pointer}
.tg-modal .tg-screen{width:100%;aspect-ratio:16/9}
.tg-modal-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px;background:#f0fbff}
.tg-modal-nav button{box-sizing:border-box;display:grid;gap:2px;min-width:0;height:48px;min-height:48px;padding:6px 10px;border:1px solid #94c7d8;border-radius:10px;background:#fff;color:#164269;text-align:left;font:700 13px/16px Inter,sans-serif;cursor:pointer}
.tg-modal-nav small{font-size:11px;line-height:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg-modal-nav .is-replay{background:linear-gradient(135deg,#078df0,#0aafbc);color:#fff;border-color:#078db9}
.tg-modal-nav button:disabled{opacity:.45;cursor:default}
.tg-modal button:focus-visible{outline:3px solid #f1a76a;outline-offset:2px}
@media(max-width:640px){.tg-modal{border-radius:12px}.tg-modal-nav{gap:6px}.tg-modal-nav button{padding:6px;font-size:12px}.tg-modal-nav small{font-size:10px}}
@media(max-height:500px){.tg-modal{--tg-controls-height:94px;padding-top:36px}.tg-modal-close{top:2px}.tg-modal-nav{padding:6px;gap:6px}.tg-modal-nav button{height:44px;min-height:44px;align-content:center}.tg-modal-nav small{display:none}}

/* V321: warmer chapter accents and a distinct Info Chat guide. */
.tg-section{background:radial-gradient(ellipse at 95% 8%,#c9f5ee 0,transparent 46%),radial-gradient(ellipse at 1% 48%,#e0efff 0,transparent 48%),linear-gradient(180deg,#f8fdff,#edf8ff)}
.tg-lesson{--tg-accent:#168bd3;--tg-tint:#edf7ff;--tg-line:#b5d7ef;background:linear-gradient(145deg,#fff,var(--tg-tint));border-color:var(--tg-line);border-top:4px solid var(--tg-accent)}
.tg-playlist li:nth-child(2) .tg-lesson{--tg-accent:#079eab;--tg-tint:#e8faf9;--tg-line:#9ddfdc}
.tg-playlist li:nth-child(3) .tg-lesson{--tg-accent:#dc7947;--tg-tint:#fff3e9;--tg-line:#efc6a8}
.tg-playlist li:nth-child(4) .tg-lesson{--tg-accent:#5e83c1;--tg-tint:#edf1fd;--tg-line:#c1cfee}
.tg-playlist li:nth-child(5) .tg-lesson{--tg-accent:#189b91;--tg-tint:#e6f9f1;--tg-line:#a4dcc8}
.tg-lesson .tg-lesson-number{background:var(--tg-tint);box-shadow:inset 0 0 0 1px var(--tg-line)}
.tg-lesson.is-active{border-color:var(--tg-accent);background:linear-gradient(130deg,#fff,var(--tg-tint));box-shadow:inset 0 -5px var(--tg-accent),0 10px 26px #087da51b}
.tg-lesson.is-active .tg-lesson-number{background:var(--tg-accent);color:#fff;box-shadow:none}
.tg-lesson:hover{border-color:var(--tg-accent)}
.tg-feature{border-color:#a9d9e8;box-shadow:0 25px 70px #1d658421}
.tg-insight:nth-child(2){background:linear-gradient(145deg,#fff,#eaf9f5);border-color:#c9e9de}
.tg-insight:nth-child(3){background:linear-gradient(145deg,#fff,#fff3e8);border-color:#f0dac3}
.tg-insight--chat{background:linear-gradient(125deg,#e4f6ff,#e3faf4);border:2px solid #91d7dc}
.tg-insight--chat>span{background:linear-gradient(125deg,#078df0,#0aafbc);color:#fff}
@media(min-width:901px){.tg-insights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tg-feature-info{background:linear-gradient(115deg,#fafdff,#ecfaf7)}
.tg-feature-info .tg-kicker{display:inline-flex;padding:5px 9px;border:1px solid #b8e2ee;border-radius:999px;background:#e6f5ff;color:#087e9d}
.tg-tip{border-left:4px solid #e89164;background:linear-gradient(115deg,#f0fbff,#fff8f0)}
