/* /aplikacje-internetowe/ only (deploy/elementor-templates/mgraphics-aplikacje-internetowe.json), loaded after
   css/offer.css and css/sections.css, which hold the shared rules: section frame, buttons, text links, band and tiles.
   mg-app-* classes exist only here; offer.css stays untouched, so the other offer pages do not change.
   One block per component, in page order; each block holds its own tablet and phone rules.
   Colours follow offer.css: red #c5121a (text and buttons on light), #d9161e (accents on graphite),
   graphite #191b20, ink #262626, muted #4d4d4d, line #d9d9d6 / #e3e3e0, soft #f5f5f3, tint #fbf1f1.
   No animation apart from hover and focus colour changes. */

/* Subheadings inside a section (H3 above a group of cards) */
.mg-offer .mg-app-sub {
    margin: 0 0 14px;
    color: #191b20;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}
.mg-offer .mg-app-sub__note {
    margin: -6px 0 14px;
    color: #4d4d4d;
    font-size: 16px;
}

/* Ticks: a list of reasons or features, one red tick each */
.mg-app-ticks {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}
.mg-app-ticks li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 26px;
    line-height: 1.55;
}
.mg-app-ticks li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 2px;
    width: 12px;
    height: 7px;
    border-bottom: 2px solid #c5121a;
    border-left: 2px solid #c5121a;
    transform: rotate(-45deg);
}
.mg-app-ticks b {
    color: #191b20;
}

@media (max-width: 767px) {
    .mg-offer .mg-app-sub {
        font-size: 18px;
    }
    .mg-offer .mg-app-sub__note {
        font-size: 15px;
    }
}

/* ======================================================================
   Hero: what we do, two actions, and a quick start into the quote form
   ====================================================================== */
.mg-offer-hero__grid.mg-app-hero__grid {
    grid-template-columns: minmax(0, 1fr) 452px;
    gap: 64px;
}
.mg-app-hero h1 {
    font-size: 56px;
}
.mg-offer .mg-app-hero .mg-offer-hero__lede {
    max-width: 36em;
}
.mg-app-proof strong {
    font-size: 19px;
}
/* The one real screenshot of a finished application, already on the first screen (wide screens;
   narrower ones keep four equal text columns and see the screenshot in "Realizacje"). */
.mg-app-proof__case img {
    display: none;
}
@media (min-width: 1200px) {
    .mg-offer-proof.mg-app-proof {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 20px;
    }
    .mg-app-proof__case {
        display: grid;
        grid-template-columns: 72px auto;
        gap: 12px;
        align-items: start;
    }
    .mg-app-proof__case img {
        display: block;
        width: 72px;
        height: auto;
        margin-top: 4px;
        border: 1px solid #4a4d55;
    }
}

/* Quick start: one click from the first screen into the quote form, with the type already chosen. */
.mg-app-start {
    padding: 24px 24px 18px;
    border-top: 4px solid #d9161e;
    background: #fff;
    color: #262626;
}
.mg-offer .mg-app-start__title {
    margin: 0 0 4px;
    color: #191b20;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}
.mg-offer .mg-app-start__sub {
    margin: 0 0 16px;
    color: #4d4d4d;
    font-size: 15px;
    line-height: 1.5;
}
.mg-app-start__list {
    margin: 0;
    padding: 0;
    border-top: 1px solid #e3e3e0;
    list-style: none;
}
.mg-app-start__list li {
    border-bottom: 1px solid #e3e3e0;
}
/* One row per answer: icon, what the app does, its usual name, an arrow. */
.mg-app-start__list a {
    display: grid;
    grid-template-columns: 24px max-content minmax(0, 1fr) 16px;
    gap: 12px;
    align-items: center;
    min-height: 50px;
    margin: 0 -10px;
    padding: 6px 10px;
    color: #191b20;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.mg-app-start__list a::after {
    content: "→";
    color: #c5121a;
    font-weight: 700;
}
.mg-app-start__list img {
    width: 24px;
    height: 24px;
}
.mg-app-start__list span {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.mg-app-start__list small {
    color: #4d4d4d;
    font-size: 14px;
    line-height: 1.35;
}
.mg-app-start__list a:hover {
    background: #fbf1f1;
}
.mg-app-start__list a:hover span {
    color: #c5121a;
}
.mg-offer-hero .mg-app-start a:focus-visible {
    outline-color: #c5121a;
    outline-offset: 2px;
}
.mg-offer .mg-app-start__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0 16px;
    margin: 10px 0 0;
    color: #4d4d4d;
    font-size: 14px;
}
.mg-offer .mg-app-start__foot a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #c5121a;
    font-size: 15px;
    font-weight: 700;
}
.mg-app-start__foot a::after {
    content: "→";
    margin-left: 6px;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .mg-offer-hero__grid.mg-app-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .mg-app-start {
        max-width: 620px;
    }
}
@media (max-width: 767px) {
    /* Three balanced lines instead of four, so the quick start shows on the first screen. */
    .mg-offer-hero.mg-app-hero h1 {
        max-width: none;
        font-size: 34px;
        letter-spacing: -0.8px;
    }
    /* "Works in the browser" is said again in the definition that opens the first section. */
    .mg-app-hero__more {
        display: none;
    }
    .mg-offer-hero__grid.mg-app-hero__grid {
        gap: 0;
    }
    /* The fixed bar at the bottom holds both actions; the reassurance under them stays visible. */
    .mg-offer .mg-app-hero .mg-offer-hero__note {
        display: block;
        margin: -4px 0 16px;
        padding-left: 12px;
        border-left: 3px solid #d9161e;
        font-size: 14px;
        line-height: 1.5;
    }
    .mg-app-proof strong {
        font-size: 17px;
    }
    /* The quick start replaces the buttons here: six answers in two columns. */
    .mg-app-start {
        margin: 8px -8px 0;
        padding: 18px 16px 10px;
    }
    .mg-offer .mg-app-start__title {
        font-size: 19px;
    }
    .mg-offer .mg-app-start__sub {
        margin-bottom: 12px;
        font-size: 14px;
    }
    .mg-app-start__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        border-top: 0;
    }
    .mg-app-start__list li {
        border-bottom: 0;
    }
    .mg-app-start__list a {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
        align-items: start;
        align-content: start;
        height: 100%;
        min-height: 0;
        margin: 0;
        padding: 10px;
        border: 1px solid #d9d9d6;
        border-radius: 3px;
    }
    .mg-app-start__list a::after {
        display: none;
    }
    .mg-app-start__list img {
        width: 22px;
        height: 22px;
        margin-bottom: 2px;
    }
    .mg-app-start__list span {
        font-size: 15px;
    }
    .mg-app-start__list small {
        font-size: 13px;
    }
    .mg-offer .mg-app-start__foot span {
        display: none;
    }
}

