/* Wspólne strony produktu (poznaj.php, funkcje.php) oraz stopka strony głównej. */
.project-nav a[aria-current="page"] { color:#174bad; background:#fff; box-shadow:0 3px 10px #203e6b0d; }
.project-nav a[aria-current="page"]::after { transform:scaleX(1); }
.mp-page { background:radial-gradient(ellipse 70% 550px at 100% 150px,#edf5ff 0,transparent 80%),#fff; }
.mp-page .project-shell { max-width:1360px; }
.mp-page h1 { font-size:clamp(2.2rem,4.2vw,3.8rem); line-height:1.08; font-weight:800; }
.mp-page h2 { font-size:clamp(1.7rem,2.5vw,2.55rem); line-height:1.2; }
.mp-page h3 { font-size:1.25rem; line-height:1.3; }
.mp-page p { font-size:1.0625rem; line-height:1.7; color:#526681; }
.mp-breadcrumb { display:flex; flex-wrap:wrap; gap:10px; padding-top:28px; color:#63728a; font-size:.875rem; }
.mp-breadcrumb a:hover { color:#1261ef; text-decoration:underline; }
.mp-label { display:inline-flex; align-items:center; gap:9px; color:#2158ad; font-size:.875rem; font-weight:700; margin-bottom:22px; }
.mp-feature-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:64px; align-items:center; padding-block:52px 58px; }
.mp-feature-copy > p { margin-top:24px; max-width:620px; font-size:1.125rem; }
.mp-feature-copy > .project-button { margin-top:28px; }
.mp-hero-actions { display:flex; align-items:center; gap:20px; flex-wrap:wrap; margin-top:30px; }
.mp-text-link { display:inline-flex; align-items:center; gap:8px; color:#1c56b4 !important; font-weight:700; font-size:1rem; line-height:1.5; text-underline-offset:5px; }
.mp-text-link:hover { text-decoration:underline; }
.mp-benefit-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding-block:26px; border-block:1px solid #e2eaf5; }
.mp-benefit-strip span { display:flex; align-items:center; gap:12px; font-size:1rem; font-weight:600; }
.mp-benefit-strip svg { color:#28785c; }
.mp-details,.mp-related,.mp-catalog,.mp-usecases { padding-block:80px; }
.mp-section-heading { margin-bottom:36px; }
.mp-section-heading .project-eyebrow { margin-bottom:12px; }
.mp-heading-row { display:flex; justify-content:space-between; gap:24px; align-items:end; }
.mp-detail-list article { display:grid; grid-template-columns:60px minmax(0,.8fr) minmax(0,1.25fr); align-items:start; gap:32px; padding:32px 0; border-top:1px solid #e2eaf5; }
.mp-detail-list h3 { max-width:350px; font-size:1.4rem; }
.mp-detail-list .mp-text-link { margin-top:18px; }
.mp-number { color:#6084bc; font-family:'Archivo',sans-serif; font-weight:600; font-size:1.5rem; letter-spacing:-.04em; }
.mp-steps-band { padding:65px 0; background:#f3f7fd; border-block:1px solid #e5edf8; }
.lp-project .mp-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:44px; list-style:none; padding:0; margin:0; }
.mp-steps li { border-top:2px solid #c6d8f3; padding-top:24px; }
.mp-steps li > span { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:#1e55a6; color:#fff; font-weight:700; margin-bottom:18px; }
.mp-faq-section { padding-block:72px 24px; max-width:1040px !important; }
.mp-faq { border-top:1px solid #dce6f4; }
.mp-faq details { border-bottom:1px solid #dce6f4; }
.mp-faq summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 0; cursor:pointer; list-style:none; font-size:1.125rem; font-weight:700; }
.mp-faq summary::-webkit-details-marker { display:none; }
.mp-faq summary::after { content:'+'; color:#2161c9; font-size:1.5rem; font-weight:500; }
.mp-faq details[open] summary::after { content:'−'; }
.mp-faq details[open] summary { color:#1e55a6; }
.mp-faq details > p { padding:0 32px 24px 0; max-width:900px; }
.mp-related-grid,.mp-feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.mp-related-card { position:relative; padding:28px; border:1px solid #dfe8f4; border-radius:18px; background:#fff; transition:border-color .18s,box-shadow .18s; }
.mp-related-card > svg { color:#2161c9; margin-bottom:22px; }
.mp-related-card p { margin-top:12px; font-size:1rem; }
.mp-related-card > span { position:absolute; top:27px; right:27px; color:#2161c9; font-size:1.25rem; }
.mp-related-card:hover,.mp-feature-card:hover { border-color:#92b8ed; box-shadow:0 15px 40px -25px #1b4b99; }
.mp-catalog-hero { display:grid; grid-template-columns:minmax(0,1fr) 250px; align-items:end; gap:60px; padding:52px 0 42px; }
.mp-catalog-hero h1 { max-width:820px; }
.mp-catalog-hero p { max-width:720px; margin:24px 0; font-size:1.125rem; }
.mp-catalog-aside { border-left:1px solid #cbdcf3; padding-left:30px; }
.mp-large-number { font-size:3.5rem; letter-spacing:-.06em; color:#275cac; font-family:'Archivo',sans-serif; }
.mp-catalog-aside p { font-size:.9375rem; margin:8px 0 0; }
.mp-feature-card { display:flex; flex-direction:column; align-items:start; border:1px solid #dfe8f4; padding:30px; border-radius:20px; background:linear-gradient(160deg,#fff,#f8fbff); transition:border-color .18s,box-shadow .18s; }
.mp-card-icon { display:grid; place-items:center; width:56px; height:56px; border-radius:16px; background:#eaf2ff; color:#245bad; flex-shrink:0; }
.mp-feature-card:nth-child(3n+2) .mp-card-icon { background:#e7f4ee; color:#28785c; }
.mp-feature-card:nth-child(3n+3) .mp-card-icon { background:#faf0dc; color:#8a641c; }
.mp-feature-card > small { font-size:.875rem; color:#687b97; margin:24px 0 8px; }
.mp-feature-card h3 { font-size:1.375rem; }
.mp-feature-card p { font-size:1rem; margin:12px 0 28px; }
.mp-card-link { display:flex; justify-content:space-between; width:100%; gap:12px; font-weight:700; color:#2158ad; margin-top:auto; }
.mp-card-link > span { font-size:1.25rem; }
.mp-intro { padding:52px 0; text-align:center; }
.mp-intro h1 { max-width:940px; margin-inline:auto; }
.mp-intro p { max-width:740px; margin:24px auto 0; font-size:1.125rem; }
.mp-intro .mp-text-link,.mp-intro .project-button { margin-top:26px; }
.mp-category-nav { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-bottom:40px; }
.mp-category-nav a { display:flex; align-items:center; gap:9px; padding:13px 18px; background:#fff; border:1px solid #dce6f4; border-radius:12px; font-weight:600; }
.mp-category-nav a:hover { color:#1261ef; border-color:#98bdf1; }
.mp-integration-sections { padding-bottom:72px; }
.mp-integration-sections > section { padding-block:35px; }
.mp-integration-heading { display:flex; gap:20px; align-items:center; margin-bottom:28px; }
.mp-integration-heading p { margin-top:10px; max-width:850px; }
.mp-integration-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.mp-integration-cards article { display:flex; flex-direction:column; align-items:start; padding:28px; border:1px solid #dfe8f4; border-radius:18px; background:#fff; scroll-margin-top:180px; }
.mp-integration-cards h3 { font-family:'Hanken Grotesk',sans-serif; font-size:1.6rem; letter-spacing:-.03em; }
.mp-integration-cards p { margin:14px 0 22px; font-size:1rem; }
.mp-integration-cards .mp-text-link { margin-top:auto; }
.mp-integration-cards article:target { border-color:#83ace6; box-shadow:0 0 0 4px #eaf2ff; }
.mp-guide-layout { display:grid; grid-template-columns:245px minmax(0,1fr); gap:65px; padding:20px 0 80px; }
.mp-guide-nav { display:flex; flex-direction:column; align-self:start; gap:15px; background:#f3f7fd; border-radius:18px; padding:26px; font-size:1rem; }
.mp-guide-nav strong { margin-bottom:8px; }
.mp-guide-nav a { color:#425f88; }
.mp-guide-nav a:hover { color:#1261ef; }
.mp-guide-content > section { border-top:1px solid #dfe8f4; padding:35px 0 42px; }
.mp-guide-content h2 { margin:14px 0 20px; }
.mp-tip { display:flex; align-items:start; gap:14px; padding:20px; border-left:3px solid #78a3df; background:#f3f7fd; margin:22px 0; }
.mp-tip svg { color:#2b609f; margin-top:4px; }
.mp-tip p { font-size:1rem; }
.mp-help-groups { padding-bottom:80px; }
.mp-help-group { display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.4fr); gap:60px; margin-top:44px; }
.mp-help-group h2 { font-size:1.8rem; padding-top:20px; }
.mp-security-layout { display:grid; grid-template-columns:1fr 1fr; gap:65px; align-items:center; padding-block:30px 65px; }
.mp-prose h2 { margin-bottom:22px; }
.mp-prose p + p { margin-top:18px; }
.mp-prose .mp-text-link { margin-top:24px; }
.mp-security-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.mp-security-cards article { padding:28px; border:1px solid #dfe8f4; border-radius:18px; }
.mp-security-cards h2 { font-size:1.5rem; margin:24px 0 16px; }
.mp-security-cards p { font-size:1rem; }
.mp-security-note { padding-block:60px 80px; max-width:900px !important; }
/* Makiety to czytelne fragmenty interfejsu, bez skalowania tekstu w obrazie. */
.mp-demo { background:#fff; border:1px solid #d4deed; border-radius:20px; box-shadow:0 24px 65px -35px #16315b70; overflow:hidden; min-width:0; width:100%; color:#233b59; }
.mp-demo-top { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:17px 22px; background:#14203a; color:#fff; font-size:.875rem; }
.mp-demo-top > span:first-child { display:flex; align-items:center; gap:8px; font-weight:700; font-size:1rem; }
.mp-demo-top > span:last-child { color:#c2d1e9; }
.mp-demo-body { padding:24px; overflow-x:auto; }
.mp-demo figcaption { font-size:.8125rem; color:#657690; background:#f8fafd; padding:13px 22px; border-top:1px solid #e4ebf5; }
.mp-demo p { font-size:1rem; line-height:1.6; }
.mp-demo small { display:block; font-size:.875rem; color:#647690; line-height:1.45; }
.mp-initial { display:grid; place-items:center; width:36px; height:36px; flex:0 0 auto; border-radius:9px; font-size:.875rem; font-weight:700; font-style:normal; }
.mp-blue { background:#8faedf; color:#193b70; }
.mp-green { background:#78bd97; color:#143f2a; }
.mp-pink { background:#d3a1d1; color:#592e57; }
.mp-honey { background:#ddc172; color:#514216; }
.mp-icon-tile { display:grid; place-items:center; width:44px; height:44px; flex:0 0 auto; border-radius:12px; }
.mp-status { display:inline-flex; align-items:center; padding:5px 9px; background:#e5f4ed; color:#206348; border-radius:7px; font-size:.875rem; line-height:1.35; font-weight:600; white-space:nowrap; }
.mp-status-blue { color:#285a9a; background:#e8f0ff; }
.mp-status-amber { color:#7c5717; background:#fbf0d8; }
.mp-status-neutral { color:#4c5a6e; background:#edf0f5; }
.mp-demo-skrzynka .mp-demo-body { padding:0; }
.mp-inbox-demo { display:grid; grid-template-columns:135px 100px minmax(200px,1fr) minmax(190px,1fr); min-width:685px; }
.mp-demo-rail { display:flex; flex-direction:column; gap:14px; padding:22px 12px; background:#18243e; color:#cbd8ed; font-size:.875rem; }
.mp-demo-rail > strong { color:#fff; padding-inline:5px; }
.mp-demo-rail > span { display:flex; align-items:center; gap:6px; font-size:.875rem; }
.mp-demo-rail .mp-initial { width:27px; height:27px; border-radius:7px; }
.mp-demo-rail small { color:#93a8c8; font-size:.75rem; margin-top:8px; }
.mp-rail-active { padding:9px 5px; border-radius:8px; background:#294c81; color:#fff; }
.mp-rail-active b { margin-left:auto; }
.mp-demo-folders { display:flex; flex-direction:column; gap:20px; padding:23px 8px; border-right:1px solid #e1e8f2; font-size:.875rem; }
.mp-demo-folders b { margin-left:4px; }
.mp-folder-active { color:#205cab; font-weight:700; }
.mp-demo-messages { border-right:1px solid #e1e8f2; }
.mp-demo-messages > strong,.mp-demo-thread > strong { display:block; padding:23px 14px; font-size:1rem; }
.mp-demo-message { display:flex; align-items:start; gap:8px; padding:18px 10px; border-top:1px solid #e3eaf4; }
.mp-message-selected { background:#eaf0fb; }
.mp-demo-select { display:flex; flex-direction:column; align-items:center; gap:7px; color:#947220; }
.mp-demo-checkbox { width:12px; height:12px; border:1px solid #8d9db4; border-radius:3px; margin-top:3px; background:#fff; }
.mp-demo-message .mp-initial { width:28px; height:28px; border-radius:7px; font-size:.75rem; }
.mp-demo-message b { display:block; font-size:.875rem; }
.mp-demo-message div > span { display:block; font-size:.875rem; margin-block:4px; }
.mp-demo-message small { font-size:.75rem; }
.mp-demo-thread { padding:0 14px 20px; }
.mp-demo-thread > strong { padding-inline:0; }
.mp-demo-thread > p { padding-block:20px; font-size:.9375rem; }
.mp-demo-order-line { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:10px; border:1px solid #dde6f4; border-radius:8px; font-size:.875rem; }
.mp-demo-reply { padding:14px; background:#eef4fc; border-radius:10px; font-size:.9375rem; margin-bottom:20px; }
.mp-demo-action { display:inline-flex; align-items:center; justify-content:center; gap:10px; background:#2158a8; color:#fff; border-radius:9px; padding:11px 15px; font-size:.875rem; font-weight:600; }
.mp-demo-tabs { display:flex; gap:8px; padding:5px; border-radius:10px; background:#f1f5fb; margin-bottom:16px; font-size:.9375rem; }
.mp-demo-tabs > span { padding:9px 12px; }
.mp-tab-active { background:#fff; color:#2259a8; border-radius:7px; box-shadow:0 2px 7px #172f5a0c; font-weight:700; }
.mp-case,.mp-member { display:flex; gap:14px; align-items:center; border-bottom:1px solid #e1e8f2; padding:19px 0; }
.mp-case > div,.mp-member > div { flex:1; min-width:0; }
.mp-case b,.mp-member b { display:block; font-size:1rem; }
.mp-case small,.mp-member small { margin-top:5px; }
.mp-demo .mp-demo-hint { display:flex; align-items:start; gap:10px; padding-top:20px; color:#5c7190; font-size:.875rem; }
.mp-demo-hint svg { color:#36745e; }
.mp-demo-context { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; padding-bottom:18px; font-size:.9375rem; }
.mp-demo-context > span { display:flex; align-items:center; gap:8px; color:#63738a; }
.mp-order-card { border:1px solid #dfe7f3; border-radius:12px; overflow:hidden; }
.mp-order-title { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:18px; border-bottom:1px solid #e1e8f2; }
.mp-order-title b { margin-left:12px; }
.mp-order-amount { display:flex; align-items:center; justify-content:space-between; padding:24px 18px 14px; gap:12px; }
.mp-order-amount > span { color:#65758c; font-size:.9375rem; }
.mp-order-amount strong { font-size:1.6rem; white-space:nowrap; }
.mp-order-card dl { padding:0 18px; margin:10px 0 20px; font-size:.9375rem; }
.mp-order-card dl > div { display:flex; gap:12px; justify-content:space-between; padding-block:10px; }
.mp-order-card dt { color:#65758c; }
.mp-order-card dd { margin:0; font-weight:600; text-align:right; }
.mp-order-card > .mp-demo-action { display:flex; margin:18px; }
.mp-chat-label { display:flex; align-items:center; gap:8px; font-weight:700; font-size:1rem; }
.mp-chat-label > span { margin-left:auto; color:#687995; font-size:.8125rem; font-weight:400; }
.mp-chat-question { background:#eaf1fc; padding:18px; border-radius:14px 14px 3px 14px; margin:24px 0 24px 38px; font-size:1rem; }
.mp-chat-answer { display:flex; gap:14px; margin-bottom:24px; }
.mp-chat-answer p { margin:10px 0 16px; }
.mp-answer-draft { border-left:3px solid #aac5ec; padding-left:16px; color:#425b7d; line-height:1.7; font-size:1rem; }
.mp-rule-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.mp-rule-step { display:flex; gap:16px; padding:18px 0; }
.mp-rule-step > span { display:grid; place-items:center; width:30px; height:30px; flex:0 0 auto; border-radius:50%; background:#eaf1fc; color:#2759a2; font-weight:700; }
.mp-rule-step small { font-size:.75rem; letter-spacing:.06em; margin-bottom:7px; }
.mp-rule-step b { font-size:1rem; }
.mp-filter-card { background:#f7faff; border:1px solid #e1e9f6; border-radius:12px; padding:24px; }
.mp-filter-card strong { display:flex; gap:10px; align-items:center; font-size:1.125rem; margin-top:8px; }
.mp-flow-down { display:block; font-size:1.75rem; color:#6896d6; padding:12px 0; }
.mp-status-list { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; font-size:.875rem; }
.mp-status-list > span { padding:8px 10px; border:1px solid #dbe6f4; border-radius:8px; }
.mp-status-list b { margin-left:8px; color:#2b62ae; }
.mp-editor-to { display:flex; gap:15px; font-size:.9375rem; padding-bottom:18px; overflow-wrap:anywhere; }
.mp-editor-to > span { color:#6d7e96; }
.mp-editor-tools { display:flex; align-items:center; gap:22px; padding:14px; background:#f3f6fb; border-radius:8px; font-size:1rem; }
.mp-editor-text { padding:22px 3px; }
.mp-editor-text p + p { margin-top:16px; }
.mp-editor-text .mp-editor-signature { color:#687b97; font-size:.9375rem; }
.mp-attachment { display:flex; align-items:center; gap:8px; font-size:.875rem; padding-bottom:18px; }
.mp-attachment small { margin-left:auto; }
.mp-editor-bottom { display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid #e2e9f3; padding-top:18px; }
.mp-editor-bottom > span:first-child { color:#56705e; font-size:.875rem; }
.mp-theme-options { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:26px; }
.mp-theme-preview { border:1px solid #dae4f2; border-radius:10px; overflow:hidden; }
.mp-theme-preview > span { display:block; height:24px; border-bottom:1px solid #dfe7f3; }
.mp-theme-preview > div { display:grid; grid-template-columns:30% 1fr; grid-template-rows:42px 42px; gap:8px; background:#f3f6fb; padding-right:12px; }
.mp-theme-preview i { grid-row:span 2; background:#253954; }
.mp-theme-preview b { background:#fff; border-radius:5px; margin-top:8px; }
.mp-theme-preview strong { display:block; padding:12px; font-size:.875rem; }
.mp-theme-dark > span { background:#1d2c47; border-color:#314769; }
.mp-theme-dark > div { background:#15213b; }
.mp-theme-dark i { background:#20304f; }
.mp-theme-dark b { background:#2b4164; }
.mp-color-options { display:flex; gap:14px; }
/* Stopka na pełną szerokość, wspólna dla strony głównej i podstron. */
.mp-closing-section { padding-block:48px; }
.mp-closing-banner { color:#d2ddef; }
.mp-home-faq { padding-block:20px 80px; }
.mp-home-faq h2 { font-size:clamp(1.8rem,2.7vw,2.6rem); line-height:1.2; }
.mp-home-faq .mp-section-heading { text-align:center; max-width:720px; margin-inline:auto; }
.mp-home-faq .mp-section-heading > p { margin-top:18px; color:#526681; font-size:1.0625rem; }
.mp-home-faq .mp-faq { max-width:960px; margin-inline:auto; }
.mp-home-faq .mp-faq p { color:#526681; font-size:1rem; line-height:1.7; }
.mp-home-faq-more { text-align:center; margin-top:26px !important; }
.m-footer-bottom > nav { display:flex; flex-wrap:wrap; gap:18px; }
.m-footer-bottom small { font-size:inherit; }
.m-footer { position:relative; background:radial-gradient(ellipse at 65% 100%,#163967 0,transparent 58%),#111d32; color:#d2ddef; padding:20px 0 24px; margin-top:15px; }
.m-footer .project-shell { max-width:1440px; }
.mp-closing-banner { display:grid; grid-template-columns:76px minmax(0,1fr) auto; align-items:center; gap:26px; padding:36px; border:1px solid #314768; background:linear-gradient(110deg,#203551,#1b2c48); border-radius:24px; }
.mp-closing-emblem { display:grid; place-items:center; width:76px; height:76px; background:#284872; color:#a6ccff; border:1px solid #426792; border-radius:22px; }
.mp-closing-banner p { color:#a6ccff; font-size:1rem; margin-bottom:10px; }
.mp-closing-banner h2 { color:#fff; font-size:clamp(1.5rem,2.5vw,2.25rem); line-height:1.2; }
.lp-project .mp-closing-banner .project-button { background:#a9ceff; color:#122c51; border-color:#a9ceff; box-shadow:none; white-space:nowrap; }
.lp-project .mp-closing-banner .project-button:hover { background:#c7e0ff; border-color:#c7e0ff; }
.m-footer-grid { display:grid; grid-template-columns:1.3fr .85fr 1.25fr 1.15fr 1fr; gap:36px; padding-block:56px; }
.m-footer .project-brand { color:#fff; font-size:1.5rem; }
.m-footer .project-brand svg { color:#a6ccff; }
.m-footer-brand > p { max-width:250px; font-size:1rem; color:#b4c3d9; line-height:1.7; margin:20px 0 22px; }
.m-footer-start { display:inline-flex; gap:24px; align-items:center; color:#bfdaff !important; font-weight:700; }
.m-footer h3 { color:#94bfff; font-family:'Hanken Grotesk',sans-serif; font-size:1rem; font-weight:700; letter-spacing:0; margin:4px 0 20px; }
.m-footer li + li { margin-top:12px; }
.m-footer li a { display:inline-block; font-size:.9375rem; line-height:1.55; color:#d2ddef; text-underline-offset:5px; }
.m-footer a:hover { color:#fff; text-decoration:underline; }
.m-footer .project-button:hover,.m-footer .project-brand:hover { text-decoration:none; }
.m-footer .m-footer-accent { color:#a9ceff; font-weight:700; }
.m-footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; padding-top:26px; border-top:1px solid #354662; font-size:.875rem; color:#b4c3d9; }
.m-footer-bottom p { color:inherit; font-size:inherit; }
.lp-project .mp-home-link { display:inline-flex; color:#2158ad; font-weight:700; margin-top:22px; text-underline-offset:4px; }
.lp-project .mp-home-link:hover { text-decoration:underline; }
.project-feature .mp-home-link { margin-top:24px; }
@media (min-width:1450px) {
  .mp-wide-demo .mp-inbox-demo { grid-template-columns:185px 145px minmax(250px,1fr) minmax(270px,1.3fr); }
  .mp-wide-demo .mp-demo-message { padding:25px 18px; }
}
@media (max-width:1250px) {
  .mp-feature-hero { gap:35px; }
  .mp-demo-body { padding:20px; }
  .m-footer-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:30px; }
  .m-footer-brand { grid-column:1 / -1; display:grid; grid-template-columns:1fr 1.4fr auto; align-items:center; gap:30px; }
  .m-footer-brand > p { max-width:none; margin:0; }
  .mp-closing-banner { grid-template-columns:60px minmax(0,1fr); }
  .mp-closing-emblem { width:60px; height:60px; border-radius:17px; }
  .mp-closing-banner .project-button { grid-column:2; justify-self:start; }
  .mp-case,.mp-member { flex-wrap:wrap; }
}
@media (max-width:1000px) {
  .mp-feature-hero,.mp-security-layout { grid-template-columns:1fr; gap:35px; }
  .mp-feature-copy { max-width:760px; }
  .mp-feature-hero > .mp-demo { max-width:760px; justify-self:center; }
  .mp-feature-grid,.mp-integration-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mp-benefit-strip { gap:16px; }
  .mp-detail-list article { grid-template-columns:40px minmax(0,1fr); gap:18px; }
  .mp-detail-list article > p,.mp-detail-list article > div { grid-column:2; }
  .mp-detail-list h3 { max-width:none; }
  .mp-guide-layout { gap:35px; grid-template-columns:210px minmax(0,1fr); }
  .mp-help-group { grid-template-columns:1fr; gap:20px; }
  .mp-catalog-hero { grid-template-columns:1fr; gap:28px; }
  .mp-catalog-aside { display:none; }
  .mp-related-grid,.mp-security-cards { grid-template-columns:1fr; }
  .mp-security-layout .mp-demo { max-width:700px; margin-inline:auto; }
}
@media (max-width:700px) {
  .mp-breadcrumb { padding-top:22px; }
  .mp-feature-hero { padding-block:35px; }
  .mp-feature-copy > p,.mp-intro p,.mp-catalog-hero p { font-size:1.0625rem; }
  .mp-demo-top { padding:15px; }
  .mp-demo-body { padding:17px; }
  .mp-demo figcaption { padding:12px 15px; }
  .mp-benefit-strip { grid-template-columns:1fr; gap:16px; padding-block:24px; }
  .mp-details,.mp-related,.mp-catalog,.mp-usecases { padding-block:48px; }
  .mp-heading-row { flex-direction:column; align-items:start; }
  .mp-detail-list article { grid-template-columns:32px minmax(0,1fr); gap:14px; }
  .mp-detail-list h3 { font-size:1.25rem; }
  .mp-steps-band { padding-block:42px; }
  .lp-project .mp-steps { grid-template-columns:1fr; gap:24px; }
  .mp-steps li { display:flex; gap:18px; }
  .mp-steps li > span { flex:0 0 auto; margin:0; }
  .mp-faq-section { padding-top:45px; }
  .mp-feature-grid,.mp-integration-cards { grid-template-columns:1fr; }
  .mp-feature-card { padding:26px; }
  .mp-catalog-hero,.mp-intro { padding-block:35px; }
  .mp-category-nav { justify-content:start; gap:8px; }
  .mp-category-nav a { font-size:.875rem; padding:12px; }
  .mp-integration-heading { align-items:start; gap:14px; }
  .mp-integration-heading .mp-card-icon { width:44px; height:44px; border-radius:12px; }
  .mp-guide-layout { grid-template-columns:1fr; gap:30px; padding-bottom:40px; }
  .mp-guide-nav { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:22px; font-size:.9375rem; }
  .mp-guide-nav strong { grid-column:1 / -1; }
  .mp-help-groups { padding-bottom:45px; }
  .mp-help-group { margin-top:25px; }
  .mp-security-layout { padding-top:10px; padding-bottom:35px; }
  .mp-security-note { padding-block:42px; }
  .mp-case,.mp-member { gap:10px; }
  .mp-case > .mp-status,.mp-member > .mp-status { margin-left:54px; }
  .mp-case > div,.mp-member > div { min-width:calc(100% - 54px); }
  .mp-chat-label { flex-wrap:wrap; }
  .mp-chat-label > span { margin-left:0; }
  .mp-chat-question { margin-left:15px; }
  .mp-chat-answer { gap:10px; }
  .mp-chat-answer .mp-icon-tile { width:30px; height:30px; border-radius:9px; }
  .mp-order-title { flex-wrap:wrap; }
  .mp-order-amount { flex-wrap:wrap; }
  .mp-demo-tabs { gap:0; flex-wrap:wrap; }
  .mp-demo-tabs > span { padding:8px 9px; }
  .m-footer { padding-top:30px; }
  .mp-closing-banner { padding:24px; grid-template-columns:1fr; gap:20px; }
  .mp-closing-banner .project-button { grid-column:1; white-space:normal !important; }
  .mp-closing-banner h2 br { display:none; }
  .m-footer-grid { grid-template-columns:1fr 1fr; gap:36px 22px; padding-block:38px; }
  .m-footer-brand { display:block; }
  .m-footer-brand > p { margin:18px 0; max-width:420px; }
  .m-footer h3 { margin-bottom:16px; }
  .m-footer li a { font-size:.9375rem; overflow-wrap:anywhere; }
  .m-footer-bottom { align-items:start; flex-direction:column; gap:12px; }
}
@media (prefers-reduced-motion:reduce) { .mp-feature-card,.mp-related-card { transition:none; } }

.mp-office-ai { display:grid; grid-template-columns:1fr 1.1fr; gap:50px; align-items:center; }
.mp-office-ai > div > p + p { margin-top:20px; }
.mp-office-ai .mp-text-link { margin-top:24px; }
.mp-office-faq { padding-bottom:35px; }
@media (max-width:1000px) { .mp-office-ai { grid-template-columns:1fr; gap:30px; } }
@media (max-width:700px) { .mp-closing-section { padding-block:32px; } .mp-home-faq { padding-bottom:48px; } }
/* Czytelny dokument prawny i osobny, zachowany również w wydruku status projektu. */
.mp-terms-wrap { max-width:1060px !important; padding-bottom:72px; }
.mp-terms-draft { padding:24px 28px; border:1px solid #dfcba3; border-left:4px solid #b68431; border-radius:12px; background:#fff8e9; color:#654817; }
.mp-terms-draft strong { font-size:1.125rem; }
.mp-terms-draft p { font-size:1rem; color:#695638; margin-top:10px; }
.mp-terms-tools { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px; margin-block:24px 34px; color:#526681; }
.mp-terms-toc { padding:28px; background:#f3f7fd; border:1px solid #dce6f4; border-radius:16px; }
.mp-terms-toc h2 { font-size:1.5rem; margin-bottom:18px; }
.mp-terms-toc ol { columns:2; column-gap:45px; margin:0; padding-left:24px; }
.mp-terms-toc li { break-inside:avoid; margin-bottom:10px; padding-left:4px; color:#3d5982; font-size:1rem; }
.mp-terms-toc a:hover { text-decoration:underline; text-underline-offset:4px; }
.mp-terms-document > section { padding-top:40px; }
.mp-terms-document h2 { font-size:1.5rem; line-height:1.35; border-bottom:1px solid #dce6f4; padding-bottom:18px; margin-bottom:22px; }
.mp-terms-document ol { margin:0; padding-left:25px; }
.mp-terms-document li { font-size:1rem; line-height:1.8; color:#425771; padding-left:7px; margin-bottom:14px; }
.mp-terms-document p { font-size:1rem; }
.mp-withdrawal-form { border:1px solid #dce6f4; border-radius:12px; padding:25px; margin-top:22px; }
.mp-withdrawal-form p + p { margin-top:22px; }
.lp-project .mp-legal-sources { margin-top:20px; }
.mp-legal-sources a { color:#225aaf; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
@media (max-width:700px) { .mp-terms-toc ol { columns:1; } .mp-terms-draft,.mp-terms-toc,.mp-withdrawal-form { padding:20px; } .mp-terms-intro h1 { font-size:2rem; } }
@media print {
  .mp-page { background:#fff !important; color:#111; }
  .mp-page:has(.mp-terms-wrap) .project-header,.mp-page:has(.mp-terms-wrap) .project-skip,.mp-page:has(.mp-terms-wrap) .mp-breadcrumb,.mp-page:has(.mp-terms-wrap) .m-footer,.mp-terms-tools { display:none !important; }
  .mp-terms-wrap,.mp-terms-intro { width:100% !important; max-width:none !important; padding-block:12px; }
  .mp-terms-intro h1 { font-size:24pt; }
  .mp-terms-draft { break-inside:avoid; background:#fff; border:2px solid #333; color:#111; }
  .mp-terms-draft p,.mp-terms-document p,.mp-terms-document li { color:#111; }
  .mp-terms-document h2 { break-after:avoid; font-size:15pt; }
  .mp-terms-document li { orphans:3; widows:3; font-size:10.5pt; }
  .mp-terms-toc { margin-bottom:10px; background:#fff; }
}
