/* Mateuszkafara.pl v17 - shared, calm and readable design system.
 * Deliberately loaded after legacy styles on EVERY public template.
 */
:root{--mk17-ink:#222c3b;--mk17-muted:#596779;--mk17-line:#e5e9ee;--mk17-accent:#cb356c;--mk17-bg:#fff;--mk17-soft:#f7f8fa;--mk17-radius:12px}
html{scroll-padding-top:90px}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;font-size:15.5px!important;font-weight:400!important;line-height:1.7!important;letter-spacing:0!important;color:var(--mk17-ink);background:#fff}
body :is(p,li,dd,dt,blockquote){line-height:1.73}
body :is(p,.rich-content p,.article-content p,.mk15-lead,.hero-subtitle){font-size:clamp(.94rem,1vw,1.01rem)!important;font-weight:400!important;letter-spacing:0!important}
body :is(.mk15-hero h1,.hero h1,.page-hero h1,.local-hero h1,.section-hero h1,main h1,section h1){font-size:clamp(1.78rem,2.65vw,2.56rem)!important;line-height:1.2!important;font-weight:580!important;letter-spacing:-.028em!important;max-width:25ch;overflow-wrap:break-word}
body :is(.mk15-section h2,.mk15-section-head h2,.section h2,section h2,.rich-content h2,main h2){font-size:clamp(1.32rem,1.8vw,1.85rem)!important;line-height:1.31!important;letter-spacing:-.021em!important;font-weight:560!important;overflow-wrap:break-word}
body :is(section h3,.rich-content h3,main h3){font-size:clamp(1.04rem,1.18vw,1.17rem)!important;line-height:1.42!important;letter-spacing:-.008em!important;font-weight:560!important;overflow-wrap:break-word}
body :is(h1,h2,h3,h4){text-wrap:pretty}
body :is(b,strong){font-weight:600}
body :is(.mk15-kicker,.eyebrow,.section-kicker){font-weight:550!important;font-size:.72rem!important;letter-spacing:.085em!important;text-transform:uppercase}
body :is(.mk15-muted,.muted,.fineprint,.mk15-fineprint){font-weight:400!important;color:var(--mk17-muted)!important}
body :is(.mk15-lead,.hero-lead,.local-intro p){max-width:65ch;color:var(--mk17-muted)!important}
body :is(.rich-content,.article-content,.prose,.knowledge-answer){max-width:75ch;overflow-wrap:anywhere}
body :is(.rich-content p,.article-content p,.prose p){margin-block:.6em 1.04em}
body :is(.rich-content li,.article-content li){margin-block:.26em}
body :is(.container,.page-container){width:min(100% - 34px,1120px)!important;max-width:1120px!important;margin-inline:auto}
body :is(.mk15-hero,.hero,.page-hero,.local-hero){padding-block:clamp(36px,4.2vw,62px)!important}
body :is(.mk15-section,.section,.page-section){padding-block:clamp(34px,3.9vw,55px)!important}
body :is(.mk15-section-head,.section-heading){max-width:740px;margin-bottom:22px}
body :is(.mk15-section-head p,.section-heading p){max-width:68ch}
body :is(.mk15-hero__grid,.mk15-service-focus,.mk15-faq-layout,.service-detail-layout){gap:clamp(16px,2vw,30px)!important}
body :is(.mk15-price-grid,.mk15-related-grid,.mk15-step-grid,.mk15-related-grid,.project-grid,.services-grid){gap:14px!important}
body :is(.mk15-surface,.mk15-price-card,.mk15-related-card,.mk15-step-grid article,.project-card,.service-card,.mk15-offer-row,.contextual-link-card,.faq-item,.mk15-hero-note){border-radius:var(--mk17-radius)!important;border:1px solid var(--mk17-line)!important;background:#fff;box-shadow:none!important;min-width:0}
body :is(.mk15-price-card,.mk15-step-grid article,.mk15-related-card,.service-card,.project-card){padding:19px!important}
body :is(.mk15-price-card,.mk15-related-card,.service-card,.project-card){display:flex;flex-direction:column;height:100%}
body :is(.mk15-price-card h3,.mk15-related-card h3,.service-card h3,.project-card h3){margin:6px 0 9px!important}
body :is(.mk15-price-card p,.mk15-related-card p,.service-card p,.project-card p){color:var(--mk17-muted);font-size:.94rem!important}
body :is(.mk15-price-card__bottom,.project-body .card-arrow){margin-top:auto!important}
body :is(.mk15-price,.mk15-offer-row__buy){min-width:0}
body .mk15-price strong{font-size:clamp(1.25rem,1.75vw,1.62rem)!important;font-weight:600!important;letter-spacing:-.025em}
body .mk15-price small{font-size:.79rem!important;font-weight:400!important}
body :is(.btn,button.btn,a.btn,.mk15-price-card .btn,.mk15-offer-row__buy .btn){box-sizing:border-box;min-height:44px!important;padding:10px 17px!important;border-radius:9px!important;box-shadow:none!important;font-size:.87rem!important;line-height:1.35!important;font-weight:570!important;letter-spacing:0!important;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-align:center;text-decoration:none}
body :is(.btn-primary,button.btn-primary){background:#d33c75!important;border-color:#d33c75!important;color:white!important}
body :is(.btn-primary,button.btn-primary):hover{background:#b82b61!important;border-color:#b82b61!important}
body :is(.btn-secondary,button.btn-secondary){background:#fff!important;border-color:#ccd2da!important;color:#253043!important}
body :is(.btn-secondary,button.btn-secondary):hover{background:#f7f8fa!important;border-color:#aab5c3!important}
body :is(.mk15-actions,.hero-actions,.page-actions){gap:10px!important;align-items:stretch}
body :is(.mk15-actions,.hero-actions,.page-actions) > :is(a,button){min-width:150px}
body :is(input,textarea,select){font-family:inherit;font-size:1rem!important;line-height:1.4!important;max-width:100%;border-radius:9px}
body :is(.mk15-mini-trust,.mk15-onpage){font-size:.84rem!important;font-weight:400!important}
body :is(.mk15-onpage__inner,.mk15-link-chips,.mk15-pricing-categories){gap:9px!important}
body :is(.mk15-onpage__inner a,.mk15-link-chips a){font-weight:500!important}
body :is(.mk15-checklist li,.mk15-faq summary,.mk15-category summary){font-size:.95rem!important;font-weight:500!important}
body :is(.mk15-hero-note,.mk15-deliverables){padding:22px!important}
body :is(.mk15-faq details,.mk15-category,.mk15-disclosure){border-radius:10px!important;border-color:var(--mk17-line)!important}
body :is(.mk15-soft,.soft-section,.section-soft){background:var(--mk17-soft)!important}
body :is(.mk15-text-link,.contextual-link-card){font-weight:550!important;text-decoration:none}
body .contextual-links-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important}
body .contextual-links-shell{max-width:1120px}
body .contextual-links-section{padding-block:34px!important;background:#f8f9fb!important;border-top:1px solid #eceef2}
body .contextual-links-head{margin-bottom:17px}
body .contextual-links-head p{margin:5px 0 0!important;max-width:66ch}
body .contextual-link-card{padding:13px!important;gap:9px;align-items:flex-start}
body .contextual-link-copy strong{display:block;font-size:.91rem!important;font-weight:550!important;color:#283345}
body .contextual-link-copy small{display:block;font-size:.78rem!important;line-height:1.5!important;font-weight:400;color:#647084}
body .contextual-link-icon{width:29px!important;height:29px!important;flex:0 0 29px!important}
body .footer-nav-col h2{font-size:.85rem!important;font-weight:560!important;letter-spacing:0!important}
body .footer-nav-col a{font-size:.83rem!important;line-height:1.5!important;font-weight:420!important}
body .footer-compact-brand p{font-size:.84rem!important}
body .mk17-price-advisory{background:#f8f9fb;border-block:1px solid var(--mk17-line);padding:15px 0}
body .mk17-price-advisory .container{max-width:1120px}
body .mk17-price-advisory strong{display:block;font-size:.95rem;font-weight:600}
body .mk17-price-advisory p{font-size:.84rem!important;margin:4px 0 0!important;color:#526072;max-width:95ch}
body .mk17-price-type{font-size:.72rem!important;color:#67768a;display:block;margin-bottom:3px}
body .mk17-pricing-note{border:1px solid #e4e8ed;border-left:3px solid #cb356c;border-radius:8px;background:#f8f9fb;padding:12px 15px;font-size:.88rem!important;max-width:100ch}
body .mk15-price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))!important}
body .mk15-price-grid--four{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important}
body .mk15-offer-row__buy{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
body .mk15-offer-row__buy strong{font-size:1rem!important;font-weight:570!important}
body .site-header{box-shadow:none!important}
body .menu a{font-weight:520!important;font-size:.83rem!important}
body :is(a,button,input,textarea,select,summary):focus-visible{outline:2px solid #cb356c!important;outline-offset:3px}
@media(max-width:930px){body .contextual-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body :is(.mk15-hero__grid,.mk15-service-focus,.mk15-faq-layout){grid-template-columns:1fr!important}}
@media(max-width:600px){body{font-size:15px!important}body :is(.container,.page-container){width:min(100% - 28px,1120px)!important}body :is(.mk15-hero,.hero,.page-hero){padding-block:28px!important}body :is(.mk15-section,.section,.page-section){padding-block:28px!important}body :is(.mk15-hero h1,.hero h1,.page-hero h1,section h1){font-size:clamp(1.67rem,6vw,1.95rem)!important;max-width:26ch}body :is(section h2,main h2){font-size:1.36rem!important}body .contextual-links-grid{grid-template-columns:1fr!important}body :is(.mk15-actions,.hero-actions,.page-actions)>:is(a,button){width:100%!important}body :is(.mk15-price-card,.mk15-step-grid article,.mk15-related-card,.service-card,.project-card){padding:16px!important}body .mk15-offer-row{padding:14px!important;gap:10px!important}body .mk15-offer-row__buy{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
/* Explicit priority over decade-style legacy hero selectors, including !important. */
body:is(#mk17-typography-priority,body):is(#mk17-second-priority,body) h1{font-size:clamp(1.79rem,2.35vw,2.32rem)!important;font-weight:550!important;line-height:1.23!important;letter-spacing:-.027em!important;max-width:30ch!important}
body:is(#mk17-typography-priority,body):is(#mk17-second-priority,body) h2{font-size:clamp(1.34rem,1.7vw,1.79rem)!important;font-weight:550!important;line-height:1.34!important;letter-spacing:-.018em!important}
body:is(#mk17-typography-priority,body):is(#mk17-second-priority,body) h3{font-size:clamp(1.06rem,1.16vw,1.17rem)!important;font-weight:550!important;line-height:1.41!important;letter-spacing:-.007em!important}
body:is(#mk17-typography-priority,body):is(#mk17-second-priority,body) :is(strong,b){font-weight:600!important}
body:is(#mk17-typography-priority,body):is(#mk17-second-priority,body) .footer-nav-col h2{font-size:.88rem!important}
body:is(#mk17-typography-priority,body):is(#mk17-second-priority,body) :is(.btn,button.btn,a.btn){font-size:.88rem!important;font-weight:560!important;min-height:44px!important;line-height:1.35!important}
@media(max-width:600px){body:is(#mk17-typography-priority,body):is(#mk17-second-priority,body) h1{font-size:clamp(1.67rem,6vw,1.92rem)!important}body:is(#mk17-typography-priority,body):is(#mk17-second-priority,body) h2{font-size:1.39rem!important}}
body .mk15-price-grid:has(> :only-child){grid-template-columns:minmax(0,420px)!important}
@media(max-width:600px){body .mk15-price-grid:has(> :only-child){grid-template-columns:minmax(0,1fr)!important}}
/* Remove purely decorative futuristic strokes from the footer. */
body .footer-codexo-art{display:none!important}
body .site-footer{background:#202b3a!important;box-shadow:none!important}
body .site-footer :is(.footer-codexo-inner,.footer-compact-bottom){position:relative;z-index:1}

/* v18: compact contextual route to the visibility strategy on the home page */
.mk18-home-strip{background:#fbf7f9;border-top:1px solid #f2e7ed;border-bottom:1px solid #f0e6ec;padding:25px 0}.mk18-home-strip-inner{display:flex;align-items:center;gap:22px;justify-content:space-between}.mk18-home-strip h2{font-size:clamp(1.2rem,2vw,1.55rem)!important;font-weight:550!important;line-height:1.3!important;margin:4px 0 8px!important;letter-spacing:-.02em!important}.mk18-home-strip p{color:#596572;font-size:.91rem;line-height:1.55;margin:0;max-width:680px}.mk18-home-strip .btn{flex:0 0 auto;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;font-size:.88rem;font-weight:600;border-radius:9px;text-align:center}@media(max-width:690px){.mk18-home-strip-inner{flex-direction:column;align-items:stretch;gap:15px}.mk18-home-strip .btn{width:100%}}
