/* Public Proftoon site — aligned with the course landing and application UI. */
:root {
  --mainfontFamily: "Montserrat", Arial, sans-serif;
  --optionalfontFamily: "Montserrat", Arial, sans-serif;
  --mainColor: #7d9cb2;
  --mainColorShade: #385e79;
  --mainColorTint: #beced9;
  --secondaryColor: #a3b9a4;
  --secondaryColorShade: #527f54;
  --accentColor: #d99e88;
  --pageBackground: #efedea;
  --surfaceColor: #fcfcfc;
  --blackColor: #031521;
}

body.proftoon-site {
  background: var(--pageBackground);
  color: var(--blackColor);
  font-family: var(--mainfontFamily);
}

body.proftoon-site p,
body.proftoon-site li { font-family: var(--mainfontFamily); line-height: 1.55; }

/* Template capitalizes every word in headings and nav — wrong for Russian. */
body.proftoon-site h1,
body.proftoon-site h2,
body.proftoon-site h3,
body.proftoon-site h4,
body.proftoon-site h5,
body.proftoon-site h6,
body.proftoon-site .navbar-light .navbar-nav .nav-item a { text-transform: none; }

/* Hero */
body.proftoon-site .hero {
  padding: 56px 0 72px;
  background: var(--pageBackground);
  overflow: hidden;
}
body.proftoon-site .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}
body.proftoon-site .hero-title {
  margin: 0 0 20px;
  color: var(--blackColor);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
}
body.proftoon-site .hero-title .slogan-phrases { margin-right: .15em; }
body.proftoon-site .hero-lead {
  max-width: 560px;
  margin: 0 0 32px;
  color: #3d4f5c;
  font-size: 19px;
  line-height: 1.6;
}
body.proftoon-site .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
body.proftoon-site .default-btn.hero-cta {
  padding: 16px 32px;
  background: var(--secondaryColor);
  color: var(--blackColor);
  font-size: 17px;
}
body.proftoon-site .default-btn.hero-cta span { background: var(--secondaryColorShade); }
body.proftoon-site .hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mainColorShade);
  font-size: 16px;
  font-weight: 700;
}
body.proftoon-site .hero-secondary i { font-size: 28px; color: var(--mainColor); }
body.proftoon-site .hero-secondary:hover { color: var(--mainColor); }
body.proftoon-site .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #5b6b76;
  font-size: 14px;
  font-weight: 600;
}
body.proftoon-site .hero-facts li { display: inline-flex; align-items: center; gap: 6px; }
body.proftoon-site .hero-facts i { color: var(--secondaryColorShade); font-size: 16px; }
body.proftoon-site .hero-video-card { display: block; }
/* Video has a white background: multiply blends it into the page color. */
body.proftoon-site .hero-video-card .hero-teacher-video { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
body.proftoon-site .hero-video-card:focus-visible { outline: 3px solid var(--mainColor); outline-offset: 4px; }
@media (max-width: 991px) {
  body.proftoon-site .hero { padding: 32px 0 56px; }
  body.proftoon-site .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  body.proftoon-site .hero-media { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 575px) {
  body.proftoon-site .hero-lead { font-size: 17px; }
  body.proftoon-site .hero-actions { flex-direction: column; align-items: stretch; }
  body.proftoon-site .default-btn.hero-cta { width: 100%; }
  body.proftoon-site .hero-secondary { justify-content: center; }
}

/* Audience strip */
body.proftoon-site .audience-strip { padding: 8px 0 72px; background: var(--pageBackground); }
body.proftoon-site .audience-strip-title {
  margin: 0 0 24px;
  color: var(--mainColor);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
/* Flex instead of grid: an incomplete last row stays centered (5 cards). */
body.proftoon-site .audience-cards {
  --audience-gap: 16px;
  --audience-cols: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--audience-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
body.proftoon-site .audience-card {
  flex: 0 1 calc((100% - (var(--audience-cols) - 1) * var(--audience-gap)) / var(--audience-cols));
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(125, 156, 178, .2);
  border-radius: 16px;
}
body.proftoon-site .audience-card .audience-icon { width: 96px; margin: 0 0 12px; }
body.proftoon-site .audience-card h3 { margin: 0 0 8px; color: var(--mainColorShade); font-size: 17px; line-height: 1.3; }
body.proftoon-site .audience-card p { margin: 0; font-size: 14px; line-height: 1.55; }
@media (max-width: 1199px) {
  body.proftoon-site .audience-cards { --audience-cols: 3; }
}
@media (max-width: 767px) {
  body.proftoon-site .audience-cards { --audience-cols: 2; }
}
@media (max-width: 575px) {
  body.proftoon-site .audience-strip { padding-bottom: 48px; }
  body.proftoon-site .audience-cards { --audience-cols: 1; --audience-gap: 12px; }
  body.proftoon-site .audience-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  body.proftoon-site .audience-card .audience-icon { grid-row: 1 / 3; width: 72px; margin: 0; align-self: start; }
}

/* Navbar CTA */
body.proftoon-site .nav-actions { gap: 12px; }
body.proftoon-site .default-btn.nav-cta {
  padding: 9px 18px;
  background: var(--secondaryColor);
  color: var(--blackColor);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
body.proftoon-site .default-btn.nav-cta span { background: var(--secondaryColorShade); }
@media (min-width: 992px) and (max-width: 1199px) {
  body.proftoon-site .default-btn.nav-cta { display: none; }
}
@media (max-width: 991px) {
  body.proftoon-site .nav-actions { flex-wrap: wrap; margin-top: 12px; }
  body.proftoon-site .lang-switcher { margin: 0; }
}
body.proftoon-site .audience-section { padding: 72px 0; }
body.proftoon-site .features-section { padding: 72px 0; }
body.proftoon-site .features-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.proftoon-site .feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--surfaceColor);
  border: 1px solid rgba(125, 156, 178, .2);
  border-radius: 16px;
}
body.proftoon-site .feature-item img { width: 112px; height: 112px; object-fit: contain; flex: 0 0 112px; }
body.proftoon-site .feature-copy { min-width: 0; }
body.proftoon-site .feature-item h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; color: var(--mainColorShade); text-transform: none; }
body.proftoon-site .feature-item p { margin: 0; font-size: 15px; line-height: 1.6; }
@media (max-width: 991px) {
  body.proftoon-site .features-list { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  body.proftoon-site .features-section { padding: 48px 0; }
  body.proftoon-site .features-list { gap: 16px; }
  body.proftoon-site .feature-item { padding: 18px 14px; gap: 14px; align-items: flex-start; }
  body.proftoon-site .feature-item img { width: 72px; height: 72px; flex-basis: 72px; }
  body.proftoon-site .feature-item h3 { font-size: 18px; }
}
body.proftoon-site .features-section .section-title p { max-width: 760px; margin: 12px auto 0; font-size: 17px; }
body.proftoon-site .features-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
body.proftoon-site .features-group {
  padding: 28px 24px;
  background: var(--surfaceColor);
  border: 1px solid rgba(125, 156, 178, .2);
  border-radius: 16px;
}
body.proftoon-site .features-group > img { display: block; width: 96px; height: 96px; margin: 0 0 12px; object-fit: contain; }
body.proftoon-site .features-group > h3 { margin: 0 0 18px; font-size: 22px; line-height: 1.3; color: var(--mainColorShade); text-transform: none; }
body.proftoon-site .features-group-list { margin: 0; padding: 0; list-style: none; }
body.proftoon-site .features-group-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  line-height: 1.55;
}
body.proftoon-site .features-group-list li + li { border-top: 1px solid rgba(125, 156, 178, .18); }
body.proftoon-site .features-group-list i { flex: 0 0 24px; margin-top: 1px; color: var(--mainColor); font-size: 24px; }
body.proftoon-site .features-group-list strong { color: var(--mainColorShade); }
@media (max-width: 991px) {
  body.proftoon-site .features-groups { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 575px) {
  body.proftoon-site .features-group { padding: 20px 16px; }
  body.proftoon-site .features-group > img { width: 72px; height: 72px; }
}
body.proftoon-site .how-section { padding: 72px 0; background: var(--surfaceColor); }
body.proftoon-site .how-section .section-title p { max-width: 760px; margin: 12px auto 0; font-size: 17px; }
body.proftoon-site .how-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.proftoon-site .how-step {
  position: relative;
  padding: 24px;
  background: var(--pageBackground);
  border-radius: 16px;
}
body.proftoon-site .how-step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
body.proftoon-site .how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mainColorShade);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
body.proftoon-site .how-step-head i { color: var(--mainColor); font-size: 36px; }
body.proftoon-site .how-step h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.3; color: var(--mainColorShade); text-transform: none; }
body.proftoon-site .how-step p { margin: 0; font-size: 15px; line-height: 1.6; }
@media (min-width: 992px) {
  body.proftoon-site .how-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 44px;
    right: -18px;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--mainColor);
    border-right: 2px solid var(--mainColor);
    transform: rotate(45deg);
  }
}
body.proftoon-site .example-course {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 56px;
  padding: 20px 24px;
  background: var(--surfaceColor);
  border: 1px solid rgba(125, 156, 178, .25);
  border-left: 4px solid var(--accentColor);
  border-radius: 12px;
}
body.proftoon-site .example-course-icon {
  flex: 0 0 auto;
  color: var(--accentColor);
  font-size: 44px;
}
body.proftoon-site .example-course-copy { flex: 1 1 auto; min-width: 0; }
body.proftoon-site .example-course h3 { margin: 0 0 4px; color: var(--mainColorShade); font-size: 19px; line-height: 1.3; }
body.proftoon-site .example-course p { margin: 0; font-size: 15px; }
body.proftoon-site .default-btn.example-course-btn {
  flex: 0 0 auto;
  background: var(--secondaryColor);
  color: var(--blackColor);
  font-weight: 700;
  white-space: nowrap;
}
body.proftoon-site .default-btn.example-course-btn span { background: var(--secondaryColorShade); }
@media (max-width: 767px) {
  body.proftoon-site .example-course { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 16px; }
  body.proftoon-site .default-btn.example-course-btn { width: 100%; }
}
body.proftoon-site .tech-section { padding: 72px 0; background: var(--surfaceColor); }
body.proftoon-site .tech-section .section-title p { max-width: 760px; margin: 12px auto 0; font-size: 17px; }
body.proftoon-site .tech-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body.proftoon-site .tech-card { padding: 28px; border-radius: 16px; border: 1px solid transparent; }
body.proftoon-site .tech-card-ai { background: rgba(125, 156, 178, .14); border-color: rgba(125, 156, 178, .3); }
body.proftoon-site .tech-card-classic { background: rgba(217, 158, 136, .14); border-color: rgba(217, 158, 136, .35); }
body.proftoon-site .tech-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.proftoon-site .tech-card-ai .tech-tag { background: var(--mainColorShade); }
body.proftoon-site .tech-card-classic .tech-tag { background: #b9745b; }
body.proftoon-site .tech-card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; color: var(--mainColorShade); text-transform: none; }
body.proftoon-site .tech-card p { margin: 0; font-size: 15px; line-height: 1.6; }
body.proftoon-site .tech-card p.tech-note {
  margin-top: 14px;
  padding: 10px 14px;
  border-left: 4px solid #b9745b;
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, .7);
  color: var(--mainColorShade);
  font-size: 16px;
  font-weight: 800;
}
@media (max-width: 991px) {
  body.proftoon-site .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body.proftoon-site .tech-section { padding: 48px 0; }
  body.proftoon-site .tech-cards { grid-template-columns: 1fr; gap: 16px; }
  body.proftoon-site .tech-card { padding: 20px 16px; }
}
@media (max-width: 575px) {
  body.proftoon-site .how-section { padding: 48px 0; }
  body.proftoon-site .how-steps { grid-template-columns: 1fr; gap: 16px; }
  body.proftoon-site .how-step { padding: 20px 16px; }
}
body.proftoon-site .pricing-section { padding: 72px 0; background: var(--pageBackground); }
body.proftoon-site .pricing-section .section-title p { max-width: 760px; margin: 12px auto 0; font-size: 17px; }
body.proftoon-site .pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
body.proftoon-site .pricing-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--surfaceColor);
  border: 1px solid rgba(125, 156, 178, .2);
  border-radius: 16px;
}
body.proftoon-site .pricing-card-main { border: 2px solid var(--mainColor); }
body.proftoon-site .pricing-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; color: var(--mainColorShade); text-transform: none; }
body.proftoon-site .pricing-card .pricing-price { margin: 0 0 14px; color: var(--accentColor); font-size: 24px; font-weight: 800; line-height: 1.25; }
body.proftoon-site .pricing-card p { margin: 0 0 24px; font-size: 15px; line-height: 1.6; }
body.proftoon-site .pricing-card .default-btn.pricing-btn { margin-top: auto; align-self: flex-start; }
body.proftoon-site .pricing-card-main .default-btn.pricing-btn { background: var(--secondaryColor); color: var(--blackColor); }
body.proftoon-site .pricing-card-main .default-btn.pricing-btn span { background: var(--secondaryColorShade); }
@media (max-width: 991px) {
  body.proftoon-site .pricing-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 575px) {
  body.proftoon-site .pricing-section { padding: 48px 0; }
  body.proftoon-site .pricing-card { padding: 20px 16px; }
}
body.proftoon-site .faq-section { padding: 72px 0; background: var(--surfaceColor); }
body.proftoon-site .faq-list { max-width: 860px; margin: 0 auto; }
body.proftoon-site .faq-item { border-bottom: 1px solid rgba(125, 156, 178, .25); }
body.proftoon-site .faq-item:first-child { border-top: 1px solid rgba(125, 156, 178, .25); }
body.proftoon-site .faq-item summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--mainColorShade);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
body.proftoon-site .faq-item summary::-webkit-details-marker { display: none; }
body.proftoon-site .faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  color: var(--mainColor);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}
body.proftoon-site .faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
body.proftoon-site .faq-item summary:hover { color: var(--mainColor); }
body.proftoon-site .faq-item summary:focus-visible { outline: 2px solid var(--mainColor); outline-offset: 4px; border-radius: 4px; }
body.proftoon-site .faq-item p { margin: 0 0 20px; padding-right: 44px; font-size: 16px; line-height: 1.65; }
body.proftoon-site .faq-item p a { color: var(--mainColorShade); text-decoration: underline; }
@media (max-width: 575px) {
  body.proftoon-site .faq-section { padding: 48px 0; }
  body.proftoon-site .faq-item summary { font-size: 16px; padding: 16px 36px 16px 0; }
  body.proftoon-site .faq-item p { padding-right: 0; font-size: 15px; }
}
body.proftoon-site .partners-section { padding: 72px 0; background: var(--pageBackground); }
body.proftoon-site .partners-section .section-title p { max-width: 760px; margin: 12px auto 0; font-size: 17px; }
body.proftoon-site .partners-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.proftoon-site .partner-item {
  padding: 28px;
  background: var(--surfaceColor);
  border: 1px solid rgba(125, 156, 178, .2);
  border-radius: 16px;
}
body.proftoon-site .partner-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(217, 158, 136, .16);
  color: var(--accentColor);
  font-size: 30px;
}
body.proftoon-site .partner-item h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; color: var(--mainColorShade); text-transform: none; }
body.proftoon-site .partner-item p { margin: 0; font-size: 15px; line-height: 1.6; }
body.proftoon-site .partner-contact {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--surfaceColor);
  border: 1px solid rgba(125, 156, 178, .2);
  border-radius: 16px;
}
body.proftoon-site .partner-contact img { width: 96px; height: 96px; flex: 0 0 96px; border-radius: 50%; object-fit: cover; }
body.proftoon-site .partner-contact-copy { flex: 1 1 auto; min-width: 0; }
body.proftoon-site .partner-contact h3 { margin: 0 0 6px; font-size: 22px; color: var(--mainColorShade); text-transform: none; }
body.proftoon-site .partner-contact p { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
body.proftoon-site .partner-contact-links { flex: 0 0 auto; text-align: right; }
body.proftoon-site .contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.proftoon-site .contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  transition: transform .15s ease, filter .15s ease;
}
body.proftoon-site .contact-links a:hover { transform: translateY(-2px); filter: brightness(1.08); }
body.proftoon-site .contact-links a:focus-visible { outline: 2px solid var(--mainColor); outline-offset: 3px; }
body.proftoon-site .contact-links a[data-contact-channel="email"] { background: var(--mainColorShade); }
body.proftoon-site .contact-links a[data-contact-channel="whatsapp"] { background: #25d366; }
body.proftoon-site .contact-links a[data-contact-channel="telegram"] { background: #229ed9; }
body.proftoon-site .contact-links-status:empty { display: none; }
body.proftoon-site .partner-contact .contact-links-status { max-width: 240px; margin: 8px 0 0 auto; color: var(--secondaryColorShade); font-size: 13px; font-weight: 600; }
@media (max-width: 767px) {
  body.proftoon-site .contact-links { justify-content: center; }
  body.proftoon-site .partner-contact-links { text-align: center; }
}

/* Contact channel chooser */
body.proftoon-site .contact-dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 28px 24px 22px;
  border: 0;
  border-radius: 16px;
  background: var(--surfaceColor);
  color: var(--blackColor);
  box-shadow: 0 24px 64px rgba(3, 21, 33, .25);
}
body.proftoon-site .contact-dialog::backdrop { background: rgba(3, 21, 33, .55); }
body.proftoon-site .contact-dialog h3 { margin: 0 32px 6px 0; color: var(--mainColorShade); font-size: 21px; }
body.proftoon-site .contact-dialog-hint { margin: 0 0 18px; color: #5b6b76; font-size: 14px; }
body.proftoon-site .contact-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--mainColorShade);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
body.proftoon-site .contact-dialog-close:hover { background: rgba(125, 156, 178, .15); }
body.proftoon-site .contact-options { display: grid; gap: 10px; }
body.proftoon-site .contact-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(125, 156, 178, .3);
  border-radius: 12px;
  background: #fff;
  color: var(--blackColor);
  transition: border-color .15s ease, background .15s ease;
}
body.proftoon-site .contact-option:hover,
body.proftoon-site .contact-option:focus-visible { border-color: var(--mainColor); background: rgba(125, 156, 178, .08); outline: none; }
body.proftoon-site .contact-option i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  font-size: 22px;
}
body.proftoon-site .contact-option[data-channel="email"] i { background: var(--mainColorShade); }
body.proftoon-site .contact-option[data-channel="whatsapp"] i { background: #25d366; }
body.proftoon-site .contact-option[data-channel="telegram"] i { background: #229ed9; }
body.proftoon-site .contact-option strong { display: block; color: var(--mainColorShade); font-size: 16px; }
body.proftoon-site .contact-option small { display: block; color: #5b6b76; font-size: 13px; }
body.proftoon-site .contact-dialog-status { min-height: 1.4em; margin: 12px 0 0; color: var(--secondaryColorShade); font-size: 14px; font-weight: 600; }
@media (max-width: 991px) {
  body.proftoon-site .partners-list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  body.proftoon-site .partner-contact { flex-direction: column; text-align: center; padding: 24px 16px; gap: 16px; }
}
@media (max-width: 575px) {
  body.proftoon-site .partners-section { padding: 48px 0; }
  body.proftoon-site .partners-list { gap: 16px; }
  body.proftoon-site .partner-item { padding: 20px 16px; }
  body.proftoon-site .partner-item h3 { font-size: 18px; }
}
body.proftoon-site .audience-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
body.proftoon-site .audience-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 32px;
  min-width: 0;
  padding: 28px 0;
  text-align: left;
}
body.proftoon-site .audience-item + .audience-item { border-top: 1px solid rgba(125, 156, 178, .25); }
/* Separate icons in img/audience/ (authors, teachers, schools, companies, partners).
   The PNGs have an off-white background: multiply blends it into the card. */
body.proftoon-site .audience-icon {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}
body.proftoon-site .audience-item h3 {
  align-self: end;
  margin: 0 0 10px;
  color: var(--mainColorShade);
  font-size: 22px;
  line-height: 1.3;
}
body.proftoon-site .audience-item p { margin: 0; font-size: 16px; line-height: 1.65; }
@media (max-width: 575px) {
  body.proftoon-site .audience-section { padding: 48px 0; }
  body.proftoon-site .audience-item { grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; padding: 24px 0; }
  body.proftoon-site .audience-icon { align-self: start; }
  body.proftoon-site .audience-item h3 { font-size: 19px; }
  body.proftoon-site .audience-item p { font-size: 15px; }
}
body.proftoon-site h1,
body.proftoon-site h2,
body.proftoon-site h3,
body.proftoon-site h4 { font-family: var(--mainfontFamily); font-weight: 800; }

body.proftoon-site .navbar-light,
body.proftoon-site .navbar.is-sticky {
  background: var(--surfaceColor) !important;
  border-bottom: 1px solid rgba(125, 156, 178, .24);
  box-shadow: none;
}
body.proftoon-site .navbar-light .navbar-nav .nav-item a {
  color: var(--mainColorShade);
  font-size: 14px;
  font-weight: 700;
}
body.proftoon-site .navbar-light .navbar-nav .nav-item a:hover,
body.proftoon-site .navbar-light .navbar-nav .nav-item a.active { color: var(--mainColor); }
body.proftoon-site .lang-switcher { position: relative; }
body.proftoon-site .lang-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(125, 156, 178, .4);
  border-radius: 8px;
  color: var(--mainColorShade);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
body.proftoon-site .lang-switcher summary::-webkit-details-marker { display: none; }
body.proftoon-site .lang-switcher summary:hover,
body.proftoon-site .lang-switcher[open] summary { border-color: var(--mainColor); background: rgba(125, 156, 178, .08); }
body.proftoon-site .lang-switcher summary:focus-visible { outline: 2px solid var(--mainColor); outline-offset: 2px; }
body.proftoon-site .lang-switcher summary .la-globe { font-size: 20px; }
body.proftoon-site .lang-switcher-caret { font-size: 14px; transition: transform .2s ease; }
body.proftoon-site .lang-switcher[open] .lang-switcher-caret { transform: rotate(180deg); }
body.proftoon-site .lang-switcher-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1000;
  min-width: 180px;
  max-height: min(360px, 60vh);
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  background: var(--surfaceColor);
  border: 1px solid rgba(125, 156, 178, .3);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(3, 21, 33, .12);
}
body.proftoon-site .lang-switcher-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--blackColor);
  font-size: 15px;
  text-decoration: none;
}
body.proftoon-site .lang-switcher-menu a:hover,
body.proftoon-site .lang-switcher-menu a:focus-visible { background: rgba(125, 156, 178, .12); color: var(--mainColorShade); outline: none; }
body.proftoon-site .lang-switcher-menu a[aria-current="page"] { color: var(--mainColorShade); font-weight: 700; }
@media (max-width: 991px) {
  body.proftoon-site .lang-switcher { margin: 12px 0 8px; }
  body.proftoon-site .lang-switcher-menu { left: 0; right: auto; }
}
body.proftoon-site .logo h3 {
  align-items: center;
  color: var(--accentColor);
  display: flex;
  font-family: Helvetica, var(--mainfontFamily);
  font-weight: 400;
  gap: 4px;
}
body.proftoon-site .brand-mark {
  background: var(--accentColor);
  display: inline-block;
  height: 38px;
  width: 36px;
  -webkit-mask: url("../img/logo.svg") center / contain no-repeat;
  mask: url("../img/logo.svg") center / contain no-repeat;
}

