.mt-premium-home {
    --mt-premium-ink: #03181c;
    --mt-premium-cream: #fff0d2;
    --mt-premium-gold: #f2c467;
    position: relative;
    box-sizing: border-box;
    color: var(--mt-premium-cream);
    border-block: 1px solid #b9914e;
}

.mt-premium-home::before,
.mt-premium-home::after {
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.mt-premium-home::before { top: 22px; }
.mt-premium-home::after { bottom: 22px; }

.mt-premium-home .mt-premium-home__inner {
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-inline: auto;
    max-width: 1600px;
    min-height: clamp(540px, 45vw, 820px);
    padding: clamp(46px, 6vw, 100px) clamp(28px, 4vw, 72px);
}

.mt-premium-home .mt-premium-home__inner::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 39px 12px;
    border: 1px solid #edc77e3b;
    border-radius: 20px;
    background: linear-gradient(125deg, rgba(2, 14, 22, .70), rgba(3, 19, 24, .40));
    pointer-events: none;
}

.mt-premium-home .mt-premium-home__media,
.mt-premium-home .mt-premium-home__copy {
    width: min(100%, 780px);
    min-width: 0;
    text-align: center;
    text-shadow: 0 1px 10px #001014;
}

.mt-premium-home .mt-premium-home__heading h2 {
    margin: 0;
    color: #ffe0a0;
    text-shadow: 0 2px 5px #000, 0 3px 18px #001014;
    font: 400 clamp(34px, 3.35vw, 58px)/1.12 "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    letter-spacing: -.025em;
    text-align: center;
    text-wrap: balance;
}

.mt-premium-home .mt-premium-home__heading {
    margin: 0;
}

.mt-premium-home .mt-premium-home__subtitle {
    margin: 12px auto 0;
    color: #ffda91;
    text-shadow: 0 1px 5px #000, 0 2px 10px #000;
    font-family: var(--ast-global-font-family, system-ui), sans-serif;
    font-size: clamp(12px, 1vw, 15px);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: .15em;
    text-align: center;
}

/* Match the fine gold rules and diamond motifs used on the homepage. */
.mt-premium-home::before,
.mt-premium-home::after,
.mt-premium-home .mt-premium-home__heading::after,
.mt-premium-home .mt-premium-home__benefits::before,
.mt-premium-home .mt-premium-home__actions::before {
    content: "";
    display: block;
    width: min(100%, 440px);
    height: 13px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='13' viewBox='0 0 21 13'%3E%3Cpath d='M10.5 1l5.5 5.5-5.5 5.5L5 6.5z' fill='%2303181c' stroke='%23edc77e'/%3E%3Cpath d='M10.5 4l2.5 2.5-2.5 2.5L8 6.5z' fill='%23edc77e'/%3E%3C/svg%3E") center / 21px 13px no-repeat,
        linear-gradient(90deg, #edc77e00, #edc77eba 42%, #edc77eba 58%, #edc77e00) center / 100% 1px no-repeat;
}

.mt-premium-home::before,
.mt-premium-home::after {
    width: min(72%, 900px);
}

.mt-premium-home .mt-premium-home__heading::after {
    margin: 17px auto 0;
}

.mt-premium-home .mt-premium-home__benefits::before {
    margin-bottom: 3px;
}

.mt-premium-home .mt-premium-home__actions::before {
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% 0;
}

.mt-premium-home ul.mt-premium-home__benefits {
    display: grid;
    gap: 11px;
    justify-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 22px;
    padding: 0;
    list-style: none;
}

.mt-premium-home .mt-premium-home__benefits li {
    text-align: center;
    margin: 0;
    font: 400 clamp(17px, 1.55vw, 25px)/1.4 Georgia, serif;
}

.mt-premium-home .mt-premium-home__benefit-lead {
    white-space: nowrap;
}

.mt-premium-home .mt-premium-home__icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-inline-end: .42em;
    vertical-align: -.12em;
    color: var(--mt-premium-gold);
}

.mt-premium-home .mt-premium-home__benefits strong {
    color: var(--mt-premium-gold);
    font-weight: 700;
}

.mt-premium-home .mt-premium-home__actions {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    position: relative;
    padding-top: 29px;
}

.mt-premium-home a.mt-premium-home__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 24px;
    border: 1px solid #f7d384;
    border-radius: 999px;
    background: linear-gradient(120deg, #f8d98d, #d9a44e);
    color: #24190d;
    box-shadow: inset 0 1px 0 #fff0bfaa, 0 3px 12px #d5a44a26;
    font-size: clamp(15px, 1.12vw, 18px);
    font-weight: 600;
    transition: box-shadow .25s ease, border-color .25s ease;
    text-decoration: none;
    text-shadow: none;
}

