/* ================================================================
   HOME PAGE — Design Mockup Implementation
   Matches DesignBrief/DesignMockup/index.html
   Mobile-first with universal animations
   ================================================================ */

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
    --mp-cyan: #22D3EE;
    --mp-purple: #7C3AED;
    --mp-grad: linear-gradient(90deg, #22D3EE 0%, #7C3AED 100%);
    --mp-grad-135: linear-gradient(135deg, #22D3EE 0%, #7C3AED 100%);
    --mp-dark-hero: #0F0817;
    --mp-dark-mid: #1A0B2E;
    --mp-black: #0A0A0A;
    --mp-off-white: #FAFAFA;
    --mp-white: #FFFFFF;
    --mp-body: #1F2937;
    --mp-muted: #6B7280;
    --mp-divider: #E5E7EB;
    --mp-card-bg: #F3F4F6;
    --mp-dark-body: rgba(255,255,255,0.72);
    --mp-dark-muted: rgba(255,255,255,0.42);
    --mp-dark-border: rgba(255,255,255,0.1);
    --mp-radius-sm: 8px;
    --mp-radius-md: 12px;
    --mp-radius-lg: 16px;
    --mp-radius-xl: 24px;
    --mp-shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
    --mp-shadow-lift: 0 8px 32px rgba(0,0,0,0.12);
    --mp-shadow-glow: 0 0 32px rgba(34,211,238,0.25), 0 0 64px rgba(124,58,237,0.15);
    --mp-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mp-mono: 'JetBrains Mono', 'Monaco', 'Courier New', monospace;
}

/* ── Focus rings: keyboard-only ────────────────────────────────
   Browsers (esp. Firefox/Edge) show a default focus outline on
   <a>, <button>, and any [tabindex] element after a mouse click,
   which renders as an ugly square. Suppress on non-keyboard focus,
   keep the accessible ring for `:focus-visible` (keyboard / a11y).   */
a,
button,
[tabindex],
summary {
    -webkit-tap-highlight-color: transparent;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible),
summary:focus:not(:focus-visible) {
    outline: none;
}

/* ── Utility Classes ──────────────────────────────────────────── */
.mp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.mp-mono {
    font-family: var(--mp-mono);
}

.mp-grad-text {
    background: var(--mp-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mp-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.mp-heading {
    font-size: clamp(32px, 6vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    margin-bottom: 12px;
    line-height: 1.1;
}

.mp-subheading {
    font-size: 17px;
    color: var(--mp-body);
    margin-bottom: 52px;
    max-width: 480px;
    line-height: 1.65;
}

.mp-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--mp-cyan) 30%, var(--mp-purple) 70%, transparent 100%);
    opacity: 0.4;
}

.mp-section {
    padding: 72px 0;
}

.mp-section--light { background: var(--mp-off-white); }
.mp-section--white { background: var(--mp-white); }
.mp-section--gray  { background: var(--mp-card-bg); }

.mp-section-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 16px;
}

.mp-view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-purple);
    text-decoration: none;
    transition: opacity 0.15s;
}
.mp-view-all:hover { opacity: 0.7; }

/* ── Pill Badge ───────────────────────────────────────────────── */
.mp-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(34,211,238,0.3);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 32px;
    background: rgba(34,211,238,0.06);
}

.mp-pill--dark {
    border-color: rgba(34,211,238,0.3);
    background: rgba(34,211,238,0.06);
}

.mp-pill__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mp-cyan);
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--mp-cyan);
    animation: mp-pulse-glow 2s ease-in-out infinite;
}

.mp-pill__label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mp-cyan);
}

@keyframes mp-pulse-glow {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 1; }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mp-font);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.01em;
    padding: 12px 26px;
    border-radius: var(--mp-radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 48px;
}

.mp-btn--grad {
    background: var(--mp-grad);
    color: #fff;
    isolation: isolate; /* create stacking context so ::before z-index:-1 stays inside */
}

.mp-btn--grad,
.mp-btn--grad:link,
.mp-btn--grad:visited,
.mp-btn--grad:hover,
.mp-btn--grad:active { color: #fff; } /* lock text white in all states */

.mp-btn--grad::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #1BC5E0 0%, #6D2FD5 100%);
    opacity: 0;
    transition: opacity 0.2s;
    z-index: -1; /* sits behind text inside the isolated context */
    border-radius: inherit;
}

.mp-btn--grad:hover::before { opacity: 1; }
.mp-btn--grad:hover {
    box-shadow: 0 0 24px rgba(34,211,238,0.35), 0 0 48px rgba(124,58,237,0.2);
    transform: translateY(-1px);
}
.mp-btn--grad:active {
    transform: scale(0.97) !important;
    transition-duration: 0.1s;
}
.mp-btn--grad > * { position: relative; z-index: 1; }

.mp-btn--ghost {
    background: transparent;
    border: 1.5px solid var(--mp-divider);
    color: var(--mp-body);
    font-weight: 600;
}
.mp-btn--ghost:hover {
    border-color: var(--mp-purple);
    background: #F9F5FF;
}
.mp-btn--ghost:active {
    transform: scale(0.97) !important;
    transition-duration: 0.1s;
}

.mp-btn--lg {
    padding: 15px 36px;
    font-size: 16px;
}

.mp-btn--glow {
    box-shadow: var(--mp-shadow-glow);
}

.mp-btn:focus-visible {
    outline: 2px solid var(--mp-cyan);
    outline-offset: 3px;
}

/* Dark context ghost button */
.mp-hero__actions .mp-btn--ghost,
.mp-final-cta__actions .mp-btn--ghost {
    border-color: rgba(255,255,255,0.2);
    color: var(--mp-dark-body);
}
.mp-hero__actions .mp-btn--ghost:hover,
.mp-final-cta__actions .mp-btn--ghost:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
    color: #fff;
}

/* ── HERO — Dark ──────────────────────────────────────────────── */
.mp-hero {
    background: var(--mp-dark-hero);
    padding: 72px 20px 80px;
    position: relative;
    overflow: hidden;
}

.mp-hero__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
    animation: mp-hero-grid-breathe 6s ease-in-out infinite;
}

.mp-hero__grid-fx {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

@keyframes mp-hero-grid-breathe {
    0%, 100% { opacity: 0.7; }
    50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .mp-hero__grid { animation: none; }
}

.mp-hero__glow {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.mp-hero__glow--cyan {
    bottom: -80px;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(34,211,238,0.12) 0%, transparent 70%);
}
.mp-hero__glow--purple {
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
}

.mp-hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: block;
}

.mp-hero__text {
    animation: mp-fade-up 0.6s ease both;
}

.mp-hero__title {
    font-size: clamp(38px, 10vw, 48px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 24px;
}

.mp-hero__desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--mp-dark-body);
    max-width: 480px;
    margin-bottom: 40px;
}

.mp-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.mp-hero__meta {
    display: flex;
    gap: 24px;
    margin-top: 44px;
    flex-wrap: wrap;
    align-items: center;
}

.mp-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.mp-hero__meta-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mp-hero__meta-item .mp-mono {
    font-size: 11px;
    color: var(--mp-dark-muted);
    letter-spacing: 0.04em;
}

/* Hero Visual */
.mp-hero__visual {
    margin-top: 44px;
    position: relative;
}

.mp-hero__img-border {
    position: absolute;
    inset: -2px;
    background: var(--mp-grad-135);
    border-radius: var(--mp-radius-xl);
    opacity: 0.5;
}

/* Founder portrait — img variants on placeholder slots.
   The source image has the subject's face roughly mid-vertical and centered,
   so we anchor at center (50% 50%) to keep the face in the visible frame. */
img.mp-hero__img-placeholder--photo,
img.mp-page-hero__visual-img--photo {
    background: transparent;
    background-image: none;
    object-fit: cover;
    object-position: center 35%;
    border: 0;
    color: transparent;
    font-size: 0;
}
img.mp-founder__avatar-img--photo,
img.mp-bg-founder__placeholder--photo,
img.mp-post-hero__avatar-inner--photo {
    background: transparent;
    background-image: none;
    object-fit: cover;
    object-position: center 35%;
    color: transparent;
    font-size: 0;
}

.mp-hero__img-placeholder {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 280px;
    background: rgba(255,255,255,0.06);
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--mp-radius-xl);
    font-family: var(--mp-mono);
    font-size: 11px;
    color: rgba(255,255,255,0.3);
}

/* Homepage hero customer-work collage */
.mp-hero__collage {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 460px;
    background: transparent;
    overflow: visible;
}
/* Suppress the gradient outline panel when the collage is in place */
.mp-hero__visual:has(.mp-hero__collage) > .mp-hero__img-border {
    display: none;
}
.mp-hero__collage-card {
    margin: 0;
    position: absolute;
    border-radius: var(--mp-radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 22px 48px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, filter 0.35s ease;
    will-change: transform;
}
.mp-hero__collage-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.mp-hero__collage-card:hover img {
    transform: scale(1.05);
}
.mp-hero__collage:hover .mp-hero__collage-card:not(:hover) {
    filter: brightness(0.7) saturate(0.85);
}
.mp-hero__collage-label {
    position: absolute;
    bottom: 6px;
    left: 8px;
    right: 8px;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
    background: linear-gradient(0deg, rgba(8,4,16,0.75), rgba(8,4,16,0.15) 80%, transparent);
    padding: 14px 8px 4px;
    border-radius: 0 0 var(--mp-radius-md) var(--mp-radius-md);
    text-align: left;
    pointer-events: none;
}
/* fanned layout — mobile (bigger cards, more vertical breathing room) */
.mp-hero__collage-card--1 { top: 0%;   left: 2%;   width: 60%; height: 50%; --mp-collage-rot: -5deg; z-index: 1; animation: mp-collage-float-a 7.5s ease-in-out infinite; }
.mp-hero__collage-card--2 { top: 4%;   right: 2%;  width: 54%; height: 48%; --mp-collage-rot: 4deg;  z-index: 2; animation: mp-collage-float-b 8.5s ease-in-out infinite 0.6s; }
.mp-hero__collage-card--3 { bottom: 2%; left: 6%;  width: 56%; height: 48%; --mp-collage-rot: 3deg;  z-index: 3; animation: mp-collage-float-a 9s   ease-in-out infinite 1.1s; }
.mp-hero__collage-card--4 { bottom: 4%; right: 4%; width: 58%; height: 50%; --mp-collage-rot: -3deg; z-index: 4; animation: mp-collage-float-b 8s   ease-in-out infinite 0.3s; }

.mp-hero__collage-card { transform: rotate(var(--mp-collage-rot, 0deg)); }

.mp-hero__collage-card:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.06) !important;
    box-shadow: 0 28px 64px rgba(0,0,0,0.55), 0 0 0 1.5px rgba(34,211,238,0.45), 0 0 32px rgba(124,58,237,0.35);
    z-index: 10;
    animation-play-state: paused;
}

@keyframes mp-collage-float-a {
    0%, 100% { transform: rotate(var(--mp-collage-rot, 0deg)) translateY(0px); }
    50%      { transform: rotate(calc(var(--mp-collage-rot, 0deg) + 0.8deg)) translateY(-6px); }
}
@keyframes mp-collage-float-b {
    0%, 100% { transform: rotate(var(--mp-collage-rot, 0deg)) translateY(0px); }
    50%      { transform: rotate(calc(var(--mp-collage-rot, 0deg) - 0.8deg)) translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
    .mp-hero__collage-card { animation: none !important; }
}

.mp-hero__badge {
    display: none;
}

/* Hero Desktop */
@media (min-width: 768px) {
    .mp-hero {
        padding: 120px 48px 128px;
    }

    .mp-hero__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

    .mp-hero__title {
        font-size: clamp(52px, 4.5vw, 76px);
    }

    .mp-hero__desc {
        font-size: 19px;
    }

    .mp-hero__visual {
        margin-top: 0;
    }

    .mp-hero__img-placeholder {
        height: 480px;
    }

    .mp-hero__collage {
        height: 680px;
    }
    .mp-hero__collage-label {
        font-size: 11px;
        padding: 20px 12px 8px;
        bottom: 8px;
        left: 12px;
        right: 12px;
    }
    .mp-hero__collage-card--1 { width: 64%; height: 52%; top: 0%;   left: 0%;   }
    .mp-hero__collage-card--2 { width: 58%; height: 50%; top: 4%;   right: 0%;  }
    .mp-hero__collage-card--3 { width: 60%; height: 50%; bottom: 0%; left: 4%;  }
    .mp-hero__collage-card--4 { width: 62%; height: 52%; bottom: 4%; right: 2%; }

    .mp-hero__img-border {
        opacity: 0.6;
    }

    .mp-hero__badge {
        display: flex;
        align-items: center;
        gap: 10px;
        position: absolute;
        z-index: 6;
        overflow: hidden;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
        cursor: default;
    }
    .mp-hero__badge::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 40%;
        height: 100%;
        background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
        transform: translateX(-120%);
        animation: mp-hero-badge-shimmer 5s ease-in-out infinite;
        pointer-events: none;
    }

    .mp-hero__badge--bottom {
        bottom: -14px;
        left: -28px;
        background: rgba(15,8,23,0.92);
        border: 1px solid rgba(34,211,238,0.35);
        border-radius: var(--mp-radius-md);
        padding: 12px 20px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 24px rgba(34,211,238,0.18);
        animation: mp-hero-badge-glow-cyan 3.6s ease-in-out infinite;
    }
    .mp-hero__badge--bottom:hover {
        transform: translateY(-4px) scale(1.04);
        border-color: rgba(34,211,238,0.7);
        box-shadow: 0 16px 36px rgba(0,0,0,0.55), 0 0 36px rgba(34,211,238,0.45);
    }

    .mp-hero__badge--bottom .mp-mono {
        font-size: 12px;
        color: rgba(255,255,255,0.82);
        position: relative;
        z-index: 1;
    }

    .mp-hero__badge-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #4ADE80;
        box-shadow: 0 0 6px #4ADE80, 0 0 14px rgba(74,222,128,0.65);
        animation: mp-pulse-glow 2s ease-in-out infinite;
        position: relative;
        z-index: 1;
    }

    .mp-hero__badge--top {
        top: -16px;
        right: -22px;
        background: rgba(124,58,237,0.22);
        border: 1px solid rgba(124,58,237,0.5);
        border-radius: var(--mp-radius-sm);
        padding: 10px 18px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 8px 24px rgba(124,58,237,0.25), 0 0 0 1px rgba(124,58,237,0.15);
        animation: mp-hero-badge-glow-purple 4.2s ease-in-out infinite;
    }
    .mp-hero__badge--top:hover {
        transform: translateY(-3px) scale(1.05);
        border-color: rgba(167,139,250,0.85);
        box-shadow: 0 14px 30px rgba(124,58,237,0.45), 0 0 32px rgba(167,139,250,0.55);
    }

    .mp-hero__badge--top .mp-mono {
        font-size: 11px;
        letter-spacing: 0.08em;
        position: relative;
        z-index: 1;
    }
}

@keyframes mp-hero-badge-shimmer {
    0%   { transform: translateX(-120%); }
    60%  { transform: translateX(420%); }
    100% { transform: translateX(420%); }
}
@keyframes mp-hero-badge-glow-cyan {
    0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 18px rgba(34,211,238,0.14); }
    50%      { box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 32px rgba(34,211,238,0.36); }
}
@keyframes mp-hero-badge-glow-purple {
    0%, 100% { box-shadow: 0 8px 24px rgba(124,58,237,0.18), 0 0 0 1px rgba(124,58,237,0.12); }
    50%      { box-shadow: 0 8px 24px rgba(124,58,237,0.35), 0 0 22px rgba(167,139,250,0.4); }
}
@media (prefers-reduced-motion: reduce) {
    .mp-hero__badge::before,
    .mp-hero__badge--top,
    .mp-hero__badge--bottom {
        animation: none;
    }
}

@keyframes mp-fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── PERSONAS ─────────────────────────────────────────────────── */
.mp-personas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.mp-persona {
    border-radius: var(--mp-radius-lg);
    padding: 28px 28px 24px;
    background: var(--mp-white);
    border: 1px solid var(--mp-divider);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.mp-persona:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 0 1.5px rgba(124,58,237,0.18);
    border-color: rgba(124,58,237,0.25);
}

.mp-persona--featured:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 20px 56px rgba(124,58,237,0.32), 0 0 32px rgba(34,211,238,0.18);
}

.mp-persona:active {
    transform: scale(0.98) !important;
    transition-duration: 0.1s;
}

.mp-persona--featured {
    position: relative;
    background: var(--mp-dark-hero);
    border: none;
    padding: 0;
    overflow: hidden;
    border-radius: var(--mp-radius-lg);
    isolation: isolate;
}

.mp-persona--featured::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--mp-cyan) 30deg,
        var(--mp-purple) 70deg,
        transparent 130deg,
        transparent 180deg,
        var(--mp-cyan) 210deg,
        var(--mp-purple) 250deg,
        transparent 310deg,
        transparent 360deg
    );
    animation: mp-border-spin 6s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.mp-persona--featured::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: var(--mp-dark-hero);
    border-radius: calc(var(--mp-radius-lg) - 1.5px);
    z-index: 0;
    pointer-events: none;
}

.mp-persona--featured .mp-persona__inner {
    position: relative;
    z-index: 1;
    padding: 28px 28px 24px;
}

@keyframes mp-border-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .mp-persona--featured::before,
    .mp-svc-card--featured::before,
    .mp-tier--highlight::before,
    .mp-client-quote::before,
    .mp-contact__promises::before,
    .mp-saas-callout__card::before {
        animation: none;
    }
}

.mp-persona__tag {
    display: inline-block;
    background: var(--mp-grad);
    color: #fff;
    font-family: var(--mp-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
}

/* ── Shared pill / tag / badge shimmer animation ──────────────── */
@keyframes mp-pill-shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

@keyframes mp-tag-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}

.mp-persona__tag,
.mp-svc-card__tag,
.mp-pr-card__tag,
.mp-mega__badge,
.mp-ins-tag {
    position: relative;
    overflow: hidden;
}

.mp-tier__tag {
    position: relative;
    overflow: hidden;
}

.mp-persona__tag::after,
.mp-tier__tag::after,
.mp-svc-card__tag::after,
.mp-pr-card__tag::after,
.mp-mega__badge::after,
.mp-ins-tag::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.3) 50%, transparent 75%);
    animation: mp-pill-shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

/* Light-bg pills: subtler shimmer */
.mp-svc-card__tag::after,
.mp-pr-card__tag::after,
.mp-ins-tag::after {
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.15) 50%, transparent 75%);
}

/* "Most popular" tier tag gets an extra pulse */
.mp-tier__tag {
    z-index: 2;
    animation: mp-tag-pulse 2.5s ease-in-out infinite;
}

.mp-persona__title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--mp-black);
    margin-bottom: 12px;
}

.mp-persona--featured .mp-persona__title {
    color: #fff;
}

.mp-persona__desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--mp-body);
    margin-bottom: 28px;
}

.mp-persona--featured .mp-persona__desc {
    color: var(--mp-dark-body);
}

.mp-persona__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-purple);
    text-decoration: none;
    transition: opacity 0.15s;
}
.mp-persona__link:hover { opacity: 0.7; }

.mp-persona--featured .mp-persona__link {
    color: var(--mp-cyan);
}

@media (min-width: 768px) {
    .mp-section { padding: 104px 0; }
    .mp-container { padding: 0 48px; }

    .mp-personas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* ── PILLARS ──────────────────────────────────────────────────── */
.mp-pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.mp-pillar {
    border-top: 2px solid;
    border-image: var(--mp-grad) 1;
    padding-top: 32px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mp-pillar:hover {
    transform: translateY(-4px) scale(1.01);
}

.mp-pillar__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--mp-radius-md);
    background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(124,58,237,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s var(--mp-ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)), box-shadow 0.3s ease;
}

.mp-pillar:hover .mp-pillar__icon {
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(34,211,238,0.2);
}

.mp-pillar__verb {
    font-size: clamp(26px, 5vw, 32px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 16px;
}

.mp-pillar__body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--mp-body);
    margin-bottom: 24px;
    max-width: 320px;
}

.mp-pillar__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mp-pillar__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--mp-body);
    line-height: 1.55;
}

.mp-pillar__list li::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(124,58,237,0.3);
    flex-shrink: 0;
    margin-top: 2px;
    background:
        url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3l2 2 4-4' stroke='%237C3AED' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 8px 6px no-repeat,
        linear-gradient(135deg, rgba(34,211,238,0.15), rgba(124,58,237,0.15));
}

@media (min-width: 768px) {
    .mp-pillars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }
}

/* ── CUSTOMERS ────────────────────────────────────────────────── */
.mp-customers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.mp-customer-card {
    background: var(--mp-white);
    border-radius: var(--mp-radius-lg);
    border: 1px solid var(--mp-divider);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.mp-customer-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 0 1.5px rgba(124,58,237,0.2);
    border-color: rgba(124,58,237,0.3);
}

.mp-customer-card:active {
    transform: scale(0.98) !important;
    transition-duration: 0.1s;
}

