/* Homepage / product-tour refinements. Desktop changes are intentionally limited
   to the requested half-pixel copy adjustment and two-pixel avatar-chain lift. */
.ox-landing .ox-card-more { transform: translateY(-4.5px); }
@media (min-width: 768px) {
  .ox-talent-scene > .ox-talent-link,
  .ox-talent-scene > g:has(> .ox-avatar-motion) { translate: 0 -2px; }
}
@media (max-width: 767px) {
  /* Fill the visible screen even after the phone's browser toolbar retracts. */
  .ox-landing .ox-hero { min-height: calc(100dvh - 62px); }
  .ox-app-header .ox-info-label { display: inline; font-size: 14px; }
  .ox-app-header .ox-info-icon { display: none; }
  .ox-landing .ox-hero-actions > a {
    width: 214px;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
  .ox-landing .ox-talent-scene { display: none; }
  html #ox-home-footer .ox-home-footer__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 30px;
  }
  #ox-home-footer .ox-home-footer__grid > div { grid-column: 1; }
  #ox-home-footer .ox-home-footer__intro { margin-left: auto; margin-right: auto; }
}
/* Match the tour's existing compact-layout breakpoint, including small tablets. */
@media (max-width: 900px) {
  #ox-product-tour [data-oxi-panel] { isolation: isolate; }
  #ox-product-tour .t3[role="button"] { cursor: pointer; }
  #ox-product-tour .t3[role="button"]:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 4px;
    border-radius: 4px;
  }
  #ox-product-tour .t7 { overscroll-behavior-y: contain; }
  #ox-product-tour .t8 { z-index: 20; }
  #ox-product-tour .t8 nav button { width: auto !important; }
  #ox-product-tour [data-oxt-slide] { isolation: isolate; z-index: 0; }
  #ox-product-tour [data-oxi-footer] {
    z-index: 30;
    background: #fff;
    height: calc(70px + env(safe-area-inset-bottom, 0px));
    padding: 0 18px env(safe-area-inset-bottom, 0px) !important;
    gap: 14px;
  }
  #ox-product-tour [data-oxi-footer] > div { display: none; }
  #ox-product-tour [data-oxi-footer] > button {
    flex: 0 1 auto;
    min-width: 120px !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 16px !important;
  }
  #ox-product-tour [data-oxt-prev] span { display: inline; }
  #ox-product-tour [data-oxt-slide] { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
  /* Shopify assigns stacking levels to table content. Contain those levels
     inside the table, then put each illustrative menu above the whole table. */
  #ox-product-tour .rg { position: relative; z-index: 0; isolation: isolate; }
  #ox-product-tour .rl,
  #ox-product-tour .r1b { z-index: 5; }
  #ox-product-tour .rl { background: #fff; }
  #ox-product-tour .r1p { position: fixed; z-index: 50; }
}

@media (max-width: 767px) {
  .ox-landing .ox-pricing-float { margin-inline: 0; }
}
@media (max-width: 900px) {
  #ox-product-tour .r1b:before { left: var(--score-arrow-left, 50%); right: auto; }
}
