.products-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 88% 8%, rgb(25 167 199 / 22%), transparent 24rem),
        linear-gradient(112deg, #082b4c 0%, #10365f 62%, #0b2a49 100%);
    color: #ffffff;
    padding-block: clamp(3.25rem, 6vw, 5.25rem);
}

.products-hero::after {
    position: absolute;
    z-index: -1;
    top: -15rem;
    right: -7rem;
    width: 38rem;
    aspect-ratio: 1;
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2rem rgb(255 255 255 / 2%), inset 0 0 0 4rem rgb(255 255 255 / 2%);
    content: "";
    pointer-events: none;
}

.products-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(22rem, 0.98fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.products-hero__content {
    max-width: 42rem;
}

.products-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
    color: #6ed7e6;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.products-hero h1 {
    max-width: 12ch;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: clamp(2.7rem, 5vw, 4.25rem);
    letter-spacing: -0.06em;
    line-height: 1.02;
}

.products-hero__summary {
    max-width: 40rem;
    margin-bottom: 0;
    color: #d5e2ed;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.7;
}

.products-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.products-hero .button--secondary {
    border-color: rgb(255 255 255 / 34%);
    background: rgb(255 255 255 / 5%);
    color: #ffffff;
}

.products-hero .button--secondary:hover {
    border-color: rgb(255 255 255 / 72%);
    background: rgb(255 255 255 / 12%);
}

.products-hero__visual {
    min-width: 0;
}

.products-blueprint {
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 1.1rem;
    background: linear-gradient(145deg, #ffffff 0%, #f1f7fb 100%);
    box-shadow: 0 1.5rem 3.5rem rgb(1 18 36 / 24%);
    color: var(--surface-strong);
    padding: clamp(1rem, 2vw, 1.45rem);
}

.products-blueprint__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #537086;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.products-blueprint__header span:last-child {
    color: var(--action);
    text-align: right;
}

