:root{
  --paper:#f5f4ef;
  --paper-2:#ecebe5;
  --ink:#0a0a0a;
  --muted:#696963;
  --line:#b8b8b0;
  --line-dark:#72726c;
  --white:#fff;
  --max:1380px;
  --pad:clamp(18px,3vw,44px);
  --sans:Arial,Helvetica,sans-serif;
  --serif:Georgia,'Times New Roman',serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a:hover{opacity:.62}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
.site-shell{width:min(var(--max),calc(100% - (var(--pad) * 2)));margin:0 auto}
.narrow{max-width:900px}
.site-main{min-height:60vh}
.eyebrow{display:block;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.14em;margin-bottom:16px}
.text-link{font-size:12px;text-transform:uppercase;letter-spacing:.07em;border-bottom:1px solid var(--ink);padding-bottom:4px;white-space:nowrap}
.button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:0 22px;border:1px solid var(--ink);font-size:12px;text-transform:uppercase;letter-spacing:.08em;background:transparent;transition:.2s ease}
.button:hover{opacity:1;transform:translateY(-1px)}
.button-dark{background:var(--ink);color:var(--paper)}
.button-dark:hover{background:#2b2b2b}
.button-light{background:transparent;color:var(--ink)}
.button-light:hover{background:var(--ink);color:var(--paper)}
.button-small{min-height:36px;padding:0 16px;font-size:10px}
.button.full{width:100%}

/* Header */
.site-header{border-bottom:1px solid var(--line);background:rgba(245,244,239,.96);position:sticky;top:0;z-index:100;backdrop-filter:blur(10px)}
.header-inner{min-height:68px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:34px}
.brand{display:flex;align-items:center;gap:10px;min-width:185px}
.brand-mark{width:28px;height:28px;border:1px solid var(--ink);display:grid;place-items:center;font-size:10px;font-weight:700}
.brand-name{font-size:12px;font-weight:700;letter-spacing:.03em}
.custom-logo{max-height:34px;width:auto}
.site-nav{justify-self:center}
.nav-list{display:flex;gap:28px;list-style:none;margin:0;padding:0;align-items:center}
.nav-list a{font-size:11px;letter-spacing:.03em}
.header-actions{display:flex;align-items:center;gap:18px}
.header-link{font-size:11px}
.menu-toggle{display:none;border:0;background:transparent;font-size:10px;letter-spacing:.08em;padding:8px}

/* Shared hero */
.hero-topline{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:28px;font-size:10px;letter-spacing:.12em;text-transform:uppercase}
.hero-editorial{padding:30px 0 40px;border-bottom:1px solid var(--line)}
.hero-editorial h1,.archive-hero h1,.editorial-page-hero h1{font-size:clamp(64px,10.2vw,148px);line-height:.82;letter-spacing:-.065em;margin:0;text-transform:uppercase;font-weight:500;max-width:1220px}
.hero-editorial h1 span{font-family:var(--serif);font-weight:400;font-style:italic;letter-spacing:-.04em}
.hero-bottom{margin-top:34px;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end}
.hero-bottom p{max-width:630px;margin:0;font-size:17px;line-height:1.5}
.hero-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.archive-hero,.editorial-page-hero{padding:34px 0 54px;border-bottom:1px solid var(--line)}
.archive-hero h1{max-width:1120px}
.archive-hero>div>p,.archive-hero .landing-intro{max-width:720px;margin:32px 0 0;font-size:17px;line-height:1.55}
.editorial-page-hero h1{font-size:clamp(58px,8vw,118px);max-width:1180px}

/* Filter strip */
.section-border{border-bottom:1px solid var(--line)}
.filter-strip{display:grid;grid-template-columns:180px repeat(4,1fr);align-items:stretch}
.filter-label,.filter-chip-group{padding:20px 18px;border-right:1px solid var(--line)}
.filter-label{padding-left:0;font-size:10px;letter-spacing:.12em;display:flex;align-items:center}
.filter-chip-group:last-child{border-right:0}
.filter-chip-group>span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:10px;color:var(--muted)}
.filter-chip-group a{display:inline-block;font-size:11px;margin:0 7px 6px 0;border-bottom:1px solid transparent}
.filter-chip-group a:hover{border-color:var(--ink);opacity:1}

/* Sections */
.section-space{padding:72px 0}
.section-heading-row{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:30px}
.section-heading-row.compact{margin-bottom:24px}
.section-heading-row h2,.statement-grid h2,.subscription-promo h2,.author-strip h2,.two-col-text h2,.faq-section h2{font-size:clamp(34px,4.2vw,62px);line-height:.98;letter-spacing:-.045em;margin:0;font-weight:500}

/* Lesson grid/cards */
.lesson-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.lesson-card{padding:18px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column;min-width:0;background:var(--paper)}
.lesson-cover{position:relative;aspect-ratio:1.45/1;overflow:hidden;border:1px solid var(--ink);background:#e3e2dc;margin-bottom:16px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}
.lesson-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1);z-index:0}
.lesson-cover--custom-art{background:#ecebe4}
.lesson-cover--custom-art:before,.lesson-cover--custom-art:after{display:none}
.lesson-cover--custom-art img{position:absolute;left:50%;top:50%;right:auto;bottom:auto;width:auto;height:62%;max-width:68%;object-fit:contain;filter:none;padding:0;box-sizing:border-box;transform:translate(-50%,-47%);z-index:0}
.lesson-cover:before,.lesson-cover:after{content:"";position:absolute;z-index:-1;pointer-events:none}
.lesson-cover:before{inset:0;background:repeating-linear-gradient(135deg,transparent 0 18px,rgba(0,0,0,.08) 18px 19px)}
.lesson-cover:after{width:46%;aspect-ratio:1;right:-8%;top:13%;border:1px solid var(--ink);border-radius:50%}
.pattern-2:before{background:repeating-radial-gradient(circle at 20% 20%,transparent 0 16px,rgba(0,0,0,.11) 17px 18px)}
.pattern-3:before{background:linear-gradient(90deg,transparent 0 49.5%,rgba(0,0,0,.12) 49.5% 50.5%,transparent 50.5%),linear-gradient(0deg,transparent 0 49.5%,rgba(0,0,0,.12) 49.5% 50.5%,transparent 50.5%)}
.pattern-3:after{width:70%;height:1px;aspect-ratio:auto;right:15%;top:50%;border:0;border-top:1px solid var(--ink);border-radius:0;transform:rotate(-25deg)}
.pattern-4:before{background:repeating-linear-gradient(90deg,transparent 0 34px,rgba(0,0,0,.09) 34px 35px)}
.pattern-4:after{width:42%;height:42%;right:14%;top:28%;border-radius:0;transform:rotate(45deg)}
.pattern-5:before{background:repeating-linear-gradient(45deg,rgba(0,0,0,.05) 0 1px,transparent 1px 11px),repeating-linear-gradient(-45deg,rgba(0,0,0,.05) 0 1px,transparent 1px 11px)}
.pattern-5:after{width:36%;right:8%;top:8%;border-radius:50% 0 50% 50%}
.pattern-6:before{background:linear-gradient(135deg,transparent 0 42%,rgba(0,0,0,.13) 42% 43%,transparent 43%),linear-gradient(45deg,transparent 0 62%,rgba(0,0,0,.1) 62% 63%,transparent 63%)}
.cover-kicker{font-size:9px;letter-spacing:.11em;text-transform:uppercase;max-width:55%;position:relative;z-index:2}
.cover-number{font-family:var(--serif);font-size:44px;line-height:1;position:absolute;right:16px;top:12px;z-index:2}
.cover-title{font-size:clamp(20px,2vw,32px);line-height:.95;letter-spacing:-.04em;text-transform:uppercase;font-weight:700;max-width:88%;position:relative;z-index:2}
.lesson-card-topline{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:9px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:9px}
.tag-outline{border:1px solid var(--ink);border-radius:999px;padding:4px 7px;font-size:8px}
.lesson-card-title{font-size:22px;line-height:1.02;letter-spacing:-.035em;margin:0 0 10px;font-weight:500}
.lesson-card-excerpt{font-size:12px;line-height:1.5;color:#292925;margin:0 0 18px;min-height:54px}
.lesson-meta-row{margin-top:auto;border-top:1px solid var(--line);padding-top:10px;display:flex;justify-content:space-between;gap:10px;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.lesson-card-actions{display:flex;justify-content:space-between;align-items:end;margin-top:16px;gap:10px}
.favorite-button{border:0;background:transparent;font-size:24px;line-height:1;padding:0;min-width:28px}
.favorite-button.is-active{font-weight:700}

/* Category tiles */
.category-grid{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.category-tile{min-height:145px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;gap:16px}
.category-tile>span{font-size:9px;color:var(--muted)}
.category-tile strong{align-self:end;font-size:18px;line-height:1.05;font-weight:500}
.category-tile em{grid-column:2;grid-row:1/3;align-self:end;font-style:normal;font-size:20px}
.category-tile:hover{background:var(--ink);color:var(--paper);opacity:1}

/* Statements / promo */
.statement-section{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:68px 0}
.statement-grid{display:grid;grid-template-columns:1fr 2.2fr;gap:40px}
.statement-index{font-size:10px;letter-spacing:.12em}
.statement-grid p{font-size:18px;max-width:760px;margin:28px 0 0}
.subscription-promo{background:var(--ink);color:var(--paper);padding:76px 0}
.subscription-promo-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:80px;align-items:end}
.subscription-promo p{font-size:17px;max-width:580px;margin:0 0 30px}
.subscription-promo .button-dark{background:var(--paper);color:var(--ink);border-color:var(--paper)}
.subscription-promo .button-light{color:var(--paper);border-color:var(--paper)}
.subscription-promo .button-light:hover{background:var(--paper);color:var(--ink)}
.author-strip{padding:52px 0;border-bottom:1px solid var(--line)}
.author-strip-grid{display:grid;grid-template-columns:160px 1fr auto;gap:40px;align-items:end}
.author-monogram{font-family:var(--serif);font-style:italic;font-size:150px;line-height:.68}
.author-strip p{max-width:700px;margin:22px 0 0}

/* Catalog filters */
.catalog-filter-wrap{border-bottom:1px solid var(--line)}
.catalog-filter{display:grid;grid-template-columns:repeat(5,1fr) auto auto;align-items:end}
.catalog-filter label{padding:16px;border-right:1px solid var(--line)}
.catalog-filter label:first-child{border-left:1px solid var(--line)}
.catalog-filter label span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.catalog-filter select{width:100%;background:transparent;border:0;border-bottom:1px solid var(--ink);padding:6px 0;border-radius:0;outline:0;font-size:12px}
.catalog-filter .button{margin:14px 10px}
.filter-reset{font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin:0 0 27px 4px}
.empty-state{padding:70px 0;border-top:1px solid var(--line);text-align:center}
.empty-state h3{font-size:32px;margin:0 0 12px;font-weight:500}
.pagination{margin-top:34px}
.pagination ul{display:flex;list-style:none;margin:0;padding:0;gap:4px;flex-wrap:wrap}
.pagination a,.pagination span{display:grid;place-items:center;min-width:36px;height:36px;border:1px solid var(--line);font-size:11px}
.pagination .current{background:var(--ink);color:var(--paper)}

/* Single lesson */
.lesson-hero{border-bottom:1px solid var(--line);padding:34px 0 50px}
.lesson-hero-grid{display:grid;grid-template-columns:2.1fr 1fr;gap:60px}
.lesson-hero-main h1{font-size:clamp(56px,7.2vw,112px);line-height:.86;letter-spacing:-.06em;margin:0;font-weight:500;max-width:1000px}
.lesson-lead{font-size:18px;max-width:720px;margin:28px 0 30px}
.lesson-hero-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.lesson-facts{border-left:1px solid var(--line)}
.lesson-facts>div{padding:14px 0 14px 20px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:90px 1fr;gap:12px}
.lesson-facts span{font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.lesson-facts strong{font-size:12px;font-weight:500}
.lesson-intro-block{padding:54px 0;border-bottom:1px solid var(--line)}
.two-col-text{display:grid;grid-template-columns:1fr 1fr;gap:70px}
.two-col-text>p,.two-col-text .landing-intro{font-size:17px;line-height:1.6;margin:0}
.lesson-content-section{padding:64px 0}
.lesson-content-grid{display:grid;grid-template-columns:260px minmax(0,850px);gap:70px;align-items:start}
.lesson-sidebar{position:sticky;top:100px}
.sticky-note{font-family:var(--serif);font-style:italic;font-size:17px;line-height:1.45;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:16px 0;margin:0 0 20px}
.lesson-content>h2,.lesson-content .lesson-section h2{font-size:40px;letter-spacing:-.04em}
.lesson-content h3{font-size:28px;letter-spacing:-.035em;margin:0 0 14px}
.lesson-content p{font-size:15px;line-height:1.6}
.lesson-section{position:relative;border-top:1px solid var(--ink);padding:28px 0 36px 60px;margin-top:38px}
.section-number{position:absolute;left:0;top:30px;font-size:10px;letter-spacing:.1em}
.teacher-note{margin-top:48px;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink)}
.teacher-note summary{padding:18px 0;font-size:13px;text-transform:uppercase;letter-spacing:.08em;cursor:pointer}
.teacher-note>div{padding:0 0 22px;font-family:var(--serif);font-size:16px}
.locked-content{border:1px solid var(--ink);padding:52px;min-height:420px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background:var(--paper-2)}
.locked-content .lock-icon{font-size:36px;margin-bottom:25px}
.locked-content h2{font-size:42px;line-height:1;letter-spacing:-.04em;margin:0 0 18px}
.locked-content p{max-width:600px}
.locked-content .hero-actions{justify-content:flex-start;margin-top:14px}

/* Exercises */
.exercise-control{border:1px solid var(--line-dark);padding:18px;margin:16px 0;background:rgba(255,255,255,.25)}
.exercise-control label,.exercise-question{display:block;font-size:14px;margin:0 0 12px;font-weight:500}
.exercise-control select,.exercise-control input[type="text"],.exercise-control textarea{width:100%;border:0;border-bottom:1px solid var(--ink);background:transparent;padding:10px 0;outline:0;border-radius:0}
.exercise-control textarea{border:1px solid var(--line);padding:12px;resize:vertical}
.exercise-check{margin-top:12px;border:1px solid var(--ink);background:var(--ink);color:var(--paper);padding:8px 12px;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.exercise-result{display:inline-block;margin-left:10px;font-size:11px}
.exercise-result.is-correct{font-weight:700}
.exercise-result.is-wrong{font-style:italic}
.exercise-options{display:grid;gap:8px;margin-bottom:12px}
.exercise-options label{display:flex;gap:8px;align-items:flex-start;border:1px solid var(--line);padding:10px;margin:0;font-weight:400}
.exercise-control small{display:block;color:var(--muted);margin-top:8px}

/* Pricing */
.pricing-section{padding:0 0 70px}
.pricing-grid{display:grid;grid-template-columns:1fr 1fr;border-left:1px solid var(--line)}
.price-card{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:34px;min-height:520px;display:flex;flex-direction:column}
.price-card.featured{background:var(--paper);color:var(--ink)}
.price-index{font-size:10px;letter-spacing:.1em}
.price-card h2{font-size:52px;line-height:1;margin:50px 0 8px;font-weight:500;letter-spacing:-.04em}
.price{font-family:var(--serif);font-size:32px;font-style:italic;margin-bottom:20px}
.price-card p{max-width:480px;min-height:70px}
.price-card ul{list-style:none;margin:22px 0 32px;padding:0;border-top:1px solid currentColor}
.price-card li{padding:11px 0;border-bottom:1px solid currentColor;font-size:12px}
.price-card .button{margin-top:auto}
.price-card.featured .button-dark{background:transparent;color:var(--ink);border-color:var(--ink)}
.seo-note{padding:58px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper-2)}
.faq-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line);margin-top:28px}
.faq-grid details{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px}
.faq-grid summary{font-size:18px;line-height:1.15;cursor:pointer}
.faq-grid p{font-size:13px;color:#333}

/* Account */
.account-page{padding:70px 0}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.account-title h1{font-size:clamp(64px,8vw,112px);line-height:.82;letter-spacing:-.06em;margin:0;text-transform:uppercase;font-weight:500}
.account-title p{max-width:500px;font-size:17px;margin-top:28px}
.account-panel{border:1px solid var(--ink);padding:30px;background:var(--paper-2)}
.account-panel h2{font-size:34px;letter-spacing:-.04em;margin-top:0}
.login-username,.login-password,.login-remember{margin:0 0 18px}
.login-username label,.login-password label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}
.login-username input,.login-password input{width:100%;border:0;border-bottom:1px solid var(--ink);background:transparent;padding:10px 0;outline:0}
.login-submit input{border:1px solid var(--ink);background:var(--ink);color:var(--paper);padding:12px 22px;text-transform:uppercase;font-size:11px;letter-spacing:.08em}
.account-user{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:18px;display:grid;grid-template-columns:1fr auto;gap:5px 20px}
.account-user span{font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.account-user strong{font-size:24px;grid-column:1}
.account-user a{grid-column:2;grid-row:1/3;align-self:center;font-size:11px;text-decoration:underline}
.access-status{border:1px solid var(--ink);padding:18px;margin-bottom:18px;display:grid;grid-template-columns:1fr auto;gap:8px}
.access-status span{font-size:9px;letter-spacing:.1em}.access-status strong{grid-column:1;font-size:22px}.access-status em{grid-column:2;grid-row:1/3;align-self:center;font-family:var(--serif)}
.access-status.active{background:var(--ink);color:var(--paper)}
.account-favorites{margin-top:36px}
.mini-lesson-list{border-top:1px solid var(--line)}
.mini-lesson-list a{display:grid;grid-template-columns:70px 1fr auto;gap:14px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}
.mini-lesson-list span{font-size:9px}.mini-lesson-list strong{font-size:14px;font-weight:500}.mini-lesson-list em{font-style:normal}

/* About/contact/simple */
.about-editorial{padding:70px 0}.about-grid{display:grid;grid-template-columns:280px minmax(0,760px);gap:80px}.about-large-letter{font-family:var(--serif);font-style:italic;font-size:260px;line-height:.7}.prose{font-size:16px;line-height:1.7}.prose h2{font-size:42px;line-height:1;letter-spacing:-.04em;margin:0 0 18px;padding-top:34px;border-top:1px solid var(--ink)}.prose h2:first-child{padding-top:0;border-top:0}.prose a{text-decoration:underline}
.contact-section{padding:70px 0}.contact-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-left:1px solid var(--line)}.contact-grid>div{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:30px;min-height:260px}.contact-big{display:block;font-size:clamp(28px,4vw,56px);line-height:1;letter-spacing:-.04em;word-break:break-word}.contact-grid p{margin-top:40px;max-width:520px}.simple-page{padding:60px 0 90px}.simple-page h1{font-size:clamp(52px,7vw,96px);line-height:.9;letter-spacing:-.055em;margin:0 0 50px;font-weight:500}.post-list{border-top:1px solid var(--line)}.post-list article{display:grid;grid-template-columns:150px 1fr 1fr;gap:28px;padding:24px 0;border-bottom:1px solid var(--line)}.post-list span{font-size:10px}.post-list h2{margin:0;font-size:26px}.post-list p{margin:0}.error-page{padding:100px 0;text-align:center}.error-code{font-size:clamp(120px,20vw,300px);line-height:.7;letter-spacing:-.08em}.error-page h1{font-size:48px;margin:40px 0 10px}.error-page p{margin-bottom:28px}

/* Footer */
.site-footer{border-top:1px solid var(--ink);padding-top:40px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.3fr;gap:0;border-left:1px solid var(--line)}
.footer-grid>div{padding:24px;border-right:1px solid var(--line);min-height:190px}
.footer-brand p{max-width:300px;font-size:13px;color:var(--muted)}
.footer-logo{font-size:24px;font-weight:700;letter-spacing:-.03em}
.footer-label{font-size:9px;letter-spacing:.1em;margin-bottom:20px}
.footer-grid a{display:block;font-size:12px;margin:0 0 10px}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:16px 0;font-size:9px;text-transform:uppercase;letter-spacing:.08em}

