@media (max-width: 1180px) {
  .hero__title { font-size: 46px; }

  .feat__board {
    grid-template-columns: 260px 1fr 260px;
  }

  .price__board {
    grid-template-columns: 220px 1fr 210px;
  }

  .price__callout--tl,
  .price__callout--tr {
    display: none;
  }

  /* The 140px side padding on .price__head only exists to leave room
     for the two absolutely-positioned callouts above - once they're
     hidden at this breakpoint, keeping it just squeezes the badge/
     title into a much narrower box for no reason. */
  .price__head {
    padding: 0;
  }

  .how__mascot,
  .how__callout {
    display: none;
  }

  .how__head {
    padding: 0;
  }

  .how__steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }

  .how__arrows {
    display: none;
  }

  .faqp__mascot,
  .faqp__callout {
    display: none;
  }

  .faqp__head {
    padding: 0;
  }

  .faqp__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* The desktop --cat-col/--cat-row values assume 3 columns - released
     back to auto here so the 6 cards just flow in reading order
     through the new 2-column grid instead of two of them landing in a
     column that no longer exists. */
  .faqcat {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .contactp__board {
    grid-template-columns: 1fr;
  }

  /* Same reasoning as .faqcat above: released back to a single auto
     column so the three panes stack in reading order (mascot, form,
     methods) instead of overlapping at their desktop grid position. */
  .contactp__side--mascot,
  .contactp__form-card,
  .contactp__side--methods {
    grid-column: 1;
    grid-row: auto;
  }

  .contactp__side--mascot {
    order: -1;
  }

  .contactp__mascot-img {
    max-width: 200px;
  }
}

@media (max-width: 1024px) {
  .navbar__nav,
  .navbar__actions {
    display: none;
  }

  .navbar__burger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__content { grid-column: 1; }
  .hero__visual { grid-column: 1; margin-top: 60px; }

  .hero__content {
    align-items: center;
    text-align: center;
  }

  .hero__desc {
    max-width: 560px;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__callout--top {
    right: 10px;
    top: -46px;
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  /* Feature-cards board collapses to a single stacked column - the
     dotted connector lines only make sense pointing at a side-by-side
     layout, so they're hidden rather than redrawn for a stack. */
  .feat__board {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Undoes features.css's grid-row:1 (needed on desktop's 3-column
     row so the sparse auto-placement cursor doesn't scatter them
     across separate rows) - on this single-column stack it would
     otherwise pin all three into the same cell, overlapping them. */
  .feat__col--a,
  .feat__mockup,
  .feat__col--b {
    grid-column: 1;
    grid-row: auto;
  }

  .feat__lines {
    display: none;
  }

  .feat__sticker--tl { left: 4%; }
  .feat__sticker--tr { right: 4%; }

  /* Same stacking treatment as .feat__board above - single column,
     grid-row released back to auto so the three panes don't overlap. */
  .price__board {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .price__side--robot,
  .price__plans,
  .price__side--trust {
    grid-column: 1;
    grid-row: auto;
  }

  .price__side--robot {
    order: -1;
  }

  .price__plans {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .plan--featured {
    transform: none;
    order: -1;
  }

  .price__side--trust {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero { padding-top: 50px; }

  .hero__title { font-size: 34px; }
  .hero__desc { font-size: 15px; }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero__cta .btn { width: 100%; }

  .hero__stats {
    gap: 26px;
    flex-wrap: wrap;
  }

  /* Once the callouts below switch to position:static, they become
     flex siblings of the mockup image inside .hero__visual - without
     stacking them in a column, the default row direction squeezes all
     three into one line, crushing the image down to a sliver. */
  .hero__visual {
    flex-direction: column;
    align-items: center;
  }

  .hero__callout--top {
    position: static;
    margin: 0 auto 16px;
    justify-content: center;
  }

  .hero__callout-arrow {
    display: none;
  }

  .hero__callout--bottom {
    position: static;
    margin: 16px auto 0;
    justify-content: center;
    width: fit-content;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tagline__inner p {
    white-space: normal;
    text-align: center;
  }

  .feat { padding-top: 50px; }
  .feat__title { font-size: 30px; }

  .feat__sticker {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .feat__stats {
    gap: 20px 32px;
  }

  .feat__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .feat__cta .btn { width: 100%; }

  /* The floating grow-badge is positioned relative to the whole
     section on desktop - on a stacked mobile layout it just flows
     after the join line instead, so it can't overlap the cards above. */
  .feat__grow {
    position: static;
    justify-content: center;
    margin: 32px auto 0;
    width: fit-content;
  }

  .feat__grow-arrow {
    display: none;
  }

  .price { padding-top: 50px; }
  .price__title { font-size: 28px; }

  .price__robot { max-width: 220px; }

  .price__stats {
    gap: 20px 32px;
  }

  .price__tagline p {
    white-space: normal;
    text-align: center;
  }

  .how { padding-top: 50px; }
  .how__title { font-size: 26px; }

  .how__steps {
    grid-template-columns: 1fr;
  }

  /* Undo the desktop --step-col ordering trick - a single column just
     needs DOM order (1 through 5), not the RTL right-to-left mapping.
     grid-row must be released too: the desktop rule pins every step to
     row 1 (so the descending column order doesn't scatter them - see
     how-it-works.css) - left in place here, all five would collapse
     onto the exact same cell instead of stacking. */
  .step {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .how__stats {
    gap: 20px 32px;
  }

  .how__tagline p {
    white-space: normal;
    text-align: center;
  }

  .faqp { padding-top: 50px; }
  .faqp__title { font-size: 28px; }

  .faqp__grid {
    grid-template-columns: 1fr;
  }

  .faqp__filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    margin: 0 -24px;
    padding-inline: 24px;
  }

  .faqp__filter {
    flex: none;
  }

  .faqp__cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .faqp__cta-left {
    flex-direction: column;
    text-align: center;
  }

  .faqp__stats {
    margin-right: 0;
    justify-content: center;
  }

  .contactp { padding-top: 50px; }
  .contactp__title { font-size: 28px; }

  .contactp__row {
    grid-template-columns: 1fr;
  }

  .contactp__perks {
    grid-template-columns: repeat(2, 1fr);
  }

  .perk {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

  .hero__badge {
    font-size: 12px;
    text-align: center;
  }
}
