/* Figma 152830:88653 — October desktop and approved mobile composition.
   Keep the existing laptop-height rules and the deliberately slower motion. */
.home-hero__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.home-hero__stage {
  position: absolute;
  width: 1920px;
  height: 893px;
  top: -8px;
  left: calc(50% - 960px);
}
.home-hero__stage .home-hero__background {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  bottom: auto;
}
.home-hero__stage .home-hero__screen {
  width: 17.83854%;
  height: 30.29115%;
  left: 40.65104%;
  top: 43.1131%;
  bottom: auto;
}
.home-feature__art {
  top: auto;
  bottom: 0;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .home-hero__stage {
    left: calc(50% - 820px);
  }
}
@media (max-width: 767px) {
  .homepage .home-button {
    min-height: 54px;
    padding: 17px 22px;
    font-size: 16px;
    border-radius: 12px;
  }
  .homepage .home-container {
    width: calc(100% - 24px);
  }
  .home-hero {
    height: 835px;
    margin: 0;
    border-radius: 16px;
    background: transparent;
    overflow: visible;
  }
  .home-hero__visual {
    height: 697px;
    background: #951812;
  }
  .home-hero__stage {
    width: 959px;
    height: 697px;
    left: calc(50% - 560px);
    top: 0;
  }
  .home-hero__stage .home-hero__background {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .home-hero__stage .home-hero__screen {
    width: 171.125px;
    height: 135.15px;
    left: 389.96px;
    top: 443.36px;
  }
  .home-hero__inner {
    padding-top: 93px;
  }
  .home-hero h1 {
    text-transform: none;
    font-size: 36px;
    line-height: 0.95;
    font-weight: 600;
    max-width: 341px;
  }
  .home-hero__summary {
    position: absolute;
    top: 245px;
    width: 245px;
    margin: 0;
  }
  .home-hero__description {
    font-size: 14px;
    line-height: 1.2;
    max-width: 245px;
  }
  .home-hero__offer {
    top: 657px;
    bottom: auto;
    padding: 16px;
    min-height: 178px;
  }
  .home-hero__offer p {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .home-hero__offer .home-hero__note {
    font-size: 12px;
    max-width: 230px;
    margin-top: 12px;
  }
  .home-solutions {
    margin-top: 100px;
    margin-bottom: 100px;
    gap: 8px;
  }
  .home-solution,
  .home-solution--shop {
    min-height: 411px;
    padding: 16px;
    border-radius: 16px;
    align-items: flex-start;
    text-align: left;
  }
  .home-solution h2 {
    font-size: 28px;
    font-weight: 700;
  }
  .home-solution--restaurant .home-solution__photo {
    width: 556px;
    height: 630px;
    left: calc(50% - 224px);
    top: -173px;
  }
  .home-solution--shop .home-solution__photo {
    width: 556px;
    height: 630px;
    left: calc(50% - 183px);
    top: -110px;
  }
  .home-solution::before,
  .home-solution--shop::before {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent 85%);
  }
  .home-solution .solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
    margin: 110px 0 16px !important;
  }
  .home-solution .solution-features li {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    padding: 8px 12px;
    border-radius: 34px;
    background: #414141;
  }
  .home-solution .solution-features li > span {
    display: none;
  }
  .home-solution .home-button {
    margin-top: auto;
  }
  .home-benefits {
    padding: 0 0 100px;
  }
  .home-benefits > h2 {
    max-width: 260px;
    margin: 0 auto 24px;
    text-align: center;
    line-height: 1.05;
  }
  .home-feature-grid {
    gap: 8px;
  }
  .home-feature,
  .home-feature:nth-child(-n + 2) {
    min-height: 200px;
    border-radius: 16px;
  }
  .home-feature__copy {
    padding: 15px;
    width: calc(50% + 8px);
    min-height: 198px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .home-feature h3 {
    max-width: 160px;
    font-size: 20px;
    line-height: 0.95;
  }
  .home-feature p {
    font-size: 14px;
    line-height: 1.2;
    max-width: 138px;
    margin-top: 16px;
  }
  .home-feature__art {
    width: 256px;
    height: 211px;
    left: calc(50% - 14px);
    top: -2px;
    bottom: auto;
    right: auto;
    overflow: visible;
  }
  .home-feature .home-feature__art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    top: 0;
  }
  .homepage .home-demo {
    min-height: 500px;
    height: 500px;
    margin-top: 8px;
  }
  .homepage .home-demo__copy {
    padding: 16px;
    height: 100%;
  }
  .homepage .home-demo h2 {
    font-size: 28px;
    line-height: 0.95;
    max-width: 285px;
  }
  .homepage .home-demo__copy p {
    font-size: 14px;
    line-height: 1.2;
    margin-top: 16px;
    max-width: 300px;
  }
  .homepage .home-demo__copy .home-button {
    position: absolute;
    bottom: 16px;
    left: 16px;
  }
  .homepage .home-demo__person {
    width: 300px;
    height: auto;
    left: calc(50% - 120px);
    top: 175px;
    bottom: auto;
  }
  .homepage .home-demo__screen {
    width: 138.65px;
    height: auto;
    left: calc(50% - 38px);
    top: 379px;
    bottom: auto;
  }
  .home-launch {
    padding: 32px 0;
    border-radius: 24px;
  }
  .home-launch .home-section-title {
    max-width: 330px;
    margin: auto;
    line-height: 1.05;
  }
  .home-launch .home-section-intro {
    font-size: 14px;
    line-height: 1.2;
    margin: 16px auto 32px !important;
    max-width: 330px;
  }
  .launch-cards {
    gap: 8px;
  }
  .launch-card {
    min-height: 524px;
    padding-top: 220px;
    border-radius: 24px;
  }
  .launch-card__copy {
    padding: 0 16px 16px;
    min-height: 304px;
    display: flex;
    flex-direction: column;
  }
  .launch-card h3 {
    font-size: 20px;
    line-height: 0.95;
  }
  .launch-card__copy > p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.2;
  }
  .launch-tags {
    gap: 8px;
    padding: 16px 0;
  }
  .launch-tags li {
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.2;
  }
  .launch-buy {
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
  }
  .launch-buy strong {
    font-size: 24px;
  }
  .launch-buy strong span,
  .launch-buy small {
    font-size: 12px;
  }
  .launch-buy p {
    text-align: right;
  }
  .launch-card__art,
  .launch-card--existing .launch-card__art {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin: 0;
  }
  .launch-phones {
    position: absolute;
    left: calc(50% - 273px);
    top: 0;
    margin: 0;
    width: 546px;
    height: 400px;
    transform: scale(0.5);
    transform-origin: center top;
  }
  .home-lessons {
    margin-top: 100px;
    min-height: 0;
  }
  .home-lessons__copy {
    padding-top: 0;
  }
  .home-lessons h2 {
    font-size: 32px;
    line-height: 1.05;
    max-width: 330px;
  }
  .home-lessons h3 {
    font-size: 20px;
    line-height: 0.95;
    max-width: 320px;
  }
  .home-lessons p {
    font-size: 14px;
    line-height: 1.2;
    max-width: 310px;
  }
  .home-lessons__person {
    top: 225px;
    left: calc(50% - 111px);
    width: 222px;
    height: 330px;
  }
  .lesson-previews {
    margin-top: 340px;
  }
  .lesson-previews a {
    width: 249px;
    flex-basis: 249px;
  }
  .home-button--video {
    margin-top: 24px;
  }
  .home-specialists {
    margin-block: 100px;
  }
  .specialists-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .specialists-copy {
    display: contents;
  }
  .specialists-copy h2 {
    grid-row: 1;
    font-size: 32px;
    line-height: 1.05;
    max-width: 260px;
  }
  .specialists-copy h3 {
    grid-row: 2;
    font-size: 20px;
    line-height: 0.95;
    margin-top: 16px;
  }
  .specialist-tags {
    grid-row: 3;
    gap: 8px;
    margin-top: 24px !important;
  }
  .specialist-tags li {
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.2;
  }
  .specialist-reviews {
    grid-row: 4;
    margin: 24px -12px 0 0;
    padding: 0 12px 0 0;
    gap: 8px;
  }
  .specialist-review {
    flex-basis: 272px;
    min-height: 326px;
    padding: 16px;
    border-radius: 16px;
  }
  .review-quote {
    font-size: 36px;
  }
  .specialist-review blockquote {
    font-size: 16px;
    line-height: 1.2;
    margin-top: 12px;
  }
  .specialist-review figcaption {
    margin-top: auto;
    padding-top: 24px;
  }
  .specialist-review figcaption strong {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .specialist-review figcaption img {
    width: 80px;
    height: 80px;
  }
  .specialists-copy p {
    grid-row: 5;
    font-size: 14px;
    line-height: 1.2;
    margin-top: 16px;
  }
  .specialists-copy .home-button {
    grid-row: 6;
    justify-self: start;
    margin-top: 24px;
  }
  .home-products {
    margin-bottom: 100px;
  }
  .home-products > h2,
  .home-products > .home-section-intro {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px !important;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    overflow: visible;
    align-items: stretch;
  }
  .product-mobile {
    grid-column: 1/-1;
    grid-row: auto;
    min-height: 200px;
    padding: 16px;
    border-radius: 16px;
    order: 0;
  }
  .product-mobile h3 {
    font-size: 20px;
    max-width: 180px;
    position: relative;
  }
  .product-mobile > p {
    font-size: 14px;
    line-height: 1.2;
    margin-top: 12px;
    max-width: 174px;
    position: relative;
  }
  .product-mobile .home-button {
    margin: 0;
    position: absolute;
    left: 16px;
    top: 129px;
    z-index: 2;
  }
  .product-mobile__icon {
    width: 31px;
    height: 31px;
    top: 10px;
    left: auto;
    right: 16.5px;
  }
  .product-mobile__platform {
    top: 10px;
    right: 52px;
    font-size: 12px;
    padding: 8px 12px;
    gap: 4px;
  }
  .product-mobile__platform img {
    width: 12px;
    height: 12px;
  }
  .product-mobile__art {
    left: auto;
    right: -32.106px;
    top: 35px;
    width: 215.106px;
    height: 202.015px;
  }
  .product-mobile__phone {
    width: 89.906px;
    height: 183.199px;
    left: 39.45px;
    top: 9.408px;
  }
  .product-mobile__pattern {
    display: none;
  }
  .product-mobile__chart {
    width: 119.26px;
    left: 95.84px;
    right: auto;
    top: 62.48px;
  }
  .product-mobile__sales {
    width: 84.327px;
    left: 0;
    right: auto;
    top: 58.84px;
  }
  .product-tile {
    min-width: 0;
    min-height: 242px;
    padding: 76px 16px 48px;
    border-radius: 16px;
  }
  .product-tile:nth-child(5) {
    order: 1;
  }
  .product-tile:nth-child(2) {
    order: 2;
  }
  .product-tile:nth-child(3) {
    order: 3;
  }
  .product-tile:nth-child(6) {
    order: 4;
  }
  .product-tile:nth-child(4) {
    order: 5;
  }
  .product-tile:nth-child(7) {
    order: 6;
  }
  .product-tile__grid {
    width: 100%;
    height: auto;
  }
  .product-tile__icon {
    width: 40px;
    height: 40px;
    top: 16px;
    left: 16px;
  }
  .product-tile__platform {
    font-size: 10px;
    gap: 4px;
    padding: 6px 8px;
    top: 22px;
    right: 12px;
  }
  .product-tile__platform img {
    width: 12px;
    height: 12px;
  }
  .product-tile h3 {
    font-size: 20px;
    line-height: 0.95;
  }
  .product-tile p {
    font-size: 14px;
    line-height: 1.2;
    margin-top: 12px;
  }
  .product-tile > a {
    position: absolute;
    left: 16px;
    bottom: 16px;
    margin: 0;
    font-size: 16px;
  }
  .home-contacts {
    margin-bottom: 100px;
    gap: 8px;
  }
  .contacts-copy h2 {
    font-size: 20px;
    line-height: 0.95;
  }
  .contacts-copy > p {
    font-size: 14px;
    line-height: 1.2;
    margin-top: 12px;
  }
  .office-card {
    min-height: 218px;
    margin-top: 24px;
    padding: 20px;
    border-radius: 16px;
  }
  .office-card h3 br {
    display: none;
  }
  .office-card h3 br::after {
    content: " ";
  }
  .office-card a {
    margin-top: 48px;
  }
  .contacts-branches {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
  }
  .branch-contact {
    min-height: 79px;
    padding: 16px 20px;
  }
  .branch-contact h3 {
    font-size: 20px;
  }
  .branch-contact a {
    font-size: 16px;
    margin-top: 6px;
  }
  .contacts-map {
    margin: 0;
    width: 100%;
    height: auto;
  }
}
@media (max-width: 359px) {
  .home-hero h1 {
    font-size: 32px;
  }
  .home-feature__copy {
    padding: 12px;
  }
  .home-feature h3 {
    font-size: 18px;
  }
  .home-feature p {
    font-size: 13px;
    max-width: 125px;
  }
  .home-feature__art {
    left: calc(50% - 5px);
  }
  .product-tile {
    padding-inline: 12px;
    min-height: 260px;
  }
  .product-tile__platform {
    right: 8px;
    padding: 5px;
    font-size: 9px;
  }
  .product-tile__icon {
    left: 12px;
    width: 34px;
    height: 34px;
  }
  .product-tile h3 {
    font-size: 18px;
  }
  .product-mobile__platform {
    display: none;
  }
  .product-mobile > p {
    max-width: 155px;
  }
  .launch-buy .home-button {
    padding-inline: 16px;
  }
  .launch-buy strong {
    font-size: 21px;
  }
}
@media (min-width: 768px) {
  .home-hero__visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 1920px;
    height: 893px;
    left: calc(50% - 960px);
    top: -8px;
    background: url("../../media/home-october/hero-foreground.webp") center /
      100% 100% no-repeat;
    pointer-events: none;
  }
  .home-hero__screen {
    z-index: 2;
  }
  .home-hero__offer,
  .home-hero__summary {
    z-index: 3;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .home-hero__visual::after {
    left: calc(50% - 820px);
  }
}
@media (max-width: 359px) {
  .homepage .home-demo h2 {
    font-size: 26px;
  }
  .homepage .home-demo__copy p {
    font-size: 13px;
  }
  .homepage .home-demo__person {
    width: 260px;
    left: calc(50% - 110px);
    top: 215px;
  }
  .homepage .home-demo__screen {
    width: 120.16px;
    left: calc(50% - 39px);
    top: 391.5px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .product-mobile__icon {
    width: 40px;
    height: 40px;
    left: 16px;
  }
  .product-mobile__platform {
    font-size: 10px;
    gap: 3px;
    padding: 7px;
    right: 12px;
  }
  .product-mobile__platform img {
    width: 14px;
    height: 14px;
  }
}
/* Exact isolated poster layers from 152830:88905 / 88917.
   Export is already cropped to its card; do not apply the old photo transforms. */
.home-solution--restaurant .home-solution__photo,
.home-solution--shop .home-solution__photo {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Transforming an artwork must not retain its unscaled height in document flow. */
.home-map-art {
  overflow: hidden;
}
.home-map-art > .art-root {
  position: absolute;
  left: 0;
  top: 0;
}
@media (min-width: 768px) {
  .home-feature--1 .home-feature__art img {
    width: 131.63%;
    height: 166.8%;
    max-width: none;
    left: -15.82%;
    top: -5.75%;
  }
}

/* Keep the compact product composition clear of copy on the narrowest phones. */
@media (max-width: 359px) {
  .product-mobile {
    min-height: 216px;
  }
  .product-mobile > p {
    max-width: 155px;
  }
  .product-mobile__platform {
    display: flex;
    top: 48px;
    right: 10px;
    font-size: 10px;
    padding: 5px 7px;
  }
  .product-mobile__art {
    top: 72px;
    right: -42px;
    transform: scale(0.8);
    transform-origin: right top;
  }
  .product-mobile .home-button {
    top: 146px;
  }
}
