.mtop-page {
    --mt-red: #981b2b;
    --mt-red-bright: #b32236;
    --mt-charcoal: #222226;
    --mt-charcoal-2: #2c2c31;
    --mt-beige: #e6ded2;
    --mt-paper: #f7f5f2;
    --mt-white: #ffffff;
    --mt-ink: #25252a;
    --mt-muted: #6d6d73;
    --mt-line: rgba(37, 37, 42, 0.13);
    width: 100vw;
    max-width: none;
    margin: 0 0 0 calc(50% - 50vw);
    overflow: hidden;
    color: var(--mt-ink);
    background: var(--mt-paper);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
}

.mtop-page *,
.mtop-page *::before,
.mtop-page *::after {
    box-sizing: border-box;
}

.mtop-page img {
    max-width: 100%;
}

.mtop-page h1,
.mtop-page h2,
.mtop-page h3,
.mtop-page p {
    margin-top: 0;
}

.mtop-page h1,
.mtop-page h2,
.mtop-page h3 {
    color: inherit;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.mtop-shell {
    position: relative;
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
}

.mtop-hero {
    position: relative;
    min-height: 635px;
    overflow: hidden;
    color: var(--mt-white);
    background: var(--mt-charcoal);
}

.mtop-hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(31, 31, 35, 1) 0%, rgba(31, 31, 35, 0.97) 35%, rgba(31, 31, 35, 0.38) 62%, rgba(31, 31, 35, 0.04) 100%),
        linear-gradient(0deg, rgba(31, 31, 35, 0.96) 0%, rgba(31, 31, 35, 0) 32%);
}

.mtop-hero::after {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 48%;
    width: 88px;
    height: 100%;
    content: "";
    background: rgba(152, 27, 43, 0.8);
    clip-path: polygon(82% 0, 100% 0, 18% 100%, 0 100%);
}

.mtop-hero__image {
    position: absolute;
    inset: 0 0 0 37%;
    background-position: center right;
    background-size: cover;
}

.mtop-hero__inner {
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 547px;
    padding: 96px 0 112px;
}

.mtop-hero__content {
    width: min(590px, 50%);
}

.mtop-eyebrow,
.mtop-kicker {
    margin-bottom: 22px;
    color: var(--mt-beige);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.mtop-kicker {
    color: var(--mt-red);
}

.mtop-hero h1 {
    margin-bottom: 26px;
    color: var(--mt-white);
    font-size: clamp(50px, 4.7vw, 72px);
}

.mtop-hero h1 span {
    color: var(--mt-red-bright);
}

.mtop-hero h1 .mtop-hero__cant {
    color: var(--mt-red-bright);
    white-space: nowrap;
}

.mtop-hero__lead {
    max-width: 545px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.mtop-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.mtop-button,
.mtop-page .mtop-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    text-transform: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.mtop-button:hover,
.mtop-button:focus-visible {
    transform: translateY(-2px);
}

.mtop-button--primary {
    color: var(--mt-white) !important;
    background: var(--mt-red);
}

.mtop-button--primary:hover,
.mtop-button--primary:focus-visible {
    background: var(--mt-red-bright);
}

.mtop-text-link {
    position: relative;
    padding: 10px 0;
    color: var(--mt-white) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.mtop-text-link::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--mt-red);
    transform: scaleX(0.35);
    transform-origin: left;
    transition: transform 180ms ease;
}

.mtop-text-link:hover::after,
.mtop-text-link:focus-visible::after {
    transform: scaleX(1);
}

.mtop-metrics {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(17, 17, 19, 0.82);
    backdrop-filter: blur(14px);
}

.mtop-metric {
    display: flex;
    min-height: 88px;
    align-items: center;
    gap: 16px;
    padding: 17px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.mtop-metric:last-child {
    border-right: 0;
}

.mtop-metric strong {
    color: var(--mt-white);
    font-size: 44px;
    line-height: 1;
}

.mtop-metric span {
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.67);
    font-size: 12px;
    line-height: 1.45;
}

.mtop-metric b {
    color: var(--mt-white);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mtop-section {
    padding: 108px 0;
}

.mtop-section-heading {
    margin-bottom: 50px;
}

.mtop-section-heading--split {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
    gap: 80px;
}

.mtop-section-heading h2,
.mtop-wordpress h2,
.mtop-contact h2 {
    margin-bottom: 0;
    font-size: clamp(38px, 4vw, 62px);
}

.mtop-section-heading > p {
    margin-bottom: 4px;
    color: var(--mt-muted);
    font-size: 16px;
}

.mtop-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--mt-line);
    border-left: 1px solid var(--mt-line);
}

