html.features-lock,
html.features-lock body.features-page {
    height: 100%;
    overflow: hidden;
}
.features-page {
    --home-left-shift: 0px;
    background: #F8F6FF;
    display: flex;
    flex-direction: column;
}
.features-page .header-inner {
    max-width: 1180px;
    padding: 12px 28px;
}
.features-page .brand,
.features-page .header-actions {
    margin: 0;
}
.features-page .nav-links a.active {
    color: #4338CA;
    box-shadow: inset 0 -2px 0 #5850EC;
    padding-bottom: 4px;
}

.features {
    flex: 1 1 auto;
    min-height: 0;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 8px 28px 16px;
    display: flex;
    flex-direction: column;
}

.features-hero {
    text-align: center;
    flex: 0 0 auto;
    margin-bottom: 14px;
}
.features-hero h1 {
    font-family: Sora, Inter, sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #1A1730;
    margin: 0 auto;
}
.features-hero .lede {
    margin: 4px auto 0;
    max-width: 44rem;
    color: #6B6880;
    font-size: 0.8rem;
    line-height: 1.35;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    flex: 1 1 auto;
    min-height: 0;
    align-content: stretch;
}

.feature-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 10px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #fff;
    border: 1.5px solid #EEEAF8;
    border-radius: 18px;
    padding: 16px 16px 14px;
    box-shadow: 0 14px 36px rgba(30, 27, 46, 0.07);
}
.feature-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.ic-insights { background: #FCE7F3; color: #DB2777; }
.ic-security { background: #CCFBF1; color: #0D9488; }
.ic-support { background: #FEF3C7; color: #D97706; }
.ic-track { background: #FFEDD5; color: #EA580C; }

.feature-card h2 {
    font-family: Sora, Inter, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1E1B2E;
    line-height: 1.25;
    align-self: center;
    overflow-wrap: break-word;
}
.feature-card > p {
    grid-column: 1 / -1;
    color: #6B6880;
    font-size: 0.78rem;
    line-height: 1.45;
    margin: 10px 0 10px;
}
.feature-card ul {
    grid-column: 1 / -1;
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    color: #3D3A4E;
    font-size: 0.76rem;
    line-height: 1.45;
}
.feature-card li::before {
    content: "";
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%235850EC' d='M6.4 11.6 2.8 8l1.1-1.1 2.5 2.5 5.7-5.7L13.2 5z'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}

.features-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
    margin-top: 12px;
    padding: 6px 20px 6px 8px;
    background: #EDE9FE;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}
.features-banner img {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    object-fit: contain;
}
.features-banner-copy {
    flex: 1;
    min-width: 0;
}
.features-banner h2 {
    font-family: Sora, Inter, sans-serif;
    font-weight: 800;
    font-size: clamp(0.82rem, 1.2vw, 0.95rem);
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #4C1D95;
}
.features-banner p {
    margin-top: 2px;
    color: #6B6880;
    font-size: 0.75rem;
    line-height: 1.4;
    max-width: 36ch;
}
.features-banner .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    height: 40px;
}

@media (max-width: 1100px) {
    html.features-lock,
    html.features-lock body.features-page {
        height: auto;
        overflow: auto;
    }
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex: 0 0 auto;
    }
}

@media (max-width: 900px) {
    .features-page .nav-links { display: none; }
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .features-banner {
        flex-direction: column;
        text-align: center;
        padding: 12px 24px 24px;
    }
    .features-banner img {
        margin: 0;
        width: 120px;
        height: 120px;
    }
    .features-banner p { max-width: none; }
}
