/* ===== Media Agency Page (media-agency-specific bits) ===== */

/* ── Hero — full viewport height ── */
.ma-page .ab-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding-top: 2.5rem;
}

@media (max-width: 600px) {
    .ma-page .ab-hero {
        min-height: 0;
    }
}

.ma-page .ab-header { max-width: 1180px; }
.ma-page .ab-why-head { max-width: 980px; }
.ma-page .ab-why-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.ma-page .ab-title { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.ma-page .ab-sub { max-width: 780px; }

/* ── The Problem (split layout) ── */
.ma-problem {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #ffffff;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ma-problem-inner {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.ma-problem-head {
    position: sticky;
    top: 100px;
}

.ma-problem-eyebrow {
    display: inline-block;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 5px 14px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.ma-problem-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
    max-width: 420px;
}

.ma-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ma-pstat {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.ma-pstat:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15,23,42,0.06);
}

.ma-pstat-num {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.8rem, 2.6vw, 2.2rem);
    font-weight: 800;
    color: #00A896;
    letter-spacing: -0.02em;
    line-height: 1;
}

.ma-pstat-label {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.55;
}

@media (max-width: 860px) {
    .ma-problem { padding: 4rem 1.5rem; }
    .ma-problem-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .ma-problem-head { position: static; }
    .ma-problem-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 520px) {
    .ma-problem-grid { grid-template-columns: 1fr; }
}

/* ── Why your agency needs Echo ── */
.ma-need {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #ffffff;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ma-need-inner {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ma-need-visual {
    position: relative;
    height: 460px;
}

.ma-need-img {
    position: absolute;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15,23,42,0.12);
    background: #fff;
}

.ma-need-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ma-need-img--a {
    top: 0;
    left: 0;
    width: 62%;
    height: 62%;
}

.ma-need-img--b {
    bottom: 0;
    right: 0;
    width: 48%;
    height: 58%;
}

.ma-need-dots {
    position: absolute;
    top: 38%;
    left: 38%;
    width: 28%;
    height: 30%;
    pointer-events: none;
    z-index: 1;
}

.ma-need-content { max-width: 520px; }

.ma-need-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.ma-need-text {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1.6rem;
}

.ma-need-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    border-bottom: 2px solid #00A896;
    padding-bottom: 2px;
    transition: color 0.2s;
}
.ma-need-link:hover { color: #00A896; }

@media (max-width: 860px) {
    .ma-need { padding: 4rem 1.5rem; }
    .ma-need-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .ma-need-visual { height: 380px; }
}

/* ── How it works (4 columns) ── */
.ma-steps {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #ffffff;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ma-steps-inner {
    width: 100%;
    max-width: 1200px;
}

.ma-steps-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.ma-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    padding-top: 2.5rem;
}

.ma-step {
    position: relative;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 56px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    transition: transform 0.25s, box-shadow 0.25s;
}

.ma-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15,23,42,0.06);
}