.mp-customer-card__img {
    height: 110px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mp-customer-card__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mp-customer-card:hover .mp-customer-card__img img {
    transform: scale(1.05);
}

.mp-customer-card__img--placeholder {
    background: var(--mp-card-bg);
}

.mp-customer-card__img--placeholder .mp-mono {
    font-size: 12px;
    color: var(--mp-muted);
}

.mp-customer-card__img--dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.mp-customer-card__img--shot {
    padding: 0;
    background: #fff;
    overflow: hidden;
}
.mp-customer-card__img--shot img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center top;
}

.mp-customer-card__body {
    padding: 14px 14px 16px;
}

.mp-customer-card__industry {
    display: inline-block;
    font-size: 10px;
    color: var(--mp-purple);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.mp-customer-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-black);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.mp-customer-card__outcome {
    font-size: 12px;
    color: var(--mp-body);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .mp-customers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .mp-customer-card__img {
        height: 150px;
    }

    .mp-customer-card__body {
        padding: 16px 20px 20px;
    }

    .mp-customer-card__name {
        font-size: 16px;
    }

    .mp-customer-card__outcome {
        font-size: 13px;
    }
}

/* ── DASHBOARD MOAT ───────────────────────────────────────────── */
.mp-dashboard {
    background: var(--mp-dark-hero);
    padding: 72px 20px;
    position: relative;
    overflow: hidden;
}

.mp-dashboard__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: 0;
}

.mp-dashboard__glow {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.mp-dashboard__glow--purple {
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(124,58,237,0.22) 0%, transparent 60%);
}

.mp-dashboard__glow--cyan {
    bottom: 0;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(34,211,238,0.1) 0%, transparent 60%);
}

.mp-dashboard__inner {
    position: relative;
    z-index: 1;
}

.mp-dashboard__title {
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
}

.mp-dashboard__desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--mp-dark-body);
    margin-bottom: 36px;
    max-width: 420px;
}

.mp-dashboard__chips {
    display: flex;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.mp-chip {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    padding: 5px 12px;
    font-size: 13px;
    color: var(--mp-dark-muted);
    transition: background 0.15s, border-color 0.15s;
}

.mp-chip:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.mp-dashboard__preview {
    margin-top: 40px;
}

@media (min-width: 768px) {
    .mp-dashboard {
        padding: 112px 48px;
    }

    .mp-dashboard__inner {
        display: grid;
        grid-template-columns: 5fr 7fr;
        gap: 80px;
        align-items: center;
    }

    .mp-dashboard__preview {
        margin-top: 0;
    }
}

/* Dashboard Preview Window */
.mp-dash-window {
    border-radius: var(--mp-radius-xl);
    box-shadow: 0 0 80px rgba(124,58,237,0.25), 0 32px 64px rgba(0,0,0,0.5);
    overflow: hidden;
}

.mp-dash-window__chrome {
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp-dash-window__dots {
    display: flex;
    gap: 6px;
}

.mp-dash-window__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mp-dash-window__url {
    flex: 1;
    margin-left: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 5px 12px;
    max-width: 280px;
}

.mp-dash-window__url .mp-mono {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
}

.mp-dash-window__body {
    background: rgba(15,8,23,0.9);
    padding: 20px;
}

.mp-dash-window__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mp-dash-window__greeting {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.mp-dash-window__plan {
    font-size: 10px;
    color: var(--mp-dark-muted);
}

.mp-dash-window__live {
    background: var(--mp-grad);
    border-radius: 100px;
    padding: 5px 12px;
}

.mp-dash-window__live .mp-mono {
    font-size: 10px;
    color: #fff;
}

.mp-dash-window__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.mp-dash-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--mp-radius-md);
    padding: 12px 14px;
}

.mp-dash-stat__label {
    font-size: 9px;
    color: var(--mp-dark-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mp-dash-stat__value {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.mp-dash-project {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--mp-radius-md);
    padding: 13px 16px;
    margin-bottom: 10px;
}

.mp-dash-project:last-child {
    margin-bottom: 0;
}

.mp-dash-project__top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mp-dash-project__name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.mp-dash-project__status {
    font-size: 10px;
}

.mp-dash-project__bar {
    background: rgba(255,255,255,0.08);
    border-radius: 100px;
    height: 4px;
    overflow: hidden;
}

.mp-dash-project__fill {
    height: 100%;
    background: var(--mp-grad);
    border-radius: 100px;
    transition: width 1s ease;
}

.mp-dash-project__fill--green {
    background: #4ADE80;
}

/* ── GEO CALLOUT ──────────────────────────────────────────────── */
.mp-geo {
    background: var(--mp-off-white);
    padding: 56px 20px;
}

.mp-geo__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.mp-geo__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--mp-radius-md);
    background: var(--mp-grad-135);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(124,58,237,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mp-geo__icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(124,58,237,0.4);
}

.mp-geo__text {
    font-size: 18px;
    font-weight: 600;
    color: var(--mp-black);
    letter-spacing: -0.02em;
    line-height: 1.45;
    max-width: 640px;
}

@media (min-width: 768px) {
    .mp-geo {
        padding: 72px 48px;
    }

    .mp-geo__inner {
        gap: 36px;
    }

    .mp-geo__text {
        font-size: 22px;
    }
}

/* ── FOUNDER ──────────────────────────────────────────────────── */
.mp-founder__inner {
    max-width: 800px;
}

.mp-founder__avatar {
    flex-shrink: 0;
    margin-bottom: 28px;
}

.mp-founder__avatar-border {
    position: absolute;
    inset: -2px;
    background: var(--mp-grad-135);
    border-radius: 50%;
}

.mp-founder__avatar-img {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #EEEEF2;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-founder__avatar {
    position: relative;
    width: 72px;
    height: 72px;
}

.mp-founder__quote {
    font-size: 19px;
    line-height: 1.65;
    color: var(--mp-black);
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    font-weight: 500;
    max-width: 62ch;
    font-style: normal;
    border: none;
    padding: 0;
}

.mp-founder__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mp-founder__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--mp-black);
}

.mp-founder__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-purple);
    text-decoration: none;
    margin-left: 0;
    transition: opacity 0.15s;
}

.mp-founder__link:hover { opacity: 0.7; }

@media (min-width: 768px) {
    .mp-founder__inner {
        display: flex;
        gap: 48px;
        align-items: flex-start;
    }

    .mp-founder__avatar {
        width: 88px;
        height: 88px;
        margin-bottom: 0;
    }

    .mp-founder__avatar-img {
        width: 88px;
        height: 88px;
    }

    .mp-founder__quote {
        font-size: 23px;
    }

    .mp-founder__link {
        margin-left: 24px;
    }
}

/* ── FINAL CTA ────────────────────────────────────────────────── */
.mp-final-cta {
    background: var(--mp-dark-hero);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mp-final-cta__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    z-index: 0;
}

.mp-final-cta__glow {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.mp-final-cta__glow--cyan {
    top: -20%;
    left: 10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(34,211,238,0.12) 0%, transparent 60%);
}

.mp-final-cta__glow--purple {
    bottom: -20%;
    right: 0;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(124,58,237,0.18) 0%, transparent 60%);
}

.mp-final-cta__inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mp-final-cta__title {
    font-size: clamp(36px, 8vw, 56px);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.05;
}

.mp-final-cta__desc {
    font-size: 18px;
    color: var(--mp-dark-body);
    line-height: 1.65;
    max-width: 480px;
    margin: 0 auto 44px;
}

.mp-final-cta__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .mp-final-cta {
        padding: 120px 48px;
    }
}

/* ── Reduced Motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .mp-pill__dot,
    .mp-hero__badge-dot {
        animation: none !important;
    }

    .mp-hero__text {
        animation: none !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .mp-persona__tag::after,
    .mp-tier__tag::after,
    .mp-svc-card__tag::after,
    .mp-pr-card__tag::after,
    .mp-mega__badge::after,
    .mp-ins-tag::after {
        animation: none !important;
    }

    .mp-tier__tag {
        animation: none !important;
    }
}

/* ── Touch device overrides ───────────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
    .mp-persona:hover,
    .mp-persona--featured:hover,
    .mp-customer-card:hover,
    .mp-pillar:hover,
    .mp-svc-card:hover,
    .mp-svc-card--featured:hover,
    .mp-ins-card:hover,
    .mp-story-card:hover,
    .mp-bg-service:hover {
        transform: none;
        box-shadow: none;
    }

    .mp-btn, .mp-persona__link, .mp-view-all, .mp-founder__link {
        min-height: 44px;
    }
}

/* ════════════════════════════════════════════════════════════════
   GLOBAL NAVIGATION + FOOTER (sitewide, not just home)
   Mobile-first. Adapts to dark or light page backgrounds via blur.
   ════════════════════════════════════════════════════════════════ */

/* ── Reset body for mp-nav (override style.css legacy) ─────────── */
body {
    font-family: var(--mp-font);
    background: var(--mp-off-white);
    color: var(--mp-body);
    -webkit-font-smoothing: antialiased;
    padding-top: 0 !important;
}

/* ── Button small variant ─────────────────────────────────────── */
.mp-btn--sm {
    padding: 9px 18px;
    font-size: 13px;
    min-height: 38px;
}

/* ── NAV ──────────────────────────────────────────────────────── */
/* Light default nav (matches new mockup) — dark variant via .mp-nav--dark */
.mp-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--mp-divider);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.mp-nav--scrolled {
    background: rgba(250, 250, 250, 0.96);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
/* Dark variant (used on home or any page that opts in via ViewData["NavDark"]=true) */
/* Opaque base + baked-in purple tint replaces the prior rgba+backdrop-blur, which was letting the hero's grid/diagonal patterns bleed through as faint lines */
.mp-nav--dark {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.12), rgba(124, 58, 237, 0.04)), #0F0817;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: rgba(255,255,255,0.1);
}
.mp-nav--dark.mp-nav--scrolled {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.10), rgba(124, 58, 237, 0.03)), #0F0817;
    border-bottom-color: rgba(255,255,255,0.14);
    box-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

.mp-nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mp-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.15s ease;
}
.mp-nav__brand:hover { opacity: 0.85; }
.mp-nav__brand:active { opacity: 0.7; }

.mp-nav__logo {
    width: 28px;
    height: 28px;
    display: block;
    transition: transform 0.4s cubic-bezier(.2, .8, .2, 1);
}
.mp-nav__brand:hover .mp-nav__logo { transform: rotate(-6deg) scale(1.05); }

.mp-nav__wordmark {
    font-weight: 900;
    font-size: 15px;
    letter-spacing: -0.04em;
    color: var(--mp-black);
    text-transform: uppercase;
}
.mp-nav--dark .mp-nav__wordmark { color: #fff; }

.mp-nav__links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
    align-items: center;
}
.mp-nav__item { position: relative; }
.mp-nav__link {
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--mp-muted);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.15s ease;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
}
.mp-nav--dark .mp-nav__link { color: rgba(255,255,255,0.72); }
.mp-nav__link::after {
    content: '';
    position: absolute;
    left: 6px; right: 6px; bottom: -2px;
    height: 2px;
    background: var(--mp-grad);
    border-radius: 2px;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}
.mp-nav__link:hover { color: var(--mp-black); }
.mp-nav--dark .mp-nav__link:hover { color: #fff; }
.mp-nav__link:hover::after,
.mp-nav__item.is-open .mp-nav__link::after {
    opacity: 1;
    transform: translateY(0);
}
.mp-nav__caret { opacity: 0.5; transition: transform 0.2s ease; }
.mp-nav__item.is-open .mp-nav__caret { transform: rotate(180deg); }

/* Mega menu */
.mp-mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: #fff;
    border-radius: var(--mp-radius-xl);
    border: 1px solid var(--mp-divider);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    padding: 24px 24px 20px;
    display: flex;
    gap: 32px;
    min-width: 460px;
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
.mp-mega--narrow { min-width: 320px; }
.mp-nav__item.is-open .mp-mega {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}
.mp-mega__col { min-width: 180px; flex: 1; }
.mp-mega__heading-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mp-mega__heading {
    font-size: 9px; font-weight: 500; color: var(--mp-muted);
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px;
    display: block;
}
.mp-mega__heading-row .mp-mega__heading { margin-bottom: 0; }
.mp-mega__badge {
    background: var(--mp-grad);
    color: #fff;
    font-family: var(--mp-mono);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 100px;
}
.mp-mega__item {
    display: block;
    padding: 8px 10px;
    border-radius: var(--mp-radius-md);
    text-decoration: none;
    transition: background 0.12s ease, transform 0.12s ease;
}
.mp-mega__item:hover { background: var(--mp-card-bg); transform: translateX(2px); }
.mp-mega__item-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-black);
    margin-bottom: 2px;
}
.mp-mega__item-sub { display: block; font-size: 12px; color: var(--mp-muted); line-height: 1.4; }
.mp-mega__cta {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--mp-purple);
    text-decoration: none;
    padding: 8px 10px;
    transition: gap 0.18s ease;
}
.mp-mega__cta:hover { color: var(--mp-cyan); }
.mp-mega__accent {
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--mp-grad);
    border-radius: 1px;
    opacity: 0.4;
}

.mp-nav__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.mp-nav__signin {
    display: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--mp-muted);
    text-decoration: none;
    padding: 8px 6px;
    transition: color 0.15s ease;
}
.mp-nav--dark .mp-nav__signin { color: rgba(255,255,255,0.72); }
.mp-nav__signin:hover { color: var(--mp-black); }
.mp-nav--dark .mp-nav__signin:hover { color: #fff; }

/* ── Logged-in user menu ──────────────────────────────────────── */
.mp-nav__user {
    position: relative;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 6px;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    border: 1px solid transparent;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.mp-nav__user:hover, .mp-nav__user.is-open, .mp-nav__user:focus-visible {
    background: var(--mp-card-bg);
    border-color: var(--mp-divider);
    outline: none;
}
.mp-nav--dark .mp-nav__user:hover, .mp-nav--dark .mp-nav__user.is-open, .mp-nav--dark .mp-nav__user:focus-visible {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}
.mp-nav__user-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--mp-grad);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0;
}
.mp-nav__user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-black);
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mp-nav--dark .mp-nav__user-name { color: #fff; }
.mp-nav__user .mp-nav__caret { color: var(--mp-muted); }
.mp-nav--dark .mp-nav__user .mp-nav__caret { color: rgba(255,255,255,0.6); }

.mp-nav__user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-lg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    padding: 8px;
    min-width: 240px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
.mp-nav__user.is-open .mp-nav__user-menu {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}
.mp-nav__user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border-radius: var(--mp-radius-md);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--mp-body);
    text-decoration: none;
    transition: background 0.12s ease, color 0.12s ease;
}
.mp-nav__user-item svg { color: var(--mp-muted); flex-shrink: 0; }
.mp-nav__user-item:hover { background: var(--mp-card-bg); color: var(--mp-black); }
.mp-nav__user-item:hover svg { color: var(--mp-purple); }
.mp-nav__user-item--signout { color: #B91C1C; }
.mp-nav__user-item--signout svg { color: #B91C1C; }
.mp-nav__user-item--signout:hover { background: rgba(220,38,38,0.06); color: #991B1B; }
.mp-nav__user-item--signout:hover svg { color: #991B1B; }
.mp-nav__user-divider { height: 1px; background: var(--mp-divider); margin: 6px 0; }
.mp-nav__user-section-label {
    display: block;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mp-muted);
    padding: 8px 16px 4px;
    pointer-events: none;
}
.mp-nav__user-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 8px;
    pointer-events: none;
}
.mp-nav__user-identity-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--mp-grad);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}
.mp-nav__user-identity-text {
    min-width: 0;
    line-height: 1.25;
}
.mp-nav__user-identity-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.mp-nav__user-identity-email {
    font-size: 11px;
    color: var(--mp-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.mp-nav__user-form { margin: 0; padding: 0; }

@media (min-width: 768px) {
    .mp-nav__user { display: inline-flex; }
}

/* Mobile sign-out variant */
.mp-nav__mobile-signout-form { margin: 0; padding: 0; }
.mp-nav__mobile-signout {
    display: block;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    color: #B91C1C !important;
    font-weight: 600 !important;
}

.mp-nav__toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 6px;
    margin-right: -6px;
    -webkit-tap-highlight-color: transparent;
}
.mp-nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--mp-black);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}
.mp-nav--dark .mp-nav__toggle span { background: #fff; }
.mp-nav--open .mp-nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mp-nav--open .mp-nav__toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mp-nav--open .mp-nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mp-nav__mobile {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--mp-divider);
    padding: 8px 20px 24px;
    animation: mp-fade-up 0.22s ease both;
    max-height: 80vh;
    overflow-y: auto;
}
/* Explicit safety: ensure [hidden] always wins over .mp-nav__mobile { display: flex } */
.mp-nav__mobile[hidden] { display: none !important; }
/* Lock body scroll while the mobile drawer is open */
body.mp-nav-locked { overflow: hidden; }
.mp-nav--dark .mp-nav__mobile { background: var(--mp-dark-mid); border-top-color: rgba(255,255,255,0.1); }
.mp-nav__mobile a, .mp-nav__mobile-group, .mp-nav__mobile-sub, .mp-nav__mobile-signin {
    display: block;
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
}
.mp-nav__mobile-group {
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--mp-black);
    border-bottom: 1px solid var(--mp-divider);
}
.mp-nav--dark .mp-nav__mobile-group { color: rgba(255,255,255,0.92); border-bottom-color: rgba(255,255,255,0.1); }
.mp-nav__mobile-sub {
    padding: 10px 18px;
    font-size: 14px;
    color: var(--mp-muted);
}
.mp-nav--dark .mp-nav__mobile-sub { color: rgba(255,255,255,0.6); }
.mp-nav__mobile-sub:hover { color: var(--mp-purple); padding-left: 22px; }
.mp-nav--dark .mp-nav__mobile-sub:hover { color: var(--mp-cyan); }
.mp-nav__mobile-signin {
    margin-top: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--mp-muted);
}
.mp-nav--dark .mp-nav__mobile-signin { color: rgba(255,255,255,0.5); }

@media (min-width: 768px) {
    .mp-nav__inner {
        height: 64px;
        padding: 0 48px;
    }
    .mp-nav__logo { width: 32px; height: 32px; }
    .mp-nav__wordmark { font-size: 16px; }
    .mp-nav__links {
        display: flex;
    }
    .mp-nav__signin { display: inline-flex; }
    .mp-nav__toggle { display: none; }
    .mp-nav__mobile { display: none !important; }
}

/* ── FOOTER ───────────────────────────────────────────────────── */
.mp-footer {
    background: #07030F;
    padding: 64px 20px 36px;
    color: rgba(255,255,255,0.55);
}

.mp-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.mp-footer__top {
    margin-bottom: 48px;
}

.mp-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 14px;
    transition: opacity 0.15s ease;
}
.mp-footer__brand:hover { opacity: 0.85; }

.mp-footer__logo { width: 28px; height: 28px; display: block; }

.mp-footer__wordmark {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: -0.04em;
    color: #fff;
    text-transform: uppercase;
}

.mp-footer__tagline {
    font-size: 14px;
    line-height: 1.55;
    max-width: 280px;
    margin: 0;
}

.mp-footer__tagline-strong {
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.mp-footer__tagline-link {
    color: var(--mp-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
}
.mp-footer__tagline-link:hover { color: #fff; }

.mp-footer__cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.mp-footer__heading {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
}

.mp-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mp-footer__col a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
    display: inline-block;
}
.mp-footer__col a:hover {
    color: #fff;
    padding-left: 4px;
}

.mp-footer__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,211,238,0.4) 30%, rgba(124,58,237,0.4) 70%, transparent);
    margin-bottom: 24px;
}

.mp-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-wrap: wrap;
}

.mp-footer__legal,
.mp-footer__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.mp-footer__legal .mp-mono,
.mp-footer__legal a,
.mp-footer__meta .mp-mono,
.mp-footer__meta a {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.15s ease;
}
.mp-footer__legal a:hover,
.mp-footer__meta a:hover {
    color: rgba(255,255,255,0.7);
}

@media (min-width: 768px) {
    .mp-footer { padding: 88px 48px 40px; }
    .mp-footer__top { margin-bottom: 56px; }
    .mp-footer__cols {
        grid-template-columns: repeat(4, 1fr);
        gap: 48px;
        margin-bottom: 56px;
    }
    .mp-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ════════════════════════════════════════════════════════════════
   PAGE — Generic page chrome shared by Customers / Contact / Privacy
   ════════════════════════════════════════════════════════════════ */

.mp-page-hero {
    background: var(--mp-off-white);
    padding: 56px 20px 48px;
    position: relative;
    overflow: hidden;
}
.mp-page-hero::before,
.mp-page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.mp-page-hero::before {
    top: -160px; right: -160px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 65%);
}
.mp-page-hero::after {
    bottom: -100px; left: -50px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(34,211,238,0.05) 0%, transparent 65%);
}

.mp-page-hero__inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: mp-fade-up 0.5s ease both;
}

.mp-page-hero__title {
    font-size: clamp(34px, 8vw, 58px);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--mp-black);
    line-height: 1.05;
    margin: 0 0 20px;
}