.mtop-service-card {
    min-height: 260px;
    padding: 38px 34px;
    border-right: 1px solid var(--mt-line);
    border-bottom: 1px solid var(--mt-line);
    background: rgba(255, 255, 255, 0.44);
    transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.mtop-service-card:hover {
    z-index: 1;
    color: var(--mt-white);
    background: var(--mt-charcoal);
    transform: translateY(-4px);
}

.mtop-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: var(--mt-red);
}

.mtop-icon svg,
.mtop-outcomes svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mtop-service-card h3 {
    margin-bottom: 14px;
    font-size: 21px;
    letter-spacing: -0.02em;
}

.mtop-service-card p {
    margin-bottom: 0;
    color: var(--mt-muted);
    font-size: 14px;
}

.mtop-service-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}

.mtop-feature {
    position: relative;
    overflow: hidden;
    color: var(--mt-white);
    background:
        radial-gradient(circle at 82% 0, rgba(152, 27, 43, 0.22), transparent 32%),
        var(--mt-charcoal);
}

.mtop-feature::after {
    position: absolute;
    right: -90px;
    bottom: -210px;
    width: 510px;
    height: 510px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    content: "";
    transform: rotate(45deg);
}

.mtop-feature__slash {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 12%;
    background: var(--mt-red);
    clip-path: polygon(0 0, 100% 0, 28% 100%, 0 100%);
}

.mtop-feature__inner {
    z-index: 1;
    display: grid;
    min-height: 470px;
    grid-template-columns: 0.9fr 1.45fr;
    align-items: center;
    gap: 70px;
}

.mtop-feature__mascot {
    align-self: end;
    text-align: center;
}

.mtop-feature__mascot img {
    display: block;
    width: min(390px, 100%);
    margin: auto auto 0;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.4));
}

.mtop-feature__content {
    padding: 86px 0;
}

.mtop-feature h2 {
    margin-bottom: 18px;
    color: var(--mt-white);
    font-size: clamp(38px, 4vw, 60px);
}

.mtop-feature h2 span {
    color: var(--mt-red-bright);
}

.mtop-feature__content > p:not(.mtop-eyebrow) {
    max-width: 690px;
    color: rgba(255, 255, 255, 0.73);
    font-size: 17px;
}

.mtop-outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 45px;
}

