html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* The header is sticky (50px tall), so in-page anchor jumps must stop below it
   instead of scrolling the target under the header (50px header + 10px gap). */
html {
    scroll-padding-top: 60px;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #0527f4;
    border-color: #0527f4;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.12rem #258cfb;
    border-color: #36a4f7;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5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7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Start Features page */

.ft-wrap {
    max-width: 1080px;
    margin: 0 auto;
}

.ft-head {
    text-align: center;
    margin-bottom: 3rem;
}

.ft-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #0527f4;
    background: #f0eefd;
    padding: .35rem .85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.ft-head h1 {
    font-weight: 800;
    color: #15103a;
    margin-bottom: .75rem;
}

.ft-head p {
    color: #6b6890;
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.ft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.ft-card {
    border: 1px solid #e6e4f5;
    border-radius: 14px;
    padding: 1.85rem 1.7rem;
    background: #fff;
    box-shadow: 0 4px 14px rgba(20,12,80,.05);
    display: flex;
    flex-direction: column;
    transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
}

    .ft-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(5,39,244,.14);
    }

.ft-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f0eefd;
    color: #0527f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 1.15rem;
}

/* h3 as well as h2: the cards are a summary grid under a section heading on the features page and
   on the home page, so their titles sit a level down. */
.ft-card h2,
.ft-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #15103a;
    margin-bottom: .6rem;
}

.ft-card > p {
    color: #6b6890;
    font-size: .95rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.ft-list {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0;
}

    .ft-list li {
        position: relative;
        padding: .4rem 0 .4rem 1.55rem;
        color: #33305a;
        border-top: 1px solid #f0eefa;
        font-size: .9rem;
    }

        .ft-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #0527f4;
            font-weight: 800;
        }

.ft-cta {
    text-align: center;
    margin: 3.5rem 0 1rem 0;
}

    .ft-cta h2,
    .ft-cta h3 {
        font-weight: 800;
        font-size: 1.75rem;
        color: #15103a;
        margin-bottom: .35rem;
    }

    .ft-cta p {
        color: #6b6890;
        margin-bottom: 1.5rem;
    }

.ft-btn {
    display: inline-block;
    padding: .75rem 1.6rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    margin: 0 .35rem .5rem .35rem;
    transition: all .15s ease-in-out;
}

.ft-btn--primary {
    background: #0527f4;
    color: #fff;
    border: 2px solid #0527f4;
}

    .ft-btn--primary:hover {
        background: #3a1fd6;
        border-color: #3a1fd6;
        color: #fff;
    }

.ft-btn--ghost {
    background: #fff;
    color: #0527f4;
    border: 2px solid #0527f4;
}

    .ft-btn--ghost:hover {
        background: #0527f4;
        color: #fff;
    }

/* ---- Long-form SEO sections (features page). Same palette as the cards above; the home page's
   equivalents live under hm-* in Home.razor.css because they are scoped to that page. ---- */

.ft-section {
    padding: 3.25rem 0 0 0;
}

/* The overview grid sits directly under the page header, which already has its own bottom margin. */
.ft-section--flush {
    padding-top: 0;
}

.ft-section-head {
    margin-bottom: 2rem;
}

    .ft-section-head h2 {
        font-weight: 800;
        color: #15103a;
        font-size: clamp(1.5rem, 2.6vw, 2rem);
        margin-bottom: .6rem;
    }

    .ft-section-head p {
        color: #6b6890;
        font-size: 1rem;
        max-width: 760px;
        margin: 0;
    }

/* Visually hidden but still read by crawlers and screen readers: the overview grid needs a heading
   to sit under, but showing one directly beneath the h1 and its lede would just be noise. */
.ft-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ft-prose p {
    color: #33305a;
    line-height: 1.7;
    max-width: 840px;
    margin-bottom: 1rem;
}

