/* Article page /pcontent/ (step 1 of the relaunch, 28.11.2026): new.pages.pcontent-article.
   Ported from Nastya's approved prototype (the «mix»: Журнал + Конспект + Урок + Как сайт).
   Everything lives under .mx so the site styles do not leak in and these do not leak out.
   --mx-top is the height of whatever is fixed at the top of the screen (set by article.js). */

.mx{--ink:#151515;--muted:#6F6A60;--bg:#FBFAF6;--rule:#DAD6CB;--tint:#F1EEE3;--yellow:#FFD54F;--soft:#FFF3C0;--ok:#1F7A47;--bad:#B4483F;--mx-progress:0;
  --sans:Graphik,"Graphik LCG","Helvetica Neue",Helvetica,"Segoe UI",Roboto,Arial,sans-serif;
  --serif:Charter,"Iowan Old Style","PT Serif",Georgia,"Times New Roman",serif;
  background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
.mx *,.mx *::before,.mx *::after{box-sizing:border-box}
.mx :where(h1,h2,h3,h4,p,ul,ol,dl,dd,figure,blockquote){margin:0;padding:0}
.mx :where(ul,ol){list-style:none}
/* resets without weight: any .mx-* rule below wins over them */
.mx :where(a){color:inherit}
.mx :where(button){font:inherit;color:inherit}
.mx :where(img){max-width:100%;height:auto}
.mx-i{flex:none}
.mx-label{font:500 12px/1.4 var(--sans);letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}

/* first screen: «Урок» */
.mx-hero{background:var(--yellow)}
.mx-hero__in{max-width:1100px;margin:0 auto;padding:24px 20px 44px}
.mx-crumbs{font-size:13px;color:#4A4124;display:flex;flex-wrap:wrap;gap:8px}
.mx-crumbs span{opacity:.6}
.mx h1{font-family:var(--sans);font-size:clamp(36px,6vw,68px);line-height:1.02;letter-spacing:-.03em;font-weight:700;max-width:900px;margin:26px 0 18px}
.mx-lead{font-size:clamp(19px,2.1vw,23px);line-height:1.42;max-width:720px;margin-bottom:24px}
.mx-lead p{margin:0}
.mx-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;line-height:1.35}
.mx-meta>span{display:inline-block;background:rgba(255,255,255,.6);padding:8px 14px;border-radius:999px}
.mx-meta .mx-i{vertical-align:-3px;margin-right:6px}
.mx-meta a{font-weight:500;text-decoration:none}
.mx-meta a:hover{text-decoration:underline}
.mx-hcourse{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:22px;max-width:720px;background:#fff;border-radius:14px;padding:12px 16px;font-size:15px;line-height:1.4}
.mx-hcourse__t{flex:1 1 300px}
.mx-hcourse__a{display:inline-flex;align-items:center;gap:6px;font-weight:500;text-decoration:none;border-bottom:3px solid var(--yellow);padding-bottom:2px;white-space:nowrap}
.mx-hcourse__a:hover{border-bottom-color:var(--ink)}

/* layout: contents on the left */
.mx-grid{max-width:1100px;margin:0 auto;padding:52px 20px 0;display:grid;grid-template-columns:220px minmax(0,700px);column-gap:clamp(28px,4vw,76px);grid-template-areas:"rail sum" "rail body"}
.mx-grid--plain{grid-template-columns:minmax(0,700px);justify-content:center;grid-template-areas:"sum" "body"}
/* the rail holds only the contents: no scroll of its own, never cut off; a rail taller than the screen
   (article.js sets .is-tall) scrolls with the page instead of sticking */
.mx-rail{grid-area:rail;position:sticky;top:calc(var(--mx-top,0px) + 20px);align-self:start;font-size:15px}
.mx-rail.is-tall{position:static}
.mx-summary{grid-area:sum}
.mx-body{grid-area:body;padding-top:8px;min-width:0}
.mx-now{display:none}

/* contents with % read: «Конспект» */
.mx-toc{border:1.5px solid var(--ink);padding:16px 16px 12px;background:#fff}
.mx-toc__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 10px;margin-bottom:10px}
.mx-toc__title{font-size:16px;font-weight:700}
.mx-toc__pct{font-size:13px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.mx-toc__bar{height:4px;background:var(--rule);margin-bottom:8px}
.mx-toc__bar::after{content:"";display:block;height:100%;background:var(--ink);transform-origin:0 50%;transform:scaleX(var(--mx-progress))}
.mx-toc a{display:flex;gap:10px;align-items:flex-start;padding:6px 0;text-decoration:none;line-height:1.3}
.mx-toc a::before{content:"";flex:none;width:9px;height:9px;margin-top:5px;border:1.5px solid var(--ink);border-radius:50%}
.mx-toc a.is-passed{color:var(--muted)}
.mx-toc a.is-passed::before{background:var(--ink)}
.mx-toc a.is-active{font-weight:700}
.mx-toc a.is-active::before{background:var(--yellow)}
.mx-toc a:hover{text-decoration:underline;text-underline-offset:3px}
.mx-toc__n{font-weight:400;color:var(--muted);white-space:nowrap}

/* «Главное за минуту» and body text: «Журнал» */
.mx-summary{background:var(--tint);border-top:3px solid var(--ink);padding:26px 28px 14px;margin-bottom:8px}
.mx-summary h2{font-size:13px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;margin-bottom:16px}
.mx-dash li{position:relative;padding-left:1.7em;margin-bottom:.75em;font-family:var(--serif);font-size:18px;line-height:1.5}
.mx-dash li::before{content:"—";position:absolute;left:0;color:var(--muted)}
.mx-sec{scroll-margin-top:calc(var(--mx-top,0px) + 16px)}
.mx-prose{font-family:var(--serif);font-size:20px;line-height:1.62}
.mx-text{margin-bottom:1.15em}
.mx-text p{margin-bottom:1.15em}
.mx-text>:last-child{margin-bottom:0}
.mx-text ul{list-style:disc;padding-left:1.4em;margin-bottom:1.15em}
.mx-text ol{list-style:decimal;padding-left:1.6em;margin-bottom:1.15em}
.mx-text li{margin-bottom:.4em}
.mx-text a{text-decoration:underline;text-underline-offset:3px}
.mx-text blockquote{margin:1.4em 0;padding-left:22px;border-left:3px solid var(--rule)}
.mx-text :where(h1,h2,h3,h4,h5,h6){font-family:var(--sans);font-size:clamp(20px,2vw,23px);line-height:1.26;font-weight:500;margin:1.6em 0 .55em}
.mx-text iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0}
.mx-prose h2{font-family:var(--sans);font-size:clamp(27px,3.1vw,35px);line-height:1.1;letter-spacing:-.02em;font-weight:700;margin:2.2em 0 .8em}
.mx-prose .mx-sec:first-child>h2{margin-top:.6em}
.mx-prose .mx-h3{font-family:var(--sans);font-size:clamp(20px,2vw,23px);line-height:1.26;font-weight:500;letter-spacing:-.005em;margin:1.9em 0 .55em}
.mx-prose b,.mx-prose strong{font-weight:700}
.mx-quote{margin:2em 0;padding:2px 0 2px 28px;border-left:4px solid var(--yellow)}
.mx-quote p{font-family:var(--serif);font-style:italic;font-size:clamp(22px,2.5vw,28px);line-height:1.36;margin-bottom:.4em}
.mx-quote cite{font:normal 500 12px/1.4 var(--sans);letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.mx-hl{background:#FFE98F;padding:.08em .12em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.mx-prose a.mx-term{text-decoration:underline dotted;text-decoration-thickness:1.5px;text-underline-offset:4px;background:var(--soft);padding:0 3px}
.mx-prose a.mx-term:hover,.mx-prose a.mx-term[aria-expanded="true"]{background:var(--yellow)}

/* terms (29.11.2026): a card by the word in the text, every term together after the text */
.mx-prose{position:relative}
.mx-tip{position:absolute;z-index:15;display:block;width:340px;max-width:calc(100vw - 24px);padding:14px 16px 12px;background:#fff;border:1.5px solid var(--ink);box-shadow:0 8px 24px rgba(0,0,0,.12);
  font:normal 400 15px/1.45 var(--sans);letter-spacing:normal;text-align:left;text-indent:0;white-space:normal;color:var(--ink)}
.mx-tip[hidden]{display:none}
.mx-tip__t{display:block;font-weight:700;font-size:16px;line-height:1.3;margin-bottom:4px}
.mx-tip__d{display:block;color:#3B3B38}
.mx-tip__all{display:inline-block;margin-top:10px;font-size:14px;font-weight:500;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.mx-terms{margin-top:64px;background:var(--tint);padding:26px 28px 10px;scroll-margin-top:calc(var(--mx-top,0px) + 16px)}
.mx-terms h2{font-size:clamp(24px,2.8vw,30px);line-height:1.15;letter-spacing:-.02em;margin-bottom:18px}
.mx-terms__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
.mx-terms__item{padding:0 0 16px;break-inside:avoid}
.mx-terms dt{font-weight:700;font-size:16px;line-height:1.35;scroll-margin-top:calc(var(--mx-top,0px) + 16px)}
.mx-terms dd{margin:3px 0 0;font-size:15px;line-height:1.5;color:#3B3B38}
.mx-terms .is-lit dt,.mx-terms .is-lit dd{background:var(--soft);box-shadow:0 0 0 4px var(--soft)}

/* pictures (step 1, 29.11.2026, prototypes/pictures.html): only the visible ones, as in PR #232.
   Without the script: a grid of two, every picture with its caption. article.js lays rows of one height
   (.is-laid); .mx-js is set before the first paint, so a strip shows one picture at once and nothing jumps */
.mx-gal{margin:2em 0;display:grid;gap:10px;font-family:var(--sans)}
.mx-gal>*{min-width:0}
.mx-gal__intro{font-size:15px;line-height:1.4;font-weight:600}
.mx-gal__cells{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start}
.mx-gal--single .mx-gal__cells{grid-template-columns:minmax(0,1fr);justify-items:center}
.mx-gal__cell{display:grid;gap:6px;align-content:start;min-width:0;max-width:100%}
.mx-gal__pic{position:relative;display:block;width:100%;border:0;padding:0;margin:0;background:var(--tint);cursor:zoom-in}
.mx-gal__pic img{display:block;width:100%;height:auto}
.mx-gal__pic img:not([width]){aspect-ratio:3/2;object-fit:contain}
/* one picture: the text width, no higher than 560px (72% of a phone screen); a tall one narrower, centred */
.mx-gal--single .mx-gal__cell{width:min(100%,calc(var(--mx-single-h,560px) * var(--r,1.5)))}
.mx-gal--tall .mx-gal__cell{width:min(var(--mx-tall,58%),calc(var(--mx-single-h,560px) * var(--r)))}
.mx-gal__badge{position:absolute;top:8px;left:8px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--yellow);color:var(--ink);font:700 14px/1 var(--sans)}
.mx-gal__cap{font-size:14px;line-height:1.42;color:var(--muted)}
.mx-gal__text{display:grid;gap:3px;font-size:14px;line-height:1.42;color:var(--muted)}
.mx-gal__text>span{display:block}
.mx-gal__html p{margin:0}
.mx-gal__html p+p{margin-top:3px}
.mx-gal__html a{text-decoration:underline;text-underline-offset:3px}
/* until article.js has run: rows wrap by shape, each picture at least the lowest row high (--r = width/height),
   which is the same split as the script's in most galleries, so the page barely moves */
.mx-js .mx-gal--rows:not(.is-laid) .mx-gal__cells{display:flex;flex-wrap:wrap;gap:8px}
.mx-js .mx-gal--rows:not(.is-laid) .mx-gal__cell{flex:var(--r,1.5) 1 calc(var(--r,1.5) * var(--mx-row-min,170px))}
.mx-gal.is-laid .mx-gal__cells{display:grid;grid-template-columns:none;gap:8px}
.mx-gal__row{display:flex;gap:8px;justify-content:center}
.mx-gal__row>.mx-gal__cell{flex:none}
.mx-gal.is-laid .mx-gal__pic{width:100%}
.mx-gal.is-laid .mx-gal__pic img{width:100%;height:100%;max-height:none;object-fit:contain;aspect-ratio:auto}
.mx-gal__bar,.mx-gal__thumbs{display:none}
.mx-js .mx-gal--strip .mx-gal__cells{display:block;background:var(--tint);touch-action:pan-y}
.mx-js .mx-gal--strip .mx-gal__cell{display:none}
.mx-js .mx-gal--strip .mx-gal__cell.is-current{display:grid}
.mx-js .mx-gal--strip .mx-gal__pic{height:430px}
.mx-js .mx-gal--strip .mx-gal__pic img{width:100%;height:100%;object-fit:contain;aspect-ratio:auto}
.mx-js .mx-gal--strip .mx-gal__cap{background:var(--bg);padding-top:10px}
.mx-js .mx-gal__bar{display:flex;align-items:center;gap:10px}
.mx-gal__count{font-size:14px;font-variant-numeric:tabular-nums;color:var(--muted);min-width:4.5em}
.mx-gal__nav{display:inline-flex;gap:6px;margin-left:auto}
.mx-gal__arrow{width:38px;height:38px;border-radius:50%;border:1px solid var(--rule);background:var(--bg);cursor:pointer;display:grid;place-items:center;font-size:20px;line-height:1}
.mx-gal__arrow:disabled{opacity:.35;cursor:default}
.mx-js .mx-gal__thumbs{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;position:relative}
.mx-gal__thumb{flex:none;height:54px;border:0;padding:0;cursor:pointer;opacity:.55;background:var(--tint)}
.mx-gal__thumb img{display:block;height:54px;width:auto;max-width:none}
.mx-gal__thumb img:not([width]){aspect-ratio:3/2;object-fit:cover}
.mx-gal__thumb[aria-current="true"]{opacity:1;outline:2px solid var(--ink);outline-offset:-2px}
@media (max-width:551px){.mx-js .mx-gal--strip .mx-gal__pic{height:300px}.mx-gal{--mx-row-min:140px;--mx-single-h:72vh;--mx-tall:82%}}

/* full screen view */
.mx-lb{position:fixed;inset:0;z-index:10000;background:#121212;color:#EDEAE2;display:grid;grid-template-rows:auto minmax(0,1fr) auto;font-family:var(--sans);
  padding:calc(env(safe-area-inset-top,0px) + 12px) max(16px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 16px) max(16px,env(safe-area-inset-left,0px))}
.mx-lb[hidden]{display:none}
.mx-lb__top{display:flex;align-items:center;gap:12px;min-height:38px}
.mx-lb__count{font-size:14px;color:#A9A496;font-variant-numeric:tabular-nums}
.mx-lb__close{margin-left:auto;border:1px solid #3A3A3A;background:none;color:#EDEAE2;border-radius:999px;padding:8px 16px;cursor:pointer;font-size:14px}
.mx-lb__mid{position:relative;display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;min-height:0;touch-action:pan-y;margin-top:12px}
.mx-lb__img{display:block;max-width:calc(100% - 110px);max-height:100%;width:auto;height:auto;object-fit:contain}
.mx-lb__arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid #3A3A3A;background:rgba(18,18,18,.6);color:#EDEAE2;cursor:pointer;font-size:22px;line-height:1}
.mx-lb__prev{left:0}
.mx-lb__next{right:0}
.mx-lb__arrow:disabled{opacity:.3;cursor:default}
.mx-lb__arrow[hidden]{display:none}
.mx-lb__cap{font-size:15px;line-height:1.45;max-width:720px;margin:14px auto 0;text-align:center;min-height:1.45em;max-height:28vh;overflow:auto;white-space:pre-line}
html.mx-lb-open{overflow:hidden}
@media (max-width:551px){.mx-lb__img{max-width:100%}.mx-lb__arrow{top:auto;bottom:8px;transform:none}}
.mx-video{display:block;margin:2.2em 0}
.mx-video__play{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;aspect-ratio:16/9;border:0;cursor:pointer;background:#161616;color:#fff;padding:16px;text-align:center;font-family:var(--sans)}
.mx-video__icon{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:var(--yellow);color:#111;padding-left:4px}
.mx-video__label{font-weight:500;font-size:18px;line-height:1.3}
.mx-video__note{font-size:13px;line-height:1.3;color:#B5B5B5}
.mx-video__play:hover .mx-video__icon{background:#fff}
.mx-video iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;background:#161616}

/* «Коротко»: «Конспект» */
.mx-key{position:relative;border:1.5px solid var(--ink);padding:22px 20px 16px;margin-top:30px;background:#fff;font-family:var(--sans)}
.mx-key .mx-key__label{position:absolute;top:-11px;left:14px;margin:0;background:var(--yellow);font:500 12px/20px var(--sans);letter-spacing:.07em;text-transform:uppercase;padding:0 8px}
.mx-key p:last-child{font-size:17px;line-height:1.5;font-weight:500;margin:0}

/* the course inset after the first section: a «Журнал» side note */
.mx-offer{margin:56px 0 40px;padding:22px 0 24px;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);font-family:var(--sans)}
.mx-offer__label{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;margin-bottom:10px}
.mx-offer__label .mx-label{background:var(--yellow);color:var(--ink);padding:2px 8px}
.mx-offer__meta{font-size:13px;color:var(--muted)}
.mx-offer__title{font-weight:700;font-size:clamp(22px,2.4vw,26px);line-height:1.18;letter-spacing:-.015em;margin-bottom:8px}
.mx-offer__text{font-family:var(--serif);font-size:18px;line-height:1.5;margin-bottom:16px}
.mx-arrow{display:inline-flex;align-items:center;gap:8px;font:500 16px/1.3 var(--sans);text-decoration:none;border-bottom:3px solid var(--yellow);padding-bottom:3px}
.mx-arrow:hover{border-bottom-color:var(--ink)}

/* quiz: «Как сайт», every question visible */
.mx-quiz{margin-top:80px;background:#fff;border-radius:10px;padding:28px 28px 24px;box-shadow:0 0 0 1px #E8E4D8;scroll-margin-top:calc(var(--mx-top,0px) + 16px)}
.mx-quiz h2{font-size:clamp(24px,2.8vw,30px);line-height:1.15;letter-spacing:-.02em;margin-bottom:6px}
.mx-quiz__intro{font-size:16px;line-height:1.5;color:var(--muted);margin-bottom:18px}
.mx-q{padding:20px 0 6px;border-top:1px solid #E3E3E3}
.mx-q__by{font:500 12px/1.4 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:#8D8E9C}
.mx-q__text{font-size:clamp(18px,1.9vw,19px);font-weight:700;line-height:1.3;margin:6px 0 14px}
.mx-q__opts{display:grid;gap:8px}
.mx-opt{display:flex;gap:12px;align-items:flex-start;text-align:left;width:100%;background:#F3F3F3;border:1px solid transparent;border-radius:8px;padding:12px 16px;font-size:16px;line-height:1.4;cursor:pointer;color:var(--ink)}
.mx-opt:hover:not(:disabled){background:#FFF0B0}
.mx-opt__mark{flex:none;display:grid;place-items:center;width:20px;height:20px;margin-top:1px;border:1.5px solid #8D8E9C;border-radius:50%;background:#fff}
.mx-opt__mark .mx-i{display:none}
.mx-opt:disabled{cursor:default;color:var(--muted)}
.mx-opt.is-correct{background:#E6F2EA;border-color:var(--ok);color:var(--ink)}
.mx-opt.is-correct .mx-opt__mark{background:var(--ok);border-color:var(--ok);color:#fff}
.mx-opt.is-correct .mx-i-check{display:block}
.mx-opt.is-wrong{background:#F8EBE9;border-color:var(--bad);color:var(--ink)}
.mx-opt.is-wrong .mx-opt__mark{background:var(--bad);border-color:var(--bad);color:#fff}
.mx-opt.is-wrong .mx-i-cross{display:block}
.mx-fb{font-size:15px;line-height:1.5;margin-top:12px;padding:12px 16px;background:#FFF6D1;border-radius:8px}
.mx-quiz__score{margin-top:18px;padding-top:16px;border-top:1px solid #E3E3E3;font-size:17px;font-weight:700}
.mx-reread{margin-top:12px;font-weight:400}
.mx-reread__t{font-size:14px;color:var(--muted)}
.mx-reread ul{margin:6px 0 0}
.mx-reread li{border-top:1px solid #E3E3E3;padding:9px 0;font-size:16px;line-height:1.4}
.mx-reread a{font-weight:500;text-decoration:none;border-bottom:2px solid var(--yellow)}

/* the course after the quiz: «Журнал» dark block */
.mx-course{background:var(--ink);color:#fff;margin-top:56px;padding:40px 40px 42px}
.mx-course .mx-label{color:var(--yellow)}
.mx-course__title{font-size:clamp(26px,3.4vw,38px);line-height:1.08;letter-spacing:-.025em;font-weight:700;margin:12px 0 14px}
.mx-course__text{font-family:var(--serif);font-size:19px;line-height:1.5;color:#E9E6DE;max-width:560px;margin-bottom:14px}
.mx-course__meta{font-size:14px;color:#B9B5AB;margin-bottom:24px}
.mx-btn{display:inline-flex;align-items:center;gap:10px;background:var(--yellow);color:#111;font-weight:500;font-size:16px;line-height:1.2;padding:15px 22px;text-decoration:none;border-radius:2px;white-space:nowrap}
.mx-btn:hover{background:#fff}
.mx-btn--sm{padding:10px 14px;font-size:14px}

/* lecturer: «Журнал» */
.mx-lect{margin-top:64px;border-top:3px solid var(--ink);padding:24px 0 0}
.mx-lect h2{font-size:clamp(26px,3vw,32px);letter-spacing:-.02em;line-height:1.15}
.mx-lect h2 a{text-decoration:none}
.mx-lect h2 a:hover{text-decoration:underline}
.mx-lect__head{display:flex;align-items:center;gap:20px;margin:14px 0}
.mx-lect__photo{flex:none;display:block;width:112px;height:112px;border-radius:50%;overflow:hidden;background:#DDD8CC}
.mx-lect__photo img{display:block;width:100%;height:100%;object-fit:cover}
.mx-lect__role{font-family:var(--serif);font-size:18px;line-height:1.5;max-width:600px}
.mx-lect__stats{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:14px;color:var(--muted);margin:10px 0 4px}
.mx-lect__sub{font:500 12px/1.4 var(--sans);letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:30px 0 12px}
.mx-lcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}
.mx-lcard{display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-height:118px;padding:16px 18px;background:#fff;border:1px solid #DAD6CB;border-top:4px solid var(--yellow);text-decoration:none}
.mx-lcard:hover{border-color:var(--ink)}
.mx-lcard__t{font-family:var(--serif);font-size:19px;line-height:1.3}
.mx-lcard__m{font-size:13px;color:var(--muted)}
.mx-lect>.mx-arrow{margin-top:8px}

/* about Level One */
.mx-about{margin-top:64px;border-top:3px solid var(--ink);padding:24px 0 72px}
.mx-about h2{font-size:clamp(26px,3vw,32px);letter-spacing:-.02em;line-height:1.15;margin:12px 0}
.mx-about__text{font-family:var(--serif);font-size:18px;line-height:1.5;max-width:600px}
.mx-about__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:26px 0}
.mx-about__facts p{border-top:4px solid var(--yellow);padding-top:12px}
.mx-about__facts b{display:block;font-size:clamp(24px,2.6vw,30px);line-height:1.1;letter-spacing:-.02em;margin-bottom:6px}
.mx-about__facts span{display:block;font-size:14px;line-height:1.4;color:var(--muted)}

/* phone bar with the course */
.mx-bar{display:none}

@media (max-width:800px){
  .mx-grid,.mx-grid--plain{grid-template-columns:minmax(0,1fr);grid-template-areas:"sum" "rail" "body";column-gap:0;padding:28px 16px 0}
  .mx-rail{position:static;margin:22px 0 0;padding:0}
  .mx-terms{margin-left:-16px;margin-right:-16px;padding:24px 16px 8px}
  .mx-terms h2{font-size:24px}
  .mx-terms__list{grid-template-columns:minmax(0,1fr)}
  .mx-toc__bar,.mx-toc__pct{display:none}
  .mx h1{font-size:38px}
  .mx-lead{font-size:19px}
  .mx-prose{font-size:18px;line-height:1.6}
  .mx-prose h2{font-size:27px}
  .mx-prose .mx-h3{font-size:20px}
  .mx-quote{padding-left:18px}
  .mx-quote p{font-size:22px}
  .mx-offer__title{font-size:22px}
  .mx-quiz{margin-left:-16px;margin-right:-16px;border-radius:0;padding:24px 16px 20px}
  .mx-quiz h2{font-size:24px}
  .mx-q__text{font-size:18px}
  .mx-course{margin-left:-16px;margin-right:-16px;padding:30px 16px 32px}
  .mx-course__title{font-size:26px}
  .mx-btn{width:100%;justify-content:center}
  .mx-btn--sm{width:auto;flex:none}
  .mx-lect h2{font-size:26px}
  .mx-lect__photo{width:84px;height:84px}
  .mx-lect__head{gap:14px}
  .mx-lcards{grid-template-columns:minmax(0,1fr)}
  .mx-lcard{min-height:0}
  .mx-about h2{font-size:26px}
  .mx-about__facts{grid-template-columns:minmax(0,1fr);gap:14px}
  .mx-now{display:flex;position:sticky;top:var(--mx-top,0px);z-index:20;margin:0;padding:9px 16px;background:#fff;border-bottom:1px solid #DAD6CB;font-size:13px;line-height:1.3;gap:12px;justify-content:space-between;align-items:center}
  .mx-now__sec{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500}
  .mx-now__r{display:flex;gap:12px;align-items:center;white-space:nowrap;color:#6F6A60}
  .mx-now a{color:#151515;font-weight:500;text-underline-offset:3px}
  .mx-hero__in{padding:18px 16px 32px}
  .mx-summary{margin:0 -16px 8px;padding:22px 16px 10px}
  .mx-dash li{font-size:17px}
  .mx-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:center;gap:12px;padding:10px 12px 10px 16px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px));background:#fff;color:var(--ink);border-top:1px solid #DAD6CB;box-shadow:0 -6px 20px rgba(0,0,0,.06);font:14px/1.3 var(--sans);transform:translateY(110%);transition:transform .25s ease}
  .mx-bar.is-shown{transform:none}
  .mx-bar[hidden]{display:none}
  .mx-bar__t{flex:1;min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .mx-bar__x{flex:none;width:32px;height:32px;border:0;background:none;font-size:22px;line-height:1;color:#6F6A60;cursor:pointer}
}
@media (prefers-reduced-motion:reduce){.mx-bar{transition:none}}