.mp-page-hero__desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--mp-body);
    max-width: 540px;
    margin: 0 0 28px;
}

.mp-page-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.mp-page-hero__sub-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--mp-muted);
    text-decoration: none;
    padding: 12px 8px;
    transition: color 0.15s ease;
}
.mp-page-hero__sub-link:hover { color: var(--mp-purple); }

@media (min-width: 768px) {
    .mp-page-hero { padding: 88px 48px 80px; }
    .mp-page-hero__desc { font-size: 19px; }
}

/* ════════════════════════════════════════════════════════════════
   PORTFOLIO ROWS (Customers page — alternating large rows)
   ════════════════════════════════════════════════════════════════ */
.mp-portfolio {
    background: var(--mp-white);
    padding: 64px 20px;
}
.mp-portfolio__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mp-portfolio-row {
    display: block;
    background: var(--mp-off-white);
    border-radius: var(--mp-radius-xl);
    border: 1px solid var(--mp-divider);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.mp-portfolio-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--mp-shadow-lift);
    border-color: rgba(124,58,237,0.2);
}

.mp-portfolio-row__img {
    width: 100%;
    height: 220px;
    background: #EEEEF2;
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.025) 0px, rgba(0,0,0,0.025) 1px, transparent 1px, transparent 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-family: var(--mp-mono);
    font-size: 11px;
    flex-shrink: 0;
}
.mp-portfolio-row__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mp-portfolio-row__img--shot {
    background: #fff;
    background-image: none;
    overflow: hidden;
}
.mp-portfolio-row__img--shot img {
    object-position: center top;
}

.mp-portfolio-row__copy {
    padding: 28px 24px;
}

.mp-portfolio-row__industry {
    display: inline-block;
    font-size: 10px;
    color: var(--mp-purple);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(124,58,237,0.08));
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: 100px;
    padding: 4px 12px;
    margin-bottom: 18px;
}

.mp-portfolio-row__name {
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    margin: 0 0 14px;
    line-height: 1.15;
}

.mp-portfolio-row__summary {
    font-size: 15px;
    color: var(--mp-body);
    line-height: 1.7;
    margin: 0 0 18px;
    max-width: 52ch;
}

.mp-portfolio-row__what {
    font-size: 14px;
    color: var(--mp-muted);
    line-height: 1.65;
    margin: 0 0 20px;
}
.mp-portfolio-row__what strong { color: var(--mp-body); font-weight: 600; }

.mp-portfolio-row__tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.mp-portfolio-row__tech span {
    font-family: var(--mp-mono);
    font-size: 10px;
    color: var(--mp-muted);
    background: var(--mp-card-bg);
    border: 1px solid var(--mp-divider);
    border-radius: 100px;
    padding: 4px 10px;
    letter-spacing: 0.04em;
    transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.mp-portfolio-row__tech span:hover {
    border-color: rgba(124,58,237,0.3);
    color: var(--mp-purple);
    transform: translateY(-1px);
}

.mp-portfolio-row__outcome {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(34,211,238,0.06), rgba(124,58,237,0.06));
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: var(--mp-radius-md);
    padding: 10px 16px;
    margin-bottom: 22px;
}
.mp-portfolio-row__outcome::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--mp-grad);
    flex-shrink: 0;
}
.mp-portfolio-row__outcome span {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-black);
}

.mp-portfolio-row__link {
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.18s ease, opacity 0.15s ease;
}
.mp-portfolio-row__link:hover { gap: 10px; opacity: 0.85; }

@media (min-width: 768px) {
    .mp-portfolio { padding: 96px 48px; }
    .mp-portfolio__inner { gap: 64px; }
    .mp-portfolio-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .mp-portfolio-row--reverse .mp-portfolio-row__img { order: 2; }
    .mp-portfolio-row--reverse .mp-portfolio-row__copy { order: 1; }
    .mp-portfolio-row__img { height: 100%; min-height: 340px; }
    .mp-portfolio-row__copy { padding: 40px 48px; }
}

/* ════════════════════════════════════════════════════════════════
   VERTICALS BLOCK (Customers page — "What kinds we take on")
   ════════════════════════════════════════════════════════════════ */
.mp-verticals {
    background: var(--mp-card-bg);
    padding: 64px 20px;
}
.mp-verticals__inner {
    max-width: 800px;
    margin: 0 auto;
}
.mp-verticals__list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 36px;
    padding: 0;
    list-style: none;
}
.mp-verticals__list li {
    font-family: var(--mp-mono);
    font-size: 11px;
    color: var(--mp-body);
    background: var(--mp-white);
    border: 1px solid var(--mp-divider);
    border-radius: 100px;
    padding: 6px 14px;
    letter-spacing: 0.04em;
    transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.mp-verticals__list li:hover {
    border-color: var(--mp-purple);
    color: var(--mp-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124,58,237,0.08);
}

@media (min-width: 768px) {
    .mp-verticals { padding: 88px 48px; }
}

/* ════════════════════════════════════════════════════════════════
   CONTACT FORM
   ════════════════════════════════════════════════════════════════ */
.mp-contact {
    background: var(--mp-off-white);
    padding: 56px 20px 80px;
}
.mp-contact__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.mp-contact__form {
    background: var(--mp-white);
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-xl);
    padding: 28px 22px;
    box-shadow: var(--mp-shadow-card);
}

.mp-contact__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.mp-field { display: flex; flex-direction: column; gap: 6px; }
.mp-field label {
    font-family: var(--mp-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mp-muted);
}
.mp-field input,
.mp-field select,
.mp-field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--mp-off-white);
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-md);
    font-family: var(--mp-font);
    font-size: 15px;
    color: var(--mp-body);
    line-height: 1.5;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.mp-field textarea { min-height: 120px; resize: vertical; }
.mp-field input:focus,
.mp-field select:focus,
.mp-field textarea:focus {
    outline: none;
    border-color: var(--mp-purple);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.mp-field--full { grid-column: 1 / -1; }

.mp-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.mp-form-note {
    font-family: var(--mp-mono);
    font-size: 11px;
    color: var(--mp-muted);
    letter-spacing: 0.04em;
}

.mp-contact__aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mp-contact__card {
    background: var(--mp-white);
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-lg);
    padding: 22px 22px;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.mp-contact__card:hover {
    border-color: rgba(124,58,237,0.25);
    transform: translateY(-2px);
    box-shadow: var(--mp-shadow-card);
}
.mp-contact__card .mp-mono {
    font-size: 10px;
    color: var(--mp-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.mp-contact__card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--mp-black);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}
.mp-contact__card-value {
    font-size: 15px;
    color: var(--mp-body);
    line-height: 1.6;
    margin: 0;
}
.mp-contact__card-value a {
    color: var(--mp-purple);
    text-decoration: none;
    transition: color 0.15s ease;
}
.mp-contact__card-value a:hover { color: var(--mp-cyan); }

.mp-contact__steps {
    background: linear-gradient(145deg, var(--mp-dark-hero), var(--mp-dark-mid));
    border-radius: var(--mp-radius-lg);
    padding: 24px 22px;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(124,58,237,0.2);
}
.mp-contact__steps .mp-mono {
    font-size: 10px;
    color: var(--mp-cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}
.mp-contact__steps ol {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    counter-reset: mp-step;
}
.mp-contact__steps li {
    position: relative;
    padding-left: 36px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.78);
    counter-increment: mp-step;
}
.mp-contact__steps li::before {
    content: counter(mp-step);
    position: absolute;
    left: 0; top: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--mp-grad);
    color: #fff;
    font-family: var(--mp-mono);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .mp-contact { padding: 88px 48px 96px; }
    .mp-contact__inner {
        grid-template-columns: 7fr 5fr;
        gap: 48px;
    }
    .mp-contact__form { padding: 36px 36px; }
    .mp-contact__row { grid-template-columns: 1fr 1fr; }
    .mp-contact__row--full { grid-template-columns: 1fr; }
    .mp-contact__card { padding: 24px 24px; }
}

/* ════════════════════════════════════════════════════════════════
   PAGE-HERO VARIANTS
   ════════════════════════════════════════════════════════════════ */
/* Centered hero (Pricing) */
.mp-page-hero--centered .mp-page-hero__inner { max-width: 640px; text-align: center; }
.mp-page-hero--centered .mp-page-hero__desc { margin-left: auto; margin-right: auto; }
.mp-page-hero--centered .mp-page-hero__actions { justify-content: center; }
.mp-page-hero--centered .mp-mono { display: inline-block; }

/* Two-col split hero (About, BuffaloGrove etc.) */
.mp-page-hero--split .mp-page-hero__inner { display: block; max-width: 1200px; }
.mp-page-hero--split .mp-page-hero__split { display: block; }
.mp-page-hero--split .mp-page-hero__visual {
    margin-top: 32px;
    position: relative;
    border-radius: var(--mp-radius-xl);
    overflow: hidden;
}
.mp-page-hero--split .mp-page-hero__visual::before {
    content:'';
    position: absolute;
    inset: -2px;
    background: var(--mp-grad-135);
    border-radius: var(--mp-radius-xl);
    opacity: 0.3;
    z-index: 0;
}
.mp-page-hero--split .mp-page-hero__visual-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 280px;
    background: #EEEEF2;
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.025) 0px, rgba(0,0,0,0.025) 1px, transparent 1px, transparent 10px);
    border-radius: var(--mp-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-family: var(--mp-mono);
    font-size: 11px;
}
.mp-page-hero--split .mp-pill {
    margin-top: 16px;
    background: #fff;
    border-color: var(--mp-divider);
}
.mp-page-hero--split .mp-pill .mp-pill__label { color: var(--mp-muted); }
@media (min-width: 900px) {
    .mp-page-hero--split .mp-page-hero__split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }
    .mp-page-hero--split .mp-page-hero__visual { margin-top: 0; }
    .mp-page-hero--split .mp-page-hero__visual-img { height: 480px; }
    .mp-page-hero--split .mp-page-hero__visual::before { opacity: 0.4; }
}

/* ════════════════════════════════════════════════════════════════
   TIER CARDS (Pricing + service pages)
   ════════════════════════════════════════════════════════════════ */
.mp-tiers {
    padding: 64px 20px;
}
.mp-tiers--alt { background: #EBEDF0; }
.mp-tiers--white { background: var(--mp-off-white); }
.mp-tiers__inner { max-width: 1280px; margin: 0 auto; }
.mp-tiers__header { margin-bottom: 40px; }
.mp-tiers__title { font-size: 13px; color: var(--mp-muted); margin-top: 4px; max-width: 480px; line-height: 1.55; }
.mp-tiers__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
}
@media (min-width: 768px) {
    .mp-tiers { padding: 88px 48px; }
    .mp-tiers__grid { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
}
.mp-tiers__note {
    margin-top: 28px;
    text-align: center;
    font-size: 13px;
    color: var(--mp-muted);
    line-height: 1.6;
}
.mp-tiers__note a {
    color: var(--mp-cyan);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
.mp-tiers__note a:hover { text-decoration: underline; }

.mp-tier {
    position: relative;
    border-radius: var(--mp-radius-lg);
    padding: 28px 24px 24px;
    background: var(--mp-white);
    border: 1px solid var(--mp-divider);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mp-tier:hover { transform: translateY(-3px); box-shadow: var(--mp-shadow-card); }
.mp-tier__name {
    font-family: var(--mp-mono);
    font-size: 10px;
    color: var(--mp-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.mp-tier__who {
    font-size: 13px;
    color: var(--mp-body);
    margin-bottom: 16px;
    line-height: 1.5;
}
.mp-tier__price-wrap { margin-bottom: 20px; }
.mp-tier__price {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--mp-black);
    line-height: 1;
}
.mp-tier__period {
    font-family: var(--mp-mono);
    font-size: 11px;
    color: var(--mp-muted);
    margin-top: 5px;
}
.mp-tier__divider {
    height: 1px;
    background: var(--mp-divider);
    margin-bottom: 16px;
}
.mp-tier__bullets {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}
.mp-tier__bullets li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--mp-body);
    line-height: 1.5;
}
.mp-tier__bullets li::before {
    content: '';
    flex-shrink: 0;
    width: 15px; height: 15px;
    border-radius: 50%;
    border: 1.4px solid transparent;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='none'><path d='M1 3.5l2.5 2.5L8 1' stroke='%237C3AED' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 9px 7px no-repeat,
        linear-gradient(#fff,#fff) padding-box,
        var(--mp-grad-135) border-box;
    margin-top: 2px;
}
.mp-tier__not-included {
    font-size: 12px;
    color: var(--mp-muted);
    line-height: 1.5;
    border-top: 1px solid var(--mp-divider);
    padding-top: 12px;
    margin-bottom: 20px;
}
.mp-tier__not-included strong { color: var(--mp-body); font-weight: 600; }
.mp-tier__cta {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: var(--mp-radius-sm);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    color: var(--mp-purple);
    border: 1.5px solid var(--mp-divider);
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
    margin-top: auto;
}
.mp-tier__cta:hover {
    border-color: var(--mp-purple);
    background: #F9F5FF;
}

/* Highlight tier — dark bg + animated gradient border */
.mp-tier--highlight {
    background: var(--mp-dark-hero);
    border: none;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.mp-tier--highlight::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--mp-cyan) 30deg,
        var(--mp-purple) 70deg,
        transparent 130deg,
        transparent 180deg,
        var(--mp-cyan) 210deg,
        var(--mp-purple) 250deg,
        transparent 310deg,
        transparent 360deg
    );
    animation: mp-border-spin 6s linear infinite;
    z-index: 0;
    pointer-events: none;
}
.mp-tier--highlight::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: var(--mp-dark-hero);
    border-radius: calc(var(--mp-radius-lg) - 1.5px);
    z-index: 0;
    pointer-events: none;
}
.mp-tier--highlight > * {
    position: relative;
    z-index: 1;
}
.mp-tier--highlight .mp-tier__name,
.mp-tier--highlight .mp-tier__period { color: var(--mp-dark-muted); }
.mp-tier--highlight .mp-tier__who { color: var(--mp-dark-body); }
.mp-tier--highlight .mp-tier__price { color: #fff; }
.mp-tier--highlight .mp-tier__divider { background: rgba(255,255,255,0.1); }
.mp-tier--highlight .mp-tier__bullets li { color: var(--mp-dark-body); }
.mp-tier--highlight .mp-tier__bullets li::before {
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='none'><path d='M1 3.5l2.5 2.5L8 1' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 9px 7px no-repeat,
        linear-gradient(var(--mp-dark-hero), var(--mp-dark-hero)) padding-box,
        var(--mp-grad-135) border-box;
}
.mp-tier--highlight .mp-tier__not-included { color: rgba(255,255,255,0.4); border-top-color: rgba(255,255,255,0.08); }
.mp-tier--highlight .mp-tier__not-included strong { color: rgba(255,255,255,0.6); }
.mp-tier--highlight .mp-tier__cta {
    background: var(--mp-grad);
    color: #fff;
    border: none;
    isolation: isolate;
}
.mp-tier--highlight .mp-tier__cta:hover {
    box-shadow: 0 0 24px rgba(34,211,238,0.35), 0 0 48px rgba(124,58,237,0.2);
    transform: translateY(-1px);
}
.mp-tier__tag {
    align-self: flex-start;
    background: var(--mp-grad);
    color: #fff;
    font-family: var(--mp-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

/* Custom tier — dashed look */
.mp-tier--custom { border-style: dashed; }
.mp-tier__custom-label {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    margin-bottom: 20px;
}

/* Coming-soon tier */
.mp-tier--coming { background: var(--mp-card-bg); border-style: dashed; }
.mp-tier__coming-label {
    font-family: var(--mp-mono);
    font-size: 11px;
    color: var(--mp-muted);
    margin-bottom: 20px;
}

/* ════════════════════════════════════════════════════════════════
   SAAS-BUILD CALLOUT CARD (dark gradient, rounded)
   ════════════════════════════════════════════════════════════════ */
.mp-saas-callout {
    background: var(--mp-white);
    padding: 64px 20px;
}
.mp-saas-callout--alt { background: var(--mp-card-bg); }
.mp-saas-callout__card {
    position: relative;
    border-radius: var(--mp-radius-xl);
    overflow: hidden;
    background: var(--mp-dark-hero);
    padding: 32px 24px;
    color: var(--mp-dark-body);
    max-width: 720px;
    isolation: isolate;
}
.mp-saas-callout__card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--mp-cyan) 30deg,
        var(--mp-purple) 70deg,
        transparent 130deg,
        transparent 180deg,
        var(--mp-cyan) 210deg,
        var(--mp-purple) 250deg,
        transparent 310deg,
        transparent 360deg
    );
    animation: mp-border-spin 6s linear infinite;
    z-index: 0;
    pointer-events: none;
}
.mp-saas-callout__card::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: var(--mp-dark-hero);
    border-radius: calc(var(--mp-radius-xl) - 1.5px);
    z-index: 0;
    pointer-events: none;
}
.mp-saas-callout__inner { position: relative; z-index: 1; }
.mp-saas-callout__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(34,211,238,0.3);
    background: rgba(34,211,238,0.06);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 24px;
    font-family: var(--mp-mono);
    font-size: 11px;
    color: var(--mp-cyan);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mp-saas-callout__title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.15;
}
.mp-saas-callout__desc {
    font-size: 15px;
    color: var(--mp-dark-body);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 0 32px;
}
@media (min-width: 768px) {
    .mp-saas-callout { padding: 88px 48px; }
    .mp-saas-callout__card { padding: 48px 48px; }
    .mp-saas-callout__title { font-size: 34px; }
    .mp-saas-callout__desc { font-size: 16px; }
}

/* ════════════════════════════════════════════════════════════════
   PRODUCTS COMING-SOON GRID
   ════════════════════════════════════════════════════════════════ */
.mp-products-cs {
    background: var(--mp-card-bg);
    padding: 64px 20px;
}
.mp-products-cs__inner { max-width: 1280px; margin: 0 auto; }
.mp-products-cs__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}
.mp-products-cs__card {
    background: var(--mp-white);
    border-radius: var(--mp-radius-lg);
    border: 1.5px dashed var(--mp-divider);
    padding: 20px 18px;
    transition: border-color 0.18s ease, transform 0.18s ease;
}
.mp-products-cs__card:hover { border-color: var(--mp-purple); transform: translateY(-2px); }
.mp-products-cs__tag {
    font-family: var(--mp-mono);
    font-size: 9px;
    color: var(--mp-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.mp-products-cs__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-black);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.mp-products-cs__desc { font-size: 13px; color: var(--mp-muted); line-height: 1.55; }
.mp-products-cs__link {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--mp-purple);
    text-decoration: none;
    transition: color 0.15s ease;
}
.mp-products-cs__link:hover { color: var(--mp-cyan); }
@media (min-width: 768px) {
    .mp-products-cs { padding: 88px 48px; }
    .mp-products-cs__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* ════════════════════════════════════════════════════════════════
   ADD-ONS TABLE
   ════════════════════════════════════════════════════════════════ */
.mp-addons {
    background: var(--mp-white);
    padding: 64px 20px;
}
.mp-addons__inner { max-width: 1280px; margin: 0 auto; }
.mp-addons__table {
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-lg);
    overflow: hidden;
    margin-top: 32px;
}
.mp-addons__row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    column-gap: 16px;
    padding: 14px 20px;
    align-items: center;
    transition: background 0.15s ease;
}
.mp-addons__row--head { background: var(--mp-card-bg); border-bottom: 1px solid var(--mp-divider); }
.mp-addons__row--head span {
    font-family: var(--mp-mono);
    font-size: 10px;
    color: var(--mp-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mp-addons__row:not(.mp-addons__row--head):not(:last-child) { border-bottom: 1px solid var(--mp-divider); }
.mp-addons__row:not(.mp-addons__row--head):nth-child(odd) { background: var(--mp-off-white); }
.mp-addons__row:not(.mp-addons__row--head):hover { background: rgba(124,58,237,0.04); }
.mp-addons__name { font-size: 14px; font-weight: 600; color: var(--mp-black); }
.mp-addons__type { font-family: var(--mp-mono); font-size: 11px; color: var(--mp-muted); }
.mp-addons__price { font-size: 14px; font-weight: 700; color: var(--mp-purple); white-space: nowrap; }
.mp-addons__note { margin-top: 16px; font-size: 12px; color: var(--mp-muted); line-height: 1.6; }
@media (min-width: 768px) {
    .mp-addons { padding: 88px 48px; }
    .mp-addons__row { grid-template-columns: 2fr 1fr 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   COMMITMENTS GRID (dark bg, 6 items)
   ════════════════════════════════════════════════════════════════ */
.mp-commitments {
    background: linear-gradient(145deg, var(--mp-dark-hero), var(--mp-dark-mid));
    padding: 64px 20px;
    color: var(--mp-dark-body);
}
.mp-commitments__inner { max-width: 1280px; margin: 0 auto; }
.mp-commitments__title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 48px;
    line-height: 1.1;
}
.mp-commitments__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.mp-commitments__item {
    border-top: 2px solid;
    border-image: var(--mp-grad) 1;
    padding-top: 20px;
}
.mp-commitments__item-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.mp-commitments__item-body { font-size: 14px; color: var(--mp-dark-body); line-height: 1.65; margin: 0; }
@media (min-width: 768px) {
    .mp-commitments { padding: 88px 48px; }
    .mp-commitments__title { font-size: 38px; }
    .mp-commitments__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

/* ════════════════════════════════════════════════════════════════
   VALUES GRID (light bg, gradient border-image top)
   ════════════════════════════════════════════════════════════════ */
.mp-values {
    background: var(--mp-card-bg);
    padding: 64px 20px;
}
.mp-values__inner { max-width: 1200px; margin: 0 auto; }
.mp-values__title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    margin: 0 0 40px;
    line-height: 1.1;
}
.mp-values__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.mp-values__item {
    border-top: 2px solid;
    border-image: var(--mp-grad) 1;
    padding-top: 24px;
}
.mp-values__item-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--mp-black);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.mp-values__item-body { font-size: 14px; color: var(--mp-body); line-height: 1.7; margin: 0; }
@media (min-width: 768px) {
    .mp-values { padding: 88px 48px; }
    .mp-values__title { font-size: 38px; }
    .mp-values__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* ════════════════════════════════════════════════════════════════
   WONT-DO LIST (About page)
   ════════════════════════════════════════════════════════════════ */
.mp-wontdo {
    background: var(--mp-white);
    padding: 64px 20px;
}
.mp-wontdo__inner { max-width: 720px; margin: 0 auto; }
.mp-wontdo__title { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--mp-black); margin: 0 0 16px; line-height: 1.1; }
.mp-wontdo__intro { font-size: 16px; color: var(--mp-body); line-height: 1.7; margin: 0 0 32px; max-width: 56ch; }
.mp-wontdo__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--mp-divider);
}
.mp-wontdo__icon {
    flex-shrink: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(124,58,237,0.1));
    border: 1px solid rgba(124,58,237,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: transform 0.18s ease;
}
.mp-wontdo__item:hover .mp-wontdo__icon { transform: rotate(-90deg); }
.mp-wontdo__item-name { font-size: 15px; font-weight: 700; color: var(--mp-black); margin: 0 0 4px; }
.mp-wontdo__item-reason { font-size: 14px; color: var(--mp-muted); line-height: 1.55; }
@media (min-width: 768px) {
    .mp-wontdo { padding: 88px 48px; }
    .mp-wontdo__title { font-size: 38px; }
}

