/* Contact, Request Demo & About pages */

.cx-page {
    --cx-brand: #0d9488;
    --cx-brand-dark: #0b7068;
    --cx-brand-soft: #e6f6f4;
    --cx-navy: #0c1c2c;
    --cx-ink: #0f172a;
    --cx-text: #334155;
    --cx-muted: #64748b;
    --cx-line: #e2e8f0;
    --cx-field: #f8fafc;
    --cx-danger: #dc2626;
    --cx-radius: 18px;
    --cx-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .18);
    background: #f5f8fa;
    color: var(--cx-text);
    overflow-x: hidden;
    overflow-x: clip;
}

.cx-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.cx-hero {
    position: relative;
    padding: 88px 0 140px;
    color: #fff;
    background:
        radial-gradient(600px 300px at 85% 10%, rgba(20, 184, 166, .35), transparent 70%),
        radial-gradient(500px 280px at 5% 100%, rgba(13, 148, 136, .28), transparent 70%),
        linear-gradient(135deg, #0c1c2c 0%, #0f2a3d 55%, #0b3b3a 100%);
    overflow: hidden;
}

    .cx-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
        background-size: 44px 44px;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
        mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
        pointer-events: none;
    }

    .cx-hero .cx-container {
        position: relative;
        max-width: 860px;
        text-align: center;
    }

.cx-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
    color: #fff;
}

    .cx-hero h1 span {
        background: linear-gradient(90deg, #2dd4bf, #5eead4);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.cx-hero p {
    max-width: 640px;
    margin: 0 auto;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.65;
    color: #cbd5e1;
}

/* Quick-contact cards (overlap the hero) */
.cx-cards {
    position: relative;
    z-index: 2;
    margin-top: -88px;
}

.cx-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.cx-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: var(--cx-radius);
    box-shadow: var(--cx-shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .cx-card:hover {
        transform: translateY(-4px);
        border-color: rgba(13, 148, 136, .35);
        box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 20px 40px -14px rgba(13, 148, 136, .35);
    }

.cx-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: var(--cx-brand-soft);
    color: var(--cx-brand);
    font-size: 19px;
}

.cx-card h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--cx-ink);
}

.cx-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--cx-muted);
}

.cx-card a:not(.cx-link) {
    color: var(--cx-text);
    font-weight: 500;
    overflow-wrap: anywhere;
}

    .cx-card a:not(.cx-link):hover {
        color: var(--cx-brand);
    }

.cx-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--cx-brand);
    font-size: 14px;
    font-weight: 600;
}

    .cx-link i {
        font-size: 12px;
        transition: transform .2s ease;
    }

    .cx-link:hover i {
        transform: translateX(3px);
    }

/* Main split: info aside + form card */
.cx-main {
    padding: 72px 0 96px;
    scroll-margin-top: 20px;
}

.cx-main--lifted {
    position: relative;
    z-index: 2;
    margin-top: -88px;
    padding-top: 0;
}

.cx-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
}

.cx-aside {
    padding-top: 8px;
}

.cx-main--lifted .cx-aside {
    padding-top: 112px;
}

.cx-aside h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--cx-ink);
}

.cx-aside > p {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--cx-muted);
}

.cx-steps {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 18px;
}

    .cx-steps li {
        display: flex;
        gap: 14px;
        align-items: flex-start;
    }

    .cx-steps .cx-icon {
        width: 40px;
        height: 40px;
        margin: 0;
        border-radius: 10px;
        font-size: 16px;
    }

    .cx-steps strong {
        display: block;
        margin-bottom: 2px;
        font-size: 15.5px;
        color: var(--cx-ink);
    }

    .cx-steps span {
        font-size: 14.5px;
        line-height: 1.55;
        color: var(--cx-muted);
    }

.cx-steps--numbered {
    counter-reset: cx-step;
}

    .cx-steps--numbered .cx-icon::before {
        counter-increment: cx-step;
        content: counter(cx-step);
        font-weight: 700;
    }

.cx-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

    .cx-pills li {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border: 1px solid var(--cx-line);
        border-radius: 999px;
        background: #fff;
        font-size: 13.5px;
        font-weight: 500;
        color: var(--cx-text);
    }

        .cx-pills li i {
            color: var(--cx-brand);
        }

.cx-callout {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cx-navy), #0f3b3a);
    color: #e2e8f0;
}

    .cx-callout .cx-icon {
        margin: 0;
        background: rgba(45, 212, 191, .15);
        color: #5eead4;
    }

    .cx-callout strong {
        display: block;
        color: #fff;
        font-size: 15.5px;
    }

    .cx-callout span {
        font-size: 14px;
        color: #94a3b8;
    }

    .cx-callout a {
        color: #5eead4;
        font-weight: 600;
    }

        .cx-callout a:hover {
            text-decoration: underline;
        }

