:root {
    --mk-font-display: "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, sans-serif;
    --mk-blue: #0d6efd;
    --mk-blue-dark: #0a58ca;
    --mk-blue-darker: #052c65;
    --mk-navy: #0b1f3a;
    --mk-blue-light: #e7f1ff;
    --mk-blue-soft: #f4f8ff;
    --mk-text: #0c1222;
    --mk-muted: #5c6b82;
    --mk-border: rgba(13, 110, 253, 0.14);
    --mk-radius: 1.25rem;
    --mk-radius-sm: 0.875rem;
    --mk-shadow: 0 32px 64px -12px rgba(11, 31, 58, 0.18);
    --mk-shadow-soft: 0 12px 40px rgba(13, 110, 253, 0.08);
}

html.mk-marketing {
    overflow-x: hidden;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--mk-blue) var(--mk-blue-soft);
}

html.mk-marketing::-webkit-scrollbar {
    width: 10px;
}

html.mk-marketing::-webkit-scrollbar:horizontal {
    height: 0;
}

html.mk-marketing::-webkit-scrollbar-track {
    background: var(--mk-blue-soft);
}

html.mk-marketing::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3d8bfd 0%, var(--mk-blue) 100%);
    border-radius: 999px;
    border: 2px solid var(--mk-blue-soft);
}

html.mk-marketing::-webkit-scrollbar-thumb:hover {
    background: var(--mk-blue-dark);
}

.mk-main {
    /* clip (not hidden) so position: sticky inside sections keeps working */
    overflow-x: clip;
    max-width: 100%;
}

[data-parallax] {
    --py: 0px;
    will-change: transform;
}

.mk-dashboard[data-parallax],
.mk-feature-panel[data-parallax] {
    transform: translate3d(0, var(--py), 0);
}

@media (prefers-reduced-motion: reduce) {
    .mk-motion *,
    .mk-orb,
    .mk-grid-bg,
    .mk-chat .mk-bubble {
        animation: none !important;
        transition: none !important;
    }
}

.mk-page {
    font-family: "DM Sans", system-ui, -apple-system, sans-serif;
    color: var(--mk-text);
    background: #fafbff;
    overflow-x: clip;
    max-width: 100%;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.mk-page h1,
.mk-page h2,
.mk-page .mk-display {
    font-family: var(--mk-font-display);
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Nav */
.mk-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(16px) saturate(1.2);
    background: rgba(250, 251, 255, 0.82);
    border-bottom: 1px solid rgba(13, 110, 253, 0.08);
}

.mk-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

.mk-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Floating Messenger-style ?Book a demo? (lower right) */
.mk-chat-fab {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right, 0px) + 0.75rem);
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px) + 0.75rem);
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.05rem 0.65rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #00b2ff 0%, #0084ff 45%, #006aff 100%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow:
        0 12px 28px -8px rgba(0, 106, 255, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mk-chat-fab:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 16px 36px -10px rgba(0, 106, 255, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.mk-chat-fab:focus-visible {
    outline: 2px solid var(--mk-blue);
    outline-offset: 3px;
}

.mk-chat-fab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.mk-chat-fab-label {
    white-space: nowrap;
    padding-right: 0.15rem;
}

@media (max-width: 380px) {
    .mk-chat-fab {
        padding: 0.5rem;
        border-radius: 50%;
        width: 3.25rem;
        height: 3.25rem;
        justify-content: center;
    }

    .mk-chat-fab-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .mk-chat-fab-icon {
        width: 100%;
        height: 100%;
        background: transparent;
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mk-chat-fab {
        transition: none;
    }

    .mk-chat-fab:hover {
        transform: none;
    }
}

/* Unified pill buttons (nav, hero, CTA) */
.mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.5rem 1.125rem;
    min-height: 2.5rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.mk-btn-lg {
    font-size: 0.9375rem;
    padding: 0.625rem 1.375rem;
    min-height: 2.75rem;
}

.mk-btn-link {
    background: transparent;
    border-color: transparent;
    color: var(--mk-muted);
    padding: 0.5rem 0.75rem;
}

.mk-btn-link:hover {
    color: var(--mk-blue-dark);
    background: rgba(13, 110, 253, 0.06);
}

.mk-btn-outline {
    background: #fff;
    border-color: rgba(13, 110, 253, 0.35);
    color: var(--mk-blue-dark);
}

.mk-btn-outline:hover {
    background: var(--mk-blue-soft);
    border-color: var(--mk-blue);
    color: var(--mk-blue-darker);
}

.mk-btn-primary {
    background: var(--mk-blue);
    border-color: var(--mk-blue);
    color: #fff;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25);
}

.mk-btn-primary:hover {
    background: var(--mk-blue-dark);
    border-color: var(--mk-blue-dark);
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.32);
}

.mk-btn-light {
    background: #fff;
    border-color: #fff;
    color: var(--mk-blue-darker);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.mk-btn-light:hover {
    background: #f8fafc;
    color: var(--mk-navy);
}

/* Hero */
.mk-hero {
    position: relative;
    padding: clamp(2rem, 4.5vw, 3.25rem) 0 0;
    isolation: isolate;
    overflow: hidden;
}

.mk-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 110, 253, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 110, 253, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
    animation: mk-grid-drift 40s linear infinite;
    pointer-events: none;
}

@keyframes mk-grid-drift {
    0% { background-position: 0 0; }
    100% { background-position: 48px 48px; }
}

.mk-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.55;
}

.mk-orb-1 {
    width: min(380px, 55vw);
    height: min(380px, 55vw);
    background: rgba(13, 110, 253, 0.35);
    top: -15%;
    left: -10%;
    animation: mk-float-a 14s ease-in-out infinite;
}

.mk-orb-2 {
    width: min(280px, 45vw);
    height: min(280px, 45vw);
    background: rgba(61, 139, 253, 0.3);
    top: 5%;
    right: -12%;
    animation: mk-float-b 18s ease-in-out infinite;
}

.mk-orb-3 {
    width: min(180px, 40vw);
    height: min(180px, 40vw);
    background: rgba(5, 44, 101, 0.12);
    bottom: 0;
    left: 30%;
    animation: mk-float-a 20s ease-in-out infinite reverse;
}

@keyframes mk-float-a {
    0%, 100% { transform: translate(0, var(--py, 0px)); }
    50% { transform: translate(8px, calc(var(--py, 0px) - 8px)); }
}

@keyframes mk-float-b {
    0%, 100% { transform: translate(0, var(--py, 0px)); }
    50% { transform: translate(-8px, calc(var(--py, 0px) + 8px)); }
}

.mk-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .mk-hero-grid {
        grid-template-columns: 1.02fr 0.98fr;
        gap: 2.25rem;
    }
}

