.secura-products-legacy[hidden] { display: none; }
.secura-products {
    --gutter: clamp(16px, 2.6vw, 50px);
    padding-block: clamp(40px, 5.2vw, 100px);
    background: #000;
    color: #fff;
    scroll-margin-top: 85px;
}
.secura-products h2 {
    padding-inline: var(--gutter);
    text-align: center;
    font: 500 clamp(40px, 4.17vw, 80px)/1.2 Satoshi, sans-serif;
    letter-spacing: -.03em;
}
.secura-products h2 span { color: #2c50f2; }
.secura-products__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: clamp(8px, 1vw, 20px);
    margin-top: clamp(24px, 4.7vw, 90px);
    padding-inline: var(--gutter);
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
}
.secura-product {
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: clamp(450px, calc(231px + 28.82vw), 646px);
    padding: clamp(24px, 1.56vw, 30px);
    border: 1px solid #454545;
    border-radius: 20px;
    background: #161618;
    scroll-snap-align: start;
}
.secura-product { width: clamp(340px, 20vw, 382px); transition: opacity 250ms ease; opacity: .7; }
.secura-product.is-active { width: clamp(380px, 26.15vw, 502px); opacity: 1; }
.secura-product h3 {
    max-width: calc(100% - 24px);
    font: 500 clamp(26px, 2.6vw, 50px)/1.2 Satoshi, sans-serif;
    letter-spacing: -.03em;
}
.secura-product p { margin: 10px 0 24px; color: #aaa; font-size: clamp(16px, 1.05vw, 20px); line-height: 1.3; }
.secura-product a {
    margin-top: auto;
    padding: 14px 30px;
    border-radius: 50px;
    background: #2c50f2;
    color: #fff;
    font-weight: 600;
}
.secura-product__art { position: absolute; inset: 20% 0 0; z-index: -1; }
.secura-product__art img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: right bottom; }
.secura-product__art--assistant img { object-position: center bottom; }
.secura-product__art--investment img { object-position: left bottom; }
.secura-product__mark { display: none; position: absolute; top: 20px; right: 20px; }
.secura-product.is-active .secura-product__mark { display: block; animation: secura-product-spin 1s linear infinite; }
.secura-product__mark img { display: block; }
@keyframes secura-product-spin { to { transform: rotate(360deg); } }
.secura-products__controls button[data-product-step="-1"] img { transform: rotate(180deg); }
.secura-products__controls { display: flex; justify-content: center; gap: 20px; margin-top: clamp(20px, 2.4vw, 46px); }
.secura-products__controls button {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #161618;
    cursor: pointer;
}
.secura-products button:focus-visible, .secura-products a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 760px) {
    .secura-product { --product-inline-padding: 28px; width: min(310px, 78vw); padding: 30px var(--product-inline-padding); }
    .secura-product.is-active { width: min(330px, 83vw); }
    .secura-product p { margin-bottom: 12px; }
    .secura-product__art { position: relative; inset: auto; order: 1; flex: 1 1 0; min-height: 0; align-self: stretch; }
    .secura-product__art img { position: absolute; inset: 0; }
    .secura-product__art:not(.secura-product__art--assistant) { margin-inline: calc(-1 * var(--product-inline-padding)); }
    .secura-product a { order: 2; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .secura-product { transition: none; }
    .secura-product.is-active .secura-product__mark { animation: none; }
}

:root:lang(ru) .secura-product h3 {
    overflow-wrap: anywhere;
    hyphens: auto;
}