.cx-mockup {
    margin: 0 0 24px;
}

    .cx-mockup img {
        display: block;
        width: 100%;
        max-width: 520px;
        height: auto;
        filter: drop-shadow(0 24px 36px rgba(15, 23, 42, .18));
    }

/* Form card */
.cx-form-card {
    padding: 36px;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 22px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 30px 60px -24px rgba(15, 23, 42, .28);
}

.cx-form-card__head {
    margin-bottom: 24px;
}

    .cx-form-card__head h2 {
        margin: 0 0 6px;
        font-size: 24px;
        font-weight: 800;
        color: var(--cx-ink);
    }

    .cx-form-card__head p {
        margin: 0;
        font-size: 15px;
        color: var(--cx-muted);
    }

.cx-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cx-span-2 {
    grid-column: 1 / -1;
}

/* Floating-label fields */
.cx-field {
    position: relative;
}

    .cx-field input,
    .cx-field textarea {
        display: block;
        width: 100%;
        padding: 24px 16px 9px;
        border: 1.5px solid var(--cx-line);
        border-radius: 12px;
        background: var(--cx-field);
        color: var(--cx-ink);
        font: inherit;
        font-size: 15.5px;
        line-height: 1.4;
        transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
        -webkit-appearance: none;
        appearance: none;
    }

    .cx-field textarea {
        height: 132px;
        min-height: 110px;
        resize: vertical;
    }

    .cx-field label {
        position: absolute;
        top: 17px;
        left: 17px;
        right: 17px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: var(--cx-muted);
        font-size: 15.5px;
        pointer-events: none;
        transform-origin: left top;
        transition: transform .18s ease, color .18s ease;
    }

        .cx-field label .req {
            color: var(--cx-danger);
        }

    .cx-field input::placeholder,
    .cx-field textarea::placeholder {
        color: transparent;
        transition: color .18s ease;
    }

    .cx-field input:hover,
    .cx-field textarea:hover {
        border-color: #cbd5e1;
    }

    .cx-field input:focus,
    .cx-field textarea:focus {
        outline: none;
        border-color: var(--cx-brand);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(13, 148, 136, .14);
    }

        .cx-field input:focus::placeholder,
        .cx-field textarea:focus::placeholder {
            color: #94a3b8;
        }

        .cx-field input:focus + label,
        .cx-field textarea:focus + label {
            color: var(--cx-brand);
        }

        .cx-field input:focus + label,
        .cx-field input:not(:placeholder-shown) + label,
        .cx-field textarea:focus + label,
        .cx-field textarea:not(:placeholder-shown) + label {
            transform: translateY(-10px) scale(.78);
        }

    .cx-field input.error,
    .cx-field textarea.error {
        border-color: var(--cx-danger);
        background: #fef2f2;
    }

        .cx-field input.error + label,
        .cx-field textarea.error + label {
            color: var(--cx-danger);
        }

        .cx-field input.error:focus,
        .cx-field textarea.error:focus {
            box-shadow: 0 0 0 4px rgba(220, 38, 38, .12);
        }

/* Captcha */
.cx-captcha {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 14px;
    background: #fff;
}

.cx-captcha__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: var(--cx-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}

    .cx-captcha__badge i {
        color: var(--cx-brand);
        font-size: 16px;
    }

.cx-captcha__q {
    flex: 1 1 auto;
    min-width: 96px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--cx-brand-soft);
    color: var(--cx-ink);
    font-family: "Courier New", monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
}

.cx-captcha input {
    flex: 0 0 96px;
    width: 96px;
    padding: 11px 10px;
    border: 1.5px solid var(--cx-line);
    border-radius: 10px;
    background: var(--cx-field);
    color: var(--cx-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .cx-captcha input:focus {
        outline: none;
        border-color: var(--cx-brand);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(13, 148, 136, .14);
    }

    .cx-captcha input.error {
        border-color: var(--cx-danger);
        background: #fef2f2;
    }

.cx-captcha__refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: var(--cx-brand);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background-color .2s ease, transform .3s ease;
}

    .cx-captcha__refresh:hover {
        background: var(--cx-brand-dark);
        transform: rotate(90deg);
    }

.cx-field-error {
    margin-top: 6px;
    color: var(--cx-danger);
    font-size: 13px;
    font-weight: 500;
}

/* Submit row */
.cx-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.cx-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13.5px;
    color: var(--cx-muted);
}

    .cx-note i {
        color: var(--cx-brand);
    }

