.yt-home-products,
.yt-home-solutions {
    --yt-explore-ink: #181f43;
    --yt-explore-muted: #53617f;
    --yt-explore-line: #dee4f4;
    --yt-explore-accent: #4546d1;
    --yt-explore-dark: #232969;
    color: var(--yt-explore-ink);
    scroll-margin-top: 90px;
}

.yt-home-products [hidden],
.yt-home-solutions [hidden] {
    display: none;
}

.yt-explore-heading {
    margin-bottom: 25px;
}

.yt-explore-heading h2 {
    margin: 0 0 8px;
    color: inherit;
    font-size: clamp(1.9rem, 3.15vw, 2.85rem);
    font-weight: 730;
    letter-spacing: -.035em;
}

.yt-explore-heading p {
    margin: 0;
    color: var(--yt-explore-muted);
    line-height: 1.65;
}

.yt-home-lineup,
.yt-solution-exhibit {
    scroll-margin-top: 84px;
    overflow: hidden;
    border: 1px solid var(--yt-explore-line);
    border-radius: 11px;
    background: #fff;
}

.yt-home-lineup > .yt-pick-controls,
.yt-solution-exhibit > .yt-pick-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--yt-explore-line);
    background: #f6f8ff;
}

.yt-home-lineup > .yt-pick-controls[hidden],
.yt-solution-exhibit > .yt-pick-controls[hidden] {
    display: none;
}

.yt-pick-controls button {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 53px;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 0;
    color: var(--yt-explore-muted);
    background: transparent;
    text-align: left;
    font-weight: 620;
    transition: background-color .18s, color .18s;
}

.yt-home-lineup > .yt-pick-controls button,
.yt-solution-exhibit > .yt-pick-controls button {
    justify-content: center;
    border-right: 1px solid var(--yt-explore-line);
    font-size: 1rem;
}

.yt-home-lineup > .yt-pick-controls button:last-child,
.yt-solution-exhibit > .yt-pick-controls button:last-child {
    border-right: 0;
}

.yt-pick-controls button:hover,
.yt-pick-controls button[aria-pressed="true"] {
    color: #3234ac;
    background: #e9edff;
}

.yt-home-lineup > .yt-pick-controls button[aria-pressed="true"]::after,
.yt-solution-exhibit > .yt-pick-controls button[aria-pressed="true"]::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--yt-explore-accent);
    content: "";
}

.yt-catalog-category {
    padding: clamp(15px, 2.8vw, 30px);
    scroll-margin-top: 85px;
}

.yt-catalog-category + .yt-catalog-category:not([hidden]) {
    border-top: 1px solid var(--yt-explore-line);
}

.yt-catalog-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.yt-catalog-category-head h3 {
    margin: 0 0 6px;
    color: inherit;
    font-size: clamp(1.24rem, 2vw, 1.65rem);
    font-weight: 680;
}

.yt-catalog-category-head p {
    margin: 0;
    color: var(--yt-explore-muted);
}

.yt-catalog-category-head > span {
    flex: 0 0 auto;
    padding: 6px 9px;
    border: 1px solid #dbe1fa;
    border-radius: 5px;
    color: #3234ac;
    background: #f3f5ff;
    font-weight: 650;
    font-size: .84rem;
}

.yt-offer-picker {
    display: grid;
    gap: 12px;
}

.yt-offer-picker.yt-picker-ready {
    grid-template-columns: minmax(175px, .78fr) minmax(0, 2.5fr);
    align-items: start;
}

.yt-offer-picker > .yt-pick-controls {
    padding: 6px;
    border: 1px solid #e5e9f9;
    border-radius: 7px;
    background: #f5f7fd;
}

.yt-offer-picker button {
    width: 100%;
    min-height: 43px;
    align-items: center;
    padding: 8px 11px;
    border-radius: 5px;
}

.yt-offer-picker button i {
    flex: 0 0 16px;
    text-align: center;
}

.yt-offer-picker button + button {
    margin-top: 2px;
}