.mk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mk-blue-dark);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--mk-border);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--mk-shadow-soft);
    animation: mk-fade-up 0.7s ease both;
}

.mk-hero-title {
    font-size: clamp(2.35rem, 5vw, 3.75rem);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 1.35rem;
    animation: mk-fade-up 0.7s ease 0.08s both;
}

.mk-hero-title .mk-gradient {
    background: linear-gradient(120deg, var(--mk-navy) 0%, var(--mk-blue) 50%, #3d8bfd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mk-hero-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--mk-muted);
    max-width: 32rem;
    margin-bottom: 2rem;
    animation: mk-fade-up 0.7s ease 0.16s both;
}

.mk-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    animation: mk-fade-up 0.7s ease 0.24s both;
}

.mk-hero-note {
    font-size: 0.875rem;
    color: var(--mk-muted);
    margin-top: 1.25rem;
    animation: mk-fade-up 0.7s ease 0.32s both;
}

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

.mk-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.mk-reveal.mk-visible {
    opacity: 1;
    transform: translateY(0);
}

.mk-problem-grid .mk-reveal:nth-child(2),
.mk-glimpse-grid .mk-reveal:nth-child(2),
.mk-steps .mk-reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.mk-problem-grid .mk-reveal:nth-child(3),
.mk-glimpse-grid .mk-reveal:nth-child(3),
.mk-steps .mk-reveal:nth-child(3) {
    transition-delay: 0.16s;
}

/* Mockup + motion ring */
.mk-visual-wrap {
    position: relative;
    max-width: 100%;
    animation: mk-fade-up 0.9s ease 0.2s both;
}

.mk-ring {
    display: none;
}

.mk-mockup {
    position: relative;
    border-radius: calc(var(--mk-radius) + 6px);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.5), rgba(11, 31, 58, 0.8));
    padding: 2px;
    box-shadow: var(--mk-shadow);
    animation: mk-float-mockup 6s ease-in-out infinite;
}

@keyframes mk-float-mockup {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.mk-mockup-inner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: var(--mk-radius);
    overflow: hidden;
}

.mk-mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 1.1rem;
    background: linear-gradient(180deg, #fff 0%, var(--mk-blue-soft) 100%);
    border-bottom: 1px solid var(--mk-border);
}

.mk-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e2e8f0;
}

