/* KinBridge phone view (<810px, Framer's phone breakpoint). Desktop and tablet are untouched.
   Every change copies a pattern from the 28 Nov 2026 mobile research (research_notes/Mobile site research,
   gallery https://claude.ai/artifact/4DyzHzLFPRcNNJVNZGBiBw). The source site is named on each block.
   To undo everything: remove the kb-mobile.css / kb-mobile.js links from index.html. */

@media (max-width: 809.98px) {

  /* ---- 1. Floating capsule header (Future, Rivian, Raycast) ----
     Lava's closed phone nav is a full-width white bar 90px tall. It becomes a frosted rounded capsule that
     floats 10px from the edges; the page shows around it. The open menu (variant 1x85kh3) is untouched. */
  .framer-C2BKz:not(.framer-v-1x85kh3) {
    background: transparent !important;
    padding: 10px 12px 0 !important;
    height: auto !important;
  }
  .framer-C2BKz:not(.framer-v-1x85kh3) .framer-1invaqc {
    background: rgba(255, 255, 255, .84);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    backdrop-filter: saturate(1.6) blur(18px);
    border: 1px solid rgba(20, 43, 111, .08);
    border-radius: 999px;
    padding: 7px 14px 7px 20px;   /* room on the right so the menu icon doesn't touch the edge */
    box-shadow: 0 10px 30px -18px rgba(20, 43, 111, .45);
    box-sizing: border-box;
    height: auto !important;
  }
  .framer-C2BKz:not(.framer-v-1x85kh3) .framer-1vh7ndy { height: 40px !important; }
  .framer-C2BKz .framer-fgxqf9 { display: flex !important; align-items: center; gap: 10px; }
  /* wordmark a size smaller so it sits inside the capsule with air around it (Future, Rivian: small logo,
     generous capsule). Same size when the menu is open, so it doesn't jump. */
  .framer-C2BKz .framer-19czvvf p.framer-text { --framer-font-size: 26px !important; }
  /* Lava hides the nav while you scroll down (opacity 0) and brings it back on scroll up. Hidden, it still
     caught taps across the top 68px of the page; now taps pass through to the content. */
  .framer-1fc7sxv[style*="opacity: 0;"] { pointer-events: none; }
  /* Lava's nav can stay hidden after an instant jump to the top (iOS: tap the status bar). Near the top of
     the page it always shows (kb-mobile.js sets .kbm-top within 80px of the top). */
  .kbm-top .framer-1fc7sxv { opacity: 1 !important; pointer-events: auto !important; }

  /* menu button: 44px touch target around Lava's 31px icon (Apple HIG) */
  /* the hit area is a pseudo-element of the button itself, so taps on it still reach Framer's handler */
  .framer-C2BKz .framer-iTn4L { position: relative; }
  .framer-C2BKz .framer-iTn4L::after { content: ""; position: absolute; inset: -7px; }

  /* ---- 2. WhatsApp in the header (Clinique La Prairie) ---- */
  .kbm-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F5F7F8;
    color: var(--kb-navy, #142B6F);
    position: relative;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .2s ease;
  }
  .kbm-wa::after { content: ""; position: absolute; inset: -2px; }   /* 44px touch area */
  .kbm-wa svg { width: 20px; height: 20px; fill: currentColor; }
  .kbm-wa:active { background: #EAEEF0; }
  .framer-v-1x85kh3 .kbm-wa { display: none; }   /* the open menu has its own button */

  /* ---- 3. Hero: photo inside the first screen (Neko Health, Revolut, Apple) ----
     Lava stacks badge > headline > copy > button > trust line, then the photo at 664px, just below the
     659px first screen. The photo moves up under the button so it peeks into the first screen like
     Revolut's and Apple's cards; the trust line follows it. Hero Content becomes display:contents so its
     two groups and the photo share one column and can be ordered. */
  .framer-dIDLD .framer-1vkihc6 { gap: 0 !important; }
  .framer-dIDLD .framer-108k4g5 { display: contents !important; }
  .framer-dIDLD .framer-15lihn0 { order: 1; }
  .framer-dIDLD .framer-1byxmnu { order: 2; margin-top: 32px !important; }
  .framer-dIDLD .framer-1wvra3y { order: 3; margin-top: 32px; }
  /* 4:3 shows the whole group (square cropped the sides); 24px radius on all four corners */
  .framer-dIDLD .framer-hu807 { aspect-ratio: 4 / 3 !important; border-radius: 24px; }
  /* Lava's hero parallax lets the next section slide over the bottom of the hero, which sliced the photo
     flat. None of the keeper sites use covering parallax on phones, so the hero scrolls normally here. */
  .framer-dIDLD section.framer-1ejslal { transform: none !important; }

  /* avatar row: even overlap with a white ring (Lava's stack spaced the first two differently from the rest) */
  .framer-dIDLD .framer-ykrqy { gap: 0 !important; padding: 0 !important; width: auto !important; height: auto !important; margin-bottom: 14px !important; }
  .framer-dIDLD .framer-ykrqy > * { width: auto !important; height: auto !important; margin: 0 !important; }
  .framer-dIDLD .framer-ykrqy > * + * { margin-left: -10px !important; }
  .framer-dIDLD .framer-ykrqy > * > div {
    position: relative !important; inset: auto !important; transform: none !important;   /* Avatar 01 had Lava's translate(-50%,-50%) centring */
    width: 40px !important; height: 40px !important;
    border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff;
  }

  /* ---- Lighter type (keepers: 79% set headlines at weight 500 or less; Robinhood, Maven, Neko, Oura) ----
     Chrome draws Lava's headline, section-title and button styles at a true 600, which reads heavy on a
     phone. Headlines and buttons go to 500; the wordmark keeps its own weight. */
  .framer-styles-preset-ap7k3f,
  .framer-styles-preset-6b916n,
  .framer-styles-preset-sbmg3r,
  .kbc-btn2 { --framer-font-weight: 500 !important; font-weight: 500 !important; }

  /* ---- WhatsApp updates section (#currency): the phone first, the text under it (Dulith, 28 Nov 2026).
     Picture-then-text is how the keepers stack a section on phones (Superpower, Future, Revolut). Lava's
     80px gap read as two separate blocks; 48px keeps the phone and its text together. */
  #currency .framer-1l2h718 { gap: 48px !important; }
  #currency .framer-1554itz { order: -1; }
  /* Framer's entrance trigger for this button is tied to its old position, so after the reorder it never
     fired and the button stayed invisible. Shown without the entrance on phones. */
  #currency .framer-paf4ls-container { opacity: 1 !important; transform: none !important; }

  /* ---- 4. Readable text: 16px body, 1.5 line height (keeper median; Apple HIG body size) ----
     Lava's phone section subtitles and card text are 14px; the hero caption is 12px. */
  [data-framer-name="Section Subtitle"] p.framer-text,
  #benefit [data-framer-name="Personalised care overseen by qualified doctors."] p.framer-text {
    --framer-font-size: 16px !important;
    --framer-line-height: 1.5em !important;
  }
  #card [data-framer-name="Globally Accepted."] p.framer-text { --framer-font-size: 16px !important; }
  .framer-dIDLD .framer-1ppmvni p.framer-text { --framer-font-size: 14px !important; --framer-line-height: 1.45em !important; }

  /* ---- 5. Sticky action bar in thumb reach (Lanserhof, Clinique La Prairie, Aman, Equinox) ----
     Appears once the hero button has scrolled away; hides again at the closing card (which has the same
     button) and the footer, and while the menu is open. Frosted strip with one full-width pill. */
  .kbm-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    padding: 10px 16px max(12px, env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .84);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    backdrop-filter: saturate(1.6) blur(18px);
    border-top: 1px solid rgba(20, 43, 111, .08);
    transform: translateY(110%);
    transition: transform .45s cubic-bezier(.25, .8, .25, 1);
  }
  .kbm-bar.is-on { transform: none; }
  .kbm-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    border-radius: 999px;
    background: var(--kb-navy, #142B6F);
    color: #fff;
    font: 500 17px/1 "Rethink Sans", "Rethink Sans Placeholder", sans-serif;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 14px 30px -14px rgba(20, 43, 111, .6);
  }
  .kbm-bar a:active { background: #0F2259; }
  .kbm-bar svg { width: 20px; height: 20px; fill: currentColor; }
}

@media (min-width: 810px) {
  .kbm-wa, .kbm-bar { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .kbm-bar { transition: none; }
}