.cx-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    padding: 15px 28px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #14b8a6, var(--cx-brand) 55%, var(--cx-brand-dark));
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(13, 148, 136, .7);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

    .cx-submit:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px -12px rgba(13, 148, 136, .8);
    }

    .cx-submit:focus-visible {
        outline: 3px solid rgba(13, 148, 136, .35);
        outline-offset: 3px;
    }

    .cx-submit:disabled {
        opacity: .75;
        cursor: not-allowed;
    }

    .cx-submit .loading-spinner {
        margin-left: 0;
    }

/* Inline alerts */
.cx-page .alert,
.cx-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 20px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.5;
}

.cx-page .alert-error,
.cx-alert.is-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.cx-page .alert-success,
.cx-alert.is-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* About page */
.cx-hero.cx-hero--flat {
    padding-bottom: 96px;
}

.cx-section {
    padding: 88px 0;
}

.cx-section--white {
    background: #fff;
}

.cx-section-head {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

    .cx-section-head h2,
    .cx-about-copy h2 {
        margin: 0 0 12px;
        font-size: clamp(26px, 3.4vw, 38px);
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: -.01em;
        color: var(--cx-ink);
    }

    .cx-section-head p {
        margin: 0;
        font-size: 16.5px;
        line-height: 1.7;
        color: var(--cx-muted);
    }

.cx-about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.cx-about-media {
    position: relative;
    margin: 0;
}

    .cx-about-media img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 24px;
        box-shadow: 0 30px 60px -28px rgba(15, 23, 42, .45);
    }

.cx-about-badge {
    position: absolute;
    right: -20px;
    bottom: -24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 16px;
    box-shadow: var(--cx-shadow);
}

    .cx-about-badge .cx-icon {
        margin: 0;
    }

    .cx-about-badge strong {
        display: block;
        font-size: 15px;
        color: var(--cx-ink);
    }

    .cx-about-badge span {
        font-size: 13px;
        color: var(--cx-muted);
    }

.cx-about-copy > p {
    margin: 0 0 16px;
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--cx-text);
}

.cx-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

    .cx-checks li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        font-weight: 600;
        color: var(--cx-ink);
    }

        .cx-checks li i {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 26px;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: var(--cx-brand-soft);
            color: var(--cx-brand);
            font-size: 12px;
        }

.cx-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 40px 24px;
    border-radius: 24px;
    background:
        radial-gradient(400px 200px at 90% 0%, rgba(20, 184, 166, .35), transparent 70%),
        linear-gradient(135deg, #0c1c2c, #0f3b3a);
    color: #fff;
    text-align: center;
}

.cx-stat {
    padding: 8px 16px;
}

    .cx-stat + .cx-stat {
        border-left: 1px solid rgba(255, 255, 255, .12);
    }

    .cx-stat .counter {
        display: block;
        font-size: clamp(34px, 4.5vw, 48px);
        font-weight: 800;
        line-height: 1.1;
        background: linear-gradient(90deg, #fff, #99f6e4);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .cx-stat p {
        margin: 6px 0 0;
        font-size: 15px;
        color: #94a3b8;
    }

.cx-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

    .cx-features .cx-card {
        gap: 8px;
    }

.cx-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 44px 48px;
    border-radius: 24px;
    background:
        radial-gradient(500px 240px at 100% 100%, rgba(20, 184, 166, .4), transparent 70%),
        linear-gradient(135deg, #0c1c2c 0%, #0f2a3d 60%, #0b3b3a 100%);
    color: #fff;
}

    .cx-cta h2 {
        margin: 0 0 8px;
        font-size: clamp(24px, 3vw, 32px);
        font-weight: 800;
        color: #fff;
    }

    .cx-cta p {
        margin: 0;
        font-size: 16px;
        color: #cbd5e1;
    }

.cx-cta__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
}

.cx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 700;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

    .cx-btn:hover {
        transform: translateY(-2px);
    }

.cx-btn--primary {
    background: linear-gradient(135deg, #14b8a6, var(--cx-brand));
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(20, 184, 166, .8);
}

.cx-btn--ghost {
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
}

    .cx-btn--ghost:hover {
        background: rgba(255, 255, 255, .08);
    }

@media (max-width: 992px) {
    .cx-hero.cx-hero--flat {
        padding: 64px 0 72px;
    }

    .cx-section {
        padding: 64px 0;
    }

    .cx-about-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
    }

    .cx-about-badge {
        right: 16px;
    }

    .cx-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cx-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 32px;
    }
}