/* ════════════════════════════════════════════════════════════════
   VISION DARK SECTION (About page)
   ════════════════════════════════════════════════════════════════ */
.mp-vision {
    background: linear-gradient(145deg, var(--mp-dark-hero), var(--mp-dark-mid));
    padding: 64px 20px;
    position: relative;
    overflow: hidden;
}
.mp-vision::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 16px);
    z-index: 0;
}
.mp-vision__inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.mp-vision__title { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin: 0 0 24px; line-height: 1.1; }
.mp-vision__inner p { font-size: 16px; color: var(--mp-dark-body); line-height: 1.8; margin: 0 0 20px; max-width: 58ch; }
@media (min-width: 768px) {
    .mp-vision { padding: 88px 48px; }
    .mp-vision__title { font-size: 38px; }
    .mp-vision__inner p { font-size: 18px; }
}

/* ════════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════════════════════════ */
.mp-faq {
    background: var(--mp-off-white);
    padding: 64px 20px;
}
.mp-faq--white { background: var(--mp-white); }
.mp-faq__inner { max-width: 720px; margin: 0 auto; }
.mp-faq__title { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--mp-black); margin: 0 0 40px; line-height: 1.1; }
.mp-faq__list { display: flex; flex-direction: column; }
.mp-faq__item {
    border-top: 1px solid var(--mp-divider);
    padding: 18px 0;
    display: grid;
    grid-template-rows: auto minmax(0, 0fr);
    transition: grid-template-rows 0.34s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.mp-faq__item:last-child { border-bottom: 1px solid var(--mp-divider); }
.mp-faq__btn {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
    text-align: left;
    font: inherit;
}
.mp-faq__q {
    font-size: 15px;
    font-weight: 700;
    color: var(--mp-black);
    letter-spacing: -0.02em;
    line-height: 1.4;
    flex: 1;
}
.mp-faq__plus {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(124,58,237,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mp-divider);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.mp-faq__item.is-open .mp-faq__plus { transform: rotate(45deg); border-color: var(--mp-purple); }
.mp-faq__a {
    font-size: 15px;
    color: var(--mp-body);
    line-height: 1.7;
    max-width: 62ch;
    margin: 0;
    padding-top: 12px;
    overflow: hidden;
    min-height: 0;
}
.mp-faq__item.is-open { grid-template-rows: auto minmax(0, 1fr); }
@media (prefers-reduced-motion: reduce) {
    .mp-faq__item { transition: none; }
}
@media (min-width: 768px) {
    .mp-faq { padding: 88px 48px; }
    .mp-faq__title { font-size: 36px; }
    .mp-faq__q { font-size: 17px; }
}

/* ════════════════════════════════════════════════════════════════
   PROSE-STYLE SECTION (long-form paragraph blocks)
   ════════════════════════════════════════════════════════════════ */
.mp-longform {
    background: var(--mp-white);
    padding: 64px 20px;
}
.mp-longform__inner { max-width: 720px; margin: 0 auto; }
.mp-longform p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--mp-body);
    max-width: 62ch;
    margin: 0 0 24px;
}
.mp-longform p:first-of-type { color: var(--mp-black); font-weight: 500; }
@media (min-width: 768px) {
    .mp-longform { padding: 88px 48px; }
    .mp-longform p { font-size: 19px; }
}

/* ════════════════════════════════════════════════════════════════
   GEO BLOCK (compact two-line section)
   ════════════════════════════════════════════════════════════════ */
.mp-geo-block {
    background: var(--mp-white);
    padding: 56px 20px;
}
.mp-geo-block__inner { max-width: 720px; margin: 0 auto; }
.mp-geo-block__quote {
    font-size: 18px;
    font-weight: 600;
    color: var(--mp-black);
    line-height: 1.55;
    max-width: 52ch;
    margin: 0 0 16px;
}
.mp-geo-block__sub {
    font-size: 16px;
    color: var(--mp-body);
    line-height: 1.7;
    margin: 0;
}
.mp-geo-block__sub a { color: var(--mp-purple); text-decoration: none; font-weight: 600; }
.mp-geo-block__sub a:hover { color: var(--mp-cyan); }
@media (min-width: 768px) {
    .mp-geo-block { padding: 72px 48px; }
    .mp-geo-block__quote { font-size: 22px; }
}

/* ════════════════════════════════════════════════════════════════
   CONTACT — info card + promises + quick links
   ════════════════════════════════════════════════════════════════ */
.mp-contact__form-stripe {
    height: 3px;
    background: var(--mp-grad);
    border-radius: var(--mp-radius-xl) var(--mp-radius-xl) 0 0;
    margin: -28px -22px 28px;
}
@media (min-width: 768px) {
    .mp-contact__form-stripe { margin: -36px -36px 32px; }
}

.mp-contact__form-eyebrow {
    font-family: var(--mp-mono);
    font-size: 10px;
    color: var(--mp-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.mp-contact__form-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    margin: 0 0 28px;
    line-height: 1.15;
}
@media (min-width: 768px) {
    .mp-contact__form-title { font-size: 26px; }
}

.mp-contact__info {
    background: var(--mp-white);
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-xl);
    padding: 24px 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.mp-contact__info-heading {
    font-family: var(--mp-mono);
    font-size: 10px;
    color: var(--mp-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}
.mp-contact__info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.mp-contact__info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.mp-contact__info-icon {
    width: 36px; height: 36px;
    min-width: 36px; min-height: 36px;
    flex-shrink: 0;
    border-radius: var(--mp-radius-md);
    background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(124,58,237,0.1));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease;
}
.mp-contact__info-row:hover .mp-contact__info-icon { transform: rotate(-6deg) scale(1.05); }
.mp-contact__info-label {
    font-family: var(--mp-mono);
    font-size: 10px;
    color: var(--mp-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 3px;
    display: block;
}
.mp-contact__info-value, .mp-contact__info-value-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-black);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.15s ease;
}
.mp-contact__info-value-link:hover { color: var(--mp-purple); }

.mp-contact__promises {
    background: var(--mp-dark-hero);
    border-radius: var(--mp-radius-xl);
    padding: 24px 22px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.mp-contact__promises::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--mp-cyan) 30deg,
        var(--mp-purple) 70deg,
        transparent 130deg,
        transparent 180deg,
        var(--mp-cyan) 210deg,
        var(--mp-purple) 250deg,
        transparent 310deg,
        transparent 360deg
    );
    animation: mp-border-spin 6s linear infinite;
    z-index: 0;
    pointer-events: none;
}
.mp-contact__promises::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: var(--mp-dark-hero);
    border-radius: calc(var(--mp-radius-xl) - 1.5px);
    z-index: 0;
    pointer-events: none;
}
.mp-contact__promises-inner { position: relative; z-index: 1; }
.mp-contact__promises-heading {
    font-family: var(--mp-mono);
    font-size: 10px;
    color: var(--mp-cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}
.mp-contact__promises-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.mp-contact__promises-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.mp-contact__promises-list li::before {
    content: '';
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    border-radius: 50%;
    background:
        rgba(255,255,255,0.06)
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 8 6' fill='none'><path d='M1 3l2 2 4-4' stroke='%2322D3EE' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>")
        center / 10px 8px no-repeat;
    border: 1px solid rgba(255,255,255,0.15);
}
.mp-contact__promises-list p {
    font-size: 13px;
    color: var(--mp-dark-body);
    line-height: 1.65;
    margin: 0;
}

.mp-contact__quicklinks {
    background: var(--mp-card-bg);
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-lg);
    padding: 18px 20px;
}
.mp-contact__quicklinks-heading {
    font-family: var(--mp-mono);
    font-size: 10px;
    color: var(--mp-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}
.mp-contact__quicklinks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mp-contact__quicklinks-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-body);
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
}
.mp-contact__quicklinks-list a:hover { color: var(--mp-purple); padding-left: 4px; }

/* ════════════════════════════════════════════════════════════════
   COMPACT PAGE HERO + SUB-TABS + CABINET CONTAINER
   (used by authenticated cabinet/dashboard pages — wraps inside main _Layout)
   ════════════════════════════════════════════════════════════════ */
.mp-page-hero--compact {
    padding: 40px 20px 32px;
}
.mp-page-hero--compact .mp-page-hero__inner { max-width: 1200px; }
.mp-page-hero__title-sm {
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    margin: 0 0 8px;
    line-height: 1.1;
}
@media (min-width: 768px) {
    .mp-page-hero--compact { padding: 56px 48px 40px; }
}

.mp-subtabs {
    background: var(--mp-white);
    border-bottom: 1px solid var(--mp-divider);
    position: sticky;
    top: 56px;
    z-index: 90;
}
@media (min-width: 768px) { .mp-subtabs { top: 64px; } }
.mp-subtabs__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mp-subtabs__inner::-webkit-scrollbar { display: none; }
.mp-subtabs__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.mp-subtabs__item svg { color: var(--mp-muted); transition: color 0.15s ease; }
.mp-subtabs__item:hover { color: var(--mp-black); }
.mp-subtabs__item:hover svg { color: var(--mp-purple); }
.mp-subtabs__item--active {
    color: var(--mp-black);
    border-bottom-color: var(--mp-purple);
}
.mp-subtabs__item--active svg { color: var(--mp-purple); }
@media (min-width: 768px) {
    .mp-subtabs__inner { padding: 0 48px; gap: 8px; }
    .mp-subtabs__item { padding: 16px 18px; font-size: 14px; }
}

.mp-cabinet {
    background: var(--mp-off-white);
    padding: 32px 20px 80px;
    min-height: 60vh;
}
.mp-cabinet__inner { max-width: 1100px; margin: 0 auto; }
.mp-cabinet__inner--with-side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}
.mp-cabinet__main-col { min-width: 0; }
@media (min-width: 768px) {
    .mp-cabinet { padding: 56px 48px 96px; }
}
@media (min-width: 960px) {
    .mp-cabinet__inner--with-side {
        grid-template-columns: 220px 1fr;
        gap: 48px;
    }
}

/* ── Account vertical sidebar (AI-platform style) ─────────────── */
.mp-account-side {
    position: relative;
}
.mp-account-side__heading {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mp-muted);
    padding: 0 12px 10px;
}
.mp-account-side__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mp-account-side__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--mp-radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--mp-body);
    text-decoration: none;
    transition: background 0.12s ease, color 0.12s ease;
}
.mp-account-side__item svg { color: var(--mp-muted); flex-shrink: 0; }
.mp-account-side__item:hover {
    background: rgba(124,58,237,0.06);
    color: var(--mp-black);
}
.mp-account-side__item:hover svg { color: var(--mp-purple); }
.mp-account-side__item--active {
    background: rgba(124,58,237,0.1);
    color: var(--mp-black);
    font-weight: 600;
}
.mp-account-side__item--active svg { color: var(--mp-purple); }
@media (min-width: 960px) {
    .mp-account-side {
        position: sticky;
        top: 84px;
    }
    .mp-account-side__nav {
        border-left: 1px solid var(--mp-divider);
        padding-left: 0;
    }
    .mp-account-side__item {
        border-radius: 0;
        border-left: 2px solid transparent;
        margin-left: -1px;
        padding-left: 14px;
    }
    .mp-account-side__item:hover { background: transparent; }
    .mp-account-side__item--active {
        background: transparent;
        border-left-color: var(--mp-purple);
    }
}

/* ════════════════════════════════════════════════════════════════
   STUB PAGE (placeholder for pages still in design)
   ════════════════════════════════════════════════════════════════ */
.mp-stub {
    background: var(--mp-white);
    padding: 56px 20px 80px;
}
.mp-stub__inner {
    max-width: 780px;
    margin: 0 auto;
}
.mp-stub__card {
    background: linear-gradient(145deg, var(--mp-dark-hero), var(--mp-dark-mid));
    border: 1px solid rgba(124,58,237,0.25);
    border-radius: var(--mp-radius-xl);
    padding: 32px 24px;
    color: rgba(255,255,255,0.85);
    position: relative;
    overflow: hidden;
}
.mp-stub__card::before {
    content: '';
    position: absolute;
    top: -160px; right: -160px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.mp-stub__eyebrow {
    font-family: var(--mp-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mp-cyan);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.mp-stub__eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--mp-cyan);
    box-shadow: 0 0 8px var(--mp-cyan);
    animation: mp-pulse-glow 2s ease-in-out infinite;
}
.mp-stub__heading {
    font-size: clamp(24px, 5vw, 30px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 14px;
    position: relative;
}
.mp-stub__copy {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    margin: 0 0 22px;
    max-width: 60ch;
    position: relative;
}
.mp-stub__bullet-heading {
    font-family: var(--mp-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 14px;
    position: relative;
}
.mp-stub__bullets {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.mp-stub__bullets li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}
.mp-stub__bullets li::before {
    content: '';
    flex-shrink: 0;
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(124,58,237,0.5);
    margin-top: 3px;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'><path d='M1 4l2.5 2.5L9 1' stroke='%2322D3EE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 10px 8px no-repeat,
        linear-gradient(135deg, rgba(34,211,238,0.2), rgba(124,58,237,0.2));
}
.mp-stub__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}
.mp-stub__actions .mp-btn--ghost {
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
}
.mp-stub__actions .mp-btn--ghost:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
    color: #fff;
}

@media (min-width: 768px) {
    .mp-stub { padding: 88px 48px 96px; }
    .mp-stub__card { padding: 48px 48px; }
    .mp-stub__copy { font-size: 16px; }
    .mp-stub__bullets li { font-size: 15px; }
}

/* ════════════════════════════════════════════════════════════════
   PROSE (Privacy / Terms / long-form pages)
   ════════════════════════════════════════════════════════════════ */
.mp-prose {
    background: var(--mp-white);
    padding: 56px 20px 80px;
}
.mp-prose__inner {
    max-width: 720px;
    margin: 0 auto;
    color: var(--mp-body);
}
.mp-prose__inner h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--mp-black);
    margin: 36px 0 12px;
    line-height: 1.25;
}
.mp-prose__inner h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--mp-black);
    margin: 24px 0 8px;
}
.mp-prose__inner p,
.mp-prose__inner li {
    font-size: 16px;
    line-height: 1.75;
    color: var(--mp-body);
    margin: 0 0 14px;
}
.mp-prose__inner ul {
    margin: 0 0 18px;
    padding-left: 22px;
}
.mp-prose__inner a {
    color: var(--mp-purple);
    text-decoration: none;
    border-bottom: 1px solid rgba(124,58,237,0.25);
    transition: color 0.15s ease, border-color 0.15s ease;
}
.mp-prose__inner a:hover {
    color: var(--mp-cyan);
    border-color: var(--mp-cyan);
}
.mp-prose__updated {
    font-family: var(--mp-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mp-muted);
    margin-bottom: 24px;
    display: inline-block;
}

@media (min-width: 768px) {
    .mp-prose { padding: 72px 48px 96px; }
    .mp-prose__inner h2 { font-size: 26px; margin-top: 44px; }
}

/* ════════════════════════════════════════════════════════════════
   CUSTOMER STORIES (Reviews wall)
   ════════════════════════════════════════════════════════════════ */
.mp-stories {
    background: var(--mp-off-white);
    padding: 56px 20px 72px;
}
.mp-stories__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.mp-stories__heading {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    line-height: 1.15;
    margin: 0 0 14px;
}
.mp-stories__sub {
    font-size: 16px;
    color: var(--mp-body);
    line-height: 1.7;
    max-width: 60ch;
    margin: 0 0 40px;
}
.mp-stories__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.mp-story-card {
    background: var(--mp-white);
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-lg);
    padding: 24px 22px;
    box-shadow: var(--mp-shadow-card);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.mp-story-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 20px 56px rgba(0,0,0,0.12), 0 0 0 1.5px rgba(124,58,237,0.22);
    border-color: rgba(124,58,237,0.3);
}
.mp-story-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
}
.mp-story-card__quote {
    font-size: 17px;
    line-height: 1.6;
    color: var(--mp-black);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
    text-wrap: pretty;
}
.mp-story-card__attribution {
    margin-top: auto;
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--mp-divider);
}
.mp-story-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-black);
    margin-bottom: 2px;
}
.mp-story-card__role {
    font-size: 11px;
    color: var(--mp-muted);
    letter-spacing: 0.04em;
}
.mp-story-card__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-purple);
    text-decoration: none;
    transition: opacity 0.15s ease, padding-left 0.15s ease;
}
.mp-story-card__link:hover {
    opacity: 0.7;
    padding-left: 4px;
}

@media (min-width: 720px) {
    .mp-stories { padding: 88px 32px 104px; }
    .mp-stories__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .mp-story-card { padding: 28px 28px; }
}
@media (min-width: 1100px) {
    .mp-stories { padding: 96px 48px 120px; }
}

/* ── "Want to leave a review?" strip ───────────────────────────── */
.mp-stories-leave {
    background: var(--mp-card-bg);
    padding: 56px 20px;
}
.mp-stories-leave__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}
.mp-stories-leave__title {
    font-size: clamp(24px, 4.5vw, 30px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    line-height: 1.2;
    margin: 0 0 16px;
}
.mp-stories-leave__copy {
    font-size: 16px;
    line-height: 1.7;
    color: var(--mp-body);
    margin: 0 0 28px;
    max-width: 60ch;
}
.mp-stories-leave__copy a {
    color: var(--mp-purple);
    text-decoration: none;
    border-bottom: 1px solid rgba(124,58,237,0.25);
}
.mp-stories-leave__copy a:hover {
    color: var(--mp-cyan);
    border-color: var(--mp-cyan);
}
.mp-stories-leave__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.mp-stories-leave__sub-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}
.mp-stories-leave__sub-link:hover { color: var(--mp-purple); }

@media (min-width: 768px) {
    .mp-stories-leave { padding: 80px 48px; }
}

/* ════════════════════════════════════════════════════════════════
   PER-CLIENT PORTFOLIO PAGE (PartyVerse / IntellectumKids / etc.)
   ════════════════════════════════════════════════════════════════ */
.mp-client {
    background: var(--mp-white);
    padding: 56px 20px 72px;
}
.mp-client__inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Per-client live-site screenshot section (used by _ClientPortfolioPage.cshtml) */
.mp-client__shot {
    padding: 24px 20px 32px;
    background: var(--mp-white);
}
.mp-client__shot-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}
.mp-client__shot-figure {
    margin: 0;
    border-radius: var(--mp-radius-xl);
    overflow: hidden;
    border: 1px solid var(--mp-divider);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10), 0 2px 8px rgba(15, 23, 42, 0.05);
    background: #fff;
}
.mp-client__shot-figure img {
    display: block;
    width: 100%;
    height: auto;
}
.mp-client__shot-caption {
    font-family: var(--mp-mono);
    font-size: 12px;
    color: var(--mp-muted);
    letter-spacing: 0.04em;
    text-align: center;
    margin: 4px 0 0;
}
@media (min-width: 900px) {
    .mp-client__shot { padding: 40px 48px 64px; }
    .mp-client__shot-inner:has(.mp-client__shot-figure--secondary) {
        grid-template-columns: 1.4fr 1fr;
        gap: 24px;
        align-items: start;
    }
    .mp-client__shot-inner:has(.mp-client__shot-figure--secondary) .mp-client__shot-caption {
        grid-column: 1 / -1;
    }
}