.mk-dot:nth-child(1) { background: #ff5f57; }
.mk-dot:nth-child(2) { background: #febc2e; }
.mk-dot:nth-child(3) { background: #28c840; }

.mk-mockup-body {
    padding: 1.35rem;
    min-height: 300px;
    background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}

.mk-chat {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mk-chat-row {
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
    max-width: 100%;
}

.mk-chat-row-in {
    align-self: flex-start;
    max-width: 94%;
}

.mk-chat-row-out {
    align-self: flex-end;
    max-width: 94%;
}

.mk-chat-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e4e6eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    color: #65676b;
}

.mk-chat-avatar-brand {
    background: var(--mk-blue);
    color: #fff;
    font-size: 0.75rem;
}

.mk-bubble {
    padding: 0.55rem 0.85rem;
    border-radius: 1.125rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(8px);
    animation: mk-bubble-in 0.55s ease forwards;
}

.mk-bubble-in {
    background: #f0f2f5;
    color: #050505;
    border-bottom-left-radius: 0.3rem;
}

.mk-bubble-out {
    background: var(--mk-blue);
    color: #fff;
    border-bottom-right-radius: 0.3rem;
}

.mk-bubble-meta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.92;
    margin-bottom: 0.2rem;
}

.mk-chat-row:nth-child(1) .mk-bubble { animation-delay: 0.6s; }
.mk-chat-row:nth-child(2) .mk-bubble { animation-delay: 1.1s; }
.mk-chat-row:nth-child(3) .mk-bubble { animation-delay: 1.7s; }

@keyframes mk-bubble-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mk-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: mk-pulse 2s ease infinite;
}

@keyframes mk-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Sections */
.mk-section {
    padding: clamp(2.25rem, 4vw, 3rem) 0;
    position: relative;
}

.mk-section-alt {
    background: var(--mk-blue-soft);
}

.mk-section-head {
    max-width: 36rem;
    margin-bottom: 1.35rem;
}

.mk-section-title {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.mk-section-lead {
    color: var(--mk-muted);
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .mk-section-steps-layout {
        display: grid;
        grid-template-columns: minmax(240px, 34%) 1fr;
        gap: 1.75rem 2rem;
        align-items: start;
    }

    .mk-section-steps-layout .mk-section-head {
        margin-bottom: 0;
        position: sticky;
        top: 5rem;
    }
}

.mk-problem-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .mk-problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mk-problem-card {
    background: #fff;
    border: 1px solid rgba(13, 110, 253, 0.1);
    border-radius: var(--mk-radius-sm);
    padding: 1.25rem 1.35rem;
    height: 100%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mk-problem-card:hover {
    border-color: rgba(13, 110, 253, 0.22);
    box-shadow: var(--mk-shadow-soft);
}

.mk-problem-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mk-radius-sm);
    background: linear-gradient(145deg, var(--mk-blue-light) 0%, #fff 100%);
    color: var(--mk-blue);
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
    border: 1px solid var(--mk-border);
}

.mk-glimpse-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .mk-glimpse-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mk-glimpse-card {
    background: #fff;
    border-radius: var(--mk-radius-sm);
    border: 1px solid rgba(13, 110, 253, 0.1);
    padding: 1.35rem 1.25rem;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mk-glimpse-card:hover {
    border-color: rgba(13, 110, 253, 0.22);
    box-shadow: var(--mk-shadow-soft);
}

.mk-glimpse-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    font-family: var(--mk-font-display);
}

.mk-glimpse-card p {
    font-size: 0.9375rem;
    color: var(--mk-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.mk-steps {
    display: grid;
    gap: 0.875rem;
}

@media (min-width: 768px) {
    .mk-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.mk-step {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: #fff;
    border-radius: var(--mk-radius-sm);
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--mk-border);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.mk-step-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
    color: #fff;
    background: var(--mk-blue);
    border-radius: 0.5rem;
    margin-top: 0.1rem;
}

.mk-step-body {
    min-width: 0;
}

.mk-step-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    font-family: var(--mk-font-display);
    line-height: 1.25;
}

.mk-step-body p {
    font-size: 0.875rem;
    color: var(--mk-muted);
    line-height: 1.5;
    margin: 0;
}

/* CTA band */
.mk-cta-band {
    position: relative;
    box-sizing: border-box;
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto 2rem;
    border-radius: var(--mk-radius);
    padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
    text-align: center;
    color: #fff;
    overflow: hidden;
    box-shadow: var(--mk-shadow);
}

.mk-cta-band-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, var(--mk-navy) 0%, var(--mk-blue) 45%, #2563eb 100%);
    z-index: 0;
}

.mk-cta-band-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12), transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(61, 139, 253, 0.4), transparent 40%);
    animation: mk-cta-shift 8s ease-in-out infinite alternate;
}

@keyframes mk-cta-shift {
    0% { opacity: 0.88; }
    100% { opacity: 1; }
}

.mk-cta-band-inner {
    position: relative;
    z-index: 1;
}

.mk-cta-band h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.mk-cta-band p {
    opacity: 0.92;
    max-width: 34rem;
    margin: 0 auto 1.35rem;
    font-size: 1rem;
    line-height: 1.55;
}

.mk-footer {
    padding: 1.5rem 0 2rem;
    background: #fff;
    border-top: 1px solid #e8eef5;
}

.mk-footer-links a {
    color: var(--mk-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.mk-footer-links a:hover {
    color: var(--mk-blue);
}

/* Auth panel */
.mk-auth-panel-refined {
    background: linear-gradient(155deg, var(--mk-navy) 0%, #0d3a7a 40%, var(--mk-blue) 100%);
    position: relative;
    overflow: hidden;
}

.mk-auth-panel-refined::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: mk-grid-drift 60s linear infinite;
    pointer-events: none;
}

.mk-auth-panel-refined .mk-auth-demo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.75rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, transform 0.25s ease;
}

.mk-auth-panel-refined .mk-auth-demo-link:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    transform: translateY(-2px);
}

.mk-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding: 0.85rem 0 0;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(13, 110, 253, 0.1);
    animation: mk-fade-up 0.7s ease 0.4s both;
}

.mk-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mk-muted);
}

.mk-trust-item i {
    color: var(--mk-blue);
    font-size: 1rem;
}

