/* One generous image frame on every page, with the brandbook's own media. */
html {scroll-padding-top:0;}
.page-home main {overflow:clip;}
body:not(.page-home) {background:#fff;}
body:not(.page-home) .header.bank-header {position:absolute;top:20px;left:20px;right:20px;width:auto;margin:0;padding:0;background:none;border-radius:0;}
body:not(.page-home) main {margin:0;padding-bottom:0;border-radius:0;background:#fff;}
body:not(.page-home) .nav-cutout {border-radius:0 0 20px 0;}
.page-hero.bank-hero {padding:20px;min-height:0;}
.page-hero .bank-hero-surface {height:calc(100svh - 40px);min-height:720px;max-height:1000px;padding:150px 6vw 100px;background:#edf2f4;align-items:center;}
.page-hero .serenox-hero-image {inset:-6% 0;width:100%;height:112%;}
.page-hero .serenox-hero-image img {object-position:66% center;}
.page-hero .hero-copy {max-width:760px;}
.page-hero .hero-copy h1 {font-size:clamp(52px,5.35vw,86px);line-height:1.06;letter-spacing:-.055em;margin:0 0 28px;}
.page-hero .hero-copy .title-line {display:block;white-space:normal;}
.page-hero .hero-copy .accent-word {color:#737373;}
.page-hero .hero-copy p {max-width:440px;font-size:17px;line-height:1.5;color:#3f3f3f;margin-bottom:30px;}
.page-hero-platform .hero-copy {max-width:860px;}
.page-hero-platform .serenox-hero-image img {object-position:70% center;}
.page-hero:is(.page-hero-company,.page-hero-demo,.page-hero-notfound) .hero-copy :is(h1,.accent-word,p) {color:#fff;text-shadow:0 1px 3px #0009,0 3px 20px #0006;}
.platform-board#platform-workflow, .company-image {margin-top:80px;}
.plugin-workspace {text-align:center;padding-top:80px;}
.plugin-workspace .conversation {text-align:left;}
#platform-workflow, #plugin-connect, #our-team, #booking, #company-brain {scroll-margin-top:40px;}
.page-capabilities .connected-course .cc-copy > p {color:#b6b6b6;}
@media(max-width:1100px) and (min-width:801px) {
 .page-hero .hero-copy h1 {font-size:58px;}
 .page-hero .bank-hero-surface {padding-left:40px;}
}
@media(max-width:800px) {
 body:not(.page-home) .header.bank-header {top:12px;left:12px;right:12px;}
 .page-hero.bank-hero {padding:12px;}
 .page-hero .bank-hero-surface {height:calc(100svh - 24px);min-height:740px;max-height:none;padding:132px 26px 100px;align-items:flex-start;border-radius:26px;}
 .page-hero .serenox-hero-image {inset:-3% 0;height:106%;width:100%;mask-image:none;-webkit-mask-image:none;}
 .page-hero .serenox-hero-image img {object-position:66% center;}
 .page-hero .hero-copy h1 {font-size:clamp(32px,9.8vw,61px);line-height:1.08;margin-bottom:23px;}
 .page-hero .hero-copy p {font-size:15px;line-height:1.48;max-width:370px;margin-bottom:25px;}
 .page-hero-platform .hero-copy h1 {font-size:clamp(32px,9.3vw,58px);}
 .platform-board#platform-workflow, .company-image {margin-top:48px;}
 .plugin-workspace {padding-top:50px;}
}
@media(max-width:360px) {
 .page-hero .bank-hero-surface {padding-left:20px;padding-right:20px;min-height:720px;}
}

/* The supplied films fill the home hero; their native image stays unwashed. */
.page-home .page-hero .bank-hero-surface {background:#163e4b;}
.page-home .page-hero .serenox-hero-image {inset:-6% 0;width:100%;height:112%;mask-image:none;-webkit-mask-image:none;}
.hero-video-poster {display:block;width:100%;height:100%;}
.hero-background-video {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:66% center;opacity:0;transition:opacity .35s ease;pointer-events:none;}
.hero-background-video.is-visible {opacity:1;}
.page-home .page-hero .hero-copy h1,.page-home .page-hero .hero-copy .accent-word,.page-home .page-hero .hero-copy p {color:#fff;text-shadow:0 1px 3px #0009,0 3px 20px #0006;}
.page-home .page-hero .hero-copy p {font-weight:400;}
@media(max-width:800px) {
 .page-home .page-hero .bank-hero-surface {height:calc(100svh - 24px);min-height:720px;padding:140px 26px 100px;align-items:flex-start;}
 .page-home .page-hero .serenox-hero-image {inset:-3% 0;height:106%;}
 .page-home .page-hero .serenox-hero-image img,.hero-background-video {object-position:center center;}
 .page-home .page-hero .hero-copy h1 {font-size:clamp(36px,10.3vw,64px);line-height:1.06;}
 .page-home .page-hero .hero-copy p {max-width:330px;font-size:16px;}
}
@media(max-width:360px) {.page-home .page-hero .bank-hero-surface{padding-left:20px;padding-right:20px;}}
@media(prefers-reduced-motion:reduce) {.hero-background-video{transition:none;}}

/* Product marks stay as crisp interface elements over the liquid film. */
.ai-providers {display:flex;align-items:center;gap:30px;margin:0 0 30px;color:#151515;}
.ai-providers>span {display:inline-flex;align-items:center;gap:10px;font-size:21px;line-height:1.2;letter-spacing:-.02em;}
.ai-providers img {display:block;object-fit:contain;flex:none;}
.page-hero-plugin .hero-background-video {object-position:center;}
.page-hero-plugin .hero-copy .accent-word {color:#444;}
@media(max-width:800px) {.ai-providers{gap:24px;margin-bottom:25px;}.ai-providers>span{font-size:19px;}.ai-providers img{width:36px;height:36px;}.page-hero-plugin .hero-copy h1{font-size:clamp(35px,9.8vw,61px);}}
/* Text contrast is local to the letters; photographs retain their full color. */
.page-hero-platform .hero-copy h1,.page-hero-platform .hero-copy .accent-word,.page-hero-platform .hero-copy p {color:#151515;}
.page-hero-capabilities .hero-copy h1,.page-hero-capabilities .hero-copy .accent-word,.page-hero-capabilities .hero-copy p {color:#fff;text-shadow:0 1px 3px #0006;}
.page-hero-capabilities .serenox-hero-image::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,20,27,.44),rgba(8,20,27,.14));pointer-events:none;}