/* ─── Per-client section-screenshot grid + lightbox ─────────────── */
.mp-client-shots {
    padding: 32px 20px 48px;
    background: var(--mp-white);
}
.mp-client-shots__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.mp-client-shots__grid {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.mp-client-shots__grid > li { margin: 0; }
.mp-client-shot {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: zoom-in;
    font: inherit;
    color: inherit;
}
.mp-client-shot__media {
    position: relative;
    display: block;
    border-radius: var(--mp-radius-lg);
    overflow: hidden;
    border: 1px solid var(--mp-divider);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.04);
    background: #fff;
    aspect-ratio: 4 / 3;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.mp-client-shot__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.mp-client-shot__zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 8, 23, 0.78);
    color: #fff;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 180ms ease, transform 180ms ease;
}
.mp-client-shot:hover .mp-client-shot__media,
.mp-client-shot:focus-visible .mp-client-shot__media {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.06);
    border-color: rgba(124, 58, 237, 0.45);
}
.mp-client-shot:hover .mp-client-shot__zoom,
.mp-client-shot:focus-visible .mp-client-shot__zoom {
    opacity: 1;
    transform: translateY(0);
}
.mp-client-shot:focus-visible {
    outline: none;
}
.mp-client-shot:focus-visible .mp-client-shot__media {
    outline: 2px solid var(--mp-cyan);
    outline-offset: 3px;
}
.mp-client-shot__label {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--mp-muted);
    text-transform: uppercase;
}
.mp-client-shots__caption {
    margin: 18px 0 0;
    font-family: var(--mp-mono);
    font-size: 12px;
    color: var(--mp-muted);
    letter-spacing: 0.04em;
    text-align: center;
}
@media (min-width: 720px) {
    .mp-client-shots__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}
@media (min-width: 1024px) {
    .mp-client-shots { padding: 48px 48px 64px; }
    .mp-client-shots__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* Lightbox */
.mp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 4, 16, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.mp-lightbox[hidden] { display: none; }
.mp-lightbox__figure {
    margin: 0;
    max-width: min(1200px, 96vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.mp-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: 84vh;
    width: auto;
    height: auto;
    border-radius: var(--mp-radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    background: #fff;
}
.mp-lightbox__caption {
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mp-lightbox__close,
.mp-lightbox__nav {
    position: absolute;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.mp-lightbox__close:hover,
.mp-lightbox__nav:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.32);
}
.mp-lightbox__close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 24px;
}
.mp-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    font-size: 28px;
}
.mp-lightbox__nav--prev { left: 16px; }
.mp-lightbox__nav--next { right: 16px; }
@media (min-width: 768px) {
    .mp-lightbox__close { top: 24px; right: 24px; width: 44px; height: 44px; }
    .mp-lightbox__nav { width: 52px; height: 52px; font-size: 32px; }
    .mp-lightbox__nav--prev { left: 32px; }
    .mp-lightbox__nav--next { right: 32px; }
}

.mp-client__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}
.mp-client__needed {
    font-size: 16px;
    line-height: 1.75;
    color: var(--mp-body);
    margin: 0;
    max-width: 52ch;
}
.mp-client__built {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mp-client__built li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.65;
    color: var(--mp-body);
}
.mp-client__built li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-top: 3px;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'><path d='M1 4l2.5 2.5L9 1' stroke='%237C3AED' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 10px 8px no-repeat,
        linear-gradient(135deg, rgba(34,211,238,0.12), rgba(124,58,237,0.12));
    border: 1px solid rgba(124,58,237,0.25);
}
.mp-client__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mp-client__tech span {
    font-family: var(--mp-mono);
    font-size: 11px;
    color: var(--mp-muted);
    background: var(--mp-card-bg);
    border: 1px solid var(--mp-divider);
    border-radius: 100px;
    padding: 5px 12px;
    letter-spacing: 0.04em;
}

@media (min-width: 880px) {
    .mp-client { padding: 88px 32px 112px; }
    .mp-client__row { grid-template-columns: 1fr 1fr; gap: 56px; }
}
@media (min-width: 1100px) {
    .mp-client { padding: 96px 48px 128px; }
}

/* ── Outcome + inline pull-quote ───────────────────────────────── */
.mp-client-outcome {
    background: var(--mp-off-white);
    padding: 56px 20px 72px;
}
.mp-client-outcome__inner {
    max-width: 800px;
    margin: 0 auto;
}
.mp-client-outcome__copy {
    font-size: 17px;
    line-height: 1.75;
    color: var(--mp-body);
    margin: 0 0 36px;
    text-wrap: pretty;
}
.mp-client-outcome__copy strong {
    color: var(--mp-black);
}
.mp-client-quote {
    background: var(--mp-dark-hero);
    border-radius: var(--mp-radius-xl);
    padding: 28px 24px;
    margin: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.mp-client-quote::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--mp-cyan) 30deg,
        var(--mp-purple) 70deg,
        transparent 130deg,
        transparent 180deg,
        var(--mp-cyan) 210deg,
        var(--mp-purple) 250deg,
        transparent 310deg,
        transparent 360deg
    );
    animation: mp-border-spin 6s linear infinite;
    z-index: 0;
    pointer-events: none;
}
.mp-client-quote::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: var(--mp-dark-hero);
    border-radius: calc(var(--mp-radius-xl) - 1.5px);
    z-index: 0;
    pointer-events: none;
}
.mp-client-quote > * {
    position: relative;
    z-index: 1;
}
.mp-client-quote blockquote {
    font-size: 18px;
    line-height: 1.65;
    color: #fff;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
    text-wrap: pretty;
}
.mp-client-quote figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.mp-client-quote__author {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.mp-client-quote__link {
    font-size: 13px;
    font-weight: 700;
    color: var(--mp-cyan);
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.mp-client-quote__link:hover { opacity: 0.7; }

@media (min-width: 768px) {
    .mp-client-outcome { padding: 88px 48px 104px; }
    .mp-client-quote { padding: 32px 36px; }
    .mp-client-quote blockquote { font-size: 20px; }
}

/* ════════════════════════════════════════════════════════════════
   BUFFALO GROVE LOCAL LANDING PAGE
   ════════════════════════════════════════════════════════════════ */
.mp-bg-pill-section {
    background:
        radial-gradient(ellipse 70% 50% at 65% 0%, rgba(34,211,238,0.08) 0%, transparent 55%),
        var(--mp-off-white);
}

.mp-customer-card--linked {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.mp-customer-card--linked:hover .mp-customer-card__name {
    color: var(--mp-purple);
}

.mp-bg-city {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: var(--mp-muted);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

/* ── Why local matters split ────────────────────────────────────── */
.mp-bg-why-local {
    background: var(--mp-card-bg);
    padding: 56px 20px;
}
.mp-bg-why-local__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.mp-bg-why-local__copy {
    font-size: 16px;
    line-height: 1.8;
    color: var(--mp-body);
    margin: 0 0 18px;
    max-width: 54ch;
}
@media (min-width: 880px) {
    .mp-bg-why-local { padding: 88px 32px; }
    .mp-bg-why-local__inner { grid-template-columns: 1fr 1fr; gap: 64px; }
    .mp-bg-why-local__copy { font-size: 17px; }
}
@media (min-width: 1100px) {
    .mp-bg-why-local { padding: 104px 48px; }
}

/* ── Local SEO checklist card ──────────────────────────────────── */
.mp-bg-checklist {
    background: var(--mp-white);
    border-radius: var(--mp-radius-xl);
    border: 1px solid var(--mp-divider);
    padding: 28px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.mp-bg-checklist__heading {
    font-size: 10px;
    color: var(--mp-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: block;
}
.mp-bg-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--mp-divider);
}
.mp-bg-check:last-of-type { border-bottom: none; }
.mp-bg-check__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.mp-bg-check__icon--done {
    color: var(--mp-purple);
    background: linear-gradient(135deg, rgba(34,211,238,0.12), rgba(124,58,237,0.12));
    border: 1px solid rgba(124,58,237,0.3);
}
.mp-bg-check__icon--missing {
    color: #EF4444;
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.25);
}
.mp-bg-check__label {
    font-size: 14px;
    color: var(--mp-body);
    line-height: 1.4;
}
.mp-bg-check__label--missing { color: var(--mp-muted); }
.mp-bg-checklist__cta {
    display: inline-block;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--mp-purple);
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.mp-bg-checklist__cta:hover { opacity: 0.7; }

/* ── Local services grid ───────────────────────────────────────── */
.mp-bg-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.mp-bg-service {
    background: var(--mp-off-white);
    border-radius: var(--mp-radius-lg);
    border: 1px solid var(--mp-divider);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.mp-bg-service:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 20px 56px rgba(0,0,0,0.1), 0 0 0 1.5px rgba(124,58,237,0.22);
    border-color: rgba(124,58,237,0.3);
}
.mp-bg-service__top {
    border-top: 2px solid;
    border-image: var(--mp-grad) 1;
    padding-top: 20px;
    margin-bottom: 16px;
}
.mp-bg-service__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--mp-black);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}
.mp-bg-service__sub {
    font-size: 10px;
    color: var(--mp-muted);
    letter-spacing: 0.04em;
    margin-bottom: 14px;
    display: block;
}
.mp-bg-service__body {
    font-size: 14px;
    color: var(--mp-body);
    line-height: 1.7;
    margin: 0 0 24px;
    flex-grow: 1;
}
.mp-bg-service__link {
    font-size: 13px;
    font-weight: 700;
    color: var(--mp-purple);
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.mp-bg-service__link:hover { opacity: 0.7; }
@media (min-width: 880px) {
    .mp-bg-services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ── Pricing teaser (dark) ─────────────────────────────────────── */
.mp-bg-pricing-teaser {
    background: linear-gradient(145deg, var(--mp-dark-hero), var(--mp-dark-mid));
    padding: 64px 20px;
    position: relative;
    overflow: hidden;
}
.mp-bg-pricing-teaser__bg {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 20px);
    z-index: 0;
}
.mp-bg-pricing-teaser__inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}
.mp-bg-pricing-teaser__title {
    font-size: clamp(26px, 5vw, 38px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.1;
}
.mp-bg-pricing-teaser__desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--mp-dark-body);
    margin: 0 auto 32px;
    max-width: 52ch;
}
@media (min-width: 768px) {
    .mp-bg-pricing-teaser { padding: 88px 48px; }
}

/* ── Founder block ─────────────────────────────────────────────── */
.mp-bg-founder {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: flex-start;
}
.mp-bg-founder__photo {
    position: relative;
    width: 88px;
    height: 88px;
    flex-shrink: 0;
}
.mp-bg-founder__halo {
    position: absolute;
    inset: -2px;
    background: var(--mp-grad-135);
    border-radius: 50%;
}
.mp-bg-founder__placeholder {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #EEEEF2;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mp-mono);
    font-size: 10px;
    color: var(--mp-muted);
    text-align: center;
    padding: 8px;
}
.mp-bg-founder__quote {
    font-size: 19px;
    line-height: 1.75;
    color: var(--mp-black);
    font-weight: 500;
    margin: 0 0 20px;
    max-width: 56ch;
    text-wrap: pretty;
}
.mp-bg-founder__byline {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.mp-bg-founder__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--mp-black);
}
.mp-bg-founder__loc {
    font-size: 11px;
    color: var(--mp-muted);
    margin-top: 2px;
}
.mp-bg-founder__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-purple);
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.mp-bg-founder__link:hover { opacity: 0.7; }
@media (min-width: 720px) {
    .mp-bg-founder { grid-template-columns: 88px 1fr; gap: 40px; }
}

/* ── Local FAQ ─────────────────────────────────────────────────── */
.mp-bg-faq {
    background: var(--mp-off-white);
    padding: 56px 20px 80px;
}
.mp-bg-faq__inner {
    max-width: 720px;
    margin: 0 auto;
}
.mp-bg-faq__heading {
    font-size: clamp(26px, 4.5vw, 34px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    line-height: 1.15;
    margin: 0 0 36px;
}
.mp-bg-faq__list {
    border-top: 1px solid var(--mp-divider);
}
.mp-bg-faq__item {
    border-bottom: 1px solid var(--mp-divider);
    padding: 18px 0;
}
.mp-bg-faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--mp-black);
    letter-spacing: -0.02em;
    line-height: 1.4;
}
.mp-bg-faq__item summary::-webkit-details-marker { display: none; }
.mp-bg-faq__plus {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(124,58,237,0.1));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mp-divider);
    color: var(--mp-purple);
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s ease;
}
.mp-bg-faq__item[open] .mp-bg-faq__plus {
    transform: rotate(45deg);
}
.mp-bg-faq__item p {
    margin: 0;
    padding-top: 12px;
    font-size: 15px;
    color: var(--mp-body);
    line-height: 1.7;
    max-width: 62ch;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
    .mp-bg-faq__item p { transition: none; }
}
@media (min-width: 768px) {
    .mp-bg-faq { padding: 80px 48px 104px; }
    .mp-bg-faq__item summary { font-size: 17px; }
}

/* ════════════════════════════════════════════════════════════════
   SAAS-BUILD PAGE (full dark)
   ════════════════════════════════════════════════════════════════ */
.mp-sb-hero {
    background:
        radial-gradient(ellipse 90% 70% at 50% -10%, rgba(124,58,237,0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 60%, rgba(34,211,238,0.12) 0%, transparent 55%),
        var(--mp-dark-hero);
    padding: 80px 20px 88px;
    position: relative;
    overflow: hidden;
}
.mp-sb-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    z-index: 0;
}
.mp-sb-hero__inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.mp-sb-hero__title {
    font-size: clamp(32px, 9vw, 42px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: #fff;
    margin: 0 0 24px;
}
.mp-sb-hero__desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--mp-dark-body);
    max-width: 620px;
    margin: 0 0 36px;
}
.mp-sb-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.mp-sb-hero__sub-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--mp-dark-body);
    text-decoration: none;
    padding: 15px 8px;
    transition: color 0.15s ease;
}
.mp-sb-hero__sub-link:hover { color: #fff; }
@media (min-width: 880px) {
    .mp-sb-hero { padding: 128px 48px 136px; }
    .mp-sb-hero__title { font-size: clamp(44px, 4vw, 64px); }
    .mp-sb-hero__desc { font-size: 20px; }
}

/* ── "What this is" (dark mid) ─────────────────────────────────── */
.mp-sb-what {
    background: var(--mp-dark-mid);
    padding: 64px 20px 80px;
}
.mp-sb-what__inner {
    max-width: 720px;
    margin: 0 auto;
}
.mp-sb-what__title {
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    line-height: 1.1;
}
.mp-sb-what__copy {
    font-size: 17px;
    line-height: 1.8;
    color: var(--mp-dark-body);
    max-width: 62ch;
    margin: 0 0 18px;
}
@media (min-width: 880px) {
    .mp-sb-what { padding: 96px 48px 120px; }
    .mp-sb-what__copy { font-size: 18px; }
}

/* ── Qualification grid (dark mid → dark hero) ─────────────────── */
.mp-sb-qual {
    background: linear-gradient(180deg, var(--mp-dark-mid), var(--mp-dark-hero));
    padding: 64px 20px;
}
.mp-sb-qual__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.mp-sb-qual__title {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 28px;
    line-height: 1.1;
}
.mp-sb-qual__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.mp-sb-qual__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.mp-sb-qual__icon--yes {
    background: rgba(74,222,128,0.15);
    border: 1px solid rgba(74,222,128,0.3);
    color: #4ADE80;
}
.mp-sb-qual__icon--no {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.25);
    color: #EF4444;
}
.mp-sb-qual__item-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.mp-sb-qual__item p {
    font-size: 13px;
    color: var(--mp-dark-body);
    line-height: 1.65;
    margin: 0;
}
@media (min-width: 880px) {
    .mp-sb-qual { padding: 96px 48px; }
    .mp-sb-qual__inner { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ── How it works (dark hero) ──────────────────────────────────── */
.mp-sb-how {
    background: var(--mp-dark-hero);
    padding: 64px 20px;
    position: relative;
    overflow: hidden;
}
.mp-sb-how__bg {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 20px);
    z-index: 0;
}
.mp-sb-how__inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.mp-sb-how__title {
    font-size: clamp(26px, 5vw, 38px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 40px;
}
.mp-sb-how__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid rgba(255,255,255,0.08);
    margin-left: 12px;
}
.mp-sb-how__step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 0 0 36px 24px;
    position: relative;
}
.mp-sb-how__step:last-child { padding-bottom: 0; }
.mp-sb-how__num {
    position: absolute;
    left: -12px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--mp-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
}
.mp-sb-how__step h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.mp-sb-how__step p {
    font-size: 15px;
    color: var(--mp-dark-body);
    line-height: 1.7;
    max-width: 52ch;
    margin: 0;
}
@media (min-width: 880px) {
    .mp-sb-how { padding: 96px 48px; }
    .mp-sb-how__step h3 { font-size: 20px; }
}

/* ── Clarity table (dark mid) ──────────────────────────────────── */
.mp-sb-clarity {
    background: var(--mp-dark-mid);
    padding: 64px 20px;
}
.mp-sb-clarity__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.mp-sb-clarity__title {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 32px;
}
.mp-sb-table {
    border-radius: var(--mp-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}
.mp-sb-table__head {
    display: grid;
    grid-template-columns: 1.5fr 2fr 2fr;
    background: rgba(255,255,255,0.04);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 12px;
}
.mp-sb-table__head .mp-mono {
    font-size: 10px;
    color: var(--mp-dark-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mp-sb-table__row {
    display: grid;
    grid-template-columns: 1.5fr 2fr 2fr;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 12px;
}
.mp-sb-table__row:last-child { border-bottom: none; }
.mp-sb-table__row--alt { background: rgba(255,255,255,0.02); }
.mp-sb-table__what {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.mp-sb-table__you {
    font-size: 13px;
    color: var(--mp-cyan);
}
.mp-sb-table__mp {
    font-size: 13px;
    color: var(--mp-dark-body);
}
@media (min-width: 880px) {
    .mp-sb-clarity { padding: 96px 48px; }
    .mp-sb-table__head, .mp-sb-table__row { padding: 14px 20px; gap: 16px; }
    .mp-sb-table__what, .mp-sb-table__you, .mp-sb-table__mp { font-size: 14px; }
}

/* ── FAQ (dark hero) ───────────────────────────────────────────── */
.mp-sb-faq {
    background: var(--mp-dark-hero);
    padding: 64px 20px;
}
.mp-sb-faq__inner {
    max-width: 720px;
    margin: 0 auto;
}
.mp-sb-faq__heading {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 32px;
}
.mp-sb-faq__list {
    border-top: 1px solid rgba(255,255,255,0.08);
}
.mp-sb-faq__item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
}
.mp-sb-faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.4;
}
.mp-sb-faq__item summary::-webkit-details-marker { display: none; }
.mp-sb-faq__plus {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--mp-cyan);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s ease;
}
.mp-sb-faq__item[open] .mp-sb-faq__plus { transform: rotate(45deg); }
.mp-sb-faq__item p {
    margin: 0;
    padding-top: 12px;
    font-size: 15px;
    color: var(--mp-dark-body);
    line-height: 1.7;
    max-width: 62ch;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
    .mp-sb-faq__item p { transition: none; }
}
@media (min-width: 768px) {
    .mp-sb-faq { padding: 96px 48px; }
    .mp-sb-faq__item summary { font-size: 17px; }
}

/* ── SaaS-Build final CTA ──────────────────────────────────────── */
.mp-sb-final {
    background:
        radial-gradient(ellipse 90% 80% at 50% 0%, rgba(124,58,237,0.4) 0%, transparent 60%),
        var(--mp-dark-hero);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.mp-sb-final__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    z-index: 0;
}
.mp-sb-final__inner {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.mp-sb-final__title {
    font-size: clamp(32px, 7vw, 50px);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1.05;
    margin: 0 0 20px;
}
.mp-sb-final__desc {
    font-size: 17px;
    color: var(--mp-dark-body);
    line-height: 1.65;
    max-width: 420px;
    margin: 0 auto 36px;
}
.mp-sb-final__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.mp-sb-final__sub-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--mp-dark-body);
    text-decoration: none;
    padding: 15px 8px;
    transition: color 0.15s ease;
}
.mp-sb-final__sub-link:hover { color: #fff; }
@media (min-width: 880px) {
    .mp-sb-final { padding: 120px 48px; }
}

/* ════════════════════════════════════════════════════════════════
   PRODUCTS PAGE (waitlist, dark)
   ════════════════════════════════════════════════════════════════ */
.mp-pr-hero {
    background:
        radial-gradient(ellipse 90% 70% at 50% -5%, rgba(124,58,237,0.3) 0%, transparent 55%),
        var(--mp-dark-hero);
    padding: 80px 20px 88px;
    position: relative;
    overflow: hidden;
}
.mp-pr-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    z-index: 0;
}
.mp-pr-hero__inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}
.mp-pr-hero__title {
    font-size: clamp(34px, 8vw, 60px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #fff;
    margin: 0 0 24px;
}
.mp-pr-hero__desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--mp-dark-body);
    max-width: 560px;
    margin: 0 auto;
}
@media (min-width: 880px) {
    .mp-pr-hero { padding: 128px 48px 136px; }
    .mp-pr-hero__desc { font-size: 20px; }
}