/* ======================================================================
   Section bar: the section in view is marked (js/offer-aplikacje.js), colour only
   ====================================================================== */
.mg-offer-jump li a.is-current {
    color: #c5121a;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}
/* On a phone the bar is not sticky (the fixed bar at the bottom holds both actions), but it stays
   under the hero as two rows of chips: the cost is one tap away instead of 8 000 px of scrolling. */
@media (max-width: 767px) {
    .mg-offer-jump {
        border-bottom: 1px solid #e3e3e0;
    }
    .mg-offer-jump__inner {
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .mg-offer .mg-offer-jump ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 6px;
    }
    .mg-offer-jump li a {
        min-height: 40px;
        padding: 0 11px;
        border: 1px solid #d9d9d6;
        border-radius: 20px;
        background: #f5f5f3;
        font-size: 14px;
    }
    .mg-offer-jump li a[href="#koszt"] {
        border-color: #c5121a;
        background: #fff;
        color: #c5121a;
        font-weight: 700;
    }
    /* Not sticky here, so the section in view is not marked: only the cost chip stands out. */
    .mg-offer-jump li a.is-current {
        text-decoration: none;
    }
    .mg-offer-jump li a.is-current:not([href="#koszt"]) {
        color: #262626;
        font-weight: 400;
    }
}

/* ======================================================================
   Types of applications: the buyer's situation, the solution and a way to ask for this one
   ====================================================================== */
/* The definition of the service opens the section, quotable as it stands. */
.mg-offer .mg-offer-head .mg-app-def {
    color: #262626;
    line-height: 1.6;
}
.mg-app-def strong {
    color: #191b20;
}
.mg-app-types {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-app-type {
    display: flex;
    flex-direction: column;
    padding: 22px 22px 14px;
    border: 1px solid #e3e3e0;
    border-top: 3px solid #191b20;
    background: #fff;
    transition: border-color 0.2s ease;
}
.mg-app-type:hover {
    border-top-color: #c5121a;
}
.mg-app-type__top {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
}
.mg-app-type__top img {
    width: 28px;
    height: 28px;
}
.mg-app-type h3 {
    color: #191b20;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}
.mg-offer .mg-app-type p {
    margin: 0 0 10px;
    color: #4d4d4d;
    font-size: 15px;
    line-height: 1.55;
}
.mg-offer .mg-app-type .mg-app-type__when {
    padding: 8px 10px;
    border-left: 3px solid #c5121a;
    background: #f5f5f3;
    color: #262626;
    line-height: 1.45;
}
.mg-app-type__when b {
    color: #c5121a;
}
/* "Wyceń", the type and the arrow are separate flex items, so the space between the words is a gap:
   whitespace at the edge of a flex item disappears ("Wyceńkalkulator"). */
.mg-offer .mg-app-type__go {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    align-self: flex-start;
    gap: 0 0.3em;
    min-height: 44px;
    margin-top: auto;
    color: #c5121a;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}
.mg-app-type__go::after {
    content: "→" / "";
    margin-left: 2px;
}
.mg-offer .mg-app-type__go:hover {
    color: #8f0c12;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mg-offer .mg-app-types__other {
    margin: 24px 0 0;
    color: #4d4d4d;
    font-size: 17px;
}

@media (max-width: 1199px) {
    .mg-app-types {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .mg-app-types {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
    /* Icon, title and a short "Wyceń" button on the first line; the situation and the
       solution under them. The button keeps its full name ("Wyceń kalkulator") for screen readers. */
    .mg-app-type {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0 12px;
        padding: 12px 14px 14px 16px;
    }
    .mg-app-type > * {
        grid-column: 1 / -1;
    }
    .mg-app-type__top {
        grid-row: 1;
        grid-column: 1;
        flex-direction: row;
        align-items: center;
        min-height: 44px;
        margin-bottom: 6px;
    }
    .mg-offer .mg-app-type__go {
        grid-row: 1;
        grid-column: 2;
        align-self: start;
        margin: 0;
        padding: 0 12px;
        border: 2px solid #c5121a;
        border-radius: 3px;
        font-size: 15px;
    }
    .mg-offer .mg-app-type__go:hover {
        background: #c5121a;
        color: #fff;
        text-decoration: none;
    }
    .mg-app-type__what {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .mg-offer .mg-app-type p:last-of-type {
        margin-bottom: 0;
    }
    .mg-app-type h3 {
        font-size: 18px;
    }
    .mg-offer .mg-app-type p {
        margin-bottom: 4px;
        line-height: 1.5;
    }
    .mg-offer .mg-app-type .mg-app-type__when {
        margin-bottom: 4px;
        padding: 0;
        border-left: 0;
        background: none;
    }
    .mg-offer .mg-app-types__other {
        font-size: 16px;
    }
}

/* ======================================================================
   Realizacje: the portfolio band from [mg_realizacje] (sections.css), the same
   head, tile and foot as on /strony-internetowe/ and /sklepy-internetowe/.
   The "Aplikacje dedykowane" category holds one project, so the band has one
   tile; its facts fill the other three columns and the projects without a
   portfolio page follow in words. Then the example calculator (#demo).
   ====================================================================== */
.mg-offer--aplikacje .mg-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
}
.mg-offer--aplikacje .mg-band > * {
    grid-column: 1 / -1;
}
.mg-offer--aplikacje .mg-band > .mg-tiles {
    grid-column: 1;
}
.mg-offer--aplikacje .mg-band > .mg-app-band__case {
    grid-column: 2;
}
.mg-app-band__case {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    /* The right edge lines up with the band's .container (1140 px of content). */
    padding: 24px max(40px, calc((133.333% - 1140px) / 2)) 24px 48px;
    background: #23252b;
}
.mg-app-case__facts {
    display: grid;
    gap: 10px;
    margin: 0;
}
.mg-app-case__facts > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3a3d44;
}
.mg-app-case__facts > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.mg-app-case__facts dt {
    color: #fff;
    font-weight: 700;
}
.mg-app-case__facts dd {
    margin: 0;
    color: #c7c9ce;
    line-height: 1.55;
}
.mg-app-band__case .mg-app-ticks {
    margin: 0;
    color: #c7c9ce;
}
.mg-app-band__case .mg-app-ticks li:last-child {
    margin-bottom: 0;
}
.mg-app-band__case .mg-app-ticks li::before {
    border-color: #d9161e;
}
.mg-app-band__case .mg-app-ticks b {
    color: #fff;
}

/* The example calculator */
.mg-offer .mg-app-demo__text > .mg-app-demo__kicker {
    margin-bottom: 8px;
    color: #c5121a;
    font-weight: 700;
}
.mg-app-demo {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: center;
}
.mg-app-demo h3 {
    margin-bottom: 12px;
    color: #191b20;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.4px;
}
.mg-offer .mg-app-demo__text > p {
    color: #4d4d4d;
}
.mg-offer .mg-app-demo .mg-app-demo__lead {
    margin: 0 0 24px;
    color: #262626;
    font-size: 16px;
}
.mg-app-calc {
    position: relative;
    padding: 28px;
    border: 1px solid #d9d9d6;
    border-top: 4px solid #c5121a;
    background: #fff;
    box-shadow: 0 12px 32px rgba(25, 27, 32, 0.08);
}
.mg-offer .mg-app-calc__badge {
    display: inline-block;
    margin: 0 0 18px;
    padding: 2px 10px;
    border-radius: 3px;
    background: #f5f5f3;
    color: #4d4d4d;
    font-size: 14px;
    font-weight: 700;
}
.mg-app-calc__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.mg-app-calc__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.mg-app-calc__field label {
    color: #262626;
    font-size: 15px;
    font-weight: 700;
}
/* Same box as the quote form's inputs. The native control ignores most of its padding and puts its
   arrow against the border, so the arrow is drawn here, in a column of its own on the right. */
.mg-app-calc__field select {
    min-height: 48px;
    padding: 12px 44px 12px 14px;
    border: 1px solid #858585;
    border-radius: 4px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23262626' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px;
    color: #262626;
    font: 400 16px/1.4 'Open Sans', 'Open Sans Fallback', sans-serif;
    text-overflow: ellipsis;
    -webkit-appearance: none;
    appearance: none;
}
.mg-app-calc__field select:focus-visible,
.mg-app-calc__field input:focus-visible {
    outline: 3px solid #c5121a;
    outline-offset: 2px;
}
.mg-app-calc__range {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 48px;
}
.mg-app-calc__range input {
    flex: 1;
    min-width: 0;
    height: 32px;
    accent-color: #c5121a;
}
.mg-app-calc__range output {
    min-width: 68px;
    color: #c5121a;
    font-weight: 700;
    text-align: right;
}
.mg-app-calc__result {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px 20px;
    background: #191b20;
    color: #fff;
}
.mg-app-calc__label {
    display: block;
    color: #d6d8dc;
    font-size: 14px;
    font-weight: 600;
}
.mg-app-calc__value {
    display: block;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}
.mg-offer .mg-app-calc__foot {
    margin: 12px 0 0;
    color: #4d4d4d;
    font-size: 14px;
}

/* Other applications: projects without a portfolio page, in words under the tile */
/* .mg-band .container in sections.css sets the side padding; the top is added here. */
.mg-band .mg-app-more {
    padding-top: 40px;
}
.mg-offer .mg-app-more h3 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}
.mg-app-more ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-app-more li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
    border: 1px solid #3a3d44;
}
/* Reached from a type card ("Nasze galerie", "Przykład: Terapia dźwiękiem"): the entry is outlined. */
.mg-app-more li:target {
    outline: 2px solid #fff;
    outline-offset: -2px;
}
.mg-app-more strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 17px;
}
.mg-offer .mg-app-more p {
    margin: 0;
    color: #c7c9ce;
    font-size: 15px;
    line-height: 1.55;
}
/* "Something like this for me": into the quote form with the matching type picked (js/offer-aplikacje.js). */
.mg-offer .mg-app-more__go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin-top: 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mg-offer .mg-app-more__go::after {
    content: "→" / "";
    text-decoration: none;
}
.mg-offer .mg-app-more__go:hover {
    text-decoration-thickness: 3px;
}
.mg-offer .mg-app-more__go:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 1199px) {
    .mg-offer--aplikacje .mg-band {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .mg-app-band__case {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 28px 40px 28px 32px;
    }
}
@media (max-width: 1024px) {
    .mg-app-demo {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}
@media (max-width: 767px) {
    .mg-offer--aplikacje .mg-band,
    .mg-offer--aplikacje .mg-band > .mg-tiles {
        grid-template-columns: minmax(0, 1fr);
    }
    .mg-offer--aplikacje .mg-band > .mg-app-band__case {
        grid-column: 1;
    }
    /* One tile across the phone: the landscape shape of a single tile, not the 2 x 2 squares. */
    .mg-offer--aplikacje .mg-tiles--n1 .mg-tile {
        aspect-ratio: 4 / 3;
    }
    .mg-app-band__case {
        padding: 24px 20px;
    }
    .mg-app-case__facts > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }
    .mg-app-demo .mg-offer-btn {
        width: 100%;
    }
    .mg-app-demo h3 {
        font-size: 23px;
    }
    .mg-app-calc {
        padding: 20px 16px;
    }
    /* The sliders and the lists need the full width: side by side, a list's longest option
       ("Napęd standardowy") would run into its arrow. */
    .mg-app-calc__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .mg-app-calc__row:first-of-type {
        gap: 4px;
        margin-bottom: 12px;
    }
    .mg-app-calc__result {
        gap: 10px;
        padding: 14px 16px;
    }
    .mg-app-calc__value {
        font-size: 24px;
    }
    .mg-band .mg-app-more {
        padding-top: 28px;
    }
    .mg-app-more ul {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
    .mg-app-more li {
        padding: 16px;
    }
}

/* ======================================================================
   Custom or off the shelf: a plain list for the plugin, a check for the custom app.
   The ticked points go into the inquiry (js/offer-aplikacje.js); without JS it reads as a list.
   ====================================================================== */
.mg-app-fit {
    margin: 0 0 48px;
}
.mg-app-fit__cols {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px;
    align-items: start;
}
.mg-app-fit__col {
    min-width: 0;
    margin: 0;
    padding: 24px 28px;
    border: 1px solid #d9d9d6;
    background: #f5f5f3;
}
/* The plugin column runs as tall as the check next to it; the offer to advise sits at its foot. */
.mg-app-fit__col:not(.mg-app-fit__col--yes) {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}
.mg-offer .mg-app-fit__ask {
    margin: auto 0 0;
    padding-top: 18px;
    border-top: 1px solid #d9d9d6;
    color: #262626;
    font-size: 15px;
    line-height: 1.55;
}
.mg-app-fit__col:not(.mg-app-fit__col--yes) ul {
    margin-bottom: 24px;
}
.mg-app-fit__ask b {
    display: block;
    color: #191b20;
}
.mg-offer .mg-app-fit__ask a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #c5121a;
    font-weight: 700;
    white-space: nowrap;
}
.mg-app-fit__col--yes {
    border-top: 4px solid #c5121a;
    background: #fff;
    box-shadow: 0 12px 32px rgba(25, 27, 32, 0.08);
}
.mg-offer .mg-app-fit__tag {
    margin: 0 0 12px;
    padding: 0;
    color: #191b20;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
/* A legend sits on the fieldset's border unless it floats; floated, it is an ordinary title. */
.mg-app-fit legend.mg-app-fit__tag {
    float: left;
    width: 100%;
}
.mg-offer .mg-app-fit__hint {
    clear: both;
    margin: 0 0 6px;
    color: #4d4d4d;
    font-size: 15px;
}
.mg-app-fit ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-app-fit li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 26px;
    color: #4d4d4d;
    line-height: 1.55;
}
.mg-app-fit li:last-child {
    margin-bottom: 0;
}
/* A dash for "a plugin is enough". */
.mg-app-fit li::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 2px;
    width: 12px;
    height: 2px;
    background: #858585;
}
/* One row per point: the whole row toggles the box. */
.mg-app-fit__opt {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 0 -12px;
    padding: 11px 12px;
    border-top: 1px solid #e3e3e0;
    color: #262626;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.mg-app-fit__opt input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: #c5121a;
    cursor: pointer;
}
.mg-app-fit__opt input:focus-visible {
    outline: 3px solid #c5121a;
    outline-offset: 2px;
}
.mg-app-fit__opt:hover,
.mg-app-fit__opt:has(input:checked) {
    background: #fbf1f1;
}
.mg-app-fit__opt b {
    color: #191b20;
}
.mg-app-fit__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid #e3e3e0;
}
.mg-offer .mg-app-fit__out {
    flex: 1 1 240px;
    margin: 0;
    color: #4d4d4d;
    font-size: 15px;
    line-height: 1.5;
}
.mg-offer .mg-app-fit__out:empty {
    display: none;
}
.mg-offer .mg-app-fit__col.is-yes .mg-app-fit__out {
    color: #191b20;
    font-weight: 700;
}

