/* ═══════════════════════════════════════════════════════════════
   PAGE: Home | Namespace: hm-* | File: /static/css/shell/mani-home-ltr.css
   ═══════════════════════════════════════════════════════════════ */

/* ── 01. Root Tokens ── */
.pg-home {
    --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-family: var(--sans);
    color: var(--ink2);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

.pg-home a {
    text-decoration: none;
    color: inherit;
}

.pg-home img {
    max-width: 100%;
    display: block;
}

/* ── 02. Layout Helpers ── */
.pg-home .hm-mx {
    max-width: 1180px;
    margin: 0 auto;
}

.pg-home .hm-mx--center {
    text-align: center;
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.hm-hero {
    position: relative;
    padding: 72px 24px 68px;
    overflow: hidden;
}

.hm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(var(--blue-rgb), .08), transparent 70%);
    pointer-events: none;
}

/* ── Global Grid Background ── */
.pg-home::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background-image:
        linear-gradient(rgba(226, 232, 240, .38) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, .38) 1px, transparent 1px);

    background-size:
        var(--mnx-rail) var(--mnx-rail);

    animation: processingMotion 25s linear infinite;
}

.hm-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 6px 25px 6px 15px;
    border: 2px solid var(--blue);
    background: var(--white);
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
    transition: border-color .2s, box-shadow .2s,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 481px) {
    .hm-guide-link::after {
        content: '';
        position: absolute;
        left: -50%;
        bottom: -5%;
        width: 200%;
        height: 95%;
        background: rgba(var(--blue-rgb), 0.07);
        border-radius: 40% 40% 0 0;
        transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: -1;
        pointer-events: none;
        transform: translateY(90%);
    }

    .hm-guide-link:hover {
        border-color: var(--blue);
        box-shadow: 0 2px 12px rgba(var(--blue-rgb), .1);
    }

    .hm-guide-link:hover::after {
        transform: translateY(0%);
        animation: wave-sway 2s infinite ease-in-out;
    }
}

@media (max-width: 480px) {
    .hm-guide-link {
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    .hm-guide-link:hover {
        border-color: transparent !important;
        box-shadow: none !important;
    }

    .hm-guide-link:hover .hm-guide-text strong {
        color: var(--btn-bg) !important;
    }
}

.hm-guide-play {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-left: 2px;
}

.hm-guide-text {
    display: flex;
    flex-direction: column;
    text-align: start;
}

.hm-guide-text strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.hm-guide-text small {
    font-size: 11px;
    font-weight: 600;
    color: var(--silver);
    line-height: 1.3;
}

@keyframes processingMotion {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }

    100% {
        background-position: calc(var(--mnx-rail) * 2) calc(var(--mnx-rail) * 2), calc(var(--mnx-rail) * -2) calc(var(--mnx-rail) * -2), 0 0, 0 0;
    }
}

@keyframes processingGlow {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.8;
    }
}

.hm-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hm-hero-text {
    max-width: 540px;
}

.hm-hero-seo-label {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--slate);
    line-height: 1.75;
    margin-top: 25px;
    margin-left: 5px;
}

.hm-hero h1 {
    font-size: 30px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.12;
    font-style: normal;
}

.hm-hero h1 em {
    color: var(--blue);
    font-style: normal;
    font-size: 35px;
    position: relative;
    top: 5px;
}

.hm-hero-sub {
    font-size: 17px;
    font-weight: 700;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 26px;
    margin-left: 5px;
}

.hm-hero-sub em {
    font-size: 17px;
    font-weight: 800;
    color: var(--blue);
    font-style: normal;
    position: relative;
    top: 5px;
}

.hm-hero-sub strong {
    color: var(--ink);
}

.hm-checks {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 30px;
    margin-left: 5px;
}

.hm-chk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink2);
}

.hm-chk strong {
    color: var(--blue);
    font-weight: 800;
}

.hm-chk i {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.hm-actions-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hm-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hm-hero-note {
    margin-top: 10px;
    margin-left: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--silver);
    line-height: 1.5;
}

@media only screen and (max-width: 480px) {
    .hm-hero-note {
        display: none !important;
    }
}

.hm-hero-note strong {
    color: var(--blue);
}

.hm-slider {
    position: relative;
    width: 100%;
    max-width: 540px;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.hm-slider-track {
    display: flex;
    height: 100%;
    transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.hm-slider-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.hm-slider-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hm-slider-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    max-width: 540px;
}

.hm-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mist);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s;
}

.hm-slider-dot.is-on {
    background: var(--blue);
}

