/* Base layout and the original palette, type and artwork live in base.css. */
[hidden]{display:none!important}
html{scrollbar-gutter:stable}
.skip-link{position:fixed;top:10px;left:12px;z-index:300;padding:12px 18px;background:var(--paper);border:1px solid var(--red);border-radius:8px;transform:translateY(-160%)}
.skip-link:focus{transform:none}
.demo-topics{display:flex;gap:8px;flex-wrap:wrap;margin-top:25px}
.demo-topics button{border:1px solid #5e7177;border-radius:6px;background:transparent;color:#dce7e5;padding:9px 12px;min-height:44px;font-size:12px;font-weight:650;transition:background .18s,border-color .18s}
.demo-topics button:hover{border-color:#e8c8c5}
.demo-topics button[aria-pressed=true]{color:var(--navy);background:#e8c8c5;border-color:#e8c8c5}
.preview .preview-annotation{margin-top:21px}
.lesson-head{padding-right:62px}
.lesson-head strong{white-space:nowrap}
.preview .lesson-ua{font-size:12px;line-height:1.7;color:#697173;margin:0 0 23px}
.demo-answer{margin:0 0 22px}
.demo-answer summary{display:flex;align-items:center;justify-content:space-between;gap:15px;list-style:none;cursor:pointer;border:1px solid #d5d6d1;border-radius:7px;padding:12px 15px;min-height:48px;font-size:13px;font-weight:700;color:var(--red);background:#faf9f6}
.demo-answer summary::-webkit-details-marker{display:none}
.demo-answer summary:after{content:'+';font-size:19px;line-height:1}
.demo-answer[open] summary:after{content:'−'}
.demo-answer[open] summary{margin-bottom:14px}
.demo-answer .lesson-a{margin-bottom:14px}
.preview .demo-answer .lesson-a p{font-size:14px;color:#39464b}
.preview .demo-explanation{font-size:12px;color:#58676c;line-height:1.8}
.demo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:24px}
.demo-actions .btn{min-height:48px;padding:11px 17px;font-size:12px;gap:12px}
.demo-course-link{font-size:12px;color:#697173;text-decoration:underline;text-underline-offset:4px;padding:10px 0}
.topic-example{margin-top:6px}
.topic-example summary{display:inline-flex;align-items:center;gap:9px;list-style:none;cursor:pointer;font-size:11px;font-weight:650;color:var(--red);padding:6px 0;min-height:32px}
.topic-example summary::-webkit-details-marker{display:none}
.topic-example summary:before{content:'+';font-size:15px}
.topic-example[open] summary:before{content:'−'}
.syllabus-entry .topic-example p{color:#485057;background:var(--soft);padding:10px 12px;border-left:2px solid #c5b4ab;border-radius:0 5px 5px 0;margin-top:3px}
.quiz-panel{scroll-margin-top:105px}
.quiz-question:focus,.quiz-result h3:focus{outline-offset:7px}
.quiz-fallback{font-size:13px}
.quiz-fallback a,.faq-list p a{text-decoration:underline;text-underline-offset:3px}
.quiz-feedback{color:#536168}
.quiz-answer[aria-pressed=true]{box-shadow:0 0 0 1px currentColor}
.quiz-resume{font-size:11px;color:#687477;margin-top:15px;display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.quiz-reset{border:0;background:transparent;color:var(--red);text-decoration:underline;text-underline-offset:3px;font:inherit;min-height:44px;padding:3px}
.quiz-result .quiz-topics{font-size:13px;text-align:left;line-height:1.8;padding:15px 18px;margin:17px 0 0;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--body)}
.quiz-result .quiz-topics strong{font-size:13px;color:var(--ink)}
.quiz-result .quiz-topics ul{padding-left:18px;margin:6px 0 0}
.quiz-result .quiz-topics a{text-decoration:underline;text-underline-offset:3px;color:var(--red)}
.quiz-result-actions{flex-wrap:wrap;margin-top:20px}
.quiz-result .quiz-scope{font-size:11px;line-height:1.8;margin-top:18px;color:#657174}
.access-details{margin:0 0 22px;font-size:14px;line-height:1.7}
.access-details div{padding:8px 0;border-bottom:1px solid rgba(255,255,255,.15)}
.access-details dt{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#b6c5c5}
.access-details dd{margin:3px 0 0;color:#fff}
.checkout-status{color:#c2d0d0;font-size:14px;line-height:1.8;margin-top:15px}
.support-link{display:block;font-size:12px;margin-top:14px;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.offer .support-link{color:#e8c8c5}
.proof-side .trust-scope{font-size:14px;line-height:1.7;color:#586168}
.proof-side .author-info{font-weight:700;color:var(--ink);margin:12px 0 0}
.purchase-dialog{border:0;padding:0;background:transparent;width:min(460px,calc(100% - 36px));max-width:none;max-height:calc(100dvh - 36px);overflow:auto;color:var(--ink)}
.purchase-dialog::backdrop{background:rgba(17,24,27,.58)}
.purchase-dialog .modal{width:100%;box-shadow:none}
.purchase-dialog .modal-close{width:44px;height:44px;top:10px;right:10px}
.purchase-dialog .modal-icon{margin-bottom:23px}
.purchase-dialog .support-link{margin-bottom:20px}
.purchase-dialog .btn-text{margin-top:8px;white-space:normal}
.path-step.is-current .path-index{border-color:var(--red);box-shadow:0 0 0 4px #eaded7}
.path-index{transition:box-shadow .2s,border-color .2s}
.soft-enter{animation:soft-enter .24s ease-out both}
@keyframes soft-enter{from{opacity:.25;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:900px){
 html:not(.js-ready) .header-inner{height:auto;min-height:70px;flex-wrap:wrap;padding-block:12px;gap:10px}
 html:not(.js-ready) .nav{display:flex;position:static;order:3;flex-basis:100%;flex-direction:row;flex-wrap:wrap;gap:0 20px;padding:0;border:0;box-shadow:none}
 html:not(.js-ready) .nav a{font-size:12px;min-height:44px;padding:10px 0}
 html:not(.js-ready) .menu-toggle{display:none}
}
@media(max-width:700px){
 html{scroll-padding-bottom:90px}
 .quiz-answer,.quiz-bottom .btn,.demo-actions .btn{scroll-margin-block:90px}
 .demo-topics{gap:7px;margin-top:20px}
 .demo-topics button{padding:8px 11px;font-size:11px}
 .demo-actions{gap:9px 15px}
 .demo-actions .btn{min-height:48px}
 .topic-example summary{min-height:44px;font-size:12px}
 .quiz-panel{scroll-margin-top:90px}
 .quiz-answer{min-height:52px}
 .quiz-result-actions .btn{white-space:normal;text-align:center}
 .quiz-result .quiz-topics{padding:13px;font-size:12px}
 .quiz-result .quiz-scope{font-size:11px}
 .sticky-buy .btn{min-height:48px}
 .quiz-bottom{padding-bottom:1px}
 .quiz{scroll-margin-bottom:90px}
 .header-inner{gap:9px}
}
@media(max-width:420px){
 .demo-actions .btn{width:100%}
 .demo-course-link{width:100%;text-align:center}
 .quiz-panel{padding:24px 18px}
 .quiz-result-actions{display:grid;grid-template-columns:1fr;width:100%}
 .quiz-result-actions .btn{width:100%;font-size:12px;gap:10px}
 .lesson-head{gap:12px;padding-right:60px}
 .lesson-head strong{font-size:9px}
 .lesson-head small{font-size:9px;max-width:70%}
}
@media(prefers-reduced-motion:reduce){.soft-enter{animation:none}.path-index{transition:none}}

/* PHP supplies the product price without changing the original artwork. */
.offer-surface:before{content:var(--offer-watermark,'9.99')}

/* Scoped clarity improvements: original type, palette and artwork are retained. */
.hero-eyebrow{font-size:14px;line-height:1.5;color:var(--ink);font-weight:700;flex-wrap:nowrap;align-items:flex-start;gap:9px;margin-bottom:7px}
.hero-eyebrow .flag{flex:none;margin-top:4px}
.hero-audience{font-size:14px;line-height:1.6;color:#576168;margin:0 0 24px}
.hero-delivery{font-size:14px;line-height:1.6;color:#48565b;max-width:525px;margin:0 0 20px}
.hero-micro{font-size:13px;line-height:1.65;color:#586168;align-items:flex-start}
.hero-micro .icon{flex:none;margin-top:2px}
.hero-actions .btn{gap:14px}
.demo-topic-label{font-size:12px;font-weight:700;color:#dce7e5;margin-top:25px}
.preview .demo-topics{margin-top:10px}
.demo-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:16px 34px 0}
.demo-stages button{min-height:44px;padding:9px 4px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:#536168;font:700 13px/1.35 var(--sans)}
.demo-stages button[aria-pressed=true]{border-color:var(--red);background:var(--rose);color:var(--red-deep)}
.demo-panel{min-width:0}
.demo-panel h3:focus{outline-offset:5px}
.preview .demo-basis-text{font-size:17px;line-height:1.8;color:var(--ink);margin-top:17px}
.preview .demo-task{font-size:13px;line-height:1.8;color:#586168;margin:16px 0 20px}
.demo-continue{font-size:13px;min-height:48px;padding:11px 16px;gap:12px;max-width:100%;white-space:normal;text-align:left}
.demo-check-options{display:grid;gap:9px;margin-top:20px}
.demo-check-option{border:1px solid #d5d6d1;border-radius:7px;background:var(--bg);color:var(--ink);text-align:left;padding:12px 15px;min-height:48px;font:600 14px/1.5 var(--sans);transition:border-color .18s,background .18s}
.demo-check-option:hover{border-color:var(--red)}
.demo-check-option.correct{border-color:var(--green);background:#edf3ef}
.demo-check-option.wrong{border-color:var(--red);background:var(--rose)}
.demo-check-option[aria-pressed=true]{box-shadow:0 0 0 1px currentColor}
.preview .demo-check-feedback{font-size:13px;line-height:1.8;color:#3d665d;margin:14px 0}
.demo-check-feedback:empty{display:none}
.demo-panel+.demo-panel{margin-top:26px}
.js-ready .demo-panel+.demo-panel{margin-top:0}
.preview .lesson-note{margin-top:24px}
.preview .lesson-note,.demo-course-link{font-size:12px;color:#586168}
.offer-what{gap:18px;margin-top:24px}
.offer-what li{font-weight:400}
.offer-what strong{display:block;font-size:15px;color:#fff;margin-bottom:3px}
.offer-what span{display:block;font-size:13px;line-height:1.75;color:#c2d0d0}
.offer-preview-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-top:18px;color:#e8c8c5;font-size:13px;font-weight:650;text-decoration:underline;text-underline-offset:4px}
.offer-preview-link .icon{flex:none}
.offer-right .price-note{font-size:13px;color:#c2d0d0}
@media(max-width:900px){.hero-audience{margin-bottom:24px}}
@media(max-width:700px){
 .hero-eyebrow{font-size:13px;gap:8px;margin-bottom:6px}
 .hero-audience{font-size:14px;margin-bottom:18px}
 .hero-delivery{margin-bottom:16px}
 
 .hero-micro{font-size:12px}
 .hero-actions .btn-text{font-size:13px}
 .demo-stages{padding:16px 22px 0}
 .preview .demo-basis-text{font-size:16px}
 .preview .demo-task{font-size:14px}
 .offer-left h2{font-size:clamp(35px,8.4vw,47px)}
 .offer-what{gap:17px;margin-top:21px}
 .offer-what span{font-size:16px}
}
@media(max-width:420px){
 .demo-stages{padding-inline:18px}
 .demo-stages button{font-size:12px}
 .demo-continue{width:100%;justify-content:space-between}
 .demo-check-option{font-size:13px}
 .offer-preview-link{font-size:12px;gap:8px}
}

/* Style polish: existing content, grids, section order and behavior are retained. */
:root{
 --polish-radius:12px;
 --polish-shadow:0 16px 40px rgba(32,43,48,.075);
}
.btn{border-radius:8px;transition:background .18s,border-color .18s,color .18s,transform .18s,box-shadow .18s}
.btn:hover{transform:none}
.btn-primary{box-shadow:0 7px 18px rgba(185,53,66,.16)}
.btn-primary:hover{box-shadow:0 9px 22px rgba(185,53,66,.2)}
.btn:active:not(:disabled){transform:translateY(0);box-shadow:none}
.btn:focus-visible,.demo-stages button:focus-visible,.demo-topics button:focus-visible,
.demo-check-option:focus-visible,.quiz-answer:focus-visible,summary:focus-visible{
 outline:3px solid var(--red);outline-offset:4px;
}
.preview .demo-topics button:focus-visible{outline-color:#f0c9c7}
.btn-text{text-underline-offset:5px}
.btn-text:hover{text-decoration:underline}
.hero-eyebrow{
 width:fit-content;max-width:100%;padding:8px 11px;
 background:var(--paper);border:1px solid #dfd8d1;border-radius:8px;
 box-shadow:0 2px 6px rgba(32,43,48,.025);margin-bottom:10px;
}
.hero-audience{color:#48565b}
.hero-lead{color:#485057}

.hero-micro{color:#52605f}
.sample-sheet{
 border-color:#cbd0ca;border-radius:var(--polish-radius);
 box-shadow:var(--polish-shadow);transform:rotate(-.35deg);
}
.art-back{background:#ece2da;border-color:#e0d2c8;transform:rotate(2.5deg);border-radius:var(--polish-radius)}
.art-note{font-size:12px;border-color:#dfd8d1;border-radius:8px;transform:rotate(-2deg);box-shadow:0 4px 12px rgba(32,43,48,.05)}
.art-stamp{transform:rotate(8deg);box-shadow:0 4px 16px rgba(32,43,48,.045)}
.sheet-top{background:#fbfaf7;border-bottom-color:#e1e3dc}
.sheet-top small{font-size:11px;color:#626e71;letter-spacing:.07em}
.sheet-rail{font-size:11px;letter-spacing:.12em}
.sheet-rail span:last-child{color:#697576}
.sheet-who{font-size:11px;color:#5a686b;letter-spacing:.08em}
.sheet-translate{font-size:14px;line-height:1.65;color:#58666b}
.sheet-answer{border-left:3px solid #8ca69c}
.sheet-answer p{font-size:15px;line-height:1.8;color:#34464b}
.sheet-foot{font-size:10px;color:#606f70;letter-spacing:.02em}
.preview-lesson,.poland-art,.path-scenario{border-radius:var(--polish-radius)}
.preview-lesson{border:1px solid #d3d9d3;box-shadow:0 18px 44px rgba(10,20,24,.15)}
.lesson-head{background:#fbfaf7;border-bottom-color:#dfe3dd}
.lesson-head small{font-size:11px;color:#58676c;letter-spacing:.07em}
.lesson-head strong{font-size:11px;letter-spacing:.035em}
.lesson-label{font-size:11px;letter-spacing:.075em}
.demo-topic-label{font-size:13px}
.demo-topics button{border-radius:8px;font-size:13px;border-color:#798c90;transition:background .18s,border-color .18s,color .18s}
.demo-topics button[aria-pressed=true]{background:#f0cfcc;border-color:#f0cfcc;color:#24343a;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.demo-stages{gap:6px}
.demo-stages button{border-radius:8px;border-color:#d3d8d2;color:#48575d;background:#f6f5f1;transition:background .18s,border-color .18s,color .18s,box-shadow .18s}
.demo-stages button:hover{border-color:#8b9d9d;background:#fff}
.demo-stages button[aria-pressed=true]{color:#fff;background:var(--navy);border-color:var(--navy);box-shadow:inset 0 0 0 1px var(--navy)}
.js-ready .demo-panel{min-height:320px}
.preview .demo-task{font-size:14px;color:#4d5d62;line-height:1.75}
.demo-continue,.quiz-next{
 background:var(--navy);border-color:var(--navy);color:#fff;
 box-shadow:0 4px 10px rgba(36,52,58,.1);font-size:14px;
}
.demo-continue:hover,.quiz-next:hover:not(:disabled){background:#17272e;border-color:#17272e;color:#fff}
.quiz-next:disabled{box-shadow:none}
.demo-check-option{border-radius:8px;border-color:#bdc8c4;background:#fff;font-size:15px;transition:background .18s,border-color .18s,box-shadow .18s}
.demo-check-option:not([aria-disabled=true]):hover{border-color:#607c76;background:#f4f7f3}
.demo-check-option.correct{background:#e8f3ed;border-color:#527f6d;color:#294f42}
.demo-check-option.wrong{background:#fff0f0;border-color:var(--red);color:#812c37}
.demo-check-option[aria-pressed=true]{box-shadow:inset 0 0 0 1px currentColor}
.demo-check-option[aria-disabled=true]{cursor:default}
.preview .demo-check-feedback{font-size:14px;line-height:1.75;color:#34594e;background:#edf4ef;border-left:3px solid #7e9f90;border-radius:0 8px 8px 0;padding:10px 13px}
.demo-answer summary{font-size:14px;border-radius:8px;border-color:#bcc8c1;color:#304d47;transition:background .18s,border-color .18s}
.demo-answer summary:hover{background:#eff3ed;border-color:#7d998c}
.demo-answer[open] summary{background:#edf3ee;border-color:#7d998c}
.demo-answer .lesson-a{border-left-width:3px;background:#f2f5ef}
.preview .demo-answer .lesson-a p{font-size:15px;line-height:1.8}
.preview .lesson-ua{font-size:14px;color:#536168}
.preview .demo-explanation{font-size:14px;color:#4b5d60}
.preview .lesson-note{font-size:13px;line-height:1.7;color:#536168}
.demo-course-link{font-size:13px;color:#536168}
.demo-actions .btn{font-size:13px}
.quiz-panel{border-color:#ccd3cc;border-radius:var(--polish-radius);box-shadow:var(--polish-shadow)}
.quiz-answer{font-size:14px;border-color:#cbd2cb;border-radius:8px}
.quiz-answer .letter{color:#56656a;border-color:#c3cdc6}
.quiz-feedback{font-size:14px;line-height:1.75;color:#4d5d62}
.poland-art{border-color:#ded4c9;box-shadow:0 6px 18px rgba(32,43,48,.035)}
.syllabus{border-top-color:#bbc5bf}
.syllabus-group{border-bottom-color:#cbd2cb}
.syllabus-side{font-size:12px;color:#556469;letter-spacing:.055em}
.syllabus-num{font-size:12px;color:#5f7074}
.syllabus-entry h3{font-size:18px;font-weight:750;line-height:1.4}
.syllabus-entry p{font-size:16px;line-height:1.7;color:#485057}
.topic-example summary{font-size:13px;min-height:44px;transition:color .18s}
.topic-example summary:hover{color:var(--red-deep);text-decoration:underline;text-underline-offset:4px}
.topic-example[open] summary{color:var(--red-deep)}
.syllabus-entry .topic-example p{font-size:14px;background:#f2efea;border-left:3px solid #b98d83;border-radius:0 8px 8px 0;padding:12px 14px}
.path-steps:before{background:#bfc9c2}
.path-index,.path-step.is-current .path-index{border-color:#b6c4bc;color:#3d5555;box-shadow:none;font-size:13px;transition:background .18s,color .18s,border-color .18s,box-shadow .18s}
.path-step:hover .path-index,.path-step:focus-within .path-index{border-color:var(--red);color:var(--red-deep);background:#fff;box-shadow:0 0 0 3px #eaded7}
.path-result{font-size:13px;line-height:1.6;letter-spacing:0;color:#355b4f}
.path-scenario{border-color:#cbd3cb;box-shadow:0 5px 14px rgba(32,43,48,.035)}
.scenario-title{font-size:13px;color:#3f5358}
.scenario-title small{font-size:12px;color:#52645e;line-height:1.6}
.scenario-track span{font-size:13px;color:#374d52}
.offer-surface{border:1px solid #415154;border-radius:var(--polish-radius);box-shadow:var(--polish-shadow)}
.offer-left h2{font-size:clamp(40px,4vw,56px);line-height:1.13}
.offer-what strong{font-size:16px}
.offer-what span{font-size:16px;color:#d0dcda;line-height:1.7}
.delivery-plan{margin-top:24px;padding-top:20px;border-top:1px solid #526165}
.delivery-plan h3{font-size:14px;font-weight:700;color:#fff}
.delivery-steps{margin:10px 0 0;padding-left:21px;font-size:14px;line-height:1.75;color:#d0dcda}
.delivery-steps li{padding:3px 0 3px 4px}
.offer-right{background:rgba(255,255,255,.025);border-color:#405155}
.price-caption{font-size:12px;letter-spacing:.1em;color:#c8d6d3}
.price{font-family:var(--sans);font-weight:700;font-size:clamp(76px,8vw,104px);line-height:1;letter-spacing:-.065em;font-variant-numeric:lining-nums tabular-nums}
.price small{font-family:var(--sans);font-size:32px;font-weight:600;letter-spacing:-.03em;margin-top:14px;margin-left:8px}
.offer-right .price-note{font-size:14px;color:#c8d6d3}
.offer-preview-link{font-size:14px;color:#f1ccca;text-underline-offset:5px}
.offer-preview-link:hover{color:#fff}
.sticky-buy{border-color:#d4dcd5;box-shadow:0 -6px 20px rgba(32,43,48,.07)}
.sticky-price{font-family:var(--sans);font-size:32px;font-weight:700;letter-spacing:-.045em;font-variant-numeric:lining-nums tabular-nums}
body:has(.sticky-buy.is-visible) .header-cta{background:transparent;color:var(--red-deep);border-color:#d3b5b5;box-shadow:none}
body:has(.sticky-buy.is-visible) .header-cta:hover{background:#f6e9e7}
.soft-enter{animation-name:polish-enter;animation-duration:.18s}
@keyframes polish-enter{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(hover:hover) and (pointer:fine){.btn:hover:not(:disabled){transform:translateY(-1px)}}
@media(max-width:900px){
 .lesson-head small{font-size:10px}
 .lesson-head strong{font-size:10px}
}
@media(max-width:700px){
 .hero-eyebrow{font-size:13px;padding:7px 9px}
 
 .art-note{font-size:11px;padding:9px 11px}
 .sheet-top small{font-size:10px;letter-spacing:.04em}
 .sheet-rail,.sheet-who{font-size:10px;letter-spacing:.06em}
 .sheet-translate{font-size:13px}
 .sheet-answer p{font-size:14px}
 .sheet-foot{font-size:10px}
 .demo-topics button{font-size:12px}
 .demo-stages{gap:5px}
 .demo-check-option{font-size:14px}
 .preview .demo-answer .lesson-a p{font-size:14px}
 .scenario-track span{font-size:12px}
 .offer-left h2{font-size:clamp(34px,8.4vw,47px)}
 .offer-preview-link{font-size:13px}
 .price{font-size:clamp(64px,19vw,84px)}
 .price small{font-size:28px;margin-top:10px}
}
@media(max-width:420px){
 .js-ready .demo-panel{min-height:0}
 .lesson-head small{font-size:10px;letter-spacing:.035em}
 .lesson-head strong{font-size:10px}
 .sheet-foot{font-size:9px;letter-spacing:0}
 .demo-stages button{font-size:12px}
 .scenario-title small{font-size:11px}
 .scenario-track span{font-size:12px}
}
@media(max-width:360px){
 .hero-eyebrow{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 .soft-enter{animation:none}
 .btn:hover,.btn:active{transform:none!important}
}

@media(max-width:360px){.evidence-number{font-size:28px}.evidence-item{padding:13px 10px}.evidence-label{font-size:14px}}