@media (max-width: 767px) {
    .mg-app-fit {
        margin-bottom: 36px;
    }
    .mg-app-fit__cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .mg-app-fit__col {
        padding: 18px 16px;
    }
    .mg-offer .mg-app-fit__tag {
        font-size: 17px;
    }
    .mg-app-fit li,
    .mg-app-fit__opt {
        font-size: 15px;
    }
    .mg-app-fit li {
        margin-bottom: 8px;
    }
    .mg-app-fit__opt {
        margin: 0 -8px;
        padding: 10px 8px;
    }
    .mg-app-fit__foot .mg-offer-btn {
        width: 100%;
    }
    /* On a phone the call button is in the fixed bar at the bottom. */
    .mg-offer .mg-app-fit__ask {
        display: none;
    }
    .mg-app-fit__col:not(.mg-app-fit__col--yes) ul {
        margin-bottom: 0;
    }
}

/* ======================================================================
   Module in the site or a standalone application: one comparison table.
   On a phone each row label spans the width and the two answers sit side by side under it.
   ====================================================================== */
.mg-offer .mg-app-modes__h {
    margin-bottom: 16px;
}
.mg-app-vs {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 16px;
    line-height: 1.55;
}
.mg-app-vs th,
.mg-app-vs td {
    padding: 14px 24px;
    border: 0;
    border-bottom: 1px solid #e3e3e0;
    background: #fff;
    color: #262626;
    text-align: left;
    vertical-align: top;
}
.mg-app-vs .mg-app-vs__corner {
    width: 190px;
    border-bottom: 0;
    background: transparent;
}
.mg-app-vs thead th {
    padding: 22px 24px 18px;
    border-top: 4px solid #191b20;
    border-bottom: 1px solid #d9d9d6;
    color: #191b20;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}
/* A sketch of each form: a widget inside the page you already have, or a whole application
   with its own menu, account and data. Decorative, the text says the same. */
.mg-app-vs__head {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}
.mg-app-vs__pic {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 1024px) {
    .mg-app-vs__head {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .mg-app-vs__pic {
        max-width: 180px;
    }
}
.mg-app-vs__tag {
    display: block;
    margin-bottom: 6px;
    color: #c5121a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.mg-app-vs tbody th {
    padding-left: 0;
    background: transparent;
    color: #191b20;
    font-size: 15px;
    font-weight: 700;
}
/* The standalone application: graphite column, as the heavier of the two. */
.mg-app-vs .is-dark {
    border-bottom-color: #3b3e46;
    background: #191b20;
    color: #fff;
}
.mg-app-vs thead th.is-dark {
    border-top-color: #d9161e;
    border-bottom-color: #3b3e46;
    color: #fff;
}
.mg-app-vs .is-dark .mg-app-vs__tag {
    color: #ff8a8f;
}
.mg-app-vs .is-fit td {
    background: #f5f5f3;
    color: #191b20;
    font-weight: 600;
}
.mg-app-vs .is-fit td.is-dark {
    background: #2a2d34;
    color: #fff;
}
.mg-app-vs .is-go td {
    padding-top: 18px;
    padding-bottom: 22px;
    border-bottom: 0;
}
.mg-app-vs .is-go .mg-app-vs__corner {
    background: transparent;
}
.mg-offer .mg-app-vs__go {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 20px;
    border: 2px solid #c5121a;
    border-radius: 3px;
    color: #c5121a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.mg-offer .mg-app-vs__go:hover,
.mg-offer .mg-app-vs__go:focus-visible {
    background: #c5121a;
    color: #fff;
}
.mg-offer .mg-app-vs .is-dark .mg-app-vs__go {
    border-color: #d9161e;
    background: #d9161e;
    color: #fff;
}
.mg-offer .mg-app-vs .is-dark .mg-app-vs__go:hover,
.mg-offer .mg-app-vs .is-dark .mg-app-vs__go:focus-visible {
    border-color: #fff;
    background: #fff;
    color: #191b20;
}
.mg-offer .mg-app-vs .is-dark .mg-app-vs__go:focus-visible {
    outline-color: #fff;
}
.mg-offer .mg-app-note {
    margin: 24px 0 0;
    color: #4d4d4d;
}

@media (max-width: 1024px) {
    .mg-app-vs .mg-app-vs__corner {
        width: 130px;
    }
    .mg-app-vs th,
    .mg-app-vs td {
        padding: 12px 16px;
    }
}
@media (max-width: 767px) {
    .mg-app-vs,
    .mg-app-vs thead,
    .mg-app-vs tbody {
        display: block;
    }
    .mg-app-vs tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mg-app-vs .mg-app-vs__corner {
        display: none;
    }
    .mg-app-vs th,
    .mg-app-vs td {
        padding: 10px 12px;
        font-size: 15px;
        line-height: 1.5;
    }
    .mg-app-vs thead th {
        padding: 14px 12px 12px;
        font-size: 17px;
    }
    .mg-app-vs__tag {
        font-size: 13px;
    }
    /* The row label spans both answers. */
    .mg-app-vs tbody th {
        grid-column: 1 / -1;
        padding: 14px 0 6px;
        border-bottom: 0;
        font-size: 14px;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }
    .mg-app-vs td:not(.is-dark) {
        border-right: 1px solid #e3e3e0;
        border-left: 1px solid #e3e3e0;
    }
    .mg-app-vs thead th:not(.is-dark) {
        border-left: 1px solid #e3e3e0;
        border-right: 1px solid #e3e3e0;
    }
    .mg-app-vs .is-go td {
        padding: 12px 10px 14px;
    }
    .mg-app-vs .is-go td:not(.is-dark) {
        border-bottom: 1px solid #e3e3e0;
    }
    .mg-offer .mg-app-vs__go {
        width: 100%;
        justify-content: center;
        padding: 8px 10px;
        font-size: 14px;
        text-align: center;
    }
}

/* ======================================================================
   Process: one card per stage, opened by the question the buyer asks before ordering
   ====================================================================== */
.mg-app-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-app-flow > li {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 22px 20px;
    border: 1px solid #e3e3e0;
    border-top: 3px solid #191b20;
    background: #fff;
}
/* The order of the stages, between the cards on wide screens. */
.mg-app-flow > li:not(:last-child)::after {
    content: "→" / "";
    position: absolute;
    top: 30px;
    right: -20px;
    z-index: 1;
    color: #c5121a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}
.mg-app-flow h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #191b20;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}
.mg-app-flow__n {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c5121a;
    color: #fff;
    font-size: 17px;
    line-height: 1;
}
.mg-offer .mg-app-flow p {
    margin: 0 0 12px;
    color: #4d4d4d;
    font-size: 15px;
    line-height: 1.55;
}
.mg-offer .mg-app-flow .mg-app-flow__q {
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid #c5121a;
    color: #191b20;
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.45;
}
.mg-offer .mg-app-flow .mg-app-flow__out {
    margin: auto 0 0;
    padding-top: 12px;
    border-top: 1px solid #e3e3e0;
    color: #262626;
}
.mg-app-flow__out b {
    color: #c5121a;
}
.mg-offer .mg-offer-callout b {
    color: #191b20;
}

/* Titles of one or two lines keep the questions under them on one level. */
@media (min-width: 1200px) {
    .mg-app-flow h3 {
        min-height: 50px;
    }
}
@media (max-width: 1199px) {
    .mg-app-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mg-app-flow > li::after {
        display: none;
    }
}
@media (max-width: 767px) {
    .mg-app-flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .mg-app-flow > li {
        padding: 16px 16px 14px;
    }
    .mg-app-flow h3 {
        margin-bottom: 10px;
        font-size: 18px;
    }
    .mg-app-flow__n {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .mg-offer .mg-app-flow p {
        margin-bottom: 10px;
    }
    .mg-offer .mg-app-flow .mg-app-flow__out {
        padding-top: 10px;
    }
}

/* ======================================================================
   Cost (a soft section right after "module or standalone"): the short answer and the five things
   that move the price on the left, the dark card with the way to the quote next to them from the
   first line, then the features one can order.
   ====================================================================== */
.mg-offer .mg-app-answer {
    margin: 0 0 32px;
    padding: 18px 22px;
    border-left: 4px solid #c5121a;
    background: #fff;
    color: #262626;
    font-size: 17px;
    line-height: 1.6;
}
.mg-app-answer strong {
    color: #191b20;
}
.mg-app-price {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
}
.mg-app-factors {
    margin: 0;
    padding: 0;
    border-top: 1px solid #e3e3e0;
    list-style: none;
    counter-reset: mg-factor;
}
.mg-app-factors li {
    position: relative;
    padding: 16px 0 16px 52px;
    border-bottom: 1px solid #e3e3e0;
    counter-increment: mg-factor;
}
.mg-app-factors li::before {
    content: counter(mg-factor) / "";
    position: absolute;
    top: 16px;
    left: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #191b20;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}
.mg-app-factors li:first-child::before {
    background: #c5121a;
}
.mg-app-factors h4 {
    margin-bottom: 4px;
    color: #191b20;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}
.mg-offer .mg-app-factors p {
    margin: 0;
    color: #4d4d4d;
    font-size: 15px;
    line-height: 1.6;
}
.mg-app-price a {
    color: #c5121a;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.mg-app-price a:hover {
    color: #8f0c12;
}

/* Next to the five factors: the question the section raises, answered with the way to the form,
   and where two prices are already published. */
.mg-app-ask {
    padding: 28px 28px 24px;
    border-top: 4px solid #d9161e;
    background: #191b20;
    color: #d6d8dc;
}
.mg-offer .mg-app-ask__h {
    margin: 0 0 8px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}
.mg-offer .mg-app-ask__go {
    margin: 0 0 18px;
    color: #d6d8dc;
    font-size: 15px;
    line-height: 1.55;
}
.mg-offer .mg-app-ask__note {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid #3b3e46;
    color: #d6d8dc;
    font-size: 15px;
    line-height: 1.6;
}
.mg-offer .mg-app-ask__note a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mg-offer .mg-app-ask__note a:hover {
    color: #ff8086;
}
.mg-offer .mg-app-price .mg-app-ask__btn {
    color: #fff;
    text-decoration: none;
}
.mg-offer .mg-app-price .mg-app-ask__btn:hover {
    border-color: #fff;
    background: #fff;
    color: #191b20;
}
.mg-app-ask a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}
/* The owner's prices for parts of an application; a whole application has no price. */
.mg-app-ask__prices {
    margin: 0 0 18px;
    border-top: 1px solid #3b3e46;
}
.mg-app-ask__prices > div {
    padding: 12px 0;
    border-bottom: 1px solid #3b3e46;
}
.mg-app-ask__prices dt {
    margin: 0 0 2px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}
.mg-app-ask__prices dd {
    margin: 0;
    color: #c7c9ce;
    font-size: 14px;
    line-height: 1.5;
}
.mg-app-ask__prices dd strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
}

/* Payment, guarantee, server and care: the shared price facts (css/offer.css), three in a row, white on the soft section. */
.mg-offer .mg-app-terms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 32px;
    border: 1px solid #e3e3e0;
    background: #fff;
}
@media (max-width: 1024px) {
    .mg-offer .mg-app-terms {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Features one can order: four labelled groups, in the order a buyer thinks of them
   (accounts, selling, systems, phone). Open on wide screens, folded on a phone (js/offer.js, data-mg-fold). */
.mg-app-cost {
    margin-top: 48px;
    padding: 6px 32px 28px;
    border: 1px solid #e3e3e0;
    background: #fff;
}
.mg-app-fold summary {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 16px;
    padding: 20px 44px 16px 0;
    cursor: pointer;
    list-style: none;
}
.mg-app-fold summary::-webkit-details-marker {
    display: none;
}
.mg-app-fold summary::after {
    content: "+" / "";
    position: absolute;
    top: 13px;
    right: 0;
    color: #c5121a;
    font-size: 28px;
    line-height: 1.3;
}
.mg-app-fold[open] summary::after {
    content: "–" / "";
}
.mg-offer .mg-app-fold .mg-app-sub {
    margin: 0;
}
.mg-app-fold summary:hover .mg-app-sub {
    color: #c5121a;
}
.mg-app-fold summary:focus-visible {
    outline: 3px solid #c5121a;
    outline-offset: 2px;
}
.mg-app-fold__hint {
    color: #4d4d4d;
    font-size: 15px;
}
.mg-app-feats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 32px;
    padding-top: 18px;
    border-top: 1px solid #d9d9d6;
}
.mg-offer .mg-app-feats__h {
    margin: 0 0 8px;
    color: #191b20;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}
.mg-app-feats ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-app-feats li {
    position: relative;
    margin-bottom: 6px;
    padding-left: 16px;
    color: #262626;
    font-size: 15px;
    line-height: 1.5;
}
.mg-app-feats li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 6px;
    height: 6px;
    background: #c5121a;
}

/* While the five factors are read, the card stays next to them. */
@media (min-width: 1025px) {
    .mg-app-ask {
        position: sticky;
        top: 88px;
    }
}
@media (max-width: 1024px) {
    .mg-app-price {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .mg-app-ask {
        max-width: 620px;
    }
    .mg-app-feats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .mg-offer .mg-app-answer {
        margin-bottom: 24px;
        padding: 14px 16px;
        font-size: 16px;
    }
    .mg-app-factors li {
        padding: 14px 0 14px 44px;
    }
    .mg-app-factors li::before {
        top: 14px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .mg-app-factors h4 {
        font-size: 17px;
    }
    .mg-app-price {
        gap: 20px;
    }
    /* On a phone the form is the next section: the card keeps its question, the button and the two
       published prices; the line about the first question of the form is left out. */
    .mg-app-ask {
        padding: 18px 16px;
    }
    .mg-offer .mg-app-ask__h {
        margin-bottom: 14px;
        font-size: 19px;
    }
    .mg-offer .mg-app-ask__go {
        display: none;
    }
    .mg-app-ask__btn {
        width: 100%;
    }
    .mg-offer .mg-app-ask__note {
        margin-top: 16px;
        padding-top: 14px;
    }
    .mg-app-cost {
        margin: 20px -15px 0;
        padding: 0 15px 4px;
        border-right: 0;
        border-left: 0;
    }
    .mg-app-fold summary {
        padding: 14px 40px 14px 0;
    }
    .mg-app-fold summary::after {
        top: 8px;
    }
    .mg-app-fold__hint {
        font-size: 14px;
    }
    .mg-app-feats {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 14px 0 18px;
    }
    .mg-app-feats li {
        margin-bottom: 4px;
    }
}

/* ======================================================================
   Quote: on wide screens the reassurance on the left, the form on the right from the section's
   first line; on smaller screens the form comes right after the heading.
   ====================================================================== */
.mg-offer .mg-app-picked {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-left: 4px solid #c5121a;
    background: #fbf1f1;
    color: #262626;
    font-size: 15px;
    line-height: 1.45;
}
.mg-offer .mg-app-picked[hidden],
.mg-wyc:has(.mg-wyc__panel--ok.is-active) .mg-app-picked {
    display: none;
}
.mg-offer-quote .mg-offer-quote__contact {
    padding-top: 18px;
    border-top: 1px solid #3b3e46;
}
.mg-offer .mg-offer-quote__contact p {
    margin: 0 0 4px;
}
.mg-offer .mg-offer-quote__contact > p:first-child {
    color: #fff;
    font-weight: 700;
}
/* Three project scales (the form has no SLA tier): one row, or on a phone two with the last across. */
.mg-offer--aplikacje .mg-wyc__panel[data-panel="1"] .mg-wyc__tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 680px) {
    .mg-offer--aplikacje .mg-wyc__panel[data-panel="1"] .mg-wyc__tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mg-offer--aplikacje .mg-wyc__panel[data-panel="1"] .mg-wyc__tile:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* The hint of step 1 comes from the form's settings. */
.mg-offer--aplikacje .mg-wyc__panel[data-panel="1"] .mg-wyc__qs {
    margin: -6px auto 18px;
    text-align: center;
}

/* What to write: under what happens next, open on wide screens, folded on a phone (js/offer.js, data-mg-fold). */
.mg-app-brief {
    margin-top: 24px;
    border-left: 4px solid #d9161e;
    background: #22252b;
}
.mg-app-brief summary {
    position: relative;
    padding: 14px 48px 14px 20px;
    cursor: pointer;
    list-style: none;
}
.mg-app-brief summary::-webkit-details-marker {
    display: none;
}
.mg-app-brief summary::after {
    content: "+" / "";
    position: absolute;
    top: 9px;
    right: 18px;
    color: #fff;
    font-size: 26px;
    line-height: 1.3;
}
.mg-app-brief[open] summary::after {
    content: "–" / "";
}
.mg-app-brief h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}
.mg-app-brief__body {
    padding: 0 20px 18px;
    color: #d6d8dc;
    font-size: 15px;
    line-height: 1.55;
}
.mg-offer .mg-app-brief__body p {
    margin: 0 0 6px;
    color: #d6d8dc;
}
.mg-app-brief__body ul {
    margin: 0 0 8px;
    padding: 0 0 0 20px;
}
.mg-app-brief__body li {
    margin-bottom: 2px;
}
.mg-app-brief__body li::marker {
    color: #ff8a8f;
}
.mg-offer-quote .mg-app-brief summary:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

@media (min-width: 1025px) {
    .mg-offer--aplikacje .mg-offer-quote__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        grid-template-rows: auto auto 1fr;
        grid-template-areas:
            "intro form"
            "next form"
            "contact form";
        gap: 0 56px;
    }
    .mg-offer--aplikacje .mg-offer-quote__intro { grid-area: intro; }
    .mg-offer--aplikacje .mg-offer-quote__next { grid-area: next; margin-top: 28px; }
    .mg-offer--aplikacje .mg-offer-quote__contact { grid-area: contact; align-self: start; margin-top: 28px; }
    .mg-offer--aplikacje .mg-offer-quote__form { grid-area: form; }
    .mg-offer--aplikacje .mg-offer-head--light h2 { font-size: 38px; }
    /* The form column is about 630 px wide: two features per row, three in the type step. */
    .mg-offer--aplikacje .mg-wyc__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mg-offer--aplikacje .mg-wyc__panel[data-panel="2"] .mg-wyc__tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 1024px) {
    .mg-offer-quote__intro { order: 1; }
    .mg-offer-quote__form { order: 2; }
    .mg-offer-quote__next { order: 3; }
    .mg-offer-quote__contact { order: 4; }
    .mg-offer-quote .mg-offer-quote__next {
        margin-top: 8px;
    }
}

/* ======================================================================
   Closing band: local phrase, three ways to talk, the form one click away
   ====================================================================== */
.mg-app-final__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 28px 64px;
    align-items: center;
}
.mg-app-final .mg-offer-head {
    max-width: none;
    margin-bottom: 0;
}
.mg-app-final .mg-offer-head h2 {
    font-size: 34px;
    letter-spacing: -0.8px;
}
.mg-app-final__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.mg-app-ways {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-app-ways li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #3b3e46;
    background: #22252b;
}
.mg-app-ways .fa {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #d9161e;
    color: #fff;
    font-size: 18px;
}
.mg-app-ways strong {
    display: block;
    color: #fff;
    font-size: 16px;
}
.mg-app-ways div > span {
    display: block;
    color: #d6d8dc;
    font-size: 15px;
    line-height: 1.45;
}
.mg-offer .mg-app-ways a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mg-offer .mg-app-ways a:hover {
    color: #ff8086;
}
/* Foot of the band: the other services as plain links (they no longer stand between the questions
   and this last call to action), then the registration note. */
.mg-app-final__foot {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid #3b3e46;
}
.mg-app-final__more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 24px;
}
.mg-offer .mg-app-final__label {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.mg-app-final__more ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mg-offer .mg-app-final__more a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #d6d8dc;
    font-size: 15px;
    font-weight: 400;
    text-decoration: underline;
    text-decoration-color: #6b6f78;
    text-underline-offset: 4px;
    white-space: normal;
}
.mg-offer .mg-app-final__more a:hover {
    color: #fff;
    text-decoration-color: #ff8086;
}
.mg-offer .mg-app-final__legal {
    margin: 6px 0 0;
    color: #d6d8dc;
    font-size: 15px;
}
.mg-offer .mg-app-final__legal a {
    color: #fff;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .mg-app-final__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}
@media (max-width: 767px) {
    .mg-app-final .mg-offer-head h2 {
        font-size: 26px;
        letter-spacing: -0.5px;
    }
    .mg-app-final__cta {
        margin-top: 20px;
    }
    .mg-app-final__cta .mg-offer-btn {
        width: 100%;
    }
    .mg-app-ways li {
        padding: 10px 12px;
    }
    .mg-app-final__more {
        display: block;
    }
    .mg-offer .mg-app-final__label {
        margin-bottom: 2px;
    }
    .mg-app-final__more ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 16px;
    }
    .mg-offer .mg-app-final__more a {
        line-height: 1.35;
    }
    .mg-offer .mg-app-final__legal {
        margin-top: 12px;
    }
}

/* Quote: three reasons to trust the quote, next to the form (light ticks on graphite). */
/* The ticks open the column under the heading on wide screens and follow the form on smaller ones,
   so on a phone the form starts right under the heading. */
.mg-offer-quote .mg-app-quote-proof {
    margin: 22px 0 26px;
}
@media (min-width: 1025px) {
    .mg-offer--aplikacje .mg-offer-quote__next {
        margin-top: 0;
    }
}
@media (max-width: 1024px) {
    .mg-offer-quote .mg-app-quote-proof {
        margin-top: 8px;
    }
}
/* A direct answer opens every question, so a skim of the bold lines answers most of them. */
.mg-offer-faq details p > strong:first-child {
    color: #191b20;
}
.mg-offer-quote .mg-app-quote-proof li {
    margin-bottom: 6px;
    color: #d6d8dc;
    font-size: 15px;
}
.mg-offer-quote .mg-app-quote-proof li::before {
    border-color: #ff8a8f;
}
.mg-offer-quote .mg-app-quote-proof b {
    color: #fff;
}
/* On wide screens the form stays in view while the column next to it is read; a long step
   (the feature list) is taller than that column, so it simply scrolls with the page. */
@media (min-width: 1025px) {
    .mg-offer--aplikacje .mg-offer-quote__form {
        position: sticky;
        top: 88px;
        align-self: start;
    }
}
