/* Shared platform trust sections inspired by restrained product-led sites. */
html:not(.page-home) .platform-principles {
    position: relative;
    padding-top: 68px !important;
    padding-bottom: 72px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(4, 18, 26, 0.28);
}

html:not(.page-home) .platform-principles__header {
    display: grid;
    grid-template-columns: minmax(220px, 0.66fr) minmax(0, 1fr);
    gap: 22px 42px;
    align-items: end;
    margin-bottom: 28px;
}

html:not(.page-home) .platform-principles__header h2 {
    margin: 0;
    color: var(--text, #f5faf7);
    font-size: 40px;
    line-height: 1.14;
    letter-spacing: 0;
}

html:not(.page-home) .platform-principles__header p {
    margin: 0;
    max-width: 760px;
    color: var(--muted, #a9b6b1);
    font-size: 15px;
    line-height: 1.72;
}

html:not(.page-home) .platform-principles__eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    min-height: 28px;
    padding: 5px 11px;
    border: 1px solid rgba(54, 184, 169, 0.22);
    border-radius: 999px;
    background: rgba(54, 184, 169, 0.08);
    color: var(--primary-light, #36b8a9);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

html:not(.page-home) .platform-principles__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

html:not(.page-home) .platform-principle {
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.032)),
        rgba(7, 26, 35, 0.46);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html:not(.page-home) .platform-principle__label {
    display: block;
    margin-bottom: 12px;
    color: var(--primary-light, #36b8a9);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: uppercase;
}

html:not(.page-home) .platform-principle h3 {
    margin: 0 0 8px;
    color: var(--text, #f5faf7);
    font-size: 17px;
    line-height: 1.34;
    letter-spacing: 0;
}

html:not(.page-home) .platform-principle p {
    margin: 0;
    color: var(--muted, #a9b6b1);
    font-size: 13.5px;
    line-height: 1.62;
}

html:not(.page-home) .platform-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

html:not(.page-home) .platform-cta-actions .btn-secondary,
html:not(.page-home) .platform-cta-actions .btn-ghost,
html:not(.page-home) .platform-cta-actions .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 8px;
    text-decoration: none;
}

html:not(.page-home) .platform-cta-note {
    margin: 16px auto 0 !important;
    max-width: 640px;
    color: var(--muted, #a9b6b1) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

html:not(.page-home) .evidence-slot__frame {
    color: var(--text-soft, #dce7e3);
}

@media (max-width: 1024px) {
    html:not(.page-home) .platform-principles__header {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    html:not(.page-home) .platform-principles__header h2 {
        font-size: 34px;
    }

    html:not(.page-home) .platform-principles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    html:not(.page-home) .platform-principles {
        padding: 48px 16px !important;
    }

    html:not(.page-home) .platform-principles__grid {
        grid-template-columns: 1fr;
    }

    html:not(.page-home) .platform-principle {
        padding: 17px;
    }

    html:not(.page-home) .platform-principles__header h2 {
        font-size: 28px;
    }

    html:not(.page-home) .platform-cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    html:not(.page-home) .platform-cta-actions a {
        width: 100%;
        justify-content: center;
    }
}
