/**
 * Pricing route — scoped graphical layout aligned with landing page (.mm-page) tokens.
 */

body.mm-marketing-route [ui-view="body"] .mm-pricing-page {
    --mm-pr-blue: #282f89;
    --mm-pr-blue-dark: #1e2577;
    --mm-pr-orange: #f05d45;
    --mm-pr-yellow: #ffd83d;
    --mm-pr-ink: #20223a;
    --mm-pr-panel: #f6f8ff;
    --mm-pr-green: #067a1e;
    --mm-pr-max: 1100px;
    --mm-pr-display: "Manrope", "Inter", system-ui, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--mm-pr-ink);
    font-size: 16px;
    line-height: 1.55;
    background: #fff;
}

/* Hero band */
body.mm-marketing-route [ui-view="body"] .mm-pricing-hero {
    background: linear-gradient(135deg, var(--mm-pr-blue-dark) 0%, var(--mm-pr-blue) 55%, #3f75e8 100%);
    color: #fff;
    padding: 48px 20px 88px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 216, 61, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 88% 10%, rgba(240, 93, 69, 0.14) 0%, transparent 38%);
    pointer-events: none;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-eyebrow {
    margin: 0 0 12px;
    font-family: var(--mm-pr-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mm-pr-yellow);
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-hero-title {
    margin: 0 0 14px;
    font-family: var(--mm-pr-display);
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-hero-lead {
    margin: 0;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

/* Shell + main card */
body.mm-marketing-route [ui-view="body"] .mm-pricing-shell {
    max-width: var(--mm-pr-max);
    margin: -56px auto 0;
    padding: 0 16px 56px;
    position: relative;
    z-index: 2;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-main-card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(40, 47, 137, 0.12);
    box-shadow: 0 28px 70px rgba(20, 31, 80, 0.18);
    padding: 28px 22px 32px;
    margin-bottom: 28px;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-card-header {
    text-align: center;
    margin-bottom: 18px;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-card-title {
    margin: 0 0 6px;
    font-family: var(--mm-pr-display);
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 800;
    color: var(--mm-pr-blue);
    line-height: 1.1;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-card-subtitle {
    margin: 0;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 600;
    color: #4e5870;
    line-height: 1.35;
}

/* Region tabs */
body.mm-marketing-route [ui-view="body"] .mm-pricing-region-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0 auto 26px;
    padding: 8px;
    max-width: 520px;
    border: 1px solid rgba(40, 47, 137, 0.22);
    border-radius: 14px;
    background: var(--mm-pr-panel);
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-region-tabs > li {
    flex: 1 1 140px;
    list-style: none;
    margin: 0;
    padding: 0;
    float: none;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-region-tabs > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 18px;
    border-radius: 10px;
    font-family: var(--mm-pr-display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mm-pr-ink) !important;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.18s ease, background 0.18s ease;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-region-tabs > li.active > a,
body.mm-marketing-route [ui-view="body"] .mm-pricing-region-tabs > li > a.active {
    color: var(--mm-pr-blue) !important;
    background: #fff;
    box-shadow: 0 0 0 2px var(--mm-pr-blue), 0 8px 20px rgba(40, 47, 137, 0.12);
}

/* Price panel */
body.mm-marketing-route [ui-view="body"] .mm-pricing-price-panel {
    text-align: center;
    background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
    border: 1px solid #e5e9f8;
    border-radius: 18px;
    padding: 28px 20px 24px;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-logo-badge {
    width: 88px;
    height: 88px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff5ef, #fff);
    border: 3px solid var(--mm-pr-orange);
    box-shadow: 0 12px 28px rgba(240, 93, 69, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-logo-badge img {
    border-radius: 50%;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-plan-label {
    margin: 0 0 8px;
    font-family: var(--mm-pr-display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #58637c;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-price-display {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    line-height: 1;
    margin-bottom: 6px;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-amount {
    font-family: var(--mm-pr-display);
    font-size: clamp(52px, 10vw, 72px);
    font-weight: 900;
    color: var(--mm-pr-blue);
    letter-spacing: -0.04em;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-amount::first-letter {
    font-size: 0.39em;
    font-weight: 800;
    vertical-align: 0.35em;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-cents {
    font-family: var(--mm-pr-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--mm-pr-blue);
    margin-top: 10px;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-currency-code {
    align-self: center;
    margin-left: 10px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(40, 47, 137, 0.1);
    border: 1px solid rgba(40, 47, 137, 0.2);
    font-family: var(--mm-pr-display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--mm-pr-blue);
    line-height: 1;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-period {
    margin: 0 0 22px;
    font-size: 15px;
    font-weight: 700;
    color: #8c8c8c;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-perks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-perks--three {
    max-width: 640px;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-perks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e8ecf7;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.4;
    color: #26324a;
    min-height: 44px;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-perks .fa {
    color: var(--mm-pr-orange);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

/* Integration strip */
body.mm-marketing-route [ui-view="body"] .mm-pricing-integration-strip {
    background: var(--mm-pr-panel);
    border: 1px solid #e5e9f8;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 24px;
    text-align: center;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-strip-label {
    display: block;
    margin-bottom: 12px;
    font-family: var(--mm-pr-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mm-pr-blue);
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-integration-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-family: var(--mm-pr-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    min-height: 44px;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-chip--xero {
    background: #e8f4fc;
    color: #0d6e9e;
    border: 1px solid #b8dff5;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-chip--repco {
    background: #fff4e8;
    color: #b45309;
    border: 1px solid #fcd9b0;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-chip--burson {
    background: #eef8ee;
    color: #2d6a2d;
    border: 1px solid #c8e6c8;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-chip--acct {
    background: #eef0ff;
    color: var(--mm-pr-blue);
    border: 1px solid #c8cff5;
}

/* Highlight cards */
body.mm-marketing-route [ui-view="body"] .mm-pricing-highlight-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-highlight-card {
    background: #fff;
    border: 1px solid #e5e9f8;
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 12px 36px rgba(25, 36, 90, 0.07);
    text-align: center;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-highlight-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-highlight-icon--blue {
    background: linear-gradient(135deg, var(--mm-pr-blue), #3f75e8);
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-highlight-icon--orange {
    background: linear-gradient(135deg, var(--mm-pr-orange), #ff8a65);
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-highlight-icon--yellow {
    background: linear-gradient(135deg, #e6b800, var(--mm-pr-yellow));
    color: var(--mm-pr-ink);
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-highlight-card h3 {
    margin: 0 0 8px;
    font-family: var(--mm-pr-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--mm-pr-blue);
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-highlight-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #526078;
}

/* Features section */
body.mm-marketing-route [ui-view="body"] .mm-pricing-features-section {
    background: linear-gradient(180deg, var(--mm-pr-panel) 0%, #fff 100%);
    border: 1px solid #e5e9f8;
    border-radius: 20px;
    padding: 28px 20px 32px;
    margin-bottom: 28px;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-features-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 24px;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-features-head h2 {
    margin: 0 0 10px;
    font-family: var(--mm-pr-display);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    color: var(--mm-pr-blue);
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-features-head p {
    margin: 0;
    font-size: 16px;
    color: #526078;
    line-height: 1.5;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(40, 47, 137, 0.08);
    font-size: 15px;
    line-height: 1.45;
    color: #26324a;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-features .fa-check {
    color: var(--mm-pr-green);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* CTA band */
body.mm-marketing-route [ui-view="body"] .mm-pricing-cta-band {
    background: linear-gradient(135deg, var(--mm-pr-blue-dark), var(--mm-pr-blue));
    color: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(30, 37, 119, 0.25);
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-cta-band h2 {
    margin: 0 0 10px;
    font-family: var(--mm-pr-display);
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 800;
    color: #fff;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-cta-band > p {
    margin: 0 0 22px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-cta-row .btn {
    min-height: 50px;
    min-width: 180px;
    font-family: var(--mm-pr-display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 26px;
    border-radius: 999px;
    border: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-cta-row .btn:hover,
body.mm-marketing-route [ui-view="body"] .mm-pricing-cta-row .btn:focus {
    transform: translateY(-2px);
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-cta-trial {
    background: var(--mm-pr-orange) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(240, 93, 69, 0.35);
}

body.mm-marketing-route [ui-view="body"] .mm-pricing-cta-buy {
    background: var(--mm-pr-yellow) !important;
    color: var(--mm-pr-ink) !important;
    box-shadow: 0 12px 28px rgba(255, 216, 61, 0.35);
}

@media (min-width: 768px) {
    body.mm-marketing-route [ui-view="body"] .mm-pricing-hero {
        padding: 56px 24px 100px;
    }

    body.mm-marketing-route [ui-view="body"] .mm-pricing-shell {
        padding: 0 24px 64px;
        margin-top: -64px;
    }

    body.mm-marketing-route [ui-view="body"] .mm-pricing-main-card {
        padding: 36px 36px 40px;
    }

    body.mm-marketing-route [ui-view="body"] .mm-pricing-perks,
    body.mm-marketing-route [ui-view="body"] .mm-pricing-perks--three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 100%;
    }

    body.mm-marketing-route [ui-view="body"] .mm-pricing-highlight-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.mm-marketing-route [ui-view="body"] .mm-pricing-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.mm-marketing-route [ui-view="body"] .mm-pricing-region-tabs > li > a {
        min-width: 200px;
    }
}

@media (min-width: 992px) {
    body.mm-marketing-route [ui-view="body"] .mm-pricing-features-section {
        padding: 36px 32px 40px;
    }
}
