/* Rahmat block pages: extends cash.css. Mobile first; 700 / 1050 px breakpoints. */
.blk-page{--blk-paper:#f6f5f1;--blk-soft:#ecece4;--blk-dark:#232921;--blk-ink:#252822;--blk-muted:#73776b;--blk-line:#dedfd5}
.blk-page main{overflow-x:clip}

/* Themes. Adjacent blocks on the same background share one gap. */
.blk-theme-paper{background:var(--blk-paper)}
.blk-theme-soft{background:var(--blk-soft)}
/* Blocks laid out on the content width (questions, specifications) paint their background edge to edge. */
.cs-wrap.blk-theme-soft{box-shadow:0 0 0 100vmax var(--blk-soft);clip-path:inset(0 -100vmax)}
.blk-theme-dark{background:var(--blk-dark);color:#fff}
.blk-theme-paper+.blk-theme-paper:not(.blk-hero),.blk-theme-soft+.blk-theme-soft,.blk-theme-dark+.blk-theme-dark{padding-top:0}
.blk-hero+.blk-theme-paper{padding-top:50px}
/* Continuations sit tight under their lead block: comparison after solutions,
   the purchase banner after pricing, details after pricing or the banner (same background). */
.blk-solutions.blk-theme-paper:has(+.blk-comparison.blk-theme-paper),.blk-pricing.blk-theme-soft:has(+.blk-promo.blk-theme-soft),.blk-pricing.blk-theme-paper:has(+.blk-promo.blk-theme-paper),.blk-pricing.blk-theme-soft:has(+.blk-disclosure.blk-theme-soft),.blk-promo.blk-theme-soft:has(+.blk-disclosure.blk-theme-soft),.blk-pricing.blk-theme-paper:has(+.blk-disclosure.blk-theme-paper),.blk-promo.blk-theme-paper:has(+.blk-disclosure.blk-theme-paper){padding-bottom:1px}
.blk-theme-dark .cs-eyebrow{color:#a5ac9c}
.blk-theme-dark .cs-lead{color:#adb5a6}
.blk-theme-dark .cs-text-link{color:#fff;border-color:#707965}
.blk-theme-dark .cs-text-link svg{color:#f37c60}
.blk-pad{padding-block:50px}
.blk-after{margin-top:30px;display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.blk-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 22px;margin-top:28px}
.blk-note{font-size:13px;line-height:1.55;color:var(--blk-muted);max-width:760px;margin-top:22px}
.blk-empty,.blk-empty-page,.blk-error{padding:40px 20px;border:1px dashed #c6c8bc;border-radius:20px;color:var(--blk-muted);text-align:center;font-size:14px}
.blk-empty-page{margin-block:calc(var(--cs-header) + var(--cs-subnav) + 40px) 60px}
.blk-error{border-color:var(--cs-red);color:var(--cs-red)}
[data-hidden-block]{opacity:.45;outline:2px dashed #c6c8bc;outline-offset:-8px}

/* Section navigation between pages of a section. */
.blk-subnav a{position:relative;color:#5c6055}
.blk-subnav a[aria-current=page]{color:var(--cs-red)}
.blk-subnav a[aria-current=page]:after{content:'';position:absolute;left:0;right:0;bottom:6px;height:2px;border-radius:2px;background:var(--cs-red)}
.blk-subnav>div{--fade-start:0px;--fade-end:0px;gap:clamp(18px,1.6vw,33px);-webkit-mask-image:linear-gradient(90deg,transparent,#000 var(--fade-start),#000 calc(100% - var(--fade-end)),transparent);mask-image:linear-gradient(90deg,transparent,#000 var(--fade-start),#000 calc(100% - var(--fade-end)),transparent)}
.blk-subnav>div.is-scrolled{--fade-start:40px}
.blk-subnav>div.has-more{--fade-end:40px}
.cash-page .menu-secondary a[aria-current=page]{color:var(--cs-red)}

/* Breadcrumbs. */
.blk-crumbs{margin-bottom:20px}
.blk-crumbs ol{display:flex;flex-wrap:wrap;gap:6px 0;list-style:none;margin:0;padding:0;font-size:12px;line-height:1.4;color:#8a8e80}
.blk-crumbs li{display:flex;align-items:center}
.blk-crumbs li+li:before{content:'/';margin-inline:9px;color:#b9bcae}
.blk-crumbs a{color:#5f6458;border-bottom:1px solid transparent;transition:border-color .2s,color .2s}
.blk-crumbs a:hover{color:var(--cs-red);border-color:currentColor}
.blk-crumbs li[aria-current]{color:var(--blk-ink);font-weight:500}

/* Hero variants. */
.blk-hero-text{padding-bottom:20px}
.blk-hero-text .cs-hero-copy{max-width:980px}
.blk-hero-text h1{max-width:980px}
.blk-hero-text .cs-hero-lead{max-width:640px}
.blk-hero-wide{grid-template-columns:1fr}
.blk-hero-wide .cs-hero-visual{aspect-ratio:.86}
.blk-subpage .cs-hero h1{font-size:clamp(36px,9.6vw,60px)}

.blk-subpage .cs-visual-index{background:#ffffffe6;color:#3f4339;padding:7px 11px;border-radius:20px;letter-spacing:.08em}
.blk-page main p a:not([class]),.blk-page main small a:not([class]){border-bottom:1px solid currentColor;transition:color .2s}
.blk-page main p a:not([class]):hover{color:var(--cs-red)}

/* Product tabs: smooth panel swap. */
.blk-tabs .cs-product-panel[hidden]{display:none!important}
/* Working tabs: the panels share one cell, so the block keeps the height of the tallest panel and the page below does not jump. */
.blk-tabs:has(>[role=tablist]:not([hidden])) .cs-product-panels{display:grid}
.blk-tabs:has(>[role=tablist]:not([hidden])) .cs-product-panel{grid-area:1/1;border-top:0}
.blk-tabs:has(>[role=tablist]:not([hidden])) .cs-product-panel[hidden]{display:grid!important;visibility:hidden}
/* Four tabs on a phone: two rows of two instead of three and a lonely one. */
.cs-product-tabs:has(>:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}

/* Comparison table: horizontal scroll guard on narrow tablets. */
.blk-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.blk-table-scroll table{min-width:100%}

/* Features on light backgrounds. */
.blk-features{padding-block:53px}
.blk-features.blk-theme-dark .cs-benefits article{border-color:#555d4e}
.blk-features:not(.blk-theme-dark) .cs-benefits article{border-color:#d3d5c9}
.blk-features:not(.blk-theme-dark) .cs-feature-icon{color:var(--cs-red)}
.blk-features:not(.blk-theme-dark) .cs-feature-number{color:#9a9e8f}
.blk-features:not(.blk-theme-dark) .cs-benefits p{color:var(--blk-muted)}
.blk-features:not(.blk-theme-dark) .cs-integrations{border-color:#d3d5c9}
.blk-features:not(.blk-theme-dark) .cs-integrations p{color:var(--blk-muted)}
.blk-features:not(.blk-theme-dark) .cs-integrations .cs-text-link{color:var(--blk-ink);border-color:#bfc1b5}
.blk-features.blk-cols-2 .cs-benefits,.blk-features.blk-cols-3 .cs-benefits{grid-template-columns:1fr}
.blk-features.blk-theme-dark h2{color:#fff}

/* Pricing on other backgrounds and with descriptions. */
.blk-pricing.blk-theme-paper .cs-price-card{background:#fff}
.blk-pricing .cs-price-card .cs-check-list{align-content:start}
.blk-price-desc{font-size:14px;line-height:1.5;color:var(--blk-muted);margin:-14px 0 22px}

/* Promo and disclosure as standalone blocks. */
.blk-promo,.blk-disclosure{padding-block:52px}
.blk-disclosure .cs-service-details{margin-top:0}
.blk-theme-soft+.blk-disclosure.blk-theme-soft,.blk-theme-paper+.blk-disclosure.blk-theme-paper{padding-top:22px}
.blk-disclosure ul li{display:flex;align-items:flex-start;gap:11px;font-size:14px;line-height:1.4}
.blk-promo .cs-purchase-copy>p:not([class]){font-size:15px;line-height:1.45;color:#bfc0c8;max-width:340px}

/* Cases in a grid. */
.blk-cases-grid .cs-cases{display:grid;grid-template-columns:1fr;overflow:visible;margin:0;padding:0}
.blk-cases-grid .cs-case-image{aspect-ratio:1.25}

/* Steps. */
.blk-steps.blk-theme-paper{background:var(--blk-paper)}
.blk-steps.blk-theme-dark{background:var(--blk-dark)}
.blk-steps.blk-theme-dark .cs-steps li{border-color:#555d4e}
.blk-steps.blk-theme-dark .cs-steps li>span{background:#3a4136;color:#d2d7c8}
.blk-steps.blk-theme-dark .cs-steps p{color:#adb5a6}
/* Text and the optional link sit next to the step number on phones. */
.cs-steps li>p,.cs-steps li>.cs-text-link{grid-column:2}
/* Steps with pictures stack (picture, number, title, text) at every width. */
.blk-steps-media .cs-steps li{display:block}
.blk-steps-media .cs-steps li>span{display:grid;margin-bottom:16px}
.blk-steps-media .cs-steps h3{margin:0 0 10px}
.blk-step-image{margin:0 0 18px;border-radius:20px;overflow:hidden;background:#e1e0d6;aspect-ratio:1.35}
.blk-step-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.blk-steps-media li:hover .blk-step-image img{transform:scale(1.03)}
.blk-steps .cs-text-link{margin-top:14px}

/* FAQ answers with rich text. */
.blk-answer{padding:0 20px 23px 0;font-size:15px;line-height:1.55;color:#6d7564}
.blk-answer p+p,.blk-answer p+ul,.blk-answer ul+p{margin-top:12px}
.blk-answer ul,.blk-answer ol{margin:10px 0 0;padding-left:20px;display:grid;gap:8px}
.blk-answer a{color:var(--blk-ink);border-bottom:1px solid #bfc1b5}

/* Resource links and closing spacing. */
.blk-links{padding-top:45px}
.blk-links a[aria-current=page]{color:var(--cs-red);border-color:var(--cs-red)}
.blk-closing{padding-top:50px}

/* Text + image. */
.blk-split{padding-block:50px}
.blk-split-grid{display:grid;gap:28px;align-items:center}
.blk-split-media{position:relative;margin:0;border-radius:24px;overflow:hidden;background:#e5e2d8;aspect-ratio:1.1}
.blk-split-media.blk-ratio-tall{aspect-ratio:.82}
.blk-split-media.blk-ratio-wide{aspect-ratio:1.5}
.blk-split-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.blk-split-copy h2{font-size:clamp(30px,8vw,44px);line-height:1.09;white-space:pre-line;margin:15px 0 0}
.blk-split-copy .blk-prose{margin-top:20px}
.blk-split-copy .cs-check-list{margin-bottom:0}
.blk-theme-dark .blk-split-copy .blk-prose{color:#c5ccbd}

/* Long-form text. */
.blk-prose{font-size:16px;line-height:1.6;color:#5f6458;max-width:720px}
.blk-prose>*+*{margin-top:14px}
.blk-prose h3,.blk-prose h4{font-family:Gilroy,Arial,sans-serif;font-weight:600;letter-spacing:-.025em;color:var(--blk-ink);line-height:1.2}
.blk-prose h3{font-size:22px;margin-top:30px}
.blk-prose h4{font-size:18px;margin-top:24px}
.blk-prose>h3:first-child,.blk-prose>h4:first-child{margin-top:0}
.blk-prose ul,.blk-prose ol{padding-left:0;list-style:none;display:grid;gap:10px}
.blk-prose ul li{position:relative;padding-left:22px}
.blk-prose ul li:before{content:'';position:absolute;left:2px;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--cs-red)}
.blk-prose ol{counter-reset:item}
.blk-prose ol li{counter-increment:item;position:relative;padding-left:34px}
.blk-prose ol li:before{content:counter(item,decimal-leading-zero);position:absolute;left:0;top:.1em;font-size:12px;font-weight:600;color:var(--cs-red)}
.blk-prose a{color:var(--blk-ink);border-bottom:1px solid #bfc1b5;transition:color .2s,border-color .2s}
.blk-prose a:hover{color:var(--cs-red);border-color:var(--cs-red)}
.blk-prose strong{color:var(--blk-ink);font-weight:600}
.blk-prose blockquote{margin:0;padding:18px 20px;border-left:3px solid var(--cs-red);background:#fff9;border-radius:0 14px 14px 0;color:var(--blk-ink)}
.blk-theme-dark .blk-prose{color:#c5ccbd}
.blk-theme-dark .blk-prose h3,.blk-theme-dark .blk-prose h4,.blk-theme-dark .blk-prose strong,.blk-theme-dark .blk-prose a{color:#fff}
.blk-rich-grid{display:grid;gap:22px}
.blk-rich-head h2{font-size:clamp(30px,8vw,44px);line-height:1.09;white-space:pre-line;margin:15px 0 0}
.blk-rich-body{display:grid;gap:26px}
.blk-aside{background:#ecebe4;border-radius:20px;padding:22px;font-size:14px;line-height:1.55;color:#5f6458;align-self:start}
.blk-theme-soft .blk-aside{background:#f6f5f1}
.blk-aside .blk-prose,.blk-aside p{font-size:14px}
.blk-aside>*+*{margin-top:14px;padding-top:14px;border-top:1px solid #dcddd2}
.blk-aside strong{display:block;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#8a8e80;margin-bottom:2px}

/* Specifications. */
.blk-specs-grid{display:grid;gap:26px}
.blk-specs-image{margin:0;border-radius:24px;overflow:hidden;background:#ecebe4;aspect-ratio:1}
.blk-specs-image img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.blk-specs-image:hover img{transform:scale(1.04) rotate(-1deg)}
.blk-specs-groups{display:grid;gap:26px}
.blk-spec-group h3{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:#8a8e80;font-family:Gilroy,Arial,sans-serif;margin-bottom:6px}
.blk-spec-group dl{margin:0}
.blk-spec-group dl>div{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;padding:15px 0;border-bottom:1px solid var(--blk-line);font-size:14px;line-height:1.45}
.blk-spec-group dt{color:var(--blk-muted)}
.blk-spec-group dd{margin:0;font-weight:500;overflow-wrap:anywhere}

/* Documents. */
.blk-doc-group+.blk-doc-group{margin-top:38px}
.blk-doc-head{display:grid;gap:8px;margin-bottom:16px}
.blk-doc-head h3{font-size:22px;line-height:1.2;letter-spacing:-.025em}
.blk-doc-head p{font-size:14px;line-height:1.5;color:var(--blk-muted);max-width:640px}
.blk-doc-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.blk-doc-list a,.blk-doc-list li>div{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:15px;padding:12px 14px 12px 12px;border-radius:18px;background:#fff;border:1px solid #e3e4da;transition:border-color .2s,transform .25s,box-shadow .25s}
.blk-doc-list a:hover{border-color:var(--cs-red);transform:translateY(-2px);box-shadow:0 12px 30px -18px #3a2a1a55}
.blk-doc-icon,.blk-doc-thumb{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;background:#f3e7e2;color:var(--cs-red);overflow:hidden}
.blk-doc-icon svg{width:23px;height:23px}
.blk-doc-thumb img{width:100%;height:100%;object-fit:cover}
.blk-doc-copy{display:grid;gap:4px;min-width:0}
.blk-doc-copy strong{font-size:14px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}
.blk-doc-copy small{font-size:12px;color:#8a8e80}
.blk-doc-action{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f2f1ec;color:var(--blk-ink);transition:background .2s,color .2s}
.blk-doc-action svg{width:18px;height:18px}
.blk-doc-list a:hover .blk-doc-action{background:var(--cs-red);color:#fff}

/* Contacts. */
.blk-contact-grid{display:grid;gap:12px}
.blk-contact-card{position:relative;display:grid;gap:6px;padding:84px 22px 22px;border-radius:22px;background:#ecebe4;min-height:150px;align-content:end;transition:background .25s,transform .25s,color .25s}
.blk-contact-card .blk-contact-icon{position:absolute;top:20px;left:22px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--cs-red)}
.blk-contact-icon svg{width:21px;height:21px}
.blk-contact-label{font-size:12px;color:#7d8174}
.blk-contact-card strong{font-size:24px;line-height:1.15;font-weight:600;letter-spacing:-.03em;overflow-wrap:anywhere}
.blk-contact-card small{font-size:13px;line-height:1.4;color:#7d8174}
.blk-contact-arrow{position:absolute;right:20px;top:22px;color:var(--cs-red)}
.blk-contact-arrow svg{width:20px;height:20px}
a.blk-contact-card:hover{background:var(--cs-red);color:#fff;transform:translateY(-3px)}
a.blk-contact-card:hover .blk-contact-label,a.blk-contact-card:hover small,a.blk-contact-card:hover .blk-contact-arrow{color:#fff}
.blk-offices{display:grid;gap:14px;margin-top:22px}
.blk-office{display:grid;border-radius:22px;overflow:hidden;background:#fff;border:1px solid #e3e4da}
.blk-office img{width:100%;aspect-ratio:1.6;object-fit:cover}
.blk-office>div{padding:22px;display:grid;gap:12px}
.blk-office h3{font-size:21px;line-height:1.2;letter-spacing:-.025em;margin-bottom:4px}
.blk-office-row{display:flex;gap:11px;align-items:flex-start;font-size:14px;line-height:1.45;color:#5f6458}
.blk-office-row svg{width:18px;height:18px;flex:none;color:var(--cs-red);margin-top:1px}
.blk-office-row span{white-space:pre-line}
.blk-office-phones{display:grid;gap:4px;white-space:normal!important}
@media(max-width:699px){.blk-office>div{padding:18px;gap:9px}.blk-office h3{font-size:19px}}
.blk-office .cs-text-link{margin-top:4px}

/* Stats. */
.blk-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}
.blk-stat{display:grid;align-content:start;gap:8px;border-top:1px solid var(--blk-line);padding-top:20px}
.blk-stat strong{font-size:clamp(36px,10vw,64px);line-height:1;font-weight:500;letter-spacing:-.05em;color:var(--cs-red);font-variant-numeric:tabular-nums}
.blk-stat span{font-size:14px;font-weight:600;line-height:1.3}
.blk-stat p{font-size:13px;line-height:1.5;color:var(--blk-muted)}
.blk-theme-dark .blk-stat{border-color:#555d4e}
.blk-theme-dark .blk-stat strong{color:#fff}
.blk-theme-dark .blk-stat p{color:#adb5a6}

/* Logos. */
.blk-logo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.blk-logo{display:grid;align-content:start;gap:8px;padding:18px;border-radius:20px;background:#fff;border:1px solid #e3e4da;min-height:100%;transition:border-color .2s,transform .25s,box-shadow .25s}
a.blk-logo:hover{border-color:var(--cs-red);transform:translateY(-2px);box-shadow:0 14px 30px -20px #3a2a1a66}
.blk-logo-mark{height:52px;display:flex;align-items:center}
.blk-logo-mark img{max-height:44px;max-width:100%;width:auto;object-fit:contain;object-position:left center;filter:grayscale(1);opacity:.85;transition:filter .3s,opacity .3s}
.blk-logo-text strong{font-size:18px;letter-spacing:-.02em}
.blk-logo:hover .blk-logo-mark img{filter:none;opacity:1}
.blk-logo-mark b{font-size:19px;font-weight:700;letter-spacing:-.03em;color:var(--blk-ink)}
.blk-logo strong{font-size:15px;font-weight:600;line-height:1.25}
.blk-logo small{font-size:12px;line-height:1.45;color:var(--blk-muted)}
.blk-marquee{display:flex;overflow:hidden;gap:12px;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.blk-marquee-track{display:flex;gap:12px;flex:none;animation:blk-marquee 38s linear infinite}
.blk-marquee:hover .blk-marquee-track{animation-play-state:paused}
.blk-marquee .blk-logo{min-width:170px;place-items:center;padding:14px 22px}
@keyframes blk-marquee{to{transform:translateX(calc(-100% - 12px))}}

/* Cards. */
.blk-card-grid{display:grid;gap:14px}
.blk-card{display:flex;flex-direction:column;border-radius:24px;overflow:hidden;background:#fff;border:1px solid #e3e4da;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s,border-color .3s}
.blk-card:hover{transform:translateY(-4px);box-shadow:0 22px 40px -28px #3a2a1a70;border-color:#d4d5ca}
.blk-card-image{aspect-ratio:1.25;overflow:hidden;background:linear-gradient(160deg,#efeee8,#e2e0d6)}
.blk-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.blk-card:hover .blk-card-image img{transform:scale(1.05)}
.blk-card-body{padding:22px;display:flex;flex-direction:column;gap:10px;flex:1}
.blk-card-body .cs-eyebrow{color:#8a8e80}
.blk-card h3{font-size:22px;line-height:1.18;letter-spacing:-.03em}
.blk-card h3 a:after{content:'';position:absolute;inset:0}
.blk-card{position:relative}
.blk-card-body>p{font-size:14px;line-height:1.55;color:var(--blk-muted)}
.blk-card .cs-check-list{margin:6px 0 0;gap:9px}
.blk-card .cs-check-list li{font-size:13px}
.blk-card-foot{margin-top:auto;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #ecece4}
.blk-card-foot strong{font-size:18px;font-weight:600;letter-spacing:-.02em}
.blk-card-more{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600}
.blk-card-more svg{width:17px;height:17px;color:var(--cs-red);transition:transform .25s}
.blk-card:hover .blk-card-more svg{transform:translate(2px,-2px)}
.blk-cards-plain .blk-card{background:#ecebe4;border-color:transparent}
.blk-theme-soft.blk-cards-plain .blk-card{background:#f6f5f1;border-color:#e0e1d6}
.blk-theme-soft .blk-card{border-color:#e0e1d6}
.blk-theme-dark .blk-card{background:#2d3429;border-color:#3d4539;color:#fff}
.blk-theme-dark .blk-card-body>p{color:#adb5a6}
.blk-theme-dark .blk-card-foot{border-color:#3d4539}

/* Compact two-column catalogue on phones. */
@media(max-width:699px){
 .blk-cards-m2 .blk-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .blk-cards-m2 .blk-card{border-radius:18px}
 .blk-cards-m2 .blk-card-image{aspect-ratio:1}
 .blk-cards-m2 .blk-card-body{padding:13px 12px 14px;gap:6px}
 .blk-cards-m2 .blk-card-body .cs-eyebrow{font-size:9px;letter-spacing:.08em}
 .blk-cards-m2 .blk-card h3{font-size:16px;line-height:1.2}
 .blk-cards-m2 .blk-card-body>p{font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
 .blk-cards-m2 .blk-card .cs-check-list{display:none}
 .blk-cards-m2 .blk-card-foot{flex-direction:column;align-items:flex-start;gap:6px;padding-top:10px}
 .blk-cards-m2 .blk-card-foot strong{font-size:14px}
 .blk-cards-m2 .blk-card-more{font-size:12px}
}

/* Video. */
.blk-video-frame{position:relative;margin:0;border-radius:24px;overflow:hidden;background:#1d211c;aspect-ratio:16/9}
.blk-video-frame>img,.blk-video-frame>iframe,.blk-video-frame>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0}
.blk-video-tall{aspect-ratio:9/16;max-width:min(380px,calc(80vh * 9 / 16));margin-inline:auto}
.blk-video-frame>video{object-fit:contain;background:#000}
.blk-video-play{position:absolute;inset:0;margin:auto;width:76px;height:76px;border-radius:50%;border:0;background:var(--cs-red);color:#fff;display:grid;place-items:center;box-shadow:0 0 0 0 #f73b2066;animation:blk-pulse 2.4s infinite;transition:transform .25s}
.blk-video-play:hover{transform:scale(1.07)}
.blk-video-play svg{width:38px;height:38px}
.blk-video-frame figcaption{position:absolute;left:16px;bottom:16px;background:#ffffffed;padding:8px 12px;border-radius:20px;font-size:11px;font-weight:600}
@keyframes blk-pulse{70%{box-shadow:0 0 0 22px #f73b2000}100%{box-shadow:0 0 0 0 #f73b2000}}

/* Notice. */
.blk-notice-wrap{padding-block:26px 50px}
.blk-notice{display:grid;gap:16px;padding:24px;border-radius:24px;background:#ecebe4}
.blk-notice-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--cs-red)}
.blk-notice-icon svg{width:22px;height:22px}
.blk-notice h3{font-size:22px;line-height:1.2;letter-spacing:-.03em;margin-bottom:10px}
.blk-notice .blk-prose{font-size:15px}
.blk-notice .cs-button{justify-self:start}
.blk-tone-red{background:var(--cs-red);color:#fff}
.blk-tone-red .blk-notice-icon{color:var(--cs-red)}
.blk-tone-ink{background:#20212d;color:#fff}
.blk-tone-red .blk-prose,.blk-tone-ink .blk-prose{color:#ffffffd6}
.blk-tone-red .blk-prose a,.blk-tone-ink .blk-prose a,.blk-tone-red .blk-prose strong,.blk-tone-ink .blk-prose strong{color:#fff;border-color:#ffffff80}

/* Divider: a spacer of the chosen height with an optional line in the content column.
   It takes the background of the block above (blocks.js reads backgrounds outside the themes);
   the inline custom properties carry height, thickness and a chosen colour. */
.blk-divider{--blk-divider-c:#cfd1c4;display:flex;align-items:center;min-height:var(--blk-divider-h,64px)}
.blk-theme-paper+.blk-divider,.blk-theme-paper+.blk-divider+.blk-divider{background:var(--blk-paper)}
.blk-theme-soft+.blk-divider,.blk-theme-soft+.blk-divider+.blk-divider{background:var(--blk-soft);--blk-divider-c:#c1c3b5}
.blk-theme-dark+.blk-divider,.blk-theme-dark+.blk-divider+.blk-divider{background:var(--blk-dark);--blk-divider-c:#4f5749}
.blk-divider.is-on-dark{--blk-divider-c:#4f5749}
.blk-divider>.cs-wrap{flex:1}
.blk-divider-line{--w:var(--blk-divider-w,1px);display:block;height:var(--w);background:var(--blk-divider-c)}
.blk-divider-none .blk-divider-line{display:none}
.blk-divider-dashed .blk-divider-line{background:linear-gradient(90deg,var(--blk-divider-c) 0 57%,#0000 0) 0 0/calc(var(--w) * 7 + 10px) 100% round}
.blk-divider-dotted .blk-divider-line{--dot:max(var(--w),2px);height:var(--dot);background:radial-gradient(circle closest-side,var(--blk-divider-c) calc(100% - .6px),#0000 100%) 0 50%/calc(var(--dot) * 3) var(--dot) round no-repeat}
.blk-divider-double .blk-divider-line{height:calc(var(--w) * 2 + max(var(--w) * 2,3px));background:linear-gradient(var(--blk-divider-c) 0 0) top/100% var(--w) no-repeat,linear-gradient(var(--blk-divider-c) 0 0) bottom/100% var(--w) no-repeat}
/* In the admin preview an empty spacer stays visible as light hatching. */
.blk-preview .blk-divider-none{background-image:repeating-linear-gradient(-45deg,#0000 0 7px,#8a8f8030 7px 8px)}
.blk-tone-red .blk-prose ul li:before{background:#fff}

/* Draft banner and admin shortcut. */
.blk-draft-banner{position:fixed;left:50%;top:calc(var(--cs-header) + var(--cs-subnav) + 10px);transform:translateX(-50%);z-index:60;background:#fff4c2;color:#5b4700;border:1px solid #ecd477;border-radius:30px;padding:8px 16px;font-size:12px;font-weight:600;box-shadow:0 8px 24px -14px #0005;max-width:calc(100% - 32px);text-align:center}
.blk-admin-bar{position:fixed;right:16px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:70;display:inline-flex;align-items:center;gap:10px;background:#252822;color:#fff;border-radius:30px;padding:11px 16px;font-size:12px;font-weight:600;box-shadow:0 14px 30px -14px #000a;transition:transform .2s,background .2s}
.blk-admin-bar:hover{transform:translateY(-2px);background:var(--cs-red)}
.blk-admin-bar svg{width:15px;height:15px}

/* Motion: content is visible without JS; blocks.js adds .blk-motion. */
.blk-motion [data-reveal]{opacity:0;transform:translate3d(0,28px,0);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
.blk-motion [data-reveal].is-in{opacity:1;transform:none}
.blk-motion [data-stagger]>*{opacity:0;transform:translate3d(0,26px,0);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
.blk-motion [data-stagger].is-in>*{opacity:1;transform:none}
.blk-motion [data-stagger].is-in>:nth-child(2){transition-delay:.07s}
.blk-motion [data-stagger].is-in>:nth-child(3){transition-delay:.14s}
.blk-motion [data-stagger].is-in>:nth-child(4){transition-delay:.21s}
.blk-motion [data-stagger].is-in>:nth-child(5){transition-delay:.28s}
.blk-motion [data-stagger].is-in>:nth-child(6){transition-delay:.35s}
.blk-motion [data-stagger].is-in>:nth-child(7){transition-delay:.4s}
.blk-motion [data-stagger].is-in>:nth-child(n+8){transition-delay:.45s}
.blk-motion [data-hero-copy]>*{animation:blk-rise .9s cubic-bezier(.2,.7,.2,1) both}
.blk-motion [data-hero-copy]>:nth-child(2){animation-delay:.06s}
.blk-motion [data-hero-copy]>:nth-child(3){animation-delay:.12s}
.blk-motion [data-hero-copy]>:nth-child(4){animation-delay:.18s}
.blk-motion [data-hero-copy]>:nth-child(5){animation-delay:.24s}
.blk-motion [data-hero-copy]>:nth-child(6){animation-delay:.3s}
.blk-motion [data-hero-visual]{animation:blk-unveil 1.2s cubic-bezier(.2,.7,.2,1) both .1s}
.blk-motion [data-hero-visual] img{animation:blk-settle 1.8s cubic-bezier(.2,.7,.2,1) both .1s}

.blk-preview.blk-motion [data-reveal],.blk-preview.blk-motion [data-stagger]>*{opacity:1;transform:none;transition:none}
@keyframes blk-rise{from{opacity:0;transform:translate3d(0,30px,0)}to{opacity:1;transform:none}}
@keyframes blk-unveil{from{clip-path:inset(12% 6% 12% 6% round 40px);opacity:.2}to{clip-path:inset(0 round 0);opacity:1}}
@keyframes blk-settle{from{transform:scale(1.12)}to{transform:scale(1)}}
@keyframes blk-spin{to{transform:rotate(360deg)}}

/* Smooth accordions where supported. */
@supports (interpolate-size:allow-keywords){
 .blk-page{interpolate-size:allow-keywords}
 .blk-page details::details-content{block-size:0;overflow:hidden;transition:block-size .4s cubic-bezier(.2,.7,.2,1),content-visibility .4s allow-discrete}
 .blk-page details[open]::details-content{block-size:auto}
}

@media(min-width:700px){
 .blk-pad{padding-block:75px}
 .blk-hero+.blk-theme-paper{padding-top:75px}
 .blk-hero-text{padding-bottom:30px}
 .blk-hero-wide .cs-hero-visual{aspect-ratio:2.1;grid-column:1/-1;max-height:none}
 .blk-hero-wide .cs-hero-copy{display:grid;grid-template-columns:1.1fr .9fr;gap:20px 50px;align-items:end}
 .blk-hero-wide .cs-hero-copy>.blk-crumbs,.blk-hero-wide .cs-hero-copy>.cs-eyebrow,.blk-hero-wide .cs-hero-copy>h1{grid-column:1}
 .blk-hero-wide .cs-hero-copy>.cs-hero-lead,.blk-hero-wide .cs-hero-copy>.cs-hero-actions,.blk-hero-wide .cs-hero-copy>.cs-hero-tags{grid-column:2}
 .blk-subpage .cs-hero h1{font-size:clamp(42px,5vw,70px)}
 .blk-features{padding-block:75px}
 .blk-features.blk-cols-2 .cs-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
 .blk-features.blk-cols-3 .cs-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}
 .cs-price-grid.blk-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cs-price-grid.blk-count-1{grid-template-columns:1fr}
 .blk-count-1 .cs-price-card{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:min-content;column-gap:56px;padding:34px}
 .blk-count-1 .cs-price-card>*{grid-column:1}
 .blk-count-1 .cs-price-card .cs-check-list{grid-column:2;grid-row:1/span 5;margin:0;padding:0 0 0 56px;border-top:0;border-left:1px solid #dee0d3;align-self:stretch;align-content:center}
 .blk-count-1 .cs-price-card .cs-button{grid-column:2;grid-row:6;margin:26px 0 0 56px;width:auto}
 .cs-price-grid.blk-count-4{grid-template-columns:repeat(2,minmax(0,1fr))}
 .blk-promo,.blk-disclosure{padding-block:75px}
 .blk-cases-grid .cs-cases{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
 .blk-steps.blk-cols-2 .cs-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .blk-steps.blk-cols-4 .cs-steps,.blk-steps.blk-cols-5 .cs-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .blk-links{padding-top:60px}
 .blk-closing{padding-top:75px}
 .blk-split{padding-block:75px}
 .blk-split-grid{grid-template-columns:1fr 1fr;gap:50px}
 .blk-split-reverse .blk-split-media{order:2}
 .blk-split-copy h2,.blk-rich-head h2{font-size:clamp(35px,4.5vw,57px)}
 .blk-rich-grid{grid-template-columns:.8fr 1.2fr;gap:50px}
 .blk-rich-body{grid-template-columns:1fr}
 .blk-prose{font-size:17px}
 .blk-specs-media .blk-specs-grid{grid-template-columns:.85fr 1.15fr;gap:50px;align-items:start}
 .blk-specs-image{position:sticky;top:calc(var(--cs-header) + var(--cs-subnav) + 24px)}
 .blk-specs-groups{grid-template-columns:1fr}
 .blk-spec-group dl>div{font-size:15px;padding:17px 0}
 .blk-doc-group{display:grid;grid-template-columns:.7fr 1.3fr;gap:30px;align-items:start}
 .blk-doc-head{position:sticky;top:calc(var(--cs-header) + var(--cs-subnav) + 24px)}
 .blk-doc-group:not(:has(.blk-doc-head)) .blk-doc-list{grid-column:1/-1}
 .blk-doc-list{grid-template-columns:1fr}
 .blk-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .blk-contact-card{min-height:190px;padding:26px}
 .blk-offices{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .blk-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px}
 .blk-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
 .blk-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .blk-notice{grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:30px 34px}
 .blk-notice .cs-button{justify-self:end}
 .blk-notice-wrap{padding-block:30px 75px}
 .blk-admin-bar{bottom:24px;right:24px}
}
@media(min-width:1050px){
 .blk-pad{padding-block:90px}
 .blk-hero+.blk-theme-paper{padding-top:90px}
 .blk-subpage .cs-hero h1{font-size:clamp(56px,5vw,80px)}
 .blk-features{padding-block:80px}
 .blk-features.blk-cols-3 .cs-benefits{gap:40px}
 .cs-price-grid.blk-count-4{grid-template-columns:repeat(4,minmax(0,1fr))}
 .blk-promo,.blk-disclosure{padding-block:80px}
 .blk-cases-grid .cs-cases{grid-template-columns:repeat(3,minmax(0,1fr))}
 .blk-steps.blk-cols-4 .cs-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
 .blk-steps.blk-cols-5 .cs-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
 .blk-split{padding-block:90px}
 .blk-split-grid{gap:80px}
 .blk-rich-body:has(.blk-aside){grid-template-columns:1fr 300px;gap:40px}
 .blk-doc-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .blk-contact-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .blk-offices{grid-template-columns:repeat(3,minmax(0,1fr))}
 .blk-logo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .blk-cols-3 .blk-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .blk-cols-4 .blk-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .blk-notice-wrap{padding-bottom:90px}
}
/* Balanced grids: an unfinished last row is centred, a short list shares the full width.
   --cols is the column count of the grid at each width, --n the number of items (set by the block). */
.blk-balance{display:flex;flex-wrap:wrap;justify-content:center;--c:min(var(--cols,1),var(--n,99));column-gap:var(--gx,14px);row-gap:var(--gy,var(--gx,14px))}
.blk-balance>*{flex:0 0 calc((100% - (var(--c) - 1) * var(--gx,14px)) / var(--c));max-width:calc((100% - (var(--c) - 1) * var(--gx,14px)) / var(--c));min-width:0}
.cs-benefits.blk-balance{--cols:2;--gx:21px;--gy:28px}
.blk-features.blk-cols-2 .blk-balance,.blk-features.blk-cols-3 .blk-balance{--cols:1}
.blk-card-grid.blk-balance{--cols:1;--gx:14px}
.blk-offices.blk-balance{--cols:1;--gx:14px}
.blk-contact-grid.blk-balance{--cols:1;--gx:12px}
.blk-logo-grid.blk-balance{--cols:2;--gx:10px}
.blk-stats-grid.blk-balance{--cols:2;--gx:18px;--gy:28px}
/* Three figures on a phone read as a column, not two and a lonely third. */
.blk-stats-grid.blk-balance:has(>:nth-child(3):last-child){--cols:1}
@media(max-width:699px){.blk-cards-m2 .blk-card-grid.blk-balance{--cols:2;--gx:10px}}
@media(max-width:359px){.cs-benefits.blk-balance{--gx:15px;--gy:24px}}

/* Instructions: each step is a row with its screenshot shown whole. */
.blk-guide{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.blk-guide-step{display:grid;gap:18px;padding:16px;border-radius:26px;background:#fff;border:1px solid #e3e4da;align-items:center}
.blk-theme-paper .blk-guide-step{background:#fbfaf7}
.blk-theme-dark .blk-guide-step{background:#2b2f27;border-color:#3d4337}
.blk-guide-shot{margin:0;border-radius:18px;background:#efeee8;display:grid;place-items:center;padding:14px;min-height:200px}
.blk-theme-dark .blk-guide-shot{background:#22251f}
.blk-guide-shot img{display:block;max-width:100%;max-height:520px;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 18px 36px -26px #2a201566}
.blk-guide-copy{display:grid;align-content:start;gap:10px;padding:4px 6px 8px}
.blk-guide-num{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--cs-red);color:#fff;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.blk-guide-copy h3{font-size:22px;line-height:1.18;letter-spacing:-.025em;margin:6px 0 0}
.blk-guide-copy p{font-size:15px;line-height:1.6;color:var(--blk-muted);white-space:pre-line;max-width:520px}
.blk-theme-dark .blk-guide-copy h3{color:#fff}
.blk-theme-dark .blk-guide-copy p{color:#c5ccbd}
.blk-guide-text{grid-template-columns:1fr}

/* Article: one comfortable reading column (news, long texts). */
.blk-rich-article .blk-rich-grid{max-width:780px;margin-inline:auto}
.blk-rich-article .blk-rich-head h2{font-size:clamp(28px,6vw,40px)}
.blk-rich-article .blk-prose{font-size:17px;line-height:1.72;max-width:none}
.blk-rich-article .blk-prose h3{margin-top:34px}
.blk-rich-article .blk-prose>h3:first-child{margin-top:0}
/* «По теме» after an article lines up with the article column. */
.blk-rich-article+.blk-links{max-width:calc(780px + var(--gutter) * 2)}
.blk-rich-article .blk-aside{font-size:15px}

/* Split: the picture shown whole (a phone or a screenshot is never cut). */
.blk-split-media.blk-ratio-auto{aspect-ratio:auto;display:grid;place-items:center;padding:clamp(14px,3vw,32px)}
.blk-split-media.blk-ratio-auto img{position:static;width:auto;max-width:100%;height:auto;max-height:640px;object-fit:contain}

@media(min-width:700px){
 .cs-benefits.blk-balance{--gx:36px;--gy:36px}
 .blk-features.blk-cols-2 .blk-balance{--cols:2}
 .blk-features.blk-cols-3 .blk-balance{--cols:3}
 .blk-card-grid.blk-balance{--cols:2;--gx:18px}
 .blk-offices.blk-balance{--cols:2;--gx:16px}
 .blk-contact-grid.blk-balance{--cols:2;--gx:14px}
 .blk-logo-grid.blk-balance{--cols:3;--gx:14px}
 .blk-stats-grid.blk-balance{--cols:4;--gx:30px;--gy:30px}
 .blk-stats-grid.blk-balance:has(>:nth-child(3):last-child){--cols:3}
 /* Questions: a wider heading column, so «Вопросы о …» keeps to two lines. */
 .blk-faq{grid-template-columns:1fr 1.25fr}
 .blk-faq h2{font-size:clamp(35px,3.7vw,52px)}
 /* A first screen without a photo uses the whole width: title left, description and buttons right. */
 .blk-hero-text{grid-template-columns:1fr}
 .blk-hero-text .cs-hero-copy{display:grid;grid-template-columns:1.1fr .9fr;gap:20px 50px;align-items:end;max-width:none}
 .blk-hero-text .cs-hero-copy>.blk-crumbs,.blk-hero-text .cs-hero-copy>.cs-eyebrow,.blk-hero-text .cs-hero-copy>h1{grid-column:1}
 .blk-hero-text .cs-hero-copy>.cs-hero-lead,.blk-hero-text .cs-hero-copy>.cs-hero-actions,.blk-hero-text .cs-hero-copy>.cs-hero-tags{grid-column:2}
 .blk-hero-text h1,.blk-hero-text .cs-hero-lead{max-width:none}
 .blk-guide{gap:20px}
 .blk-guide-step{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:40px;padding:22px}
 .blk-guide-step:nth-child(even):not(.blk-guide-text) .blk-guide-shot{order:2}
 .blk-guide-text{grid-template-columns:1fr;padding:28px 34px}
 .blk-guide-copy h3{font-size:28px}
 .blk-guide-copy p{font-size:16px}
 .blk-rich-article .blk-rich-grid{grid-template-columns:1fr;gap:26px}
 .blk-rich-article .blk-rich-body,.blk-rich-article .blk-rich-body:has(.blk-aside){grid-template-columns:1fr}
}
@media(min-width:1050px){
 .blk-features.blk-cols-4 .blk-balance{--cols:4;--gx:35px;--gy:35px}
 .blk-features.blk-cols-3 .blk-balance{--gx:40px;--gy:40px}
 .blk-cols-3 .blk-card-grid.blk-balance{--cols:3}
 .blk-cols-4 .blk-card-grid.blk-balance{--cols:4}
 .blk-offices.blk-balance{--cols:3}
 .blk-contacts.blk-cols-2 .blk-offices.blk-balance{--cols:2}
 .blk-contacts.blk-cols-4 .blk-offices.blk-balance{--cols:4}
 .blk-contact-grid.blk-balance{--cols:4}
 .blk-logo-grid.blk-balance{--cols:4}
 .blk-guide-step{gap:56px;padding:26px}
}
/* Long first-screen headings (SEO titles) stay within three or four lines. */
.cs-hero.blk-h1-long h1{font-size:clamp(34px,9vw,52px)}
.cs-hero.blk-h1-xlong h1{font-size:clamp(30px,8vw,44px)}
/* A first-screen picture shown whole: article covers, pictures with text. */
.blk-hero-whole .cs-hero-visual{aspect-ratio:auto!important;max-height:none}
.blk-hero-whole .cs-hero-visual img{position:static;width:100%;height:auto;object-fit:contain}
/* Phones: features read in one column, the closing heading is calmer. */
@media(max-width:479px){.blk-features:not(.blk-theme-dark) .cs-benefits.blk-balance,.blk-features .cs-benefits.blk-balance{--cols:1}}
@media(max-width:699px){.blk-closing .cs-closing h2,.cs-closing h2{font-size:clamp(28px,8vw,34px)}}
@media(min-width:700px){
 .cs-hero.blk-h1-long h1{font-size:clamp(40px,4.6vw,64px)}
 .cs-hero.blk-h1-xlong h1{font-size:clamp(36px,3.9vw,54px)}
}
@media(min-width:1050px){
 .cs-hero.blk-h1-long h1{font-size:clamp(50px,4.4vw,68px)}
 .cs-hero.blk-h1-xlong h1{font-size:clamp(44px,3.7vw,58px)}
 .blk-hero-split.blk-h1-long h1,.blk-hero-split.blk-h1-xlong h1{max-width:none}
}
/* Long block headings keep to about three lines. */
.cs-section-heading h2.blk-long,.blk-split-copy h2.blk-long,.blk-rich-head h2.blk-long{font-size:clamp(28px,7.4vw,40px)}
@media(min-width:700px){.cs-section-heading h2.blk-long,.blk-split-copy h2.blk-long,.blk-rich-head h2.blk-long{font-size:clamp(32px,3.5vw,46px)}}
/* Card and step pictures shown whole: screenshots, phones and tablets are never cut. */
.blk-fit-contain .blk-card-image,.blk-fit-contain .blk-step-image{display:grid;place-items:center;padding:14px;background:linear-gradient(160deg,#efeee8,#e4e2d8)}
.blk-fit-contain .blk-card-image img,.blk-fit-contain .blk-step-image img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.blk-theme-dark.blk-fit-contain .blk-card-image,.blk-theme-dark.blk-fit-contain .blk-step-image{background:#2b2f27}
/* Headings: balanced lines, no single word left alone on the last line. */
.blk-page h1,.blk-page h2,.blk-page h3,.cs-hero h1,.cs-section-heading h2,.cs-closing h2{text-wrap:balance}
/* A first screen without a photo keeps its distance from the next block. */
.blk-hero-text{padding-bottom:36px}
@media(min-width:700px){.blk-hero-text{padding-bottom:64px}}
/* Documents: an odd last document spans the row instead of leaving half of it empty. */
@media(min-width:1050px){.blk-doc-list>li:last-child:nth-child(odd){grid-column:1/-1}}
/* Phones: contact channels as a list of compact rows, the icon on the left, so handles and names never break. */
@media(max-width:699px){
 .blk-contact-grid.blk-balance{--cols:1;--gx:10px}
 .blk-contact-grid .blk-contact-card{padding:15px 50px 15px 72px;min-height:76px;border-radius:18px;align-content:center;gap:2px}
 .blk-contact-grid .blk-contact-card .blk-contact-icon{top:50%;left:16px;width:40px;height:40px;transform:translateY(-50%)}
 .blk-contact-grid .blk-contact-arrow{top:50%;right:18px;transform:translateY(-50%)}
 .blk-contact-grid .blk-contact-card strong{font-size:18px}
}
/* Projects: a grid reads as two columns on a phone; a short row fills its width. */
@media(max-width:699px){.blk-cases-grid .cs-cases{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.blk-cases-grid .cs-cases h3{font-size:18px;margin-top:12px}.blk-cases-grid .cs-cases p{font-size:13px}}
@media(min-width:700px){.blk-cases-row .cs-cases[data-n="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.blk-cases-row .cs-cases[data-n="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){
 .blk-motion [data-reveal],.blk-motion [data-stagger]>*{opacity:1!important;transform:none!important}
 .blk-marquee{overflow-x:auto;mask-image:none}
 .blk-marquee-track[aria-hidden]{display:none}
 .blk-page details::details-content{transition:none}
}
/* Project grids in two columns: an odd last card stands in the middle, not alone on the left. */
@media(max-width:1049px){.blk-cases-grid .cs-cases>article:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc((100% - var(--case-gap,22px)) / 2)}}
@media(max-width:699px){.blk-cases-grid .cs-cases{--case-gap:12px}}
/* Second menu styles of the «Меню сайта» block: line (default), pills, segmented; hover shows where a click goes. */
.blk-subnav-line a:not([aria-current]):after{content:'';position:absolute;left:0;right:0;bottom:6px;height:2px;border-radius:2px;background:currentColor;opacity:.35;transform:scaleX(0);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.blk-subnav-line a:not([aria-current]):hover:after{transform:scaleX(1)}
.blk-subnav-pills>div{gap:4px}
.blk-subnav-pills a{min-height:0;padding:7px 14px;border-radius:99px;transition:background .2s ease,color .2s ease}
.blk-subnav-pills a:hover{background:#2428230d;color:#22231f}
.blk-subnav-pills a[aria-current=page]{background:var(--cs-red);color:#fff}
.blk-subnav-pills a[aria-current=page]:after{display:none}
.blk-subnav-segmented>div{flex:0 1 auto;gap:2px;padding:3px;border-radius:99px;background:#ebeae3}
.blk-subnav-segmented a{min-height:0;padding:6px 14px;border-radius:99px;transition:background .2s ease,color .2s ease,box-shadow .2s ease}
.blk-subnav-segmented a:hover{color:#22231f}
.blk-subnav-segmented a[aria-current=page]{background:#fff;color:#22231f;box-shadow:0 2px 8px -3px #1f242040}
.blk-subnav-segmented a[aria-current=page]:after{display:none}
.blk-subnav-segmented{justify-content:space-between}
/* The «Меню сайта» card in the editor preview. */
.blk-menu-note{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin:calc(var(--cs-header) + var(--cs-subnav) + 12px) var(--gutter) -12px;padding:12px 18px;border:1px dashed #c9cabd;border-radius:14px;background:#fffdf6;font-size:13px;color:#5c6055}
.blk-menu-note span{font-weight:600;color:#22231f}.blk-menu-note b{color:var(--cs-red);font-weight:600}.blk-menu-note em{font-style:normal;color:#8b8e82}