body.proftoon-site .products-banner-area,
body.proftoon-site .products-banner-area.two {
  height: auto;
  min-height: 720px;
  background: var(--pageBackground);
  border-bottom: 1px solid rgba(125, 156, 178, .18);
}
body.proftoon-site .products-banner-area .main-banner-content.two h1 {
  color: var(--mainColorShade);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
body.proftoon-site .hero-teacher-video {
  cursor: pointer;
  display: inline-block;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}
body.proftoon-site.teacher-video-open { overflow: hidden; }
body.proftoon-site .teacher-video-dialog {
  background: #031521;
  border: 0;
  border-radius: 12px;
  margin: auto;
  padding: 44px 12px 12px;
  width: min(1100px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
}
body.proftoon-site .teacher-video-dialog::backdrop { background: rgba(3, 21, 33, .8); }
body.proftoon-site .teacher-video-dialog video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 104px);
}
body.proftoon-site .video-end {
  position: absolute;
  inset: 44px 12px 12px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  background: rgba(3, 21, 33, .82);
  color: #fff;
  text-align: center;
}
body.proftoon-site .video-end[hidden] { display: none; }
body.proftoon-site .video-end-title { margin: 0; color: #fff; font-size: 24px; font-weight: 800; }
body.proftoon-site .video-end-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: min(360px, 100%);
}
body.proftoon-site .video-end-cta,
body.proftoon-site .video-end-other,
body.proftoon-site .video-end-replay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 8px;
  font-family: var(--mainfontFamily);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}
