/* Flowpay: one grid, one type scale, one spacing rhythm. Hero motion is separate. */
@font-face{font-family:'Flowpay Inter';src:url('assets/type/InterVariable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--fp-font:-apple-system,BlinkMacSystemFont,'Flowpay Inter',system-ui,sans-serif;--fp-ink:#20242a;--fp-muted:#606873;--fp-blue:#326da7;--fp-blue-hover:#285e93;--fp-white:#fff;--fp-soft:#f5f6f8;--fp-line:#e0e4e9;--fp-radius:28px;--fp-page-width:clamp(1200px,75vw,1560px);--fp-gutter:clamp(22px,5vw,96px);--fp-section-space:clamp(64px,calc(48px + 3.2vw),112px);--fp-card-pad:clamp(26px,2.6vw,44px);--fp-grid-gap:clamp(20px,1.7vw,32px);--fp-detail-gap:clamp(32px,4vw,64px)}
.fp-page,.fp-footer,.fp-film-banner{color:var(--fp-ink);font-family:var(--fp-font);font-optical-sizing:auto;-webkit-font-smoothing:antialiased}
.fp-page *,.fp-footer *,.fp-film-banner *{box-sizing:border-box}
.fp-container{width:calc(100% - 2 * var(--fp-gutter));max-width:var(--fp-page-width);margin-inline:auto}
.fp-page :is(h2,h3,p),.fp-footer p,.fp-film-banner h2{margin:0}
.fp-page h2{font-size:clamp(36px,3.75vw,72px);font-weight:600;line-height:1.08;letter-spacing:-.04em;text-wrap:balance}
.fp-page h2>span{color:var(--fp-muted)}
.fp-page h3{font-size:28px;line-height:1.16;font-weight:600;letter-spacing:-.025em;text-wrap:balance}
.fp-page p{font-size:18px;line-height:1.55;letter-spacing:-.01em;text-wrap:pretty}
.fp-page a,.fp-footer a,.fp-film-banner a{text-decoration:none}
.fp-page svg,.fp-footer svg,.fp-film-banner svg{display:block;width:22px;height:22px;flex-shrink:0;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.fp-page button,.fp-film-banner button{font:inherit;cursor:pointer}
:is(.fp-page,.fp-footer,.fp-film-banner,.fp-film-dialog) :focus-visible{outline:3px solid var(--fp-blue);outline-offset:5px}
.fp-page .fp-eyebrow,.fp-film-banner .fp-eyebrow{display:block;margin:0 0 16px;font-size:12px;line-height:1.4;font-weight:600;letter-spacing:.025em;color:var(--fp-blue)}
.fp-section{padding-block:var(--fp-section-space);background:#fff;scroll-margin-top:24px}
.fp-section-heading{margin-bottom:clamp(32px,4vw,56px)}
.fp-centered{text-align:center;max-width:840px;margin-inline:auto}
.fp-section-heading .fp-lead{max-width:44ch;margin:24px auto 0;font-size:21px;line-height:1.5;color:var(--fp-muted);letter-spacing:-.015em}
.fp-page .fp-link,.fp-film-banner .fp-link{display:inline-flex;align-items:center;min-height:44px;max-width:100%;gap:8px;color:var(--fp-blue);font-size:16px;font-weight:500;line-height:1.5}
.fp-link svg{width:18px;height:18px;transition:transform .2s}
.fp-link:hover{text-decoration:underline;text-underline-offset:4px}.fp-link:hover svg{transform:translateX(3px)}
.fp-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border-radius:100px;background:var(--fp-blue);color:#fff;padding:12px 24px;font-size:15px;font-weight:500;line-height:1.4;transition:background .2s}
.fp-button:hover{background:var(--fp-blue-hover)}
.fp-skip-link{position:fixed;left:20px;top:12px;z-index:30000;background:#fff;color:var(--fp-ink);border-radius:10px;padding:12px 20px;transform:translateY(-180%)}.fp-skip-link:focus{transform:none}
html.enhanced .section-hero{margin-bottom:var(--hero-film-banner-flow-correction,0px)}
/* Equal media, copy columns and closing rows in both product cards. */
.fp-intro{padding-bottom:clamp(36px,4vw,56px)}
/* One centred introduction above the two demonstrations. */
.fp-intro-heading{text-align:center;max-width:840px;margin-inline:auto}
.fp-intro-heading h2{font-size:clamp(34px,5.2vw,68px);line-height:1.06;letter-spacing:-.04em}
.fp-intro-heading .fp-lead{max-width:38ch;margin:20px auto 0;text-wrap:balance}
.fp-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--fp-grid-gap);align-items:stretch}
.fp-feature{display:flex;flex-direction:column;background:var(--fp-soft);border-radius:var(--fp-radius);overflow:hidden;min-width:0}
.fp-feature-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:var(--fp-card-pad)}
.fp-feature-copy h3{font-size:clamp(28px,2.25vw,38px);line-height:1.14;letter-spacing:-.03em}
.fp-feature-copy p{max-width:38ch;color:var(--fp-muted);margin-top:12px;font-size:17px;line-height:1.55}
.fp-media{position:relative;flex-shrink:0;overflow:hidden;isolation:isolate;background:#e8ebef;aspect-ratio:16/9}
.fp-media video{width:100%;height:100%;display:block;object-fit:cover;filter:none!important}
.fp-media-toggle{position:absolute;bottom:16px;right:16px;z-index:2;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff66;border-radius:50%;background:#252529a6;color:#fff;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:background .2s}
.fp-media-toggle:hover{background:#252529dc}.fp-media-toggle svg{width:18px;height:18px}
.fp-pause-icon{stroke-width:2.5!important}.fp-play-icon{fill:currentColor;stroke:none!important}
.fp-media-toggle[data-paused=true] .fp-pause-icon,.fp-media-toggle[data-paused=false] .fp-play-icon{display:none}
.fp-page .fp-media-error{position:absolute;bottom:12px;left:12px;right:72px;padding:8px 12px;border-radius:8px;background:#fffffff0;font-size:12px;line-height:1.4;color:#454b55}
.fp-compatibility{display:flex;justify-content:center;margin-top:clamp(16px,1.5vw,24px);text-align:center}
/* Compact film card with copy and preview side by side. */
.fp-film-banner{padding:0;background:#fff}
.fp-film-card{display:flex;align-items:center;justify-content:space-between;gap:40px;max-width:980px;margin:0 auto;padding:24px 24px 24px 44px;border-radius:26px;background:var(--fp-soft);color:var(--fp-ink);overflow:hidden}
.fp-film-copy{min-width:0}
.fp-film-card h2{font-size:28px;line-height:1.12;letter-spacing:-.035em;font-weight:600;margin-bottom:13px}
.fp-film-thumbnail{position:relative;flex:0 0 37%;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#e8e8ed}
.fp-film-thumbnail img,.fp-film-thumbnail video{display:block;width:100%;height:100%;object-fit:cover}
.fp-film-play{position:absolute;inset:0;display:grid;place-content:center}.fp-film-play:focus-visible{outline-offset:-5px}
.fp-film-play svg{width:44px;height:44px;border:1px solid #ffffffb3;border-radius:50%;padding:10px;background:#0002;color:#fff;fill:currentColor;stroke:none;backdrop-filter:blur(10px)}
.fp-film-card .fp-link svg{width:15px;height:15px;stroke:none;fill:currentColor}
/* Privacy: centred icons, common text widths and aligned baselines. */
.fp-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--fp-detail-gap);margin:0 0 32px}
.fp-principles article{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0}
.fp-principles svg{width:38px;height:38px;color:var(--fp-blue);margin:0 auto 24px;stroke-width:1.7}
.fp-principles h3{font-size:clamp(22px,1.6vw,26px);margin-bottom:12px}
.fp-principles p{max-width:28ch;font-size:16px;line-height:1.6;color:var(--fp-muted)}
.fp-page .fp-privacy-link{display:flex;justify-content:center;width:fit-content;margin-inline:auto}
/* Founder and open-source cards share the same text axis. */
.fp-founder{padding-top:0;padding-bottom:clamp(48px,4vw,72px)}
.fp-founder-card,.fp-open-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:var(--fp-radius);overflow:hidden;background:var(--fp-soft)}
.fp-founder-card{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);max-width:1200px;margin-inline:auto}
.fp-founder-image,.fp-open-image{min-width:0;position:relative;min-height:0;margin:0;overflow:hidden}
.fp-open-card{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:var(--fp-detail-gap);background:transparent;border:0;border-radius:0;overflow:visible}
.fp-open-image{min-height:0;aspect-ratio:2/1;border-radius:20px}
.fp-founder-image img,.fp-open-image img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;filter:none;opacity:1;mix-blend-mode:normal}
.fp-founder-image img{object-position:51% center}.fp-open-image img{object-position:57% center}
.fp-founder-copy{padding:clamp(28px,2.5vw,40px) var(--fp-card-pad);min-width:0;align-self:center}
.fp-page .fp-founder-copy h2{font-size:clamp(30px,3vw,38px);line-height:1.12;letter-spacing:-.035em}
.fp-founder-note{max-width:54ch;margin-top:18px}
.fp-page .fp-founder-note p{font-size:16px;line-height:1.6;color:var(--fp-muted)}
.fp-founder-note p:first-child{color:var(--fp-ink)}.fp-founder-note p+p{margin-top:12px}
.fp-founder-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}
.fp-page .fp-founder-signature{margin-top:0;font-size:15px;line-height:1.5;color:var(--fp-ink)}
.fp-founder-signature strong{display:block;font-weight:600}.fp-founder-signature span{display:block;margin-top:4px;color:var(--fp-muted);font-size:13px}
.fp-founder-socials{display:flex;gap:4px;margin:0 -11px 0 0}
.fp-founder-socials a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:0;background:transparent;color:var(--fp-muted);transition:color .2s}
.fp-founder-socials a:hover{color:var(--fp-blue)}.fp-founder-socials svg{width:20px;height:20px}
/* Questions align at the top; no double border or extra heading offset. */
.fp-faq{padding-top:0}
.fp-faq-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:var(--fp-detail-gap);padding-top:clamp(40px,3.2vw,56px);border-top:1px solid var(--fp-line);align-items:start}
.fp-faq .fp-section-heading{margin:0}
.fp-answers{min-width:0}.fp-answers details{border-bottom:1px solid var(--fp-line);scroll-margin-top:24px}
.fp-answers summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:72px;padding:24px 0;cursor:pointer;font-size:19px;line-height:1.4;font-weight:500;letter-spacing:-.015em}
.fp-answers details:first-child summary{padding-top:0;min-height:48px}
.fp-answers summary::-webkit-details-marker{display:none}
.fp-answers summary>span{position:relative;width:20px;height:20px;flex-shrink:0;color:var(--fp-muted)}
.fp-answers summary>span:before,.fp-answers summary>span:after{content:'';position:absolute;left:3px;top:9px;width:14px;height:1.5px;background:currentColor;transition:transform .2s}
.fp-answers summary>span:after{transform:rotate(90deg)}.fp-answers [open] summary>span:after{transform:rotate(0)}
.fp-answers details>div{padding:0 32px 24px 0;max-width:58ch}
.fp-answers p{font-size:16px;line-height:1.65;color:var(--fp-muted)}.fp-answers p+p{margin-top:12px}
.fp-answers .fp-link{margin-top:12px}.fp-answers .fp-link+.fp-link{display:flex;width:fit-content}
.fp-open{padding-top:0}.fp-open-copy{min-width:0;padding:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.fp-open-copy h2{font-size:clamp(34px,3.15vw,56px);line-height:1.08;letter-spacing:-.038em;max-width:13ch}
.fp-open-copy p:not(.fp-eyebrow){max-width:38ch;color:var(--fp-muted);font-size:17px;margin:18px 0 16px}
.fp-footer{background:var(--fp-soft);padding:40px 0 24px}
.fp-footer-top{display:flex;align-items:center;gap:24px}
.fp-footer-brand{display:flex;align-items:center;min-height:44px}.fp-footer-brand .flowpay-wordmark{width:100px;height:28px;color:var(--fp-ink)}
.fp-footer-top p{font-size:13px;color:var(--fp-muted)}
.fp-back-top{display:flex;align-items:center;min-height:44px;gap:6px;margin-left:auto;font-size:13px;color:var(--fp-muted)}.fp-back-top svg{width:16px;height:16px;transform:rotate(-90deg)}
.fp-footer-links{display:flex;flex-wrap:wrap;gap:4px 28px;padding:20px 0;border-bottom:1px solid var(--fp-line);font-size:13px}
.fp-footer a{color:var(--fp-muted)}.fp-footer-links a,.fp-footer-bottom a{display:inline-flex;align-items:center;min-height:44px}.fp-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.fp-footer-bottom{display:flex;align-items:center;gap:24px;justify-content:space-between;padding-top:12px;font-size:12px;color:var(--fp-muted);line-height:1.5}
html:not(.replica-motion) [data-staggered-item]{opacity:1!important;transform:none!important;visibility:visible!important}
.fp-page [data-staggered-item]:focus-within{opacity:1!important;transform:none!important;transition:none!important}
@media(max-width:1068px){.fp-section-heading{margin-bottom:36px}.fp-open-image{aspect-ratio:1.7}}
@media(max-width:900px){
 :root{--fp-radius:24px}
 .fp-page h2{font-size:clamp(34px,5.7vw,44px);line-height:1.1;letter-spacing:-.035em}
 .fp-page .fp-intro-heading h2{font-size:clamp(28px,8.2vw,43px)}.fp-section-heading{margin-bottom:32px}.fp-section-heading .fp-lead{font-size:18px;margin-top:20px;max-width:32ch}
 .fp-feature-grid{grid-template-columns:1fr;gap:var(--fp-grid-gap)}.fp-feature-copy h3{font-size:30px}.fp-feature-copy p{font-size:16px}
 .fp-principles{grid-template-columns:1fr;gap:28px;margin:0 0 24px}.fp-principles article{padding-bottom:28px;border-bottom:1px solid var(--fp-line)}.fp-principles article:last-child{padding-bottom:0;border-bottom:0}
 .fp-principles svg{margin-bottom:18px}.fp-principles h3{font-size:24px}.fp-principles p{max-width:30ch}
 .fp-page .fp-privacy-link{font-size:15px}
 .fp-founder-card{grid-template-columns:72px minmax(0,1fr);gap:20px;padding:var(--fp-card-pad)}.fp-founder-image{width:72px;height:80px;border-radius:14px;grid-column:1;grid-row:1}.fp-founder-copy{display:contents}.fp-page .fp-founder-copy h2{grid-column:2;grid-row:1;align-self:center}.fp-founder-note{grid-column:1/-1;grid-row:2}.fp-founder-meta{grid-column:1/-1;grid-row:3}
 .fp-open-card{grid-template-columns:1fr;gap:24px}.fp-open-copy{padding:0}
 .fp-page .fp-founder-copy h2{font-size:30px}.fp-page .fp-open-copy h2{font-size:clamp(32px,5vw,40px)}.fp-founder-note{margin-top:0}.fp-page .fp-founder-note p{font-size:16px;line-height:1.65}.fp-founder-meta{margin-top:0}.fp-page .fp-founder-signature{margin-top:0}
 .fp-faq-grid{grid-template-columns:1fr;gap:32px;padding-top:40px}.fp-faq h2 br{display:none}.fp-faq h2 span:before{content:' '}
 .fp-answers summary{font-size:18px;gap:16px;padding-block:22px}.fp-answers details:first-child summary{padding-top:0}.fp-answers details>div{padding-right:0}
 .fp-open-copy p:not(.fp-eyebrow){font-size:17px;margin:20px 0 24px}.fp-open-image{min-height:0;aspect-ratio:16/9}
}
@media(max-width:734px){
 :root{--fp-card-pad:24px}
 .fp-page h2{font-size:clamp(32px,8.2vw,40px)}
 .fp-feature-copy h3{font-size:clamp(26px,6.8vw,30px)}
 .fp-film-card{padding:23px;gap:18px;border-radius:22px}.fp-film-card h2{font-size:22px;max-width:none;margin-bottom:10px}.fp-film-thumbnail{flex-basis:33%;aspect-ratio:1/1;border-radius:12px}.fp-film-card .fp-link{font-size:13px}.fp-film-play svg{width:32px;height:32px;padding:8px}
 /* The compact thumbnail has one clear control; the text link opens the film. */
 .fp-film-thumbnail .fp-film-play{display:none}
 .fp-film-thumbnail .fp-media-toggle{inset:50% auto auto 50%;transform:translate(-50%,-50%)}
 .fp-footer-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px}.fp-footer-top p{grid-column:1/-1;grid-row:2}.fp-back-top{grid-column:2;grid-row:1;margin:0}
 .fp-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;padding-block:24px}.fp-footer-links a{width:fit-content;max-width:100%}
 .fp-footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px}.fp-footer-bottom p:nth-child(2){grid-column:1/-1;grid-row:2;font-size:11px}.fp-footer-bottom a{grid-column:2;grid-row:1}
}
@media(max-width:374px){:root{--fp-card-pad:22px}.fp-film-card{padding:20px 18px}.fp-film-card h2{font-size:20px}.fp-film-thumbnail{flex-basis:30%}.fp-page .fp-founder-copy h2{font-size:27px}.fp-open-copy h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){.fp-page *,.fp-film-banner *{transition:none!important;scroll-behavior:auto!important}}

