/**
 * Mobile/tablet pricing compare + upgrade packages (built by tas-pricing-compare-mobile.js).
 * Single Features/Plan table — all brands as columns, left-aligned, horizontal scroll.
 */

.tas-pricing-compare-host,
.tas-pricing-compare-mobile {
  display: none;
}

@media (max-width: 1199.98px) {
  html body #main #pricing header.framer-1s7t4w0,
  html body #main #pricing header.framer-1s7t4w0 *,
  html body #main #pricing .framer-103315p,
  html body #main #pricing .framer-don3md,
  html body #main #pricing section.framer-don3md,
  html body #main #pricing .framer-p1qpuh,
  html body #main #pricing .framer-1dfky2i,
  html body #main #pricing .framer-9zr00o,
  html body #main #pricing .framer-ol3o1f,
  html body #main .framer-p1qpuh,
  html body #main .framer-1dfky2i,
  html body #main .framer-9zr00o,
  html body #main .framer-ol3o1f,
  html body #main #pricing .framer-n9ff2s,
  html body #main #pricing .framer-1q4xyny,
  html body #main #pricing .framer-ezgmo2,
  html body #main #pricing .framer-tc40qf,
  html body #main #pricing .framer-ck4r3t,
  html body #main #pricing .framer-1nncjc3,
  html body #main #pricing .framer-11rn541,
  html body #main #pricing .framer-32FMb,
  html body #main #pricing .framer-kt88sp,
  html body #main #pricing .framer-aoroob,
  html body #main #pricing .framer-vdb6g2,
  html body #main #pricing .framer-z8yvzy,
  html body #main #pricing .framer-1lpx1bv,
  html body #main #pricing .framer-1b19tav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  html body #main #tas-pricing-compare-host {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: rgb(0, 0, 0) !important;
    overflow: visible !important;
    clear: both !important;
  }

  html body #main #tas-pricing-compare-host .tas-pricing-compare-mobile {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 56px 20px 48px !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: rgb(0, 0, 0) !important;
    overflow: visible !important;
  }

  #contact {
    scroll-margin-top: 96px;
  }

  /* Upgrade packages */
  .tas-pricing-upgrades {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 40px;
    margin-bottom: 64px;
  }

  .tas-pricing-upgrades__col {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
    overflow: hidden;
  }

  .tas-pricing-upgrades__title {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    color: #fff;
    white-space: nowrap;
  }

  .tas-pricing-upgrades__tier {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
  }

  .tas-pricing-upgrades__tier + .tas-pricing-upgrades__tier {
    margin-top: 12px;
  }

  .tas-pricing-upgrades__price {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: clamp(28px, 8vw, 42px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
    white-space: nowrap;
  }

  .tas-pricing-upgrades__detail {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
    white-space: nowrap;
  }

  /* Single feature matrix — 4 columns */
  .tas-pricing-feature-table {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-top: 24px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    overflow: visible;
  }

  .tas-pricing-feature-table__scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  }

  .tas-pricing-feature-table__grid {
    display: grid;
    grid-template-columns:
      minmax(200px, auto)
      minmax(150px, auto)
      minmax(150px, auto)
      minmax(170px, auto);
    column-gap: 28px;
    row-gap: 0;
    width: max-content;
    min-width: 100%;
    box-sizing: border-box;
  }

  .tas-pricing-feature-table__body {
    display: contents;
  }

  .tas-pricing-feature-table__head,
  .tas-pricing-feature-table__row {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .tas-pricing-feature-table__head {
    padding-bottom: 24px;
  }

  .tas-pricing-feature-table__label,
  .tas-pricing-feature-table__brand,
  .tas-pricing-feature-table__feature,
  .tas-pricing-feature-table__value {
    margin: 0;
    text-align: left;
    white-space: nowrap;
  }

  .tas-pricing-feature-table__label,
  .tas-pricing-feature-table__brand {
    font-family: "Clash Grotesk", "Clash Grotesk Placeholder", sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #fff;
  }

  .tas-pricing-feature-table__brand--tas,
  .tas-pricing-feature-table__value--tas {
    color: rgb(243, 178, 12);
  }

  .tas-pricing-feature-table__feature,
  .tas-pricing-feature-table__value {
    font-family: Inter, "Inter Placeholder", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.15;
    color: #fff;
  }

  .tas-pricing-feature-table__row:last-child {
    padding-bottom: 22px;
    border-bottom: 0;
  }
}

@supports not (grid-template-columns: subgrid) {
  @media (max-width: 1199.98px) {
    .tas-pricing-feature-table__grid {
      display: block;
      width: 100%;
      min-width: 0;
    }

    .tas-pricing-feature-table__body {
      display: block;
    }

    .tas-pricing-feature-table__head,
    .tas-pricing-feature-table__row {
      display: grid;
      grid-template-columns:
        minmax(200px, auto)
        minmax(150px, auto)
        minmax(150px, auto)
        minmax(170px, auto);
      column-gap: 28px;
      grid-column: auto;
    }
  }
}

@media (max-width: 809.98px) {
  html body #main #tas-pricing-compare-host .tas-pricing-compare-mobile {
    padding: 48px 16px 40px !important;
  }

  .tas-pricing-upgrades {
    column-gap: 24px;
    row-gap: 36px;
    margin-bottom: 56px;
  }

  .tas-pricing-upgrades__col {
    gap: 28px;
  }

  .tas-pricing-upgrades__title {
    font-size: clamp(12px, 3.6vw, 15px);
  }

  .tas-pricing-feature-table__grid {
    grid-template-columns:
      minmax(180px, auto)
      minmax(140px, auto)
      minmax(140px, auto)
      minmax(160px, auto);
    column-gap: 24px;
  }

  @supports not (grid-template-columns: subgrid) {
    .tas-pricing-feature-table__head,
    .tas-pricing-feature-table__row {
      grid-template-columns:
        minmax(180px, auto)
        minmax(140px, auto)
        minmax(140px, auto)
        minmax(160px, auto);
      column-gap: 24px;
    }
  }

  .tas-pricing-feature-table__head,
  .tas-pricing-feature-table__row {
    padding: 20px 0;
  }

  .tas-pricing-feature-table__label,
  .tas-pricing-feature-table__brand {
    font-size: 24px;
    letter-spacing: -1px;
  }
}

@media (min-width: 810px) and (max-width: 1199.98px) {
  .tas-pricing-feature-table__label,
  .tas-pricing-feature-table__brand {
    font-size: 28px;
  }
}

@media (min-width: 1200px) {
  #tas-pricing-compare-host,
  .tas-pricing-compare-mobile {
    display: none !important;
  }

  /* Collapse desktop compare wrapper — Framer uses a fixed 869px box that leaves a huge gap above contact */
  #pricing header.framer-1s7t4w0 {
    height: auto !important;
    min-height: 0 !important;
    padding: 24px 40px 32px !important;
    overflow: visible !important;
  }

  #pricing .framer-don3md {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 1200px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
  }

  #main #pricing {
    padding-bottom: 32px !important;
    overflow: visible !important;
  }
}
