/* v6.4.15 (from v6.4.14): mobile and tablet fixes (Andres: the site is broken on mobile).
   Loaded last on every page. Layout only: no copy, price or content changes. */

/* 1. Client logos on phones, landscape phones and tablets (up to 960px): three equal white tiles
   in one centred row (QA #1, #2, #4; Rex L3).
   Before: a 2-column grid of mixed-height logos (Amaira 40px square, NASCAR touching the Zoo logo)
   plus the marquee's edge-fade strip painted as an empty white card on the right. */
@media (max-width:960px){
  section.clients{padding-left:14px!important;padding-right:14px!important}
  section.clients .client-marquee{margin:0!important;width:100%!important;overflow:visible!important}
  section.clients .client-marquee::before,
  section.clients .client-marquee::after{display:none!important;content:none!important}
  section.clients .client-track{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;width:100%!important;max-width:420px;margin:0 auto!important;
    animation:none!important;transform:none!important
  }
  section.clients .client-track>.client-logo,
  section.clients .client-track>.client-logo.client-logo-amaira,
  section.clients .client-track>.client-logo.client-logo-nascar,
  section.clients .client-track>.client-logo.client-logo-zoo{
    box-sizing:border-box!important;width:auto!important;max-width:none!important;min-width:0!important;
    height:68px!important;min-height:68px!important;max-height:68px!important;
    margin:0!important;padding:8px 9px!important;
    display:flex!important;align-items:center;justify-content:center;
    background:#fff!important;border:1px solid #e6e1f7!important;border-radius:12px!important;
    box-shadow:0 4px 14px #3e278d0f!important;overflow:hidden!important;transform:none!important
  }
  html.dark section.clients .client-track>.client-logo{border-color:#2a2b3a!important;box-shadow:none!important}
  section.clients .client-track>.client-logo>img{
    display:block;width:100%!important;max-width:100%!important;height:auto!important;max-height:100%!important;
    object-fit:contain;margin:0!important
  }
  /* The Amaira file is a square with the mark in its middle third: let it fill the tile width and
     clip the white padding above and below (the tile is white too). */
  section.clients .client-track>.client-logo.client-logo-amaira>img{max-height:none!important;width:104%!important;max-width:none!important;flex:none}
  section.clients .client-track>.client-logo:nth-child(n+4){display:none!important}
  section.clients .client-track>.client-logo:hover{transform:none!important}
}
@media (min-width:601px) and (max-width:960px){
  section.clients .client-track{max-width:600px;gap:16px!important}
  section.clients .client-track>.client-logo,
  section.clients .client-track>.client-logo.client-logo-amaira,
  section.clients .client-track>.client-logo.client-logo-nascar,
  section.clients .client-track>.client-logo.client-logo-zoo{height:96px!important;min-height:96px!important;max-height:96px!important;padding:12px 16px!important}
  section.clients .client-track>.client-logo.client-logo-amaira>img{width:100%!important}
}
/* Logo hover lift only with a real mouse and without reduced motion (Rex L5: it stuck after a tap). */
@media (hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){
  .client-logo:hover,html.m2 .client-logo:hover{transform:none!important}
}

/* 2. Boxed sections (clients, FAQ) sat flush against both screen edges on phones and tablets,
   with their rounded border cut by the viewport. Inset them like the CTA bubble. */
@media (max-width:1340px){
  main>section.faq.wrap{margin-left:40px!important;margin-right:40px!important;width:auto!important;max-width:none!important}
}
/* v6.4.15 N3: the clients marquee is full-bleed again above 960px, as in v6.4.13. */
@media (max-width:960px){
  main>section.clients.wrap{margin-left:40px!important;margin-right:40px!important;width:auto!important;max-width:none!important}
}
@media (max-width:600px){
  main>section.clients.wrap,main>section.faq.wrap{margin-left:16px!important;margin-right:16px!important}
  main>section.faq.wrap{padding-left:18px!important;padding-right:18px!important}
}

/* 3. "Connects to what you already use": on phones the chips are a static, wrapped list, but the
   marquee's white edge fades still covered Excel and QuickBooks. */
@media (max-width:600px) and (prefers-reduced-motion:reduce){
  section.ticker::before,section.ticker::after{display:none!important;content:none!important}
}

/* 4. Service pages, 641-1180px: the section padding shorthand zeroed the side padding,
   so cards, FAQ rows and headings touched the screen edges on tablets. */
@media (min-width:641px) and (max-width:1180px){
  body.sp main>section.wrap{padding-left:32px!important;padding-right:32px!important}
}

/* 5. Footer links on tablets were 21-22px tall. 48px tap targets, like phones. */
@media (min-width:601px) and (max-width:1024px){
  footer.footer.site-foot .sf-list a:not(.wordmark),footer.footer.site-foot .sf-bar a:not(.wordmark),footer.site-foot .sf-list a:not(.wordmark),footer.site-foot .sf-bar a:not(.wordmark){display:inline-flex!important;align-items:center;min-height:48px!important;min-width:48px!important}
  footer.site-foot .sf-list a:not(.wordmark){padding:4px 0!important;line-height:1.35!important}
  footer.site-foot .sf-list{gap:4px!important}
}

/* 6. iOS Safari before 18 needs the prefixed backdrop-filter. */
.cta-steps>span{-webkit-backdrop-filter:blur(6px)}

/* 7. Mobile menu (home). Below 961px the header hid some or all section links (#cost and #how
   from 960px, all five at 600px) with no way to reach them. v6.4.14-nav.js builds the button and
   panel from the existing header links; with JS off the header is unchanged. */
.mnav-btn,.mnav-panel,.mnav-scrim{display:none}
@media (max-width:960px){
  html:root .header nav{display:none!important}
  html.mnav-ready .mnav-btn{
    display:inline-flex;align-items:center;justify-content:center;flex:none;
    width:44px;height:44px;margin-left:8px;padding:0;border-radius:10px;
    border:1px solid #dfdfe8;background:#fff;color:#3e3e4b;cursor:pointer;
    -webkit-tap-highlight-color:transparent
  }
  html.dark.mnav-ready .mnav-btn{background:#171821;border-color:#2e2f40;color:#f2f1f8}
  .mnav-btn svg{width:20px;height:20px;display:block}
  .mnav-btn .mnav-x{display:none}
  .mnav-btn[aria-expanded="true"] .mnav-bars{display:none}
  .mnav-btn[aria-expanded="true"] .mnav-x{display:block}
  .mnav-btn:focus-visible{outline:2px solid #6558e8;outline-offset:2px}
  html.mnav-ready .mnav-scrim{display:block;position:fixed;inset:0;z-index:998;background:rgba(20,16,40,.38);opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s;touch-action:none}
  html.mnav-ready .mnav-panel{
    display:block;position:fixed;z-index:999;left:12px;right:12px;top:var(--mnav-top,88px);
    max-height:calc(100vh - var(--mnav-top,88px) - 16px);max-height:calc(100dvh - var(--mnav-top,88px) - 16px);overflow-y:auto;overscroll-behavior:contain;
    box-sizing:border-box;padding:6px;border-radius:16px;background:#fff;border:1px solid #e6e1f7;
    box-shadow:0 18px 50px rgba(30,20,70,.22);opacity:0;visibility:hidden;transform:translateY(-6px);
    transition:opacity .2s,transform .2s,visibility 0s .2s
  }
  html.dark.mnav-ready .mnav-panel{background:#15161f;border-color:#2a2b3a;box-shadow:0 18px 50px rgba(0,0,0,.5)}
  html.mnav-open .mnav-scrim{opacity:1;visibility:visible;transition:opacity .2s}
  html.mnav-ready:not(.mnav-open) .mnav-scrim{display:none}
  html.mnav-open .mnav-btn{position:relative;z-index:1001}
  html.mnav-open .mnav-panel{opacity:1;visibility:visible;transform:none;transition:opacity .2s,transform .2s}
  .mnav-panel a{
    display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:10px;
    font-size:16px;font-weight:600;color:#20212a;text-decoration:none
  }
  .mnav-panel a+a{margin-top:2px}
  .mnav-panel a:active,.mnav-panel a:hover{background:#f4f2ff}
  .mnav-panel a:focus-visible{outline:2px solid #6558e8;outline-offset:-2px}
  html.dark .mnav-panel a{color:#f2f1f8}
  html.dark .mnav-panel a:active,html.dark .mnav-panel a:hover{background:#1e1f2b}
  html.mnav-open,html.mnav-open body{overflow:hidden!important}
  @media (prefers-reduced-motion:reduce){.mnav-panel,.mnav-scrim{transition:none!important}}
}
@media print{.mnav-btn,.mnav-panel,.mnav-scrim{display:none!important}}

/* 8. Phone header with the menu button: keep "Book a call" on one line down to 320px.
   At 400px and below the theme toggle moves into the menu panel (v6.4.14-nav.js). */
@media (max-width:600px){
  html:root .header{padding-left:12px!important;padding-right:12px!important;gap:6px}
  html:root .header .header-right{flex:none;gap:6px}
  html:root .header .theme-toggle{margin-right:0!important}
  html:root .header .mnav-btn{margin-left:0;width:48px;height:48px}
  html:root .header .button.small{flex:none;white-space:nowrap!important;padding:0 12px!important;font-size:13px!important;min-height:44px}
  html:root .header .wordmark{min-width:0;flex:0 1 auto}
}
@media (max-width:400px){
  html:root .header .button.small{padding:0 12px!important;font-size:13px!important;min-height:48px!important}
  html:root .header .wordmark{flex:0 0 auto}
}
@media (max-width:340px){
  html:root .header{padding-left:10px!important;padding-right:10px!important}
  html:root .header .button.small{padding:0 10px!important;font-size:12.5px!important}
}
.mnav-tools{display:flex;justify-content:flex-end;padding:4px 4px 6px;margin-bottom:2px;border-bottom:1px solid #eeebf7}
html.dark .mnav-tools{border-bottom-color:#2a2b3a}
.mnav-tools .theme-toggle{margin:0!important;width:48px!important;height:48px!important}

/* 9. Door cards ("Which one sounds like your company?"): the one-line clamp cut every subtitle at
   320px and 2-3 of them at 360-375px. Let them wrap (QA #5). */
@media (max-width:600px){
  #problems article.door{height:auto!important;max-height:none!important;min-height:96px!important;padding-top:14px!important;padding-bottom:14px!important}
  #problems article.door>h3{flex:none!important;display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important}
  article.door>p.copy-m{flex:none!important;display:block!important;-webkit-line-clamp:unset!important;line-clamp:none;overflow:visible!important;text-overflow:clip!important;white-space:normal!important}
}

/* 10. 14-day pilot steps: the one-line nowrap/ellipsis cut two lines at 320px. Let them wrap (QA #6). */
@media (max-width:600px){
  ol.pilot-steps li>span.copy-m{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
}

/* 11. Hub "See all" / "See all 8 modules": once opened, the button sat in the middle of the list
   it had just expanded (Rex S1). Move it to the end of its list while open. */
.hubviz .hub.is-hub-open>.hub-more-btn{order:99!important;margin-top:10px}
.hubviz.is-mods-open>.mods-more-btn{order:99!important}

/* 12. Dark mode intro: the load-in overlay painted a light lavender screen for about 1.5s (Rex I1). */
html.dark .m3-ov{background:radial-gradient(120% 90% at 50% 45%,#1b1c28 0%,#13141c 55%,#0f1016 100%)}
html.dark .m3-ov::before{background:radial-gradient(circle,rgba(143,133,255,.16),transparent 62%)}
html.dark .m3-word{color:#f2f1f8;background:linear-gradient(100deg,#f2f1f8 0 40%,#a79dff 48%,#8f85ff 52%,#f2f1f8 60% 100%);background-size:300% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
html.dark .m3-word b{color:#8f85ff;-webkit-text-fill-color:#8f85ff}
html.dark .m3-logo rect{fill:#2e2f40}
html.dark .m3-logo rect.on{fill:#8f85ff}

/* 13. Service-page cards (problem and step cards): on touch screens :hover/:focus-within stick
   after a tap and left a violet border and lift (Rex G1). Same gating as the home door cards:
   the hover look is for a real mouse only. */
@media (hover:none),(pointer:coarse),(pointer:none){
  body.sp article.door:hover,body.sp article.door:focus-within{border-color:#ebe6f2!important;box-shadow:0 10px 30px #3e278d0a!important;transform:none!important}
  body.sp .how-steps article:hover,body.sp .how-steps article:focus-within{border-color:#e8e6ef!important;box-shadow:none!important;transform:none!important}
  html.dark body.sp article.door:hover,html.dark body.sp article.door:focus-within,
  html.dark body.sp .how-steps article:hover,html.dark body.sp .how-steps article:focus-within{border-color:#2a2a3a!important}
}

/* 14. Small type: eyebrow labels were 11px on phones and 8-11px on tablets (QA #9). 12px minimum,
   and the tablet sub-headings that were 10px get 14px. Desktop (over 1024px) is unchanged. */
@media (max-width:1024px){
  p.eyebrow,.mp-eyebrow,.hub-k,.step-pill,section.clients>p:first-child,section.ticker>p,section.clients>p.clients-sec{font-size:12px!important}
  :root:root body .eyebrow,:root:root body .mp-eyebrow{font-size:12px!important}
  .header .button.small .lbl-long{font-size:13px!important}
}
@media (min-width:601px) and (max-width:1024px){
  .section-top>p{font-size:14px!important;line-height:1.55!important}
}

/* 15. Inline email links on /privacy and /terms were 21px tall tap targets (QA #10): 44px tap area
   without moving the text. */
html.mp-legal main p a{display:inline-block;padding:12px 0;margin:-12px 0;line-height:20px}

/* 16. "OUR CLIENTS" label was display:none on phones (Ivy #1). Show it, 12px. */
@media (max-width:600px){
  section.clients>p:first-child{display:block!important;margin:0 0 6px!important;text-align:center;letter-spacing:.16em}
}

/* 17. /thanks "Back to site" link: 48px tap target (Ivy #8). */
a.sec[href="/"]{display:flex;align-items:center;justify-content:center;min-height:48px;min-width:48px;width:max-content;margin-left:auto;margin-right:auto;padding:0 12px}

/* 18. Under 375px three tiles in a row make the logos too small to read: stack them,
   centred, one per row, same tile size and logo height. */
@media (max-width:374px){
  section.clients .client-track{grid-template-columns:min(220px,100%)!important;justify-content:center!important;justify-items:stretch!important;gap:8px!important}
  section.clients .client-track>.client-logo,
  section.clients .client-track>.client-logo.client-logo-amaira,
  section.clients .client-track>.client-logo.client-logo-nascar,
  section.clients .client-track>.client-logo.client-logo-zoo{height:60px!important;min-height:60px!important;max-height:60px!important;padding:8px 16px!important;width:100%!important}
  section.clients .client-track>.client-logo>img{width:auto!important;height:40px!important;max-height:40px!important;max-width:100%!important}
  section.clients .client-track>.client-logo.client-logo-amaira>img{height:112px!important;max-height:none!important;width:auto!important}
}

/* 19. Belt and braces for Ivy #4: once "See all 8 modules" is open, its items are always visible,
   even if the reveal observer never saw them while the list was collapsed. */
.hubviz.is-mods-open .mods-b>li{opacity:1!important;transform:none!important;visibility:visible!important}

/* 20. r-next polish (Rex): the menu is never slowed by the intro, stays above it, and fits short landscape screens. */
@media (max-width:960px){
  html.mnav-ready .mnav-scrim{z-index:2147483000}
  html.mnav-ready .mnav-panel{z-index:2147483001}
  html.mnav-open .mnav-btn{z-index:2147483002}
  html.m3-intro .mnav-panel,html.m3-land .mnav-panel,html.m3-intro .mnav-scrim,html.m3-land .mnav-scrim{transition:none!important;animation:none!important}
  html.mnav-open .mnav-panel{opacity:1!important;visibility:visible!important;transform:none!important}
}
@media (max-width:960px) and (orientation:landscape) and (max-height:500px){
  html.mnav-ready .mnav-panel{padding:4px}
  .mnav-panel a{min-height:44px;padding-block:8px}
  .mnav-panel a+a{margin-top:0}
}

/* =====================================================================================
   v6.4.15: Andres, 4:05 PM ("mobile still feels dead next to desktop").
   Layout and motion only. No copy, price or content changes. Everything that moves is
   limited to prefers-reduced-motion:no-preference; with reduced motion the v6.4.14 static
   layouts above still apply.
   ===================================================================================== */

@keyframes v15marquee3{from{translate:0 0}to{translate:-33.3333% 0}}
@keyframes v15marquee2{from{translate:0 0}to{translate:-50% 0}}
@keyframes v15glow{0%,100%{box-shadow:0 0 0 1px #8f85ff40,0 10px 28px #6558e81f}50%{box-shadow:0 0 0 1px #8f85ff80,0 14px 40px #6558e847}}

/* 21. Client logos (item 1): the scrolling marquee from desktop, on phones and tablets.
   White tiles in light and dark, natural aspect ratio, duplicates stay aria-hidden.
   `translate` is animated (not `transform`) because v6.2 pins transform:none!important. */
@media (max-width:960px) and (prefers-reduced-motion:no-preference){
  section.clients .client-marquee{
    overflow:hidden!important;margin:0 -14px!important;width:auto!important;padding:4px 0 8px!important;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent);
            mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent)
  }
  section.clients .client-track{
    display:flex!important;flex-wrap:nowrap!important;width:max-content!important;max-width:none!important;
    gap:0!important;margin:0!important;grid-template-columns:none!important;
    animation:v15marquee3 18s linear infinite!important
  }
  section.clients .client-track>.client-logo,
  section.clients .client-track>.client-logo.client-logo-amaira,
  section.clients .client-track>.client-logo.client-logo-nascar,
  section.clients .client-track>.client-logo.client-logo-zoo,
  section.clients .client-track>.client-logo:nth-child(n+4){
    display:flex!important;flex:none!important;box-sizing:border-box!important;
    width:150px!important;height:72px!important;min-height:72px!important;max-height:72px!important;
    margin:0 12px 0 0!important;padding:10px 14px!important
  }
  section.clients .client-track>.client-logo>img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important}
  /* Amaira's file is a square with the mark in its middle third: full tile width, white padding clipped by the tile. */
  section.clients .client-track>.client-logo.client-logo-amaira>img{width:100%!important;max-height:none!important}
}
@media (min-width:601px) and (max-width:960px) and (prefers-reduced-motion:no-preference){
  section.clients .client-track{animation-duration:22s!important}
  section.clients .client-track>.client-logo,
  section.clients .client-track>.client-logo.client-logo-amaira,
  section.clients .client-track>.client-logo.client-logo-nascar,
  section.clients .client-track>.client-logo.client-logo-zoo,
  section.clients .client-track>.client-logo:nth-child(n+4){width:200px!important;height:96px!important;min-height:96px!important;max-height:96px!important;margin-right:16px!important;padding:12px 18px!important}
}

/* 22. "Connects to what you already use" (item 2): the looping ticker from desktop on phones,
   all 13 tools instead of 4 wrapped chips. The section clips it; a mask fades the edges. */
@media (max-width:600px) and (prefers-reduced-motion:no-preference){
  section.ticker{overflow:hidden!important;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 22px,#000 calc(100% - 22px),transparent);
            mask-image:linear-gradient(90deg,transparent,#000 22px,#000 calc(100% - 22px),transparent)}
  section.ticker::before,section.ticker::after{display:none!important;content:none!important}
  section.ticker .ticker-track{
    display:flex!important;flex-wrap:nowrap!important;width:max-content!important;gap:0!important;
    justify-content:flex-start!important;animation:v15marquee3 45s linear infinite!important
  }
  section.ticker .ticker-track>span,
  section.ticker .ticker-track>span:nth-child(n+5){display:flex!important;flex:none;margin:0 8px 0 0!important;padding:9px 12px!important;min-height:36px;box-sizing:border-box}
}

/* 23. Touch feedback on cards (item 3). v6.4.15-motion.js adds .is-pressed for about 180ms on a
   touch/pen press (never on mouse), so nothing sticks. Hover styles stay mouse-only. */
.v15-tap{-webkit-tap-highlight-color:transparent}
@media (hover:none),(pointer:coarse){
  .v15-tap{transition:transform .18s cubic-bezier(.2,.7,.2,1),box-shadow .18s ease,border-color .18s ease!important}
  :root:root:root body .v15-tap.is-pressed{
    transform:translateY(-3px)!important;border-color:#8f85ff!important;
    box-shadow:0 0 0 1px #8f85ff59,0 16px 36px #6558e833!important
  }
  :root:root:root.dark body .v15-tap.is-pressed{box-shadow:0 0 0 1px #8f85ff80,0 16px 40px #6558e859!important}
}
@media (prefers-reduced-motion:reduce){
  :root:root:root body .v15-tap.is-pressed{transform:none!important;transition:none!important}
}

/* 24. 14-day pilot (item 4). Phones: a swipeable row of step cards with scroll snap, the next
   card peeking in, and step dots underneath. Tablets: the boxed section is inset so its
   border is not cut by the screen edge. */
@media (max-width:600px){
  /* v6.2 zeroed the pilot gutter, so the heading touched the screen edge (part of "doesn't fit"). */
  section.pilot#pilot .wrap{padding-left:var(--v62-gutter,20px)!important;padding-right:var(--v62-gutter,20px)!important}
  #pilot ol.pilot-steps{
    display:flex!important;flex-direction:row!important;gap:10px!important;counter-reset:v15s;
    overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-padding-inline:var(--v62-gutter,20px);
    border-left:0!important;margin:0 calc(-1 * var(--v62-gutter,20px))!important;padding:4px var(--v62-gutter,20px) 8px!important
  }
  #pilot ol.pilot-steps::-webkit-scrollbar{display:none}
  #pilot ol.pilot-steps:focus-visible{outline:2px solid #6558e8;outline-offset:2px;border-radius:14px}
  #pilot ol.pilot-steps li{
    counter-increment:v15s;flex:0 0 min(72%,250px)!important;scroll-snap-align:start;box-sizing:border-box;
    padding:14px 14px 16px!important;border:1px solid #e6e1f7!important;border-radius:14px!important;
    background:#fff!important;box-shadow:0 6px 18px #3e278d0d!important;min-height:118px
  }
  html.dark #pilot ol.pilot-steps li{background:#15161f!important;border-color:#2a2b3a!important;box-shadow:none!important}
  #pilot ol.pilot-steps li::before{
    content:counter(v15s,decimal-leading-zero)!important;position:static!important;display:block;
    width:auto!important;height:auto!important;background:none!important;box-shadow:none!important;border-radius:0!important;
    font-size:13px;font-weight:600;color:#8f85ff;margin:0 0 6px;letter-spacing:.02em
  }
  #pilot ol.pilot-steps li>b.copy-m{font-size:15px!important}
  #pilot ol.pilot-steps li>span.copy-m{font-size:14px!important;line-height:1.45!important;margin-top:4px}
  #pilot .v15-dots{display:flex;justify-content:center;gap:8px;margin:10px 0 0}
  #pilot .v15-dots i{width:6px;height:6px;border-radius:3px;background:#d9d3ff;transition:width .2s,background .2s}
  #pilot .v15-dots i.on{width:18px;background:#6558e8}
  html.dark #pilot .v15-dots i{background:#3a3560}
  html.dark #pilot .v15-dots i.on{background:#8f85ff}
}
@media (min-width:601px){#pilot .v15-dots{display:none}}
@media (min-width:601px) and (max-width:960px){
  section.pilot#pilot{margin-left:24px!important;margin-right:24px!important}
}

/* 25. Footer on phones (item 5): two columns (Product, Company) under the brand, 48px rows,
   with the copyright and Back to top on one line. FAQ stays in Company. */
@media (max-width:600px){
  footer.site-foot .sf-grid{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;gap:8px 16px!important}
  footer.site-foot .sf-brand{grid-column:1/-1}
  footer.site-foot .sf-col{min-width:0}
  footer.footer.site-foot .sf-list a:not(.wordmark){display:flex!important;align-items:center;min-height:48px!important;padding:4px 0!important;font-size:14px!important;line-height:1.3!important}
  footer.site-foot .sf-list{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;gap:0!important;height:auto!important}
  footer.site-foot .sf-col{align-self:start}
  footer.site-foot .sf-brand{margin-bottom:8px}
  footer.footer.site-foot .sf-company .sf-list a[href^="mailto:"]{overflow-wrap:normal;word-break:normal;font-size:13px!important}
  footer.site-foot .sf-bar{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 12px}
  footer.footer.site-foot .sf-bar a{display:inline-flex!important;align-items:center;min-height:48px!important}
}

/* 26. More motion on phones (item 6): reveals closer to desktop (longer travel, slight scale,
   staggered), and a slow glow on the "Most popular" plan and the main CTA. Reveals run once,
   so scrolling back up never re-animates anything. Off with reduced motion. */
@media (max-width:600px) and (prefers-reduced-motion:no-preference){
  html.m2 .rv1,html.m2 .m2-rv{
    transform:translate3d(0,18px,0);
    transition:opacity .55s cubic-bezier(.16,.84,.3,1),transform .65s cubic-bezier(.16,.84,.3,1)!important;
    transition-delay:calc(min(var(--i,var(--m2i,0)),3)*70ms)!important
  }
  html.m2 .rv1.in,html.m2 .m2-rv.m2-in{transform:none}
  #plans .mp-plan.mp-plan-popular{animation:v15glow 4.5s ease-in-out infinite}
  .fork-cta .button.cta-main{animation:v15glow 4.5s ease-in-out infinite}
}

/* 27. Header controls 601-960px are 48px (item 8). */
@media (min-width:601px) and (max-width:960px){
  html.mnav-ready .mnav-btn{width:48px!important;height:48px!important}
  .header .theme-toggle{width:48px!important;height:48px!important;min-width:48px!important}
  .header .header-right .button{min-height:48px!important;display:inline-flex!important;align-items:center}
}
main section[tabindex="-1"]:focus,main [id][tabindex="-1"]:focus{outline:none}
@media (hover:none),(pointer:coarse){#pilot ol.pilot-steps li.is-pressed{border-color:#8f85ff!important}}

/* r2 L-3: the header lays out the same before and after v6.4.15-nav.js runs (CLS 0). The menu
   button's slot is reserved until the script adds it, and at 400px and below the theme toggle
   (which the script moves into the menu) is not shown in the header in the meantime. */
@media (max-width:960px){
  html:not(.mnav-ready) .header .header-right::after{content:"";display:block;flex:none;width:48px;height:48px;margin-left:8px}
}
@media (max-width:600px){
  html:not(.mnav-ready) .header .header-right::after{margin-left:0}
}
@media (max-width:400px){
  html:not(.mnav-ready) .header .header-right .theme-toggle{display:none!important}
}

/* r2 L-2: the tool ticker now has three copies of the 13 tools (copies 2 and 3 aria-hidden), so
   at 1440px and wider there is no gap at the right edge. Same speed as before (32s per 2 copies on desktop). */
@media (prefers-reduced-motion:no-preference){
  section.ticker .ticker-track{animation:v15marquee3 48s linear infinite!important}
}
@media (max-width:600px) and (prefers-reduced-motion:no-preference){
  section.ticker .ticker-track{animation-duration:45s!important}
}
/* r2 L-1: with reduced motion the ticker is static and shows the 13 tools once (r3: all widths, not only phones;
   the third copy added for L-2 was otherwise visible from 601px up). */
@media (prefers-reduced-motion:reduce){
  section.ticker .ticker-track>span:nth-child(-n+13){display:flex!important}
  section.ticker .ticker-track>span:nth-child(n+14){display:none!important}
}

/* r3: pause without a visible control: mouse hover, keyboard focus inside the section, and touch-hold. */
section.clients.v15-hold .client-track,section.ticker.v15-hold .ticker-track,
section.clients:focus-within .client-track,section.ticker:focus-within .ticker-track{animation-play-state:paused!important}
@media (hover:hover){
  section.clients .client-marquee:hover .client-track,section.ticker:hover .ticker-track{animation-play-state:paused!important}
}
/* r2: footer email wraps only at "@" and "." (via <wbr>); on the narrowest phones both columns are equal. */
@media (max-width:360px){
  footer.site-foot .sf-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  footer.footer.site-foot .sf-company .sf-list a[href^="mailto:"]{font-size:12.5px!important;letter-spacing:0!important;overflow-wrap:anywhere}
}

/* r3 (Andres): scroll highlight on phones and tablets (v6.4.15-motion.js puts .in-view on one card per
   group as it passes the middle of the screen). Same look as the desktop hover and the touch press.
   Colours and transforms only, so no layout shift. Reduced motion: border and glow only, no lift or transition.
   Cards still hidden by a one-shot reveal are skipped, so reveals are never disturbed. */
@media (max-width:960px),(pointer:coarse){
  .v15-sv{transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,border-color .35s ease,opacity .55s cubic-bezier(.16,.84,.3,1)!important}
  :root:root:root body .v15-sv.in-view:not(.rv1:not(.in)):not(.m2-rv:not(.m2-in)):not(.reveal:not(.in):not(.is-in)):not(.mp-rv:not(.mp-in)){
    border-color:#8f85ff!important;transform:translateY(-3px)!important;
    box-shadow:0 0 0 1px #8f85ff66,0 16px 36px #6558e838!important
  }
  :root:root:root.dark body .v15-sv.in-view:not(.rv1:not(.in)):not(.m2-rv:not(.m2-in)):not(.reveal:not(.in):not(.is-in)):not(.mp-rv:not(.mp-in)){box-shadow:0 0 0 1px #8f85ff8c,0 16px 40px #6558e866!important}
  #pilot ol.pilot-steps li.in-view{border-color:#8f85ff!important}
}
@media (max-width:960px) and (prefers-reduced-motion:reduce),(pointer:coarse) and (prefers-reduced-motion:reduce){
  .v15-sv{transition:none!important}
  :root:root:root body .v15-sv.in-view.in-view.in-view:not(.rv1:not(.in)):not(.m2-rv:not(.m2-in)):not(.reveal:not(.in):not(.is-in)):not(.mp-rv:not(.mp-in)){transform:none!important}
}

/* r3 Rex (a): pause both marquees while their section is off screen (the !important animation
   shorthand above beat the generic .m-off rule). */
section.m-off .client-track,section.m-off .ticker-track,
section.clients.m-off .client-track,section.ticker.m-off .ticker-track{animation-play-state:paused!important}

/* r3 Rex (d): the main fork CTA glow was cancelled by .m2-static (animation:none!important on /book links). */
@media (max-width:600px) and (prefers-reduced-motion:no-preference){
  .fork-cta a.button.cta-main.m2-static{animation:v15glow 4.5s ease-in-out infinite!important}
}

/* r3 Rex (e): copyright and Back to top on one row at 600px and below. */
@media (max-width:600px){
  footer.footer.site-foot .sf-bar{flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;justify-content:space-between!important;gap:12px!important}
  footer.footer.site-foot .sf-bar>span{font-size:13px!important;min-width:0;white-space:nowrap}
  footer.footer.site-foot .sf-bar a{flex:none;white-space:nowrap}
}
@media (max-width:360px){
  footer.footer.site-foot .sf-bar>span,footer.footer.site-foot .sf-bar a{font-size:12px!important;letter-spacing:0!important}
}

/* r3 Ivy S1: secondary-page header controls (wordmark, Back to site, Book a 30-minute call, theme toggle)
   at least 48x48 at 960px and below. The header keeps its 88px height: its vertical padding drops 22px->20px
   where the controls grow 44px->48px. Home (.header) is untouched. */
@media (max-width:960px){
  html body header:not(.header){padding-top:20px!important;padding-bottom:20px!important}
  html body header:not(.header) a.word,html body header:not(.header) a.back,
  html body header:not(.header) a[href^="/book"],html body header:not(.header) .tt{min-height:48px!important;min-width:48px!important;box-sizing:border-box}
  html body header:not(.header) .tt{width:48px!important;height:48px!important;justify-content:center;align-items:center}
}
/* r3 Ivy S2: 404 "home page" inline link: 48px+ tall hit area via inline padding (no line-height change, no shift). */
@media (max-width:960px){
  html body main>p>a[href="/"]{padding:14px 2px;margin:0 -2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
}

/* r3: with reduced motion, from 601px up the static ticker also wraps so all 13 tools are visible
   (at 768px and 1280px the single static row clipped 7 and 2 of them). Phones already wrap. */
@media (min-width:601px) and (prefers-reduced-motion:reduce){
  section.ticker .ticker-track{flex-wrap:wrap!important;justify-content:center!important;width:auto!important;max-width:100%!important;row-gap:10px!important;transform:none!important;translate:none!important;padding-left:24px!important;padding-right:24px!important;box-sizing:border-box!important}
  section.ticker::before,section.ticker::after{display:none!important;content:none!important}
}

/* v6.4.16 (Andres): the "What owners say" carousel (600px and below) clipped the card's border ring,
   lift and glow on all four sides, because the scroll container is overflow:auto with no padding.
   Inset the track: 12px on the sides, 10px above, 22px below. The gap equals twice the side inset, so
   each swipe step still equals the track width (the dots/arrows script computes index = scrollLeft/width). */
@media (max-width:600px){
  section.reviews .review-grid{padding:10px 12px 22px!important;margin-top:-10px!important;gap:24px!important;scroll-padding-inline:12px}
  section.reviews .review-grid .review{flex:0 0 100%!important;min-width:100%!important;scroll-snap-align:center!important}
}
/* Same carousel: a tighter glow for its lit card, so the glow ends inside the inset instead of as a hard edge. */
@media (max-width:600px){
  :root:root:root body section.reviews .review-grid .review.v15-sv.in-view.in-view:not(.rv1:not(.in)):not(.m2-rv:not(.m2-in)):not(.reveal:not(.in):not(.is-in)):not(.mp-rv:not(.mp-in)){box-shadow:0 0 0 1px #8f85ff66,0 6px 12px #6558e82e!important}
  :root:root:root.dark body section.reviews .review-grid .review.v15-sv.in-view.in-view:not(.rv1:not(.in)):not(.m2-rv:not(.m2-in)):not(.reveal:not(.in):not(.is-in)):not(.mp-rv:not(.mp-in)){box-shadow:0 0 0 1px #8f85ff8c,0 6px 12px #6558e855!important}
}

/* v6.4.16 Ivy S3: hero "Book a 30-minute call" link on the dashboard-style service pages is 48px tall. */
@media (max-width:960px){
  html body a.demo-link{min-height:48px!important;display:inline-flex!important;align-items:center}
}
/* v6.4.16 Ivy S4: every inline link in the 404 text gets a 48px+ hit area (inline padding, no line-height change). */
@media (max-width:960px){
  html body main>p>a[href]{padding-top:15px;padding-bottom:15px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
}

/* v6.4.16 r2 — mobile/tablet section surfaces: a single quiet tint which fades into the page at
   both ends, instead of alternating hard slabs. Scoped to <=960px; desktop is untouched.
   Borders stay in the box model (made transparent) so nothing reflows. Cards keep a fine edge and
   their sticky-highlight / press feedback (card rules exclude .in-view and .is-pressed). */
@media (max-width:960px){
  :root{--r2-page:#fff;--r2-tint:#f9f8fe;--r2-ink:#20212a;--r2-muted:#595466;--r2-accent:#5b49c7;--r2-line:#ebe8f4}
  :root.dark{--r2-page:#0f1016;--r2-tint:#14151e;--r2-ink:#f2f1f8;--r2-muted:#c9c6d6;--r2-accent:#b3aaff;--r2-line:#242532}
  :root:root:root:root body main>section.clients,:root:root:root:root body main>#problems,:root:root:root:root body main>#cost,
  :root:root:root:root body main>section.ticker,:root:root:root:root body main>#how,:root:root:root:root body main>#pilot,:root:root:root:root body #pilot>.wrap,
  :root:root:root:root body main>#pricing,:root:root:root:root body main>#questions,
  :root:root:root:root body.sp main>.mid-cta,:root:root:root:root.dark body.sp main>section.cta-band,
  :root:root:root:root.dark body main>div.cta,:root:root:root:root body main>aside.next-panel,:root:root:root:root body main div.summary{
    background-color:transparent!important;
    background-image:linear-gradient(180deg,var(--r2-page) 0%,var(--r2-tint) 22%,var(--r2-tint) 78%,var(--r2-page) 100%)!important;
    border-color:transparent!important;box-shadow:none!important
  }
  :root:root:root:root body #pilot>.wrap{background-image:none!important}
  /* The booking form is a working control surface: keep a fine outline, drop the heavy shadow. */
  :root:root:root:root body #intake-form{background:var(--r2-page)!important;box-shadow:none!important;border-color:var(--r2-line)!important}
  :root:root:root:root.dark body #intake-form{background:var(--r2-tint)!important}
  /* Service-page section dividers (dashboard-style pages): quieter hairlines. */
  :root:root:root:root body:not(.sp) main>section:not([class]):not([id]){border-color:var(--r2-line)!important}
  /* One dark surface tone for cards on phones/tablets, with quieter outlines. */
  :root:root:root:root.dark body :is(.review,.door,.steps article,.how-steps article,.hub,.fork-a,.mp-plan,.fact,.built>div,.quote,.ba>div,details):not(.in-view):not(.is-pressed){background-color:var(--r2-tint)!important;border-color:var(--r2-line)!important}
  /* Pilot and connects: lighten the inner boxes too. */
  :root:root:root:root body #pilot ol.pilot-steps li:not(.in-view):not(.is-pressed){background:transparent!important;border-color:var(--r2-line)!important;box-shadow:none!important}
  :root:root:root:root body section.ticker .ticker-track>span{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--r2-muted)!important}
  :root:root:root:root body section.ticker::before,:root:root:root:root body section.ticker::after{display:none!important;content:none!important}
  :root:root:root:root body section.ticker{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%)}
  :root:root:root:root body #pilot .section-top>p,:root:root:root:root body section.ticker>p{color:var(--r2-accent)!important}
  :root:root:root:root body #pilot h2{color:var(--r2-ink)!important}
  :root:root:root:root body #pilot ol.pilot-steps li>strong,:root:root:root:root body #pilot ol.pilot-steps li>b{color:var(--r2-ink)!important}
  :root:root:root:root body #pilot ol.pilot-steps li>span{color:var(--r2-muted)!important}
  /* Quinn L-1: the door-card links ("How it works ->" and the one "Book a 30-minute call") are 48px tall,
     including at 932px landscape. They are already flex, so this only adds height. */
  html body a.door-link{min-height:48px!important}
}

/* Ivy S5: touch tablets in landscape too. No background/layout rules extend to desktop here. */
@media (max-width:960px),(pointer:coarse){
  html body header:not(.header){padding-top:20px!important;padding-bottom:20px!important}
  html body header:not(.header) a.word,html body header:not(.header) a.back,
  html body header:not(.header) a[href^="/book"],html body header:not(.header) .tt{min-height:48px!important;min-width:48px!important;box-sizing:border-box}
  html body header:not(.header) .tt{width:48px!important;height:48px!important}
  html body a.demo-link{min-height:48px!important;display:inline-flex!important;align-items:center}
  html body main>p>a[href]{padding-top:15px;padding-bottom:15px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
  /* Ivy S6 / Quinn L-2: inline padding expands the consent-link hit area without changing line-height. */
  html body #intake-form a[href="/privacy"],html body #intake-form a[href="/terms"]{padding-block:16px!important;-webkit-box-decoration-break:clone;box-decoration-break:clone}
}

/* v6.4.16 r3 (Quinn H-1): the home pricing band's copy is white at 601-960px (it was built for the
   old dark band). On the light fade, use the same dark text tokens the phone layout uses. */
@media (min-width:601px) and (max-width:960px){
  :root:not(.dark) body main>#pricing{color:#20212a!important}
  :root:not(.dark) body main>#pricing .eyebrow{color:#5b4a86!important}
  :root:not(.dark) body main>#pricing h2{color:#20212a!important}
  :root:not(.dark) body main>#pricing h2 span{color:#5646d4!important}
  :root:not(.dark) body main>#pricing .cta-copy{color:#3a3a47!important}
  :root:not(.dark) body main>#pricing .talk-note,:root:not(.dark) body main>#pricing .talk-note-m{color:#55526a!important}
}
/* r3 (Quinn M-1, Low): stronger light-mode secondary text over the faded tint, phones and tablets. */
@media (max-width:960px){
  :root:not(.dark) body #pilot h2 span{color:#6f6889!important}
  :root:not(.dark) body #plans .mp-intro,:root:not(.dark) body #plans .mp-terms{color:#55566a!important}
  :root:not(.dark) body #plans .mp-eyebrow{color:#5646d4!important}
}
/* r3 (Rex LOW / Quinn I-2): keep the consent links' padded tap boxes at least 8px below the submit
   button. The links have 16px vertical padding, so the note needs about 16 + 8 px of clearance. */
@media (max-width:960px),(pointer:coarse){
  html body #intake-form p.note{margin-top:26px!important}
}
/* r3 (Ivy S5, home): on touch tablets/desktops the home header's nav links, theme toggle and Book CTA
   are 48px tall too (heights only; widths/one-row layout unchanged). Mouse desktops are not affected. */
@media (pointer:coarse){
  html body header.header nav a,html body header.header .theme-toggle,html body header.header .header-right a.button{min-height:48px!important}
  html body header.header .theme-toggle{min-width:48px!important}
  html body header.header nav a{min-width:48px!important;justify-content:center}
}
/* r3 pixel-background audit: the light clients caption/eyebrow and FAQ eyebrow also sit over the
   lavender glow. Darken them a little so even the darkest sampled background pixel stays AA. */
@media (max-width:960px){
  :root:not(.dark) body main>section.clients>p,
  :root:not(.dark) body main>#questions .eyebrow{color:#5646c4!important}
}

/* v6.4.16 r4 (Ivy MF-1): the r3 light-mode tokens now apply at every width (the enterprise card is dark, so its
   light liner is left alone). Above 960px these lines also
   sit on the lavender/dotted plans and FAQ surfaces, so they use the same darker ink. Light mode only. */
:root:not(.dark) body #plans .mp-eyebrow,
:root:not(.dark) body main>#questions .eyebrow{color:#5646c4!important}
:root:not(.dark) body #plans .mp-intro,
:root:not(.dark) body #plans .mp-terms,
:root:not(.dark) body #plans .mp-plan:not(.mp-plan-enterprise) .mp-liner{color:#55566a!important}
/* r4 (Ivy MF-2): above 960px the home pricing band stays dark on the light page. Lighten its footnote so it
   clears AA on the band's lightest glow (601-960 uses the dark-ink rule above; dark mode is unchanged). */
@media (min-width:961px){
  :root:not(.dark) body main>#pricing .talk-note,:root:not(.dark) body main>#pricing .talk-note-m{color:#b8b6c8!important}
}
/* r4 (Quinn low): the /book page eyebrow "Book a 30-minute call" (a plain label, not a control) uses the darker
   eyebrow ink in light mode. */
:root:not(.dark) body main#main.grid>div>p.eyebrow{color:#5646c4!important}


/* v6.4.17: at 1280/1440 the Amaira logo img's layout box overlapped p.clients-sec
   ("Private hosting, enterprise accounts..."). The file is a square with the mark in
   its middle third, sized 230×230 inside a 130px-tall tile. overflow:hidden already
   clips it visually; the unclipped img box still intersects the caption. Size the
   img to the tile and keep the same centre crop. Desktop only (961px+). Mobile and
   tablet logo rules, the no-pause marquees, and the sticky one-way scroll highlight
   are unchanged. */
@media (min-width:961px){
  section.clients .client-track>.client-logo.client-logo-amaira>img{
    width:230px!important;
    height:100%!important;
    max-height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center center!important
  }
}