@media(max-width: 900px) {
    .hm-hero-grid {
        grid-template-columns: 1fr !important;
        text-align: start;
    }

    .hm-hero {
        padding: 48px 24px !important;
    }

    .hm-hero-text {
        max-width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .hm-checks {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .hm-chk {
        display: flex !important;
        justify-content: flex-start !important;
        width: 100% !important;
    }

    .hm-hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .pg-home .hm-hero-actions.mni-d5,
    .pg-home .hm-hero-actions.mni-ri {
        flex-direction: column !important;
        align-items: flex-start !important;
        flex-wrap: nowrap !important;
    }

    .hm-hero-actions.mni-d5 {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .hm-actions-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    .hm-hero-note {
        width: 100% !important;
        margin-top: 4px !important;
    }

    .hm-hero-grid>.mni-ri.mni-d3 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }

    .hm-slider {
        margin: 28px auto 0 !important;
        width: 100% !important;
    }

    .hm-slider-dots {
        display: none !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 14px auto 0 !important;
    }
}

/* ════════════════════════════════════════════════════════════════
   PAIN
   ════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════
   MODULES
   ════════════════════════════════════════════════════════════════ */
.hm-modules {
    padding: var(--sec-y) 24px;
}

.hm-mod-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: 1180px;
    margin: 0 auto;
}

.hm-mod-item {
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    padding: 24px 14px;
    text-align: center;
    transition: border-color .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}

.hm-mod-item::after {
    content: '';
    position: absolute;
    left: -50%;
    bottom: -120px;
    width: 200%;
    height: 120px;
    background: rgba(var(--blue-rgb), 0.06);
    border-radius: 40% 60% 0 0;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.hm-mod-item:hover {
    border-color: var(--blue);
}

.hm-mod-item:hover h3 {
    color: var(--blue);
}

.hm-mod-item:hover::after {
    bottom: -40px;
    animation: wave-sway 2s infinite ease-in-out;
}

/* Active item */
.hm-mod-item.is-active {
    border-color: var(--blue);
}

.hm-mod-item.is-active h3 {
    color: var(--blue);
}

.hm-mod-item.is-active::after {
    bottom: -40px;
    animation: wave-sway 2s infinite ease-in-out;
}

.hm-mod-item.is-active:hover::after {
    bottom: -10px;
    animation: wave-sway 1s infinite ease-in-out;
}

.hm-mod-item img,
.hm-mod-item h3 {
    position: relative;
    z-index: 1;
}

.hm-mod-item img {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    object-fit: contain;
}

.hm-mod-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

@media(max-width: 900px) {
    .hm-mod-grid {
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
    }

    .hm-mod-item,
    .hm-integ-item {
        padding: 20px 10px !important;
    }

    .hm-mod-item img {
        width: 36px;
        height: 36px;
        margin-bottom: 10px;
    }

    .hm-mod-item h3 {
        font-size: 18px;
        font-weight: 600;
        letter-spacing: -0.2px;
    }
}

@media(max-width: 600px) {
    .hm-mod-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }
}

@media(max-width: 480px) {
    .hm-mod-item h3 {
        font-size: 18px;
        font-weight: 600;
    }
}

/* ════════════════════════════════════════════════════════════════
   INTEGRATIONS
   ════════════════════════════════════════════════════════════════ */
.hm-integ {
    padding: var(--sec-y) 24px;
}

.hm-integ-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: 1180px;
    margin: 0 auto;
}

.hm-integ-item {
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    padding: 24px 14px;
    text-align: center;
    transition: border-color .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}

.hm-integ-item::after {
    content: '';
    position: absolute;
    left: -50%;
    bottom: -120px;
    width: 200%;
    height: 120px;
    background: rgba(var(--blue-rgb), 0.06);
    border-radius: 40% 60% 0 0;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.hm-integ-item:hover {
    border-color: var(--mist);
}

.hm-integ-item:hover::after {
    bottom: -40px;
    animation: wave-sway 2s infinite ease-in-out;
}

.hm-integ-item img,
.hm-integ-item h3 {
    position: relative;
    z-index: 1;
}

.hm-integ-item img {
    width: 38px;
    height: 38px;
    margin: 0 auto 10px;
    object-fit: contain;
}

.hm-integ-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
}

