/* Декор: pointer-events (Bootstrap pe-none — не то свойство) */
.hero-v20-decor-layer {
    pointer-events: none;
}

.hero-v20-center-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18rem;
    height: 18rem;
    filter: blur(40px);
}

/* Как Tailwind: top-1/4 left-1/4 w-96 h-96 blur-3xl */
.hero-v20-blob-tl {
    position: absolute;
    width: 24rem;
    height: 24rem;
    top: 25%;
    left: 25%;
    filter: blur(64px);
}

/* bottom-1/4 right-1/4 w-80 h-80 blur-3xl */
.hero-v20-blob-br {
    position: absolute;
    width: 20rem;
    height: 20rem;
    bottom: 25%;
    right: 25%;
    filter: blur(64px);
}

.hero-v20-dot {
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
}

.hero-v20-shadow-a {
    position: absolute;
    z-index: -10;
    top: 1rem;
    left: 1rem;
    width: 100%;
    height: 100%;
}

.hero-v20-icon-sm {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.5rem;
}

.hero-v20-icon-xs {
    line-height: 1;
}

.hero-v20-shadow-b {
    position: absolute;
    z-index: -10;
    top: 1.5rem;
    right: 1.5rem;
    width: 100%;
    height: 100%;
}

.hero-v20-shadow-c {
    position: absolute;
    z-index: -5;
    top: 0.75rem;
    right: 0.75rem;
    width: 100%;
    height: 100%;
}

/* Hover scale как sm:hover:scale-105 (общий для TW и BS) */
@media (min-width: 576px) {
    .hero-v20-benefit-item:hover,
    .hero-v20-cta-pill:hover,
    .hero-v20-media-card:hover {
        transform: scale(1.05);
    }
}

.hero-v20-benefit-item,
.hero-v20-cta-pill,
.hero-v20-media-card {
    transition: transform 150ms ease;
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
.doctrine-magazine__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .doctrine-magazine__grid {
        grid-template-columns: minmax(0, 320px) 1fr;
        gap: 4rem;
    }

    .doctrine-magazine__aside {
        position: sticky;
        top: 6rem;
        align-self: start;
    }
}

.doctrine-magazine__image {
    height: 14rem;
    object-fit: cover;
}

/* process tron — grid bg pattern, card glow line, hover + active state */
.process-tron__grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 3rem 3rem;
}

.process-tron__card {
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-tron__card-hov:hover,
.process-tron__card-hov:focus-within,
.process-tron__card.is-active {
    transform: translateY(-0.35rem);
    box-shadow: var(--bs-box-shadow-lg);
    border-color: var(--bs-primary);
}

.process-tron__glow-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bs-primary);
    opacity: 0;
    transition: opacity 220ms ease;
}

.process-tron__card-hov:hover .process-tron__glow-line,
.process-tron__card-hov:focus-within .process-tron__glow-line,
.process-tron__card.is-active .process-tron__glow-line {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .process-tron__card {
        transition: none;
    }

    .process-tron__card-hov:hover,
    .process-tron__card-hov:focus-within,
    .process-tron__card.is-active {
        transform: none;
    }
}

/* v24 - ascending staircase offsets (per-index transform has no TW/BS utility) */
.climb-tier__badge {
    width: 2.75rem;
    height: 2.75rem;
}

@media (min-width: 640px) {
    [data-stair-step] {
        transition: transform 200ms ease;
    }

    [data-stair-step="0"] {
        transform: translateX(0);
    }

    [data-stair-step="1"] {
        transform: translateX(1.5rem);
    }

    [data-stair-step="2"] {
        transform: translateX(3rem);
    }

    [data-stair-step="3"] {
        transform: translateX(4.5rem);
    }

    [data-stair-step="4"] {
        transform: translateX(6rem);
    }
}

/* advantages — vault rail: layout, sizes and transforms only (no colors) */
.vault-rail__eyebrow {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
}