/* Page365 / JST-inspired landing blocks */
.mk-hero-kicker {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mk-blue-dark);
    margin-bottom: 0.85rem;
    animation: mk-fade-up 0.7s ease both;
}

.mk-dashboard {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mk-dash-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.mk-stat-chip {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-sm);
    padding: 0.65rem 0.75rem;
    box-shadow: var(--mk-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mk-stat-chip-accent {
    background: linear-gradient(145deg, var(--mk-blue-soft) 0%, #fff 100%);
    border-color: rgba(13, 110, 253, 0.25);
}

.mk-stat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mk-muted);
}

.mk-stat-value {
    font-family: var(--mk-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--mk-navy);
    line-height: 1.1;
}

.mk-mockup-body-compact {
    min-height: 220px;
    padding: 1.1rem;
}

.mk-logo-strip {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(13, 110, 253, 0.08);
    background: #fff;
}

.mk-logo-strip-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mk-muted);
    margin-bottom: 0.75rem;
}

.mk-logo-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}

.mk-logo-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mk-text);
    background: var(--mk-blue-soft);
    border: 1px solid var(--mk-border);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
}

.mk-logo-chip i {
    color: var(--mk-blue);
}

.mk-section-tight {
    padding-top: clamp(2rem, 4vw, 2.75rem);
    padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.mk-section-intro {
    max-width: 40rem;
}

.mk-stats-bar {
    background: linear-gradient(180deg, #fff 0%, var(--mk-blue-soft) 100%);
    border-top: 1px solid rgba(13, 110, 253, 0.06);
    border-bottom: 1px solid rgba(13, 110, 253, 0.06);
}

.mk-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .mk-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.mk-stats-item {
    text-align: center;
    padding: 0.5rem 0.75rem;
}

.mk-stats-num {
    display: block;
    font-family: var(--mk-font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--mk-blue);
    line-height: 1.1;
}

.mk-stats-text {
    display: block;
    font-size: 0.9375rem;
    color: var(--mk-muted);
    margin-top: 0.35rem;
    line-height: 1.45;
}

.mk-feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .mk-feature-row {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .mk-feature-row-reverse .mk-feature-copy {
        order: 2;
    }

    .mk-feature-row-reverse .mk-feature-panel {
        order: 1;
    }
}

.mk-feature-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mk-blue-dark);
    margin-bottom: 0.65rem;
}

.mk-feature-copy h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.mk-feature-copy p {
    color: var(--mk-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 32rem;
}

.mk-feature-panel {
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    padding: 1.25rem;
    box-shadow: var(--mk-shadow-soft);
}

.mk-panel-line {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border-radius: var(--mk-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--mk-muted);
    background: var(--mk-blue-soft);
    margin-bottom: 0.5rem;
}

.mk-panel-line:last-child {
    margin-bottom: 0;
}

.mk-panel-line-active {
    background: #fff;
    border: 1px solid var(--mk-border);
    color: var(--mk-text);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.08);
}

.mk-panel-line i {
    color: var(--mk-blue);
    font-size: 1.1rem;
}

.mk-feature-panel-shop {
    padding: 1.5rem;
}

.mk-shop-card {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem;
    border-radius: var(--mk-radius-sm);
    background: linear-gradient(180deg, #fff 0%, var(--mk-blue-soft) 100%);
    border: 1px solid var(--mk-border);
}

.mk-shop-thumb {
    width: 56px;
    height: 56px;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, #3d8bfd 0%, var(--mk-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mk-shop-thumb i {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
}

.mk-shop-title {
    font-weight: 600;
    font-size: 0.9375rem;
}

.mk-shop-price {
    font-size: 0.8125rem;
    color: var(--mk-muted);
}

.mk-shop-cta {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--mk-blue);
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
}

.mk-invoice-card {
    padding: 0.5rem 0.25rem;
}

.mk-invoice-total {
    font-family: var(--mk-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mk-navy);
}

.mk-quotes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.75rem;
}

@media (min-width: 768px) {
    .mk-quotes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mk-quote {
    margin: 0;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    box-shadow: var(--mk-shadow-soft);
}

.mk-quote p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--mk-text);
    margin-bottom: 1rem;
}

.mk-quote footer {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mk-muted);
}

.mk-quotes-grid .mk-reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.mk-quotes-grid .mk-reveal:nth-child(3) {
    transition-delay: 0.16s;
}

.mk-faq-wrap {
    max-width: 42rem;
}

.mk-faq .accordion-item {
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-sm) !important;
    margin-bottom: 0.65rem;
    overflow: hidden;
    background: #fff;
}

.mk-faq .accordion-button {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--mk-text);
    background: #fff;
    box-shadow: none;
}

.mk-faq .accordion-button:not(.collapsed) {
    color: var(--mk-blue-dark);
    background: var(--mk-blue-soft);
}

.mk-faq .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
}

.mk-faq .accordion-body {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--mk-muted);
}