@media(max-width: 900px) {
    .hm-integ-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 480px) {
    .hm-integ-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ════════════════════════════════════════════════════════════════
   EMAIL
   ════════════════════════════════════════════════════════════════ */
.hm-email {
    padding: var(--sec-y) 24px;
}

.hm-email-badge {
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}

.hm-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hm-ecard {
    padding: 26px 30px;
    text-align: center;
    min-width: 190px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s;
    z-index: 1;
}

.hm-ecard::after {
    content: '';
    position: absolute;
    left: -50%;
    bottom: -120px;
    width: 200%;
    height: 120px;
    background: rgba(var(--blue-rgb), 0.06);
    border-radius: 40% 60% 0 0;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.hm-ecard:hover {
    border-color: var(--mist);
}

.hm-ecard:hover::after {
    bottom: -40px;
    animation: wave-sway 2s infinite ease-in-out;
}

.hm-ecard .ec-icon,
.hm-ecard h3,
.hm-ecard p {
    position: relative;
    z-index: 1;
}

.hm-ecard .ec-icon {
    font-size: 30px;
    margin-bottom: 8px;
}

.hm-ecard h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.hm-ecard p {
    font-size: 16px;
    font-weight: 600;
    color: var(--slate);
}

.hm-eplus {
    font-size: 26px;
    color: var(--blue);
    font-weight: 800;
}

.hm-roles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.hm-role {
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink2);
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: border-color .2s, background .2s;
    position: relative;
    overflow: hidden;
}

.hm-role:hover {
    border-color: var(--mist);
}

.hm-role::after {
    content: '';
    position: absolute;
    left: -50%;
    bottom: -60px;
    width: 200%;
    height: 60px;
    background: rgba(var(--blue-rgb), 0.06);
    border-radius: 40% 60% 0 0;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.hm-role:hover::after {
    bottom: -20px;
    animation: wave-sway 2s infinite ease-in-out;
}

.hm-role span {
    color: var(--blue);
    position: relative;
    z-index: 1;
}

.hm-email-feats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 0 auto 30px;
}

.hm-efeat {
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    padding: 24px 18px;
    text-align: center;
    transition: border-color .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}

.hm-efeat::after {
    content: '';
    position: absolute;
    left: -50%;
    bottom: -120px;
    width: 200%;
    height: 120px;
    background: rgba(var(--blue-rgb), 0.06);
    border-radius: 40% 60% 0 0;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.hm-efeat:hover {
    border-color: var(--mist);
}

.hm-efeat:hover::after {
    bottom: -40px;
    animation: wave-sway 2s infinite ease-in-out;
}

.hm-efeat .ef-icon,
.hm-efeat h3,
.hm-efeat p {
    position: relative;
    z-index: 1;
}

.hm-efeat .ef-icon {
    font-size: 26px;
    margin-bottom: 10px;
}

.hm-efeat h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.hm-efeat p {
    font-size: 16px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.65;
}

@media(max-width: 900px) {
    .hm-email-feats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hm-eplus {
        display: none;
    }
}

@media(max-width: 480px) {
    .hm-email-feats {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION: Implementation | Namespace: hm-impl-*
   ═══════════════════════════════════════════════════════════════ */

.hm-impl {
    padding: var(--sec-y) 24px;
}

.hm-impl-top-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1180px;
    margin: 0 auto 30px;
}

.hm-impl-card {
    padding: 26px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hm-impl-card::after {
    content: '';
    position: absolute;
    left: -50%;
    bottom: -120px;
    width: 200%;
    height: 120px;
    background: rgba(var(--blue-rgb), 0.06);
    border-radius: 40% 60% 0 0;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.hm-impl-card:hover {
    border-color: var(--mist);
}

.hm-impl-card:hover::after {
    bottom: -40px;
    animation: wave-sway 2s infinite ease-in-out;
}

.hm-impl-card>* {
    position: relative;
    z-index: 1;
}

.hm-impl-card--featured {
    border: 2px solid var(--blue-xl);
}

.hm-impl-card--featured {
    position: relative;
    overflow: hidden;
}

.hm-impl-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 100px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.hm-impl-badge .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
    display: none;
    background: currentColor;
}

.hm-impl-badge--blue {
    color: var(--blue-d);
    border: 2px solid var(--blue-xl);
    background-color: var(--blue-l);
}

.hm-impl-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}

.hm-impl-desc {
    font-size: 15px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.7;
    margin: 0;
}

.hm-impl-divider {
    border: none;
    border-top: 1px solid var(--mist);
    margin: 0;
}

.hm-impl-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hm-impl-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate);
}

.hm-impl-list li i {
    color: var(--green);
    font-size: 12px;
    flex-shrink: 0;
}

.hm-impl-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hm-impl-price-note {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate);
    background: var(--snow);
    border-radius: 10px;
    margin: 0;
    line-height: 1.5;
}

.hm-impl-price-note strong {
    color: var(--ink);
    font-weight: 700;
}

