:root{
  --vf-font-sans:'Vazirmatn','Vazir',Tahoma,Arial,sans-serif;
  --vf-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;
  --ink:#0f172a;
  --ink-2:#1e293b;
  --text:#334155;
  --muted:#64748b;
  --line:#e2e8f0;
  --line-strong:#cbd5e1;
  --surface:#ffffff;
  --surface-soft:#f8fafc;
  --navy:#0b1730;
  --blue:#0284c7;
  --blue-soft:#e0f2fe;
  --orange:#f97316;
  --orange-dark:#c2410c;
  --orange-soft:#fff7ed;
  --green:#16a34a;
  --green-soft:#f0fdf4;
  --shadow-sm:0 10px 30px rgba(15,23,42,.06);
  --shadow-md:0 20px 50px rgba(15,23,42,.10);
  --shadow-lg:0 30px 80px rgba(15,23,42,.16);
  --radius-sm:12px;
  --radius-md:18px;
  --radius-lg:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--vf-font-sans);font-weight:400;line-height:1.9;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,textarea,select{font:inherit}
button{color:inherit}
svg{display:block}
.container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.skip-link{position:fixed;top:10px;right:10px;z-index:2000;padding:10px 16px;border-radius:10px;background:#fff;color:#111827;box-shadow:var(--shadow-md);transform:translateY(-150%)}
.skip-link:focus{transform:translateY(0)}
.flash-wrap{position:relative;z-index:5}

/* Header */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);border-bottom:1px solid rgba(226,232,240,.9);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.nav-shell{display:flex;min-height:78px;align-items:center;justify-content:space-between;gap:28px}
.brand{display:inline-flex;align-items:center;gap:11px;min-width:0}
.brand-logo{width:auto;height:44px;max-width:82px;object-fit:contain;border-radius:11px}
.brand-copy{display:flex;min-width:0;flex-direction:column;line-height:1.25}
.brand-copy strong{font-size:1.12rem;font-weight:900;white-space:nowrap}
.brand-copy small{max-width:190px;margin-top:4px;overflow:hidden;color:var(--muted);font-size:.7rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.nav-links{display:flex;align-items:center;gap:4px}
.nav-links a{position:relative;padding:10px 12px;border-radius:10px;color:#475569;font-size:.91rem;font-weight:750;transition:background .2s ease,color .2s ease}
.nav-links a:hover,.nav-links a.active{background:#f8fafc;color:var(--ink)}
.nav-links a.active:after{content:'';position:absolute;right:12px;bottom:3px;left:12px;height:2px;border-radius:99px;background:var(--orange)}
.nav-actions{display:flex;align-items:center;gap:9px}
.cart-button{display:inline-flex;position:relative;align-items:center;gap:7px;min-height:42px;padding:7px 11px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink-2);font-size:.84rem;font-weight:800;transition:border-color .2s ease,background .2s ease}
.cart-button:hover{border-color:#fdba74;background:#fff7ed}
.cart-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cart-button strong{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:var(--orange);color:#fff;font-size:.7rem}
.mobile-toggle{display:none;width:43px;height:43px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}
.mobile-toggle span{display:block;height:2px;margin:4px 0;border-radius:99px;background:#0f172a;transition:.2s ease}
.mobile-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.mobile-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.mobile-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* Buttons and common UI */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border:1px solid transparent;border-radius:12px;background:none;font-weight:850;line-height:1.4;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease,color .2s ease}
.btn:hover{transform:translateY(-1px)}
.btn:focus-visible,.text-link:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid rgba(249,115,22,.28);outline-offset:3px}
.btn-primary{background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;box-shadow:0 12px 28px rgba(234,88,12,.22)}
.btn-primary:hover{box-shadow:0 16px 34px rgba(234,88,12,.3)}
.btn-secondary{background:linear-gradient(135deg,#0284c7,#0ea5e9);color:#fff;box-shadow:0 12px 28px rgba(2,132,199,.2)}
.btn-outline{border-color:var(--line-strong);background:#fff;color:var(--ink)}
.btn-outline:hover{border-color:#94a3b8;background:#f8fafc}
.btn-ghost{border-color:var(--line);background:rgba(255,255,255,.72);color:var(--ink)}
.btn-light{background:#fff;color:#0f172a;box-shadow:0 12px 28px rgba(0,0,0,.12)}
.btn-outline-light{border-color:rgba(255,255,255,.38);color:#fff}
.btn-outline-light:hover{background:rgba(255,255,255,.1)}
.btn-danger{background:#fee2e2;color:#991b1b}
.btn-sm{min-height:36px;padding:7px 12px;border-radius:9px;font-size:.84rem}
.btn-lg{min-height:52px;padding:13px 22px;border-radius:14px}
.text-link{display:inline-flex;align-items:center;gap:7px;color:#0369a1;font-weight:850}
.text-link span{transition:transform .2s ease}
.text-link:hover span{transform:translateX(-3px)}
.section{padding:84px 0}
.section-soft{background:#f8fafc}
.section-kicker{display:inline-block;margin-bottom:8px;color:var(--orange-dark);font-size:.8rem;font-weight:900;letter-spacing:.02em}
.section-kicker--light{color:#fed7aa}
.section-head{margin-bottom:34px}
.section-head--wide{display:flex;align-items:end;justify-content:space-between;gap:24px}
.section-head--center{max-width:720px;margin-inline:auto;text-align:center}
.section-head h2,.section-head--center h2{margin:0;color:var(--ink);font-size:clamp(1.7rem,3vw,2.45rem);line-height:1.45;font-weight:900}
.section-head p{max-width:720px;margin:9px 0 0;color:var(--muted);font-size:1rem}
.muted{color:var(--muted)}
.alert{margin:16px 0;padding:14px 16px;border:1px solid transparent;border-radius:14px;font-weight:750}
.alert-success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.alert-error{border-color:#fecaca;background:#fef2f2;color:#991b1b}
.empty{padding:56px 24px;border:1px dashed var(--line-strong);border-radius:22px;background:#fff;text-align:center}
.empty h2,.empty h3{margin:0 0 6px}

/* Home hero */
.home-hero{position:relative;overflow:hidden;padding:88px 0 72px;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%)}
.home-hero:before,.home-hero:after{content:'';position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}
.home-hero:before{top:-180px;right:-130px;width:460px;height:460px;background:radial-gradient(circle,rgba(14,165,233,.16),rgba(14,165,233,0) 68%)}
.home-hero:after{bottom:-230px;left:-180px;width:520px;height:520px;background:radial-gradient(circle,rgba(249,115,22,.14),rgba(249,115,22,0) 70%)}
.home-hero__grid{display:grid;position:relative;z-index:1;grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr);align-items:center;gap:64px}
.eyebrow{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border:1px solid #fed7aa;border-radius:99px;background:#fff7ed;color:#9a3412;font-size:.82rem;font-weight:900}
.eyebrow:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 5px rgba(249,115,22,.12)}
.home-hero h1{max-width:720px;margin:20px 0 16px;font-size:clamp(2.45rem,5.2vw,4.75rem);font-weight:900;line-height:1.23;letter-spacing:-.035em}
.home-hero__lead{max-width:680px;margin:0;color:#475569;font-size:1.12rem;line-height:2.05}
.home-hero__actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:30px}
.home-hero__proof{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:27px;color:#475569;font-size:.83rem;font-weight:700}
.home-hero__proof span{display:inline-flex;align-items:center;gap:7px}
.home-hero__proof i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#dcfce7;color:#15803d;font-style:normal;font-size:.72rem;font-weight:900}
.learning-board{position:relative;padding:26px;border:1px solid rgba(148,163,184,.25);border-radius:30px;background:linear-gradient(145deg,#101c35,#0b1325);color:#fff;box-shadow:0 32px 80px rgba(15,23,42,.24)}
.learning-board:before{content:'';position:absolute;top:18px;left:22px;width:120px;height:120px;border-radius:50%;background:rgba(14,165,233,.13);filter:blur(12px)}
.learning-board__top{display:flex;position:relative;align-items:start;justify-content:space-between;gap:16px}
.learning-board__label{color:#7dd3fc;font-size:.74rem;font-weight:850}
.learning-board h2{max-width:310px;margin:6px 0 0;font-size:1.55rem;line-height:1.55}
.learning-board__status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(134,239,172,.28);border-radius:99px;background:rgba(22,163,74,.1);color:#bbf7d0;font-size:.72rem;font-weight:800;white-space:nowrap}
.learning-board__status i{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12)}
.learning-board__text{position:relative;margin:18px 0 22px;color:#cbd5e1;font-size:.93rem;line-height:1.95}
.learning-board__items{display:grid;position:relative;gap:10px}
.learning-board__items article{display:flex;align-items:center;gap:13px;padding:13px;border:1px solid rgba(148,163,184,.14);border-radius:16px;background:rgba(255,255,255,.045)}
.learning-board__number{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,rgba(249,115,22,.22),rgba(249,115,22,.07));color:#fdba74;font-size:.8rem;font-weight:900}
.learning-board__items div{display:flex;min-width:0;flex-direction:column}
.learning-board__items strong{font-size:.91rem}
.learning-board__items small{margin-top:3px;color:#94a3b8;font-size:.73rem}
.learning-board__footer{display:flex;align-items:center;gap:9px;margin-top:19px;padding-top:17px;border-top:1px solid rgba(148,163,184,.15);color:#94a3b8;font-size:.76rem;font-weight:650}
.learning-board__pulse{width:8px;height:8px;border-radius:50%;background:#38bdf8;box-shadow:0 0 0 6px rgba(56,189,248,.1)}

/* Trust ribbon */
.trust-ribbon{border-block:1px solid #e8edf4;background:#fff}
.trust-ribbon__grid{display:grid;grid-template-columns:repeat(3,1fr)}
.trust-ribbon__grid>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;padding:25px 28px;border-left:1px solid #edf1f5}
.trust-ribbon__grid>div:last-child{border-left:0}
.trust-ribbon__icon{display:grid;grid-row:1/3;place-items:center;align-self:center;width:42px;height:42px;border-radius:13px;background:#f1f5f9;color:#475569;font-size:.72rem;font-weight:900}
.trust-ribbon strong{font-size:.88rem}
.trust-ribbon small{margin-top:3px;color:var(--muted);font-size:.73rem;line-height:1.65}

/* Course cards */
.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.course-card-v2{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow-sm);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.course-card-v2:hover{transform:translateY(-5px);border-color:#cbd5e1;box-shadow:var(--shadow-md)}
.course-card-v2__cover{display:block;position:relative;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,#0f172a,#1d4ed8)}
.course-card-v2__cover img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.course-card-v2:hover .course-card-v2__cover img{transform:scale(1.035)}
.course-card-v2__shade{position:absolute;inset:auto 0 0;height:44%;background:linear-gradient(transparent,rgba(2,6,23,.42));pointer-events:none}
.course-card-v2__placeholder{display:grid;width:100%;height:100%;place-items:center;color:#fff}
.course-card-v2__placeholder svg{width:70px;height:70px;fill:none;stroke:#7dd3fc;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.95}
.course-card-v2__placeholder small{position:absolute;bottom:22px;font-size:.8rem;font-weight:900;letter-spacing:.16em}
.course-card-v2__badge{position:absolute;top:14px;right:14px;padding:6px 11px;border:1px solid rgba(255,255,255,.42);border-radius:99px;background:rgba(249,115,22,.92);color:#fff;font-size:.72rem;font-weight:900;backdrop-filter:blur(8px)}
.course-card-v2__body{display:flex;flex:1;flex-direction:column;padding:22px}
.course-card-v2__meta{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}
.course-card-v2__meta span{padding:4px 8px;border-radius:8px;background:#f1f5f9;color:#64748b;font-size:.69rem;font-weight:750}
.course-card-v2 h3{margin:0;font-size:1.16rem;line-height:1.75;font-weight:900}
.course-card-v2 h3 a:hover{color:var(--orange-dark)}
.course-card-v2__body>p{display:-webkit-box;min-height:55px;margin:9px 0 18px;overflow:hidden;color:var(--muted);font-size:.86rem;line-height:1.85;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.course-card-v2__footer{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-top:auto;padding-top:16px;border-top:1px solid #edf2f7}
.course-card-v2__price{display:flex;flex-direction:column}
.course-card-v2__price del{color:#94a3b8;font-size:.68rem}
.course-card-v2__price strong{color:var(--ink);font-size:1rem;font-weight:900}
.course-card-v2__price-call{color:var(--orange-dark)!important}
.course-card-v2__details{display:inline-flex;align-items:center;gap:5px;color:#0369a1;font-size:.78rem;font-weight:850}
.course-card-v2__buy{margin-top:15px}
.course-card-v2__buy .btn,.course-card-v2__consult{width:100%}

/* Benefits and purchase path */
.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:34px}
.benefit-card{padding:24px;border:1px solid #e6ebf1;border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.04)}
.benefit-card__icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#e0f2fe,#f0f9ff);color:#0369a1}
.benefit-card__icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.benefit-card h3{margin:16px 0 7px;font-size:1rem;font-weight:900}
.benefit-card p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.9}
.purchase-path-section{overflow:hidden;background:linear-gradient(135deg,#0b1730,#10284d);color:#fff}
.purchase-path{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:58px}
.purchase-path__intro h2{margin:4px 0 12px;font-size:clamp(1.8rem,3vw,2.55rem);line-height:1.45}
.purchase-path__intro p{margin:0 0 22px;color:#cbd5e1}
.purchase-path__steps{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}
.purchase-path__steps article{display:flex;gap:13px;padding:18px;border:1px solid rgba(148,163,184,.17);border-radius:18px;background:rgba(255,255,255,.055)}
.purchase-path__steps>article>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:rgba(249,115,22,.17);color:#fdba74;font-size:.78rem;font-weight:900}
.purchase-path__steps div{display:flex;flex-direction:column}
.purchase-path__steps strong{font-size:.88rem}
.purchase-path__steps small{margin-top:4px;color:#94a3b8;font-size:.71rem;line-height:1.7}

/* Testimonials and articles */
.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.testimonial-card{position:relative;padding:25px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}
.testimonial-card__quote{position:absolute;top:10px;left:19px;color:#fed7aa;font-family:Georgia,serif;font-size:4.3rem;line-height:1}
.testimonial-card>p{position:relative;min-height:96px;margin:0 0 20px;color:#475569;font-size:.88rem;line-height:2}
.testimonial-card__person{display:flex;align-items:center;gap:11px;padding-top:15px;border-top:1px solid #edf2f7}
.testimonial-card__person>span,.testimonial-card__person img{display:grid;width:46px;height:46px;place-items:center;border-radius:14px;background:#e0f2fe;color:#0369a1;object-fit:cover;font-weight:900}
.testimonial-card__person div{display:flex;flex-direction:column}
.testimonial-card__person strong{font-size:.86rem}
.testimonial-card__person small{color:var(--muted);font-size:.71rem}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.article-card{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}
.article-card__media{display:grid;aspect-ratio:16/9;place-items:center;overflow:hidden;background:linear-gradient(135deg,#0f172a,#1d4ed8);color:#fff;font-size:2rem;font-weight:900}
.article-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.article-card:hover .article-card__media img{transform:scale(1.03)}
.article-card__body{padding:21px}
.article-card__label{color:var(--orange-dark);font-size:.69rem;font-weight:850}
.article-card h3{margin:7px 0 9px;font-size:1.04rem;line-height:1.75}
.article-card p{display:-webkit-box;margin:0 0 14px;overflow:hidden;color:var(--muted);font-size:.8rem;line-height:1.8;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.article-card .text-link{font-size:.77rem}

/* FAQ and final CTA */
.faq-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:62px;align-items:start}
.faq-layout__intro{position:sticky;top:110px}
.faq-layout__intro h2{margin:3px 0 12px;font-size:2rem;line-height:1.5}
.faq-layout__intro p{color:var(--muted)}
.faq-list{display:grid;gap:10px}
.faq{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
.faq[open]{border-color:#cbd5e1;box-shadow:var(--shadow-sm)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;cursor:pointer;list-style:none;font-size:.9rem;font-weight:850}
.faq summary::-webkit-details-marker{display:none}
.faq summary i{display:grid;flex:0 0 28px;width:28px;height:28px;place-items:center;border-radius:9px;background:#f1f5f9;color:#475569;font-style:normal;transition:transform .2s ease}
.faq[open] summary i{transform:rotate(45deg);background:#fff7ed;color:var(--orange-dark)}
.faq-content{padding:0 19px 18px;color:#64748b;font-size:.85rem;line-height:2}
.final-cta-section{padding-top:28px}
.final-cta{display:flex;align-items:center;justify-content:space-between;gap:36px;padding:42px 46px;border-radius:28px;background:linear-gradient(135deg,#ea580c,#f97316 48%,#fb923c);color:#fff;box-shadow:0 24px 60px rgba(234,88,12,.24)}
.final-cta h2{margin:3px 0 8px;font-size:clamp(1.65rem,3vw,2.35rem)}
.final-cta p{max-width:650px;margin:0;color:#ffedd5}
.final-cta__actions{display:flex;flex:0 0 auto;gap:9px}

/* Listing pages */
.listing-hero,.page-hero{position:relative;overflow:hidden;padding:62px 0;background:linear-gradient(135deg,#0b1730,#10284d);color:#fff}
.listing-hero:after,.page-hero:after{content:'';position:absolute;top:-160px;left:-80px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(56,189,248,.18),transparent 68%)}
.listing-hero__inner{position:relative;z-index:1}
.listing-hero h1,.page-hero h1{max-width:780px;margin:7px 0 10px;font-size:clamp(2rem,4vw,3.3rem);line-height:1.4}
.listing-hero p{max-width:760px;margin:0;color:#cbd5e1}
.breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:13px;color:#64748b;font-size:.76rem;font-weight:700}
.breadcrumbs--light{color:#cbd5e1}
.breadcrumbs a:hover{color:#fb923c}
.course-listing-section{background:#fff}
.course-listing-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.course-listing-head>div{display:flex;flex-direction:column}
.course-listing-head strong{font-size:.95rem}
.course-listing-head span{color:var(--muted);font-size:.76rem}
.purchase-guide{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:42px;margin-top:54px;padding:34px;border:1px solid #dbeafe;border-radius:24px;background:linear-gradient(135deg,#eff6ff,#f8fafc)}
.purchase-guide h2{margin:3px 0 7px;font-size:1.55rem}
.purchase-guide p{margin:0;color:var(--muted)}
.purchase-guide ol{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0;padding:0;list-style:none}
.purchase-guide li{display:flex;align-items:center;gap:10px;padding:12px;border-radius:13px;background:#fff}
.purchase-guide li span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#ffedd5;color:#9a3412;font-size:.72rem;font-weight:900}
.purchase-guide li strong{font-size:.78rem}

/* Course detail */
.course-hero-v2{padding:46px 0 56px;background:linear-gradient(135deg,#0b1730,#10284d);color:#fff}
.course-hero-v2__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,500px);align-items:center;gap:48px}
.course-hero-v2__labels{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.course-label{padding:5px 10px;border:1px solid rgba(255,255,255,.17);border-radius:99px;background:rgba(255,255,255,.07);color:#dbeafe;font-size:.69rem;font-weight:850}
.course-label--accent{border-color:rgba(251,146,60,.3);background:rgba(249,115,22,.16);color:#fed7aa}
.course-hero-v2 h1{max-width:760px;margin:0;font-size:clamp(2.1rem,4.5vw,3.65rem);line-height:1.38}
.course-hero-v2__content>p{max-width:720px;margin:14px 0 19px;color:#cbd5e1;font-size:1rem;line-height:2}
.course-hero-v2__purchase{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:13px 18px;max-width:760px;margin:0 0 22px;padding:15px 16px;border:1px solid rgba(125,211,252,.2);border-radius:18px;background:rgba(8,20,42,.48);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.course-hero-v2__price{display:flex;min-width:150px;flex-direction:column;padding-left:17px;border-left:1px solid rgba(148,163,184,.18)}
.course-hero-v2__price small{color:#94a3b8;font-size:.66rem}
.course-hero-v2__price del{margin-top:2px;color:#94a3b8;font-size:.68rem}
.course-hero-v2__price strong{margin-top:2px;color:#fff;font-size:1.17rem;font-weight:950}
.course-hero-v2__actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.course-hero-v2__actions form{margin:0}
.course-hero-v2__actions .btn{min-height:47px}
.btn-ghost-light{border:1px solid rgba(255,255,255,.23);background:rgba(255,255,255,.07);color:#fff}
.btn-ghost-light:hover{border-color:rgba(255,255,255,.38);background:rgba(255,255,255,.13);color:#fff}
.course-hero-v2__payment-note{grid-column:1/-1;margin:0!important;padding-top:11px;border-top:1px solid rgba(148,163,184,.13);color:#a8c5df!important;font-size:.7rem!important;line-height:1.8!important}
.course-facts{display:flex;flex-wrap:wrap;gap:12px}
.course-facts>span{display:flex;min-width:125px;flex-direction:column;padding:11px 13px;border:1px solid rgba(148,163,184,.14);border-radius:13px;background:rgba(255,255,255,.045)}
.course-facts small{color:#94a3b8;font-size:.65rem}
.course-facts strong{margin-top:2px;font-size:.78rem}
.course-hero-v2__media{width:100%;max-width:500px;justify-self:end;overflow:hidden;padding:9px;border:1px solid rgba(255,255,255,.12);border-radius:25px;background:#111c34;box-shadow:0 26px 60px rgba(0,0,0,.24)}
.course-hero-v2__media img{display:block;width:100%;height:auto;max-height:390px;aspect-ratio:4/3;border-radius:18px;object-fit:contain;background:#fff}
.course-hero-v2__placeholder{display:grid;aspect-ratio:4/3;border-radius:18px;place-items:center;background:linear-gradient(135deg,#111827,#1d4ed8)}
.course-hero-v2__placeholder svg{width:76px;height:76px;fill:none;stroke:#7dd3fc;stroke-width:2}
.course-hero-v2__placeholder strong{margin-top:-40px;font-size:.8rem;letter-spacing:.18em}
.course-content-section{background:#f8fafc}
.course-detail-v2{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:28px;align-items:start}
.course-main-v2{display:grid;gap:20px}
.course-content-block{padding:28px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.035)}
.content-heading{margin-bottom:17px}
.content-heading>span{color:var(--orange-dark);font-size:.7rem;font-weight:900}
.content-heading h2{margin:3px 0 0;font-size:1.42rem;line-height:1.5}
.content-heading--row{display:flex;align-items:end;justify-content:space-between;gap:15px}
.content-heading--row small{color:var(--muted);font-size:.72rem}
.prose{color:#475569;font-size:.94rem;line-height:2.15}
.prose-lg{font-size:.97rem}
.prose p:first-child{margin-top:0}
.prose p:last-child{margin-bottom:0}
.prose img{border-radius:18px}
.course-video{overflow:hidden;border-radius:18px;aspect-ratio:16/9;background:#0f172a}
.course-video iframe{width:100%;height:100%;border:0}
.course-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.course-info-card{padding:24px;border:1px solid #dbeafe;border-radius:21px;background:#f8fbff}
.course-info-card--outcomes{border-color:#bbf7d0;background:#f7fef9}
.course-info-card__icon{display:grid;width:42px;height:42px;place-items:center;border-radius:13px;background:#e0f2fe;color:#0369a1;font-weight:900}
.course-info-card--outcomes .course-info-card__icon{background:#dcfce7;color:#15803d}
.course-info-card h2{margin:13px 0 10px;font-size:1.05rem}
.course-info-card ul,.check-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.course-info-card li,.check-list li{position:relative;padding-right:20px;color:#475569;font-size:.82rem;line-height:1.8}
.course-info-card li:before,.check-list li:before{content:'✓';position:absolute;top:0;right:0;color:#16a34a;font-weight:900}
.check-list--neutral li:before{color:#0284c7}
.curriculum-v2{display:grid;gap:10px}
.curriculum-v2 details{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}
.curriculum-v2 details[open]{border-color:#cbd5e1}
.curriculum-v2 summary{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:11px;padding:15px;cursor:pointer;list-style:none}
.curriculum-v2 summary::-webkit-details-marker{display:none}
.curriculum-v2__number{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#f1f5f9;color:#64748b;font-size:.68rem;font-weight:900}
.curriculum-v2 summary strong{font-size:.86rem}
.curriculum-v2 summary small{color:var(--muted);font-size:.68rem}
.curriculum-v2 summary i{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;background:#f8fafc;font-style:normal}
.curriculum-v2 details[open] summary i{transform:rotate(45deg);color:var(--orange-dark)}
.curriculum-v2__description{margin:0;padding:0 60px 12px;color:var(--muted);font-size:.78rem}
.curriculum-v2__lessons{border-top:1px solid #edf2f7;background:#fbfdff}
.lesson-v2{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:12px 16px;border-bottom:1px solid #edf2f7}
.lesson-v2:last-child{border-bottom:0}
.lesson-v2__play{display:grid;width:26px;height:26px;place-items:center;border-radius:8px;background:#e0f2fe;color:#0369a1;font-size:1.1rem;font-weight:900}
.lesson-v2 div{display:flex;min-width:0;align-items:center;gap:8px}
.lesson-v2 strong{font-size:.78rem;font-weight:700}
.lesson-v2 small{padding:2px 6px;border-radius:6px;background:#dcfce7;color:#166534;font-size:.6rem;font-weight:800}
.lesson-v2 time{direction:ltr;color:var(--muted);font-size:.68rem}
.mini-process{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.mini-process>div{display:flex;flex-direction:column;padding:15px;border-radius:14px;background:#f8fafc}
.mini-process span{display:grid;width:30px;height:30px;place-items:center;margin-bottom:9px;border-radius:9px;background:#ffedd5;color:#9a3412;font-size:.68rem;font-weight:900}
.mini-process strong{font-size:.78rem}
.mini-process small{margin-top:4px;color:var(--muted);font-size:.66rem;line-height:1.7}
.course-purchase-card{position:sticky;top:99px;padding:23px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-md)}
.course-purchase-card__head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:14px;border-bottom:1px solid #edf2f7}
.course-purchase-card__head>span{font-size:.86rem;font-weight:900}
.course-purchase-card__head small{padding:4px 8px;border-radius:8px;background:#fff7ed;color:#9a3412;font-size:.64rem;font-weight:850}
.course-purchase-card__price{display:flex;flex-direction:column;padding:20px 0}
.course-purchase-card__price del{color:#94a3b8;font-size:.72rem}
.course-purchase-card__price strong{font-size:1.4rem;font-weight:900}
.purchase-card-list{display:grid;margin:0 0 18px;padding:0;list-style:none}
.purchase-card-list li{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #edf2f7;font-size:.75rem}
.purchase-card-list span{color:var(--muted)}
.purchase-card-list strong{text-align:left;font-weight:800}
.course-purchase-card__button{width:100%}
.course-purchase-card__note{margin:11px 0 0;color:var(--muted);text-align:center;font-size:.68rem;line-height:1.7}
.course-purchase-card__support{display:block;margin-top:14px;color:#0369a1;text-align:center;font-size:.75rem;font-weight:800}
.mobile-course-buy{display:none}

/* Forms and generic content */
.content-wrap{padding:56px 0}
.card,.form-card,.section-box{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow-sm)}
.card{overflow:hidden}
.card-body{padding:22px}
.grid{display:grid;gap:22px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.form-card{max-width:820px;margin:auto;padding:28px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.field{display:flex;min-width:0;flex-direction:column;gap:7px}
.field.full{grid-column:1/-1}
.field label{color:#1e293b;font-size:.82rem;font-weight:850}
.field label span{color:#dc2626}
.field label em{color:var(--muted);font-style:normal;font-size:.7rem;font-weight:600}
.input,.textarea,.select{width:100%;padding:12px 13px;border:1px solid var(--line-strong);border-radius:12px;background:#fff;color:var(--ink);font-weight:500;transition:border-color .2s ease,box-shadow .2s ease}
.input:focus,.textarea:focus,.select:focus{outline:0;border-color:#38bdf8;box-shadow:0 0 0 4px rgba(56,189,248,.14)}
.input-ltr{direction:ltr;text-align:left}
.textarea{min-height:125px;resize:vertical}
.field-help{color:var(--muted);font-size:.7rem;line-height:1.8}
.field-help strong{color:#9a3412}
.hp-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.cart-row{display:grid;grid-template-columns:88px minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:16px;border-bottom:1px solid var(--line)}
.cart-thumb{width:88px;height:62px;border-radius:10px;background:#0f172a;object-fit:cover}
.blog-card img{width:100%;aspect-ratio:16/10;object-fit:cover}
.pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:30px}
.pagination a,.pagination span{padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}
.pagination .active{border-color:var(--orange);background:var(--orange);color:#fff}
.code-box{padding:12px;border-radius:10px;background:#0f172a;color:#e2e8f0;font-family:var(--vf-font-mono);direction:ltr;text-align:left}

/* Checkout */
.checkout-hero-v2{padding:54px 0;background:linear-gradient(135deg,#0b1730,#10284d);color:#fff}
.checkout-hero-v2 h1{margin:5px 0 7px;font-size:clamp(2rem,4vw,3rem)}
.checkout-hero-v2 p{max-width:780px;margin:0;color:#cbd5e1}
.checkout-section-v2{background:#f8fafc}
.checkout-steps-v2{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:24px}
.checkout-steps-v2>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:9px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff;color:#64748b}
.checkout-steps-v2>div>span{display:grid;grid-row:1/3;place-items:center;width:34px;height:34px;border-radius:11px;background:#f1f5f9;font-size:.72rem;font-weight:900}
.checkout-steps-v2 strong{font-size:.76rem}
.checkout-steps-v2 small{font-size:.62rem}
.checkout-steps-v2 .active{border-color:#fdba74;background:#fff7ed;color:#9a3412}
.checkout-steps-v2 .active>span{background:var(--orange);color:#fff}
.checkout-steps-v2 .done{border-color:#86efac;background:#f0fdf4;color:#166534}
.checkout-steps-v2 .done>span{background:#22c55e;color:#fff}
.checkout-layout-v2{display:grid;grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:24px}
.checkout-form-panel{padding:28px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}
.checkout-form-panel__head{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:25px;padding-bottom:20px;border-bottom:1px solid #edf2f7}
.checkout-form-panel__head>div>span{color:var(--orange-dark);font-size:.7rem;font-weight:900}
.checkout-form-panel__head h2{margin:3px 0 6px;font-size:1.35rem}
.checkout-form-panel__head p{max-width:650px;margin:0;color:var(--muted);font-size:.78rem}
.secure-chip{padding:6px 9px;border-radius:9px;background:#f0fdf4;color:#166534;font-size:.65rem;font-weight:900;white-space:nowrap}
.field-highlight{padding:14px;border:1px solid #fed7aa;border-radius:15px;background:#fffaf5}
.terms-check-v2{display:flex;align-items:flex-start;gap:9px;margin:20px 0;color:#475569;font-size:.8rem}
.terms-check-v2 input{margin-top:7px}
.terms-check-v2 a{color:#0369a1;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.checkout-submit-box{padding:18px;border-radius:16px;background:#f8fafc;text-align:center}
.checkout-submit{width:100%}
.checkout-submit:disabled{cursor:not-allowed;filter:grayscale(.4);opacity:.55;transform:none;box-shadow:none}
.checkout-submit-box p{margin:9px 0 0;color:var(--muted);font-size:.68rem;line-height:1.7}
.checkout-summary-v2{position:sticky;top:99px;overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-md)}
.checkout-summary-v2__head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #edf2f7}
.checkout-summary-v2__head span{font-size:.86rem;font-weight:900}
.checkout-summary-v2__head a{color:#0369a1;font-size:.69rem;font-weight:800}
.checkout-summary-v2__items{padding:5px 20px}
.checkout-summary-v2__items>div{display:flex;justify-content:space-between;gap:13px;padding:12px 0;border-bottom:1px solid #edf2f7;font-size:.75rem}
.checkout-summary-v2__items span{max-width:65%;color:#475569}
.checkout-summary-v2__items strong{white-space:nowrap}
.checkout-summary-v2__total{display:flex;flex-direction:column;padding:18px 20px;background:#fff7ed}
.checkout-summary-v2__total>span{font-size:.72rem;font-weight:750}
.checkout-summary-v2__total>strong{margin-top:2px;color:#9a3412;font-size:1.2rem;font-weight:900}
.checkout-summary-v2__total>small{margin-top:5px;color:#9a3412;font-size:.64rem}
.checkout-summary-v2__notice{margin:17px 20px;padding:14px;border-radius:14px;background:#eff6ff}
.checkout-summary-v2__notice strong{font-size:.76rem}
.checkout-summary-v2__notice p{margin:4px 0 0;color:#475569;font-size:.68rem;line-height:1.75}
.checkout-assurance{display:grid;gap:7px;margin:0;padding:0 20px 20px;list-style:none}
.checkout-assurance li{position:relative;padding-right:18px;color:#64748b;font-size:.67rem}
.checkout-assurance li:before{content:'✓';position:absolute;right:0;color:#16a34a;font-weight:900}

/* Order success */
.order-success-v2{min-height:calc(100vh - 78px);padding:66px 0;background:radial-gradient(circle at 15% 10%,rgba(56,189,248,.14),transparent 30%),radial-gradient(circle at 85% 10%,rgba(249,115,22,.12),transparent 32%),#f8fafc}
.order-success-v2__card{width:min(900px,100%);margin:auto;padding:38px;border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:var(--shadow-lg);text-align:center}
.success-mark-v2{display:grid;width:64px;height:64px;place-items:center;margin:0 auto 13px;border-radius:20px;background:#dcfce7;color:#15803d;font-size:1.8rem;font-weight:900}
.order-success-v2 h1{margin:2px 0 7px;font-size:clamp(1.8rem,4vw,2.65rem)}
.order-success-v2__lead{max-width:700px;margin:0 auto 24px;color:var(--muted)}
.checkout-steps-v2--compact{margin-top:25px;text-align:right}
.claim-code-v2{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:25px 0;padding:18px 20px;border:2px dashed #fdba74;border-radius:17px;background:#fff7ed;text-align:right}
.claim-code-v2>div{display:flex;flex-direction:column}
.claim-code-v2 span{color:#9a3412;font-size:.72rem;font-weight:800}
.claim-code-v2 strong{direction:ltr;font-family:var(--vf-font-mono);font-size:1.65rem;letter-spacing:.04em}
.order-success-v2__instructions{padding:22px;border-radius:18px;background:#f8fafc;text-align:right}
.order-success-v2__instructions h2{margin:0 0 14px;font-size:1.12rem}
.order-success-v2__instructions ol{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0;padding:0;list-style:none}
.order-success-v2__instructions li{display:flex;gap:10px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff}
.order-success-v2__instructions li>span{display:grid;flex:0 0 30px;width:30px;height:30px;place-items:center;border-radius:9px;background:#e0f2fe;color:#0369a1;font-size:.68rem;font-weight:900}
.order-success-v2__instructions div{display:flex;flex-direction:column}
.order-success-v2__instructions strong{font-size:.76rem}
.order-success-v2__instructions small{margin-top:3px;color:var(--muted);font-size:.64rem;line-height:1.7}
.order-summary-v2{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}
.order-summary-v2>div{display:flex;flex-direction:column;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff}
.order-summary-v2 span{color:var(--muted);font-size:.67rem}
.order-summary-v2 strong{margin-top:3px;font-size:.8rem}
.order-success-v2__actions{display:flex;justify-content:center;gap:10px}
.security-warning-v2{margin-top:21px;padding:14px;border-radius:13px;background:#fefce8;color:#713f12;text-align:right;font-size:.72rem;line-height:1.8}

/* Payment proof legacy v1.6 */
.payment-proof-hero p{margin:10px 0 0;color:#dbeafe}
.payment-proof-section{background:linear-gradient(180deg,#f8fafc,#fff)}
.payment-proof-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
.payment-proof-form-card{max-width:none;margin:0;padding:30px}
.payment-order-card{position:sticky;top:96px;padding:22px;border:1px solid #dbe4ee;border-radius:22px;background:#fff;box-shadow:var(--shadow-md)}
.payment-card-box{display:grid;gap:7px;margin-top:18px;padding:18px;border-radius:16px;background:#0f172a;color:#fff;text-align:center}
.payment-card-box>span{color:#94a3b8;font-size:.8rem}
.payment-card-box>strong{direction:ltr;font-family:var(--vf-font-mono);font-size:1.12rem;letter-spacing:.5px}
.payment-card-box small{color:#cbd5e1}
.payment-card-box .btn{margin-top:7px}
.payment-deadline{margin:15px 0 0;text-align:center;font-size:.8rem}
.payment-result{margin-bottom:20px;padding:22px;border-radius:16px}
.payment-result-success{background:#dcfce7;color:#166534}
.file-input{padding:8px}

/* Footer */
.footer{padding:60px 0 22px;background:#081224;color:#cbd5e1}
.footer-grid{display:grid;grid-template-columns:1.6fr .8fr .8fr 1fr;gap:36px}
.brand--footer .brand-copy strong{color:#fff}
.brand--footer .brand-copy small{color:#94a3b8}
.brand-logo--footer{height:40px;max-width:74px}
.footer-brand-column>p{max-width:430px;margin:19px 0;color:#94a3b8;font-size:.82rem}
.footer h3{margin:0 0 16px;color:#fff;font-size:.9rem}
.footer-links{display:grid;gap:9px}
.footer-links a{color:#94a3b8;font-size:.78rem;transition:color .2s ease,transform .2s ease}
.footer-links a:hover{color:#fff;transform:translateX(-3px)}
.footer-socials{display:flex;flex-wrap:wrap;gap:8px}
.footer-socials a{padding:6px 10px;border:1px solid #26364f;border-radius:9px;color:#cbd5e1;font-size:.68rem;font-weight:750}
.footer-contact{display:grid;gap:11px}
.footer-contact a,.footer-contact>span{display:flex;flex-direction:column;padding-bottom:10px;border-bottom:1px solid #1e2b42}
.footer-contact small{color:#64748b;font-size:.64rem}
.footer-contact strong{margin-top:2px;color:#e2e8f0;font-size:.76rem}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:38px;padding-top:19px;border-top:1px solid #1e2b42;color:#64748b;font-size:.7rem}


/* Status chips */
.status{display:inline-flex;padding:4px 9px;border-radius:99px;font-size:.7rem;font-weight:900}
.status-published,.status-paid,.status-completed,.status-sent,.status-verified,.status-approved,.status-active{background:#dcfce7;color:#166534}
.status-draft,.status-pending_payment,.status-pending,.status-awaiting_verification{background:#fef3c7;color:#92400e}
.status-awaiting_payment{background:#ffedd5;color:#9a3412}
.status-under_review,.status-payment_review,.status-submitted{background:#dbeafe;color:#1d4ed8}
.status-inactive,.status-cancelled,.status-failed,.status-expired,.status-rejected{background:#fee2e2;color:#991b1b}
.status-disabled{background:#e2e8f0;color:#475569}

@media(max-width:1100px){
  .nav-links{gap:0}.nav-links a{padding-inline:9px}.brand-copy small{display:none}.nav-cta{display:none}
  .home-hero__grid{grid-template-columns:1fr .9fr;gap:38px}.home-hero h1{font-size:3.35rem}
  .benefit-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr}.footer-grid>div:last-child{grid-column:2/4}
}

@media(max-width:920px){
  .nav-shell{min-height:70px}.mobile-toggle{display:block}.nav-links{display:none;position:fixed;top:70px;right:12px;left:12px;z-index:120;flex-direction:column;align-items:stretch;gap:2px;padding:12px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-lg)}
  .nav-links.open{display:flex}.nav-links a{padding:12px 14px}.nav-links a.active:after{display:none}.cart-button span{display:none}
  .home-hero{padding-top:62px}.home-hero__grid{grid-template-columns:1fr}.home-hero__content{max-width:760px}.home-hero h1{font-size:clamp(2.5rem,8vw,4.2rem)}.learning-board{max-width:680px}
  .trust-ribbon__grid{grid-template-columns:1fr}.trust-ribbon__grid>div{border-bottom:1px solid #edf1f5;border-left:0}.trust-ribbon__grid>div:last-child{border-bottom:0}
  .course-grid,.article-grid,.testimonial-grid{grid-template-columns:repeat(2,1fr)}
  .purchase-path,.purchase-guide{grid-template-columns:1fr}
  .faq-layout{grid-template-columns:1fr;gap:26px}.faq-layout__intro{position:static;max-width:650px}
  .course-hero-v2__grid{grid-template-columns:1fr}.course-hero-v2__media{max-width:560px;justify-self:center}
  .course-detail-v2{grid-template-columns:1fr}.course-purchase-card{position:static;order:-1}.course-info-grid{grid-template-columns:1fr}
  .checkout-layout-v2,.payment-proof-layout{grid-template-columns:1fr}.checkout-summary-v2,.payment-order-card{position:static;order:-1}
  .footer-grid{grid-template-columns:1.3fr 1fr 1fr}.footer-grid>div:last-child{grid-column:auto}
}

@media(max-width:680px){
  .container{width:min(100% - 22px,1180px)}
  .site-header{backdrop-filter:blur(12px)}.nav-shell{gap:10px}.brand-logo{height:38px}.brand-copy strong{font-size:.96rem}.cart-button{min-height:40px;padding:7px 9px}.mobile-toggle{width:40px;height:40px}.nav-actions{gap:6px}
  .section{padding:58px 0}.section-head--wide{align-items:start;flex-direction:column}.section-head h2,.section-head--center h2{font-size:1.75rem}
  .home-hero{padding:48px 0 48px}.home-hero h1{margin-top:16px;font-size:2.35rem;line-height:1.33}.home-hero__lead{font-size:.96rem}.home-hero__actions{display:grid}.home-hero__actions .btn{width:100%}.home-hero__proof{display:grid;gap:9px}.learning-board{padding:19px;border-radius:22px}.learning-board__top{flex-direction:column}.learning-board h2{font-size:1.3rem}.learning-board__items article{padding:11px}.learning-board__number{flex-basis:38px;width:38px;height:38px}
  .trust-ribbon__grid>div{padding:19px 4px}.trust-ribbon__icon{width:38px;height:38px}
  .course-grid,.article-grid,.testimonial-grid,.benefit-grid{grid-template-columns:1fr}.course-card-v2{border-radius:20px}.course-card-v2__body{padding:19px}
  .purchase-path{gap:32px}.purchase-path__steps{grid-template-columns:1fr}.purchase-path__steps article{padding:15px}
  .final-cta{align-items:stretch;flex-direction:column;padding:29px 22px}.final-cta__actions{display:grid}.final-cta__actions .btn{width:100%}
  .listing-hero,.page-hero{padding:44px 0}.listing-hero h1,.page-hero h1{font-size:2rem}.course-listing-head{align-items:start;flex-direction:column}.purchase-guide{padding:22px}.purchase-guide ol{grid-template-columns:1fr}
  .course-hero-v2{padding:37px 0 42px}.course-hero-v2 h1{font-size:2rem}.course-hero-v2__grid{gap:29px}.course-hero-v2__purchase{grid-template-columns:1fr;padding:14px}.course-hero-v2__price{padding:0 0 11px;border-bottom:1px solid rgba(148,163,184,.18);border-left:0}.course-hero-v2__actions{display:grid;grid-template-columns:1fr}.course-hero-v2__actions form,.course-hero-v2__actions .btn{width:100%}.course-hero-v2__payment-note{grid-column:auto}.course-hero-v2__media{max-width:100%;padding:7px;border-radius:20px}.course-hero-v2__media img{max-height:none;border-radius:14px}.course-facts{display:grid;grid-template-columns:repeat(2,1fr)}.course-facts>span{min-width:0}.course-content-section{padding-top:35px}.course-content-block{padding:20px;border-radius:18px}.content-heading h2{font-size:1.2rem}.content-heading--row{align-items:start;flex-direction:column}.course-info-grid{gap:12px}.course-info-card{padding:19px}.curriculum-v2 summary{grid-template-columns:auto 1fr auto;padding:12px}.curriculum-v2 summary small{display:none}.curriculum-v2__description{padding:0 52px 11px}.lesson-v2{grid-template-columns:auto 1fr}.lesson-v2 time{grid-column:2}.mini-process{grid-template-columns:repeat(2,1fr)}.course-purchase-card{padding:19px}
  .page-course-detail{padding-bottom:78px}.mobile-course-buy{display:flex;position:fixed;right:0;bottom:0;left:0;z-index:110;align-items:center;justify-content:space-between;gap:12px;padding:9px max(12px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-top:1px solid var(--line);background:rgba(255,255,255,.96);box-shadow:0 -10px 30px rgba(15,23,42,.12);backdrop-filter:blur(14px)}.mobile-course-buy>div{display:flex;flex-direction:column}.mobile-course-buy small{color:var(--muted);font-size:.62rem}.mobile-course-buy strong{font-size:.85rem}.mobile-course-buy .btn{min-height:43px;padding-inline:17px}
  .checkout-hero-v2{padding:42px 0}.checkout-steps-v2{grid-template-columns:repeat(4,1fr);gap:5px}.checkout-steps-v2>div{display:flex;justify-content:center;padding:8px 4px}.checkout-steps-v2>div>span{grid-row:auto;width:31px;height:31px}.checkout-steps-v2 strong,.checkout-steps-v2 small{display:none}.checkout-form-panel{padding:18px}.checkout-form-panel__head{flex-direction:column}.secure-chip{align-self:flex-start}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.field-highlight{padding:12px}.checkout-summary-v2{border-radius:18px}
  .order-success-v2{padding:34px 0}.order-success-v2__card{padding:20px;border-radius:22px}.claim-code-v2{align-items:stretch;flex-direction:column;text-align:center}.claim-code-v2 strong{font-size:1.35rem}.order-success-v2__instructions ol{grid-template-columns:1fr}.order-summary-v2{grid-template-columns:1fr}.order-success-v2__actions{display:grid}.order-success-v2__actions .btn{width:100%}
  .cart-row{grid-template-columns:70px 1fr}.cart-row>*:nth-child(n+3){grid-column:2}.cart-thumb{width:70px;height:52px}
  .footer{padding-top:45px}.footer-grid{grid-template-columns:1fr;gap:28px}.footer-grid>div:last-child{grid-column:auto}.footer-bottom{align-items:start;flex-direction:column;gap:6px}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Compatibility for unchanged public views */
.price{color:var(--ink);font-size:1.05rem;font-weight:900}
.card-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.checkout-summary-label{display:block;margin-bottom:12px;color:var(--muted);font-size:.76rem;font-weight:850}
.checkout-summary-row{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #edf2f7;font-size:.75rem}
.checkout-summary-row span{max-width:64%;color:#475569}
.checkout-summary-row strong{white-space:nowrap}
.checkout-summary-total{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0 5px}
.checkout-summary-total strong{color:#9a3412;font-size:1rem}
.inline-form{display:inline-flex;gap:8px;align-items:center}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:12px;border-bottom:1px solid var(--line);text-align:right}
.article-card__placeholder{display:grid;place-items:center;gap:8px;color:#dbeafe}
.article-card__placeholder svg{width:58px;height:58px;fill:none;stroke:#7dd3fc;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.article-card__placeholder small{font-size:.72rem;font-weight:800}

/* Vart Fix course conversion and feedback v1.9 */
.course-decision-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px;padding:16px;border:1px solid #dbeafe;border-radius:20px;background:linear-gradient(135deg,#f8fbff,#fff)}
.course-decision-strip>div{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid #e8eef7;border-radius:15px;background:#fff}
.course-decision-strip span{color:#64748b;font-size:.69rem;font-weight:850}
.course-decision-strip strong{color:#172033;font-size:.82rem;line-height:1.75}
.course-info-card--not-for{border-color:#fed7aa;background:#fffaf5}
.course-info-card--not-for .course-info-card__icon{background:#ffedd5;color:#c2410c}
.course-info-card--not-for li:before{content:'×';color:#ea580c}
.course-feedback{scroll-margin-top:92px}
.feedback-summary{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 8px;padding:9px 12px;border:1px solid #fde68a;border-radius:14px;background:#fffbeb;text-align:center}
.feedback-summary>strong{grid-row:1/3;color:#92400e;font-size:1.3rem}
.feedback-summary small{color:#78716c;font-size:.66rem}
.feedback-stars{color:#f59e0b;letter-spacing:1px;font-size:.92rem;white-space:nowrap}
.course-feedback-list{display:grid;gap:14px;margin-top:18px}
.course-feedback-item{padding:19px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.045)}
.course-feedback-item--question{border-right:4px solid #38bdf8}
.course-feedback-item--review{border-right:4px solid #fb923c}
.course-feedback-item header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.course-feedback-item header>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.course-feedback-item header strong{color:#172033;font-size:.91rem}
.course-feedback-item header span:not(.feedback-stars){color:#64748b;font-size:.68rem;font-weight:750}
.course-feedback-item__body{color:#334155;font-size:.83rem;line-height:2}
.verified-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4;color:#166534!important;font-size:.62rem!important;font-weight:900!important}
.verified-badge:before{content:'✓';font-weight:900}
.course-feedback-reply{margin-top:14px;padding:13px 15px;border-right:3px solid #0ea5e9;border-radius:12px;background:#f0f9ff}
.course-feedback-reply strong{color:#075985;font-size:.73rem}
.course-feedback-reply p{margin:5px 0 0;color:#334155;font-size:.78rem;line-height:1.9}
.feedback-empty{margin-top:16px;padding:20px;border:1px dashed #cbd5e1;border-radius:17px;background:#f8fafc;text-align:center}
.feedback-empty strong{display:block;color:#334155}
.feedback-empty p{margin:6px 0 0;color:#64748b;font-size:.76rem}
.course-feedback-form-wrap{display:grid;grid-template-columns:.75fr 1.25fr;gap:24px;margin-top:24px;padding:22px;border:1px solid #dbeafe;border-radius:21px;background:linear-gradient(135deg,#f8fbff,#fff)}
.course-feedback-form-intro>span{color:#0284c7;font-size:.68rem;font-weight:900}
.course-feedback-form-intro h3{margin:7px 0 9px;font-size:1.15rem}
.course-feedback-form-intro p{margin:0;color:#64748b;font-size:.77rem;line-height:1.9}
.course-feedback-form{min-width:0}
.feedback-type-switch{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:14px}
.feedback-type-switch label{cursor:pointer}
.feedback-type-switch input{position:absolute;opacity:0;pointer-events:none}
.feedback-type-switch span{display:flex;align-items:center;justify-content:center;min-height:43px;padding:9px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#475569;font-size:.74rem;font-weight:850;transition:.18s ease}
.feedback-type-switch input:checked+span{border-color:#0ea5e9;background:#e0f2fe;color:#075985;box-shadow:0 0 0 3px rgba(14,165,233,.08)}
.verified-review-fields{margin:14px 0;padding:0;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.verified-review-fields summary{cursor:pointer;padding:13px 15px;color:#334155;font-size:.75rem;font-weight:850;list-style:none}
.verified-review-fields summary::-webkit-details-marker{display:none}
.verified-review-fields[open] summary{border-bottom:1px solid #e2e8f0}
.verified-review-fields>p{margin:12px 15px 0;color:#64748b;font-size:.69rem}
.verified-review-fields .form-grid{padding:13px 15px 15px}
.checkout-optional-fields{border:1px solid #e2e8f0;border-radius:13px;background:#fafcff}
.checkout-optional-fields summary{cursor:pointer;padding:12px 14px;color:#475569;font-size:.74rem;font-weight:850;list-style:none}
.checkout-optional-fields summary::-webkit-details-marker{display:none}
.checkout-optional-fields em{color:#94a3b8;font-size:.66rem;font-style:normal}
.checkout-optional-fields[open] summary{border-bottom:1px solid #e2e8f0}
.checkout-optional-fields .textarea{margin:12px;width:calc(100% - 24px)}
.checkout-course-facts{display:grid;gap:0;margin:12px 0 0;padding:0;border-top:1px solid #edf2f7}
.checkout-course-facts>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #edf2f7}
.checkout-course-facts dt{color:#64748b;font-size:.7rem}
.checkout-course-facts dd{margin:0;color:#334155;font-size:.72rem;font-weight:850;text-align:left}

@media(min-width:921px){
  .course-info-grid:has(.course-info-card:nth-child(3)){grid-template-columns:repeat(3,1fr)}
}
@media(max-width:680px){
  .course-decision-strip{grid-template-columns:1fr;padding:12px}
  .course-feedback-item header{flex-direction:column}
  .course-feedback-form-wrap{grid-template-columns:1fr;padding:17px}
  .feedback-type-switch{grid-template-columns:1fr}
  .feedback-summary{align-self:flex-start}
}
.course-card-v2__cart{margin-top:7px;text-align:center}
.course-card-v2__cart-button,.course-purchase-card__cart-form button{padding:4px;border:0;background:transparent;color:#64748b;cursor:pointer;font-family:inherit;font-size:.68rem;font-weight:800;text-decoration:underline;text-decoration-color:#cbd5e1;text-underline-offset:4px}
.course-card-v2__cart-button:hover,.course-purchase-card__cart-form button:hover{color:#0369a1;text-decoration-color:#38bdf8}
.course-purchase-card__cart-form{text-align:center;margin-top:7px}
.feedback-rating-field{opacity:.55;transition:opacity .18s ease}
.feedback-rating-field.is-active{opacity:1}

/* Growth foundation v2.0-A */
.newsletter-box{display:grid;grid-template-columns:minmax(0,.8fr) minmax(360px,1.2fr);align-items:center;gap:30px;padding:28px;border:1px solid #dbeafe;border-radius:24px;background:linear-gradient(135deg,#eff6ff,#fff7ed);color:var(--ink);box-shadow:0 14px 40px rgba(15,23,42,.08)}
.newsletter-box__copy>span{display:block;color:var(--orange-dark);font-size:.72rem;font-weight:900}
.newsletter-box__copy h2{margin:4px 0 8px;font-size:1.4rem;line-height:1.55}
.newsletter-box__copy p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.9}
.newsletter-form__fields{display:grid;grid-template-columns:.75fr 1fr auto;gap:9px}
.newsletter-consent{display:flex;align-items:flex-start;gap:8px;margin-top:10px;color:#64748b;font-size:.7rem;line-height:1.75;cursor:pointer}
.newsletter-consent input{margin-top:6px;accent-color:var(--orange)}
.newsletter-form__message{min-height:24px;margin-top:8px;padding:0 2px;font-size:.76rem;font-weight:700;line-height:1.8}
.newsletter-form__message:empty{display:none}
.newsletter-form__message.is-error{color:#fecaca}
.newsletter-form__message.is-success{color:#bbf7d0}
.newsletter-box:not(.newsletter-box--footer) .newsletter-form__message.is-error{color:#b91c1c}
.newsletter-box:not(.newsletter-box--footer) .newsletter-form__message.is-success{color:#166534}
.newsletter-form [data-newsletter-submit]:disabled{cursor:wait;opacity:.72}
.newsletter-box--footer{margin-bottom:34px;border-color:rgba(148,163,184,.2);background:linear-gradient(135deg,rgba(30,41,59,.96),rgba(15,23,42,.96));color:#fff;box-shadow:none}
.newsletter-box--footer .newsletter-box__copy p,.newsletter-box--footer .newsletter-consent{color:#cbd5e1}
.newsletter-box--footer .newsletter-box__copy>span{color:#fdba74}
.newsletter-box--footer .input{border-color:rgba(255,255,255,.16);background:#fff;color:#0f172a}
.article-newsletter{margin-top:42px;padding-top:32px;border-top:1px solid var(--line)}
.newsletter-box--article{grid-template-columns:1fr;padding:25px}
.newsletter-unsubscribe-card{width:min(640px,100%);margin:auto;padding:30px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}
.newsletter-unsubscribe-card h2{margin-top:0}.newsletter-unsubscribe-card form{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
@media(max-width:900px){.newsletter-box{grid-template-columns:1fr}.newsletter-form__fields{grid-template-columns:1fr 1fr}.newsletter-form__fields .btn{grid-column:1/-1}}
@media(max-width:560px){.newsletter-box{padding:20px}.newsletter-form__fields{grid-template-columns:1fr}}

/* Content & SEO engine v2.0-B1 */
.article-hero{padding:54px 0;background:linear-gradient(135deg,#0b1730,#10284d);color:#fff}.article-hero .breadcrumbs{color:#cbd5e1}.article-hero__inner{max-width:900px}.article-hero h1{margin:12px 0 14px;font-size:clamp(2rem,4.7vw,3.8rem);line-height:1.38}.article-hero__excerpt{max-width:820px;margin:0;color:#dbeafe;font-size:1.03rem;line-height:2}.article-meta{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:20px;color:#cbd5e1;font-size:.75rem}.article-meta a{color:#fed7aa;font-weight:800}
.article-shell{display:grid;grid-template-columns:minmax(0,820px) 270px;justify-content:center;gap:32px;align-items:start}.article-main{min-width:0}.article-featured{width:100%;margin-bottom:24px;border-radius:22px;box-shadow:var(--shadow-md)}.article-preview-banner{margin-bottom:18px;padding:12px 15px;border:1px solid #fde68a;border-radius:13px;background:#fffbeb;color:#92400e;font-weight:800}
.article-toc{position:sticky;top:98px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}.article-toc h2{margin:0 0 11px;font-size:.9rem}.article-toc ol{display:grid;gap:7px;margin:0;padding:0;list-style:none}.article-toc a{display:block;padding:5px 0;color:#475569;font-size:.72rem;line-height:1.6}.article-toc a:hover{color:#c2410c}.article-toc .toc-level-3{padding-right:15px;font-size:.67rem}
.article-prose{color:#334155;font-size:1rem;line-height:2.25}.article-prose>p:first-child{font-size:1.06rem;color:#1e293b}.article-prose h2,.article-prose h3,.article-prose h4{scroll-margin-top:110px;color:#0f172a;line-height:1.55}.article-prose h2{margin:50px 0 16px;font-size:1.72rem}.article-prose h3{margin:36px 0 12px;font-size:1.32rem}.article-prose h4{margin:28px 0 9px;font-size:1.1rem}.article-prose ul,.article-prose ol{padding-right:24px}.article-prose li{margin:7px 0}.article-prose a{color:#0369a1;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.article-prose blockquote{margin:26px 0;padding:18px 20px;border-right:4px solid #38bdf8;border-radius:12px;background:#f0f9ff;color:#334155}.article-prose pre{direction:ltr;overflow:auto;padding:18px;border-radius:15px;background:#0f172a;color:#e2e8f0;font-family:var(--vf-font-mono);line-height:1.75}.article-prose code{font-family:var(--vf-font-mono)}.article-prose p code,.article-prose li code{padding:2px 6px;border-radius:6px;background:#f1f5f9;color:#9a3412}.article-prose hr{margin:36px 0;border:0;border-top:1px solid var(--line)}
.article-prose figure{margin:30px auto;text-align:center}.article-prose figure img,.article-prose>img{width:auto;max-width:100%;margin-inline:auto;border-radius:18px;box-shadow:var(--shadow-sm)}.article-prose figcaption{margin-top:9px;color:#64748b;font-size:.72rem}.article-prose table{display:block;width:100%;overflow-x:auto;border-collapse:collapse;margin:26px 0}.article-prose th,.article-prose td{min-width:130px;padding:12px 14px;border:1px solid #dbe4ee;text-align:right}.article-prose th{background:#f8fafc;color:#0f172a;font-weight:900}
.article-prose .vf-callout{margin:28px 0;padding:18px 20px;border-radius:15px}.article-prose .vf-callout>strong{display:block;margin-bottom:5px}.article-prose .vf-callout>p:last-child{margin-bottom:0}.article-prose .vf-callout--note{border-right:4px solid #0284c7;background:#eff6ff}.article-prose .vf-callout--warning{border-right:4px solid #f59e0b;background:#fffbeb}.article-prose .vf-callout--solution{border-right:4px solid #16a34a;background:#f0fdf4}
.article-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.article-tags a{padding:5px 10px;border-radius:99px;background:#f1f5f9;color:#475569;font-size:.68rem;font-weight:750}.article-course-cta{display:grid;grid-template-columns:130px 1fr auto;align-items:center;gap:20px;margin:38px 0;padding:18px;border:1px solid #fed7aa;border-radius:20px;background:linear-gradient(135deg,#fff7ed,#fff)}.article-course-cta img{width:130px;aspect-ratio:16/10;border-radius:14px;object-fit:cover}.article-course-cta h2{margin:0 0 5px;font-size:1.15rem}.article-course-cta p{margin:0;color:#64748b;font-size:.78rem}.article-course-cta__price{display:block;margin-top:8px;color:#9a3412;font-weight:900}
.related-articles{margin-top:54px;padding-top:34px;border-top:1px solid var(--line)}.related-articles__head{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:18px}.related-articles__head h2{margin:0;font-size:1.45rem}.article-card-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px;color:#64748b;font-size:.65rem}.blog-category-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.blog-category-nav a{padding:7px 12px;border:1px solid var(--line);border-radius:99px;background:#fff;color:#475569;font-size:.72rem;font-weight:800}.blog-category-nav a:hover{border-color:#fdba74;background:#fff7ed;color:#9a3412}.blog-archive-intro{max-width:760px;margin:8px 0 0;color:#dbeafe}.blog-card .card-body{display:flex;flex-direction:column}.blog-card .btn{align-self:flex-start;margin-top:auto}
@media(max-width:980px){.article-shell{grid-template-columns:1fr}.article-toc{position:static;order:-1}.article-toc ol{grid-template-columns:repeat(2,1fr)}.article-course-cta{grid-template-columns:110px 1fr}.article-course-cta>.btn{grid-column:1/-1}.article-course-cta img{width:110px}}
@media(max-width:620px){.article-hero{padding:42px 0}.article-hero h1{font-size:2rem}.article-toc ol{grid-template-columns:1fr}.article-prose{font-size:.94rem}.article-prose h2{font-size:1.45rem}.article-prose h3{font-size:1.18rem}.article-course-cta{grid-template-columns:1fr;text-align:center}.article-course-cta img{width:100%;max-width:280px;margin:auto}.article-course-cta>.btn{grid-column:auto}.related-articles__head{align-items:flex-start;flex-direction:column}}
.article-shell--single{grid-template-columns:minmax(0,900px)}

/* Payment, student account and trust foundation v2.1 */
.account-button{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:8px 11px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#334155;font-size:.72rem;font-weight:850;white-space:nowrap}
.account-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.account-button:hover{border-color:#bae6fd;background:#f0f9ff;color:#0369a1}
.mobile-account-link{display:none!important}
.full-width{width:100%;justify-content:center}.link-button{padding:0;border:0;background:transparent;color:#0369a1;font:inherit;font-size:.72rem;font-weight:850;cursor:pointer}.back-link{display:inline-flex;margin-bottom:18px;color:#475569;font-size:.78rem;font-weight:800}.back-link:before{content:'←';margin-left:7px}.page-heading{max-width:760px;margin-bottom:24px}.page-heading h1{margin:6px 0 8px}.page-heading p{margin:0;color:var(--muted);line-height:1.9}
.auth-page{min-height:calc(100vh - 160px);background:linear-gradient(135deg,#f8fafc,#eff6ff 55%,#fff7ed)}.auth-shell{display:grid;grid-template-columns:minmax(0,580px) minmax(280px,1fr);gap:32px;align-items:center;max-width:1080px}.auth-card{padding:30px;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:var(--shadow-md)}.auth-card__head{margin-bottom:22px}.auth-card__head h1{margin:7px 0 8px;font-size:2rem}.auth-card__head p{margin:0;color:var(--muted);line-height:1.9}.auth-form{display:grid;gap:15px}.auth-card__footer{display:flex;justify-content:center;gap:8px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line);color:#64748b;font-size:.78rem}.auth-card__footer a{color:#0369a1;font-weight:900}.auth-benefits{padding:30px}.auth-benefits h2{font-size:1.6rem;line-height:1.55}.auth-benefits p{color:#475569;line-height:2}.privacy-note{margin-top:18px;padding:14px 16px;border:1px solid #bbf7d0;border-radius:14px;background:#f0fdf4;color:#166534;font-size:.75rem;line-height:1.8}.feature-list{display:grid;gap:13px;padding:0;list-style:none}.feature-list li{position:relative;padding-right:29px;color:#334155;font-weight:750;line-height:1.8}.feature-list li:before{content:'✓';position:absolute;right:0;top:0;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#dcfce7;color:#15803d;font-weight:900}
.terms-check-v2--optional{margin-top:4px!important;background:#f8fafc!important}.terms-check-v2--optional em{color:#64748b;font-size:.67rem;font-style:normal}
.student-page{background:#f8fafc;min-height:70vh}.student-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#0f172a,#173968);color:#fff}.student-hero h1{margin:7px 0 6px;font-size:clamp(1.55rem,3.5vw,2.35rem)}.student-hero p{margin:0;color:#cbd5e1}.student-nav{display:flex;gap:7px;overflow-x:auto;margin-bottom:22px;padding:6px;border:1px solid var(--line);border-radius:15px;background:#fff;scrollbar-width:thin}.student-nav a{flex:0 0 auto;min-height:40px;padding:9px 15px;border-radius:10px;color:#475569;font-size:.76rem;font-weight:850}.student-nav a.active{background:#e0f2fe;color:#075985}.student-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.student-stats>div{padding:19px;border:1px solid var(--line);border-radius:17px;background:#fff}.student-stats span{display:block;color:#64748b;font-size:.72rem}.student-stats strong{display:block;margin-top:4px;font-size:1.65rem;color:#0f172a}.student-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:20px;margin-bottom:20px}.student-panel{padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)}.student-panel--wide{min-width:0}.student-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.student-panel__head h1,.student-panel__head h2{margin:0}.student-panel__head>a{color:#0369a1;font-size:.72rem;font-weight:850}.student-course-list{display:grid;gap:10px}.student-course-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:13px;padding:10px;border:1px solid #e2e8f0;border-radius:15px;color:#334155}.student-course-row:hover{border-color:#bae6fd;background:#f8fbff}.student-course-row img{width:76px;height:76px;border-radius:11px;object-fit:cover}.student-course-row strong{display:block;margin-bottom:4px}.student-course-row span{color:#64748b;font-size:.7rem}.student-course-row b{color:#0369a1;font-size:.7rem}.notification-list{display:grid;gap:9px}.notification-item{padding:12px;border:1px solid #e2e8f0;border-radius:13px;background:#fff}.notification-item.is-unread{border-right:3px solid #0ea5e9;background:#f0f9ff}.notification-item strong{display:block;font-size:.76rem}.notification-item p{margin:5px 0;color:#64748b;font-size:.69rem;line-height:1.75}.notification-item a{font-size:.67rem;font-weight:850}.empty-state{padding:27px;border:1px dashed #cbd5e1;border-radius:17px;background:#f8fafc;text-align:center}.empty-state strong,.empty-state h2{display:block;margin:0 0 7px}.empty-state p{margin:0 0 17px;color:#64748b;line-height:1.8}.empty-state--large{max-width:760px;margin:30px auto;padding:50px 24px}.responsive-table{width:100%;overflow-x:auto}.responsive-table table{width:100%;border-collapse:collapse;white-space:nowrap}.responsive-table th,.responsive-table td{padding:12px;border-bottom:1px solid #edf2f7;text-align:right;font-size:.74rem}.responsive-table th{color:#64748b;font-weight:850}.responsive-table td a{color:#0369a1;font-weight:850}.status-pill{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:99px;background:#f1f5f9;color:#475569;font-size:.65rem;font-weight:900}.status-paid,.status-completed{background:#dcfce7;color:#166534}.status-pending_payment,.status-awaiting_payment,.status-awaiting_verification{background:#fef3c7;color:#92400e}.status-payment_review,.status-under_review{background:#dbeafe;color:#1e40af}.status-cancelled,.status-expired{background:#fee2e2;color:#991b1b}
.student-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.student-course-card{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow-sm)}.student-course-card>img{width:100%;aspect-ratio:16/9;object-fit:cover}.student-course-card>div{padding:18px}.student-course-card h2{margin:11px 0 8px;font-size:1.08rem}.student-course-card p{min-height:50px;color:#64748b;font-size:.74rem;line-height:1.8}.student-course-detail{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.student-course-detail__main>h1{margin:8px 0}.student-course-detail__main>p{color:#64748b;line-height:1.9}.student-course-detail__side{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff}.student-course-detail__side>img{width:100%;aspect-ratio:16/9;object-fit:cover}.student-course-detail__side dl{margin:0;padding:10px 18px 18px}.student-course-detail__side dl>div,.detail-list>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf2f7}.student-course-detail__side dt,.detail-list dt{color:#64748b;font-size:.69rem}.student-course-detail__side dd,.detail-list dd{margin:0;color:#334155;font-size:.72rem;font-weight:850;text-align:left}.license-box{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0;padding:22px;border-radius:18px}.license-box.is-ready{border:1px solid #86efac;background:#f0fdf4}.license-box.is-pending{border:1px solid #fde68a;background:#fffbeb}.license-box span{display:block;margin-bottom:7px;color:#64748b;font-size:.7rem}.license-box code{display:block;max-width:100%;overflow-wrap:anywhere;color:#14532d;font-family:var(--vf-font-mono);font-size:.85rem;direction:ltr}.license-box p{margin:6px 0 0;color:#78350f;font-size:.73rem;line-height:1.75}.numbered-guide{display:grid;gap:11px;padding-right:25px;color:#334155;line-height:1.85}.order-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.order-timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:24px 0}.order-timeline>div{position:relative;text-align:center;color:#94a3b8}.order-timeline>div:not(:last-child):after{content:'';position:absolute;top:15px;right:55%;width:90%;height:2px;background:#e2e8f0}.order-timeline span{position:relative;z-index:1;display:grid;place-items:center;width:31px;height:31px;margin:0 auto 7px;border:2px solid #cbd5e1;border-radius:50%;background:#fff;font-size:.7rem;font-weight:900}.order-timeline strong{font-size:.68rem}.order-timeline .done{color:#166534}.order-timeline .done span{border-color:#22c55e;background:#dcfce7}.order-timeline .done:not(:last-child):after{background:#86efac}.order-items-list{display:grid;margin:20px 0;border-top:1px solid #e2e8f0}.order-items-list>div{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #edf2f7;font-size:.76rem}.order-items-list .total{font-size:.88rem}.detail-list{margin:0 0 18px;padding:0}
.payment-result{min-height:65vh;background:#f8fafc}.result-card{max-width:700px;margin:auto;padding:42px 30px;border:1px solid var(--line);border-radius:25px;background:#fff;text-align:center;box-shadow:var(--shadow-md)}.result-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 18px;border-radius:50%;font-size:2rem;font-weight:900}.result-card.is-success .result-icon{background:#dcfce7;color:#15803d}.result-card.is-error .result-icon{background:#fee2e2;color:#b91c1c}.result-card h1{margin:0 0 10px}.result-card>p{color:#64748b;line-height:1.9}.result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:24px}.alert-info{border-color:#bae6fd!important;background:#f0f9ff!important;color:#075985!important}
.trust-badges{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:5px 0 28px;padding:17px 20px;border:1px solid rgba(148,163,184,.2);border-radius:18px;background:rgba(255,255,255,.04)}.trust-badges>div:first-child span{display:block;color:#fff;font-weight:850}.trust-badges>div:first-child small{display:block;margin-top:4px;color:#94a3b8}.trust-badges__items{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.trust-badge-link{display:grid;place-items:center;width:104px;height:104px;padding:4px;border-radius:13px;background:#fff}.trust-badge-image{display:block;max-width:96px;max-height:96px;object-fit:contain}
.checkout-heading{max-width:760px;margin:0 auto 24px;text-align:center}.checkout-heading h1{margin:6px 0 9px}.checkout-heading p{margin:0;color:#64748b;line-height:1.9}.checkout-form .input[readonly]{background:#f8fafc;color:#475569}.secure-chip{white-space:nowrap}
@media(max-width:1050px){.student-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.student-course-detail{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:900px){.account-button span{display:none}.account-button{padding:8px}.auth-shell{grid-template-columns:1fr}.auth-benefits{display:none}.student-grid,.student-course-detail,.order-detail-grid{grid-template-columns:1fr}.student-course-detail__side{order:-1;max-width:560px}.student-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.mobile-account-link{display:flex!important}.account-button{display:none}.student-hero{align-items:flex-start;flex-direction:column;padding:22px}.student-stats{grid-template-columns:1fr 1fr}.student-stats>div:last-child{grid-column:1/-1}.student-course-grid{grid-template-columns:1fr}.student-panel{padding:17px}.student-course-row{grid-template-columns:62px minmax(0,1fr)}.student-course-row img{width:62px;height:62px}.student-course-row b{display:none}.license-box{align-items:stretch;flex-direction:column}.order-timeline strong{font-size:.61rem}.trust-badges{align-items:flex-start;flex-direction:column}.trust-badges__items{width:100%;justify-content:center}.auth-card{padding:22px}.auth-page{padding-top:32px}.result-card{padding:32px 20px}}
@media(max-width:480px){.student-stats{grid-template-columns:1fr}.student-stats>div:last-child{grid-column:auto}.student-nav{margin-inline:-4px}.student-hero .btn{width:100%;justify-content:center}.responsive-table th,.responsive-table td{padding:10px 8px}.order-timeline>div:not(:last-child):after{right:58%;width:84%}.result-actions .btn{width:100%;justify-content:center}}

/* Vart Fix 2.1 interaction refinements */
.text-link--button,.course-purchase-card__support{border:0;background:transparent;font:inherit;cursor:pointer}
.text-link--button{padding:0;color:inherit}
.auth-help{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:14px;border-top:1px solid var(--border,#e2e8f0);font-size:.78rem}
[data-goftino-open][aria-busy="true"]{cursor:wait;opacity:.72}
@media(max-width:768px){.auth-help{align-items:flex-start;flex-direction:column}.trust-badges{align-items:center}.trust-badges__items{justify-content:center}}

/* VartFix 2.1 RC1.2 — Student logout UX */
.student-nav__logout{display:flex;flex:0 0 auto;margin:0;margin-inline-start:auto}
.student-nav__logout-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 14px;border:0;border-radius:10px;background:transparent;color:#b42318;font:inherit;font-size:.76rem;font-weight:850;white-space:nowrap;cursor:pointer}
.student-nav__logout-button:hover,.student-nav__logout-button:focus-visible{background:#fff1f0;color:#8a1c13;outline:none}
.student-nav__logout-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.student-account-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px}
.student-account-actions h2{margin:0 0 5px}
.student-account-actions p{margin:0;color:#64748b;line-height:1.8}
.btn-danger-outline{border:1px solid #f3b4ad;background:#fff;color:#b42318}
.btn-danger-outline:hover,.btn-danger-outline:focus-visible{border-color:#e88b80;background:#fff1f0;color:#8a1c13}
@media(max-width:640px){.student-nav__logout{margin-inline-start:0}.student-account-actions{align-items:stretch;flex-direction:column}.student-account-actions .btn{width:100%;justify-content:center}}


/* VartFix 2.1 RC1.3 — account dropdown and canonical logout placement */
.account-menu{position:relative}
.account-menu__toggle{cursor:pointer}
.account-menu__chevron{width:15px!important;height:15px!important;transition:transform .18s ease}
.account-menu.is-open .account-menu__chevron{transform:rotate(180deg)}
.account-dropdown{position:absolute;top:calc(100% + 10px);right:0;z-index:180;width:270px;padding:8px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 22px 55px rgba(15,23,42,.16)}
.account-dropdown[hidden]{display:none!important}
.account-dropdown__identity{padding:10px 11px 12px;border-bottom:1px solid #edf2f7;margin-bottom:6px}
.account-dropdown__identity small{display:block;color:#64748b;font-size:.66rem;font-weight:700}
.account-dropdown__identity strong{display:block;margin-top:2px;overflow:hidden;color:#0f172a;font-size:.82rem;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.account-dropdown>a,.account-dropdown__logout{display:flex;width:100%;align-items:center;gap:10px;min-height:42px;padding:9px 10px;border:0;border-radius:10px;background:transparent;color:#334155;text-align:right;font:inherit;font-size:.74rem;font-weight:820;cursor:pointer}
.account-dropdown>a:hover,.account-dropdown>a:focus-visible{background:#f0f9ff;color:#0369a1}
.account-dropdown svg{flex:0 0 19px;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.account-dropdown form{margin:0}
.account-dropdown__separator{height:1px;margin:6px 3px;background:#edf2f7}
.account-dropdown__logout{color:#b42318}
.account-dropdown__logout:hover,.account-dropdown__logout:focus-visible{background:#fff1f0;color:#8a1c13;outline:none}
.mobile-account-section{display:none}
.mobile-account-logout{margin:0}
.mobile-account-logout button{display:flex;width:100%;align-items:center;gap:9px;min-height:44px;padding:10px 12px;border:0;border-radius:10px;background:#fff1f0;color:#b42318;text-align:right;font:inherit;font-size:.86rem;font-weight:850;cursor:pointer}
.mobile-account-logout svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Logout is intentionally centralized in the global account menu. */
.student-nav__logout,.student-account-actions{display:none!important}
@media(max-width:760px){.account-menu{display:none}.mobile-account-section{display:grid!important;gap:6px;width:100%;margin-top:5px;padding-top:10px;border-top:1px solid #e2e8f0}.mobile-account-section .mobile-account-link{display:flex!important}.mobile-account-logout{display:block}}

/* VartFix 2.2 RC2 — guided journey and student engagement */
.home-problem-section{padding-top:72px;padding-bottom:72px;background:linear-gradient(180deg,#fff,#f8fafc)}
.problem-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.problem-path-card{display:flex;align-items:flex-start;gap:18px;min-height:210px;padding:26px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-sm);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.problem-path-card:hover{transform:translateY(-3px);border-color:#fdba74;box-shadow:var(--shadow-md)}
.problem-path-card__number{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:15px;background:var(--orange-soft);color:var(--orange-dark);font-weight:900}
.problem-path-card h3{margin:0 0 9px;font-size:1.12rem;line-height:1.55}
.problem-path-card p{margin:0 0 17px;color:var(--muted);font-size:.91rem;line-height:1.9}
.problem-path-card strong{display:inline-flex;align-items:center;gap:7px;color:#0369a1;font-size:.83rem}

.student-progress-panel{margin:22px 0;padding:28px;border:1px solid #dbeafe;border-radius:24px;background:linear-gradient(145deg,#eff6ff,#fff);box-shadow:var(--shadow-sm)}
.student-progress-panel__head{display:flex;align-items:center;justify-content:space-between;gap:24px}
.student-progress-panel__head h2{margin:3px 0 5px;font-size:1.45rem}
.student-progress-panel__head p{margin:0;color:var(--muted)}
.student-progress-ring{--progress:0;display:grid;place-items:center;flex:0 0 92px;width:92px;height:92px;border-radius:50%;background:conic-gradient(var(--orange) calc(var(--progress)*1%),#e2e8f0 0);position:relative}
.student-progress-ring:after{content:'';position:absolute;width:72px;height:72px;border-radius:50%;background:#fff}
.student-progress-ring strong{position:relative;z-index:1;font-size:1.05rem}
.student-checklist{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:22px}
.student-checklist>div{display:flex;align-items:center;gap:9px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;color:#64748b;font-size:.82rem}
.student-checklist>div span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#f1f5f9;font-weight:900}
.student-checklist>div.is-done{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.student-checklist>div.is-done span{background:#dcfce7}
.student-badges{margin-top:22px;padding-top:20px;border-top:1px solid #dbeafe}
.student-badges h3{margin:0 0 10px;font-size:.95rem}
.student-badges>div{display:flex;flex-wrap:wrap;gap:8px}
.student-badges span{padding:7px 11px;border:1px solid #fed7aa;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:.75rem;font-weight:800}
.course-challenges{margin-top:22px}
.course-challenge-list{display:grid;gap:15px;margin-top:18px}
.course-challenge-card{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff}
.course-challenge-card.has-submission{border-color:#bae6fd;background:#f8fcff}
.course-challenge-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:10px}
.course-challenge-card__head>div{display:flex;flex-direction:column;gap:4px}
.course-challenge-card__head strong{font-size:1rem}
.course-challenge-card__head small{color:var(--orange-dark);font-weight:800}
.course-challenge-card p{color:#475569}
.challenge-admin-feedback{margin:14px 0;padding:13px 15px;border-right:4px solid #0ea5e9;border-radius:10px;background:#f0f9ff}
.challenge-admin-feedback strong{display:block;margin-bottom:3px}
.challenge-admin-feedback p{margin:0}

@media(max-width:900px){
  .problem-path-grid{grid-template-columns:1fr}
  .problem-path-card{min-height:0}
  .student-checklist{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .home-problem-section{padding:52px 0}
  .problem-path-card{padding:20px;border-radius:18px}
  .problem-path-card__number{flex-basis:42px;width:42px;height:42px}
  .student-progress-panel{padding:20px;border-radius:18px}
  .student-progress-panel__head{align-items:flex-start;flex-direction:column}
  .student-progress-ring{width:78px;height:78px;flex-basis:78px}
  .student-progress-ring:after{width:60px;height:60px}
  .student-checklist{grid-template-columns:1fr}
  .course-challenge-card__head{flex-direction:column}
}

/* Mobile interaction safety */
@media(max-width:768px){
  .site-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff}
  .nav-shell{min-height:68px;gap:8px}
  .nav-actions{gap:6px}
  .cart-button,.account-button,.mobile-toggle{min-width:44px;min-height:44px}
  .nav-cta{display:none}
  .brand-copy small{display:none}
  .brand-logo{height:40px;max-width:66px}
  .mobile-course-buy{padding-bottom:max(10px,env(safe-area-inset-bottom))}
  body.page-course-detail{padding-bottom:84px}
}

/* VartFix 2.2: clear unavailable-course state */
.course-card-v2__unavailable{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;color:#475569;font-size:.78rem;font-weight:850;text-align:center}
.course-card-v2__support-link{width:100%;margin-top:8px;padding:6px;border:0;background:transparent;color:#0369a1;font:inherit;font-size:.72rem;font-weight:800;cursor:pointer}
.course-purchase-card__unavailable{display:grid;gap:5px;padding:15px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;color:#334155;text-align:center}
.course-purchase-card__unavailable strong{font-size:.88rem}.course-purchase-card__unavailable span{color:#64748b;font-size:.72rem;line-height:1.8}

/* VartFix 2.2 RC2.3 — unified responsive media system
   Course artwork: 4:3 / no crop. Article artwork: 16:9 / no crop.
   Text-rich covers stay fully readable in cards, detail pages and student areas. */
.media-frame{display:grid;position:relative;width:100%;place-items:center;overflow:hidden;background:#f8fafc;isolation:isolate}
.media-frame>img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center}
.media-frame--course{aspect-ratio:4/3;background:linear-gradient(145deg,#fff,#f3f7fb)}
.media-frame--article{aspect-ratio:16/9;background:linear-gradient(145deg,#fff,#f1f5f9)}
.media-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;text-align:center}
.media-placeholder strong{font-size:1rem;letter-spacing:.12em}
.media-placeholder small{color:#bae6fd;font-size:.72rem;font-weight:800}

/* Course archive and homepage cards */
.course-card-v2__cover{aspect-ratio:4/3;border-bottom:1px solid #edf2f7;background:linear-gradient(145deg,#fff,#f3f7fb)}
.course-card-v2__cover img{object-fit:contain;object-position:center;transform:none!important}
.course-card-v2:hover .course-card-v2__cover img{transform:none!important}
.course-card-v2__shade,.course-card-v2__badge{display:none!important}
.course-card-v2__badge-inline{border:1px solid #fed7aa!important;background:#fff7ed!important;color:#9a3412!important}
.course-card-v2__placeholder{position:absolute;inset:0}

/* Article cards in archive, course pages and related-content blocks */
.blog-card{overflow:hidden}
.blog-card__media{border-bottom:1px solid #edf2f7}
.blog-card__media img,.blog-card>a>img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain;object-position:center;background:#f8fafc}
.article-card__media img{object-fit:contain;object-position:center;background:#f8fafc;transform:none!important}
.article-card:hover .article-card__media img{transform:none!important}

/* Full article and in-content media */
.article-featured{width:100%;margin:0 0 24px;border:1px solid #e2e8f0;border-radius:22px;box-shadow:var(--shadow-md)}
.article-featured img{width:100%;height:100%;object-fit:contain;object-position:center}
.article-prose img{display:block;width:auto;max-width:100%;height:auto;margin-inline:auto;border-radius:14px}
.article-prose figure{max-width:100%;margin:28px auto}
.article-prose figure img{width:auto;max-width:100%;height:auto}
.article-prose video,.article-prose iframe{max-width:100%}
.article-prose table{display:block;max-width:100%;overflow-x:auto}

/* Course CTA embedded in articles */
.article-course-cta__media{width:130px;border:1px solid #e2e8f0;border-radius:14px}
.article-course-cta__media img{width:100%;height:100%;object-fit:contain}
.article-course-cta--no-media{grid-template-columns:1fr auto}

/* Small course images: cart and student dashboard */
.cart-thumb{display:grid;width:96px;height:72px;place-items:center;overflow:hidden;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}
.cart-thumb img{width:100%;height:100%;border-radius:0;object-fit:contain;object-position:center}
.student-course-row img{width:76px;height:57px;padding:2px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;object-fit:contain;object-position:center}
.student-course-card>img,.student-course-detail__side>img{width:100%;aspect-ratio:4/3;padding:0;background:#f8fafc;object-fit:contain;object-position:center}

/* Keep media rows stable and prevent accidental horizontal overflow */
.course-card-v2__cover img,.blog-card__media img,.article-card__media img,.article-featured img,.student-course-card>img,.student-course-detail__side>img{min-width:0}

@media(max-width:760px){
  .course-card-v2__cover{aspect-ratio:4/3}
  .article-course-cta{grid-template-columns:94px minmax(0,1fr);align-items:start}
  .article-course-cta__media{width:94px}
  .article-course-cta>.btn{grid-column:1/-1;width:100%}
  .article-course-cta--no-media{grid-template-columns:1fr}
  .student-course-row{grid-template-columns:62px minmax(0,1fr)}
  .student-course-row img{width:62px;height:47px}
  .cart-thumb{width:82px;height:62px}
}


/* VartFix 2.2 RC2.4 — stable student course artwork
   The cover now lives in its own fixed-ratio frame. This prevents the sidebar
   from stretching the image or creating a large empty area above it. */
.student-course-detail{grid-auto-rows:max-content}
.student-course-detail__side{display:block;width:100%;height:auto!important;min-height:0;align-self:start}
.student-course-detail__cover{display:grid;width:100%;height:auto!important;min-height:0;aspect-ratio:4/3;place-items:center;overflow:hidden;border-bottom:1px solid #edf2f7;background:linear-gradient(145deg,#fff,#f3f7fb)}
.student-course-detail__cover>img{display:block!important;position:static!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;object-fit:contain!important;object-position:center!important}
.student-course-detail__side>dl{display:block;width:100%;height:auto;margin:0}
.student-course-card__cover{display:grid;width:100%;height:auto;aspect-ratio:4/3;place-items:center;overflow:hidden;border-bottom:1px solid #edf2f7;background:linear-gradient(145deg,#fff,#f3f7fb)}
.student-course-card__cover>img{display:block;width:100%;height:100%;margin:0;padding:0;object-fit:contain;object-position:center}
.student-course-card{display:flex;min-width:0;flex-direction:column}
.student-course-card>div:last-child{display:flex;min-width:0;flex:1;flex-direction:column}
.student-course-card>div:last-child .btn{margin-top:auto}
@media(max-width:900px){.student-course-detail__side{width:100%;max-width:560px;margin-inline:auto}}

/* VartFix 2.2 RC2.9 — performance media and stable mobile article archive */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.grid>*{min-width:0}
.blog-list-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.blog-list-grid .blog-card{display:flex;min-width:0;flex-direction:column}
.blog-list-grid .blog-card__media{flex:0 0 auto}
.blog-list-grid .card-body{flex:1;padding:20px}
.blog-card__title{margin:0 0 10px;font-size:1.05rem;line-height:1.85;overflow-wrap:anywhere}
.blog-card__title a{color:inherit}
.blog-card__excerpt{display:-webkit-box;min-height:4.9em;margin:0 0 17px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;line-height:1.75;overflow-wrap:anywhere}
.blog-search{display:grid;max-width:none;margin:0 0 28px;padding:16px;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.blog-search .input{min-width:0}
.blog-category-nav{scrollbar-width:thin}
.article-prose{min-width:0;overflow-wrap:anywhere}
.article-prose pre,.article-prose code{max-width:100%}
.article-prose pre{overflow-x:auto;-webkit-overflow-scrolling:touch}

@media(max-width:980px){
  .grid-3,.blog-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:680px){
  .grid-3,.blog-list-grid{grid-template-columns:minmax(0,1fr)}
  .blog-archive-hero{padding:36px 0}
  .blog-archive-hero h1{font-size:1.8rem;line-height:1.55}
  .blog-archive-section{padding-top:38px}
  .blog-category-nav{margin-inline:-11px;padding:0 11px 8px;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
  .blog-category-nav a{flex:0 0 auto;white-space:nowrap}
  .blog-search{grid-template-columns:1fr;padding:13px;border-radius:16px}
  .blog-search .btn{width:100%}
  .blog-list-grid{gap:18px}
  .blog-list-grid .blog-card{border-radius:18px}
  .blog-list-grid .card-body{padding:17px}
  .blog-card__title{font-size:1rem;line-height:1.8}
  .blog-card__excerpt{min-height:0;-webkit-line-clamp:3}
  .article-card-meta{font-size:.72rem}
}

/* RC2.10 — centralized social identity, accessible footer and contact UX */
.static-page-card{max-width:900px;margin:auto}
.social-hub{position:relative;border-radius:24px}
.social-hub__copy{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px}
.social-hub__copy h2,.social-hub__copy h3{margin:0;line-height:1.55}
.social-hub__copy p{max-width:650px;margin:0;line-height:1.9}
.social-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.social-profile-card{--social-accent:#38bdf8;display:flex;align-items:center;gap:12px;min-width:0;min-height:78px;padding:13px 14px;border:1px solid transparent;border-radius:17px;transition:transform .2s ease,border-color .2s ease,background-color .2s ease,box-shadow .2s ease}
.social-profile-card--instagram{--social-accent:#e879f9}
.social-profile-card--telegram{--social-accent:#38bdf8}
.social-profile-card--bale{--social-accent:#34d399}
.social-profile-card:hover{transform:translateY(-2px)}
.social-profile-card__icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px;color:var(--social-accent)}
.social-profile-card__icon svg{display:block;width:25px;height:25px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.social-profile-card--telegram .social-profile-card__icon svg{fill:currentColor;stroke:none}
.social-profile-card--telegram .social-profile-card__icon .social-icon-inner{fill:var(--social-icon-cutout,#fff)}
.social-profile-card__icon .social-icon-fill{fill:currentColor;stroke:none}
.social-profile-card--bale .social-profile-card__icon svg{fill:none}
.social-profile-card--bale .social-profile-card__icon text{fill:currentColor;stroke:none;font-family:Vazirmatn,Tahoma,sans-serif;font-size:10px;font-weight:900}
.social-profile-card__content{display:grid;gap:2px;min-width:0;margin-left:auto}
.social-profile-card__content small{font-size:.68rem;font-weight:700}
.social-profile-card__content strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;unicode-bidi:plaintext}
.social-profile-card__action{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;font-size:1rem;font-weight:900;transition:transform .2s ease,background-color .2s ease}
.social-profile-card:hover .social-profile-card__action{transform:translate(-2px,-2px)}
.social-hub--footer{margin:0 0 34px;padding:23px;border:1px solid rgba(148,163,184,.2);background:linear-gradient(135deg,rgba(30,41,59,.9),rgba(15,23,42,.78));box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.social-hub--footer .social-hub__copy h3{color:#fff;font-size:1.05rem}
.social-hub--footer .social-hub__copy p{color:#94a3b8;font-size:.77rem}
.social-hub--footer .social-profile-card{border-color:rgba(148,163,184,.2);background:rgba(8,18,36,.72);color:#e2e8f0}
.social-hub--footer .social-profile-card:hover{border-color:color-mix(in srgb,var(--social-accent) 55%,transparent);background:rgba(15,23,42,.98);box-shadow:0 12px 30px rgba(0,0,0,.16)}
.social-hub--footer .social-profile-card__icon{background:color-mix(in srgb,var(--social-accent) 14%,transparent)}
.social-hub--footer .social-profile-card__content small{color:#94a3b8}
.social-hub--footer .social-profile-card__content strong{color:#fff}
.social-hub--footer .social-profile-card__action{background:rgba(255,255,255,.06);color:var(--social-accent)}
.social-hub--footer .social-profile-card--telegram{--social-icon-cutout:#101c30}
.social-hub--contact{max-width:980px;margin:34px auto 0;padding:26px;border:1px solid #dbeafe;background:linear-gradient(135deg,#f8fbff,#f8fafc);box-shadow:var(--shadow-sm)}
.social-hub--contact .social-hub__copy h2{color:#0f172a;font-size:1.4rem}
.social-hub--contact .social-hub__copy p{color:#64748b;font-size:.8rem}
.social-hub--contact .social-profile-card{border-color:#e2e8f0;background:#fff;color:#0f172a;box-shadow:0 5px 18px rgba(15,23,42,.04)}
.social-hub--contact .social-profile-card:hover{border-color:color-mix(in srgb,var(--social-accent) 48%,#e2e8f0);box-shadow:0 13px 28px rgba(15,23,42,.08)}
.social-hub--contact .social-profile-card__icon{background:color-mix(in srgb,var(--social-accent) 11%,#fff)}
.social-hub--contact .social-profile-card__content small{color:#64748b}
.social-hub--contact .social-profile-card__content strong{color:#0f172a}
.social-hub--contact .social-profile-card__action{background:#f8fafc;color:var(--social-accent)}
.social-hub--contact .social-profile-card--telegram{--social-icon-cutout:#f5fbff}
.contact-details{max-width:980px;margin:38px auto 0;padding-top:6px}
.contact-details__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.contact-detail-card{display:flex;flex-direction:column;justify-content:center;min-height:126px;padding:19px;border:1px solid #e2e8f0;border-radius:20px;background:#fff;box-shadow:var(--shadow-sm);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.contact-detail-card:not(.contact-detail-card--static):hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:var(--shadow-md)}
.contact-detail-card span{color:#64748b;font-size:.72rem;font-weight:750}
.contact-detail-card strong{margin:7px 0 3px;color:#0f172a;font-size:.94rem;overflow-wrap:anywhere}
.contact-detail-card small{color:#94a3b8;font-size:.66rem}

@media(max-width:900px){
  .social-hub__copy{align-items:start;flex-direction:column;gap:7px}
  .social-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .social-profile-card:last-child:nth-child(odd){grid-column:1/-1}
  .contact-details__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .contact-detail-card:last-child:nth-child(odd){grid-column:1/-1}
}
@media(max-width:620px){
  .social-hub--footer,.social-hub--contact{padding:17px;border-radius:19px}
  .social-hub--footer{margin-bottom:28px}
  .social-hub__copy{margin-bottom:14px}
  .social-hub__copy h2,.social-hub__copy h3{font-size:1rem}
  .social-hub__copy p{font-size:.72rem;line-height:1.8}
  .social-profile-grid,.contact-details__grid{grid-template-columns:1fr}
  .social-profile-card:last-child:nth-child(odd),.contact-detail-card:last-child:nth-child(odd){grid-column:auto}
  .social-profile-card{min-height:70px;padding:11px 12px;border-radius:15px}
  .social-profile-card__icon{flex-basis:42px;width:42px;height:42px;border-radius:12px}
  .social-profile-card__content strong{font-size:.82rem}
  .contact-detail-card{min-height:108px;padding:16px}
}

/* Vart Fix 2.2 RC2.11: conversion helpers */
.scroll-top-button{position:fixed;z-index:80;bottom:22px;width:46px;height:46px;border:1px solid rgba(148,163,184,.35);border-radius:16px;background:linear-gradient(145deg,#0f172a,#1e3a8a);color:#fff;font-size:1.35rem;font-weight:900;box-shadow:0 18px 40px rgba(15,23,42,.22);cursor:pointer;opacity:0;transform:translateY(12px);transition:opacity .2s ease,transform .2s ease,box-shadow .2s ease}.scroll-top-button--left{left:18px}.scroll-top-button--right{right:18px}.scroll-top-button.is-visible{opacity:1;transform:translateY(0)}.scroll-top-button:hover{box-shadow:0 22px 52px rgba(15,23,42,.28)}.scroll-top-button:focus-visible{outline:3px solid rgba(14,165,233,.35);outline-offset:3px}@media(max-width:768px){.scroll-top-button{bottom:86px;width:44px;height:44px}.scroll-top-button--left{left:14px}.scroll-top-button--right{right:14px}}
.checkout-discount-box{margin:14px 0 12px;padding:14px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.checkout-discount-box>strong{display:block;margin-bottom:9px;font-size:.9rem}.discount-form{display:flex;gap:8px}.discount-form .input{min-width:0}.discount-applied{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding:10px;border-radius:12px;background:#ecfdf5;color:#166534}.discount-applied span{font-weight:900}.discount-applied em{font-style:normal;font-size:.78rem}.discount-negative{color:#16a34a!important}.badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:.74rem;font-weight:800}.badge-success{background:#dcfce7;color:#166534}.badge-muted{background:#f1f5f9;color:#64748b}@media(max-width:520px){.discount-form{flex-direction:column}.discount-form .btn{width:100%}}

/* VartFix 2.2 RC2.12 — site search UX */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.header-site-search{display:flex;align-items:center;gap:0;min-width:190px;max-width:260px;margin-inline-start:auto;border:1px solid rgba(148,163,184,.35);border-radius:999px;background:#fff;overflow:hidden;box-shadow:0 8px 25px rgba(15,23,42,.06)}
.header-site-search input{width:100%;min-width:0;border:0;outline:0;padding:10px 14px;background:transparent;font:inherit;font-size:.82rem;color:#0f172a}.header-site-search button{display:grid;place-items:center;width:42px;height:42px;border:0;background:#f97316;color:#fff;font-weight:900;cursor:pointer}.header-site-search:focus-within{border-color:#f97316;box-shadow:0 0 0 4px rgba(249,115,22,.14)}
.mobile-site-search{display:none;grid-template-columns:1fr auto;gap:8px;margin:10px 0;padding:10px;border-radius:14px;background:#f8fafc}.mobile-site-search input{min-width:0;border:1px solid #e2e8f0;border-radius:10px;padding:11px 12px;font:inherit}.mobile-site-search button{border:0;border-radius:10px;padding:0 14px;background:#0f172a;color:#fff;font:inherit;font-weight:800}
.account-notif-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-inline-start:4px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:.68rem;font-style:normal}.search-hero p{max-width:720px;color:#475569}.search-page-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;max-width:900px;margin-bottom:28px;padding:12px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 14px 35px rgba(15,23,42,.06)}.search-page-form .input{border:0;background:#f8fafc}.search-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 14px}.search-section-head h2{margin:0}.search-section-head span{color:#64748b;font-size:.8rem}.search-result-card>img,.search-result-card>a>img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#f8fafc}.link-more{display:inline-block;margin-top:8px;font-weight:800;color:#f97316}
@media(max-width:1100px){.header-site-search{display:none}.mobile-site-search{display:grid}}
@media(max-width:700px){.search-page-form{grid-template-columns:1fr}.search-page-form .btn{width:100%}.search-section-head{align-items:flex-start;flex-direction:column;gap:6px}}

/* VartFix 2.2 RC2.12.1 — mobile drawer navigation and search fix UX */
.mobile-drawer__head,.mobile-drawer__section-title{display:none}
.mobile-nav-backdrop{display:none}
@media(max-width:920px){
  .site-header{z-index:220}
  .nav-shell{position:relative}
  .mobile-toggle{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;flex:0 0 auto}
  .nav-links.mobile-drawer{display:flex;position:fixed;top:0;right:0;bottom:0;left:auto;z-index:360;width:min(390px,92vw);max-width:92vw;height:100dvh;max-height:none;align-items:stretch;flex-direction:column;gap:6px;padding:0 14px 18px;border:0;border-left:1px solid rgba(226,232,240,.9);border-radius:0;background:#fff;box-shadow:-24px 0 70px rgba(15,23,42,.22);overflow-y:auto;overscroll-behavior:contain;transform:translateX(108%);visibility:hidden;pointer-events:none;transition:transform .22s ease,visibility .22s ease;-webkit-overflow-scrolling:touch}
  .nav-links.mobile-drawer.open{transform:translateX(0);visibility:visible;pointer-events:auto}
  .mobile-drawer__head{display:flex;position:sticky;top:0;z-index:3;align-items:center;justify-content:space-between;gap:14px;margin:0 -14px 8px;padding:15px 15px 12px;border-bottom:1px solid #edf2f7;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  .mobile-drawer__head strong{display:block;color:#0f172a;font-size:.98rem;font-weight:950}
  .mobile-drawer__head small{display:block;margin-top:2px;color:#64748b;font-size:.68rem;font-weight:700;line-height:1.7}
  .mobile-drawer__close{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;color:#0f172a;font-size:1.45rem;font-weight:800;line-height:1;cursor:pointer}
  .mobile-drawer__section-title{display:block;margin:6px 2px 2px;color:#94a3b8;font-size:.68rem;font-weight:900;letter-spacing:.02em}
  .nav-links.mobile-drawer>a,.nav-links.mobile-drawer .mobile-account-link{display:flex!important;align-items:center;min-height:46px;padding:11px 12px;border:1px solid transparent;border-radius:13px;background:#fff;color:#334155;font-size:.9rem;font-weight:850}
  .nav-links.mobile-drawer>a:hover,.nav-links.mobile-drawer>a.active,.nav-links.mobile-drawer .mobile-account-link:hover{border-color:#fed7aa;background:#fff7ed;color:#9a3412}
  .nav-links.mobile-drawer>a.active:after{display:none}
  .mobile-site-search.mobile-site-search--drawer{display:grid;position:sticky;top:70px;z-index:2;grid-template-columns:minmax(0,1fr) 46px;gap:8px;margin:2px 0 8px;padding:10px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc;box-shadow:0 12px 28px rgba(15,23,42,.06)}
  .mobile-site-search.mobile-site-search--drawer input{min-width:0;border:0;border-radius:12px;background:#fff;padding:12px 13px;color:#0f172a;font:inherit;font-size:.86rem;outline:none;box-shadow:inset 0 0 0 1px #e2e8f0}
  .mobile-site-search.mobile-site-search--drawer input:focus{box-shadow:inset 0 0 0 2px rgba(249,115,22,.55)}
  .mobile-site-search.mobile-site-search--drawer button{display:grid;place-items:center;min-width:46px;height:46px;border:0;border-radius:12px;background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;font-size:1.1rem;font-weight:950;cursor:pointer}
  .mobile-account-section{display:grid!important;gap:7px;width:100%;margin-top:8px;padding-top:12px;border-top:1px solid #e2e8f0}
  .mobile-nav-backdrop{display:block;position:fixed;inset:0;z-index:300;background:rgba(15,23,42,.42);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);opacity:0;transition:opacity .18s ease}
  body.menu-open .mobile-nav-backdrop{opacity:1}
  .mobile-nav-backdrop[hidden]{display:none!important}
}
@media(max-width:420px){
  .nav-links.mobile-drawer{width:min(360px,94vw);max-width:94vw}
  .mobile-drawer__head{padding-top:max(13px,env(safe-area-inset-top))}
  .mobile-site-search.mobile-site-search--drawer{grid-template-columns:minmax(0,1fr) 44px}
}
.search-suggestions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:26px;padding:16px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.search-suggestions strong{margin-left:4px;color:#334155;font-size:.82rem}.search-suggestions a{padding:7px 11px;border:1px solid #fed7aa;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:.78rem;font-weight:850}.search-suggestions a:hover{background:#ffedd5;color:#7c2d12}
@media(max-width:600px){.search-suggestions{align-items:flex-start;flex-direction:column}.search-suggestions a{width:100%;text-align:center}}


/* VartFix 2.2 RC2.12.2 — mobile navigation stabilization, Digikala-like bottom tabs, search repair */
.mobile-top-search,.mobile-bottom-nav{display:none}
@media(min-width:1251px){.header-site-search{display:flex}}
@media(max-width:1250px){.header-site-search{display:none!important}}
@media(max-width:920px){
  .mobile-drawer__head,.mobile-drawer__section-title,.mobile-nav-backdrop{display:none!important}
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  body.page-course-detail{padding-bottom:calc(140px + env(safe-area-inset-bottom))}
  .site-header{position:sticky;top:0;background:#fff;border-bottom:1px solid #eef2f7;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:0 8px 22px rgba(15,23,42,.04)}
  .nav-shell{min-height:62px;gap:8px;padding-top:4px;padding-bottom:4px}
  .brand-logo{height:38px;max-width:64px}.brand-copy strong{font-size:.96rem}.brand-copy small{display:none!important}
  .nav-actions{gap:6px}.nav-actions .cart-button,.nav-actions .account-button{display:none!important}.nav-cta{display:none!important}
  .mobile-toggle{display:inline-flex!important;align-items:center;justify-content:center;flex-direction:column;min-width:42px;min-height:42px;border-radius:14px;background:#fff}
  .nav-links{display:none;position:fixed;top:66px;right:12px;left:12px;z-index:170;flex-direction:column;align-items:stretch;gap:4px;max-height:min(72vh,560px);padding:12px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 22px 55px rgba(15,23,42,.16);overflow:auto;transform:none!important;visibility:visible!important;pointer-events:auto!important}
  .nav-links.open{display:flex!important}.nav-links a{padding:12px 14px;border-radius:13px;color:#334155;font-size:.88rem;font-weight:850}.nav-links a.active,.nav-links a:hover{background:#fff7ed;color:#9a3412}.nav-links a.active:after{display:none!important}
  .nav-links .mobile-site-search{display:none!important}
  .mobile-account-section{display:grid!important;gap:8px;width:100%;margin-top:8px;padding-top:10px;border-top:1px solid #edf2f7}
  .mobile-top-search{display:block;position:sticky;top:62px;z-index:92;padding:8px max(12px,env(safe-area-inset-right)) 9px max(12px,env(safe-area-inset-left));border-bottom:1px solid #eef2f7;background:#fff;box-shadow:0 9px 20px rgba(15,23,42,.035)}
  .mobile-top-search form{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;max-width:1180px;margin:0 auto;padding:6px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc}
  .mobile-top-search input{min-width:0;border:0;background:transparent;padding:10px 13px;color:#0f172a;font:inherit;font-size:.86rem;outline:0}.mobile-top-search input::placeholder{color:#94a3b8}
  .mobile-top-search button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#64748b;font-size:1.35rem;font-weight:950;box-shadow:0 4px 14px rgba(15,23,42,.06);cursor:pointer}
  .mobile-top-search form:focus-within{border-color:#f97316;background:#fff;box-shadow:0 0 0 4px rgba(249,115,22,.11)}
  .mobile-bottom-nav{display:grid;position:fixed;right:0;bottom:0;left:0;z-index:260;grid-template-columns:repeat(5,minmax(0,1fr));padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid #e2e8f0;background:rgba(255,255,255,.98);box-shadow:0 -12px 30px rgba(15,23,42,.10);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  .mobile-bottom-nav a{display:flex;position:relative;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:0;min-height:54px;border-radius:15px;color:#64748b;font-size:.66rem;font-weight:850;text-align:center}.mobile-bottom-nav a.active{background:#fff7ed;color:#ea580c}.mobile-bottom-nav a:active{transform:translateY(1px)}
  .mobile-bottom-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}.mobile-bottom-nav b{display:grid;place-items:center;position:absolute;top:3px;left:50%;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:.62rem;font-weight:900}
  .scroll-top-button{bottom:calc(86px + env(safe-area-inset-bottom))!important;z-index:250}.scroll-top-button--left{left:14px}.scroll-top-button--right{right:14px}
  .mobile-course-buy{bottom:calc(69px + env(safe-area-inset-bottom));z-index:240;padding-bottom:10px!important}
}
@media(max-width:520px){.mobile-top-search{top:60px}.mobile-bottom-nav a{font-size:.62rem}.mobile-bottom-nav svg{width:21px;height:21px}.nav-links{top:64px;right:10px;left:10px}}
@media(min-width:921px){.mobile-bottom-nav,.mobile-top-search{display:none!important}.nav-links{visibility:visible!important;pointer-events:auto!important}}


/* VartFix 2.2 RC2.12.3 — desktop header cleanup and stable search entry */
.header-site-search{display:none!important}
.nav-search-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;color:#334155;font-size:.78rem;font-weight:850;white-space:nowrap;transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease}
.nav-search-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nav-search-button:hover{border-color:#fdba74;background:#fff7ed;color:#9a3412;box-shadow:0 10px 24px rgba(249,115,22,.10)}
@media(min-width:921px){
  .nav-shell{gap:18px}.brand{flex:0 0 auto}.nav-links{flex:1 1 auto;justify-content:flex-start;min-width:0}.nav-actions{flex:0 0 auto}.mobile-toggle{display:none!important}
}
@media(min-width:921px) and (max-width:1180px){
  .nav-shell{gap:12px}.nav-links a{padding-inline:8px;font-size:.84rem}.nav-cta{display:none!important}.nav-search-button span{display:none}.nav-search-button{padding-inline:10px}
}
@media(max-width:920px){
  .mobile-toggle{display:none!important}.nav-links,.nav-links.open{display:none!important}.nav-actions .nav-search-button{display:none!important}
  .site-header{z-index:180}.mobile-top-search{z-index:175}
}
@media(max-width:420px){.mobile-top-search input{font-size:.82rem}.mobile-top-search button{width:40px;height:40px}}
.notification-menu{position:relative}.student-notification-button{position:relative;width:42px;height:42px;border:1px solid #dbe4ef;border-radius:13px;background:#fff;display:grid;place-items:center;color:#0f172a;cursor:pointer}.student-notification-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.student-notification-button b{position:absolute;top:-5px;left:-5px;min-width:19px;height:19px;padding:0 4px;border-radius:999px;background:#f97316;color:#fff;font-size:10px;display:grid;place-items:center}.notification-dropdown{position:absolute;top:calc(100% + 10px);left:0;width:min(390px,calc(100vw - 24px));max-height:430px;overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 18px 50px rgba(15,23,42,.18);z-index:220;padding:8px}.notification-dropdown__head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #eef2f7}.notification-dropdown__head a{font-size:12px;color:#0284c7}.notification-dropdown__item{margin:0}.notification-dropdown__item button{width:100%;border:0;background:transparent;text-align:right;padding:11px 12px;border-radius:12px;cursor:pointer;display:grid;gap:5px;color:#0f172a}.notification-dropdown__item button:hover{background:#f8fafc}.notification-dropdown__item.is-unread button{background:#fff7ed}.notification-dropdown__item strong{font-size:13px}.notification-dropdown__item span{font-size:12px;line-height:1.8;color:#475569;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.notification-dropdown__item small{font-size:10px;color:#94a3b8}.notification-dropdown__empty{padding:20px;text-align:center;color:#64748b}.auth-forgot{margin-top:14px;text-align:center}@media(max-width:768px){.notification-menu--student{display:none}}
.article-audio{display:grid;gap:16px;margin:0 0 28px;padding:20px;border:1px solid #dbeafe;border-radius:18px;background:linear-gradient(135deg,#eff6ff,#fff7ed)}.article-audio h2{margin:4px 0 6px;font-size:20px}.article-audio p{margin:0;color:#64748b}.article-audio audio{width:100%}

/* RC2.13 purchase trust links */
.checkout-trust-links{margin-top:16px;padding:14px;border:1px solid #dbeafe;border-radius:14px;background:#f8fbff;display:grid;gap:8px}
.checkout-trust-links strong{color:#0f172a;margin-bottom:2px}
.checkout-trust-links a{display:flex;align-items:center;gap:7px;color:#075985;text-decoration:none;font-size:.92rem}
.checkout-trust-links a:before{content:"✓";color:#0ea5e9;font-weight:900}
.checkout-trust-links a:hover{text-decoration:underline}
.analytics-period-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.analytics-recent summary{cursor:pointer;list-style:none}
.analytics-recent summary::-webkit-details-marker{display:none}
@media(max-width:900px){.analytics-period-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.analytics-period-stats{grid-template-columns:1fr}}

.article-audio-badge{display:inline-flex;align-items:center;gap:4px;color:#0369a1;font-weight:700}
.article-audio-badge:before{content:"♪";font-size:1rem}


/* VartFix 2.2 RC2.13.5 — responsive navigation stabilization */
.mobile-bottom-nav > .mobile-bottom-nav__snippet-guard{display:contents}
.home-hero__grid>*{min-width:0}
.home-hero__content,.learning-board{min-width:0}
.home-hero h1{overflow-wrap:anywhere;text-wrap:balance}

@media(max-width:920px){
  .mobile-bottom-nav{
    display:grid!important;
    position:fixed!important;
    inset:auto 0 0 0!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:auto!important;
    max-height:none!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-flow:column!important;
    align-items:stretch!important;
    direction:rtl;
    transform:none!important;
    visibility:visible!important;
    opacity:1!important;
    overflow:visible!important;
  }
  .mobile-bottom-nav>.mobile-bottom-nav__snippet-guard{display:contents!important}
  .mobile-bottom-nav>a,
  .mobile-bottom-nav>.mobile-bottom-nav__snippet-guard>a{
    display:flex!important;
    position:relative;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:54px;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:4px;
    margin:0!important;
  }
  .home-hero{overflow:hidden;padding-top:44px;padding-bottom:46px}
  .home-hero__grid{width:100%;grid-template-columns:minmax(0,1fr)!important;gap:30px}
  .home-hero__content{width:100%;max-width:100%}
  .home-hero h1{max-width:100%;font-size:clamp(2rem,7.2vw,3rem);line-height:1.42;letter-spacing:-.025em}
  .home-hero__lead{max-width:100%;font-size:.98rem;line-height:1.95}
  .home-hero .eyebrow{max-width:100%;white-space:normal;line-height:1.8}
  .learning-board{width:100%;max-width:100%;justify-self:stretch}
}

@media(max-width:560px){
  body{overflow-x:hidden}
  .container{width:min(100% - 24px,var(--container))}
  .nav-shell{width:100%;min-width:0}
  .brand{min-width:0}.brand-copy{min-width:0}.brand-copy strong{white-space:nowrap}
  .mobile-top-search{width:100%;padding-inline:10px}
  .mobile-top-search form{width:100%;grid-template-columns:minmax(0,1fr) 42px}
  .mobile-top-search input{width:100%;font-size:.84rem}
  .home-hero{padding-top:34px;padding-bottom:38px}
  .home-hero h1{font-size:clamp(1.8rem,8.5vw,2.25rem);line-height:1.5;letter-spacing:-.02em}
  .home-hero__lead{font-size:.92rem;line-height:1.9}
  .home-hero__actions{gap:9px}
  .learning-board{padding:17px;border-radius:20px}
  .mobile-bottom-nav{padding-top:6px!important}
  .mobile-bottom-nav>a,
  .mobile-bottom-nav>.mobile-bottom-nav__snippet-guard>a{min-height:52px;font-size:.61rem!important}
  .mobile-bottom-nav svg{width:20px!important;height:20px!important}
}

@media(min-width:921px){
  .mobile-bottom-nav,.mobile-top-search{display:none!important}
  body{padding-bottom:0!important}
  .home-hero__grid{grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr)}
}


/* VartFix 2.2 RC2.13.6 — responsive content gutters & reading width */
@media (max-width:920px){
  html{max-width:100%;overflow-x:hidden}
  body{max-width:100%;overflow-x:clip}

  .container{
    width:100%!important;
    max-width:1180px!important;
    margin-inline:auto!important;
    padding-inline:clamp(22px,4.5vw,34px)!important;
  }

  .nav-shell{
    width:100%!important;
    padding-inline:clamp(18px,4vw,28px)!important;
  }

  .listing-hero__inner,
  .page-hero>.container,
  .article-hero__inner,
  .course-hero-v2__grid,
  .checkout-hero-v2>.container,
  .course-listing-section>.container,
  .section>.container{
    min-width:0;
  }

  .listing-hero__inner>*,
  .page-hero>.container>*,
  .article-hero__inner>*,
  .course-listing-head>*{
    min-width:0;
    max-width:100%;
  }

  .listing-hero h1,
  .page-hero h1,
  .article-hero h1,
  .checkout-hero-v2 h1{
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:normal;
    text-wrap:balance;
  }

  .listing-hero p,
  .page-hero p,
  .article-hero__excerpt,
  .checkout-hero-v2 p{
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:normal;
  }

  .breadcrumbs{
    display:flex;
    max-width:100%;
    min-width:0;
    flex-wrap:wrap;
    align-items:center;
    gap:4px 8px;
    overflow-wrap:anywhere;
  }

  .section-kicker{
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
  }

  .course-grid,
  .article-grid,
  .testimonial-grid,
  .benefit-grid,
  .course-listing-head,
  .purchase-guide{
    width:100%;
    min-width:0;
  }
}

@media (max-width:560px){
  .container{padding-inline:20px!important}
  .nav-shell{padding-inline:16px!important}

  .listing-hero,
  .page-hero{
    padding-block:38px;
  }

  .listing-hero h1,
  .page-hero h1{
    margin-block:10px 12px;
    font-size:clamp(1.72rem,7.8vw,2rem);
    line-height:1.58;
    letter-spacing:-.018em;
  }

  .listing-hero p,
  .page-hero p{
    font-size:.9rem;
    line-height:2.05;
  }

  .breadcrumbs{
    font-size:.72rem;
    line-height:1.85;
  }

  .section-kicker{line-height:1.85}
  .course-listing-section{padding-top:46px}
  .course-listing-head{gap:10px}
  .course-listing-head strong{line-height:1.75}
}

@media (min-width:561px) and (max-width:920px){
  .listing-hero,
  .page-hero{
    padding-block:50px;
  }

  .listing-hero h1,
  .page-hero h1{
    font-size:clamp(2rem,5.4vw,2.7rem);
    line-height:1.52;
  }

  .listing-hero p,
  .page-hero p{
    line-height:2.05;
  }
}


/* VartFix 2.2 RC2.13.7 — checkout draft disclosure */
.checkout-draft-note{
  grid-column:1/-1;
  display:grid;
  gap:5px;
  padding:12px 14px;
  border:1px solid #bae6fd;
  border-radius:14px;
  background:#f0f9ff;
  color:#0c4a6e;
  font-size:.78rem;
  line-height:1.9;
}
.checkout-draft-note strong{font-size:.82rem}
.checkout-draft-note span{display:block}
.checkout-draft-note a{font-weight:800;text-decoration:underline;text-underline-offset:3px}
.checkout-draft-note[data-state="saving"]{border-color:#fde68a;background:#fffbeb;color:#854d0e}
.checkout-draft-note[data-state="saved"]{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.checkout-draft-note[data-state="warning"]{border-color:#fed7aa;background:#fff7ed;color:#9a3412}
@media(max-width:560px){
  .checkout-draft-note{padding:11px 12px;font-size:.74rem;line-height:1.85}
}


/* VartFix 2.2 RC2.13.8 — courses index horizontal pan lock */
@media (max-width:920px){
  body:has(.course-listing-section){
    max-width:100%;
    overflow-x:hidden!important;
    overscroll-behavior-x:none;
  }

  body:has(.course-listing-section) main{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
    overflow-x:clip;
    overscroll-behavior-x:none;
    touch-action:pan-y pinch-zoom;
  }

  body:has(.course-listing-section) .listing-hero{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
    overflow-x:clip;
    contain:paint;
    overscroll-behavior-x:none;
    touch-action:pan-y pinch-zoom;
  }

  body:has(.course-listing-section) .listing-hero::after{
    display:none;
  }

  .course-listing-section{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
    overflow-x:clip;
    overscroll-behavior-x:none;
    touch-action:pan-y pinch-zoom;
  }

  .course-listing-section>.container,
  .course-listing-section .course-listing-head,
  .course-listing-section .course-listing-head>*,
  .course-listing-section .course-grid,
  .course-listing-section .course-card-v2,
  .course-listing-section .course-card-v2__cover,
  .course-listing-section .course-card-v2__body,
  .course-listing-section .course-card-v2__footer,
  .course-listing-section .course-card-v2__footer>*,
  .course-listing-section .purchase-guide,
  .course-listing-section .purchase-guide>div,
  .course-listing-section .purchase-guide ol,
  .course-listing-section .purchase-guide li,
  .course-listing-section .purchase-guide li strong{
    min-width:0;
    max-width:100%;
  }

  .course-listing-section .course-card-v2 h3,
  .course-listing-section .course-card-v2__body>p,
  .course-listing-section .course-card-v2__price,
  .course-listing-section .course-card-v2__details,
  .course-listing-section .purchase-guide h2,
  .course-listing-section .purchase-guide p,
  .course-listing-section .purchase-guide li strong{
    overflow-wrap:anywhere;
    word-break:normal;
  }

  .course-listing-section .course-card-v2__cover img{
    max-width:100%;
  }
}

@media (max-width:680px){
  .course-listing-section .course-grid{
    grid-template-columns:minmax(0,1fr);
  }

  .course-listing-section .course-card-v2__footer{
    flex-wrap:wrap;
  }

  .course-listing-section .purchase-guide ol{
    grid-template-columns:minmax(0,1fr);
  }
}

@media (min-width:681px) and (max-width:920px){
  .course-listing-section .course-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* VartFix 2.2 RC2.13.9 — course detail horizontal overflow lock */
@media (max-width:920px){
  html:has(body.page-course-detail){
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
    overscroll-behavior-x:none;
  }

  body.page-course-detail{
    position:relative;
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
    overflow-x:clip!important;
    overscroll-behavior-x:none;
  }

  body.page-course-detail main{
    width:100%;
    max-width:100%;
    min-width:0;
    overflow-x:hidden!important;
    overflow-x:clip!important;
    overscroll-behavior-x:none;
    touch-action:pan-y pinch-zoom;
  }

  body.page-course-detail .course-hero-v2,
  body.page-course-detail .course-content-section{
    width:100%;
    max-width:100%;
    min-width:0;
    overflow-x:hidden!important;
    overflow-x:clip!important;
    overscroll-behavior-x:none;
  }

  body.page-course-detail .course-hero-v2>.container,
  body.page-course-detail .course-content-section>.container{
    width:100%!important;
    max-width:100%!important;
    min-width:0;
  }

  body.page-course-detail .course-hero-v2__grid,
  body.page-course-detail .course-hero-v2__grid>*,
  body.page-course-detail .course-hero-v2__content,
  body.page-course-detail .course-hero-v2__purchase,
  body.page-course-detail .course-hero-v2__price,
  body.page-course-detail .course-hero-v2__actions,
  body.page-course-detail .course-hero-v2__actions>*,
  body.page-course-detail .course-facts,
  body.page-course-detail .course-facts>*,
  body.page-course-detail .course-hero-v2__media,
  body.page-course-detail .course-detail-v2,
  body.page-course-detail .course-detail-v2>*,
  body.page-course-detail .course-main-v2,
  body.page-course-detail .course-main-v2>*,
  body.page-course-detail .course-content-block,
  body.page-course-detail .course-content-block>*,
  body.page-course-detail .course-decision-strip,
  body.page-course-detail .course-decision-strip>*,
  body.page-course-detail .course-info-grid,
  body.page-course-detail .course-info-grid>*,
  body.page-course-detail .course-info-card,
  body.page-course-detail .curriculum-v2,
  body.page-course-detail .curriculum-v2 details,
  body.page-course-detail .curriculum-v2 summary,
  body.page-course-detail .curriculum-v2 summary>*,
  body.page-course-detail .curriculum-v2__lessons,
  body.page-course-detail .lesson-v2,
  body.page-course-detail .lesson-v2>*,
  body.page-course-detail .mini-process,
  body.page-course-detail .mini-process>*,
  body.page-course-detail .course-feedback,
  body.page-course-detail .course-feedback>*,
  body.page-course-detail .course-feedback-form-wrap,
  body.page-course-detail .course-feedback-form-wrap>*,
  body.page-course-detail .course-feedback-form,
  body.page-course-detail .course-feedback-form>*,
  body.page-course-detail .course-feedback-form .form-grid,
  body.page-course-detail .course-feedback-form .form-grid>*,
  body.page-course-detail .course-purchase-card,
  body.page-course-detail .course-purchase-card>*,
  body.page-course-detail .purchase-card-list,
  body.page-course-detail .purchase-card-list li,
  body.page-course-detail .purchase-card-list li>*,
  body.page-course-detail .article-grid,
  body.page-course-detail .article-grid>*{
    min-width:0;
    max-width:100%;
  }

  body.page-course-detail .course-hero-v2 h1,
  body.page-course-detail .course-hero-v2__content>p,
  body.page-course-detail .course-hero-v2__price strong,
  body.page-course-detail .course-facts strong,
  body.page-course-detail .course-decision-strip strong,
  body.page-course-detail .course-info-card h2,
  body.page-course-detail .course-info-card li,
  body.page-course-detail .content-heading h2,
  body.page-course-detail .prose,
  body.page-course-detail .curriculum-v2 summary strong,
  body.page-course-detail .curriculum-v2__description,
  body.page-course-detail .lesson-v2 strong,
  body.page-course-detail .mini-process strong,
  body.page-course-detail .course-feedback-item,
  body.page-course-detail .course-feedback-form-intro,
  body.page-course-detail .purchase-card-list strong,
  body.page-course-detail .course-purchase-card__note{
    overflow-wrap:anywhere;
    word-break:normal;
  }

  body.page-course-detail .course-info-grid,
  body.page-course-detail .mini-process{
    grid-template-columns:minmax(0,1fr);
  }

  body.page-course-detail .course-decision-strip{
    grid-template-columns:minmax(0,1fr);
  }

  body.page-course-detail .curriculum-v2 summary{
    grid-template-columns:auto minmax(0,1fr) auto;
  }

  body.page-course-detail .lesson-v2{
    grid-template-columns:auto minmax(0,1fr);
  }

  body.page-course-detail .mobile-course-buy{
    right:0!important;
    left:0!important;
    width:100%!important;
    max-width:100vw!important;
    min-width:0!important;
    box-sizing:border-box;
    overflow:hidden;
    overscroll-behavior-x:none;
    touch-action:pan-y pinch-zoom;
  }

  body.page-course-detail .mobile-course-buy>div{
    flex:1 1 auto;
    min-width:0;
    max-width:100%;
  }

  body.page-course-detail .mobile-course-buy form{
    flex:0 0 auto;
    min-width:0;
    max-width:100%;
  }

  body.page-course-detail .mobile-course-buy strong{
    display:block;
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
  }

  body.page-course-detail .mobile-course-buy .btn{
    max-width:100%;
    white-space:nowrap;
  }
}

@media (max-width:560px){
  body.page-course-detail .course-hero-v2__purchase,
  body.page-course-detail .course-content-block,
  body.page-course-detail .course-purchase-card,
  body.page-course-detail .course-feedback-form-wrap{
    width:100%;
    max-width:100%;
  }

  body.page-course-detail .purchase-card-list li{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }

  body.page-course-detail .purchase-card-list strong{
    width:100%;
    text-align:right;
  }
}
