#home-slider {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    height: 400px;
    padding: 65px 20px 0;
    overflow: hidden;
}

.home-slide {
    display: grid;
    grid-area: 1 / 1;
    grid-template-columns: minmax(0, 55%) minmax(0, 1fr);
    gap: 10px 12px;
}

.home-slide-title,
.home-slide-subtitle {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.home-slide-title {
    grid-column: 1;
    color: #a5d98c;
}

.home-slide-streaming .home-slide-title {
    color: #ffbd67;
}

.home-slide-subtitle,
.home-slide-copy {
    grid-column: 1;
}

.home-slide-copy {
    margin: 4px 0 14px;
    line-height: 1.5;
    font-weight: 600;
}

.home-slide-action {
    grid-column: 1;
    align-self: center;
    justify-self: start;
}

.home-slide-image {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: min(500px, 43%);
    aspect-ratio: 5 / 4;
    background: url("../../img/banner.png") right bottom / 100% auto no-repeat;
}

.home-slide-streaming .home-slide-image {
    background-position: right top;
}

.home-slide-toggle,
.home-slide-toggle-label {
    display: none;
}

.home-domain-form {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.home-domain-field {
    flex: 1;
    min-width: 0;
}

.home-domain-field .input-group {
    width: 100%;
}

.home-partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    min-height: 82px;
    padding: 10px 15px;
    border-bottom: 1px solid #d8d8d8;
    background: #fff;
}

.home-partners img {
    max-width: 100%;
    max-height: 62px;
    object-fit: contain;
}

#hosting-plans {
    scroll-margin-top: 75px;
}

.home-page #pre-footer,
.home-page footer .legals {
    padding-left: 0;
    padding-right: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .home-slide {
        --slide-delay: 0s;
        animation: home-slide-visibility 12s step-end var(--slide-delay) infinite;
    }

    .home-slide-streaming {
        --slide-delay: -6s;
    }

    .home-slide > * {
        animation: home-slide-motion 12s ease-in-out
            calc(var(--slide-delay) + var(--stagger, 0s)) infinite both;
    }

    .home-slide-title {
        --enter-x: -110%;
        --exit-x: 110%;
    }

    .home-slide-subtitle {
        --enter-x: 110%;
        --exit-x: -110%;
        --stagger: .18s;
    }

    .home-slide-copy,
    .home-slide-action,
    .home-slide-image {
        --enter-y: 110%;
        --exit-y: 110%;
    }

    .home-slide-copy {
        --stagger: .25s;
    }

    .home-slide-action {
        --stagger: .35s;
    }

    .home-slide-toggle:checked ~ .home-slide,
    .home-slide-toggle:checked ~ .home-slide > *,
    #home-slider:has(.home-slide:focus-within) .home-slide,
    #home-slider:has(.home-slide:focus-within) .home-slide > * {
        animation-play-state: paused;
    }
}

@keyframes home-slide-visibility {
    0% {
        visibility: visible;
    }

    50%, 100% {
        visibility: hidden;
    }
}

@keyframes home-slide-motion {
    0% {
        opacity: 0;
        transform: translate(var(--enter-x, 0), var(--enter-y, 0));
    }

    7%, 42% {
        opacity: 1;
        transform: none;
    }

    47%, 100% {
        opacity: 0;
        transform: translate(var(--exit-x, 0), var(--exit-y, 0));
    }
}

@media (max-width: 991px), (prefers-reduced-motion: reduce) {
    .home-page #banner {
        height: auto;
        background: linear-gradient(145deg, #154a71, #286fa2);
    }

    #home-slider {
        height: auto;
        padding: 30px 0 20px;
    }

    .home-slide {
        align-self: stretch;
        grid-template-columns: minmax(0, 1fr) min(29vw, 150px);
        grid-template-rows: auto auto 1fr auto;
    }

    .home-slide-title,
    .home-slide-subtitle,
    .home-slide-copy {
        grid-column: 1 / -1;
    }

    .home-slide-title {
        font-size: clamp(27px, 7vw, 44px);
        line-height: 1.12;
    }

    .home-slide-subtitle {
        font-size: clamp(19px, 4.5vw, 25px);
        line-height: 1.25;
        text-transform: none;
    }

    .home-slide-copy {
        max-width: 58ch;
        margin: 4px 0;
        font-weight: 400;
        line-height: 1.55;
    }

    .home-slide-action {
        grid-row: 4;
        max-width: 100%;
        padding: 10px 14px;
        font-size: 16px;
        white-space: normal;
    }

    .home-slide-image {
        position: static;
        grid-area: 4 / 2;
        justify-self: end;
        width: 100%;
    }
}

@media (max-width: 991px) and (prefers-reduced-motion: no-preference) {
    .home-slide-toggle,
    .home-slide-toggle-label {
        grid-area: 2 / 1;
        place-self: center start;
    }

    .home-slide-toggle {
        display: block;
        z-index: 1;
        width: 16px;
        height: 16px;
        margin: 0;
    }

    .home-slide-toggle-label {
        display: flex;
        align-items: center;
        min-height: 44px;
        margin: 0;
        padding-left: 24px;
        color: #fff;
        font-size: 14px;
        font-weight: 400;
        cursor: pointer;
    }
}

