/* MHAG home header and hero refresh — 1.18.1 */
.home-header {
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(6, 47, 68, .09);
    box-shadow: 0 8px 30px rgba(6, 47, 68, .045);
}

.home-nav-wrap {
    min-height: 78px;
    gap: 30px;
}

.home-brand {
    gap: 10px;
    flex: 0 0 auto;
}

.home-brand img {
    width: 112px;
    height: 48px;
}

.home-brand .brand-copy {
    border-right: 1px solid #d9e5eb;
    padding: 0 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.25;
}

.home-brand .brand-copy b {
    color: #07384f;
    font-size: 11px;
    letter-spacing: .08em;
}

.home-brand .brand-copy small {
    color: #718490;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0;
}

.home-header .enhanced-nav {
    gap: 25px;
    color: #173d51;
    font-size: 12px;
}

.home-header .main-nav > a,
.home-header .nav-more > summary {
    min-height: 78px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
}

.home-header .main-nav > a::after {
    right: 0;
    left: auto;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0aaa67, #2b86bd);
    transform-origin: right;
}

.home-header .main-nav > a.is-current {
    color: #0d6da3;
}

.home-header .main-nav > a.is-current::after {
    transform: scaleX(1);
}

.nav-more {
    position: relative;
}

.nav-more summary {
    list-style: none;
    gap: 8px;
    font-weight: 700;
}

.nav-more summary::-webkit-details-marker {
    display: none;
}

.nav-more summary > span {
    border: solid #587180;
    border-width: 0 0 1.5px 1.5px;
    width: 6px;
    height: 6px;
    transform: rotate(-45deg) translateY(-1px);
    transition: transform .2s;
}

.nav-more[open] summary > span {
    transform: rotate(135deg) translate(-1px, -1px);
}

.nav-menu {
    position: absolute;
    z-index: 80;
    top: calc(100% - 8px);
    left: 0;
    min-width: 205px;
    padding: 9px;
    background: #fff;
    border: 1px solid #dbe6ec;
    box-shadow: 0 22px 55px rgba(6, 47, 68, .17);
}

.nav-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 25px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-top: 1px solid #dbe6ec;
    border-left: 1px solid #dbe6ec;
    transform: rotate(45deg);
}

.nav-menu a {
    position: relative;
    z-index: 1;
    display: block;
    padding: 10px 12px;
    color: #29495b;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s, color .2s;
}

.home-header .nav-menu a::after {
    display: none;
}

.nav-menu a:hover {
    color: #0c6b9e;
    background: #eff7fb;
}

.header-cta {
    min-width: 137px;
    border-radius: 4px;
    gap: 16px;
    box-shadow: 0 12px 26px rgba(34, 109, 165, .18);
}

.header-cta b {
    font-size: 17px;
    line-height: 1;
}

.hero-premium {
    min-height: 650px;
    padding: 78px 0 84px;
    background:
        radial-gradient(circle at 88% 10%, rgba(37, 133, 187, .15), transparent 31%),
        radial-gradient(circle at 12% 88%, rgba(10, 170, 103, .08), transparent 26%),
        linear-gradient(180deg, #f8fbfd 0%, #f2f7fa 100%);
}

.hero-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .36;
    pointer-events: none;
    background-image: radial-gradient(#6da4c2 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, transparent 72%);
    mask-image: linear-gradient(90deg, transparent, #000 20%, transparent 72%);
}

.hero-premium::after {
    width: 530px;
    height: 530px;
    bottom: -360px;
    border-color: rgba(34, 109, 165, .15);
}

.hero-premium .hero-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(420px, .92fr) minmax(0, 1.08fr);
    gap: 76px;
}

.hero-premium .eyebrow {
    border: 1px solid #c9dfe9;
    background: rgba(255, 255, 255, .74);
    border-radius: 99px;
    padding: 7px 13px;
    color: #176a98;
    font-size: 11px;
    box-shadow: 0 7px 18px rgba(6, 47, 68, .04);
}

.hero-premium .eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(10, 170, 103, .12);
}