@media (max-width: 575px) {
    .mk-dash-stats {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------------ */
/* Hero extras                                                          */
/* ------------------------------------------------------------------ */
.mk-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.mk-hero-center {
    position: relative;
    z-index: 1;
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
}

.mk-hero-center .mk-hero-title {
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    margin-bottom: 1.25rem;
}

.mk-hero-center .mk-hero-lead {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.mk-hero-center .mk-hero-cta {
    justify-content: center;
}

.mk-hero-center .mk-trust-strip {
    justify-content: center;
    border-top: 0;
    padding-top: 0;
    margin-top: 1.35rem;
}

/* ------------------------------------------------------------------ */
/* Hero scene: channels -> LeadFlow hub -> outcomes                      */
/* One 6s cycle: a message leaves each channel in turn, lands in the   */
/* hub (ring pulse + counter bump), then an outcome packet lights up a  */
/* card on the right.                                                   */
/* ------------------------------------------------------------------ */
.mk-scene {
    position: relative;
    z-index: 1;
    width: 100%;
    height: clamp(220px, 30vw, 380px);
    margin-top: clamp(0.75rem, 2.5vw, 1.75rem);
    margin-bottom: clamp(1rem, 3vw, 2rem);
    animation: mk-fade-up 0.9s ease 0.3s both;
}

.mk-scene-svg {
    display: block;
    width: 100%;
    height: 100%;
    font-family: var(--mk-font-display);
    overflow: visible;
}

.mk-fl-glow {
    transform-box: fill-box;
    transform-origin: center;
    animation: mk-fl-breathe 6s ease-in-out infinite;
}

@keyframes mk-fl-breathe {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.08); opacity: 1; }
}

/* Flowing dashes on the connectors */
.mk-fl-line {
    stroke-dasharray: 6 10;
    animation: mk-fl-dash 1.1s linear infinite;
}

@keyframes mk-fl-dash {
    to { stroke-dashoffset: -16; }
}

/* Background bubbles drifting */
.mk-fl-float {
    animation: mk-fl-float 9s ease-in-out infinite;
}

.mk-fl-float-2 { animation-duration: 11s; animation-delay: -4s; }
.mk-fl-float-3 { animation-duration: 8s; animation-delay: -2s; }

@keyframes mk-fl-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, -12px); }
}

/* Incoming message pills pop next to a channel right before it sends */
.mk-fl-msg {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: right center;
    animation: mk-fl-msg 6s ease infinite;
}

.mk-fl-msg-1 { animation-delay: -1.2s; }
.mk-fl-msg-2 { animation-delay: 0.8s; }
.mk-fl-msg-3 { animation-delay: 2.8s; }

@keyframes mk-fl-msg {
    0% { opacity: 0; transform: scale(0.6) translateX(10px); }
    6% { opacity: 1; transform: scale(1.04) translateX(0); }
    9% { transform: scale(1); }
    24% { opacity: 1; }
    30%, 100% { opacity: 0; transform: scale(0.9) translateX(0); }
}

.mk-fl-typing circle {
    animation: mk-fl-typing 6s ease-in-out infinite;
}

.mk-fl-typing circle:nth-child(2) { animation-delay: 0.15s; }
.mk-fl-typing circle:nth-child(3) { animation-delay: 0.3s; }

@keyframes mk-fl-typing {
    0%, 60% { opacity: 0; transform: translateY(0); }
    64% { opacity: 1; transform: translateY(-3px); }
    68% { transform: translateY(0); }
    72% { transform: translateY(-3px); }
    76% { transform: translateY(0); }
    80%, 100% { opacity: 0; }
}

/* Packets along the lines (offset-path) */
.mk-fl-pk {
    opacity: 0;
    offset-rotate: 0deg;
    animation: mk-fl-pk 6s cubic-bezier(0.45, 0, 0.3, 1) infinite;
}

.mk-fl-pk-in-1 { offset-path: path("M292 120 C 400 120, 420 230, 520 230"); animation-delay: 0s; }
.mk-fl-pk-in-2 { offset-path: path("M292 230 C 400 230, 420 230, 520 230"); animation-delay: 2s; }
.mk-fl-pk-in-3 { offset-path: path("M292 340 C 400 340, 420 230, 520 230"); animation-delay: 4s; }

@keyframes mk-fl-pk {
    0% { offset-distance: 0%; opacity: 0; }
    3% { opacity: 1; }
    24% { opacity: 1; }
    26.7% { offset-distance: 100%; opacity: 0; }
    100% { offset-distance: 100%; opacity: 0; }
}

.mk-fl-pk-out-1 { offset-path: path("M680 230 C 780 230, 770 138, 862 138"); animation: mk-fl-pk-out 6s cubic-bezier(0.45, 0, 0.3, 1) infinite; animation-delay: 1.8s; }
.mk-fl-pk-out-2 { offset-path: path("M680 230 C 780 230, 770 230, 862 230"); animation: mk-fl-pk-out 6s cubic-bezier(0.45, 0, 0.3, 1) infinite; animation-delay: 3.8s; }
.mk-fl-pk-out-3 { offset-path: path("M680 230 C 780 230, 770 322, 862 322"); animation: mk-fl-pk-out 6s cubic-bezier(0.45, 0, 0.3, 1) infinite; animation-delay: -0.2s; }

