.part-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:28px 0 20px}.part-tabs button{font:600 14px/1.35 system-ui;text-align:left;color:#d7dfd2;background:#1c241e;border:1px solid #425044;border-radius:12px;padding:16px;cursor:pointer}.part-tabs button span{display:block;font-size:10px;letter-spacing:.12em;margin-bottom:8px;color:#b9cba7}.part-tabs button[aria-selected=true]{background:#d2dfb8;color:#172016;border-color:#d2dfb8;box-shadow:0 5px 20px #0004}.part-tabs button[aria-selected=true] span{color:#37492b}.part-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0}.part-heading h3{font-size:28px;margin:0}.part-heading>span,.preview-toggle{color:#bac6b5;font-size:14px}.preview-toggle{display:flex;gap:10px;align-items:center;cursor:pointer}.preview-toggle input{accent-color:#dfb567;width:18px;height:18px}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.video-grid .lesson{overflow:hidden;background:linear-gradient(145deg,#253027,#182019);border:1px solid #3a493b;border-radius:14px;box-shadow:0 8px 24px #0002;margin:0;min-width:0}.video-image{position:relative;aspect-ratio:16/9;background:#121912;overflow:hidden}.video-image img{width:100%;height:100%;object-fit:cover;display:block}.video-image button{display:block;width:100%;height:100%;border:0;padding:0;cursor:pointer;background:none}.play-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#efb16a;color:#182016;border-radius:50%;width:50px;height:50px;display:grid;place-items:center;box-shadow:0 4px 16px #0008}.video-duration{position:absolute;right:10px;bottom:10px;background:#101710eb;padding:4px 8px;border-radius:5px;color:#fff;font:600 12px system-ui;pointer-events:none}.video-copy{padding:20px}.video-label{font:700 10px system-ui;letter-spacing:.1em;color:#d8c583}.video-copy h4{font-size:19px;line-height:1.35;margin:10px 0;color:#f0f3e9}.video-copy p{font-size:14px;line-height:1.6;color:#bdc8b9;margin:0 0 16px}.video-copy .text-button{color:#efb16a;font-size:14px}.member-label{font-size:12px;color:#aab5a7}.video-copy .practice-link{font-size:12px;padding:8px}.signup-banner button{border:0;cursor:pointer;font:700 16px system-ui}.curriculum [hidden],.video-grid [hidden]{display:none!important}button:focus-visible,a:focus-visible{outline:3px solid #efb16a;outline-offset:4px}
.course-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px!important;border:0!important;padding-top:30px!important;padding-bottom:30px!important}.course-facts>div{min-width:0;padding:26px 22px!important;border:1px solid #44513a!important;border-radius:16px;background:linear-gradient(145deg,#2b3527,#172016);box-shadow:inset 0 1px 0 #ffffff19,inset 0 -2px 0 #0005,0 10px 22px #0004;position:relative}.course-facts>div:before{content:'';position:absolute;left:22px;top:0;width:38px;height:3px;background:#dfcc87;border-radius:0 0 3px 3px}.course-facts strong{display:block;font-size:clamp(38px,4.2vw,64px)!important;line-height:1.1!important;font-weight:850!important;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:#e2eacb;text-shadow:0 3px 0 #0005;white-space:nowrap}.course-facts strong>span{font:inherit!important;color:inherit!important;line-height:inherit!important;margin:0!important;display:inline!important}.course-facts>div>span{display:block;margin-top:14px;color:#c4cdbb;font-size:13px;line-height:1.5}.course-facts strong.scoreboard-text{font-size:clamp(24px,2.4vw,36px)!important;white-space:normal;max-width:210px;min-height:1.95em;display:flex;align-items:center}.scoreboard-enter>div{animation:scoreboard-rise .6s both}.scoreboard-enter>div:nth-child(2){animation-delay:.08s}.scoreboard-enter>div:nth-child(3){animation-delay:.16s}.scoreboard-enter>div:nth-child(4){animation-delay:.24s}.count-finished{animation:scoreboard-settle .3s ease-out}@keyframes scoreboard-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes scoreboard-settle{50%{text-shadow:0 0 16px #dfcc8766}}@media(max-width:900px){.course-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}.course-facts strong{font-size:46px!important}.course-facts strong.scoreboard-text{font-size:30px!important}}@media(max-width:480px){.course-facts{gap:12px!important}.course-facts>div{padding:22px 14px!important}.course-facts strong{font-size:36px!important}.course-facts strong.scoreboard-text{font-size:25px!important}}@media(prefers-reduced-motion:reduce){.course-facts *{animation:none!important;transition:none!important}}
/* Shared visual language for the private learner player. */
#instructor.instructor-feature{padding:40px;box-sizing:border-box}
@media(max-width:700px){#instructor.instructor-feature{padding:24px}}
.instructor-feature{display:block!important;border-top:1px solid #3c4939;border-bottom:1px solid #3c4939;background:linear-gradient(130deg,#202b20,#131b15);border-radius:20px;box-shadow:inset 0 1px #ffffff12,0 16px 45px #0003;margin-top:28px;margin-bottom:28px}
.instructor-profile-top{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:center}.instructor-feature .instructor-photo{width:240px;max-width:100%}.instructor-feature .instructor-photo img{width:100%;height:auto;border-radius:16px}.instructor-feature h2{font-size:clamp(30px,3.2vw,46px);margin:12px 0 18px}.instructor-feature .instructor-lead{font-size:clamp(21px,2vw,28px);color:#e0eacb;line-height:1.4;font-weight:650}.instructor-story p{max-width:760px;line-height:1.65}.instructor-feature .instructor-quote{font-size:18px;color:#d6c788;border-left:2px solid #a99b63;padding-left:18px}
.instructor-books{display:grid;grid-template-columns:240px 1fr;gap:48px;align-items:center;border-top:1px solid #ffffff18;margin-top:36px;padding-top:30px}.instructor-books h3{font-size:24px;line-height:1.25;margin:12px 0}.instructor-books p{font-size:13px;color:#bcc8b7}.instructor-book-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.instructor-book-row a{color:#dce6d1;text-decoration:none;text-align:center;font-size:13px;line-height:1.4;display:flex;flex-direction:column;align-items:center;gap:12px}.instructor-book-row img{height:168px;max-width:100%;width:auto;object-fit:contain;filter:drop-shadow(6px 8px 5px #0008);transition:transform .2s}.instructor-book-row a:hover img{transform:translateY(-4px) rotate(-2deg)}
.instructor-experience{margin-top:32px;padding-top:24px;border-top:1px solid #ffffff18}.instructor-logos{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:22px;align-items:center;margin-top:22px}.instructor-logos>div{height:48px;display:flex;align-items:center;justify-content:center}.instructor-logos img{width:auto;max-width:100%;height:34px;object-fit:contain;filter:grayscale(1);opacity:.8}.instructor-logos img.mono-svg{filter:grayscale(1) invert(1)}.brand-note{font-size:11px!important;color:#96a491;margin:16px 0 0}
@media(max-width:700px){.instructor-profile-top{grid-template-columns:1fr;gap:24px}.instructor-feature .instructor-photo{width:180px}.instructor-books{grid-template-columns:1fr;gap:20px}.instructor-books h3 br{display:none}.instructor-book-row{gap:12px}.instructor-book-row img{height:130px}.instructor-logos{grid-template-columns:repeat(3,1fr);gap:18px}.instructor-logos img{max-width:90px}.instructor-feature{border-radius:12px}}
@media(prefers-reduced-motion:reduce){.instructor-book-row img{transition:none}.instructor-book-row a:hover img{transform:none}}
.instructor-credentials{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:36px;border-top:1px solid #ffffff18;margin-top:28px;padding-top:26px}
.instructor-credentials>div{min-width:0;margin:0;padding:0;border:0}
.instructor-credentials h3{font-size:22px;line-height:1.25;margin:10px 0 20px}
.instructor-credentials .instructor-books{display:block}
.instructor-credentials .instructor-logos{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:0}
.instructor-credentials .instructor-logos>div{height:50px;padding:8px;background:#ffffff04;border-radius:8px}
.instructor-credentials .instructor-logos img{max-width:90px;max-height:32px}
.instructor-credentials .instructor-book-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.instructor-credentials .instructor-book-row img{height:148px}
.instructor-credentials .instructor-book-row a{font-size:12px;gap:10px}
@media(max-width:800px){.instructor-credentials{grid-template-columns:1fr;gap:28px}.instructor-credentials .instructor-logos{max-width:480px}.instructor-credentials .instructor-books{border-top:1px solid #ffffff18;padding-top:24px}}
@media(max-width:480px){.instructor-credentials .instructor-book-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}.instructor-credentials .instructor-book-row img{height:150px}}
.course-facts>div{text-align:center;display:grid;grid-template-rows:70px 30px;justify-items:center;align-content:center;min-height:160px;box-sizing:border-box}
.course-facts strong{position:relative;max-width:100%;align-self:end;line-height:1!important}
.course-facts strong.scoreboard-text{display:block;min-height:0;max-width:100%}
.course-facts .stat-unit{position:absolute;left:calc(100% + 7px);bottom:6px;font:600 16px/1.2 system-ui;letter-spacing:0;color:#c4cdbb;text-shadow:none}
.course-facts>div>span{margin-top:10px}
.learner-page{margin:0;background:#101712;color:#eef1e8;font:16px/1.5 system-ui}.learner-header{padding:18px 28px;border-bottom:1px solid #354537;display:flex;justify-content:space-between;gap:20px}.learner-header a{color:#d2dfb8}.learner-layout{max-width:1500px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:30px;padding:30px}.watch-stage{min-width:0}.watch-stage video{width:100%;aspect-ratio:16/9;background:black;border-radius:14px;box-shadow:0 16px 50px #0007}.watch-stage h1{font-size:30px;line-height:1.2}.watch-stage p{color:#b9c8b4}.player-actions{display:flex;gap:12px;flex-wrap:wrap}.player-actions button,.player-actions a{border:1px solid #516347;padding:12px 18px;border-radius:8px;background:#263420;color:#e9f1df;cursor:pointer;text-decoration:none;font:600 14px system-ui}.player-actions button:disabled{opacity:.4;cursor:default}.player-actions .primary{background:#d2dfb8;color:#172016}.lesson-sidebar{background:#19221b;border:1px solid #354537;border-radius:14px;padding:18px;max-height:calc(100vh - 140px);overflow:auto;position:sticky;top:20px}.lesson-sidebar select{width:100%;background:#29372a;color:white;padding:12px;border:1px solid #576a4c;border-radius:8px;font:600 14px system-ui}.lesson-sidebar button{width:100%;display:grid;grid-template-columns:28px 1fr;gap:8px;text-align:left;border:0;border-bottom:1px solid #334131;background:transparent;color:#d5ddcf;padding:15px 6px;cursor:pointer;line-height:1.45}.lesson-sidebar button[aria-current=true]{background:#35472d;border-radius:8px;color:white}.lesson-sidebar small{display:block;color:#b7c6ac;margin-top:5px}.progress-text{color:#d7c07c;font-size:13px}.learner-note{font-size:12px;margin:0;color:#b8c6ae}.player-error{color:#ffb88b!important}.watch-stage .eyebrow{color:#d7c07c;font-size:12px;letter-spacing:.12em;margin-top:24px}
@media(max-width:1000px){.part-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.learner-layout{grid-template-columns:minmax(0,1fr) 280px;padding:20px;gap:20px}}@media(max-width:700px){.part-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.part-tabs button{padding:12px}.video-grid{grid-template-columns:1fr}.part-heading{align-items:flex-start;flex-direction:column;gap:6px}.learner-layout{grid-template-columns:1fr;padding:16px}.lesson-sidebar{position:static;max-height:none}.learner-header{padding:16px;flex-direction:column;gap:5px}.watch-stage h1{font-size:25px}.video-copy{padding:18px}}
.course-facts>div{transition:translate .22s ease,box-shadow .22s ease,border-color .22s ease}
.course-facts>div:before{transition:width .22s ease,box-shadow .22s ease}
@media(hover:hover) and (pointer:fine){.course-facts>div:hover{translate:0 -4px;border-color:#a99d67!important;box-shadow:inset 0 1px 0 #ffffff26,inset 0 -2px 0 #0005,0 15px 28px #0006,0 0 16px #dfcc870b}.course-facts>div:hover:before{width:52px;box-shadow:0 0 10px #dfcc8744}}
@media(prefers-reduced-motion:reduce){.course-facts>div:hover{translate:none}}
.video-grid .lesson[data-public="false"]{filter:grayscale(1);background:#202321;border-color:#414744}
.video-grid .lesson[data-public="false"] .video-image img{filter:grayscale(1)}
.video-grid .lesson[data-public="true"]{border-color:#a38c50;box-shadow:0 8px 24px #0003,0 0 0 1px #d9be6d22}
.video-grid .lesson[data-public="true"] .video-label{color:#f1ce82}
.video-grid .lesson[data-public="true"]{position:relative;cursor:pointer;transition:border-color .18s,box-shadow .18s}
/* Stretch the existing semantic play button across the card, without nesting
   controls or changing the separate exercise links. */
.video-grid .lesson[data-public="true"] .text-button{position:static}
.video-grid .lesson[data-public="true"] .text-button::after{content:"";position:absolute;inset:0;z-index:1;cursor:pointer}
.video-grid .lesson[data-public="true"] .video-image button,
.video-grid .lesson[data-public="true"] .lesson-practice{position:relative;z-index:2}
.video-grid .lesson[data-public="true"]:hover,.video-grid .lesson[data-public="true"]:focus-within{border-color:#efb16a;box-shadow:0 8px 28px #0004,0 0 0 2px #efb16a66}
.video-grid .lesson[data-public="true"] .text-button:focus-visible::after{outline:3px solid #efb16a;outline-offset:-4px;border-radius:14px}
.preview-legend{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;margin:0 0 16px;font-size:13px;color:#d1d8ce}
.preview-legend span{display:inline-flex;align-items:center;gap:8px}
.preview-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;background:#efb16a;box-shadow:0 0 0 3px #efb16a22}
.preview-legend .full-course-dot{background:#a3aaa6;box-shadow:0 0 0 3px #a3aaa622}

/* Phone/tablet polish: retain readable content and generous touch targets. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
.hero-inner,.instructor-story,.promotion,.player-header>div{min-width:0}
.site-header a,.supported-section summary,.supported-section label,.preview-toggle,
.companion-book a:not(:has(img)),footer a{min-height:44px;align-content:center}
.instructor-logos>div>a{min-height:44px}
#player-dialog{max-height:calc(100vh - 24px);max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#player-dialog .player-header{position:sticky;top:0;z-index:2;background:#101512;border-bottom:1px solid #36423b}
#player-dialog .icon-button{width:44px;height:44px;min-width:44px}
#player-dialog .player-bottom{flex-wrap:wrap}
#player-dialog #next-preview{min-height:44px}
footer{padding-bottom:max(30px,env(safe-area-inset-bottom,0px))}
@media(max-width:900px){
 .hero .hero-description,.hero .hero-actions,.hero h1{max-width:100%}
 .hero .hero-inner{margin:0}
}
@media(max-width:700px){
 .hero{gap:24px!important}
 .hero-actions{display:grid;grid-template-columns:1fr;width:100%}
 .hero-actions>*{width:100%;border-radius:10px}
 .hero-description{font-size:18px;line-height:1.55}
 .instructor-feature .instructor-photo{display:block;width:144px}
 #instructor.instructor-feature{padding:24px 20px}
 .instructor-profile-top{gap:20px}
 .instructor-feature .instructor-quote{font-size:18px}
 .instructor-credentials .instructor-logos img{max-width:100%;height:auto;max-height:30px}
 .promotion{border-radius:16px}
 .promotion-link,.promotion-video{min-height:48px;max-width:100%}
 .preview-toggle{padding:10px 0}
 .part-tabs button{min-height:76px}
 .video-copy p{font-size:15px}
 .course-facts>div{grid-template-rows:52px 38px;min-height:140px;padding:18px 12px!important}
 .course-facts>div>span{font-size:12px;line-height:1.4}
}
@media(max-width:360px){
 .hero{padding:26px 18px!important}
 .hero h1{font-size:36px!important}
 .site-header{padding:0 14px}
 .section,.course-facts{margin-left:18px;margin-right:18px}
 .course-facts strong.scoreboard-text{font-size:22px!important}
 .promotion{padding:22px 18px}
}
@media(max-height:500px) and (orientation:landscape){
 #player-dialog{width:min(900px,calc(100% - 24px))}
 #player-dialog #player{max-height:65dvh;object-fit:contain}
}
.video-lessons{border-top:1px solid #52604c;margin-top:16px;padding-top:12px}.video-lessons .video-lessons-label{font-size:11px;font-weight:750;letter-spacing:.1em;margin:0 0 8px}.video-lessons ul{padding:0;margin:0;list-style:none}.video-lessons .text-button{min-height:44px;text-align:left;line-height:1.5;padding:8px 0}.locked-lesson{display:block;color:#bbc0bb;font-size:14px;line-height:1.5;cursor:default}.locked-lesson small{display:block;margin-top:8px;color:#acb3ad;font-size:12px}
