/* NextRaise site styles.
   Layout and component styling sit inline on the elements, as the design
   exports them. This file holds what inline styles cannot express: states,
   media queries, scrollbars, and the long-form pages. */

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:#FFFFFF;color:#0D1330;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{color:#2A47F5;transition:color .15s ease}a:hover{color:#1B33C9}
img{max-width:100%}
[hidden]{display:none!important}
button,input,select,textarea{font-family:inherit}

/* The page is one screen tall on desktop: the header and footer stay put and
   the right-hand column scrolls. dvh keeps the footer above mobile toolbars
   where it is supported; vh is the fallback. */
.nr-root{height:100vh;height:100dvh;min-height:600px;display:flex;flex-direction:column;overflow:hidden}
.nr-scroll{position:relative;scrollbar-width:thin;scrollbar-color:#C9D0E6 transparent;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.nr-scroll::-webkit-scrollbar{width:8px}
.nr-scroll::-webkit-scrollbar-thumb{background:#C9D0E6;border-radius:8px}
.nr-scroll::-webkit-scrollbar-track{background:transparent}
.nr-scroll:focus{outline:none}
.nr-left{scrollbar-width:none;-ms-overflow-style:none}
.nr-left::-webkit-scrollbar{display:none}
.nr-scroll section[id],.nr-scroll article[id]{scroll-margin-top:4px}

/* Keyboard focus */
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #2A47F5;outline-offset:2px}
input,select,textarea{transition:border-color .15s ease,box-shadow .15s ease}
input:focus,select:focus,textarea:focus{border-color:#2A47F5!important;box-shadow:0 0 0 3px rgba(42,71,245,.12);outline:none}
[tabindex="-1"]:focus{outline:none}
[aria-invalid="true"]{border-color:#C2261C!important}

/* Buttons and links */
.nr-pill{transition:background .2s ease}
a.nr-pill:hover,button.nr-pill:hover{background:#1B33C9!important;color:#FFFFFF!important}
button.nr-pill[disabled]{opacity:.6;cursor:default}
a.nr-ghost{transition:border-color .2s ease,color .2s ease}
a.nr-ghost:hover{border-color:#2A47F5!important;color:#2A47F5!important}
.nr-foot a:hover,.nr-sub a:hover,.nr-mobile a:hover{color:#2A47F5!important}
a.nr-link{display:inline-block;padding:6px 0;font-size:14.5px;font-weight:600;text-decoration:none}
a.nr-title{color:inherit;text-decoration:none}
a.nr-title:hover{color:#2A47F5}
h2 a.nr-title{display:inline-block;padding:3px 0;margin:-3px 0}

/* Header menus. Hover opens them without JavaScript; nav.js adds click,
   keyboard and touch. */
.nr-toggle{display:none}
.nr-dd a:hover,.nr-dd a:focus-visible{background:#F3F5FC}
.nr-menu{display:none}
.nr-item.is-open>.nr-menu{display:block;animation:nr-menu .16s cubic-bezier(.2,.7,.2,1)}
.nr-item>button svg{transition:transform .2s cubic-bezier(.2,.7,.2,1)}
.nr-item.is-open>button svg{transform:rotate(180deg)}
.nr-dd a{transition:background .15s ease}
@keyframes nr-menu{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
html:not(.js) .nr-item:hover>.nr-menu,html:not(.js) .nr-item:focus-within>.nr-menu{display:block}
.nr-mobile{display:none}

/* The landing page glow, carried over from the previous hero. */
.nr-glow{background:radial-gradient(55% 75% at 96% 0%,rgba(42,71,245,.2),transparent 70%),radial-gradient(40% 55% at 70% 10%,rgba(120,140,255,.16),transparent 70%),linear-gradient(#F4F6FF 0%,#FFFFFF 100%)}

/* Logo marquee */
@keyframes nr-mq{to{transform:translateX(-50%)}}
.nr-marquee{animation:nr-mq 52s linear infinite}
.nr-marquee:hover{animation-play-state:paused}

/* Knowledge graph. aspect-ratio keeps the box in proportion; the padding
   fallback covers browsers without it. */
.kg-box{position:relative;width:100%;aspect-ratio:560/400;background:radial-gradient(circle,#DCE2F7 1px,transparent 1.2px) 0 0/22px 22px #F3F5FC;border-radius:16px;overflow:hidden}
@supports not (aspect-ratio:1/1){.kg-box::before{content:"";display:block;padding-top:71.43%}}

/* Rows that open: the case studies and the questions. */
.nr-disc{position:relative;appearance:none;-webkit-appearance:none;background:none;border:0;margin:0;font:inherit;color:inherit;text-align:left;cursor:pointer;width:100%;transition:color .15s ease}
.nr-disc:hover{color:#2A47F5}
.nr-case-mark{transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.nr-disc[aria-expanded="true"] .nr-case-mark{transform:rotate(45deg)}
.nr-disc-panel{overflow:hidden}
/* Closed until asked for, but only when the script that opens them has run. */
.js .nr-disc-panel{display:none}
.js .nr-disc-panel.is-open{display:block}
html:not(.js) .nr-acc .nr-case-mark{display:none!important}

/* Forms */
.nr-form-status{margin:0;font-size:14.5px;min-height:1.4em}
.nr-form-status.is-error{color:#C2261C}
.nr-form-status.is-ok{color:#0D1330;font-weight:600}
.nr-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* Long-form pages: articles, the sample issue, privacy and terms. */
.nr-prose{max-width:680px;font-size:16.5px;line-height:1.65;color:#0D1330}
.nr-prose>*:first-child{margin-top:0}
.nr-prose h2{margin:40px 0 0;font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-.03em}
.nr-prose h3{margin:28px 0 0;font-size:18px;line-height:1.3;font-weight:600;letter-spacing:-.01em}
.nr-prose p{margin:14px 0 0;color:#3C4563}
.nr-prose ul,.nr-prose ol{margin:14px 0 0;padding-left:22px;color:#3C4563}
.nr-prose li{margin-top:8px}
.nr-prose li::marker{color:#2A47F5}
.nr-prose strong{color:#0D1330;font-weight:600}
.nr-prose a{text-decoration:underline;text-underline-offset:2px}
.nr-prose .nr-note{font-size:14px;color:#525B78}

@media (prefers-reduced-motion:reduce){
  .nr-marquee{animation:none}
  .nr-scroll{scroll-behavior:auto}
  .nr-case-mark,.nr-pill,a.nr-ghost,.nr-item>button svg{transition:none}
  .nr-item.is-open>.nr-menu,.nr-mobile.is-open{animation:none}
}

/* Phones and small tablets: the page becomes one ordinary scrolling column. */
@media (max-width:900px){
  .nr-nav,.nr-cta,.nr-sub,.nr-fade,.nr-only-desktop{display:none!important}
  .nr-toggle{display:inline-flex!important}
  .nr-mobile.is-open{display:flex;animation:nr-menu .18s cubic-bezier(.2,.7,.2,1)}
  html:not(.js) .nr-mobile{display:flex;position:static!important;max-height:none!important;box-shadow:none!important}
  html:not(.js) .nr-toggle{display:none!important}
  .nr-root{height:auto!important;min-height:100vh;min-height:100dvh;overflow:visible!important}
  .nr-split{flex-direction:column!important;gap:32px!important;height:auto!important}
  .nr-left{width:auto!important;max-width:none!important;flex:none!important;overflow:visible!important}
  .nr-scroll{overflow:visible!important;padding-right:0!important}
  .nr-wrap{padding-left:20px!important;padding-right:20px!important}
  .nr-main{padding-top:28px!important}
  .nr-foot{padding-top:12px;padding-bottom:12px}
  .nr-foot a{display:inline-block;padding:6px 0}
}
@media (max-width:480px){
  .nr-cta-row a{flex:1 1 100%;justify-content:center}
}

/* Short desktop windows: let the landing headline shrink with the height. */
@media (min-width:901px) and (max-height:760px){
  .nr-hero h1{font-size:clamp(40px,min(7vw,11.5vh),104px)!important}
  .nr-hero{gap:20px!important;padding-top:20px!important;padding-bottom:20px!important}
}

@media print{
  .nr-root{height:auto!important;overflow:visible!important}
  .nr-scroll,.nr-left{overflow:visible!important}
  .nr-nav,.nr-cta,.nr-toggle,.nr-sub,.nr-fade,.nr-mobile,.nr-list{display:none!important}
  .nr-disc-panel{display:block!important}
  .nr-case-mark{display:none!important}
  .nr-view{display:flex!important}
}

/* Page frame */
.nr-root{background:#FFFFFF;color:#0D1330;font-family:'Hanken Grotesk','Helvetica Neue',Arial,sans-serif;font-size:16px;line-height:1.55}
.nr-skip{position:absolute;left:12px;top:-60px;z-index:100;padding:10px 16px;border-radius:999px;background:#0D1330;color:#FFFFFF!important;font-size:14px;font-weight:600;text-decoration:none}
.nr-skip:focus{top:12px}
.nr-vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Shown on one side of the 900px line only. Phones have no "Book a call"
   in the header, so the pages keep one for them. */
@media (min-width:901px){.nr-only-phone{display:none!important}}

/* Lists that open on the right: case studies and articles. */
.nr-left-list{scrollbar-width:thin;scrollbar-color:#C9D0E6 transparent;padding-right:12px}
.nr-left-list::-webkit-scrollbar{display:block;width:6px}
.nr-left-list::-webkit-scrollbar-thumb{background:#C9D0E6;border-radius:6px}
.nr-list-item{position:relative}
.nr-list-title{transition:color .15s ease}
.nr-list-go{position:absolute;right:6px;top:50%;transform:translate(-4px,-50%);opacity:0;color:#2A47F5;transition:opacity .2s ease,transform .2s cubic-bezier(.2,.7,.2,1)}
.nr-list-item:hover .nr-list-title,.nr-list-item[aria-current] .nr-list-title{color:#2A47F5}
.nr-list-item:hover .nr-list-go,.nr-list-item[aria-current] .nr-list-go{opacity:1;transform:translate(0,-50%)}
/* Every case is in the page; the script shows one at a time. */
.nr-view{display:flex;flex-direction:column;gap:28px;padding-bottom:40px}
.nr-view+.nr-view{border-top:1px solid #E3E7F2;padding-top:40px}
.js .nr-view{display:none;border-top:0;padding-top:0}
.js .nr-view.is-current{display:flex}
@media (max-width:900px){
  .nr-left-list{padding-right:0}
  .nr-view{scroll-margin-top:16px}
}
@media (prefers-reduced-motion:reduce){
  .nr-list-go,.nr-list-title{transition:none}
}

/* Moving between pages cross-fades where the browser supports it, so the
   header and footer hold still and only the content changes. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.18s;animation-timing-function:ease}
@media (prefers-reduced-motion:reduce){
  ::view-transition-old(root),::view-transition-new(root){animation:none}
}