@media (max-width: 640px) {
    .cx-hero.cx-hero--flat {
        padding: 48px 0 56px;
    }

    .cx-section {
        padding: 48px 0;
    }

    .cx-section-head {
        margin-bottom: 32px;
    }

    .cx-about-media img {
        border-radius: 18px;
    }

    .cx-about-badge {
        right: 12px;
        bottom: -20px;
        left: 12px;
        padding: 12px 14px;
    }

    .cx-checks {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-stats {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px 20px;
    }

    .cx-stat {
        padding: 20px 0;
    }

        .cx-stat + .cx-stat {
            border-left: 0;
            border-top: 1px solid rgba(255, 255, 255, .12);
        }

    .cx-features {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-cta {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .cx-cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .cx-btn {
        width: 100%;
    }
}

/* Home page */
.cx-mockup--center {
    margin: 0;
}

    .cx-mockup--center img {
        max-width: 100%;
        margin: 0 auto;
    }

.cx-features--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cx-trust {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 40px;
    align-items: center;
    padding: 44px 48px;
    border-radius: 24px;
    background:
        radial-gradient(420px 220px at 0% 0%, rgba(20, 184, 166, .35), transparent 70%),
        linear-gradient(135deg, #0c1c2c, #0f3b3a);
    color: #fff;
}

.cx-trust__intro h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
}

.cx-trust__intro p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1;
}

.cx-trust__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .cx-trust__list li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
    }

    .cx-trust__list .cx-icon {
        width: 42px;
        height: 42px;
        margin: 0;
        background: rgba(45, 212, 191, .15);
        color: #5eead4;
        font-size: 17px;
    }

    .cx-trust__list strong {
        display: block;
        margin-bottom: 2px;
        font-size: 15.5px;
        color: #fff;
    }

    .cx-trust__list span {
        font-size: 14px;
        line-height: 1.5;
        color: #94a3b8;
    }

.cx-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 48px;
    align-items: start;
}

.cx-faq-intro {
    position: sticky;
    top: 110px;
}

    .cx-faq-intro h2 {
        margin: 0 0 12px;
        font-size: clamp(26px, 3.4vw, 36px);
        font-weight: 800;
        line-height: 1.2;
        color: var(--cx-ink);
    }

    .cx-faq-intro p {
        margin: 0;
        font-size: 16px;
        line-height: 1.7;
        color: var(--cx-muted);
    }

.cx-faq {
    display: grid;
    gap: 12px;
}

    .cx-faq details {
        background: #fff;
        border: 1px solid var(--cx-line);
        border-radius: 16px;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

        .cx-faq details[open] {
            border-color: rgba(13, 148, 136, .35);
            box-shadow: var(--cx-shadow);
        }

    .cx-faq summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 18px 22px;
        color: var(--cx-ink);
        font-size: 16.5px;
        font-weight: 600;
        list-style: none;
        cursor: pointer;
    }

        .cx-faq summary::-webkit-details-marker {
            display: none;
        }

        .cx-faq summary::after {
            content: "+";
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 30px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--cx-brand-soft);
            color: var(--cx-brand);
            font-size: 20px;
            font-weight: 500;
            line-height: 1;
            transition: transform .2s ease;
        }

    .cx-faq details[open] summary::after {
        transform: rotate(45deg);
    }

    .cx-faq summary:focus-visible {
        outline: 3px solid rgba(13, 148, 136, .35);
        outline-offset: 2px;
        border-radius: 16px;
    }

.cx-faq__body {
    padding: 0 22px 20px;
}

    .cx-faq__body p {
        margin: 0 0 10px;
        font-size: 15px;
        line-height: 1.7;
        color: var(--cx-text);
    }

        .cx-faq__body p:last-child {
            margin-bottom: 0;
        }

@media (max-width: 992px) {
    .cx-trust,
    .cx-faq-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .cx-faq-intro {
        position: static;
    }
}

@media (max-width: 640px) {
    .cx-features--2,
    .cx-trust__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-trust {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .cx-faq summary {
        padding: 16px 18px;
        font-size: 15.5px;
    }

    .cx-faq__body {
        padding: 0 18px 18px;
    }
}

/* Services page */
.cx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.cx-svc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.cx-svc {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: var(--cx-radius);
    box-shadow: var(--cx-shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .cx-svc:hover {
        transform: translateY(-4px);
        border-color: rgba(13, 148, 136, .35);
        box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 20px 40px -14px rgba(13, 148, 136, .35);
    }

.cx-svc__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

    .cx-svc__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }

.cx-svc:hover .cx-svc__media img {
    transform: scale(1.05);
}

.cx-svc__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(12, 28, 44, .45));
}

.cx-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--cx-brand-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.cx-svc__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}

.cx-svc__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .cx-svc__title .cx-icon {
        width: 40px;
        height: 40px;
        margin: 0;
        border-radius: 10px;
        font-size: 16px;
    }

    .cx-svc__title h3 {
        margin: 0;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.3;
        color: var(--cx-ink);
    }

.cx-svc__body p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--cx-muted);
}