/* Responsive */
@media(max-width:1100px){
  .header-inner{grid-template-columns:auto auto 1fr;gap:16px}.site-nav{position:absolute;left:var(--pad);right:var(--pad);top:68px;background:var(--paper);border:1px solid var(--ink);display:none;padding:12px}.site-nav.is-open{display:block}.nav-list{display:grid;gap:0}.nav-list li{border-bottom:1px solid var(--line)}.nav-list a{display:block;padding:12px}.menu-toggle{display:block}.header-actions{justify-self:end}.brand{min-width:0}.brand-name{display:none}
  .filter-strip{grid-template-columns:1fr 1fr}.filter-label{grid-column:1/-1;border-bottom:1px solid var(--line)}.filter-chip-group{border-top:1px solid var(--line)}
  .category-grid{grid-template-columns:repeat(3,1fr)}
  .catalog-filter{grid-template-columns:repeat(3,1fr)}.catalog-filter .button{margin:14px}.filter-reset{margin:0 14px 25px}
  .lesson-hero-grid{grid-template-columns:1fr}.lesson-facts{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(2,1fr)}
  .lesson-content-grid{grid-template-columns:200px 1fr;gap:40px}
  .footer-grid{grid-template-columns:2fr 1fr 1fr}.footer-grid>div:last-child{grid-column:1/-1;border-top:1px solid var(--line)}
}
@media(max-width:800px){
  .hero-editorial h1,.archive-hero h1,.editorial-page-hero h1{font-size:clamp(52px,16vw,92px)}
  .hero-bottom,.subscription-promo-grid,.two-col-text,.account-grid{grid-template-columns:1fr}.hero-actions{justify-content:flex-start}
  .lesson-grid{grid-template-columns:repeat(2,1fr)}
  .statement-grid{grid-template-columns:1fr}.author-strip-grid{grid-template-columns:100px 1fr}.author-strip-grid>.text-link{grid-column:2}.author-monogram{font-size:90px}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .catalog-filter{grid-template-columns:repeat(2,1fr)}
  .lesson-content-grid{grid-template-columns:1fr}.lesson-sidebar{position:static}.lesson-sidebar .sticky-note{max-width:600px}
  .pricing-grid{grid-template-columns:1fr}.faq-grid{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}.about-large-letter{font-size:150px}.contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:last-child{grid-column:auto}.footer-brand{grid-column:1/-1}
}
@media(max-width:560px){
  :root{--pad:16px}.site-header{position:relative}.header-actions .header-link{display:none}.header-inner{min-height:58px}.site-nav{top:58px}
  .hero-editorial{padding-top:20px}.hero-topline{margin-bottom:20px}.hero-editorial h1,.archive-hero h1,.editorial-page-hero h1{font-size:clamp(46px,17vw,74px)}.hero-bottom p,.archive-hero>div>p{font-size:15px}
  .filter-strip{grid-template-columns:1fr}.filter-label,.filter-chip-group{grid-column:1;border-right:0}
  .section-space{padding:50px 0}.section-heading-row{align-items:start}.section-heading-row h2{font-size:36px}
  .lesson-grid{grid-template-columns:1fr}.lesson-card-excerpt{min-height:0}.category-grid{grid-template-columns:1fr}.category-tile{min-height:100px}
  .catalog-filter{grid-template-columns:1fr}.catalog-filter label{border-left:1px solid var(--line)}
  .lesson-hero-main h1{font-size:50px}.lesson-facts{grid-template-columns:1fr}.lesson-content{min-width:0}.lesson-section{padding-left:36px}.locked-content{padding:28px}.locked-content h2{font-size:34px}
  .price-card{padding:24px}.price-card h2{font-size:42px}.account-panel{padding:22px}.account-title h1{font-size:62px}
  .footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:auto}.footer-grid>div{min-height:auto}.footer-bottom{display:grid}
}

/* ==============================
   v1.0.0 refinements
   ============================== */