.hero-premium h1 {
    max-width: 625px;
    margin: 22px 0 20px;
    color: #062f44;
    font-size: clamp(48px, 5.15vw, 76px);
    line-height: 1.12;
}

.hero-premium h1 em {
    color: #1c76ad;
}

.hero-premium h1 em::after {
    right: 2px;
    left: 2px;
    bottom: 1px;
    height: 7px;
    background: rgba(10, 170, 103, .23);
}

.hero-premium .hero-copy > p {
    max-width: 610px;
    color: #536c7b;
    font-size: 16px;
    line-height: 2.05;
}

.hero-premium .hero-actions {
    margin-top: 30px;
}

.hero-primary-action {
    min-width: 192px;
    border-radius: 4px;
}

.hero-premium .text-link {
    border-bottom-color: #9eb4c0;
    color: #173e52;
    font-size: 13px;
}

.hero-premium .trust-row {
    margin-top: 38px;
    padding-top: 21px;
    gap: 12px;
}

.hero-premium .trust-row div {
    position: relative;
    padding-right: 16px;
}

.hero-premium .trust-row div::before {
    content: "";
    position: absolute;
    top: 5px;
    right: 0;
    width: 7px;
    height: 7px;
    background: #11ad6c;
    border-radius: 50%;
}

.hero-premium .trust-row strong {
    color: #0b3c53;
    font-size: 14px;
}

.hero-premium .trust-row span {
    color: #758894;
    font-size: 10px;
}

.hero-product-stage {
    min-height: 500px;
    padding: 65px 20px 42px;
}

.hero-product-stage .soft-orbit {
    pointer-events: none;
}

.hero-product-stage .orbit-one {
    width: 465px;
    height: 465px;
    border-color: rgba(34, 109, 165, .28);
}

.hero-product-stage .orbit-two {
    width: 310px;
    height: 310px;
    background: rgba(83, 163, 205, .17);
}

.hero-product-heading {
    position: absolute;
    z-index: 6;
    top: 14px;
    right: 48px;
    left: 48px;
    min-height: 52px;
    padding: 8px 13px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid #d8e5ec;
    display: flex;
    align-items: center;
    gap: 11px;
    direction: rtl;
    box-shadow: 0 13px 34px rgba(6, 47, 68, .1);
}

.status-pulse {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0aaa67;
    box-shadow: 0 0 0 5px rgba(10, 170, 103, .12);
}