.cx-svc .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 0 0;
    border: 0;
    background: none;
    color: var(--cx-brand);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

    .cx-svc .read-more i {
        font-size: 12px;
        transition: transform .2s ease;
    }

    .cx-svc .read-more:hover,
    .cx-svc .read-more:active {
        background: none;
        color: var(--cx-brand-dark);
        transform: none;
    }

        .cx-svc .read-more:hover i {
            transform: translateX(3px);
        }

    .cx-svc .read-more:focus-visible {
        outline: 3px solid rgba(13, 148, 136, .35);
        outline-offset: 4px;
        border-radius: 4px;
    }

/* Pricing */
.cx-plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.cx-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 22px;
    box-shadow: var(--cx-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .cx-plan:hover {
        transform: translateY(-4px);
    }

.cx-plan__name {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: var(--cx-ink);
}

.cx-plan__tagline {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--cx-muted);
}

.cx-plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--cx-line);
}

    .cx-plan__price strong {
        font-size: 44px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -.02em;
        color: var(--cx-ink);
    }

    .cx-plan__price span {
        font-size: 15px;
        color: var(--cx-muted);
    }

.cx-plan__features {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

    .cx-plan__features li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 14.5px;
        line-height: 1.5;
        color: var(--cx-text);
    }

        .cx-plan__features li i {
            flex: 0 0 auto;
            margin-top: 3px;
            color: var(--cx-brand);
            font-size: 14px;
        }

.cx-plan__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    padding: 14px 20px;
    border: 1.5px solid var(--cx-brand);
    border-radius: 12px;
    background: #fff;
    color: var(--cx-brand);
    font: inherit;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

    .cx-plan__btn:hover {
        background: var(--cx-brand);
        color: #fff;
    }

.cx-plan--featured {
    border-color: transparent;
    background:
        radial-gradient(360px 200px at 100% 0%, rgba(20, 184, 166, .4), transparent 70%),
        linear-gradient(160deg, #0c1c2c, #0f3b3a);
    box-shadow: 0 30px 60px -24px rgba(13, 148, 136, .55);
}

    .cx-plan--featured .cx-plan__name,
    .cx-plan--featured .cx-plan__price strong {
        color: #fff;
    }

    .cx-plan--featured .cx-plan__tagline,
    .cx-plan--featured .cx-plan__price span {
        color: #94a3b8;
    }

    .cx-plan--featured .cx-plan__price {
        border-color: rgba(255, 255, 255, .12);
    }

    .cx-plan--featured .cx-plan__features li {
        color: #e2e8f0;
    }

        .cx-plan--featured .cx-plan__features li i {
            color: #2dd4bf;
        }

    .cx-plan--featured .cx-plan__btn {
        border-color: transparent;
        background: linear-gradient(135deg, #14b8a6, var(--cx-brand));
        color: #fff;
    }

        .cx-plan--featured .cx-plan__btn:hover {
            transform: translateY(-2px);
        }

.cx-plan__ribbon {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2dd4bf, #14b8a6);
    color: #04201e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 18px -6px rgba(20, 184, 166, .6);
}

.cx-plans-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

/* Partners */
.cx-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.cx-partner {
    flex: 0 0 calc((100% - 64px) / 5);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 16px;
}

    .cx-partner img {
        max-width: 100%;
        max-height: 56px;
        object-fit: contain;
        filter: grayscale(1);
        opacity: .75;
        transition: filter .25s ease, opacity .25s ease;
    }

    .cx-partner:hover img {
        filter: none;
        opacity: 1;
    }

/* Feature pop-ups & quote modal, restyled to the brand palette */
.cx-page .popup-overlay {
    padding: 24px;
    background: rgba(8, 18, 30, .6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.cx-page .popup-content.has-banner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    width: min(900px, 100%);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    border-radius: 24px;
    outline: 0;
    box-shadow: 0 40px 80px -24px rgba(2, 12, 27, .55);
    transform: translateY(16px) scale(.98);
}

.cx-page .popup-overlay[aria-hidden="false"] .popup-content {
    transform: none;
}

.cx-page .pop-banner {
    min-height: 100%;
    justify-content: flex-end;
    gap: 10px;
    padding: 28px;
}

    .cx-page .pop-banner::after {
        background:
            linear-gradient(180deg, rgba(12, 28, 44, .05) 0%, rgba(12, 28, 44, .55) 45%, rgba(12, 28, 44, .95) 100%),
            linear-gradient(135deg, rgba(13, 148, 136, .35), transparent 60%);
    }

    .cx-page .pop-banner .popup-title {
        font-size: clamp(22px, 2.4vw, 28px);
        line-height: 1.2;
    }

.cx-page .pop-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 20px;
}

.cx-page .pop-sub {
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.6;
}

.cx-page .pop-section {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    padding: 36px 32px 28px;
}

    .cx-page .pop-section > p:first-child {
        padding-right: 28px;
        color: var(--cx-text);
        font-size: 16px;
        line-height: 1.7;
    }

.cx-page .pop-label {
    margin: 24px 0 0;
    color: var(--cx-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cx-page .pop-bullets {
    gap: 0;
    margin: 10px 0 0;
}

    .cx-page .pop-bullets li {
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid var(--cx-line);
        color: var(--cx-ink);
        font-size: 15px;
        font-weight: 500;
    }

        .cx-page .pop-bullets li:last-child {
            border-bottom: 0;
        }

    .cx-page .pop-bullets svg {
        flex: 0 0 26px;
        width: 26px;
        height: 26px;
        margin: 0;
        padding: 6px;
        border-radius: 8px;
        background: var(--cx-brand-soft);
        color: var(--cx-brand);
        stroke-width: 3;
    }

.cx-page .pop-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
}

    .cx-page .pop-actions .cx-btn {
        flex: 1 1 auto;
        padding: 13px 20px;
        font-size: 15px;
    }

.cx-btn--soft {
    background: var(--cx-brand-soft);
    color: var(--cx-brand-dark);
}

    .cx-btn--soft:hover {
        background: #d5efec;
    }

.cx-page .popup-content.has-banner .popup-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--cx-line);
    background: #fff;
    color: var(--cx-ink);
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .1);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

    .cx-page .popup-content.has-banner .popup-close:hover {
        background: var(--cx-brand-soft);
        color: var(--cx-brand-dark);
    }

.cx-page .popup-close:focus-visible {
    outline: 3px solid rgba(13, 148, 136, .35);
}

@media (max-width: 760px) {
    .cx-page .popup-content.has-banner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
    }

    .cx-page .pop-banner {
        min-height: 190px;
        padding: 22px 20px;
    }

    .cx-page .pop-section > p:first-child {
        padding-right: 0;
    }

    .cx-page .popup-content.has-banner .popup-close {
        border-color: rgba(255, 255, 255, .35);
        background: rgba(255, 255, 255, .18);
        color: #fff;
        box-shadow: none;
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
}

.cx-page .modern-modal-container {
    max-width: 680px;
    max-height: none;
}

.cx-page #quotationModal .modern-modal-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    border-radius: 22px;
}

