/* Mobile layout keeps the hero and every price field inside the viewport. */
@media (max-width: 640px) {
  .hero {
    background: var(--bg);
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    order: 1;
    flex: none;
    padding-bottom: 0;
    position: relative;
    z-index: 1;
  }

  .hero-media {
    order: 2;
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: clamp(330px, 90vw, 530px);
    margin-top: -46px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 76%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 76%, transparent 100%);
  }

  .hero-media img {
    object-position: center;
  }

  .trust-strip {
    order: 3;
    grid-template-columns: 1fr;
    border-top: 0;
    padding: 20px 0 42px;
    margin-top: 0;
    gap: 26px;
  }

  .trust-strip > div,
  .trust-strip > div:first-child,
  .trust-strip > div:last-child {
    justify-content: center;
    padding: 0;
    gap: 14px;
    border: 0;
    font-size: clamp(16px, 4.1vw, 20px);
    font-weight: 550;
    text-align: center;
  }

  .trust-strip .icon {
    width: 30px;
    height: 30px;
  }

  .pricing .table-scroll {
    margin-right: 0;
    width: 100%;
    border: 1px solid #bca58240;
    border-radius: var(--radius);
    overflow: visible;
  }

  .price-table {
    display: block;
    min-width: 0;
    width: 100%;
    white-space: normal;
  }

  .price-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .price-table tbody {
    display: block;
  }

  .price-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(78px, .65fr);
    gap: 14px 16px;
    padding: 20px 16px;
    border-bottom: 1px solid var(--line);
  }

  .price-table tbody tr:last-child {
    border-bottom: 0;
  }

  .price-table td,
  .price-table td:last-child {
    display: block;
    min-width: 0;
    border: 0;
    padding: 0;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .price-table td:first-child {
    grid-column: 1 / -1;
    width: auto;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 650;
  }

  .price-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0;
  }

  .price-table .table-price {
    align-self: end;
    font-size: 20px;
    line-height: 1.3;
    white-space: nowrap;
  }

  .price-table td:last-child {
    align-self: end;
    justify-self: end;
  }

  .price-table .table-request {
    width: 44px;
    height: 44px;
    border: 1px solid #bca58265;
    border-radius: var(--radius);
  }
}
