/* RMS English / private staging. Self-hosted variable Persian font. */
@font-face{font-family:'RMS Vazirmatn';src:url("./fonts/Vazirmatn-Regular.f6d31671339d.woff2") format('woff2');font-weight:100 900;font-display:swap}
:root{--green-950:#102d2a;--green-850:#183d36;--green-700:#2c655a;--gold:#ba9159;--cream:#f8f6f0;--paper:#fffefb;--ink:#1b2f2c;--muted:#687470;--line:#e5e5dc;--radius:18px;--shadow:0 18px 38px rgba(17,48,44,.09);--content:1220px}
*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;direction:rtl;color:var(--ink);background:var(--paper);font-family:'RMS Vazirmatn','Vazirmatn','Noto Sans Arabic',Tahoma,sans-serif;font-size:15px;line-height:1.8;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}img{display:block;max-width:100%;height:auto}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.shell{width:min(var(--content),calc(100% - 60px));margin-inline:auto}.skip{position:absolute;right:20px;top:-100px;padding:10px;background:white;color:black;z-index:200}.skip:focus{top:10px}.preview-ribbon{background:#f0e6d4;color:#544124;text-align:center;font-size:13px;font-weight:700;padding:6px 10px}.site-header{position:sticky;top:0;z-index:60;background:rgba(255,254,251,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(15px)}.header-inner{min-height:76px;display:flex;align-items:center;gap:38px}.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:var(--green-950);color:white;font:bold 31px Georgia,serif;line-height:1}.brand-mark .dot{color:var(--gold)}.brand-logo-img{display:block;width:43px;height:43px;object-fit:contain}.brand-text{display:flex;flex-direction:column;gap:0}.brand-text strong{font:800 15px 'Inter',Arial,sans-serif;letter-spacing:1.1px;line-height:1.5;direction:ltr}.brand-text small{font-size:12px;line-height:1.4;color:var(--muted);font-weight:600}.desktop-nav{display:flex;align-items:center;gap:25px;flex:1}.nav-link{font-size:14px;font-weight:650;color:#38504c;white-space:nowrap}.nav-link:hover,.account:hover{color:#007f64}.header-actions{display:flex;align-items:center;margin-inline-start:auto;gap:8px}.account{border:1px solid #d4dcd5;padding:9px 15px;border-radius:12px;white-space:nowrap;font-size:13px;font-weight:700}.menu-button{display:none;border:1px solid var(--line);border-radius:10px;background:white;min-width:44px;min-height:44px}.mobile-nav{display:none}.btn{min-height:48px;display:inline-flex;justify-content:center;align-items:center;gap:20px;padding:11px 21px;border-radius:11px;font-size:14px;font-weight:800;border:1px solid transparent;white-space:normal}.btn-main{background:var(--green-850);color:white}.btn-main:hover{background:#266454}.btn-white{background:white;color:var(--green-950);border-color:#d7ded8}.btn:disabled{opacity:.65;cursor:not-allowed}.btn span{font-size:22px;line-height:1}.eyebrow,.overline,.path-index,.beyond-number{font-size:13px;font-weight:750;color:var(--green-700)}h1,h2,h3,p{margin-block-start:0}h1,h2,h3{line-height:1.55}p{color:var(--muted)}.hero{background:linear-gradient(112deg,#f1f1e9 0%,#fcfbf8 62%,#e7eee7 100%);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center;padding-block:75px 80px}.overline{display:flex;align-items:center;gap:10px}.overline-line{width:20px;height:3px;background:var(--gold)}.hero-copy h1{font-size:clamp(34px,4vw,57px);font-weight:850;line-height:1.62;letter-spacing:0;margin:22px 0 17px}.hero-copy h1 em{color:var(--green-700);font-style:normal}.hero-copy>p{font-size:17px;line-height:2.15;max-width:625px;margin:0 0 24px;color:#5d6a66}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-trust{display:flex;flex-wrap:wrap;gap:21px;margin-top:28px;color:#4f655e;font-size:13px;font-weight:700}.hero-gallery{max-width:510px;background:var(--green-950);color:#fff;border-radius:27px;padding:22px;box-shadow:0 24px 42px rgba(17,48,44,.15);position:relative}.gallery-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px}.gallery-top span,.gallery-foot{font:650 12px Inter,Arial,sans-serif;letter-spacing:1.1px;color:#b4cebd}.gallery-top b{font-size:13px}.gallery-course,.gallery-book{display:grid;grid-template-columns:112px 1fr;align-items:center;gap:15px;border-radius:17px;background:#234c44;padding:11px;margin-bottom:11px;min-height:133px}.gallery-book{background:#345d51}.gallery-image{height:117px;background:#f9f6eb;border-radius:9px;overflow:hidden;display:grid;place-items:center}.gallery-image img{width:100%;height:100%;object-fit:contain}.gallery-course small,.gallery-book small{display:block;color:#c6d8cb;font-size:12px;margin-bottom:5px}.gallery-course strong,.gallery-book strong{font-size:18px;line-height:1.8;display:block}.gallery-course div>span,.gallery-book div>span{font-size:12px;color:#e6c795}.gallery-foot{text-align:center;margin-top:17px}.gallery-foot span{color:var(--gold);margin-inline:7px}.section{padding-block:80px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:29px}.section-heading h2{font-size:clamp(24px,2.4vw,34px);margin:7px 0 4px;font-weight:850}.section-heading p{font-size:15px;margin:0}.text-link{font-size:14px;font-weight:800;color:var(--green-700);white-space:nowrap;padding-bottom:4px}.path-section{background:#fff}.path-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.path-card{display:flex;flex-direction:column;justify-content:space-between;min-height:184px;padding:22px 25px;background:#f1f4ee;border:1px solid #e4e8df;border-radius:18px;transition:transform .18s}.path-card:nth-child(2){background:#f6f0e5;border-color:#eae1d0}.path-card:nth-child(3){background:#eaf0f0;border-color:#d9e3e3}.path-card:hover{transform:translateY(-3px)}.path-card>div{display:flex;flex-direction:column;gap:3px}.path-card strong{font-size:25px;font-weight:850}.path-card div span{font-size:13px;color:#65726f}.path-card>b{align-self:flex-end;font-size:23px;color:var(--green-700);line-height:1}.course-section{background:#faf9f5}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.product-card{min-width:0;background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 7px 20px rgba(17,48,44,.025);transition:box-shadow .18s,transform .18s}.product-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}.cover-link{height:211px;display:grid;place-items:center;padding:12px;background:#eff1eb;position:relative}.cover-link img{width:100%;height:100%;object-fit:contain}.cover-link.book-image{background:#eeeae1}.kind-label{position:absolute;bottom:10px;right:12px;background:rgba(255,255,255,.91);color:#264a42;border-radius:9px;font-size:12px;padding:3px 10px;font-weight:700}.card-inner{display:flex;flex-direction:column;flex:1;padding:18px 19px 17px}.card-kicker{font-size:13px;color:#51766b;font-weight:700}.card-inner h3{font-size:18px;font-weight:800;margin:8px 0 6px;line-height:1.8;min-height:32px}.card-inner h3 a:hover{color:var(--green-700)}.card-description{font-size:13px;line-height:1.95;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:13px;display:flex;align-items:end;justify-content:space-between;gap:12px}.final-price{font-size:19px;font-weight:850;line-height:1.6;white-space:nowrap}.final-price small{font-size:12px;color:var(--muted);font-weight:700}.price-before{display:flex;align-items:center;gap:8px;font-size:12px;color:#8d948f}.price-before span{color:#a16e34;font-weight:800}.sold-out{color:#a34735;font-size:15px;font-weight:800}.card-cta{font-size:13px;font-weight:800;color:var(--green-700);border:1px solid #d9e5dd;background:#eef6ef;padding:9px 12px;border-radius:10px;white-space:nowrap;min-height:44px;display:flex;align-items:center;gap:7px}.sample-section{background:var(--green-950);color:white}.sample-grid{display:grid;grid-template-columns:1fr .9fr;align-items:center;gap:65px}.sample-copy h2{font-size:clamp(26px,3vw,39px);margin:12px 0}.sample-copy h2 em{font-style:normal;color:#e9c695}.sample-copy p{color:#c4d5cf;font-size:15px;line-height:2}.eyebrow.warm{color:#e7c38a}.sample-options{display:grid;gap:10px;margin-top:22px}.sample-option{width:100%;min-height:74px;display:flex;gap:13px;align-items:center;text-align:right;border:1px solid #41675e;background:#22483f;color:white;padding:11px 14px;border-radius:12px}.sample-option:hover{background:#2e5c4e}.sample-option strong{font-size:15px;display:block}.sample-option small{display:block;font-size:12px;color:#c7d8d0;margin-top:1px}.sample-play-icon{border:1px solid #769086;border-radius:50%;min-width:40px;height:40px;display:grid;place-items:center;font-size:22px}.sample-arrow{margin-inline-start:auto;font-size:22px;color:#dfbd80}.sample-art{background:#275247;border:1px solid #436b5b;border-radius:23px;padding:20px;min-height:410px;display:flex;flex-direction:column}.sample-art-top{display:flex;justify-content:space-between;gap:14px;font-size:12px;color:#cddfd0}.live-dot{color:#e4ca96}.sample-art img{display:block;width:min(100%,330px);max-height:265px;object-fit:contain;margin:auto;mix-blend-mode:normal;border-radius:12px}.sample-art-bottom strong{font-size:20px}.sample-art-bottom p{color:#c5d9cf;font-size:13px;margin:4px 0 0}.book-section{background:#fff}.beyond{background:#f3f1e8}.beyond-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.beyond-card{display:flex;flex-direction:column;justify-content:space-between;min-height:202px;padding:25px;border-radius:18px;background:#1a3e39;color:white}.beyond-card.light{background:#e3e9db;color:var(--ink)}.beyond-number{color:#d6bd8e}.beyond-card.light .beyond-number{color:#587568}.beyond-card h3{font-size:24px;margin:11px 0 5px}.beyond-card p{color:#c6d7cb;margin:0}.beyond-card.light p{color:#51655b}.beyond-card b{font-size:13px;color:#ead2a0;margin-top:12px}.beyond-card.light b{color:var(--green-700)}.site-footer{background:#102c29;color:#fff;padding:58px 0 18px}.footer-top{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:50px}.site-footer p{max-width:370px;color:#b5cec1;margin:15px 0 0}.site-footer h3{font-size:14px;margin:0 0 13px;color:#e8d2a9}.site-footer .footer-top>div:not(:first-child){display:flex;flex-direction:column;gap:9px}.site-footer a{font-size:13px}.site-footer a:hover{color:#e8d2a9}.brand-footer{display:flex!important;flex-direction:row!important;gap:11px!important}.site-footer .brand-text small{color:#b5cec1}.footer-bottom{margin-top:39px;padding-top:16px;border-top:1px solid #2f4945;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#b1c8bc}.catalog-hero{background:#f1f1ea;padding:42px 0 37px}.crumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#74817d;font-size:13px;margin-bottom:31px}.crumb a:hover{color:var(--green-700)}.catalog-hero h1{font-size:clamp(28px,3.1vw,44px);margin:7px 0}.catalog-hero>div>p{margin:0}.catalog-controls{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-top:23px}.search-label{display:flex;flex-direction:column;gap:5px;font-weight:700;font-size:13px;color:#49605a;max-width:440px;width:100%}.search-label input{background:white;border:1px solid #cbd7ce;border-radius:11px;min-height:48px;padding:11px 14px;outline:none;width:100%}.filters{display:flex;flex-wrap:wrap;gap:7px}.filters button{border:1px solid #d0d8d2;background:white;border-radius:10px;padding:9px 15px;min-height:44px;font-weight:750;font-size:13px}.filters button.is-active{background:var(--green-850);color:#fff;border-color:var(--green-850)}.catalog-count{margin-bottom:21px;color:#65776d;font-size:13px}.catalog-empty{padding:40px;text-align:center;background:#f5f6f3;border-radius:15px}.detail-section{background:#f7f7f1;padding:35px 0 70px}.detail-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:60px;align-items:start}.detail-image-wrap{background:white;border:1px solid #e3e4da;border-radius:23px;min-height:430px;padding:26px;display:grid;place-items:center;position:relative}.detail-image-wrap img{height:min(50vw,390px);width:100%;object-fit:contain}.detail-image-caption{position:absolute;bottom:16px;left:19px;font:12px Arial;color:#829085}.detail-description h1{font-size:clamp(27px,3vw,38px);margin:10px 0 12px}.detail-lead{font-size:16px;line-height:2.2;white-space:pre-line;color:#4e605b}.detail-facts{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:24px}.detail-facts>span{background:#e5ede4;border:1px solid #d5e1d8;padding:5px 12px;border-radius:8px;color:#426355;font-size:13px;font-weight:750}.purchase-panel{background:#fff;border:1px solid #e3e7dc;border-radius:17px;padding:23px;max-width:590px;box-shadow:0 8px 29px rgba(17,48,44,.04)}.purchase-head{display:flex;justify-content:space-between;font-size:13px;color:#657870}.discount-pill{background:#f9ede0;color:#8b5f2d;padding:3px 11px;border-radius:7px;font-weight:800}.purchase-main{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:10px 0 16px}.purchase-main strong{font-size:31px}.purchase-main strong small{font-size:14px;color:#65776d}.purchase-main del{color:#89918d}.purchase-panel .btn{width:100%}.purchase-note{font-size:12px;margin:12px 0 0;line-height:1.8}.purchase-out{margin:16px 0}.lesson-section{background:#fff}.lesson-grid{display:grid;grid-template-columns:.65fr 1.35fr;gap:45px}.lesson-intro h2{font-size:30px}.lesson-panel{border:1px solid #e3e7dd;border-radius:17px;overflow:hidden;background:white}.lesson-panel h3{background:#e8eee8;padding:17px 20px;font-size:17px;margin:0}.lesson-list{max-height:490px;overflow:auto}.lesson-row{display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid #e7ebe5;background:white;width:100%;text-align:right;padding:15px 20px;min-height:58px}.lesson-row:hover{background:#f5f8f3}.lesson-number{background:#e9efe8;min-width:32px;height:32px;border-radius:9px;display:grid;place-items:center;font-size:13px;font-weight:800}.lesson-watch{color:var(--green-700);font-size:13px;font-weight:800;margin-inline-start:auto;white-space:nowrap}.compact-products{grid-template-columns:repeat(3,1fr)}.video-overlay{position:fixed;inset:0;z-index:100;background:rgba(3,19,17,.83);display:grid;place-items:center;padding:20px}.video-overlay[hidden]{display:none}.video-modal{background:white;width:min(860px,100%);border-radius:16px;overflow:hidden}.video-top{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;font-size:15px}.close-video{width:44px;height:44px;display:grid;place-items:center;background:#f2f5f1;border:0;border-radius:10px}.iframe-box{background:#0b1715;aspect-ratio:16/9}.iframe-box iframe{border:0;width:100%;height:100%;display:block}.direct-link{font-size:13px;color:#285a4f;display:block;padding:12px 18px}.body-lock{overflow:hidden}
@media(max-width:1100px){.desktop-nav{gap:15px}.nav-link{font-size:13px}.hero-grid{gap:28px}.hero-gallery{max-width:none}.header-inner{gap:22px}.product-grid{gap:14px}.card-inner{padding:15px}.card-foot{flex-direction:column;align-items:start}.card-cta{align-self:stretch;justify-content:center}}
@media(max-width:900px){.desktop-nav{display:none}.menu-button{display:grid;place-items:center}.header-actions{margin-inline-start:auto}.mobile-nav:not([hidden]){display:flex;flex-direction:column;background:white;padding:13px 30px 20px;border-top:1px solid var(--line)}.mobile-nav a{padding:10px 0;border-bottom:1px solid var(--line);font-weight:700}.hero-grid{grid-template-columns:1fr;gap:30px;padding-block:52px}.hero-gallery{max-width:560px}.sample-grid{gap:28px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.path-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.path-card{padding:17px}.detail-grid{gap:30px}.lesson-grid{grid-template-columns:1fr}}
@media(max-width:650px){.shell{width:calc(100% - 30px)}.header-inner{min-height:66px}.brand-mark{width:37px;height:37px;font-size:27px}.brand-text strong{font-size:13px}.brand-text small{font-size:11px}.account{font-size:12px;padding:8px}.hero-grid{padding:37px 0 46px}.hero-copy h1{font-size:clamp(30px,7.8vw,40px)}.hero-copy>p{font-size:15px}.hero-actions{flex-direction:column}.hero-actions .btn{width:100%}.hero-trust{gap:6px 14px}.hero-gallery{padding:15px;border-radius:17px}.gallery-course,.gallery-book{grid-template-columns:88px 1fr;min-height:105px;padding:8px}.gallery-image{height:95px}.gallery-course strong,.gallery-book strong{font-size:15px}.section{padding-block:52px}.section-heading{align-items:start;flex-direction:column;gap:12px;margin-bottom:21px}.path-grid{grid-template-columns:1fr;gap:9px}.path-card{min-height:117px;padding:14px 19px}.path-card strong{font-size:22px}.product-grid,.compact-products{grid-template-columns:1fr;gap:12px}.product-card{display:grid;grid-template-columns:128px 1fr;min-height:182px}.cover-link{height:100%;min-height:182px;padding:9px}.cover-link img{object-fit:contain;max-height:196px}.kind-label{font-size:10px;right:7px;bottom:7px;padding:2px 5px}.card-inner{padding:12px 14px}.card-kicker{font-size:12px}.card-inner h3{font-size:15px;margin:2px 0 3px}.card-description{font-size:12px;line-height:1.7;-webkit-line-clamp:1;margin-bottom:5px}.card-foot{padding-top:6px}.final-price{font-size:17px}.price-before{font-size:12px}.card-cta{font-size:12px;min-height:40px;padding:5px}.sample-grid{grid-template-columns:1fr}.sample-art{min-height:300px}.sample-art img{max-height:190px}.beyond-grid{grid-template-columns:1fr}.beyond-card{min-height:170px}.footer-top{grid-template-columns:1fr 1fr;gap:24px}.footer-top>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column}.catalog-controls{align-items:stretch;flex-direction:column}.search-label{max-width:100%}.detail-section{padding:21px 0 42px}.detail-grid{grid-template-columns:1fr;gap:24px}.detail-image-wrap{min-height:260px}.detail-image-wrap img{height:280px}.purchase-main strong{font-size:25px}.detail-description h1{font-size:28px}.detail-lead{font-size:15px}.lesson-row{padding:13px 11px}.lesson-watch{font-size:12px}}
@media(max-width:360px){.brand-text{display:none}.brand-text small{display:none}.account{padding:8px;font-size:11px}.brand-mark{width:34px;height:34px}.card-description{display:none}.product-card{grid-template-columns:111px 1fr}.final-price{font-size:15px}.price-before{flex-wrap:wrap}}
@media(max-width:650px){.card-kicker,.card-description,.kind-label,.card-cta,.price-before{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}


/* Stage 1.1 visual containment & readability QA — applied to offline preview and Django alike */
.hero-copy h1{max-width:710px;line-height:1.46;text-wrap:balance;letter-spacing:0}
.hero-copy>p{max-width:625px}
/* Explicit, independent image frame. Percentage heights no longer depend on grid auto sizing. */
.product-card{isolation:isolate;min-width:0}
.cover-link{display:block;position:relative;height:218px;min-height:218px;padding:0;overflow:hidden;flex:0 0 auto;isolation:isolate}
.cover-link img{position:absolute;inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);max-height:calc(100% - 24px);object-fit:contain;object-position:center}
.cover-link.book-image{background:#f0ece3}
.kind-label{position:absolute;z-index:2;right:12px;bottom:12px;font-size:13px;line-height:1.4}
.card-inner{position:relative;z-index:1;background:#fff;min-height:200px}
.card-kicker,.card-description,.price-before,.price-before span{font-size:13px}
.price-before{color:#465751;line-height:1.8}
.price-before del{color:#465751}
.price-before span{color:#78511f}
.product-grid.book-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.product-grid.book-grid .card-inner{padding:14px 13px;min-height:220px}
.product-grid.book-grid .card-inner h3{font-size:16px}
.product-grid.book-grid .card-foot{flex-direction:column;align-items:stretch}
.product-grid.book-grid .card-cta{align-self:stretch;justify-content:center}
.eyebrow,.overline,.path-index,.beyond-number,.brand-text small,.gallery-top span,.gallery-foot,.sample-art-top,.sample-option small,.final-price small,.card-cta,.catalog-count{font-size:13px}
.detail-image-caption{font:700 13px 'RMS Vazirmatn','Vazirmatn','Noto Sans Arabic',Tahoma,sans-serif;color:#43534a}
.lesson-number{font-size:14px}
.lesson-watch{font-size:14px}
.filters button[aria-pressed='true']{background:var(--green-850);color:#fff;border-color:var(--green-850)}
@media(max-width:1100px){.product-grid.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid.book-grid .card-foot{flex-direction:row;align-items:end}}
@media(max-width:650px){
 .product-card{display:grid;grid-template-columns:128px minmax(0,1fr);min-height:191px}
 .cover-link{height:100%;min-height:191px}
 .cover-link img{inset:9px;width:calc(100% - 18px);height:calc(100% - 18px);max-height:calc(100% - 18px)}
 .product-grid.book-grid{grid-template-columns:1fr;gap:12px}
 .product-grid.book-grid .product-card{grid-template-columns:128px minmax(0,1fr)}
 .product-grid.book-grid .card-inner{min-height:0;padding:12px 14px}
 .product-grid.book-grid .card-foot{flex-direction:column;align-items:stretch}
 .card-inner{min-height:0}
 .card-kicker,.card-description,.price-before,.price-before span,.card-cta,.brand-text small{font-size:13px}
 .card-cta{min-height:44px}
 .kind-label{font-size:13px;right:5px;bottom:7px;padding:3px 5px}
 .detail-lead{overflow-wrap:anywhere}
}
@media(max-width:360px){.product-card,.product-grid.book-grid .product-card{grid-template-columns:111px minmax(0,1fr)}}

/* Premium but restrained focus/hover detail and mobile text consistency */
.product-card:focus-within{border-color:#316759;box-shadow:0 0 0 3px rgba(38,96,77,.14)}
.product-card h3 a{display:inline-block;min-height:30px}
.product-card .card-cta:hover,.product-card .card-cta:focus-visible{background:#d9eadd;color:#173d33}
.sample-section{scroll-margin-top:92px}
.path-section{scroll-margin-top:92px}
@media(max-width:650px){.sample-option small{font-size:13px}.brand-text small{font-size:13px}}

/* Stage 1.2: social channels (single controlled rail; keyboard accessible). */
.rms-social{position:fixed;inset-inline-start:18px;bottom:24px;z-index:90;display:flex;flex-direction:column;align-items:center;gap:9px;direction:rtl}
.rms-social-links{display:flex;flex-direction:column;gap:9px}
.rms-social-links[hidden]{display:none!important}
.rms-social-toggle,.rms-social-link{display:grid;place-items:center;width:49px;height:49px;border-radius:50%;border:0;box-shadow:0 4px 15px rgba(16,45,42,.22);transition:transform .18s ease,box-shadow .18s ease;color:#fff;cursor:pointer;text-decoration:none}
.rms-social-toggle{background:#173e36;font-size:25px;font-family:inherit}
.rms-social-toggle:hover,.rms-social-link:hover{transform:translateY(-2px);box-shadow:0 7px 19px rgba(16,45,42,.28)}
.rms-social-toggle:focus-visible,.rms-social-link:focus-visible{outline:3px solid #ba9159;outline-offset:3px}
.rms-social-link img{height:26px;width:26px;object-fit:contain}
.rms-social-link span{font-size:14px;font-weight:800}
.rms-instagram{background:linear-gradient(135deg,#7138a7,#d72968,#fa9937)}
.rms-telegram{background:#169bd1}.rms-bale{background:#12b99d}.rms-eitaa{background:#f28b18}.rms-email{background:#3a6259}
.rms-email span{font-size:24px}
@media(max-width:650px){.rms-social{inset-inline-start:10px;bottom:12px;gap:7px}.rms-social-links{gap:7px}.rms-social-toggle,.rms-social-link{width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.rms-social-toggle,.rms-social-link{transition:none}}
/* Stage 1.2: dedicated styled page for free master/PhD exams. */
.exam-hero{padding-block:55px 30px;background:linear-gradient(130deg,#f8f6f0,#eef2eb)}
.exam-hero h1{margin:12px 0;font-size:clamp(30px,4vw,49px);line-height:1.5;color:var(--ink)}
.exam-hero p{font-size:16px;color:var(--muted);max-width:700px}
.exam-main{padding-block:35px 85px}
.exam-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.exam-panel{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 8px 26px rgba(16,45,42,.04)}
.exam-panel-heading{background:#ecf1e8;padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.exam-panel-heading h2{margin:0;font-size:23px;color:#173e36}
.exam-panel-heading span{font-size:13px;color:#465751}
.exam-items{padding:12px}
.exam-item{padding:16px 12px;display:flex;align-items:center;gap:16px;justify-content:space-between;border-bottom:1px solid #ebeee8}
.exam-item:last-child{border-bottom:0}
.exam-item strong{font-size:16px;line-height:1.7;display:block}
.exam-item small{font-size:13px;color:var(--muted);display:block;margin-top:3px}
.exam-download{white-space:nowrap;background:#173e36;color:white;padding:9px 18px;border-radius:10px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700;font-size:14px}
.exam-download:hover{background:#246457;color:white}
.exam-empty{padding:18px;color:var(--muted)}
@media(max-width:800px){.exam-levels{grid-template-columns:1fr}}
@media(max-width:420px){.exam-item{align-items:flex-start;flex-direction:column}.exam-download{width:100%}}
