:root {
    --mh-cyan: #00c6f3;
    --mh-orange: #ff6400;
    --mh-white: #f8f8fb;
    --mh-muted: #9d9dac;
    --mh-deep: #050610;
}

.mh-hero {
    --mh-hero-min-height: 760px;
    --mh-hero-overlay: .72;
    --mh-hero-focal-x: 50%;
    --mh-hero-focal-y: 50%;
    --mh-hero-bg: linear-gradient(135deg, #080914, #201507 60%, #05060d);
    position: relative;
    isolation: isolate;
    min-height: var(--mh-hero-min-height);
    width: 100vw;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-image: var(--mh-hero-bg);
    background-size: cover;
    background-position: var(--mh-hero-focal-x) var(--mh-hero-focal-y);
    background-repeat: no-repeat;
    color: var(--mh-white);
}

.mh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background: inherit;
    background-size: cover;
    background-position: inherit;
    transform: scale(1.01);
}

.mh-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(3,4,13,.91) 0%, rgba(3,4,13,.77) 28%, rgba(3,4,13,.44) 57%, rgba(3,4,13,.62) 100%),
        linear-gradient(180deg, rgba(2,3,9,.43) 0%, rgba(2,3,9,.18) 44%, rgba(2,3,9,.90) 100%);
    opacity: var(--mh-hero-overlay);
}

.mh-hero__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 57% 56%, rgba(255,133,0,.18), transparent 28%),
        radial-gradient(circle at 43% 22%, rgba(0,198,243,.07), transparent 22%);
    pointer-events: none;
}

.mh-hero__inner {
    width: min(100% - 48px, 1210px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 570px) 1fr;
    position: relative;
    z-index: 2;
}

.mh-hero__content {
    grid-column: 1;
    padding: 74px 0 64px;
}

.mh-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--mh-cyan);
    font: 800 12px/1.1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.mh-hero__eq,
.mh-hero__right-eq {
    display: flex;
    align-items: flex-end;
    gap: 2px;
}

.mh-hero__eq i,
.mh-hero__right-eq i {
    display: block;
    width: 3px;
    height: var(--mh-bar-h);
    background: var(--mh-cyan);
    border-radius: 2px 2px 0 0;
    opacity: .9;
}

.mh-hero__eq--small {
    height: 40px;
    min-width: 102px;
}

.mh-hero__eq--small i {
    width: 3px;
    transform-origin: bottom;
    transform: scaleY(.72);
}

.mh-hero__right-eq {
    position: absolute;
    right: -14px;
    top: 45%;
    z-index: 1;
    height: 122px;
    gap: 5px;
    align-items: center;
    opacity: .58;
    pointer-events: none;
}

.mh-hero__right-eq i {
    width: 4px;
    transform: scaleY(1.85);
}

.mh-hero__title {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.035em;
}

.mh-hero__title-line {
    display: block;
    font-size: clamp(52px, 4.35vw, 74px);
}

.mh-hero__title-line--white {
    color: var(--mh-white);
}

.mh-hero__title-line--cyan {
    color: var(--mh-cyan);
    margin-top: 8px;
}

.mh-hero__description {
    max-width: 570px;
    margin: 27px 0 0;
    color: var(--mh-muted);
    font: 600 18px/1.48 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -.01em;
}

.mh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 36px;
}

.mh-hero__button {
    min-height: 54px;
    padding: 0 28px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font: 800 13px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: .015em;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.mh-hero__button:hover,
.mh-hero__button:focus-visible {
    transform: translateY(-2px);
}

.mh-hero__button--primary {
    background: var(--mh-orange);
    color: #fff !important;
    border: 1px solid var(--mh-orange);
    box-shadow: 0 9px 30px rgba(255,100,0,.14);
}

.mh-hero__button--primary:hover,
.mh-hero__button--primary:focus-visible {
    background: #ff741d;
    box-shadow: 0 12px 34px rgba(255,100,0,.23);
}

.mh-hero__button--secondary {
    color: var(--mh-cyan) !important;
    background: rgba(8,13,18,.35);
    border: 1px solid var(--mh-cyan);
}

.mh-hero__button--secondary:hover,
.mh-hero__button--secondary:focus-visible {
    background: rgba(0,198,243,.08);
}

.mh-hero__stats {
    display: flex;
    align-items: flex-start;
    gap: 43px;
    margin-top: 47px;
}

.mh-hero__stat {
    min-width: 66px;
}

.mh-hero__stat strong,
.mh-hero__stat span {
    display: block;
}

.mh-hero__stat strong {
    color: var(--mh-cyan);
    font: 800 17px/1.15 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -.02em;
}

.mh-hero__stat span {
    margin-top: 4px;
    color: #6e7080;
    font: 700 10px/1.15 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: .11em;
}

/* Gutenberg editor preview */
.editor-styles-wrapper .mh-hero {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 980px) {
    .mh-hero__inner {
        grid-template-columns: 1fr;
        width: min(100% - 40px, 760px);
    }
    .mh-hero__content {
        max-width: 640px;
    }
    .mh-hero__right-eq {
        right: -36px;
        opacity: .35;
    }
}

@media (max-width: 700px) {
    .mh-hero {
        min-height: max(640px, var(--mh-hero-min-height));
        align-items: flex-end;
    }
    .mh-hero__inner {
        width: min(100% - 32px, 620px);
    }
    .mh-hero__content {
        padding: 88px 0 54px;
    }
    .mh-hero__eyebrow {
        font-size: 10px;
        letter-spacing: .15em;
    }
    .mh-hero__eq--small {
        min-width: 74px;
        transform: scale(.78);
        transform-origin: left center;
        margin-right: -14px;
    }
    .mh-hero__title-line {
        font-size: clamp(46px, 14vw, 66px);
    }
    .mh-hero__description {
        font-size: 16px;
        max-width: 95%;
    }
    .mh-hero__actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 360px;
    }
    .mh-hero__button {
        width: 100%;
    }
    .mh-hero__stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 23px 34px;
        max-width: 320px;
        margin-top: 38px;
    }
    .mh-hero__right-eq {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mh-hero__button {
        transition: none;
    }
}
