@import url('https://fonts.googleapis.com/css2?family=TikTok+Sans:wght@300;400;500;600;700&display=swap');
:root{--v82-wine:#4d0e12;--v82-wine2:#b3212a;--v82-cream:#fff7e3;--v82-blue:#80a8e6}
html,body{font-family:"TikTok Sans",Arial,sans-serif!important}
body{margin:0;background:#fff;overflow-x:hidden}
/* keep exported Figma text visible: the old reveal class could leave some copy at opacity:0 in Safari */
.fig-reveal-node{opacity:1!important}
.fig-text-node{font-family:"TikTok Sans",Arial,sans-serif!important;overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important}
.fig-instance-node[data-instance-name="меню"],.fig-instance-node[data-instance-name="меню открытое моб"]{visibility:hidden!important;pointer-events:none!important}
.fig-instance-node[data-instance-name*="подвал"]{display:none!important}

/* Header copied from the homepage geometry */
.v82-header{position:fixed;left:0;right:0;top:0;height:90px;background:#fff;box-shadow:0 4px 4px rgba(0,0,0,.05);z-index:30000;font-family:"TikTok Sans",Arial,sans-serif}
.v82-header-inner{width:1200px;height:90px;margin:0 auto;display:grid;grid-template-columns:74px 1fr auto;align-items:center;gap:70px}
.v82-logo{width:74px;height:74px;border-radius:50%;overflow:hidden;display:block}.v82-logo img{width:100%;height:100%;object-fit:cover;display:block}
.v82-nav{height:100%;display:flex;align-items:center;gap:44px;white-space:nowrap;font-size:14px}.v82-nav>a,.v82-services-trigger,.v82-blog-disabled{color:#000;text-decoration:none;position:relative;cursor:pointer}.v82-blog-disabled{cursor:default}
.v82-nav>a::after,.v82-services-trigger::after{content:"";position:absolute;left:0;right:100%;height:1px;bottom:-6px;background:#000;transition:right .24s ease}.v82-nav>a:hover::after,.v82-services-trigger:hover::after{right:0}
.v82-services-wrap{position:relative}.v82-services-menu{position:absolute;left:50%;top:28px;transform:translateX(-50%) translateY(-5px);width:205px;padding:12px;background:#fbfbfb;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.08);opacity:0;visibility:hidden;pointer-events:none;transition:.22s ease}.v82-services-menu::before{content:"";position:absolute;top:-8px;left:50%;margin-left:-13px;border-left:13px solid transparent;border-right:13px solid transparent;border-bottom:9px solid #fbfbfb}.v82-services-wrap:hover .v82-services-menu,.v82-services-wrap:focus-within .v82-services-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}.v82-services-menu a{display:block;padding:5px 4px;color:#000;text-decoration:none;text-align:center;font-size:11px;line-height:1.35}.v82-services-menu a:hover{text-decoration:underline;text-underline-offset:3px}
.v82-header-right{display:flex;align-items:center;gap:14px}.v82-socials{display:flex;gap:7px}.v82-socials a{width:35px;height:35px;border-radius:50%;background:var(--v82-cream);display:grid;place-items:center}.v82-socials img{width:20px;height:20px;object-fit:contain}.v82-format-btn{height:43px;min-width:169px;padding:0 18px;border-radius:5px;background:var(--v82-wine);color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500;position:relative;isolation:isolate;overflow:hidden}.v82-format-btn::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--v82-wine),var(--v82-wine2));opacity:0;transition:opacity .34s cubic-bezier(.22,1,.36,1);z-index:-1}.v82-format-btn:hover::before{opacity:1}.v82-lang{font-size:14px;white-space:nowrap}.v82-lang span{color:#b7b7b7}.v82-burger{display:none}
.v82-mobile-panel{display:none}

/* Footer matches the homepage footer instead of the incomplete exported footer instances. */
.v82-footer{width:1440px;height:268px;margin:0 auto;background:linear-gradient(90deg,#490b0c 38.62%,#000 100%);color:#fff;border-radius:30px 30px 0 0;font-family:"TikTok Sans",Arial,sans-serif}
.v82-footer-inner{width:1200px;height:100%;margin:0 auto;display:grid;grid-template-columns:1.55fr .55fr .9fr;gap:62px;padding-top:31px}
.v82-footer-logo{display:block;width:74px;height:74px;border-radius:50%;overflow:hidden}.v82-footer-logo img{display:block;width:100%;height:100%;object-fit:cover}.v82-copy{font-size:11px;margin-top:10px}.v82-ip{font-size:13px;line-height:1.35;margin-top:31px}.v82-footer h4{font-size:18px;font-weight:400;margin:0 0 15px}.v82-footer-menu,.v82-footer-contacts{padding-top:2px}.v82-footer-menu{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.v82-footer a{color:#fff;text-decoration:none;position:relative}.v82-footer-menu>a::after,.v82-footer-contacts>.v82-mail::after,.v82-legal a::after{content:"";position:absolute;left:0;right:100%;bottom:-2px;height:1px;background:#fff;transition:right .25s ease}.v82-footer a:hover::after{right:0}.v82-footer-menu a,.v82-footer-menu span{font-size:13px}.v82-footer-socials{display:flex;gap:7px;margin-bottom:9px}.v82-footer-socials a{width:35px;height:35px;background:var(--v82-cream);border-radius:50%;display:grid;place-items:center}.v82-footer-socials a::after{display:none}.v82-footer-socials img{width:19px;height:19px;object-fit:contain}.v82-mail{font-size:13px}.v82-meta{font-size:9px;line-height:1.25;color:rgba(255,255,255,.62);max-width:210px;margin:15px 0 12px}.v82-legal{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.v82-legal a{font-size:9px;color:rgba(255,255,255,.72)}

/* FAQ arrows (not plus/cross) */
.faq-arrow-v82,.v82-faq-arrow{position:relative;display:block;flex:0 0 28px;width:28px;height:28px;transition:transform .28s cubic-bezier(.22,1,.36,1)}
.faq-arrow-v82::before,.v82-faq-arrow::before{content:"";position:absolute;left:4px;top:13px;width:18px;height:1.5px;background:#601112}
.faq-arrow-v82::after,.v82-faq-arrow::after{content:"";position:absolute;right:5px;top:9px;width:8px;height:8px;border-right:1.5px solid #601112;border-bottom:1.5px solid #601112;transform:rotate(-45deg)}
.faq-q[aria-expanded="true"] .faq-arrow-v82,.v82-faq-q[aria-expanded="true"] .v82-faq-arrow{transform:rotate(90deg)}

.v82-faq{position:absolute;z-index:180;background:#fff;color:#000;width:1180px;left:130px;top:3807px}.v82-faq h2{font:500 40px/1 "TikTok Sans",Arial,sans-serif;text-align:center;margin:0 0 45px}.v82-faq-list{width:100%}.v82-faq-item{border-bottom:1px solid #601112}.v82-faq-q{width:100%;min-height:74px;border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:24px;text-align:left;padding:18px 12px;font:400 20px/1.3 "TikTok Sans",Arial,sans-serif;color:#000;cursor:pointer}.v82-faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .34s cubic-bezier(.22,1,.36,1)}.v82-faq-a>div{overflow:hidden;padding:0 12px;font:400 17px/1.5 "TikTok Sans",Arial,sans-serif}.v82-faq-item.open .v82-faq-a{grid-template-rows:1fr}.v82-faq-item.open .v82-faq-a>div{padding-bottom:20px}.v82-hide-static-faq{display:none!important}
.v82-nowrap{white-space:nowrap!important;width:max-content!important;min-width:150px!important}
body[data-page="course"] #fig-386-923{line-height:1.28!important;height:auto!important;max-height:none!important}
body[data-page="course"] #fig-54-570{line-height:1.28!important;height:auto!important}
body[data-page="course"] .fig-instance-node .fig-text-node{white-space:normal}

/* Translation reviews: never stretch screenshots/photos. */
.v82-review-card{overflow:hidden!important;background:#fff7e3!important}.v82-review-card .v82-review-img{left:0!important;top:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}

/* About teacher buttons become hits while preserving the exact exported visuals. */
.v82-teacher-more,.v82-telegram-hit{cursor:pointer!important;pointer-events:auto!important}.v82-teacher-more *,.v82-telegram-hit *{pointer-events:none!important}

@media(max-width:700px){
  .v82-header{height:41px}.v82-header-inner{width:360px;height:41px;padding:0 30px;display:grid;grid-template-columns:39px 1fr auto;gap:0}.v82-logo{width:39px;height:39px}.v82-nav,.v82-socials,.v82-lang{display:none}.v82-header-right{justify-self:end;gap:13px}.v82-format-btn{min-width:94px;width:94px;height:27px;padding:0 5px;font-size:10px;border-radius:5px}.v82-burger{display:block;width:33px;height:33px;border:0;background:var(--v82-cream);border-radius:50%;padding:7px;cursor:pointer}.v82-burger span{display:block;height:2px;background:#601112;border-radius:2px;margin:3px 0}.v82-mobile-panel{display:block;position:fixed;right:0;top:0;width:214px;height:382px;background:#fff;box-shadow:-12px 15px 28px rgba(0,0,0,.12);padding:15px 16px;transform:translateX(105%);transition:transform .3s cubic-bezier(.22,1,.36,1);z-index:31000}.v82-mobile-panel.is-open{transform:translateX(0)}.v82-mobile-close{position:absolute;right:12px;top:10px;width:32px;height:32px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}.v82-mobile-logo{display:block;width:50px;height:50px;border-radius:50%;overflow:hidden;margin-bottom:14px}.v82-mobile-logo img{width:100%;height:100%;object-fit:cover}.v82-mobile-panel nav{display:flex;flex-direction:column;align-items:stretch;gap:0}.v82-mobile-panel nav>a,.v82-mobile-panel nav>span,.v82-mobile-services-toggle{font:400 14px/1.15 "TikTok Sans",Arial,sans-serif;color:#000;text-decoration:none;background:transparent;border:0;text-align:left;padding:5px 0;cursor:pointer}.v82-mobile-services-toggle{display:flex;justify-content:space-between}.v82-mobile-services{display:none;padding:3px 0 5px 9px}.v82-mobile-services.open{display:block}.v82-mobile-services a{display:block;color:#000;text-decoration:none;font-size:9px;line-height:1.4;padding:2px 0}.v82-mobile-bottom{position:absolute;left:16px;right:16px;bottom:13px;display:grid;grid-template-columns:1fr;gap:8px}.v82-mobile-socials{display:flex;gap:5px}.v82-mobile-socials a{width:25px;height:25px;border-radius:50%;background:var(--v82-cream);display:grid;place-items:center}.v82-mobile-socials img{width:14px;height:14px}.v82-format-btn.mobile{width:94px}.v82-mobile-bottom .v82-lang{display:block;font-size:10px}
  .v82-footer{width:360px;height:451px;border-radius:30px 30px 0 0}.v82-footer-inner{width:300px;margin:0 auto;padding-top:22px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:12px 20px}.v82-footer-brand{grid-column:1/-1}.v82-footer-logo{width:55px;height:55px}.v82-copy{font-size:9px;margin-top:8px}.v82-ip{font-size:10px;line-height:1.35;margin-top:14px}.v82-footer h4{font-size:14px;margin-bottom:9px}.v82-footer-menu a,.v82-footer-menu span,.v82-mail{font-size:10px}.v82-footer-menu{gap:6px}.v82-footer-socials a{width:23px;height:23px}.v82-footer-socials img{width:13px;height:13px}.v82-meta{font-size:7px;margin:8px 0}.v82-legal{gap:5px}.v82-legal a{font-size:7px}
  .v82-faq{left:30px;top:4181px;width:300px}.v82-faq h2{font-size:26px;margin-bottom:18px}.v82-faq-q{min-height:46px;font-size:14px;padding:10px 0}.v82-faq-a>div{font-size:12px;line-height:1.45;padding-left:0;padding-right:0}.v82-faq-item.open .v82-faq-a>div{padding-bottom:12px}.faq-arrow-v82,.v82-faq-arrow{width:24px;height:24px;flex-basis:24px}.faq-arrow-v82::before,.v82-faq-arrow::before{left:3px;top:11px;width:16px}.faq-arrow-v82::after,.v82-faq-arrow::after{right:4px;top:7px;width:7px;height:7px}
  body[data-page="course"] #fig-387-1151{line-height:1.28!important;height:auto!important}
}


/* ===== v8.3 — about page exact layering + interactive certificates/teachers ===== */
body[data-page="about"] .fig-desktop-wrap .fig-frame-page > .fig-text-node{z-index:30!important}
body[data-page="about"] .fig-desktop-wrap .fig-frame-page > .fig-instance-node{z-index:35!important}
body[data-page="about"] .fig-desktop-wrap .fig-frame-page > .fig-rounded_rectangle:has(>img),
body[data-page="about"] .fig-desktop-wrap .fig-frame-page > .fig-frame:has(img){z-index:20!important}
body[data-page="about"] #fig-325-2077,
body[data-page="about"] #fig-325-2081,
body[data-page="about"] #fig-325-2083,
body[data-page="about"] #fig-325-2124{z-index:1!important}
body[data-page="about"] #fig-327-2306{z-index:5!important}
body[data-page="about"] #fig-327-2307,
body[data-page="about"] #fig-327-2308,
body[data-page="about"] #fig-327-2309,
body[data-page="about"] #fig-327-2310{z-index:10!important}
body[data-page="about"] .v83-hide-static-teacher,
body[data-page="about"] .v83-hide-static-cert{visibility:hidden!important;pointer-events:none!important}

body[data-page="about"] .about-teacher-viewport{
  left:107px!important;top:2733px!important;width:1225px!important;height:666px!important;z-index:50!important;
}
body[data-page="about"] #fig-327-2293,
body[data-page="about"] #fig-327-2296{z-index:70!important;cursor:pointer!important;pointer-events:auto!important}

body[data-page="about"] .about-cert-viewport{
  position:absolute;left:120px;top:2078px;width:1200px;height:450px;overflow:hidden;z-index:45;
}
body[data-page="about"] .about-cert-card{
  position:absolute;display:grid;place-items:center;overflow:hidden;transition:left .5s cubic-bezier(.22,1,.36,1),top .5s cubic-bezier(.22,1,.36,1),width .5s cubic-bezier(.22,1,.36,1),height .5s cubic-bezier(.22,1,.36,1),opacity .35s ease;
  background:transparent;
}
body[data-page="about"] .about-cert-card img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;user-select:none;pointer-events:none}
body[data-page="about"] .about-cert-card[data-slot="0"]{left:13px;top:79px;width:414px;height:308px}
body[data-page="about"] .about-cert-card[data-slot="1"]{left:454px;top:0;width:318px;height:450px}
body[data-page="about"] .about-cert-card[data-slot="2"]{left:832px;top:0;width:318px;height:450px}
body[data-page="about"] #fig-326-2129,
body[data-page="about"] #fig-326-2135{z-index:70!important;cursor:pointer!important;pointer-events:auto!important}

/* Keep the about CTA exactly above its Figma background image. */
body[data-page="about"] #fig-327-2306 img{width:100%!important;height:100%!important;object-fit:cover!important}

@media(max-width:700px){
  body[data-page="about"] .fig-mobile-wrap .fig-text-node{z-index:20!important}
  body[data-page="about"] .fig-mobile-wrap .fig-rounded_rectangle:has(>img){z-index:10!important}
}
/* v8.3 restore the Figma arrow artwork on about-page carousel hit areas. */
body[data-page="about"] #fig-326-2129::before,
body[data-page="about"] #fig-326-2135::before,
body[data-page="about"] #fig-327-2293::before,
body[data-page="about"] #fig-327-2296::before{
  content:"";position:absolute;left:15px;top:27px;width:24px;height:2px;background:#601112;border-radius:2px;z-index:4;
}
body[data-page="about"] #fig-326-2129::after,
body[data-page="about"] #fig-326-2135::after,
body[data-page="about"] #fig-327-2293::after,
body[data-page="about"] #fig-327-2296::after{
  content:"";position:absolute;left:31px;top:20px;width:12px;height:12px;border-top:2px solid #601112;border-right:2px solid #601112;transform:rotate(45deg);z-index:4;
}