.mp-pr-grid-section {
    background: var(--mp-dark-mid);
    padding: 64px 20px;
}
.mp-pr-grid-section__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.mp-pr-grid-section__title {
    font-size: clamp(26px, 5vw, 40px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 14px;
}
.mp-pr-grid-section__sub {
    font-size: 17px;
    color: var(--mp-dark-body);
    line-height: 1.65;
    max-width: 520px;
    margin: 0 0 44px;
}
.mp-pr-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.mp-pr-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--mp-radius-xl);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s cubic-bezier(0.16,1,0.3,1), box-shadow 0.2s;
}
.mp-pr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(34,211,238,0.2);
}
.mp-pr-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}
.mp-pr-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--mp-radius-md);
    background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(124,58,237,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-pr-card__tag {
    font-family: var(--mp-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 4px 10px;
}
.mp-pr-card__tag--dev {
    color: var(--mp-cyan);
    background: rgba(34,211,238,0.1);
    border: 1px solid rgba(34,211,238,0.3);
}
.mp-pr-card__tag--planned {
    color: #F59E0B;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.3);
}
.mp-pr-card__name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.mp-pr-card__desc {
    font-size: 14px;
    color: var(--mp-dark-body);
    line-height: 1.7;
    margin: 0 0 20px;
}
.mp-pr-card__bullets {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mp-pr-card__bullets li {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--mp-dark-muted);
}
.mp-pr-card__bullets li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--mp-cyan);
    flex-shrink: 0;
}
.mp-pr-card__link {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: var(--mp-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.15s ease;
}
.mp-pr-card__link:hover { opacity: 0.7; }
@media (min-width: 880px) {
    .mp-pr-grid-section { padding: 104px 48px; }
    .mp-pr-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .mp-pr-card { padding: 32px 28px; }
}

/* ── "Why we build our own" (dark hero) ────────────────────────── */
.mp-pr-why {
    background: var(--mp-dark-hero);
    padding: 64px 20px;
    position: relative;
    overflow: hidden;
}
.mp-pr-why__bg {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 20px);
    z-index: 0;
}
.mp-pr-why__inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.mp-pr-why__title {
    font-size: clamp(26px, 5vw, 38px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 24px;
}
.mp-pr-why__copy {
    font-size: 17px;
    line-height: 1.8;
    color: var(--mp-dark-body);
    max-width: 58ch;
    margin: 0 0 18px;
}
@media (min-width: 880px) {
    .mp-pr-why { padding: 104px 48px; }
    .mp-pr-why__copy { font-size: 18px; }
}

/* ── Waitlist section (dark mid) ───────────────────────────────── */
.mp-pr-waitlist {
    background: var(--mp-dark-mid);
    padding: 56px 20px;
    text-align: center;
}
.mp-pr-waitlist__inner {
    max-width: 480px;
    margin: 0 auto;
}
.mp-pr-waitlist__title {
    font-size: clamp(22px, 4.5vw, 30px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 16px;
}
.mp-pr-waitlist__desc {
    font-size: 15px;
    color: var(--mp-dark-body);
    line-height: 1.65;
    margin: 0 0 28px;
}
.mp-pr-waitlist__form {
    display: flex;
    gap: 8px;
    flex-direction: column;
}
.mp-pr-waitlist__input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--mp-radius-sm);
    font-size: 14px;
    color: #fff;
    font-family: var(--mp-font);
    outline: none;
    transition: border-color 0.15s ease;
}
.mp-pr-waitlist__input:focus { border-color: rgba(34,211,238,0.5); }
.mp-pr-waitlist__input::placeholder { color: rgba(255,255,255,0.4); }
.mp-pr-waitlist__thanks {
    background: rgba(74,222,128,0.1);
    border: 1px solid rgba(74,222,128,0.3);
    color: #4ADE80;
    border-radius: var(--mp-radius-sm);
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
}
.mp-pr-waitlist__or { margin-top: 24px; }
.mp-pr-waitlist__sub-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-dark-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}
.mp-pr-waitlist__sub-link:hover { color: #fff; }

@media (min-width: 600px) {
    .mp-pr-waitlist__form { flex-direction: row; }
}
@media (min-width: 880px) {
    .mp-pr-waitlist { padding: 88px 48px; }
}

/* ════════════════════════════════════════════════════════════════
   INSIGHTS — index + post template
   ════════════════════════════════════════════════════════════════ */

/* ── Tag pill (category) ───────────────────────────────────────── */
.mp-ins-tag {
    font-family: var(--mp-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 3px 9px;
    color: var(--mp-muted);
    background: rgba(107,114,128,0.08);
    border: 1px solid rgba(107,114,128,0.18);
}
.mp-ins-tag--seo { color: var(--mp-cyan); background: rgba(34,211,238,0.08); border-color: rgba(34,211,238,0.25); }
.mp-ins-tag--web-design { color: var(--mp-purple); background: rgba(124,58,237,0.08); border-color: rgba(124,58,237,0.25); }
.mp-ins-tag--business { color: #F59E0B; background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.25); }
.mp-ins-tag--pricing { color: #10B981; background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.25); }

/* ── Featured (hero + 2 secondary) ─────────────────────────────── */
.mp-ins-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.mp-ins-secondary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (min-width: 880px) {
    .mp-ins-featured { grid-template-columns: 2fr 1fr; gap: 20px; }
    .mp-ins-secondary { gap: 20px; }
}

/* ── Card (shared) ─────────────────────────────────────────────── */
.mp-ins-card {
    background: var(--mp-off-white);
    border-radius: var(--mp-radius-xl);
    border: 1px solid var(--mp-divider);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.mp-ins-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 20px 56px rgba(0,0,0,0.12), 0 0 0 1.5px rgba(124,58,237,0.22);
    border-color: rgba(124,58,237,0.3);
}
.mp-ins-card__img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
    background: #0E1525; /* matches the SVG covers while loading */
}
.mp-ins-card__img--small { height: 140px; }
.mp-ins-card--hero .mp-ins-card__img { height: 200px; }
@media (min-width: 880px) {
    .mp-ins-card--hero .mp-ins-card__img { height: 300px; }
}
.mp-ins-card__body {
    padding: 20px;
}
.mp-ins-card--hero .mp-ins-card__body { padding: 24px 24px 28px; }
@media (min-width: 880px) {
    .mp-ins-card--hero .mp-ins-card__body { padding: 32px 36px; }
}
.mp-ins-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.mp-ins-card__readtime { font-size: 9px; color: var(--mp-muted); }
.mp-ins-card__title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--mp-black);
    line-height: 1.25;
    margin: 0 0 10px;
}
.mp-ins-card__title--small { font-size: 16px; }
.mp-ins-card--hero .mp-ins-card__title { font-size: 22px; }
@media (min-width: 880px) {
    .mp-ins-card--hero .mp-ins-card__title { font-size: 26px; margin-bottom: 14px; }
}
.mp-ins-card__excerpt {
    font-size: 14px;
    color: var(--mp-body);
    line-height: 1.65;
    margin: 0 0 14px;
}
.mp-ins-card__excerpt--small { font-size: 13px; }
.mp-ins-card--hero .mp-ins-card__excerpt { font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.mp-ins-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mp-ins-card__date { font-size: 10px; color: var(--mp-muted); }
.mp-ins-card__read-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--mp-purple);
    transition: opacity 0.15s ease;
}
.mp-ins-card:hover .mp-ins-card__read-link { opacity: 0.7; }

/* ── All-posts section ─────────────────────────────────────────── */
.mp-ins-all {
    background: var(--mp-card-bg);
    padding: 56px 20px 80px;
}
.mp-ins-all__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 36px;
}
.mp-ins-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.mp-ins-cat {
    padding: 7px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--mp-muted);
    background: transparent;
    border: 1px solid var(--mp-divider);
    transition: all 0.15s ease;
}
.mp-ins-cat:hover {
    color: var(--mp-purple);
    border-color: var(--mp-purple);
}
.mp-ins-cat--active {
    background: var(--mp-grad);
    color: #fff !important;
    border-color: transparent;
}
.mp-ins-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 720px) {
    .mp-ins-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1100px) {
    .mp-ins-grid { grid-template-columns: repeat(3, 1fr); }
    .mp-ins-all { padding: 88px 48px 112px; }
}
.mp-ins-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--mp-muted);
}
.mp-ins-empty a {
    color: var(--mp-purple);
    text-decoration: none;
    font-weight: 600;
}

/* ════════════════════════════════════════════════════════════════
   POST DETAIL PAGE
   ════════════════════════════════════════════════════════════════ */
.mp-read-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--mp-grad);
    z-index: 9999;
    width: 0;
    transition: width 0.1s linear;
}

.mp-post-hero {
    background: var(--mp-off-white);
    padding: 56px 20px 40px;
}
.mp-post-hero__inner {
    max-width: 760px;
    margin: 0 auto;
}
.mp-post-hero__back {
    display: inline-block;
    font-family: var(--mp-mono);
    font-size: 11px;
    color: var(--mp-purple);
    text-decoration: none;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
    transition: opacity 0.15s ease;
}
.mp-post-hero__back:hover { opacity: 0.7; }
.mp-post-hero__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.mp-post-hero__readtime,
.mp-post-hero__date {
    font-size: 11px;
    color: var(--mp-muted);
}
.mp-post-hero__title {
    font-size: clamp(28px, 5.5vw, 42px);
    font-weight: 900;
    color: var(--mp-black);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0 0 20px;
    text-wrap: balance;
}
.mp-post-hero__excerpt {
    font-size: 17px;
    line-height: 1.7;
    color: var(--mp-body);
    margin: 0 0 32px;
    max-width: 60ch;
    text-wrap: pretty;
}
.mp-post-hero__author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0 0;
    border-top: 1px solid var(--mp-divider);
}
.mp-post-hero__avatar {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}
.mp-post-hero__avatar-halo {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--mp-grad-135);
}
.mp-post-hero__avatar-inner {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mp-grad);
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-post-hero__author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-black);
}
.mp-post-hero__author-loc {
    font-size: 11px;
    color: var(--mp-muted);
    margin-top: 2px;
}
@media (min-width: 768px) {
    .mp-post-hero { padding: 88px 48px 56px; }
}

/* ── Post body ─────────────────────────────────────────────────── */
.mp-post-body-section {
    background: var(--mp-white);
    padding: 40px 20px 64px;
}
.mp-post-body-section__inner {
    max-width: 760px;
    margin: 0 auto;
}
.mp-post-body p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--mp-body);
    margin: 0 0 24px;
}
.mp-post-body h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--mp-black);
    margin: 40px 0 16px;
    line-height: 1.2;
}
.mp-post-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--mp-black);
    margin: 28px 0 12px;
    letter-spacing: -0.02em;
}
.mp-post-body ol,
.mp-post-body ul {
    margin: 0 0 24px;
    padding-left: 24px;
}
.mp-post-body ol li,
.mp-post-body ul li {
    font-size: 16px;
    line-height: 1.75;
    color: var(--mp-body);
    margin-bottom: 8px;
}
.mp-post-body strong {
    font-weight: 700;
    color: var(--mp-black);
}
.mp-post-body a {
    color: var(--mp-purple);
    text-decoration: none;
    border-bottom: 1px solid rgba(124,58,237,0.3);
    transition: border-color 0.15s ease, color 0.15s ease;
}
.mp-post-body a:hover {
    color: var(--mp-cyan);
    border-color: var(--mp-cyan);
}
.mp-post-body blockquote {
    border-left: 3px solid;
    border-image: linear-gradient(180deg, var(--mp-cyan), var(--mp-purple)) 1;
    padding: 16px 24px;
    margin: 28px 0;
    background: rgba(124,58,237,0.04);
    border-radius: 0 10px 10px 0;
}
.mp-post-body blockquote p {
    font-size: 17px;
    font-style: italic;
    color: var(--mp-black);
    margin: 0;
    line-height: 1.7;
}
.mp-post-body code {
    font-family: var(--mp-mono);
    font-size: 13px;
    background: var(--mp-card-bg);
    border: 1px solid var(--mp-divider);
    border-radius: 4px;
    padding: 2px 6px;
    color: var(--mp-body);
}

/* ── Post body: data tables ────────────────────────────────────── */
.mp-post-table {
    margin: 8px 0 28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--mp-divider);
    border-radius: 12px;
}
.mp-post-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 460px;
}
.mp-post-table th {
    text-align: left;
    background: var(--mp-card-bg);
    color: var(--mp-black);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.01em;
    padding: 13px 16px;
    border-bottom: 2px solid var(--mp-divider);
}
.mp-post-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--mp-divider);
    color: var(--mp-body);
    line-height: 1.6;
    vertical-align: top;
}
.mp-post-table tbody tr:last-child td { border-bottom: none; }
.mp-post-table td:first-child { font-weight: 600; color: var(--mp-black); }

/* ── Post body: do / don't comparison (professional icon badges) ─ */
.mp-post-do-dont {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 10px;
}
.mp-post-do-dont li {
    position: relative;
    padding: 13px 16px 13px 50px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--mp-body);
    border: 1px solid var(--mp-divider);
    background: var(--mp-card-bg);
}
.mp-post-do-dont li::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 13px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px 13px;
}
.mp-post-do-dont li.is-do {
    border-color: rgba(34, 211, 238, 0.4);
    background: rgba(34, 211, 238, 0.07);
}
.mp-post-do-dont li.is-do::before {
    background-color: var(--mp-cyan);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23ffffff'%20stroke-width='3.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%206%209%2017l-5-5'/%3E%3C/svg%3E");
}
.mp-post-do-dont li.is-dont {
    border-color: rgba(107, 114, 128, 0.32);
}
.mp-post-do-dont li.is-dont::before {
    background-color: #9CA3AF;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23ffffff'%20stroke-width='3.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M18%206%206%2018M6%206l12%2012'/%3E%3C/svg%3E");
}

/* ── Post body: checklist ──────────────────────────────────────── */
.mp-post-checklist {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 10px;
}
.mp-post-checklist li {
    position: relative;
    padding: 2px 0 2px 36px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--mp-body);
}
.mp-post-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    border: 1.5px solid rgba(34, 211, 238, 0.55);
    background-color: rgba(34, 211, 238, 0.08);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2322D3EE'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%206%209%2017l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px 13px;
}

/* ── Post body: inline note / callout ──────────────────────────── */
.mp-post-body p.mp-post-note {
    position: relative;
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: 12px;
    padding: 16px 18px 16px 52px;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--mp-body);
    margin: 0 0 24px;
}
.mp-post-body p.mp-post-note::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 15px;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%237C3AED'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='10'/%3E%3Cpath%20d='M12%2016v-4M12%208h.01'/%3E%3C/svg%3E");
}

.mp-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 36px 0 0;
    padding-top: 28px;
    border-top: 1px solid var(--mp-divider);
}
.mp-post-tag {
    font-size: 11px;
    color: var(--mp-muted);
    background: var(--mp-card-bg);
    border: 1px solid var(--mp-divider);
    border-radius: 100px;
    padding: 4px 10px;
    letter-spacing: 0.04em;
}

.mp-post-author-card {
    margin-top: 40px;
    background: var(--mp-card-bg);
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-xl);
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.mp-post-author-card__avatar {
    position: relative;
    width: 56px;
    height: 56px;
}
.mp-post-author-card__halo {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--mp-grad-135);
}
.mp-post-author-card__inner {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mp-grad);
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-post-author-card__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--mp-black);
    margin-bottom: 8px;
}
.mp-post-author-card__bio {
    font-size: 14px;
    color: var(--mp-body);
    line-height: 1.65;
    margin: 0 0 14px;
}
.mp-post-author-card__link {
    font-size: 13px;
    font-weight: 700;
    color: var(--mp-purple);
    text-decoration: none;
}
.mp-post-author-card__link:hover { opacity: 0.7; }
@media (min-width: 600px) {
    .mp-post-author-card { grid-template-columns: 56px 1fr; gap: 24px; padding: 28px 32px; }
}
@media (min-width: 768px) {
    .mp-post-body-section { padding: 56px 48px 96px; }
}

/* ════════════════════════════════════════════════════════════════
   SERVICES OVERVIEW (5-card grid)
   ════════════════════════════════════════════════════════════════ */
.mp-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.mp-svc-card {
    background: var(--mp-white);
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-lg);
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.mp-svc-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 20px 56px rgba(0,0,0,0.12), 0 0 0 1.5px rgba(124,58,237,0.22);
    border-color: rgba(124,58,237,0.3);
}
.mp-svc-card--featured:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 24px 64px rgba(124,58,237,0.32), 0 0 32px rgba(34,211,238,0.18);
}
.mp-svc-card .mp-svc-card__icon {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mp-svc-card:hover .mp-svc-card__icon {
    transform: scale(1.08);
}
.mp-svc-card--featured {
    background: var(--mp-dark-hero);
    border: none;
    color: rgba(255,255,255,0.92);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.mp-svc-card--featured::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--mp-cyan) 30deg,
        var(--mp-purple) 70deg,
        transparent 130deg,
        transparent 180deg,
        var(--mp-cyan) 210deg,
        var(--mp-purple) 250deg,
        transparent 310deg,
        transparent 360deg
    );
    animation: mp-border-spin 6s linear infinite;
    z-index: 0;
    pointer-events: none;
}
.mp-svc-card--featured::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: var(--mp-dark-hero);
    border-radius: calc(var(--mp-radius-lg) - 1.5px);
    z-index: 0;
    pointer-events: none;
}
.mp-svc-card--featured > * {
    position: relative;
    z-index: 1;
}
.mp-svc-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--mp-radius-md);
    background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(124,58,237,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.mp-svc-card--featured .mp-svc-card__icon {
    background: rgba(255,255,255,0.06);
}
.mp-svc-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.mp-svc-card__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--mp-black);
    letter-spacing: -0.025em;
    margin: 0;
}
.mp-svc-card--featured .mp-svc-card__title { color: #fff; }
.mp-svc-card__tag {
    font-family: var(--mp-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mp-purple);
    background: rgba(124,58,237,0.08);
    border: 1px solid rgba(124,58,237,0.25);
    border-radius: 100px;
    padding: 3px 10px;
}
.mp-svc-card__tag--featured {
    background: var(--mp-grad);
    color: #fff;
    border: none;
}
.mp-svc-card__sub {
    font-family: var(--mp-mono);
    font-size: 11px;
    color: var(--mp-muted);
    letter-spacing: 0.04em;
    margin: 0 0 16px;
}
.mp-svc-card--featured .mp-svc-card__sub { color: var(--mp-dark-muted); }
.mp-svc-card__body {
    font-size: 14px;
    line-height: 1.65;
    color: var(--mp-body);
    margin: 0 0 18px;
    flex-grow: 0;
}
.mp-svc-card--featured .mp-svc-card__body { color: var(--mp-dark-body); }
.mp-svc-card__list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}
.mp-svc-card__list li {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--mp-body);
}
.mp-svc-card--featured .mp-svc-card__list li { color: var(--mp-dark-muted); }
.mp-svc-card__list li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--mp-purple);
    flex-shrink: 0;
}
.mp-svc-card--featured .mp-svc-card__list li::before { background: var(--mp-cyan); }
.mp-svc-card__link {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--mp-purple);
    transition: opacity 0.15s ease;
}
.mp-svc-card--featured .mp-svc-card__link {
    background: var(--mp-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mp-svc-card:hover .mp-svc-card__link { opacity: 0.7; }
@media (min-width: 720px) {
    .mp-services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1100px) {
    .mp-services-grid { grid-template-columns: repeat(3, 1fr); }
    .mp-svc-card--featured { grid-column: span 1; }
}

/* ════════════════════════════════════════════════════════════════
   IDENTITY / AUTH (Login, Register, Logout) — new design
   ════════════════════════════════════════════════════════════════ */
.mp-auth {
    background: linear-gradient(145deg, var(--mp-dark-hero), var(--mp-dark-mid));
    padding: 56px 20px 80px;
    min-height: calc(100vh - 64px);
    position: relative;
    overflow: hidden;
}
.mp-auth__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    z-index: 0;
}
.mp-auth__glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.mp-auth__glow--cyan {
    top: -200px;
    left: -150px;
    background: radial-gradient(circle, rgba(34,211,238,0.18) 0%, transparent 60%);
}
.mp-auth__glow--purple {
    bottom: -180px;
    right: -180px;
    background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 60%);
}