@media (max-width: 900px) {
    .hm-impl-top-row {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .hm-impl-card {
        padding: 20px 16px 16px;
    }

    .hm-impl-title {
        font-size: 17px;
    }
}

/* ════════════════════════════════════════════════════════════════
   CUSTOM APPS
   Place in mani-home-ltr.css — after INTEGRATIONS, before BACKUP
   ════════════════════════════════════════════════════════════════ */
.hm-capps {
    padding: var(--sec-y) 24px;
}

.hm-capps-badge {
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}

/* ── Flow: Repo → Process → Live ── */
.hm-capps-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hm-capps-node {
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    padding: 24px 26px;
    text-align: center;
    min-width: 170px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s;
    z-index: 1;
}

.hm-capps-node::after {
    content: '';
    position: absolute;
    left: -50%;
    bottom: -120px;
    width: 200%;
    height: 120px;
    background: rgba(var(--blue-rgb), 0.06);
    border-radius: 40% 60% 0 0;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.hm-capps-node:hover {
    border-color: var(--mist);
}

.hm-capps-node:hover::after {
    bottom: -40px;
    animation: wave-sway 2s infinite ease-in-out;
}

.hm-capps-node .cn-icon,
.hm-capps-node h3,
.hm-capps-node p {
    position: relative;
    z-index: 1;
}

.hm-capps-node .cn-icon svg {
    width: 32px;
    height: 32px;
    color: var(--blue);
    margin: 0 auto 6px;
}

.hm-capps-node h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.hm-capps-node p {
    font-size: 16px;
    font-weight: 600;
    color: var(--slate);
}

.hm-capps-arrow {
    color: var(--silver);
    font-size: 18px;
}

/* ── Feature Cards ── */

.hm-capps-feat {
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    padding: 24px 18px;
    text-align: center;
    transition: border-color .25s, box-shadow .25s;
    opacity: 0;
    animation: none;
}

.hm-capps-feat:hover {
    border-color: var(--mist);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.hm-capps-feat.hm-vis {
    animation: mni-rise .5s cubic-bezier(.22, 1, .36, 1) both;
}

.hm-capps-feat h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.hm-capps-feat p {
    font-size: 16px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.65;
}

/* ── Responsive ── */

@media(max-width: 900px) {
    .hm-capps-flow {
        flex-direction: column;
        gap: 12px;
    }

    .hm-capps-arrow {
        transform: rotate(90deg);
        margin: 4px 0;
    }

    .hm-capps-node {
        width: 100%;
        max-width: 280px;
        padding: 18px;
    }
}

/* ════════════════════════════════════════════════════════════════
   BACKUP
   ════════════════════════════════════════════════════════════════ */
.hm-backup {
    padding: var(--sec-y) 24px;
}

.hm-backup-badge {
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}

.hm-bflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hm-bnode {
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    padding: 24px 26px;
    text-align: center;
    min-width: 150px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s;
    z-index: 1;
}

.hm-bnode::after {
    content: '';
    position: absolute;
    left: -50%;
    bottom: -120px;
    width: 200%;
    height: 120px;
    background: rgba(var(--blue-rgb), 0.06);
    border-radius: 40% 60% 0 0;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.hm-bnode:hover {
    border-color: var(--mist);
}

.hm-bnode:hover::after {
    bottom: -40px;
    animation: wave-sway 2s infinite ease-in-out;
}

.hm-bnode .bn-icon,
.hm-bnode h3,
.hm-bnode p {
    position: relative;
    z-index: 1;
}

.hm-bnode .bn-icon {
    font-size: 26px;
    margin-bottom: 6px;
}

.hm-bnode .bn-icon svg,
.hm-bfeat .bf-icon svg {
    width: 32px;
    height: 32px;
    color: var(--blue);
    margin: 0 auto;
}

.hm-bnode h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.hm-bnode p {
    font-size: 16px;
    font-weight: 600;
    color: var(--slate);
}

.hm-barrow {
    color: var(--silver);
    font-size: 18px;
}

.hm-bstats {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hm-bstat {
    text-align: center;
}

.hm-bstat .bs-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -1px;
    line-height: 1;
}

.hm-bstat .bs-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.hm-bfeat {
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    padding: 24px 18px;
    text-align: center;
    transition: border-color .25s, box-shadow .25s;
}

.hm-bfeat:hover {
    border-color: var(--mist);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.hm-bfeat h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.hm-bfeat p {
    font-size: 17px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.65;
}

@media(max-width: 900px) {
    .hm-bflow {
        flex-direction: column;
        gap: 12px;
    }

    .hm-barrow {
        transform: rotate(90deg);
        margin: 4px 0;
    }

    .hm-bnode {
        width: 100%;
        max-width: 280px;
        padding: 18px;
    }

    .hm-bstats {
        gap: 24px 10px;
        justify-content: space-evenly;
    }

    .hm-bstat {
        width: 40%;
    }

    .hm-bstat .bs-num {
        font-size: 24px;
    }
}

@media(max-width: 480px) {

    .hm-bstat {
        width: 100%;
    }
}

/* ════════════════════════════════════════════════════════════════
   JOURNEY
   ════════════════════════════════════════════════════════════════ */
.hm-journey {
    padding: var(--sec-y) 24px;
}

.hm-jtrack {
    max-width: 700px;
    margin: 0 auto;
}

.hm-jstep {
    display: flex;
    gap: 18px;
}

.hm-jleft {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 44px;
}

.hm-jnum {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--snow);
    border: 2px solid var(--mist);
    color: var(--blue);
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.hm-jline {
    width: 2px;
    flex-grow: 1;
    background: var(--mist);
    margin: 4px 0;
}

.hm-jcard {
    padding: 26px 24px;
    flex-grow: 1;
    margin-bottom: 16px;
    transition: border-color .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}

.hm-jcard::after {
    content: '';
    position: absolute;
    left: -50%;
    bottom: -120px;
    width: 200%;
    height: 120px;
    background: rgba(var(--blue-rgb), 0.06);
    border-radius: 40% 60% 0 0;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.hm-jcard:hover {
    border-color: var(--mist);
}

.hm-jcard:hover::after {
    bottom: -40px;
    animation: wave-sway 2s infinite ease-in-out;
}

.hm-jcard>* {
    position: relative;
    z-index: 1;
}

.hm-jcard h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.hm-jcard .jt {
    font-size: 15px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 8px;
}

.hm-jcard p {
    font-size: 17px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 12px;
}

.hm-jtags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hm-jtags span {
    padding: 4px 10px;
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate);
}

/* ════════════════════════════════════════════════════════════════
   CLIENTS
   ════════════════════════════════════════════════════════════════ */
.hm-clients {
    padding: var(--sec-y) 24px;
    overflow: hidden;
}

.hm-clients-link {
    text-align: center;
    margin-top: 40px;
}

/* ════════════════════════════════════════════════════════════════
   BENEFITS
   ════════════════════════════════════════════════════════════════ */
.hm-benefits {
    padding: var(--sec-y) 24px;
}

.hm-ben-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
}

.hm-ben-item {
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}

.hm-ben-item::after {
    content: '';
    position: absolute;
    left: -50%;
    bottom: -120px;
    width: 200%;
    height: 120px;
    background: rgba(var(--blue-rgb), 0.06);
    border-radius: 40% 60% 0 0;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.hm-ben-item:hover {
    border-color: var(--mist);
}

.hm-ben-item:hover::after {
    bottom: -40px;
    animation: wave-sway 2s infinite ease-in-out;
}

.hm-ben-item img,
.hm-ben-item h3,
.hm-ben-item p {
    position: relative;
    z-index: 1;
}

.hm-ben-item img {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    object-fit: contain;
}

.hm-ben-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.hm-ben-item p {
    font-size: 17px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.65;
}

@media(max-width: 900px) {
    .hm-ben-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ════════════════════════════════════════════════════════════════
   PARTNER
   ════════════════════════════════════════════════════════════════ */
.hm-partner {
    padding: var(--sec-y) 24px;
    text-align: center;
}

.hm-partner h2 {
    font-size: 35px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -.4px;
}

.hm-partner p {
    font-size: 17px;
    font-weight: 600;
    color: var(--slate);
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.hm-partner-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════════════════════ */
.hm-mod-item,
.hm-integ-item,
.hm-efeat,
.hm-bfeat,
.hm-ben-item,
.hm-jcard {
    opacity: 0;
    animation: none;
}

.hm-mod-item.hm-vis,
.hm-integ-item.hm-vis,
.hm-efeat.hm-vis,
.hm-bfeat.hm-vis,
.hm-ben-item.hm-vis,
.hm-jcard.hm-vis {
    animation: mni-rise .5s cubic-bezier(.22, 1, .36, 1) both;
}

/* ════════════════════════════════════════════════════════════════
   SVG Icon Sizing & Colors (Overrides for Emojis)
   ════════════════════════════════════════════════════════════════ */

.hm-ecard .ec-icon svg,
.hm-efeat .ef-icon svg,
.hm-ben-item .ec-icon svg {
    width: 32px;
    height: 32px;
    color: var(--blue);
    margin: 0 auto;
}

.hm-eplus svg {
    width: 24px;
    height: 24px;
    color: var(--silver);
    opacity: 0.5;
}

.hm-roles .hm-role svg {
    width: 15px;
    height: 15px;
    color: var(--silver);
    flex-shrink: 0;
    transition: color .2s;
}

.hm-roles .hm-role:hover svg {
    color: var(--blue);
}

/* See for yourself */

@keyframes hmSimFadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hmSimPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

@keyframes hmSimSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hmSimPopIn {
    0% {
        transform: scale(.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes hmSimGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(var(--blue-rgb), 0);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(var(--blue-rgb), .12);
    }
}

.hm-sim {
    padding: var(--sec-y) 24px;
    position: relative;
    overflow: hidden;
}

/* ════ SIM — animated grid background ════ */

.hm-sim .hm-mx {
    position: relative;
    z-index: 1;
}

.hm-sim-card {
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    transition: border-color .25s;
}

.hm-sim-card::after {
    content: '';
    position: absolute;
    left: -50%;
    bottom: -120px;
    width: 200%;
    height: 120px;
    background: rgba(var(--blue-rgb), 0.06);
    border-radius: 40% 60% 0 0;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.hm-sim-card:hover::after {
    bottom: -40px;
    animation: wave-sway 2s infinite ease-in-out;
}

.hm-sim-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--snow);
    border-bottom: 1px solid var(--mist);
    font-size: 17px;
    font-weight: 700;
    color: var(--slate);
}

.hm-sim-disclaimer svg {
    color: var(--blue);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hm-sim-chat {
    padding: 15px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 60px;
    max-height: 380px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.hm-sim-chat::-webkit-scrollbar {
    width: 6px;
}

.hm-sim-chat::-webkit-scrollbar-track {
    background: transparent;
}

.hm-sim-chat::-webkit-scrollbar-thumb {
    background: var(--mist);
    border-radius: 10px;
}

.hm-sim-chat::-webkit-scrollbar-thumb:hover {
    background: var(--mist);
}

.hm-sim-row {
    display: flex;
}

.hm-sim-row--user {
    justify-content: flex-end;
}

.hm-sim-row--bot {
    justify-content: flex-start;
}

.hm-sim-bubble {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 12px;
    margin: 0 18px 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.65;
    animation: hmSimFadeUp .3s ease both;
}

.hm-sim-bubble--user {
    background: var(--ink);
    color: var(--white);
    border-radius: 12px 12px 4px 12px;
}

.hm-sim-bubble--bot {
    background: var(--snow);
    color: var(--ink);
    border: 2px solid var(--mist);
    margin: 0 auto;
    border-radius: 12px 12px 12px 4px;
}

.hm-sim-acard {
    margin: 0 18px 10px;
    border-radius: var(--r-xl);
    border: 2px solid var(--mist);
    padding: 12px 14px;
    background: var(--snow);
    animation: hmSimFadeUp .4s ease both;
    transition: border-color .3s, background .3s;
}

.hm-sim-acard,
.hm-sim-row {
    flex-shrink: 0;
    height: auto;
    text-align: start;
}

.hm-sim-acard--active {
    border-color: var(--blue-xl);
    animation: hmSimFadeUp .4s ease both, hmSimGlow 2s ease infinite;
}

.hm-sim-acard--done {
    border-color: var(--green-xl);
    background: var(--green-l);
}

.hm-sim-acard-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hm-sim-acard-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.hm-sim-acard-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--slate);
    margin-top: 2px;
    transition: color .3s;
}

.hm-sim-acard-sub--ok {
    color: var(--green-d);
}

.hm-sim-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all .3s;
}

.hm-sim-check--spin {
    background: var(--blue-l);
    border: 2px solid var(--blue-xl);
}

.hm-sim-check--done {
    background: var(--green);
    color: var(--white);
    animation: hmSimPopIn .4s cubic-bezier(.34, 1.56, .64, 1) both;
}

.hm-sim-bar-wrap {
    height: 5px;
    background: var(--mist);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.hm-sim-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--blue);
    width: 0;
    transition: width 1s cubic-bezier(.22, 1, .36, 1);
}

.hm-sim-bar-fill--done {
    background: var(--green);
}

.hm-sim-spinner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--mist);
    border-top-color: var(--blue);
    animation: hmSimSpin .7s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

.hm-sim-modwrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.hm-sim-modtag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid;
    animation: hmSimPopIn .35s cubic-bezier(.34, 1.56, .64, 1) both;
}

.hm-sim-emaillist {
    margin-top: 8px;
}

.hm-sim-emailrow {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--mist);
    animation: hmSimFadeUp .3s ease both;
    font-size: 12px;
    font-weight: 600;
}

.hm-sim-emailrow:last-child {
    border-bottom: none;
}

.hm-sim-email-addr {
    font-family: monospace;
    color: var(--ink);
    flex: 1;
    min-width: 0;
    text-align: start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hm-sim-email-dept {
    font-size: 10px;
    color: var(--slate);
}

.hm-sim-email-ok {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 4px;
    background: var(--green-xl);
    color: var(--green-d);
    font-weight: 700;
}

.hm-sim-summary-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}

.hm-sim-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.hm-sim-summary-item {
    background: var(--white);
    border-radius: var(--r-s);
    padding: 8px 10px;
    border: 2px solid var(--mist);
}

.hm-sim-sk {
    font-size: 10px;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 2px;
}

.hm-sim-sv {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
}

.hm-sim-input {
    padding: 15px 15px 15px;

}

.hm-sim-ind-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.hm-sim-ind-btn {
    padding: 13px 10px;
    border-radius: var(--r-l);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background: var(--white);
    color: var(--ink);
    border: 2px solid var(--mist);
    transition: border-color .18s, background .18s, color .18s;
    text-align: center;
    animation: hmSimFadeUp .3s ease both;
    font-family: var(--sans);
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.hm-sim-ind-btn:hover {
    border-color: var(--blue);
    background: var(--blue-l);
    color: var(--blue);
}

.hm-sim-ind-btn::after {
    content: '';
    position: absolute;
    left: -50%;
    bottom: -120px;
    width: 200%;
    height: 95%;
    background: rgba(var(--blue-rgb), 0.06);
    border-radius: 40% 60% 0 0;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.hm-sim-ind-btn:hover::after,
.hm-sim-ind-btn.is-active::after {
    bottom: -5%;
    animation: wave-sway 2s infinite ease-in-out;
}

.hm-sim-ind-btn.is-active {
    border-color: var(--blue);
    background: var(--blue-l);
    color: var(--blue);
}

.hm-sim-or {
    text-align: center;
    font-size: 12px;
    color: var(--slate);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.hm-sim-or button {
    background: none;
    border: none;
    color: var(--blue);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    font-family: var(--sans);
}

.hm-sim-custom-row {
    display: flex;
    gap: 8px;
    animation: hmSimFadeUp .3s ease both;
    position: relative;
    z-index: 2;
}

.hm-sim-custom-inp {
    flex: 1;
    padding: 10px 14px;
    border-radius: var(--r-m);
    border: 2px solid var(--mist);
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    outline: none;
    font-family: var(--sans);
    transition: border-color .2s;
}

.hm-sim-custom-inp:focus {
    border-color: var(--blue);
}

.hm-sim-custom-go {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 14px;
    color: var(--mnx-text);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border-radius: var(--r-m);
    border: 2px solid var(--mist);
    background: var(--white);
    gap: 6px;
    transition: 0.2s;
}

.hm-sim-custom-go:hover {
    opacity: .88;
}

.hm-sim-cta {
    padding: 0 18px;
}

.hm-sim-cta-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 0 18px;
    animation: hmSimFadeUp .4s ease both;
    position: relative;
    z-index: 2;
}

.hm-sim-ctabtn {
    animation: hmSimPopIn .5s cubic-bezier(.34, 1.56, .64, 1) both;
}

.hm-sim-restart {
    font-size: 15px;
    font-weight: 700;
    color: var(--slate);
    background: none;
    border: 2px solid var(--mist);
    border-radius: var(--r-s);
    padding: 6px 14px;
    cursor: pointer;
    font-family: var(--sans);
    transition: background .15s, color .15s;
}

.hm-sim-restart:hover {
    background: var(--snow);
    color: var(--ink);
}

@keyframes hmBalloonRise {
    0% {
        transform: translateX(0) translateY(0) rotate(-3deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translateX(var(--bx)) translateY(-55vh) rotate(3deg);
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(calc(var(--bx) * 1.3)) translateY(-105vh) rotate(-2deg);
        opacity: 0;
    }
}

@keyframes hmConfettiFall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.hm-sim-balloon {
    position: absolute;
    width: var(--bs);
    height: calc(var(--bs) * 1.25);
    border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
    bottom: -60px;
    left: var(--bl);
    pointer-events: none;
    z-index: 10;
    animation: hmBalloonRise var(--bd) cubic-bezier(.4, 0, .2, 1) forwards;
    animation-delay: var(--bdelay);
}

.hm-sim-balloon::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5px;
    height: 14px;
    background: rgba(0, 0, 0, .2);
}

.hm-sim-confetti {
    position: absolute;
    top: -10px;
    left: var(--cl);
    width: var(--cw);
    height: var(--ch);
    border-radius: var(--cr);
    pointer-events: none;
    z-index: 10;
    animation: hmConfettiFall var(--cd) linear forwards;
    animation-delay: var(--cdelay);
    opacity: 0;
}

@media (max-width: 480px) {
    .hm-sim-ind-grid {
        grid-template-columns: 1fr;
    }

    .hm-sim-summary-grid {
        grid-template-columns: 1fr;
    }

    .hm-sim-bubble {
        max-width: 90%;
    }
}

.mnx-page-inner {
    position: relative;
}

.app-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 42, 74, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-modal-overlay.is-active {
    display: block;
    opacity: 1;
}

.app-modal-box {
    position: sticky;
    top: 20px;
    margin: 20px auto;
    background: var(--white, var(--white));
    border-radius: var(--r-xl, 22px);
    width: 90%;
    max-width: 420px;
    padding: 32px 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    height: auto;
    max-height: calc(100vh - var(--mnx-topbar, 60px) - 40px);
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-modal-overlay.is-active .app-modal-box {
    transform: translateY(0) scale(1);
}

.app-modal-box::-webkit-scrollbar {
    width: 5px;
}

.app-modal-box::-webkit-scrollbar-thumb {
    background: var(--mist, var(--mist));
    border-radius: 10px;
}

.app-modal-close {
    position: absolute;
    top: 16px;
    inset-inline-end: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--silver, var(--silver));
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.app-modal-close:hover {
    color: var(--ink, var(--ink));
}

.app-modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.app-modal-header img {
    margin: 0 auto 12px;
    object-fit: contain;
}

.app-modal-header h3 {
    margin: 0 0 6px;
    color: var(--ink, var(--ink));
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.app-modal-header p {
    margin: 0;
    color: var(--slate, var(--slate));
    font-size: 15px;
    font-weight: 600;
}

/* New UI Elements for Realism */
.sim-badge {
    display: inline-block;
    background: var(--blue-l);
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sim-label {
    display: block;
    text-align: start;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate, var(--slate));
    margin-bottom: 8px;
}

.sim-select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--mist, var(--mist));
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink, var(--ink));
    background: var(--snow);
    outline: none;
    margin-bottom: 20px;
    font-family: inherit;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2364748b%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.sim-select:focus {
    border-color: var(--blue, var(--blue));
    box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.1);
}

.sim-deploy-btn {
    width: 100%;
    background: var(--ink, var(--ink));
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.sim-deploy-btn:hover {
    background: var(--code-bg);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* Steps CSS */
.sim-step {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    opacity: 0.3;
    transform: translateX(10px);
    transition: all 0.4s ease;
}

.sim-step.is-active,
.sim-step.is-done {
    opacity: 1;
    transform: translateX(0);
}

.sim-step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    flex-shrink: 0;
}

.sim-step.is-active .sim-step-icon {
    border: 2px solid var(--mist, var(--mist));
    border-top-color: var(--blue, var(--blue));
    animation: hmSimSpin 0.8s linear infinite;
}

.sim-step.is-done .sim-step-icon {
    background: var(--green);
    color: white;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.sim-step-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink2, var(--code-line));
}

.sim-success-msg {
    display: none !important;
    text-align: center;
    padding: 16px;
    background: var(--green-l);
    border: 2px solid var(--green-xl);
    border-radius: var(--r-m, 14px);
    color: var(--green-d);
    font-size: 15px;
    font-weight: 700;
    margin-top: 24px;
    animation: hmSimFadeUp 0.4s ease both;
}

.hm-sim-ind-grid:hover .hm-sim-ind-btn.is-active:not(:hover) {
    border-color: var(--mist);
    background: var(--white);
    color: var(--ink);
}

.hm-sim-ind-grid:hover .hm-sim-ind-btn.is-active:not(:hover)::after {
    bottom: -120px;
    animation: none;
}

.hm-mod-grid:hover .hm-mod-item.is-active:not(:hover) {
    border-color: var(--mist) !important;
}

.hm-mod-grid:hover .hm-mod-item.is-active:not(:hover) h3 {
    color: var(--ink) !important;
}

.hm-mod-grid:hover .hm-mod-item.is-active:not(:hover)::after {
    bottom: -120px !important;
    animation: none !important;
}
/* ── One-order story (hm-flow) — integration as a narrative ── */
.hm-flow { padding: var(--sec-y) 24px; }   /* match .hm-sim: side gutter so the card never touches the screen edge on mobile */
.hm-flow-card { padding: 30px 40px; max-width: 600px; margin: 36px auto 0; }
.hm-flow-steps { list-style: none; margin: 0; padding: 0; max-width: none; text-align: start; }
@media (max-width: 600px) { .hm-flow-card { padding: 22px 20px; } }
.hm-flow-step { display: flex; gap: 16px; align-items: flex-start; padding-block: 16px; position: relative; }
.hm-flow-step:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 23px; inset-block-start: 54px; block-size: calc(100% - 30px); inline-size: 2px; background: var(--blue-xl); }
.hm-flow-ico { flex: 0 0 auto; inline-size: 48px; block-size: 48px; border-radius: 14px; background: var(--blue-l); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; position: relative; z-index: 1; }
.hm-flow-body strong { display: block; font-size: 18px; font-weight: 700; color: var(--ink); margin-block-end: 2px; }
.hm-flow-body p { font-size: 15px; color: var(--slate); margin: 0; line-height: 1.6; }

@media (max-width: 600px) { .hm-flow-step::after { inset-inline-start: 19px !important; } .hm-flow-ico { inline-size: 40px; block-size: 40px; font-size: 17px; } }

/* ── hm-flow live animation: one order flows through the platform ── */
.hm-flow-steps { position: relative; }
/* fill line + traveling packet appear only once JS primes the section */
.hm-flow.is-primed .hm-flow-steps::before,
.hm-flow.is-primed .hm-flow-steps::after { content: ""; position: absolute; z-index: 0; }
.hm-flow.is-primed .hm-flow-steps::before { inset-inline-start: 23px; inset-block: 40px; inline-size: 3px; border-radius: 3px; background: linear-gradient(var(--blue), var(--green)); transform: scaleY(0); transform-origin: top; }
.hm-flow.is-primed .hm-flow-steps::after { inset-inline-start: 19px; inset-block-start: 3%; inline-size: 12px; block-size: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(var(--blue-rgb), .16); opacity: 0; }
.hm-flow.is-primed .hm-flow-step { opacity: .4; transition: opacity .5s ease; }
.hm-flow.is-primed .hm-flow-ico { transform: scale(.86); transition: background .45s ease, color .45s ease, transform .45s ease, box-shadow .45s ease; }
.hm-flow.is-primed .hm-flow-body { position: relative; z-index: 1; }
/* running: line fills, packet rides down, each step lights up in turn */
.hm-flow.is-running .hm-flow-steps::before { animation: hmFlowFill 3.4s cubic-bezier(.4, 0, .2, 1) forwards; }
.hm-flow.is-running .hm-flow-steps::after { animation: hmFlowPacket 3.4s cubic-bezier(.45, 0, .3, 1) forwards; }
.hm-flow.is-running .hm-flow-step { animation: hmFlowStepIn .5s ease forwards; }
.hm-flow.is-running .hm-flow-ico { animation: hmFlowIcoOn .5s ease forwards; }
.hm-flow.is-running .hm-flow-step:nth-child(1), .hm-flow.is-running .hm-flow-step:nth-child(1) .hm-flow-ico { animation-delay: .15s; }
.hm-flow.is-running .hm-flow-step:nth-child(2), .hm-flow.is-running .hm-flow-step:nth-child(2) .hm-flow-ico { animation-delay: .75s; }
.hm-flow.is-running .hm-flow-step:nth-child(3), .hm-flow.is-running .hm-flow-step:nth-child(3) .hm-flow-ico { animation-delay: 1.35s; }
.hm-flow.is-running .hm-flow-step:nth-child(4), .hm-flow.is-running .hm-flow-step:nth-child(4) .hm-flow-ico { animation-delay: 1.95s; }
.hm-flow.is-running .hm-flow-step:nth-child(5), .hm-flow.is-running .hm-flow-step:nth-child(5) .hm-flow-ico { animation-delay: 2.55s; }
@keyframes hmFlowFill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hmFlowPacket { 0% { inset-block-start: 2%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { inset-block-start: 94%; opacity: 0; } }
@keyframes hmFlowStepIn { to { opacity: 1; } }
@keyframes hmFlowIcoOn { to { background: var(--blue); color: var(--white); transform: scale(1); box-shadow: 0 8px 20px rgba(var(--blue-rgb), .28); } }
@media (prefers-reduced-motion: reduce) {
    .hm-flow.is-primed .hm-flow-step { opacity: 1; }
    .hm-flow.is-primed .hm-flow-ico { transform: none; }
    .hm-flow.is-primed .hm-flow-steps::before { transform: scaleY(1); }
    .hm-flow.is-primed .hm-flow-steps::after { opacity: 0; }
    .hm-flow.is-running .hm-flow-steps::before, .hm-flow.is-running .hm-flow-steps::after, .hm-flow.is-running .hm-flow-step, .hm-flow.is-running .hm-flow-ico { animation: none; }
}

/* ── Ready apps showcase (hm-apps) — 6 cards linking to app pages ── */
.hm-apps { padding: var(--sec-y) 24px; }   /* match .hm-sim/.hm-flow: side gutter so cards never touch the screen edge on mobile */
@media (max-width: 900px) { .hm-apps, .hm-flow { padding-block: 52px; } }
.hm-apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block-start: 34px; }
.hm-app-card { display: block; text-align: start; padding: 24px; text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s; }
.hm-app-card:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(var(--blue-rgb), .10); }
.hm-app-ico { display: inline-flex; align-items: center; justify-content: center; inline-size: 46px; block-size: 46px; border-radius: var(--r-m); background: var(--blue-l); color: var(--blue); font-size: 22px; margin-block-end: 14px; }
.hm-app-card:nth-child(1) .hm-app-ico { background: var(--green-l); color: var(--green); }
.hm-app-card strong { display: block; font-size: 17px; font-weight: 700; color: var(--ink); margin-block-end: 4px; }
.hm-app-card p { font-size: 14px; color: var(--slate); margin: 0; }
@media (max-width: 900px) { .hm-apps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .hm-apps-grid { grid-template-columns: 1fr; } }