@keyframes mk-fl-pk-out {
    0% { offset-distance: 0%; opacity: 0; }
    3% { opacity: 1; }
    21% { opacity: 1; }
    23.3% { offset-distance: 100%; opacity: 0; }
    100% { offset-distance: 100%; opacity: 0; }
}

@supports not (offset-path: path("M0 0 L1 1")) {
    .mk-fl-pk { display: none; }
}

/* Hub: ring pulses + slight bump each time a packet lands (every 2s, first at 1.6s) */
.mk-fl-hub {
    transform-box: fill-box;
    transform-origin: center;
    animation: mk-fl-bump 2s ease-out infinite;
    animation-delay: 1.6s;
}

@keyframes mk-fl-bump {
    0%, 100% { transform: scale(1); }
    8% { transform: scale(1.035); }
    20% { transform: scale(1); }
}

.mk-fl-ring {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    animation: mk-fl-ring 2s ease-out infinite;
}

.mk-fl-ring-1 { animation-delay: 1.6s; }
.mk-fl-ring-2 { animation-delay: 1.9s; }

@keyframes mk-fl-ring {
    0% { transform: scale(0.9); opacity: 0.55; }
    100% { transform: scale(1.45); opacity: 0; }
}

.mk-fl-badge {
    transform-box: fill-box;
    transform-origin: center;
    animation: mk-fl-badge 2s ease-out infinite;
    animation-delay: 1.6s;
}

@keyframes mk-fl-badge {
    0%, 100% { transform: scale(1); }
    8% { transform: scale(1.3); }
    18% { transform: scale(1); }
}

.mk-fl-n {
    opacity: 0;
    animation: mk-fl-count 6s steps(1, end) infinite;
}

.mk-fl-n1 { animation-delay: -4.4s; }
.mk-fl-n2 { animation-delay: -2.4s; }
.mk-fl-n3 { animation-delay: -0.4s; }

@keyframes mk-fl-count {
    0%, 33.3% { opacity: 1; }
    33.4%, 100% { opacity: 0; }
}

/* Outcome cards light up when their packet arrives (3.2s, 5.2s, 1.2s) */
.mk-fl-card {
    transform-box: fill-box;
    transform-origin: center;
    animation: mk-fl-card 6s ease infinite;
}

.mk-fl-card-1 { animation-delay: -2.8s; }
.mk-fl-card-2 { animation-delay: -0.8s; }
.mk-fl-card-3 { animation-delay: -4.8s; }

@keyframes mk-fl-card {
    0% { transform: translateY(0); }
    4% { transform: translateY(-5px); }
    36% { transform: translateY(-5px); }
    46%, 100% { transform: translateY(0); }
}

.mk-fl-card .mk-fl-card-bg {
    animation: mk-fl-card-bg 6s ease infinite;
    animation-delay: inherit;
}