.cx-page .modern-modal-header {
    flex: 0 0 auto;
    padding: 26px 30px;
    background:
        radial-gradient(360px 180px at 100% 0%, rgba(20, 184, 166, .45), transparent 70%),
        linear-gradient(135deg, #0c1c2c, #0f3b3a);
}

    .cx-page .modern-modal-header::before {
        display: none;
    }

.cx-page .plan-icon-modal {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(45, 212, 191, .15);
    color: #5eead4;
    font-size: 22px;
}

.cx-page .header-text h3 {
    font-size: 22px;
    color: #fff;
}

.cx-page .header-text p {
    color: #cbd5e1;
    font-size: 14.5px;
}

.cx-page .modern-modal-body {
    flex: 1 1 auto;
    max-height: none;
    padding: 28px 30px;
}

.cx-page .form-section {
    margin-bottom: 26px;
}

    .cx-page .form-section h4 {
        margin-bottom: 16px;
        padding-bottom: 0;
        border-bottom: 0;
        color: var(--cx-ink);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

        .cx-page .form-section h4 i {
            color: var(--cx-brand);
        }

.cx-page .form-grid {
    gap: 16px;
    margin-bottom: 16px;
}

.cx-page .form-field label {
    margin-bottom: 6px;
    color: var(--cx-text);
    font-size: 14px;
    font-weight: 600;
}

.cx-page .modern-input,
.cx-page .modern-textarea {
    padding: 13px 14px 13px 42px;
    border: 1.5px solid var(--cx-line);
    background: var(--cx-field);
    color: var(--cx-ink);
    font: inherit;
    font-size: 15px;
}

.cx-page .modern-textarea {
    height: auto;
    min-height: 110px;
}

    .cx-page .modern-input:focus,
    .cx-page .modern-textarea:focus {
        border-color: var(--cx-brand);
        box-shadow: 0 0 0 4px rgba(13, 148, 136, .14);
    }

    .cx-page .modern-input.error {
        border-color: var(--cx-danger);
        background: #fef2f2;
    }

.cx-page .input-wrapper:focus-within .input-icon {
    color: var(--cx-brand);
}

.cx-page .form-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--cx-line);
}

