/* Statistics and evolution: shared desktop/tablet/mobile layout. */
.addon-homepage .addon-facts {
    padding-block: clamp(40px, 5vw, 72px) !important;
}
.addon-homepage .addon-facts__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin-top: 32px;
}
.addon-homepage .addon-facts__grid article {
    min-width: 0;
    padding: 24px 16px !important;
}
.addon-homepage .addon-facts__grid strong {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-variant-numeric: tabular-nums;
}
.addon-homepage .addon-facts__grid p {
    font-size: clamp(.875rem, 1.4vw, 1rem);
    line-height: 1.5;
}
@media (max-width: 599.98px) {
    .addon-homepage .addon-facts header h2 {
        font-size: 1.5rem !important;
        max-width: 20ch;
        margin-inline: auto !important;
    }
    .addon-homepage .addon-facts__grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        margin-top: 24px;
    }
    .addon-homepage .addon-facts__grid article {
        display: grid;
        grid-template-columns: minmax(110px, .85fr) minmax(0, 1.15fr);
        align-items: center;
        gap: 16px;
        padding: 20px !important;
        border: 1px solid #dce6ef;
        border-radius: 16px;
        background: rgba(255, 255, 255, .8);
        text-align: left;
    }
    .addon-homepage .addon-facts__grid article::before { display: none; }
    .addon-homepage .addon-facts__grid strong {
        justify-content: flex-start;
        font-size: 2.5rem;
    }
    .addon-homepage .addon-facts__grid p { margin: 0; }
}
@media (max-width: 767.98px) {
    .addon-homepage .company-about__evolution {
        margin-top: 28px;
        padding-top: 24px;
    }
    .addon-homepage .company-about__evolution header { margin-bottom: 16px; }
    .addon-homepage .company-about__evolution-nav-wrapper {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow: visible;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .addon-homepage .company-about__timeline-track {
        width: 100%;
        min-width: 0;
        padding: 10px 0 4px;
    }
    .addon-homepage .company-about__timeline-list { gap: 4px !important; }
    .addon-homepage .company-about__timeline-rail { top: 23px; }
    .addon-homepage .company-about__milestone-tab { gap: 8px; min-height: 88px; }
    .addon-homepage .company-about__milestone-pill {
        width: 100%;
        min-width: 0;
        padding: 8px 2px;
        border-radius: 10px;
    }
    .addon-homepage .company-about__milestone-gen {
        font-size: .625rem !important;
        letter-spacing: .02em;
        white-space: nowrap;
    }
    .addon-homepage .company-about__milestone-year { font-size: .8rem !important; }
    .addon-homepage .company-about__evolution-panels { margin-top: 16px; min-height: 0; }
    .addon-homepage .company-about__evolution-panel { padding: 22px 18px; border-radius: 16px; }
    .addon-homepage .company-about__panel-header { gap: 8px; margin-bottom: 16px; }
    .addon-homepage .company-about__panel-title { font-size: 1.125rem; line-height: 1.45; }
    .addon-homepage .company-about__panel-text { font-size: .875rem; line-height: 1.75; }
    .addon-homepage .company-about__panel-watermark { display: none; }
}
@media (max-width: 767.98px) {
    /* Compact generation selectors replace the decorative rail on phones. */
    .addon-homepage .company-about__timeline-rail,
    .addon-homepage .company-about__milestone-node,
    .addon-homepage .company-about__timeline-track::before,
    .addon-homepage .company-about__timeline-track::after,
    .addon-homepage .company-about__timeline-item::after,
    .addon-homepage .company-about__milestone-tab::before,
    .addon-homepage .company-about__milestone-tab::after { display: none !important; }
    .addon-homepage .company-about__milestone-tab {
        min-height: 72px;
        padding: 0;
        gap: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
    }
    .addon-homepage .company-about__milestone-pill {
        min-height: 72px;
        gap: 5px;
        border: 1px solid #dce5ef;
        background: #fff;
        box-shadow: none;
        transform: none;
    }
    .addon-homepage .company-about__milestone-tab.is-active .company-about__milestone-pill {
        background: #edf4fc;
        border-color: #315f9f;
        box-shadow: inset 0 -3px #315f9f;
    }
    .addon-homepage .company-about__milestone-gen {
        padding: 0;
        background: transparent;
    }
}
@media (max-width: 767.98px) {
    .addon-homepage .company-about__timeline-item {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* Compliance: centered hub and balanced partner cards on mobile/tablet. */
@media (max-width: 991.98px) {
    .addon-homepage .compliance-ecosystem__network {
        width: 100%;
        max-width: 640px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: auto;
        gap: 14px !important;
        align-items: stretch;
        margin: 24px auto 0 !important;
    }
    .addon-homepage .compliance-ecosystem__hub {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
        width: 132px !important;
        height: 132px !important;
        margin: 20px auto 34px !important;
    }
    .addon-homepage .compliance-ecosystem__hub::before { inset: -12px !important; }
    .addon-homepage .compliance-ecosystem__hub::after { inset: -22px !important; }
    .addon-homepage .compliance-ecosystem__hub-ring {
        width: 10px !important;
        height: 10px !important;
        right: 18px !important;
    }
    .addon-homepage .compliance-ecosystem__item {
        grid-column: auto;
        grid-row: auto;
        min-width: 0;
        min-height: 156px;
        padding: 26px 12px 18px;
        gap: 10px;
        border: 1px solid #dce6ef;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 5px 18px rgba(23, 54, 95, .04);
    }
    .addon-homepage .compliance-ecosystem__number {
        top: 9px;
        right: 11px;
        color: #8797ab;
        font-size: .625rem;
    }
    .addon-homepage .compliance-ecosystem__mark {
        min-height: 52px;
        height: 52px !important;
        max-height: 52px !important;
        padding: 0 !important;
    }
    .addon-homepage .compliance-ecosystem__official-logo {
        max-height: 48px !important;
        max-width: 100% !important;
    }
    .addon-homepage .compliance-ecosystem__item h3 {
        margin: 0 !important;
        font-size: .8125rem;
        font-weight: 600;
        line-height: 1.5;
        color: #334b68;
        overflow-wrap: anywhere;
    }
    .addon-homepage .compliance-ecosystem__description {
        max-width: 640px;
        padding: 18px;
        margin: 20px auto 0 !important;
        font-size: .875rem;
        line-height: 1.75 !important;
        border-radius: 16px;
        text-align: left;
    }
}
@media (max-width: 767.98px) {
    .addon-homepage #compliance.compliance-ecosystem h2 {
        font-size: clamp(1.4rem, 5.7vw, 1.8rem) !important;
        line-height: 1.3 !important;
        letter-spacing: -.025em !important;
        text-wrap: balance;
    }
    .addon-homepage .compliance-ecosystem__eyebrow {
        font-size: .625rem;
        letter-spacing: .13em;
        margin-bottom: 12px;
    }
    .addon-homepage .compliance-ecosystem__line { margin: 16px auto 24px !important; }
}
@media (max-width: 359.98px) {
    .addon-homepage .compliance-ecosystem__network { gap: 10px !important; }
    .addon-homepage .compliance-ecosystem__item { padding-inline: 10px; }
}

@media (max-width: 767.98px) {
    .addon-homepage .home-news-journal__header {
        align-items: flex-start !important;
        gap: 14px !important;
        margin-bottom: 24px;
    }
    .addon-homepage .home-news-list { border-top: 0; }
    .addon-homepage .home-news-row,
    .addon-homepage .home-news-row:first-child {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
        padding: 0 0 24px !important;
        margin: 0 0 24px !important;
    }
    .addon-homepage .home-news-row + .home-news-row { border-top: 0 !important; }
    .addon-homepage .home-news-row__image {
        width: 100%;
        height: auto !important;
        aspect-ratio: 16 / 9;
        border-radius: 16px !important;
    }
    .addon-homepage .home-news-row__copy { min-width: 0; }
    .addon-homepage .home-news-row__meta {
        gap: 4px 8px !important;
        font-size: .75rem !important;
        letter-spacing: .01em !important;
        line-height: 1.6 !important;
    }
    .addon-homepage .home-news-row__date { flex-basis: 100%; }
    .addon-homepage .home-news-row__author { min-width: 0; overflow-wrap: anywhere; }
    .addon-homepage .home-news-row__author-separator { display: none; }
    .addon-homepage .home-news-row h3 {
        display: block;
        overflow: visible;
        margin: 10px 0 !important;
        font-size: 1.125rem !important;
        line-height: 1.45 !important;
        letter-spacing: -.02em;
        overflow-wrap: anywhere;
        -webkit-line-clamp: unset;
    }
    .addon-homepage .home-news-row__copy p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-size: .875rem;
        line-height: 1.65 !important;
        margin: 0 0 8px !important;
    }
    .addon-homepage .home-news-row__read {
        min-height: 44px;
        margin-top: 0;
        font-size: .8125rem;
    }
}
@media (max-width: 991.98px) {
    .addon-homepage .compliance-ecosystem__item { overflow: hidden; }
}

/* Hero content scales with the viewport instead of fixed offsets. */
.addon-homepage .smart-hero {
    min-height: 0 !important;
}
.addon-homepage .smart-hero__intro {
    min-height: clamp(560px, calc(100svh - 90px), 780px) !important;
    padding-block: 72px !important;
}
.addon-homepage .smart-hero__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 960px);
    min-width: 0;
    margin: 0 auto;
}
.addon-homepage .smart-hero__tagline {
    max-width: 780px !important;
    margin: 0 auto 28px !important;
    font-size: clamp(1.75rem, 2.8vw, 2.625rem) !important;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3 !important;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.addon-homepage .smart-hero__statement {
    width: 100%;
    min-width: 0;
    font-size: clamp(3rem, 5.5vw, 5.25rem) !important;
    line-height: 1.1 !important;
}
.addon-homepage .smart-hero__word-rotator {
    width: min(7em, 100%) !important;
    height: 1.25em;
    border-radius: 12px !important;
}
.addon-homepage .smart-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px !important;
    margin-top: 32px !important;
    width: 100%;
}
.addon-homepage .smart-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 52px !important;
    padding: 14px 24px !important;
    font-size: .875rem !important;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
}
@media (max-width: 991.98px) {
    .addon-homepage .smart-hero__intro {
        min-height: clamp(520px, calc(90svh - 66px), 720px) !important;
        padding-block: 56px !important;
    }
    .addon-homepage .smart-hero__shade {
        background: linear-gradient(180deg, rgba(5,13,22,.52), rgba(5,13,22,.65)) !important;
    }
}
@media (max-width: 575.98px) {
    .addon-homepage .smart-hero__intro {
        min-height: clamp(500px, calc(90svh - 60px), 640px) !important;
        padding: 44px 20px !important;
    }
    .addon-homepage .smart-hero__tagline {
        max-width: 23ch !important;
        margin-bottom: 24px !important;
        font-size: clamp(1.375rem, 6vw, 1.875rem) !important;
        line-height: 1.4 !important;
    }
    .addon-homepage .smart-hero__statement {
        font-size: clamp(2rem, 9vw, 3rem) !important;
    }
    .addon-homepage .smart-hero__actions {
        max-width: 340px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px !important;
        margin-top: 28px !important;
    }
    .addon-homepage .smart-hero__button { width: 100%; min-width: 0; }
}