.mt-premium-home a.mt-premium-home__button:hover {
    border-color: #fff0b7;
    color: #24190d;
    box-shadow: inset 0 1px 0 #fff4cd, 0 0 19px #edc77e52;
}

.mt-premium-home a.mt-premium-home__button:focus-visible {
    outline: 2px solid var(--mt-premium-cream);
    outline-offset: 4px;
}

.mt-premium-home .mt-premium-home__price {
    font: 700 clamp(17px, 1.45vw, 24px)/1.3 Georgia, serif;
    white-space: nowrap;
}

.mt-premium-home .mt-premium-home__demo {
    min-width: 0;
    width: min(100%, 720px);
    margin: 24px auto 0;
}

.mt-premium-home .mt-premium-home__demo .mt-premium-demo {
    width: 100% !important;
    margin: 0 !important;
    padding-inline: clamp(16px, 3vw, 40px) !important;
}

@media (min-width: 901px) {
    .mt-premium-home .mt-premium-home__inner {
        padding-block-start: calc(clamp(46px, 6vw, 100px) + 36px);
    }

    .mt-premium-home .mt-premium-home__inner--with-demo {
        display: grid;
        grid-template-columns: minmax(0, 1.12fr) 1px minmax(0, 1fr);
        column-gap: clamp(14px, 2vw, 36px);
    }

    .mt-premium-home .mt-premium-home__inner--with-demo::before {
        content: "";
        grid-area: 1 / 2;
        align-self: stretch;
        width: 21px;
        margin-inline-start: -10px;
        background:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'%3E%3Cpath d='m10.5 1 9.5 9.5-9.5 9.5L1 10.5z' fill='%2303181c' stroke='%23edc77e'/%3E%3Cpath d='m10.5 6 4.5 4.5-4.5 4.5L6 10.5z' fill='%23edc77e'/%3E%3C/svg%3E") center / 17px 17px no-repeat,
            linear-gradient(transparent, #b78b49 24%, #ffe0a0 50%, #b78b49 76%, transparent) center / 1px 100% no-repeat;
        pointer-events: none;
    }

    .mt-premium-home .mt-premium-home__inner--with-demo .mt-premium-home__copy {
        grid-area: 1 / 3;
        align-self: start;
        padding-block-start: 18px;
    }

    .mt-premium-home .mt-premium-home__inner--with-demo .mt-premium-home__media {
        grid-area: 1 / 1;
        justify-self: center;
    }
}

@media (max-width: 760px) {
    .mt-premium-home .mt-premium-home__inner {
        min-height: 0;
        gap: 22px;
        padding: 57px clamp(24px, 6vw, 48px) 60px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .mt-premium-reveal-enabled .mt-premium-home [data-mt-premium-panel]::before,
    .mt-premium-reveal-enabled .mt-premium-home [data-mt-premium-panel]::after {
        opacity: 0;
        transform: translateY(-18px);
        transition: opacity 1.4s ease, transform 1.4s cubic-bezier(.22, .61, .36, 1);
    }

    .mt-premium-reveal-enabled .mt-premium-home [data-mt-premium-panel].mt-premium-is-visible::before,
    .mt-premium-reveal-enabled .mt-premium-home [data-mt-premium-panel].mt-premium-is-visible::after {
        opacity: 1;
        transform: none;
    }

    .mt-premium-reveal-enabled .mt-premium-home [data-mt-premium-reveal] {
        opacity: 0;
        transform: translateY(-18px);
        transition: opacity 1.35s ease, transform 1.35s cubic-bezier(.22, .61, .36, 1);
        transition-delay: 1.4s;
    }

    .mt-premium-reveal-enabled .mt-premium-home .mt-premium-home__demo {
        transition-delay: 1.62s;
    }

    .mt-premium-reveal-enabled .mt-premium-home .mt-premium-home__benefits {
        transition-delay: 1.84s;
    }

    .mt-premium-reveal-enabled .mt-premium-home .mt-premium-home__actions {
        transition-delay: 2.06s;
    }

    .mt-premium-reveal-enabled .mt-premium-home .mt-premium-is-visible,
    .mt-premium-reveal-enabled .mt-premium-home [data-mt-premium-reveal]:focus-within {
        opacity: 1;
        transform: none;
    }

    .mt-premium-reveal-enabled .mt-premium-home [data-mt-premium-reveal]:focus-within {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mt-premium-home a.mt-premium-home__button {
        transition: none;
    }
}
