html,
body {
  max-width: 100%;
  overflow-x: clip;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

table {
  max-width: 100%;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

.offer-swipe-hint {
  display: none;
}

h1,
h2,
h3 {
  line-height: 1.16 !important;
  overflow: visible !important;
}

h1,
h2,
h3,
.eyebrow,
.step,
.card small,
.hero-panel .label {
  padding-bottom: 8px;
  position: relative;
  z-index: 1;
  overflow: visible !important;
}

@media (max-width: 760px) {
  body {
    -webkit-text-size-adjust: 100%;
  }

  .container,
  .wrap,
  .page {
    width: 100%;
    padding-left: clamp(16px, 5vw, 22px) !important;
    padding-right: clamp(16px, 5vw, 22px) !important;
  }

  nav {
    z-index: 50;
  }

  .nav-inner {
    height: auto !important;
    min-height: 64px;
    gap: 10px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .logo {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
  }

  .nav-links {
    gap: 6px !important;
    justify-content: flex-end;
    flex-wrap: wrap;
    line-height: 1.1;
  }

  .nav-links a,
  footer a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .nav-links a:not(.cta):nth-child(n+4) {
    display: none;
  }

  section {
    padding-top: clamp(52px, 14vw, 74px) !important;
    padding-bottom: clamp(52px, 14vw, 74px) !important;
  }

  h1 {
    max-width: 100% !important;
    font-size: clamp(34px, 11vw, 54px) !important;
  }

  h2 {
    max-width: 100% !important;
    font-size: clamp(28px, 8vw, 40px) !important;
  }

  h3 {
    max-width: 100%;
  }

  p,
  li {
    overflow-wrap: anywhere;
  }

  .grid,
  .grid-3,
  .layout,
  .intro,
  .offer-cards,
  .path-cards,
  .proof-grid,
  .pain-list,
  .sequence,
  .row,
  .content-grid,
  .product-grid,
  .card-grid {
    grid-template-columns: 1fr !important;
  }

  .card {
    padding: clamp(18px, 5vw, 24px) !important;
    border-radius: min(var(--radius, 18px), 16px) !important;
  }

  .btn,
  .cta,
  button,
  input,
  select,
  textarea {
    min-height: 44px;
    max-width: 100%;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  label {
    font-size: 13px !important;
    line-height: 1.35;
  }

  small,
  .tag,
  .disclosure {
    font-size: 13px !important;
    line-height: 1.35;
  }

  footer a {
    font-size: 13px !important;
  }

  .proof-link,
  .tertiary,
  a[href*="cal.com"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .card,
  .hero-panel,
  .section-head,
  .hero-copy,
  .hero-grid,
  [class*="-grid"],
  [class*="-cards"],
  [class*="-row"],
  [class*="-stack"] {
    min-width: 0;
  }

  table,
  .table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  pre,
  code,
  .code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  [class*="-grid"],
  [class*="-cards"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 430px) {
  .nav-links {
    gap: 4px !important;
  }

  .nav-links a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }

  .btn {
    width: 100%;
    margin-right: 0 !important;
  }

.btn + .btn {
  margin-top: 10px;
}

  .offer-swipe-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: rgba(243, 239, 232, 0.72);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .offer-swipe-hint::before,
  .offer-swipe-hint::after {
    content: "";
    width: 18px;
    height: 1px;
    background: rgba(255, 92, 0, 0.45);
  }

  .offer-cards.swipe-deck {
    display: flex !important;
    gap: 14px !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: visible;
    margin-left: calc(-1 * clamp(16px, 5vw, 22px));
    margin-right: calc(-1 * clamp(16px, 5vw, 22px));
    padding-left: clamp(16px, 5vw, 22px);
    padding-right: clamp(16px, 5vw, 22px);
    padding-bottom: 8px;
    scroll-padding-left: clamp(16px, 5vw, 22px);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }

  .offer-cards.swipe-deck::-webkit-scrollbar {
    display: none;
  }

  .offer-cards.swipe-deck .card {
    flex: 0 0 min(86vw, 360px);
    min-width: min(86vw, 360px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .offer-cards.swipe-deck .card.featured {
    order: -1;
  }
}

@media (max-width: 360px) {
  .nav-links a:not(.cta):nth-child(n+3) {
    display: none;
  }
}