.products-blueprint__core {
    position: relative;
    overflow: hidden;
    border: 1px solid #0b426b;
    border-radius: 0.8rem;
    background: linear-gradient(120deg, #0b2e50 0%, #0e456d 100%);
    padding: 1rem 1.15rem;
}

.products-blueprint__core::after {
    position: absolute;
    top: -2.5rem;
    right: -1.2rem;
    width: 8rem;
    aspect-ratio: 1;
    border: 1px solid rgb(110 215 230 / 24%);
    border-radius: 50%;
    box-shadow: inset 0 0 0 0.85rem rgb(110 215 230 / 5%);
    content: "";
    pointer-events: none;
}

.products-blueprint__core p {
    margin-bottom: 0.3rem;
    color: #78d7e4;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.products-blueprint__core h2 {
    position: relative;
    z-index: 1;
    max-width: 24ch;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    letter-spacing: -0.025em;
}

.products-blueprint__paths {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.products-blueprint__path {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr) 1.8rem;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #dce7ef;
    border-radius: 0.7rem;
    background: rgb(255 255 255 / 92%);
    color: inherit;
    padding: 0.6rem 0.75rem;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.products-blueprint__path:hover,
.products-blueprint__path:focus-visible {
    transform: translateY(-1px);
    border-color: #85b7d7;
    box-shadow: 0 0.45rem 1rem rgb(8 43 76 / 8%);
}

.products-blueprint__index {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid #d7e8f3;
    border-radius: 0.55rem;
    background: #edf5fb;
    color: var(--action);
    font-size: 0.67rem;
    font-weight: 850;
}

.products-blueprint__paths h3 {
    margin: 0 0 0.12rem;
    color: var(--surface-strong);
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

.products-blueprint__paths p {
    margin: 0;
    color: #5b6d7c;
    font-size: 0.77rem;
    line-height: 1.4;
}

.products-blueprint__arrow {
    display: grid;
    width: 1.7rem;
    height: 1.7rem;
    place-items: center;
    border-radius: 50%;
    background: #eff6fb;
    color: var(--action);
    font-size: 0.95rem;
}

.products-blueprint__footer {
    margin: 0.85rem 0 0;
    color: #627688;
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.025em;
    text-align: center;
}

.products-blueprint__footer span {
    padding-inline: 0.25rem;
    color: var(--teal);
}

.products-index--catalog {
    scroll-margin-block-start: 5.5rem;
    padding-block: clamp(3.25rem, 5vw, 4.5rem);
}

.products-index--catalog .section-heading {
    margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.products-index--catalog .product-card-grid:not(.product-card-grid--single) {
    align-items: stretch;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.products-index--catalog .product-card-grid:not(.product-card-grid--single) .product-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d5e1ec;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 0.75rem 1.8rem rgb(8 43 76 / 6%);
    padding: 0;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.products-index--catalog .product-card-grid:not(.product-card-grid--single) .product-card:hover {
    transform: translateY(-3px);
    border-color: #9dbbd2;
    box-shadow: 0 1.1rem 2.25rem rgb(8 43 76 / 11%);
}

.products-index--catalog .product-card-grid--single .product-card--flagship,
.products-index--catalog .product-card-grid:not(.product-card-grid--single) .product-card--flagship {
    border-color: #a8cbe0;
}

.products-index--catalog .product-card-grid:not(.product-card-grid--single) .product-card__visual {
    width: 100%;
    height: clamp(14rem, 19vw, 16rem);
    min-height: 0;
    flex: 0 0 auto;
    border: 0;
    border-bottom: 1px solid #dce7ef;
    padding: 0.9rem;
}

.products-index--catalog .product-card-grid:not(.product-card-grid--single) .product-card__visual--image {
    padding: 0;
}

.products-index--catalog .product-card-grid:not(.product-card-grid--single) .product-card__visual--image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.products-index--catalog .product-card-grid:not(.product-card-grid--single) .product-card__visual-window {
    width: min(100%, 34rem);
    height: min(100%, 12rem);
}

.products-index--catalog .product-card__body {
    min-height: 14rem;
    flex: 1 1 auto;
    padding: clamp(1.25rem, 2.4vw, 1.75rem);
}

.products-index--catalog .product-card__labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.products-index--catalog .product-card__body .product-card__category {
    margin: 0;
}

.products-index--catalog .product-card__flagship {
    display: inline-flex;
    min-height: 1.9rem;
    align-items: center;
    border: 1px solid #c8def6;
    border-radius: 999px;
    background: #edf5ff;
    color: #1557b7;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    text-transform: uppercase;
}

.products-index--catalog .product-card__body h3 {
    margin-bottom: 0.55rem;
}

.products-index--catalog .product-card__summary {
    max-width: 48ch;
    margin-bottom: 1rem;
    line-height: 1.65;
}

.products-index--catalog .product-card__platforms {
    gap: 0.45rem;
    margin-bottom: 1.15rem;
}

.products-index--catalog .product-card__platforms li {
    min-height: 1.9rem;
    background: #f4f7fb;
    font-size: 0.78rem;
}

.products-index--catalog .product-card .product-card__action {
    margin-top: auto;
}

@media (max-width: 64rem) {
    .products-hero__layout {
        grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.95fr);
        gap: 2rem;
    }

    .products-blueprint__path {
        grid-template-columns: 2rem minmax(0, 1fr) 1.7rem;
        gap: 0.6rem;
        padding-inline: 0.6rem;
    }
}

@media (max-width: 50rem) {
    .products-hero {
        padding-block: 3.5rem;
    }

    .products-hero__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .products-hero__content {
        max-width: 44rem;
    }

    .products-hero__visual {
        width: 100%;
        max-width: 42rem;
    }

    .products-index--catalog .product-card-grid:not(.product-card-grid--single) .product-card__visual {
        height: clamp(14rem, 44vw, 16rem);
    }
}

@media (max-width: 36rem) {
    .products-hero {
        padding-block: 2.75rem;
    }

    .products-hero h1 {
        font-size: clamp(2.5rem, 12vw, 3.25rem);
    }

    .products-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .products-hero__actions .button {
        width: 100%;
    }

    .products-blueprint__header {
        font-size: 0.55rem;
    }

    .products-blueprint__path {
        grid-template-columns: 1.9rem minmax(0, 1fr) 1.5rem;
        gap: 0.5rem;
    }

    .products-blueprint__index {
        width: 1.8rem;
        height: 1.8rem;
    }

    .products-blueprint__paths h3 {
        font-size: 0.85rem;
    }

    .products-blueprint__paths p {
        font-size: 0.73rem;
    }

    .products-index--catalog .product-card-grid:not(.product-card-grid--single) .product-card__visual {
        height: clamp(13rem, 62vw, 15.5rem);
    }

    .products-index--catalog .product-card__body {
        min-height: 0;
        padding: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .products-hero .button,
    .products-blueprint__path {
        transition: none;
    }

    .products-hero .button:hover,
    .products-blueprint__path:hover {
        transform: none;
    }

    .products-index--catalog .product-card-grid:not(.product-card-grid--single) .product-card {
        transition: none;
    }

    .products-index--catalog .product-card-grid:not(.product-card-grid--single) .product-card:hover {
        transform: none;
    }
}
