/* Robot Obedience School design layer. Loaded last on every page (home, sign-in, account, academy,
   film school, Claude course) so the redesign lives in one place. One section per design revision. */
/* Fonts load from a <link> in each page head (see prepare-worker.py), not an @import here. */

/* ---------- Revision 1: typography ----------
   One display face for headings, one reading face for text, no squeezed letters, nothing under 12px. */
:root{--font-display:'Bricolage Grotesque','Noto Sans Devanagari','Noto Naskh Arabic',system-ui,sans-serif;--font-body:'Inter','Noto Sans Devanagari','Noto Naskh Arabic',system-ui,sans-serif;--font-mono:'JetBrains Mono','Noto Sans Devanagari','Noto Naskh Arabic',ui-monospace,monospace}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--font-body)!important;font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4,.welcome-title,.cc-num,.school-stats b,.steps span{font-family:var(--font-display)!important;letter-spacing:-.025em!important;font-weight:800}
h1{line-height:1.02!important}
h2,h3,h4{line-height:1.12!important}
h3,h4{font-weight:650}
.eyebrow,.school-label,.block-head,.pill,.cc-badge,.crumb,.topbar{letter-spacing:.12em!important}
.eyebrow,.school-label{font-size:12px!important;font-weight:700}
.intro,.cc-hero .intro,.lesson-goal,.cc-tagline{font-size:clamp(18px,1.5vw,21px)!important;line-height:1.6!important}
p,li{max-width:70ch}
.path-hero p,.closing p,.cc-gate p,.path-note{margin-inline:auto}
pre,code,.prompt pre{font-family:var(--font-mono)!important;font-size:15px!important;line-height:1.7!important}
nav,header nav a{font-size:15px}
small,.small,.byline,.path-note,.course-note p,.rail-note p,.completion-hint{font-size:13.5px!important;line-height:1.6!important}
.brand span{font-family:var(--font-display);letter-spacing:.06em!important}
/* Academy: lift the small sidebar and lesson text */
.sidebar{font-size:15px}
.class-nav small,.progress-caption,.sidebar-bottom p{font-size:13px!important}
.lesson-content p,.lesson-content li,.check-row span,.exercise-steps p{font-size:17px!important;line-height:1.75!important}
.lesson-rail>a{font-size:15px!important}
.lesson-content .eyebrow,.lesson-content p.eyebrow{font-size:12px!important;line-height:1.6!important}
.module-info p,.continue-panel p{font-size:16px!important}
/* Film school: no 8 to 11px labels */
.block-head,.pill,.micro,.edition,.seal,.lesson-tabs small{font-size:12px!important}
.lesson-tabs strong{font-size:17px}
/* Scripts without capitals or with joined letters never get letter-spacing */
:lang(hi) *,:lang(ar) *,:lang(ur) *{letter-spacing:0!important}
:lang(ar) body,:lang(ur) body{line-height:1.8}

/* ---------- Revision 2: colours ----------
   Warm cream paper instead of white/grey, deep ink instead of pure black, a warmer tomato red,
   sun-gold highlights. Every page now draws from the same palette. */
