
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,sans-serif;color:#13294b;background:
radial-gradient(circle at 10% 10%,#eaf7ff 0 8%,transparent 24%),
radial-gradient(circle at 90% 20%,#fff5c9 0 8%,transparent 23%),
radial-gradient(circle at 20% 80%,#edfbe8 0 8%,transparent 25%),
linear-gradient(135deg,#fbfdff,#fffdf7 55%,#faf7ff)}
header{height:76px;padding:0 4.5%;display:flex;align-items:center;gap:28px;background:#fff;box-shadow:0 2px 16px #18315312;position:sticky;top:0;z-index:5}
.brand{font-size:27px;font-weight:800;color:#0878ca;text-decoration:none;margin-right:auto}nav{display:flex;gap:34px}nav a{font-weight:700;text-decoration:none;color:#173154}
.hero{max-width:1180px;margin:34px auto 24px;padding:38px 46px;border-radius:32px;background:#ffffffd9;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;box-shadow:0 15px 45px #17315412}
.hero h1{font-size:48px;margin:10px 0}.hero p{font-size:18px;line-height:1.55;color:#516078}.hero img{width:100%;max-width:330px;display:block;margin:auto}.kicker{font-weight:800;color:#0878ca}.btn{display:inline-block;background:#0878ca;color:#fff;padding:13px 20px;border-radius:13px;text-decoration:none;font-weight:800}
section.catalog{max-width:1180px;margin:0 auto;padding:28px 0 70px}.catalog h2{font-size:34px;margin-bottom:8px}.sub{color:#68768b;margin-bottom:25px}
.filters{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:28px}.filter{border:0;border-radius:999px;padding:10px 15px;background:#fff;box-shadow:0 4px 16px #17315412;font-weight:700;color:#173154}.filter.active{background:#173154;color:#fff}
.grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 10px 30px #17315414;border:1px solid #e9eef5;display:flex;flex-direction:column}
.cover{aspect-ratio:1/1;overflow:hidden;background:#f3f6fa}.cover img{width:100%;height:100%;object-fit:cover;display:block}.body{padding:11px}.badge{display:inline-block;background:#eef6ff;color:#0878ca;border-radius:999px;padding:5px 7px;font-size:10px;font-weight:800}.card h3{font-size:15px;line-height:1.25;margin:8px 0 9px}.price{font-size:19px;font-weight:900}.old{font-size:12px;color:#9aa3b1;text-decoration:line-through;margin-left:8px}.actions{display:grid;grid-template-columns:1fr;gap:6px;margin-top:10px}.more,.buy{padding:9px 6px;text-align:center;border-radius:11px;text-decoration:none;font-weight:800}.more{background:#f0f4f8;color:#173154}.buy{background:#0878ca;color:#fff}
footer{padding:28px 5%;background:#13294b;color:#fff;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}footer a{color:#fff}
.product{max-width:1080px;margin:36px auto 70px;padding:32px;background:#fff;border-radius:28px;box-shadow:0 15px 45px #17315412}.product-top{display:grid;grid-template-columns:.85fr 1.15fr;gap:35px}.product-top img{width:100%;border-radius:20px}.product h1{font-size:36px;margin:0 0 12px}.product .desc{line-height:1.65;color:#47566c}.videos{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:28px}.videos video{width:100%;border-radius:16px;background:#000}.back{display:inline-block;margin-bottom:20px;color:#0878ca;font-weight:800;text-decoration:none}
@media(max-width:1100px){.grid{grid-template-columns:repeat(4,1fr)}.hero,.product-top{grid-template-columns:1fr}.hero h1{font-size:38px}.brand{font-size:21px}}
@media(max-width:760px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){nav{gap:14px}.grid{grid-template-columns:repeat(2,1fr)}.hero{margin:18px;padding:25px}.actions{grid-template-columns:1fr}}

.gallery{margin-top:30px}.gallery h2{font-size:28px}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gallery-grid img{width:100%;border-radius:15px;border:1px solid #e4eaf1;box-shadow:0 6px 20px #17315410}
@media(max-width:650px){.gallery-grid{grid-template-columns:1fr}}

/* Compact catalog card actions: full-width stacked buttons */
.card .actions{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
.card .more,.card .buy{display:block;width:100%;white-space:nowrap;font-size:12px;padding:8px 4px}
/* Final compact catalog overrides */
.grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important}
.card .body{padding:11px!important}.card h3{font-size:15px!important;line-height:1.25!important;margin:8px 0 9px!important}.card .price{font-size:19px!important}.card .old{font-size:12px!important}.card .actions{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;margin-top:10px!important}.card .more,.card .buy{display:block!important;width:100%!important;box-sizing:border-box!important;white-space:nowrap!important;font-size:12px!important;padding:8px 4px!important;text-align:center!important}
.gallery{margin-top:30px}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gallery-grid img{width:100%;border-radius:15px;border:1px solid #e4eaf1}
@media(max-width:1100px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:760px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.gallery-grid{grid-template-columns:1fr}}

[hidden]{display:none!important}.filter{cursor:pointer;font-size:14px}.filter:focus-visible,a:focus-visible{outline:3px solid #ffba24;outline-offset:3px}.catalog{scroll-margin-top:90px}@media(max-width:760px){section.catalog{padding:24px 18px 50px}.product{margin:20px 12px;padding:20px}.product-top{gap:22px}.product h1{font-size:28px}.videos{grid-template-columns:1fr}.brand{font-size:17px}header{height:auto;min-height:70px;padding:14px 18px;flex-wrap:wrap;gap:12px}.hero h1{font-size:32px}.badge{font-size:12px}.hero{padding:25px;margin:18px}.hero img{max-width:250px}}
/* Product detail pages */
.wrap{width:min(1180px,calc(100% - 48px));margin-inline:auto}
header .nav{display:flex;align-items:center;justify-content:space-between;gap:24px}
.product-detail{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:36px;margin:36px 0 28px;padding:32px;background:#fff;border-radius:28px;box-shadow:0 15px 45px #17315412;align-items:start}
.product-media{min-width:0}.product-media img{display:block;width:100%;height:auto;border-radius:20px;object-fit:contain}
.product-info{min-width:0;font-size:16px;line-height:1.65;color:#47566c}.product-info h1{font-size:32px;line-height:1.2;margin:16px 0;color:#13294b;overflow-wrap:anywhere}.product-info .badge{font-size:14px;white-space:normal}.product-info .price{font-size:28px;color:#13294b}.product-info .old{font-size:16px}.product-info .buy,.detail-section .buy{display:inline-block;padding:14px 24px;font-size:16px;line-height:1.4;margin-top:12px}
.detail-section{padding:28px 32px;margin:28px 0;background:#fff;border-radius:24px;box-shadow:0 10px 30px #17315410}.detail-section h2{font-size:26px;line-height:1.3;margin:0 0 20px}.detail-section .gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0}.detail-section .gallery img{display:block;width:100%;height:auto;min-width:0;border-radius:16px;border:1px solid #e4eaf1}.detail-section video,.product-media video{display:block;width:100%;max-width:100%;height:auto;border-radius:16px;background:#000}main.wrap{padding-bottom:32px}
@media(max-width:800px){.product-detail{grid-template-columns:1fr;gap:24px}.product-media{max-width:520px;width:100%;margin-inline:auto}.product-info h1{font-size:28px}header .nav{flex-wrap:wrap;gap:12px}.brand span{font-size:16px}}
@media(max-width:560px){.wrap{width:calc(100% - 24px)}header .wrap{width:100%}.product-detail{padding:20px;margin-top:20px;border-radius:20px}.product-info h1{font-size:25px}.detail-section{padding:20px;border-radius:20px}.detail-section .gallery{grid-template-columns:1fr}.detail-section h2{font-size:23px}.product-info .buy{display:block;width:100%}header .nav nav{gap:18px}.brand span{display:none}}

/* Site navigation and author sections */
header.site-header{height:auto;min-height:76px;padding:0;display:block}
.site-nav{display:flex;align-items:center;gap:24px;min-height:76px;padding-block:14px}.site-nav .brand{font-size:24px;white-space:nowrap}.site-nav .brand span{font-size:16px}.site-nav nav{gap:20px;font-size:14px;align-items:center}.site-nav nav a{white-space:nowrap}.header-social{display:flex;gap:10px;flex:none;margin-left:auto}.social-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;color:#fff;transition:background .2s}.social-icon svg{width:23px;height:23px}.telegram{background:#229ed9}.vk{background:#0077ff}.social-icon:hover{background:#13294b}
.about-sections{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-bottom:56px}.about-panel{background:#fff;padding:32px;border-radius:24px;border:1px solid #e9eef5;box-shadow:0 10px 30px #17315410;scroll-margin-top:110px}.about-panel h2{font-size:30px;margin:12px 0 20px}.about-panel h3{font-size:22px;margin:0 0 16px}.about-panel p{font-size:16px;line-height:1.7;color:#47566c;margin:0 0 18px}.about-label{font-size:14px;font-weight:700;color:#0878ca}.about-links{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.about-links .more{display:inline-block;padding:13px 20px;font-size:16px}
@media(max-width:1100px){.site-nav{flex-wrap:wrap;gap:12px}.site-nav .brand{margin-right:auto}.site-nav nav{order:3;width:100%;justify-content:center;flex-wrap:wrap}.about-panel{scroll-margin-top:150px}}
@media(max-width:760px){.about-sections{grid-template-columns:1fr}.about-panel{padding:24px}.site-nav .brand{font-size:20px}.site-nav .brand span{display:none}.site-nav nav{gap:12px 20px}.site-header .wrap{width:calc(100% - 24px)}.about-panel h2{font-size:26px}}

/* Author portrait and compact hero logo */
.hero img{max-width:220px}
#about-me{display:flow-root}.author-photo{display:block;float:left;width:180px;max-width:45%;height:auto;margin:0 22px 14px 0;border-radius:18px}
@media(max-width:560px){.hero img{max-width:170px}.author-photo{float:none;width:200px;max-width:100%;margin:0 auto 22px}}

/* Highlight current prices and keep previous prices legible */
.price{display:inline-block;background:#d9f0ff;color:#075f9c;border-radius:10px;padding:6px 10px;line-height:1.25;vertical-align:middle;white-space:nowrap}
.old{display:inline-block;color:#68768b;font-size:16px;margin-left:8px;line-height:1.4;vertical-align:middle;white-space:nowrap;text-decoration:line-through;text-decoration-thickness:1.5px}
.card .old{font-size:16px!important;margin-top:6px}
.product .price,.product-info .price{font-size:28px;padding:8px 14px;color:#075f9c}
.product .old,.product-info .old{font-size:22px;margin-left:12px}


button.buy{font-family:inherit;font-size:16px;border:0;cursor:pointer}button.buy:disabled{opacity:.65;cursor:wait}.download-status{display:block;font-size:14px;line-height:1.5;margin-top:10px;color:#47566c}

.free-resources{background:#e8f5ff;padding:28px 32px;border-radius:24px;margin:28px 0}.free-resources h1{font-size:32px;margin:0 0 12px}.free-resources p{font-size:18px;line-height:1.5;margin:0 0 18px}.free-social{display:flex;gap:12px}.file-pending{display:block;font-size:12px;padding:8px 4px;color:#68768b;text-align:center}.free-catalog{padding-top:12px!important}.download-status:empty{display:none}.card .download-status{font-size:12px}.card button.buy{font-family:inherit}.free-catalog .cover img{object-fit:contain}.free-catalog .card .price{font-size:16px!important;padding:5px 7px}.card .body{display:flex;flex-direction:column;flex:1}.card .actions{margin-top:auto!important;padding-top:12px}.product-info .file-pending{font-size:16px;text-align:left}@media(max-width:560px){.free-resources{padding:22px}.free-resources h1{font-size:27px}}

/* Compact price labels, catalog sorting and recent materials */
.price{width:max-content;max-width:100%;align-self:flex-start;padding:4px 8px;border-radius:8px;line-height:1.25}
.product .price,.product-info .price{padding:5px 10px;font-size:26px;line-height:1.25}
.catalog-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:0 0 20px;flex-wrap:wrap}
.catalog-toolbar label{font-size:14px;color:#47566c}.catalog-toolbar select{font:inherit;font-size:14px;color:#13294b;background:#fff;border:1px solid #c7d8e7;border-radius:10px;padding:10px 32px 10px 12px;cursor:pointer}
.new-arrivals{margin-block:28px 12px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.section-heading h2{font-size:30px;margin:0}.section-heading .more{padding:10px 16px}
.new-arrivals-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:760px}.new-arrivals .card h3{font-size:17px!important}.new-arrivals .card .body{padding:16px!important}
.back-to-top{position:fixed;right:24px;bottom:24px;z-index:10;border:0;border-radius:999px;background:#0878ca;color:#fff;font:700 14px Arial,sans-serif;padding:13px 18px;box-shadow:0 4px 18px #13294b30;cursor:pointer}
button:focus-visible,select:focus-visible{outline:3px solid #ffba24;outline-offset:3px}
@media(max-width:560px){.new-arrivals-grid{grid-template-columns:1fr}.new-arrivals .card{display:grid;grid-template-columns:110px minmax(0,1fr)}.new-arrivals .cover{aspect-ratio:auto;height:100%}.new-arrivals .cover img{object-fit:contain}.new-arrivals .card .body{padding:12px!important}.section-heading h2{font-size:27px}.back-to-top{right:14px;bottom:16px}.catalog-toolbar{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Soft brand background and calm hover states */
body{background:radial-gradient(ellipse at 4% 6%,#e6f4ff 0,transparent 32%),radial-gradient(ellipse at 95% 24%,#fff5df 0,transparent 30%),radial-gradient(ellipse at 12% 62%,#efebff 0,transparent 30%),radial-gradient(ellipse at 90% 86%,#e7f5ff 0,transparent 32%),#fbfcff;background-attachment:scroll}
.card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.cover img{transition:transform .35s ease}.more,.buy,.btn,.social-icon,.filter,.back-to-top,.faq-contact a{transition:background-color .22s ease,color .22s ease,box-shadow .22s ease,transform .22s ease}
@media(hover:hover) and (pointer:fine){.card:hover{transform:translateY(-4px);box-shadow:0 16px 34px #17315421;border-color:#d3e6f7}.card:hover .cover img{transform:scale(1.025)}.buy:hover,.btn:hover,.back-to-top:hover,.faq-contact a:hover{background:#086bb1;box-shadow:0 5px 14px #0878ca25;transform:translateY(-1px)}.more:hover{background:#e4edf6;transform:translateY(-1px)}.filter:not(.active):hover{background:#e7f3ff}.social-icon:hover{transform:translateY(-2px)}}
.wave-divider{width:100%;height:58px;margin:20px 0 0;overflow:hidden;pointer-events:none}.wave-divider svg{display:block;width:100%;height:100%}
.brand-note{text-align:center;padding:32px 24px;margin-block:0 20px;background:linear-gradient(110deg,#ecf7ffb3,#f3efffb3);border-radius:0 0 26px 26px}.brand-note strong{display:block;font-size:28px;color:#0878ca}.brand-note p{font-size:18px;line-height:1.65;max-width:700px;margin:14px auto 0;color:#47566c}
.faq-section{padding:24px 24px 60px;scroll-margin-top:150px}.faq-wrap{max-width:1180px;margin:0 auto}.faq-head{text-align:center;margin-bottom:26px}.faq-head h2{font-size:32px;margin:8px 0 12px}.faq-head p{color:#68768b;font-size:16px;line-height:1.5;margin:0}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.faq-grid details{background:#fff;border:1px solid #e4eaf4;border-radius:16px;padding:0 20px;box-shadow:0 6px 22px #1731540b}.faq-grid summary{cursor:pointer;font-size:16px;font-weight:700;line-height:1.5;padding:18px 32px 18px 0;position:relative;list-style:none}.faq-grid summary::-webkit-details-marker{display:none}.faq-grid summary::after{content:'+';position:absolute;right:0;top:16px;color:#0878ca;font-size:24px;line-height:1}.faq-grid details[open] summary::after{content:'−'}.faq-grid details p{font-size:16px;line-height:1.65;color:#47566c;margin:0 0 20px}.faq-grid summary:focus-visible{outline:3px solid #ffba24;outline-offset:3px;border-radius:8px}.faq-contact{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding:24px;background:#fff;border:1px solid #e4eaf4;border-radius:18px}.faq-contact div{display:flex;flex-direction:column;gap:6px;font-size:16px}.faq-contact span{color:#68768b}.faq-contact a{background:#0878ca;color:#fff;text-decoration:none;font-weight:700;padding:12px 20px;border-radius:12px;white-space:nowrap}
@media(max-width:760px){.wave-divider{height:40px}.brand-note{padding:26px 18px}.brand-note strong{font-size:25px}.brand-note p{font-size:16px}.faq-section{padding:20px 14px 44px}.faq-grid{grid-template-columns:1fr}.faq-head h2{font-size:28px}.faq-contact{align-items:stretch;flex-direction:column;padding:20px}.faq-contact a{text-align:center}}
@media(prefers-reduced-motion:reduce){.card,.cover img,.more,.buy,.btn,.social-icon,.filter,.back-to-top,.faq-contact a{transition:none!important}.card:hover,.card:hover .cover img,.buy:hover,.btn:hover,.more:hover,.social-icon:hover,.back-to-top:hover,.faq-contact a:hover{transform:none!important}}

/* Aligned card labels and compact sticky navigation */
.card h3{min-height:5em}.card .badge{align-self:flex-start;min-height:30px}.card .price-row{min-height:68px;flex:none}.card .price-row .price{vertical-align:middle}.card .body{min-width:0}
header.site-header{position:sticky;top:0;z-index:20;transition:box-shadow .25s ease;background:#fffffff5;backdrop-filter:blur(10px)}.site-nav{transition:padding .25s ease,min-height .25s ease,gap .25s ease}.site-nav .brand,.social-icon{transition:font-size .25s ease,width .25s ease,height .25s ease,background-color .22s ease}
header.site-header.is-compact{min-height:58px;box-shadow:0 4px 20px #17315416}.is-compact .site-nav{min-height:58px;padding-block:8px;gap:18px}.is-compact .site-nav .brand{font-size:21px}.is-compact .social-icon{width:34px;height:34px}.is-compact .site-nav .brand span{font-size:14px}
@media(max-width:1100px){.is-compact .site-nav{gap:8px}.is-compact .site-nav nav{gap:8px 16px}.is-compact .site-nav .brand{font-size:20px}}
@media(max-width:560px){.is-compact .site-nav .brand{font-size:18px}.card .price-row{min-height:68px}}
@media(prefers-reduced-motion:reduce){header.site-header,.site-nav,.site-nav .brand,.social-icon{transition:none!important}}

/* Category labels without colored pills */
.badge{background:transparent;border-radius:0;padding:0;box-shadow:none}

/* Quiet educational pattern in selected brand zones */
.hero,.free-resources,.brand-note{position:relative;isolation:isolate}.study-pattern{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;z-index:-1;color:#0878ca;opacity:.07;font-weight:900;font-size:30px}.study-pattern span{position:absolute;user-select:none}.study-pattern span:nth-child(1){left:4%;top:10%;transform:rotate(-12deg)}.study-pattern span:nth-child(2){left:28%;top:4%;transform:rotate(9deg)}.study-pattern span:nth-child(3){left:58%;top:12%;transform:rotate(-8deg)}.study-pattern span:nth-child(4){right:4%;top:14%}.study-pattern span:nth-child(5){left:10%;bottom:7%}.study-pattern span:nth-child(6){left:40%;bottom:2%;transform:rotate(-12deg)}.study-pattern span:nth-child(7){right:22%;bottom:6%;transform:rotate(12deg)}.study-pattern span:nth-child(8){right:5%;bottom:12%}
.hero .study-pattern{grid-column:1/-1}.hero>div:not(.study-pattern),.hero>img,.free-resources>h1,.free-resources>p,.free-resources>.free-social,.brand-note>strong,.brand-note>p{position:relative;z-index:1}
/* Class numbers: typographic depth, compact enough for the filter row */
.grade-filter{display:inline-flex;align-items:center;gap:9px;min-height:48px;border-radius:16px}.grade-number{font-size:30px;font-weight:900;line-height:1;color:#2294dc;text-shadow:0 1px 0 #bfe7ff,0 2px 0 #acd9f3,0 3px 0 #8cc9ed,0 4px 4px #0878ca22}.grade-filter.active .grade-number{color:#fff;text-shadow:0 2px 0 #5aa3d1,0 3px 3px #0002}
/* Shared interaction system for all buttons and button-like links */
:where(button,.btn,.buy,.more,.social-icon,.faq-contact a){transition:background-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media(hover:hover) and (pointer:fine){:where(button,.btn,.buy,.more,.social-icon,.faq-contact a):not(:disabled):hover{transform:translateY(-2px);box-shadow:0 5px 14px #17315420}}
:where(button,.btn,.buy,.more,.social-icon,.faq-contact a):not(:disabled):active{transform:translateY(1px) scale(.98)!important;box-shadow:0 1px 4px #17315418!important}
:where(button,.btn,.buy,.more,.social-icon,.faq-contact a):focus-visible{outline:3px solid #ffba24;outline-offset:3px}
button:disabled{cursor:wait;opacity:.6;transform:none!important;box-shadow:none!important}
@media(prefers-reduced-motion:reduce){:where(button,.btn,.buy,.more,.social-icon,.faq-contact a){transition:none!important;transform:none!important}}
@media(max-width:560px){.grade-number{font-size:27px}.grade-filter{min-height:44px;padding:8px 12px}.study-pattern{font-size:24px}}

/* Side-by-side prices, close actions, single-row category filters */
.card .price-row{display:flex;align-items:center;gap:7px;flex-wrap:nowrap;min-height:0!important}.card .price-row .price{flex:none;font-size:17px!important;padding:4px 6px;max-width:none}.card .price-row .old{flex:none;font-size:14px!important;margin:0!important;line-height:1.3}
.card .actions{margin-top:8px!important;padding-top:0;gap:6px!important}.card .body{padding:11px!important}
.filters{flex-wrap:nowrap;gap:5px;overflow-x:auto;overflow-y:hidden;padding:5px 2px 9px;margin-bottom:18px;scrollbar-width:thin}.filters .filter{flex:0 0 auto;white-space:nowrap;padding:8px 10px;font-size:12px;box-shadow:0 2px 8px #1731540e}
.overview-video{aspect-ratio:16/9;object-fit:contain;background:#f0f4f8}.videos.single-video{grid-template-columns:1fr}
/* Smaller homepage hero from the supplied reference */
.hero{padding:24px 32px;margin-block:22px 16px;border-radius:26px;gap:20px;grid-template-columns:1.35fr .65fr}.hero h1{font-size:36px;line-height:1.15;margin:8px 0 12px}.hero p{font-size:16px;line-height:1.5;margin:0 0 16px}.hero .kicker{font-size:13px}.hero img{max-width:160px}.hero .btn{padding:10px 16px;font-size:14px}
@media(max-width:760px){.hero{grid-template-columns:1fr auto;padding:22px;gap:16px}.hero h1{font-size:28px}.hero img{max-width:110px}.hero .kicker{font-size:11px}.hero p{font-size:14px}}
@media(max-width:480px){.hero{grid-template-columns:1fr;padding:20px}.hero img{max-width:90px}.hero h1{font-size:27px}.filters .filter{font-size:12px;padding:8px 10px}}

.filters{gap:5px;flex-wrap:nowrap}.filters .filter{font-size:14px;padding:10px 11px;line-height:1.3}.card .price-row{display:flex;flex-flow:row nowrap;align-items:center;gap:7px}.card .price-row .old{margin:0!important;white-space:nowrap}

/* Compact free-material cards: content stays close to the title. */
.free-catalog .card h3{font-size:14px!important;line-height:1.25!important;min-height:0!important;margin:5px 0 6px!important}
.free-catalog .card .badge{min-height:0!important;line-height:1.3}
.free-catalog .card .price-row{min-height:0!important;margin:0}
.free-catalog .card .actions{margin-top:6px!important;padding-top:0;gap:5px!important}
.free-catalog .card .body{padding:10px!important}

/* Keep free-card prices and both buttons aligned within each row. */
.free-catalog .card .price-row{margin-top:auto!important;padding-top:2px}

/* Larger former prices stay alongside current prices. */
.card .price-row .old{font-size:16px!important;color:#68768b}
.product .old,.product-info .old{font-size:24px}
.section-mini{display:flex;align-items:center;gap:20px;margin-bottom:12px}.section-mini img{width:140px;height:108px;object-fit:contain;flex:none}.section-mini h2{margin:0}
.faq-mini{display:block;width:160px;height:120px;object-fit:contain;margin:0 auto 8px}
.free-mini{float:right;width:200px;height:160px;object-fit:contain;margin:-8px 0 0 24px}.free-resources{display:flow-root}.free-resources h1{max-width:760px}
footer.site-footer{display:block;position:relative;isolation:isolate;overflow:hidden;padding:44px 24px;background:linear-gradient(120deg,#e6f3ff,#f0ecfa);color:#13294b;border-top:1px solid #d9e8f3;border-radius:32px 32px 0 0}
.footer-inner{max-width:1180px;margin:auto;display:grid;grid-template-columns:1.1fr 1fr .85fr;gap:32px;align-items:start;position:relative;z-index:1}.footer-brand>a{font-size:28px;font-weight:800;color:#0878ca;text-decoration:none}.footer-brand p{font-size:16px;line-height:1.6;margin:12px 0 0;max-width:310px;color:#47566c}.footer-nav{display:flex;flex-wrap:wrap;gap:14px 20px;font-size:15px;line-height:1.5}.site-footer a{color:#13294b;text-decoration:none}.footer-nav a:hover,.footer-contact:hover,.footer-email:hover{text-decoration:underline}.footer-contacts{display:flex;flex-direction:column;gap:12px;align-items:flex-start}.footer-social{display:flex;gap:12px}.site-footer .social-icon{color:#fff;width:44px;height:44px;border-radius:50%}.footer-contact{font-size:15px;font-weight:700}.footer-email{font-size:15px;color:#47566c!important}
.footer-pattern{position:absolute;inset:0;pointer-events:none;opacity:.055;color:#0878ca;font-weight:900;font-size:42px}.footer-pattern span{position:absolute}.footer-pattern span:nth-child(1){left:3%;top:20%;transform:rotate(-15deg)}.footer-pattern span:nth-child(2){left:25%;bottom:4%}.footer-pattern span:nth-child(3){left:47%;top:8%}.footer-pattern span:nth-child(4){left:65%;bottom:8%;transform:rotate(12deg)}.footer-pattern span:nth-child(5){right:3%;top:9%}.footer-pattern span:nth-child(6){right:20%;top:30%}
@media(max-width:760px){.footer-inner{grid-template-columns:1fr 1fr;gap:26px}.footer-brand{grid-column:1/-1}.section-mini{gap:12px}.section-mini img{width:100px;height:84px}.section-mini h2{font-size:28px}.free-mini{width:140px;height:120px;margin-left:14px}.free-resources h1{font-size:27px}}
@media(max-width:480px){.footer-inner{grid-template-columns:1fr}.footer-brand{grid-column:auto}footer.site-footer{padding:32px 24px}.free-mini{float:none;display:block;width:150px;height:115px;margin:0 auto 12px}.section-mini img{width:80px;height:75px}.section-mini h2{font-size:25px}}

/* Uniform overview placement, matching the supplied Witch House example. */
.videos,.videos.single-video{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:640px;gap:20px;margin:28px 0 0}
.videos video,.detail-section video,.product-media video{display:block;width:100%;max-width:640px;margin-left:0;margin-right:auto;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:20px;overflow:hidden;background:#f0f4f8}

/* Mobile header stays at the top of the document instead of following scroll. */
@media(max-width:760px){header.site-header{position:static;top:auto;backdrop-filter:none}.catalog,.faq-section,.about-panel{scroll-margin-top:20px}}

/* Align card actions with flex layout, without measuring every card on resize. */
.catalog-grid .card h3{min-height:0!important}.catalog-grid .card .badge{min-height:0!important}.catalog-grid .card .price-row{margin-top:auto!important;padding-top:4px}
@media(max-width:760px){.catalog-grid .card,.catalog-grid .cover img{transition:none}.site-header{transition:none!important}}

.purchase-form{margin:0;display:block}.purchase-form button{border:0;font-family:inherit;cursor:pointer}.card .purchase-form{width:100%}.product-info .purchase-form .buy{display:inline-block;margin-top:12px;padding:14px 24px;font-size:16px}.product .purchase-form .btn{font-size:16px}

/* Soft educational storefront: warm canvas, real materials on a light desk. */
body{background:#fdfbf7;color:#173154}
header.site-header{background:#fffdfaef;box-shadow:0 2px 16px #17315408}
.home-hero{width:min(1180px,calc(100% - 48px));margin:30px auto 22px;padding:44px 42px;grid-template-columns:1.05fr 1fr;gap:30px;border-radius:36px;background:linear-gradient(125deg,#f2f8ff 0%,#f7f6ff 55%,#fff9ec 100%);box-shadow:none;min-height:430px;overflow:hidden}
.home-hero .hero-copy{min-width:0}.home-hero .kicker{font-size:12px;line-height:1.5;letter-spacing:.08em}.home-hero h1{font-size:clamp(32px,3.7vw,48px);letter-spacing:-.035em;line-height:1.12;margin:16px 0 22px}.home-hero p{font-size:18px;line-height:1.65;max-width:490px;margin:0 0 26px;color:#526177}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.home-hero .btn{font-size:15px;padding:14px 19px;border-radius:14px}.btn-secondary{background:#fff;color:#0878ca;box-shadow:inset 0 0 0 1px #0878ca20}
.home-hero .hero-materials{position:relative;isolation:isolate;width:100%;height:350px;z-index:1;background:radial-gradient(ellipse at 40% 45%,#cfe9fd70,transparent 70%),radial-gradient(ellipse at 80% 30%,#fff0c690,transparent 50%);border-radius:34px}
.hero-materials a{position:absolute;display:block;background:white;padding:8px;border-radius:16px;box-shadow:0 14px 30px #17315420;text-decoration:none;color:#526177;transition:transform .2s ease,box-shadow .2s ease}
.home-hero .hero-materials img{display:block;width:100%;max-width:none;height:auto;margin:0;border-radius:10px}.hero-materials a span{display:block;font-size:12px;font-weight:700;padding:7px 4px 2px}
.hero-materials .material-sheet{width:35%;left:3%;top:0;transform:rotate(-9deg);z-index:1}.hero-materials .material-slide{width:72%;right:0;top:50px;transform:rotate(4deg);z-index:2}.hero-materials .material-game{width:39%;left:16%;bottom:0;transform:rotate(-5deg);z-index:3}
.home-hero .hero-materials .material-tools{position:absolute;width:35%;right:0;bottom:-4px;z-index:4;filter:drop-shadow(0 8px 10px #17315412)}.hero-star{position:absolute;top:4px;right:21%;color:#e9b741;font-size:38px;z-index:5}
.benefits{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 16px 24px;font-size:14px;line-height:1.5;color:#526177}.benefits span{white-space:nowrap}
body:has(.home-hero) .wave-divider{background:transparent}.catalog{position:relative}.catalog-grid .card{background:#fff;border:0!important;border-radius:22px!important;box-shadow:0 6px 22px #17315409!important;overflow:hidden;height:100%;display:flex;flex-direction:column}.catalog-grid .cover{overflow:hidden;display:block}.catalog-grid .card .body{flex:1}.catalog-grid .card .price-row{margin-top:auto!important}
.about-sections{padding:32px 0 56px}.about-panel{border:0;background:#fff;box-shadow:0 6px 22px #17315408}.brand-note{background:#f2effb;box-shadow:none}.faq-section{background:#f0f7fc}.free-invitation{display:grid;grid-template-columns:.75fr 1.25fr;align-items:center;gap:42px;margin:10px auto 28px;padding:36px 44px;border-radius:32px;background:linear-gradient(115deg,#ecf6fd,#f4f1fb 80%);isolation:isolate}.free-invitation>div{min-width:0}.free-invitation .free-scene{display:block;float:none;width:100%;max-width:280px;height:auto;object-fit:contain;margin:auto}.free-invitation h2,.free-invitation h1{font-size:clamp(26px,3vw,34px);line-height:1.2;letter-spacing:-.025em;margin:12px 0 16px}.free-invitation p{font-size:17px;line-height:1.65;color:#526177;margin:0 0 20px;max-width:620px}.free-invitation .kicker{font-size:12px;letter-spacing:.08em}.free-invitation .btn{font-size:15px;padding:13px 18px}.community-links{display:flex;align-items:center;gap:20px;margin-top:22px}.community-links>span{font-size:14px;line-height:1.5;color:#68768b}.community-links .social-icon{width:34px;height:34px;border-radius:50%}.community-links .social-icon svg{width:20px;height:20px}.community-links .free-social{gap:8px}.free-resources.free-invitation{margin:28px 0}.free-catalog{scroll-margin-top:140px}
@media(hover:hover) and (pointer:fine){.hero-materials a:hover{box-shadow:0 18px 36px #17315428}.catalog-grid .card:hover{box-shadow:0 12px 30px #17315416!important}}
@media(max-width:1000px){.home-hero{padding:32px 28px;gap:20px;min-height:380px}.home-hero .hero-materials{height:300px}.benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;padding-inline:14px}.free-invitation{gap:24px;padding:32px}}
@media(max-width:760px){.home-hero{width:calc(100% - 24px);grid-template-columns:1fr;padding:28px 24px;gap:24px;margin-top:18px;border-radius:28px}.home-hero h1{font-size:36px;margin-top:12px}.home-hero p{font-size:16px;line-height:1.6;max-width:550px;margin-bottom:22px}.home-hero .hero-materials{height:340px;width:min(100%,470px);margin:auto}.hero-actions .btn{font-size:14px;padding:13px 16px}.benefits{padding-top:8px;padding-bottom:18px;font-size:14px}.benefits span{white-space:normal}.free-invitation{grid-template-columns:1fr;gap:18px;padding:26px 24px;border-radius:28px}.free-invitation .free-scene{max-width:210px}.free-invitation h1,.free-invitation h2{font-size:28px}.free-invitation p{font-size:16px}.free-catalog{scroll-margin-top:20px}.community-links{gap:14px}.home-hero .kicker{font-size:11px}}
@media(max-width:400px){.home-hero h1{font-size:31px}.home-hero .hero-materials{height:275px}.hero-materials .material-slide{top:42px}.hero-actions{gap:8px}.hero-actions .btn{width:100%;text-align:center}.benefits{gap:12px;font-size:13px}.community-links{align-items:flex-start;flex-direction:column}.free-invitation h1,.free-invitation h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){.hero-materials a{transition:none}html{scroll-behavior:auto}}

/* Compact first screen: all real covers stay inside the composition. */
.home-hero{padding:28px 36px;min-height:0;gap:24px;margin-block:24px 16px;border-radius:30px;grid-template-columns:1.15fr .85fr}
.home-hero h1{font-size:38px;margin:12px 0 16px}.home-hero p{font-size:16px;line-height:1.6;margin-bottom:20px;max-width:490px}.home-hero .btn{font-size:14px;padding:12px 16px}.home-hero .hero-materials{height:280px;max-width:420px;margin-inline:auto}
.hero-materials .material-sheet{width:32%;left:1%;top:9px}.hero-materials .material-slide{width:68%;right:1%;top:26px}.home-hero .hero-materials .material-slide img{height:204px;width:100%;object-fit:contain}.hero-materials .material-game{width:35%;left:14%;bottom:4px}.home-hero .hero-materials .material-tools{width:28%;right:0;bottom:12px}.hero-star{font-size:28px;top:0;right:18%}.benefits{padding-top:12px;padding-bottom:18px}
@media(max-width:1000px){.home-hero{padding:26px;gap:20px}.home-hero h1{font-size:32px}.home-hero .hero-materials{height:260px}.home-hero .hero-materials .material-slide img{height:185px}}
@media(max-width:760px){.home-hero{grid-template-columns:1fr;padding:24px;gap:20px;margin-top:18px}.home-hero h1{font-size:30px;line-height:1.15}.home-hero p{font-size:16px}.home-hero .hero-materials{width:min(100%,360px);height:250px}.home-hero .hero-materials .material-slide img{height:175px}.hero-materials .material-sheet{width:30%}.hero-materials .material-game{width:33%}.home-hero .hero-materials .material-tools{width:27%}}
@media(max-width:400px){.home-hero{padding:22px 20px}.home-hero h1{font-size:28px}.home-hero .hero-materials{height:225px}.home-hero .hero-materials .material-slide img{height:155px}.hero-actions .btn{width:auto;font-size:13px;padding:11px 12px}}

/* The original logo accompanies the wordmark on every page. */
.site-nav .brand{display:inline-flex;align-items:center;gap:9px;min-width:0}.brand-logo{display:block;width:44px;height:44px;object-fit:contain;flex:none}.is-compact .brand-logo{width:34px;height:34px}
@media(max-width:760px){.site-nav .brand{gap:7px}.brand-logo{width:36px;height:36px}.is-compact .brand-logo{width:36px;height:36px}}