.vault-rail__heading {
    letter-spacing: -0.03em;
}

.vault-rail__sticky {
    position: sticky;
    top: 1.25rem;
}

.vault-rail__toggle {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -2px;
}

.vault-rail__num {
    min-width: 1.75rem;
    font-variant-numeric: tabular-nums;
}

.vault-rail__plus {
    transition: transform 200ms ease;
}

.vault-rail__item.is-open .vault-rail__plus {
    transform: rotate(45deg);
}

.vault-rail__panel {
    padding-left: 2.75rem;
}

.vault-rail__heatmap {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
}

.vault-rail__heat {
    aspect-ratio: 1.5 / 1;
    animation: vault-heat-pulse 2.8s ease-in-out infinite;
    will-change: opacity, transform;
}

.vault-rail__heat:nth-child(7n + 1) { animation-delay: 0s; }
.vault-rail__heat:nth-child(7n + 2) { animation-delay: 0.2s; }
.vault-rail__heat:nth-child(7n + 3) { animation-delay: 0.4s; }
.vault-rail__heat:nth-child(7n + 4) { animation-delay: 0.6s; }
.vault-rail__heat:nth-child(7n + 5) { animation-delay: 0.8s; }
.vault-rail__heat:nth-child(7n + 6) { animation-delay: 1s; }
.vault-rail__heat:nth-child(7n + 7) { animation-delay: 1.2s; }

@keyframes vault-heat-pulse {
    0%, 100% {
        opacity: 0.55;
        transform: scale(0.94);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.vault-rail__tiny {
    font-size: 0.6875rem;
    line-height: 1rem;
}

.vault-rail__icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.vault-rail__insight-body {
    min-width: 0;
}

.vault-rail__chart {
    height: 9.5rem;
    overflow: visible;
}

.vault-rail__chart-fill {
    animation: vault-chart-fill 3.6s ease-in-out infinite;
    transform-origin: center bottom;
}

.vault-rail__chart-line {
    stroke-dasharray: 520;
    stroke-dashoffset: 0;
    animation: vault-chart-draw 4.8s ease-in-out infinite;
}

.vault-rail__chart-guide {
    animation: vault-chart-guide 4.8s ease-in-out infinite;
}

.vault-rail__chart-mark,
.vault-rail__chart-dot {
    animation: vault-chart-mark 4.8s ease-in-out infinite;
}

@keyframes vault-chart-fill {
    0%, 100% {
        opacity: 0.7;
        transform: scaleY(0.92);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes vault-chart-draw {
    0% {
        stroke-dashoffset: 520;
        opacity: 0.35;
    }
    35% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    70%, 100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes vault-chart-guide {
    0%, 20% { opacity: 0; }
    45%, 100% { opacity: 1; }
}

@keyframes vault-chart-mark {
    0%, 30% {
        opacity: 0;
        transform: translateY(6px);
    }
    45%, 100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.vault-rail__heatmap > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .vault-rail__heat,
    .vault-rail__chart-fill,
    .vault-rail__chart-line,
    .vault-rail__chart-guide,
    .vault-rail__chart-mark,
    .vault-rail__chart-dot {
        animation: none;
        opacity: 1;
        transform: none;
        stroke-dashoffset: 0;
    }
}

/* utility classes are renamed in production builds, so closed panels rely on the hidden attribute */
.vault-rail__panel[hidden] { display: none !important; }

/* month labels under the heatmap: one line each, trimmed if long, so neighbours never collide */
.vault-rail__heatmap.vault-rail__tiny > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Bootstrap: explicit grid + gap (row gutters often collapse) */
.tips-grid__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.tips-grid__min-shrink {
    min-width: 0;
}

@media (min-width: 768px) {
    .tips-grid__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tips-grid__subtitle {
    max-width: 42rem;
}

.tips-grid__thumb {
    width: 3rem;
    height: 3rem;
}

