/* ============================================================
   AGENCY BACKBONE — responsive.css
   All breakpoints live here and only here.
   ============================================================ */


/* ============================================================
   TABLET — max-width: 1024px
   ============================================================ */

@media (max-width: 1024px) {

  .hero__headline {
    font-size: var(--size-4xl);
  }

  .hero__inner {
    gap: var(--space-12);
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }

  .about__images {
    height: auto;
    max-width: 560px;
  }

}


/* ============================================================
   MOBILE — max-width: 768px
   ============================================================ */

@media (max-width: 768px) {

  section {
    padding-block: var(--space-20);
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding-block: var(--space-16) var(--space-12);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .hero__headline {
    font-size: var(--size-3xl);
  }

  .hero__subheadline {
    font-size: var(--size-base);
    max-width: 100%;
  }

  .hero__cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero__actions {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero__visual {
    width: 100%;
    margin-bottom: var(--space-8);
  }

  .hero__visual-frame {
    border-radius: var(--radius-lg);
  }

  .timeline__step {
    grid-template-columns: 32px 1fr;
    padding-block: var(--space-10);
  }

  .timeline__step-number {
    display: none;
  }

  .timeline__line {
    left: 16px;
    transform: none;
  }

  .timeline__step-dot {
    justify-self: center;
  }

  .timeline__step-content {
    padding-left: var(--space-6);
  }

  .timeline__step-body {
    max-width: 100%;
  }

  .timeline__step--reverse .timeline__step-number {
    display: none;
  }

  .timeline__step--reverse .timeline__step-content {
    grid-column: 2;
    grid-row: 1;
    padding-right: 0;
    padding-left: var(--space-6);
    text-align: left;
  }

  .timeline__step--reverse .timeline__step-body {
    margin-left: 0;
  }

  .timeline__step--reverse .timeline__step-dot {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .timeline__step-title {
    white-space: normal;
    transform: none !important;
    transform-origin: unset;
  }

  .timeline__step--active .timeline__step-title {
    transform: none !important;
  }

  .timeline__step-body {
    transform: none !important;
    transform-origin: unset;
  }

  .timeline__step--active .timeline__step-body {
    transform: none !important;
  }

  /* Screenshots — disable sticky stack on mobile, stack vertically */
  .screenshots__layer {
    height: auto;
    padding-bottom: var(--space-12);
  }

  /* Email pairs stay 2-column on mobile; gap tightened to fit */
  .screenshots__pair {
    gap: var(--space-3);
  }

  .screenshots__card--single-email {
    max-width: 100%;
  }

  /* Center the lone email 5 */
  .screenshots__card--single-email .screenshots__frame {
    max-width: 50%;
    margin-inline: auto;
  }

  .section-title {
    font-size: var(--size-2xl);
  }

  .about__images {
    height: auto;
  }

  .final-cta__headline {
    font-size: var(--size-2xl);
  }

  .final-cta__cta {
    width: auto;
    padding-inline: var(--space-8);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-5);
  }

  .faq__question-text {
    font-size: var(--size-md);
  }

}


/* ============================================================
   SMALL MOBILE — max-width: 375px
   ============================================================ */

@media (max-width: 375px) {

  .hero__headline {
    font-size: var(--size-2xl);
  }

  .hero__subheadline {
    font-size: var(--size-sm);
  }

  .section-title {
    font-size: var(--size-xl);
  }

  .timeline__step-title {
    font-size: var(--size-lg);
  }

  .final-cta__headline {
    font-size: var(--size-xl);
  }

  .faq__question-text {
    font-size: var(--size-base);
  }

}