/* Phone-only refinements. Existing desktop/tablet rules are not overridden. */
@media screen and (max-width: 600px) {
  .topbar {
    padding-block: 10px;
  }

  .topbar .wrap {
    row-gap: 6px;
  }

  .sec {
    padding-block: 32px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .sec.hero {
    padding-top: 24px;
  }

  .hero .stack {
    gap: 18px;
  }

  .hero .h1 {
    font-size: clamp(26px, 7.2vw, 32px);
    line-height: 1.22;
  }

  .hero .sub {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-grid {
    margin-top: 4px;
  }

  .hero-left {
    gap: 16px;
  }

  .cta {
    min-height: 56px;
    padding: 14px 16px;
    font-size: 18px;
    line-height: 1.3;
  }

  .cta small {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
  }

  .sheet {
    padding: 26px 16px;
  }

  .letter > p,
  .letter > ul > li,
  .founder .text > p {
    line-height: 1.65;
  }

  .get .glass {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .bonus header {
    padding: 16px;
    gap: 10px;
  }

  .bonus .body {
    padding: 20px 16px;
    gap: 20px;
  }

  .bonus .body > div > p {
    font-size: 16px;
    line-height: 1.6;
  }

  .sk-card.sk-card {
    max-width: calc(100% - 16px);
  }

  .co-sec {
    padding-top: 22px;
  }

  .co-form {
    padding: 18px 14px;
    gap: 16px;
  }

  #page2 .co-sec {
    padding-top: 12px;
  }

  #page2 .co-sec > .wrap {
    gap: 12px;
  }

  #page2 .notice {
    padding: 8px 10px;
    margin-bottom: 0;
    border-width: 1px;
  }

  #page2 .notice strong {
    font-size: 14px;
    line-height: 1.2;
  }

  #page2 .notice p {
    margin-top: 4px;
    font-size: 12.5px;
    line-height: 1.3;
  }

  #page2 .co-form {
    padding: 14px 12px;
    gap: 10px;
  }

  #page2 .co-step {
    font-size: 13px !important;
    line-height: 1.3;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
  }

  #page2 .fx-sub {
    margin: 0;
    padding: 0;
    font-size: 11.5px;
    line-height: 1.4;
  }

  #page2 .fx-l {
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.3;
  }

  #page2 .fx-f input {
    min-height: 44px;
    height: 46px;
    padding-block: 10px;
    font-size: 16px;
  }

  #page2 .fx-h {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
  }

  #page2 #checkoutActions {
    display: block !important;
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    padding: 10px max(16px, env(safe-area-inset-right, 0px))
      max(10px, env(safe-area-inset-bottom, 0px))
      max(16px, env(safe-area-inset-left, 0px));
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .06);
  }

  #page2 #checkoutActions .cta {
    width: 100%;
    margin: 0;
    min-height: 56px;
    padding: 14px 16px;
    font-size: 18px;
  }

  #page2 #checkoutActions .checkout-label::after {
    content: "\2192";
    display: inline-block;
    margin-left: .45em;
    animation: ctaNudge 1.6s ease-in-out infinite;
  }

  #page2 #checkoutActions .cta small {
    font-size: 13px;
    line-height: 1.4;
    margin-top: 6px;
  }

  @media (prefers-reduced-motion: reduce) {
    #page2 #checkoutActions .checkout-label::after {
      animation: none;
    }
  }

  body:has(#page2:not([hidden])) {
    padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px));
    scroll-padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px));
  }

  #page2 .fx-f,
  #page2 #checkoutStatus {
    scroll-margin-bottom: calc(124px + env(safe-area-inset-bottom, 0px));
  }

  .fx-h,
  .fx-e {
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .fx-f input {
    min-height: 52px;
    scroll-margin-block: 64px;
  }

  .obump.obump {
    grid-template-columns: minmax(0, 1fr) clamp(64px, 18vw, 84px);
    column-gap: 10px;
    row-gap: 8px;
    padding: 12px 10px !important;
  }

  .ob-head {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    grid-column: 1 !important;
    grid-row: 1;
    min-height: 44px;
    gap: 8px;
    align-items: center;
    padding-top: 0;
  }

  .ob-head input {
    width: 24px;
    height: 24px;
    margin: 0;
    background-size: 16px;
  }

  .ob-head i {
    display: none;
  }

  .ob-head b {
    min-width: 0;
    font-size: 14.5px;
    line-height: 1.35;
  }

  .ob-img {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 84px;
    justify-self: end;
    align-self: center;
  }

  .ob-body {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 14px;
    line-height: 1.5;
  }

  .co-fine,
  .co-guar-p {
    font-size: 14px;
    line-height: 1.6;
  }

  .co-items {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .co-items b {
    font-size: 15px;
  }

  .order-dlg {
    width: min(440px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-padding-top: 60px;
  }

  .order-dlg .order {
    padding: 24px 16px 20px;
    gap: 12px;
  }

  .order-dlg .bundle.mini {
    --bs: 4.8px;
  }

  .order-dlg .dlg-x {
    position: sticky;
    display: block;
    top: 8px;
    right: auto;
    width: 44px;
    height: 44px;
    margin: 8px 8px -52px auto;
    background: #fff;
    border: 1px solid var(--line);
    z-index: 3;
  }

  .order .cta,
  .order-dlg .cta {
    font-size: 19px;
  }

  .order .cta small {
    font-size: 13px;
  }

  .quiz {
    padding: 20px 16px 24px;
  }

  .quiz #qzBack,
  .co-who button {
    min-width: 44px;
    min-height: 44px;
    padding: 10px 8px;
  }

  .quiz .qz-opt {
    font-size: 16px;
    line-height: 1.45;
  }

  .cal-go {
    min-height: 48px;
    font-size: 15px;
  }

  .faq summary {
    min-height: 52px;
    padding-block: 16px;
    line-height: 1.45;
  }

  .faq details p {
    padding: 16px;
    font-size: 16px;
    line-height: 1.65;
  }

  .footer p {
    line-height: 1.6;
  }

  .footer a,
  nav.legal a,
  body > .top a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 6px;
  }

  body > main {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  body > main > article {
    padding: 24px 18px;
    overflow-wrap: anywhere;
  }

  body > main > article h1 {
    font-size: clamp(26px, 7.5vw, 32px);
    line-height: 1.2;
  }

  /* Keep the complete first offer above the fold, including on short phones. */
  body:has(#page1:not([hidden])) .topbar {
    padding: 8px 14px;
    font-size: 11px;
    line-height: 1.3;
  }

  body:has(#page1:not([hidden])) .topbar .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 0;
    align-items: center;
  }

  body:has(#page1:not([hidden])) .topbar [data-k="top_bar_left_line"] {
    display: none;
  }

  body:has(#page1:not([hidden])) .topbar .logo {
    grid-column: 1;
    grid-row: 1;
    font-size: 15px;
    white-space: nowrap;
    text-align: left;
  }

  body:has(#page1:not([hidden])) .topbar .wrap > span:last-child {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }

  .sec.hero {
    padding-top: 14px;
    padding-inline: max(12px, env(safe-area-inset-left, 0px));
  }

  .hero .stack {
    gap: 14px;
  }

  .hero .pill {
    padding: 4px 10px;
    font-size: 10px;
    line-height: 1.2;
  }

  .hero .h1 {
    font-size: clamp(20px, 5.6vw, 24px);
    line-height: 1.24;
  }

  .hero .sub {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero .hero-grid {
    margin-top: 0;
  }

  .hero .hero-left {
    gap: 12px;
  }

  .hero .cta {
    min-height: 56px;
    padding: 10px 12px;
    font-size: 15.5px;
    line-height: 1.25;
    animation: none;
    box-shadow: none;
  }

  .hero .cta > span:first-child {
    position: relative;
    width: 100%;
    padding-right: 20px;
    text-wrap: balance;
  }

  .hero .cta > span:first-child::after {
    position: absolute;
    right: 0;
    top: 50%;
    margin-left: 0;
    transform: translateY(-50%);
    animation: none;
  }

  .hero .cta small {
    margin-top: 6px;
    font-size: 11.5px;
    line-height: 1.4;
  }

  .hero .hero-left .banner {
    gap: 12px !important;
    padding: 12px 14px !important;
    align-items: center;
  }

  .hero .hero-left .banner .bundle.tiny {
    font-size: calc(42cqw / 44) !important;
  }

  .hero .banner .tagline {
    font-size: 9px !important;
    line-height: 1.25;
    letter-spacing: .02em !important;
  }

  .hero .banner strong {
    margin-top: 4px;
    font-size: 14.5px;
    line-height: 1.2;
    font-weight: 700;
  }

  .hero .banner em {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.2;
  }

  .hero .banner .bn-price {
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 8px;
    padding-top: 8px;
  }

  .hero .banner .bn-col {
    gap: 3px;
  }

  .hero .banner .bn-col s,
  .hero .banner .bn-col b {
    font-size: 24px;
  }

  .hero .banner .bn-col small {
    font-size: 8.5px;
    letter-spacing: .02em;
  }

  @media (max-height: 650px) {
    body:has(#page1:not([hidden])) .topbar .wrap {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    body:has(#page1:not([hidden])) .topbar .logo {
      grid-column: 1;
      font-size: 13px;
    }

    body:has(#page1:not([hidden])) .topbar .wrap > span:last-child {
      grid-column: 2;
      grid-row: 1;
      font-size: 10px;
    }

    .sec.hero {
      padding-top: 8px;
    }

    .hero .stack,
    .hero .hero-left {
      gap: 5px;
    }

    .hero .h1 {
      font-size: 20px;
      line-height: 1.17;
    }

    .hero .sub {
      font-size: 13px;
      line-height: 1.35;
    }

    .hero .cta {
      padding-block: 6px;
      font-size: 15px;
    }

    .hero .cta small {
      margin-top: 3px;
      font-size: 10.5px;
      line-height: 1.25;
    }

    .hero .hero-left .banner {
      padding-block: 8px !important;
    }

    .hero .hero-left .banner .bundle.tiny {
      font-size: calc(36cqw / 44) !important;
    }

    .hero .banner strong {
      font-size: 14px;
    }
  }

  @media (max-height: 600px) {
    body:has(#page1:not([hidden])) .topbar {
      padding-block: 7px;
    }

    .hero .stack,
    .hero .hero-left {
      gap: 4px;
    }

    .hero .hero-left .banner {
      padding-block: 7px !important;
    }
  }

  @media (max-width: 360px) {
    .fz .niches {
      grid-template-columns: minmax(0, 1fr) !important;
      padding: 18px 16px;
    }

    .banner strong {
      font-size: 15px;
    }

    .banner .bn-price {
      gap: 12px;
    }
  }
}