.hero-product-heading div {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.hero-product-heading small {
    color: #7b8d97;
    font-size: 8px;
}

.hero-product-heading strong {
    color: #123e54;
    font-size: 10px;
}

.hero-product-tag {
    margin-right: auto;
    padding: 4px 8px;
    color: #08794c;
    background: #e7f8f0;
    border: 1px solid #c8eadb;
    font-size: 8px;
    font-weight: 700;
}

.hero-product-stage .browser-card {
    width: min(650px, 100%);
    border-radius: 5px;
    box-shadow: 0 36px 85px rgba(6, 47, 68, .28);
}

.hero-product-stage .browser-bar {
    background: linear-gradient(90deg, #07384e, #062f44);
}

.hero-capability-card {
    position: absolute;
    z-index: 7;
    direction: rtl;
    min-width: 188px;
    padding: 12px 13px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #d7e4eb;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 17px 42px rgba(6, 47, 68, .16);
}

.hero-capability-card i {
    flex: 0 0 auto;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    position: relative;
}

.hero-capability-card i::before,
.hero-capability-card i::after {
    content: "";
    position: absolute;
}

.hero-capability-card div {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.hero-capability-card strong {
    color: #123e54;
    font-size: 10px;
}

.hero-capability-card span {
    color: #748792;
    font-size: 8px;
}

.capability-web {
    top: 95px;
    left: -8px;
}

.capability-web i {
    background: #e5f3fb;
}

.capability-web i::before {
    inset: 7px 6px;
    border: 2px solid #287eaf;
    border-radius: 2px;
}

.capability-web i::after {
    right: 10px;
    bottom: 5px;
    width: 9px;
    height: 2px;
    background: #287eaf;
}

.capability-excel {
    right: -8px;
    bottom: 58px;
}

.capability-excel i {
    background: #e5f7ef;
}

.capability-excel i::before {
    inset: 7px;
    border: 2px solid #0a9c61;
}

.capability-excel i::after {
    top: 8px;
    bottom: 8px;
    right: 14px;
    width: 2px;
    background: #0a9c61;
    box-shadow: -5px 0 0 rgba(10, 156, 97, .42), 5px 0 0 rgba(10, 156, 97, .42);
}

.hero-product-stage .hero-brand-stamp {
    left: 50%;
    right: auto;
    bottom: 9px;
    transform: translateX(-50%);
    min-width: 228px;
    justify-content: center;
    border-right-width: 1px;
    border-top: 3px solid #0aaa67;
    padding: 8px 12px;
}

.hero-product-stage .hero-brand-stamp img {
    width: 63px;
    height: 27px;
}

.hero-product-stage .hero-brand-stamp span {
    font-size: 9px;
}

.hero-premium + .channel-strip .channel-strip-inner {
    min-height: 92px;
}

.hero-premium + .channel-strip .channel-strip-inner strong {
    font-size: 17px;
}

.hero-premium + .channel-strip .channel-strip-inner span {
    font-size: 12px;
}

.hero-premium + .channel-strip .button {
    min-height: 44px;
    box-shadow: none;
}

@media (max-width: 1120px) {
    .home-header .enhanced-nav {
        gap: 17px;
        font-size: 11px;
    }

    .home-brand .brand-copy {
        display: none;
    }

    .hero-premium .hero-grid {
        grid-template-columns: minmax(390px, .9fr) minmax(0, 1.1fr);
        gap: 46px;
    }
}

@media (max-width: 980px) {
    .home-nav-wrap {
        min-height: 72px;
    }

    .home-brand img {
        width: 105px;
        height: 44px;
    }

    .hero-premium {
        padding-top: 56px;
    }

    .hero-premium .hero-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .hero-premium .hero-copy {
        max-width: 720px;
    }

    .hero-product-stage {
        width: min(760px, 100%);
        margin-inline: auto;
    }
}

@media (max-width: 680px) {
    .home-nav-wrap {
        min-height: 66px;
    }

    .home-brand img {
        width: 92px;
        height: 39px;
    }

    .header-cta {
        min-width: 0;
        padding-inline: 12px;
        gap: 7px;
    }

    .header-cta b {
        display: none;
    }

    .hero-premium {
        min-height: 0;
        padding: 44px 0 62px;
    }

    .hero-premium::before {
        opacity: .22;
    }

    .hero-premium h1 {
        margin-top: 17px;
        font-size: clamp(40px, 12vw, 52px);
        line-height: 1.18;
    }

    .hero-premium .hero-copy > p {
        font-size: 14px;
    }

    .hero-premium .hero-actions {
        gap: 17px;
    }

    .hero-primary-action {
        width: 100%;
    }

    .hero-premium .trust-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 30px;
    }

    .hero-premium .trust-row div {
        min-height: 37px;
    }

    .hero-product-stage {
        min-height: 295px;
        padding: 48px 0 35px;
    }

    .hero-product-heading {
        top: 0;
        right: 8px;
        left: 8px;
        min-height: 45px;
    }

    .hero-product-tag,
    .hero-capability-card {
        display: none;
    }

    .hero-product-stage .browser-card {
        border-radius: 3px;
    }

    .hero-product-stage .hero-brand-stamp {
        bottom: 0;
        min-width: 190px;
    }

    .hero-product-stage .hero-brand-stamp img {
        width: 55px;
    }

    .hero-premium + .channel-strip .channel-strip-inner {
        padding-block: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-more summary > span {
        transition: none;
    }
}