.mtop-outcomes > div {
    display: flex;
    min-height: 90px;
    flex-direction: column;
    gap: 12px;
    padding: 0 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.mtop-outcomes > div:first-child {
    padding-left: 0;
}

.mtop-outcomes > div:last-child {
    border-right: 0;
}

.mtop-outcomes svg {
    width: 30px;
    height: 30px;
    color: var(--mt-beige);
}

.mtop-outcomes span {
    color: var(--mt-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mtop-process {
    background: var(--mt-white);
}

.mtop-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    counter-reset: steps;
}

.mtop-process-step {
    position: relative;
    min-height: 230px;
    padding: 28px 34px 20px 0;
}

.mtop-process-step:not(:last-child)::after {
    position: absolute;
    top: 44px;
    right: 22px;
    width: 30px;
    height: 1px;
    content: "";
    background: var(--mt-red);
}

.mtop-process-step > span {
    display: block;
    margin-bottom: 34px;
    color: #dedad5;
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
}

.mtop-process-step h3 {
    margin-bottom: 14px;
    font-size: 22px;
}

.mtop-process-step p {
    margin-bottom: 0;
    color: var(--mt-muted);
    font-size: 14px;
}

.mtop-wordpress {
    padding: 110px 0;
    background: var(--mt-beige);
}

.mtop-wordpress__inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 90px;
}

.mtop-wordpress__copy > p:last-child {
    max-width: 570px;
    margin: 26px 0 0;
    color: #5e5c5a;
    font-size: 16px;
}

.mtop-module-map {
    position: relative;
    display: grid;
    grid-template-columns: 0.75fr 1.35fr 0.85fr;
    align-items: center;
    gap: 22px;
}

.mtop-module-map::before {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: 10%;
    left: 10%;
    height: 2px;
    content: "";
    background: rgba(152, 27, 43, 0.35);
}

.mtop-module-map__inputs,
.mtop-module-map__plugin,
.mtop-module-map__output {
    position: relative;
    z-index: 1;
}

.mtop-module-map__inputs {
    display: grid;
    gap: 12px;
}

.mtop-module-map__inputs span,
.mtop-module-map__plugin strong {
    display: block;
    padding: 11px 13px;
    border: 1px solid rgba(37, 37, 42, 0.12);
    background: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 700;
}

.mtop-module-map__plugin {
    padding: 17px;
    border-top: 5px solid var(--mt-red);
    box-shadow: 0 24px 55px rgba(53, 42, 40, 0.16);
    background: var(--mt-charcoal);
}

.mtop-module-map__plugin small {
    display: block;
    margin-bottom: 12px;
    color: var(--mt-beige);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mtop-module-map__plugin strong {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.mtop-module-map__output {
    display: flex;
    min-height: 160px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    color: var(--mt-white);
    text-align: center;
    background: var(--mt-red);
}

.mtop-module-map__output b {
    font-size: 34px;
}

.mtop-module-map__output span {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.mtop-contact {
    position: relative;
    overflow: hidden;
    padding: 115px 0;
    color: var(--mt-white);
    background: var(--mt-red);
}

.mtop-contact::before,
.mtop-contact::after {
    position: absolute;
    content: "";
    background: rgba(255, 255, 255, 0.055);
    transform: rotate(42deg);
}

.mtop-contact::before {
    top: -250px;
    right: -210px;
    width: 560px;
    height: 560px;
}

.mtop-contact::after {
    bottom: -370px;
    left: 26%;
    width: 520px;
    height: 520px;
}

.mtop-contact__inner {
    z-index: 1;
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    align-items: start;
    gap: 95px;
}

.mtop-contact .mtop-eyebrow {
    color: var(--mt-beige);
}

.mtop-contact h2 {
    margin-bottom: 24px;
    color: var(--mt-white);
}

.mtop-contact__copy > p:not(.mtop-eyebrow) {
    color: rgba(255, 255, 255, 0.77);
    font-size: 17px;
}

.mtop-contact__details {
    display: grid;
    gap: 5px;
    margin-top: 34px;
}

.mtop-contact__details a {
    color: var(--mt-white) !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.mtop-form {
    padding: 42px;
    color: var(--mt-ink);
    background: var(--mt-white);
    box-shadow: 0 30px 70px rgba(70, 4, 14, 0.28);
}

.mtop-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.mtop-form label {
    display: block;
    margin: 0;
}

.mtop-form label > span {
    display: block;
    margin-bottom: 8px;
    color: #3d3d42;
    font-size: 12px;
    font-weight: 800;
}

.mtop-form input,
.mtop-form select,
.mtop-form textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid #d9d6d5;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    color: var(--mt-ink);
    background: #fbfaf8;
    font: inherit;
    font-size: 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.mtop-form input,
.mtop-form select {
    min-height: 48px;
}

.mtop-form textarea {
    min-height: 126px;
    resize: vertical;
}

.mtop-form input:focus,
.mtop-form select:focus,
.mtop-form textarea:focus {
    border-color: var(--mt-red);
    box-shadow: 0 0 0 3px rgba(152, 27, 43, 0.1);
}

.mtop-form__full {
    grid-column: 1 / -1;
}

.mtop-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.mtop-form .g-recaptcha {
    margin-top: 22px;
}

.mtop-button--light {
    width: 100%;
    margin-top: 24px;
    color: var(--mt-white) !important;
    background: var(--mt-charcoal);
    cursor: pointer;
}

.mtop-button--light:hover,
.mtop-button--light:focus-visible {
    background: var(--mt-red);
}

.mtop-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.mtop-form__status {
    display: none;
    margin-top: 18px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
}

.mtop-form__status.is-success,
.mtop-form__status.is-error {
    display: block;
}

.mtop-form__status.is-success {
    color: #185b31;
    background: #e6f5eb;
}

.mtop-form__status.is-error {
    color: #8a1828;
    background: #f9e7e9;
}

@media (max-width: 1024px) {
    .mtop-hero__content {
        width: 62%;
    }

    .mtop-hero__image {
        left: 30%;
        opacity: 0.7;
    }

    .mtop-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mtop-feature__inner,
    .mtop-wordpress__inner,
    .mtop-contact__inner {
        gap: 48px;
    }

    .mtop-feature__inner {
        grid-template-columns: 0.75fr 1.45fr;
    }

    .mtop-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .mtop-process-step:not(:last-child)::after {
        display: none;
    }

    .mtop-module-map {
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .mtop-shell {
        width: min(100% - 36px, 620px);
    }

    .mtop-hero {
        min-height: auto;
        padding-bottom: 0;
    }

    .mtop-hero::before {
        background: linear-gradient(180deg, rgba(31, 31, 35, 0.95) 0%, rgba(31, 31, 35, 0.92) 58%, rgba(31, 31, 35, 1) 100%);
    }

    .mtop-hero::after {
        top: auto;
        right: -20%;
        bottom: 0;
        left: auto;
        width: 75%;
        height: 40px;
        clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    }

    .mtop-hero__image {
        inset: 0;
        opacity: 0.46;
        background-position: 66% center;
    }

    .mtop-hero__inner {
        min-height: 660px;
        padding: 82px 0 200px;
    }

    .mtop-hero__content {
        width: 100%;
    }

    .mtop-hero h1 {
        font-size: clamp(46px, 14vw, 68px);
    }

    .mtop-hero__lead {
        font-size: 16px;
    }

    .mtop-metrics {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .mtop-metric {
        min-height: 68px;
        padding: 12px 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .mtop-metric strong {
        min-width: 52px;
        font-size: 34px;
    }

    .mtop-section,
    .mtop-wordpress,
    .mtop-contact {
        padding: 75px 0;
    }

    .mtop-section-heading--split,
    .mtop-feature__inner,
    .mtop-wordpress__inner,
    .mtop-contact__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mtop-section-heading--split {
        align-items: start;
    }

    .mtop-section-heading h2,
    .mtop-wordpress h2,
    .mtop-contact h2,
    .mtop-feature h2 {
        font-size: clamp(36px, 10vw, 50px);
    }

    .mtop-service-grid,
    .mtop-process-grid {
        grid-template-columns: 1fr;
    }

    .mtop-service-card {
        min-height: auto;
    }

    .mtop-feature__inner {
        min-height: auto;
    }

    .mtop-feature__mascot {
        order: 2;
    }

    .mtop-feature__mascot img {
        width: min(290px, 80%);
    }

    .mtop-feature__content {
        padding: 75px 0 0;
    }

    .mtop-outcomes {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mtop-outcomes > div,
    .mtop-outcomes > div:first-child {
        min-height: auto;
        flex-direction: row;
        align-items: center;
        padding: 0;
        border-right: 0;
    }

    .mtop-process-step {
        min-height: auto;
        padding-right: 0;
    }

    .mtop-module-map {
        grid-template-columns: 1fr;
    }

    .mtop-module-map::before {
        top: 10%;
        right: 50%;
        bottom: 10%;
        left: auto;
        width: 2px;
        height: auto;
    }

    .mtop-module-map__output {
        min-height: 125px;
    }

    .mtop-form {
        padding: 28px 22px;
    }

    .mtop-form__grid {
        grid-template-columns: 1fr;
    }

    .mtop-form__full {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mtop-page *,
    .mtop-page *::before,
    .mtop-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
