:root{
  --bg:#f8f4ef;
  --surface:#fffdf9;
  --surface-2:#efe6dc;
  --text:#1d1714;
  --muted:#75685f;
  --brand:#8a4f2f;
  --brand-dark:#5f321d;
  --accent:#e8b77f;
  --line:rgba(29,23,20,.12);
  --shadow:0 24px 70px rgba(70,45,25,.16);
  --radius:28px;
  --container:1180px;
  --page-gutter:32px;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:24px;
  --space-6:32px;
  --space-7:48px;
  --space-8:64px;
  --space-9:80px;
  --radius-sm:12px;
  --radius-md:16px;
  --radius-lg:24px;
  --focus-ring:0 0 0 4px rgba(138,79,47,.2);
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scrollbar-gutter:stable}
body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.55}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,textarea,select{font:inherit}
.container{width:min(var(--container),calc(100% - var(--page-gutter) - var(--page-gutter)));margin:0 auto}
:where(a,button,input,textarea,select,[tabindex]):focus-visible{outline:3px solid var(--brand);outline-offset:3px;box-shadow:var(--focus-ring)}
.section{padding:78px 0}
.site-header{position:sticky;top:0;z-index:20;background:rgba(248,244,239,.9);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.logo{font-weight:800;letter-spacing:-.03em;display:flex;align-items:center;gap:9px;font-size:20px;color:var(--text)}
.logo img{display:block;flex-shrink:0}
.logo-word{line-height:1}
.logo-word em{font-style:normal;color:var(--brand)}
.nav{display:flex;gap:24px;color:var(--muted);font-size:15px}
.nav a:hover{color:var(--text)}
.header-cta{position:fixed;top:12px;right:16px;z-index:160;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;border-radius:999px;background:var(--brand);color:#fff;font-weight:800;box-shadow:0 18px 42px rgba(95,50,29,.28)}
.header-cta:hover{background:var(--brand-dark)}
.header-auth-actions{position:fixed;top:12px;right:16px;z-index:160;display:flex;align-items:center;gap:8px}
.header-auth-actions .header-cta{position:static;top:auto;right:auto;z-index:auto}
.header-login-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:rgba(255,253,249,.94);color:var(--text);font-weight:800;cursor:pointer;box-shadow:0 12px 32px rgba(70,45,25,.1)}
.header-login-btn:hover{background:#fff;color:var(--brand-dark)}
.hero{padding-top:54px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:54px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;color:var(--brand);font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:12px}
.eyebrow:before{content:"";width:32px;height:1px;background:var(--brand)}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(38px,6vw,72px);line-height:.95;letter-spacing:-.07em;margin-bottom:22px}
h2{font-size:clamp(30px,4vw,48px);line-height:1;letter-spacing:-.05em;margin-bottom:18px}
h3{font-size:20px;line-height:1.2;margin-bottom:8px}
.lead{font-size:20px;color:var(--muted);max-width:620px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin:30px 0}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:999px;border:0;cursor:pointer;font-weight:800;transition:.2s;font-family:inherit;font-size:inherit}
.btn-primary{background:var(--brand);color:#fff;box-shadow:0 14px 34px rgba(138,79,47,.26)}
.btn-primary:hover{background:var(--brand-dark);transform:translateY(-1px)}
.btn-secondary{background:#fff;color:var(--text);border:1px solid var(--line)}
.btn-light{background:#fff;color:var(--brand-dark)}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:560px}
.stats div{padding:18px;border-radius:20px;background:rgba(255,255,255,.7);border:1px solid var(--line)}
.stats strong{display:block;font-size:26px;line-height:1}
.stats span{font-size:13px;color:var(--muted)}
.hero-visual{position:relative;min-height:630px;display:grid;place-items:center}
.phone-card{position:relative;width:min(430px,100%);padding:16px;border-radius:38px;background:#201915;box-shadow:var(--shadow);transform:rotate(2deg)}
.phone-top{height:26px;display:flex;gap:6px;justify-content:center;align-items:center}
.phone-top span{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.35)}
.compare-card{background:#fff;border-radius:28px;overflow:hidden;padding:12px}
.compare-card .compare-labels{display:flex;justify-content:space-between;font-size:13px;font-weight:800;color:var(--muted);padding:2px 4px 10px;position:static;width:auto;color:var(--muted)}
.compare-images{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.compare-images img{height:420px;width:100%;object-fit:cover;object-position:top;border-radius:20px;background:#eee}
.mini-process{padding:18px 34px 10px;display:flex;align-items:center}
.dot{width:14px;height:14px;border-radius:50%;background:#fff}
.line{flex:1;height:2px;background:rgba(255,255,255,.35)}
.floating-card{position:absolute;padding:14px 18px;border-radius:18px;background:#fff;box-shadow:var(--shadow);font-weight:800}
.floating-card-one{left:0;top:130px}
.floating-card-two{right:4px;bottom:120px}
.section-head{text-align:center;max-width:720px;margin:0 auto 36px}
.section-head p{color:var(--muted)}
.section-head.left{text-align:left;margin:0}
.split{display:flex;justify-content:space-between;gap:30px;max-width:none;text-align:left;align-items:end}
.split p{max-width:430px}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.step-card,.price-card,.tryon-shell,.case-card,.benefit-item,details{background:var(--surface);border:1px solid var(--line);box-shadow:0 16px 50px rgba(70,45,25,.07)}
.step-card{border-radius:var(--radius);padding:30px}
.step-number{display:inline-flex;margin-bottom:44px;color:var(--brand);font-weight:900}
.step-card p{color:var(--muted)}
.case-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.case-card{border-radius:var(--radius);padding:12px}
.case-card.wide{grid-column:1/-1}
.case-images{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}
.case-images figure{position:relative;margin:0;background:var(--surface-2);border-radius:22px;overflow:hidden}
.case-images img{width:100%;height:360px;object-fit:cover;object-position:top}
.case-images figcaption{position:absolute;left:10px;top:10px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.88);font-size:12px;font-weight:800}
.benefits-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:42px;align-items:start}
.benefit-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.benefit-item{border-radius:24px;padding:24px;display:flex;gap:16px}
.benefit-item span{font-size:26px}
.benefit-item p{color:var(--muted);margin-bottom:0}
.tryon-shell{border-radius:36px;padding:34px;background:linear-gradient(180deg,#fffdf9,#f2e7dc)}
.tryon-trust-line{margin:0 auto 18px;padding:12px 16px;border-radius:16px;background:rgba(255,255,255,.82);border:1px solid rgba(138,79,47,.16);font-weight:800;text-align:center}
.tryon-flash{margin:0 auto 14px;padding:12px 16px;border-radius:12px;font-size:14px;font-weight:600;text-align:center}
.tryon-flash--success{background:#d4edda;color:#155724}
.tryon-flash--error{background:#f8d7da;color:#721c24}
.tryon-flash--info{background:#d1ecf1;color:#0c5460}
.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.upload-card{aspect-ratio:3/4;border:1.5px dashed rgba(138,79,47,.35);border-radius:28px;background:#fff;display:flex;flex-direction:column;align-items:stretch;justify-content:stretch;text-align:center;padding:0;cursor:default;position:relative;overflow:hidden}
.upload-card-actions{position:absolute;left:14px;right:14px;bottom:46px;display:flex;justify-content:center;z-index:4}
.upload-action-btn{min-height:42px;padding:0 18px;border-radius:999px;border:1px solid rgba(138,79,47,.22);background:rgba(255,253,249,.94);color:var(--brand-dark);font-weight:800;cursor:pointer;box-shadow:0 10px 28px rgba(70,45,25,.08)}
.upload-action-btn:hover{background:#fff}
.upload-card-tip{position:absolute;left:16px;right:16px;bottom:14px;z-index:4;font-size:12px;line-height:1.35;color:var(--muted);background:rgba(255,253,249,.9);padding:6px 8px;border-radius:10px}
.generate-btn{width:100%;margin-top:18px;font-size:18px}
.generate-btn.is-ready{animation:ctaPulse 1.6s ease-in-out infinite;box-shadow:0 18px 44px rgba(138,79,47,.36)}
.price{background:#211914;color:#fff}
.price p{color:rgba(255,255,255,.68)}
.price .eyebrow{color:var(--accent)}
.price .eyebrow:before{background:var(--accent)}
.price-grid{display:grid;grid-template-columns:1fr 420px;gap:36px;align-items:center}
.price-card{color:var(--text);border-radius:32px;padding:30px}
.price-badge{display:inline-flex;padding:8px 12px;border-radius:999px;background:#f5eee7;color:var(--brand);font-weight:900;font-size:13px}
.price-card strong{display:block;font-size:64px;letter-spacing:-.06em;margin:16px 0 0}
.price-card ul{padding-left:20px;color:var(--muted);margin:22px 0}
.narrow{max-width:820px}
.seo-text{background:#fffdf9}
.seo-text p{color:var(--muted)}
details{border-radius:20px;padding:20px;margin-bottom:12px}
summary{cursor:pointer;font-weight:900}
details p{color:var(--muted);margin:12px 0 0}
.final-cta{padding:70px 0;background:linear-gradient(135deg,var(--brand),#2b1710);color:#fff}
.final-cta-inner{text-align:center}
.final-cta p{color:rgba(255,255,255,.72)}

/* ====== Animate photo ====== */
.animate-page{padding:58px 0 88px;overflow:hidden}
.animate-hero{display:grid;grid-template-columns:minmax(0,.82fr) minmax(580px,1.18fr);gap:46px;align-items:start}
.animate-copy{position:sticky;top:104px}
.animate-copy h1{max-width:650px;margin-bottom:20px}
.animate-demo-card{position:relative;min-height:410px;margin-top:30px;overflow:hidden;border-radius:30px;background:#211914;box-shadow:var(--shadow)}
.animate-demo-card img{width:100%;height:410px;object-fit:cover;object-position:center 20%}
.animate-demo-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 38%,rgba(20,13,10,.8))}
.animate-demo-card__overlay{position:absolute;z-index:2;left:22px;right:22px;bottom:22px;display:flex;align-items:center;gap:14px;color:#fff}
.animate-demo-card__overlay strong,.animate-demo-card__overlay small{display:block}
.animate-demo-card__overlay strong{font-size:17px}
.animate-demo-card__overlay small{color:rgba(255,255,255,.72)}
.animate-demo-card__play{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;padding-left:3px;border-radius:50%;background:#fff;color:var(--brand);box-shadow:0 12px 28px rgba(0,0,0,.25)}
.animate-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px}
.animate-facts div{padding:18px;border-radius:20px;background:rgba(255,253,249,.72);border:1px solid var(--line)}
.animate-facts strong{display:block;font-size:24px;line-height:1.1;margin-bottom:6px}
.animate-facts span{color:var(--muted);font-size:13px}
.animate-card{padding:30px;border-radius:32px;background:var(--surface);border:1px solid var(--line);box-shadow:0 22px 68px rgba(70,45,25,.1)}
.animate-card__head{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:14px;margin-bottom:16px}
.animate-card__head h2{margin:0 0 5px;font-size:25px;line-height:1.08;letter-spacing:-.04em}
.animate-card__head p{margin:0;color:var(--muted);font-size:14px}
.animate-step-badge{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--brand);color:#fff;font-weight:900}
.animate-upload{position:relative;display:flex;align-items:center;justify-content:center;min-height:300px;border:1.5px dashed rgba(138,79,47,.38);border-radius:24px;background:linear-gradient(145deg,#f7f0e9,#efe5db);overflow:hidden;cursor:pointer;text-align:center;transition:.2s}
.animate-upload:hover{border-color:var(--brand);transform:translateY(-1px)}
.animate-upload input{display:none}
.animate-upload img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:var(--surface);display:none}
.animate-upload.has-preview img{display:block}
.animate-upload.is-dragging{border-color:var(--brand);background:rgba(138,79,47,.08)}
.animate-upload__placeholder{position:relative;z-index:2;display:grid;gap:6px;padding:18px;color:var(--text)}
.animate-upload__placeholder strong{font-size:22px}
.animate-upload__placeholder small{color:var(--muted)}
.animate-upload__icon{display:grid;place-items:center;width:50px;height:50px;margin:0 auto 7px;border-radius:50%;background:#fff;color:var(--brand);font-size:26px;box-shadow:0 10px 28px rgba(70,45,25,.1)}
.animate-upload.has-preview .animate-upload__placeholder{position:absolute;left:16px;right:16px;bottom:16px;padding:10px 12px;border-radius:14px;background:rgba(255,253,249,.9);box-shadow:0 10px 30px rgba(70,45,25,.08)}
.animate-upload.has-preview .animate-upload__placeholder strong{font-size:14px}
.animate-upload.has-preview .animate-upload__placeholder small,.animate-upload.has-preview .animate-upload__icon{display:none}
.animate-upload-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:9px;color:var(--muted);font-size:12px}
.animate-upload-meta button{padding:0;border:0;background:transparent;color:var(--brand);font-weight:800;cursor:pointer}
.animate-field{display:grid;gap:8px;margin-top:18px}
.animate-field__label{font-size:13px;font-weight:900;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.animate-field textarea{width:100%;resize:vertical;min-height:132px;padding:16px;border-radius:18px;border:1px solid var(--line);background:#fff;color:var(--text);outline:none}
.animate-field textarea:focus{border-color:rgba(138,79,47,.55);box-shadow:0 0 0 4px rgba(138,79,47,.08)}
.animate-selected-effect{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:10px 12px;border-radius:13px;background:#f5eee7}
.animate-selected-effect span{color:var(--muted);font-size:12px}
.animate-selected-effect strong{font-size:13px}
.animate-selected-effect em{padding:4px 8px;border-radius:999px;background:#efe0ff;color:#8033b5;font-size:10px;font-style:normal;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.animate-prompt-meta{display:flex;justify-content:space-between;gap:20px;color:var(--muted)}
.animate-prompt-meta small:last-child{white-space:nowrap}
.animate-order-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0 14px;padding:13px;border-radius:18px;background:#211914;color:#fff}
.animate-order-summary div{padding:5px 8px}
.animate-order-summary span,.animate-order-summary strong{display:block}
.animate-order-summary span{margin-bottom:3px;color:rgba(255,255,255,.58);font-size:11px}
.animate-order-summary strong{font-size:13px}
.animate-submit{width:100%}
.animate-submit-note{margin:9px 0 0;text-align:center;color:var(--muted);font-size:12px}
.animate-status{margin-top:18px}
.animate-status__row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}
.animate-status p{margin:0;color:var(--text);font-size:14px;font-weight:800}
.animate-status small{display:block;margin-top:8px;color:var(--muted);font-size:11px}
.animate-status .progress{height:9px;overflow:hidden;border-radius:999px;background:#e7ded5}
.animate-status .progress span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--brand),var(--accent));transition:width .18s linear}
.animate-result{margin-top:22px;display:grid;gap:14px;padding-top:22px;border-top:1px solid var(--line)}
.animate-result__head{display:flex;align-items:center;justify-content:space-between;gap:18px}
.animate-result__head .eyebrow{margin-bottom:6px}
.animate-result__head h3{margin:0;font-size:24px}
.animate-result video{width:100%;max-height:620px;border-radius:20px;background:#211914;cursor:zoom-in}
.animate-result__actions{display:flex;flex-wrap:wrap;gap:9px}
.animate-result__actions .btn{flex:1 1 150px}
.animate-error{margin:14px 0 0;padding:12px 14px;border-radius:14px;background:#f8d7da;color:#721c24;font-size:14px}
.animate-card.is-busy{box-shadow:0 22px 68px rgba(70,45,25,.06)}
.animate-card.is-busy .animate-upload,.animate-card.is-busy .animate-prompt-picker,.animate-card.is-busy .animate-crazy-launcher,.animate-card.is-busy .animate-field,.animate-card.is-busy .animate-order-summary{opacity:.62}
.animate-use-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.animate-use-card{overflow:hidden;border:1px solid var(--line);border-radius:26px;background:var(--surface);box-shadow:0 16px 50px rgba(70,45,25,.07)}
.animate-use-card img{width:100%;height:330px;object-fit:cover;object-position:top}
.animate-use-card div{padding:22px}
.animate-use-card div>span{color:var(--brand);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.animate-use-card h3{margin-top:7px}
.animate-use-card p{margin:0;color:var(--muted)}
.animate-how{background:#211914;color:#fff}
.animate-how .section-head p,.animate-how .step-card p{color:rgba(255,255,255,.65)}
.animate-how .step-card{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.1);box-shadow:none}
.animate-how .step-number{color:var(--accent)}
.animate-guidance__grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:start}
.animate-checklist{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0;padding:0;list-style:none}
.animate-checklist li{padding:22px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}
.animate-checklist strong,.animate-checklist span{display:block}
.animate-checklist strong{margin-bottom:6px}
.animate-checklist span{color:var(--muted);font-size:14px}
.animate-related p{max-width:700px;margin:0 auto 26px}

/* ====== Contacts ====== */
.contacts-page{padding:70px 0 88px}
.contacts-hero{max-width:760px;margin-bottom:34px}
.contacts-hero h1{margin-bottom:18px}
.contacts-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.contacts-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px;margin-bottom:18px}
.contact-card{min-height:220px;padding:26px;border-radius:24px;background:var(--surface);border:1px solid var(--line);box-shadow:0 16px 50px rgba(70,45,25,.07);display:flex;flex-direction:column;align-items:flex-start}
.contact-card--primary{background:#211914;color:#fff}
.contact-card__label{display:inline-flex;margin-bottom:18px;padding:7px 10px;border-radius:999px;background:rgba(138,79,47,.1);color:var(--brand);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.contact-card--primary .contact-card__label{background:rgba(255,255,255,.12);color:var(--accent)}
.contact-card__value{display:block;margin-bottom:14px;font-size:clamp(22px,2.6vw,32px);line-height:1.08;font-weight:900;letter-spacing:-.03em}
.contact-card a.contact-card__value:hover{color:var(--brand)}
.contact-card--primary a.contact-card__value:hover{color:var(--accent)}
.contact-card p{margin:auto 0 0;color:var(--muted)}
.contact-card--primary p{color:rgba(255,255,255,.72)}
.contacts-details{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.contacts-panel{padding:28px;border-radius:24px;background:rgba(255,253,249,.72);border:1px solid var(--line)}
.contacts-panel h2{font-size:30px;letter-spacing:-.04em;margin-bottom:18px}
.contacts-panel--dark{background:linear-gradient(135deg,var(--brand),#2b1710);color:#fff}
.contacts-panel--dark h2{color:#fff}
.contacts-list{margin:0;display:grid;gap:14px}
.contacts-list div{display:grid;grid-template-columns:170px 1fr;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.contacts-list div:last-child{padding-bottom:0;border-bottom:0}
.contacts-list dt{color:var(--muted);font-weight:800}
.contacts-list dd{margin:0;font-weight:800}
.contacts-checklist{margin:0;padding:0;list-style:none;display:grid;gap:12px}
.contacts-checklist li{position:relative;padding-left:28px;color:rgba(255,255,255,.78)}
.contacts-checklist li:before{content:"";position:absolute;left:0;top:.55em;width:10px;height:10px;border-radius:50%;background:var(--accent)}
.contacts-legal{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.contacts-legal a{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border-radius:999px;background:rgba(255,253,249,.72);border:1px solid var(--line);color:var(--muted);font-weight:800}
.contacts-legal a:hover{color:var(--text);background:#fff}

/* ====== Legal documents ====== */
.legal-page--document{padding:70px 0 88px}
.legal-simple{max-width:840px}
.legal-simple h1{margin-bottom:18px}
.legal-simple a{color:var(--brand);font-weight:800}
.legal-simple a:hover{color:var(--brand-dark)}
.legal-updated{display:inline-flex;margin-top:8px;padding:8px 12px;border-radius:999px;background:rgba(255,253,249,.72);border:1px solid var(--line);color:var(--muted);font-size:13px;font-weight:800}
.legal-simple-section{margin-top:34px}
.legal-simple-section h2{font-size:30px;letter-spacing:-.04em;margin-bottom:12px}
.legal-simple-section p{color:var(--muted);margin-bottom:12px}
.legal-simple-section ul{margin:0;padding-left:20px;color:var(--muted)}
.legal-simple-section li+li{margin-top:9px}

@media (max-width:920px){
  .nav{display:none}
  .hero-grid,.benefits-grid,.price-grid,.animate-grid{grid-template-columns:1fr}
  .animate-copy{position:static}
  .hero-visual{min-height:auto}
  .steps-grid,.case-grid,.benefit-list,.upload-grid{grid-template-columns:1fr}
  .contacts-grid,.contacts-details{grid-template-columns:1fr}
  .case-card.wide{grid-column:auto}
  .split{display:block}
  .price-card{max-width:460px}
  .floating-card{display:none}
  .compare-images img{height:360px}
}
@media (max-width:560px){
  .container{width:min(100% - 22px,1180px)}
  .section{padding:54px 0}
  .header-inner{min-height:64px}
  .header-cta{top:10px;right:10px;min-height:42px;padding:10px 14px;font-size:13px}
  .header-auth-actions{top:10px;right:10px;gap:6px}
  .header-auth-actions .header-cta,.header-login-btn{min-height:42px;padding:10px 13px;font-size:13px}
  h1{font-size:40px}
  .lead{font-size:17px}
  .animate-page{padding:46px 0 62px}
  .animate-facts{grid-template-columns:1fr}
  .animate-card{padding:18px;border-radius:22px}
  .animate-upload{min-height:330px;border-radius:18px}
  .contacts-page{padding:46px 0 62px}
  .contacts-actions .btn{width:100%}
  .contact-card{min-height:auto;padding:22px;border-radius:20px}
  .contacts-list div{grid-template-columns:1fr;gap:3px}
  .legal-page--document{padding:46px 0 62px}
  .legal-simple-section{margin-top:28px}
  .legal-simple-section h2{font-size:24px}
  .hero-actions,.stats{grid-template-columns:1fr}
  .stats{display:grid}
  .phone-card{border-radius:28px;padding:10px}
  .compare-card{border-radius:22px}
  .compare-images img{height:310px}
  .case-images{grid-template-columns:1fr}
  .case-images img{height:360px}
  .tryon-shell{padding:18px;border-radius:26px}
  .catalog-grid{grid-template-columns:1fr}
  .price-card strong{font-size:52px}
}

/* ====== Compare slider ====== */
.compare{position:relative;overflow:hidden;border-radius:12px;background:#eee;touch-action:none;user-select:none;-webkit-user-select:none}
.compare img{width:100%;height:clamp(380px,48vw,640px);display:block;object-fit:cover;object-position:top center;pointer-events:none;user-select:none;-webkit-user-drag:none}
.img-after{position:relative;z-index:1}
.img-before{position:absolute;top:0;left:0;z-index:2;clip-path:inset(0 50% 0 0)}
.compare .compare-labels{position:absolute;top:10px;width:100%;display:flex;justify-content:space-between;padding:0 10px;z-index:4;font-size:12px;color:#fff;font-weight:600}
.compare .compare-labels span{background:rgba(0,0,0,.6);padding:4px 8px;border-radius:6px}
.slider{position:absolute;top:0;left:50%;width:2px;height:100%;background:#fff;z-index:3;cursor:ew-resize;transform:translateX(-1px);pointer-events:none}
.handle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:28px;height:28px;background:#fff;border-radius:50%;border:2px solid #000;box-shadow:0 8px 24px rgba(0,0,0,.18);pointer-events:none}

#resultCompare .img-after{height:auto;object-fit:unset}
#resultCompare .img-before{height:100%}

/* ====== Upload zone (real tryon) ====== */
.upload-zone{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;cursor:pointer;border-radius:inherit}
.upload-zone input{display:none}
.upload-zone .upload-icon{font-size:34px;margin-bottom:8px}
.upload-zone strong{font-size:16px;margin-bottom:4px}
.upload-zone small{color:var(--muted);font-size:13px}
.preloader{position:absolute;inset:0;display:none;align-items:center;justify-content:center;background:rgba(255,253,249,.88);border-radius:inherit;z-index:3}
.preloader.active{display:flex}
.spinner{width:36px;height:36px;border-radius:50%;border:3px solid rgba(138,79,47,.18);border-top-color:var(--brand);animation:spin .9s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.preview-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;display:none;border-radius:inherit;z-index:1;background:var(--surface)}
.preview-img.visible{display:block}
.upload-card.disabled{opacity:.6;pointer-events:none}
.upload-card.drag-over{border-color:var(--brand);background:rgba(138,79,47,.04)}

/* ====== Tryon settings ====== */
.tryon-settings{margin-top:18px;padding:20px;background:rgba(255,255,255,.55);border-radius:20px;border:1px solid var(--line);display:flex;flex-direction:column;gap:14px}
.tryon-settings-row{display:flex;flex-direction:column;gap:8px}
.garment-label{font-size:13px;font-weight:700;color:var(--muted)}
.zone-tabs{display:flex;gap:8px;flex-wrap:wrap}
.zone-tab{padding:8px 16px;border-radius:999px;font-size:14px;font-weight:700;background:var(--surface-2);color:var(--muted);cursor:pointer;border:1px solid var(--line);transition:.15s;user-select:none}
.zone-tab.active{background:var(--brand);color:#fff;border-color:var(--brand)}
.garment-row{display:flex;flex-wrap:wrap;gap:8px}
.garment-chip{padding:7px 14px;border-radius:999px;font-size:13px;font-weight:700;background:var(--surface-2);color:var(--muted);cursor:pointer;border:1px solid var(--line);transition:.15s;font-family:inherit}
.garment-chip.active{background:var(--brand);color:#fff;border-color:var(--brand)}

/* ====== Generate button states ====== */
.generate-btn:disabled{opacity:.45;cursor:not-allowed;transform:none!important;box-shadow:none}
.generate-btn.loading{opacity:.65;pointer-events:none}

/* ====== Result section ====== */
#resultCard{display:none;margin-top:22px}
#resultCard.visible{display:block}
.result-status-bar{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:14px;font-weight:600;color:var(--muted)}
.status-dot{width:8px;height:8px;border-radius:50%;background:var(--muted);display:inline-block;flex-shrink:0}
.status-dot.pulse{background:var(--brand);animation:statusPulse 1.2s ease-in-out infinite}
.status-dot.success{background:#27ae60}
.status-dot.error{background:#c0392b}
@keyframes statusPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.65)}}
@keyframes ctaPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.02)}}

/* Generation animation frame */
.generation-stage{position:relative;overflow:hidden;display:flex;justify-content:center;border-radius:20px}
.generation-frame{position:relative;width:100%;height:480px;flex:0 0 auto;border-radius:20px;overflow:hidden;background:#f5eee7}
.generation-media{position:absolute;inset:0;overflow:hidden}
.generation-preview,.generation-cover,.generation-noise,.generation-vignette{position:absolute;inset:0}
.generation-preview{width:100%;height:100%;object-fit:contain;object-position:center center;transform:scale(1.18);filter:blur(72px) saturate(.72) brightness(.9) contrast(.88);transition:filter 1.8s ease,transform 1.8s ease,opacity 1.8s ease}
.generation-cover{background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,.08)),radial-gradient(circle at 50% 18%,rgba(255,255,255,.24),transparent 34%),radial-gradient(circle at 50% 86%,rgba(138,79,47,.18),transparent 30%);backdrop-filter:blur(18px);transition:opacity 1.8s ease,backdrop-filter 1.8s ease,background 1.8s ease}
.generation-noise{background-image:linear-gradient(90deg,rgba(255,255,255,.06) 0,rgba(255,255,255,0) 12%,rgba(255,255,255,.04) 24%,rgba(255,255,255,0) 36%,rgba(255,255,255,.05) 48%,rgba(255,255,255,0) 60%,rgba(255,255,255,.03) 72%,rgba(255,255,255,0) 84%,rgba(255,255,255,.04) 100%);opacity:.55;mix-blend-mode:screen;animation:noiseShift 7s linear infinite}
.generation-vignette{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.1)),radial-gradient(circle at center,transparent 42%,rgba(36,22,14,.22) 100%)}

.generation-frame.stage-1 .generation-preview{transform:scale(1.22);filter:blur(78px) saturate(.65) brightness(.86) contrast(.82)}
.generation-frame.stage-1 .generation-cover{backdrop-filter:blur(24px)}
.generation-frame.stage-2 .generation-preview{transform:scale(1.2);filter:blur(62px) saturate(.72) brightness(.9) contrast(.86)}
.generation-frame.stage-2 .generation-cover{backdrop-filter:blur(18px)}
.generation-frame.stage-3 .generation-preview{transform:scale(1.18);filter:blur(46px) saturate(.78) brightness(.94) contrast(.9)}
.generation-frame.stage-3 .generation-cover{backdrop-filter:blur(13px)}
.generation-frame.stage-4 .generation-preview{transform:scale(1.15);filter:blur(32px) saturate(.84) brightness(.98) contrast(.94)}
.generation-frame.stage-4 .generation-cover{backdrop-filter:blur(9px)}
.generation-frame.stage-5 .generation-preview{transform:scale(1.12);filter:blur(20px) saturate(.9) brightness(1.02) contrast(.98)}
.generation-frame.stage-5 .generation-cover{backdrop-filter:blur(4px);background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.04)),radial-gradient(circle at 50% 18%,rgba(255,255,255,.14),transparent 34%),radial-gradient(circle at 50% 86%,rgba(138,79,47,.1),transparent 30%)}

.generation-frame.is-ready .generation-preview{transform:scale(1);filter:none}
.generation-frame.is-ready .generation-cover,.generation-frame.is-ready .generation-noise,.generation-frame.is-ready .generation-vignette{opacity:0;pointer-events:none}

@keyframes noiseShift{0%{transform:translateX(-8%)}50%{transform:translateX(8%)}100%{transform:translateX(-8%)}}

#resultPlaceholder{padding:14px 4px 4px;text-align:center}
#resultPlaceholder p{margin:0 0 10px;font-size:14px;font-weight:600;color:var(--muted)}
.progress{height:8px;background:rgba(138,79,47,.12);border-radius:999px;overflow:hidden;width:100%;margin-top:4px}
.progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--brand),var(--accent),var(--brand));background-size:200% 100%;animation:progressGlow 1.8s linear infinite;transition:width .2s linear}
@keyframes progressGlow{0%{background-position:0 0}100%{background-position:200% 0}}
#resultFooter{display:none;margin-top:14px}
#resultFooter.visible{display:flex;justify-content:center;gap:12px}

/* ====== Tryon history ====== */
.tryon-history{margin-top:14px;padding:14px 18px;background:var(--surface-2);border-radius:16px;border:1px solid var(--line)}
.tryon-history ul{list-style:none;padding:0;margin:4px 0 0;display:flex;flex-direction:column;gap:4px}
.link-button{background:none;border:0;padding:0;cursor:pointer;color:var(--brand);font-size:12px;font-family:monospace;text-decoration:underline}

/* ====== User avatar ====== */
.user-avatar{position:relative;display:flex;align-items:center;gap:8px;cursor:pointer;padding:6px 12px 6px 6px;border-radius:999px;background:rgba(29,23,20,.06);border:1px solid var(--line)}
.avatar-circle{width:32px;height:32px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:700;flex-shrink:0}
#userName{font-size:14px;font-weight:600;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-menu{display:none;position:absolute;top:calc(100% + 8px);right:0;min-width:180px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:8px;box-shadow:0 8px 24px rgba(70,45,25,.12);z-index:100;flex-direction:column;gap:2px}
.user-menu.open{display:flex}
.user-menu-item{display:block;padding:9px 14px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;background:none;border:0;width:100%;text-align:left;color:var(--text);font-family:inherit}
.user-menu-item:hover{background:var(--surface-2)}
.user-menu-item.danger{color:#c0392b}

/* ====== Auth modal ====== */
.modal-overlay{display:none;position:fixed;inset:0;background:rgba(29,23,20,.55);backdrop-filter:blur(4px);z-index:200;align-items:center;justify-content:center;padding:20px}
.modal-overlay.open{display:flex}
.modal{background:var(--surface);border:1px solid var(--line);border-radius:24px;width:min(420px,100%);box-shadow:0 24px 80px rgba(70,45,25,.22);overflow:hidden}
.modal-catalog{width:min(760px,100%)}
.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 0}
.modal-logo{font-weight:900;font-size:18px;letter-spacing:.02em}
.modal-logo span{color:var(--brand)}
.modal-close{background:none;border:0;font-size:22px;cursor:pointer;color:var(--muted);line-height:1;padding:4px 8px}
.modal-tabs{display:flex;gap:4px;padding:16px 24px 0}
.modal-tab{padding:8px 16px;border-radius:999px;font-size:14px;font-weight:700;background:none;border:0;cursor:pointer;color:var(--muted);font-family:inherit}
.modal-tab.active{background:var(--brand);color:#fff}
.modal-body{padding:16px 24px 24px}
.form-panel{display:none;flex-direction:column;gap:14px}
.form-panel.active{display:flex}
.form-group{display:flex;flex-direction:column;gap:6px}
.form-label{font-size:13px;font-weight:700;color:var(--muted)}
.form-input{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:#fff;font-size:15px;color:var(--text);outline:none;font-family:inherit}
.form-input:focus{border-color:var(--brand)}
.form-input.has-error{border-color:#c0392b}
.field-error{display:none;font-size:12px;color:#c0392b;font-weight:600}
.field-error.visible{display:block}
.auth-form-error{padding:10px 14px;border-radius:10px;background:#fdf0ee;border:1px solid rgba(192,57,43,.25);color:#c0392b;font-size:13px;font-weight:600;margin-bottom:12px}
.btn-submit{width:100%;padding:14px;border-radius:12px;background:var(--brand);color:#fff;font-weight:800;font-size:15px;border:0;cursor:pointer;font-family:inherit}
.btn-submit:hover{background:var(--brand-dark)}
.btn-social{width:100%;padding:12px;border-radius:12px;background:var(--surface-2);color:var(--text);font-weight:700;font-size:14px;border:1px solid var(--line);cursor:pointer;font-family:inherit}
.modal-divider{text-align:center;color:var(--muted);font-size:13px}
.modal-footer-note{margin:0;font-size:12px;color:var(--muted);text-align:center;line-height:1.5}
.flash{padding:12px 16px;border-radius:12px;font-size:14px;font-weight:600;margin-bottom:4px}
.flash-success{background:#d4edda;color:#155724}
.flash-error{background:#f8d7da;color:#721c24}
.flash-info{background:#d1ecf1;color:#0c5460}
.flash_link{margin-top:8px}
.flash_link a{color:inherit;text-decoration:underline}
.catalog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.catalog-kicker,.catalog-title{margin:0}
.catalog-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--brand)}
.catalog-title{margin-top:6px;font-size:24px;font-weight:900;letter-spacing:-.04em}
.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.catalog-item{padding:0;border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden;text-align:left;cursor:pointer;transition:.18s;box-shadow:0 12px 28px rgba(70,45,25,.06)}
.catalog-item:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(70,45,25,.12)}
.catalog-item-media{display:block;aspect-ratio:3/4;background:var(--surface-2)}
.catalog-item-media img{width:100%;height:100%;object-fit:cover;object-position:top}
.catalog-item-body{display:flex;flex-direction:column;gap:4px;padding:12px 14px 14px}
.catalog-item-body strong{font-size:15px}
.catalog-item-body small{font-size:12px;color:var(--muted)}

/* ====== Cookie banner ====== */
.cookie-banner{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:min(500px,calc(100% - 32px));background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:16px 20px;display:flex;align-items:center;gap:16px;box-shadow:0 8px 30px rgba(70,45,25,.14);z-index:300;flex-wrap:wrap}
.cookie-banner__text{flex:1;font-size:13px;color:var(--muted);min-width:200px}
.cookie-banner__actions{display:flex;gap:8px}
.cookie-btn{padding:8px 16px;border-radius:999px;font-size:13px;font-weight:700;cursor:pointer;border:1px solid var(--line);background:var(--surface-2);color:var(--text);font-family:inherit}
.cookie-btn--primary{background:var(--brand);color:#fff;border-color:var(--brand)}

/* ====== Page wrapper ====== */
.page{display:flex;flex-direction:column;min-height:100vh}
.main{flex:1;padding:0}

/* ====== Footer ====== */
.site-footer{border-top:1px solid var(--line);padding:28px 0;background:var(--surface)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-copy{margin:0;font-size:13px;color:var(--muted)}
.footer-nav{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.footer-nav a:hover{color:var(--text)}

/* ====== Studio auth area ====== */
.studio-auth-area{display:flex;align-items:center}

/* ====== Responsive tryon ====== */
@media (max-width:920px){
  .tryon-shell{padding:20px}
  .upload-card{aspect-ratio:3/4}
}
@media (max-width:560px){
  .tryon-settings{padding:14px}
  .zone-tab{padding:6px 12px;font-size:13px}
  .garment-chip{padding:5px 10px;font-size:12px}
  .tryon-shell{padding:14px;border-radius:24px}
  .upload-card{aspect-ratio:3/4}
  .footer-inner{flex-direction:column;align-items:flex-start;gap:10px}
}

/* ====== Profile page ====== */
.profile-page{padding:48px 0 80px}
.profile-header{display:flex;align-items:center;gap:16px;margin-bottom:28px}
.profile-avatar{width:54px;height:54px;border-radius:50%;background:var(--brand);color:#fff;font-size:22px;font-weight:800;display:grid;place-items:center;flex-shrink:0}
.profile-info{flex:1;min-width:0}
.profile-email{font-weight:700;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-badge{display:inline-block;margin-top:4px;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px}
.profile-badge.verified{background:#e8f5e9;color:#2e7d32}
.profile-badge.unverified{background:#fff3e0;color:#e65100}
.profile-back{font-size:14px;color:var(--muted);white-space:nowrap;flex-shrink:0}
.profile-back:hover{color:var(--text)}

.profile-balance-card{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:24px 28px;margin-bottom:40px}
.profile-balance-info{display:flex;flex-direction:column;gap:4px}
.profile-balance-label{font-size:13px;font-weight:700;color:var(--muted)}
.profile-balance-value{font-size:32px;font-weight:900;letter-spacing:-.04em;line-height:1}
.profile-balance-value small{font-size:14px;font-weight:600;color:var(--muted);letter-spacing:0}
.profile-balance-hint{font-size:12px;color:var(--muted)}
.profile-topup-btn{flex-shrink:0;padding:12px 24px;font-size:15px}

.profile-modal-overlay{position:fixed;inset:0;background:rgba(29,23,20,.45);backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;z-index:200;padding:20px}
.profile-modal-overlay.open{display:flex}
.profile-modal{background:var(--surface);border-radius:24px;width:100%;max-width:400px;box-shadow:var(--shadow)}
.profile-modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 0;font-size:17px}
.profile-modal-close{background:none;border:0;font-size:22px;cursor:pointer;color:var(--muted);line-height:1;padding:0}
.profile-modal-body{padding:20px 24px 24px}
.profile-modal-hint{font-size:13px;color:var(--muted);margin:0 0 16px}
.topup-presets{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.topup-preset,.topupgen-preset{background:var(--surface-2);border:1.5px solid var(--line);border-radius:14px;padding:12px 14px;cursor:pointer;font-weight:700;font-size:14px;text-align:left;display:flex;flex-direction:column;gap:3px;transition:.15s}
.topup-preset span,.topupgen-preset span{font-size:12px;font-weight:600;color:var(--muted)}
.topup-preset.active,.topupgen-preset.active{border-color:var(--brand);background:rgba(138,79,47,.06);color:var(--brand)}
.topup-preset.active span,.topupgen-preset.active span{color:var(--brand)}
.topup-error{padding:10px 14px;border-radius:10px;background:#fdf0ee;border:1px solid rgba(192,57,43,.25);color:#c0392b;font-size:13px;font-weight:600;margin-bottom:12px}
.topup-pay-btn{width:100%;padding:14px;font-size:15px}

.profile-section-title{font-size:30px;font-weight:900;letter-spacing:-.04em;margin:4px 0 8px}
.history-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:22px}
.history-intro{max-width:620px;margin:0;color:var(--muted);font-size:14px;line-height:1.55}
.history-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.history-filter{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;color:var(--muted)}
.history-filter select{min-width:150px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--text);font:inherit}
.history-collection-add{min-height:40px;padding:0 14px;font-size:12px}
.history-collection-form{margin:-4px 0 22px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}
.history-collection-form>label{display:block;margin-bottom:8px;font-size:12px;font-weight:800}
.history-collection-form>div{display:flex;gap:8px}
.history-collection-form input{flex:1;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font:inherit}
.history-collection-form .btn{min-height:40px;padding:0 14px}
.history-collection-form small{display:block;margin-top:8px;color:#c0392b;font-weight:700}
.history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;min-height:60px}
.history-loading{grid-column:1/-1;display:flex;justify-content:center;padding:30px}
.history-spinner{width:32px;height:32px;border-radius:50%;border:3px solid rgba(138,79,47,.18);border-top-color:var(--brand);animation:spin .9s linear infinite}
.history-empty{padding:38px 24px;text-align:center;border:1px dashed var(--line);border-radius:20px;color:var(--muted);font-size:15px}
.history-empty strong,.history-empty span{display:block}
.history-empty strong{margin-bottom:6px;color:var(--text);font-size:18px}
.history-empty>div{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.history-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden}
.history-card-img{aspect-ratio:3/4;background:var(--surface-2);position:relative}
.history-card-img img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.history-card-img video{width:100%;height:100%;object-fit:cover;object-position:center;display:block;background:#111}
.history-media-open{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.history-media-open:focus-visible{outline:3px solid var(--brand);outline-offset:-3px}
.history-card-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:32px;color:var(--muted)}
.history-card-body{padding:12px;display:flex;flex-direction:column;gap:5px}
.history-card-badges{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
.history-type{display:inline-flex;align-self:flex-start;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:800;background:#efe6dc;color:#8a4f2f}
.history-type.video{background:#e8f0ff;color:#1f4ba8}
.history-type.tryon{background:#efe6dc;color:#8a4f2f}
.history-privacy{font-size:10px;font-weight:700;color:var(--muted)}
.history-privacy.publication-review_requested{color:#8a5b00}
.history-privacy.publication-published{color:#2e7d32}
.history-status{font-size:12px;font-weight:700;color:var(--muted)}
.history-status.status-ok{color:#2e7d32}
.history-status.status-err{color:#c0392b}
.history-date{font-size:11px;color:var(--muted)}
.history-billing,.history-retention{font-size:11px;line-height:1.35;color:var(--muted)}
.history-billing.refunded{color:#2e7d32;font-weight:700}
.history-billing.pending-refund{color:#a45b00}
.history-card-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:7px;padding-top:8px;border-top:1px solid var(--line)}
.history-open-btn,.history-repeat-btn{display:inline-flex;align-items:center;min-height:29px;padding:5px 8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font:inherit;font-size:11px;font-weight:800;color:var(--brand);text-decoration:none;cursor:pointer}
.history-animate-btn{display:inline-flex;align-items:center;min-height:29px;font-size:11px;font-weight:800;color:#fff;background:var(--brand);border:none;border-radius:8px;padding:5px 9px;cursor:pointer}
.history-animate-btn:disabled{opacity:.6;cursor:default}
.history-project-management{display:grid;gap:6px;margin-top:7px;padding-top:9px;border-top:1px dashed var(--line)}
.history-project-collection{width:100%;min-height:32px;padding:5px 8px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--text);font:inherit;font-size:11px}
.history-manage-btn{min-height:29px;padding:5px 8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.history-manage-btn:hover{border-color:var(--brand);color:var(--brand)}
.history-manage-btn.danger{color:#a33a2c}
.history-manage-btn.restore{color:#2e7d32}
.history-manage-btn:disabled,.history-project-collection:disabled{opacity:.55;cursor:wait}
.card-video-area{padding:8px 0}
.history-more-wrap{display:flex;justify-content:center;margin-top:28px}
.history-more-btn{padding:12px 32px;font-size:15px}
.profile-media-overlay{position:fixed;inset:0;z-index:260;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(18,13,10,.78);backdrop-filter:blur(5px)}
.profile-media-overlay.open{display:flex}
.profile-media-modal{width:min(960px,100%);max-height:calc(100vh - 40px);overflow-y:auto;scrollbar-gutter:stable;border-radius:22px;background:var(--surface);box-shadow:0 28px 90px rgba(0,0,0,.38);scrollbar-width:thin;scrollbar-color:rgba(138,79,47,.42) transparent}
.profile-media-modal::-webkit-scrollbar{width:9px}
.profile-media-modal::-webkit-scrollbar-thumb{border:2px solid var(--surface);border-radius:999px;background:rgba(138,79,47,.4)}
.profile-media-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--line);background:var(--surface)}
.profile-media-header strong{font-size:18px}
.profile-media-close{padding:4px 8px;border:0;background:transparent;color:var(--muted);font-size:28px;line-height:1;cursor:pointer}
.profile-media-body{padding:18px}
.profile-media-stage{min-height:520px;display:grid;place-items:center;overflow:hidden;border-radius:16px;background:#111}
.profile-media-stage img,.profile-media-stage video{display:block;max-width:100%;max-height:68vh;object-fit:contain}
.profile-media-controls{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin-top:14px}
.profile-media-label{text-align:center;font-weight:800}
.profile-media-nav{padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;font-weight:700;cursor:pointer}
.profile-media-nav:disabled{opacity:.45;cursor:default}
.generation-preview,#resultVideo,#animateVideo{cursor:zoom-in}
.animate-prompt-picker{margin:32px 0 14px;padding-top:28px;border-top:1px solid var(--line)}
.animate-card__head--effects{grid-template-columns:auto 1fr;align-items:center}
.animate-card__head--effects .eyebrow{margin:0 0 5px}
.animate-prompt-groups{display:grid;gap:16px}
.animate-prompt-group{padding:18px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}
.animate-prompt-group__head{margin-bottom:12px}
.animate-prompt-group__head p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
.animate-prompt-group__kicker{display:inline-flex;align-items:center;gap:6px;color:var(--brand);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.animate-prompt-group__kicker.experimental{color:#8639ba}
.animate-prompt-group__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.animate-prompt-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:154px;padding:14px;text-align:left;border:1px solid var(--line);border-radius:17px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer;transition:.18s}
.animate-prompt-card:hover{transform:translateY(-2px);border-color:rgba(138,79,47,.55);box-shadow:0 12px 30px rgba(70,45,25,.09)}
.animate-prompt-card.selected{border-color:var(--brand);box-shadow:0 0 0 2px rgba(138,79,47,.14)}
.animate-prompt-card.selected:after{content:"✓";position:absolute;top:9px;right:9px;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:var(--brand);color:#fff;font-size:12px;font-weight:900}
.animate-prompt-card__head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.animate-prompt-card__category{color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.animate-prompt-card strong,.animate-prompt-card small{display:block}
.animate-prompt-card strong{padding-right:16px;font-size:13px;line-height:1.25}
.animate-prompt-card small{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.4}
.animate-prompt-card__recommendation{display:block;margin-top:9px;padding-top:9px;border-top:1px solid rgba(138,79,47,.11);color:var(--muted);font-size:11px;line-height:1.45}
.animate-prompt-card__footer{margin-top:auto}
.animate-prompt-card__cta{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 12px;border-radius:999px;background:#f4ebe3;color:var(--brand);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.animate-prompt-card em{display:inline-block;margin-top:9px;color:var(--brand);font-size:10px;font-style:normal;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.animate-prompt-card i{display:block;margin-top:7px;color:#8744b5;font-size:10px;font-style:normal;line-height:1.3}
.animate-prompt-icon{display:grid;place-items:center;width:34px;height:34px;margin-bottom:9px;border-radius:11px;background:#f4ebe3;color:var(--brand);font-size:17px}
.animate-prompt-card.experimental{border-color:#d9b2ff;background:linear-gradient(145deg,#fffaff,#f5edff)}
.animate-prompt-card.experimental .animate-prompt-icon{background:#efe0ff;color:#8639ba}
.animate-prompt-card--custom{border-style:dashed}
.animate-more-btn{display:none;margin:12px auto 0}
.animate-crazy-launcher{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0;padding:22px;border:1px solid #dfc1f8;border-radius:22px;background:linear-gradient(120deg,#fff8ff,#f3e9ff)}
.animate-crazy-launcher h3{margin:3px 0 5px}
.animate-crazy-launcher p{max-width:430px;margin:0;color:var(--muted);font-size:13px}
.animate-crazy-kicker{color:#8734bd;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.animate-prompt-catalog{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:20px}
.animate-prompt-catalog[hidden]{display:none}
.animate-prompt-catalog__backdrop{position:absolute;inset:0;background:rgba(20,15,12,.68);backdrop-filter:blur(6px)}
.animate-prompt-catalog__panel{position:relative;width:min(980px,100%);height:min(760px,calc(100dvh - 40px));overflow-y:scroll;overscroll-behavior:contain;padding:26px;border-radius:24px;background:var(--surface);box-shadow:0 24px 80px rgba(0,0,0,.32);scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:rgba(138,79,47,.42) transparent}
.animate-prompt-catalog__panel::-webkit-scrollbar{width:9px}
.animate-prompt-catalog__panel::-webkit-scrollbar-track{margin:16px 0;background:transparent}
.animate-prompt-catalog__panel::-webkit-scrollbar-thumb{border:2px solid var(--surface);border-radius:999px;background:rgba(138,79,47,.4)}
.animate-prompt-catalog__panel::-webkit-scrollbar-thumb:hover{background:rgba(138,79,47,.65)}
.animate-prompt-catalog__header{position:sticky;top:-26px;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:-26px -26px 18px;padding:26px 26px 12px;background:linear-gradient(180deg,var(--surface) 82%,rgba(255,253,249,0))}
.animate-prompt-catalog__header .eyebrow{margin-bottom:5px}
.animate-prompt-catalog__header h2{margin:0}
.animate-catalog-search{display:grid;gap:7px}
.animate-catalog-search>span{color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.animate-category-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}
.animate-category-tab{min-height:36px;padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface-2);font:inherit;font-size:12px;cursor:pointer}
.animate-category-tab.active{border-color:var(--brand);background:var(--brand);color:#fff}
.animate-catalog-grid{grid-template-columns:repeat(3,1fr)}
.animate-crazy-tools{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:12px 0 16px;padding:14px 16px;border-radius:16px;background:#fff1d5;color:#735000}
.animate-crazy-tools p{margin:0;font-size:13px;font-weight:700}
.animate-crazy-tools .btn{flex:0 0 auto;min-height:40px;padding:0 16px}
.animate-catalog-empty{margin:26px 0;padding:20px;text-align:center;border-radius:16px;background:var(--surface-2);color:var(--muted)}
.animate-prompt-hint{display:block;color:var(--muted)}
.animate-prompt-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px}
.animate-prompt-actions .btn{min-height:38px;padding:0 13px;font-size:12px}
@media(max-width:1100px){.animate-hero{grid-template-columns:1fr}.animate-copy{position:static}.animate-demo-card{max-width:650px}.animate-use-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.animate-prompt-group__cards{grid-template-columns:1fr}.animate-catalog-grid{grid-template-columns:repeat(2,1fr)}.animate-guidance__grid{grid-template-columns:1fr;gap:28px}.animate-use-grid{grid-template-columns:1fr}.animate-use-card{display:grid;grid-template-columns:220px 1fr}.animate-use-card img{height:100%;min-height:250px}}
@media(max-width:560px){.animate-card__head--effects{grid-template-columns:1fr}.animate-card__head--effects .btn{grid-column:1/-1;width:100%}.animate-prompt-group{padding:14px;border-radius:18px}.animate-prompt-group__cards{grid-template-columns:1fr}.animate-prompt-card{min-height:0;padding:12px}.animate-prompt-catalog{padding:0}.animate-prompt-catalog__panel{width:100%;height:100dvh;max-height:none;padding:18px 14px;border-radius:0;scrollbar-gutter:auto}.animate-prompt-catalog__header{top:-18px;margin:-18px -14px 16px;padding:18px 14px 10px}.animate-catalog-grid{grid-template-columns:1fr}.animate-category-tabs{flex-wrap:nowrap;margin-right:-14px;overflow-x:auto;padding:0 14px 7px 0;scrollbar-width:thin}.animate-category-tab{flex:0 0 auto;white-space:nowrap}.animate-crazy-tools{align-items:stretch;flex-direction:column}.animate-crazy-launcher{align-items:stretch;flex-direction:column}.animate-crazy-launcher .btn{width:100%}.animate-prompt-meta{gap:8px}.animate-order-summary{grid-template-columns:1fr}.animate-result__head{align-items:stretch;flex-direction:column}.animate-use-card{display:block}.animate-use-card img{height:310px}.animate-checklist{grid-template-columns:1fr}}
@media(max-width:600px){.profile-page{padding-top:30px}.profile-header{align-items:flex-start;flex-wrap:wrap}.profile-back{width:100%;padding-left:70px}.profile-balance-card{flex-direction:column;align-items:flex-start}.profile-topup-btn{width:100%}.history-header{align-items:flex-start}.history-filters{width:100%}.history-filter{width:100%;justify-content:space-between}.history-filter select{flex:1}.history-collection-add{width:100%}.history-collection-form>div{align-items:stretch;flex-direction:column}.history-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}.history-card-actions{align-items:stretch;flex-direction:column}.history-open-btn,.history-repeat-btn,.history-animate-btn{justify-content:center;width:100%}}
@media(max-width:600px){.profile-media-overlay{padding:10px}.profile-media-modal{max-height:calc(100vh - 20px);border-radius:16px}.profile-media-stage{min-height:320px}.profile-media-controls{grid-template-columns:1fr 1fr}.profile-media-label{grid-column:1/-1;grid-row:1}.profile-media-nav{grid-row:2}}
@media(max-width:560px){
  .animate-page{padding:34px 0 58px}
  .animate-hero{gap:30px}
  .animate-copy h1{font-size:42px}
  .animate-demo-card,.animate-demo-card img{min-height:0;height:340px}
  .animate-demo-card{border-radius:24px}
  .animate-demo-card__overlay{left:16px;right:16px;bottom:16px}
  .animate-facts{grid-template-columns:repeat(3,1fr);gap:7px}
  .animate-facts div{padding:13px 10px;border-radius:15px}
  .animate-facts strong{font-size:17px}
  .animate-facts span{font-size:10px;line-height:1.3}
  .animate-card{padding:17px;border-radius:24px}
  .animate-card__head h2{font-size:22px}
  .animate-upload{min-height:300px}
  .animate-upload__placeholder strong{font-size:18px}
  .animate-prompt-card strong{font-size:12px}
  .animate-prompt-card small{font-size:10px}
  .animate-selected-effect{align-items:flex-start;flex-direction:column}
  .animate-prompt-actions .btn{width:100%}
  .animate-submit{min-height:58px;padding:0 16px}
  .animate-result__actions{display:grid;grid-template-columns:1fr}
  .animate-result__actions .btn{width:100%}
  .animate-guidance__grid{gap:22px}
}

/* ====== Public templates and examples ====== */
.studio-catalog-hero,.studio-examples-hero{padding:58px 0 32px}
.studio-catalog-hero__grid,.studio-examples-hero__grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:42px;align-items:center}
.studio-catalog-hero h1,.studio-examples-hero h1{max-width:820px}
.studio-catalog-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:650px;margin-top:28px}
.studio-catalog-stats div{padding:17px;border:1px solid var(--line);border-radius:18px;background:rgba(255,253,249,.72)}
.studio-catalog-stats strong,.studio-catalog-stats span{display:block}
.studio-catalog-stats strong{font-size:24px;line-height:1}
.studio-catalog-stats span{margin-top:6px;color:var(--muted);font-size:12px}
.studio-catalog-note{padding:28px;border-radius:28px;background:linear-gradient(145deg,#211914,#4b2818);color:#fff;box-shadow:var(--shadow)}
.studio-catalog-note>span{display:grid;place-items:center;width:46px;height:46px;margin-bottom:30px;border-radius:15px;background:rgba(255,255,255,.12);color:var(--accent);font-size:22px}
.studio-catalog-note h2{font-size:31px}
.studio-catalog-note p{color:rgba(255,255,255,.68)}
.studio-catalog-note .btn{margin-top:8px}
.studio-template-catalog{padding-top:44px}
.studio-catalog-toolbar{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:22px}
.studio-catalog-toolbar h2{margin-bottom:0}
.studio-catalog-toolbar>p{max-width:460px;margin:0;color:var(--muted)}
.studio-catalog-search{display:grid;gap:7px;width:min(390px,100%)}
.studio-catalog-search span{color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.studio-filter-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.studio-filter-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 13px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.studio-filter-tabs button span{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--surface-2);font-size:10px}
.studio-filter-tabs button.is-active{border-color:var(--brand);background:var(--brand);color:#fff}
.studio-filter-tabs button.is-active span{background:rgba(255,255,255,.18)}
.studio-catalog-result-count{margin:0 0 15px;color:var(--muted);font-size:13px}
.studio-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.studio-template-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:25px;background:var(--surface);box-shadow:0 16px 48px rgba(70,45,25,.07);transition:.2s}
.studio-template-card:hover{transform:translateY(-3px);box-shadow:0 22px 54px rgba(70,45,25,.11)}
.studio-template-card__preview{position:relative;display:block;height:280px;overflow:hidden;background:var(--surface-2)}
.studio-template-card__preview:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(180deg,transparent,rgba(24,15,10,.68))}
.studio-template-card__preview img{width:100%;height:100%;object-fit:cover;object-position:top}
.studio-template-card__preview>em,.studio-template-card__preview>small{position:absolute;z-index:2;bottom:14px;padding:6px 9px;border-radius:999px;font-style:normal;font-size:10px;font-weight:900}
.studio-template-card__preview>em{left:14px;background:#fff;color:var(--brand)}
.studio-template-card__preview>small{right:14px;background:#ead9ff;color:#71319d}
.studio-template-card__icon{position:absolute;z-index:2;top:14px;left:14px;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(255,253,249,.92);color:var(--brand);font-size:19px;box-shadow:0 8px 24px rgba(30,20,15,.13)}
.studio-template-card.is-experimental{border-color:#d9b2ff}
.studio-template-card.is-experimental .studio-template-card__icon{color:#8734bd}
.studio-template-card__body{display:flex;flex-direction:column;min-height:315px;padding:22px}
.studio-template-card__body>span{color:var(--brand);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.studio-template-card__body h2{margin:7px 0 9px;font-size:24px;letter-spacing:-.04em}
.studio-template-card__body h2 a:hover{color:var(--brand)}
.studio-template-card__body p{margin-bottom:17px;color:var(--muted);font-size:14px}
.studio-template-card__meta{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:14px;border-top:1px solid var(--line);font-size:12px}
.studio-template-card__meta span{color:var(--muted)}
.studio-template-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.studio-template-card__actions .btn{min-height:44px;padding:0 14px;font-size:13px}
.studio-empty-state{padding:42px;text-align:center;border:1px dashed var(--line);border-radius:24px;background:rgba(255,253,249,.65)}
.studio-empty-state>span{display:block;margin-bottom:8px;font-size:32px}
.studio-empty-state p{margin:0;color:var(--muted)}
.studio-catalog-explainer{background:#211914;color:#fff}
.studio-catalog-explainer__grid{display:grid;grid-template-columns:.65fr 1.35fr;gap:50px}
.studio-explainer-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.studio-explainer-list article{padding:22px;border:1px solid rgba(255,255,255,.1);border-radius:20px;background:rgba(255,255,255,.06)}
.studio-explainer-list p{margin:7px 0 0;color:rgba(255,255,255,.64);font-size:14px}

.studio-template-detail{padding:58px 0 70px}
.studio-template-detail__grid{display:grid;grid-template-columns:1fr minmax(380px,.72fr);gap:50px;align-items:center}
.studio-template-detail__badges{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.studio-template-detail__badges span,.studio-template-detail__badges em{padding:7px 10px;border-radius:999px;background:var(--surface-2);color:var(--brand);font-size:11px;font-style:normal;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.studio-template-detail__badges .is-experimental{background:#ead9ff;color:#71319d}
.studio-template-detail__facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:28px}
.studio-template-detail__facts div{padding:16px;border:1px solid var(--line);border-radius:17px;background:rgba(255,253,249,.7)}
.studio-template-detail__facts strong,.studio-template-detail__facts span{display:block}
.studio-template-detail__facts strong{font-size:19px}
.studio-template-detail__facts span{color:var(--muted);font-size:11px}
.studio-template-preview{position:relative;min-height:570px;overflow:hidden;border-radius:30px;background:#211914;box-shadow:var(--shadow)}
.studio-template-preview>img{width:100%;height:570px;object-fit:cover;object-position:top;opacity:.9}
.studio-template-preview>span{position:absolute;top:18px;left:18px;padding:8px 11px;border-radius:999px;background:rgba(255,253,249,.92);color:var(--brand);font-size:11px;font-weight:900}
.studio-template-preview__notice{position:absolute;left:18px;right:18px;bottom:18px;padding:17px;border-radius:17px;background:rgba(255,253,249,.94);backdrop-filter:blur(10px)}
.studio-template-preview__notice p{margin:5px 0 0;color:var(--muted);font-size:12px}
.studio-template-editor{background:#efe6dc}
.studio-template-editor__grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:45px;align-items:start}
.studio-template-editor__grid>div>p{color:var(--muted)}
.studio-template-recommendations{display:grid;gap:9px;margin:22px 0 0;padding:0;list-style:none}
.studio-template-recommendations li{position:relative;padding:12px 14px 12px 40px;border-radius:14px;background:rgba(255,253,249,.72);font-size:14px}
.studio-template-recommendations li:before{content:"✓";position:absolute;left:14px;color:var(--brand);font-weight:900}
.studio-prompt-card{padding:25px;border:1px solid var(--line);border-radius:26px;background:var(--surface);box-shadow:0 16px 45px rgba(70,45,25,.08)}
.studio-prompt-card label{display:block;margin-bottom:9px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.studio-prompt-card textarea{width:100%;min-height:230px;resize:vertical;padding:17px;border:1px solid var(--line);border-radius:17px;background:#fff;color:var(--text);outline:none}
.studio-prompt-card textarea:focus{border-color:var(--brand);box-shadow:var(--focus-ring)}
.studio-prompt-card__meta{display:flex;justify-content:space-between;gap:12px;margin:8px 0 16px;color:var(--muted);font-size:11px}
.studio-prompt-card .btn{width:100%}
.studio-template-grid--related{grid-template-columns:repeat(3,1fr)}

.studio-examples-hero__grid{align-items:start}
.studio-privacy-note{display:flex;gap:15px;padding:22px;border:1px solid rgba(138,79,47,.18);border-radius:23px;background:rgba(255,253,249,.72)}
.studio-privacy-note>span{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:14px;background:var(--surface-2);color:var(--brand)}
.studio-privacy-note strong{display:block;margin-bottom:5px}
.studio-privacy-note p{margin:0;color:var(--muted);font-size:13px}
.studio-example-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.studio-example-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:27px;background:var(--surface);box-shadow:0 16px 50px rgba(70,45,25,.07)}
.studio-before-after{--split:50%;position:relative;height:520px;overflow:hidden;background:#e7ded5;touch-action:pan-y}
.studio-before-after img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top}
.studio-before-after__before{z-index:1;clip-path:inset(0 calc(100% - var(--split)) 0 0)}
.studio-before-after__label{position:absolute;z-index:3;top:14px;padding:7px 10px;border-radius:999px;background:rgba(255,253,249,.9);font-size:11px;font-weight:900}
.studio-before-after__label--before{left:14px}
.studio-before-after__label--after{right:14px}
.studio-before-after__divider{position:absolute;z-index:3;top:0;bottom:0;left:var(--split);width:2px;background:#fff;transform:translateX(-1px);pointer-events:none}
.studio-before-after__divider i{position:absolute;top:50%;left:50%;display:grid;place-items:center;width:42px;height:42px;border:2px solid #fff;border-radius:50%;background:var(--brand);color:#fff;font-style:normal;transform:translate(-50%,-50%);box-shadow:0 8px 24px rgba(0,0,0,.2)}
.studio-before-after input{position:absolute;z-index:4;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}
.studio-before-after:focus-within{box-shadow:inset 0 0 0 4px rgba(138,79,47,.28)}
.studio-example-card__body{padding:23px}
.studio-example-card__body>span{color:var(--brand);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.studio-example-card__body h2{margin:6px 0 9px;font-size:27px}
.studio-example-card__body>p{color:var(--muted)}
.studio-example-scenario{display:grid;gap:3px;margin:18px 0;padding:13px 15px;border-radius:15px;background:var(--surface-2);font-size:13px}
.studio-example-scenario span{color:var(--muted)}
.studio-example-card__body>.btn{width:100%}
.studio-example-video{height:520px;background:#111}
.studio-example-video video{display:block;width:100%;height:100%;object-fit:contain}
.studio-example-garment{display:flex;align-items:center;gap:12px;margin:16px 0;padding:10px;border:1px solid var(--line);border-radius:16px}
.studio-example-garment img{width:72px;height:72px;border-radius:11px;object-fit:cover}
.studio-example-garment figcaption{font-size:12px;font-weight:800}

@media(max-width:980px){
  .studio-catalog-hero__grid,.studio-examples-hero__grid,.studio-template-detail__grid,.studio-template-editor__grid,.studio-catalog-explainer__grid{grid-template-columns:1fr}
  .studio-catalog-note{max-width:680px}
  .studio-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .studio-template-grid--related{grid-template-columns:repeat(3,minmax(0,1fr))}
  .studio-template-preview{max-width:620px}
}
@media(max-width:700px){
  .studio-catalog-hero,.studio-examples-hero,.studio-template-detail{padding:36px 0 52px}
  .studio-catalog-stats{grid-template-columns:repeat(3,1fr)}
  .studio-catalog-toolbar{align-items:stretch;flex-direction:column}
  .studio-catalog-search{width:100%}
  .studio-filter-tabs{flex-wrap:nowrap;margin-right:-11px;overflow-x:auto;padding:0 11px 8px 0;scrollbar-width:thin}
  .studio-filter-tabs button{flex:0 0 auto}
  .studio-template-grid,.studio-template-grid--related,.studio-example-grid,.studio-explainer-list{grid-template-columns:1fr}
  .studio-template-card__preview{height:310px}
  .studio-template-card__body{min-height:0}
  .studio-template-detail__facts{grid-template-columns:repeat(3,1fr)}
  .studio-template-preview,.studio-template-preview>img{min-height:0;height:500px}
  .studio-before-after{height:470px}
}
@media(max-width:460px){
  .studio-catalog-stats{gap:6px}
  .studio-catalog-stats div{padding:13px 9px}
  .studio-catalog-stats strong{font-size:19px}
  .studio-catalog-stats span{font-size:10px}
  .studio-catalog-note{padding:22px;border-radius:22px}
  .studio-template-card__actions{grid-template-columns:1fr}
  .studio-template-detail__facts{gap:6px}
  .studio-template-detail__facts div{padding:13px 9px}
  .studio-template-detail__facts strong{font-size:16px}
  .studio-template-preview,.studio-template-preview>img{height:430px}
  .studio-prompt-card{padding:17px;border-radius:21px}
  .studio-before-after{height:420px}
  .studio-example-card__body{padding:19px}
}

/* ====== Blog ====== */
.studio-blog-hero{padding:58px 0 38px;background:radial-gradient(circle at 86% 5%,rgba(232,183,127,.22),transparent 34%)}
.studio-blog-hero__grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:42px;align-items:center}
.studio-blog-hero h1{max-width:850px}
.studio-blog-hero .lead{max-width:760px}
.studio-blog-topics{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}
.studio-blog-topics span{padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,253,249,.75);color:var(--muted);font-size:12px;font-weight:800}
.studio-blog-guide{padding:28px;border-radius:28px;background:linear-gradient(145deg,#211914,#4b2818);color:#fff;box-shadow:var(--shadow)}
.studio-blog-guide__icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:28px;border-radius:15px;background:rgba(255,255,255,.12);color:var(--accent);font-size:22px}
.studio-blog-guide>strong{display:block;font-size:25px;line-height:1.15;letter-spacing:-.03em}
.studio-blog-guide>p{margin:12px 0 20px;color:rgba(255,255,255,.68)}
.studio-blog-guide>div{display:flex;flex-wrap:wrap;gap:9px}
.studio-blog-guide a{padding:9px 12px;border:1px solid rgba(255,255,255,.2);border-radius:999px;font-size:12px;font-weight:800}
.studio-blog-guide a:hover{background:rgba(255,255,255,.1)}
.studio-blog-content{padding-top:48px}
.studio-blog-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:28px}
.studio-blog-heading h2{max-width:760px;margin-bottom:0}
.studio-blog-heading>p{max-width:420px;margin:0;color:var(--muted)}
.studio-blog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.studio-blog-card{display:flex;min-width:0;min-height:300px;flex-direction:column;padding:28px;border:1px solid var(--line);border-radius:26px;background:var(--surface);box-shadow:0 16px 48px rgba(70,45,25,.07);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.studio-blog-card:hover{transform:translateY(-3px);border-color:rgba(138,79,47,.3);box-shadow:0 22px 54px rgba(70,45,25,.11)}
.studio-blog-card--featured{grid-column:1/-1;min-height:330px;padding-right:min(38%,460px);background:radial-gradient(circle at 85% 25%,rgba(232,183,127,.35),transparent 30%),var(--surface)}
.studio-blog-card__top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:36px}
.studio-blog-card__top span{color:var(--brand);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.studio-blog-card__top small{color:var(--muted);font-size:11px}
.studio-blog-card h2{margin:0 0 13px;font-size:clamp(25px,3vw,36px);line-height:1.08;letter-spacing:-.045em}
.studio-blog-card:not(.studio-blog-card--featured) h2{font-size:28px}
.studio-blog-card h2 a:hover{color:var(--brand)}
.studio-blog-card>p{max-width:680px;margin-bottom:24px;color:var(--muted)}
.studio-blog-card__link{display:inline-flex;align-items:center;gap:8px;width:max-content;margin-top:auto;color:var(--brand);font-size:13px;font-weight:900}
.studio-blog-card__link span{transition:transform .2s ease}
.studio-blog-card:hover .studio-blog-card__link span{transform:translateX(4px)}
.studio-blog-cta{padding-top:20px}
.studio-blog-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:36px;padding:38px;border-radius:30px;background:var(--surface-2)}
.studio-blog-cta__inner h2{max-width:700px;margin-bottom:12px}
.studio-blog-cta__inner p{max-width:700px;margin:0;color:var(--muted)}
.studio-blog-cta__actions{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:10px}
@media(max-width:900px){
  .studio-blog-hero__grid{grid-template-columns:1fr}
  .studio-blog-guide{max-width:680px}
  .studio-blog-heading{align-items:flex-start;flex-direction:column}
  .studio-blog-card--featured{padding-right:28px}
  .studio-blog-cta__inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:700px){
  .studio-blog-hero{padding:36px 0 30px}
  .studio-blog-grid{grid-template-columns:1fr}
  .studio-blog-card--featured{grid-column:auto}
  .studio-blog-card{min-height:0;padding:22px;border-radius:22px}
  .studio-blog-card__top{margin-bottom:26px}
  .studio-blog-card:not(.studio-blog-card--featured) h2{font-size:25px}
  .studio-blog-cta__inner{padding:25px;border-radius:24px}
  .studio-blog-cta__actions{display:grid;width:100%}
  .studio-blog-cta__actions .btn{width:100%}
}

.credit-history-section{margin-top:40px}
.credit-history-list{display:flex;flex-direction:column;gap:4px}
.credit-history-empty{padding:24px;text-align:center;color:var(--muted);font-size:14px;margin:0}
.credit-history-row{display:grid;grid-template-columns:32px 1fr auto auto;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:var(--surface-2)}
.credit-history-row.ch-debit{background:#fdf2f0}
.credit-history-row.ch-credit{background:#f0faf2}
.ch-icon{font-size:18px;text-align:center;line-height:1}
.ch-info{display:flex;flex-direction:column;gap:1px;min-width:0}
.ch-info strong{font-size:13px;font-weight:700;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-info small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-task{font-family:monospace;opacity:.7}
.ch-amount{font-size:15px;font-weight:900;white-space:nowrap;text-align:right}
.ch-debit .ch-amount{color:#c0392b}
.ch-credit .ch-amount{color:#2e7d32}
.ch-meta{display:flex;flex-direction:column;align-items:flex-end;gap:1px}
.ch-balance{font-size:11px;color:var(--muted);white-space:nowrap}
.ch-date{font-size:10px;color:var(--muted);white-space:nowrap}
.credit-history-pager{display:flex;justify-content:center;padding-top:24px}

/* ====== Shared studio layout ====== */
.site-header{z-index:100;padding:0;font-family:Inter,Arial,sans-serif;transition:background-color .2s,box-shadow .2s}
.site-header.is-scrolled{background:rgba(255,253,249,.97);box-shadow:0 8px 28px rgba(70,45,25,.08)}
.header-inner{position:relative}
.desktop-nav{display:flex;align-items:center;justify-content:center;gap:20px;color:var(--muted);font-size:14px;font-weight:750;white-space:nowrap}
.desktop-nav>a,.nav-dropdown__toggle,.nav-disabled{display:inline-flex;align-items:center;min-height:44px}
.desktop-nav>a,.nav-dropdown__toggle{transition:color .15s}
.desktop-nav>a:hover,.desktop-nav>a.is-active,.nav-dropdown.is-active>.nav-dropdown__toggle,.nav-dropdown__toggle:hover{color:var(--brand-dark)}
.nav-dropdown{position:relative}
.nav-dropdown__toggle{gap:6px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.nav-dropdown__toggle svg{width:10px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7;transition:transform .18s}
.nav-dropdown__panel{position:absolute;top:calc(100% + 8px);left:-18px;width:340px;padding:10px;border:1px solid var(--line);border-radius:18px;background:rgba(255,253,249,.99);box-shadow:0 22px 62px rgba(70,45,25,.18);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .16s,visibility .16s,transform .16s}
.nav-dropdown:hover .nav-dropdown__panel,.nav-dropdown:focus-within .nav-dropdown__panel,.nav-dropdown.is-open .nav-dropdown__panel{opacity:1;visibility:visible;transform:translateY(0)}
.nav-dropdown:hover .nav-dropdown__toggle svg,.nav-dropdown:focus-within .nav-dropdown__toggle svg,.nav-dropdown.is-open .nav-dropdown__toggle svg{transform:rotate(180deg)}
.nav-tool-link{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;padding:11px;border-radius:13px;color:var(--text);white-space:normal}
a.nav-tool-link:hover{background:var(--surface-2)}
.nav-tool-link strong,.nav-tool-link small{display:block}
.nav-tool-link strong{font-size:14px;line-height:1.25}
.nav-tool-link small{margin-top:2px;color:var(--muted);font-size:12px;font-weight:550;line-height:1.35}
.nav-tool-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:rgba(138,79,47,.1);color:var(--brand);font-size:15px}
.nav-tool-link.is-disabled,.nav-disabled{cursor:default;opacity:.58}
.nav-disabled{gap:5px}
.nav-disabled small,.soon-badge{padding:2px 5px;border-radius:999px;background:rgba(138,79,47,.1);color:var(--brand);font-size:9px;font-weight:850;line-height:1.2;text-transform:uppercase;letter-spacing:.04em}
.site-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:max-content}
.site-header .studio-auth-area{display:flex;align-items:center}
.site-header .studio-auth-area:empty{display:none}
.site-header .header-auth-actions{position:static;top:auto;right:auto;z-index:auto;gap:8px}
.site-header .header-auth-actions .header-cta{display:none}
.site-header .header-login-btn{min-height:42px;padding:0 14px;box-shadow:none;background:transparent}
.site-header .user-avatar{max-width:220px}
.site-header .user-avatar>span{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-create-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:999px;background:var(--brand);color:#fff;font-size:14px;font-weight:850;box-shadow:0 10px 26px rgba(138,79,47,.22);transition:background-color .15s,transform .15s}
.site-create-button:hover{background:var(--brand-dark);transform:translateY(-1px)}
.mobile-menu-toggle{display:none;width:42px;height:42px;padding:0;border:1px solid var(--line);border-radius:13px;background:var(--surface);cursor:pointer;place-content:center;gap:4px}
.mobile-menu-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:var(--text)}
.mobile-menu-backdrop{position:fixed;inset:0;z-index:410;background:rgba(29,23,20,.45);backdrop-filter:blur(3px)}
.mobile-menu{position:fixed;inset:0 0 0 auto;z-index:420;width:min(390px,calc(100% - 28px));display:flex;flex-direction:column;padding:18px;background:var(--surface);box-shadow:-24px 0 70px rgba(29,23,20,.22);visibility:hidden;transform:translateX(105%);transition:visibility .22s,transform .22s}
.mobile-menu.is-open{visibility:visible;transform:translateX(0)}
.mobile-menu__header{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 14px;border-bottom:1px solid var(--line)}
.mobile-menu__title{font-size:21px;font-weight:900;letter-spacing:-.03em}
.mobile-menu__close{width:40px;height:40px;border:0;border-radius:12px;background:var(--surface-2);color:var(--text);font-size:27px;line-height:1;cursor:pointer}
.mobile-nav{display:flex;flex-direction:column;gap:5px;padding:12px 0;overflow-y:auto}
.mobile-nav__label{padding:12px 10px 4px;color:var(--muted);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.1em}
.mobile-nav>a,.mobile-nav__disabled{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;min-height:52px;padding:9px 10px;border-radius:14px}
.mobile-nav>a:hover{background:var(--surface-2)}
.mobile-nav>a>span:first-child,.mobile-nav__disabled>span:first-child{color:var(--brand);font-size:18px;text-align:center}
.mobile-nav strong,.mobile-nav small{display:block}
.mobile-nav strong{font-size:15px}
.mobile-nav small{color:var(--muted);font-size:12px}
.mobile-nav__disabled{opacity:.55}
.mobile-nav__disabled--row{display:flex;grid-template-columns:none;min-height:44px;font-weight:750}
.mobile-nav__disabled--row small{margin-left:auto;padding:3px 7px;border-radius:999px;background:rgba(138,79,47,.1);color:var(--brand);font-size:9px;text-transform:uppercase}
.mobile-menu__cta{display:flex;align-items:center;justify-content:center;min-height:50px;margin-top:auto;border-radius:999px;background:var(--brand);color:#fff;font-weight:850}
body.mobile-menu-open{overflow:hidden}
.breadcrumbs{padding-top:20px;font-size:13px;color:var(--muted)}
.breadcrumbs ol{display:flex;align-items:center;gap:8px;margin:0;padding:0;list-style:none;overflow:hidden}
.breadcrumbs li{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap}
.breadcrumbs li+li:before{content:"/";color:rgba(117,104,95,.55)}
.breadcrumbs li:last-child{overflow:hidden;text-overflow:ellipsis}
.breadcrumbs a:hover{color:var(--brand)}
.site-footer{padding:52px 0 24px;font-family:Inter,Arial,sans-serif}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:34px}
.footer-brand{max-width:300px}
.footer-brand p{margin:18px 0 0;color:var(--muted);font-size:14px}
.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:9px;font-size:13px;color:var(--muted)}
.footer-column strong{margin-bottom:4px;color:var(--text);font-size:14px}
.footer-column a:hover{color:var(--brand)}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:36px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.footer-bottom p{margin:0}

@media(max-width:1080px) and (min-width:921px){
  .desktop-nav{gap:14px}
  .desktop-nav>.nav-disabled{display:none}
}
@media(max-width:920px){
  :root{--page-gutter:24px}
  .desktop-nav{display:none}
  .mobile-menu-toggle{display:grid}
  .site-header-actions{margin-left:auto}
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr}
  .footer-column:last-child{grid-column:2/-1}
}
@media(max-width:700px){
  .site-create-button{display:none}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
  .footer-column:last-child{grid-column:auto}
  .footer-bottom{align-items:flex-start;flex-direction:column;gap:6px}
}
@media(max-width:560px){
  :root{--page-gutter:16px}
  .container{width:min(var(--container),calc(100% - var(--page-gutter) - var(--page-gutter)))}
  .site-header .user-avatar>span{display:none}
  .site-header .user-avatar{padding-right:6px}
  .site-header .header-login-btn{padding:0 11px}
  .breadcrumbs{padding-top:14px}
  .footer-grid{grid-template-columns:1fr;gap:26px}
  .footer-brand,.footer-column:last-child{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ====== Homepage: ONJA studio showcase ====== */
.studio-hero{padding-top:58px;background:radial-gradient(circle at 86% 5%,rgba(232,183,127,.22),transparent 32%)}
.studio-hero__copy{max-width:1120px;margin-bottom:38px}
.studio-hero__copy h1{max-width:1080px}
.studio-hero__copy .lead{max-width:780px}
.studio-tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.studio-tool-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:32px;background:var(--surface);box-shadow:0 18px 56px rgba(70,45,25,.09)}
.studio-tool-card__media{position:relative;height:315px;overflow:hidden;background:#e8ded4}
.studio-tool-card__media>img{width:100%;height:100%;object-fit:cover;object-position:center 28%}
.studio-tool-card__media--split{display:grid;grid-template-columns:1fr 1fr;gap:2px}
.studio-tool-card__media figure{position:relative;min-width:0;height:100%;margin:0;overflow:hidden;background:#ddd}
.studio-tool-card__media figure img{width:100%;height:100%;object-fit:cover;object-position:top}
.studio-tool-card__media figcaption,.studio-tool-card__media-note{position:absolute;z-index:2;left:14px;bottom:14px;padding:6px 10px;border-radius:999px;background:rgba(255,253,249,.9);color:var(--text);font-size:11px;font-weight:850;box-shadow:0 6px 20px rgba(29,23,20,.12)}
.studio-tool-card__media figure+figure figcaption{left:auto;right:14px}
.studio-tool-card__play{position:absolute;inset:50% auto auto 50%;width:66px;height:66px;display:grid;place-items:center;padding-left:4px;border:1px solid rgba(255,255,255,.58);border-radius:50%;background:rgba(29,23,20,.72);color:#fff;font-size:22px;transform:translate(-50%,-50%);box-shadow:0 16px 42px rgba(29,23,20,.3)}
.studio-tool-card__body{display:grid;gap:20px;padding:26px}
.studio-tool-card__body h2{margin:5px 0 10px;font-size:clamp(28px,3vw,38px)}
.studio-tool-card__body p{max-width:550px;margin:0;color:var(--muted)}
.studio-tool-card__kicker{color:var(--brand);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.studio-tool-card__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;border-top:1px solid var(--line)}
.studio-tool-card__footer>div{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:0}
.studio-tool-card__footer>span,.studio-tool-card__footer>div>span:first-child{color:var(--muted);font-size:13px;font-weight:800}
.tool-card__bonus{display:inline-flex;align-items:center;max-width:230px;margin-top:6px;padding:7px 10px;border-radius:10px;background:#f8ede6;color:#94502f;font-size:14px;font-weight:700;line-height:1.25}
.studio-tool-card__footer .btn{min-height:46px;padding:0 18px;font-size:14px}
.studio-scenarios{background:rgba(255,253,249,.5)}
.scenario-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.scenario-card{position:relative;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 12px 36px rgba(70,45,25,.06);transition:transform .18s,box-shadow .18s,border-color .18s}
.scenario-card:hover{transform:translateY(-3px);border-color:rgba(138,79,47,.3);box-shadow:0 20px 46px rgba(70,45,25,.12)}
.scenario-card img{width:100%;height:188px;object-fit:cover;object-position:top}
.scenario-card strong,.scenario-card small{display:block;padding-right:18px;padding-left:18px}
.scenario-card strong{padding-top:17px;font-size:17px;line-height:1.22}
.scenario-card small{min-height:65px;padding-top:6px;padding-bottom:18px;color:var(--muted);font-size:12px;line-height:1.45}
.scenario-card__cost{position:absolute;z-index:2;top:14px;right:12px;padding:6px 9px;border-radius:999px;background:rgba(29,23,20,.76);color:#fff;font-size:10px;font-weight:850;backdrop-filter:blur(6px)}
.studio-workflow{padding-top:0}
.studio-workflow__panel{padding:42px;border-radius:32px;background:linear-gradient(135deg,#6f3d25,#24140e);color:#fff;box-shadow:var(--shadow)}
.studio-workflow__panel .section-head p{color:rgba(255,255,255,.68)}
.studio-workflow__panel .eyebrow{color:var(--accent)}
.studio-workflow__panel .eyebrow:before{background:var(--accent)}
.workflow-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:30px 0;padding:0;list-style:none;counter-reset:none}
.workflow-steps li{position:relative;min-width:0;padding:18px 14px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(255,255,255,.07)}
.workflow-steps li:not(:last-child):after{content:"→";position:absolute;z-index:2;top:50%;right:-10px;color:var(--accent);font-weight:900;transform:translateY(-50%)}
.workflow-steps span{display:grid;width:28px;height:28px;margin-bottom:18px;place-items:center;border-radius:9px;background:rgba(232,183,127,.16);color:var(--accent);font-size:12px;font-weight:900}
.workflow-steps strong{display:block;font-size:13px;line-height:1.35}
.example-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.example-filter{min-height:40px;padding:0 15px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);font-size:13px;font-weight:800;cursor:pointer}
.example-filter:hover,.example-filter.is-active{border-color:var(--brand);background:var(--brand);color:#fff}
.studio-example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.studio-example-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:25px;background:var(--surface);box-shadow:0 14px 44px rgba(70,45,25,.07)}
.studio-example-card[hidden]{display:none}
.studio-example-card .compare{border-radius:0}
.studio-example-card .compare img{height:420px}
.studio-example-card__body{padding:20px}
.studio-example-card__body>span{display:block;margin-bottom:7px;color:var(--brand);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.studio-example-card__body h3{font-size:20px}
.studio-example-card__body p{min-height:64px;margin-bottom:14px;color:var(--muted);font-size:13px}
.studio-example-card__body a{color:var(--brand);font-size:13px;font-weight:900;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.studio-example-sequence{display:grid;height:420px;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;background:var(--line)}
.studio-example-sequence figure{position:relative;min-width:0;height:100%;margin:0;overflow:hidden;background:var(--surface-2)}
.studio-example-sequence img{width:100%;height:100%;object-fit:cover;object-position:top}
.studio-example-sequence figcaption{position:absolute;top:10px;left:8px;padding:5px 8px;border-radius:999px;background:rgba(255,253,249,.88);font-size:10px;font-weight:850}
.studio-example-placeholder{height:420px;display:grid;align-content:center;justify-items:center;gap:8px;padding:24px;text-align:center;background:radial-gradient(circle at 50% 25%,rgba(232,183,127,.34),transparent 34%),linear-gradient(145deg,#2a1a13,#684029);color:#fff}
.studio-example-placeholder>span{display:grid;width:64px;height:64px;margin-bottom:10px;place-items:center;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:rgba(255,255,255,.09);font-size:23px}
.studio-example-placeholder strong{font-size:18px}
.studio-example-placeholder small{max-width:270px;color:rgba(255,255,255,.68)}
.example-empty{padding:34px;border:1px dashed var(--line);border-radius:20px;background:var(--surface);color:var(--muted);text-align:center}
.studio-how{background:rgba(255,253,249,.5)}
.studio-business{padding-top:0}
.studio-business__panel{display:grid;grid-template-columns:1.2fr .8fr;gap:42px;padding:46px;border:1px solid var(--line);border-radius:32px;background:linear-gradient(135deg,#fffdf9,#eee0d2);box-shadow:0 18px 56px rgba(70,45,25,.08)}
.studio-business__panel>div>p{max-width:680px;color:var(--muted)}
.studio-business__note{font-weight:800}
.studio-business__panel ul{align-self:center;margin:0;padding:0;list-style:none;display:grid;gap:12px}
.studio-business__panel li{position:relative;padding:14px 16px 14px 46px;border:1px solid rgba(138,79,47,.13);border-radius:16px;background:rgba(255,255,255,.62);font-weight:750}
.studio-business__panel li:before{content:"✓";position:absolute;left:16px;color:var(--brand);font-weight:900}
.studio-pricing .section-head{margin-bottom:28px}
.studio-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.studio-price-grid .price-card{height:100%;display:flex;flex-direction:column}
.studio-price-grid .price-card strong{line-height:1}
.studio-price-grid .price-card .btn{align-self:flex-start;margin-top:auto}
.studio-pricing__refund{margin:22px 0 0!important;text-align:center;font-size:13px}
.final-cta .eyebrow{color:var(--accent)}
.final-cta .eyebrow:before{background:var(--accent)}
.final-cta__actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.final-cta__actions .btn-secondary{border-color:rgba(255,255,255,.34);background:transparent;color:#fff}

@media(max-width:980px){
  .scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .studio-example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .workflow-steps{grid-template-columns:1fr}
  .workflow-steps li{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px}
  .workflow-steps li:not(:last-child):after{content:"↓";top:auto;right:auto;bottom:-15px;left:26px;transform:none}
  .workflow-steps span{margin:0}
}
@media(max-width:820px){
  .studio-tool-grid,.studio-business__panel,.studio-price-grid{grid-template-columns:1fr}
  .studio-tool-card__media{height:340px}
  .studio-business__panel{gap:28px}
}
@media(max-width:600px){
  .studio-hero{padding-top:40px}
  .studio-hero__copy{margin-bottom:28px}
  .studio-hero__copy h1{font-size:42px}
  .studio-tool-card{border-radius:24px}
  .studio-tool-card__media{height:250px}
  .studio-tool-card__body{padding:20px}
  .studio-tool-card__footer{align-items:stretch;flex-direction:column}
  .studio-tool-card__footer .btn{width:100%}
  .tool-card__bonus{max-width:100%;font-size:13px}
  .scenario-grid,.studio-example-grid{grid-template-columns:1fr}
  .scenario-card{display:grid;grid-template-columns:118px minmax(0,1fr);grid-template-rows:auto 1fr}
  .scenario-card img{grid-row:1/3;width:118px;height:100%;min-height:146px}
  .scenario-card strong{padding:20px 14px 0}
  .scenario-card small{min-height:0;padding:6px 14px 16px}
  .scenario-card__cost{top:8px;right:8px;font-size:9px}
  .studio-workflow__panel,.studio-business__panel{padding:26px 20px;border-radius:24px}
  .studio-example-card .compare img,.studio-example-sequence,.studio-example-placeholder,.studio-example-video{height:390px}
  .example-filters{flex-wrap:nowrap;margin-right:calc(var(--page-gutter) * -1);padding-right:var(--page-gutter);overflow-x:auto;scrollbar-width:thin;scrollbar-color:rgba(138,79,47,.38) transparent}
  .example-filter{flex:0 0 auto}
  .studio-example-card__body p{min-height:0}
  .studio-price-grid .price-card{padding:24px}
  .final-cta__actions{align-items:stretch;flex-direction:column}
}

/* ====== Virtual try-on product page ====== */
.tryon-product-hero{padding-top:48px;background:radial-gradient(circle at 84% 12%,rgba(232,183,127,.28),transparent 34%)}
.tryon-product-hero__grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(520px,1.12fr);align-items:center;gap:48px}
.tryon-product-hero__copy,.tryon-product-hero__visual{min-width:0}
.tryon-product-hero__copy h1{font-size:clamp(44px,5.7vw,72px)}
.tryon-product-hero__copy .lead{max-width:650px}
.tryon-product-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:30px}
.tryon-product-facts>div{padding:15px;border:1px solid var(--line);border-radius:17px;background:rgba(255,253,249,.72)}
.tryon-product-facts strong,.tryon-product-facts span{display:block}
.tryon-product-facts strong{font-size:18px;line-height:1.15}
.tryon-product-facts span{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.35}
.tryon-product-hero__visual{display:grid;grid-template-columns:1fr .72fr 1fr;gap:8px;padding:12px;border:1px solid var(--line);border-radius:30px;background:var(--surface);box-shadow:var(--shadow);transform:rotate(1deg)}
.tryon-product-hero__visual figure{position:relative;height:430px;margin:0;overflow:hidden;border-radius:20px;background:var(--surface-2)}
.tryon-product-hero__visual img{width:100%;height:100%;object-fit:cover;object-position:top}
.tryon-product-hero__visual figcaption{position:absolute;left:10px;bottom:10px;padding:5px 9px;border-radius:999px;background:rgba(255,253,249,.9);font-size:10px;font-weight:900}
.tryon-product-hero__garment img{object-fit:contain;padding:10px;background:#fff}
#tryon{scroll-margin-top:78px}
#tryon .tryon-shell{max-width:980px;margin:0 auto;padding:42px}
.tryon-stepper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 34px;padding:0;list-style:none}
.tryon-stepper li{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.55);color:var(--muted)}
.tryon-stepper li.is-active{border-color:rgba(138,79,47,.28);background:#fff;color:var(--text)}
.tryon-stepper li.is-complete{border-color:rgba(40,102,58,.2);background:#f4fbf5;color:#28663a}
.tryon-stepper span{width:30px;height:30px;display:grid;flex:0 0 auto;place-items:center;border-radius:10px;background:var(--surface-2);font-size:12px;font-weight:900}
.tryon-stepper .is-active span{background:var(--brand);color:#fff}
.tryon-stepper .is-complete span{background:#28663a;color:#fff}
.tryon-stepper strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.upload-card-step{position:absolute;z-index:5;top:14px;left:14px;padding:5px 9px;border-radius:999px;background:rgba(29,23,20,.74);color:#fff;font-size:10px;font-weight:900;pointer-events:none}
.tryon-upload-note,.tryon-launch-note{margin:14px auto 0;color:var(--muted);font-size:12px;text-align:center}
.tryon-upload-note.is-warning{padding:10px 13px;border-radius:13px;background:#fff4dc;color:#6d4813;font-weight:750}
.tryon-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.tryon-guide-card{padding:30px;border:1px solid var(--line);border-radius:25px;background:var(--surface);box-shadow:0 14px 42px rgba(70,45,25,.06)}
.tryon-guide-card>span{display:inline-flex;margin-bottom:16px;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.tryon-guide-card--good>span{background:#e4f4e7;color:#28663a}
.tryon-guide-card--warning>span{background:#fff0d6;color:#775017}
.tryon-guide-card ul{margin:0;padding-left:20px;color:var(--muted)}
.tryon-guide-card li+li{margin-top:8px}
.tryon-page-examples{background:rgba(255,253,249,.52)}
.tryon-example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tryon-example-grid .studio-example-card .compare img{height:430px}
.tryon-example-grid .studio-example-card__body h3{margin-bottom:10px}
.tryon-how{padding-top:0}
.tryon-related{margin-top:0}

@media(max-width:980px){
  .tryon-product-hero__grid{grid-template-columns:minmax(0,1fr);gap:34px}
  .tryon-product-hero__visual{width:100%;max-width:720px}
  .tryon-example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .tryon-product-hero{padding-top:36px}
  .tryon-product-hero__copy h1{font-size:44px}
  .tryon-product-facts{grid-template-columns:1fr}
  .tryon-product-facts>div{display:grid;grid-template-columns:120px 1fr;align-items:center;gap:10px}
  .tryon-product-facts span{margin-top:0}
  .tryon-product-hero__visual{grid-template-columns:1fr 1fr;padding:8px;border-radius:22px;transform:none}
  .tryon-product-hero__visual figure{height:330px;border-radius:16px}
  .tryon-product-hero__visual .tryon-product-hero__garment{grid-column:1/-1;grid-row:2;height:160px}
  #tryon .tryon-shell{padding:24px 18px;border-radius:25px}
  .tryon-stepper{grid-template-columns:1fr;gap:7px;margin-bottom:26px}
  .tryon-stepper li{padding:9px 11px}
  .tryon-stepper strong{white-space:normal}
  .tryon-guide-grid,.tryon-example-grid{grid-template-columns:1fr}
  .tryon-guide-card{padding:24px 20px}
}
@media(max-width:480px){
  .tryon-product-hero__copy h1{font-size:39px}
  .tryon-product-hero__visual figure{height:265px}
  .tryon-example-grid .studio-example-card .compare img{height:390px}
  .cookie-banner{right:16px;left:16px;width:auto;align-items:stretch;flex-direction:column;transform:none}
  .cookie-banner__text{min-width:0}
  .cookie-banner__actions{width:100%}
  .cookie-banner__actions .cookie-btn{flex:1}
}

/* ====== Pricing and business pages ====== */
.header-balance-link{display:flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:11px}
.header-balance-link span{color:var(--muted)}
.header-balance-link strong{color:var(--brand);font-size:13px}
.pricing-hero,.business-hero{padding:58px 0 66px;background:radial-gradient(circle at 82% 12%,rgba(232,183,127,.24),transparent 32%)}
.pricing-hero__grid,.business-hero__grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);align-items:center;gap:52px}
.pricing-hero h1,.business-hero h1{max-width:850px}
.pricing-operation-costs{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:28px;background:rgba(255,253,249,.8);box-shadow:var(--shadow)}
.pricing-operation-costs>div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px;padding:19px;border-radius:18px;background:var(--surface)}
.pricing-operation-costs span{color:var(--muted);font-size:12px;font-weight:800}
.pricing-operation-costs strong{font-size:20px}
.pricing-operation-costs a{grid-column:1/-1;color:var(--brand);font-size:12px;font-weight:850}
.pricing-packages{padding-top:70px}
.pricing-package-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pricing-package-card{position:relative;display:flex;min-width:0;flex-direction:column;padding:24px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 15px 44px rgba(70,45,25,.06)}
.pricing-package-card.is-featured{border-color:var(--brand);background:linear-gradient(160deg,#fffdf9,#f4e8dc)}
.pricing-package-card__badge{position:absolute;top:15px;right:15px;padding:6px 8px;border-radius:999px;background:var(--brand);color:#fff;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.pricing-package-card__title{color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.pricing-package-card__credits{display:flex;align-items:baseline;gap:7px;margin-top:22px}
.pricing-package-card__credits strong{font-size:48px;line-height:1;letter-spacing:-.06em}
.pricing-package-card__credits span{color:var(--muted);font-size:12px}
.pricing-package-card__price{margin:12px 0;font-size:25px;font-weight:900}
.pricing-package-card>p{min-height:63px;color:var(--muted);font-size:13px}
.pricing-package-card ul{display:grid;gap:8px;margin:4px 0 22px;padding:0;list-style:none;color:var(--muted);font-size:12px}
.pricing-package-card li:before{content:"✓";margin-right:7px;color:var(--brand);font-weight:900}
.pricing-package-card .btn{width:100%;margin-top:auto}
.pricing-payment-error{margin-top:16px;padding:13px;border-radius:13px;background:#fff0ee;color:#8b302a;text-align:center}
.pricing-payment-success{margin-top:16px;padding:13px;border:1px solid rgba(55,120,78,.22);border-radius:13px;background:#eef8f1;color:#245f39;text-align:center}
.pricing-rules{background:#211914;color:#fff}
.pricing-rules__grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:55px}
.pricing-rules__list{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pricing-rules__list article{padding:21px;border:1px solid rgba(255,255,255,.1);border-radius:19px;background:rgba(255,255,255,.055)}
.pricing-rules__list p{margin:6px 0 0;color:rgba(255,255,255,.66);font-size:13px}
.pricing-faq{background:var(--surface-2)}

.business-hero__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.business-hero__visual{position:relative;display:grid;grid-template-columns:1fr 54px 1fr;align-items:center;min-height:390px;padding:30px;border-radius:31px;background:#211914;color:#fff;box-shadow:var(--shadow);overflow:hidden}
.business-hero__visual:after{content:"";position:absolute;width:220px;height:220px;right:-70px;bottom:-90px;border-radius:50%;background:rgba(233,167,99,.18)}
.business-visual-card{position:relative;z-index:1;display:flex;min-width:0;min-height:195px;flex-direction:column;justify-content:flex-end;padding:20px;border:1px solid rgba(255,255,255,.13);border-radius:21px;background:rgba(255,255,255,.07)}
.business-visual-card.is-result{background:linear-gradient(145deg,rgba(164,93,52,.78),rgba(115,61,34,.6))}
.business-visual-card span{position:absolute;top:17px;left:17px;color:rgba(255,255,255,.48);font-size:11px;font-weight:900}
.business-visual-card strong{font-size:18px}.business-visual-card small{margin-top:6px;color:rgba(255,255,255,.62)}
.business-visual-line{height:2px;background:rgba(255,255,255,.3)}
.business-hero__visual>em{position:absolute;z-index:2;top:28px;right:28px;display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#fff;color:var(--brand);font-size:15px;font-style:normal;font-weight:950}
.business-capability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.business-capability-grid article{padding:25px;border:1px solid var(--line);border-radius:23px;background:var(--surface);box-shadow:0 14px 40px rgba(70,45,25,.055)}
.business-capability-grid article>span{display:grid;place-items:center;width:45px;height:45px;margin-bottom:24px;border-radius:14px;background:var(--surface-2);color:var(--brand);font-size:16px;font-weight:900}
.business-capability-grid h3{margin:0 0 8px;font-size:21px}
.business-capability-grid p{margin:0;color:var(--muted);font-size:13px}
.business-workflow{background:#efe6dc}
.business-workflow__grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:55px}
.business-workflow__grid>div>p{color:var(--muted)}
.business-workflow ol{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.business-workflow li{display:flex;gap:15px;padding:18px;border-radius:18px;background:rgba(255,253,249,.76)}
.business-workflow li>span{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:12px;background:var(--brand);color:#fff;font-size:12px;font-weight:900}
.business-workflow li p{margin:4px 0 0;color:var(--muted);font-size:13px}
.business-integration-note{padding:24px 0;background:#211914;color:#fff}
.business-integration-note .container>div{display:flex;align-items:center;gap:15px}
.business-integration-note .container>div>span{display:grid;place-items:center;width:45px;height:45px;flex:0 0 45px;border-radius:14px;background:rgba(255,255,255,.1);color:#e9a763;font-size:20px}
.business-integration-note p{margin:3px 0 0;color:rgba(255,255,255,.65);font-size:12px}
.business-integration-note a{margin-left:auto;color:#fff;font-weight:850}
.business-form-section{scroll-margin-top:80px}
.business-form-section__grid{display:grid;grid-template-columns:.72fr 1.28fr;align-items:start;gap:52px}
.business-form-section__grid>div:first-child>p{color:var(--muted)}
.business-form-trust{display:flex;gap:12px;margin-top:25px;padding:16px;border-radius:17px;background:var(--surface-2)}
.business-form-trust>span{color:var(--brand);font-weight:950}.business-form-trust strong,.business-form-trust small{display:block}.business-form-trust small{margin-top:4px;color:var(--muted)}
.business-form-card{padding:26px;border:1px solid var(--line);border-radius:27px;background:var(--surface);box-shadow:var(--shadow)}
.business-form-card form{display:grid;gap:15px}
.business-form-card label>span:first-child{display:block;margin-bottom:6px;color:var(--text);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.business-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.business-form-card textarea{resize:vertical}
.business-form-card select{appearance:auto}
.field-error{display:block;margin-top:5px;color:#a6332c;font-size:11px}
.business-consent{display:flex;align-items:flex-start;gap:9px;color:var(--muted);font-size:12px}
.business-consent input{margin-top:3px}.business-consent a{color:var(--brand);text-decoration:underline}
.business-form-card .btn{width:100%}
.business-form-success,.business-form-error{margin-bottom:16px;padding:13px 15px;border-radius:14px;font-size:13px;font-weight:750}
.business-form-success{background:#e7f7eb;color:#28663a}.business-form-error{background:#fff0ee;color:#8b302a}
.business-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.business-related{padding-top:0}
.business-related__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.business-related__grid a{display:grid;gap:5px;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.business-related__grid a:hover{border-color:var(--brand);transform:translateY(-2px)}
.business-related__grid span{color:var(--muted);font-size:12px}

@media(max-width:1050px){
  .pricing-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pricing-hero__grid,.business-hero__grid,.pricing-rules__grid,.business-workflow__grid,.business-form-section__grid{grid-template-columns:1fr}
  .pricing-operation-costs,.business-hero__visual{max-width:720px}
}
@media(max-width:700px){
  .pricing-hero,.business-hero{padding:38px 0 52px}
  .pricing-package-grid,.pricing-rules__list,.business-capability-grid,.business-related__grid{grid-template-columns:1fr}
  .pricing-package-card>p{min-height:0}
  .business-hero__visual{min-height:330px;padding:19px;border-radius:24px}
  .business-capability-grid{gap:10px}
  .business-integration-note .container>div{align-items:flex-start;flex-wrap:wrap}
  .business-integration-note a{width:100%;margin:5px 0 0 60px}
  .business-form-row{grid-template-columns:1fr}
}
@media(max-width:460px){
  .pricing-operation-costs>div{grid-template-columns:1fr}
  .pricing-operation-costs strong{font-size:18px}
  .business-hero__actions{align-items:stretch;flex-direction:column}
  .business-hero__actions .btn{width:100%}
  .business-hero__visual{grid-template-columns:1fr;gap:10px}
  .business-visual-card{min-height:125px}
  .business-visual-line{width:2px;height:25px;margin:auto}
  .business-form-card{padding:18px;border-radius:22px}
}
