/* Visual repair for restored MindFlow pages. Preserve the original brand palette.
   Editorial reconstructions are not claims of original historic page layouts. */
@font-face{font-family:Geist;src:url('/assets/fonts/Geist-Variable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:'Geist Mono';src:url('/assets/fonts/GeistMono-Variable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--mrv-ink:#131b3b;--mrv-navy:#282968;--mrv-blue:#149bd0;--mrv-cyan:#08afd2;--mrv-soft:#f4f7fc;--mrv-line:#e0e7f0;--mrv-muted:#596884}
html{scroll-padding-top:96px}
body{overflow-x:hidden;font-family:Geist,system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important}
/* Brand: icon is CROPPED at native resolution from original approved bitmap;
   new wordmark is crisp text, not a recreated or invented logo illustration. */
.mf-header-v2>.mf-brand,.mf-footer .mf-brand{display:inline-flex!important;align-items:center!important;gap:6px;overflow:visible!important;min-width:138px}
.mf-brand .mf-approved-mark{display:block;flex:0 0 54px;width:54px;height:43px;background-image:url('/brand/mindflow-logo-hd.png');background-size:96.58px 43px;background-repeat:no-repeat;background-position:0 0}
.mf-brand .mf-approved-word{display:inline-block;flex:0 0 auto;font-size:12px;font-weight:900;line-height:1.1;letter-spacing:.11em;color:#087fc0;font-family:Geist,'Arial',sans-serif;white-space:nowrap}
.mf-footer .mf-brand{margin-bottom:6px}
.mf-header-v2 .mf-brand:hover,.mf-footer .mf-brand:hover{filter:none}
/* Strong navigation layering without covering pages when the menu is closed */
.mf-header-v2{position:sticky;top:0;z-index:3000;background:rgba(255,255,255,.98);backdrop-filter:blur(14px);box-shadow:0 2px 22px rgba(14,26,64,.025)}
.mf-header-v2 .mf-mega-menu{z-index:3010}
.mf-header-v2 .mf-nav-solutions:not([open])>.mf-mega-menu{display:none}
/* Inner-page first screen: same visual language as home page hero */
body.mf-branded-inner>.page-top{position:relative;overflow:hidden;padding:clamp(70px,7vw,114px) 0 clamp(65px,6vw,100px)!important;border:0;background:radial-gradient(circle at 79% 35%,rgba(10,170,219,.18),transparent 27%),linear-gradient(118deg,#27286d 0%,#1b2454 61%,#0f3156 100%)!important;color:#fff;isolation:isolate}
body.mf-branded-inner>.page-top:before{content:'';position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:76px 76px;mask-image:linear-gradient(to left,#000,transparent 65%);opacity:.45}
body.mf-branded-inner>.page-top:after{content:'';position:absolute;width:clamp(280px,40vw,620px);height:clamp(280px,40vw,620px);right:-7%;top:50%;transform:translateY(-50%);border:1px solid rgba(98,201,255,.24);border-radius:50%;box-shadow:0 0 0 58px rgba(66,139,228,.025),0 0 0 118px rgba(79,171,232,.018),inset 0 0 70px rgba(10,164,226,.055);pointer-events:none;z-index:-1}
body.mf-branded-inner>.page-top .wrap{position:relative;z-index:1}
body.mf-branded-inner>.page-top .breadcrumb,body.mf-branded-inner>.page-top .breadcrumb a{color:#8cddf0!important;font-weight:750;letter-spacing:.09em;text-transform:uppercase;font-size:11px}
body.mf-branded-inner>.page-top h1{color:#fff!important;font-weight:850!important;letter-spacing:-.06em!important;font-size:clamp(42px,5.8vw,83px)!important;line-height:1.045!important;max-width:min(950px,83%)!important;margin:18px 0 23px!important;text-wrap:balance}
body.mf-branded-inner>.page-top h1:after{content:'';display:block;width:64px;height:5px;border-radius:10px;background:#0ec1e3;margin-top:27px}
body.mf-branded-inner>.page-top p.lead{color:#cbd8ed!important;max-width:810px;font-size:clamp(17px,1.6vw,22px);line-height:1.62;margin-top:5px}
body.mf-branded-inner .page-top .mf-page-badge{display:inline-block;padding:7px 12px;border:1px solid rgba(255,255,255,.22);border-radius:30px;color:#b6ebff;background:rgba(255,255,255,.06);font-size:11px;font-weight:850;letter-spacing:.06em;margin-top:18px}
/* Inner content and editorial sections */
body.mf-branded-inner{background:#f4f7fc;color:var(--mrv-ink)}
body.mf-branded-inner>.section{border-top:0}
body.mf-branded-inner>.section>.wrap>.article,body.mf-branded-inner>.wrap>.article{max-width:1140px;width:100%;margin:0 auto;padding:clamp(40px,6vw,90px) 0}
body.mf-branded-inner .article>.meta{margin-bottom:24px}
body.mf-branded-inner .article>.meta .pill{padding:10px 17px}
body.mf-branded-inner .article>.article-body{line-height:1.83}
body.mf-branded-inner .article>.article-body h2{scroll-margin-top:105px}
body.mf-branded-inner .article>.article-body figure{background:#fff;border:1px solid var(--mrv-line);padding:15px;border-radius:22px;margin:40px 0}
body.mf-branded-inner .article>.article-body figure img{display:block;width:100%;object-fit:contain;margin:0;max-height:560px}
body.mf-branded-inner .article>.article-body figure figcaption{padding:14px 8px 4px;color:var(--mrv-muted);font-size:13px}
/* Existing new editorial pages: engaging hierarchy, no manufactured stock images */
body.mf-branded-inner .mf-editorial{max-width:1160px!important;width:100%;margin:0 auto;padding:clamp(35px,5vw,72px) 0 clamp(30px,5vw,78px)!important}
body.mf-branded-inner .mf-editorial-lead,body.mf-branded-inner .mf-indexed-recovery .mf-entry{font-size:clamp(20px,2.15vw,29px)!important;font-weight:550;line-height:1.55!important;max-width:1050px;margin:0 0 34px!important;letter-spacing:-.025em;color:#15234b}
body.mf-branded-inner .mf-editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:30px 0 45px!important}
body.mf-branded-inner .mf-editorial-cell{position:relative;background:#fff;border:1px solid #dee6f2;border-radius:23px;box-shadow:0 15px 35px rgba(16,28,72,.035);padding:34px 30px 36px!important;min-width:0;transition:transform .2s,border-color .2s}
body.mf-branded-inner .mf-editorial-grid>.mf-editorial-cell:last-child:nth-child(odd){grid-column:auto!important}
body.mf-branded-inner .mf-editorial-cell:hover{transform:translateY(-3px);border-color:#9fcbe9}
body.mf-branded-inner .mf-editorial-cell:before{display:grid;place-items:center;width:46px;height:46px;margin-bottom:23px;border-radius:14px;background:#e4f6ff;color:#047eb8;font-weight:900;font-size:14px;content:'01'}
body.mf-branded-inner .mf-editorial-cell:nth-child(2):before{content:'02';background:#edebff;color:#4540a0}
body.mf-branded-inner .mf-editorial-cell:nth-child(3):before{content:'03'}
body.mf-branded-inner .mf-editorial-cell h2{font-size:clamp(19px,2vw,25px)!important;line-height:1.2;color:#172252;letter-spacing:-.04em;margin:0 0 16px!important}
body.mf-branded-inner .mf-editorial-cell p{font-size:15px;line-height:1.74!important;color:#556583;margin:0!important}
body.mf-branded-inner .mf-details-heading{font-size:clamp(25px,3.5vw,42px);font-weight:850;letter-spacing:-.055em;margin:0 0 26px;color:#1a2758}
body.mf-branded-inner .mf-editorial-steps{margin:0!important;border:0!important;background:linear-gradient(115deg,#24275f,#18244d)!important;color:#fff;border-radius:27px;padding:clamp(27px,4.2vw,54px)!important;box-shadow:0 24px 48px rgba(27,32,87,.14)}
body.mf-branded-inner .mf-editorial-steps h2{font-size:clamp(28px,3vw,42px)!important;line-height:1.13;color:#fff!important;letter-spacing:-.04em;margin:0 0 30px!important}
body.mf-branded-inner .mf-editorial-steps ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px;row-gap:22px;padding-left:25px;line-height:1.65;color:#e1e9f9;font-size:16px}
body.mf-branded-inner .mf-editorial-steps li{padding-left:5px}
body.mf-branded-inner .mf-editorial-steps li::marker{color:#37c6ee;font-weight:900}
body.mf-branded-inner .mf-editorial-actions{margin-top:30px;gap:14px}
body.mf-branded-inner .mf-editorial-primary{background:#09a5d4!important;color:#fff!important;box-shadow:0 13px 22px rgba(9,165,212,.16)}
body.mf-branded-inner .mf-editorial-secondary{color:#272b6a!important}
body.mf-branded-inner .mf-editorial-article-section{padding:30px 35px!important;background:#fff;border:1px solid #e1e9f3!important;border-radius:18px;margin:0 0 16px!important;box-shadow:0 8px 25px rgba(14,28,75,.027)}
body.mf-branded-inner .mf-editorial-article-section h2{color:#18235a!important;font-size:clamp(22px,2.3vw,31px)!important;margin:0 0 12px!important}
body.mf-branded-inner .mf-editorial-article-section p{color:#52627c;font-size:16px;line-height:1.75}
/* Manually repaired pages (analytics, telephony, distribution) */
body.mf-branded-inner .mf-indexed-recovery{max-width:1100px!important}
body.mf-branded-inner .mf-indexed-recovery .mf-chapter{border-radius:18px;background:#fff;border:1px solid #e1e7f2!important;padding:27px 34px!important;margin:0 0 14px!important}
body.mf-branded-inner .mf-indexed-recovery .mf-chapter h2{font-size:clamp(23px,2.5vw,34px);color:#142152}
body.mf-branded-inner .mf-sd-content{max-width:1120px}
body.mf-branded-inner .mf-sd-restored .mf-sd-card{background:#fff;box-shadow:0 8px 20px rgba(14,27,74,.035)}
/* Real company cases: never substitute missing client images */
.mf-proof-projects{position:relative;overflow:hidden;background:#fff;border-top:1px solid #e2eaf3;padding:clamp(62px,7vw,110px) 0}
.mf-proof-projects>.wrap{width:min(1200px,calc(100% - 64px));margin:auto}
.mf-proof-projects .mf-proof-topline{font-size:11px;color:#088ac5;font-weight:900;letter-spacing:.15em;text-transform:uppercase;margin-bottom:16px}
.mf-proof-projects .mf-proof-heading{font-size:clamp(31px,4.2vw,54px);font-weight:850;letter-spacing:-.06em;line-height:1.08;margin:0 0 39px;max-width:860px;color:#172148}
.mf-proof-projects .mf-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.mf-proof-projects .mf-proof-card{display:block;overflow:hidden;text-decoration:none;background:#f4f7fb;border:1px solid #e0e8f2;border-radius:20px;transition:transform .2s,box-shadow .2s}
.mf-proof-projects .mf-proof-card:hover{transform:translateY(-4px);box-shadow:0 20px 35px rgba(10,25,65,.1)}
.mf-proof-projects .mf-proof-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}
.mf-proof-projects .mf-proof-text{padding:23px 22px 27px}
.mf-proof-projects .mf-proof-label{display:block;font-size:11px;letter-spacing:.08em;color:#0089bc;font-weight:850;margin-bottom:10px;text-transform:uppercase}
.mf-proof-projects .mf-proof-card h3{font-size:21px;line-height:1.18;letter-spacing:-.025em;color:#16224d;margin:0 0 15px}
.mf-proof-projects .mf-proof-link{font-size:13px;font-weight:800;color:#0887be}
/* Keep client names visible when original third-party logos were lost. */
.client-proof .client-logo{position:relative;min-height:108px}
.client-proof .mf-client-text-logo{font-size:clamp(13px,1.22vw,19px);font-weight:900;letter-spacing:.035em;line-height:1.25}
.client-proof .client-logo.dark .mf-client-text-logo{color:#fff}
.founder-orbit{border-color:rgba(255,255,255,.3)}
.founder-orbit>div:before{content:'ВК';display:grid;place-items:center;width:66px;height:66px;border-radius:20px;margin:0 auto 15px;background:linear-gradient(125deg,#29aaca,#4842a3);font-size:21px;font-weight:900;color:#fff}
.founder-orbit>div:last-child:before{content:'СК';background:linear-gradient(125deg,#4549a9,#1787c4)}
/* Prevent floating CTA being clipped on pages with transformed ancestors */
a.floating-chat{right:20px!important;left:auto!important;bottom:20px!important;z-index:400!important;transform:none!important}
@media(max-width:920px){body.mf-branded-inner>.page-top h1{max-width:95%!important}body.mf-branded-inner .mf-editorial-grid{grid-template-columns:1fr 1fr}.mf-proof-projects .mf-proof-grid{grid-template-columns:1fr 1fr}.mf-proof-projects .mf-proof-card:last-child{grid-column:1/-1}}
@media(max-width:700px){.mf-header-v2>.mf-brand{min-width:124px!important}.mf-brand .mf-approved-mark{flex-basis:46px;width:46px;height:40px;background-size:89.84px 40px}.mf-brand .mf-approved-word{font-size:11px;letter-spacing:.07em}body.mf-branded-inner>.page-top{padding:58px 0 58px!important}body.mf-branded-inner>.page-top h1{font-size:clamp(35px,9vw,49px)!important;max-width:100%!important}body.mf-branded-inner>.page-top:after{right:-55%}body.mf-branded-inner .mf-editorial-grid,body.mf-branded-inner .mf-editorial-steps ol,.mf-proof-projects .mf-proof-grid{grid-template-columns:1fr}body.mf-branded-inner .mf-editorial-cell{padding:25px!important}body.mf-branded-inner .mf-editorial-article-section{padding:23px!important}.mf-proof-projects>.wrap{width:calc(100% - 32px)}.mf-proof-projects .mf-proof-card:last-child{grid-column:auto}.mf-proof-projects .mf-proof-card img{aspect-ratio:16/8}body.mf-branded-inner>.section>.wrap>.article,body.mf-branded-inner>.wrap>.article{padding:30px 0}}
@media(prefers-reduced-motion:reduce){.mf-proof-projects .mf-proof-card,.mf-editorial-cell{transition:none!important}}

/* MINDFLOW_BRANDBOOK_ORIGINAL_20261104 */
/* Original complete artwork; no reconstructed lettering or cropped symbol. */
.mf-header-v2>.mf-brand,.mf-footer .mf-brand{display:inline-flex!important;gap:0!important;min-width:164px!important;align-items:center!important;overflow:visible!important}
.mf-brand .mf-approved-mark{display:block!important;flex:0 0 164px!important;width:164px!important;height:69px!important;background-image:url('/brand/mindflow-logo-brandbook-header.png')!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important}
.mf-brand .mf-approved-word{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
@media(max-width:700px){.mf-header-v2>.mf-brand{min-width:137px!important}.mf-brand .mf-approved-mark{flex:0 0 137px!important;width:137px!important;height:58px!important;background-size:contain!important}}
