
/* V124 — iPad headline + compact legal footer. Intentionally last in cascade. */
@media (min-width:901px) and (max-width:1199.98px){
  /* Keep the explicit two-line hero lockup: БОЛЬШЕ, / ЧЕМ ДЕНЬГИ. */
  .heroCopy{width:45%!important;max-width:470px!important}
  .heroCopy h1{white-space:nowrap!important;font-size:clamp(44px,5.05vw,60px)!important;letter-spacing:-.055em!important}

  /* Keep footer compact enough that the legal row is part of the visible footer, not buried below it. */
  footer.footerV44{
    position:relative!important;
    display:grid!important;
    grid-template-columns:minmax(155px,1fr) auto minmax(155px,1fr)!important;
    grid-template-rows:44px 20px!important;
    align-items:center!important;
    column-gap:18px!important;
    row-gap:2px!important;
    min-height:82px!important;
    padding:8px 22px 8px!important;
  }
  footer.footerV44 .footerBrand{grid-column:1!important;grid-row:1!important;align-self:center!important}
  footer.footerV44 .footerSocials{grid-column:2!important;grid-row:1!important;align-self:center!important;justify-self:center!important}
  footer.footerV44 .footerMotto{grid-column:3!important;grid-row:1!important;align-self:center!important;justify-self:end!important;width:145px!important}
  footer.footerV44 .legalLinksV112,
  footer.footerV44 .footlinks.legalLinksV112{
    grid-column:1/-1!important;
    grid-row:2!important;
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-self:center!important;
    justify-self:center!important;
    justify-content:center!important;
    width:100%!important;
    height:20px!important;
    min-height:20px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    gap:7px!important;
    white-space:nowrap!important;
    flex-wrap:nowrap!important;
    font-size:11px!important;
    line-height:20px!important;
    overflow:visible!important;
  }
  footer.footerV44 .legalLinksV112 a{display:inline!important;color:#aab4b9!important;text-decoration:none!important;white-space:nowrap!important}
  footer.footerV44 .legalSlash{display:inline!important;visibility:visible!important;margin:0 2px!important;opacity:.55!important}
}
@media (min-width:901px) and (max-width:1050px){
  .heroCopy{width:46%!important;max-width:465px!important}
  .heroCopy h1{font-size:50px!important;white-space:nowrap!important}
  footer.footerV44{grid-template-columns:minmax(145px,1fr) auto minmax(145px,1fr)!important;padding-left:18px!important;padding-right:18px!important}
  footer.footerV44 .footerMotto{width:138px!important}
}


/* V125 — FINAL tablet 3-line hero + visible legal footer. Must remain last. */
.tabletHeroBreak{display:none}
@media (min-width:901px) and (max-width:1199.98px){
  /* Exact requested lockup: БОЛЬШЕ, / ЧЕМ / ДЕНЬГИ. */
  .tabletHeroBreak{display:block!important}
  .heroCopy{width:38%!important;max-width:390px!important}
  .heroCopy h1{white-space:normal!important;font-size:clamp(44px,5vw,58px)!important;line-height:.84!important;letter-spacing:-.055em!important}

  /* Legal row is an actual second row inside the footer and stays visible. */
  footer.footerV44{
    display:grid!important;
    grid-template-columns:minmax(150px,1fr) auto minmax(150px,1fr)!important;
    grid-template-rows:42px 24px!important;
    min-height:82px!important;
    height:auto!important;
    padding:7px 20px 9px!important;
    column-gap:18px!important;
    row-gap:0!important;
    overflow:visible!important;
    align-items:center!important;
  }
  footer.footerV44 .footerBrand{grid-column:1!important;grid-row:1!important;justify-self:start!important;align-self:center!important}
  footer.footerV44 .footerSocials{grid-column:2!important;grid-row:1!important;justify-self:center!important;align-self:center!important}
  footer.footerV44 .footerMotto{grid-column:3!important;grid-row:1!important;justify-self:end!important;align-self:center!important;width:145px!important}
  footer.footerV44 .footlinks.legalLinksV112{
    grid-column:1/-1!important;grid-row:2!important;
    display:flex!important;visibility:visible!important;opacity:1!important;
    position:static!important;transform:none!important;
    justify-self:stretch!important;justify-content:center!important;align-items:center!important;
    width:100%!important;height:24px!important;min-height:24px!important;
    margin:0!important;padding:2px 0 0!important;border-top:1px solid #242d32!important;
    gap:7px!important;white-space:nowrap!important;flex-wrap:nowrap!important;
    font-size:11px!important;line-height:20px!important;overflow:visible!important;
  }
  footer.footerV44 .footlinks.legalLinksV112 a{display:inline!important;visibility:visible!important;opacity:1!important;color:#aab4b9!important;text-decoration:none!important;white-space:nowrap!important}
  footer.footerV44 .legalSlash{display:inline!important;visibility:visible!important;opacity:.55!important;margin:0 2px!important}
}
@media (min-width:901px) and (max-width:1050px){
  .heroCopy{width:39%!important;max-width:370px!important}
  .heroCopy h1{font-size:48px!important}
  footer.footerV44{grid-template-columns:minmax(140px,1fr) auto minmax(140px,1fr)!important;padding-left:16px!important;padding-right:16px!important}
  footer.footerV44 .footerMotto{width:136px!important}
  footer.footerV44 .footlinks.legalLinksV112{font-size:10.5px!important;gap:6px!important}
}


/* V136 — final iPad portrait scribble position. Placed last in cascade so legacy tablet rules cannot override it. */
@media (orientation:portrait) and (min-width:901px) and (max-width:1100px) and (min-height:1100px){
  .scribbleImg{
    left:29%!important;
    right:auto!important;
    top:55%!important;
    bottom:auto!important;
    width:16.5vw!important;
    max-width:180px!important;
  }
}


/* 21.5.2: both amounts retain the original price typography; the old one is muted and struck through. */
.price .schoolPriceRow{display:inline-flex!important;align-items:baseline!important;flex-wrap:nowrap!important;gap:14px!important;white-space:nowrap!important}
.price .schoolPriceRow>.schoolPriceOld,.price .schoolPriceRow>.schoolPriceNow{display:inline!important;margin:0!important;font:inherit!important;letter-spacing:inherit!important;line-height:inherit!important;white-space:nowrap!important}
.price .schoolPriceRow>.schoolPriceOld{color:#95a3a9!important;text-decoration:line-through!important;text-decoration-thickness:1.5px!important}
.price .schoolPriceRow>.schoolPriceNow{color:inherit!important;text-decoration:none!important}
.schoolPromoLabel{display:block;font-size:11px;line-height:1.3;font-weight:600;color:#f19a9c;margin-top:7px;white-space:normal}
/* Modal: override the older generic span rules that were shrinking and stacking the prices. */
#bankModal .bankPurchasePrice strong>.schoolPriceRow,
.productModal .canonicalPurchasePrice strong>.schoolPriceRow{display:inline-flex!important;align-items:baseline!important;flex-wrap:nowrap!important;gap:15px!important;white-space:nowrap!important;margin:0!important;font-size:inherit!important;line-height:inherit!important;letter-spacing:normal!important;color:#fff!important}
#bankModal .bankPurchasePrice strong>.schoolPriceRow>.schoolPriceOld,
#bankModal .bankPurchasePrice strong>.schoolPriceRow>.schoolPriceNow,
.productModal .canonicalPurchasePrice strong>.schoolPriceRow>.schoolPriceOld,
.productModal .canonicalPurchasePrice strong>.schoolPriceRow>.schoolPriceNow{display:inline!important;flex:0 0 auto!important;margin:0!important;font:inherit!important;font-size:inherit!important;font-weight:900!important;letter-spacing:normal!important;line-height:1!important;white-space:nowrap!important}
#bankModal .bankPurchasePrice strong>.schoolPriceRow>.schoolPriceOld,
.productModal .canonicalPurchasePrice strong>.schoolPriceRow>.schoolPriceOld{color:#95a3a9!important;text-decoration:line-through!important;text-decoration-thickness:1.5px!important}
#bankModal .bankPurchasePrice strong>.schoolPriceRow>.schoolPriceNow,
.productModal .canonicalPurchasePrice strong>.schoolPriceRow>.schoolPriceNow{color:#fff!important;text-decoration:none!important}
/* Keep the original heading STОИМОСТЬ ПРОГРАММЫ unaffected. */
@media(max-width:900px){.price .schoolPriceRow{gap:10px!important}}
@media(max-width:450px){#bankModal .bankPurchasePrice strong>.schoolPriceRow,.productModal .canonicalPurchasePrice strong>.schoolPriceRow{gap:9px!important}}
/* 21.5.3: mobile modal checkout: prices take the full row, button goes below. */
@media(max-width:650px){
 #bankModal .bankPurchaseFooter,
 .productModal .canonicalPurchaseFooter{
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;
   gap:18px!important;align-items:stretch!important;
 }
 #bankModal .bankPurchasePrice,
 .productModal .canonicalPurchasePrice{min-width:0!important;width:100%!important}
 #bankModal .bankPurchasePrice strong,
 .productModal .canonicalPurchasePrice strong{
   display:block!important;font-size:clamp(24px,6.6vw,32px)!important;
   line-height:1.15!important;white-space:normal!important;
 }
 #bankModal .bankPurchasePrice strong>.schoolPriceRow,
 .productModal .canonicalPurchasePrice strong>.schoolPriceRow{
   display:flex!important;flex-wrap:wrap!important;gap:8px 14px!important;
   max-width:100%!important;white-space:normal!important;
 }
 #bankModal .bankPurchasePrice strong>.schoolPriceRow>.schoolPriceOld,
 #bankModal .bankPurchasePrice strong>.schoolPriceRow>.schoolPriceNow,
 .productModal .canonicalPurchasePrice strong>.schoolPriceRow>.schoolPriceOld,
 .productModal .canonicalPurchasePrice strong>.schoolPriceRow>.schoolPriceNow{
   font-size:inherit!important;white-space:nowrap!important;
 }
 #bankModal .bankPurchaseAction,
 .productModal .canonicalPurchaseAction{width:100%!important;min-width:0!important}
 #bankModal .bankPurchaseAction button,
 .productModal .canonicalPurchaseAction button{width:100%!important;min-height:58px!important}
}

/* 21.5.3 final: old price secondary, current price dominant. */
.price .schoolPriceRow>.schoolPriceOld,
#bankModal .bankPurchasePrice strong>.schoolPriceRow>.schoolPriceOld,
.productModal .canonicalPurchasePrice strong>.schoolPriceRow>.schoolPriceOld{
 color:#69747a!important;font-size:.84em!important;font-weight:800!important;
 text-decoration:line-through!important;text-decoration-thickness:1.5px!important;
}
.price .schoolPriceRow>.schoolPriceNow,
#bankModal .bankPurchasePrice strong>.schoolPriceRow>.schoolPriceNow,
.productModal .canonicalPurchasePrice strong>.schoolPriceRow>.schoolPriceNow{
 color:#fff!important;font-size:1em!important;
}

/* 21.5.4 corrected: consistent promo colour, slight upward adjustment only. */
.schoolPromoLabel,
.price .schoolPromoLabel,
#bankModal .schoolPromoLabel,
.productModal .schoolPromoLabel{
 color:#FF303C!important;
}
@media(min-width:901px){
 .bottom .schoolPromoLabel{
  position:relative!important;top:-7px!important;
 }
}
#bankModal .bankPurchasePrice strong,
.productModal .canonicalPurchasePrice strong{
 font-size:34px!important;line-height:1.12!important;
}
@media(max-width:650px){
 #bankModal .bankPurchasePrice strong,
 .productModal .canonicalPurchasePrice strong{
  font-size:clamp(28px,7.2vw,34px)!important;
 }
}
/* 21.5.5: exactly the same promo-label typography on card and in details. */
.price .schoolPromoLabel,
#bankModal .bankPurchasePrice strong>.schoolPromoLabel,
.productModal .canonicalPurchasePrice strong>.schoolPromoLabel{
  display:block!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.3!important;
  letter-spacing:normal!important;
  text-transform:none!important;
  color:#FF303C!important;
  white-space:normal!important;
  margin:7px 0 0!important;
}
@media(min-width:901px){.bottom .schoolPromoLabel{position:relative!important;top:-7px!important}}
/* 21.5.6: one explicit font metrics for promo labels, no inheritance from
   the modal price <strong> or older generic modal span typography. */
.price > .schoolPromoLabel,
#bankModal .bankPurchasePrice .schoolPromoLabel,
.productModal .canonicalPurchasePrice .schoolPromoLabel{
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-size:11px!important;
  font-style:normal!important;
  font-weight:600!important;
  font-stretch:normal!important;
  line-height:1.3!important;
  letter-spacing:0!important;
  word-spacing:0!important;
  text-transform:none!important;
  font-variant:normal!important;
  color:#FF303C!important;
  text-shadow:none!important;
  text-decoration:none!important;
  white-space:normal!important;
  display:block!important;
  margin:7px 0 0!important;
}

/* 21.5.7: same computed typography on cards and in details, regardless
   of older modal span/strong rules. */
.price,
#bankModal .bankPurchasePrice strong,
.productModal .canonicalPurchasePrice strong{
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-size:34px!important;font-weight:900!important;
  font-style:normal!important;line-height:1.12!important;
  letter-spacing:0!important;font-variant:normal!important;
}
.price .schoolPriceRow,
#bankModal .bankPurchasePrice strong>.schoolPriceRow,
.productModal .canonicalPurchasePrice strong>.schoolPriceRow{
 display:inline-flex!important;align-items:baseline!important;
 gap:14px!important;flex-wrap:nowrap!important;
 font:inherit!important;line-height:inherit!important;letter-spacing:0!important;
 margin:0!important;white-space:nowrap!important;
}
.price .schoolPriceRow>.schoolPriceOld,
#bankModal .bankPurchasePrice strong>.schoolPriceRow>.schoolPriceOld,
.productModal .canonicalPurchasePrice strong>.schoolPriceRow>.schoolPriceOld{
 display:inline!important;margin:0!important;padding:0!important;
 font-family:inherit!important;font-size:28px!important;font-weight:800!important;
 line-height:1.12!important;letter-spacing:0!important;
 color:#69747a!important;text-decoration:line-through!important;
 text-decoration-thickness:1.5px!important;white-space:nowrap!important;
}
.price .schoolPriceRow>.schoolPriceNow,
#bankModal .bankPurchasePrice strong>.schoolPriceRow>.schoolPriceNow,
.productModal .canonicalPurchasePrice strong>.schoolPriceRow>.schoolPriceNow{
 display:inline!important;margin:0!important;padding:0!important;
 font-family:inherit!important;font-size:34px!important;font-weight:900!important;
 line-height:1.12!important;letter-spacing:0!important;
 color:#fff!important;text-decoration:none!important;white-space:nowrap!important;
}
.price .schoolPromoLabel,
#bankModal .bankPurchasePrice strong>.schoolPromoLabel,
.productModal .canonicalPurchasePrice strong>.schoolPromoLabel{
 display:block!important;position:relative!important;
 font-family:Inter,"Segoe UI",Arial,sans-serif!important;
 font-size:11px!important;font-weight:600!important;line-height:1.3!important;
 letter-spacing:0!important;word-spacing:0!important;font-variant:normal!important;
 text-transform:none!important;color:#FF303C!important;
 white-space:normal!important;margin:7px 0 0!important;
}
@media(min-width:901px){
 .bottom .schoolPromoLabel{top:-7px!important}
}
@media(max-width:650px){
 .price,
 #bankModal .bankPurchasePrice strong,
 .productModal .canonicalPurchasePrice strong{font-size:clamp(28px,7.2vw,34px)!important}
 .price .schoolPriceRow>.schoolPriceNow,
 #bankModal .bankPurchasePrice strong>.schoolPriceRow>.schoolPriceNow,
 .productModal .canonicalPurchasePrice strong>.schoolPriceRow>.schoolPriceNow{
  font-size:clamp(28px,7.2vw,34px)!important
 }
 .price .schoolPriceRow>.schoolPriceOld,
 #bankModal .bankPurchasePrice strong>.schoolPriceRow>.schoolPriceOld,
 .productModal .canonicalPurchasePrice strong>.schoolPriceRow>.schoolPriceOld{
  font-size:clamp(23px,5.9vw,28px)!important
 }
}


/* Desktop product details only: same sale-price spacing as storefront cards. */
@media (min-width:901px) {
  #bankModal .bankPurchasePrice strong > .schoolPriceRow,
  .productModal .canonicalPurchasePrice strong > .schoolPriceRow {
    gap:9px!important;
  }
  #bankModal .bankPurchasePrice strong > .schoolPriceRow > .schoolPriceOld,
  .productModal .canonicalPurchasePrice strong > .schoolPriceRow > .schoolPriceOld {
    font-size:24px!important;
  }
}
