.home-page {
    padding-top: 18px;
}

.home-hero-centered,
.home-feature-showcase,
.home-steps-shell,
.home-dashboard-shell,
.home-usecases-shell {
    border: 1px solid rgba(88, 101, 124, 0.12);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--ds-shadow-sm);
}

.home-hero-centered {
    padding: 44px 40px 34px;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(172, 210, 255, 0.26), transparent 28%),
        radial-gradient(circle at top right, rgba(223, 206, 255, 0.22), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.9));
}

.home-hero-badge,
.home-section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(63, 117, 255, 0.10);
    color: #2e63e8;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.home-section-tag {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.88rem;
}

.home-hero-centered h1,
.home-section-heading h2,
.home-final-cta-inner h2 {
    margin: 22px auto 18px;
    max-width: 22.5ch;
    color: var(--ds-text);
    font-size: clamp(2.65rem, 3.8vw, 4.2rem);
    line-height: 0.95;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.home-hero-lead,
.home-section-heading p,
.home-proof-copy p,
.home-final-cta-inner p {
    margin: 0 auto;
    max-width: 48ch;
    color: var(--ds-muted);
    font-size: 1.08rem;
    line-height: 1.62;
}

.home-hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.home-hero-ctas-centered,
.home-final-cta-actions-centered {
    justify-content: center;
    margin-top: 28px;
}

.home-hero-ctas-centered .ds-btn {
    min-width: 228px;
}

.home-hero-proof {
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.home-hero-proof span {
    position: relative;
    padding-left: 26px;
    color: #41516d;
    font-size: 1rem;
    font-weight: 500;
}

.home-hero-proof span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #16c45b;
    box-shadow: 0 0 0 5px rgba(22, 196, 91, 0.12);
}

.home-feature-showcase,
.home-steps-shell,
.home-dashboard-shell,
.home-usecases-shell {
    padding: 34px 34px 36px;
}

.home-section-heading {
    max-width: 74ch;
    margin: 0 0 28px;
}

.home-section-heading-centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.home-section-heading h2 {
    max-width: none;
    margin-top: 16px;
    font-size: clamp(2.35rem, 4vw, 4.5rem);
}

.home-features-grid,
.home-steps-grid,
.home-usecases-grid {
    display: grid;
    gap: 22px;
}

.home-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-feature-card,
.home-step-card,
.home-usecase-card,
.home-proof-points article {
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(88, 101, 124, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 253, 0.94));
}

.home-feature-icon,
.home-usecase-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: linear-gradient(180deg, #5d85ff, #9c45f0);
    box-shadow: 0 16px 30px rgba(92, 117, 255, 0.22);
    position: relative;
    overflow: hidden;
}

.home-feature-icon::before,
.home-feature-icon::after {
    content: "";
    position: absolute;
}

.home-feature-icon.is-split::before,
.home-feature-icon.is-split::after {
    top: 18px;
    width: 18px;
    height: 30px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
}

.home-feature-icon.is-split::before {
    left: 14px;
}

.home-feature-icon.is-split::after {
    right: 14px;
}

.home-feature-icon.is-checks::before {
    inset: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
}

.home-feature-icon.is-checks::after {
    left: 19px;
    top: 31px;
    width: 26px;
    height: 12px;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(-45deg);
}

.home-feature-icon.is-score::before {
    left: 16px;
    bottom: 16px;
    width: 10px;
    height: 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 14px -8px 0 rgba(255, 255, 255, 0.86), 28px -18px 0 rgba(255, 255, 255, 0.74);
}

.home-feature-icon.is-score::after {
    left: 14px;
    bottom: 14px;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.55);
}

.home-feature-card h3,
.home-step-card h3,
.home-usecase-card h3,
.home-proof-points strong {
    margin: 0 0 12px;
    color: var(--ds-text);
    font-size: 1.2rem;
    line-height: 1.3;
}

.home-feature-card p,
.home-step-card p,
.home-usecase-card p,
.home-proof-points p {
    margin: 0;
    color: var(--ds-muted);
    font-size: 1rem;
    line-height: 1.64;
}

.home-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 28px;
    align-items: start;
}

.home-proof-copy {
    padding: 6px 2px;
}

