@font-face{font-family:IRANSansX;src:url('assets/IRANSansX-Regular.woff') format('woff');font-style:normal;font-weight:100 400;font-display:swap}
@font-face{font-family:IRANSansX;src:url('assets/IRANSansX-Medium.woff') format('woff');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:IRANSansX;src:url('assets/IRANSansX-Bold.woff') format('woff');font-style:normal;font-weight:600 700;font-display:swap}
@font-face{font-family:IRANSansX;src:url('assets/IRANSansX-Black.woff') format('woff');font-style:normal;font-weight:800 900;font-display:swap}
@font-face{font-family:AcademyIcons;src:url('assets/icons.woff2') format('woff2');font-weight:900;font-display:block}
:root{--wine:#750c2b;--wine-dark:#4d071d;--wine-soft:#f8eef1;--yellow:#ffda47;--paper:#f7f7f9;--ink:#231c25;--muted:#746c77;--line:#e6e2e7;--white:#fff;--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;color:var(--ink);background:var(--paper);font-family:IRANSansX,Tahoma,sans-serif;font-size:14px;line-height:1.8}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}img{max-width:100%;display:block}button,input,select,textarea{border-radius:10px}input,select,textarea{border:1px solid #cec8d0;background:white;padding:10px 12px;color:var(--ink);width:100%}textarea{min-height:100px;resize:vertical}input[type=checkbox]{width:auto}input[type=url]{direction:ltr;text-align:left}input:focus,select:focus,textarea:focus{outline:2px solid var(--wine);outline-offset:2px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b18500;outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:850;line-height:1.55}h2{font-size:22px;font-weight:800}h3{font-size:17px;font-weight:750}small{font-size:12px}button{border:0}button .ic,a .ic{pointer-events:none}.ic{font-family:AcademyIcons!important;font-weight:900;font-style:normal;line-height:1;display:inline-block}.skip{position:fixed;top:-100px;right:20px;background:var(--yellow);padding:12px;z-index:100}.skip:focus{top:10px}
.preview-note{position:relative;z-index:40;display:flex;justify-content:center;gap:22px;align-items:center;background:#fff3cc;color:#51400a;min-height:35px;font-size:11px;padding:5px 18px}.preview-note>span:first-child{font-weight:800}.preview-note a{text-decoration:underline;text-underline-offset:3px}
#sidebar{position:fixed;top:35px;bottom:0;right:0;width:228px;background:var(--wine);color:white;padding:28px 17px 20px;z-index:35;overflow-y:auto;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 9px 30px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;background:var(--yellow);border-radius:14px;color:var(--wine);font-size:30px;font-weight:900;flex-shrink:0}.brand strong{font-size:21px;display:block;line-height:1.5}.brand small{color:#dfbec9;font-size:11px}.nav-label{font-size:10px;color:#dfb9c6;padding:10px 12px 5px}.side-links{display:flex;flex-direction:column;gap:4px}.side-links a{display:flex;align-items:center;gap:12px;border-radius:11px;padding:10px 13px;font-size:13px;color:#f4e8ec;transition:background .15s}.side-links a .ic{font-size:15px;width:20px;text-align:center}.side-links a:hover{background:#ffffff12}.side-links a.active{background:var(--yellow);color:var(--wine-dark);font-weight:800}.side-links a em{margin-right:auto;font-size:10px;font-style:normal;opacity:.7}.side-bottom{margin-top:auto;padding-top:28px}.side-bottom>a{display:block;padding:11px 13px;font-size:12px;color:#f4dfe6}.teacher-mini{border-top:1px solid #ffffff25;margin-top:13px;padding:20px 8px 0;display:flex;gap:10px;align-items:center}.teacher-mini img{width:39px;height:44px;object-fit:cover;object-position:top;border-radius:10px}.teacher-mini strong{font-size:12px}.teacher-mini span{display:block;color:#dfbec9;font-size:10px}
.workspace{margin-right:228px}#topbar{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:88px;padding:16px 40px;background:#ffffffed;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:25;backdrop-filter:blur(10px)}.search-trigger{display:flex;align-items:center;gap:12px;text-align:right;background:var(--paper);border:1px solid var(--line);padding:11px 16px;color:var(--muted);width:min(440px,45vw);font-size:12px}.search-trigger kbd{margin-right:auto;direction:ltr;font:10px sans-serif;border:1px solid #ddd;padding:3px 5px;border-radius:4px;background:white}.header-actions{display:flex;gap:20px;align-items:center}.wallet-mini{display:flex;align-items:center;gap:9px;font-size:11px}.wallet-mini strong{display:block;font-size:13px;color:var(--wine)}.wallet-mini .ic{font-size:19px;color:var(--wine)}.account-btn{border-right:1px solid var(--line);padding-right:20px;display:flex;gap:9px;align-items:center;font-weight:650;font-size:12px}.menu-toggle{display:none}.avatar{width:34px;height:34px;display:grid;place-items:center;background:var(--wine-soft);border-radius:50%;color:var(--wine)}main{max-width:1400px;margin:auto;padding:30px 40px 55px;min-height:72vh}main:focus{outline:none}footer{display:flex;gap:15px;align-items:center;margin:0 40px;padding:22px 0 26px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}footer a{margin-right:auto}footer span{opacity:.75}.mobile-nav{display:none}
.hero{background:var(--wine);border-radius:22px;display:grid;grid-template-columns:1.15fr 1fr;min-height:305px;overflow:hidden;color:white;position:relative}.hero-copy{padding:38px 34px;position:relative;z-index:2}.hero .eyebrow{font-size:12px;color:#f2c9d5;margin-bottom:12px;display:flex;align-items:center;gap:8px}.eyebrow .line{width:24px;height:2px;background:var(--yellow)}.hero h1{font-size:clamp(29px,2.9vw,43px);font-weight:900;line-height:1.6;letter-spacing:-1.3px}.hero h1 span{color:var(--yellow)}.hero p{font-size:12px;line-height:2.1;color:#efd9e1;margin-top:12px;max-width:350px}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:10px 18px;border-radius:11px;font-weight:750;font-size:12px;background:var(--wine);color:white;border:1px solid transparent;transition:transform .15s,background .15s}.btn:hover{transform:translateY(-1px);background:var(--wine-dark)}.btn.yellow{background:var(--yellow);color:#3a1c05}.btn.yellow:hover{background:#ffe477}.btn.ghost{background:transparent;border-color:#ffffff4a;color:white}.btn.light{background:var(--wine-soft);color:var(--wine)}.btn.outline{background:white;border-color:var(--line);color:var(--ink)}.btn.small{min-height:35px;padding:6px 11px;font-size:11px}.btn.full{width:100%}.hero-art{position:relative;display:flex;justify-content:center;align-items:flex-end;padding:23px 26px 0}.portrait-frame{background:var(--yellow);border-radius:150px 150px 0 0;padding:13px 13px 0;transform:rotate(-4deg);width:252px;align-self:end}.portrait-frame img{width:100%;height:280px;object-fit:cover;object-position:top;border-radius:140px 140px 0 0;filter:saturate(.87)}.hero-art .equation{position:absolute;direction:ltr;color:#f5c4d4;font-family:Georgia,serif;font-size:21px;transform:rotate(8deg);top:30px;left:28px;opacity:.75}.hero-art .teacher-name{position:absolute;bottom:25px;left:18px;background:white;color:var(--wine);padding:8px 16px;border-radius:10px;transform:rotate(3deg);box-shadow:0 8px 25px #25071520;font-weight:800;font-size:16px}.teacher-name small{display:block;font-size:10px;font-weight:500;color:var(--muted)}
.section{margin-top:31px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}.section-head h2{font-size:20px}.section-head p{color:var(--muted);font-size:12px;margin-top:4px}.text-link{font-size:12px;color:var(--wine);font-weight:750;white-space:nowrap}.grade-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.grade-card{background:white;border:1px solid var(--line);border-radius:15px;display:flex;align-items:center;gap:14px;padding:18px 16px;transition:border-color .15s,transform .15s}.grade-card:hover{border-color:var(--wine);transform:translateY(-2px)}.grade-card b{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:var(--wine-soft);font-size:22px;color:var(--wine);font-weight:850;flex-shrink:0}.grade-card:first-child{background:var(--yellow);border-color:var(--yellow)}.grade-card:first-child b{background:#fff5bc}.grade-card strong{display:block;font-size:16px}.grade-card small{display:block;font-size:10px;color:#61535d;margin-top:3px}.grade-card .arrow{margin-right:auto;color:var(--wine);font-size:18px}.section-meta{display:flex;gap:8px;align-items:center}.tag{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:3px 9px;border-radius:5px;background:var(--wine-soft);color:var(--wine);font-weight:600}.tag.yellow{background:#fff3be;color:#554000}.muted{color:var(--muted)}
.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.chapter{background:white;border:1px solid var(--line);border-radius:13px;padding:16px;display:flex;align-items:center;gap:12px;min-height:90px;transition:border-color .15s,background .15s}.chapter:hover{border-color:#bb8194;background:#fffafd}.chapter-num{font-size:20px;font-weight:850;min-width:30px;color:#c5a4af;font-variant-numeric:tabular-nums}.chapter h3{font-size:12px;line-height:1.9}.chapter p{font-size:10px;color:var(--muted);margin-top:5px}.chapter>.ic{margin-right:auto;color:var(--wine);font-size:11px}.chapter.empty{background:#faf9fa;opacity:.8}.catalog-layout{display:grid;grid-template-columns:1fr;gap:20px}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:21px 0}.toolbar input{max-width:340px;background:white;font-size:12px}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tabs a,.tabs button{padding:7px 16px;border-radius:8px;font-size:12px;background:white;color:var(--muted);border:1px solid var(--line)}.tabs .selected{background:var(--wine);color:white;border-color:var(--wine)}.breadcrumb{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:10px;margin-bottom:18px}.breadcrumb a{color:var(--wine)}.page-title p{margin-top:7px;color:var(--muted);font-size:13px}.callout{display:flex;align-items:center;gap:20px;background:var(--yellow);border-radius:15px;padding:24px;margin-top:28px}.callout .ic{font-size:28px;color:var(--wine)}.callout h3{font-size:17px}.callout p{font-size:12px;color:#594915;margin-top:3px}.callout .btn{margin-right:auto;flex-shrink:0}
.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{border:1px solid var(--line);background:white;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}.product-art{background:var(--wine);min-height:145px;padding:22px;position:relative;overflow:hidden;color:white;display:flex;flex-direction:column;justify-content:center}.product-art .book-symbol{position:absolute;left:16px;bottom:-25px;font-size:135px;font-family:Georgia,serif;color:#ffffff12;line-height:1;transform:rotate(-12deg)}.product-art small{color:#efd8df;position:relative;font-size:10px}.product-art strong{font-size:24px;color:var(--yellow);font-weight:850;position:relative;max-width:80%;line-height:1.6}.product-art.variant-1{background:#f5d94d;color:var(--wine-dark)}.product-art.variant-1 small{color:#68500b}.product-art.variant-1 strong{color:var(--wine)}.product-art.variant-1 .book-symbol{color:#750c2b14}.product-art.variant-2{background:#4e1428}.product-body{padding:18px;display:flex;flex-direction:column;flex:1}.product-body h3{font-size:14px;margin:9px 0 5px}.product-body p{font-size:11px;color:var(--muted);margin-bottom:18px}.price-row{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:13px;border-top:1px solid var(--line);gap:7px}.price{font-size:19px;font-weight:850;color:var(--wine)}.price small{font-size:10px;font-weight:500;margin-right:5px}.two-blocks{display:grid;grid-template-columns:1fr 1fr;gap:18px}.feature-block{background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.feature-block .ic{color:var(--wine);font-size:23px;margin-bottom:12px}.feature-block p{font-size:12px;color:var(--muted);margin:8px 0 16px;max-width:400px}
.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;margin-top:22px;align-items:start}.player-area{min-width:0}.player-stage{background:#251a24;border-radius:16px;overflow:hidden;aspect-ratio:16/9;position:relative;display:flex;align-items:center;justify-content:center;color:white}.player-stage video,.player-stage iframe{width:100%;height:100%;border:0;display:block;background:#20191e}.player-stage audio{width:86%}.player-idle{text-align:center;padding:30px;max-width:430px}.player-idle>.ic{font-size:35px;color:var(--yellow);margin-bottom:20px}.player-idle h2{font-size:20px}.player-idle p{color:#d1c3ce;font-size:12px;margin:10px 0}.player-idle .btn{margin-top:9px}.player-stage[data-kind=text],.player-stage[data-kind=pdf]{aspect-ratio:auto;min-height:330px}.player-stage[data-kind=text]{background:white;color:var(--ink);border:1px solid var(--line);padding:30px;justify-content:flex-start;align-items:flex-start;white-space:pre-wrap}.player-stage[data-kind=pdf] iframe{min-height:500px;background:white}.lesson-info{padding:19px 0}.lesson-info h2{font-size:18px;margin-bottom:8px}.lesson-info p{font-size:12px;color:var(--muted)}.lesson-info .actions{margin-top:13px}.playlist{border:1px solid var(--line);border-radius:15px;background:white;overflow:hidden}.playlist-head{padding:18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.playlist-head h2{font-size:15px}.playlist-list{max-height:430px;overflow-y:auto}.lesson-btn{display:flex;align-items:center;gap:10px;width:100%;text-align:right;background:white;padding:17px 14px;border-radius:0;border-bottom:1px solid #f1eef2;color:var(--ink)}.lesson-btn:last-child{border:0}.lesson-btn.active{background:var(--wine-soft);box-shadow:inset -3px 0 0 var(--wine)}.lesson-btn .lesson-index{width:28px;height:28px;background:var(--paper);border-radius:8px;display:grid;place-items:center;font-size:12px;flex-shrink:0}.lesson-btn.active .lesson-index{background:var(--wine);color:white}.lesson-btn strong{font-size:11px;display:block}.lesson-btn small{font-size:10px;color:var(--muted);display:block;margin-top:3px}.lesson-btn .tag{margin-right:auto;font-size:9px;padding:1px 5px}.purchase-box{background:white;border:1px solid var(--line);padding:22px;border-radius:15px;margin-top:18px}.purchase-box h3{font-size:16px}.purchase-box p{font-size:12px;color:var(--muted);margin:8px 0 14px}.purchase-box .price{display:block;margin-bottom:12px}.purchase-box .reward{display:block;font-size:11px;background:#fff8db;color:#655010;padding:9px 12px;border-radius:8px;margin-bottom:13px}.section-panel{padding:22px;background:white;border:1px solid var(--line);border-radius:15px;margin-top:20px}.section-panel p{font-size:12px;color:var(--muted);margin-top:8px}.notice{background:#fff6d4;border-right:3px solid #d2a600;color:#645114;padding:11px 14px;font-size:12px;margin-top:15px;border-radius:7px}.empty-state{background:white;border:1px dashed #d0c3c9;border-radius:15px;padding:38px 22px;text-align:center;margin-top:20px}.empty-state .ic{font-size:30px;color:#b493a0;margin-bottom:14px}.empty-state h2{font-size:18px}.empty-state p{color:var(--muted);font-size:12px;max-width:460px;margin:9px auto 19px}
.product-layout{display:grid;grid-template-columns:1fr 320px;gap:22px;margin-top:24px;align-items:start}.product-layout>.purchase-box{margin-top:0;position:sticky;top:110px}.product-layout .product-art{min-height:240px;border-radius:16px}.product-layout .product-art strong{font-size:36px}.spec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.spec{background:white;border:1px solid var(--line);padding:16px;border-radius:12px}.spec small{font-size:10px;color:var(--muted);display:block}.spec strong{font-size:12px}.summary-line{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;margin:12px 0}.summary-line.total{padding-top:15px;border-top:1px solid var(--line);font-weight:800;font-size:15px}.covered{display:flex;flex-wrap:wrap;gap:6px;margin-top:15px}.covered a{background:var(--paper);border-radius:7px;padding:5px 10px;font-size:11px}.owned{color:var(--wine);font-size:12px;font-weight:700;background:var(--wine-soft);padding:11px;border-radius:8px;margin-bottom:15px}
.wallet-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:22px;margin-top:24px}.balance-card{background:var(--wine);color:white;padding:28px;border-radius:18px}.balance-card>p{font-size:12px;color:#ebcdd7}.balance-card>strong{font-size:36px;font-weight:850;display:block;margin:16px 0}.balance-card>strong small{font-size:13px;font-weight:400}.balance-card .summary-line{color:#eddae0}.balance-card .summary-line:last-of-type{border-top:1px solid #ffffff2a;padding-top:12px}.balance-card .btn{margin-top:15px}.wallet-help{background:white;border:1px solid var(--line);border-radius:18px;padding:26px}.wallet-help p{font-size:12px;color:var(--muted);margin-top:10px}.transaction{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}.transaction:last-child{border:0}.transaction .avatar{flex-shrink:0}.transaction strong{font-size:12px}.transaction small{display:block;font-size:10px;color:var(--muted)}.transaction .amount{margin-right:auto;font-weight:800;font-size:13px;white-space:nowrap;color:var(--wine)}.admin-nav{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.admin-form{background:white;border:1px solid var(--line);border-radius:16px;padding:26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .wide{grid-column:1/-1}.field{display:flex;flex-direction:column;gap:7px}.field>span{font-weight:650;font-size:12px}.field small{font-size:10px;color:var(--muted)}.form-footer{display:flex;align-items:center;gap:15px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.form-footer small{color:var(--muted);font-size:11px}.content-row{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}.content-row>div{flex:1}.content-row strong{font-size:12px}.content-row small{display:block;font-size:10px;color:var(--muted)}.content-row .btn{flex-shrink:0}.steps{counter-reset:steps;display:flex;flex-direction:column;gap:16px;margin-top:20px}.step{display:flex;gap:15px;background:white;padding:22px;border:1px solid var(--line);border-radius:13px}.step:before{counter-increment:steps;content:counter(steps, persian);background:var(--yellow);color:var(--wine);width:35px;height:35px;display:grid;place-items:center;border-radius:10px;flex-shrink:0;font-weight:850}.step h2{font-size:17px}.step p{font-size:12px;color:var(--muted);margin-top:7px}
dialog{border:0;border-radius:20px;width:min(530px,calc(100% - 32px));padding:28px;color:var(--ink);box-shadow:0 24px 90px #25071545;max-height:90dvh;overflow-y:auto}dialog::backdrop{background:#25121dd0;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.dialog-head h2{font-size:20px}.close-dialog{background:var(--paper);width:33px;height:33px;font-size:19px;color:var(--muted)}.dialog-description{font-size:13px;color:var(--muted);line-height:2}.dialog-product{background:var(--paper);border-radius:12px;padding:15px;margin:18px 0;font-size:14px;font-weight:750}.dialog-foot{display:flex;gap:10px;margin-top:23px}.dialog-foot .btn:first-child{flex:1}.dialog-foot .btn:only-child{width:100%}.search-results{display:flex;flex-direction:column;gap:5px;margin-top:16px;max-height:390px;overflow:auto}.search-result{display:flex;gap:12px;padding:12px;border-radius:9px;font-size:12px}.search-result:hover{background:var(--wine-soft)}.search-result small{margin-right:auto;color:var(--muted);font-size:10px;white-space:nowrap}.preset-amounts{display:flex;gap:8px;margin:12px 0}.preset-amounts button{background:var(--paper);padding:8px;font-size:11px;border:1px solid var(--line);flex:1}#toast{position:fixed;bottom:28px;left:28px;background:var(--wine-dark);color:white;border:1px solid #a7667a;border-radius:12px;padding:14px 20px;font-size:12px;z-index:100;max-width:min(430px,90vw);box-shadow:0 8px 30px #4d071d20}.news-body{white-space:pre-wrap}.demo-badge{display:inline-block;font-size:10px;color:var(--muted);margin-bottom:12px}.news-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}.news-card{background:white;border:1px solid var(--line);padding:24px;border-radius:14px}.news-card h2{font-size:18px}.news-card p{font-size:12px;margin-top:12px}.hidden,[hidden]{display:none!important}
@media(min-width:1600px){.hero{min-height:350px}.portrait-frame{width:280px}.portrait-frame img{height:320px}.hero-copy{padding:43px}.hero h1{font-size:47px}}
@media(max-width:1200px){#sidebar{width:208px}.workspace{margin-right:208px}#topbar{padding:16px 25px}main{padding:25px}.hero-copy{padding:28px 25px}.hero h1{font-size:32px}.hero-art{padding-left:18px;padding-right:12px}.portrait-frame{width:213px}.portrait-frame img{height:260px}.hero-art .teacher-name{left:8px}.grade-card{padding:15px 10px;gap:9px}.grade-card strong{font-size:14px}.grade-card b{width:34px;height:38px;font-size:19px}.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-layout{grid-template-columns:minmax(0,1fr) 260px}.product-layout{grid-template-columns:minmax(0,1fr) 280px}.header-actions{gap:14px}.account-btn{padding-right:13px}}
@media(max-width:960px){#sidebar{width:230px;transform:translateX(100%);transition:transform .2s;top:0}.workspace{margin-right:0}body.nav-open #sidebar{transform:translateX(0)}#shade{position:fixed;inset:0;background:#25121d88;z-index:30}.menu-toggle{display:grid;place-items:center;background:white;width:32px;height:38px;font-size:20px;color:var(--wine);flex-shrink:0}.preview-note{gap:12px}.search-trigger{width:100%;max-width:420px}.search-trigger kbd{display:none}.hero h1{font-size:37px}.hero{grid-template-columns:1.2fr 1fr}.hero-copy{padding:32px}.portrait-frame{width:240px}.portrait-frame img{height:278px}.hero-art .teacher-name{left:17px}.grade-card{padding:17px}.products-grid{gap:12px}.lesson-layout{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:680px){body{font-size:13px}.preview-note{justify-content:space-between;min-height:30px;font-size:9px;padding:5px 14px}.preview-note>span:nth-child(2){display:none}.workspace{padding-bottom:64px}#topbar{min-height:68px;padding:12px 16px;gap:12px}.header-actions{gap:0}.account-btn{display:none}.wallet-mini>div{display:none}.wallet-mini .ic{font-size:20px}.search-trigger{padding:9px 12px;font-size:10px}.search-trigger .ic{font-size:13px}main{padding:18px 16px 35px}.hero{grid-template-columns:1fr .68fr;border-radius:16px;min-height:260px}.hero-copy{padding:24px 17px 25px 0}.hero .eyebrow{font-size:9px;gap:5px;margin-bottom:12px}.hero .eyebrow .line{width:13px}.hero h1{font-size:27px;letter-spacing:-.7px;line-height:1.65}.hero p{font-size:10px;max-width:205px;margin-top:10px;line-height:2}.hero .actions{gap:8px;margin-top:17px;flex-direction:column;align-items:flex-start}.hero .btn{min-height:35px;padding:7px 12px;font-size:10px}.hero .btn.ghost{border:0;padding:0;min-height:28px}.hero-art{padding:0 0 0 10px;align-items:center;overflow:hidden}.portrait-frame{width:160px;min-width:145px;align-self:center;margin-top:37px;padding:7px 7px 0}.portrait-frame img{height:190px}.hero-art .equation{font-size:15px;top:15px;left:12px}.hero-art .teacher-name{font-size:10px;bottom:28px;left:8px;padding:6px 9px;transform:rotate(-3deg)}.hero-art .teacher-name small{font-size:7px}.grade-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grade-card{padding:14px;gap:12px}.grade-card strong{font-size:14px}.grade-card small{font-size:9px}.section{margin-top:25px}.section-head{margin-bottom:13px;gap:10px}.section-head h2{font-size:18px}.section-head p{font-size:10px}.text-link{font-size:10px}.chapter-grid{grid-template-columns:1fr;gap:9px}.chapter{min-height:78px;padding:13px 15px}.chapter h3{font-size:12px}.chapter p{font-size:10px}.chapter-num{font-size:23px;min-width:35px}.products-grid{grid-template-columns:1fr}.product-card{display:grid;grid-template-columns:125px minmax(0,1fr)}.product-art{padding:15px;min-height:180px}.product-art strong{font-size:19px;max-width:100%}.product-art small{font-size:8px}.product-body{padding:14px}.product-body h3{font-size:12px;margin-top:6px}.product-body p{font-size:10px;margin-bottom:12px}.product-body .tag{font-size:8px}.price-row{gap:5px;flex-wrap:wrap}.price{font-size:16px}.price small{font-size:9px}.product-body .btn{font-size:10px;padding:5px 8px}.two-blocks{grid-template-columns:1fr}.feature-block{padding:20px}.callout{padding:19px;gap:13px;flex-wrap:wrap}.callout h3{font-size:15px}.callout p{font-size:11px}.callout>.ic{font-size:23px}.callout .btn{margin-right:0;width:100%;margin-top:5px}h1{font-size:25px}.page-title p{font-size:11px}.breadcrumb{font-size:10px;gap:7px;flex-wrap:wrap}.tabs{gap:5px}.tabs a,.tabs button{font-size:11px;padding:7px 11px}.lesson-layout{display:flex;flex-direction:column;gap:7px}.player-area,.lesson-sidebar{width:100%}.playlist-list{max-height:330px}.lesson-info{padding:15px 0}.lesson-info h2{font-size:16px}.player-idle{padding:15px}.player-idle>.ic{font-size:25px;margin-bottom:10px}.player-idle h2{font-size:15px}.player-idle p{font-size:10px}.player-idle .btn{font-size:10px;min-height:30px;padding:6px 10px}.product-layout{grid-template-columns:1fr}.product-layout>.purchase-box{position:static;grid-row:1}.product-layout .product-art{min-height:200px}.product-layout .product-art strong{font-size:29px}.spec-grid{gap:8px}.spec{padding:11px}.spec strong{font-size:10px}.wallet-grid{grid-template-columns:1fr}.balance-card>strong{font-size:32px}.form-grid{grid-template-columns:1fr;gap:16px}.admin-form{padding:20px}.form-footer{align-items:flex-start;flex-direction:column}.form-footer .btn{width:100%}.content-row{gap:8px;flex-wrap:wrap}.content-row>div{min-width:60%}.admin-nav{gap:7px}.admin-nav .btn{font-size:11px;padding:8px 12px}.news-cards{grid-template-columns:1fr}.mobile-nav{display:flex;justify-content:space-around;align-items:center;position:fixed;bottom:0;right:0;left:0;min-height:62px;background:white;border-top:1px solid var(--line);z-index:27;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav a{font-size:10px;display:flex;align-items:center;justify-content:center;min-height:46px;padding:8px 9px;color:var(--muted)}.mobile-nav a.active{color:var(--wine);font-weight:850;border-top:3px solid var(--wine);background:var(--wine-soft);border-radius:7px}footer{margin:0 16px;font-size:10px;flex-wrap:wrap;gap:8px}footer a{width:100%;margin:3px 0 0}#toast{bottom:78px;left:16px;right:16px;max-width:none;font-size:11px}dialog{padding:22px}.dialog-head h2{font-size:18px}.dialog-description{font-size:12px}.dialog-foot{flex-wrap:wrap}.transaction{gap:9px}.transaction .amount{font-size:11px}.transaction strong{font-size:11px}.section-meta .tag{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media(max-width:680px){.lesson-layout>.player-area,.lesson-layout>.lesson-sidebar{display:contents}.lesson-layout .player-stage{order:0;width:100%}.lesson-layout .lesson-info{order:1;width:100%}.lesson-layout .playlist{order:2;width:100%}.lesson-layout .purchase-box{order:3;width:100%}.lesson-layout .section-panel{order:4;width:100%}.hero h1{font-size:25px}}

/* Photo-led identity; small screens remain the primary layout. */
.hero-v2{grid-template-columns:1.1fr 1fr;min-height:350px;border-radius:20px}
.hero-v2 .hero-copy{padding:36px;align-self:center}
.hero-v2 .hero-intro{color:var(--yellow);font-size:14px;font-weight:750;margin:0 0 10px}
.hero-v2 h1{font-size:clamp(30px,3.1vw,47px);line-height:1.55;letter-spacing:-1px}
.hero-v2 .hero-description{font-size:13px;line-height:1.95;margin-top:15px}
.hero-photo{position:relative;min-width:0;min-height:350px;overflow:hidden}
.hero-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 36%}
.hero-v2 .btn{min-height:44px}
.start-section{margin-top:24px}
.testimonials-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.testimonials-layout.single-story{grid-template-columns:1fr 1fr;gap:32px;align-items:center;background:#f0e7e9;padding:28px;border-radius:18px}
.testimonial-intro{padding:10px 20px}
.large-quote{color:var(--wine);font-size:72px;font-weight:850;line-height:1}
.testimonial-intro h3{font-size:28px;line-height:1.7}
.testimonial-intro p{font-size:13px;color:#66535b;margin:12px 0 20px;max-width:300px}
.testimonial-card{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;min-width:0}
.testimonial-cover{position:relative;display:block;width:100%;padding:0;border-radius:0;overflow:hidden;background:#251a24;aspect-ratio:1;color:white}
.testimonial-cover>img{width:100%;height:100%;object-fit:contain;transition:transform .2s}
.testimonial-cover:hover>img{transform:scale(1.015)}
.testimonial-play{position:absolute;inset:auto 16px 16px;display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border-radius:10px;background:var(--wine);font-size:13px;font-weight:750;border:1px solid #ffffff55}
.testimonial-play .ic{font-size:15px;color:var(--yellow)}
.testimonial-caption{padding:17px 20px}
.testimonial-caption h3{font-size:15px}
.testimonial-caption p{font-size:12px;color:var(--muted);margin-top:5px}
.testimonial-caption small{display:block;margin-top:7px}
.quote-mark{color:var(--wine);font-size:30px;padding:22px 20px 0}
.testimonial-detail{max-width:480px;margin:25px auto}
.testimonial-video{display:block;width:100%;max-height:65dvh;background:#1f1720;border-radius:10px;aspect-ratio:1;object-fit:contain}
.testimonial-full-image{max-height:65dvh;width:100%;object-fit:contain}
.testimonial-description{font-size:12px;color:var(--muted);margin-top:14px}
.teacher-story{display:grid;grid-template-columns:minmax(180px,.65fr) 1fr;gap:40px;align-items:center;border-top:1px solid var(--line);padding-top:34px}
.story-photo{height:340px;overflow:hidden;border-radius:16px}
.story-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 33%}
.story-copy h2{font-size:29px;line-height:1.7}
.story-copy>p{max-width:400px;font-size:13px;color:var(--muted);margin:13px 0 22px}
.story-copy .story-label{font-size:12px;color:var(--wine);font-weight:750;margin:0 0 10px}
.product-art{padding:20px;min-height:170px;background:var(--wine)!important;isolation:isolate}
.course-art-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;opacity:.16}
.course-art-teacher{position:absolute;left:0;bottom:0;width:48%;height:95%;object-fit:cover;object-position:center top;max-width:none;pointer-events:none;z-index:0}
.course-art-copy{position:relative;z-index:1;display:flex;flex-direction:column;gap:7px;width:57%;padding:8px 0}
.product-art .course-art-copy small{color:#f5dce4;font-size:11px}
.product-art .course-art-copy strong{color:var(--yellow);font-size:22px;max-width:100%;text-wrap:balance}
.course-art-author{font-size:9px;color:#f5dce4}
.product-layout .course-art-copy{max-width:280px}
.product-layout .course-art-copy strong{font-size:32px}
.consent-field{display:flex;align-items:flex-start;gap:10px;font-size:12px;cursor:pointer}
.consent-field input{width:20px;height:20px;flex-shrink:0;accent-color:var(--wine)}
button,a,input,select,textarea{touch-action:manipulation}
input::placeholder,textarea::placeholder{color:#746c77;opacity:1}
input,select,textarea{border-color:#8c828d}
.chapter-num{color:#86606d}
.consent-field input{min-height:20px}
dialog,.playlist-list,#sidebar{overscroll-behavior:contain}
.close-dialog{width:44px;height:44px;flex-shrink:0}
.text-link{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:960px){.hero-v2{min-height:330px}.hero-v2 .hero-copy{padding:28px}.hero-v2 h1{font-size:35px}.hero-photo{min-height:330px}.menu-toggle,.wallet-mini{min-width:44px;min-height:44px;justify-content:center}.search-trigger{min-height:44px}}
@media(max-width:680px){
 html{scroll-padding-top:85px}
 #topbar{padding:9px 12px;gap:8px;min-height:62px;backdrop-filter:none;background:white}
 .workspace{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
 main{padding:14px 16px 30px}
 .hero-v2{grid-template-columns:1.22fr 1fr;min-height:264px;border-radius:14px}
 .hero-v2 .hero-copy{padding:20px 14px 20px 10px}
 .hero-v2 .hero-intro{font-size:11px;margin-bottom:9px}
 .hero-v2 h1{font-size:21px;line-height:1.6;letter-spacing:-.65px}
 .hero-v2 .hero-description{font-size:11px;line-height:1.9;margin-top:10px}
 .hero-v2 .hero-description br{display:none}
 .hero-v2 .actions{gap:4px;margin-top:13px}
 .hero-v2 .btn{min-height:44px;font-size:11px;padding:8px 13px}
 .hero-v2 .btn.ghost{display:none}
 .hero-photo{min-height:264px}
 .hero-photo img{object-position:44% 35%}
 .start-section{margin-top:20px}
 .grade-grid{gap:8px}
 .grade-card{padding:11px;min-height:74px;gap:10px}
 .grade-card strong{font-size:15px}
 .grade-card small{font-size:11px}
 .section-head h2{font-size:19px}
 .section-head p,.text-link{font-size:12px}
 .chapter h3{font-size:13px}
 .chapter p{font-size:11px}
 .testimonials-layout,.testimonials-layout.single-story{grid-template-columns:1fr;gap:16px}
 .testimonials-layout.single-story{padding:16px}
 .testimonial-intro{padding:2px}
 .large-quote{display:none}
 .testimonial-intro h3{font-size:21px}
 .testimonial-intro h3 br{display:none}
 .testimonial-intro p{font-size:12px;margin:7px 0 13px}
 .testimonial-caption{padding:14px}
 .testimonial-caption h3{font-size:14px}
 .teacher-story{grid-template-columns:112px 1fr;gap:17px;padding-top:25px}
 .story-photo{height:210px;border-radius:12px}
 .story-photo img{object-position:53% 32%}
 .story-copy h2{font-size:19px;line-height:1.7}
 .story-copy>p{font-size:12px;margin:9px 0 13px}
 .story-copy .btn{font-size:11px;padding:8px 10px}
 .product-card{display:flex}
 .product-art{min-height:190px;padding:22px}
 .product-art .course-art-copy strong{font-size:25px}
 .course-art-author{font-size:11px}
 .product-body{padding:17px}
 .product-body h3{font-size:15px}
 .product-body p{font-size:12px}
 .product-body .tag{font-size:10px}
 .product-body .btn,.btn.small{min-height:44px;padding:9px 13px;font-size:12px}
 .price{font-size:20px}
 .price small{font-size:11px}
 .product-layout .product-art{min-height:220px}
 .product-layout .course-art-copy strong{font-size:27px}
 .btn,.tabs a,.tabs button,.preset-amounts button{min-height:44px}
 input,select,textarea{font-size:16px;min-height:46px}
 .toolbar input{font-size:16px}
 .lesson-btn strong{font-size:13px}
 .lesson-btn small{font-size:11px}
 .lesson-btn{min-height:70px}
 .lesson-layout .playlist{order:1}
 .lesson-layout .lesson-info{order:2}
 .mobile-nav a{min-height:54px;min-width:54px;font-size:11px;padding:8px}
 .mobile-nav{min-height:66px}
 .admin-nav{gap:6px}
 .admin-nav .btn{font-size:12px}
 .field>span{font-size:13px}
 .field small{font-size:11px}
 dialog{padding:18px;width:calc(100% - 24px);max-height:calc(100dvh - 24px)}
 .dialog-head{gap:10px}
 .dialog-head h2{font-size:17px}
 .testimonial-video{max-height:60dvh}
 .section-head{align-items:center}
}
@media(max-width:360px){.hero-v2 h1{font-size:21px}.hero-v2 .hero-copy{padding-right:12px}.hero-v2 .hero-description{font-size:10px}.hero-v2 .hero-intro{font-size:10px}.section-head h2{font-size:17px}.section-head .text-link{font-size:11px}.teacher-story{grid-template-columns:94px 1fr;gap:13px}.story-copy h2{font-size:17px}}
.products-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
@media(max-width:680px){.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.products-grid{grid-template-columns:1fr}}