.ma-step-num {
    position: absolute;
    top: -2.6rem;
    left: 18px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(3.5rem, 6vw, 5.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #00A896;
}

.ma-step-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.ma-step-text {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
}

@media (max-width: 860px) {
    .ma-steps { padding: 4rem 1.5rem; }
    .ma-steps-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}
@media (max-width: 480px) {
    .ma-steps-grid { grid-template-columns: 1fr; }
}

/* ── White-label split ── */
.ma-whitelabel {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #f8fafc;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ma-whitelabel-inner {
    width: 100%;
    max-width: 1200px;
}

.ma-whitelabel-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.ma-whitelabel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.ma-wl-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 36px 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.ma-wl-card:hover {
    border-color: rgba(0,168,150,0.35);
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(15,23,42,0.06);
}

.ma-wl-card--client {
    background: linear-gradient(160deg, #062a26 0%, #0f3933 55%, #0a2521 100%);
    border-color: rgba(0,168,150,0.25);
    color: #ffffff;
}

.ma-wl-tag {
    display: inline-flex;
    align-self: flex-start;
    background: rgba(0,168,150,0.1);
    color: #00A896;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,168,150,0.25);
}

.ma-wl-tag--dark {
    background: rgba(0,191,172,0.12);
    color: #5eead4;
    border-color: rgba(0,191,172,0.3);
}

.ma-wl-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #0f172a;
}

.ma-wl-card--client .ma-wl-title { color: #ffffff; }

.ma-wl-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.ma-wl-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.55;
    font-weight: 500;
}

.ma-wl-card--client .ma-wl-list li { color: rgba(255,255,255,0.88); }

.ma-wl-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #00A896;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.ma-wl-check svg { width: 12px; height: 12px; }

.ma-wl-card--client .ma-wl-check { background: #5eead4; color: #062a26; }

@media (max-width: 860px) {
    .ma-whitelabel { padding: 4rem 1.5rem; }
    .ma-whitelabel-grid { grid-template-columns: 1fr; gap: 16px; }
    .ma-wl-card { padding: 28px 26px 24px; }
}

/* ── Revenue math ── */
.ma-revmath {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #ffffff;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ma-revmath-inner {
    width: 100%;
    max-width: 1100px;
}

.ma-revmath-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.ma-revmath-card {
    background: linear-gradient(160deg, #f0fdf9 0%, #ffffff 60%, #f0fdf9 100%);
    border: 1px solid rgba(0,168,150,0.25);
    border-radius: 24px;
    padding: 40px 44px 36px;
    box-shadow: 0 18px 50px rgba(0,168,150,0.08);
}

.ma-revmath-row {
    display: grid;
    grid-template-columns: 1fr 24px 1fr 24px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}

.ma-revmath-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ma-revmath-item--charge { border-color: rgba(15,23,42,0.18); }
.ma-revmath-item--cost   { border-color: #fde0cf; background: #fff7f1; }
.ma-revmath-item--keep   { border-color: rgba(0,168,150,0.5); background: linear-gradient(160deg, rgba(0,168,150,0.08) 0%, #ffffff 100%); }

.ma-revmath-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ma-revmath-value {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ma-revmath-item--keep .ma-revmath-value { color: #00A896; }

.ma-revmath-unit {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    margin-left: 2px;
}

.ma-revmath-op {
    font-size: 1.4rem;
    font-weight: 700;
    color: #cbd5e1;
    text-align: center;
}

.ma-revmath-totals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(0,168,150,0.18);
}

.ma-revmath-total {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ma-revmath-total-num {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #00A896;
    letter-spacing: -0.03em;
    line-height: 1;
}

.ma-revmath-total-label {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}

.ma-revmath-foot {
    margin-top: 28px;
    text-align: center;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.ma-revmath-foot strong { color: #00A896; font-weight: 800; }

@media (max-width: 860px) {
    .ma-revmath { padding: 4rem 1.5rem; }
    .ma-revmath-card { padding: 28px 22px 24px; border-radius: 20px; }
    .ma-revmath-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .ma-revmath-op { transform: rotate(90deg); padding: 4px 0; }
    .ma-revmath-totals { grid-template-columns: 1fr; gap: 18px; }
}

/* ── Pricing ── */
.ma-pricing {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #f1f5f9;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ma-pricing-inner {
    width: 100%;
    max-width: 1180px;
    position: relative;
}

.ma-pricing-call {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.95rem;
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.ma-pricing-call:hover { color: #00A896; }
.ma-pricing-call strong { color: #0f172a; font-weight: 700; }

.ma-pricing-head {
    margin-bottom: 3rem;
    max-width: 920px;
}

.ma-pricing-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 1.6rem;
}

.ma-pricing-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: -0.02em;
    line-height: 1.2;
    display: inline;
}

.ma-pricing-title strong,
.ma-pricing-title .ma-pricing-toggle-label,
.ma-pricing-title .ma-pricing-toggle {
    color: #0f172a;
}

.ma-pricing-toggle-label {
    font-weight: 700;
    color: #0f172a;
}

.ma-pricing-chips {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
    margin: 0 8px;
}

.ma-pchip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.06);
    font-weight: 800;
    font-size: 1.1rem;
    transform: rotate(-4deg);
}
.ma-pchip:nth-child(2) { transform: rotate(2deg); }
.ma-pchip:nth-child(3) { transform: rotate(-2deg); }

.ma-pricing-toggle {
    display: inline-flex;
    align-items: center;
    width: 72px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(90deg, #a78bfa 0%, #ec4899 100%);
    padding: 4px;
    margin: 0 6px;
    vertical-align: middle;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(167,139,250,0.35);
    transition: background 0.25s;
}

.ma-pricing-toggle-knob {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15,23,42,0.2);
    transition: transform 0.25s;
}

.ma-pricing-toggle.is-on .ma-pricing-toggle-knob {
    transform: translateX(36px);
}

.ma-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.ma-plan {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 28px 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.ma-plan:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(15,23,42,0.06); }

.ma-plan--featured {
    border-color: rgba(0,168,150,0.4);
    box-shadow: 0 18px 50px rgba(0,168,150,0.1);
}

.ma-plan-badge {
    position: absolute;
    top: -10px;
    right: 22px;
    background: #00A896;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.ma-plan-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
}

.ma-plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.ma-plan-icon svg { width: 22px; height: 22px; }
.ma-plan-icon--dark { background: #0f172a; }
.ma-plan-icon--accent { background: linear-gradient(160deg, #00A896 0%, #047857 100%); }

.ma-plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ma-plan-price {
    text-align: right;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.ma-plan-currency {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    vertical-align: top;
    margin-right: 1px;
}

.ma-plan-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ma-plan-period { font-size: 0.85rem; color: #94a3b8; font-weight: 600; }

.ma-plan-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}

.ma-plan-cta:hover { background: #e2e8f0; }
.ma-plan-cta strong { font-weight: 700; }

.ma-plan-cta--primary {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}
.ma-plan-cta--primary:hover { background: #1f2937; }

.ma-plan-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ma-plan-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #334155;
    font-weight: 500;
}

.ma-plan-list li svg {
    width: 16px;
    height: 16px;
    color: #00A896;
    flex-shrink: 0;
}

@media (max-width: 860px) {
    .ma-pricing { padding: 4rem 1.5rem; }
    .ma-pricing-call { position: static; margin-bottom: 1rem; display: inline-flex; }
    .ma-pricing-grid { grid-template-columns: 1fr; }
    .ma-pchip { width: 38px; height: 38px; font-size: 0.95rem; }
    .ma-pricing-toggle { width: 60px; height: 30px; }
    .ma-pricing-toggle-knob { width: 22px; height: 22px; }
    .ma-pricing-toggle.is-on .ma-pricing-toggle-knob { transform: translateX(30px); }
}

/* ── Hero infographic: one reader, start to finish ── */
.ma-journey {
    width: 100%; max-width: 460px; margin: 0 auto;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 20px;
    box-shadow: 0 40px 80px -50px rgba(15, 23, 42, .5);
    padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 12px;
    font-family: 'Inter', system-ui, sans-serif;
}
.ma-journey-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ma-journey-who { display: flex; align-items: center; gap: 10px; }
.ma-journey-who > span:last-child { display: flex; flex-direction: column; }
.ma-journey-avatar { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; }
.ma-journey-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ma-journey-who b { font-size: .95rem; font-weight: 600; color: #0f172a; }
.ma-journey-who small { font-size: .76rem; color: #64748b; }
.ma-journey-stage {
    font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px; background: #f1f5f9; color: #475569; transition: background .3s, color .3s;
}
.ma-journey-stage[data-stage="booked"], .ma-journey-stage[data-stage="reminded"] { background: #ccfbf1; color: #0f766e; }
.ma-journey-stage[data-stage="reported"] { background: #0f172a; color: #fff; }
.ma-journey-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-height: 236px; justify-content: flex-end; }
.ma-j {
    display: flex; align-items: flex-start; gap: 9px; max-width: 88%;
    padding: 9px 12px; border-radius: 14px; font-size: .84rem; line-height: 1.45; color: #0f172a;
    opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .4s cubic-bezier(.2, .8, .3, 1);
}
.ma-j.is-in { opacity: 1; transform: none; }
.ma-j--in  { align-self: flex-start; background: #f1f5f9; border-bottom-left-radius: 4px; }
.ma-j--out { align-self: flex-end; background: #0f172a; color: #fff; border-bottom-right-radius: 4px; }
.ma-j--sys { align-self: center; max-width: 100%; background: #ecfdf8; color: #0f766e; font-weight: 600; border-radius: 999px; padding: 7px 14px; }
.ma-j--card { background: #fff; color: #0f172a; border: 1.5px solid #00A896; font-weight: 600; border-radius: 12px; }
.ma-j-ic { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.ma-j-ic svg { width: 12px; height: 12px; }
.ma-j--in .ma-j-ic { background: #fff; color: #64748b; }
.ma-j--out .ma-j-ic { background: rgba(255, 255, 255, .14); color: #fff; }
.ma-j--in .ma-j-ic--whatsapp, .ma-j--out .ma-j-ic--whatsapp { background: #25d366; color: #fff; }
.ma-j--card .ma-j-ic { background: #ccfbf1; color: #0f766e; }
.ma-j--sys .ma-j-ic { background: #0f766e; color: #fff; width: 18px; height: 18px; }
.ma-j--sys .ma-j-ic svg { width: 10px; height: 10px; }
.ma-journey-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid #f1f5f9; }
.ma-journey-dots { display: flex; gap: 5px; }
.ma-journey-dots i { width: 18px; height: 4px; border-radius: 999px; background: #e2e8f0; transition: background .3s; }
.ma-journey-dots i.is-on { background: #00A896; }
.ma-journey-time { font-size: .74rem; font-weight: 600; color: #94a3b8; font-variant-numeric: tabular-nums; }

/* ── The pipeline, for every campaign ── */
.ma-pipe { position: relative; z-index: 1; width: 100%; max-width: 1160px; margin: 4.5rem auto 0; }
.ma-pipe-head { text-align: center; max-width: 720px; margin: 0 auto 2.2rem; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ma-pipe-title {
    font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; color: #0f172a; text-wrap: balance;
}
.ma-pipe-sub { font-size: 0.98rem; color: #64748b; line-height: 1.65; }

.ma-pipe-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; position: relative; }
/* the line the stages sit on */
.ma-pipe-list::before { content: ''; position: absolute; left: 7%; right: 7%; top: 17px; height: 2px; background: #e2e8f0; }
.ma-pipe-stage { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.ma-pipe-num {
    align-self: center; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; border: 2px solid #e2e8f0; color: #94a3b8; font-size: .82rem; font-weight: 700; z-index: 1;
    transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.ma-pipe-stage.is-on .ma-pipe-num { background: #00A896; border-color: #00A896; color: #fff; }
.ma-pipe-stage.is-now .ma-pipe-num { box-shadow: 0 0 0 6px rgba(0, 168, 150, .18); }
/* progress line segment, drawn per stage so it fills stage by stage */
.ma-pipe-stage::before { content: ''; position: absolute; top: 17px; left: -5px; right: 50%; height: 2px; background: #00A896; transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.ma-pipe-stage:first-child::before { display: none; }
.ma-pipe-stage.is-on::before { transform: scaleX(1); }
.ma-pipe-stage.is-on + .ma-pipe-stage::after { content: ''; position: absolute; top: 17px; left: -5px; width: 0; }
.ma-pipe-card {
    flex: 1; display: flex; flex-direction: column; gap: 8px;
    padding: 14px 13px 13px; border-radius: 14px; background: #fff; border: 1.5px solid #e2e8f0;
    opacity: .6; transform: translateY(6px); transition: opacity .35s, transform .35s, border-color .35s, box-shadow .35s;
}
.ma-pipe-stage.is-on .ma-pipe-card { opacity: 1; transform: none; }
.ma-pipe-stage.is-now .ma-pipe-card { border-color: rgba(0, 168, 150, .55); box-shadow: 0 18px 36px -24px rgba(0, 168, 150, .6); }
.ma-pipe-chs { display: flex; gap: 4px; }
.ma-pipe-ch { width: 20px; height: 20px; display: block; }
.ma-pipe-ch svg { width: 20px; height: 20px; display: block; }
.ma-pipe-card h3 { margin: 2px 0 0; font-size: .92rem; font-weight: 600; color: #0f172a; line-height: 1.25; }
.ma-pipe-card p { margin: 0; font-size: .78rem; line-height: 1.5; color: #64748b; flex: 1; }
.ma-pipe-eg { font-size: .74rem; font-weight: 600; color: #0f766e; padding: 6px 9px; border-radius: 8px; background: #ecfdf8; line-height: 1.35; }

@media (max-width: 1100px) {
    .ma-pipe-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
    .ma-pipe-list::before { display: none; }
    .ma-pipe-stage::before { display: none; }
}
@media (max-width: 760px) {
    .ma-pipe { margin-top: 3.5rem; }
    .ma-pipe-list { grid-template-columns: 1fr; gap: 10px; padding-left: 26px; }
    .ma-pipe-list::before { display: block; left: 17px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .ma-pipe-stage { flex-direction: row; align-items: flex-start; gap: 12px; }
    .ma-pipe-num { position: absolute; left: -26px; top: 12px; width: 30px; height: 30px; font-size: .74rem; }
    .ma-pipe-stage::before { display: block; left: -11px; right: auto; top: 0; width: 2px; height: 100%; transform: scaleY(0); transform-origin: top; }
    .ma-pipe-stage.is-on::before { transform: scaleY(1); }
    .ma-pipe-card { flex: 1; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .ma-pipe-card, .ma-pipe-num, .ma-pipe-stage::before { transition: none; } }


/* hero: copy on the left, the reader journey on the right; the pipeline sits in the page flow */
.ma-page .ab-hero { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px; max-width: 1180px; margin: 0 auto; padding: 1.5rem 0 3.5rem; }
.ma-page .ab-header { flex: 1 1 520px; max-width: 640px; text-align: left; align-items: flex-start; }
.ma-page .ab-title { font-family: 'Inter Tight', 'Inter', system-ui, sans-serif; font-weight: 500; line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.ma-page .ab-title .ab-accent { display: block; color: #64748b; }
.ma-page .ab-cta-btn--primary { background: #0f172a; box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .7); }
.ma-page .ab-cta-btn--primary:hover { background: #1e293b; transform: translateY(-1px); box-shadow: none; }
.ma-page .ab-h2, .ma-page .ab-why-title, .ma-page .ab-inds-title, .ma-page .ma-problem-title, .ma-page .ma-need-title, .ma-page .ab-cta-title {
    font-family: 'Inter Tight', 'Inter', system-ui, sans-serif; font-weight: 500; letter-spacing: -0.025em;
}
.ma-page .ab-accent { color: inherit; }
.ma-journey { flex: 0 1 460px; width: 100%; }
.ma-pipe { max-width: 1160px; margin: 4.5rem auto 0; padding-bottom: 3.5rem; }
.ma-pipe-head { text-align: center; max-width: 760px; margin: 0 auto 2.2rem; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ma-pipe-title { font-family: 'Inter Tight', 'Inter', system-ui, sans-serif; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; color: #0f172a; text-wrap: balance; }
.ma-pipe-sub { font-size: .98rem; color: #64748b; line-height: 1.65; margin-top: 8px; }
.ma-problem-grid { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 900px) {
    .ma-page .ab-header { text-align: center; align-items: center; }
    .ma-journey { flex-basis: 100%; max-width: 460px; }
    .ma-problem-grid { grid-template-columns: 1fr !important; }
}
