/* mobile-home.css — Figma Promo / Mobile / Home (390px) */
@media (max-width: 1023px) {
  html {
    background-color: #010213;
  }

  #main-content,
  .footer,
  .pricing {
    max-width: 100%;
    overflow-x: clip;
  }
}

@media (max-width: 767px) {
  body {
    background-color: #010213;
  }

  .container {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .section {
    padding: 2rem 0;
  }

  .section__title {
    font-size: 2rem;
    line-height: 1.21875;
  }

  /* —— Hero —— mobile overrides in hero.css @767 —— */

  /* —— Features —— */
  .features {
    background: #010213;
  }

  .features .container {
    display: flex;
    justify-content: center;
  }

  .features__shell {
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 22.375rem;
  }

  .features__eyebrow {
    align-self: center;
    padding: 5px 10px;
    gap: 8px;
    border-radius: 11px;
    background: rgba(2, 0, 172, 0.18);
  }

  .features__eyebrow-icon {
    width: 1.5rem;
    height: 1.4375rem;
  }

  .features__eyebrow-text {
    font-size: 1rem;
    line-height: 1.125rem;
    background: radial-gradient(
      50% 50% at 50% 50%,
      #3203ea 9.13%,
      #5d41ff 86.06%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .features__layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.0625rem;
    width: 100%;
  }

  .features__mockup {
    width: 100%;
    max-width: none;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }

  .features__mockup img {
    width: 100%;
    height: 16.8125rem;
    max-height: 16.8125rem;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
  }

  .features__content {
    gap: 1.5rem;
    width: 100%;
  }

  .features__title {
    max-width: 18.625rem;
    font-size: 2rem;
    line-height: 1.21875;
  }

  .features__list {
    gap: 1.125rem;
    width: 100%;
    max-width: 22.625rem;
  }

  .features__item {
    gap: 1.4375rem;
    align-items: center;
    max-width: 22.625rem;
  }

  .features__item:first-child {
    align-items: flex-start;
  }

  .features__item--notes {
    max-width: 22.375rem;
    align-self: stretch;
  }

  .features__item-body {
    gap: 5px;
    max-width: 16.1875rem;
  }

  .features__item--notes .features__item-body {
    max-width: 20.5625rem;
  }

  .features__icon {
    width: 5rem;
    height: 5rem;
    min-width: 5rem;
    min-height: 5rem;
    border-radius: 20px;
    background: #0a1978;
    box-shadow: 0 0 12.5px 2px #081775;
  }

  .features__icon img {
    width: 3.125rem;
    height: 3.125rem;
  }

  .features__item--notes .features__icon img {
    width: 2.4375rem;
    height: 3.25rem;
  }

  .features__item-title {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }

  .features__item-text {
    font-size: 1rem;
    line-height: 1.125rem;
    color: var(--color-text);
  }

  /* —— Pricing —— */
  .pricing {
    background: #010213;
  }

  .pricing__header {
    gap: 1.5rem;
    margin-bottom: 0;
    margin-inline: auto;
    width: 100%;
    max-width: 22.3125rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .pricing__eyebrow {
    padding: 5px 10px;
    border-radius: 11px;
    gap: 8px;
    margin-inline: auto;
  }

  .pricing__title {
    width: min(22.3125rem, 100%);
    max-width: 22.3125rem;
    min-height: 4.25rem;
    margin-inline: auto;
    font-size: 1.75rem;
    line-height: 2.125rem;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .pricing__title-line {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
  }

  @supports (text-wrap: balance) {
    .pricing__subtitle {
      text-wrap: balance;
    }
  }

  .pricing__title-accent {
    color: var(--color-accent);
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .pricing__subtitle {
    font-size: 1rem;
    line-height: 1.125rem;
    color: #b3adae;
    max-width: 22.25rem;
    width: 100%;
    margin-inline: auto;
    align-self: center;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .pricing__board {
    gap: 1.5rem;
    align-items: center;
  }

  .pricing__mode {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 22.25rem;
    min-height: 5.25rem;
    margin-inline: auto;
  }

  .pricing__mode-line {
    display: block;
    flex: none;
    height: 0;
    border: none;
    border-top: 2px solid #151939;
    background: none;
  }

  .pricing__mode--self .pricing__mode-line {
    width: 5.923125rem;
  }

  .pricing__mode--group .pricing__mode-line {
    width: 6.03125rem;
  }

  .pricing__mode-text {
    flex: none;
    padding-inline: 0;
    font-size: 1.125rem;
    line-height: 1.3125rem;
    font-weight: 700;
    text-align: center;
    color: #b3adae;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .pricing__mode--self .pricing__mode-text {
    max-width: 10.104375rem;
  }

  .pricing__mode--group .pricing__mode-text {
    max-width: 9.325625rem;
  }

  .pricing__pair--self {
    gap: 1.5rem;
  }

  .pricing__pair--group {
    gap: 1.5rem;
  }

  .pricing__columns {
    width: 100%;
    max-width: 16.71875rem;
    gap: 1.5rem;
  }

  .pricing__pair {
    gap: 0.75rem;
  }

  .pricing-card {
    max-width: 16.71875rem;
    margin-inline: auto;
    min-height: 30.125rem;
    background: #080c21;
    border-radius: 30px;
  }

  .pricing-card--featured {
    min-height: 32rem;
  }

  .pricing-card__badge {
    top: 0;
    border-radius: 0 0 7px 7px;
    padding: 5px 10px;
    background: #e8b429;
    font-size: 0.75rem;
    line-height: 0.875rem;
    font-weight: 700;
    color: #030d21;
  }

  .pricing-card__price-main {
    font-size: 3rem;
    line-height: 1.229;
  }

  .pricing-card__btn {
    width: 12.6875rem;
    max-width: 100%;
    height: 3.8125rem;
    padding: 20px 35px;
    border-radius: 15px;
  }

  .pricing-card__btn-label {
    font-size: 18px;
    line-height: 21px;
  }

  .pricing__guarantee-wrap {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 22.375rem;
  }

  .pricing__guarantee {
    width: 100%;
    min-height: 2.125rem;
    padding: 10px;
    border-radius: 11px;
    background: #030823;
  }

  .pricing__guarantee-inner {
    width: 100%;
    gap: 8px;
  }

  .pricing__guarantee-text {
    max-width: none;
    font-size: 0.75rem;
    line-height: 0.875rem;
    color: #b3adae;
  }

  .pricing__guarantee-icon {
    width: 0.75rem;
    height: 0.8125rem;
  }

  /* —— Why —— Frame 424 */
  .why {
    background: #010213;
  }

  .why__inner {
    gap: 2rem;
    align-items: center;
  }

  .why__header {
    gap: 2rem;
    width: 100%;
    max-width: 22.375rem;
    text-align: center;
    align-items: center;
  }

  .why__eyebrow {
    width: 9.59375rem;
    min-height: 2.125rem;
    height: 2.125rem;
    justify-content: center;
  }

  .why__eyebrow-text {
    font-size: 1rem;
    line-height: 1.125rem;
    color: #0e4ac7;
    white-space: nowrap;
  }

  .why__titles {
    gap: 5px;
    width: 100%;
    max-width: 22.375rem;
  }

  .why__title {
    width: min(22.375rem, 100%);
    max-width: 22.375rem;
    min-height: 4.875rem;
    font-size: 2rem;
    line-height: 2.4375rem;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .why__title-line {
    white-space: nowrap;
  }

  .why__subtitle {
    width: 100%;
    max-width: 22.375rem;
    min-height: 2.25rem;
    font-size: 1rem;
    line-height: 1.125rem;
    color: #b3adae;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .why__subtitle-line {
    white-space: nowrap;
  }

  .why__board {
    gap: 0.75rem;
    max-width: 22.375rem;
  }

  .why-card {
    flex-direction: row;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 15.125rem;
    padding: 0;
    border-radius: 30px;
    background: linear-gradient(249.07deg, #0e1d75 0%, #0d1546 23%);
  }

  .why-card__media,
  .why-card__media--1,
  .why-card__media--2,
  .why-card__media--3,
  .why-card__media--4 {
    width: 7.5rem;
    max-width: 7.5rem;
    max-height: 11.375rem;
    margin-inline: 0;
    flex-shrink: 0;
  }

  .why-card__body {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0.75rem 0.75rem 0;
    gap: 0.625rem;
  }

  .why-card__title {
    font-size: 1.5rem;
    line-height: 1.167;
  }

  .why-card__text {
    font-size: 1rem;
    line-height: 1.466;
  }

  /* —— FAQ —— Frame FAQ тел. */
  .faq {
    background: #010213;
  }

  .faq .container {
    gap: 1.5rem;
    width: 100%;
    max-width: 22.375rem;
    margin-inline: auto;
  }

  .faq__header {
    gap: 0;
    margin-bottom: 0;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .faq .section__title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .faq__eyebrow {
    width: 4.524375rem;
    height: 1.75rem;
    min-height: 1.75rem;
    justify-content: center;
  }

  .faq__eyebrow-text {
    font-size: 1rem;
    line-height: 1.125rem;
    color: #f5b12a;
  }

  .faq__list {
    gap: 0.8125rem;
    width: 100%;
    max-width: 22.375rem;
    margin-inline: auto;
    align-self: stretch;
  }

  .faq__item {
    width: 100%;
    max-width: 22.375rem;
    margin-inline: auto;
    gap: 0.875rem;
  }

  .faq__question {
    width: 100%;
  }

  .faq__trigger {
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 0;
    font-size: 1.5rem;
    line-height: 1.75rem;
    color: #ffffff;
  }

  .faq__trigger-text {
    flex: 1 1 auto;
    max-width: 20.8125rem;
    line-height: 1.75rem;
    color: #ffffff;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .faq__arrow {
    width: 1.0625rem;
    height: 1.125rem;
    flex-shrink: 0;
    transform: rotate(0deg);
  }

  .faq__trigger[aria-expanded="true"] .faq__arrow {
    transform: rotate(90deg);
  }

  .faq__item:has(.faq__trigger[aria-expanded="true"]) .faq__answer {
    margin-top: 0.875rem;
  }

  .faq__answer {
    max-width: 22.375rem;
  }

  .faq__answer p {
    font-size: 1.125rem;
    line-height: 1.3125rem;
    font-weight: 700;
    color: #ffffff;
  }

  /* —— Promo / Reviews label —— */
  .promo-label {
    padding-block: 0;
  }

  .promo-label .container {
    max-width: 22.375rem;
  }

  /* —— CTA banner —— */
  .cta-banner__panel {
    max-width: 22.375rem;
    margin-inline: auto;
  }

  .cta-banner__inner {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.25rem;
    min-height: 14.864375rem;
  }

  .cta-banner__content {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

  .cta-banner__icon {
    width: 2.685rem;
    height: 2.176875rem;
  }

  .cta-banner__title {
    font-size: 1.625rem;
    line-height: 1.154;
  }

  .cta-banner__text {
    font-size: 1rem;
    line-height: 1.125;
  }

  .cta-banner__btn {
    width: 12.0625rem;
    min-height: 3.1875rem;
    padding: 1.25rem 2.1875rem;
    border-radius: 15px;
  }

  /* —— Footer (Figma BASEMENT SECTOR 390px) —— */
  .footer__shell {
    background: rgba(2, 2, 26, 0.8);
    border-top: 1px solid #0b0c20;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.375rem;
    padding-bottom: 0;
  }

  .footer__body {
    width: 100%;
    max-width: 22.375rem;
    padding: 0;
  }

  .footer__grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.4375rem;
    width: 100%;
  }

  .footer__grid > .footer__divider {
    display: none;
  }

  .footer__brand-col {
    width: 100%;
    max-width: 19.625rem;
    gap: 1.25rem;
  }

  .footer__brand-name {
    font-size: 1.6875rem;
    line-height: 2.0625rem;
  }

  .footer__description {
    max-width: 19.625rem;
    font-size: 0.875rem;
    line-height: 1.726;
    color: #b3adae;
  }

  .footer__nav-group {
    display: grid;
    grid-template-columns: 8.75rem 9.5rem;
    column-gap: 2.4375rem;
    row-gap: 2.4375rem;
    width: 100%;
    max-width: 20.6875rem;
  }

  .footer__col--page,
  .footer__nav-group > .footer__divider--inner {
    display: none;
  }

  .footer__col--platform {
    grid-column: 1;
    grid-row: 1;
    width: 8.75rem;
  }

  .footer__col--company {
    grid-column: 2;
    grid-row: 1;
    width: 9.5rem;
  }

  .footer__col--platform .footer__col-title {
    gap: 0.3125rem;
    min-height: auto;
    margin-bottom: 1.125rem;
    font-size: 1rem;
    line-height: 1.125rem;
  }

  .footer__col--company .footer__col-title {
    gap: 0.3125rem;
    min-height: auto;
    margin-bottom: 1.375rem;
    font-size: 1rem;
    line-height: 1.125rem;
  }

  .footer__link {
    color: #b3adae;
    font-size: 0.875rem;
    line-height: 1.726;
  }

  .footer__link--wrap {
    max-width: 6.5rem;
    line-height: 1.45;
  }

  .footer__col--contacts {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 11.875rem;
    max-width: 11.875rem;
    margin: 0;
  }

  .footer__col--contacts .footer__col-title {
    justify-content: flex-start;
    gap: 0.3125rem;
    min-height: auto;
    margin-bottom: 2.0625rem;
    font-size: 1rem;
    line-height: 1.125rem;
  }

  .footer__contacts {
    width: 100%;
    gap: 1.1875rem;
    margin-bottom: 0;
  }

  .footer__contact {
    align-items: center;
    gap: 0.875rem;
  }

  .footer__contact-main {
    font-size: 0.875rem;
    line-height: 1.726;
    color: #ffffff;
  }

  .footer__contact-sub {
    font-size: 0.75rem;
    line-height: 1.726;
    color: #b3adae;
  }

  .footer__write-btn {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 11.875rem;
    max-width: 100%;
  }

  .footer__write-btn img {
    width: 0.9375rem;
    height: 0.9375rem;
  }

  .footer__bar {
    display: contents;
  }

  .footer__bar-aside {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 19.0075rem;
  }

  .footer__payments {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
  }

  .footer__payments-label {
    font-size: 0.75rem;
    line-height: 1.726;
    color: #b3adae;
  }

  .footer__pay-badges {
    gap: 1.0625rem;
  }

  .footer__credit {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    white-space: normal;
    font-size: 0.75rem;
    line-height: 1.726;
    color: #b3adae;
  }

  .footer__credit-team {
    color: #b3adae;
  }

  .footer__copy {
    order: 3;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    align-self: stretch;
    width: auto;
    max-width: none;
    min-height: 6rem;
    margin-inline: calc(-1 * max(1rem, env(safe-area-inset-left, 0px))) calc(-1 * max(1rem, env(safe-area-inset-right, 0px)));
    padding: 1.468125rem max(1rem, env(safe-area-inset-right, 0px)) calc(1.468125rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    border-top: 1px solid #0e0f24;
    border-bottom: 1px solid #0e0f24;
    background: rgba(2, 2, 26, 0.8);
    font-size: 0.75rem;
    line-height: 1.726;
    text-align: center;
    color: #b3adae;
  }

  .footer__copy br {
    display: inline;
  }
}

@media (max-width: 374px) {
  .hero__cta {
    padding: 1.25rem 1rem 1.25rem 2.75rem;
    gap: 1rem;
  }
}