body.admin-bar .site-header{top:32px}
.hero-editorial{padding:28px 0 34px}
.hero-editorial h1{font-size:clamp(54px,7.25vw,112px);line-height:.88;letter-spacing:-.058em;max-width:1320px}
.hero-editorial .hero-line{display:block;font-family:var(--sans);font-style:normal;font-weight:500;letter-spacing:-.058em}
.hero-editorial .hero-line.hero-serif{font-family:var(--serif);font-style:italic;font-weight:400;font-size:.82em;letter-spacing:-.045em;margin-top:.08em}
.hero-bottom{margin-top:30px;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);align-items:end}
.hero-copy{max-width:760px}
.hero-copy .hero-lead{font-size:20px;line-height:1.35;margin:0 0 8px;max-width:700px}
.hero-copy .hero-subcopy{font-size:14px;line-height:1.55;color:#353530;margin:0;max-width:680px}
.home-filter-section{background:rgba(255,255,255,.08)}
.filter-strip{grid-template-columns:190px repeat(4,1fr)}
.filter-label{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px}
.filter-label>span{font-size:9px;letter-spacing:.13em;color:var(--muted)}
.filter-label>strong{font-size:14px;font-weight:500;letter-spacing:-.02em}
.filter-chip-group{padding:18px}
.filter-chip-group>span{margin-bottom:11px}
.filter-pills{display:flex;flex-wrap:wrap;gap:6px}
.filter-chip-group .filter-pill{display:inline-flex;align-items:center;min-height:27px;margin:0;border:1px solid var(--line-dark);border-radius:999px;padding:0 9px;font-size:10px;line-height:1;transition:.18s ease}
.filter-chip-group .filter-pill:hover{opacity:1;background:var(--ink);border-color:var(--ink);color:var(--paper)}
.section-heading-row h2{max-width:980px}
.lesson-cover{background:#e9e8e2;min-height:235px}
.cover-kicker{font-size:9px;max-width:62%}
.cover-level{position:absolute;right:15px;top:14px;z-index:2;border:1px solid currentColor;border-radius:999px;padding:4px 8px;font-size:8px;letter-spacing:.08em}
.cover-title{font-size:clamp(20px,1.75vw,29px);max-width:90%}
.cover-signature{position:relative;z-index:2;font-size:8px;letter-spacing:.14em;color:#52524d}
.lesson-card-title{font-size:21px;line-height:1.05}
.lesson-card-excerpt{font-size:12.5px;line-height:1.52;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:57px}
.lesson-card-actions .text-link{font-size:11px}
.favorite-button{transition:.15s ease}.favorite-button:hover{transform:scale(1.08);opacity:1}
.statement-grid h2{max-width:980px}
.statement-grid p{max-width:860px}
.subscription-promo-grid h2{max-width:720px}
.author-strip h2{max-width:900px}
.catalog-hero h1{font-size:clamp(56px,7.4vw,112px);line-height:.88;max-width:1260px}
.archive-serif{font-family:var(--serif);font-style:italic;font-weight:400;font-size:.78em;letter-spacing:-.04em}
.catalog-hero>div>p{max-width:760px}
.catalog-filter{background:rgba(255,255,255,.08)}
.catalog-filter label{min-width:0}
.catalog-filter select{cursor:pointer}
.account-entry-links{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:18px;padding-top:14px;font-size:11px}
.account-entry-links a{text-decoration:underline}
.pricing-hero h1{font-size:clamp(50px,6.7vw,100px);line-height:.9}
.price-card p{min-height:58px}
.site-footer{background:var(--paper)}

@media(max-width:1100px){
  .hero-editorial h1{font-size:clamp(54px,9vw,92px)}
  .hero-bottom{grid-template-columns:1fr}
  .hero-actions{justify-content:flex-start}
  .filter-strip{grid-template-columns:1fr 1fr}
  .filter-label{grid-column:1/-1;min-height:78px}
  .catalog-hero h1{font-size:clamp(52px,9vw,92px)}
}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(max-width:800px){
  .hero-editorial h1{font-size:clamp(48px,12vw,78px)}
  .hero-editorial .hero-line.hero-serif{font-size:.76em}
  .hero-copy .hero-lead{font-size:18px}
  .catalog-hero h1{font-size:clamp(48px,12vw,78px)}
  .archive-serif{font-size:.75em}
}
@media(max-width:560px){
  body.admin-bar .site-header{top:0}
  .hero-editorial h1{font-size:clamp(43px,14.5vw,68px);line-height:.92}
  .hero-editorial .hero-line.hero-serif{font-size:.72em;line-height:1.02;margin-top:.12em}
  .hero-copy .hero-lead{font-size:17px}
  .hero-copy .hero-subcopy{font-size:13px}
  .filter-strip{grid-template-columns:1fr}
  .filter-chip-group{padding:16px 0;border-right:0}
  .filter-label{padding:16px 0}
  .lesson-cover{min-height:210px}
  .catalog-hero h1{font-size:clamp(42px,14vw,66px);line-height:.92}
  .archive-serif{font-size:.7em}
  .account-entry-links{flex-direction:column;gap:8px}
}

/* ==============================
   v1.0.1 polish pass
   ============================== */
/* Hero: the editorial serif line remains expressive, but no longer competes with the product name. */
.hero-editorial .hero-line.hero-serif{
  font-size:.73em;
  line-height:.98;
  margin-top:.11em;
}

/* Quick filter: keep the complete CEFR scale A1–C2 on one line on desktop. */
.filter-chip-group-lesson_level .filter-pills{
  flex-wrap:nowrap;
  gap:5px;
}
.filter-chip-group-lesson_level .filter-pill{
  min-width:36px;
  padding-left:8px;
  padding-right:8px;
  justify-content:center;
}

/* Secondary headings should support, not compete with, the main hero. */
.selected-lessons-title{
  font-size:clamp(34px,3.45vw,52px) !important;
  max-width:880px !important;
  line-height:1 !important;
}

/* Internal free page gets a deliberately smaller hero than the homepage/catalog. */
.free-lessons-hero h1{
  font-size:clamp(52px,6.45vw,96px);
  line-height:.88;
  max-width:980px;
}
.free-lessons-hero>div>p{
  max-width:760px;
  margin-top:26px;
}
.free-lessons-section-title{
  font-size:clamp(32px,3.4vw,50px) !important;
}

/* Long lesson names in placeholder covers stay editorial and readable. */
.lesson-cover .cover-title{
  font-size:clamp(19px,1.55vw,27px);
  line-height:.94;
  max-width:86%;
  overflow-wrap:anywhere;
}
.lesson-card-title{
  font-size:20px;
  line-height:1.08;
}

@media(max-width:1100px){
  .filter-chip-group-lesson_level .filter-pills{flex-wrap:wrap}
  .hero-editorial .hero-line.hero-serif{font-size:.72em}
  .free-lessons-hero h1{font-size:clamp(50px,9vw,82px)}
}
@media(max-width:800px){
  .selected-lessons-title{font-size:clamp(34px,7vw,46px) !important}
  .free-lessons-hero h1{font-size:clamp(46px,12vw,72px)}
}
@media(max-width:560px){
  .hero-editorial .hero-line.hero-serif{font-size:.68em;line-height:1.02}
  .selected-lessons-title{font-size:34px !important}
  .free-lessons-hero h1{font-size:clamp(42px,13vw,60px);line-height:.92}
  .filter-chip-group-lesson_level .filter-pills{flex-wrap:wrap}
}


/* ==============================
   v1.0.2 typography system
   One consistent display scale across all top-level pages.
   ============================== */
:root{
  --display-h1:clamp(52px,5.8vw,92px);
  --internal-h1:clamp(44px,4.7vw,72px);
  --section-h2:clamp(30px,2.9vw,46px);
}

/* Main page heroes: same size everywhere, no random page-specific scaling. */
.hero-editorial h1,
.archive-hero h1,
.editorial-page-hero h1,
.catalog-hero h1,
.free-lessons-hero h1,
.pricing-hero h1,
.landing-hero h1{
  font-size:var(--display-h1) !important;
  line-height:.9 !important;
  letter-spacing:-.055em !important;
  max-width:1120px !important;
}

/* Homepage keeps the editorial serif accent, but subordinate to the main words. */
.hero-editorial .hero-line.hero-serif{
  font-size:.69em !important;
  line-height:1 !important;
  margin-top:.10em !important;
}

/* Internal pages and individual lesson titles use a second, deliberately smaller tier. */
.lesson-hero-main h1,
.simple-page h1,
.account-title h1{
  font-size:var(--internal-h1) !important;
  line-height:.94 !important;
  letter-spacing:-.045em !important;
}

/* Section headings are also normalized so they do not compete with H1. */
.section-heading-row h2,
.selected-lessons-title,
.free-lessons-section-title,
.statement-grid h2,
.subscription-promo h2,
.author-strip h2,
.two-col-text h2,
.faq-section h2{
  font-size:var(--section-h2) !important;
  line-height:1.02 !important;
  letter-spacing:-.04em !important;
}

/* Slightly tighter hero vertical rhythm after reducing the type. */
.hero-editorial{padding:26px 0 32px !important}
.archive-hero,.editorial-page-hero{padding:30px 0 44px !important}
.hero-topline{margin-bottom:24px !important}
.hero-bottom{margin-top:26px !important}
.archive-hero>div>p,.archive-hero .landing-intro{margin-top:26px !important}

@media(max-width:1100px){
  :root{
    --display-h1:clamp(50px,7.6vw,82px);
    --internal-h1:clamp(43px,6.2vw,66px);
    --section-h2:clamp(30px,4vw,44px);
  }
}

@media(max-width:800px){
  :root{
    --display-h1:clamp(46px,10.5vw,72px);
    --internal-h1:clamp(40px,9vw,60px);
    --section-h2:clamp(29px,6vw,40px);
  }
  .hero-editorial .hero-line.hero-serif{font-size:.67em !important}
}

@media(max-width:560px){
  :root{
    --display-h1:clamp(40px,12vw,58px);
    --internal-h1:clamp(36px,10.5vw,52px);
    --section-h2:clamp(28px,8vw,36px);
  }
  .hero-editorial .hero-line.hero-serif{font-size:.65em !important}
  .hero-editorial{padding:18px 0 26px !important}
  .archive-hero,.editorial-page-hero{padding:22px 0 34px !important}
}


/* ==============================
   v1.0.3 cache-safe compact display system
   ============================== */
:root{
  --display-h1:clamp(48px,4.55vw,74px);
  --internal-h1:clamp(42px,4vw,64px);
  --section-h2:clamp(28px,2.45vw,40px);
}

/* All top-level page heroes share one visible scale. */
.hero-editorial h1,
.archive-hero h1,
.editorial-page-hero h1,
.catalog-hero h1,
.free-lessons-hero h1,
.pricing-hero h1,
.landing-hero h1{
  font-size:var(--display-h1) !important;
  line-height:.92 !important;
  letter-spacing:-.05em !important;
  max-width:1040px !important;
}
.hero-editorial .hero-line.hero-serif{
  font-size:.67em !important;
  line-height:1 !important;
  margin-top:.12em !important;
}
.lesson-hero-main h1,
.simple-page h1,
.account-title h1{
  font-size:var(--internal-h1) !important;
  line-height:.96 !important;
}
.section-heading-row h2,
.selected-lessons-title,
.free-lessons-section-title,
.statement-grid h2,
.subscription-promo h2,
.author-strip h2,
.two-col-text h2,
.faq-section h2{
  font-size:var(--section-h2) !important;
  line-height:1.04 !important;
}
.hero-editorial{padding:22px 0 28px !important}
.archive-hero,.editorial-page-hero{padding:26px 0 38px !important}
.hero-topline{margin-bottom:20px !important}
.hero-bottom{margin-top:22px !important}
.archive-hero>div>p,.archive-hero .landing-intro{margin-top:22px !important}

@media(max-width:1100px){
  :root{
    --display-h1:clamp(46px,6.6vw,70px);
    --internal-h1:clamp(40px,5.6vw,60px);
    --section-h2:clamp(28px,3.5vw,38px);
  }
}
@media(max-width:800px){
  :root{
    --display-h1:clamp(42px,9vw,62px);
    --internal-h1:clamp(38px,8vw,56px);
    --section-h2:clamp(27px,5.4vw,36px);
  }
}
@media(max-width:560px){
  :root{
    --display-h1:clamp(36px,10.8vw,52px);
    --internal-h1:clamp(34px,9.8vw,48px);
    --section-h2:clamp(26px,7vw,34px);
  }
  .hero-editorial .hero-line.hero-serif{font-size:.64em !important}
}


/* ==============================
   v1.1.0 real client lesson library
   ============================== */
.worksheet-body{max-width:920px}
.worksheet-task{position:relative;border-top:1px solid var(--line);padding:30px 0 24px 58px;margin:8px 0 20px}
.worksheet-task:first-child{margin-top:0}
.worksheet-task-no{position:absolute;left:0;top:32px;font-size:10px;letter-spacing:.12em;color:var(--muted)}
.worksheet-task h3{font-size:24px;line-height:1.12;margin:0 0 20px;letter-spacing:-.025em}
.worksheet-task p,.worksheet-body>p{font-size:15px;line-height:1.7;margin:0 0 14px}
.worksheet-matching{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}.worksheet-matching-col p{margin:0 0 10px}.worksheet-lettered{position:relative;padding-left:24px}.worksheet-lettered span{position:absolute;left:0;top:0}.worksheet-answer-inline strong{font-weight:700}
.worksheet-numbered{position:relative;display:block;padding-left:48px;min-height:1.7em}
.worksheet-numbered>span:first-child{position:absolute;left:0;top:.28em;width:30px;font-size:11px;line-height:1.3;color:var(--muted);padding:0}
.worksheet-list{margin:8px 0 18px;padding-left:22px}
.worksheet-list li{margin:0 0 9px;line-height:1.62}
.worksheet-subhead{font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin:26px 0 12px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.worksheet-blank{display:inline-block;min-width:92px;height:1.15em;border-bottom:1px solid var(--ink);vertical-align:baseline;margin:0 4px;background:transparent}
.worksheet-blank.is-static{min-width:104px}
.worksheet-select-wrap{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;margin:0 5px;max-width:100%}
.worksheet-inline-select{display:inline-block;width:148px;max-width:100%;height:30px;border:0;border-bottom:1px solid var(--ink);border-radius:0;background:transparent;color:var(--ink);padding:2px 24px 2px 6px;font-size:13px;line-height:1.2;vertical-align:middle;outline:none;cursor:pointer}
.worksheet-inline-select:hover{border-bottom-width:2px}
.worksheet-inline-select:focus{border-bottom-width:2px;box-shadow:0 2px 0 0 var(--ink)}
.worksheet-select-status{display:inline-block;min-width:12px;font-size:13px;line-height:1;font-weight:700}
.worksheet-print-blank{display:none}
.worksheet-select-wrap.is-correct .worksheet-inline-select{font-weight:650;background:rgba(0,0,0,.045)}
.worksheet-select-wrap.is-wrong .worksheet-inline-select{background:rgba(0,0,0,.02)}
.teacher-content{margin-top:38px}
.teacher-content>summary{font-size:14px}
.teacher-content[open]>div{padding-top:22px}
.teacher-worksheet strong{font-weight:700}
.source-audit-note{margin-top:24px;padding:14px 16px;border:1px dashed #a66;font-size:12px;line-height:1.5;background:#fffaf4}
.lesson-print-button{cursor:pointer;width:100%;margin-top:8px}
.lesson-card-excerpt{min-height:58px}
.lesson-card .lesson-meta-row span:empty{display:none}

@media(max-width:700px){
  .worksheet-task{padding-left:38px}
  .worksheet-task h3{font-size:21px}
  .worksheet-task p,.worksheet-body>p{font-size:14px}
  .worksheet-matching{grid-template-columns:1fr;gap:14px}.worksheet-matching-col p{margin-bottom:8px}
  .worksheet-numbered{padding-left:38px}
  .worksheet-numbered>span:first-child{width:26px}
  .worksheet-inline-select{width:132px;max-width:calc(100vw - 130px);height:29px;font-size:12px}
  .worksheet-select-wrap{margin-left:3px;margin-right:3px}
}
@media print{
  .wpadminbar,.site-header,.site-footer,.lesson-hero-actions,.lesson-sidebar,.related-lessons,.subscription-promo,.favorite-button,.lesson-print-button{display:none!important}
  body{background:#fff!important;color:#000!important}
  .site-shell,.lesson-content-grid{max-width:none!important;width:100%!important;display:block!important;padding:0!important}
  .lesson-hero{padding:0 0 24px!important;border-bottom:1px solid #000}
  .lesson-facts{display:grid!important;grid-template-columns:repeat(3,1fr)!important}
  .lesson-content-section{padding:20px 0!important}
  .teacher-note{break-before:page}
  .worksheet-blank{min-width:80px;background:none}
  .worksheet-inline-select{display:none!important}
  .worksheet-select-status{display:none!important}
  .worksheet-select-wrap{display:inline!important;margin:0 4px!important;vertical-align:baseline!important}
  .worksheet-print-blank{display:inline-block!important;width:var(--worksheet-print-blank-width,110px);min-width:92px;max-width:180px;height:1.05em;border-bottom:1px solid #000;vertical-align:baseline;background:transparent!important}
}

/* ==============================
   v1.2.0 brand, search and UX polish
   ============================== */
.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Brand lockup */
.brand-wrap{display:flex;align-items:center;min-width:210px}
.brand-wrap .custom-logo-link{display:inline-flex;align-items:center;line-height:0}
.brand-wrap .custom-logo{display:block;max-width:235px;max-height:42px;width:auto;height:auto}
.brand-default{display:inline-flex;align-items:center;min-width:0;opacity:1!important}
.brand-default img{display:block;width:auto;height:42px;max-width:235px;object-fit:contain;object-position:left center}
.footer-brand-lockup{display:inline-block;opacity:1!important}
.footer-brand-lockup img,.footer-custom-logo .custom-logo{width:auto;height:52px;max-width:260px;max-height:52px;object-fit:contain;object-position:left center}
.footer-custom-logo .custom-logo-link{display:inline-flex;line-height:0}
.footer-socials{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}

/* Header search */
.header-search-toggle{appearance:none;border:0;border-bottom:1px solid transparent;background:transparent;padding:5px 0;font-size:11px;color:var(--ink);cursor:pointer}
.header-search-toggle:hover,.header-search-toggle[aria-expanded="true"]{border-bottom-color:var(--ink)}
.site-search-panel{border-top:1px solid var(--line);border-bottom:1px solid var(--ink);background:var(--paper);box-shadow:0 18px 32px rgba(0,0,0,.08)}
.search-panel-inner{padding-top:20px;padding-bottom:22px}
.lesson-search-form{display:grid;grid-template-columns:1fr auto;border-bottom:1px solid var(--ink);align-items:end}
.lesson-search-input{appearance:none;width:100%;border:0;background:transparent;padding:12px 0 13px;font-size:clamp(22px,3vw,42px);line-height:1;letter-spacing:-.035em;outline:none}
.lesson-search-input::placeholder{color:#999991}
.lesson-search-submit{border:0;background:transparent;padding:12px 0 13px 24px;font-size:10px;text-transform:uppercase;letter-spacing:.12em;cursor:pointer}
.live-search-results{display:grid;margin-top:12px;border-top:1px solid var(--line)}
.live-search-item{display:grid;grid-template-columns:150px 1fr auto;gap:18px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);opacity:1!important}
.live-search-item span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.live-search-item strong{font-size:14px;font-weight:500}
.live-search-item em{font-style:normal}
.live-search-item:hover strong{text-decoration:underline}
.live-search-empty{font-size:12px;color:var(--muted);margin:12px 0 0}

/* Breadcrumbs */
.breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 0 0;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.breadcrumbs a{color:var(--ink)}
.breadcrumbs-sep{color:var(--line-dark)}
.lesson-hero .breadcrumbs{padding-bottom:10px}

/* Search page */
.search-page-form{max-width:940px;margin-top:30px}
.search-results-section{border-top:1px solid var(--line)}
.search-result-count{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.search-empty{max-width:700px;padding:50px 0 30px}
.search-empty h2{font-size:var(--section-h2);line-height:1;margin:0 0 16px;letter-spacing:-.04em;font-weight:500}
.search-empty p{max-width:620px;margin:0 0 26px;color:#34342f}
.catalog-pagination{margin-top:30px;border-top:1px solid var(--line);padding-top:20px}
.catalog-pagination .nav-links{display:flex;gap:8px;align-items:center;justify-content:center}
.catalog-pagination a,.catalog-pagination span{min-width:34px;height:34px;border:1px solid var(--line-dark);display:grid;place-items:center;font-size:11px}
.catalog-pagination .current{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* 404 */
.error-page-editorial{text-align:left;padding:66px 0 80px}
.error-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:70px;align-items:end;border-top:1px solid var(--ink);padding-top:38px}
.error-page-editorial .error-code{display:block;font-size:clamp(120px,16vw,250px);line-height:.72;letter-spacing:-.08em}
.error-copy h1{font-size:var(--internal-h1)!important;line-height:.94!important;letter-spacing:-.045em!important;margin:0 0 18px;font-weight:500}
.error-copy>p{font-size:16px;line-height:1.6;max-width:620px;margin:0 0 24px}
.error-copy .lesson-search-form{margin:0 0 24px}
.error-copy .lesson-search-input{font-size:22px}
.error-suggestions{border-top:1px solid var(--line)}

/* Account */
.account-favorites+.account-recent{margin-top:38px;padding-top:30px;border-top:1px solid var(--line)}
.account-recent h2{margin:0 0 18px;font-size:24px;font-weight:500;letter-spacing:-.03em}
.recent-empty{font-size:13px;color:var(--muted);padding:12px 0;border-bottom:1px solid var(--line);margin:0}

/* Card polish */
.lesson-card{transition:background-color .2s ease}
.lesson-card:hover{background:#efeee8}
.lesson-cover{transition:transform .28s ease,box-shadow .28s ease}
.lesson-card:hover .lesson-cover{transform:translateY(-3px);box-shadow:0 10px 25px rgba(0,0,0,.06)}
.lesson-card:hover .cover-title{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.category-tile{transition:background-color .22s ease,transform .22s ease}
.category-tile:hover{transform:translateY(-2px)}

/* Reveal motion */
.la-reveal{opacity:0;transform:translateY(12px);transition:opacity .48s ease,transform .48s ease}
.la-reveal.is-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.la-reveal{opacity:1!important;transform:none!important;transition:none!important}html{scroll-behavior:auto}}

@media(max-width:1100px){
  .brand-wrap{min-width:0}.brand-wrap .custom-logo,.brand-default img{max-width:180px;height:36px;max-height:36px}
  .live-search-item{grid-template-columns:120px 1fr auto}
}
@media(max-width:800px){
  .error-grid{grid-template-columns:1fr;gap:40px}.error-page-editorial{padding:44px 0 60px}.error-page-editorial .error-code{font-size:150px}
  .live-search-item{grid-template-columns:1fr auto;gap:4px 14px}.live-search-item span{grid-column:1}.live-search-item strong{grid-column:1}.live-search-item em{grid-column:2;grid-row:1/3}
}
@media(max-width:560px){
  .brand-wrap .custom-logo,.brand-default img{max-width:138px;height:30px;max-height:30px}
  .header-search-toggle{font-size:10px}.header-actions{gap:10px}
  .lesson-search-input{font-size:24px}.lesson-search-submit{padding-left:12px}
  .search-panel-inner{padding-top:14px;padding-bottom:16px}
  .footer-brand-lockup img{height:42px;max-width:220px}
  .error-copy .lesson-search-input{font-size:18px}
}

/* ==============================
   v1.3.0 account + checkout
   ============================== */
.account-tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--ink);margin-bottom:28px}
.account-tabs a{padding:12px 14px;text-align:center;font-size:10px;text-transform:uppercase;letter-spacing:.09em}
.account-tabs a+a{border-left:1px solid var(--ink)}
.account-tabs a.is-active{background:var(--ink);color:var(--paper)}
.account-form{display:grid;gap:17px;margin-top:22px}
.account-form>label:not(.account-checkbox){display:block}
.account-form>label>span:first-child{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.09em;margin-bottom:7px}
.account-form input[type="text"],.account-form input[type="email"],.account-form input[type="tel"],.account-form input[type="password"]{width:100%;border:0;border-bottom:1px solid var(--ink);background:transparent;border-radius:0;padding:10px 0;outline:0;font:inherit}
.account-form input:focus{border-bottom-width:2px}
.account-checkbox{display:flex!important;gap:10px;align-items:flex-start;font-size:11px;line-height:1.45;text-transform:none!important;letter-spacing:0!important}
.account-checkbox input{margin-top:3px;flex:0 0 auto}
.account-checkbox span{display:block!important;font-size:11px!important;text-transform:none!important;letter-spacing:0!important;margin:0!important}
.account-checkbox a{text-decoration:underline}
.account-privacy-notice{margin:-7px 0 0 25px;font-size:10px;line-height:1.45;color:var(--muted);max-width:620px}.account-privacy-notice a{text-decoration:underline;text-underline-offset:2px}
.account-notice{border:1px solid var(--ink);padding:13px 15px;margin:0 0 20px;font-size:12px;line-height:1.45}
.account-notice.is-error{border-style:dashed}
.account-notice.is-success{background:var(--ink);color:var(--paper)}
.account-profile{margin-top:26px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}
.account-profile summary{cursor:pointer;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.account-profile-form{margin:22px 0 6px}
.account-profile-form small{display:block;color:var(--muted);font-size:10px;margin-top:6px}
.subscription-checkout-form{margin-top:auto}
.subscription-checkout-form .button{width:100%;cursor:pointer}
.button.is-disabled{opacity:.45;pointer-events:none}
.subscription-notice{margin-top:24px;margin-bottom:28px}
@media(max-width:560px){.account-page{padding:42px 0}.account-grid{gap:34px}.account-tabs{margin-bottom:22px}}

/* ==============================
   v1.4.0 typography refinement
   Smaller, unified first-screen H1 scale across core pages.
   ============================== */
.hero-editorial h1,.archive-hero h1,.editorial-page-hero h1{
  font-size:clamp(52px,7.4vw,110px);
  line-height:.86;
  letter-spacing:-.055em;
}
.archive-hero h1{max-width:1040px}
.editorial-page-hero h1{font-size:clamp(48px,6.4vw,94px);line-height:.9;letter-spacing:-.05em}
.lesson-hero-main h1{font-size:clamp(46px,5.6vw,86px);line-height:.9;letter-spacing:-.05em}
.account-title h1{font-size:clamp(48px,6.2vw,90px);line-height:.88;letter-spacing:-.05em}
.simple-page h1{font-size:clamp(42px,5.3vw,76px);line-height:.94;letter-spacing:-.045em}

@media(max-width:800px){
  .hero-editorial h1,.archive-hero h1,.editorial-page-hero h1{font-size:clamp(44px,13.5vw,70px);line-height:.88}
  .lesson-hero-main h1{font-size:clamp(42px,11vw,64px)}
  .account-title h1{font-size:clamp(44px,12vw,66px)}
  .simple-page h1{font-size:clamp(40px,11vw,62px)}
}
@media(max-width:560px){
  .hero-editorial h1,.archive-hero h1,.editorial-page-hero h1{font-size:clamp(38px,12.8vw,58px);letter-spacing:-.048em}
  .lesson-hero-main h1{font-size:clamp(38px,10.8vw,54px)}
  .account-title h1{font-size:clamp(40px,11.6vw,58px)}
  .simple-page h1{font-size:clamp(36px,10.5vw,52px)}
}

/* ==============================
   v1.5.0 RU compliance + multilingual header + final type scale
   ============================== */
/* Russian version uses a bilingual compliance lockup; EN/ES show the brand without a Russian UI label. */
.brand-compliant-lockup{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:292px;
  white-space:nowrap;
}
.brand-ru-equivalent{
  display:inline-flex;
  align-items:center;
  font-size:14px;
  line-height:1.05;
  font-weight:700;
  letter-spacing:.035em;
  text-transform:uppercase;
  opacity:1!important;
}
.brand-divider{display:block;width:1px;height:34px;background:var(--line-dark);flex:0 0 1px}

.brand-compliant-lockup.brand-single-language{min-width:150px;gap:0}
.footer-brand-compliant.brand-single-language{gap:0}

.brand-foreign{display:flex;align-items:center;min-width:0}
.brand-foreign .brand-default{min-width:0}
.brand-foreign .custom-logo,.brand-foreign .brand-default img{
  display:block;
  width:auto;
  height:36px;
  max-width:145px;
  max-height:36px;
  object-fit:contain;
  object-position:left center;
}

.language-switcher{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--line-dark);
  border-radius:999px;
  overflow:hidden;
  flex:0 0 auto;
}
.language-option{
  display:grid;
  place-items:center;
  min-width:29px;
  height:27px;
  padding:0 7px;
  font-size:9px;
  line-height:1;
  letter-spacing:.06em;
  opacity:1!important;
  border-right:1px solid var(--line);
}
.language-option:last-child{border-right:0}
.language-option.is-active{background:var(--ink);color:var(--paper)}
.language-option:hover{background:var(--paper-2)}
.language-option.is-active:hover{background:var(--ink)}

/* Russian footer keeps the same bilingual order; EN/ES use the brand only. */
.footer-brand-compliant{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-bottom:14px}
.footer-brand-ru{font-size:15px!important;font-weight:600;margin:0!important;opacity:1!important}
.footer-brand-divider{display:block;width:1px;height:39px;background:var(--line-dark)}
.footer-brand-lockup{margin:0!important}
.footer-brand-lockup img,.footer-brand-lockup .custom-logo{height:39px;max-height:39px;max-width:165px;width:auto;object-fit:contain}

/* Slightly smaller first-screen hierarchy. This intentionally overrides older !important rules. */
:root{
  --display-h1:clamp(44px,4.05vw,68px);
  --internal-h1:clamp(39px,3.55vw,58px);
  --section-h2:clamp(27px,2.35vw,39px);
}
.hero-editorial h1,
.archive-hero h1,
.editorial-page-hero h1,
.catalog-hero h1,
.free-lessons-hero h1,
.pricing-hero h1,
.landing-hero h1{
  font-size:var(--display-h1)!important;
  line-height:.94!important;
  letter-spacing:-.047em!important;
  max-width:960px!important;
}
.hero-editorial .hero-line.hero-serif{font-size:.64em!important;line-height:1.03!important}
.lesson-hero-main h1,.simple-page h1,.account-title h1{
  font-size:var(--internal-h1)!important;
  line-height:.97!important;
  letter-spacing:-.043em!important;
}

/* The educational body is English even on localized interface pages. */
.lesson-language-content[lang="en"],.teacher-content [lang="en"]{unicode-bidi:plaintext}

@media(max-width:1280px) and (min-width:1101px){
  .header-inner{gap:20px}
  .brand-compliant-lockup{min-width:255px;gap:8px}
  .brand-ru-equivalent{font-size:12px}
  .brand-foreign .custom-logo,.brand-foreign .brand-default img{max-width:122px;height:32px;max-height:32px}
  .nav-list{gap:18px}
  .header-actions{gap:11px}
}
@media(max-width:1100px){
  .brand-compliant-lockup{min-width:0;gap:8px}
  .brand-ru-equivalent{font-size:12px}
  .brand-divider{height:30px}
  .brand-foreign .custom-logo,.brand-foreign .brand-default img{max-width:118px;height:31px;max-height:31px}
  .header-actions{gap:10px}
  :root{--display-h1:clamp(42px,6.1vw,64px);--internal-h1:clamp(38px,5.2vw,55px)}
}
@media(max-width:800px){
  .header-actions .button{display:none}
  :root{--display-h1:clamp(39px,8.4vw,58px);--internal-h1:clamp(37px,7.6vw,52px)}
}
@media(max-width:680px){
  .brand-compliant-lockup{gap:6px}
  .brand-ru-equivalent{font-size:11px}
  .brand-divider{height:27px}
  .brand-foreign .custom-logo,.brand-foreign .brand-default img{max-width:96px;height:27px;max-height:27px}
  .language-option{min-width:27px;padding:0 5px}
}
@media(max-width:560px){
  .header-inner{grid-template-columns:minmax(0,1fr) auto auto;gap:7px}
  .brand-compliant-lockup{min-width:0;overflow:hidden}
  .brand-ru-equivalent{font-size:10px}
  .brand-foreign .custom-logo,.brand-foreign .brand-default img{max-width:76px;height:24px;max-height:24px}
  .brand-divider{height:24px}
  .header-search-toggle{display:none}
  .language-option{min-width:25px;height:25px;font-size:8px;padding:0 4px}
  :root{--display-h1:clamp(34px,10.5vw,48px);--internal-h1:clamp(33px,9.8vw,46px);--section-h2:clamp(26px,7vw,34px)}
  .footer-brand-compliant{gap:10px}.footer-brand-divider{height:34px}.footer-brand-lockup img,.footer-brand-lockup .custom-logo{height:34px;max-height:34px;max-width:142px}
}

/* v1.5 compliance refinement: the Russian equivalent is visually no less prominent than the foreign brand lockup. */
.brand-ru-equivalent,.footer-brand-ru{
  min-height:36px;
  display:flex!important;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  text-transform:none!important;
  letter-spacing:0!important;
  line-height:.86!important;
  color:var(--ink);
}
.brand-ru-main{display:block;font-family:var(--font-sans);font-size:18px;font-weight:600;letter-spacing:-.045em}
.brand-ru-sub{display:block;font-family:var(--font-serif);font-size:19px;font-style:italic;font-weight:500;letter-spacing:-.035em}
.footer-brand-ru{min-height:39px}
.footer-brand-ru .brand-ru-main{font-size:19px}
.footer-brand-ru .brand-ru-sub{font-size:20px}
@media(max-width:1100px){
  .brand-ru-equivalent{min-height:31px}
  .brand-ru-main{font-size:15px}.brand-ru-sub{font-size:16px}
}
@media(max-width:680px){
  .brand-ru-equivalent{min-height:27px}
  .brand-ru-main{font-size:13px}.brand-ru-sub{font-size:14px}
}
@media(max-width:560px){
  .brand-ru-equivalent{min-height:24px}
  .brand-ru-main{font-size:11px}.brand-ru-sub{font-size:12px}
}

/* ==============================
   v1.5.6 subscription page conversion pass
   ============================== */
.subscription-hero{padding-bottom:44px!important}
.subscription-benefits-section{padding:54px 0 64px;border-bottom:1px solid var(--line)}
.subscription-section-head{display:grid;grid-template-columns:minmax(190px,.55fr) minmax(0,1.45fr);gap:56px;align-items:start;margin-bottom:34px}
.subscription-section-head.compact{margin-bottom:28px}
.subscription-section-head h2,.subscription-choice-head h2,.subscription-free-grid h2{font-size:var(--section-h2);line-height:1.04;letter-spacing:-.04em;font-weight:500;margin:0;max-width:820px}
.subscription-benefits-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.subscription-benefit{min-height:260px;padding:22px 22px 24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column}
.subscription-benefit>span,.subscription-steps-grid article>span{font-size:9px;letter-spacing:.11em;color:var(--muted)}
.subscription-benefit h3,.subscription-steps-grid h3{font-size:22px;line-height:1.08;letter-spacing:-.035em;font-weight:500;margin:auto 0 14px}
.subscription-benefit p,.subscription-steps-grid p{font-size:12px;line-height:1.58;margin:0;color:#3d3d38}
.subscription-current{margin-top:28px;border:1px solid var(--ink);display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:18px;padding:14px 16px}
.subscription-current>span{font-size:9px;letter-spacing:.1em;text-transform:uppercase}
.subscription-current>strong{font-size:13px;font-weight:600}
.subscription-current>p{margin:0;font-size:12px;line-height:1.45;text-align:right}
.subscription-pricing{padding:60px 0 70px}
.subscription-choice-head{display:grid;grid-template-columns:minmax(190px,.55fr) minmax(0,1.1fr) minmax(260px,.9fr);gap:56px;align-items:start;margin-bottom:30px}
.subscription-choice-head>p{margin:0;font-size:13px;line-height:1.6;color:#3d3d38}
.subscription-pricing .pricing-grid{border-top:1px solid var(--line)}
.subscription-pricing .price-card{min-height:610px;position:relative}
.subscription-pricing .price-card.is-selected{outline:2px solid var(--ink);outline-offset:-2px}
.subscription-pricing .price-card.featured.is-selected{outline-color:var(--ink)}
.plan-kicker{display:inline-block;margin-top:18px;font-size:9px;letter-spacing:.11em;text-transform:uppercase;color:var(--muted)}
.price-card.featured .plan-kicker{color:var(--muted)}
.subscription-pricing .price-card h2{margin-top:38px}
.subscription-pricing .price{font-size:clamp(38px,4vw,64px);line-height:.9;letter-spacing:-.05em;margin:0 0 18px}
.subscription-pricing .price-card p{font-size:13px;line-height:1.55}
.subscription-pricing .price-card li{font-size:11px;line-height:1.35}
.subscription-fineprint{max-width:760px;margin:18px 0 0;font-size:10px;line-height:1.55;color:var(--muted)}
.subscription-steps-section{padding:58px 0 68px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper-2)}
.subscription-steps-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.subscription-steps-grid article{min-height:220px;padding:22px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column}
.subscription-steps-grid h3{margin:auto 0 12px}
.subscription-free-cta{padding:64px 0;border-bottom:1px solid var(--line)}
.subscription-free-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.subscription-free-grid>div:last-child>p{font-size:15px;line-height:1.65;max-width:640px;margin:0 0 24px}
.subscription-free-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.subscription-free-actions .text-link{font-size:11px;text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid var(--ink);padding-bottom:3px}
.subscription-faq-grid{grid-template-columns:repeat(2,1fr)}
.subscription-faq-grid details{min-height:150px}
.subscription-faq-grid summary{font-size:17px;line-height:1.2}
.subscription-faq-grid p{font-size:12px;line-height:1.55}

@media(max-width:1000px){
  .subscription-benefits-grid{grid-template-columns:repeat(2,1fr)}
  .subscription-choice-head{grid-template-columns:1fr 1fr;gap:24px 44px}
  .subscription-choice-head>.eyebrow{grid-column:1/-1}
  .subscription-section-head{gap:40px}
}
@media(max-width:800px){
  .subscription-section-head,.subscription-choice-head,.subscription-free-grid{grid-template-columns:1fr;gap:18px}
  .subscription-choice-head>.eyebrow{grid-column:auto}
  .subscription-current{grid-template-columns:1fr auto;gap:8px 16px}
  .subscription-current>p{grid-column:1/-1;text-align:left}
  .subscription-steps-grid{grid-template-columns:1fr}
  .subscription-pricing .price-card{min-height:auto}
  .subscription-faq-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .subscription-benefits-section,.subscription-pricing,.subscription-steps-section,.subscription-free-cta{padding-top:42px;padding-bottom:48px}
  .subscription-benefits-grid{grid-template-columns:1fr}
  .subscription-benefit{min-height:210px;padding:20px}
  .subscription-benefit h3,.subscription-steps-grid h3{font-size:20px}
  .subscription-current{margin-top:18px;padding:12px 13px}
  .subscription-pricing .price-card h2{margin-top:28px}
  .subscription-pricing .price-card{min-height:540px}
  .subscription-free-actions{align-items:flex-start;flex-direction:column;gap:16px}
  .subscription-faq-grid details{min-height:0}
}


/* ==============================
   v1.5.7 mobile QA / polish
   ============================== */
/* Keep the responsive navigation viewport-wide instead of allowing the
   absolute grid item to shrink to its intrinsic content width. */
@media(max-width:1100px){
  .site-nav{
    justify-self:stretch;
    width:auto;
    max-width:none;
  }
}

/* The favorite control on lesson pages is a real secondary CTA. Card stars
   keep the compact icon-only treatment from the base .favorite-button rule. */
.lesson-hero-actions .favorite-button{
  border:1px solid var(--ink);
  background:transparent;
  min-width:0;
  min-height:46px;
  padding:0 22px;
  font-size:12px;
  line-height:1;
  letter-spacing:.08em;
}
.lesson-hero-actions .favorite-button:hover{
  transform:translateY(-1px);
  background:var(--ink);
  color:var(--paper);
}

@media(max-width:560px){
  /* Full-width mobile dropdown. */
  .site-nav{
    left:12px;
    right:12px;
    top:58px;
    width:auto;
    max-width:none;
    padding:8px 10px;
    justify-self:stretch;
    box-shadow:0 14px 30px rgba(0,0,0,.10);
    z-index:160;
  }
  .nav-list a{padding:13px 6px;font-size:11px}
  .nav-list li:last-child{border-bottom:0}

  /* Search remains available on phones as a compact monochrome icon. */
  .header-search-toggle{
    display:grid!important;
    place-items:center;
    position:relative;
    flex:0 0 28px;
    width:28px;
    height:28px;
    padding:0;
    border:1px solid var(--line-dark);
    border-radius:999px;
    font-size:0;
    line-height:0;
  }
  .header-search-toggle::before{
    content:"";
    position:absolute;
    left:7px;
    top:6px;
    width:9px;
    height:9px;
    border:1.4px solid currentColor;
    border-radius:50%;
  }
  .header-search-toggle::after{
    content:"";
    position:absolute;
    left:16px;
    top:16px;
    width:6px;
    height:1.4px;
    background:currentColor;
    transform:rotate(45deg);
    transform-origin:left center;
  }
  .header-search-toggle:hover,
  .header-search-toggle[aria-expanded="true"]{
    border-color:var(--ink);
    background:var(--paper-2);
  }
  .header-actions{gap:7px}

  /* On narrow screens a section title gets the full line; its utility link
     follows underneath instead of squeezing the title into 3-4 lines. */
  .section-heading-row{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }
  .section-heading-row .text-link{align-self:flex-start}

  /* Subscription: remove fixed-height whitespace while preserving the
     editorial card system. */
  .subscription-benefits-section,
  .subscription-pricing,
  .subscription-steps-section,
  .subscription-free-cta{
    padding-top:36px;
    padding-bottom:40px;
  }
  .subscription-section-head,
  .subscription-choice-head{margin-bottom:24px}
  .subscription-benefit{
    min-height:0;
    padding:18px;
  }
  .subscription-benefit h3{
    margin:28px 0 10px;
    font-size:20px;
  }
  .subscription-benefit p{line-height:1.5}
  .subscription-steps-grid article{
    min-height:0;
    padding:18px;
  }
  .subscription-steps-grid h3{
    margin:28px 0 10px;
    font-size:20px;
  }
  .subscription-pricing .price-card{
    min-height:0!important;
    padding:24px;
  }
  .subscription-pricing .price-card h2{margin-top:26px}
  .subscription-pricing .price-card p{min-height:0;margin-bottom:0}
  .subscription-pricing .price-card ul{margin:20px 0 22px}
  .subscription-pricing .price-card .button{margin-top:24px}
  .subscription-pricing .price{margin-bottom:16px}
  .subscription-fineprint{margin-top:14px}
}

@media(max-width:420px){
  /* Two clear stacked lesson actions are more reliable than wrapping text. */
  .lesson-hero-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .lesson-hero-actions .button{width:100%}
}

@media(max-width:360px){
  /* Keep RU brand + language switch + search on one line at 320-360px. */
  .header-inner{gap:5px}
  .menu-toggle{padding:5px 3px;font-size:9px}
  .header-actions{gap:5px}
  .language-option{min-width:22px;height:24px;padding:0 3px;font-size:7px}
  .header-search-toggle{flex-basis:26px;width:26px;height:26px}
  .brand-compliant-lockup{gap:5px}
  .brand-ru-main{font-size:10px}
  .brand-ru-sub{font-size:11px}
  .brand-foreign .custom-logo,.brand-foreign .brand-default img{max-width:66px;height:22px;max-height:22px}
  .brand-divider{height:22px}
}

/* v1.5.23 brand visibility: larger header lockup while preserving the line-art identity. */
.brand-compliant-lockup.brand-full-logo{min-width:260px;gap:0;overflow:visible}
.brand-full-logo .brand-foreign .brand-default img{width:260px;max-width:260px;height:auto;max-height:58px;object-fit:contain;object-position:left center}
.footer-brand-compliant.brand-full-logo{display:block;margin-bottom:14px}
.footer-brand-compliant.brand-full-logo .footer-brand-lockup img{width:240px;max-width:240px;height:auto;max-height:54px;object-fit:contain;object-position:left center}
@media(max-width:1280px) and (min-width:1101px){
  .brand-compliant-lockup.brand-full-logo{min-width:225px}
  .brand-full-logo .brand-foreign .brand-default img{width:225px;max-width:225px;max-height:51px}
}
@media(max-width:1100px){
  .brand-compliant-lockup.brand-full-logo{min-width:190px}
  .brand-full-logo .brand-foreign .brand-default img{width:190px;max-width:190px;max-height:44px}
}
@media(max-width:680px){
  .brand-compliant-lockup.brand-full-logo{min-width:165px}
  .brand-full-logo .brand-foreign .brand-default img{width:165px;max-width:165px;max-height:38px}
}
@media(max-width:560px){
  .brand-compliant-lockup.brand-full-logo{min-width:135px;overflow:hidden}
  .brand-full-logo .brand-foreign .brand-default img{width:135px;max-width:135px;max-height:32px}
}
@media(max-width:380px){
  .brand-compliant-lockup.brand-full-logo{min-width:115px}
  .brand-full-logo .brand-foreign .brand-default img{width:115px;max-width:115px;max-height:28px}
}
\n\n/* v1.5.24 brand cache + visibility fix */\n@media(min-width:1281px){\n  .site-header .header-inner{min-height:78px}\n  .brand-compliant-lockup.brand-full-logo{min-width:300px}\n  .brand-full-logo .brand-foreign .brand-default img{width:300px;max-width:300px;height:auto;max-height:64px}\n}\n@media(max-width:1280px) and (min-width:1101px){\n  .brand-compliant-lockup.brand-full-logo{min-width:255px}\n  .brand-full-logo .brand-foreign .brand-default img{width:255px;max-width:255px;height:auto;max-height:56px}\n}\n@media(max-width:1100px){\n  .brand-compliant-lockup.brand-full-logo{min-width:195px}\n  .brand-full-logo .brand-foreign .brand-default img{width:195px;max-width:195px;height:auto;max-height:44px}\n}\n@media(max-width:680px){\n  .brand-compliant-lockup.brand-full-logo{min-width:165px}\n  .brand-full-logo .brand-foreign .brand-default img{width:165px;max-width:165px;height:auto;max-height:38px}\n}\n@media(max-width:560px){\n  .brand-compliant-lockup.brand-full-logo{min-width:135px}\n  .brand-full-logo .brand-foreign .brand-default img{width:135px;max-width:135px;height:auto;max-height:32px}\n}\n@media(max-width:380px){\n  .brand-compliant-lockup.brand-full-logo{min-width:115px}\n  .brand-full-logo .brand-foreign .brand-default img{width:115px;max-width:115px;height:auto;max-height:28px}\n}\n.footer-brand-compliant.brand-full-logo .footer-brand-lockup img{width:260px;max-width:260px;height:auto;max-height:58px}\n

/* v1.5.25 stronger desktop logo presence + refined favicon family */
.site-header .header-inner{min-height:82px}
.brand-compliant-lockup.brand-full-logo{min-width:340px;gap:0;overflow:visible}
.brand-full-logo .brand-foreign .brand-default img{width:340px;max-width:340px;height:auto;max-height:70px;object-fit:contain;object-position:left center}
.footer-brand-compliant.brand-full-logo .footer-brand-lockup img{width:280px;max-width:280px;height:auto;max-height:62px;object-fit:contain;object-position:left center}
@media(max-width:1280px) and (min-width:1101px){
  .site-header .header-inner{min-height:78px}
  .brand-compliant-lockup.brand-full-logo{min-width:300px}
  .brand-full-logo .brand-foreign .brand-default img{width:300px;max-width:300px;max-height:62px}
}
@media(max-width:1100px){
  .site-header .header-inner{min-height:72px}
  .brand-compliant-lockup.brand-full-logo{min-width:230px}
  .brand-full-logo .brand-foreign .brand-default img{width:230px;max-width:230px;max-height:50px}
}
@media(max-width:680px){
  .site-header .header-inner{min-height:64px}
  .brand-compliant-lockup.brand-full-logo{min-width:180px}
  .brand-full-logo .brand-foreign .brand-default img{width:180px;max-width:180px;max-height:40px}
}
@media(max-width:560px){
  .brand-compliant-lockup.brand-full-logo{min-width:148px}
  .brand-full-logo .brand-foreign .brand-default img{width:148px;max-width:148px;max-height:34px}
}
@media(max-width:380px){
  .brand-compliant-lockup.brand-full-logo{min-width:124px}
  .brand-full-logo .brand-foreign .brand-default img{width:124px;max-width:124px;max-height:29px}
}


/* v1.5.26 logo size refinement: between 1.5.24 and 1.5.25 */
@media(min-width:1281px){
  .site-header .header-inner{min-height:76px}
  .brand-compliant-lockup.brand-full-logo{min-width:290px}
  .brand-full-logo .brand-foreign .brand-default img{width:290px;max-width:290px;height:auto;max-height:58px}
}
@media(max-width:1280px) and (min-width:1101px){
  .site-header .header-inner{min-height:72px}
  .brand-compliant-lockup.brand-full-logo{min-width:265px}
  .brand-full-logo .brand-foreign .brand-default img{width:265px;max-width:265px;height:auto;max-height:54px}
}
@media(max-width:1100px){
  .site-header .header-inner{min-height:68px}
  .brand-compliant-lockup.brand-full-logo{min-width:215px}
  .brand-full-logo .brand-foreign .brand-default img{width:215px;max-width:215px;height:auto;max-height:46px}
}
@media(max-width:680px){
  .site-header .header-inner{min-height:62px}
  .brand-compliant-lockup.brand-full-logo{min-width:170px}
  .brand-full-logo .brand-foreign .brand-default img{width:170px;max-width:170px;height:auto;max-height:38px}
}
@media(max-width:560px){
  .brand-compliant-lockup.brand-full-logo{min-width:142px}
  .brand-full-logo .brand-foreign .brand-default img{width:142px;max-width:142px;height:auto;max-height:33px}
}
@media(max-width:380px){
  .brand-compliant-lockup.brand-full-logo{min-width:120px}
  .brand-full-logo .brand-foreign .brand-default img{width:120px;max-width:120px;height:auto;max-height:28px}
}


/* v1.5.27 crisp logo asset + slightly smaller header sizing */
@media(min-width:1281px){
  .site-header .header-inner{min-height:72px}
  .brand-compliant-lockup.brand-full-logo{min-width:270px}
  .brand-full-logo .brand-foreign .brand-default img{width:270px;max-width:270px;height:auto;max-height:52px;image-rendering:auto}
}
@media(max-width:1280px) and (min-width:1101px){
  .site-header .header-inner{min-height:69px}
  .brand-compliant-lockup.brand-full-logo{min-width:248px}
  .brand-full-logo .brand-foreign .brand-default img{width:248px;max-width:248px;height:auto;max-height:49px}
}
@media(max-width:1100px){
  .site-header .header-inner{min-height:65px}
  .brand-compliant-lockup.brand-full-logo{min-width:205px}
  .brand-full-logo .brand-foreign .brand-default img{width:205px;max-width:205px;height:auto;max-height:42px}
}
@media(max-width:680px){
  .site-header .header-inner{min-height:60px}
  .brand-compliant-lockup.brand-full-logo{min-width:162px}
  .brand-full-logo .brand-foreign .brand-default img{width:162px;max-width:162px;height:auto;max-height:35px}
}
@media(max-width:560px){
  .brand-compliant-lockup.brand-full-logo{min-width:136px}
  .brand-full-logo .brand-foreign .brand-default img{width:136px;max-width:136px;height:auto;max-height:31px}
}
@media(max-width:380px){
  .brand-compliant-lockup.brand-full-logo{min-width:116px}
  .brand-full-logo .brand-foreign .brand-default img{width:116px;max-width:116px;height:auto;max-height:27px}
}
.footer-brand-compliant.brand-full-logo .footer-brand-lockup img{width:245px;max-width:245px;height:auto;max-height:49px}


/* v1.5.28 logo refinement: 8-10% smaller in header with crisper raster source */
@media(min-width:1281px){
  .site-header .header-inner{min-height:70px}
  .brand-compliant-lockup.brand-full-logo{min-width:248px}
  .brand-full-logo .brand-foreign .brand-default img{width:248px;max-width:248px;height:auto;max-height:48px;object-fit:contain;object-position:left center;image-rendering:auto}
}
@media(max-width:1280px) and (min-width:1101px){
  .site-header .header-inner{min-height:67px}
  .brand-compliant-lockup.brand-full-logo{min-width:228px}
  .brand-full-logo .brand-foreign .brand-default img{width:228px;max-width:228px;height:auto;max-height:45px;object-fit:contain;object-position:left center;image-rendering:auto}
}
@media(max-width:1100px){
  .site-header .header-inner{min-height:64px}
  .brand-compliant-lockup.brand-full-logo{min-width:188px}
  .brand-full-logo .brand-foreign .brand-default img{width:188px;max-width:188px;height:auto;max-height:39px;object-fit:contain;object-position:left center;image-rendering:auto}
}
@media(max-width:680px){
  .site-header .header-inner{min-height:59px}
  .brand-compliant-lockup.brand-full-logo{min-width:156px}
  .brand-full-logo .brand-foreign .brand-default img{width:156px;max-width:156px;height:auto;max-height:34px;object-fit:contain;object-position:left center;image-rendering:auto}
}
@media(max-width:560px){
  .brand-compliant-lockup.brand-full-logo{min-width:132px}
  .brand-full-logo .brand-foreign .brand-default img{width:132px;max-width:132px;height:auto;max-height:30px;object-fit:contain;object-position:left center;image-rendering:auto}
}
@media(max-width:380px){
  .brand-compliant-lockup.brand-full-logo{min-width:112px}
  .brand-full-logo .brand-foreign .brand-default img{width:112px;max-width:112px;height:auto;max-height:26px;object-fit:contain;object-position:left center;image-rendering:auto}
}
.footer-brand-compliant.brand-full-logo .footer-brand-lockup img{width:240px;max-width:240px;height:auto;max-height:52px;object-fit:contain;object-position:left center;image-rendering:auto}


/* v1.5.29 subtle header logo alignment: shift the visible mark slightly left to align with page content. */
.site-header .brand-full-logo .brand-foreign .brand-default img{margin-left:-8px}
@media(max-width:680px){
  .site-header .brand-full-logo .brand-foreign .brand-default img{margin-left:-6px}
}


/* v1.5.30 heading typography: Playfair Display Regular + Roboto Serif Light Italic */
:root{
  --heading-font:'Playfair Display',Georgia,'Times New Roman',serif;
  --heading-italic-font:'Roboto Serif',Georgia,'Times New Roman',serif;
}

/* Main heading system */
h1,h2,h3,h4,h5,h6,
.section-heading-row h2,
.statement-grid h2,
.subscription-promo h2,
.author-strip h2,
.two-col-text h2,
.faq-section h2,
.lesson-hero-main h1,
.lesson-content>h2,
.lesson-content .lesson-section h2,
.lesson-content h3,
.locked-content h2,
.price-card h2,
.account-title h1,
.account-panel h2,
.prose h2,
.simple-page h1,
.post-list h2,
.error-page h1,
.search-empty h2,
.account-recent h2,
.subscription-section-head h2,
.subscription-choice-head h2,
.subscription-free-grid h2,
.subscription-benefit h3,
.subscription-steps-grid h3,
.worksheet-task h3{
  font-family:var(--heading-font);
  font-weight:400;
}

/* Editorial italic lines inside display headings */
.hero-editorial .hero-line.hero-serif,
.archive-serif{
  font-family:var(--heading-italic-font)!important;
  font-style:italic!important;
  font-weight:300!important;
}

/* The upright lines of the homepage H1 use Playfair Display Regular. */
.hero-editorial .hero-line{
  font-family:var(--heading-font)!important;
  font-style:normal!important;
  font-weight:400!important;
}
.hero-editorial .hero-line.hero-serif{
  font-family:var(--heading-italic-font)!important;
  font-style:italic!important;
  font-weight:300!important;
}

/* Playfair needs slightly more breathing room than the previous grotesk. */
.hero-editorial h1,
.archive-hero h1,
.editorial-page-hero h1,
.catalog-hero h1,
.free-lessons-hero h1,
.pricing-hero h1,
.landing-hero h1,
.lesson-hero-main h1,
.simple-page h1,
.account-title h1{
  letter-spacing:-.035em!important;
}

.section-heading-row h2,
.statement-grid h2,
.subscription-promo h2,
.author-strip h2,
.two-col-text h2,
.faq-section h2,
.subscription-section-head h2,
.subscription-choice-head h2,
.subscription-free-grid h2{
  letter-spacing:-.025em!important;
}


/* v1.5.31 homepage hero copy refinement */
.hero-editorial .home-hero-title{
  max-width:1180px;
  line-height:.94;
}
.hero-editorial .home-hero-title .hero-main-line{
  font-family:var(--heading-font)!important;
  font-style:normal!important;
  font-weight:400!important;
  font-size:.72em;
  line-height:1.02;
  letter-spacing:-.035em;
}
.hero-editorial .home-hero-title .hero-audience-line{
  font-family:var(--heading-italic-font)!important;
  font-style:italic!important;
  font-weight:300!important;
  font-size:.54em!important;
  line-height:1.08;
  letter-spacing:-.028em;
  text-transform:none;
  margin-top:.06em;
}
.hero-editorial .hero-home-intro{
  max-width:760px;
  margin:0;
  font-family:var(--heading-font);
  font-size:15px;
  line-height:1.22;
  color:#44443f;
}
@media(max-width:800px){
  .hero-editorial .home-hero-title .hero-main-line{font-size:.76em}
  .hero-editorial .home-hero-title .hero-audience-line{font-size:.58em!important}
  .hero-editorial .hero-home-intro{font-size:14px;line-height:1.3}
}
@media(max-width:560px){
  .hero-editorial .home-hero-title .hero-main-line{font-size:.78em;line-height:1.04}
  .hero-editorial .home-hero-title .hero-audience-line{font-size:.61em!important;line-height:1.1}
}


/* v1.5.32 body typography: Roboto Serif Light / ExtraLight */
:root{
  --body-font:'Roboto Serif',Georgia,'Times New Roman',serif;
  --sans:'Roboto Serif',Georgia,'Times New Roman',serif;
  --serif:'Roboto Serif',Georgia,'Times New Roman',serif;
  --body-light:300;
  --body-extra-light:200;
}

/* Default reading/UI text stays Light for legibility at small sizes. */
body,
button,input,select,textarea,
.site-nav,.header-actions,.hero-topline,
.filter-strip,.filter-label,.filter-chip-group,
.lesson-card,.lesson-card-topline,.tag-outline,
.category-grid,.catalog-filter,.lesson-facts,
.lesson-content,.exercise-control,.teacher-note,
.pricing-section,.account-page,.prose,.contact-section,
.site-footer,.search-panel-inner,.live-search-results{
  font-family:var(--body-font);
  font-weight:var(--body-light);
}
body{font-weight:var(--body-light)}

/* Larger supporting copy can carry ExtraLight without losing readability. */
.hero-bottom p,
.archive-hero>div>p,
.archive-hero .landing-intro,
.editorial-page-hero>div>p,
.account-title p,
.contact-grid p,
.two-col-text p,
.author-strip p,
.subscription-promo p,
.statement-grid p,
.seo-note p,
.hero-editorial .hero-home-intro{
  font-family:var(--body-font)!important;
  font-weight:var(--body-extra-light)!important;
}

/* Keep small controls and navigation at Light rather than ExtraLight. */
.nav-list a,.header-link,.header-search-toggle,.button,
.eyebrow,.text-link,.cover-kicker,.lesson-card-topline,
.filter-label,.filter-chip-group>span,.filter-chip-group a,
.footer-label,.footer-grid a,.footer-bottom,
.lesson-facts span,.lesson-facts strong,
.section-number,.price-index,
.account-user span,.access-status span{
  font-family:var(--body-font);
  font-weight:var(--body-light);
}

/* Preserve the established display system. */
h1,h2,h3,h4,h5,h6,
.section-heading-row h2,.statement-grid h2,.subscription-promo h2,.author-strip h2,
.two-col-text h2,.faq-section h2,.lesson-hero-main h1,.lesson-content>h2,
.lesson-content .lesson-section h2,.lesson-content h3,.locked-content h2,
.price-card h2,.account-title h1,.account-panel h2,.prose h2,.simple-page h1,
.post-list h2,.error-page h1,.search-empty h2,.account-recent h2,
.subscription-section-head h2,.subscription-choice-head h2,.subscription-free-grid h2,
.subscription-benefit h3,.subscription-steps-grid h3,.worksheet-task h3{
  font-family:var(--heading-font);
  font-weight:400;
}
.hero-editorial .hero-line.hero-serif,
.hero-editorial .home-hero-title .hero-audience-line,
.archive-serif{
  font-family:var(--heading-italic-font)!important;
  font-style:italic!important;
  font-weight:300!important;
}


/* v1.5.33 final UI typography + homepage hero balance */
:root{
  --ui-weight:400;
}

/* Keep reading copy light, but give compact controls enough visual weight. */
.nav-list a,
.header-link,
.header-search-toggle,
.button,
.menu-toggle,
.lang-switch a,
.eyebrow,
.text-link,
.hero-topline,
.filter-label,
.filter-label strong,
.filter-chip-group>span,
.filter-chip-group .filter-pill,
.catalog-filter label,
.catalog-filter select,
.filter-reset,
.cover-kicker,
.lesson-card-topline,
.tag-outline,
.lesson-card-actions,
.category-tile>span,
.footer-label,
.footer-grid a,
.footer-bottom,
.lesson-facts span,
.lesson-facts strong,
.section-number,
.price-index,
.account-user span,
.access-status span,
.search-form button,
.search-form input,
.search-result-meta{
  font-family:var(--body-font)!important;
  font-weight:var(--ui-weight)!important;
}

/* Hero intro is too small for ExtraLight: keep it at Light 300. */
.hero-editorial .hero-home-intro{
  font-weight:300!important;
}

/* ExtraLight is reserved for genuinely larger supporting paragraphs. */
.statement-grid p,
.two-col-text p,
.author-strip p,
.subscription-promo p,
.account-title p{
  font-weight:200!important;
}

/* Tighten the homepage hero and keep both CTAs on one line on desktop. */
.hero-editorial{
  padding-bottom:30px!important;
}
.hero-editorial .home-hero-title{
  margin-bottom:0!important;
}
.hero-editorial .hero-bottom{
  margin-top:18px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:34px!important;
  align-items:center!important;
}
.hero-editorial .hero-copy{
  align-self:center;
}
.hero-editorial .hero-actions{
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  align-items:center;
}
.hero-editorial .hero-actions .button{
  white-space:nowrap;
}

/* Tablet/mobile: stack gracefully without squeezing the copy or buttons. */
@media(max-width:900px){
  .hero-editorial .hero-bottom{
    grid-template-columns:1fr!important;
    gap:18px!important;
    margin-top:18px!important;
  }
  .hero-editorial .hero-actions{
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
  }
}
@media(max-width:560px){
  .hero-editorial{padding-bottom:24px!important}
  .hero-editorial .hero-bottom{gap:14px!important;margin-top:14px!important}
  .hero-editorial .hero-actions{display:grid!important;grid-template-columns:1fr!important;width:100%}
  .hero-editorial .hero-actions .button{width:100%;justify-content:center;text-align:center}
}


/* v1.5.34 header logo alignment: nudge the brand left to align with the page content edge. */
@media(min-width:1101px){
  .site-header .brand-wrap.brand-full-logo{transform:translateX(-12px);}
}
@media(max-width:1100px) and (min-width:681px){
  .site-header .brand-wrap.brand-full-logo{transform:translateX(-8px);}
}
@media(max-width:680px){
  .site-header .brand-wrap.brand-full-logo{transform:translateX(-4px);}
}

/* v1.5.39 illustrated cover: Harry Potter and the Chamber of Secrets */
.lesson-cover--harry-chamber img{
  left:50%;top:50%;right:auto;bottom:auto;
  width:88%;height:auto;max-width:88%;max-height:82%;
  object-fit:contain;filter:none;padding:0;
  transform:translate(-50%,-46%);
}


/* v1.5.47: sharper header logo. The source is prepared at exactly 2x the desktop CSS size,
   which avoids the softness caused by resampling the oversized raster in the browser. */
@media(min-width:1281px){
  .site-header .brand-full-logo .brand-foreign .brand-default img{
    width:248px!important;
    max-width:248px!important;
    height:48px!important;
    max-height:48px!important;
    image-rendering:auto;
  }
}


/* v1.5.50 author biography: client copy + Roboto Serif */
.author-strip,
.author-strip h2,
.author-strip p,
.about-author-page,
.about-author-page h1,
.about-author-page h2,
.about-author-page p,
.about-author-page .hero-topline,
.about-author-page .text-link{
  font-family:'Roboto Serif',Georgia,'Times New Roman',serif!important;
}
.author-strip h2{
  font-weight:300!important;
  letter-spacing:-.035em!important;
  max-width:960px;
}
.author-strip p{
  max-width:940px;
  font-weight:300!important;
  line-height:1.62;
}
.about-author-page h1{
  font-weight:300!important;
  letter-spacing:-.045em!important;
}
.about-author-page .prose h2{
  font-weight:300!important;
  letter-spacing:-.03em!important;
}
.about-author-page .prose p{
  font-weight:300!important;
  line-height:1.72;
}
.about-author-page .about-large-letter{
  font-family:'Roboto Serif',Georgia,'Times New Roman',serif!important;
  font-weight:300;
  font-style:italic;
}
@media(max-width:800px){
  .author-strip p{max-width:none;line-height:1.58}
  .about-author-page .prose p{line-height:1.65}
}


/* v1.5.52 homepage subscription promo heading refinement */
@media(min-width:901px){
  .subscription-promo h2{
    font-size:clamp(40px,3.05vw,49px)!important;
    line-height:1.02!important;
    max-width:800px;
  }
  .subscription-promo-grid>div:last-child{
    position:relative;
    top:24px;
  }
}


/* v1.5.55: one real H1 scale for the homepage and every internal page.
   Previously the homepage only LOOKED smaller because its visible main line was
   a 0.72em child inside a larger H1. Now the H1 itself uses that same visible size,
   and all internal page H1s inherit exactly the same scale. */
:root{
  --unified-hero-h1:clamp(32px,2.916vw,49px);
}

.hero-editorial .home-hero-title,
body:not(.home) .site-main h1{
  font-size:var(--unified-hero-h1)!important;
  line-height:1.02!important;
  letter-spacing:-.035em!important;
}

/* Preserve the current homepage appearance while making its actual H1 size
   identical to internal pages. */
.hero-editorial .home-hero-title .hero-main-line{
  font-size:1em!important;
  line-height:1.02!important;
}
.hero-editorial .home-hero-title .hero-audience-line{
  font-size:.75em!important;
  line-height:1.08!important;
}

/* Internal first-screen titles use the same width/rhythm as the homepage title. */
body:not(.home) .archive-hero h1,
body:not(.home) .editorial-page-hero h1,
body:not(.home) .catalog-hero h1,
body:not(.home) .free-lessons-hero h1,
body:not(.home) .pricing-hero h1,
body:not(.home) .landing-hero h1,
body:not(.home) .lesson-hero-main h1,
body:not(.home) .simple-page h1,
body:not(.home) .account-title h1{
  max-width:1180px!important;
  text-transform:none;
}

@media(max-width:1100px){
  :root{
    --unified-hero-h1:clamp(30px,4.392vw,46px);
  }
}

@media(max-width:800px){
  :root{
    --unified-hero-h1:clamp(30px,6.384vw,44px);
  }
  .hero-editorial .home-hero-title .hero-audience-line{
    font-size:.76em!important;
  }
}

@media(max-width:560px){
  :root{
    --unified-hero-h1:clamp(27px,8.19vw,37px);
  }
  .hero-editorial .home-hero-title .hero-audience-line{
    font-size:.78em!important;
  }
}

/* v1.5.56 subscription tariff matrix: client tariff grid rendered as native site content. */
.subscription-tariffs{padding-top:60px!important}
.subscription-tariff-head{margin-bottom:34px!important}
.subscription-tariff-head h2{max-width:720px}
.subscription-tariff-head>p{max-width:520px}

.tariff-table{border-top:1px solid var(--line);border-left:1px solid var(--line);margin-top:10px}
.tariff-row{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(150px,.55fr) minmax(150px,.55fr);border-bottom:1px solid var(--line);min-height:118px}
.tariff-row>div{border-right:1px solid var(--line);padding:22px 24px;display:flex;align-items:center}
.tariff-row-head{min-height:52px;background:var(--paper-2)}
.tariff-row-head>div{padding-top:14px;padding-bottom:14px;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}
.tariff-row-head>div:not(:first-child){justify-content:flex-end}
.tariff-name{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;gap:7px}
.tariff-name>strong{font-family:var(--heading-font);font-size:clamp(24px,2vw,32px);font-weight:400;line-height:1.02;letter-spacing:-.025em}
.tariff-name>span:not(.tariff-badge){max-width:640px;font-size:12px;line-height:1.55;color:#3d3d38}
.tariff-price{justify-content:flex-end;font-variant-numeric:tabular-nums}
.tariff-price strong{font-family:var(--heading-font);font-size:clamp(25px,2.15vw,34px);font-weight:400;line-height:1;letter-spacing:-.025em;white-space:nowrap}
.tariff-badge{display:inline-flex;padding:5px 7px;border:1px solid currentColor;font-size:8px!important;line-height:1;text-transform:uppercase;letter-spacing:.12em;margin-bottom:2px}
.tariff-row-featured{background:var(--ink);color:var(--paper)}
.tariff-row-featured>div{border-right-color:#55554f}
.tariff-row-featured .tariff-name>span:not(.tariff-badge){color:#d7d5cc}

.tariff-after-grid{margin-top:20px}
.tariff-saving-note{font-size:11px!important;max-width:880px!important;margin:0 0 28px!important}
.tariff-launch-offers{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.tariff-launch-card{min-height:260px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px;display:flex;flex-direction:column;align-items:flex-start}
.tariff-launch-card.featured{background:var(--paper-2)}
.tariff-launch-card h3,.subscription-primary-checkout h3{font-family:var(--heading-font);font-size:clamp(26px,2.5vw,38px);font-weight:400;line-height:1.02;letter-spacing:-.025em;margin:28px 0 12px;max-width:580px}
.tariff-launch-card p{font-size:12px;line-height:1.55;color:#3d3d38;max-width:520px;margin:14px 0 0}
.launch-price{display:flex;align-items:baseline;gap:14px;margin-top:auto;padding-top:26px}
.launch-price strong{font-family:var(--heading-font);font-size:clamp(34px,3.6vw,54px);font-weight:400;line-height:1;letter-spacing:-.035em}
.launch-price del{font-size:15px;color:var(--muted)}

.subscription-primary-checkout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:60px;align-items:end;margin-top:34px;padding:30px 0;border-top:1px solid var(--ink);border-bottom:1px solid var(--line)}
.subscription-primary-checkout h3{margin:16px 0 12px;max-width:640px}
.subscription-primary-checkout p{font-size:12px;line-height:1.6;color:#3d3d38;max-width:620px;margin:0}
.subscription-primary-actions{display:grid;grid-template-columns:1fr;gap:10px}
.subscription-primary-actions .subscription-checkout-form{margin:0}
.subscription-primary-actions .button{width:100%;min-height:50px}

@media(max-width:900px){
  .tariff-row{grid-template-columns:minmax(0,1.5fr) minmax(130px,.55fr) minmax(130px,.55fr)}
  .tariff-row>div{padding:20px}
  .subscription-primary-checkout{grid-template-columns:1fr;gap:24px}
  .subscription-primary-actions{grid-template-columns:1fr 1fr}
}

@media(max-width:680px){
  .subscription-tariffs{padding-top:42px!important}
  .tariff-row-head{display:none}
  .tariff-row{grid-template-columns:1fr 1fr;min-height:0}
  .tariff-row>.tariff-name{grid-column:1/-1;border-bottom:1px solid var(--line)}
  .tariff-row>div{padding:18px}
  .tariff-price{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;gap:8px;min-height:88px}
  .tariff-price:before{content:attr(data-label);font-size:8px;line-height:1;text-transform:uppercase;letter-spacing:.11em;color:var(--muted)}
  .tariff-row-featured .tariff-price:before{color:#c9c7bd}
  .tariff-name>strong{font-size:25px}
  .tariff-price strong{font-size:28px}
  .tariff-launch-offers{grid-template-columns:1fr}
  .tariff-launch-card{min-height:230px;padding:22px}
  .subscription-primary-actions{grid-template-columns:1fr}
}


/* v1.5.57 subscription benefits cards: align card headings on one visual line. */
.subscription-benefits-grid{align-items:stretch}
.subscription-benefit{
  display:grid!important;
  grid-template-rows:auto auto 1fr;
  align-content:start;
}
.subscription-benefit h3{
  margin:26px 0 14px!important;
  align-self:start;
}
.subscription-benefit p{
  align-self:start;
}
@media(max-width:560px){
  .subscription-benefit h3{margin:24px 0 12px!important}
}


/* v1.5.58 subscription tariff refinement: slightly smaller plan typography and no heavy black band on the featured row. */
.tariff-row{min-height:106px}
.tariff-row>div{padding:20px 24px}
.tariff-name>strong{font-size:clamp(21px,1.75vw,28px);line-height:1.04}
.tariff-name>span:not(.tariff-badge){font-size:11px;line-height:1.5}
.tariff-price strong{font-size:clamp(22px,1.9vw,30px);line-height:1}
.tariff-row-featured{background:var(--paper-2);color:var(--ink)}
.tariff-row-featured>div{border-right-color:var(--line)}
.tariff-row-featured .tariff-name>span:not(.tariff-badge){color:#3d3d38}
.tariff-row-featured .tariff-badge{background:var(--ink);color:var(--paper);border-color:var(--ink)}
@media(max-width:680px){
  .tariff-name>strong{font-size:22px}
  .tariff-price strong{font-size:24px}
}


/* v1.5.59 subscription pricing section: reduce overall visual scale to match the site typography. */
.subscription-tariffs{padding-top:52px!important}
.subscription-tariff-head{margin-bottom:28px!important}
.tariff-table{margin-top:6px}
.tariff-row{min-height:94px}
.tariff-row>div{padding:16px 18px}
.tariff-row-head{min-height:44px}
.tariff-row-head>div{padding-top:12px;padding-bottom:12px;font-size:9px;letter-spacing:.11em}
.tariff-name{gap:5px}
.tariff-name>strong{font-size:clamp(18px,1.35vw,23px);line-height:1.06;letter-spacing:-.02em}
.tariff-name>span:not(.tariff-badge){max-width:560px;font-size:11px;line-height:1.46}
.tariff-price strong{font-size:clamp(18px,1.42vw,24px);line-height:1;letter-spacing:-.015em}
.tariff-badge{padding:4px 6px;font-size:7px!important;letter-spacing:.1em}
.tariff-after-grid{margin-top:16px}
.tariff-saving-note{font-size:10px!important;max-width:760px!important;margin:0 0 22px!important}
.tariff-launch-card{min-height:220px;padding:20px}
.tariff-launch-card h3,.subscription-primary-checkout h3{font-size:clamp(22px,1.75vw,30px);line-height:1.04;letter-spacing:-.02em;margin:22px 0 10px;max-width:500px}
.tariff-launch-card p{font-size:11px;line-height:1.5;max-width:460px;margin:12px 0 0}
.launch-price{gap:12px;padding-top:20px}
.launch-price strong{font-size:clamp(26px,2.3vw,38px);letter-spacing:-.025em}
.launch-price del{font-size:13px}
.subscription-primary-checkout{gap:44px;margin-top:28px;padding:24px 0}
.subscription-primary-checkout p{font-size:11px;line-height:1.52;max-width:560px}
.subscription-primary-actions .button{min-height:46px;font-size:10px;letter-spacing:.08em}
@media(max-width:900px){
  .tariff-row{grid-template-columns:minmax(0,1.6fr) minmax(116px,.52fr) minmax(116px,.52fr)}
  .subscription-primary-checkout{gap:20px}
}
@media(max-width:680px){
  .subscription-tariffs{padding-top:40px!important}
  .tariff-row>div{padding:16px}
  .tariff-price{gap:6px;min-height:74px}
  .tariff-name>strong{font-size:20px}
  .tariff-name>span:not(.tariff-badge){font-size:10px;line-height:1.42}
  .tariff-price strong{font-size:22px}
  .tariff-launch-card{min-height:0;padding:18px}
  .tariff-launch-card h3,.subscription-primary-checkout h3{font-size:26px}
  .launch-price strong{font-size:34px}
}


/* v1.5.61 about page: reduce the overall editorial scale for a calmer look. */
.about-author-page .about-grid{
  grid-template-columns:220px minmax(0,720px);
  gap:64px;
}
.about-author-page .about-large-letter{
  font-size:210px;
  line-height:.72;
}
.about-author-page .prose{
  font-size:15px;
  line-height:1.64;
}
.about-author-page .prose h2{
  font-size:clamp(34px,2.55vw,38px)!important;
  line-height:1.03;
  margin:0 0 14px;
  padding-top:28px;
}
.about-author-page .prose p{
  font-size:15px;
  line-height:1.64!important;
}
@media(max-width:800px){
  .about-author-page .about-grid{gap:28px}
  .about-author-page .about-large-letter{font-size:120px}
  .about-author-page .prose{font-size:14px;line-height:1.58}
  .about-author-page .prose h2{font-size:32px!important;padding-top:24px}
  .about-author-page .prose p{font-size:14px;line-height:1.58!important}
}


/* v1.5.67 homepage subscription promo: calmer scale to better match the rest of the site. */
.subscription-promo{padding:64px 0!important}
.subscription-promo-grid{gap:58px!important;align-items:center!important}
.subscription-promo h2{
  font-size:clamp(34px,2.55vw,42px)!important;
  line-height:1.04!important;
  letter-spacing:-.03em!important;
  max-width:700px!important;
}
.subscription-promo p{
  font-size:15px!important;
  line-height:1.52!important;
  max-width:540px!important;
  margin:0 0 24px!important;
}
.subscription-promo .hero-actions{gap:14px!important}
.subscription-promo .hero-actions .button{
  min-height:46px!important;
  font-size:11px!important;
  padding:0 24px!important;
}
@media(min-width:901px){
  .subscription-promo-grid>div:last-child{top:10px!important}
}
@media(max-width:900px){
  .subscription-promo{padding:52px 0!important}
  .subscription-promo-grid{gap:24px!important}
  .subscription-promo h2{font-size:clamp(32px,5vw,38px)!important;max-width:100%!important}
  .subscription-promo p{font-size:14px!important;max-width:100%!important}
}
@media(max-width:560px){
  .subscription-promo{padding:44px 0!important}
  .subscription-promo .hero-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .subscription-promo .hero-actions .button{width:100%!important;justify-content:center!important;text-align:center!important}
}


/* v1.5.68 homepage subscription promo: visibly smaller, not just subtly reduced. */
.subscription-promo{padding:48px 0!important}
.subscription-promo-grid{
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
  gap:46px!important;
  align-items:center!important;
}
.subscription-promo h2{
  font-size:clamp(30px,2.05vw,35px)!important;
  line-height:1.06!important;
  letter-spacing:-.022em!important;
  max-width:650px!important;
}
.subscription-promo p{
  font-size:13.5px!important;
  line-height:1.48!important;
  max-width:500px!important;
  margin:0 0 20px!important;
}
.subscription-promo .eyebrow{font-size:9px!important}
.subscription-promo .hero-actions{gap:10px!important}
.subscription-promo .hero-actions .button{
  min-height:42px!important;
  font-size:10px!important;
  padding:0 20px!important;
}
@media(min-width:901px){
  .subscription-promo-grid>div:last-child{top:0!important}
}
@media(max-width:900px){
  .subscription-promo{padding:42px 0!important}
  .subscription-promo-grid{grid-template-columns:1fr!important;gap:20px!important}
  .subscription-promo h2{font-size:clamp(29px,4.8vw,34px)!important;max-width:100%!important}
  .subscription-promo p{font-size:13px!important;max-width:100%!important}
}
@media(max-width:560px){
  .subscription-promo{padding:36px 0!important}
  .subscription-promo h2{font-size:29px!important}
  .subscription-promo p{font-size:13px!important}
  .subscription-promo .hero-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .subscription-promo .hero-actions .button{width:100%!important;justify-content:center!important;text-align:center!important}
}


/* v1.5.69 search UI: make the search line calmer and less oversized. */
.search-panel-inner{padding-top:14px!important;padding-bottom:16px!important}
.lesson-search-form{align-items:center!important}
.lesson-search-input{
  padding:8px 0 10px!important;
  font-size:clamp(16px,2vw,28px)!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}
.lesson-search-submit{
  padding:8px 0 10px 18px!important;
  font-size:9px!important;
}
.search-page-form{max-width:860px!important;margin-top:20px!important}
@media(max-width:800px){
  .lesson-search-input{font-size:clamp(15px,5vw,24px)!important}
  .lesson-search-submit{padding-left:14px!important}
}


/* v1.5.70 search UI: one more step down in scale for the homepage/header search line. */
.lesson-search-input{
  padding:6px 0 8px!important;
  font-size:clamp(14px,1.75vw,24px)!important;
  line-height:1.05!important;
  letter-spacing:-.02em!important;
}
.lesson-search-submit{
  padding:6px 0 8px 16px!important;
  font-size:8px!important;
  letter-spacing:.11em!important;
}
.search-panel-inner{padding-top:12px!important;padding-bottom:14px!important}
@media(max-width:800px){
  .lesson-search-input{font-size:clamp(14px,4.2vw,21px)!important}
  .lesson-search-submit{padding-left:12px!important}
}


/* v1.5.72 homepage subscription promo: align CTA buttons with the paragraph block on the right. */
.subscription-promo-grid>div:last-child{max-width:560px!important}
.subscription-promo .hero-actions{justify-content:flex-start!important;margin-left:0!important}
@media(min-width:901px){
  .subscription-promo .hero-actions{padding-left:0!important}
}


/* v1.5.73 free lessons hero: keep H1 on one line on desktop. */
.free-lessons-hero h1{white-space:nowrap!important;max-width:none!important}
@media(max-width:900px){
  .free-lessons-hero h1{white-space:normal!important;max-width:100%!important}
}


/* v1.5.74 subscription hero: wider two-line desktop title. */
@media(min-width:1101px){
  .subscription-hero h1{
    max-width:1320px!important;
    white-space:normal!important;
  }
}


/* v1.5.75 contact page hero: keep H1 on one line on desktop. */
.contact-page-hero h1{white-space:nowrap!important;max-width:none!important}
@media(max-width:900px){
  .contact-page-hero h1{white-space:normal!important;max-width:100%!important}
}


/* v1.5.77 about hero: explicit two-line title on desktop. */
.about-author-page .about-hero-title{max-width:none!important}
.about-author-page .about-hero-title span{display:block;white-space:nowrap}
@media(max-width:900px){
  .about-author-page .about-hero-title span{white-space:normal}
}

/* v1.5.79 original client PDFs for selected lessons. */
.lesson-sidebar .lesson-original-pdf-button + .lesson-original-pdf-button{margin-top:8px}
.lesson-pdf-note{display:block;margin-top:10px;font-family:var(--body-font);font-size:9px;line-height:1.45;color:var(--muted)}


/* v1.5.81 lesson page cleanup: no redundant "Open lesson" CTA; calmer sidebar note scale. */
.lesson-sidebar .sticky-note{
  font-size:14px!important;
  line-height:1.52!important;
  padding:14px 0!important;
  margin-bottom:18px!important;
}


/* v1.5.83 rolling PDF lesson limit (3 unique paid lessons / 24 hours). */
.lesson-original-pdf-button.is-disabled{
  opacity:.42!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
}
.lesson-pdf-limit-status{
  display:block;
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid var(--line);
  font-family:var(--body-font);
  font-size:9px;
  line-height:1.48;
  color:var(--muted);
}
.lesson-pdf-limit-status.is-blocked{
  color:var(--ink);
  font-weight:400;
}
.lesson-pdf-limit-status + .lesson-pdf-note{margin-top:6px}

/* v1.5.89: increase the header logo by another ~10% on desktop/tablet, mobile unchanged. */
@media(min-width:1281px){
  .site-header .brand-compliant-lockup.brand-full-logo{min-width:282px!important}
  .site-header .brand-full-logo .brand-foreign .brand-default img{
    width:282px!important;
    max-width:282px!important;
    height:55px!important;
    max-height:55px!important;
  }
}
@media(max-width:1280px) and (min-width:1101px){
  .site-header .brand-compliant-lockup.brand-full-logo{min-width:257px!important}
  .site-header .brand-full-logo .brand-foreign .brand-default img{
    width:257px!important;
    max-width:257px!important;
    max-height:51px!important;
  }
}


/* v1.5.90: cleaner homepage first screen — remove the redundant kicker row,
   lift the hero content slightly, and enlarge the desktop/tablet logo by ~5%. */
.home .hero-editorial{
  padding-top:18px!important;
}
@media(min-width:1281px){
  .site-header .brand-compliant-lockup.brand-full-logo{min-width:296px!important}
  .site-header .brand-full-logo .brand-foreign .brand-default img{
    width:296px!important;
    max-width:296px!important;
    height:58px!important;
    max-height:58px!important;
  }
}
@media(max-width:1280px) and (min-width:1101px){
  .site-header .brand-compliant-lockup.brand-full-logo{min-width:270px!important}
  .site-header .brand-full-logo .brand-foreign .brand-default img{
    width:270px!important;
    max-width:270px!important;
    max-height:54px!important;
  }
}
@media(max-width:560px){
  .home .hero-editorial{padding-top:16px!important}
}

/* v1.5.92: slightly enlarge the lesson-cover artwork across the catalogue. */
.lesson-cover--custom-art img{
  height:68%!important;
  max-width:75%!important;
}
.lesson-cover--harry-chamber img{
  width:94%!important;
  max-width:94%!important;
  max-height:88%!important;
}


/* v1.5.93: client-approved homepage selection + another ~10% artwork increase. */
.lesson-cover--custom-art img{
  height:75%!important;
  max-width:83%!important;
}
.lesson-cover--harry-chamber img{
  width:100%!important;
  max-width:100%!important;
  max-height:96%!important;
}


/* v1.5.94: homepage author block — remove the decorative monogram and shift copy left. */
.home .author-strip-grid{
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:48px!important;
  align-items:end!important;
}
.home .author-strip-grid>div:first-child{
  max-width:900px;
}
.home .author-strip p{
  max-width:760px!important;
}
@media(max-width:900px){
  .home .author-strip-grid{grid-template-columns:1fr!important;gap:24px!important}
  .home .author-strip-grid>.text-link{grid-column:1!important}
}


/* v1.5.95: remove the decorative A on the standalone About page too and move biography copy left. */
.about-author-page .about-grid{
  grid-template-columns:minmax(0,930px)!important;
  gap:0!important;
}
.about-author-page .author-bio-prose{
  max-width:930px!important;
}
@media(max-width:800px){
  .about-author-page .about-grid{grid-template-columns:1fr!important;gap:0!important}
}

/* v1.5.96 legal/privacy */
.account-checkbox-optional{opacity:.82}
.checkout-legal-consent{display:flex;gap:9px;align-items:flex-start;margin:0 0 10px;font-size:10px;line-height:1.4}
.checkout-legal-consent input{margin-top:2px}
.checkout-legal-consent a{text-decoration:underline;text-underline-offset:2px}
.footer-cookie-settings{display:block;border:0;background:transparent;padding:0;margin:0 0 10px;color:inherit;font:inherit;font-size:12px;line-height:inherit;text-align:left;cursor:pointer}
.footer-cookie-settings:hover{text-decoration:underline;text-underline-offset:3px}
.la-cookie-banner{position:fixed;left:24px;right:24px;bottom:24px;z-index:99999;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:18px 20px;border:1px solid var(--ink);background:var(--paper,#f4f1e9);box-shadow:0 12px 32px rgba(0,0,0,.12)}
.la-cookie-banner[hidden]{display:none!important}
.la-cookie-copy strong{display:block;margin-bottom:4px;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.la-cookie-copy p{margin:0 0 5px;max-width:780px;font-size:12px;line-height:1.45}
.la-cookie-copy a{font-size:10px;text-transform:uppercase;letter-spacing:.07em;border-bottom:1px solid currentColor}
.la-cookie-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.la-cookie-actions .button{white-space:nowrap;min-height:42px;padding:12px 16px}
.simple-page .prose h2{margin-top:34px}
.simple-page .prose ul{padding-left:20px}
@media(max-width:760px){
  .la-cookie-banner{left:12px;right:12px;bottom:12px;grid-template-columns:1fr;gap:14px;padding:16px}
  .la-cookie-actions{justify-content:stretch}
  .la-cookie-actions .button{flex:1 1 100%}
}


/* v1.5.97: client final visual/text pass from 12.09.2026 Figma notes. */
@media(min-width:1050px){
  .home .author-strip h2{max-width:none!important;white-space:nowrap!important;font-family:var(--heading-font)!important;font-style:normal!important;font-weight:400!important;font-size:clamp(30px,2.75vw,44px)!important;letter-spacing:-.03em!important}
  .home .author-strip-grid>div:first-child{max-width:1180px!important}
  .home .author-strip p{max-width:1100px!important}
}
@media(max-width:1049px){.home .author-strip h2{white-space:normal!important}}

.about-author-page .about-hero-title,.about-author-page .prose h2{font-family:var(--heading-font)!important;font-style:normal!important;font-weight:400!important}
.about-author-page .about-hero-title span:last-child{font-family:var(--heading-italic-font)!important;font-style:italic!important;font-weight:300!important;text-transform:none}
.about-author-page .prose p{font-family:var(--body-font)!important;font-weight:300!important}

.catalog-hero .catalog-main-title{max-width:1400px!important;line-height:.94!important;text-transform:none!important}
.catalog-hero .catalog-main-title span{display:block}
.catalog-hero .catalog-main-line{font-family:var(--heading-font)!important;font-style:normal!important;font-weight:400!important;font-size:.70em;line-height:1.02;letter-spacing:-.035em;text-transform:uppercase}
.catalog-hero .catalog-audience-line{font-family:var(--heading-italic-font)!important;font-style:italic!important;font-weight:300!important;font-size:.48em;line-height:1.08;letter-spacing:-.028em;text-transform:none;margin-top:.06em}

.contact-page-hero h1,.contact-page-section .contact-big{font-family:var(--heading-font)!important;font-weight:400!important}
.contact-page-section .contact-grid p,.contact-page-section .contact-grid .eyebrow{font-family:var(--body-font)!important}

@media(min-width:1180px){
  .subscription-hero h1{max-width:none!important;white-space:nowrap!important;font-size:clamp(54px,5.3vw,84px)!important}
  .subscription-section-head h2{white-space:nowrap!important;max-width:none!important;font-size:clamp(30px,2.55vw,42px)!important}
  .subscription-steps-grid h3{white-space:nowrap!important;font-size:20px!important;letter-spacing:-.025em!important}
  .subscription-fineprint:not(.subscription-legal-note){white-space:nowrap!important;max-width:none!important}
}
.subscription-tariff-label{margin:0 0 22px}
.tariff-launch-offers{grid-template-columns:1fr!important}
.tariff-launch-card{min-height:210px!important}
@media(min-width:760px){.account-title h1{white-space:nowrap!important;max-width:none!important}}

.about-author-page.editorial-page-hero{padding-bottom:18px!important}
.about-author-page.editorial-page-hero .hero-topline{margin-bottom:0!important}


/* v1.5.102: About page spacing aligned with the subscription hero.
   Keep only the topline divider and start biography copy close beneath it. */
.about-author-page.editorial-page-hero{
  padding-bottom:0!important;
  border-bottom:0!important;
}
.about-author-page.editorial-page-hero .hero-topline{
  margin-bottom:0!important;
}
.about-editorial.about-author-page{
  padding-top:16px!important;
}
@media(max-width:800px){
  .about-editorial.about-author-page{padding-top:14px!important}
}


/* v1.5.104: About page first heading behaves as the page H1 after the old hero title was removed. */
.about-editorial.about-author-page{
  padding-top:0!important;
  margin-top:-12px!important;
}
.about-author-page .about-section-main-title{
  font-family:var(--heading-font)!important;
  font-style:normal!important;
  font-weight:400!important;
  font-size:clamp(46px,3.7vw,58px)!important;
  line-height:.96!important;
  letter-spacing:-.04em!important;
  margin:0 0 16px!important;
  padding:0!important;
  text-transform:none!important;
}
@media(max-width:800px){
  .about-editorial.about-author-page{margin-top:-6px!important}
  .about-author-page .about-section-main-title{font-size:clamp(38px,11vw,48px)!important;line-height:1!important}
}


/* v1.5.105: rebalance About-page H1 spacing after promoting the first section title. */
.about-editorial.about-author-page{
  padding-top:0!important;
  margin-top:30px!important;
}
@media(max-width:800px){
  .about-editorial.about-author-page{margin-top:18px!important}
}

/* 1.5.108: align all three subscription step headings on one baseline. */
@media (min-width:761px){
  .subscription-steps-grid h3{margin:82px 0 12px!important;white-space:nowrap!important}
}
@media (max-width:760px){
  .subscription-steps-grid h3{margin:24px 0 12px!important;white-space:normal!important}
}


/* v1.5.110: launch cleanup, local/system typography and client-requested About/Contact layouts. */
:root{
  --heading-font:Georgia,'Times New Roman',serif;
  --heading-italic-font:Georgia,'Times New Roman',serif;
  --body-font:Georgia,'Times New Roman',serif;
  --sans:Georgia,'Times New Roman',serif;
  --serif:Georgia,'Times New Roman',serif;
  --body-light:400;
  --body-extra-light:400;
}
.about-author-page .prose p,
.author-strip p,
.contact-page-section .contact-grid p,
.contact-page-section .contact-grid .eyebrow{
  font-family:var(--body-font)!important;
  font-weight:400!important;
}
#lesson-catalog{scroll-margin-top:82px}

.about-author-page .about-grid{
  display:grid!important;
  grid-template-columns:minmax(0,760px) minmax(300px,410px)!important;
  gap:clamp(38px,6vw,88px)!important;
  align-items:start!important;
}
.about-author-page .author-bio-prose{max-width:none!important}
.about-author-page .about-diploma-card{
  position:sticky;
  top:96px;
  margin:0;
  padding:0;
}
.about-author-page .about-diploma-card img{
  display:block;
  width:100%;
  height:auto;
  border:1px solid var(--line,#c9c5ba);
  background:#fff;
}
.about-author-page .about-diploma-card p{
  margin:10px 0 0!important;
  font-size:13px!important;
  line-height:1.45!important;
  color:var(--muted,#77736b)!important;
}
.about-author-page .author-verification-note{
  margin-top:28px!important;
  padding-top:18px!important;
  border-top:1px solid var(--line,#c9c5ba)!important;
  font-size:15px!important;
}
.about-author-page .author-verification-note a{text-decoration:underline;text-underline-offset:3px}

.contact-page-section .contact-grid{align-items:start!important}
.contact-primary-email{display:block;overflow-wrap:anywhere}
.contact-link-list,.contact-social-list{display:grid;gap:10px;margin-top:18px}
.contact-link-list a{font-size:16px;text-decoration:underline;text-underline-offset:3px}
.contact-social-list a{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:13px 0;
  border-top:1px solid var(--line,#c9c5ba);
  text-decoration:none;
}
.contact-social-list a:last-child{border-bottom:1px solid var(--line,#c9c5ba)}
.contact-social-list span{text-align:right;color:var(--muted,#77736b)}

@media(max-width:900px){
  .about-author-page .about-grid{grid-template-columns:1fr!important;gap:34px!important}
  .about-author-page .about-diploma-card{position:static;max-width:520px}
}
@media(max-width:620px){
  .contact-social-list a{display:block}
  .contact-social-list span{display:block;text-align:left;margin-top:4px}
}

/* v1.5.111: keep the sharper v1.5.110 logo, but restore the perceived size of the previous lockup. */
@media(min-width:1281px){
  .site-header .brand-compliant-lockup.brand-full-logo{min-width:248px!important}
  .site-header .brand-full-logo .brand-foreign .brand-default img{
    width:248px!important;max-width:248px!important;height:48px!important;max-height:48px!important;
  }
}
@media(max-width:1280px) and (min-width:1101px){
  .site-header .brand-compliant-lockup.brand-full-logo{min-width:228px!important}
  .site-header .brand-full-logo .brand-foreign .brand-default img{
    width:228px!important;max-width:228px!important;height:auto!important;max-height:45px!important;
  }
}
@media(max-width:1100px) and (min-width:681px){
  .site-header .brand-compliant-lockup.brand-full-logo{min-width:158px!important}
  .site-header .brand-full-logo .brand-foreign .brand-default img{
    width:158px!important;max-width:158px!important;height:auto!important;max-height:33px!important;
  }
}
@media(max-width:680px) and (min-width:561px){
  .site-header .brand-compliant-lockup.brand-full-logo{min-width:132px!important}
  .site-header .brand-full-logo .brand-foreign .brand-default img{
    width:132px!important;max-width:132px!important;height:auto!important;max-height:29px!important;
  }
}
@media(max-width:560px) and (min-width:381px){
  .site-header .brand-compliant-lockup.brand-full-logo{min-width:112px!important}
  .site-header .brand-full-logo .brand-foreign .brand-default img{
    width:112px!important;max-width:112px!important;height:auto!important;max-height:26px!important;
  }
}
@media(max-width:380px){
  .site-header .brand-compliant-lockup.brand-full-logo{min-width:94px!important}
  .site-header .brand-full-logo .brand-foreign .brand-default img{
    width:94px!important;max-width:94px!important;height:auto!important;max-height:23px!important;
  }
}
.footer-brand-compliant.brand-full-logo .footer-brand-lockup img{
  width:202px!important;max-width:202px!important;height:auto!important;max-height:44px!important;
}

/* v1.5.112: keep the primary contact email visually consistent with the other contact links. */
.contact-page-section .contact-primary-email{
  font-family:var(--body-font)!important;
  font-size:16px!important;
  line-height:1.4!important;
  letter-spacing:normal!important;
  font-weight:400!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}


/* v1.5.114: restore the lighter editorial feel after removing external Google Fonts.
   Use a universally available, higher-contrast serif for headings without bringing Google Fonts back. */
:root{
  --heading-font:'Times New Roman',Times,serif;
  --heading-italic-font:'Times New Roman',Times,serif;
}
.hero-editorial h1,
.archive-hero h1,
.editorial-page-hero h1,
.section-heading-row h2,
.statement-grid h2,
.subscription-promo h2,
.author-strip h2,
.two-col-text h2,
.faq-section h2,
.lesson-hero-main h1,
.simple-page h1,
.account-title h1,
.about-author-page .about-section-main-title,
.about-author-page .prose h2,
.contact-page-hero h1,
.search-empty h2,
.error-copy h1{
  font-weight:400!important;
  text-rendering:optimizeLegibility;
}


/* v1.5.115: restore the client-selected Roboto Serif and the lighter heading weight. */
:root{
  --heading-font:'Roboto Serif',Georgia,'Times New Roman',serif;
  --heading-italic-font:'Roboto Serif',Georgia,'Times New Roman',serif;
  --body-font:'Roboto Serif',Georgia,'Times New Roman',serif;
  --sans:'Roboto Serif',Georgia,'Times New Roman',serif;
  --serif:'Roboto Serif',Georgia,'Times New Roman',serif;
  --body-light:300;
  --body-extra-light:200;
}
.hero-editorial h1,
.archive-hero h1,
.editorial-page-hero h1,
.catalog-hero h1,
.free-lessons-hero h1,
.pricing-hero h1,
.landing-hero h1,
.section-heading-row h2,
.statement-grid h2,
.subscription-promo h2,
.author-strip h2,
.two-col-text h2,
.faq-section h2,
.lesson-hero-main h1,
.lesson-content>h2,
.lesson-content .lesson-section h2,
.lesson-content h3,
.locked-content h2,
.price-card h2,
.account-title h1,
.account-panel h2,
.prose h2,
.simple-page h1,
.post-list h2,
.error-page h1,
.search-empty h2,
.account-recent h2,
.subscription-section-head h2,
.subscription-choice-head h2,
.subscription-free-grid h2,
.subscription-benefit h3,
.subscription-steps-grid h3,
.worksheet-task h3,
.about-author-page .about-section-main-title,
.contact-page-hero h1{
  font-family:var(--heading-font)!important;
  font-weight:300!important;
  font-synthesis:none;
}
.hero-editorial .hero-line.hero-serif,
.hero-editorial .home-hero-title .hero-audience-line,
.archive-serif,
.about-author-page .about-hero-title span:last-child{
  font-family:var(--heading-italic-font)!important;
  font-style:italic!important;
  font-weight:300!important;
  font-synthesis:none;
}
/* Keep compact labels/navigation readable while the large display text stays light. */
.site-nav,.header-actions,.button,.eyebrow,.filter-label,.filter-chip-group,
.lesson-card-topline,.footer-label,.footer-grid a,.footer-bottom{
  font-family:var(--body-font)!important;
  font-weight:400!important;
}

/* v1.5.116: restore the original approved type system without a visitor-side Google Fonts request.
   Display headings: Playfair Display Regular 400.
   Reading/interface copy: Roboto Serif 200/300/400.
   Editorial italic accents: Roboto Serif Light Italic 300. */
:root{
  --heading-font:'Playfair Display',Georgia,'Times New Roman',serif;
  --heading-italic-font:'Roboto Serif',Georgia,'Times New Roman',serif;
  --body-font:'Roboto Serif',Georgia,'Times New Roman',serif;
  --sans:'Roboto Serif',Georgia,'Times New Roman',serif;
  --serif:'Roboto Serif',Georgia,'Times New Roman',serif;
  --body-light:300;
  --body-extra-light:200;
}
.hero-editorial h1,
.archive-hero h1,
.editorial-page-hero h1,
.catalog-hero h1,
.free-lessons-hero h1,
.pricing-hero h1,
.landing-hero h1,
.section-heading-row h2,
.statement-grid h2,
.subscription-promo h2,
.author-strip h2,
.two-col-text h2,
.faq-section h2,
.lesson-hero-main h1,
.lesson-content>h2,
.lesson-content .lesson-section h2,
.lesson-content h3,
.locked-content h2,
.price-card h2,
.account-title h1,
.account-panel h2,
.prose h2,
.simple-page h1,
.post-list h2,
.error-page h1,
.search-empty h2,
.account-recent h2,
.subscription-section-head h2,
.subscription-choice-head h2,
.subscription-free-grid h2,
.subscription-benefit h3,
.subscription-steps-grid h3,
.worksheet-task h3,
.about-author-page .about-section-main-title,
.contact-page-hero h1{
  font-family:var(--heading-font)!important;
  font-weight:400!important;
  font-style:normal!important;
  font-synthesis:none;
}
.hero-editorial .hero-line.hero-serif,
.hero-editorial .home-hero-title .hero-audience-line,
.archive-serif,
.about-author-page .about-hero-title span:last-child{
  font-family:var(--heading-italic-font)!important;
  font-style:italic!important;
  font-weight:300!important;
  font-synthesis:none;
}

/* v1.5.119 — tariff selection + single checkout panel */
.tariff-price{flex-direction:column;align-items:flex-end!important;gap:10px}
.tariff-select-button{width:auto!important;min-width:104px;padding:10px 14px!important;font-size:9px!important;letter-spacing:.09em!important;white-space:nowrap}
.tariff-launch-card .tariff-select-button{margin-top:18px}
.subscription-checkout-panel{margin:28px 0 24px;border:1px solid var(--line);background:var(--paper-2);padding:26px;max-width:760px;scroll-margin-top:110px}
.subscription-checkout-panel h3{font-family:var(--heading-font);font-size:clamp(25px,2vw,34px);font-weight:400;line-height:1.08;margin:12px 0 8px}
.subscription-checkout-panel>p{max-width:620px;font-size:12px;line-height:1.55;margin:10px 0 18px}
.subscription-checkout-price{font-family:var(--heading-font);font-size:30px;line-height:1;margin:8px 0 12px}
.subscription-checkout-panel .tariff-checkout-form{max-width:430px;margin-top:18px}
.subscription-checkout-panel .tariff-buy-button{width:auto;min-width:210px}
.tariff-checkout-note{display:block;font-size:11px;line-height:1.4;color:var(--muted);margin-top:10px}
@media(max-width:760px){
  .tariff-price{align-items:flex-start!important}
  .tariff-select-button{min-width:0}
  .subscription-checkout-panel{padding:20px;margin-top:22px}
  .subscription-checkout-panel .tariff-buy-button{width:100%}
}


/* v1.5.120 — lesson PDF-first product: readable contents instead of giant worksheets. */
.lesson-content-grid{grid-template-columns:260px minmax(0,850px);gap:clamp(30px,5vw,70px)}
.lesson-overview{min-width:0;max-width:850px}
.lesson-overview h2{margin:12px 0 22px;font-size:clamp(29px,3.5vw,44px);font-family:var(--heading-font,var(--serif));font-weight:400;line-height:1.1}
.lesson-overview-list{margin:0;padding:0;list-style:none}
.lesson-overview-list li{position:relative;margin:0;padding:15px 0 15px 28px;border-bottom:1px solid var(--line);font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.lesson-overview-list li:first-child{border-top:1px solid var(--line)}
.lesson-overview-list li::before{content:'—';position:absolute;left:1px;top:15px;color:var(--muted)}
.lesson-overview-format{color:var(--muted);font-size:13px!important}
.lesson-overview-cta{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}
.lesson-overview-cta p{margin:0 0 12px}
.lesson-overview .source-audit-note{margin-top:30px}
/* Subscription: pack name and date must never share an overlapping grid cell. */
.access-status{grid-template-columns:minmax(0,1fr);gap:6px;min-width:0}
.access-status>span,.access-status>strong{grid-column:1;min-width:0}
.access-status__details{grid-column:1;display:flex;gap:5px 18px;flex-wrap:wrap;align-items:baseline;min-width:0;margin-top:4px}
.access-status__details .access-status__scope,.access-status__details .access-status__until{display:inline-block;font-size:12px;font-family:var(--body-font);font-weight:400;letter-spacing:0;text-transform:none;line-height:1.45;overflow-wrap:anywhere}
.access-status__details .access-status__until{white-space:nowrap}
@media(max-width:767px){.lesson-content-grid{grid-template-columns:minmax(0,1fr);gap:34px}.lesson-overview-list li{font-size:15px}.access-status__details{gap:6px 14px}}

/* v1.5.121: compact lesson overview after removing redundant large heading. */
.lesson-overview > .eyebrow{display:block;margin:4px 0 15px}


/* v1.5.123 — legible mixed-media wordmark requested by the author.
   Browser-rendered text for both names; original vector book illustrated in the middle.
   No external fonts, no JavaScript, no changes to brand artwork files. */
.la-wordmark{
  --la-mark-scale:1.07;
  display:inline-flex!important;
  align-items:center;
  justify-content:flex-start;
  gap:calc(11px * var(--la-mark-scale));
  width:max-content;
  min-width:0!important;
  height:calc(62px * var(--la-mark-scale));
  max-width:none!important;
  color:#111!important;
  text-decoration:none!important;
  white-space:nowrap;
  line-height:1;
  opacity:1!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.la-wordmark__text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  flex:0 0 auto;
  gap:0;
}
.la-wordmark__top{
  display:block;
  font-family:'Playfair Display',Georgia,'Times New Roman',serif!important;
  font-weight:400!important;
  font-style:normal!important;
  letter-spacing:-.055em;
  font-size:calc(25px * var(--la-mark-scale))!important;
  line-height:1.0;
}
.la-wordmark__bottom{
  display:block;
  font-family:'Roboto Serif',Georgia,'Times New Roman',serif!important;
  font-size:calc(25px * var(--la-mark-scale))!important;
  font-style:italic!important;
  font-weight:300!important;
  letter-spacing:-.065em;
  line-height:1.03;
}
.la-wordmark__ru .la-wordmark__top{letter-spacing:-.05em}
.la-wordmark__en .la-wordmark__top{font-size:calc(23px * var(--la-mark-scale))!important;letter-spacing:-.075em}
.la-wordmark__en .la-wordmark__bottom{font-size:calc(25px * var(--la-mark-scale))!important}
.la-wordmark__divider{
  display:block;
  flex:0 0 1px;
  width:1px;
  height:calc(46px * var(--la-mark-scale));
  background:#444;
}
.la-wordmark__book{
  display:block;
  flex:0 0 calc(61px * var(--la-mark-scale));
  width:calc(61px * var(--la-mark-scale));
  height:calc(58px * var(--la-mark-scale));
  /* Exact original thin-stroke book, cropped from the approved v15110 PNG.
     The v1.5.122 traced SVG made strokes visually too heavy. */
  background-image:url('../brand/lesson-archive-book-original.png');
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center center;
}
/* Bypass older PNG-specific sizing rules and left shifts. */
.site-header .brand-wrap.brand-full-logo,
.site-footer .footer-brand-compliant.brand-full-logo{min-width:0!important;gap:0!important}
.site-header .brand-wrap.brand-full-logo{transform:none!important}
.site-header .brand-foreign .la-wordmark,
.site-footer .footer-brand .la-wordmark{width:max-content!important;max-width:none!important}
.site-header .brand-wrap{min-width:0}
.site-footer .footer-brand .la-wordmark{--la-mark-scale:.84}
/* Keep navigation room when the header switches layout. */
@media(max-width:1280px){
  .site-header .la-wordmark{--la-mark-scale:.89}
}
@media(max-width:1100px){
  .site-header .la-wordmark{--la-mark-scale:.69}
}
@media(max-width:680px){
  .site-header .la-wordmark{--la-mark-scale:.59}
  .site-footer .footer-brand .la-wordmark{--la-mark-scale:.68}
}
@media(max-width:380px){
  .site-header .la-wordmark{--la-mark-scale:.50}
  .site-footer .footer-brand .la-wordmark{--la-mark-scale:.59}
}


/* v1.5.129 — readable HTML sitemap (public page /karta-sajta/) */
.la-html-sitemap{padding:clamp(38px,5vw,72px) 0 clamp(64px,7vw,104px)}
.la-html-sitemap__header{max-width:790px;margin:26px 0 clamp(32px,5vw,58px)}
.la-html-sitemap__header h1{margin:0 0 16px}
.la-html-sitemap__header p{margin:0;color:#57534e;line-height:1.7;font-size:clamp(15px,1.45vw,18px)}
.la-html-sitemap__top-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 58px;padding-bottom:clamp(42px,5vw,70px);border-bottom:1px solid #dcd6ce}
.la-html-sitemap__section h2,.la-html-sitemap__lessons h2{font-size:clamp(23px,2.35vw,32px);line-height:1.2;margin:0 0 22px}
.la-html-sitemap__links{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.la-html-sitemap__links li{display:flex;align-items:baseline;gap:10px;min-width:0;line-height:1.5}
.la-html-sitemap__links a{color:inherit;text-decoration:none;text-underline-offset:4px;overflow-wrap:anywhere;transition:color .18s ease}
.la-html-sitemap__links a:hover,.la-html-sitemap__links a:focus-visible{color:#75533a;text-decoration:underline}
.la-html-sitemap__links small{font-size:12px;white-space:nowrap;color:#827b73}
.la-html-sitemap__lessons{padding-top:clamp(42px,5vw,72px)}
.la-html-sitemap__section-heading{display:flex;justify-content:space-between;gap:20px;align-items:baseline;margin-bottom:27px}
.la-html-sitemap__section-heading h2{margin:0}
.la-html-sitemap__section-heading span{font-size:13px;color:#827b73;white-space:nowrap}
.la-html-sitemap__topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 40px}
.la-html-sitemap__topic{min-width:0}
.la-html-sitemap__topic h3{margin:0 0 17px;padding-bottom:13px;border-bottom:1px solid #e3ded6;font-size:18px;line-height:1.35;font-weight:550}
.la-html-sitemap__topic .la-html-sitemap__links{gap:10px;font-size:14px}
@media(max-width:950px){.la-html-sitemap__topics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.la-html-sitemap__top-grid,.la-html-sitemap__topics{grid-template-columns:minmax(0,1fr);gap:30px}.la-html-sitemap__section-heading{align-items:flex-start;flex-wrap:wrap}.la-html-sitemap__section-heading h2{margin:0}.la-html-sitemap__topic h3{font-size:17px}}