.home-proof-copy h2 {
    margin: 16px 0 14px;
    color: var(--ds-text);
    font-size: clamp(2.2rem, 3.8vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.home-proof-points {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.home-proof-visual {
    min-width: 0;
}

.home-proof-photo {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(88, 101, 124, 0.12);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.home-proof-photo img {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.home-proof-caption {
    margin-top: 12px;
    color: #6c7a94;
    font-size: 0.96rem;
    line-height: 1.55;
}

.home-steps-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-step-card-clean {
    padding-top: 26px;
    text-align: center;
}

.home-step-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 82px;
    margin: 0 auto 18px;
}

.home-step-icon {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(180deg, #5d85ff, #9c45f0);
    box-shadow: 0 14px 26px rgba(92, 117, 255, 0.22);
}

.home-step-icon::before,
.home-step-icon::after {
    content: "";
    position: absolute;
}

.home-step-card-clean span {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 3px solid #2e63e8;
    background: #fff;
    color: #2e63e8;
    font-size: 1rem;
    font-weight: 700;
}

.home-step-card-clean.is-upload .home-step-icon::before {
    left: 31px;
    top: 18px;
    width: 4px;
    height: 24px;
    background: #fff;
    border-radius: 999px;
}

.home-step-card-clean.is-upload .home-step-icon::after {
    left: 23px;
    top: 18px;
    width: 20px;
    height: 20px;
    border-top: 4px solid #fff;
    border-left: 4px solid #fff;
    transform: rotate(45deg);
}

.home-step-card-clean.is-matrix .home-step-icon::before {
    inset: 18px;
    border: 4px solid rgba(255, 255, 255, 0.96);
    border-radius: 12px;
}

.home-step-card-clean.is-matrix .home-step-icon::after {
    left: 22px;
    top: 32px;
    width: 24px;
    height: 4px;
    background: #fff;
    box-shadow: 0 -10px 0 #fff, 0 10px 0 #fff;
}

.home-step-card-clean.is-validate .home-step-icon::before {
    left: 18px;
    top: 18px;
    width: 32px;
    height: 32px;
    border: 4px solid rgba(255, 255, 255, 0.96);
    border-radius: 999px;
}

.home-step-card-clean.is-validate .home-step-icon::after {
    left: 27px;
    top: 31px;
    width: 18px;
    height: 10px;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(-45deg);
}

.home-step-card-clean.is-export .home-step-icon::before {
    left: 20px;
    bottom: 18px;
    width: 6px;
    height: 14px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 12px -8px 0 #fff, 24px -16px 0 #fff;
}

.home-step-card-clean.is-export .home-step-icon::after {
    left: 18px;
    bottom: 16px;
    width: 34px;
    height: 3px;
    background: rgba(255, 255, 255, 0.65);
}

.home-dashboard-card {
    border: 1px solid rgba(88, 101, 124, 0.10);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 253, 0.96));
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.home-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 28px;
    border-bottom: 1px solid rgba(88, 101, 124, 0.10);
}

.home-dashboard-metrics article {
    padding: 24px;
    border: 1px solid rgba(88, 101, 124, 0.10);
    border-radius: 22px;
    background: #fff;
}

.home-dashboard-metrics span {
    display: block;
    margin-bottom: 14px;
    color: #5f6f89;
    font-size: 0.95rem;
    line-height: 1.4;
}

.home-dashboard-metrics strong {
    display: block;
    margin-bottom: 10px;
    color: var(--ds-text);
    font-size: 2.45rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.home-dashboard-metrics em {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 12px;
    background: #dff6e7;
    color: #0e9a4a;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
}

.home-dashboard-metrics em.is-warn {
    background: #fff2cc;
    color: #bf8300;
}

.home-dashboard-metrics em.is-danger {
    background: #ffe0e0;
    color: #d63737;
}

.home-dashboard-table {
    padding: 0 28px 28px;
}

.home-dashboard-table-head,
.home-dashboard-row {
    display: grid;
    grid-template-columns: 2.3fr 0.9fr 1fr 0.7fr;
    gap: 20px;
    align-items: center;
}

.home-dashboard-table-head {
    padding: 20px 12px 14px;
    color: #4b5d78;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-dashboard-row {
    padding: 18px 12px;
    border-top: 1px solid rgba(88, 101, 124, 0.10);
    color: var(--ds-text);
    font-size: 1rem;
}

.status-ok,
.status-warn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 600;
}

.status-ok {
    background: #dff6e7;
    color: #10804c;
}

.status-warn {
    background: #fff2cc;
    color: #bf8300;
}

.home-usecase-card-simple {
    text-align: left;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.home-usecases-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.home-usecase-visual {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.home-usecase-icon::before,
.home-usecase-icon::after {
    content: "";
    position: absolute;
}

.home-usecase-icon.is-credit::before {
    inset: 18px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
}

.home-usecase-icon.is-credit::after {
    left: 18px;
    top: 30px;
    width: 32px;
    height: 4px;
    background: #fff;
    box-shadow: 0 -10px 0 rgba(255, 255, 255, 0.95), 0 10px 0 rgba(255, 255, 255, 0.95);
}

.home-usecase-icon.is-kyc::before {
    left: 21px;
    top: 15px;
    width: 26px;
    height: 30px;
    border: 3px solid #fff;
    border-radius: 14px 14px 12px 12px;
}

.home-usecase-icon.is-kyc::after {
    left: 29px;
    top: 43px;
    width: 10px;
    height: 12px;
    border-radius: 999px;
    background: #fff;
}

.home-usecase-icon.is-backoffice::before {
    left: 16px;
    top: 18px;
    width: 36px;
    height: 24px;
    border-radius: 8px;
    border: 3px solid #fff;
}

.home-usecase-icon.is-backoffice::after {
    left: 20px;
    top: 28px;
    width: 28px;
    height: 3px;
    background: #fff;
    box-shadow: 0 -8px 0 rgba(255, 255, 255, 0.95), 0 8px 0 rgba(255, 255, 255, 0.95);
}

.home-usecase-widget {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(88, 101, 124, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 253, 0.96));
    display: grid;
    gap: 8px;
}

.home-usecase-widget span {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #dfe7f5;
}

.home-usecase-widget .is-top {
    width: 86%;
}

.home-usecase-widget .is-mid {
    width: 62%;
}

.home-usecase-widget .is-bottom {
    width: 74%;
}

.home-usecase-widget.is-credit .is-top {
    background: linear-gradient(90deg, #2e63e8 0%, #2e63e8 62%, #dfe7f5 62%);
}

.home-usecase-widget.is-credit .is-mid {
    width: 78%;
    background: linear-gradient(90deg, #3ac977 0%, #3ac977 38%, #dfe7f5 38%);
}

.home-usecase-widget.is-credit .is-bottom {
    width: 56%;
    background: linear-gradient(90deg, #f2c94c 0%, #f2c94c 28%, #dfe7f5 28%);
}

.home-usecase-widget.is-kyc .is-top {
    background: linear-gradient(90deg, #2e63e8 0%, #2e63e8 42%, #dfe7f5 42%);
}

.home-usecase-widget.is-kyc .is-mid {
    width: 72%;
    background: linear-gradient(90deg, #9c45f0 0%, #9c45f0 34%, #dfe7f5 34%);
}

.home-usecase-widget.is-kyc .is-bottom {
    width: 68%;
    background: linear-gradient(90deg, #16c45b 0%, #16c45b 22%, #dfe7f5 22%);
}

.home-usecase-widget.is-backoffice .is-top {
    background: linear-gradient(90deg, #2e63e8 0%, #2e63e8 54%, #dfe7f5 54%);
}

.home-usecase-widget.is-backoffice .is-mid {
    width: 82%;
    background: linear-gradient(90deg, #ff8c42 0%, #ff8c42 31%, #dfe7f5 31%);
}

.home-usecase-widget.is-backoffice .is-bottom {
    width: 60%;
    background: linear-gradient(90deg, #3ac977 0%, #3ac977 26%, #dfe7f5 26%);
}

.home-final-cta-simple {
    margin-top: 6px;
}

.home-final-cta-inner-centered {
    text-align: center;
    padding: 42px 34px;
    border-radius: 32px;
    color: #fff;
    background: linear-gradient(135deg, #2b62f0 0%, #6a34f4 100%);
    box-shadow: 0 24px 48px rgba(70, 85, 200, 0.22);
}

.home-rating-line {
    color: #ffd347;
    font-size: 1.08rem;
    font-weight: 700;
}

.home-rating-line span {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    margin-left: 10px;
}

.home-final-cta-inner-centered h2 {
    max-width: 12ch;
    color: #fff;
}

.home-final-cta-inner-centered p {
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.88);
}

.home-final-secondary {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.58);
}

.home-final-secondary:hover {
    color: #fff;
}

.home-hero-proof-light span {
    color: rgba(255, 255, 255, 0.92);
}

.home-hero-proof-light span::before {
    background: #22d365;
    box-shadow: 0 0 0 5px rgba(34, 211, 101, 0.16);
}

@media (max-width: 1240px) {
    .home-features-grid,
    .home-steps-grid-four,
    .home-dashboard-metrics,
    .home-usecases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-proof-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .home-hero-centered,
    .home-feature-showcase,
    .home-steps-shell,
    .home-dashboard-shell,
    .home-usecases-shell,
    .home-final-cta-inner-centered {
        padding: 26px 18px;
    }

    .home-hero-centered h1,
    .home-section-heading h2,
    .home-proof-copy h2,
    .home-final-cta-inner h2 {
        max-width: none;
        font-size: clamp(2.4rem, 10vw, 3.8rem);
    }

    .home-hero-ctas,
    .home-final-cta-actions-centered,
    .home-hero-proof {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero-ctas .ds-btn,
    .home-final-cta-actions-centered .ds-btn {
        width: 100%;
    }

    .home-features-grid,
    .home-steps-grid-four,
    .home-dashboard-metrics,
    .home-usecases-grid,
    .home-dashboard-table-head,
    .home-dashboard-row {
        grid-template-columns: 1fr;
    }

    .home-dashboard-table-head {
        display: none;
    }

    .home-dashboard-row {
        gap: 8px;
    }

    .home-proof-photo img {
        height: 280px;
    }
}