@media (prefers-reduced-motion: reduce) {
    #home-slider {
        gap: 12px;
    }

    .home-slide {
        grid-area: auto;
        grid-template-rows: auto;
    }

    .home-slide-streaming > :not(.home-slide-action) {
        display: none;
    }

    .home-slide-streaming .home-slide-action {
        grid-row: auto;
    }
}

@media (max-width: 991px) {
    .home-page #main-nav.navbar-fixed-top {
        position: relative;
    }

    .home-page #main-nav .navbar-header {
        float: none;
    }

    .home-page #main-nav .branding {
        display: flex;
        align-items: center;
        height: 62px;
        max-width: calc(100% - 70px);
    }

    .home-page #main-nav .branding img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 52px;
    }

    .home-page #main-nav .navbar-toggle {
        display: block;
        margin-top: 9px;
        margin-bottom: 9px;
        min-width: 44px;
        min-height: 44px;
    }

    .home-page #main-nav .navbar-toggle .icon-bar {
        margin-left: auto;
        margin-right: auto;
    }

    .home-page #main-nav .navbar-collapse.collapse:not(.in) {
        display: none !important;
    }

    .home-page #main-nav .navbar-collapse {
        max-height: none;
        border-top: 1px solid #efefef;
    }

    .home-page #main-nav .navbar-nav,
    .home-page #main-nav .navbar-nav > li {
        float: none;
    }

    .home-page #main-nav .navbar-nav {
        margin: 6px 0;
    }

    .home-page #main-nav .navbar-nav > li > a {
        height: auto;
        padding: 12px 15px;
        font-weight: 600;
    }

    .home-page #main-nav .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .home-page #main-nav .navbar-nav .open .dropdown-menu > li > a {
        padding: 12px 25px;
    }

    .home-page #main-nav .support-menu {
        display: list-item !important;
    }

    #domain-search.domain-search-home {
        padding: 22px 0;
    }

    #domain-search .tld-search {
        padding: 4px 0 0;
    }

    #domain-search .tld-search .form-control,
    .home-domain-form select {
        font-size: 16px;
    }

    .home-domain-form .btn-success,
    .home-page .product-table .action-buy .btn-success {
        border-color: #245f2e;
        background-color: #2c7338;
    }

    .home-domain-form .btn-success:hover,
    .home-page .product-table .action-buy .btn-success:hover {
        background-color: #245f2e;
    }

    #hosting-plans {
        scroll-margin-top: 16px;
    }

    .home-page #pre-footer .action-info {
        float: none !important;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .home-partners img {
        width: auto;
        height: auto;
        max-width: 80px;
        max-height: 28px;
    }

    .home-page .headline {
        margin: 34px 15px 22px;
    }

    .home-page .headline h2 {
        font-size: clamp(24px, 6vw, 32px);
        line-height: 1.2;
    }

    .home-page .headline p {
        margin-top: 8px;
        font-size: 16px;
    }

    .home-page .product-table {
        display: grid;
        gap: 20px;
        margin: 0 15px;
    }

    .home-page .product-table .product {
        float: none;
        width: 100%;
        border-radius: 8px;
    }

    .home-page .product-table .callout {
        margin: 0;
        border-color: #90bddb;
        box-shadow: none;
    }

    .home-page .product-table .product .plan-spacer {
        display: none;
    }

    .home-page .product-table .product .head h3 {
        padding: 0 15px;
        font-size: 22px;
    }

    .home-page .product-table .popular-corner {
        width: 76px;
    }

    .home-page .product-table .action-buy .btn,
    .home-page .product-table .blank-double .btn {
        padding: 11px 16px;
    }

    .home-page .product-table .product .blank-double {
        height: auto;
    }

    .home-page .product-table .product li:not(.head):not(.blank-double) {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 10px;
        text-align: left;
    }

    .home-page .product-table .product li:not(.head) strong {
        order: 1;
        text-align: right;
    }

    .home-page .site-footer .container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 20px;
        padding: 14px 15px;
    }

    .home-page .site-footer .container::before,
    .home-page .site-footer .container::after {
        display: none;
    }

    .home-page .site-footer .container > div {
        float: none;
        width: auto;
        padding: 0;
    }

    .home-page footer,
    .home-page footer h4,
    .home-page footer a,
    .home-page footer .legals a {
        color: #d0d0d0;
    }

    .home-page footer ul a {
        display: inline-block;
        padding: 4px 0;
    }

    .home-page footer .social-icons li:first-child {
        display: block;
    }

    .home-page footer .legals .col-xs-6 {
        float: none;
        width: 100%;
        text-align: center;
    }

    .home-page footer .legals .pull-right {
        float: none !important;
        padding-top: 8px;
    }
}

@media (max-width: 479px) {
    .home-domain-form {
        flex-direction: column;
        gap: 8px;
    }

    .home-partners img {
        width: calc((100% - 32px) / 3);
        max-width: none;
    }
}