@keyframes mk-fl-card-bg {
    0% { stroke: #d6e2f5; }
    4% { stroke: #0d6efd; }
    36% { stroke: #0d6efd; }
    46%, 100% { stroke: #d6e2f5; }
}

.mk-fl-card .mk-fl-check {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    animation: mk-fl-check 6s ease infinite;
    animation-delay: inherit;
}

@keyframes mk-fl-check {
    0% { opacity: 0; transform: scale(0.2); }
    5% { opacity: 1; transform: scale(1.2); }
    9% { transform: scale(1); }
    40% { opacity: 1; transform: scale(1); }
    48%, 100% { opacity: 0; transform: scale(0.6); }
}

@media (prefers-reduced-motion: reduce) {
    .mk-fl-pk, .mk-fl-msg, .mk-fl-ring { opacity: 0; }
    .mk-fl-n1, .mk-fl-check { opacity: 1; }
    .mk-fl-card-bg { stroke: #d6e2f5; }
}

@media (max-width: 575px) {
    .mk-scene {
        height: 230px;
    }
}
}

.mk-mockup-channels {
    display: inline-flex;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--mk-muted);
}

.mk-mockup-channels .bi-messenger { color: #0084ff; }
.mk-mockup-channels .bi-instagram { color: #dd2a7b; }
.mk-mockup-channels .bi-whatsapp { color: #25d366; }

/* ------------------------------------------------------------------ */
/* Channel marquee                                                      */
/* ------------------------------------------------------------------ */
.mk-marquee {
    padding: 1.25rem 0 1.35rem;
    background: #fff;
    border-bottom: 1px solid rgba(13, 110, 253, 0.08);
    overflow: hidden;
}

.mk-marquee-track {
    display: flex;
    width: max-content;
    gap: 0.75rem;
    animation: mk-marquee 38s linear infinite;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.mk-marquee:hover .mk-marquee-track {
    animation-play-state: paused;
}

.mk-marquee-group {
    display: flex;
    gap: 0.75rem;
    padding-right: 0.75rem;
}

@keyframes mk-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.mk-soon {
    font-style: normal;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mk-blue-dark);
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: 999px;
    padding: 0.1rem 0.4rem;
    margin-left: 0.15rem;
}

.mk-logo-chip .bi-messenger { color: #0084ff; }
.mk-logo-chip .bi-instagram { color: #dd2a7b; }
.mk-logo-chip .bi-whatsapp { color: #25d366; }
.mk-logo-chip .bi-tiktok { color: #111; }
.mk-logo-chip .bi-bag-fill { color: #ee4d2d; }
.mk-logo-chip .bi-cart-fill { color: #0f146d; }

/* ------------------------------------------------------------------ */
/* Scroll story                                                         */
/* ------------------------------------------------------------------ */
.mk-story {
    --chat-in: 0;
    --chat-out: 0;
    --b1: 0;
    --b2: 0;
    --b3: 0;
    --b4: 0;
    --logo-in: 0;
    --merge: 0;
    --merge-out: 0;
    --brand-in: 0;
    --ring-r: clamp(104px, min(30vw, 24vh), 196px);
    position: relative;
    /* taller = each stage spans more scroll distance = slower transitions */
    height: 520vh;
    background: linear-gradient(180deg, #fafbff 0%, var(--mk-blue-soft) 50%, #fafbff 100%);
}

.mk-story-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4.75rem 0 1.5rem;
    overflow: hidden;
    isolation: isolate;
}

.mk-story-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 55%, rgba(13, 110, 253, 0.12), transparent 42%),
        linear-gradient(rgba(13, 110, 253, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 110, 253, 0.035) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
    mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 30%, transparent 80%);
}

.mk-story-head {
    text-align: center;
    position: relative;
    z-index: 2;
}

.mk-story-stage {
    position: relative;
    flex: 1;
    min-height: 0;
}

/* Stage 1: chat card */
.mk-story-chat {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(92vw, 380px);
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    box-shadow: var(--mk-shadow);
    padding: 0.9rem 1rem 1rem;
    opacity: calc(var(--chat-in) * (1 - var(--chat-out)));
    transform:
        translate(-50%, -50%)
        translateY(calc((1 - var(--chat-in)) * 40px))
        scale(calc(0.92 + 0.08 * var(--chat-in) - 0.3 * var(--chat-out)));
    filter: blur(calc(var(--chat-out) * 6px));
    pointer-events: none;
}

.mk-story-chat-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.65rem;
    margin-bottom: 0.65rem;
    border-bottom: 1px solid var(--mk-border);
}

.mk-story-chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b2ff, #006aff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mk-story-chat-name {
    font-weight: 700;
    font-size: 0.875rem;
}

.mk-story-chat-sub {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--mk-muted);
}

.mk-story-bubbles {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mk-story-bubble {
    max-width: 86%;
    padding: 0.55rem 0.85rem;
    border-radius: 1.1rem;
    font-size: 0.8375rem;
    line-height: 1.45;
    opacity: var(--b, 0);
    transform: translateY(calc((1 - var(--b, 0)) * 10px)) scale(calc(0.96 + 0.04 * var(--b, 0)));
}

.mk-story-bubble:nth-child(1) { --b: var(--b1); }
.mk-story-bubble:nth-child(2) { --b: var(--b2); }
.mk-story-bubble:nth-child(3) { --b: var(--b3); }
.mk-story-bubble:nth-child(4) { --b: var(--b4); }

.mk-story-bubble-in {
    align-self: flex-start;
    background: #f0f2f5;
    color: #050505;
    border-bottom-left-radius: 0.3rem;
}

.mk-story-bubble-out {
    align-self: flex-end;
    background: var(--mk-blue);
    color: #fff;
    border-bottom-right-radius: 0.3rem;
}

/* Stage 2–4: ring, logos, brand */
.mk-story-ring-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
}

.mk-story-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(var(--ring-r) * 2.6);
    height: calc(var(--ring-r) * 2.6);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.28), rgba(13, 110, 253, 0) 65%);
    transform: translate(-50%, -50%) scale(calc(0.6 + 0.4 * var(--logo-in) + 0.3 * var(--brand-in)));
    opacity: calc(var(--logo-in) * 0.9);
    filter: blur(8px);
}

.mk-story-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(var(--ring-r) * 2);
    height: calc(var(--ring-r) * 2);
    border-radius: 50%;
    border: 1.5px dashed rgba(13, 110, 253, 0.35);
    transform: translate(-50%, -50%) scale(calc(1 - 0.85 * var(--merge))) rotate(calc(var(--merge) * 60deg));
    opacity: calc(var(--logo-in) * (1 - var(--merge-out)));
}

.mk-story-ring-2 {
    border: 2px solid rgba(13, 110, 253, 0.45);
    border-style: solid;
    width: calc(var(--ring-r) * 0.9);
    height: calc(var(--ring-r) * 0.9);
    transform: translate(-50%, -50%) scale(calc(0.4 + 2.2 * var(--brand-in)));
    opacity: calc(var(--brand-in) * (1 - var(--brand-in)) * 2.2);
}

.mk-story-logo {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transform:
        rotate(var(--ang))
        translate(calc(var(--ring-r) * (1 - var(--merge))))
        rotate(calc(-1 * var(--ang)))
        translate(-50%, -50%)
        scale(calc(var(--logo-in) * (1 - 0.7 * var(--merge))));
    opacity: calc(var(--logo-in) * (1 - var(--merge-out)));
    transform-origin: 0 0;
}

.mk-story-logo-tile {
    width: 64px;
    height: 64px;
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    box-shadow: 0 14px 30px -10px rgba(11, 31, 58, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.mk-story-logo-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--mk-navy);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    opacity: calc(1 - var(--merge) * 2);
    white-space: nowrap;
}

.mk-story-logo-messenger .mk-story-logo-tile { background: linear-gradient(135deg, #00b2ff, #006aff); }
.mk-story-logo-instagram .mk-story-logo-tile { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%); }
.mk-story-logo-whatsapp .mk-story-logo-tile { background: linear-gradient(135deg, #5df28b, #25d366 60%, #128c7e); }
.mk-story-logo-tiktok .mk-story-logo-tile { background: #111; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5), 2px 0 0 #25f4ee inset, -2px 0 0 #fe2c55 inset; }
.mk-story-logo-shopee .mk-story-logo-tile { background: linear-gradient(135deg, #ff7a45, #ee4d2d); }
.mk-story-logo-lazada .mk-story-logo-tile { background: linear-gradient(135deg, #0f146d 0%, #5a1a8c 55%, #f36f21 100%); }

.mk-story-brand {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transform: translate(-50%, -50%) scale(calc(0.35 + 0.65 * var(--brand-in)));
    opacity: var(--brand-in);
}

.mk-story-brand img {
    width: clamp(76px, 12vw, 112px);
    height: auto;
    border-radius: 1.5rem;
    background: #fff;
    padding: 0.6rem;
    box-shadow: 0 30px 60px -20px rgba(13, 110, 253, 0.55), 0 0 0 10px rgba(13, 110, 253, 0.08);
}

.mk-story-brand-name {
    font-family: var(--mk-font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: var(--mk-navy);
    letter-spacing: -0.02em;
}

/* Captions */
.mk-story-captions {
    position: relative;
    z-index: 2;
    text-align: center;
    /* room for two caption lines, then a separate row for the dots */
    --cap-lines: calc(2 * 1.25 * clamp(1.15rem, 2.4vw, 1.55rem));
    height: calc(var(--cap-lines) + 2.25rem);
}

.mk-story-caption {
    --cap: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: var(--cap-lines);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 36rem;
    padding: 0 1rem;
    font-family: var(--mk-font-display);
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--mk-text);
    text-wrap: balance;
    opacity: var(--cap);
    transform: translateY(calc((1 - var(--cap)) * 12px));
    pointer-events: none;
}

.mk-story-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.25rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.4rem;
}

.mk-story-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.2);
    transition: width 0.3s ease, background 0.3s ease;
}

.mk-story-dots span.is-active {
    width: 24px;
    background: var(--mk-blue);
}

.mk-story-footnote {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--mk-muted);
    margin: -0.25rem auto 0;
    padding-bottom: 1rem;
}

/* Reduced motion / no-JS fallback: static composition */
.mk-story-static {
    height: auto;
    --chat-in: 1;
    --chat-out: 0;
    --b1: 1;
    --b2: 1;
    --b3: 1;
    --b4: 1;
    --logo-in: 1;
    --merge: 0;
    --merge-out: 0;
    --brand-in: 1;
}

.mk-story-static .mk-story-sticky {
    position: static;
    height: auto;
    min-height: 0;
    padding-top: 3rem;
}

.mk-story-static .mk-story-stage {
    display: grid;
    gap: 2rem;
    align-items: center;
    justify-items: center;
    padding: 2rem 1rem;
}

@media (min-width: 992px) {
    .mk-story-static .mk-story-stage {
        grid-template-columns: 1fr 1fr;
    }
}

.mk-story-static .mk-story-chat {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    filter: none;
}

.mk-story-static .mk-story-ring-wrap {
    position: relative;
    left: auto;
    top: auto;
    width: calc(var(--ring-r) * 2 + 120px);
    height: calc(var(--ring-r) * 2 + 120px);
}

.mk-story-static .mk-story-logo,
.mk-story-static .mk-story-brand,
.mk-story-static .mk-story-ring,
.mk-story-static .mk-story-glow {
    left: 50%;
    top: 50%;
}

.mk-story-static .mk-story-ring-2 {
    display: none;
}

.mk-story-static .mk-story-captions {
    display: none;
}

@media (max-width: 575px) {
    .mk-story-logo-tile {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        border-radius: 0.9rem;
    }

    .mk-story-logo-label {
        font-size: 0.6875rem;
    }

    .mk-story-chat {
        padding: 0.75rem 0.8rem 0.85rem;
    }
}

/* ------------------------------------------------------------------ */
/* FAQ layout                                                           */
/* ------------------------------------------------------------------ */
.mk-faq-layout {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .mk-faq-layout {
        grid-template-columns: minmax(240px, 34%) 1fr;
        gap: 1.75rem 2.5rem;
        align-items: start;
    }

    .mk-faq-layout .mk-section-head {
        position: sticky;
        top: 5rem;
        margin-bottom: 0;
    }
}

.mk-faq-layout .mk-section-lead a {
    color: var(--mk-blue-dark);
    font-weight: 600;
}