.cx-page .btn-submit {
    background: linear-gradient(135deg, #14b8a6, var(--cx-brand) 55%, var(--cx-brand-dark));
    box-shadow: 0 10px 24px -10px rgba(13, 148, 136, .7);
}

    .cx-page .btn-submit:hover:not(:disabled) {
        box-shadow: 0 16px 30px -12px rgba(13, 148, 136, .8);
    }

.cx-page .btn-cancel {
    border: 1.5px solid var(--cx-line);
    background: #fff;
    color: var(--cx-text);
}

.cx-page .checkmark-circle,
.cx-page .btn-success-close {
    background: linear-gradient(135deg, #14b8a6, var(--cx-brand));
}

@media (max-width: 1100px) {
    .cx-svc-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cx-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 32px;
    }
}

@media (max-width: 992px) {
    .cx-svc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cx-partner {
        flex-basis: calc((100% - 32px) / 3);
    }
}

@media (max-width: 640px) {
    .cx-hero__actions .cx-btn {
        width: 100%;
    }

    .cx-svc-grid,
    .cx-plans {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-svc:hover,
    .cx-plan:hover {
        transform: none;
    }

    .cx-plan {
        padding: 26px 20px;
    }

    .cx-partners {
        gap: 12px;
    }

    .cx-partner {
        flex-basis: calc((100% - 12px) / 2);
        height: 80px;
    }

    .cx-page .popup-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .cx-page .popup-content.has-banner {
        width: 100%;
        max-height: 90vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(40px);
    }

    .cx-page .pop-banner {
        min-height: 160px;
    }

    .cx-page .pop-section {
        padding: 22px 18px 20px;
    }

    .cx-page .pop-actions {
        flex-direction: column-reverse;
    }

        .cx-page .pop-actions .cx-btn {
            width: 100%;
        }

    .cx-page .modern-modal-container {
        width: 100%;
        margin: 0;
        align-self: flex-end;
    }

    .cx-page #quotationModal .modern-modal-content {
        max-height: 92vh;
        border-radius: 22px 22px 0 0;
    }

    .cx-page .modern-modal-header {
        padding: 22px 56px 22px 20px;
    }

    .cx-page .header-content {
        flex-direction: row;
        text-align: left;
        gap: 14px;
    }

    .cx-page .plan-icon-modal {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .cx-page .header-text h3 {
        font-size: 19px;
    }

    .cx-page .modern-modal-body {
        padding: 22px 18px;
    }

    .cx-page .form-actions {
        flex-direction: column-reverse;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .cx-cards__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .cx-hero {
        padding: 64px 0 120px;
    }

    .cx-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .cx-form-col {
        order: -1;
    }

    .cx-aside,
    .cx-main--lifted .cx-aside {
        padding-top: 0;
    }

    .cx-mockup img {
        margin: 0 auto;
    }

    .cx-main {
        padding: 56px 0 72px;
    }
}

@media (max-width: 640px) {
    .cx-container {
        padding: 0 16px;
    }

    .cx-hero {
        padding: 48px 0 104px;
    }

    .cx-cards,
    .cx-main--lifted {
        margin-top: -72px;
    }

    .cx-cards__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .cx-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 2px;
        padding: 18px;
    }

        .cx-card .cx-icon {
            grid-row: 1 / span 4;
            margin: 0;
        }

        .cx-card > :not(.cx-icon) {
            grid-column: 2;
        }

        .cx-card:hover {
            transform: none;
        }

    .cx-link {
        padding-top: 6px;
    }

    .cx-main {
        padding: 40px 0 56px;
    }

    .cx-form-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .cx-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .cx-captcha {
        flex-wrap: wrap;
    }

    .cx-captcha__badge {
        flex: 1 0 100%;
    }

    .cx-captcha__q {
        flex: 1 1 0;
    }

    .cx-captcha input {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
    }

    .cx-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .cx-note {
        justify-content: center;
    }

    .cx-submit {
        width: 100%;
    }

    .cx-callout {
        align-items: flex-start;
    }
}

/* Legal pages (Privacy, Terms) */
.cx-legal-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

    .cx-legal-meta span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 14px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 999px;
        background: rgba(255, 255, 255, .06);
        color: #cbd5e1;
        font-size: 13.5px;
        font-weight: 500;
    }

        .cx-legal-meta span i {
            color: #5eead4;
        }

.cx-legal {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.cx-legal-aside {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 16px;
}

.cx-legal-toc {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: var(--cx-radius);
    box-shadow: var(--cx-shadow);
}

    .cx-legal-toc summary {
        list-style: none;
        pointer-events: none;
        margin: 0 0 12px;
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--cx-muted);
    }

        .cx-legal-toc summary::-webkit-details-marker {
            display: none;
        }

    .cx-legal-toc ol {
        margin: 0;
        padding: 0;
        list-style: none;
        counter-reset: toc;
    }

    .cx-legal-toc li {
        counter-increment: toc;
    }

    .cx-legal-toc a {
        display: flex;
        gap: 10px;
        padding: 8px 10px;
        border-radius: 10px;
        font-size: 14.5px;
        line-height: 1.35;
        color: var(--cx-text);
        transition: background-color .15s ease, color .15s ease;
    }

        .cx-legal-toc a::before {
            content: counter(toc);
            flex: 0 0 18px;
            font-weight: 700;
            color: #94a3b8;
        }

        .cx-legal-toc a:hover {
            background: var(--cx-field);
            color: var(--cx-ink);
        }

        .cx-legal-toc a.is-active {
            background: var(--cx-brand-soft);
            color: var(--cx-brand-dark);
            font-weight: 600;
        }

            .cx-legal-toc a.is-active::before {
                color: var(--cx-brand);
            }

.cx-legal-help {
    padding: 20px 22px;
    border-radius: var(--cx-radius);
    background: linear-gradient(135deg, var(--cx-navy), #0f3b3a);
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.55;
}

    .cx-legal-help strong {
        display: block;
        margin-bottom: 4px;
        font-size: 16px;
        color: #fff;
    }

    .cx-legal-help a {
        color: #5eead4;
        font-weight: 600;
        overflow-wrap: anywhere;
    }

        .cx-legal-help a:hover {
            text-decoration: underline;
        }

.cx-legal-body {
    padding: 44px 48px;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: var(--cx-radius);
    box-shadow: var(--cx-shadow);
    font-size: 16px;
    line-height: 1.75;
}

.cx-legal-summary {
    margin: 0 0 40px;
    padding: 24px 26px;
    border-radius: 16px;
    background: var(--cx-brand-soft);
    border: 1px solid #c7ebe6;
}

    .cx-legal-summary h2 {
        margin: 0;
        font-size: 19px;
        font-weight: 800;
        color: var(--cx-ink);
    }

    .cx-legal-summary .cx-checks {
        margin-top: 16px;
    }

    .cx-legal-summary .cx-checks li {
        align-items: flex-start;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.5;
    }

        .cx-legal-summary .cx-checks li i {
            background: #fff;
        }

.cx-legal-sec {
    padding: 32px 0;
    border-top: 1px solid var(--cx-line);
}

    .cx-legal-sec:first-of-type {
        padding-top: 0;
        border-top: 0;
    }

    .cx-legal-sec h2 {
        display: flex;
        align-items: center;
        gap: 14px;
        margin: 0 0 14px;
        font-size: clamp(20px, 2.2vw, 24px);
        font-weight: 800;
        line-height: 1.3;
        color: var(--cx-ink);
    }

    .cx-legal-sec p {
        margin: 0 0 12px;
    }

    .cx-legal-sec ul {
        margin: 0 0 12px;
        padding: 0;
        list-style: none;
    }

    .cx-legal-sec li {
        position: relative;
        padding-left: 22px;
    }

        .cx-legal-sec li + li {
            margin-top: 8px;
        }

        .cx-legal-sec li::before {
            content: "";
            position: absolute;
            left: 4px;
            top: .7em;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--cx-brand);
        }

    .cx-legal-sec strong {
        color: var(--cx-ink);
    }

    .cx-legal-sec a {
        color: var(--cx-brand-dark);
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.cx-legal-num {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--cx-brand-soft);
    color: var(--cx-brand-dark);
    font-size: 15px;
    font-weight: 800;
}

.cx-legal-note {
    margin-top: 8px;
    padding: 14px 16px;
    border-left: 3px solid var(--cx-brand);
    border-radius: 0 10px 10px 0;
    background: var(--cx-field);
    font-size: 15px;
}

@media (max-width: 992px) {
    .cx-legal {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .cx-legal-aside {
        position: static;
    }

    .cx-legal-toc summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        pointer-events: auto;
        cursor: pointer;
    }

        .cx-legal-toc summary::after {
            content: "+";
            font-size: 20px;
            font-weight: 500;
            line-height: 1;
            color: var(--cx-brand);
            transition: transform .2s ease;
        }

    .cx-legal-toc[open] summary {
        margin-bottom: 12px;
    }

        .cx-legal-toc[open] summary::after {
            transform: rotate(45deg);
        }

    .cx-legal-help {
        display: none;
    }

    .cx-legal-body {
        padding: 32px 28px;
    }
}

@media (max-width: 640px) {
    .cx-legal-toc {
        padding: 16px 18px;
    }

    .cx-legal-body {
        padding: 24px 20px;
        font-size: 15.5px;
    }

    .cx-legal-summary {
        padding: 20px;
    }

        .cx-legal-summary .cx-checks {
            grid-template-columns: minmax(0, 1fr);
        }

    .cx-legal-sec {
        padding: 26px 0;
    }

        .cx-legal-sec h2 {
            gap: 12px;
        }

    .cx-legal-num {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-page *,
    .cx-page *::before,
    .cx-page *::after {
        transition: none !important;
    }
}
