/* v193 — the public website on phones, rebuilt. Loaded last on every site page; every rule sits inside a
   max-width query, so desktop is untouched. Covers: the announcement strip, the top bar, a full-screen menu in the
   Property Launch blue, sideways rows that move by themselves until touched, the pricing cards, and tighter pages. */

/* ---------- full-screen menu (whenever the links fold into the menu button) ---------- */
@media (max-width: 1320px) {
  .nd-full:not([hidden]) {
    position: fixed !important; inset: 0 !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: auto !important; max-height: none !important; height: 100dvh; z-index: 1000 !important; margin: 0 !important;
    display: flex !important; flex-direction: column; gap: 18px; overflow-y: auto; overscroll-behavior: contain;
    padding: calc(env(safe-area-inset-top, 0px) + 18px) 22px calc(env(safe-area-inset-bottom, 0px) + 22px) !important;
    border-radius: 0 !important; border: 0 !important; box-shadow: none !important;
    background: radial-gradient(110% 70% at 100% 0%, rgb(56 140 255 / .55), transparent 60%), linear-gradient(165deg, #06215a 0%, #0a3fae 55%, #0b5cff 100%) !important;
    color: #fff; animation: fsIn .26s ease-out both !important; font-family: var(--font, inherit);
  }
  @keyframes fsIn { from { opacity: 0; } to { opacity: 1; } }
  .nd-full .nd-top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
  .nd-full .nd-top b { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .7); }
  .nd-full .nd-x { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
  .nd-full .nd-x:active { background: rgb(255 255 255 / .24); }
  .nd-full .nd-links { display: grid !important; gap: 0 !important; flex: 1; align-content: start; }
  .nd-full .nd-links a {
    display: flex !important; align-items: center; justify-content: space-between; min-height: 56px !important; padding: 0 4px !important;
    border-radius: 0 !important; border-bottom: 1px solid rgb(255 255 255 / .14) !important; background: none !important;
    color: #fff !important; font: 700 22px/1.15 var(--font, inherit) !important; letter-spacing: -.015em; text-decoration: none;
    animation: fsLink .34s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 30ms);
  }
  @keyframes fsLink { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .nd-full .nd-links a svg { color: rgb(255 255 255 / .55) !important; width: 22px; height: 22px; }
  .nd-full .nd-links a[aria-current=page] { color: #9fd0ff !important; }
  .nd-full .nd-links a:active { background: rgb(255 255 255 / .07) !important; }
  .nd-full .nd-foot { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
  .nd-full .nd-foot .b { min-height: 56px !important; justify-content: center; font-size: 17px !important; border-radius: 999px !important; width: 100%; }
  .nd-full .nd-foot .b-line { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .5) !important; }
  .nd-full .nd-foot .b-main { background: #fff !important; color: #0a3fae !important; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .4) !important; }
  .nd-full .nd-foot .b:only-child { grid-column: 1 / -1; }
  .nav-scrim { display: none !important; }
  html.nav-open, html.nav-open body { overflow: hidden !important; }
  @media (prefers-reduced-motion: reduce) { .nd-full:not([hidden]), .nd-full .nd-links a { animation: none !important; } }
}

@media (max-width: 760px) {
  /* ---------- announcement: one tidy strip across the very top ---------- */
  .lp .announce { margin: 0 !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; position: relative; z-index: 61; background: linear-gradient(90deg, #0047d6, #0a7cff) !important; }
  .lp .announce .wrap { position: relative; min-height: 40px !important; height: 40px; padding: 0 44px 0 12px !important; gap: 8px !important; font-size: 14px !important; justify-content: center !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; overflow: hidden; }
  .lp .announce .an-badge, .lp .announce .an-lead, .lp .announce .an-long, .lp .announce .an-after { display: none !important; }
  .lp .announce .an-text { display: inline-flex !important; align-items: center; gap: 8px; min-width: 0; flex: 0 1 auto !important; overflow: visible !important; color: #fff; font-weight: 600; }
  .lp .announce .an-short { display: inline !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .lp .announce .an-code { margin: 0 !important; min-height: 28px !important; padding: 2px 3px 2px 10px !important; gap: 6px !important; border: 1.5px dashed rgb(255 255 255 / .7) !important; border-radius: 999px; background: rgb(255 255 255 / .12) !important; color: #fff; flex: none; }
  .lp .announce .an-code b { font-size: 13px; }
  .lp .announce .an-code i { display: inline-block !important; padding: 3px 9px !important; font-size: 12px !important; }
  .lp .announce .an-x { display: grid !important; place-items: center; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: #fff; font-size: 22px; opacity: .8; }
  @media (max-width: 360px) { .lp .announce .an-code i { display: none !important; } .lp .announce .an-code { padding-right: 10px !important; } }

  /* ---------- top bar: logo, one button, a round menu button, all inside the bar ---------- */
  .lp.site .nav .wrap { min-height: 58px !important; height: 58px; padding: 0 7px 0 14px !important; gap: 8px !important; align-items: center !important; box-sizing: border-box; max-width: calc(100vw - 20px) !important; }
  .lp.site .nav .logo { flex: 0 1 auto; min-width: 0; }
  .lp.site .nav .logo img, .lp.site .nav .logo .logo-img { height: 22px !important; width: auto; max-width: 100%; }
  .lp.site .nav .grow { display: block !important; flex: 1 1 0; min-width: 0; }
  .lp.site .nav .auth { display: flex !important; gap: 6px; flex: none; }
  .lp.site .nav .auth .b-line { display: none !important; }
  .lp.site .nav .auth .b-main { min-height: 42px !important; height: 42px; padding: 0 16px !important; font-size: 14.5px !important; white-space: nowrap; }
  .lp.site .nav-menu {
    display: inline-flex !important; flex: none; width: 44px !important; height: 44px !important; margin: 0 !important; border-radius: 50% !important;
    border: 0 !important; background: #0b2a5b !important; box-shadow: 0 6px 16px -6px rgb(11 42 91 / .6) !important; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  }
  .lp.site .nav-menu span { width: 17px !important; height: 2px !important; background: #fff !important; border-radius: 2px; }
  .lp.site .nav-menu span:nth-child(2) { width: 12px !important; margin-left: 5px; }
  .lp.site .nav-menu:active { transform: scale(.94); }

  /* ---------- sideways rows: the next card peeks in, dots underneath, and they turn by themselves until touched */
  .lp .rail-dots, .lp .rail-dots.show { display: flex !important; justify-content: center; gap: 7px; margin: 12px 0 0; }
  .lp .rail-dots button { width: 7px; height: 7px; padding: 0; border-radius: 99px; border: 0; background: rgb(1 21 55 / .2); transition: width .25s, background .25s; }
  .lp .rail-dots button.on { width: 22px; background: var(--accent, #0055ec); }
  /* chip rows that scroll: a soft fade at the edge says "there's more" */
  .lp .faq-chips, .lp .blog-chips, .lp .fnav-in, .lp .mk-steps, .lp.site .try .ctl #oLook { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .lp .is-end { -webkit-mask-image: none !important; mask-image: none !important; }

  /* ---------- pricing: swipe sideways without fighting the page scroll ---------- */
  .lp #pricingCards { touch-action: pan-x pan-y; overscroll-behavior-x: contain; align-items: flex-start !important; height: auto !important; }
  .lp #pricingCards > * { scroll-snap-stop: always; }
  .lp .rail-tabs { position: sticky; top: 80px; z-index: 5; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 5px; margin: 0 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgb(1 21 55 / .08), 0 8px 20px -12px rgb(1 21 55 / .3); }
  .lp .rail-tabs button { min-height: 42px; border: 0; border-radius: 999px; background: none; font: 700 14.5px var(--font, inherit); color: #4b5873; }
  .lp .rail-tabs button.on { background: #0b2a5b; color: #fff; }

  /* ---------- Team size presets: an even 2 × 2, never 3 + 1 ---------- */
  .lp .tq-presets, .tq-presets { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .lp .tq-presets > *, .tq-presets > * { width: 100% !important; min-width: 0 !important; margin: 0 !important; }

  /* ---------- the chat bubble sits above the "Start free" bar, never on top of it */
  body.m-cta-on .lp-chat-btn, body.m-cta-on .chat-fab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 760px) {
  /* a sideways row must never scroll up and down inside itself (that swallowed the page scroll on Pricing) */
  .lp .rail, .lp .hm-rail, .lp.site .kit-grid, .lp .blog-row, .lp #pricingCards { overflow-y: hidden !important; overflow-x: auto; height: auto !important; max-height: none !important; overscroll-behavior-y: auto !important; touch-action: pan-x pan-y; }
}

/* ======================================================================================================
   v194 — one consistent look on phones: everything centered, sections that blend into the page, sideways
   rows with even cards and no cut-off boxes or shadows.
   ====================================================================================================== */
@media (max-width: 760px) {
  /* soft color glows behind sections are clipped by their section on a narrow screen and show as a box */
  .lp .hero-v2::before, .lp .paths::before, .lp .pricing-page::before, .lp .pricing-page::after, .lp .steps3::before { display: none !important; }

  /* ---------- centered pages ---------- */
  .lp main section, .lp main .wrap > header, .lp .sec-head, .lp .hero-copy, .lp .hero, .lp .page-hero, .lp .cta-band, .lp .site-foot { text-align: center; }
  .lp main h1, .lp main h2, .lp main h3, .lp .eyebrow, .lp .sub, .lp .lede, .lp .sec-head p { margin-left: auto !important; margin-right: auto !important; text-align: center !important; }
  .lp main section p { margin-left: auto; margin-right: auto; }
  /* rows of buttons, chips, badges and small facts sit in the middle */
  .lp main .b-row, .lp main .btns, .lp main .actions, .lp main .hero-cta, .lp main .cta-row, .lp main .chips, .lp .values, .lp .src-track, .lp .hero-trust, .lp .x-meta, .lp .rail-dots { justify-content: center !important; }
  .lp main section .b, .lp main section .b-arrow { margin-left: auto; margin-right: auto; }
  /* tick lists stay readable: a left-aligned list that sits in the middle of the screen */
  .lp main .feat-list, .lp main .ticks, .lp main ul.checks, .lp main .mk-points, .lp main .x-list { display: inline-grid !important; text-align: left !important; margin-left: auto !important; margin-right: auto !important; max-width: 100%; justify-items: start; }
  /* questions, inputs and long text blocks keep their natural left edge */
  .lp main details, .lp main summary, .lp main input, .lp main textarea, .lp main select, .lp main form, .lp main .faq-list, .lp main .post-body, .lp main .tq, .lp main .cr-table, .lp main table, .lp main .x-cal-week, .lp main .hc-ans { text-align: left !important; }
  /* icons that led a text line on desktop sit above it, centered */
  .lp .real-points li, .lp .path, .lp .x-tile { display: flex !important; flex-direction: column; align-items: center !important; text-align: center !important; gap: 8px !important; }
  .lp .real-points li > *, .lp .path > *, .lp .x-tile > * { margin-left: auto; margin-right: auto; }

  /* ---------- sections that blend into the page (no card that ends before the screen does) ---------- */
  .lp .real-card { background: none !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important; }
  .lp .real-card::before, .lp .real-card::after { display: none !important; }

  /* ---------- sideways rows: edge to edge, room for shadows, cards the same height ---------- */
  .lp .real-points.rail > li { background: #fff !important; border-radius: 22px !important; padding: 22px 18px !important; justify-content: flex-start; }
  /* the plan row keeps its own tall cards but lines their tops up */
  .lp #pricingCards { align-items: flex-start !important; }
  .lp #pricingCards > * { align-self: flex-start !important; }

  /* ---------- one rhythm for every section ---------- */
  .lp main section { padding-top: 44px; padding-bottom: 44px; }
  .lp .eyebrow { margin-bottom: 10px !important; }
  .lp main h2 { font-size: clamp(28px, 8vw, 34px) !important; line-height: 1.12 !important; letter-spacing: -.025em; }
  .lp main .sub, .lp main .sec-head p { font-size: 16px !important; line-height: 1.5 !important; max-width: 34ch; }
  .lp main .b { min-height: 52px; }

  /* the footer: centered blocks, two even link columns */
  .lp .site-foot .sf-brand, .lp .site-foot .sf-news { text-align: center; margin-left: auto; margin-right: auto; }
  .lp .site-foot .sf-cols { text-align: left; }
}
@media (max-width: 760px) {
  /* numbered steps: the number on top, centered like everything else */
  .lp .s3-row .core { display: flex !important; flex-direction: column; align-items: center; text-align: center !important; gap: 6px; padding: 18px 18px !important; }
  .lp .s3-row .s3-n { margin: 0 auto 2px !important; }
  /* v199: headings with a button beside them (blog "News and guides" and others) stack and center like every other section */
  .lp .sec-head.row-head { flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; gap: 14px !important; }
  .lp .sec-head.row-head > div { width: 100%; text-align: center; }
  .lp .post-card .pc-body { text-align: center; align-items: center; }
  .lp .post-card .pc-meta { justify-content: center; }
  /* v198: three separate cards with a small gap (no outer box) */
  .lp .s3-row { gap: 12px !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important; }
  .lp .s3-row > li + li { border-top: 0 !important; }
  .lp .s3-row > li.bezel { background: none !important; box-shadow: none !important; padding: 0 !important; }
  .lp .s3-row > li > .core { background: #fff !important; border-radius: 22px !important; box-shadow: 0 0 0 1px rgb(1 21 55 / .07), 0 14px 30px -24px rgb(1 21 55 / .35) !important; }
  /* any card that had its icon on the left: icon on top, centered */
  .lp .rules-card, .lp .rules-card > *, .lp .num-band { text-align: center !important; }
  .lp .rules-card svg, .lp .rules-card .rc-ic, .lp .rules-card > span:first-child, .lp .path-ic, .lp .real-ic { margin-left: auto !important; margin-right: auto !important; }
  .lp .path-go { justify-content: center; margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  /* tick lists: a left-aligned list as a block in the middle of the screen */
  .lp main .feat-list, .lp main .x-checks, .lp main .about-facts { display: grid !important; width: fit-content !important; max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; text-align: left !important; justify-items: start; }
  .lp main .feat-list li, .lp main .x-checks li, .lp main .about-facts li { text-align: left !important; }
  /* tool tiles: icon on top, centered */
  .lp .x-tile .core { display: flex !important; flex-direction: column; align-items: center; text-align: center !important; gap: 6px; padding: 22px 18px !important; }
  .lp .x-tile .core > .x-tic { margin: 0 auto 4px !important; }
  .lp .x-tiles.rail > * { display: flex; }
  .lp .x-tiles.rail > * > .core { width: 100%; }
}
.cr-all { display: none; }
@media (max-width: 760px) {
  .lp .cr-fold .cr-row:not(.cr-th):nth-child(n+7) { display: none !important; }
  .lp .cr-all { display: flex; margin: 14px auto 0; }
  /* "how it works" style numbered flows: number on top, centered */
  .lp .flow li { padding: 0 !important; display: flex !important; flex-direction: column; align-items: center; text-align: center !important; gap: 6px; }
  .lp .flow li::before { position: static !important; margin: 0 auto 4px !important; transform: none !important; }
  /* hero point lists (Teams): no left rule, centered */
  .lp .tm-list li, .lp .hero .tm-list li { border-left: 0 !important; padding-left: 0 !important; text-align: center !important; }
  .lp .tm-list li::before { display: none !important; }
  /* small print lists inside cards */
  .lp .cr-list, .lp .cr-steps { display: grid !important; width: fit-content; max-width: 100%; margin-left: auto !important; margin-right: auto !important; text-align: left !important; }
  /* Team estimator: labels read left to right like a form */
  .lp .tq-estimator, .lp .tq-estimator * { text-align: left; }
  .lp .tq-estimator .tq-presets button { text-align: center !important; }
}
@media (max-width: 760px) {
  /* every other list on the site: a left-aligned block centered on the screen (ticks line up with their words) */
  .lp main section ul:not(.rail):not(.tm-list):not(.chips):not(.faq-chips):not(.blog-chips):not(.post-grid):not(.blog-row),
  .lp main section ol:not(.rail):not(.flow):not(.s3-row):not(.jr-line):not(.x-tl) { width: fit-content; max-width: 100%; margin-left: auto !important; margin-right: auto !important; text-align: left !important; }
  .lp main section ul:not(.rail):not(.tm-list) > li { text-align: left !important; }
}
@media (max-width: 760px) {
  .lp .path .core, .lp .path-row .path > .core { display: flex !important; flex-direction: column; align-items: center; text-align: center !important; gap: 6px; }
  .lp .path .core > * { margin-left: auto !important; margin-right: auto !important; }
  .lp .path .path-ic { position: static !important; }
  .lp .site-foot .sf-brand, .lp .site-foot .sf-brand * { text-align: center !important; margin-left: auto !important; margin-right: auto !important; justify-content: center; }
  .lp .site-foot .sf-brand .logo { display: flex !important; width: fit-content; }
  .lp .site-foot .sf-col { text-align: center !important; }
  .lp .site-foot .sf-col a { margin-left: auto; margin-right: auto; }
  .lp .site-foot .sf-news form, .lp .site-foot .sf-news-row { margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  /* one card, not a card inside a card: the outer "bezel" shell is dropped on phones, the inner card stays */
  .lp .bezel { background: none !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; border-radius: 22px !important; }
  .lp .bezel > .core { border-radius: 22px !important; background: #fff; box-shadow: 0 0 0 1px rgb(1 21 55 / .07), 0 6px 16px -10px rgb(1 21 55 / .25) !important; }
  .lp .num-band.bezel > .core, .lp .cta-band .core, .lp .bezel.dark > .core { background: revert; }
}


/* ======================================================================================================
   v195 — calmer sideways rows and a boxed link bar (replaces the v194 row overrides, which put square
   boxes around rounded cards and pulled the rows up against what sat above them).
   ====================================================================================================== */
@media (max-width: 760px) {
  /* one spacing rule for every row: clear space above, the cards edge to edge, dots close underneath */
  .lp .rail { gap: 14px !important; padding: 6px var(--m, 16px) 10px !important; margin: 22px calc(-1 * var(--m, 16px)) 0 !important; scroll-padding-inline: var(--m, 16px); align-items: stretch; }
  .lp .rail > * { scroll-snap-align: center !important; }
  .lp .rail-dots, .lp .rail-dots.show { margin: 10px 0 0 !important; }
  .lp #pricingCards.rail { align-items: flex-start; margin-top: 14px !important; }
  /* hero designs: room under the three icons */
  .lp .hm-rail.rail { margin-top: 26px !important; }
  .lp .hm-rail figure { margin: 0; }
  /* v197: the designs' shadow was cut off by the row's edges and showed as a pale band; a small shadow that fits */
  .lp .hm-rail.rail { padding-top: 4px !important; padding-bottom: 22px !important; }
  .lp .hm-rail img { filter: drop-shadow(0 6px 10px rgb(1 21 55 / .14)) !important; }
  /* v200: the dots sit fully below the row (they were tucked 6px under it and got cut off on iPhones) */
  .lp .hm-rail + .rail-dots, .lp .hm-rail ~ .rail-dots { margin-top: 4px !important; }
  .lp .rail-dots { position: relative; z-index: 2; min-height: 10px; align-items: center; overflow: visible; }
  /* v197: home hero starts the same distance under the top bar as every other page */
  .lp.site .hero-v2 { padding-top: 40px !important; }
  /* equal heights where cards sit side by side */
  .lp .real-points.rail > li { height: auto; }
  .lp .path-row.rail > .path > .core, .lp .x-tiles.rail > * > .core { height: 100%; box-sizing: border-box; }

  /* the link bar on the home page: one white rounded box holding the field and the button */
  .lp .linkbox.glassbar, .lp .hero .linkbox { display: grid !important; gap: 8px; padding: 8px !important; margin-top: 22px !important; border-radius: 22px !important; background: #fff !important; box-shadow: 0 0 0 1px rgb(1 21 55 / .08), 0 16px 34px -20px rgb(1 21 55 / .4) !important; }
  .lp .linkbox .lb-field { display: flex; align-items: center; gap: 10px; padding: 0 12px; min-height: 52px; border-radius: 14px; background: #f3f6fb; }
  .lp .linkbox .lb-field input { background: transparent !important; min-height: 52px; border: 0 !important; padding: 0 !important; text-align: left !important; }
  .lp .linkbox .b { width: 100%; margin: 0 !important; }
}
@media (max-width: 760px) {
  .lp .rail:not(#pricingCards) > * { align-self: stretch !important; }
}
.m-cta-chat { display: none; }
@media (max-width: 760px) {
  /* the "Start free" bar makes room on its right for the chat button; the floating bubble hides meanwhile */
  body.m-cta-on .lp-chat-btn { opacity: 0 !important; pointer-events: none !important; transform: scale(.8) !important; }
  body.m-cta-on .m-cta { right: 76px !important; }
  .m-cta-chat { position: fixed; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 59; width: 56px; height: 56px; border-radius: 50%; border: 0; background: #fff; color: var(--accent, #0055ec); box-shadow: 0 0 0 1px rgb(1 21 55 / .08), 0 14px 30px -12px rgb(1 21 55 / .45); place-items: center; opacity: 0; transform: translateY(20px); transition: opacity .25s, transform .25s; pointer-events: none; }
  body.m-cta-on .m-cta-chat { display: grid; opacity: 1; transform: none; pointer-events: auto; }
}
@media (max-width: 760px) {
  /* About: Ross's story reads like a letter, so its paragraphs keep a left edge (headings stay centered) */
  .lp .about-letter p, .lp .about-letter blockquote { text-align: left !important; }
}