:root{--paper:#fcf9f1;--sand:#f2efe7;--card:#fbf8f2;--ink:#1e1e1c;--ink-2:#4a4845;--muted:#706e69;--line:#e5e2da;
 --brand:#c91a27;--brand-deep:#c91a27;--brand-soft:#f6e4de;--sun:#c7c4bc;--sun-soft:#f9f5ed;--teal:#807e79;--teal-soft:#f4f1e9;
 --night:#171716;--night-2:#222220;--night-line:#3a3936;--on-night:#f5f2ea;--on-night-muted:#bab7af}
body{background:var(--paper)!important;color:var(--ink)}
a{transition:color .15s,background-color .15s,border-color .15s}
/* Home, sign-in and account pages */
header{background:var(--paper)!important;border-top-color:var(--brand)!important;border-bottom-color:var(--line)!important}
nav a:hover{color:var(--brand)!important}
.button,.nav-cta,.cc-gate .button{background:var(--brand)!important;border-color:var(--brand)!important;color:#fbf8f2!important}
.button:hover,.nav-cta:hover{background:var(--brand-deep)!important;border-color:var(--brand-deep)!important}
.path-hero,.closing,.hero{background:radial-gradient(1200px 500px at 50% -10%,#2e2e2c 0%,var(--night) 60%)!important;color:var(--on-night)!important}
.path-hero h1 em,.closing h2 em,.hero h1 em,.cc-hero h1 em{color:var(--sun)!important}
.path-hero .eyebrow,.closing .eyebrow,.cc-hero .eyebrow{color:#f0b9b4!important}
.path-hero .intro,.closing p,.path-hero .byline{color:var(--on-night-muted)!important}
.path-section,.learn{background:var(--sand)!important}
.path-card{background:var(--card)!important;border-color:var(--line)!important;border-top-color:var(--brand)!important}
.path-card p,.path-card ul,.path-note{color:var(--ink-2)!important}
.path-top .eyebrow,.section-head .eyebrow,.method>.eyebrow,.signup-panel .eyebrow{color:var(--brand-deep)!important}
.path-signup,footer>a:last-child,.signup-panel a:not(.button){color:var(--brand-deep)!important}
.film-path{background:var(--night)!important;border-color:var(--night-line)!important;border-top-color:var(--sun)!important;color:var(--on-night)!important}
.film-path p,.film-path ul{color:var(--on-night-muted)!important}
.film-path .eyebrow,.film-path .path-signup{color:var(--sun)!important}
.film-icon{border-color:var(--night-line)!important;color:var(--sun)!important}
.claude-path{background:#fefaf2!important;border-top-color:#e0525b!important}
.method{background:var(--paper)!important;border-color:var(--line)!important}
.steps article{border-top-color:var(--line)!important}
.steps span{color:var(--brand)!important}
.steps p,footer p{color:var(--muted)!important}
.signup-panel .intro{color:var(--ink-2)!important}
.signup-panel>.small{border-top-color:var(--line)!important;color:var(--muted)!important}
/* Academy */
:root{--nav:var(--night)}
#root,.app,.surface{background:var(--paper)}
.sidebar{background:var(--night)!important;color:var(--on-night-muted)!important}
.main-nav a.active,.class-nav a.selected{background:var(--night-2)!important;border-left-color:var(--brand)!important}
.class-number{border-color:var(--night-line)!important}
.topbar{background:rgba(252,249,241,.92)!important;border-bottom-color:var(--line)!important}
.top-status i{background:var(--teal)!important}
.continue-panel{background:var(--night)!important;border-top:4px solid var(--brand)!important}
.path-art span{border-color:var(--night-line)!important}.path-art span:last-child{background:var(--brand)!important;border-color:var(--brand)!important}
.module-row{border-color:var(--line)!important}
.module-index{color:var(--brand)!important}
.course-facts{border-left-color:var(--brand)!important}
.worked-example{background:var(--sun-soft)!important;border-left-color:var(--sun)!important}
.prompt{border-color:var(--night)!important}.prompt>div{background:var(--night)!important}.prompt pre{background:#fbf8f2!important;color:var(--ink)!important}
.prompt button,.lesson-content .primary,button.primary,a.primary,.light-button{border-radius:0}
button.primary,a.primary{background:var(--brand)!important;border-color:var(--brand)!important;color:#fbf8f2!important}
.knowledge-check{background:var(--card)!important;border-color:var(--line)!important}
.answer.correct{background:var(--teal-soft)!important;border-color:var(--teal)!important}
.lesson-rail>a.current{background:var(--sand)!important}
.deliverable{background:var(--teal-soft)!important;border-color:var(--teal)!important}
.toast{background:var(--night)!important}
/* Film school */
.film :root,body:has(.lesson-tabs){--bg:var(--night);--panel:var(--night-2);--text:var(--on-night);--muted:var(--on-night-muted);--gold:var(--sun);--line:var(--night-line)}
body:has(.lesson-tabs){background:var(--night)!important;color:var(--on-night)}
body:has(.lesson-tabs) header{background:var(--night)!important;border-bottom-color:var(--night-line)!important}
body:has(.lesson-tabs) .button{background:var(--sun)!important;border-color:var(--sun)!important;color:var(--night)!important}
body:has(.lesson-tabs) .hero{background:var(--night)!important}
/* Claude course */
.cc-hero{background:radial-gradient(1200px 500px at 30% -10%,#2e2e2c 0%,var(--night) 60%)!important}
.cc-panel,.cc-row,.cc-quiz,.cc-rail,.cc-gate{border-color:var(--line)!important;background:var(--card)!important}
.cc-row:hover{border-color:var(--ink)!important}
.cc-num{color:var(--brand)!important}
.cc-prompt{border-color:var(--night)!important}.cc-prompt div{background:var(--night)!important}.cc-prompt button{background:var(--brand)!important}
.cc-rail a.cur{background:var(--night)!important}
.cc-stage{background:var(--sand)!important}
.cc-foot{border-top-color:var(--line)!important}
.t-free{background:var(--teal)!important}.t-paid{background:var(--brand)!important}
body:has(.lesson-tabs) .lesson-tabs button[aria-selected=true]{background:var(--sun)!important;color:var(--night)!important}
body:has(.lesson-tabs) .lesson-tabs button{border-color:var(--night-line)!important}
body:has(.lesson-tabs) .follow{background:transparent!important;border-color:var(--sun)!important;color:var(--sun)!important}
body:has(.lesson-tabs) .locked{background:var(--night-2)!important;border-color:var(--night-line)!important;border-left-color:var(--sun)!important}
body:has(.lesson-tabs) .locked .pill{color:var(--sun)!important;border-color:var(--night-line)!important}
body:has(.lesson-tabs) .eyebrow,body:has(.lesson-tabs) h1 em{color:var(--sun)!important}
.light-button{background:var(--brand)!important;color:#fbf8f2!important}

/* ---------- Revision 3: home hero ----------
   Two columns: the promise and two clear buttons on one side, an animated robot on the other. */
.hero-v2{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:4vw;text-align:start!important;padding:70px max(5vw,calc((100vw - 1240px)/2)) 60px!important;overflow:hidden}
.hero-v2 h1{font-size:clamp(46px,6vw,92px)!important;margin:0 0 22px!important}
.hero-v2 .intro,.hero-v2 p{margin-inline:0!important}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:30px 0 20px}
.hero-actions .button{font-size:16px!important;padding:17px 26px!important}
.ghost-button{display:inline-flex;align-items:center;padding:16px 24px;border:1.5px solid var(--night-line);color:var(--on-night)!important;font-weight:700;font-size:16px}
.ghost-button:hover{border-color:var(--sun);color:var(--sun)!important}
.hero-art svg{width:100%;max-width:480px;display:block;margin-inline:auto;overflow:visible}
.hero-art .bot{animation:bot-float 5s ease-in-out infinite;transform-origin:200px 220px}
.hero-art .eyes{animation:bot-blink 4.5s infinite;transform-box:fill-box;transform-origin:center}
.hero-art .bulb{animation:bot-bulb 1.6s ease-in-out infinite}
.hero-art .chest{animation:bot-bulb 2.4s ease-in-out infinite}
.hero-art .tassel{animation:bot-tassel 3s ease-in-out infinite;transform-origin:262px 100px}
.hero-art .orbit{animation:bot-orbit 40s linear infinite;transform-origin:200px 205px}
.hero-art .orbit-item{animation:bot-counter 40s linear infinite;transform-box:fill-box;transform-origin:center}
.hero-art .bubble{animation:bot-bubble 6s ease-in-out infinite;transform-origin:300px 150px}
.hero-art .dot{animation:bot-dot 1.2s ease-in-out infinite}.hero-art .d2{animation-delay:.2s}.hero-art .d3{animation-delay:.4s}
@keyframes bot-float{50%{translate:0 -10px}}
@keyframes bot-blink{0%,92%,100%{scale:1 1}95%{scale:1 .1}}
@keyframes bot-bulb{50%{opacity:.35}}
@keyframes bot-tassel{50%{rotate:12deg}}
@keyframes bot-orbit{to{rotate:360deg}}
@keyframes bot-counter{to{rotate:-360deg}}
@keyframes bot-bubble{0%,15%{opacity:0;scale:.6}25%,80%{opacity:1;scale:1}95%,100%{opacity:0;scale:.6}}
@keyframes bot-dot{50%{translate:0 -4px;opacity:.4}}
@media(prefers-reduced-motion:reduce){.hero-art *{animation:none!important}}
@media(max-width:860px){.hero-v2{grid-template-columns:1fr;text-align:center!important;padding:48px 20px 40px!important;gap:10px}.hero-art{order:-1;max-width:300px;margin:0 auto}.hero-actions{justify-content:center}.hero-v2 .intro,.hero-v2 p{margin-inline:auto!important}}

/* ---------- Revision 4: course cards and buttons ----------
   Rounded cards with a soft shadow that lift on hover, a tinted top band holding each course's icon,
   tick marks instead of bullets, and rounded buttons everywhere. */
:root{--radius:18px;--radius-sm:12px;--shadow:0 1px 2px rgba(30,30,28,.06),0 14px 34px -14px rgba(30,30,28,.22);--shadow-lift:0 2px 4px rgba(30,30,28,.08),0 24px 48px -16px rgba(30,30,28,.3)}
.button,.nav-cta,.ghost-button,.light-button,button.primary,a.primary,.cc-gate .button,.prompt button,.cc-prompt button{border-radius:var(--radius-sm)!important}
.path-grid{gap:22px!important;align-items:stretch}
.path-card{border-radius:var(--radius)!important;border:1px solid var(--line)!important;border-top-width:1px!important;padding:0 0 30px!important;overflow:hidden;box-shadow:var(--shadow);transition:transform .25s ease,box-shadow .25s ease}
.path-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lift)}
.path-card>*:not(.path-top){margin-inline:30px!important}
.path-top{min-height:0!important;margin:0 0 26px!important;padding:24px 30px!important;background:linear-gradient(135deg,var(--brand-soft),#fbf8f0)}
.film-path .path-top{background:linear-gradient(135deg,#2a2a28,var(--night-2))}
.claude-path .path-top{background:linear-gradient(135deg,#f1eee6,#fcf9f1)}
.path-top img,.path-top svg,.film-icon{width:64px!important;height:64px!important;border-radius:16px}
.film-icon{border-radius:16px!important;background:rgba(199,196,188,.12)}
.path-card h2{font-size:clamp(32px,2.7vw,42px)!important;min-height:0!important;margin-bottom:14px!important}
.path-card ul{list-style:none;padding:0!important;margin:16px 30px 26px!important}
.path-card li{position:relative;padding-inline-start:30px;margin-bottom:8px;line-height:1.5}
.path-card li:before{content:'';position:absolute;inset-inline-start:0;top:3px;width:18px;height:18px;border-radius:50%;background:var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' stroke='%230f8b8d' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
.film-path li:before{background-color:rgba(199,196,188,.15);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' stroke='%23f5b83d' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.path-card .button{align-self:flex-start;font-size:15px!important;padding:14px 22px!important}
.film-path .button{background:var(--sun)!important;border-color:var(--sun)!important;color:var(--night)!important}
.path-signup{display:inline-block;margin-top:14px!important}
.path-note{margin-top:30px!important}
@media(max-width:720px){.path-card>*:not(.path-top){margin-inline:22px!important}.path-card ul{margin-inline:22px!important}.path-top{padding:20px 22px!important}}

/* ---------- Revision 5: header and menu ----------
   The header stays in view with a soft blur, the language picker looks like part of the site,
   and phones get a proper menu button instead of squashed links. */
body>header{position:sticky;top:0;z-index:40;background:rgba(252,249,241,.88)!important;-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px)}
body:has(.lesson-tabs)>header{background:rgba(23,23,22,.88)!important}
body>header nav{gap:26px!important}
body>header nav a:not(.nav-cta):not(.follow){position:relative;font-weight:500}
body>header nav a:not(.nav-cta):not(.follow):after{content:'';position:absolute;inset-inline:0;bottom:-6px;height:2px;border-radius:2px;background:var(--brand);transform:scaleX(0);transition:transform .2s}
body>header nav a:not(.nav-cta):not(.follow):hover:after{transform:scaleX(1)}
.nav-cta{padding:11px 20px!important;font-weight:700}
.lang-picker{gap:0!important}
.lang-picker>span[aria-hidden]{display:none}
.lang-picker select{-webkit-appearance:none;appearance:none;border:1px solid var(--line)!important;border-radius:999px!important;padding:9px 34px 9px 34px!important;font-weight:600;font-size:14px;color:var(--ink)!important;cursor:pointer;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6a7d' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 2.5 15.3 0 18M12 3c-2.5 2.7-2.5 15.3 0 18'/%3E%3C/svg%3E") 11px center/16px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236f6a7d' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") right 12px center/10px no-repeat,var(--card)!important}
[dir=rtl] .lang-picker select{background-position:right 11px center,left 12px center!important}
body:has(.lesson-tabs) .lang-picker select{background-color:var(--night-2)!important;color:var(--on-night)!important;border-color:var(--night-line)!important}
.lang-float{border-radius:999px!important;border:0!important;padding:0!important;background:transparent!important;box-shadow:var(--shadow)!important}
.menu-toggle{display:none}
@media(max-width:760px){
 body>header{flex-wrap:wrap;padding:12px 16px!important;gap:10px!important}
 body>header .brand span{font-size:11px!important;white-space:nowrap}
 body>header .brand img{width:42px!important;height:42px!important}
 body:has(.lesson-tabs)>header .brand small{display:none}
 body>header.menu-open nav .follow{margin-bottom:4px}
 .menu-toggle{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:46px;height:46px;margin-inline-start:auto;border:1px solid var(--line);border-radius:14px;background:var(--card);cursor:pointer}
 body:has(.lesson-tabs) .menu-toggle{background:var(--night-2);border-color:var(--night-line)}
 .menu-toggle span{display:block;width:20px;height:2px;border-radius:2px;background:var(--ink);transition:transform .2s,opacity .2s}
 body:has(.lesson-tabs) .menu-toggle span{background:var(--on-night)}
 .menu-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
 .menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
 .menu-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
 body>header nav{display:none!important;order:3;width:100%;flex-direction:column;align-items:stretch!important;gap:0!important;padding:6px 0 10px}
 body>header.menu-open nav{display:flex!important}
 body>header.menu-open nav>a{display:block!important;padding:14px 4px!important;font-size:17px!important;border-bottom:1px solid var(--line)}
 body:has(.lesson-tabs)>header.menu-open nav>a{border-bottom-color:var(--night-line)}
 body>header nav a:after{display:none}
 body>header.menu-open nav .nav-cta,body>header.menu-open nav .follow{text-align:center;border-bottom:0!important;margin-top:12px}
 body>header.menu-open .lang-picker{padding-top:14px}
 body>header.menu-open .lang-picker select{width:100%}
}

/* ---------- Revision 6: academy ----------
   A light, warm sidebar instead of a black one, numbered class badges, a real progress bar,
   rounded softer lesson boxes and lesson cards that respond when you point at them. */
.sidebar{background:var(--sand)!important;color:var(--ink-2)!important;border-right:1px solid var(--line)!important}
[dir=rtl] .sidebar{border-right:0!important;border-left:1px solid var(--line)!important}
.sidebar .brand,.sidebar .brand:hover{color:var(--ink)!important}
.sidebar .school-label{color:var(--muted)!important}
.main-nav a,.class-nav a{color:var(--ink-2)!important;border-radius:12px!important}
.main-nav a:hover,.class-nav a:hover{background:rgba(251,248,242,.7)!important;color:var(--ink)!important}
.main-nav a.active,.class-nav a.selected{background:var(--card)!important;color:var(--ink)!important;box-shadow:var(--shadow);border-left:0!important;padding-left:12px!important}
[dir=rtl] .main-nav a.active,[dir=rtl] .class-nav a.selected{border-right:0!important;padding-right:12px!important}
.class-number{border:0!important;background:var(--card);color:var(--ink-2);font-weight:700;border-radius:9px!important}
.class-nav a.selected .class-number{background:var(--brand);color:#fbf8f2}
.class-nav small{color:var(--muted)!important}
.sidebar-rule{background:var(--line)!important}
.sidebar-bottom{border-top-color:var(--line)!important}
.sidebar-bottom p{color:var(--muted)!important}
.sidebar progress{height:8px!important;background:var(--line)!important}
.sidebar progress::-webkit-progress-bar{background:var(--line)!important;border-radius:8px}
.sidebar progress::-webkit-progress-value{background:linear-gradient(90deg,var(--brand),var(--sun))!important;border-radius:8px}
.sidebar progress::-moz-progress-bar{background:var(--brand)!important}
.text-button{color:var(--brand-deep)!important}
.topbar{color:var(--muted)}
/* Learning path */
.continue-panel{border-radius:22px!important;border-top:0!important;box-shadow:var(--shadow-lift);background:radial-gradient(700px 300px at 85% 0%,#2e2e2c 0%,var(--night) 70%)!important}
.continue-panel h2{font-size:2.1rem!important}
.module-row{background:var(--card);border:1px solid var(--line)!important;border-radius:var(--radius);padding:22px 24px!important;margin-bottom:12px;transition:transform .2s,box-shadow .2s,border-color .2s}
.module-row:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#d3d0c8!important}
.module-index{font-family:var(--font-display);font-weight:800}
.module-action a{border-color:var(--line)!important;transition:background .2s,color .2s}
.module-row:hover .module-action a{background:var(--brand)!important;border-color:var(--brand)!important;color:#fbf8f2}
.course-note{background:var(--teal-soft);border-radius:var(--radius);border:0!important;padding:24px 28px!important}
/* Lesson pages */
.lesson-content{max-width:720px!important}
.lesson-content p{color:var(--ink-2)!important}
.worked-example{border-radius:var(--radius)!important;border-left:0!important;border:1px solid #e2dfd7!important}
[dir=rtl] .worked-example{border-right:1px solid #e2dfd7!important}
.prompt{border-radius:var(--radius)!important;overflow:hidden;box-shadow:var(--shadow)}
.exercise-steps li>span{background:var(--brand-soft)!important;color:var(--brand-deep)!important}
.check-row input,.knowledge-check input{accent-color:var(--brand);width:18px;height:18px}
.knowledge-check,.notes textarea,.lesson-footer{border-radius:var(--radius)!important}
.knowledge-check label{border-radius:12px!important;transition:border-color .15s,background .15s}
.knowledge-check label:hover{border-color:var(--ink-2)!important}
.knowledge-check label.chosen{border-color:var(--brand)!important;background:var(--brand-soft)!important}
.deliverable,.answer{border-radius:var(--radius-sm)!important}
.notes textarea{border:1px solid var(--line)!important;background:var(--card)!important;padding:16px!important}
.notes textarea:focus{outline:3px solid var(--brand-soft);border-color:var(--brand)!important}
.lesson-rail{border-left-color:var(--line)!important}
.lesson-rail>a{border-radius:12px!important}
.lesson-rail>a.current{background:var(--card)!important;box-shadow:var(--shadow)}
.rail-note{background:var(--sun-soft);border-radius:var(--radius);padding:18px!important;border:0!important}
.learner-profile,.lesson-lock{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:34px!important;box-shadow:var(--shadow)}

/* ---------- Revision 7: Master Claude course page ----------
   An animated Claude spark in the hero, an icon for every lesson, a progress bar, the three access
   steps as a connected path, and rounded lesson cards. */
.cc-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:4vw}
.cc-hero-art svg{width:100%;max-width:340px;display:block;margin-inline:auto;overflow:visible}
.cc-spark{animation:cc-spin 18s linear infinite;transform-origin:150px 150px}
.cc-ring{animation:cc-spin 60s linear infinite reverse;transform-origin:150px 150px}
.cc-ring-i{animation:cc-spin 60s linear infinite;transform-box:fill-box;transform-origin:center}
@keyframes cc-spin{to{rotate:360deg}}
@media(prefers-reduced-motion:reduce){.cc-hero-art *{animation:none!important}}
.cc-badge{border-radius:999px!important;border-color:var(--night-line)!important;background:rgba(251,248,242,.04)}
.cc-hero .button{font-size:16px!important;padding:16px 26px!important}
.cc-progress{height:8px;max-width:420px;border-radius:8px;background:var(--night-line);margin-top:26px;overflow:hidden}
.cc-progress span{display:block;height:100%;min-width:8px;border-radius:8px;background:linear-gradient(90deg,var(--brand),var(--sun))}
.cc-progress-label{display:block;margin-top:8px;color:var(--on-night-muted);font-weight:600}
.cc-panel{border-radius:var(--radius)!important;box-shadow:var(--shadow)}
.cc-path{counter-reset:none;position:relative}
.cc-path li{position:relative;padding:4px 0}
.cc-path b{display:inline-flex!important;align-items:center;justify-content:center;border-radius:999px!important;min-width:128px!important;padding:7px 12px!important;gap:6px}
.cc-path li:nth-child(1) b:before{content:'🔓'}.cc-path li:nth-child(2) b:before{content:'👤'}.cc-path li:nth-child(3) b:before{content:'⭐'}
.cc-new li::marker{color:var(--brand)}
.cc-list{gap:14px!important}
.cc-row{grid-template-columns:56px 52px 1fr auto!important;border-radius:var(--radius)!important;box-shadow:0 1px 2px rgba(30,30,28,.05);padding:16px 22px!important}
.cc-row:hover{box-shadow:var(--shadow)!important;transform:translateY(-2px)!important}
.cc-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:var(--sand);font-size:26px}
.cc-row:nth-child(n+4) .cc-icon{background:var(--brand-soft)}
.cc-done .cc-icon{background:var(--teal-soft)}
.cc-lock{opacity:1!important}.cc-lock h3,.cc-lock p,.cc-lock .cc-icon{opacity:.72}
.cc-state b{border-radius:999px;font-weight:700}
.cc-state .done{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--teal);color:#fbf8f2!important}
.cc-like5{border-radius:var(--radius)!important;border:1px solid #e2dfd7!important;border-inline-start:6px solid var(--sun)!important;background:var(--sun-soft)!important}
.cc-stage{border-radius:24px!important;box-shadow:var(--shadow)}
.cc-stage-bar span,.cc-stage-bar button{border-radius:999px!important}
.cc-prompt{border-radius:var(--radius)!important;overflow:hidden;box-shadow:var(--shadow)}
.cc-prompt pre{background:#fbf8f2}
.cc-tip{border-radius:var(--radius)!important;background:var(--teal-soft)!important;border-color:#e2dfd7!important}
.cc-tip b{color:var(--teal)!important}
.cc-steps li:before{border-radius:50%!important;background:var(--brand)!important}
.cc-quiz{border-radius:var(--radius)!important;box-shadow:var(--shadow)}
.cc-quiz label{border-radius:12px!important}
.cc-rail{border-radius:var(--radius)!important;padding:12px!important;box-shadow:var(--shadow)}
.cc-rail a{border-radius:10px;border-bottom:0!important}
.cc-rail a.cur{background:var(--ink)!important}
.cc-gate{border-radius:22px!important;border:1px solid var(--line)!important;border-top:6px solid var(--brand)!important;box-shadow:var(--shadow-lift)}
@media(max-width:860px){.cc-hero{grid-template-columns:1fr}.cc-hero-art{display:none}.cc-row{grid-template-columns:44px 1fr!important}.cc-row .cc-num{display:none}.cc-icon{width:44px;height:44px;font-size:22px}}

/* ---------- Revision 8: film school ----------
   Same family as the rest of the site, still a cinema: rounded hero still with a warm glow,
   the four principles as numbered chips, rounded episode tabs, and the credit toolkit in ink and gold. */
body:has(.lesson-tabs) .hero-image{border-radius:24px;box-shadow:0 30px 80px -30px rgba(199,196,188,.35),0 0 0 1px var(--night-line)}
body:has(.lesson-tabs) .hero-image img{filter:grayscale(.35) brightness(.85) contrast(1.05)!important;transition:filter .6s}
body:has(.lesson-tabs) .hero-image:hover img{filter:grayscale(0) brightness(.95)!important}
body:has(.lesson-tabs) .principles{counter-reset:p;justify-content:center!important;gap:12px!important;border-top:0!important;border-block:1px solid var(--night-line)!important;padding:22px 5vw!important;background:linear-gradient(90deg,transparent,rgba(199,196,188,.06),transparent)}
body:has(.lesson-tabs) .principles p{counter-increment:p;margin:0;width:auto!important;font-size:12px!important;letter-spacing:.12em;color:var(--on-night)!important;padding:10px 18px;border:1px solid var(--night-line);border-radius:999px;background:var(--night-2)}
body:has(.lesson-tabs) .principles p:before{content:counter(p,decimal-leading-zero) '  ';color:var(--sun);font-weight:700}
body:has(.lesson-tabs) .lesson-tabs{border:0!important;gap:12px}
body:has(.lesson-tabs) .lesson-tabs button{border:1px solid var(--night-line)!important;border-radius:var(--radius);background:var(--night-2)!important;transition:transform .2s,border-color .2s}
body:has(.lesson-tabs) .lesson-tabs button:hover{transform:translateY(-2px);border-color:var(--sun)!important}
body:has(.lesson-tabs) .lesson-tabs button[aria-selected=true]{border-color:var(--sun)!important;box-shadow:0 14px 34px -14px rgba(199,196,188,.55)}
body:has(.lesson-tabs) .locked,body:has(.lesson-tabs) #lesson>section,body:has(.lesson-tabs) .more-examples details{border-radius:22px!important;border-left-width:1px!important;border-top:4px solid var(--sun)!important}
body:has(.lesson-tabs) .locked .pill{border-radius:999px}
body:has(.lesson-tabs) .toolkit{background:radial-gradient(900px 400px at 20% 0%,#2a2a28 0%,var(--night-2) 70%)!important;border-color:var(--night-line)!important}
body:has(.lesson-tabs) .toolkit p,body:has(.lesson-tabs) .calculator label{font-size:14px!important;color:var(--on-night-muted)!important}
body:has(.lesson-tabs) .calculator input{border-radius:12px!important;border:1px solid var(--night-line)!important;background:var(--night)!important;color:var(--on-night)!important;padding:14px!important;font-size:17px}
body:has(.lesson-tabs) .calculator input:focus{outline:3px solid rgba(199,196,188,.3);border-color:var(--sun)!important}
body:has(.lesson-tabs) .rules{background:var(--night);border:1px solid var(--night-line);border-radius:22px;padding:30px!important}
body:has(.lesson-tabs) .rules label{font-size:15px!important;border-bottom-color:var(--night-line)!important}
body:has(.lesson-tabs) .rules input{accent-color:var(--sun);width:18px;height:18px}
body:has(.lesson-tabs) .button.secondary{background:transparent!important;color:var(--sun)!important;border:1.5px solid var(--sun)!important}
body:has(.lesson-tabs) .join,body:has(.lesson-tabs) footer{border-color:var(--night-line)!important}
body:has(.lesson-tabs) .join{background:radial-gradient(900px 380px at 50% 0%,#2a2a28 0%,var(--night) 70%)}
body:has(.lesson-tabs) pre{border-radius:14px;background:var(--night)!important;border:1px solid var(--night-line)}
body:has(.lesson-tabs) video{border-radius:16px}
@media(max-width:720px){body:has(.lesson-tabs) .lesson-tabs{grid-template-columns:1fr!important}body:has(.lesson-tabs) .principles{justify-content:start!important}}

/* ---------- Revision 9: phone layout and spacing ----------
   Same 20px side margins everywhere, headlines that fit in three lines, bigger tap targets,
   a sign-in header that does not wrap, and a language pill that no longer covers lesson text. */
body:has(.lesson-tabs) .join p,body:has(.lesson-tabs) .join .eyebrow{margin-inline:auto!important;text-align:center}
@media(max-width:760px){
 body{font-size:16.5px}
 h1{font-size:clamp(36px,10.5vw,52px)!important}
 .hero-v2 h1{font-size:clamp(40px,11.5vw,56px)!important}
 body:has(.lesson-tabs) h1{font-size:clamp(38px,10.5vw,52px)!important}
 h2{font-size:clamp(26px,7.5vw,36px)!important}
 .path-hero,.path-section,.method,.closing,.cc-wrap,.signup-panel,.learn{padding-inline:20px!important}
 .signup-panel{margin:36px auto!important}
 .signup-panel h1{font-size:clamp(36px,10vw,46px)!important}
 body>header:not(:has(nav)){flex-wrap:wrap}
 body>header:not(:has(nav))>a:not(.brand){font-size:14px;margin-inline-start:auto}
 body>header:not(:has(nav)) .lang-picker{width:100%}
 body>header:not(:has(nav)) .lang-picker select{width:100%}
 .button,.nav-cta,.ghost-button,button.primary,a.primary,.light-button{min-height:48px}
 .hero-actions{flex-direction:column;align-items:stretch}.hero-actions a{justify-content:center}
 .path-card .button{align-self:stretch;justify-content:space-between}
 .steps{gap:18px!important}.steps article{padding-top:16px}
 .closing h2{font-size:clamp(30px,8.5vw,40px)!important}
 .lang-float{bottom:10px!important;inset-inline-end:10px!important;opacity:.95}
 .lang-float select{padding:7px 28px 7px 30px!important;font-size:13px!important}
 .lesson-content,.page-heading,.path{padding-bottom:56px}
 .module-row{padding:18px!important;gap:14px!important}
 .cc-gate{padding:24px 20px!important}
 .cc-path b{min-width:118px!important}
 body:has(.lesson-tabs) .principles p{font-size:11px!important;padding:8px 14px}
 body:has(.lesson-tabs) .toolkit,body:has(.lesson-tabs) .join,body:has(.lesson-tabs) .lesson-section{padding-inline:20px!important}
 body:has(.lesson-tabs) .calculator{grid-template-columns:1fr!important}
}

/* ---------- Revision 10: finishing touches ----------
   Dark mode that follows the device, clear focus rings for keyboard users, small hover details,
   a tidier footer and branded text selection. */
::selection{background:var(--sun);color:var(--night)}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--sun)!important;outline-offset:3px!important;border-radius:6px}
.button,.nav-cta,.ghost-button,.light-button,button.primary,a.primary{transition:transform .15s ease,box-shadow .15s ease,background-color .15s!important}
.button:hover,.nav-cta:hover,.light-button:hover,button.primary:hover:not(:disabled),a.primary:hover{transform:translateY(-1px);box-shadow:0 10px 22px -10px rgba(201,26,39,.6)}
.button span,.light-button span{display:inline-block;transition:transform .2s}
.button:hover span,.light-button:hover span{transform:translate(3px,-3px)}
[dir=rtl] .button:hover span{transform:translate(-3px,-3px)}
/* Footer */
body>footer{border-top:1px solid var(--line)!important;background:var(--sand)!important;padding:40px max(5vw,calc((100vw - 1240px)/2))!important;align-items:center}
body>footer p{max-width:46ch}
body>footer>a:last-child{font-weight:700;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:var(--card)}
body:has(.lesson-tabs)>footer{background:var(--night)!important;border-top-color:var(--night-line)!important}
.cc-foot{background:var(--sand)}
/* Dark mode: same palette, lights off. Follows the phone or computer setting. */
@media(prefers-color-scheme:dark){
 :root{--paper:#141413;--sand:#1b1a19;--card:#232220;--ink:#f4f0e8;--ink-2:#d1cec5;--muted:#a4a29b;--line:#363532;
  --brand-soft:#292826;--sun-soft:#282826;--teal-soft:#2c2c2a;--shadow:0 1px 2px rgba(0,0,0,.4),0 14px 34px -14px rgba(0,0,0,.7);--shadow-lift:0 2px 4px rgba(0,0,0,.4),0 24px 48px -16px rgba(0,0,0,.8);color-scheme:dark}
 body>header{background:rgba(20,20,19,.86)!important}
 body,#root,.app,.surface,main{color:var(--ink)}
 h1,h2,h3,h4,.brand,.brand span,strong,b{color:inherit}
 .brand span small,.brand small{color:var(--muted)!important}
 .path-top{background:linear-gradient(135deg,#292826,#222120)!important}
 .claude-path,.claude-path .path-top{background:#1f1f1d!important}
 .claude-path .path-top{background:linear-gradient(135deg,#2b2a28,#222220)!important}
 .path-card h2,.signup-panel h1,.section-heading h2,.page-heading h1,.lesson-heading h1{color:var(--ink)!important}
 .page-heading h1 span{color:var(--muted)!important}
 .prompt pre,.cc-prompt pre{background:#1a1918!important;color:var(--ink)!important}
 .worked-example,.cc-like5,.rail-note{border-color:#3f3e3c!important}
 .cc-tip{border-color:#454441!important}
 .module-row:hover{border-color:#4b4a47!important}
 .module-action a,.cc-row,.cc-panel,.cc-quiz,.cc-rail,.cc-gate,.knowledge-check,.notes textarea{background:var(--card)!important;color:var(--ink)!important}
 .module-info p,.module-meta,.lesson-goal,.cc-tagline,.cc-row p,.check-row,.exercise-steps p,.lesson-rail small,.class-nav small{color:var(--muted)!important}
 .lesson-content p,.lesson-content li,.cc-sec ul,.cc-like5,.deliverable p{color:var(--ink-2)!important}
 .topbar{background:rgba(20,20,19,.92)!important}
 .crumb,.top-status{color:var(--ink-2)!important}
 .main-nav a:hover,.class-nav a:hover{background:rgba(251,248,242,.05)!important}
 .class-number{background:var(--card)!important;color:var(--ink-2)!important}
 .knowledge-check label,.cc-quiz label{border-color:var(--line)!important}
 .answer.correct,.cc-quiz label.ok{background:var(--teal-soft)!important}
 .cc-quiz label.no{background:#282726!important}
 .cc-stage{background:#1d1d1b!important}
 .cc-state,.cc-rail a{color:var(--ink-2)}
 .cc-rail a.cur{background:var(--brand)!important;color:#fbf8f2!important}
 .steps p,body>footer p,.path-note,.signup-panel .intro,.signup-panel>.small,.signup-panel p{color:var(--muted)!important}
 .ghost-button{color:var(--on-night)!important}
 .lang-picker select{color:var(--ink)!important}
 input[type=text],input[type=search],input:not([type]),select,textarea{background:var(--card);color:var(--ink);border-color:var(--line)}
 .exercise-steps li>span{background:#292826!important;color:#f0b9b4!important}
 .scene-svg rect[fill="#fbf8f2"],.scene-svg rect[fill="#f6f3eb"]{filter:brightness(.92)}
 .cc-stage-bar button{color:#111110!important}
 .cc-new ul,.cc-new li{color:var(--ink-2)!important}
 .lesson-rail>a,.lesson-rail>a div{color:var(--ink-2)!important}
 .lesson-rail>a.current,.lesson-rail>a.current div{color:var(--ink)!important}
 .cc-back,.back-link{color:#f0b9b4!important}
}

/* ---------- Logo (31 Oct): red bird mark + "Robot / Obedience School" wordmark ----------
   The wordmark is a mask filled with the text colour, so it follows light, dark and the dark lesson header. */
.brand{display:inline-flex!important;align-items:center;gap:12px!important}
.brand img{object-fit:contain}
.brand .wordmark{display:inline-block!important;flex:none;width:150px;height:51px;background:currentColor;-webkit-mask:url(/logo-wordmark.svg?v=379ae39c53) left center/contain no-repeat;mask:url(/logo-wordmark.svg?v=379ae39c53) left center/contain no-repeat}
[dir=rtl] .brand .wordmark{-webkit-mask-position:right center;mask-position:right center}
footer .brand .wordmark{width:120px;height:41px}
.sidebar .brand .wordmark{width:128px;height:44px}
@media(max-width:760px){
 body>header .brand{gap:9px!important}
 body>header .brand .wordmark{width:112px;height:38px}
}

/* ---------- More courses (31 Oct): home strip for Grok, Gemini, Codex, Agentic AI, Prompts and Premier ---------- */
.more-courses{max-width:1180px;margin:0 auto;padding:30px max(16px,5vw) 70px}
.mc-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 30px;align-items:end;margin-bottom:26px}
.mc-head h2{margin:0;font-size:clamp(30px,3.6vw,46px)}
.mc-head p:not(.eyebrow){grid-column:1;margin:0;color:var(--ink-2);max-width:640px}
.mc-head .eyebrow,.mc-head h2{grid-column:1}
.mc-all{grid-column:2;grid-row:2 / span 2;font-weight:800;color:var(--brand)}
.mc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.mc-card{display:flex;flex-direction:column;gap:8px;background:var(--card);border:1px solid var(--line);border-top:5px solid var(--course);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);color:var(--ink);transition:transform .2s,box-shadow .2s}
.mc-card:hover,.mc-wide:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift)}
.mc-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:14px;font-size:26px;background:color-mix(in srgb,var(--course) 16%,transparent)}
.mc-card h3{margin:4px 0 0;font-size:21px}
.mc-card p{margin:0;flex:1;color:var(--ink-2);font-size:15px;line-height:1.55}
.mc-go{font-weight:800;color:var(--course,var(--brand))}
.mc-duo{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.mc-wide{display:flex;flex-direction:column;gap:8px;border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}
.mc-wide h3{margin:0;font-size:clamp(24px,2.4vw,30px)}
.mc-wide p{margin:0;flex:1;line-height:1.6}
.mc-prompts{background:var(--sun-soft);border:1px solid color-mix(in srgb,var(--sun) 45%,transparent);color:var(--ink)}
.mc-prompts .eyebrow,.mc-prompts .mc-go{color:#777570}
.mc-premier{background:radial-gradient(700px 260px at 10% 0,#302f2d,var(--night) 70%);color:var(--on-night)}
.mc-premier h3{color:#fbf8f2}.mc-premier p{color:var(--on-night-muted)}
.mc-premier .eyebrow,.mc-premier .mc-go{color:#cecbc3!important}
@media(prefers-color-scheme:dark){.mc-prompts .eyebrow,.mc-prompts .mc-go{color:var(--sun)}}
@media(max-width:1000px){.mc-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.mc-grid,.mc-duo{grid-template-columns:1fr}.mc-head{grid-template-columns:1fr}.mc-all{grid-column:1;grid-row:auto}}

/* ---------- Find my course (31 Oct): quiz link under the hero buttons ---------- */
.quiz-link{display:inline-flex;align-items:center;gap:6px;margin-top:16px;font-weight:700;color:var(--sun)!important;border-bottom:1px dashed color-mix(in srgb,var(--sun) 60%,transparent)}
.quiz-link:hover{border-bottom-style:solid}

/* ---------- Search (31 Oct): magnifier in every header ---------- */
.nav-search{display:inline-grid!important;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--card);font-size:16px;text-decoration:none!important}
.nav-search:hover{border-color:var(--ink)}
@media(max-width:760px){body>header.menu-open .nav-search{width:auto;height:auto;border-radius:12px;padding:10px 14px;justify-content:start}}


/* ---------- Weekly update signup (31 Oct): the newsletter box on every page ---------- */
.nl-box{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 30px;align-items:center;margin:40px 0 10px;padding:28px 30px;border-radius:var(--radius);background:linear-gradient(135deg,var(--sun-soft),var(--card));border:1px solid color-mix(in srgb,var(--sun) 45%,transparent);color:var(--ink)}
.nl-copy{display:flex;gap:16px;align-items:flex-start}.nl-icon{font-size:40px;line-height:1}
.nl-box h2{margin:0 0 6px;font-size:clamp(22px,2.4vw,30px)}.nl-box p{margin:0;color:var(--ink-2)}
.nl-form{display:grid;gap:10px;min-width:0}
.nl-row{display:flex;gap:8px;flex-wrap:wrap}
.nl-row input{flex:1 1 220px;min-width:0;font:inherit;font-size:16px;padding:13px 16px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink)}
.nl-row input:focus{outline:2px solid var(--brand);outline-offset:1px}
.nl-row .button{border:0;cursor:pointer;font:inherit;font-weight:700}
.nl-consent{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--ink-2);font-weight:400}
.nl-consent input{margin-top:3px;accent-color:var(--brand)}
.nl-msg{margin:0;font-weight:700}.nl-ok,.nl-check{color:var(--teal)}.nl-err{color:var(--brand)}
.nl-new{display:inline-block;margin-top:8px;font-weight:700;color:var(--brand)}
.nl-home{max-width:1180px;margin:0 auto;padding:0 max(16px,5vw) 40px}
.wn-hero .nl-box{margin:0;color:var(--ink);grid-template-columns:1fr;gap:16px}
@media(max-width:800px){.nl-box{grid-template-columns:1fr}}


/* ---------- Accessibility (31 Oct, improvement round 10) ----------
   Brand orange and teal one shade deeper so white text on buttons and chips passes WCAG AA (4.5:1);
   a visible focus ring for keyboard users; a skip link to the main content. */
:root{--brand:#c91a27;--teal:#706f6a}
.mc-go{color:color-mix(in srgb,var(--course,var(--brand)) 66%,#000000)}
@media(prefers-color-scheme:dark){.mc-go{color:color-mix(in srgb,var(--course,var(--brand)) 55%,#fbf8f2)}}
:focus-visible{outline:3px solid var(--sun)!important;outline-offset:2px}
.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:var(--night);color:#fbf8f2!important;padding:10px 16px;border-radius:10px;font-weight:700}
.skip-link:focus{top:12px}
.cc-foot,.cc-new small{color:#5f5e5a!important}
.cc-lock h3,.cc-lock p{opacity:1!important}.cc-lock p{color:#5f5e5a!important}
.mc-prompts .eyebrow,.mc-prompts .mc-go{color:#62605c}
.pl-free{color:#555450!important}
.pl-heart.on{color:var(--brand-deep)!important}
@media(prefers-color-scheme:dark){.cc-foot,.cc-new small,.cc-lock p{color:var(--muted)!important}.pl-free{color:#ccc9c1!important}.pl-heart.on{color:#f0b9b4!important}}
body>footer p{color:#5f5e5a!important}
.pl-more button{background:var(--card)!important;color:var(--ink)!important;border:1px solid var(--line)!important;padding:12px 20px;border-radius:var(--radius-sm)}
@media(prefers-color-scheme:dark){body>footer p{color:var(--muted)!important}}
/* Dark mode: brand-orange words sit on dark cards, so they use a lighter orange there. */
@media(prefers-color-scheme:dark){
 .path-signup,.mc-all,.pl-cat,.pl-cats .pl-mine:not(.on),.nl-new,.cc-plans-link,.pl-lock a,.text-button,.signup-panel a:not(.button),footer>a:last-child,.quiz-card .eyebrow,.wn-date .eyebrow,.pl-fill-head .eyebrow{color:#f0b9b4!important}
 .plan-yours{color:#ccc9c1!important}
}
@media(prefers-color-scheme:dark){.mc-prompts .eyebrow,.mc-prompts .mc-go{color:var(--sun)!important}.method>.eyebrow,.path-top .eyebrow,.section-head .eyebrow{color:#f0b9b4!important}}

/* ---------- Paper look (31 Oct 2026) ----------
   Black ink on off-white paper, greys in between, one red (the logo's). A book serif for reading, a
   typewriter face for labels, faint paper grain, ruled lines instead of soft shadows, square corners.
   Every literal colour above was converted to this palette; this section sets the paper itself. */
:root{--font-display:'Newsreader','Noto Sans Devanagari','Noto Naskh Arabic',Georgia,serif;--font-body:'Newsreader','Noto Sans Devanagari','Noto Naskh Arabic',Georgia,serif;--font-mono:'Courier Prime','Noto Sans Devanagari','Noto Naskh Arabic',ui-monospace,monospace;
 --paper:#f2ede2;--sand:#e9e3d5;--card:#faf7f0;--ink:#161412;--ink-2:#3d3934;--muted:#655f57;--line:#d5ccbb;--rule:#161412;
 --brand:#c91a27;--brand-deep:#a3141f;--brand-soft:#f3e0da;--sun:#161412;--sun-soft:#ece6da;--teal:#3d3934;--teal-soft:#e6e0d3;
 --night:#161412;--night-2:#24211e;--night-line:#3d3934;--on-night:#f2ede2;--on-night-muted:#bdb6aa;
 --radius:3px;--radius-sm:2px;--shadow:none;--shadow-lift:4px 4px 0 var(--rule)}
@media(prefers-color-scheme:dark){:root{--paper:#1b1916;--sand:#22201c;--card:#26231f;--ink:#efe9dd;--ink-2:#d2cbbe;--muted:#a39b8e;--line:#3e3a34;--rule:#efe9dd;
 --brand:#e5545d;--brand-deep:#e5545d;--brand-soft:#33201f;--sun:#efe9dd;--sun-soft:#2a2723;--teal:#d2cbbe;--teal-soft:#2c2925;
 --night:#0f0e0c;--night-2:#1b1916;--night-line:#3e3a34;--on-night:#efe9dd;--on-night-muted:#a39b8e}}
/* Grain: one fixed sheet of noise over the whole page, so cards and panels look printed on the same paper. */
body::after{content:'';position:fixed;inset:0;z-index:2147483000;pointer-events:none;opacity:.5;mix-blend-mode:multiply;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
@media(prefers-color-scheme:dark){body::after{mix-blend-mode:screen;opacity:.22}}
@media print{body::after{display:none}}
/* Type: serif headings set in roman, not squeezed; labels and small print in the typewriter face. */
body{font-size:18px;font-optical-sizing:auto}
h1,h2,h3,h4,.welcome-title,.cc-num,.school-stats b,.steps span{font-weight:600!important;letter-spacing:-.012em!important}
h1{line-height:1.04!important}
h3,h4{font-weight:600!important}
h1 em,h2 em{font-style:italic!important;font-weight:500!important}
.eyebrow,.school-label,.cc-badge,.pill,.crumb,.pl-cat,.hub-meta,.cc-num,.t-free,.t-paid,.t-member,.pl-free,.wn-date .eyebrow{font-family:var(--font-mono)!important;letter-spacing:.08em!important;font-weight:700}
.button,.nav-cta,.ghost-button,.light-button,button.primary,a.primary{font-family:var(--font-mono)!important;font-weight:700!important;letter-spacing:.02em;text-transform:none}
::selection{background:var(--brand);color:#faf7f0}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--brand)!important;border-radius:0!important}
/* Sheets: thin ink rules, square corners, and a hard offset shadow when lifted, like a card on a desk. */
.path-card,.hub-card,.cc-row,.cc-panel,.cc-quiz,.cc-rail,.cc-gate,.pl-card,.plan,.quiz-card,.me-card,.wn-week,.nl-box,.cert,.knowledge-check,.module-row,.continue-panel,.signup-panel{border-radius:var(--radius)!important;box-shadow:none!important;border-color:var(--line)!important}
.path-card:hover,.hub-card:hover,.pl-card:hover,.cc-row:hover,.module-row:hover{transform:translate(-2px,-2px)!important;box-shadow:var(--shadow-lift)!important;border-color:var(--rule)!important}
.button,.nav-cta,.ghost-button,.light-button,button.primary,a.primary,.cc-gate .button,.prompt button,.cc-prompt button,input,select,textarea{border-radius:var(--radius-sm)!important}
.button:hover,.nav-cta:hover,.light-button:hover,button.primary:hover:not(:disabled),a.primary:hover{box-shadow:3px 3px 0 var(--rule)!important;transform:translate(-1px,-1px)!important}
/* Header: a newspaper masthead rule. */
body>header{border-top:4px solid var(--brand)!important;border-bottom:3px double var(--rule)!important;background:var(--paper)!important;backdrop-filter:none!important}
/* Heroes become printed pages. Premier keeps its black card. */
.path-hero,.closing,body:not(.is-premier) .cc-hero:not(.hub-premier){background:var(--paper)!important;color:var(--ink)!important;border-bottom:1px solid var(--rule)}
:is(.path-hero,.closing,body:not(.is-premier) .cc-hero:not(.hub-premier)) :is(h1,h2,h3){color:var(--ink)!important}
:is(.path-hero,.closing,body:not(.is-premier) .cc-hero:not(.hub-premier)) :is(h1 em,h2 em){color:var(--brand)!important}
:is(.path-hero,.closing,body:not(.is-premier) .cc-hero:not(.hub-premier)) .eyebrow{color:var(--brand)!important}
:is(.path-hero,.closing,body:not(.is-premier) .cc-hero:not(.hub-premier)) :is(.intro,p,.byline,small){color:var(--ink-2)!important}
:is(.path-hero,.closing,body:not(.is-premier) .cc-hero:not(.hub-premier)) .cc-badge{background:transparent!important;border:1px solid var(--line)!important;color:var(--ink-2)!important}
:is(.path-hero,.closing,body:not(.is-premier) .cc-hero:not(.hub-premier)) .ghost-button{background:transparent!important;border-color:var(--rule)!important;color:var(--ink)!important}
:is(.path-hero,.closing,body:not(.is-premier) .cc-hero:not(.hub-premier)) a:not(.button):not(.ghost-button){color:var(--brand)!important}
/* Emoji icons print in grey ink on a plain tile; the course art loses its airbrushed glow. */
.cc-icon,.hub-icon,.cc-ring-i,.mc-icon,.nl-icon,.search-ico,.cc-finished>span,.claude-icon{filter:grayscale(1) contrast(1.05)}
.cc-icon,.hub-icon,.mc-icon,.search-ico{background:var(--sand)!important;border:1px solid var(--line);border-radius:var(--radius-sm)!important}
.cc-hero-art circle[fill^="url"]{display:none}
/* Chips and pills: square stamps, not rounded lozenges. */
.cc-badge,.pill,.t-free,.t-paid,.t-member,.cc-state b,.pl-free,.pl-cats button,.hub-card [class*=tag],.hub-meta+*,.nav-search,.lang-picker,header select,.search-button,.cc-check,.cc-state i{border-radius:var(--radius-sm)!important}
.cc-num{font-family:var(--font-display)!important;font-style:italic;font-weight:500!important;letter-spacing:0!important}
.cc-bar i,.cc-progress i{background:var(--brand)!important}
/* Card bands: a ruled header instead of a tinted wash. */
.path-top{background:transparent!important;border-bottom:1px solid var(--line)}
.path-card{border-top:3px solid var(--rule)!important}
.hub-card{border-top:3px solid var(--course,var(--rule))!important}
/* The film card stays a black sheet: its gold becomes paper. */
.film-path{--sun:var(--on-night);border-top-color:var(--brand)!important}
.film-path .path-top{border-bottom-color:var(--night-line)}
.film-icon{background:transparent!important;border:1px solid var(--night-line)!important;border-radius:var(--radius-sm)!important}
header select,.nav-search,.cc-progress,.cc-progress span{border-radius:var(--radius-sm)!important}
.cc-progress span{background:var(--brand)!important}
/* Film school: a black sheet like its card on the home page. Its gold highlights become paper white, its
   small accents red. */
body:has(.lesson-tabs){--sun:var(--on-night);--gold:var(--on-night)}
body:has(.lesson-tabs) .lesson-tabs button,body:has(.lesson-tabs) .pill,body:has(.lesson-tabs) .seal,body:has(.lesson-tabs) .edition{border-radius:var(--radius-sm)!important}
body:has(.lesson-tabs) .lesson-tabs button small,body:has(.lesson-tabs) .eyebrow,body:has(.lesson-tabs) .micro{color:var(--brand)!important}

/* Every remaining rounded control and panel gets the same square paper corner. */
html body :is(select,.nav-search,.skip-link,.t-free,.t-member,.t-paid,.t-premier,.cc-stage,#replay,.cc-rail a,.hub-chip,.hub-progress,.pl-search,.pl-card pre,.pl-copy,.pl-ghost,.plan-badge,details,.search-box,.search-row,.nla-tabs button,#nla-frame,.hero-image,.locked,.rules,.calculator input,.quiz-opt,.quiz-card,.claude-icon,.path-top img,.cc-sec label,.notes textarea,.lesson-tabs p){border-radius:var(--radius-sm)!important}
html body :is(.t-free,.t-member,.t-paid,.t-premier){color:var(--paper)!important}
.t-free,.t-member{background:var(--ink-2)!important}
html body .cc-state .done{background:var(--ink)!important;color:var(--paper)!important}
/* My learning: the tally boxes now sit on paper, so their figures print in ink. */
html body .me-stats div{background:var(--card)!important;border-color:var(--line)!important;border-radius:var(--radius-sm)!important}
html body .me-stats b{color:var(--ink)!important;font-weight:600!important}
html body .me-stats span{color:var(--muted)!important}
html body :is(.cc-stage-bar button,.cc-stage-bar b,.cc-stage-bar span){border-radius:var(--radius-sm)!important}
body:has(.lesson-tabs){--brand:#ef7178}
body:has(.lesson-tabs) .lesson-tabs button[aria-selected=true] small{color:var(--night)!important}
body:has(.lesson-tabs)>footer p{color:var(--on-night-muted)!important}
/* Dark paper: a brighter red, and red buttons and ink chips print their words in the dark paper colour. */
@media(prefers-color-scheme:dark){
 :root{--brand:#ec6870;--brand-deep:#ec6870}
 html body :is(.button,.nav-cta,button.primary,a.primary,.pl-copy,.plan-badge,[type=submit],[data-notify],.light-button,.cc-gate .button){color:var(--paper)!important}
}
html body .hub-chip:not(.hub-chip-soft){color:var(--paper)!important}

/* ---------- Paper look, round 2: monochrome with hints of red (1 Nov 2026) ----------
   Buttons, links, labels and numbers print in black ink. Red is kept for a few touches only: the rule
   above the header, one italic word in each big headline, progress bars, the saved-prompt heart and
   the small dots on What's new. --red holds that accent; --brand is now plain ink. */
:root{--red:#c91a27;--brand:var(--ink);--brand-deep:var(--ink);--brand-soft:var(--sun-soft)}
@media(prefers-color-scheme:dark){:root{--red:#ec6870;--brand:var(--ink);--brand-deep:var(--ink)}}
/* Black sheets print in reverse: inside them, ink is the light colour and paper the dark one. */
:is(.film-path,.hub-premier,.is-premier .cc-hero,.mc-premier,.plan-premier,.quiz-prem,.hub-deeper,.continue-panel,.cc-prompt>div,.prompt>div,body:has(.lesson-tabs)){--ink:var(--on-night);--paper:var(--night)}
html body :is(.button,.nav-cta,.pl-copy,.light-button,button.primary,a.primary,.cc-gate .button,.cc-prompt button,.prompt button){background:var(--ink)!important;border-color:var(--ink)!important;color:var(--paper)!important}
html body :is(.button,.nav-cta,.pl-copy,.light-button,button.primary,a.primary):hover{box-shadow:3px 3px 0 var(--red)!important}
/* Text links: black ink with a thin red underline. */
html body :is(.quiz-link,.path-signup,.mc-all,.nl-new,.hub-plans,.text-button,.pl-lock a,.cc-plans-link,.signup-panel a:not(.button),body>footer>a:last-child,.mc-go,.plan-yours,.wn-date .eyebrow){color:var(--ink)!important;text-decoration:underline!important;text-decoration-color:var(--red)!important;text-decoration-thickness:1px!important;text-underline-offset:4px}
:is(.path-hero,.closing,body:not(.is-premier) .cc-hero:not(.hub-premier)) a:not(.button):not(.ghost-button){color:var(--ink)!important;text-decoration:underline;text-decoration-color:var(--red);text-underline-offset:4px}
/* Labels and numbers: ink, not red. */
html body :is(.eyebrow,.pl-cat,.path-top .eyebrow,.section-head .eyebrow,.method>.eyebrow,.quiz-card .eyebrow,.pl-fill-head .eyebrow,.mc-prompts .eyebrow){color:var(--muted)!important}
html body :is(.film-path,.hub-premier,.is-premier .cc-hero,.mc-premier,.plan-premier,.quiz-prem,.hub-deeper,.continue-panel) .eyebrow{color:var(--on-night-muted)!important}
html body :is(.cc-num,.module-index,.steps span,.pl-mine){color:var(--ink)!important}
html body :is(.t-paid,.t-premier,.plan-badge){background:var(--ink)!important;color:var(--paper)!important}
/* Ruled borders that were red become ink. */
html body :is(.film-path,.hub-card,.me-continue,.quiz-pick,.quiz-main,.wn-course,.search-row,.course-facts,.pl-heart.on){border-color:var(--line)!important}
html body :is(.film-path,.hub-card){border-top-color:var(--rule)!important}
html body .film-path{border-top-color:var(--night-line)!important}
html body :is(.me-continue,.course-facts){border-left-color:var(--rule)!important}
/* The red that stays. */
body>header,header.topbar{border-top-color:var(--red)!important}
html body :is(.path-hero,.closing,.cc-hero) :is(h1 em,h2 em){color:var(--red)!important}
.cc-progress span,.cc-bar i,.cc-progress i{background:var(--red)!important}
html body .pl-heart.on{color:var(--red)!important}
html body :is(.path-hero,.closing,body:not(.is-premier) .cc-hero:not(.hub-premier)) :is(h1 em,h2 em){color:var(--red)!important}
html body :is(.module-meta,.module-action span){color:var(--ink-2)!important}
html body .app footer span,html body .surface footer span{color:var(--ink-2)!important}
:root{--on-red:#faf7f0}
@media(prefers-color-scheme:dark){:root{--on-red:#1b1916}}
html body .path-art span:last-child{background:var(--red)!important;border-color:var(--red)!important;color:var(--on-red)!important}

/* ---------- Welcome pop-up, weekly-update ask, Telegram strip and follow links (1 Nov 2026) ---------- */
.ros-welcome{border:0;padding:0;background:transparent;max-width:min(460px,calc(100vw - 32px));width:100%;color:var(--ink)}
.ros-welcome::backdrop{background:rgba(22,20,18,.5)}
.ros-w-card{position:relative;display:flex;flex-direction:column;gap:14px;background:var(--card);border:1px solid var(--rule);border-top:4px solid var(--red);box-shadow:6px 6px 0 var(--rule);padding:32px 28px 24px;text-align:center;border-radius:var(--radius-sm)}
.ros-w-card img{margin:0 auto}
.ros-w-card h2{margin:0;font-size:clamp(26px,5vw,32px)!important;text-wrap:balance}
.ros-w-card p{margin:0 auto;color:var(--ink-2);font-size:16.5px;line-height:1.55}
.ros-w-card b{color:var(--ink)}
.ros-w-actions{display:grid;gap:10px;margin-top:6px}
.ros-w-actions .button,.ros-w-actions .ghost-button{display:flex!important;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;padding:12px 18px!important;font-size:15px!important;cursor:pointer}
.ros-w-actions .ghost-button{background:transparent!important;border:1px solid var(--rule)!important;color:var(--ink)!important;font-family:var(--font-mono)!important;font-weight:700}
.ros-w-actions svg{width:19px;height:19px;flex:none}
.ros-w-note{font-size:13.5px!important;color:var(--muted)!important;max-width:36ch}
.ros-w-later{background:none;border:0;color:var(--ink-2);font:inherit;font-size:15px;text-decoration:underline;text-decoration-color:var(--red);text-underline-offset:4px;cursor:pointer;justify-self:center;margin:0 auto}
.ros-w-x{position:absolute;top:8px;inset-inline-end:10px;background:none;border:0;font-size:26px;line-height:1;color:var(--muted);cursor:pointer;padding:6px}
.ros-w-msg{font-weight:600;color:var(--ink)!important;min-height:0}
.ros-w-msg:empty{display:none}
.ros-w-follow,.ros-follow{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 18px;border-top:1px solid var(--line);padding-top:14px;margin:4px 0 0}
.ros-w-follow a,.ros-follow a,.ros-tg-strip a{display:inline-flex;align-items:center;gap:7px;color:var(--ink)!important;font-family:var(--font-mono);font-size:13.5px;font-weight:700;text-decoration:none}
.ros-w-follow a:hover,.ros-follow a:hover,.ros-tg-strip a:hover{text-decoration:underline;text-decoration-color:var(--red);text-underline-offset:4px}
.ros-w-follow svg,.ros-follow svg,.ros-tg-strip svg{width:16px;height:16px;flex:none}
body>footer .ros-follow{flex-basis:100%;justify-content:flex-start;max-width:none}
.ros-tg-strip{display:flex;align-items:center;justify-content:center;gap:12px;padding:9px max(16px,env(safe-area-inset-left,0px));background:var(--sand);border-bottom:1px solid var(--line);text-align:center}
.ros-tg-strip button{background:none;border:0;font-size:20px;line-height:1;color:var(--muted);cursor:pointer}

/* ---------- Newsprint (1 Nov 2026) ----------
   The editorial newspaper look Hamid picked from a reference: cool grey newsprint, very large serif
   headlines in regular weight, a clean sans for reading, small mono capitals with a square bullet for
   labels, thin black rules between columns, framed black-and-white pictures, and a generous red for
   buttons, bullets, highlights, selected states and progress. Overrides the paper rounds above. */
:root{--font-display:'Newsreader','Noto Sans Devanagari','Noto Naskh Arabic',Georgia,serif;--font-body:'Inter','Noto Sans Devanagari','Noto Naskh Arabic',system-ui,sans-serif;--font-mono:'IBM Plex Mono','Noto Sans Devanagari','Noto Naskh Arabic',ui-monospace,monospace;
 --paper:#ededeb;--sand:#e2e2df;--card:#f4f4f2;--ink:#111111;--ink-2:#333333;--muted:#5a5a5a;--line:#c6c6c2;--rule:#111111;
 --red:#c8102e;--red-bg:#c8102e;--on-red:#ffffff;--brand:var(--red);--brand-deep:#9e0c24;--brand-soft:#f6dde0;
 --sun:var(--ink);--sun-soft:var(--sand);--teal:var(--ink-2);--teal-soft:var(--sand);
 --night:#262626;--night-2:#333333;--night-line:#4d4d4d;--on-night:#f2f2f0;--on-night-muted:#bdbdb8;
 --radius:0px;--radius-sm:0px;--shadow:none;--shadow-lift:none}
@media(prefers-color-scheme:dark){:root{--paper:#151515;--sand:#1d1d1d;--card:#1b1b1b;--ink:#ededeb;--ink-2:#cfcfcb;--muted:#9c9c97;--line:#3a3a38;--rule:#ededeb;
 --red:#ff5a6a;--red-bg:#d0142f;--on-red:#ffffff;--brand:var(--red);--brand-deep:var(--red);--brand-soft:#3a1d21;
 --night:#0c0c0c;--night-2:#1a1a1a;--night-line:#3a3a38;--on-night:#ededeb;--on-night-muted:#a6a6a1}}
/* Neutral grain, a little finer than before. */
body::after{opacity:.38;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .4 0 0 0 0 .4 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
@media(prefers-color-scheme:dark){body::after{opacity:.18}}
/* Type: big regular-weight serif headlines set tight; sans for reading. */
body{font-size:17px;line-height:1.6}
h1,h2,h3,h4,.welcome-title,.school-stats b{font-weight:400!important;letter-spacing:-.035em!important}
h1{line-height:.96!important}
h2{line-height:1.02!important}
h3,h4{line-height:1.12!important;letter-spacing:-.02em!important}
.path-hero h1,.hero-v2 h1,.cc-hero h1,.closing h2,.signup-panel h1{font-size:clamp(54px,7.6vw,118px)!important}
.path-card h2,.hub-card h3,.pl-card h3,.me-card h3,.plan h3,.cc-row h3,.section-head h2,.mc-head h2{font-weight:400!important}
.path-card h2{font-size:clamp(36px,3.2vw,50px)!important}
.hub-card h3{font-size:clamp(26px,2.2vw,32px)!important}
h1 em,h2 em{font-style:italic!important;font-weight:400!important}
/* Labels: small mono capitals with a red square bullet, like "■ NEWS  13 AUG 2026". */
html body :is(.eyebrow,.school-label,.pl-cat,.hub-meta,.cc-badge,.crumb,.wn-date .eyebrow){font-family:var(--font-mono)!important;text-transform:uppercase;letter-spacing:.1em!important;font-size:12px!important;font-weight:600!important}
html body :is(.eyebrow,.pl-cat){color:var(--ink)!important}
html body :is(.eyebrow,.pl-cat)::before{content:'■';color:var(--red);margin-inline-end:.6em;font-size:.95em}
html body :is(.film-path,.hub-premier,.is-premier .cc-hero,.mc-premier,.plan-premier,.quiz-prem,.hub-deeper,.continue-panel,body:has(.lesson-tabs)) :is(.eyebrow,.pl-cat){color:var(--on-night)!important}
html body :is(.cc-badge,.hub-meta){color:var(--muted)!important}
/* Buttons: red, square, sans capitals. Secondary buttons: black outline. */
html body :is(.button,.nav-cta,.pl-copy,.light-button,button.primary,a.primary,.cc-gate .button,.cc-prompt button,.prompt button){background:var(--red-bg)!important;border:1px solid var(--red-bg)!important;color:var(--on-red)!important;font-family:var(--font-body)!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.08em!important;font-size:13px!important;box-shadow:none!important}
html body :is(.button,.nav-cta,.pl-copy,.light-button,button.primary,a.primary):hover{background:var(--ink)!important;border-color:var(--ink)!important;color:var(--paper)!important;box-shadow:none!important;transform:none!important}
html body :is(.ghost-button,.pl-ghost){background:transparent!important;border:1px solid var(--rule)!important;color:var(--ink)!important;font-family:var(--font-body)!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.08em!important;font-size:13px!important;border-radius:0!important}
html body :is(.ghost-button,.pl-ghost):hover{border-color:var(--red)!important;color:var(--red)!important}
/* Text links: "READ ARTICLE →" style. */
html body :is(.path-signup,.mc-all,.hub-plans,.cc-plans-link,.mc-go,.hub-go,.me-go,.wn-more){font-family:var(--font-body)!important;text-transform:uppercase;letter-spacing:.1em;font-size:12.5px!important;font-weight:700!important;color:var(--ink)!important;text-decoration:none!important}
html body :is(.path-signup,.mc-all,.hub-plans,.cc-plans-link,.mc-go,.hub-go,.me-go,.wn-more):hover{color:var(--red)!important}
html body :is(.quiz-link,.nl-new,.text-button,.pl-lock a,.signup-panel a:not(.button),.plan-yours){color:var(--ink)!important;text-decoration:underline!important;text-decoration-color:var(--red)!important;text-decoration-thickness:2px!important;text-underline-offset:4px}
html body a:not(.button):not(.ghost-button):not(.nav-cta):hover{color:var(--red)}
/* Columns and sheets: thin black rules, no fills, no lifts. */
html body :is(.path-card,.hub-card,.pl-card,.me-card,.plan,.quiz-card,.wn-week,.nl-box,.cc-panel,.cc-row,.cc-rail,.cc-gate,.cc-quiz,.search-row,.module-row,.signup-panel,.cc-finished,.knowledge-check){background:transparent!important;border:1px solid var(--rule)!important;border-radius:0!important;box-shadow:none!important}
html body :is(.path-card,.hub-card,.pl-card,.cc-row,.module-row,.me-card,.search-row):hover{transform:none!important;box-shadow:none!important;border-color:var(--rule)!important}
html body :is(.path-card,.hub-card,.pl-card,.cc-row,.me-card,.search-row):hover :is(h2,h3){color:var(--red)!important}
html body :is(.path-card,.hub-card){border-top:1px solid var(--rule)!important}
html body .film-path,html body .plan-premier{background:var(--night)!important;border-color:var(--night)!important}
html body .pl-card pre,html body .cc-prompt pre{background:var(--card)!important;border:1px solid var(--line)!important}
.path-top{border-bottom:1px solid var(--rule)!important}
/* Header: a masthead between a red bar and a black rule. */
body>header,header.topbar{background:var(--paper)!important;border-top:5px solid var(--red)!important;border-bottom:1px solid var(--rule)!important}
body>header nav a{font-family:var(--font-body);font-weight:500}
/* Heroes: newsprint with a black rule below; Premier and the film school stay dark bands. */
.path-hero,.closing,body:not(.is-premier) .cc-hero:not(.hub-premier){border-bottom:1px solid var(--rule)!important}
html body :is(.path-hero,.closing,body:not(.is-premier) .cc-hero:not(.hub-premier)) :is(h1 em,h2 em){color:var(--red)!important}
html body .cc-hero .cc-badge{border:1px solid var(--rule)!important;color:var(--ink)!important}
/* Pictures in black and white, in thin black frames. The drawn art keeps its red. */
html body :is(.hero-image img,.hero-image video,.lesson-media img,.lesson-media video,.result-block img,.result-block video,.episode img,main img:not([src*=logo]):not([src$=".svg"]),video){filter:grayscale(1) contrast(1.06)}
html body :is(.hero-image,.cc-stage,.path-art){border:1px solid var(--rule)!important;border-radius:0!important;box-shadow:none!important}
/* Generous red: numbers, selected states, chips, progress, badges. */
html body :is(.cc-num,.module-index,.steps span){color:var(--red)!important;font-style:normal!important}
html body .pl-cats button.on,html body .nla-tabs button.on,html body .quiz-opt.on,html body .cc-rail a.cur,html body .main-nav a.active{background:var(--red-bg)!important;border-color:var(--red-bg)!important;color:var(--on-red)!important}
html body .pl-cats button.on span{color:var(--on-red)!important}
html body :is(.t-paid,.t-premier,.plan-badge){background:var(--red-bg)!important;color:var(--on-red)!important}
html body :is(.t-free,.t-member){background:var(--ink)!important;color:var(--paper)!important}
html body .cc-state .done{background:var(--red-bg)!important;color:var(--on-red)!important}
.cc-progress span,.cc-bar i,.cc-progress i,html body .hub-progress i,html body .hub-progress span,html body .me-bar i,html body .me-bar span{background:var(--red)!important}
html body .me-continue,html body .course-facts{border-left:4px solid var(--red)!important}
html body .path-art span:last-child{background:var(--red-bg)!important;border-color:var(--red-bg)!important;color:var(--on-red)!important}
::selection{background:var(--red-bg);color:var(--on-red)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--red)!important;outline-offset:3px!important}
/* Pop-up and strips follow the masthead. */
.ros-w-card{background:var(--paper);border:1px solid var(--rule);border-top:5px solid var(--red);box-shadow:8px 8px 0 var(--rule)}
.ros-w-actions .ghost-button{font-family:var(--font-body)!important}
.ros-tg-strip{background:var(--ink);border-bottom:0}
.ros-tg-strip a,.ros-tg-strip button{color:var(--paper)!important}
.ros-tg-strip svg{color:var(--red)}
.ros-w-follow a,.ros-follow a{font-family:var(--font-mono)!important;text-transform:uppercase;letter-spacing:.06em;font-size:12px!important}
/* Black frames win over the grey borders of the earlier rounds (:root lifts these above them). */
:root body :is(.path-card,.hub-card,.pl-card,.me-card,.mc-card,.plan,.quiz-card,.quiz-pick,.wn-week,.wn-course,.nl-box,.cc-row,.cc-panel,.cc-rail,.cc-gate,.search-row,.module-row,.cc-finished){border-color:var(--rule)!important;border-radius:0!important;box-shadow:none!important}
:root body .mc-card{background:transparent!important}
:root body :is(.film-path,.plan-premier){border-color:var(--night)!important}
:root body :is(.me-continue,.course-facts){border-left:4px solid var(--red)!important}
/* List ticks: small red squares with a white tick. */
:root body :is(.path-card,.plan,.cc-sec) li::before{background:var(--red-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center/11px no-repeat!important;border-radius:0!important;color:transparent!important}
h1,h2{text-wrap:balance}
/* Film school: square corners throughout and black-and-white footage, like the rest of the paper. */
body:has(.lesson-tabs) :is(*,*::before,*::after){border-radius:0!important}
body:has(.lesson-tabs) :is(.hero-image,.episode,.result-block,.lesson-media,.reference,figure),.app :is(img:not([src*=logo]),video,figure){filter:grayscale(1) contrast(1.06)}
body:has(.lesson-tabs) :is(.locked,.episode-card,.lesson-tabs button){box-shadow:none!important}
body:has(.lesson-tabs) .locked{border:1px solid var(--night-line)!important}
body:has(.lesson-tabs){--red:#ff6b7a;--brand:#ff6b7a}
:root body :is(.plan-badge,.light-button,.pl-copy,[type=submit].button,[data-notify]){color:var(--on-red)!important}
:root body:has(.lesson-tabs) :is(.locked,.locked::before,.locked::after,.rules){border-radius:0!important;border:1px solid var(--night-line)!important}

/* ======================= UX revisions (Nov 2026) ======================= */
/* ---------- Revision 1: the front page ----------
   One page grid for every section (the header, hero, paths, more courses, newsletter, method, closing
   and footer all start on the same left edge), a headline sized to read in two lines, and sections
   separated by newspaper rules instead of alternating grey bands. */
:root{--wrap:1240px;--gutter:max(20px,calc((100vw - var(--wrap))/2))}
:root body>header,:root body>footer{padding-inline:var(--gutter)!important}
:root body :is(.path-hero.hero-v2,.path-section,.more-courses,.nl-home,.method,.closing){padding-inline:var(--gutter)!important;margin-inline:0!important;max-width:none!important;width:auto!important}
:root body :is(.path-section,.more-courses,.nl-home,.method){padding-block:clamp(48px,6vw,80px)!important;background:var(--paper)!important;border-top:1px solid var(--rule)!important;border-bottom:0!important}
:root body .path-hero.hero-v2{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important;gap:clamp(24px,4vw,64px)!important;padding-block:clamp(48px,6vw,84px) clamp(40px,5vw,64px)!important;border-bottom:0!important}
:root body .path-hero.hero-v2 h1{font-size:clamp(50px,6.4vw,98px)!important;max-width:11.5ch}
:root body .path-hero.hero-v2 .intro{font-size:clamp(18px,1.5vw,21px)!important;max-width:44ch}
/* Paths: three equal columns, the note set flush left under them like a caption. */
:root body .path-grid{max-width:none!important;gap:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
:root body .path-grid>.path-card+.path-card{border-inline-start-width:0!important}
:root body .path-note{text-align:start!important;margin:18px 0 0!important;max-width:70ch!important;font-size:14px!important;color:var(--muted)!important}
/* More courses: a full-width index, four across, then the two features side by side. */
:root body .mc-head{margin-bottom:22px!important}
:root body .mc-grid{gap:0!important}
:root body .mc-grid>.mc-card+.mc-card{border-inline-start-width:0!important}
:root body .mc-card{border-top:3px solid var(--rule)!important;padding:22px!important}
:root body .mc-card:hover h3{color:var(--red)}
:root body .mc-duo{gap:0!important;margin-top:-1px!important}
:root body .mc-duo>*{border:1px solid var(--rule)!important;border-radius:0!important;box-shadow:none!important}
:root body .mc-duo>*+*{border-inline-start-width:0!important}
:root body .mc-prompts{background:transparent!important}
/* Newsletter and method: flush to the grid. */
:root body .nl-home .nl-box{margin:0!important;max-width:none!important}
:root body .steps{gap:0!important}
:root body .steps>*{padding-inline-end:28px;border-top:3px solid var(--rule);padding-top:18px}
:root body .steps>*+*{padding-inline-start:28px;border-inline-start:1px solid var(--line)}
:root body .closing{border-top:3px double var(--rule)!important;padding-block:clamp(56px,8vw,110px)!important}
@media(max-width:860px){
 :root body .path-hero.hero-v2{grid-template-columns:1fr!important}
 :root body .path-hero.hero-v2 h1{max-width:none;margin-inline:auto!important}
 :root body .path-grid{grid-template-columns:1fr!important;gap:16px!important}
 :root body .path-grid>.path-card+.path-card,:root body .mc-grid>.mc-card+.mc-card,:root body .mc-duo>*+*{border-inline-start-width:1px!important}
 :root body .mc-grid,:root body .mc-duo{gap:12px!important}
 :root body .mc-duo{margin-top:12px!important}
 :root body .steps>*,:root body .steps>*+*{padding-inline:0;border-inline-start:0}
}
/* Phone front page: the headline comes first, set flush left like a newspaper; the robot follows, smaller. */
@media(max-width:860px){
 :root body .path-hero.hero-v2{text-align:start!important;padding-top:32px!important}
 :root body .path-hero.hero-v2 .hero-art{order:2!important;max-width:240px!important;margin:8px auto 0!important}
 :root body .path-hero.hero-v2 :is(h1,.intro,p){margin-inline:0!important}
 :root body .path-hero.hero-v2 .hero-actions{justify-content:flex-start!important}
}

/* ---------- Revision 2: section headers ----------
   Inner pages open with a compact newspaper section header instead of a full-screen hero, so the
   courses, prompts, plans and results are on the first screen. Every inner page now uses the same
   page grid as the front page. */
:root body .cc-wrap{max-width:none!important;margin:0!important;padding-inline:var(--gutter)!important}
:root body .cc-hero{padding-inline:var(--gutter)!important}
:root body .cc-hero.hub-hero{padding-block:clamp(32px,4vw,52px) clamp(28px,3.4vw,44px)!important;grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr)!important;align-items:end!important;gap:clamp(20px,4vw,56px)!important;min-height:0!important}
:root body .cc-hero.hub-hero h1{font-size:clamp(42px,5vw,74px)!important;line-height:.98!important;margin:6px 0 14px!important;max-width:16ch}
:root body .cc-hero.hub-hero h1 em{display:inline!important}
:root body .cc-hero.hub-hero .intro{font-size:clamp(16.5px,1.3vw,19px)!important;max-width:56ch;margin:0 0 4px!important}
:root body .cc-hero.hub-hero .cc-badges{margin-top:14px!important;gap:6px!important}
:root body .cc-hero.hub-hero .cc-badge{padding:5px 9px!important;font-size:11px!important}
:root body .cc-hero.hub-hero .hub-offer{padding:22px 24px!important;align-self:end}
:root body .cc-hero.hub-hero .hub-offer h2{font-size:clamp(24px,2vw,30px)!important;margin:0 0 8px!important}
:root body .cc-hero.hub-hero .hub-offer p,:root body .cc-hero.hub-hero .hub-offer li{font-size:15px!important}
:root body .cc-hero.hub-hero>.cc-hero-copy>p:not(.eyebrow):not(.intro){margin:12px 0 0!important}
/* Pages with nothing beside the title use one wide column. */
:root body .cc-hero.hub-hero:not(:has(>:nth-child(2))){grid-template-columns:1fr!important}
:root body .cc-hero.hub-hero:not(:has(>:nth-child(2))) h1{max-width:22ch}
/* Quiz: the progress marks sit under the question count, not floating at the side. */
:root body .cc-hero.quiz-hero{grid-template-columns:1fr!important}
:root body .cc-hero.quiz-hero .quiz-dots{justify-content:flex-start!important;margin-top:4px}
/* Course front pages: a shorter hero, still the largest headline on the site after the home page. */
:root body .cc-hero:not(.hub-hero){padding-block:clamp(36px,4.6vw,64px) clamp(32px,4vw,52px)!important}
:root body .cc-hero:not(.hub-hero) h1{font-size:clamp(46px,5.8vw,92px)!important}
:root body .cc-hero:not(.hub-hero) .cc-hero-art{max-width:300px;justify-self:center}
@media(max-width:860px){
 :root body .cc-hero.hub-hero{grid-template-columns:1fr!important;padding-block:26px 24px!important}
 :root body .cc-hero.hub-hero h1{font-size:clamp(38px,10vw,52px)!important}
 :root body .cc-hero:not(.hub-hero) .cc-hero-art{max-width:200px;order:2}
}
:root body .cc-hero.hub-hero h1 em::before{content:" "}

/* ---------- Revision 3: masthead and menus ----------
   The page you are on is marked in red; the header tightens when you scroll; the search button is a
   drawn magnifier instead of an emoji; the language picker and menu button are square; the phone menu
   is a full newspaper index with large serif links; the Telegram strip stays on one line. */
:root body>header{transition:padding .2s ease,box-shadow .2s ease}
:root body>header nav a{position:relative;font-family:var(--font-body)!important;font-size:14.5px!important;font-weight:500!important;color:var(--ink)!important;text-decoration:none!important}
:root body>header nav a[aria-current=page]{color:var(--red)!important}
:root body>header nav a[aria-current=page]:not(.nav-cta):not(.nav-search)::after{content:'';position:absolute;inset-inline:0;bottom:-6px;height:2px;background:var(--red)}
:root body>header.is-scrolled{padding-block:8px!important;box-shadow:0 1px 0 var(--rule),0 8px 18px -14px rgba(0,0,0,.35)}
:root body>header.is-scrolled .brand img{width:40px!important;height:40px!important}
:root body>header .brand img{transition:width .2s ease,height .2s ease}
/* Search: a drawn magnifier in ink. */
:root body .nav-search{display:inline-grid!important;place-items:center;width:38px!important;height:38px!important;font-size:0!important;border:1px solid var(--rule)!important;border-radius:0!important;background:transparent!important;color:var(--ink)!important}
:root body .nav-search::before{content:'';width:17px;height:17px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='%23000' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='%23000' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center/contain no-repeat}
:root body .nav-search:hover{border-color:var(--red)!important;color:var(--red)!important}
:root body .nav-search[aria-current=page]{background:var(--red-bg)!important;border-color:var(--red-bg)!important;color:var(--on-red)!important}
:root body>header select{border:1px solid var(--rule)!important;border-radius:0!important;background-color:transparent!important;font-family:var(--font-mono)!important;font-size:12.5px!important;text-transform:uppercase;letter-spacing:.06em;min-height:38px}
:root body .menu-toggle{border:1px solid var(--rule)!important;border-radius:0!important;background:transparent!important}
/* Telegram strip: one quiet line. */
.ros-tg-strip{padding-block:7px!important}
.ros-tg-strip a{font-size:12.5px!important;min-width:0}
.ros-tg-strip a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:860px){
 :root body>header.menu-open nav{padding-block:6px 18px}
 :root body>header.menu-open nav a:not(.nav-cta):not(.nav-search){font-family:var(--font-display)!important;font-size:27px!important;font-weight:400!important;letter-spacing:-.02em;padding-block:12px!important;border-bottom:1px solid var(--line)!important}
 :root body>header.menu-open nav a[aria-current=page]::before{content:'■ ';color:var(--red);font-size:16px;vertical-align:middle}
 :root body>header.menu-open nav a[aria-current=page]::after{display:none}
 :root body>header.menu-open .nav-search{width:100%!important;height:auto!important;display:flex!important;justify-content:flex-start;gap:12px;padding:13px 14px!important;margin-top:14px}
 :root body>header.menu-open .nav-search::after{content:attr(aria-label);font-family:var(--font-body);font-weight:600;font-size:16px}
 .ros-tg-strip{justify-content:flex-start;gap:8px}
 .ros-tg-strip a{flex:1}
}

/* ---------- Revision 4: the course page as a table of contents ----------
   Lessons read like a newspaper's contents: one framed list with ruled rows, a large red number, the
   title in serif, the time and access level in small capitals, and the state at the end. Locked
   lessons fade back. "Your path" and "New this week" sit side by side without empty space. */
:root body .cc-top{align-items:start!important;gap:0!important;margin-bottom:36px!important;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important}
:root body .cc-top>.cc-panel{padding:22px 26px!important;min-height:0!important}
:root body .cc-top>.cc-panel+.cc-panel{border-inline-start-width:0!important}
:root body .cc-top h2{font-size:clamp(22px,1.9vw,27px)!important;margin:0 0 14px!important}
:root body .cc-path{gap:2px!important}
:root body .cc-path li{display:grid!important;grid-template-columns:132px 1fr;gap:12px;align-items:center;padding:8px 0!important;border-top:1px solid var(--line)}
:root body .cc-path li:first-child{border-top:0}
:root body .cc-path b{min-width:0!important;width:100%;border-radius:0!important;font-family:var(--font-mono)!important;text-transform:uppercase;letter-spacing:.06em;font-size:10.5px!important;padding:6px 8px!important}
:root body .cc-path li b::before{filter:grayscale(1) brightness(3)}
:root body .cc-new ul{margin:0;padding-inline-start:18px}
:root body .cc-new li{font-size:15.5px;line-height:1.55;margin-bottom:6px}
:root body .cc-new li::marker{color:var(--red)}
/* The contents list. */
:root body .cc-list{gap:0!important;border:1px solid var(--rule);border-bottom:0}
:root body .cc-list>.cc-row{border:0!important;border-bottom:1px solid var(--rule)!important;background:transparent!important;grid-template-columns:46px 74px minmax(0,1fr) auto!important;gap:18px!important;padding:16px 22px!important;transition:background-color .15s!important}
:root body .cc-list>.cc-row:hover{background:var(--card)!important;transform:none!important}
:root body .cc-list>.cc-row .cc-icon{width:42px!important;height:42px!important;font-size:20px}
:root body .cc-list>.cc-row .cc-num{font-size:clamp(34px,2.8vw,42px)!important;line-height:1;font-weight:400!important;letter-spacing:-.03em!important}
:root body .cc-list>.cc-row h3{font-size:clamp(20px,1.6vw,23px)!important;margin:0 0 3px!important}
:root body .cc-list>.cc-row p{font-size:14px!important;color:var(--muted)!important}
:root body .cc-list>.cc-row .cc-state{display:flex;align-items:center;gap:10px;font-family:var(--font-mono);font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
:root body .cc-list>.cc-row .cc-state b{font-family:var(--font-mono)!important;text-transform:uppercase;letter-spacing:.06em;padding:4px 7px!important;font-size:10px!important}
:root body .cc-list>.cc-row.cc-lock :is(.cc-num,h3,p,.cc-icon){opacity:.55}
:root body .cc-list>.cc-row.cc-lock:hover :is(.cc-num,h3,p,.cc-icon){opacity:.8}
:root body .cc-list>.cc-row.cc-done .cc-num{color:var(--ink)!important}
:root body .cc-list+.nl-box{margin-top:44px!important}
@media(max-width:860px){
 :root body .cc-top{grid-template-columns:1fr!important}
 :root body .cc-top>.cc-panel+.cc-panel{border-inline-start-width:1px!important;border-top-width:0!important}
 :root body .cc-list>.cc-row{grid-template-columns:52px minmax(0,1fr)!important;gap:4px 12px!important;padding:14px 16px!important}
 :root body .cc-list>.cc-row .cc-icon{display:none!important}
 :root body .cc-list>.cc-row .cc-state{grid-column:2;margin-top:6px}
}
:root body .cc-top{align-items:stretch!important}
@media(max-width:860px){
 :root body .cc-list>.cc-row .cc-num{display:block!important;grid-column:1;grid-row:1 / span 2;font-size:34px!important;align-self:start}
 :root body .cc-list>.cc-row>div{grid-column:2;grid-row:1}
 :root body .cc-list>.cc-row .cc-state{grid-column:2;grid-row:2}
}

/* ---------- Revision 5: reading a lesson ----------
   A reading column of about 70 characters with larger, airier text; section headings that open
   under a rule like newspaper sub-heads; the "Like you're five" note set as a pull quote; the lesson
   list beside it stays in view below the header; previous and next lessons become two large framed
   links at the end. */
:root body .cc-lesson{grid-template-columns:minmax(0,760px) minmax(240px,290px)!important;justify-content:space-between!important;gap:clamp(32px,5vw,90px)!important}
:root body .cc-lesson>article{max-width:760px}
:root body .cc-lesson>article>h1{font-size:clamp(42px,4.6vw,68px)!important;margin:10px 0 10px!important;line-height:1!important}
:root body .cc-lesson .cc-tagline{font-size:clamp(18px,1.5vw,21px)!important;color:var(--ink-2)!important;margin-bottom:28px!important}
:root body .cc-lesson .cc-back{font-family:var(--font-body);text-transform:uppercase;letter-spacing:.1em;font-size:12px!important;font-weight:700;color:var(--ink)!important;text-decoration:none!important}
:root body .cc-lesson .cc-back:hover{color:var(--red)!important}
:root body .cc-lesson .cc-sec{margin-top:44px!important;padding-top:16px;border-top:1px solid var(--rule)}
:root body .cc-lesson .cc-sec h2{font-size:clamp(26px,2.2vw,32px)!important;margin:0 0 14px!important}
:root body .cc-lesson .cc-sec :is(p,li){font-size:17.5px!important;line-height:1.75!important;color:var(--ink-2)!important}
:root body .cc-lesson .cc-sec li{margin-bottom:8px}
:root body .cc-lesson .cc-sec li::marker{color:var(--red)}
:root body .cc-lesson .cc-sec strong{color:var(--ink)}
/* Pull quote. */
:root body .cc-lesson .cc-like5{margin:32px 0 0!important;padding:6px 0 6px 26px!important;background:transparent!important;border:0!important;border-inline-start:4px solid var(--red)!important;font-family:var(--font-display)!important;font-size:clamp(21px,1.8vw,25px)!important;line-height:1.45!important;letter-spacing:-.01em;color:var(--ink)!important}
:root body .cc-lesson .cc-like5 b{display:block;font-family:var(--font-mono);font-size:11.5px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:8px;font-weight:600}
:root body .cc-lesson .cc-like5 b::before{content:'■ ';color:var(--red)}
:root body .cc-lesson .cc-tip{margin-top:36px!important;background:var(--card)!important;border:1px solid var(--rule)!important;border-radius:0!important;padding:16px 20px!important;display:flex;gap:14px;align-items:baseline}
:root body .cc-lesson .cc-tip b{font-family:var(--font-mono);font-size:11.5px;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap;color:var(--red)}
:root body .cc-lesson .cc-stage{margin-top:6px}
/* Quick check, notes and the finish line. */
:root body .cc-lesson :is(.cc-quiz,.cc-notes){margin-top:36px!important;padding:22px 24px!important}
:root body .cc-lesson .cc-quiz label{border-radius:0!important;border:1px solid var(--line)!important;padding:12px 14px!important;font-size:16px!important}
:root body .cc-lesson .cc-quiz label:hover{border-color:var(--rule)!important}
:root body .cc-lesson .cc-notes textarea{border-radius:0!important;border:1px solid var(--rule)!important;background:var(--paper)!important;font-size:16px!important}
:root body .cc-lesson .cc-complete{margin-top:32px!important;display:flex;flex-wrap:wrap;align-items:center;gap:14px}
:root body .cc-lesson .cc-complete .button.is-done{background:var(--ink)!important;border-color:var(--ink)!important;color:var(--paper)!important}
/* Previous and next. */
:root body .cc-lesson .cc-pager{display:grid!important;grid-template-columns:1fr 1fr;gap:0;margin-top:40px!important;border:1px solid var(--rule)}
:root body .cc-lesson .cc-pager a{display:block;padding:22px 24px;font-family:var(--font-body);text-transform:uppercase;letter-spacing:.1em;font-size:13px!important;font-weight:700;color:var(--ink)!important;text-decoration:none!important;transition:background-color .15s,color .15s}
:root body .cc-lesson .cc-pager a:last-child{text-align:end;border-inline-start:1px solid var(--rule)}
:root body .cc-lesson .cc-pager a:only-child{grid-column:1 / -1}
:root body .cc-lesson .cc-pager a:hover{background:var(--red-bg);color:var(--on-red)!important}
/* The lesson list stays in view under the header. */
:root body .cc-lesson .cc-rail{top:88px!important;max-height:calc(100vh - 110px);overflow:auto;padding:0!important}
:root body .cc-lesson .cc-rail a{display:flex;gap:10px;align-items:baseline;padding:10px 14px!important;border-bottom:1px solid var(--line);font-size:13.5px!important;line-height:1.4;border-radius:0!important;color:var(--ink)!important;text-decoration:none!important}
:root body .cc-lesson .cc-rail a:last-child{border-bottom:0}
:root body .cc-lesson .cc-rail a:hover:not(.cur){background:var(--card)!important;color:var(--red)!important}
@media(max-width:900px){
 :root body .cc-lesson{grid-template-columns:1fr!important}
 :root body .cc-lesson .cc-rail{position:static!important;max-height:none}
 :root body .cc-lesson .cc-pager a{padding:18px 16px}
}

/* ---------- Revision 6: the prompt library ----------
   A ruled search bar and category index like a newspaper's classifieds; prompt cards of equal height
   whose text shows the first lines and fades out (Copy and Fill in still use the whole prompt; the
   text scrolls when focused); the blanks to fill in printed as red-underlined words; the fill-in
   window framed like the rest of the paper. */
:root body .pl-wrap{padding-top:30px!important}
:root body .pl-tools{gap:12px 28px!important;margin-bottom:16px!important;align-items:stretch!important}
:root body .pl-search{border-radius:0!important;border:1px solid var(--rule)!important;background:var(--card)!important;box-shadow:none!important;padding:4px 16px!important;flex-basis:440px!important}
:root body .pl-search:focus-within{outline:2px solid var(--red);outline-offset:2px}
:root body .pl-search input{font-size:17px!important}
:root body .pl-how{align-self:center;font-size:14px!important;max-width:52ch}
:root body .pl-cats{gap:0!important;margin-bottom:28px!important;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding-block:10px}
:root body .pl-cats button{border:0!important;background:transparent!important;border-radius:0!important;padding:7px 12px!important;font-family:var(--font-mono)!important;font-size:12px!important;font-weight:600!important;text-transform:uppercase;letter-spacing:.06em;color:var(--ink)!important}
:root body .pl-cats button:hover{color:var(--red)!important}
:root body .pl-cats button span{color:var(--muted)!important}
:root body .pl-cats button.on{background:var(--red-bg)!important;color:var(--on-red)!important}
:root body .pl-cats .pl-mine:not(.on){color:var(--red)!important}
/* Cards. */
:root body .pl-grid{gap:0!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr))!important;border-top:1px solid var(--rule);border-inline-start:1px solid var(--rule)}
:root body .pl-grid>.pl-card{border:0!important;border-inline-end:1px solid var(--rule)!important;border-bottom:1px solid var(--rule)!important;padding:22px 22px 20px!important;gap:10px!important}
:root body .pl-grid>.pl-card:hover{background:var(--card)!important}
:root body .pl-card h3{font-size:clamp(21px,1.7vw,24px)!important;line-height:1.15!important}
:root body .pl-card .pl-use{font-size:14.5px!important;color:var(--muted)!important;min-height:2.9em}
:root body .pl-card pre{max-height:10.4em!important;overflow:hidden!important;background:transparent!important;border:0!important;border-inline-start:2px solid var(--line)!important;border-radius:0!important;padding:2px 0 2px 14px!important;font-size:14px!important;line-height:1.62!important;color:var(--ink-2);-webkit-mask-image:linear-gradient(#000 62%,transparent);mask-image:linear-gradient(#000 62%,transparent)}
:root body .pl-card pre:focus{overflow:auto!important;-webkit-mask-image:none;mask-image:none;outline:2px solid var(--red);outline-offset:2px}
:root body .pl-card mark,:root body .pl-how mark,:root body .pl-preview mark{background:transparent!important;color:var(--ink)!important;font-weight:600;border-radius:0!important;text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:3px}
:root body .pl-card .pl-actions{margin-top:auto!important;padding-top:6px}
:root body .pl-free{border-radius:0!important;background:transparent!important;border:1px solid var(--line);color:var(--muted)!important;font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.06em;font-size:10.5px!important}
:root body .pl-lock{border-radius:0!important;border:1px dashed var(--rule)!important;margin-top:auto!important}
:root body .pl-more{margin-top:30px!important}
/* Fill-in window. */
:root body dialog.pl-fill{border:1px solid var(--rule)!important;border-top:5px solid var(--red)!important;border-radius:0!important;background:var(--paper)!important;box-shadow:8px 8px 0 var(--rule)!important;padding:26px 28px!important}
:root body dialog.pl-fill::backdrop{background:rgba(17,17,17,.5)}
:root body .pl-fill h2{font-size:clamp(26px,2.4vw,34px)!important}
:root body .pl-x{border-radius:0!important;background:transparent!important;border:1px solid var(--rule)!important}
:root body .pl-x:hover{border-color:var(--red)!important;color:var(--red)!important}
:root body .pl-fields textarea{border-radius:0!important;border:1px solid var(--rule)!important;background:var(--card)!important;font-size:15px!important}
:root body .pl-fields span{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.06em;color:var(--ink)!important;font-size:11px!important}
:root body .pl-preview{border-radius:0!important;background:var(--card)!important;border:1px solid var(--line)!important}
@media(max-width:860px){
 :root body .pl-cats{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter)}
 :root body .pl-cats::-webkit-scrollbar{display:none}
 :root body .pl-cats button{white-space:nowrap;flex:none}
}

/* ---------- Revision 7: quiz, What's new, search and My learning ----------
   The quiz becomes one centred question sheet with large lettered answers; What's new is a dated
   column beside one ruled list of courses; search results read as a contents list with the kind of
   result in small capitals; My learning's course cards sit in joined ruled grids. */
/* Quiz. */
:root body .quiz-wrap{max-width:820px!important;margin-inline:auto!important}
:root body .quiz-card{padding:clamp(24px,3.4vw,40px)!important;border-top:5px solid var(--red)!important}
:root body .quiz-card h2{font-size:clamp(30px,3.2vw,44px)!important;margin:8px 0 24px!important}
:root body .quiz-options{gap:0!important;border-top:1px solid var(--rule)}
:root body .quiz-options button{border:0!important;border-bottom:1px solid var(--rule)!important;border-radius:0!important;background:transparent!important;padding:16px 6px!important;font:500 18px var(--font-body)!important;transition:background-color .15s,padding .15s!important;transform:none!important}
:root body .quiz-options button:hover,:root body .quiz-options button:focus-visible{background:var(--card)!important;padding-inline-start:14px!important;color:var(--red)!important}
:root body .quiz-options button span{border-radius:0!important;background:transparent!important;border:1px solid var(--rule);font-family:var(--font-mono);color:var(--ink)!important}
:root body .quiz-options button:hover span{background:var(--red-bg)!important;border-color:var(--red-bg);color:var(--on-red)!important}
:root body .quiz-dots span{border-radius:0!important;height:5px!important;width:52px!important;background:var(--line)!important}
:root body .quiz-dots :is(.on,.cur){background:var(--red)!important}
:root body .quiz-back{font-family:var(--font-body)!important;text-transform:uppercase;letter-spacing:.1em;font-size:12px!important}
:root body .quiz-pick{border-radius:0!important;box-shadow:none!important;border-top:5px solid var(--red)!important}
:root body .quiz-pick h3 em{color:var(--red)!important}
/* What's new. */
:root body .wn-week{display:grid!important;grid-template-columns:200px minmax(0,1fr)!important;gap:0!important;border:0!important;border-top:3px solid var(--rule)!important;padding-top:0!important;background:transparent!important}
:root body .wn-date{padding:18px 24px 0 0!important;position:sticky;top:88px;align-self:start;border:0!important}
:root body .wn-date b,:root body .wn-date strong,:root body .wn-date h2{font-family:var(--font-display)!important;font-size:clamp(26px,2.2vw,32px)!important;font-weight:400!important;line-height:1.05;letter-spacing:-.02em;display:block}
:root body .wn-dot{display:none!important}
:root body .wn-items{display:grid!important;gap:0!important;border-inline-start:1px solid var(--rule)}
:root body .wn-course{border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;padding:20px 0 18px 26px!important;box-shadow:none!important}
:root body .wn-course:last-child{border-bottom:0!important}
:root body .wn-course-head{font-family:var(--font-display);font-size:23px;letter-spacing:-.015em}
:root body .wn-course li{font-size:16px;line-height:1.6;margin-bottom:6px}
:root body .wn-course li::marker{color:var(--red)}
/* Search. */
:root body .search-box{border-radius:0!important;background:var(--card)!important;border:1px solid var(--rule)!important;box-shadow:none!important;padding:4px 18px!important;max-width:820px!important}
:root body .search-box:focus-within{outline:2px solid var(--red);outline-offset:2px}
:root body .search-box input{font:400 clamp(20px,2vw,26px) var(--font-display)!important;color:var(--ink)!important}
:root body .search-hint{color:var(--muted)!important}
:root body .search-list{gap:0!important;border-top:1px solid var(--rule)}
:root body .search-list .search-row{border:0!important;border-bottom:1px solid var(--rule)!important;border-radius:0!important;background:transparent!important;padding:14px 4px!important;box-shadow:none!important}
:root body .search-list .search-row:hover{background:var(--card)!important;padding-inline-start:12px!important}
:root body .search-row b,:root body .search-row strong{font-family:var(--font-display);font-weight:400!important;font-size:19px}
:root body .search-meta{font-family:var(--font-mono);font-size:11px!important;text-transform:uppercase;letter-spacing:.08em;color:var(--red)!important}
:root body .search-count{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.08em;font-size:12px}
/* My learning. */
:root body .me-grid{gap:0!important;border-top:1px solid var(--rule);border-inline-start:1px solid var(--rule)}
:root body .me-grid>.me-card{border:0!important;border-inline-end:1px solid var(--rule)!important;border-bottom:1px solid var(--rule)!important;padding:16px 18px!important}
:root body .me-grid>.me-card:hover{background:var(--card)!important}
:root body .me-pct{font-family:var(--font-display)!important;font-size:24px!important;font-weight:400!important;color:var(--red)!important}
:root body .me-continue{padding:20px 24px!important;background:var(--card)!important}
:root body .me-stats div{border-color:var(--rule)!important;background:transparent!important}
:root body .me-stats b{font-family:var(--font-display)!important;font-size:clamp(36px,3.4vw,48px)!important;font-weight:400!important}
@media(max-width:760px){
 :root body .wn-week{grid-template-columns:1fr!important}
 :root body .wn-date{position:static;padding:14px 0 6px!important}
 :root body .wn-items{border-inline-start:0;border-top:1px solid var(--rule)}
 :root body .wn-course{padding-inline-start:0!important}
}

/* ---------- Revision 8: the colophon and the thumb ----------
   Every page now ends with the same newspaper colophon: a double rule, the line about the school in
   serif, small print kept to a readable width, and the Telegram and X links set to the right (below
   on phones). On phones every small text link gets a finger-sized tap area, the menu and language
   controls are 44 pixels high, and the home robot's orbit no longer pokes past the screen edge. */
:root body>footer{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:14px 40px!important;border-top:3px double var(--rule)!important;background:var(--paper)!important;padding-block:34px 40px!important;font-family:var(--font-display)!important;font-size:17px!important;line-height:1.4;color:var(--ink)!important;text-align:start!important}
:root body>footer>p:not(.ros-follow){font-family:var(--font-body)!important;font-size:13.5px!important;line-height:1.6!important;color:var(--muted)!important;max-width:60ch!important;margin:0!important}
:root body>footer>span{font-family:var(--font-mono);font-size:12px;text-transform:uppercase;letter-spacing:.1em}
:root body>footer>a:not(.brand){font-family:var(--font-body)!important;font-size:12.5px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.1em;color:var(--ink)!important;text-decoration:none!important;border:0!important;background:transparent!important;padding:0!important}
:root body>footer>a:not(.brand):hover{color:var(--red)!important}
:root body>footer .ros-follow{flex-basis:auto!important;margin:0 0 0 auto!important;border:0!important;padding:0!important;gap:8px 22px!important}
[dir=rtl] body>footer .ros-follow{margin:0 auto 0 0!important}
:root body>footer .ros-follow a{padding:8px 0}
:root body .path-hero.hero-v2{overflow:hidden!important}
@media(max-width:860px){
 :root body>footer{flex-direction:column!important;align-items:flex-start!important;gap:12px!important;padding-block:28px 34px!important}
 :root body>footer .ros-follow{margin:6px 0 0!important;flex-direction:column;align-items:flex-start;gap:2px!important}
 :root body :is(.quiz-link,.path-signup,.mc-all,.mc-go,.hub-plans,.cc-plans-link,.cc-back,.nl-new,.text-button,.pl-lock a,.hub-go,.me-go){display:inline-block;padding-block:10px!important}
 :root body .menu-toggle{width:44px!important;height:44px!important}
 :root body>header.menu-open select{min-height:44px!important}
 :root body .cc-hero .cc-badges{gap:6px!important}
 :root body .button,:root body .ghost-button{min-height:46px}
}
:root body .quiz-link{border-bottom:0!important}

/* ---------- Revision 9: loading, motion and finish ----------
   While a page fetches its content it shows a printed page proof (grey bars where the label, headline
   and text will go) instead of the word "Loading…", which stays for screen readers. Content settles in
   with a short fade. Jumps to a section stop below the sticky header. Every small label (chips, tags,
   access levels) uses the same typewriter capitals with a thin frame. All motion is switched off for
   people who ask their device for less motion. */
html{scroll-padding-top:110px}
:root body main>p.cc-wrap[data-ui=loading]{position:relative;min-height:72vh;margin:0;padding-block:clamp(32px,4vw,52px)!important;color:transparent!important;overflow:hidden;font-size:0}
:root body main>p.cc-wrap[data-ui=loading]::before{content:'';position:absolute;inset-inline:var(--gutter);top:clamp(32px,4vw,52px);height:340px;
 background:
  linear-gradient(var(--red),var(--red)) 0 0/10px 10px no-repeat,
  linear-gradient(var(--line),var(--line)) 18px 0/220px 10px no-repeat,
  linear-gradient(var(--line),var(--line)) 0 34px/min(620px,80%) 56px no-repeat,
  linear-gradient(var(--line),var(--line)) 0 104px/min(440px,60%) 56px no-repeat,
  linear-gradient(var(--line),var(--line)) 0 192px/min(520px,72%) 12px no-repeat,
  linear-gradient(var(--line),var(--line)) 0 214px/min(480px,66%) 12px no-repeat,
  linear-gradient(var(--rule),var(--rule)) 0 268px/100% 1px no-repeat,
  linear-gradient(var(--line),var(--line)) 0 300px/31% 40px no-repeat,
  linear-gradient(var(--line),var(--line)) 50% 300px/31% 40px no-repeat,
  linear-gradient(var(--line),var(--line)) 100% 300px/31% 40px no-repeat;
 animation:ros-proof 1.4s ease-in-out infinite alternate}
@keyframes ros-proof{from{opacity:.55}to{opacity:1}}
/* Content settles in. */
@keyframes ros-settle{from{transform:translateY(5px)}to{transform:none}}
:root body #app>:is(.cc-hero,.cc-wrap,section){animation:ros-settle .32s ease-out both}
:root body #app>.cc-wrap{animation-delay:.05s}
/* One style for every small label. */
:root body :is(.hub-chip,.cc-badge,.pl-free,.cc-state b,.cc-path b,.t-free,.t-member,.t-paid,.t-premier,.plan-badge){font-family:var(--font-mono)!important;text-transform:uppercase!important;letter-spacing:.07em!important;font-size:10.5px!important;font-weight:600!important;border-radius:0!important;line-height:1.3!important}
:root body .hub-chip{padding:5px 8px!important;border:1px solid var(--ink)!important}
:root body .hub-chip.hub-chip-soft{background:transparent!important;border-color:var(--line)!important;color:var(--muted)!important}
/* Hover and focus behave the same everywhere: titles and links turn red, framed things get an ink edge. */
:root body :is(.hub-card,.mc-card,.pl-card,.me-card,.search-row,.cc-row,.quiz-pick){transition:background-color .15s ease,color .15s ease}
:root body :is(a,button,summary,input,select,textarea):focus-visible{outline:2px solid var(--red)!important;outline-offset:3px!important;border-radius:0!important}
:root body :target{scroll-margin-top:110px}
@media(prefers-reduced-motion:reduce){
 :root body main>p.cc-wrap[data-ui=loading]::before,:root body #app>*{animation:none!important}
 :root body>header,:root body>header .brand img{transition:none!important}
}

/* ---------- Revision 10: dark mode, access and every language ----------
   The current lesson in the side list prints in white on red; the settle-in motion never hides content
   (a page caught mid-animation, by a slow phone or a link preview, is still readable); right-to-left
   pages mirror the red rules and quotes. */
:root body .cc-lesson .cc-rail a.cur{background:var(--red-bg)!important;color:var(--on-red)!important}
:root body .cc-lesson .cc-rail a.cur *{color:var(--on-red)!important}
[dir=rtl] :root body .cc-lesson .cc-like5,[dir=rtl] body .cc-lesson .cc-like5{padding:6px 26px 6px 0!important}
[dir=rtl] body .cc-lesson .cc-pager a:last-child{text-align:start}
[dir=rtl] body .cc-lesson .cc-pager a:first-child{text-align:end}
[dir=rtl] body .eyebrow::before{margin-inline-end:.6em}

/* Design round one: a welcoming editorial school, with a clear path into learning. */
:root{--paper:#f8f6f0;--sand:#f0ede5;--card:#fffdf8;--ink:#242722;--red:#b82c35;--red-bg:#b82c35;--brand:#b82c35;--brand-deep:#92222a;--rule:#d4d4ca;--line:#e1e1d7}
:root body>header{border-top:0!important;border-bottom:1px solid var(--line)!important;padding-block:20px!important;gap:28px}
:root body>header nav{gap:22px!important}
:root body>header nav a{white-space:nowrap;font-size:13px!important}
:root body>header .brand .wordmark{width:150px;height:50px}
:root body>header .brand img{width:42px!important;height:42px!important}
:root body>header .nav-cta{color:white!important;padding:13px 18px!important}
:root body .ros-tg-strip{background:#eaece3!important;border-bottom:1px solid var(--line);padding-block:9px!important}
:root body .ros-tg-strip a,:root body .ros-tg-strip button{color:#38443b!important}
:root body.ros-round-one .path-hero.hero-v2{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;padding-block:70px 65px!important;gap:6vw!important;background:var(--paper)!important}
:root body.ros-round-one .hero-copy-v2 h1{font-size:clamp(56px,6.3vw,96px)!important;line-height:1.02!important;letter-spacing:-.045em!important;max-width:12ch;margin-bottom:26px!important}
:root body.ros-round-one .hero-copy-v2 h1 em{color:var(--red)!important}
:root body.ros-round-one .hero-copy-v2 .intro{color:#60665e!important;font-size:18px!important;max-width:34ch;line-height:1.65!important}
:root body.ros-round-one .hero-actions{gap:16px;margin-top:30px}
:root body.ros-round-one .hero-actions .button{padding:17px 22px!important;font-size:12px!important;letter-spacing:.03em!important}
:root body.ros-round-one .hero-actions .ghost-button{padding:16px 0!important;border:0!important;border-bottom:1px solid var(--ink)!important;font-size:12px!important;background:transparent!important}
:root body.ros-round-one .quiz-link{display:inline-block;margin-top:24px;font-size:12px!important;color:#596158!important}
:root body.ros-round-one .byline{font-size:11px!important;color:#73786e!important;margin-top:14px!important}
:root body.ros-round-one .hero-art{background:#e9ece2;border:1px solid #d4dacb;max-width:none!important;width:100%;padding:25px 28px 0;transform:rotate(1.5deg);box-shadow:10px 12px 0 #e8e5dc!important}
.studio-label,.studio-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;font:10px/1.5 var(--font-mono);letter-spacing:.07em;color:#4f5e4e}
:root body.ros-round-one .studio-bot{margin:15px 0;background:radial-gradient(ellipse,#d5deca,transparent 68%)}
:root body.ros-round-one .hero-art svg{max-width:310px;height:290px}
.studio-caption{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #c6cfbd;padding-block:20px;font:30px/1.12 var(--font-display);letter-spacing:-.025em}
.studio-caption>span{max-width:14ch}.studio-caption>a{display:grid;place-items:center;width:46px;height:46px;border:1px solid #a8b7a0;border-radius:50%;flex-shrink:0}
.studio-caption>a:hover{background:var(--red);color:white}
.studio-foot{margin-inline:-28px;padding:15px 28px;background:#dfe5d5;font-size:9px}
.r1-facts{display:grid;grid-template-columns:repeat(3,1fr) 1.2fr;align-items:center;padding:25px var(--gutter);border-block:1px solid var(--rule);background:#f0eee7;gap:20px}
.r1-facts>div{display:flex;align-items:center;gap:16px;border-inline-end:1px solid var(--rule)}
.r1-facts b{font:42px/1 var(--font-display);letter-spacing:-.04em}.r1-facts span{font-size:12px;color:#62675e}.r1-facts>a{text-align:end;font-size:12px}.r1-facts>a span{color:var(--ink)}
.r1-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:32px}.r1-section-head h2{font-size:clamp(36px,4vw,54px);font-weight:400;margin:0}.r1-section-head .eyebrow{margin-bottom:14px}.r1-section-head>a{font-size:12px;padding-bottom:6px;border-bottom:1px solid var(--ink)}
:root body.ros-round-one .path-section{padding-block:70px!important;background:var(--paper)!important}
:root body.ros-round-one .path-grid{gap:20px!important}
:root body.ros-round-one .path-grid>.path-card{border:1px solid var(--line)!important;background:#fffdf8!important;padding-bottom:28px!important;transition:border-color .2s}
:root body.ros-round-one .path-grid>.path-card:hover{border-color:var(--red)!important}
:root body.ros-round-one .path-top{background:#f0eee7!important;padding:24px!important;min-height:112px;margin-bottom:25px}
:root body.ros-round-one .film-path .path-top{background:#e7e9df!important}
:root body.ros-round-one .claude-path .path-top{background:#f1e5dc!important}
:root body.ros-round-one .path-top .eyebrow{font-size:10px!important;max-width:17ch}
:root body.ros-round-one .path-top :is(img,svg,.film-icon){width:46px;height:46px}
:root body.ros-round-one .path-card h2{font-size:34px!important;line-height:1.06!important;color:var(--ink)!important}
:root body.ros-round-one .path-card p{font-size:14px!important;line-height:1.7!important}
:root body.ros-round-one .path-card ul{font-size:12px!important}
:root body.ros-round-one .path-card>*:not(.path-top){margin-inline:24px!important}
:root body.ros-round-one .path-card .button{background:transparent!important;color:var(--ink)!important;border:1px solid var(--rule)!important;font-size:11px!important;padding:13px 16px!important}
:root body.ros-round-one .path-card .button:hover{background:var(--red)!important;color:white!important;border-color:var(--red)!important}
:root body.ros-round-one .path-signup{font-size:11px!important}.path-note{margin-top:25px!important}
.r1-community{margin:40px var(--gutter) 0;padding:38px;display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:30px;background:#e7ecdf;border:1px solid #ccd5c2}
.r1-community-icon{font:56px/1 var(--font-display);color:#647859}.r1-community h2{font-size:36px;font-weight:400;margin:0 0 10px}.r1-community .eyebrow{font-size:10px!important;margin-bottom:15px}.r1-community p:not(.eyebrow){font-size:14px;max-width:52ch;color:#58634f;margin:0}.r1-community .button{background:#364e3b!important;border-color:#364e3b!important;font-size:11px!important;white-space:nowrap}
:root body.ros-round-one .nl-home{padding-block:40px 65px!important}
:root body.ros-round-one .nl-box{background:#efeae0!important;border:0!important;padding:38px!important;gap:40px}
:root body.ros-round-one .nl-box h2{font-size:34px;font-weight:400}.nl-icon{display:none!important}
:root body .ros-welcome{max-width:min(480px,calc(100vw - 32px));border-radius:14px}
:root body .ros-w-card{border:1px solid var(--line)!important;border-top:5px solid var(--red)!important;padding:36px!important;background:var(--paper)!important}
:root body .ros-w-card h2{font-size:36px!important;line-height:1.05!important}
:root body .ros-w-follow{gap:14px;flex-wrap:wrap}.ros-w-note{font-size:12px!important}
@media(min-width:1051px) and (max-width:1240px){:root body>header nav{gap:12px!important}:root body>header .brand .wordmark{width:118px}}
@media(max-width:1050px){:root body.ros-round-one .path-hero.hero-v2{grid-template-columns:1fr 1fr!important;gap:30px!important}:root body.ros-round-one .hero-copy-v2 h1{font-size:64px!important}.r1-community{grid-template-columns:1fr auto}.r1-community-icon{display:none}}
@media(max-width:760px){:root body>header{padding-block:14px!important}:root body.ros-round-one .path-hero.hero-v2{grid-template-columns:1fr!important;padding-block:38px 45px!important}:root body.ros-round-one .hero-copy-v2 h1{font-size:58px!important}:root body.ros-round-one .hero-art{max-width:440px!important;order:2!important;margin:18px auto 0!important}:root body.ros-round-one .hero-art svg{max-width:250px;height:220px}.studio-caption{font-size:28px}.r1-facts{grid-template-columns:repeat(3,1fr);gap:18px;padding-block:22px}.r1-facts>div{display:block}.r1-facts b{font-size:34px;display:block;margin-bottom:8px}.r1-facts span{font-size:10px}.r1-facts>a{grid-column:1/-1;text-align:start;border-top:1px solid var(--rule);padding-top:14px}.r1-section-head{display:block}.r1-section-head>a{display:inline-block;margin-top:20px}:root body.ros-round-one .path-section{padding-block:45px!important}.r1-community{grid-template-columns:1fr;margin-top:20px;padding:26px;gap:22px}.r1-community h2{font-size:32px}.r1-community .button{justify-self:start}:root body.ros-round-one .nl-box{padding:26px!important;gap:24px}.r1-community .eyebrow{overflow-wrap:anywhere}:root body .ros-w-card{padding:28px 24px!important}}
@media(prefers-reduced-motion:reduce){:root body.ros-round-one .hero-art{transform:none}}
/* Keep the navigation and illustration comfortable at tablet widths. */
:root body.ros-round-one .hero-copy-v2,:root body.ros-round-one .hero-art{min-width:0}
:root body.ros-round-one .hero-art .orbit,:root body.ros-round-one .hero-art .orbit-item{animation:none!important}
@media(max-width:1100px){
 :root body>header{flex-wrap:wrap!important;justify-content:space-between}
 :root body>header .menu-toggle{display:flex!important;margin-inline-start:auto}
 :root body>header nav{display:none!important;order:3;width:100%;flex-direction:column;align-items:stretch!important;gap:0!important}
 :root body>header.menu-open nav{display:flex!important}
 :root body>header.menu-open nav>a{display:block!important;padding:13px 4px!important;border-bottom:1px solid var(--line)}
 :root body>header.menu-open .lang-picker{display:block!important;padding-block:12px}
 :root body.ros-round-one .path-hero.hero-v2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 :root body.ros-round-one .hero-copy-v2 h1{font-size:56px!important}
 :root body.ros-round-one .hero-art{max-width:none!important}
 .studio-caption{font-size:26px}
}
@media(max-width:760px){:root body.ros-round-one .path-hero.hero-v2{grid-template-columns:minmax(0,1fr)!important}:root body.ros-round-one .hero-copy-v2 h1{font-size:clamp(46px,11vw,62px)!important}}
:root body.ros-round-one .path-hero.hero-v2 .hero-art{max-width:none!important;width:100%!important;margin:0!important;order:0!important}
:root body>header .menu-toggle{flex-direction:column;align-items:center;justify-content:center;gap:5px}
:root body>header .menu-toggle span{display:block;width:18px;height:2px;background:var(--ink);flex:none}
@media(max-width:760px){:root body.ros-round-one .path-hero.hero-v2 .hero-art{order:2!important;max-width:440px!important;margin:16px auto 0!important}}


/* Newspaper edition: grey paper, ink, column rules; red reserved for action. */
:root{--paper:#f3f3f1;--sand:#e8e8e5;--card:#f8f8f6;--ink:#151515;--ink-2:#343434;--muted:#626262;--rule:#202020;--line:#bcbcb7;--red:#c7162b;--red-bg:#c7162b;--brand:#c7162b;--brand-deep:#a21022;--brand-soft:#efeff0;--sun:#222;--sun-soft:#ececea;--teal:#333;--teal-soft:#e8e8e5}
body{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.014) 0 1px,transparent 1px 7px)!important}
body::after{opacity:.25!important}
:root body>header{padding-block:12px!important;border-top:4px solid var(--ink)!important;border-bottom:1px solid var(--line)!important}
:root body>header .brand{filter:grayscale(1)}
:root body .ros-tg-strip{background:var(--paper)!important;border-bottom:1px solid var(--ink)!important}
:root body .ros-tg-strip a,:root body .ros-tg-strip button{color:var(--ink)!important}
:root body .ros-tg-strip svg{color:var(--red)}
.press-masthead{margin:0 var(--gutter);border-bottom:4px double var(--ink);color:var(--ink);padding-top:20px}
.press-edition,.press-deck{display:flex;justify-content:space-between;gap:20px;align-items:center;font:10px/1.5 var(--font-mono);letter-spacing:.07em}
.press-edition{padding-bottom:14px;border-bottom:1px solid var(--ink)}
.press-name{display:block;position:relative;text-align:center;font-family:var(--font-display);font-size:clamp(48px,8.4vw,128px);font-weight:700;line-height:.86;letter-spacing:-.055em;padding:27px 50px 23px;color:var(--ink)!important}
.press-name br{display:none}.press-name span{font-weight:400;font-style:italic;margin-inline-start:.12em}.press-name i{position:absolute;font:32px/1 Georgia,serif;inset-inline-end:4px;top:50%;transform:translateY(-50%)}
.press-deck{padding-block:12px;border-top:1px solid var(--ink);font-size:10px}
:root body.ros-newspaper .path-hero.hero-v2{padding-block:42px 38px!important;gap:36px!important;border-bottom:1px solid var(--ink)!important;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)!important}
:root body.ros-newspaper .hero-copy-v2 h1{font-size:clamp(52px,6.5vw,98px)!important;letter-spacing:-.045em!important}
:root body.ros-newspaper .hero-copy-v2 h1 em{color:var(--ink)!important}
:root body.ros-newspaper .hero-copy-v2 .intro{color:#444!important;font-family:var(--font-display);font-size:23px!important;line-height:1.4!important;max-width:34ch}
:root body.ros-newspaper .hero-copy-v2 .eyebrow{color:var(--ink)!important;font-size:10px!important}
:root body.ros-newspaper .path-hero.hero-v2 .hero-art{background:transparent!important;transform:none!important;box-shadow:none!important;border:0!important;border-inline-start:1px solid var(--ink)!important;padding:0 0 0 28px!important}
[dir=rtl] body.ros-newspaper .path-hero.hero-v2 .hero-art{padding:0 28px 0 0!important}
:root body.ros-newspaper .studio-bot{background:radial-gradient(ellipse,#dededb,transparent 70%);margin-block:12px}
:root body.ros-newspaper .hero-art svg{filter:grayscale(1) contrast(1.15);height:250px;max-width:290px}
:root body.ros-newspaper .studio-label,:root body.ros-newspaper .studio-foot{color:#353535;font-size:9px}
:root body.ros-newspaper .studio-caption{border-top:1px solid var(--ink);font-size:28px;padding-block:16px}
:root body.ros-newspaper .studio-caption>a{border-radius:0;border:1px solid var(--ink);background:var(--red);color:white;width:40px;height:40px;font-size:26px;transition:transform .2s}
:root body.ros-newspaper .studio-caption>a:hover{transform:translate(2px,-2px)}
:root body.ros-newspaper .studio-foot{margin:0;padding:12px 0;background:transparent;border-top:1px solid var(--line)}
:root body.ros-newspaper .r1-facts{background:transparent;border-block:0;border-bottom:4px double var(--ink);padding-block:22px}
:root body.ros-newspaper .r1-facts>div{border-color:var(--line)}
:root body.ros-newspaper .r1-facts span{color:#444}
:root body.ros-newspaper .path-section{padding-block:44px!important}
:root body.ros-newspaper .r1-section-head{border-bottom:1px solid var(--ink);padding-bottom:22px;margin-bottom:0}
:root body.ros-newspaper .r1-section-head h2{font-size:clamp(34px,4vw,54px)}
:root body.ros-newspaper .path-grid{gap:0!important;padding-top:24px}
:root body.ros-newspaper .path-grid>.path-card{background:transparent!important;border:0!important;border-inline-end:1px solid var(--ink)!important;padding:0 24px 16px!important}
:root body.ros-newspaper .path-grid>.path-card:first-child{padding-inline-start:0!important}
:root body.ros-newspaper .path-grid>.path-card:last-child{padding-inline-end:0!important;border-inline-end:0!important}
:root body.ros-newspaper .path-card>*:not(.path-top){margin-inline:0!important}
:root body.ros-newspaper .path-top{padding:0 0 18px!important;background:transparent!important;min-height:70px;border-bottom:1px solid var(--line)!important;margin-bottom:22px}
:root body.ros-newspaper .path-top :is(img,svg,.film-icon){filter:grayscale(1)}
:root body.ros-newspaper .path-card h2{font-size:clamp(32px,3.3vw,46px)!important}
:root body.ros-newspaper .path-card p{font-size:14px!important;text-wrap:pretty}
:root body.ros-newspaper .path-card ul{margin-inline:0!important;font-size:12px!important}
:root body.ros-newspaper .path-card li:before{background:var(--ink)!important;color:white!important;content:'✓';font-size:11px;text-align:center}
:root body.ros-newspaper .path-card .button{background:var(--red)!important;border-color:var(--red)!important;color:white!important}
:root body.ros-newspaper .path-card .button:hover{background:var(--brand-deep)!important}
:root body.ros-newspaper .more-courses{border-block:4px double var(--ink)!important;padding-block:40px!important}
:root body.ros-newspaper .mc-card .mc-icon{filter:grayscale(1)}
:root body.ros-newspaper .r1-community{background:transparent;border:0;border-block:4px double var(--ink);padding:30px 0;margin-top:35px}
:root body.ros-newspaper .r1-community-icon{color:var(--ink);border:1px solid var(--ink);width:64px;height:64px;text-align:center}
:root body.ros-newspaper .r1-community .button{background:var(--red)!important;border-color:var(--red)!important}
:root body.ros-newspaper .r1-community p:not(.eyebrow){color:#444}
:root body.ros-newspaper .nl-home{padding-block:30px 45px!important}
:root body.ros-newspaper .nl-box{background:transparent!important;border:1px solid var(--ink)!important;padding:32px!important}
:root body .ros-welcome{border-radius:0!important}
:root body .ros-w-card{background:var(--paper)!important;border:1px solid var(--ink)!important;border-top:5px solid var(--red)!important}
:root body .ros-welcome::backdrop{backdrop-filter:grayscale(1);background:rgba(0,0,0,.45)}
:root body.ros-newspaper .method{border-top:1px solid var(--ink)!important;background:transparent!important}
:root body.ros-newspaper .closing{background:var(--ink)!important;color:white!important}
:root body.ros-newspaper .closing h2,:root body.ros-newspaper .closing p{color:white!important}
:root body.ros-newspaper .closing .eyebrow{color:#bbb!important}
:root body.ros-newspaper footer .brand{filter:grayscale(1)}
@keyframes press-enter{from{transform:translateY(7px)}to{transform:translateY(0)}}
@keyframes press-signal{0%,100%{opacity:1}50%{opacity:.45}}
.press-name{animation:press-enter .5s ease-out both}.ros-newspaper .ros-tg-strip svg{animation:press-signal 2.8s ease-in-out infinite}
:root body.ros-newspaper .button{transition:background .2s,transform .2s}
:root body.ros-newspaper .button:hover{transform:translateY(-2px)}
@media(max-width:1050px){:root body.ros-newspaper .path-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.press-name{font-size:9.5vw;padding-inline:25px}.press-deck{font-size:9px}:root body.ros-newspaper .path-card h2{font-size:32px!important}:root body.ros-newspaper .path-grid>.path-card{padding-inline:16px!important}}
@media(max-width:760px){.press-edition{font-size:8px;gap:16px}.press-edition span:last-child{text-align:end}.press-name{font-size:13vw;padding:22px 20px;line-height:.88}.press-name br{display:block}.press-name span{font-size:.82em;margin:0}.press-name i{font-size:22px}.press-deck{display:block;text-align:center;font-size:9px}.press-deck>span{display:block}.press-deck>span+span{margin-top:5px}:root body.ros-newspaper .path-hero.hero-v2{grid-template-columns:1fr!important;padding-top:30px!important}:root body.ros-newspaper .path-hero.hero-v2 .hero-art{border-inline-start:0!important;border-top:1px solid var(--ink)!important;padding:20px 0 0!important;max-width:none!important}:root body.ros-newspaper .hero-art svg{height:210px}:root body.ros-newspaper .path-grid{grid-template-columns:1fr!important}:root body.ros-newspaper .path-grid>.path-card{border-inline-end:0!important;border-bottom:1px solid var(--ink)!important;padding:22px 0!important}:root body.ros-newspaper .path-top{min-height:54px;margin-bottom:18px}:root body.ros-newspaper .path-card h2{font-size:38px!important}:root body.ros-newspaper .nl-box{padding:24px!important}.r1-community-icon{display:none}}
@media(prefers-reduced-motion:reduce){.press-name,.ros-newspaper .ros-tg-strip svg{animation:none!important}:root body.ros-newspaper .button:hover,:root body.ros-newspaper .studio-caption>a:hover{transform:none!important}}

html:root body.ros-newspaper .path-hero.hero-v2 .hero-copy-v2 h1 em{color:var(--ink)!important}
.press-name{font-size:clamp(44px,7.4vw,112px);white-space:nowrap;letter-spacing:-.06em;padding-inline:24px}
@media(max-width:760px){.press-name{white-space:normal;font-size:13vw}.press-name span{display:inline-block}}
/* Print columns share the same paper and ink, including the former dark film panel. */
html:root body.ros-newspaper .path-grid>.path-card .path-top{background:transparent!important;color:var(--ink)!important}
html:root body.ros-newspaper .path-grid>.path-card :is(h2,p,ul,li,.eyebrow,.path-signup,.film-icon){color:var(--ink)!important}
html:root body.ros-newspaper .path-grid>.path-card .button{color:white!important}
html:root body.ros-newspaper .path-grid>.path-card h2{min-height:0!important}
html:root body.ros-newspaper .path-grid>.path-card .film-icon{border-color:var(--ink)!important}
html:root body.ros-newspaper .path-grid>.path-card .small{font-size:11px!important;color:#555!important}
html:root body.ros-newspaper .path-grid>.film-path{--ink:#151515;--paper:#f3f3f1;--on-night:#151515;--on-night-muted:#444;--sun:#151515}

/* Audit repairs: preserve readable controls, wrapping and a single step counter. */
html:root body .cc-steps{list-style:none!important;counter-reset:lesson-step!important;padding-inline-start:0!important}
html:root body .cc-steps>li{list-style:none!important;counter-increment:lesson-step!important;min-width:0;overflow-wrap:anywhere}
html:root body .cc-steps>li::marker{content:''}
html:root body .cc-steps>li::before{content:counter(lesson-step)!important;display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;background:var(--ink)!important;color:var(--paper)!important;border-radius:0!important}
html:root body :is(form,.nl-row,.nl-form,.cc-lesson>div,.me-card-body,.search-row>div){min-width:0}
html:root body :is(input:not([type=checkbox]):not([type=radio]),textarea,select){max-width:100%;box-sizing:border-box}
html:root body :is(.nl-row input,.search-box input){min-width:0;width:100%}
html:root body :is(.cc-prompt pre,.cc-sec p,.cc-like5,.cc-tip,.plan-for,.cc-rail a){overflow-wrap:anywhere;word-break:normal}
html:root body .cc-quiz input[type=radio],html:root body .nl-consent input[type=checkbox]{flex:0 0 auto;margin-top:.3em}
html:root body .cc-stage{background:var(--sand)!important}
html:root body .cc-stage-bar{max-width:100%;flex-wrap:wrap}
@media(max-width:600px){html:root body .nl-row{display:flex;flex-direction:column;align-items:stretch;gap:12px}html:root body .nl-row .button{justify-content:center}html:root body .cc-tip{flex-direction:column}html:root body :is(.cc-pager,.ros-w-follow){flex-wrap:wrap}html:root body .cc-stage-bar{position:static;justify-content:flex-end;padding:8px}}
html:root body .cc-deliver{display:flex;gap:12px;align-items:flex-start;min-width:0;flex-wrap:wrap}
html:root body .cc-deliver span{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){html:root body .cc-deliver{flex-direction:column}html:root body .cc-deliver span{flex:auto;width:100%}}
@media(max-width:760px){html:root body .sidebar:not(.shown){visibility:hidden}html:root body .sidebar.shown{visibility:visible}}
/* Long translated labels must not impose a minimum width on grid tracks. */
html:root body :is(.cc-hero-copy,.me-stats,.r1-community>div){min-width:0}
html:root body .me-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%;max-width:100%}
html:root body .me-stats>div{min-width:0;overflow-wrap:anywhere}
html:root body .me-stats span{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){html:root body .me-stats>div{padding:16px 8px!important}html:root body .me-stats span{font-size:11px!important}html:root body .r1-community .button{white-space:normal!important;max-width:100%;min-width:0;overflow-wrap:anywhere}html:root body .r1-community{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:600px){html:root body .nl-row input{flex:none!important;height:50px!important;min-height:50px!important}}
html:root body dialog.pl-fill form{padding:0!important;min-width:0}
html:root body dialog.pl-fill{max-height:calc(100dvh - 32px);overflow-y:auto}
@media(max-width:600px){html:root body dialog.pl-fill{padding:20px!important;box-shadow:none!important}html:root body .pl-fields{max-height:none;overflow:visible;grid-template-columns:minmax(0,1fr)}html:root body .pl-preview{max-height:none}html:root body .claim-actions>*{max-width:100%;overflow-wrap:anywhere}}
