/* Habitline navbar, two looks (Hamza 2026-12-02). Additive, Habitline's own nav stays the component.
   - Over the dark hero (html.rw-nav-dark, toggled by wb-hero.js): Habitline's dark-card glass
     (fill linear-gradient(rgba(19,21,21,.3), rgba(19,21,21,.5)), blur 40px, shadow 0 10px 20px rgba(19,21,21,.3),
     measured on Habitline's "04" card) with the 1px rgba(255,255,255,.2) hairline from its glass button,
     white Rankwyre lockup, links in Habitline's on-dark grey rgb(184,184,184).
   - Everywhere else: Habitline's own white blocks, untouched.
   Elements are tagged by wb-hero.js (data-rw-glass / data-rw-fill / data-rw-bar) from their real Habitline colours,
   because Framer reuses class names across variants. Motion: 200ms ease-out colour/fill fade only. */

.framer-ay5sbn-container [data-rw-glass],
.framer-ay5sbn-container [data-rw-fill],
.framer-ay5sbn-container [data-rw-bar],
.framer-ay5sbn-container p {
  transition: background-color 200ms ease-out, background-image 200ms ease-out, box-shadow 200ms ease-out, color 200ms ease-out;
}

html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container [data-rw-glass]:not(*) {
  background-color: transparent !important;
  background-image: linear-gradient(rgba(19, 21, 21, .3), rgba(19, 21, 21, .5)) !important;
  -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 10px 20px rgba(19, 21, 21, .3) !important;
}
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container [data-rw-fill] { background-color: rgba(255, 255, 255, .1) !important; }
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container [data-rw-bar] { background-color: #fff !important; }
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container p { color: #fff !important; }
/* Links on the dark look: Framer paints a link white/grey for hover AND for the scroll-spy "active section" state,
   via inline styles, so CSS :hover alone left white pills with grey text (Hamza 12/2 "hover glitches"). Every link is
   transparent here; hover and Framer's active state both become the same faint white fill with white text. */
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container a { background-color: transparent !important; }
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container a:hover,
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container a[style*="rgb(255, 255, 255)"],
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container a[style*="rgb(232, 232, 232)"] { background-color: rgba(255, 255, 255, .1) !important; }
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container a:hover p,
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container a[style*="rgb(255, 255, 255)"] p,
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container a[style*="rgb(232, 232, 232)"] p { color: #fff !important; }
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container .framer-6z5t8h img { content: url("/assets/rw/logo-nav-white.svg"); }

/* ---------- right block: app-store icons out, "Start a project" in ----------
   The Google Play slot is removed; the App Store slot becomes an invisible placeholder exactly as wide as the CTA,
   so Habitline's block keeps its own padding and the scroll-collapse animation; the real CTA is pinned over it. */
.framer-ay5sbn-container .framer-16a4ifu-container { display: none !important; }
.framer-ay5sbn-container .framer-1i55166-container { width: var(--rw-cta-w, 190px) !important; visibility: hidden; }   /* sized to the real CTA by rw-nav.js */
.framer-ay5sbn-container .framer-zejcv7, .framer-ay5sbn-container .framer-jzwbks { width: auto !important; }
html.rw-nav-phone .framer-ay5sbn-container .framer-zejcv7 { display: none !important; }
.rw-nav-cta--float { position: fixed; z-index: 11; }

/* Habitline nav item geometry (desktop: 50px tall, 16px 28px, radius 16, Google Sans Flex 500 15px/18px),
   Habitline's own button colours (dark on light sections, white on the dark hero; Hamza 12/2: no gradient here) */
.rw-nav-cta {
  display: inline-flex; align-items: center; box-sizing: border-box; height: 50px; padding: 16px 28px;
  border-radius: 16px; overflow: hidden; text-decoration: none; white-space: nowrap; cursor: pointer;
  font: 500 15px/18px "Google Sans Flex", "Google Sans Flex Placeholder", sans-serif;
  background: rgb(19, 21, 21); color: #fff;                        /* Habitline dark button (light sections) */
  transition: background-color 200ms ease-out, color 200ms ease-out;
}
html.rw-nav-dark .rw-nav-cta { background: #fff; color: rgb(19, 21, 21); }   /* Habitline white button (on the dark hero) */
.rw-nav-cta .hl-roll { display: block; height: 18px; overflow: hidden; }
.rw-nav-cta .hl-track { display: flex; flex-direction: column; gap: 10px; transition: transform 300ms cubic-bezier(.3, 1.25, .5, 1); }
.rw-nav-cta:hover .hl-track { transform: none; }   /* calm hover (Hamza 12/2), see below */

/* phone + iPad: the CTA is the last row of Habitline's menu panel, at its menu-item size
   (32px tall, radius 8, 6px padding, 15px/20px). Drawn with ::after so Framer has nothing to re-render. */
.framer-ay5sbn-container .framer-1p6jqal[data-rw-panel]::after {
  /* spacer for the premium "Start a project" block (rw-mega.js pins it here): hairline + 14px + 48px pill */
  content: ""; display: block; align-self: stretch; height: 63px; margin-top: 10px;
}
html:not(.rw-nav-phone) .framer-ay5sbn-container .framer-1p6jqal::after { content: none; }

html.rw-nav-notrans .framer-ay5sbn-container * { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .framer-ay5sbn-container * { transition: none !important; }
  .rw-nav-cta .hl-track { transition: none; }
}

/* calm hover (Hamza 12/2): no rolling label; 160ms ease-out, 1px lift, fill shift */
.rw-nav-cta { transition: background-color 160ms ease-out, color 160ms ease-out, transform 160ms ease-out; }
.rw-nav-cta:hover { transform: translateY(-1px); background: #2a2d2d; }
html.rw-nav-dark .rw-nav-cta:hover { background: #e8e8e8; }
@media (prefers-reduced-motion: reduce) { .rw-nav-cta:hover { transform: none; } }

/* no white flash on refresh (Hamza 12/2): until the dark hero is mounted and the navbar is tagged, the page is the hero
   colour and the navbar + Framer content stay hidden; rw-nav.js removes html.rw-preload (3s failsafe in index.html) */
html.rw-preload, html.rw-preload body { background: #040811 !important; }
/* the navbar is NOT hidden here: its dark look is pure CSS by variant name and its links no longer change width, so it paints final on the first frame */
html.rw-preload #main .framer-P7IPm > :not(.framer-ay5sbn-container) { opacity: 0 !important; }
html.rw-preload #main .framer-P7IPm.framer-tzj0d { background-color: transparent !important; }
.framer-ay5sbn-container, .rw-nav-cta--float { transition: opacity 200ms ease-out; }

/* ===== rw-v2-fixes (Hamza 12/2) ===== */
/* 1. Dark glass by Framer's variant name, pure CSS: applies the same frame Framer swaps layouts (resize, reload),
      so there is never a white frame waiting for the script to re-tag. Tags above stay as a backup. */
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container nav:is([data-framer-name="Default"],[data-framer-name="Collapsed"]) :is(.framer-6z5t8h,.framer-1p6jqal,.framer-zejcv7),
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) :is(.framer-1ssbgz8,.framer-1p6jqal) {
  background-color: transparent !important;
  background-image: linear-gradient(rgba(19, 21, 21, .3), rgba(19, 21, 21, .5)) !important;
  -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 10px 20px rgba(19, 21, 21, .3) !important;
}
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container .framer-b2638d { background-color: rgba(255, 255, 255, .1) !important; }
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container :is(.framer-1riyl6d,.framer-1ej86ck) { background-color: #fff !important; }
/* 2. hover / open fill only on the menu LINKS, never on the logo block (Hamza: "hovering the logo looks tacky") */
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container a.framer-6z5t8h,
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container a.framer-6z5t8h:hover { background-color: transparent !important; }
/* 3. dropdown arrows after Services / Industries / Resources / Company (rw-mega.js marks them data-rwx-key);
      to make room, every desktop link trims its side padding 28px -> 22px */
.framer-ay5sbn-container a:is([data-rwx-key],[href$="#features"],[href$="#use-case"],[href="/resources"],[href="/company"]) p::after,
/* positional twin: the arrow must not depend on an attribute JS adds late or a href JS rewrites (that made the bar 36px wider after load) */
.framer-ay5sbn-container .framer-bdVR3 > :is(:nth-child(1),:nth-child(2),:nth-child(5),:nth-child(6)) a p::after {
  content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 6px; vertical-align: -1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 200ms ease-out;
}
.framer-ay5sbn-container a[data-rwx-open] p::after { transform: rotate(180deg); }
.framer-ay5sbn-container nav:is([data-framer-name="Default"],[data-framer-name="Collapsed"]) a.framer-UJvYm { padding-left: 22px !important; padding-right: 22px !important; }
/* phone / iPad menu: bigger links (Hamza: "too small"), right-pointing arrow on the four that open a second screen */
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal a.framer-UJvYm { height: auto !important; padding: 9px 6px !important; }
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal a.framer-UJvYm p {
  --framer-font-size: 20px !important; --framer-line-height: 26px !important; font-size: 20px !important; line-height: 26px !important;
}
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal :is([class*="-container"]) { height: auto !important; }
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) a:is([data-rwx-key],[href$="#features"],[href$="#use-case"],[href="/resources"],[href="/company"]) p::after,
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-bdVR3 > :is(:nth-child(1),:nth-child(2),:nth-child(5),:nth-child(6)) a p::after {
  width: 14px; height: 14px; margin-left: 8px; vertical-align: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
}
/* no focus ring from mouse / touch; keyboard focus keeps a clear ring */
.framer-ay5sbn-container a:focus:not(:focus-visible), .rwx-back:focus:not(:focus-visible) { outline: none !important; }
html.rwx-pointer .framer-ay5sbn-container a:focus, html.rwx-pointer .rwx-back:focus { outline: none !important; box-shadow: none; }
/* the right container is fixed at 175px by Habitline; the arrow-chip CTA needs more, so it sizes to the CTA (+ the block's 6px padding each side) */
.framer-ay5sbn-container nav:is([data-framer-name="Default"],[data-framer-name="Collapsed"]) .framer-jzwbks { width: max-content !important; min-width: calc(var(--rw-cta-w, 179px) + 12px) !important; }
/* phone / iPad menu hover (Hamza 12/2: "why is there no hover on the other ones"): every link gets the same hover,
   and Framer's stuck "current section" fill is removed so only the link under the pointer is highlighted */
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal a.framer-UJvYm { background-color: transparent !important; border-radius: 8px !important; transition: background-color 160ms ease-out; }
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal a.framer-UJvYm p { color: rgb(19, 21, 21) !important; transition: color 160ms ease-out; } /* Hamza 12/3: black, not grey */
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal a.framer-UJvYm:hover { background-color: #e8e8e8 !important; }
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal a.framer-UJvYm:hover p { color: rgb(19, 21, 21) !important; }
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal a.framer-UJvYm p { color: #fff !important; } /* Hamza 12/3: white, like the Industries screen */
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal a.framer-UJvYm:hover { background-color: rgba(255, 255, 255, .1) !important; }
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal a.framer-UJvYm:hover p { color: #fff !important; }

/* ===== resize polish (Hamza 12/2): Framer animates colours and corner radii between layouts; pin them ===== */
/* desktop: the outer Nav never paints (the connected .rwx-navbg does) */
html .framer-ay5sbn-container nav:is([data-framer-name="Default"],[data-framer-name="Collapsed"]) .framer-1ssbgz8 {
  background-color: transparent !important; background-image: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
/* iPad / phone: bar and menu panel always rounded, logo never boxed */
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) :is(.framer-1ssbgz8,.framer-1p6jqal) { border-radius: 16px !important; }
html .framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) a.framer-6z5t8h,
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) a.framer-6z5t8h {
  background-color: transparent !important; background-image: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
/* bigger logo on iPad / phone (134x32 -> 160x38, Hamza: "make it more evident"); the bar grows 6px, the menu
   panel is re-anchored to the bar's real bottom instead of Framer's fixed offset */
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) :is(.framer-pqdf1z) { height: auto !important; width: auto !important; }
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) a.framer-6z5t8h { width: 160px !important; height: 38px !important; }
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) a.framer-6z5t8h .framer-1vg071n { width: 160px !important; height: 38px !important; }
.framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-nqyqc { top: calc(100% + 10px) !important; }

/* page shows before Framer rebuilds the navbar (rw-nav.js): hold back only the link row, then fade it in */
.framer-ay5sbn-container .framer-q30dfs-container { transition: opacity 160ms ease-out; }
html.rw-nav-wait .framer-ay5sbn-container .framer-q30dfs-container { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .framer-ay5sbn-container .framer-q30dfs-container { transition: none; } }
/* floating desktop CTA: invisible until pinned over its slot (it was showing at the page bottom for a frame on refresh),
   and never below 1200px, where Framer shows the burger instead */
.rw-nav-cta--float:not(.is-placed) { visibility: hidden; }
@media (max-width: 1199.98px) { .rw-nav-cta--float { display: none !important; } }

/* Menu button stand-in (Hamza 12/2: "when I refresh the homepage the hamburger glitches"). Framer only switches its
   navbar to the burger layout after its script runs, ~1-2s after the page shows, so the burger popped in late. Until
   then this draws the same button in the same place (measured off Framer's: 32px box, 8px radius, two 20x2 bars;
   40px box from 810px). It goes away the frame the real burger has a size (html.rw-burger-wait, rw-nav.js navReady). */
html.rw-burger-wait .framer-ay5sbn-container::after {
  content: ""; position: absolute; z-index: 5; pointer-events: none; border-radius: 8px;
  --b: #fff; background: linear-gradient(var(--b), var(--b)) 6px 12px / 20px 2px no-repeat, linear-gradient(var(--b), var(--b)) 6px 18px / 20px 2px no-repeat, rgba(255, 255, 255, .1);
  left: calc(100% - 62px); top: 33px; width: 32px; height: 32px;
}
html.rw-burger-wait:not(.rw-nav-dark) .framer-ay5sbn-container::after { --b: rgb(73, 77, 77); background-color: rgb(232, 232, 232); }
@media (min-width: 810px) and (max-width: 1199.98px) {
  html.rw-burger-wait .framer-ay5sbn-container::after { left: calc(50% + 300px); top: 40px; width: 40px; height: 40px; background-position: 10px 15px, 10px 23px, 0 0; }
}
@media (min-width: 1200px) { html.rw-burger-wait .framer-ay5sbn-container::after { content: none; } }


/* Light navbar: links read black, not gray (user request 2026-12-03) */
html:not(.rw-nav-dark) .framer-ay5sbn-container nav:is([data-framer-name="Default"],[data-framer-name="Collapsed"]) a p { color: rgb(19, 21, 21) !important; }