body.proftoon-site .video-end-cta { border: 0; background: var(--secondaryColor); color: var(--blackColor); }
body.proftoon-site .video-end-cta:hover { background: #b6cab7; color: var(--blackColor); }
body.proftoon-site .video-end-other,
body.proftoon-site .video-end-replay { border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; }
body.proftoon-site .video-end-other:hover,
body.proftoon-site .video-end-replay:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
body.proftoon-site .video-end-replay { border-color: transparent; font-weight: 600; opacity: .85; }
body.proftoon-site .video-end i { font-size: 18px; }
body.proftoon-site .video-end :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body.proftoon-site .teacher-video-close {
  position: absolute;
  top: 0;
  right: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}
body.proftoon-site .products-about-video {
  margin: 32px 0 48px;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  width: 100%;
}
body.proftoon-site .landing-demo-video-wrap {
  line-height: 0;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}
body.proftoon-site .landing-demo-video-cover,
body.proftoon-site .landing-demo-video {
  border: 0;
  cursor: pointer;
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  object-fit: contain;
  outline: none;
  vertical-align: top;
  width: 100%;
}
body.proftoon-site .landing-demo-video {
  cursor: default;
}
body.proftoon-site .demo-video-link { display: block; }
body.proftoon-site .demo-video-link .landing-demo-video { cursor: pointer; }
body.proftoon-site .demo-video-link:focus-visible { outline: 3px solid var(--mainColor); outline-offset: 4px; }
body.proftoon-site .landing-demo-video-cover[hidden] {
  display: none;
}
body.proftoon-site .landing-demo-video[hidden] {
  display: none;
}
@media (max-width: 767px) {
  body.proftoon-site .products-about-video {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  body.proftoon-site .landing-demo-video-wrap {
    margin-left: auto;
    margin-right: auto;
  }
  body.proftoon-site .landing-demo-video-cover,
  body.proftoon-site .landing-demo-video {
    max-height: none;
    object-fit: contain;
  }
}
body.proftoon-site .main-banner-content h2.slogan { color: var(--mainColorShade); font-weight: 700; }
body.proftoon-site .main-banner-content.hero-course-intro h1 { margin-bottom: 24px; }
body.proftoon-site .main-banner-content.hero-course-intro h2.slogan {
  margin: 0 0 24px;
  line-height: 1.5;
}
body.proftoon-site .main-banner-content.hero-course-intro p {
  margin: 0 0 18px;
  line-height: 1.65;
}
body.proftoon-site .hero-course-intro p strong {
  color: var(--mainColorShade);
  font-weight: 700;
}
body.proftoon-site .main-banner-content.hero-course-intro .banner-btn { margin-top: 28px; }
body.proftoon-site .products-banner-area .main-banner-content.hero-course-intro h1.slogan {
  margin: 0 0 24px;
  color: var(--mainColorShade);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: normal;
  text-transform: none;
}
body.proftoon-site .hero-course-intro .audience-item {
  grid-template-columns: 80px minmax(0, 1fr);
  column-gap: 18px;
  padding: 16px 0;
}
body.proftoon-site .hero-course-intro .audience-item h3 {
  font-size: 18px;
  margin: 0 0 6px;
}
body.proftoon-site .main-banner-content.hero-course-intro .audience-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 575px) {
  body.proftoon-site .hero-course-intro .audience-item {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 12px;
  }
}
@media (max-width: 767px) {
  body.proftoon-site .main-banner-content.hero-course-intro h1,
  body.proftoon-site .main-banner-content.hero-course-intro h2.slogan { margin-bottom: 20px; }
  body.proftoon-site .main-banner-content.hero-course-intro .banner-btn { margin-top: 24px; }
}
body.proftoon-site .slogan-phrases {
  display: inline-grid;
  vertical-align: baseline;
  overflow: hidden;
  padding: .08em .4em;
  background: var(--mainColorTint);
  border-radius: .3em;
  text-align: center;
}
body.proftoon-site .slogan-phrase {
  grid-area: 1 / 1;
  place-self: center;
  color: var(--secondaryColorShade);
  animation: slogan-rotate 8s ease-in-out infinite;
}
body.proftoon-site .slogan-phrase + .slogan-phrase {
  color: var(--mainColorShade);
  animation-delay: -4s;
}
@keyframes slogan-rotate {
  0%, 40%, 100% { opacity: 1; transform: translateY(0); filter: blur(0); }
  48% { opacity: 0; transform: translateY(-.65em); filter: blur(3px); }
  49%, 90% { opacity: 0; transform: translateY(.65em); filter: blur(3px); }
  98% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  body.proftoon-site .slogan-phrases { display: inline; }
  body.proftoon-site .slogan-phrase { animation: none; }
  body.proftoon-site .slogan-phrase + .slogan-phrase::before { content: " and "; }
  html[lang="ru"] body.proftoon-site .slogan-phrase + .slogan-phrase::before { content: " и "; }
}

body.proftoon-site .default-btn {
  background: var(--mainColor);
  border-radius: 8px;
  box-shadow: none;
  font-family: var(--mainfontFamily);
  font-weight: 700;
  min-height: 35px;
}
body.proftoon-site .default-btn span { background: var(--mainColorShade); border-radius: 8px; }
body.proftoon-site .default-btn:hover { background: var(--mainColorShade); color: #fff !important; }
body.proftoon-site .banner-btn .default-btn,
body.proftoon-site .demo-modal-panel .sidebar-demo-control {
  background: var(--secondaryColor);
  border-radius: 8px;
  box-shadow: none;
  color: var(--blackColor);
  font-family: var(--mainfontFamily);
  font-weight: 700;
}
body.proftoon-site .banner-btn .default-btn span { background: var(--secondaryColorShade); }

body.proftoon-site .products-about-area,
body.proftoon-site .app-about-area,
body.proftoon-site .contact-area,
body.proftoon-site .author-area { background: var(--pageBackground); }
body.proftoon-site .why-choose-area,
body.proftoon-site .overview-area { background: var(--surfaceColor); }
body.proftoon-site .section-title h2 {
  color: var(--mainColor);
  font-size: 38px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
body.proftoon-site .products-about-content h3,
body.proftoon-site .overview-content h3,
body.proftoon-site .app-about-content h4,
body.proftoon-site .author-content h3 { color: var(--mainColorShade); }
body.proftoon-site .products-about-content span,
body.proftoon-site .redtitle { color: var(--accentColor); font-weight: 800; }
body.proftoon-site .products-list li i,
body.proftoon-site .app-list li i { color: var(--mainColor); }

body.proftoon-site .why-choose-content {
  background: var(--surfaceColor);
  border: 1px solid rgba(125, 156, 178, .24);
  border-radius: 8px;
  box-shadow: none;
  transform: none;
}
body.proftoon-site .why-choose-content::before { display: none; }
body.proftoon-site .why-choose-content .icon i {
  background: rgba(125, 156, 178, .08);
  color: var(--mainColor);
  border-radius: 8px;
}
body.proftoon-site .why-choose-content h3 { color: var(--mainColorShade); }
body.proftoon-site .why-choose-content:hover { border-color: var(--mainColor); transform: none; }
body.proftoon-site .why-choose-content:hover h3,
body.proftoon-site .why-choose-content:hover p { color: inherit; }

body.proftoon-site .overview-item,
body.proftoon-site .app-about-content,
body.proftoon-site .contact-area .container,
body.proftoon-site .author-area .container {
  background: var(--surfaceColor);
  border: 1px solid rgba(125, 156, 178, .24);
  border-radius: 8px;
}
body.proftoon-site .overview-item { padding: 32px; }
body.proftoon-site .app-about-content { padding: 0 24px 24px; }
body.proftoon-site .contact-area .container,
body.proftoon-site .author-area .container { padding: 28px; }
body.proftoon-site .img-screenshot img,
body.proftoon-site .img-phone-screenshot img { border-color: rgba(125, 156, 178, .42); }

body.proftoon-site .copy-right { background: var(--mainColorShade); }
body.proftoon-site .copy-right-content p,
body.proftoon-site .copy-right-content p a { color: #fff; }
body.proftoon-site .go-top { background: var(--accentColor); border-radius: 8px; }
body.proftoon-site .go-top:hover { background: #bf8b78; }

@media only screen and (max-width: 767px) {
  body.proftoon-site .products-banner-area,
  body.proftoon-site .products-banner-area.two { min-height: 0; }
  body.proftoon-site .section-title h2 { font-size: 26px; }
  body.proftoon-site .overview-item,
  body.proftoon-site .contact-area .container,
  body.proftoon-site .author-area .container { padding: 18px; }
}

/* Sample course preview (course-preview.js) */
body.proftoon-site.course-preview-open { overflow: hidden; }
body.proftoon-site .course-preview-dialog {
  display: none;
  width: min(1240px, calc(100vw - 32px));
  height: calc(100vh - 32px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--surfaceColor);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(3, 21, 33, .3);
}
body.proftoon-site .course-preview-dialog[open] { display: flex; flex-direction: column; }
body.proftoon-site .course-preview-dialog::backdrop { background: rgba(3, 21, 33, .6); }
body.proftoon-site .course-preview-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 10px 10px 10px 18px;
  border-bottom: 1px solid rgba(125, 156, 178, .25);
  background: var(--surfaceColor);
}
body.proftoon-site .course-preview-title { flex: 1 1 auto; min-width: 0; color: var(--mainColorShade); font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.proftoon-site .course-preview-create {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--secondaryColor);
  color: var(--blackColor);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
body.proftoon-site .course-preview-create:hover { background: #b6cab7; color: var(--blackColor); }
body.proftoon-site .course-preview-newtab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: var(--mainColorShade);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
body.proftoon-site .course-preview-newtab i { font-size: 18px; }
body.proftoon-site .course-preview-newtab:hover { color: var(--mainColor); }
body.proftoon-site .course-preview-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--mainColorShade);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
body.proftoon-site .course-preview-close:hover { background: rgba(125, 156, 178, .15); }
body.proftoon-site .course-preview-frame { flex: 1 1 auto; width: 100%; border: 0; background: #fff; }
@media (max-width: 767px) {
  body.proftoon-site .course-preview-dialog { width: 100vw; height: 100dvh; border-radius: 0; margin: 0; }
  body.proftoon-site .course-preview-title,
  body.proftoon-site .course-preview-newtab span { display: none; }
  body.proftoon-site .course-preview-bar { justify-content: flex-end; padding-left: 10px; }
  body.proftoon-site .course-preview-create { margin-right: auto; }
}

/* Cookie consent banner (analytics.js), shown only in EEA/UK/CH time zones */
body.proftoon-site .consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 16px 14px 20px;
  border: 1px solid rgba(125, 156, 178, .3);
  border-radius: 12px;
  background: var(--surfaceColor);
  box-shadow: 0 12px 36px rgba(3, 21, 33, .18);
}
body.proftoon-site .consent-banner p { flex: 1 1 auto; margin: 0; font-size: 14px; line-height: 1.5; }
body.proftoon-site .consent-banner a { color: var(--mainColorShade); text-decoration: underline; }
body.proftoon-site .consent-banner-actions { display: flex; gap: 8px; flex: 0 0 auto; }
body.proftoon-site .consent-banner button {
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--mainfontFamily);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
body.proftoon-site .consent-accept { border: 0; background: var(--secondaryColor); color: var(--blackColor); }
body.proftoon-site .consent-accept:hover { background: #b6cab7; }
body.proftoon-site .consent-decline { border: 1px solid rgba(125, 156, 178, .45); background: transparent; color: var(--mainColorShade); }
body.proftoon-site .consent-decline:hover { border-color: var(--mainColor); }
@media (max-width: 575px) {
  body.proftoon-site .consent-banner { flex-direction: column; align-items: stretch; text-align: center; }
  body.proftoon-site .consent-banner-actions button { flex: 1 1 0; }
}