.mp-auth__inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.mp-auth__inner--centered {
    max-width: 520px;
}
@media (min-width: 960px) {
    .mp-auth { padding: 96px 48px 120px; }
    /* Two-column (brand + card) layout applies only to the full auth pages.
       Centered single-card pages keep the base one-column grid so the card
       fills the container instead of being squeezed into half its width. */
    .mp-auth__inner:not(.mp-auth__inner--centered) { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ── Brand panel (left) ────────────────────────────────────────── */
.mp-auth__brand {
    color: var(--mp-dark-body);
    padding: 0 4px;
}
.mp-auth__brand-title {
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 20px;
}
.mp-auth__brand-sub {
    font-size: 16px;
    line-height: 1.7;
    color: var(--mp-dark-body);
    margin: 0 0 28px;
    max-width: 50ch;
}
.mp-auth__brand-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mp-auth__brand-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
}
.mp-auth__brand-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'><path d='M1 4l2.5 2.5L9 1' stroke='%2322D3EE' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 10px 8px no-repeat,
        linear-gradient(135deg, rgba(34,211,238,0.18), rgba(124,58,237,0.18));
    border: 1px solid rgba(124,58,237,0.45);
}
.mp-auth__brand-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-cyan);
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.mp-auth__brand-link:hover { opacity: 0.7; }

/* ── Card (right) — glass on dark ──────────────────────────────── */
.mp-auth__card {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    border-radius: var(--mp-radius-xl);
    padding: 32px 24px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}
.mp-auth__card--wide { max-width: 640px; }
.mp-auth__card--narrow { max-width: 460px; }
.mp-auth__card-header { margin-bottom: 24px; }
.mp-auth__card-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 10px;
}
.mp-auth__card-sub {
    font-size: 15px;
    line-height: 1.6;
    color: var(--mp-dark-body);
    margin: 0;
}

.mp-auth__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.mp-auth__validation {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.35);
    border-radius: var(--mp-radius-sm);
    padding: 12px 14px;
    color: #FCA5A5;
    font-size: 13px;
}
.mp-auth__validation:empty,
.mp-auth__validation ul:empty { display: none; }
.mp-auth__validation ul { margin: 0; padding-left: 18px; }

.mp-auth__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 600px) {
    .mp-auth__row { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.mp-auth__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mp-auth__label {
    font-family: var(--mp-mono);
    font-size: 10px;
    color: var(--mp-dark-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mp-auth__input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: var(--mp-radius-sm);
    font-size: 15px;
    color: #fff;
    font-family: var(--mp-font);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    outline: none;
}
.mp-auth__input:hover {
    border-color: rgba(255,255,255,0.18);
}
.mp-auth__input:focus {
    border-color: var(--mp-purple);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 4px rgba(124,58,237,0.18);
}
.mp-auth__input::placeholder { color: rgba(255,255,255,0.35); }
.mp-auth__input--mono {
    font-family: var(--mp-mono);
    font-size: 13px;
    letter-spacing: 0.04em;
}
.mp-auth__error {
    display: block;
    color: #FCA5A5;
    font-size: 12px;
    min-height: 0;
}
.mp-auth__error:empty { display: none; }

.mp-auth__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
}
.mp-auth__divider::before,
.mp-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}
.mp-auth__divider span {
    font-family: var(--mp-mono);
    font-size: 10px;
    color: var(--mp-dark-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mp-auth__remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--mp-dark-body);
    cursor: pointer;
    user-select: none;
}
.mp-auth__remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--mp-purple);
    cursor: pointer;
}

.mp-auth__strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}
.mp-auth__strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    overflow: hidden;
}
.mp-auth__strength-fill {
    height: 100%;
    width: 0;
    background: transparent;
    border-radius: 100px;
    transition: width 0.2s ease, background 0.2s ease;
}
.mp-auth__strength-text {
    font-size: 10px;
    letter-spacing: 0.1em;
    min-width: 60px;
    text-align: right;
}

.mp-auth__submit {
    width: 100%;
    margin-top: 8px;
}

.mp-auth__footer {
    margin: 16px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--mp-dark-muted);
}
.mp-auth__footer-link {
    color: var(--mp-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.15s ease;
}
.mp-auth__footer-link:hover { opacity: 0.7; }

.mp-auth__row--between {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
}
.mp-auth__inline-link {
    color: var(--mp-cyan);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.mp-auth__inline-link:hover { opacity: 0.7; }
.mp-auth__inline-link--button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
}
.mp-auth__resend {
    margin: 0;
    text-align: center;
    margin-top: 12px;
}
.mp-auth__hint {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--mp-dark-body);
    line-height: 1.55;
}
.mp-auth__notice {
    background: rgba(124,58,237,0.10);
    border: 1px solid rgba(124,58,237,0.30);
    color: #fff;
    padding: 14px 16px;
    border-radius: var(--mp-radius-sm);
    font-size: 14px;
    line-height: 1.55;
}
.mp-auth__notice--success {
    background: rgba(16,185,129,0.10);
    border-color: rgba(16,185,129,0.30);
}
.mp-auth__notice--danger {
    background: rgba(220,38,38,0.10);
    border-color: rgba(220,38,38,0.40);
}
.mp-auth__icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mp-grad);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .mp-auth__card { padding: 40px 36px; }
}

/* ════════════════════════════════════════════════════════════════
   APP DASHBOARD (/app/*)
   ════════════════════════════════════════════════════════════════ */

/* ── App layout chrome ─────────────────────────────────────────── */
.mp-applayout-body {
    background: var(--mp-card-bg);
    color: var(--mp-body);
    margin: 0;
    min-height: 100vh;
    font-family: var(--mp-font);
    -webkit-font-smoothing: antialiased;
}
.mp-applayout__nav {
    background: var(--mp-white);
    border-bottom: 1px solid var(--mp-divider);
    position: sticky;
    top: 0;
    z-index: 50;
}
.mp-applayout__stripe {
    height: 3px;
    background: var(--mp-grad);
}
.mp-applayout__nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.mp-applayout__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.mp-applayout__wordmark {
    font-weight: 900;
    font-size: 13px;
    letter-spacing: -0.04em;
    color: var(--mp-black);
    text-transform: uppercase;
}
.mp-applayout__brand-tag {
    font-size: 9px;
    color: var(--mp-muted);
    letter-spacing: 0.08em;
}

.mp-applayout__links {
    display: none;
    gap: 24px;
    flex: 1;
    margin-left: 32px;
}
.mp-applayout__nav-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-muted);
    text-decoration: none;
    padding: 4px 0 6px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.mp-applayout__nav-item:hover { color: var(--mp-black); }
.mp-applayout__nav-item--active {
    color: var(--mp-black);
    border-bottom-color: transparent;
    border-image: var(--mp-grad) 1;
    border-bottom: 2px solid;
}

.mp-applayout__right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mp-applayout__user {
    display: none;
    align-items: center;
    gap: 10px;
}
.mp-applayout__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--mp-grad);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-applayout__user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-body);
    line-height: 1.2;
}
.mp-applayout__user-meta {
    font-size: 9px;
    color: var(--mp-muted);
    letter-spacing: 0.06em;
}
.mp-applayout__signout-form { margin: 0; display: inline-flex; }
.mp-applayout__signout {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--mp-muted);
    transition: color 0.15s ease;
    padding: 4px 0;
}
.mp-applayout__signout:hover { color: var(--mp-black); }

.mp-applayout__mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mp-applayout__mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--mp-black);
    border-radius: 2px;
}
.mp-applayout__mobile {
    background: var(--mp-white);
    border-top: 1px solid var(--mp-divider);
    padding: 12px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mp-applayout__mobile .mp-applayout__nav-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--mp-divider);
    border-image: none;
}
.mp-applayout__mobile .mp-applayout__nav-item--active { color: var(--mp-purple); }

@media (min-width: 880px) {
    .mp-applayout__nav-inner { padding: 0 32px; }
    .mp-applayout__links { display: flex; }
    .mp-applayout__user { display: flex; }
    .mp-applayout__mobile-toggle { display: none; }
    .mp-applayout__mobile { display: none !important; }
}

/* ── Footer ─────────────────────────────────────────────────────── */
.mp-applayout__main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}
.mp-applayout__footer {
    background: var(--mp-white);
    border-top: 1px solid var(--mp-divider);
    padding: 20px 16px;
    margin-top: 40px;
}
.mp-applayout__footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: var(--mp-muted);
}
.mp-applayout__footer a { color: var(--mp-muted); text-decoration: none; }
.mp-applayout__footer a:hover { color: var(--mp-purple); }
.mp-applayout__footer-customer { color: var(--mp-body); }

@media (min-width: 880px) {
    .mp-applayout__main { padding: 48px 32px 80px; }
}

/* ── Page header / sub-tabs ────────────────────────────────────── */
.mp-app-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mp-app-page__header { margin-bottom: 4px; }
.mp-app-page__eyebrow {
    font-family: var(--mp-mono);
    font-size: 11px;
    color: var(--mp-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.mp-app-page__greeting {
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 800;
    color: var(--mp-black);
    letter-spacing: -0.03em;
    margin: 0 0 4px;
}
.mp-app-page__sub {
    font-size: 14px;
    color: var(--mp-muted);
    margin: 0;
}
.mp-app-page__back {
    display: inline-block;
    font-family: var(--mp-mono);
    font-size: 11px;
    color: var(--mp-purple);
    text-decoration: none;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}
.mp-app-page__back:hover { opacity: 0.7; }
.mp-app-page__header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
.mp-app-project-title {
    font-size: clamp(22px, 4.5vw, 30px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    margin: 0;
}
.mp-app-project-progress {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 160px;
}
.mp-app-project-progress span { font-size: 11px; color: var(--mp-purple); }

.mp-app-subtabs {
    display: flex;
    gap: 4px;
    margin-top: 24px;
    border-bottom: 1px solid var(--mp-divider);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.mp-app-subtabs__item {
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.mp-app-subtabs__item:hover { color: var(--mp-black); }
.mp-app-subtabs__item--active {
    color: var(--mp-purple);
    border-image: var(--mp-grad) 1;
    border-bottom: 2px solid;
}

/* ── Card chrome ───────────────────────────────────────────────── */
.mp-app-card {
    background: var(--mp-white);
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-xl);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.mp-app-card--linkable { text-decoration: none; color: inherit; display: block; }
.mp-app-card--linkable:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.mp-app-card--dashed {
    border-style: dashed;
    background: transparent;
    box-shadow: none;
}
.mp-app-card__stripe { height: 3px; background: var(--mp-grad); }
.mp-app-card__body { padding: 22px 20px; }
.mp-app-card__eyebrow {
    font-size: 9px;
    color: var(--mp-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}
.mp-app-card__title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    margin: 0 0 8px;
    line-height: 1.2;
}
.mp-app-card__title--med { font-size: 18px; }
.mp-app-card__title--sm { font-size: 15px; font-weight: 700; }
.mp-app-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.mp-app-card__copy {
    font-size: 14px;
    line-height: 1.65;
    color: var(--mp-body);
    margin: 0 0 14px;
}
.mp-app-card__copy--lead { font-size: 15px; }
.mp-app-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    background: var(--mp-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.mp-app-card__cta--sm { font-size: 13px; }
.mp-app-card__cta:hover { opacity: 0.7; }
.mp-app-card__plan { font-size: 10px; color: var(--mp-muted); }
.mp-app-card__meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.mp-app-card__last-update { text-align: right; min-width: 140px; }
.mp-app-card__last-update-label {
    font-size: 9px;
    color: var(--mp-muted);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.mp-app-card__last-update-time {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-body);
}
.mp-app-card__progress-mini {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 120px;
}
.mp-app-card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
@media (min-width: 720px) {
    .mp-app-card__body { padding: 28px 28px; }
}

/* ── Status pill ───────────────────────────────────────────────── */
.mp-app-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.mp-app-status__dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.mp-app-status--in-progress { background: rgba(34,211,238,0.1);   border: 1px solid rgba(34,211,238,0.25);   color: var(--mp-cyan); }
.mp-app-status--in-progress .mp-app-status__dot { background: var(--mp-cyan); }
.mp-app-status--planning    { background: rgba(245,158,11,0.1);   border: 1px solid rgba(245,158,11,0.25);   color: #F59E0B; }
.mp-app-status--planning .mp-app-status__dot { background: #F59E0B; }
.mp-app-status--active      { background: rgba(16,185,129,0.1);   border: 1px solid rgba(16,185,129,0.25);   color: #10B981; }
.mp-app-status--active .mp-app-status__dot { background: #10B981; }
.mp-app-status--live        { background: rgba(74,222,128,0.1);   border: 1px solid rgba(74,222,128,0.25);   color: #22C55E; }
.mp-app-status--live .mp-app-status__dot { background: #22C55E; }
.mp-app-status--on-hold     { background: rgba(156,163,175,0.1);  border: 1px solid rgba(156,163,175,0.25);  color: #6B7280; }
.mp-app-status--on-hold .mp-app-status__dot { background: #6B7280; }

/* ── Grid layout ───────────────────────────────────────────────── */
.mp-app-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}
.mp-app-grid__main, .mp-app-grid__side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (min-width: 880px) {
    .mp-app-grid { grid-template-columns: 5fr 3fr; gap: 24px; }
}

/* ── Progress bar ──────────────────────────────────────────────── */
.mp-app-progress { margin: 12px 0 20px; }
.mp-app-progress__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--mp-body);
}
.mp-app-progress__top span:last-child { color: var(--mp-purple); font-size: 11px; }
.mp-app-progress__bar {
    background: var(--mp-card-bg);
    border-radius: 100px;
    height: 6px;
    overflow: hidden;
}
.mp-app-progress__bar--mini { width: 100px; height: 4px; }
.mp-app-progress__fill {
    height: 100%;
    background: var(--mp-grad);
    border-radius: 100px;
    transition: width 0.6s ease;
}
.mp-app-progress--lg .mp-app-progress__bar { height: 8px; }

/* ── Milestones ────────────────────────────────────────────────── */
.mp-app-milestones { margin: 20px 0 24px; }
.mp-app-milestones__heading {
    font-size: 9px;
    color: var(--mp-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.mp-app-milestone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}
.mp-app-milestone__icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-card-bg);
    border: 1.5px solid var(--mp-divider);
}
.mp-app-milestone__icon--done { background: var(--mp-grad); border: none; }
.mp-app-milestone__icon--next { border-color: var(--mp-purple); background: rgba(124,58,237,0.08); }
.mp-app-milestone__label {
    font-size: 14px;
    color: var(--mp-muted);
    line-height: 1.5;
}
.mp-app-milestone__label--done {
    color: var(--mp-muted);
    text-decoration: line-through;
}
.mp-app-milestone__label--next {
    color: var(--mp-black);
    font-weight: 600;
}
.mp-app-milestone__next-tag {
    margin-left: 8px;
    font-size: 10px;
    color: var(--mp-purple);
    letter-spacing: 0.04em;
}

/* ── Stats sidebar ─────────────────────────────────────────────── */
.mp-app-stats { display: flex; flex-direction: column; gap: 16px; }
.mp-app-stat { padding-bottom: 16px; border-bottom: 1px solid var(--mp-divider); }
.mp-app-stat:last-child { border-bottom: none; padding-bottom: 0; }
.mp-app-stat__label {
    font-size: 9px;
    color: var(--mp-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.mp-app-stat__value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    line-height: 1;
    margin-bottom: 4px;
}
.mp-app-stat__sub { font-size: 12px; color: var(--mp-muted); }

/* ── Activity sidebar ──────────────────────────────────────────── */
.mp-app-activity { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mp-app-activity li { display: flex; gap: 10px; align-items: flex-start; }
.mp-app-activity__dot {
    width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0;
    background: var(--mp-cyan);
}
.mp-app-activity__dot--deliverable { background: var(--mp-cyan); }
.mp-app-activity__dot--message     { background: var(--mp-purple); }
.mp-app-activity__dot--fix         { background: #4ADE80; }
.mp-app-activity__dot--milestone   { background: #F59E0B; }
.mp-app-activity__label { font-size: 13px; color: var(--mp-body); line-height: 1.4; }
.mp-app-activity__when  { font-size: 10px; color: var(--mp-muted); margin-top: 2px; }

/* ── Founder message card ──────────────────────────────────────── */
.mp-app-message {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
}
.mp-app-message__avatar {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}
.mp-app-message__halo {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--mp-grad-135);
}
.mp-app-message__inner {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mp-grad);
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-app-message__copy { flex: 1; width: 100%; }
.mp-app-message__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--mp-black);
    margin: 0 0 6px;
}
.mp-app-message__sub {
    font-size: 13px;
    color: var(--mp-muted);
    margin: 0 0 14px;
}
.mp-app-message__form { display: flex; flex-direction: column; gap: 10px; }
.mp-app-message__form textarea,
.mp-app-thread__compose textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--mp-card-bg);
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-md);
    font-size: 14px;
    color: var(--mp-body);
    line-height: 1.6;
    resize: vertical;
    min-height: 88px;
    font-family: var(--mp-font);
    outline: none;
    transition: border-color 0.15s ease;
}
.mp-app-message__form textarea:focus,
.mp-app-thread__compose textarea:focus { border-color: var(--mp-purple); background: var(--mp-white); }
.mp-app-message__thanks,
.mp-app-thread__sent {
    color: #10B981;
    font-size: 13px;
    font-weight: 600;
}
@media (min-width: 600px) {
    .mp-app-message { flex-direction: row; }
}

/* ── Projects list page ────────────────────────────────────────── */
.mp-app-projects { display: flex; flex-direction: column; gap: 16px; }
.mp-app-empty {
    background: var(--mp-white);
    border: 1px dashed var(--mp-divider);
    border-radius: var(--mp-radius-lg);
    padding: 40px 20px;
    text-align: center;
    color: var(--mp-muted);
}
.mp-app-empty a { color: var(--mp-purple); font-weight: 600; text-decoration: none; }

/* ── Callout ───────────────────────────────────────────────────── */
.mp-app-callout {
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(124,58,237,0.06);
    border: 1px solid rgba(124,58,237,0.25);
    border-radius: var(--mp-radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.mp-app-callout__label {
    font-size: 9px;
    color: var(--mp-purple);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mp-app-callout__value {
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-black);
}

/* ── Files / deliverables ──────────────────────────────────────── */
.mp-app-files {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.mp-app-file {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--mp-divider);
}
.mp-app-file:first-child { border-top: none; padding-top: 0; }
.mp-app-file__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--mp-radius-sm);
    background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(124,58,237,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mp-app-file__main { flex: 1; min-width: 0; }
.mp-app-file__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-black);
}
.mp-app-file__meta {
    font-size: 11px;
    color: var(--mp-muted);
    margin-top: 2px;
}
.mp-app-file__download {
    font-size: 12px;
    font-weight: 700;
    color: var(--mp-purple);
    text-decoration: none;
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: var(--mp-radius-sm);
    transition: background 0.15s ease;
}
.mp-app-file__download:hover { background: rgba(124,58,237,0.06); }

/* ── Project + support thread ─────────────────────────────────── */
.mp-app-thread {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mp-app-thread__item {
    background: var(--mp-card-bg);
    border-radius: var(--mp-radius-md);
    padding: 14px 16px;
    border-left: 3px solid var(--mp-purple);
}
.mp-app-thread__item--customer {
    background: rgba(34,211,238,0.06);
    border-left-color: var(--mp-cyan);
}
.mp-app-thread__author {
    font-size: 12px;
    font-weight: 700;
    color: var(--mp-purple);
    margin-bottom: 6px;
}
.mp-app-thread__author--customer { color: var(--mp-cyan); }
.mp-app-thread__body {
    font-size: 14px;
    color: var(--mp-body);
    line-height: 1.6;
    margin: 0;
}
.mp-app-thread__compose {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}
.mp-app-thread__compose-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ── Timeline ──────────────────────────────────────────────────── */
.mp-app-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--mp-divider);
    margin-left: 8px;
}
.mp-app-timeline__item {
    display: flex;
    gap: 18px;
    padding: 0 0 24px 22px;
    position: relative;
}
.mp-app-timeline__item:last-child { padding-bottom: 0; }
.mp-app-timeline__dot {
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--mp-cyan);
}
.mp-app-timeline__dot--deliverable { background: var(--mp-cyan); }
.mp-app-timeline__dot--message     { background: var(--mp-purple); }
.mp-app-timeline__dot--fix         { background: #4ADE80; }
.mp-app-timeline__dot--milestone   { background: #F59E0B; }
.mp-app-timeline__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-black);
}
.mp-app-timeline__when {
    font-size: 11px;
    color: var(--mp-muted);
    margin-top: 4px;
}

/* ── Plan / billing ────────────────────────────────────────────── */
.mp-app-feature-list {
    list-style: none;
    margin: 14px 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mp-app-feature-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--mp-body);
}
.mp-app-feature-list li::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'><path d='M1 4l2.5 2.5L9 1' stroke='%237C3AED' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 10px 8px no-repeat,
        linear-gradient(135deg, rgba(34,211,238,0.12), rgba(124,58,237,0.12));
    border: 1px solid rgba(124,58,237,0.25);
}

.mp-app-invoices { list-style: none; margin: 0; padding: 0; }
.mp-app-invoice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--mp-divider);
    flex-wrap: wrap;
}
.mp-app-invoice:first-child { border-top: none; padding-top: 0; }
.mp-app-invoice__num { font-size: 14px; font-weight: 700; color: var(--mp-black); }
.mp-app-invoice__meta { font-size: 11px; color: var(--mp-muted); margin-top: 2px; }
.mp-app-invoice__right { display: flex; align-items: center; gap: 12px; }
.mp-app-invoice__amount { font-size: 14px; font-weight: 700; color: var(--mp-black); }
.mp-app-invoice__status {
    font-family: var(--mp-mono);
    font-size: 9px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 100px;
}
.mp-app-invoice__status--paid {
    color: #059669;
    background: rgba(5,150,105,0.1);
    border: 1px solid rgba(5,150,105,0.25);
}
.mp-app-invoice__status--pending {
    color: #F59E0B;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.25);
}

/* ── Table ─────────────────────────────────────────────────────── */
.mp-app-table {
    width: 100%;
    border-collapse: collapse;
}
.mp-app-table th {
    font-family: var(--mp-mono);
    font-size: 9px;
    color: var(--mp-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid var(--mp-divider);
}
.mp-app-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--mp-divider);
    font-size: 13px;
    color: var(--mp-body);
}
.mp-app-table tr:last-child td { border-bottom: none; }
.mp-app-table__num { text-align: right; font-weight: 700; color: var(--mp-black); }
.mp-app-table__link { color: var(--mp-purple); font-weight: 700; text-decoration: none; }
.mp-app-table__link:hover { opacity: 0.7; }

/* ── Payment methods ───────────────────────────────────────────── */
.mp-app-methods { display: flex; flex-direction: column; gap: 16px; }
.mp-app-method__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
.mp-app-method { display: flex; flex-direction: column; gap: 4px; }
.mp-app-method__brand {
    font-size: 16px;
    font-weight: 800;
    color: var(--mp-black);
}
.mp-app-method__num { font-size: 14px; color: var(--mp-body); letter-spacing: 0.1em; }
.mp-app-method__exp { font-size: 11px; color: var(--mp-muted); }
.mp-app-method__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mp-app-method__badge {
    padding: 4px 10px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.25);
    border-radius: 100px;
    font-family: var(--mp-mono);
    font-size: 9px;
    color: var(--mp-purple);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mp-app-method__remove {
    background: none;
    border: none;
    color: #DC2626;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    transition: opacity 0.15s ease;
}
.mp-app-method__remove:hover { opacity: 0.7; }
.mp-app-add-method {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Tickets / support ─────────────────────────────────────────── */
.mp-app-tickets { list-style: none; margin: 0; padding: 0; }
.mp-app-ticket {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--mp-divider);
    text-decoration: none;
    color: inherit;
    flex-wrap: wrap;
}
.mp-app-ticket:hover .mp-app-ticket__subject { color: var(--mp-purple); }
.mp-app-tickets li:first-child .mp-app-ticket { border-top: none; padding-top: 4px; }
.mp-app-ticket__subject {
    font-size: 15px;
    font-weight: 700;
    color: var(--mp-black);
    transition: color 0.15s ease;
}
.mp-app-ticket__meta { font-size: 11px; color: var(--mp-muted); margin-top: 2px; }
.mp-app-ticket__status {
    font-family: var(--mp-mono);
    font-size: 9px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 100px;
}
.mp-app-ticket__status--open {
    color: var(--mp-cyan);
    background: rgba(34,211,238,0.1);
    border: 1px solid rgba(34,211,238,0.25);
}
.mp-app-ticket__status--resolved {
    color: #059669;
    background: rgba(5,150,105,0.08);
    border: 1px solid rgba(5,150,105,0.2);
}

/* ── Account profile ───────────────────────────────────────────── */
.mp-app-profile-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}
.mp-app-profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--mp-grad);
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mp-app-form { display: flex; flex-direction: column; gap: 16px; }
.mp-app-form__actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }

