/* Homepage overview. Product-detail pages own specifications and FAQs. */
.dcx-home-container {
    width: 100%;
    max-width: var(--dcx-container-max);
    margin: 0 auto;
    padding-right: var(--dcx-container-gutter);
    padding-left: var(--dcx-container-gutter);
}

.dcx-home-hero {
    padding: 56px 0 52px;
    border-bottom: 1px solid #cdd5e1;
    background: linear-gradient(90deg, rgb(241 244 248 / 94%) 38%, rgb(241 244 248 / 74%) 62%, rgb(241 244 248 / 12%)), url("../../images/hero-infrastructure.svg?ver=1.1.19") center / cover no-repeat, #f1f4f8;
}

.dcx-home-hero__title {
    display: grid;
    max-width: 17ch;
    margin: 0;
    font-size: clamp(44px, 5.25vw, 72px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: normal;
}

.dcx-home-hero__accent {
    display: block;
    color: #c8102e;
}

.dcx-home-hero__descriptions {
    display: grid;
    max-width: 48ch;
    margin: 22px 0 0;
    color: #45556c;
    font-size: 18px;
    line-height: 1.7;
}

.dcx-home-hero__headline,
.dcx-home-hero__description {
    grid-area: 1 / 1;
    min-width: 0;
    margin: 0;
    visibility: hidden;
}

.dcx-home-hero__headline.is-active,
.dcx-home-hero__description.is-active {
    visibility: visible;
}

.dcx-home-hero__copy {
    touch-action: pan-y pinch-zoom;
}

.dcx-home-hero__controls {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 460px;
    margin-top: 24px;
    visibility: hidden;
}

[data-home-slider-ready] .dcx-home-hero__controls {
    visibility: visible;
}

.dcx-home-hero__pickers {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.dcx-home-hero__arrows {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.dcx-home-hero__picker,
.dcx-home-hero__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid transparent;
    color: #45556c;
    background: transparent;
    cursor: pointer;
}

.dcx-home-hero__picker {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: 56px;
    padding: 6px 2px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.dcx-home-hero__picker::after {
    width: calc(100% - 16px);
    height: 3px;
    border-radius: 2px;
    background: #7b8799;
    content: "";
}

.dcx-home-hero__picker[aria-disabled="true"] {
    color: #b10d28;
    background: #fff;
    box-shadow: 0 3px 12px rgb(16 24 40 / 5%);
}

.dcx-home-hero__picker[aria-disabled="true"]::after {
    background: #c8102e;
}

.dcx-home-hero__arrow {
    border-color: #7b8799;
    border-radius: 50%;
    background: #fff;
}

.dcx-home-hero__arrow:hover,
.dcx-home-hero__picker:hover {
    background: #fff0f3;
}

.dcx-home-hero button:focus-visible {
    outline: 3px solid #b10d28;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
    [data-home-slider-ready] .dcx-home-hero__headline.is-active,
    [data-home-slider-ready] .dcx-home-hero__description.is-active {
        animation: dcx-home-message-enter 180ms ease-out;
    }
}

@keyframes dcx-home-message-enter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.dcx-home-services {
    padding-top: 64px;
    background: #fff;
    scroll-margin-top: 110px;
}

.dcx-home-services__title {
    margin: 0 0 28px;
    text-align: center;
    font-size: clamp(26px, 2.5vw, 32px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.dcx-home-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.dcx-home-services__grid .dcx-home-service {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 6;
    gap: 22px;
    min-width: 0;
    padding: 30px;
}

.dcx-home-service__location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 18px;
    color: #536278;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.dcx-home-service__location svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #d31735;
    stroke-width: 1.7;
}

.dcx-home-service .dcx-hosting-card__name,
.dcx-home-service .dcx-hosting-card__sub,
.dcx-home-service .dcx-hosting-card__period,
.dcx-home-service .dcx-hosting-card__promo {
    margin: 0;
}

.dcx-home-service .dcx-hosting-card__sub {
    min-height: 0;
}

.dcx-home-service__from {
    margin: 0 0 12px;
    color: #536278;
    font-size: 14px;
    line-height: 1.5;
}

.dcx-home-service .dcx-hosting-card__price-wrap {
    margin: 0 0 10px;
}

.dcx-home-service .dcx-hosting-card__cta {
    line-height: 1.4;
    text-align: center;
}

.dcx-home-service .dcx-hosting-card__list {
    align-content: start;
    gap: 10px;
}

.dcx-home-service .dcx-home-service__note {
    padding-top: 18px;
    border-top: 1px solid #dbe0e7;
    font-size: 12px;
    line-height: 1.65;
}

.dcx-home-proof {
    padding-top: 64px;
    padding-bottom: 64px;
}

.dcx-home-help__surface {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 36px 40px;
    border: 1px solid #ebcdd4;
    border-radius: 26px;
    background: #fff5f7;
}

.dcx-home-help__icon {
    width: 48px;
    height: 48px;
    color: #b10d28;
}

.dcx-home-help h2 {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.dcx-home-help p {
    max-width: 62ch;
    margin: 0;
    color: #45556c;
    font-size: 16px;
    line-height: 1.7;
}

.dcx-home-help__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 56px;
    padding: 14px 24px;
    border: 1px solid #b10d28;
    border-radius: 999px;
    color: #b10d28;
    background: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.dcx-home-help__link svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
}

.dcx-home-help__link:hover {
    background: #ffe9ee;
}

#dcx-front-page a:focus-visible {
    outline: 3px solid #b10d28;
    outline-offset: 5px;
}

@media (max-width: 1120px) {
    .dcx-home-hero {
        padding-top: 120px;
    }

    .dcx-home-services__grid {
        gap: 16px;
    }

    .dcx-home-services__grid .dcx-home-service {
        padding: 24px 18px;
    }

    .dcx-home-service .dcx-hosting-card__cta {
        padding-right: 12px;
        padding-left: 12px;
        font-size: 15px;
    }

    .dcx-home-help__surface {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 20px;
        padding: 28px;
    }

    .dcx-home-help__link {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 767px) {
    .dcx-home-hero {
        padding: 112px 0 36px;
        background-image: linear-gradient(90deg, rgb(241 244 248 / 92%), rgb(241 244 248 / 75%)), url("../../images/hero-infrastructure.svg?ver=1.1.19");
        background-position: center, right center;
        background-size: 100% 100%, auto 100%;
    }

    .dcx-home-hero__descriptions {
        max-width: 100%;
        font-size: 16px;
    }

    .dcx-home-hero__controls {
        gap: 16px;
    }

    .dcx-home-hero__pickers {
        gap: 8px;
    }

    .dcx-home-services {
        padding-top: 40px;
    }

    .dcx-home-services__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dcx-home-services__grid .dcx-home-service {
        grid-template-rows: auto;
        grid-row: auto;
        gap: 20px;
        padding: 26px 24px;
    }

    .dcx-home-service .dcx-hosting-card__cta {
        font-size: 17px;
    }

    .dcx-home-proof {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .dcx-home-help__surface {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .dcx-home-help__link {
        grid-column: 1;
        justify-self: stretch;
    }
}

@media (max-width: 389px) {
    .dcx-home-hero__title {
        font-size: clamp(34px, 11vw, 44px);
    }

    .dcx-home-hero__controls {
        gap: 12px;
    }

    .dcx-home-hero__pickers {
        gap: 6px;
    }

    .dcx-home-hero__picker {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dcx-home-service,
    .dcx-home-service .dcx-hosting-card__cta {
        transition: none;
    }

    .dcx-home-service:hover,
    .dcx-home-service .dcx-hosting-card__cta:hover {
        transform: none;
    }
}
