.hero-v26-desc {
    max-width: 28rem;
}

@keyframes heroTitlePulse {
    0%, 100% { letter-spacing: -0.04em; }
    50% { letter-spacing: 0.01em; }
}

.hero-display-title {
    animation: heroTitlePulse 6s ease-in-out infinite;
}

/* -- 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);
}
.dashboard-steps-badge {
    width: 2rem;
    height: 2rem;
}

/* 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; }

/* process kanban — geometric decor, icon/body sizing */
.process-kb__geo {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.process-kb__geo::before {
    content: '';
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    border: 3.5rem solid currentColor;
    opacity: 0.04;
    top: -7rem;
    right: -7rem;
}
.process-kb__geo::after {
    content: '';
    position: absolute;
    width: 10rem;
    height: 10rem;
    border: 2.5rem solid currentColor;
    opacity: 0.04;
    bottom: -3rem;
    left: -3rem;
}
.process-kb__icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}
.process-kb__body {
    min-width: 0;
}

/* glossary film — strip scrollport: min-width 0 + width 100% so overflow-x shows next card; mobile widths */
.glossary-film__mask {
    max-width: 100%;
    min-width: 0;
}

.glossary-film__strip {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-snap-type: x mandatory;
}

.glossary-film__cell {
    scroll-snap-align: center;
}

@media (max-width: 767.98px) {
    .glossary-film__strip {
        padding-inline-start: 0.5rem;
        padding-inline-end: max(0.75rem, 5vw);
        scroll-padding-inline-end: max(0.75rem, 5vw);
    }

    .glossary-film__cell {
        scroll-snap-align: start;
        flex: 0 0 min(20rem, 82vw);
        width: min(20rem, 82vw);
        max-width: min(20rem, 82vw);
    }
}

@media (min-width: 768px) {
    .glossary-film__cell {
        flex: 0 0 20rem;
        width: 20rem;
        max-width: none;
    }
}

