/* Public features page (/features) - loaded only on the features route. */

.features-page {
    color: #1c2a45;
}

.features-page section {
    scroll-margin-top: 110px;
}

/* ---------- shared ---------- */

.features-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2743a6;
    margin-bottom: 14px;
}

.features-eyebrow-light {
    color: #8fa8e8;
}

/* ---------- hero ---------- */

.features-hero h1 {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 700;
}

.features-factrow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    padding-top: 18px;
    border-top: 1px solid #e6ebf5;
    font-size: 14px;
    font-weight: 600;
    color: #44536f;
}

.features-factrow span {
    white-space: nowrap;
}

/* Secondary hero button: the landing theme paints btn-outline-primary
   orange; restyle it to the brand blue on this page. */
.features-hero .btn-outline-primary {
    color: #2743a6;
    border-color: #4f7cff;
    background: transparent;
}

.features-hero .btn-outline-primary:hover,
.features-hero .btn-outline-primary:focus,
.features-hero .btn-outline-primary:active {
    color: #2743a6;
    border-color: #4f7cff;
    background: #eef3ff;
    box-shadow: none;
}

/* ---------- TOC card ---------- */

.features-toc-title {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6c7a95;
    margin-bottom: 10px;
}

.features-toc ol {
    list-style: none;
    padding-left: 0;
}

.features-toc li {
    border-bottom: 1px solid #edf1f8;
}

.features-toc li:last-child {
    border-bottom: none;
}

.features-toc a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 2px;
    color: #1c2a45;
    font-size: 15.5px;
    text-decoration: none;
}

.features-toc a:hover {
    color: #2743a6;
}

.features-toc-leader {
    flex: 1;
    border-bottom: 1px dotted #b9c4dd;
    transform: translateY(-4px);
}

.features-toc-count {
    font-size: 13px;
    color: #6c7a95;
    font-variant-numeric: tabular-nums;
}

/* ---------- feature groups ---------- */

.features-group {
    padding: 44px 0;
    border-bottom: 1px solid #e6ebf5;
}

.features-group-num {
    font-size: 15px;
    font-weight: 600;
    color: #4f7cff;
    margin-bottom: 4px;
}

/* On desktop, lift the left column so the group number sits in the section's
   top padding and the title aligns with the first feature row. */
@media (min-width: 992px) {
    .features-group-num {
        margin-top: -28px;
    }
}

.features-group-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.features-group-intro {
    font-size: 15px;
    color: #6c7a95;
    max-width: 26em;
}

.features-item {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #edf1f8;
}

.features-item:first-child {
    padding-top: 0;
}

.features-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.features-item dt {
    font-weight: 600;
    font-size: 16px;
}

.features-item dd {
    font-size: 15px;
    color: #44536f;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .features-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* ---------- integrations ---------- */

.features-integrations {
    padding: 44px 0;
    border-bottom: 1px solid #e6ebf5;
}

.features-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.features-chip {
    border: 1px solid #dce3f0;
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 14.5px;
    font-weight: 500;
    color: #44536f;
    background: #fff;
}

/* ---------- security band ---------- */

.features-security {
    background: #0e1830;
    color: #c7d2ea;
    border-radius: 14px;
    padding: 44px 40px;
    margin: 44px 0;
}

.features-security-title {
    color: #fff;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
}

.features-security-point {
    border-left: 2px solid #33477a;
    padding-left: 18px;
    margin-bottom: 20px;
}

.features-security-point:last-child {
    margin-bottom: 0;
}

.features-security-point h3 {
    color: #fff;
    font-size: 16.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.features-security-point p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .features-security {
        padding: 32px 22px;
    }
}

/* ---------- languages ---------- */

.features-langs {
    padding: 34px 0;
    border-bottom: 1px solid #e6ebf5;
}

.features-langs-big {
    font-size: clamp(19px, 2.4vw, 24px);
    font-weight: 600;
    color: #1c2a45;
    max-width: 32em;
    margin: 0 auto 8px;
}

.features-langs-small {
    color: #6c7a95;
    font-size: 15px;
}

/* ---------- CTA ---------- */

.features-cta {
    padding: 56px 0 64px;
}

.features-cta h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    margin-bottom: 12px;
}

.features-cta p {
    color: #44536f;
    font-size: 16.5px;
    max-width: 36em;
    margin: 0 auto 24px;
}
