/* Approved featured-home concept, 2026-10-26. Scoped home/library styling. */
:root{--paper:#fcfaf5;--muted:#6d778b}
.site-header{background:linear-gradient(120deg,#20211f,#111212 65%);border-color:#ffffff0a;box-shadow:0 2px 14px #080b0b0b}
.header-inner{min-height:70px;padding:0 32px;gap:34px;max-width:1536px}
.brand{gap:10px}.brand img{width:42px;height:42px}.brand span{font-size:29px;letter-spacing:-1.35px}.brand b{font:500 22px/1.2 Arial,sans-serif;letter-spacing:-.5px;color:#fff;margin-left:-3px}
.top-nav{flex:1;justify-content:center;gap:35px;scrollbar-width:none}
.top-nav a,.nav-help{font-size:16px;letter-spacing:-.015em;font-weight:650;color:#e9e8e4}
.top-nav a.active{color:#fff}.top-nav a.active:after{background:linear-gradient(90deg,#ffdd55,#ffca17);height:3px;bottom:10px;left:3px;right:3px;border-radius:99px}
.nav-help{border:0;background:transparent;padding:0;white-space:nowrap}.nav-help:hover{color:#ffdf61}
.header-form{display:flex;align-items:center;gap:1px;width:282px;background:#fff;border:1px solid #eeeeeb;border-radius:99px;height:39px;color:#151b24;flex-shrink:0;box-shadow:0 1px 5px #00000010}
.header-form:focus-within{outline:2px solid #ffe06a;outline-offset:3px}
.header-form .header-search{padding:7px 6px 7px 12px;min-height:34px;min-width:35px}.header-form .header-search:hover{background:transparent;color:#ab7d00}
.header-form input{width:100%;min-width:0;outline:0;border:0;background:transparent;padding:6px 13px 6px 4px;font-size:14px;color:#242932}
.header-form input::placeholder{color:#8b93a3}
.container.browse-home,.container.library-page{max-width:1536px;padding-left:32px;padding-right:32px}
.browse-home{padding-top:20px;padding-bottom:24px}
.hero-feature{height:300px;position:relative;border-radius:20px;overflow:hidden;background:#fae8c5;box-shadow:0 8px 23px #70603f0b;isolation:isolate}
.hero-media{position:absolute;inset:0 0 0 45%;overflow:hidden}.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 35%;transition:transform .65s cubic-bezier(.2,.6,.2,1)}
.hero-media:hover img{transform:scale(1.025)}
.hero-dark{position:absolute;inset:0 auto 0 0;width:55%;background:radial-gradient(ellipse at 15% 10%,#30302d,#141615 77%);clip-path:polygon(0 0,100% 0,90% 100%,0 100%);pointer-events:none}
.hero-copy{position:relative;z-index:2;color:#fff;width:52%;padding:30px 38px;pointer-events:none}
.hero-badge{display:inline-flex;align-items:center;min-height:34px;background:linear-gradient(115deg,#ffe884,#ffd72f);color:#1d1c12;font-size:13px;letter-spacing:-.01em;font-weight:750;border-radius:99px;padding:6px 17px;box-shadow:0 2px 10px #0001}
.hero-copy h1{font-size:clamp(30px,3vw,47px);font-weight:800;line-height:1.25;letter-spacing:-.045em;margin-top:16px;white-space:normal}
.hero-copy h1 span{white-space:nowrap}
.hero-copy p{font-size:21px;line-height:1.6;color:#c6c8ce;letter-spacing:-.02em;margin-top:6px}
.hero-actions{display:flex;align-items:center;gap:18px;margin-top:24px}
.hero-cta{pointer-events:auto;background:linear-gradient(120deg,#ffe376,#ffca18);color:#16180c;display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:52px;padding:10px 29px;font-size:20px;font-weight:800;border-radius:99px;box-shadow:0 5px 15px #0002;transition:transform .2s,box-shadow .2s}
.hero-cta svg{fill:currentColor;stroke:0;width:21px;height:21px}.hero-cta:hover{transform:translateY(-2px);box-shadow:0 7px 20px #0003}
.hero-duration{font:600 17px/1.3 Arial,sans-serif;display:inline-flex;align-items:center;justify-content:center;border:1px solid #60635e;background:#24262580;border-radius:11px;padding:9px 12px;color:#f2f3ef;box-shadow:inset 0 1px 1px #ffffff0c}
.browse-filters{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:17px 0 16px;padding:0 2px 4px}
.browse-filters .filter{flex-shrink:0;background:#f4f1e9;color:#252731;border:1px solid #eeebe3;border-radius:99px;padding:8px 21px;min-height:40px;font-size:14px;font-weight:600;box-shadow:none;transition:background .2s,box-shadow .2s,transform .2s}
.browse-filters .filter.active{background:linear-gradient(110deg,#ffe576,#ffd324);border-color:#f7cc2b;color:#191b11;box-shadow:0 4px 8px #d3ad2710}
.browse-filters .filter:hover{background:#ffe99c;transform:translateY(-1px)}
.lesson-shelf{margin-top:17px}
.shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}
.shelf-heading h2{font-size:27px;line-height:1.35;letter-spacing:-.035em;font-weight:800}
.view-all{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px;font-weight:650;color:#333a45;padding:7px 2px 7px 12px}
.view-all svg{width:17px;height:17px}.view-all:hover{color:#a47800}
.shelf-grid{display:grid;gap:18px}.shelf-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.shelf-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.cover-card.lesson-card{display:flex;flex-direction:column;gap:0;background:white;padding:0;min-width:0;min-height:0;border:1px solid #efede6;border-radius:15px;box-shadow:0 4px 13px #52452b05;overflow:hidden;transition:transform .23s cubic-bezier(.2,.6,.2,1),box-shadow .23s,border-color .23s}
.cover-card.lesson-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px #52452b14;border-color:#e4c967}
.cover-image{display:block;position:relative;width:100%;overflow:hidden;background:#faedda;aspect-ratio:2.55}
.cover-image>img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .5s cubic-bezier(.2,.6,.2,1)}
.cover-card:hover .cover-image>img{transform:scale(1.035)}
.cover-image .thumb-duration{right:10px;bottom:9px;background:#212523e8;backdrop-filter:blur(4px);padding:3px 7px;border:1px solid #ffffff10;border-radius:7px;font:600 14px/1.4 Arial,sans-serif;color:#fff}
.cover-play{position:absolute;left:12px;bottom:10px;height:32px;width:32px;border-radius:50%;background:#161d1cb8;border:1px solid #ffffff55;display:flex;align-items:center;justify-content:center;color:#fff;opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s;backdrop-filter:blur(3px)}
.cover-play svg{fill:currentColor;stroke:0;width:13px;height:13px;margin-left:1px}
.cover-card:hover .cover-play,.cover-card:focus-visible .cover-play{opacity:1;transform:translateY(0)}
.cover-caption{display:block;padding:10px 15px 11px}
.cover-caption h3{font-size:19px;line-height:1.4;letter-spacing:-.035em;font-weight:750;margin:0}
.cols-4 .cover-caption{padding:9px 13px}.cols-4 .cover-caption h3{font-size:17px}
.cover-description{display:block;font-size:13px;line-height:1.7;color:#748095;margin-top:6px}
.home-bottom{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:24px}
.all-lessons-cta{background:linear-gradient(110deg,#ffe172,#ffce23);border:1px solid #f2cc48;box-shadow:0 4px 10px #b8972110;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 24px;min-height:44px;border-radius:99px;font-size:15px;font-weight:750;transition:transform .2s,box-shadow .2s}
.all-lessons-cta:hover{transform:translateY(-2px);box-shadow:0 7px 18px #b8972120}.all-lessons-cta svg{width:19px;height:19px;margin-left:7px}
.home-bottom p{font-size:11px;color:#92959b}
.site-footer{max-width:1536px;padding:18px 32px}.site-footer>span{font-size:18px}.site-footer p,.site-footer .text-button{font-size:11px}
.library-page{padding-top:27px;padding-bottom:32px}
.library-back{display:inline-flex;align-items:center;gap:8px;color:#7b8190;font-size:12px;margin-bottom:20px}.library-back svg{width:16px;height:16px}.library-back:hover{color:#a47900}
.library-title-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.library-title-row h1{font-size:43px;letter-spacing:-.045em;line-height:1.3;margin-top:5px}
.library-total{color:#7d8492;font-size:13px}
.library-page .search-form{margin-bottom:18px}
.library-page .browse-filters{margin-top:0;margin-bottom:24px}
.library-page .library-heading{justify-content:space-between;margin-bottom:5px}.library-page .library-heading h2{font-size:23px}
.library-page .sort-label{display:flex}
.library-page .result-count{margin:8px 0 16px;color:#8a91a0;font-size:12px}
.library-cover-grid.lesson-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 17px}
.library-cover-grid .cover-image{aspect-ratio:16/9}.library-cover-grid .cover-card{display:flex}.library-cover-grid .cover-caption{padding:13px 14px 16px}
.library-cover-grid .cover-caption h3{font-size:19px}
.library-cover-grid .cover-description{font-size:12px;line-height:1.7}
.hero-feature,.browse-filters,.lesson-shelf,.home-bottom{animation:featured-in .45s cubic-bezier(.2,.7,.2,1) both}
.lesson-shelf:nth-of-type(2){animation-delay:.045s}.lesson-shelf:nth-of-type(3){animation-delay:.09s}.home-bottom{animation-delay:.12s}
@keyframes featured-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1650px){.header-inner,.container.browse-home,.container.library-page{max-width:1560px}.hero-feature{height:325px}.hero-copy{padding:35px 42px}.hero-copy h1{font-size:48px}.hero-copy p{font-size:23px}.cover-image{aspect-ratio:2.55}}
@media(max-width:1250px){.header-inner{gap:23px;padding:0 25px}.brand img{width:36px;height:36px}.brand span{font-size:26px}.brand b{font-size:19px}.top-nav{gap:25px}.top-nav a,.nav-help{font-size:14px}.header-form{width:230px}
.hero-copy{padding:29px}.hero-copy h1{font-size:37px}.hero-copy p{font-size:18px}.hero-actions{margin-top:22px}.hero-cta{font-size:18px;min-height:48px;padding:9px 25px}.hero-feature{height:283px}
.shelf-heading h2{font-size:24px}.cover-caption h3{font-size:18px}.cols-4 .cover-caption h3{font-size:16px}.shelf-grid{gap:15px}.library-cover-grid.lesson-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.header-inner{gap:20px;padding:0 20px;flex-wrap:nowrap;min-height:68px}.brand{flex:initial}.brand span{font-size:25px}.brand b{font-size:17px}.top-nav{order:initial;flex-basis:auto;align-self:stretch;gap:20px;min-height:0;justify-content:center}.top-nav a,.nav-help{font-size:13px}.header-form{width:190px;min-width:160px;margin-left:auto}
.hero-copy h1{font-size:32px}.hero-copy{padding:27px 25px}.hero-copy p{font-size:16px}.hero-feature{height:265px}.hero-badge{font-size:12px}.hero-actions{gap:13px;margin-top:22px}.hero-cta{font-size:17px;padding:9px 23px;min-height:45px}.hero-duration{font-size:14px;padding:8px 10px}
.container.browse-home,.container.library-page{padding-left:24px;padding-right:24px}.browse-filters .filter{padding:7px 17px;font-size:13px;min-height:37px}.shelf-heading h2{font-size:23px}.cover-caption{padding:9px 12px}.cover-caption h3{font-size:17px}.cols-4 .cover-caption h3{font-size:15px}
.site-footer{padding-left:24px;padding-right:24px}.library-title-row h1{font-size:36px}}
@media(max-width:780px){.header-inner{flex-wrap:wrap;padding:12px 20px 0;gap:8px 20px;min-height:106px}.brand{flex:1}.brand img{width:34px;height:34px}.brand span{font-size:26px}.brand b{font-size:18px}.header-form{width:215px;flex:initial;height:35px;min-width:0}.header-form input{font-size:12px}.header-form .header-search{min-height:30px;padding-left:9px}
.top-nav{order:3;flex-basis:100%;flex:1 0 100%;min-height:41px;gap:30px;justify-content:flex-start}.top-nav a.active:after{bottom:0}.top-nav a,.nav-help{font-size:13px}.top-nav a{padding-bottom:2px}
.browse-home{padding-top:17px}.hero-feature{height:265px}.hero-dark{width:60%}.hero-copy{width:58%;padding:25px 23px}.hero-copy h1{font-size:29px}.hero-copy p{font-size:15px;max-width:270px}.hero-copy h1 span{display:block}.hero-media{left:48%}.hero-badge{padding:5px 12px;min-height:30px;font-size:11px}.hero-actions{margin-top:18px}.hero-cta{font-size:16px;min-height:43px;padding:8px 20px}.hero-duration{font-size:13px}
.shelf-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.shelf-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-4 .cover-image{aspect-ratio:2.3}.cover-image{aspect-ratio:2.05}.cover-caption h3{font-size:15px}.cols-4 .cover-caption h3{font-size:16px}
.shelf-heading h2{font-size:22px}.view-all{font-size:12px}.cover-image .thumb-duration{right:7px;bottom:7px;font-size:11px;padding:2px 5px}.library-cover-grid.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-cover-grid .cover-caption h3{font-size:18px}
}
@media(max-width:560px){.header-inner{padding:11px 16px 0;gap:8px 8px}.brand{gap:6px}.brand img{width:29px;height:29px}.brand span{font-size:23px;letter-spacing:-1px}.brand b{font-size:15px;margin-left:0}.header-form{width:135px;height:33px}.header-form input{padding-right:8px;font-size:11px}.header-form .header-search{min-width:29px;padding:5px 3px 5px 8px}.header-form svg{width:16px;height:16px}.top-nav{gap:28px;min-height:39px}.top-nav a,.nav-help{font-size:12px}
.container.browse-home,.container.library-page{padding-left:16px;padding-right:16px}.browse-home{padding-top:13px}
.hero-feature{height:auto;min-height:350px;border-radius:17px;display:flex;flex-direction:column}.hero-media{position:relative;inset:auto;height:164px;width:100%;order:2}.hero-media img{object-position:center 52%}.hero-dark{clip-path:none;width:100%;inset:0 0 auto;height:215px;z-index:0}.hero-copy{width:100%;padding:20px 22px 21px;min-height:215px}.hero-badge{font-size:10px;min-height:26px;padding:4px 11px}.hero-copy h1{font-size:28px;margin-top:11px;line-height:1.25;letter-spacing:-.045em}.hero-copy h1 span{display:inline}.hero-copy p{font-size:14px;margin-top:6px;max-width:none}.hero-actions{margin-top:17px;gap:12px}.hero-cta{font-size:16px;min-height:43px;padding:8px 24px}.hero-cta svg{width:16px;height:16px}.hero-duration{font-size:13px;padding:7px 10px}
.browse-filters{margin:14px 0 10px;gap:7px;padding-bottom:4px}.browse-filters .filter{font-size:12px;padding:6px 15px;min-height:35px}
.lesson-shelf{margin-top:15px}.shelf-heading{gap:9px;margin-bottom:9px}.shelf-heading h2{font-size:21px;letter-spacing:-.04em}.view-all{font-size:11px;gap:4px;padding:5px 0}.view-all svg{width:14px;height:14px}
.shelf-grid.cols-3{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:11px;scrollbar-width:thin;padding-bottom:7px;margin:0 -16px;padding-left:16px;padding-right:16px;scroll-padding-left:16px}.shelf-grid.cols-3 .cover-card{flex:0 0 77%;scroll-snap-align:start}.shelf-grid.cols-3 .cover-image{aspect-ratio:2.25}.shelf-grid.cols-4{gap:11px}
.cover-card.lesson-card{border-radius:12px;box-shadow:0 3px 10px #4b402307}.cover-image{aspect-ratio:2.1}.cover-caption{padding:8px 11px 9px}.cover-caption h3,.cols-4 .cover-caption h3{font-size:15px}.cols-4 .cover-caption{padding:8px 10px}.cols-4 .cover-image{aspect-ratio:1.85}
.cover-image .thumb-duration{font-size:10px;right:6px;bottom:6px;border-radius:5px}.cover-play{display:none}.home-bottom{margin-top:21px;gap:8px}.all-lessons-cta{font-size:13px;padding:9px 18px;min-height:42px;gap:5px}.all-lessons-cta svg{width:16px;height:16px;margin-left:5px}.home-bottom p{font-size:10px;text-align:center}
.site-footer{padding:17px 16px;gap:12px}.site-footer>span{font-size:17px}.site-footer b{font-size:11px}.site-footer .text-button{font-size:10px}
.library-page{padding-top:20px}.library-back{margin-bottom:16px}.library-title-row{margin-bottom:19px}.library-title-row h1{font-size:31px}.library-total{font-size:12px}.library-page .search-form{margin-bottom:14px}.library-page .browse-filters{margin-bottom:19px}
.library-page .library-heading{align-items:flex-start;gap:10px;flex-wrap:nowrap}.library-page .library-heading h2{font-size:21px}.library-page .sort-label select{font-size:11px;padding:6px 8px}
.library-cover-grid.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.library-cover-grid .cover-image{aspect-ratio:1.8}.library-cover-grid .cover-caption{padding:10px 10px 13px}.library-cover-grid .cover-caption h3{font-size:15px;line-height:1.45}.library-cover-grid .cover-description{font-size:11px;line-height:1.7;margin-top:5px}.library-page .empty-state{padding:30px 18px}.library-page .empty-state h3{font-size:20px}.library-page .empty-state p{font-size:12px}
}
@media(max-width:365px){.brand span{font-size:21px}.brand b{font-size:13px}.brand img{width:27px;height:27px}.header-form{width:113px}.header-inner{padding-left:13px;padding-right:13px}.hero-copy{padding-left:19px;padding-right:19px}.hero-copy h1{font-size:25px}.hero-copy p{font-size:13px}.shelf-heading h2{font-size:19px}.library-cover-grid.lesson-grid{grid-template-columns:1fr}.library-cover-grid .cover-image{aspect-ratio:2.5}}
@media(prefers-reduced-motion:reduce){.hero-feature,.browse-filters,.lesson-shelf,.home-bottom{animation:none}.hero-media img,.hero-cta,.cover-card.lesson-card,.cover-image>img,.cover-play,.all-lessons-cta{transition:none}}

