/* Hero v3 Animation Styles */

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(6deg); }
    50% { transform: translateY(-20px) rotate(6deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(15px) scale(1.1); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(0.9); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-reverse {
    animation: float-reverse 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out;
}

.hero-v3-btn-ghost {
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-v3-btn-ghost:hover,
.hero-v3-btn-ghost:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    border-color: #fff !important;
}

/* -- 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);
}
/* our-philosophy — mission ledger: layout, sizes and transforms only (no colors) */
.mission-ledger__eyebrow {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
}

.mission-ledger__heading {
    letter-spacing: -0.025em;
}

.mission-ledger__stage {
    min-height: 26rem;
}

.mission-ledger__cloud {
    filter: blur(2.5rem);
    pointer-events: none;
}

.mission-ledger__cloud--a { width: 14rem; height: 8rem; transform: translate(-3rem, 14rem); }
.mission-ledger__cloud--b { width: 18rem; height: 10rem; transform: translate(12rem, 20rem); }
.mission-ledger__cloud--c { width: 12rem; height: 7rem; transform: translate(20rem, 2rem); }

.mission-ledger__caption {
    font-size: 0.75rem;
    line-height: 1rem;
}

.mission-ledger__skeleton {
    height: 0.5rem;
}

.mission-ledger__skeleton--short {
    width: 70%;
}

.mission-ledger__skeleton--progress {
    width: 60%;
    height: 0.25rem;
}

.mission-ledger__avatar {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.mission-ledger__bars {
    height: 9rem;
}

.mission-ledger__pill {
    font-size: 0.625rem;
    line-height: 1;
    white-space: nowrap;
}

.mission-ledger__bar { min-height: 1.5rem; }
.mission-ledger__bar--h1 { height: 55%; }
.mission-ledger__bar--h2 { height: 80%; }
.mission-ledger__bar--h3 { height: 45%; }
.mission-ledger__bar--h4 { height: 70%; }
.mission-ledger__bar--h5 { height: 50%; }

.mission-ledger__tick {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.625rem;
}

@media (min-width: 640px) {
    .mission-ledger__lift {
        transform: translateY(-2.5rem);
    }
}

.mission-ledger__barcol {
    min-width: 0;
    flex-basis: 0;
}

.mission-ledger__barcol .mission-ledger__pill {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* the badge next to the card footer text wraps instead of running past the card edge */
.mission-ledger__lift :not(.mission-ledger__barcol):has(> .mission-ledger__pill) { flex-wrap: wrap; row-gap: .375rem; }
.mission-ledger__lift :not(.mission-ledger__barcol) > .mission-ledger__pill { white-space: normal; max-width: 100%; }
.mission-ledger__lift :not(.mission-ledger__barcol):has(> .mission-ledger__pill) > :first-child { min-width: 0; }

/* process glassmorphism — fog blobs, backdrop blur, rune decor, num sizing */
.process-glass__fog {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.process-glass__fog::before {
    content: '';
    position: absolute;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    filter: blur(5rem);
    opacity: 0.1;
    top: -10rem;
    left: -5rem;
    background: var(--bs-primary);
}

.process-glass__fog::after {
    content: '';
    position: absolute;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    filter: blur(5rem);
    opacity: 0.07;
    bottom: -8rem;
    right: -5rem;
    background: var(--bs-primary);
}

.process-glass__card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-glass__card-hov:hover,
.process-glass__card-hov:focus-within {
    transform: translateY(-0.35rem);
    box-shadow: var(--bs-box-shadow-lg);
}

.process-glass__detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 280ms ease, opacity 220ms ease, margin-top 220ms ease;
}

.process-glass__card-hov:hover .process-glass__detail,
.process-glass__card-hov:focus-within .process-glass__detail {
    max-height: 12rem;
    opacity: 1;
    margin-top: 0.25rem;
}

.process-glass__rune {
    position: absolute;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.04;
    bottom: -0.5rem;
    right: 1rem;
    pointer-events: none;
    user-select: none;
}

.process-glass__num {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

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

    .process-glass__card-hov:hover,
    .process-glass__card-hov:focus-within {
        transform: none;
    }

    .process-glass__detail {
        max-height: none;
        opacity: 1;
        overflow: visible;
    }
}

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

.trust-dashboard__heading {
    letter-spacing: -0.025em;
}

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

.trust-dashboard__num {
    min-width: 2rem;
}

.trust-dashboard__plus {
    transition: transform 200ms ease;
}

.trust-dashboard__item.is-open .trust-dashboard__plus {
    transform: rotate(45deg);
}

.trust-dashboard__panel {
    padding-left: 3.25rem;
}

.trust-dashboard__cloud {
    filter: blur(2.5rem);
    pointer-events: none;
}

.trust-dashboard__cloud--a { width: 16rem; height: 9rem; transform: translate(-4rem, -2rem); }
.trust-dashboard__cloud--b { width: 20rem; height: 11rem; transform: translate(60%, 160%); }

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

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

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

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

.trust-dashboard__tiny {
    font-size: 0.6875rem;
    line-height: 1rem;
}

.trust-dashboard__icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.trust-dashboard__insight-body {
    min-width: 0;
}

.trust-dashboard__chart {
    height: 8.5rem;
    overflow: visible;
}

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

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

.trust-dashboard__chart-guide {
    animation: trust-chart-guide 4.8s ease-in-out infinite;
}

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

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

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

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

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

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

@media (prefers-reduced-motion: reduce) {
    .trust-dashboard__heat,
    .trust-dashboard__chart-fill,
    .trust-dashboard__chart-line,
    .trust-dashboard__chart-guide,
    .trust-dashboard__chart-mark,
    .trust-dashboard__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 */
.trust-dashboard__panel[hidden] { display: none !important; }

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

/* FAQ v20 — timeline stepper mechanics */
.stepper-answers__line {
    left: 15px;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
}

.stepper-answers__badge {
    width: 2rem;
    height: 2rem;
}