/* Film dialog behaviour and controls retained. */
.fp-film-dialog{position:fixed;inset:0;margin:auto;width:min(1100px,92vw);max-height:92dvh;padding:0;border:0;border-radius:22px;color:#f5f5f7;background:#131315;box-shadow:0 24px 90px #0005;overflow:auto;font-family:var(--fp-font)}
.fp-film-dialog::backdrop{background:#111827a6;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.fp-film-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px}
.fp-film-header h2{font-size:18px;font-weight:500;letter-spacing:-.02em;margin:0}
.fp-film-close{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#ffffff20;color:#fff;font:26px/1 -apple-system,sans-serif;cursor:pointer}
.fp-film-video{display:block;width:100%;max-height:calc(90dvh - 86px);background:#000}
.fp-film-error{padding:16px 24px;font-size:14px;line-height:1.5}.fp-film-error a{color:#acd2f6}
.fp-film-dialog [hidden]{display:none!important}

/* Contact and social links are the last row on both pages. */
.fp-footer-contact{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:16px;margin-top:16px;border-top:1px solid var(--fp-line)}
.fp-footer-email{display:inline-flex;align-items:center;min-height:44px;font-size:14px;overflow-wrap:anywhere}
.fp-footer-socials{display:flex;gap:8px;margin-right:-10px;flex-shrink:0}
.fp-footer-socials a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;transition:background .2s,color .2s}
.fp-footer-socials a:hover{background:#e6eaf0;color:var(--fp-blue)}
.fp-footer-socials svg{width:20px;height:20px}
@media(max-width:374px){.fp-footer-contact{flex-wrap:wrap;gap:4px}.fp-footer-socials{margin-left:-10px}}

/* A short response to opening an answer; native details still controls the layout. */
@media(prefers-reduced-motion:no-preference){.fp-answers details[open]>div{animation:fp-answer-in .22s ease-out both}}
@keyframes fp-answer-in{from{opacity:.55;transform:translateY(-3px)}to{opacity:1;transform:none}}

/* Keep the original film card directly below the hero. */
.fp-page #film{padding-block:clamp(36px,4vw,72px) 0;scroll-margin-top:24px}

.fp-intro{padding-top:clamp(40px,4vw,72px);padding-bottom:0}

/* Small refinements: clear action hierarchy, shared rhythm, unchanged media. */
.fp-page .fp-compatibility-note{margin:28px auto 0;max-width:54ch;text-align:center;color:var(--fp-muted);font-size:14px;line-height:1.65;letter-spacing:0}
.fp-compatibility-note span{display:inline-block}
.fp-film-thumbnail .fp-media-toggle{inset:50% auto auto 50%;transform:translate(-50%,-50%);background:rgba(24,31,39,.65);border-color:#ffffff80}
.fp-film-thumbnail .fp-media-toggle:hover{background:rgba(24,31,39,.85)}
.fp-page .fp-founder-note p{font-size:17px;line-height:1.65}
@media(max-width:734px){.fp-page .fp-compatibility-note{margin-top:20px;max-width:30ch}.fp-page .fp-founder-note p{font-size:16px}}
