/* Flowpay navigation: transparent above the film, white glass on scroll. */
:root{--fp-nav-height:52px}
html,body{background:#000;color:#1d1d1f;color-scheme:light;scroll-padding-top:72px}
html.fp-page-scrolled,html.fp-page-scrolled body{background:#fff}
/* The clip-path reveals this stationary white canvas, not the media layer. */
main.main,.section-hero,
html.enhanced .section-hero .hero-sticky-wrapper{
  background:#fff!important;
}
.section-hero .hero-sticky-wrapper{--sk-body-background-color:#fff;background:#fff!important}
.section-pillar,.section-real-stories,.section-values,.section-how-to-buy,.section-film-banner{background:#fff}
#ac-localnav.fp-site-header{position:sticky!important;top:0!important;height:var(--fp-nav-height)!important;min-height:var(--fp-nav-height);width:100%;margin:0!important;padding:0;border:0!important;transform:none!important;z-index:9998;background:transparent!important;color:#f5f5f7!important;backdrop-filter:none;-webkit-backdrop-filter:none;transition:background-color .25s,color .25s,box-shadow .25s;font-family:var(--fp-font,system-ui)}
#ac-localnav.fp-site-header:before,#ac-localnav.fp-site-header:after{display:none!important}
#ac-localnav.fp-site-header:is(.fp-nav-scrolled,.fp-menu-open){background:rgba(255,255,255,.8)!important;color:#1d1d1f!important;backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);box-shadow:0 1px 0 #00000026}
.fp-topnav{position:relative;box-sizing:border-box;height:var(--fp-nav-height);width:87.5%;max-width:var(--fp-page-width,1200px);padding:0;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:30px;font-family:inherit}
.fp-nav-brand{display:flex;align-items:center;flex-shrink:0;text-decoration:none;color:inherit}.fp-nav-brand .flowpay-wordmark{width:98px;height:27px;color:inherit}
.fp-nav-links{display:flex;align-items:center;gap:24px}.fp-site-header .fp-nav-links a{box-sizing:border-box;font-family:inherit;font-size:13px;line-height:1.33337;font-weight:400;letter-spacing:-.01em;color:inherit;opacity:.85;text-decoration:none;transition:opacity .2s}.fp-site-header .fp-nav-links a:hover,.fp-site-header .fp-nav-links a:focus-visible{opacity:1}
.fp-site-header .fp-nav-links .fp-nav-source{font-size:13px;line-height:1.33337;padding:8px 14px;border-radius:980px;background:var(--fp-blue,#326da7);color:#fff;opacity:1;letter-spacing:0}.fp-site-header .fp-nav-links .fp-nav-source:hover{background:var(--fp-blue-hover,#285e93)}.fp-nav-source span{display:none}.fp-nav-toggle{display:none}.fp-site-header :focus-visible{outline:2px solid #90bff1;outline-offset:5px}
.fp-site-header:is(.fp-nav-scrolled,.fp-menu-open) :focus-visible,.fp-privacy-page .fp-site-header :focus-visible{outline-color:#326da7}
.fp-nav-brand{min-height:44px}
.fp-site-header .fp-nav-links>a:not(.fp-nav-source){display:inline-flex;align-items:center;min-height:44px}
/* The film fills the viewport behind the transparent navigation at the top. */
.section-hero{margin-top:calc(-1 * var(--fp-nav-height));--ribbon-height:0px!important;--global-section-padding:0px!important;background:#000;padding-top:0!important;overflow:visible}
html.enhanced .section-hero .hero-sticky-wrapper{margin-block-start:0!important;height:150vh}
.section-hero .hero-initial-wrap,html.enhanced .section-hero .hero-sticky-container{width:100%!important;height:100dvh!important;min-height:0!important;max-height:none!important;margin-block-start:0!important}
.section-hero .hero-sticky-container{background:#000}.section-hero .hero-image-carousel,.section-hero .hero-video{inset:0;width:100%;height:100%;border:0;object-fit:cover}
@media(max-width:800px){:root{--fp-nav-height:48px}.fp-topnav{position:static;width:87.5%;padding:0;gap:20px}.fp-nav-brand .flowpay-wordmark{width:90px;height:25px}.fp-nav-toggle{display:flex;align-items:center;gap:10px;color:inherit;background:none;border:0;font:400 12px/1 var(--fp-font,system-ui);cursor:pointer;padding:16px 0 16px 16px}.fp-nav-toggle>span{width:16px;height:10px;position:relative}.fp-nav-toggle i{height:1px;background:currentColor;width:10px;position:absolute;left:0;top:4px;transform:rotate(40deg);transition:transform .25s}.fp-nav-toggle i:last-child{left:7px;transform:rotate(-40deg)}.fp-nav-toggle[aria-expanded=true] i:first-child{transform:rotate(-40deg)}.fp-nav-toggle[aria-expanded=true] i:last-child{transform:rotate(40deg)}.fp-nav-links{display:flex;position:absolute;top:calc(var(--fp-nav-height) + 8px);left:16px;right:16px;width:auto;box-sizing:border-box;max-height:calc(100svh - var(--fp-nav-height) - 24px);overflow-y:auto;overscroll-behavior:contain;background:rgba(255,255,255,.97);color:var(--fp-ink,#20242a);border:1px solid #20242a0d;border-radius:20px;padding:8px;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 12px 36px #14273b1f;backdrop-filter:saturate(160%) blur(20px);-webkit-backdrop-filter:saturate(160%) blur(20px);visibility:hidden;opacity:0;pointer-events:none;transform:translateY(-8px);transition:opacity .18s ease,transform .24s cubic-bezier(.22,1,.36,1),visibility 0s linear .24s}.fp-site-header.fp-menu-open .fp-nav-links{visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0);transition-delay:0s}.fp-site-header .fp-nav-links a,.fp-site-header .fp-nav-links .fp-nav-source{display:flex;align-items:center;justify-content:space-between;align-self:stretch;min-height:54px;padding:14px 16px;margin:0;border-radius:12px;background:transparent;font-size:17px;line-height:1.4;font-weight:500;letter-spacing:-.02em;color:var(--fp-ink,#20242a);opacity:1}.fp-site-header .fp-nav-links a::after{content:"";width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin-right:3px;opacity:.45;flex-shrink:0}.fp-site-header .fp-nav-links .fp-nav-source{color:var(--fp-blue,#326da7)}.fp-site-header .fp-nav-links a:hover,.fp-site-header .fp-nav-links a:focus-visible{background:var(--fp-soft,#f5f6f8)}.fp-site-header .fp-nav-links a:active{background:#edf1f5}.fp-site-header .fp-nav-links a:focus-visible{outline-offset:-2px}#ac-localnav .fp-nav-links,#ac-localnav .fp-nav-links a{box-sizing:border-box}#ac-localnav .fp-nav-links a{min-height:54px}.section-how-to-buy .content-wrapper{border-radius:24px}.section-pillar .tile{border-radius:24px}}
@media(max-width:734px){.fp-topnav{width:calc(100% - 40px);max-width:560px}}
@media(prefers-reduced-motion:reduce){.fp-nav-toggle i,.fp-site-header,.fp-site-header .fp-nav-links,.fp-site-header .fp-nav-links a{transition:none!important}}

/* One compact hero composition: no detached controls or inherited text-width limits. */
.section-hero .hero-initial-wrap .hero-initial-copy{
  padding:0 0 calc(clamp(104px,16svh,152px) - 16px);
}
.section-hero .hero-initial-wrap .hero-headline-lockup{
  display:flex;flex-direction:column;align-items:center;
  width:calc(100% - 40px);max-width:840px;margin:0 auto;
  text-align:center;box-sizing:border-box;
}
.section-hero .hero-initial-wrap .hero-initial-copy .hero-icon{
  display:block;flex:none;margin:0;line-height:0;
  opacity:1!important;translate:none!important;transition:none!important;
}
/* Fit the logo box to its visible pixels: x25..806, y235..412 in the 820x643 source.
   Keep the original image scale so only the empty layout space is removed. */
.section-hero .hero-icon .flowpay-hero-mark{
  --fp-logo-image-width:192px;
  width:calc(var(--fp-logo-image-width) * .9524390244);
  height:calc(var(--fp-logo-image-width) * .2158536585);
  -webkit-mask-size:var(--fp-logo-image-width) auto;
  mask-size:var(--fp-logo-image-width) auto;
  -webkit-mask-position:calc(var(--fp-logo-image-width) * -.0304878049) calc(var(--fp-logo-image-width) * -.2865853659);
  mask-position:calc(var(--fp-logo-image-width) * -.0304878049) calc(var(--fp-logo-image-width) * -.2865853659);
}
.section-hero .hero-initial-wrap .hero-headline{
  position:static;inset:auto;display:block;flex:none;width:100%;max-width:none;
  margin:0;padding:0;font-size:clamp(42px,4.2vw,58px);line-height:1.06;
  font-weight:600;letter-spacing:-.035em;color:#8fa9c1;
  font-family:var(--fp-font,system-ui);
  opacity:1!important;translate:none!important;transition:none!important;
}
.section-hero .hero-headline .fp-hero-lead{display:block;color:#f5f7fa;-webkit-text-fill-color:currentColor}
.section-hero .hero-headline .text-gradient{
  display:block;color:#94c8f5;font-weight:600;
  background:linear-gradient(105deg,#d4ebff 0%,#b4dbff 55%,#99ccfa 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.section-hero .fp-hero-actions{
  position:static;display:flex;align-items:center;justify-content:center;
  gap:10px;margin:16px 0 0;padding:0;width:auto;max-width:100%;
  box-sizing:border-box;pointer-events:auto;transform:none;
}
.section-hero .fp-hero-actions a{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  height:48px;min-height:48px;border:0;border-radius:999px;
  text-decoration:none;font:500 15px/1.2 var(--fp-font,system-ui);
  letter-spacing:-.015em;white-space:nowrap;pointer-events:auto;
  transition:background-color .2s,color .2s;-webkit-tap-highlight-color:transparent;
}
.section-hero .fp-hero-actions .fp-hero-add{
padding:0 25px;border:0;border-radius:999px;background:var(--fp-blue,#326da7);color:#fff;font-size:15px;font-weight:500;box-shadow:none;text-shadow:none}
.section-hero .fp-hero-actions .fp-hero-add:hover{background:var(--fp-blue-hover,#285e93);color:#fff;text-decoration:none}
.section-hero .fp-hero-actions .fp-hero-github{width:48px;flex:0 0 48px;border:0;background:rgba(23,28,34,.48);color:#fff;box-shadow:none;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.section-hero .fp-hero-actions .fp-hero-github:hover{background:rgba(23,28,34,.7);color:#fff}
@media(prefers-reduced-motion:no-preference){.section-hero .fp-hero-actions a:active{translate:0 1px}}
.section-hero .fp-hero-github svg{display:block;width:21px;height:21px}
.section-hero .fp-hero-actions a:focus-visible{outline:2px solid #d4ebff;outline-offset:4px}
.section-hero .fp-hero-actions .fp-hero-add:focus-visible{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;color:#fff}
.section-hero .fp-hero-actions .fp-hero-github:focus-visible{background:var(--fp-blue,#326da7);color:#fff}
/* The group enters together; motion.js still owns its scroll transform. */
html.enhanced .section-hero .hero-headline-lockup{animation:fp-hero-lockup-enter .62s cubic-bezier(.22,.68,.18,1) both}
@keyframes fp-hero-lockup-enter{from{opacity:.55;translate:0 7px}to{opacity:1;translate:0 0}}
@media(max-width:734px){
  .section-hero .hero-initial-wrap .hero-initial-copy{padding-bottom:calc(clamp(112px,18svh,148px) - 12px)}
  .section-hero .hero-initial-wrap .hero-headline-lockup{width:calc(100% - 32px);max-width:600px}
  .section-hero .hero-initial-wrap .hero-initial-copy .hero-icon{margin-bottom:0}
  .section-hero .hero-icon .flowpay-hero-mark{--fp-logo-image-width:156px}
  .section-hero .hero-initial-wrap .hero-headline{font-size:clamp(28px,7.8vw,40px);line-height:1.08;letter-spacing:-.035em}
  .section-hero .fp-hero-actions{margin-top:14px}
  .section-hero .fp-hero-actions a{height:46px;min-height:46px;font-size:14px}
  .section-hero .fp-hero-actions .fp-hero-add{padding-inline:23px;font-size:14px}
  .section-hero .fp-hero-actions .fp-hero-github{width:46px;flex-basis:46px}
  .section-hero .fp-hero-github svg{width:20px;height:20px}
}
@media(max-height:600px){
  .section-hero .hero-initial-wrap .hero-initial-copy{padding-bottom:calc(clamp(38px,11svh,66px) - 6px)}
  .section-hero .hero-icon .flowpay-hero-mark{--fp-logo-image-width:148px}
  .section-hero .hero-initial-wrap .hero-initial-copy .hero-icon{margin-bottom:0}
  .section-hero .hero-initial-wrap .hero-headline{font-size:clamp(26px,6vw,38px)}
  .section-hero .fp-hero-actions{margin-top:12px}
  .section-hero .fp-hero-actions a{height:44px;min-height:44px;font-size:14px}
  .section-hero .fp-hero-actions .fp-hero-github{width:44px;flex-basis:44px}
}
@media(max-height:360px){
  .section-hero .hero-initial-wrap .hero-initial-copy{padding-bottom:calc(clamp(20px,7svh,26px) - 4px)}
  .section-hero .hero-icon .flowpay-hero-mark{--fp-logo-image-width:120px}
  .section-hero .hero-initial-wrap .hero-initial-copy .hero-icon{margin-bottom:0}
  .section-hero .hero-initial-wrap .hero-headline{font-size:clamp(26px,5vw,28px)}
  .section-hero .fp-hero-actions{margin-top:10px}
}
@media(prefers-reduced-motion:reduce){
  html.enhanced .section-hero .hero-headline-lockup{animation:none}
  .section-hero .fp-hero-actions a,.section-hero .fp-hero-actions svg{transition:none;translate:none}
}

/* The phone hero is an immersive film, with its compact lockup over the picture. */
@media(max-width:734px) and (orientation:portrait){
  html.enhanced .section-hero .hero-sticky-wrapper{height:150svh}
  .section-hero .hero-initial-wrap,
  html.enhanced .section-hero .hero-sticky-container{height:100svh!important}
  .section-hero .hero-initial-wrap .hero-image-carousel{
    inset:0;width:100%;height:100%;background:#000;
  }
  .section-hero .hero-image-carousel .hero-video{
    object-fit:cover;object-position:center;background:#000;
  }
  .section-hero .hero-initial-wrap .scrim{
    background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.14) 52%,rgba(0,0,0,.64) 100%);
  }
  .section-hero .hero-initial-wrap .hero-initial-copy{
    padding:0 0 calc(clamp(64px,10svh,100px) - 10px + env(safe-area-inset-bottom,0px));
  }
  .section-hero .hero-initial-wrap .hero-headline-lockup{width:calc(100% - 32px)}
  .section-hero .hero-icon .flowpay-hero-mark{--fp-logo-image-width:156px}
  .section-hero .hero-initial-wrap .hero-initial-copy .hero-icon{margin-bottom:6px}
  .section-hero .hero-initial-wrap .hero-headline{
    font-size:clamp(28px,7.8vw,40px);line-height:1.08;
  }
  .section-hero .fp-hero-actions{gap:10px;margin-top:14px}
  .section-hero .fp-hero-actions a{height:46px;min-height:46px;font-size:14px}
  .section-hero .fp-hero-actions .fp-hero-github{width:46px;flex-basis:46px}
  .section-hero .hero-controls,
  html.enhanced .section-hero .hero-controls{
    top:auto;inset-block-end:calc(20px + env(safe-area-inset-bottom,0px));
    inset-inline-end:20px;height:36px;margin-block-end:0;align-items:center;
  }
}

/* Responsive stills match the selected film before playback and without scripting. */
.section-hero .hero-video-poster{position:absolute;inset:0;display:block;width:100%;height:100%}
.section-hero .hero-video-poster img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.section-hero .hero-image-carousel .hero-video{background:transparent}

/* Shared content axis: navigation and lower-page cards use identical gutters. */
.fp-topnav{width:calc(100% - 2 * var(--fp-gutter,6.25vw));max-width:var(--fp-page-width,1200px)}

/* Keep the established lockup in proportion on larger desktop viewports. */
@media(min-width:1600px) and (min-height:700px){
  .section-hero .hero-icon .flowpay-hero-mark{--fp-logo-image-width:clamp(192px,10vw,240px)}
  .section-hero .hero-initial-wrap .hero-headline{font-size:clamp(58px,3.6vw,76px)}
  .section-hero .hero-initial-wrap .hero-initial-copy{padding-bottom:clamp(136px,15svh,240px)}
}

/* Keep navigation legible as bright video frames pass behind it. */
.section-hero .hero-image-carousel::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(12,19,27,.45) 0,rgba(12,19,27,0) 140px)}

.section-hero .fp-hero-actions .fp-hero-add{gap:9px}
.section-hero .fp-hero-add svg{display:block;width:20px;height:20px;flex:0 0 20px}

/* Fade the mobile header in with the first swipe instead of switching at 1px. */
@media(max-width:800px){
 #ac-localnav.fp-site-header.fp-nav-scrolled:not(.fp-menu-open){
  background:rgb(255 255 255 / calc(.8 * var(--fp-nav-reveal,1)))!important;
  color:var(--fp-nav-ink,#1d1d1f)!important;
  backdrop-filter:saturate(180%) blur(calc(20px * var(--fp-nav-reveal,1)));
  -webkit-backdrop-filter:saturate(180%) blur(calc(20px * var(--fp-nav-reveal,1)));
  box-shadow:0 1px 0 rgb(0 0 0 / calc(.15 * var(--fp-nav-reveal,1)));
  transition:none;
 }
}