.ft-points {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0 0;
    max-width: 840px;
}

    .ft-points li {
        position: relative;
        padding: .4rem 0 .4rem 1.55rem;
        color: #33305a;
        font-size: .95rem;
        line-height: 1.55;
    }

        .ft-points li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #0527f4;
            font-weight: 800;
        }

.ft-muted {
    color: #6b6890;
    font-size: .95rem;
    margin-top: 1.5rem;
}

/* ---- Comparison table ---- */

/* Own scroll container so a narrow viewport scrolls the table instead of the page. */
.ft-table-wrap {
    overflow-x: auto;
    margin-top: 1.75rem;
}

.ft-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e6e4f5;
    border-radius: 14px;
    overflow: hidden;
    font-size: .95rem;
    min-width: 520px;
}

    .ft-table th,
    .ft-table td {
        padding: .85rem 1.1rem;
        text-align: left;
        border-top: 1px solid #f0eefa;
    }

    .ft-table thead th {
        background: #f6f4ff;
        color: #15103a;
        font-weight: 700;
        border-top: 0;
    }

    .ft-table tbody th {
        color: #33305a;
        font-weight: 500;
    }

    .ft-table td {
        text-align: center;
        font-weight: 600;
        white-space: nowrap;
    }

.ft-yes {
    color: #1a9d52;
}

.ft-no {
    color: #b7b4cc;
}

/* ---- Workflow steps ---- */

.ft-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.ft-step {
    border: 1px solid #e6e4f5;
    border-radius: 14px;
    background: #fff;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 4px 14px rgba(20,12,80,.05);
}

.ft-step-num {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #0527f4;
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.ft-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #15103a;
    margin-bottom: .5rem;
}

.ft-step p {
    color: #6b6890;
    font-size: .93rem;
    line-height: 1.6;
    margin: 0;
}

/* ---- FAQ ---- */

.ft-faq {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem 2.5rem;
}

.ft-faq-item h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #15103a;
    margin-bottom: .4rem;
}

.ft-faq-item p {
    color: #6b6890;
    font-size: .94rem;
    line-height: 1.6;
    margin: 0;
}

/* End Features Page*/

@media (min-width: 640px)
{
    .ft-head p
    {
        max-width:none;
    }
}

/* Brand blue variants (override Bootstrap danger) */

.btn-brand {
    color: #fff;
    background-color: #0527f4;
    border-color: #0527f4;
}

    .btn-brand:hover,
    .btn-brand:focus,
    .btn-brand:active {
        color: #fff;
        background-color: #3a1fd6;
        border-color: #3a1fd6;
    }

.btn-outline-brand {
    color: #0527f4;
    border-color: #0527f4;
}

    .btn-outline-brand:hover,
    .btn-outline-brand:focus,
    .btn-outline-brand:active {
        color: #fff;
        background-color: #0527f4;
        border-color: #0527f4;
    }

/* !important beats Bootstrap's .bg-danger utility (_utilities.scss) */
.badge-brand {
    background-color: #0527f4 !important;
}

/* Cookie consent bar (fixed to the bottom of every page).
   Shown by default; hidden once html.cookie-consent-accepted is set (see App.razor). */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    padding: .85rem 1.25rem;
    background: #0527f4;
    color: #fff;
    font-size: .92rem;
    line-height: 1.45;
    box-shadow: 0 -2px 12px rgba(20, 12, 80, .22);
}

html.cookie-consent-accepted .cookie-consent {
    display: none;
}

.cookie-consent-text {
    max-width: 820px;
}

.cookie-consent-link {
    color: #9db0ff;
    text-decoration: underline;
}

    .cookie-consent-link:hover {
        color: #c2ccff;
    }

.cookie-consent-btn {
    flex: 0 0 auto;
    background: #051072;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .5rem 1.35rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease-in-out;
}

    .cookie-consent-btn:hover,
    .cookie-consent-btn:focus {
        background: #3a1fd6;
    }