/* ── Notifications + toggles ───────────────────────────────────── */
.mp-app-noti { list-style: none; margin: 0; padding: 0; }
.mp-app-noti li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--mp-divider);
}
.mp-app-noti li:first-child { border-top: none; padding-top: 0; }
.mp-app-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
    cursor: pointer;
}
.mp-app-toggle input { opacity: 0; width: 0; height: 0; }
.mp-app-toggle__track {
    position: absolute;
    inset: 0;
    background: var(--mp-divider);
    border-radius: 100px;
    transition: background 0.15s ease;
}
.mp-app-toggle__track::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.15s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.mp-app-toggle input:checked + .mp-app-toggle__track {
    background: var(--mp-grad);
}
.mp-app-toggle input:checked + .mp-app-toggle__track::before { transform: translateX(18px); }

/* ── Team ──────────────────────────────────────────────────────── */
.mp-app-team { list-style: none; margin: 0; padding: 0; }
.mp-app-team li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--mp-divider);
}
.mp-app-team li:first-child { border-top: none; padding-top: 0; }
.mp-app-team__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--mp-grad);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mp-app-team__main { flex: 1; }
.mp-app-team__role {
    font-family: var(--mp-mono);
    font-size: 9px;
    color: var(--mp-purple);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(124,58,237,0.08);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 100px;
    padding: 3px 9px;
}

/* ── Sessions ──────────────────────────────────────────────────── */
.mp-app-sessions { list-style: none; margin: 0; padding: 0; }
.mp-app-sessions li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--mp-divider);
}
.mp-app-sessions li:first-child { border-top: none; padding-top: 0; }

/* ── Help ──────────────────────────────────────────────────────── */
.mp-app-help-search {
    display: flex;
    gap: 10px;
    align-items: center;
}
.mp-app-help-search .mp-auth__input { flex: 1; }
.mp-app-help-list { list-style: none; margin: 0; padding: 0; }
.mp-app-help-list li {
    border-top: 1px solid var(--mp-divider);
}
.mp-app-help-list li:first-child { border-top: none; }
.mp-app-help-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    text-decoration: none;
    color: var(--mp-body);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.15s ease;
}
.mp-app-help-link:hover { color: var(--mp-purple); }
.mp-app-help-link__time {
    font-size: 10px;
    color: var(--mp-muted);
}

/* ================================================================
   PERSONAL CABINET — /account/* authenticated area
   ================================================================ */

/* ── Body ────────────────────────────────────────────────────────── */
.mp-cabinet-body {
    background: var(--mp-card-bg);
    color: var(--mp-body);
    margin: 0;
    min-height: 100vh;
    font-family: var(--mp-font);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
}

/* ── Top bar ─────────────────────────────────────────────────────── */
.mp-cabinet__topbar {
    background: var(--mp-white);
    border-bottom: 1px solid var(--mp-divider);
    position: sticky;
    top: 0;
    z-index: 50;
}
.mp-cabinet__stripe {
    height: 3px;
    background: var(--mp-grad);
}
.mp-cabinet__topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.mp-cabinet__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.mp-cabinet__wordmark {
    font-weight: 900;
    font-size: 13px;
    letter-spacing: -0.04em;
    color: var(--mp-black);
    text-transform: uppercase;
}
.mp-cabinet__brand-tag {
    font-size: 9px;
    color: var(--mp-muted);
    letter-spacing: 0.08em;
}
.mp-cabinet__topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mp-cabinet__user {
    display: none;
    align-items: center;
    gap: 10px;
}
.mp-cabinet__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--mp-grad);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-cabinet__user-text { line-height: 1.2; }
.mp-cabinet__user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-body);
}
.mp-cabinet__user-meta {
    font-size: 9px;
    color: var(--mp-muted);
    letter-spacing: 0.06em;
}
.mp-cabinet__signout-form { margin: 0; display: none; }
.mp-cabinet__signout {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--mp-muted);
    transition: color 0.15s ease;
    padding: 4px 0;
}
.mp-cabinet__signout:hover { color: var(--mp-black); }
.mp-cabinet__mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mp-cabinet__mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--mp-black);
    border-radius: 2px;
}

@media (min-width: 880px) {
    .mp-cabinet__topbar-inner { padding: 0 32px; }
    .mp-cabinet__user { display: flex; }
    .mp-cabinet__signout-form { display: inline-flex; }
    .mp-cabinet__mobile-toggle { display: none; }
}

/* ── Shell (sidebar + main) ──────────────────────────────────────── */
.mp-cabinet__shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 32px;
    flex: 1;
}

/* ── Sidebar ─────────────────────────────────────────────────────── */
.mp-cabinet__sidebar {
    display: none;
    width: 220px;
    flex-shrink: 0;
    padding: 32px 0;
}
.mp-cabinet__sidebar--open {
    display: block;
    position: fixed;
    top: 63px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: var(--mp-white);
    padding: 20px 24px;
    z-index: 40;
    overflow-y: auto;
    border-top: 1px solid var(--mp-divider);
}

@media (min-width: 880px) {
    .mp-cabinet__shell { padding: 0 32px; }
    .mp-cabinet__sidebar {
        display: block;
        position: static;
    }
}

.mp-cabinet__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mp-cabinet__nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mp-muted);
    text-decoration: none;
    border-radius: var(--mp-radius-sm);
    transition: background 0.15s ease, color 0.15s ease;
}
.mp-cabinet__nav-item:hover {
    background: var(--mp-white);
    color: var(--mp-body);
}
.mp-cabinet__nav-item--active {
    background: var(--mp-white);
    color: var(--mp-black);
    font-weight: 600;
    box-shadow: var(--mp-shadow-card);
}
.mp-cabinet__nav-item--active svg { color: var(--mp-purple); }
.mp-cabinet__nav-item--disabled {
    cursor: not-allowed;
    opacity: 0.45;
    pointer-events: none;
}
.mp-cabinet__nav-divider {
    height: 1px;
    background: var(--mp-divider);
    margin: 12px 0;
}
.mp-cabinet__badge {
    font-family: var(--mp-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--mp-divider);
    color: var(--mp-muted);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
}

/* ── Main content ────────────────────────────────────────────────── */
.mp-cabinet__main {
    flex: 1;
    min-width: 0;
    padding: 32px 0 64px;
}

@media (min-width: 880px) {
    .mp-cabinet__main { padding: 48px 0 80px; }
}

/* ── Footer ──────────────────────────────────────────────────────── */
.mp-cabinet__footer {
    background: var(--mp-white);
    border-top: 1px solid var(--mp-divider);
    padding: 20px 16px;
    margin-top: auto;
}
.mp-cabinet__footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: var(--mp-muted);
}
.mp-cabinet__footer a { color: var(--mp-muted); text-decoration: none; }
.mp-cabinet__footer a:hover { color: var(--mp-purple); }
.mp-cabinet__footer-user { color: var(--mp-body); }

/* ── Page header ─────────────────────────────────────────────────── */
.mp-cabinet-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mp-cabinet-page__header { margin-bottom: 4px; }
.mp-cabinet-page__eyebrow {
    font-family: var(--mp-mono);
    font-size: 11px;
    color: var(--mp-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.mp-cabinet-page__title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mp-black);
    margin: 0 0 4px;
}
.mp-cabinet-page__sub {
    font-size: 15px;
    color: var(--mp-muted);
    margin: 0;
}

/* ── Card ────────────────────────────────────────────────────────── */
.mp-cabinet-card {
    background: var(--mp-white);
    border-radius: var(--mp-radius-md);
    box-shadow: var(--mp-shadow-card);
}
.mp-cabinet-card__body {
    padding: 28px 24px;
}
.mp-cabinet-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--mp-black);
    margin: 0 0 6px;
}
.mp-cabinet-card__meta {
    font-size: 11px;
    color: var(--mp-muted);
    letter-spacing: 0.06em;
}
.mp-cabinet-card__copy {
    font-size: 14px;
    color: var(--mp-muted);
    line-height: 1.6;
    margin: 8px 0 0;
}
.mp-cabinet-card__section-title {
    font-size: 11px;
    color: var(--mp-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ── Profile head ────────────────────────────────────────────────── */
.mp-cabinet-profile-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.mp-cabinet-profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--mp-grad);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
img.mp-cabinet-profile-avatar--img {
    object-fit: cover;
    background: var(--mp-card-bg);
}

/* ─── Profile-picture upload control ─────────────────────────────── */
.mp-cabinet-pfp {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.mp-cabinet-pfp__preview {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--mp-card-bg);
    border: 1px dashed var(--mp-divider);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--mp-muted);
    font-size: 28px;
    font-weight: 800;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.mp-cabinet-pfp__preview:hover {
    border-color: var(--mp-purple);
    background: rgba(124, 58, 237, 0.05);
}
.mp-cabinet-pfp__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mp-cabinet-pfp__controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.mp-cabinet-pfp__input {
    font: inherit;
    font-size: 13px;
    color: var(--mp-body);
}
.mp-cabinet-pfp__input::file-selector-button {
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    margin-right: 10px;
    border-radius: var(--mp-radius-sm);
    border: 1px solid var(--mp-divider);
    background: var(--mp-white);
    color: var(--mp-black);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.mp-cabinet-pfp__input::file-selector-button:hover {
    border-color: var(--mp-purple);
    background: var(--mp-card-bg);
}
.mp-cabinet-pfp__hint {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--mp-muted);
}

/* ── Forms ────────────────────────────────────────────────────────── */
.mp-cabinet-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mp-cabinet-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 600px) {
    .mp-cabinet-form__row { grid-template-columns: 1fr 1fr; }
}
.mp-cabinet-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mp-cabinet-form__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-body);
}
.mp-cabinet-form__input {
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--mp-divider);
    border-radius: var(--mp-radius-sm);
    font-family: var(--mp-font);
    font-size: 14px;
    color: var(--mp-body);
    background: var(--mp-white);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
}
.mp-cabinet-form__input:focus {
    border-color: var(--mp-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
.mp-cabinet-form__input::placeholder { color: var(--mp-muted); opacity: 0.6; }
.mp-cabinet-form__error {
    font-size: 12px;
    color: #DC2626;
    min-height: 0;
}
.mp-cabinet-form__section-label {
    font-size: 11px;
    color: var(--mp-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 8px;
    border-top: 1px solid var(--mp-divider);
}
.mp-cabinet-form__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

/* ── Alert / status messages ─────────────────────────────────────── */
.mp-cabinet-alert {
    padding: 12px 16px;
    border-radius: var(--mp-radius-sm);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}
.mp-cabinet-alert:empty { display: none; }
.mp-cabinet-alert--success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.mp-cabinet-alert--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ── Email verification badge + resend ───────────────────────────── */
.mp-email-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
}
.mp-email-badge--ok {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.mp-email-badge--warn {
    background: #FFFBEB;
    color: #92400E;
    border: 1px solid #FDE68A;
}
.mp-cabinet-resend {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--mp-divider);
}
.mp-cabinet-resend__note {
    font-size: 13px;
    color: var(--mp-muted);
    margin: 0 0 8px;
}

/* ── Links (inline) ──────────────────────────────────────────────── */
.mp-cabinet-link {
    color: var(--mp-purple);
    text-decoration: none;
    font-weight: 500;
}
.mp-cabinet-link:hover { text-decoration: underline; }

/* ── Chat placeholder ────────────────────────────────────────────── */
.mp-cabinet-chat-placeholder {
    text-align: center;
    padding: 56px 24px !important;
}
.mp-cabinet-chat-placeholder__icon {
    color: var(--mp-muted);
    opacity: 0.35;
    margin-bottom: 20px;
}

/* ── Notifications ───────────────────────────────────────────────── */
.mp-cabinet-noti {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mp-cabinet-noti li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--mp-divider);
}
.mp-cabinet-noti li:first-child { border-top: none; }
.mp-cabinet-noti__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-black);
}
.mp-cabinet-noti__channel {
    font-size: 10px;
    color: var(--mp-muted);
    letter-spacing: 0.06em;
    margin-top: 2px;
}
.mp-cabinet-noti__desc {
    font-size: 13px;
    color: var(--mp-muted);
    margin: 4px 0 0;
    line-height: 1.5;
}

/* ── Toggle ──────────────────────────────────────────────────────── */
.mp-cabinet-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
    cursor: pointer;
    margin-top: 2px;
}
.mp-cabinet-toggle input { opacity: 0; width: 0; height: 0; }
.mp-cabinet-toggle__track {
    position: absolute;
    inset: 0;
    background: var(--mp-divider);
    border-radius: 100px;
    transition: background 0.15s ease;
}
.mp-cabinet-toggle__track::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.15s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.mp-cabinet-toggle input:checked + .mp-cabinet-toggle__track {
    background: var(--mp-grad);
}
.mp-cabinet-toggle input:checked + .mp-cabinet-toggle__track::before { transform: translateX(18px); }

/* ── Image dropzone (reusable upload control) ────────────────────── */
.mp-cabinet-drop { display: block; max-width: 520px; }
.mp-cabinet-drop__zone {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1.5px dashed var(--mp-divider);
    border-radius: var(--mp-radius-md);
    background: var(--mp-white);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}
.mp-cabinet-drop__zone:hover {
    border-color: var(--mp-purple);
    background: rgba(124, 58, 237, 0.04);
}
.mp-cabinet-drop__zone--drag {
    border-color: var(--mp-purple);
    border-style: solid;
    background: rgba(124, 58, 237, 0.08);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.10);
}
.mp-cabinet-drop__preview {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(34,211,238,0.06) 0%, rgba(124,58,237,0.06) 100%);
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--mp-muted);
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.mp-cabinet-drop--circle .mp-cabinet-drop__preview {
    width: 88px;
    height: 88px;
    border-radius: 50%;
}
.mp-cabinet-drop__zone:hover .mp-cabinet-drop__preview {
    border-color: rgba(124,58,237,0.35);
    color: var(--mp-purple);
}
.mp-cabinet-drop__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mp-cabinet-drop__img[hidden] { display: none; }
.mp-cabinet-drop__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Camera-on-hover overlay — only visible when an image is already loaded, so the user
   gets a visual cue that clicking will replace the existing image. */
.mp-cabinet-drop__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 8, 23, 0.55);
    color: #fff;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}
.mp-cabinet-drop__preview:has(.mp-cabinet-drop__img:not([hidden])) .mp-cabinet-drop__icon {
    display: none;
}
.mp-cabinet-drop__zone:hover .mp-cabinet-drop__preview:has(.mp-cabinet-drop__img:not([hidden])) .mp-cabinet-drop__overlay {
    opacity: 1;
}
.mp-cabinet-drop__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
}
.mp-cabinet-drop__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-body);
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
}
.mp-cabinet-drop__sep { color: var(--mp-muted); font-weight: 400; }
.mp-cabinet-drop__link {
    background: var(--mp-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(124, 58, 237, 0.4);
}
.mp-cabinet-drop__hint {
    font-size: 11px;
    color: var(--mp-muted);
    letter-spacing: 0.04em;
    margin: 0;
}
/* Visually hidden but still focusable for keyboard users. The <label
   for=...> handles clicks, drop events are wired via JS on the zone. */
.mp-cabinet-drop__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.mp-cabinet-drop__input:focus-visible + * {
    outline: 2px solid var(--mp-purple);
    outline-offset: 4px;
}

/* ── Company list (cards) ───────────────────────────────────────── */
.mp-company-list__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.mp-company-list__count {
    font-family: var(--mp-mono);
    font-size: 11px;
    color: var(--mp-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mp-company-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 720px) {
    .mp-company-list { grid-template-columns: 1fr 1fr; }
}
.mp-company-card {
    display: flex;
    flex-direction: column;
    background: var(--mp-white);
    border: 1px solid var(--mp-divider);
    border-radius: var(--mp-radius-md);
    padding: 20px;
    gap: 16px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.mp-company-card:hover {
    border-color: var(--mp-purple);
    box-shadow: var(--mp-shadow-card);
    transform: translateY(-1px);
}
.mp-company-card__top { display: flex; gap: 14px; align-items: flex-start; }
.mp-company-card__logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: var(--mp-radius-sm);
    background: var(--mp-card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--mp-muted);
    font-weight: 800;
    font-size: 22px;
}
.mp-company-card__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-company-card__body { min-width: 0; flex: 1; }
.mp-company-card__name {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--mp-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mp-company-card__meta {
    margin: 0;
    font-size: 13px;
    color: var(--mp-muted);
    line-height: 1.45;
    word-break: break-word;
}
.mp-company-card__site {
    color: var(--mp-muted);
    text-decoration: none;
    border-bottom: 1px dashed var(--mp-divider);
}
.mp-company-card__site:hover {
    color: var(--mp-purple);
    border-bottom-color: var(--mp-purple);
}
.mp-company-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 4px;
    border-top: 1px solid var(--mp-divider);
    margin-top: auto;
    padding-top: 14px;
}
.mp-company-card__delete {
    margin-left: auto;
    background: none;
    border: 1px solid var(--mp-divider);
    color: var(--mp-muted);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: var(--mp-radius-sm);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.mp-company-card__delete:hover {
    border-color: #DC2626;
    color: #DC2626;
    background: #FEF2F2;
}

/* Empty-state when no companies exist */
.mp-company-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 40px 24px;
    border: 1.5px dashed var(--mp-divider);
    border-radius: var(--mp-radius-md);
    background: var(--mp-white);
    color: var(--mp-muted);
}
.mp-company-empty__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--mp-body);
}