.yt-offer {
    position: relative;
    min-width: 0;
    min-height: 270px;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(16px, 3.1vw, 31px);
    border: 1px solid #252d6b;
    border-radius: 9px;
    color: #fff;
    background:
        radial-gradient(ellipse at 100% 15%, #5355ae, transparent 65%),
        linear-gradient(116deg, #171e4a, #252e70);
}

.yt-catalog-cloud .yt-offer {
    border-color: #294879;
    background:
        radial-gradient(ellipse at 100% 15%, #345f9f, transparent 66%),
        linear-gradient(116deg, #18284c, #263f71);
}

.yt-catalog-game .yt-offer {
    border-color: #423371;
    background:
        radial-gradient(ellipse at 100% 15%, #61479d, transparent 66%),
        linear-gradient(116deg, #25234d, #473779);
}

.yt-offer::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .41;
    background-image:
        linear-gradient(#b2bff124 1px, transparent 1px),
        linear-gradient(90deg, #b2bff124 1px, transparent 1px);
    background-size: 29px 29px;
    mask-image: linear-gradient(105deg, transparent 34%, #000);
    content: "";
}

[data-yt-glow]::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    opacity: 0;
    background: radial-gradient(280px circle at var(--yt-glow-x, 50%) var(--yt-glow-y, 50%), #a3b7ff32, transparent 71%);
    pointer-events: none;
    transition: opacity .22s;
    content: "";
}

[data-yt-glow].yt-glow-active::after {
    opacity: 1;
}

.yt-offer-intro {
    position: relative;
    padding-right: 56px;
}

.yt-offer-symbol {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border: 1px solid #e0e7ff51;
    border-radius: 8px;
    color: #e3eaff;
    background: #dfebff25;
    font-size: 1.22rem;
}

.yt-offer h4,
.yt-stage-copy h3 {
    margin: 0 0 9px;
    color: inherit;
    font-size: clamp(1.4rem, 2.5vw, 2.05rem);
    font-weight: 705;
    letter-spacing: -.026em;
    line-height: 1.22;
}

.yt-offer-intro p {
    max-width: 43em;
    margin: 0 0 16px;
    color: #e4eaff;
    line-height: 1.67;
}

.yt-offer-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.yt-offer-benefits > div {
    display: grid;
    gap: 4px;
    padding: 11px 12px;
    border: 1px solid #d9e5ff32;
    border-radius: 5px;
    color: #e2eaff;
    background: #e7ecff0e;
}

.yt-offer-benefits strong {
    color: #fff;
}

.yt-explore-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 37px;
    color: #3739ba;
    font-weight: 650;
}

.yt-explore-action:hover {
    color: #222497;
}

.yt-offer .yt-explore-action {
    padding: 0 11px;
    border-radius: 5px;
    color: #222754;
    background: #f2f5ff;
}

.yt-offer .yt-explore-action:hover {
    background: #dae3ff;
}

.yt-home-supplement {
    margin-top: 28px;
}

.yt-home-supplement h3 {
    margin: 0 0 11px;
    color: inherit;
    font-size: 1.16rem;
    font-weight: 690;
}

.yt-supplement-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 11px;
}

.yt-supplement-grid details {
    min-width: 0;
    padding: 0 12px;
    border: 1px solid var(--yt-explore-line);
    border-radius: 6px;
    background: #fff;
}

.yt-supplement-grid summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 49px;
    list-style: none;
    font-weight: 640;
    cursor: pointer;
}

.yt-supplement-grid summary::-webkit-details-marker {
    display: none;
}

.yt-supplement-grid summary i {
    color: var(--yt-explore-accent);
}

.yt-supplement-grid summary i:last-child {
    margin-left: auto;
    font-size: .68rem;
    transition: transform .18s;
}

.yt-supplement-grid details[open] summary i:last-child {
    transform: rotate(180deg);
}

.yt-supplement-grid details > div {
    padding: 9px 2px 13px;
    border-top: 1px solid var(--yt-explore-line);
    color: var(--yt-explore-muted);
}

.yt-supplement-grid details[open] > div {
    animation: yt-supplement-reveal .2s ease-out;
}

@keyframes yt-supplement-reveal {
    from { opacity: .45; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.yt-supplement-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.yt-supplement-grid li {
    display: grid;
    gap: 1px;
    padding: 4px 0;
}

.yt-supplement-grid a {
    color: #3739ba;
    font-weight: 630;
}

.yt-home-solutions {
    position: relative;
    padding: clamp(43px, 6vw, 78px) 0;
    background:
        radial-gradient(ellipse at 100% 2%, #e9edfb, transparent 53%),
        #f5f7fc;
    border-block: 1px solid #e7ecf7;
}

.yt-solution-home-anchor {
    position: absolute;
    top: -43px;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.yt-solution-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    grid-template-areas: "media intro" "capabilities capabilities" "next next";
    align-items: center;
    gap: clamp(15px, 3vw, 37px);
    padding: clamp(15px, 2.8vw, 30px);
}

.yt-solution-stage + .yt-solution-stage:not([hidden]) {
    border-top: 1px solid var(--yt-explore-line);
}

.yt-stage-media {
    grid-area: media;
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 2.25;
    border: 1px solid #e5eafa;
    border-radius: 8px;
    background: #fff;
}

.yt-stage-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.yt-stage-copy { grid-area: intro; }

.yt-stage-copy p,
.yt-stage-capabilities dd,
.yt-stage-next p {
    margin: 0;
    color: var(--yt-explore-muted);
    line-height: 1.66;
}

.yt-stage-capabilities {
    grid-area: capabilities;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.yt-stage-capabilities > div {
    padding: 13px 14px;
    border: 1px solid var(--yt-explore-line);
    border-radius: 6px;
    background: #f6f8ff;
}

.yt-stage-capabilities dt {
    margin-bottom: 5px;
    color: var(--yt-explore-ink);
    font-weight: 690;
}

.yt-stage-capabilities dd { font-size: .9rem; }

.yt-stage-next {
    grid-area: next;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding-top: 10px;
    border-top: 1px solid var(--yt-explore-line);
}

.yt-stage-next p { flex: 1 1 320px; font-size: .92rem; }
.yt-stage-next strong { margin-right: 6px; color: var(--yt-explore-ink); }
.yt-stage-next .yt-explore-action { flex: 0 0 auto; }

@media (max-width: 1026px) {
    .yt-stage-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 479px) {
    .yt-stage-capabilities { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

.yt-home-all-solutions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    min-height: 36px;
    color: #3436b0;
    font-weight: 650;
}

.yt-home-products :is(a, button, summary):focus-visible,
.yt-home-solutions :is(a, button):focus-visible {
    outline: 2px solid #4c51d5;
    outline-offset: 3px;
}

.yt-offer a:focus-visible {
    outline-color: #fff;
}

@media (max-width: 767px) {
    .yt-home-lineup > .yt-pick-controls button,
    .yt-solution-exhibit > .yt-pick-controls button {
        gap: 5px;
        min-height: 51px;
        padding: 7px 5px;
        font-size: .79rem;
        line-height: 1.4;
    }

    .yt-home-lineup > .yt-pick-controls button i,
    .yt-solution-exhibit > .yt-pick-controls button i {
        display: none;
    }

    .yt-catalog-category-head {
        flex-wrap: wrap;
    }

    .yt-offer-picker.yt-picker-ready,
    .yt-solution-stage,
    .yt-supplement-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .yt-offer-picker.yt-picker-ready > .yt-pick-controls {
        display: flex;
        flex-wrap: wrap;
        padding: 4px;
        gap: 2px;
    }

    .yt-offer-picker.yt-picker-ready > .yt-pick-controls button {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        margin: 0;
        padding-inline: 7px;
        font-size: .85rem;
    }

    .yt-offer-benefits {
        grid-template-columns: minmax(0, 1fr);
    }

    .yt-solution-stage {
        grid-template-areas: "intro" "media" "capabilities" "next";
    }
}

@media (max-width: 375px) {
    body.homepage .section-4 {
        overflow: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yt-pick-controls button,
    .yt-supplement-grid summary i:last-child,
    [data-yt-glow]::after {
        transition: none;
    }

    .yt-supplement-grid details[open] > div {
        animation: none;
    }
}


.yt-stock-groups { margin: 0 0 18px; }
.yt-stock-groups summary {
    width: fit-content;
    padding: 5px 0;
    color: #3339a1;
    font-weight: 650;
    cursor: pointer;
}
.yt-stock-groups > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--yt-explore-line);
    border-radius: 6px;
    background: #fff;
}
.yt-stock-groups h3 { margin: 0 0 8px; font-size: 1rem; }
.yt-stock-groups ul { margin: 0; padding: 0; list-style: none; }
.yt-stock-groups li + li { margin-top: 8px; }
.yt-stock-groups li > small { display: block; color: var(--yt-explore-muted); }
