/* ═══════════════════════════════════════════════════════════════════════════
   Grupy i Organizacje Landing Page — Supplementary Stylesheet
   Classes specific to grupy.php partial
   Extends landing.css — uses var(--csl-...) custom properties
   Mobile-first responsive (768px, 1024px)
   CSS prefix: csl-grp__
   ═══════════════════════════════════════════════════════════════════════════ */


/* ── 1. HERO — GRP VARIANT ───────────────────────────────────────────────── */

.csl-hero--grp {
    background: var(--csl-white);
    border-bottom: 1px solid var(--csl-border);
    padding-top: 100px;
    padding-bottom: 64px;
    text-align: left;
}

@media (min-width: 768px) {
    .csl-hero--grp {
        padding-top: 120px;
        padding-bottom: 80px;
    }
}

@media (min-width: 1024px) {
    .csl-hero--grp {
        padding-top: 130px;
        padding-bottom: 80px;
    }
}

.csl-hero--grp .csl-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .csl-hero--grp .csl-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.csl-hero--grp .csl-hero__content {
    order: 1;
}

@media (min-width: 1024px) {
    .csl-hero--grp .csl-hero__content {
        order: 0;
    }
}

.csl-hero--grp .csl-hero__heading,
.csl-hero--grp .csl-hero__badge-wrap,
.csl-hero--grp .csl-hero__text,
.csl-hero--grp .csl-hero__ctas,
.csl-hero--grp .csl-hero__audience {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.csl-hero--grp .csl-hero__ctas {
    justify-content: flex-start;
}

.csl-hero--grp .csl-hero__cta-col {
    align-items: flex-start;
}

.csl-hero--grp .csl-hero__text {
    margin-bottom: 32px;
}

/* Hero tags row */
.csl-grp__hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 8px;
}

.csl-grp__hero-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--csl-border);
    background: var(--csl-white);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--csl-muted);
    line-height: 1;
}

.csl-grp__hero-more {
    margin-top: 16px;
    font-size: 0.875rem;
}

/* Hero visual */
.csl-hero--grp .csl-hero__visual {
    order: 2;
}

@media (min-width: 1024px) {
    .csl-hero--grp .csl-hero__visual {
        order: 1;
        margin-bottom: 0;
    }
}

.csl-hero--grp .csl-hero__card {
    max-width: none;
    border: 1px solid var(--csl-border);
    border-radius: var(--csl-radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    background: var(--csl-white);
}

.csl-hero--grp .csl-hero__card-inner {
    padding: 8px;
    display: flex;
    flex-direction: column;
    height: 380px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .csl-hero--grp .csl-hero__card-inner {
        height: 460px;
    }
}

/* Mockup top bar */
.csl-hero--grp .csl-hero__mockup-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 10px;
    border-bottom: 1px solid var(--csl-border);
    margin-bottom: 0;
    background: var(--csl-body-bg);
    border-radius: 10px 10px 0 0;
    flex-shrink: 0;
}

.csl-grp__mockup-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--csl-muted);
    margin-left: 16px;
}

.csl-grp__mockup-badge .csl-icon {
    color: var(--csl-muted);
}

.csl-grp__mockup-status {
    margin-left: auto;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.625rem;
    font-weight: 700;
}

/* Mockup body */
.csl-hero--grp .csl-hero__mockup-body {
    flex: 1;
    display: flex;
    overflow: hidden;
    background: var(--csl-white);
    border-radius: 0 0 10px 10px;
    border: 1px solid var(--csl-border);
    border-top: none;
}

/* Sidebar */
.csl-grp__mockup-sidebar {
    width: 33%;
    background: var(--csl-body-bg);
    border-right: 1px solid var(--csl-border);
    padding: 12px;
    flex-direction: column;
    gap: 10px;
    display: none;
}

@media (min-width: 540px) {
    .csl-grp__mockup-sidebar {
        display: flex;
    }
}

.csl-grp__mockup-cover {
    width: 100%;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--csl-purple), var(--csl-teal));
    opacity: 0.75;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.csl-grp__mockup-group-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--csl-dark);
    margin-bottom: 4px;
}

.csl-grp__mockup-avatars {
    display: flex;
    margin-bottom: 8px;
}

.csl-grp__mockup-av {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--csl-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.csl-grp__mockup-av--1  { background: #d1d5db; }
.csl-grp__mockup-av--2  { background: #9ca3af; margin-left: -8px; }
.csl-grp__mockup-av--more {
    background: #6b7280;
    color: var(--csl-white);
    margin-left: -8px;
    font-size: 0.4375rem;
}

.csl-grp__mockup-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.csl-grp__mockup-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--csl-muted);
    padding: 6px 8px;
    border-radius: 8px;
    transition: background var(--csl-transition);
}

.csl-grp__mockup-nav-item .csl-icon {
    flex-shrink: 0;
}

.csl-grp__mockup-nav-item--active {
    background: rgba(82, 15, 125, 0.1);
    color: var(--csl-purple);
    font-weight: 700;
}

/* Mockup main content */
.csl-grp__mockup-main {
    flex: 1;
    padding: 12px;
    overflow: hidden;
    background: var(--csl-white);
}

.csl-grp__mockup-post {
    border: 1px solid var(--csl-border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.csl-grp__mockup-post-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.csl-grp__mockup-admin-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--csl-purple);
    color: var(--csl-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.csl-grp__mockup-post-author {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--csl-dark);
}

.csl-grp__mockup-post-time {
    font-size: 0.5625rem;
    color: #9ca3af;
}

.csl-grp__mockup-line--w83 {
    width: 83%;
    height: 8px;
    border-radius: 4px;
    background: var(--csl-border);
    margin-top: 4px;
    margin-bottom: 12px;
}

.csl-grp__mockup-attachment {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--csl-body-bg);
    border: 1px solid var(--csl-border);
    border-radius: 8px;
    padding: 10px;
}

.csl-grp__mockup-file-icon {
    width: 28px;
    height: 28px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.csl-grp__mockup-file-name {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--csl-dark);
}

.csl-grp__mockup-file-note {
    font-size: 0.5625rem;
    color: var(--csl-muted);
}


/* ── 2. ONBOARDING ───────────────────────────────────────────────────────── */

.csl-grp__onboarding {
    background: var(--csl-white);
    border-bottom: 1px solid var(--csl-border);
}

/* Flow diagram */
.csl-grp__flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 16px 8px;
    overflow-x: auto;
}

.csl-grp__flow-node {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.csl-grp__flow-node--muted {
    background: var(--csl-body-bg);
    border: 1px solid var(--csl-border);
    color: var(--csl-dark);
}

.csl-grp__flow-node--muted .csl-icon {
    color: var(--csl-purple);
}

.csl-grp__flow-node--active {
    background: var(--csl-purple);
    border: 1px solid var(--csl-purple);
    color: var(--csl-white);
    box-shadow: 0 4px 16px rgba(82, 15, 125, 0.25);
}

.csl-grp__flow-arrow {
    color: var(--csl-border);
    display: none;
}

@media (min-width: 768px) {
    .csl-grp__flow-arrow {
        display: inline-block;
    }
}

/* Info banner */
.csl-grp__info-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(82, 15, 125, 0.04);
    border: 1px solid rgba(82, 15, 125, 0.1);
    border-radius: 12px;
    padding: 20px 24px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.csl-grp__info-banner .csl-icon {
    color: var(--csl-purple);
    flex-shrink: 0;
    margin-top: 2px;
}

.csl-grp__info-banner p {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--csl-purple);
    line-height: 1.6;
    margin: 0;
}

.csl-grp__info-banner strong {
    font-weight: 700;
}

/* Tags */
.csl-grp__onboarding-tags {
    text-align: center;
}

.csl-grp__onboarding-tags-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 20px;
}

.csl-grp__tags-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.csl-grp__tag {
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--csl-muted);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}


/* ── 3. TRUST ────────────────────────────────────────────────────────────── */

.csl-grp__trust {
    background: var(--csl-body-bg);
    border-top: 1px solid var(--csl-border);
    border-bottom: 1px solid var(--csl-border);
}

.csl-grp__trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .csl-grp__trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .csl-grp__trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* ── 4. PAIN ─────────────────────────────────────────────────────────────── */

.csl-grp__pain {
    background: var(--csl-body-bg);
}

.csl-grp__pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .csl-grp__pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .csl-grp__pain-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Squircle muted variant */
.csl-card__squircle--muted {
    background: #f3f4f6;
    color: var(--csl-muted);
}

/* Subtle banner */
.csl-grp__subtle-banner {
    background: rgba(82, 15, 125, 0.04);
    border: 1px solid rgba(82, 15, 125, 0.08);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.csl-grp__subtle-banner p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--csl-purple);
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 768px) {
    .csl-grp__subtle-banner p {
        font-size: 1.0625rem;
    }
}


/* ── 5. MATRIX ───────────────────────────────────────────────────────────── */

.csl-grp__matrix {
    background: var(--csl-white);
    border-top: 1px solid var(--csl-border);
    border-bottom: 1px solid var(--csl-border);
}

.csl-grp__matrix-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.csl-grp__matrix-row {
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--csl-transition);
}

.csl-grp__matrix-row:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .csl-grp__matrix-row {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }
}

.csl-grp__matrix-type {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

@media (min-width: 768px) {
    .csl-grp__matrix-type {
        width: 25%;
        flex-shrink: 0;
    }
}

.csl-grp__matrix-type strong {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--csl-dark);
    line-height: 1.2;
}

.csl-grp__matrix-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.csl-grp__matrix-icon--green  { background: #f0fdf4; color: #16a34a; }
.csl-grp__matrix-icon--blue   { background: #eff6ff; color: #2563eb; }
.csl-grp__matrix-icon--gray   { background: #f3f4f6; color: #4b5563; }
.csl-grp__matrix-icon--amber  { background: #fffbeb; color: #d97706; }
.csl-grp__matrix-icon--purple { background: rgba(82, 15, 125, 0.08); color: var(--csl-purple); }

.csl-grp__matrix-col {
    min-width: 0;
}

@media (min-width: 768px) {
    .csl-grp__matrix-col {
        flex: 1;
    }
}

.csl-grp__matrix-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 4px;
}

.csl-grp__matrix-val {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--csl-muted);
}

.csl-grp__matrix-val--dark {
    color: var(--csl-dark);
}


/* ── 6. ECOSYSTEM ────────────────────────────────────────────────────────── */

.csl-grp__ecosystem {
    background: var(--csl-body-bg);
}

/* Snippet gallery */
.csl-grp__snippets {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 48px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .csl-grp__snippets {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
    }
}

.csl-grp__snippet-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
    .csl-grp__snippet-card {
        flex: none;
    }
}

.csl-grp__snippet-header {
    background: var(--csl-body-bg);
    border-bottom: 1px solid var(--csl-border);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4b5563;
}

.csl-grp__snippet-header .csl-icon {
    color: #9ca3af;
}

.csl-grp__snippet-body {
    padding: 14px;
    flex: 1;
}

.csl-grp__snippet-body--gap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.csl-grp__snippet-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.csl-grp__snippet-avatar-sm {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e5e7eb;
    flex-shrink: 0;
}

.csl-grp__snippet-line {
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
}

.csl-grp__snippet-line--full  { width: 100%; margin-bottom: 6px; }
.csl-grp__snippet-line--80    { width: 80%; margin-bottom: 12px; }
.csl-grp__snippet-line--20    { width: 80px; }
.csl-grp__snippet-line--16    { width: 64px; }

.csl-grp__snippet-placeholder {
    width: 100%;
    height: 72px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.csl-grp__snippet-placeholder--blue {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #93c5fd;
}

.csl-grp__snippet-file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--csl-body-bg);
    border: 1px solid var(--csl-border);
    border-radius: 8px;
    padding: 8px 10px;
    gap: 8px;
}

.csl-grp__snippet-file-row .csl-icon {
    color: var(--csl-purple);
    flex-shrink: 0;
}

.csl-grp__snippet-ext {
    font-size: 0.5rem;
    background: #e5e7eb;
    color: var(--csl-muted);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Voting snippet */
.csl-grp__snippet-vote-title {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--csl-dark);
    margin-bottom: 10px;
}

.csl-grp__snippet-vote-row {
    margin-bottom: 8px;
}

.csl-grp__snippet-vote-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.5rem;
    margin-bottom: 4px;
    color: var(--csl-muted);
}

.csl-grp__snippet-bar-wrap {
    width: 100%;
    height: 6px;
    background: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
}

.csl-grp__snippet-bar {
    height: 100%;
    border-radius: 999px;
}

.csl-grp__snippet-bar--green { background: #22c55e; }
.csl-grp__snippet-bar--gray  { background: #d1d5db; }

/* Roles grid */
.csl-grp__roles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .csl-grp__roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.csl-grp__role-card {
    display: flex;
    flex-direction: column;
}

.csl-grp__role-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--csl-dark);
    margin-bottom: 24px;
}

.csl-grp__role-list {
    flex: 1;
    margin-bottom: 32px;
}

.csl-grp__role-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--csl-muted);
    margin-bottom: 16px;
}

.csl-grp__role-list li .csl-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.csl-grp__role-footer {
    padding-top: 24px;
    border-top: 1px solid var(--csl-border);
    margin-top: auto;
}


/* ── 7. USE CASES ────────────────────────────────────────────────────────── */

.csl-grp__usecases {
    background: var(--csl-white);
    border-top: 1px solid var(--csl-border);
    border-bottom: 1px solid var(--csl-border);
}

.csl-grp__uc-row {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 80px;
    align-items: center;
}

.csl-grp__uc-row:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .csl-grp__uc-row {
        flex-direction: row;
        gap: 64px;
    }

    .csl-grp__uc-row--reverse {
        flex-direction: row-reverse;
    }
}

.csl-grp__uc-content {
    flex: 1;
    min-width: 0;
}

.csl-grp__uc-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--csl-dark);
    margin: 12px 0 16px;
}

.csl-grp__uc-text {
    font-size: 0.875rem;
    color: var(--csl-muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

.csl-grp__uc-text strong {
    color: var(--csl-dark);
    font-weight: 700;
}

.csl-grp__uc-effect {
    background: rgba(82, 15, 125, 0.04);
    border: 1px solid rgba(82, 15, 125, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.csl-grp__uc-effect p {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--csl-purple);
    margin: 0;
}

.csl-grp__uc-visual {
    flex: 1;
    min-width: 0;
}

/* UI snippet wrappers */
.csl-grp__ui-snippet-wrap {
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--csl-border);
    overflow: hidden;
    background: #f3f4f6;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.csl-grp__ui-caption {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--csl-border);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.6875rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Paywall snippet */
.csl-grp__ui-paywall {
    display: flex;
    flex-direction: column;
    padding: 16px;
    height: 100%;
    background: var(--csl-white);
}

.csl-grp__ui-paywall-banner {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    margin-bottom: 14px;
}

.csl-grp__ui-paywall-banner .csl-icon {
    color: #f59e0b;
    display: block;
    margin: 0 auto 8px;
}

.csl-grp__ui-paywall-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--csl-dark);
    margin-bottom: 2px;
}

.csl-grp__ui-paywall-sub {
    font-size: 0.625rem;
    color: #9ca3af;
}

.csl-grp__ui-paywall-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.csl-grp__ui-paywall-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--csl-body-bg);
    border: 1px solid var(--csl-border);
    border-radius: 8px;
    padding: 10px 12px;
    opacity: 0.5;
}

.csl-grp__ui-paywall-item .csl-icon {
    color: var(--csl-purple);
    flex-shrink: 0;
}

.csl-grp__ui-paywall-line {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    width: 80px;
}

.csl-grp__ui-paywall-line--lg {
    width: 110px;
}

.csl-grp__ui-paywall-btn {
    background: var(--csl-purple);
    color: var(--csl-white);
    font-size: 0.6875rem;
    font-weight: 700;
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: auto;
}

/* Docs snippet */
.csl-grp__ui-docs {
    display: flex;
    flex-direction: column;
    padding: 14px;
    height: 100%;
    background: var(--csl-white);
}

.csl-grp__ui-docs-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--csl-border);
}

.csl-grp__ui-docs-tab {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #6b7280;
}

.csl-grp__ui-docs-tab--active {
    background: rgba(82, 15, 125, 0.1);
    color: var(--csl-purple);
}

.csl-grp__ui-docs-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.csl-grp__ui-docs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background var(--csl-transition), border-color var(--csl-transition);
}

.csl-grp__ui-docs-row:hover {
    background: var(--csl-body-bg);
    border-color: var(--csl-border);
}

.csl-grp__ui-docs-file {
    display: flex;
    align-items: center;
    gap: 8px;
}

.csl-grp__ui-docs-file .csl-icon {
    color: #9ca3af;
    flex-shrink: 0;
}

.csl-grp__ui-docs-name {
    width: 80px;
    height: 8px;
    background: var(--csl-dark);
    border-radius: 4px;
    margin-bottom: 4px;
    opacity: 0.7;
}

.csl-grp__ui-docs-sub {
    width: 48px;
    height: 6px;
    background: #9ca3af;
    border-radius: 4px;
    opacity: 0.5;
}

.csl-grp__ui-docs-badge {
    font-size: 0.5rem;
    background: #f3f4f6;
    color: #9ca3af;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* JST snippet */
.csl-grp__ui-jst {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--csl-white);
}

.csl-grp__ui-jst-map {
    height: 80px;
    background: #eff6ff;
    border-bottom: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.csl-grp__ui-jst-map .csl-icon {
    color: #3b82f6;
}

.csl-grp__ui-jst-map-label {
    position: absolute;
    bottom: 8px;
    left: 10px;
    background: var(--csl-white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.5rem;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.csl-grp__ui-jst-body {
    padding: 14px;
    flex: 1;
}

.csl-grp__ui-jst-card {
    background: var(--csl-body-bg);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
}

.csl-grp__ui-jst-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.csl-grp__ui-jst-card-title {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--csl-dark);
}

.csl-grp__ui-jst-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.csl-grp__ui-jst-progress {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}

.csl-grp__ui-jst-progress-bar {
    height: 100%;
    background: #3b82f6;
    border-radius: 999px;
}

.csl-grp__ui-jst-btn {
    width: 100%;
    background: var(--csl-white);
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 5px;
    text-align: center;
    color: var(--csl-dark);
}

/* Voting snippet */
.csl-grp__ui-voting {
    display: flex;
    flex-direction: column;
    padding: 16px;
    height: 100%;
    background: var(--csl-white);
}

.csl-grp__ui-voting-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--csl-border);
}

.csl-grp__ui-voting-header .csl-icon {
    color: #9ca3af;
}

.csl-grp__ui-voting-title {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--csl-dark);
}

.csl-grp__ui-voting-chart {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin-bottom: 16px;
}

.csl-grp__ui-voting-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 4px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 0 4px #22c55e;
}

.csl-grp__ui-voting-pct {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--csl-dark);
}

.csl-grp__ui-voting-btns {
    display: flex;
    gap: 8px;
}

.csl-grp__ui-voting-btn {
    flex: 1;
    text-align: center;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 6px;
    border-radius: 6px;
}

.csl-grp__ui-voting-btn--yes {
    background: #f0fdf4;
    color: #15803d;
}

.csl-grp__ui-voting-btn--no {
    background: #fef2f2;
    color: #b91c1c;
}


/* ── 8. MONETIZE ─────────────────────────────────────────────────────────── */

.csl-grp__monetize {
    background: var(--csl-body-bg);
}

.csl-grp__monetize-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 24px;
}

.csl-grp__monetize-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto 64px;
}

@media (min-width: 768px) {
    .csl-grp__monetize-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.csl-grp__monetize-tile {
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--csl-purple);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Maturity box */
.csl-grp__maturity-box {
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.csl-grp__maturity-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--csl-dark);
    margin-bottom: 32px;
}

.csl-grp__maturity-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .csl-grp__maturity-steps {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0;
    }
}

.csl-grp__maturity-line {
    display: none;
}

@media (min-width: 768px) {
    .csl-grp__maturity-line {
        display: block;
        position: absolute;
        top: 24px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: var(--csl-border);
        z-index: 0;
    }
}

.csl-grp__maturity-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    background: var(--csl-white);
}

.csl-grp__maturity-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid var(--csl-white);
    background: var(--csl-body-bg);
    color: var(--csl-purple);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.csl-grp__maturity-step-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--csl-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.csl-grp__maturity-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 640px) {
    .csl-grp__maturity-links {
        flex-direction: row;
        justify-content: center;
    }
}


/* ── 9. ARCH ─────────────────────────────────────────────────────────────── */

.csl-grp__arch {
    background: var(--csl-white);
    border-top: 1px solid var(--csl-border);
    border-bottom: 1px solid var(--csl-border);
}

.csl-grp__arch-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto 32px;
}

@media (min-width: 768px) {
    .csl-grp__arch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.csl-grp__arch-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.csl-grp__arch-card-title {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--csl-dark);
    margin-bottom: 8px;
}

.csl-grp__arch-footer {
    text-align: center;
    margin-top: 48px;
}


/* ── 10. AI AGENTS ───────────────────────────────────────────────────────── */

.csl-grp__ai {
    background: var(--csl-body-bg);
}

.csl-grp__ai-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 32px;
}

@media (min-width: 768px) {
    .csl-grp__ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .csl-grp__ai-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.csl-grp__ai-card {
    display: flex;
    flex-direction: column;
}

.csl-grp__ai-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(82, 15, 125, 0.05);
    color: var(--csl-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
    position: relative;
}

.csl-grp__ai-spark {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0.5rem;
    line-height: 1;
}

.csl-grp__ai-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--csl-dark);
    margin-bottom: 10px;
}

.csl-grp__ai-disclaimer {
    max-width: 760px;
    margin: 0 auto;
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: 14px;
    padding: 16px 20px;
    text-align: center;
}

.csl-grp__ai-disclaimer p {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--csl-purple);
    margin: 0;
}


/* ── 11. ROADMAP ─────────────────────────────────────────────────────────── */

.csl-grp__roadmap {
    background: var(--csl-white);
    border-top: 1px solid var(--csl-border);
    border-bottom: 1px solid var(--csl-border);
}

.csl-grp__roadmap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .csl-grp__roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.csl-grp__roadmap-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 6px 12px;
    margin-bottom: 16px;
}

.csl-grp__roadmap-badge--green {
    background: #f0fdf4;
    color: #15803d;
}

.csl-grp__roadmap-badge--amber {
    background: #fffbeb;
    color: #b45309;
}

.csl-grp__roadmap-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--csl-muted);
    margin-bottom: 12px;
}

.csl-grp__roadmap-list li .csl-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.csl-grp__check-green { color: #22c55e !important; }
.csl-grp__check-amber { color: #f59e0b !important; }


/* ── 12. IMPLEMENTATION ──────────────────────────────────────────────────── */

.csl-grp__impl {
    background: var(--csl-body-bg);
}

.csl-grp__impl-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 64px;
}

@media (min-width: 768px) {
    .csl-grp__impl-steps {
        flex-direction: row;
        gap: 8px;
    }
}

.csl-grp__impl-step {
    flex: 1;
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.csl-grp__impl-step-connector {
    display: none;
}

@media (min-width: 768px) {
    .csl-grp__impl-step-connector {
        display: block;
        position: absolute;
        top: 50%;
        right: -20px;
        width: 40px;
        height: 2px;
        background: var(--csl-border);
        z-index: 1;
    }
}

.csl-grp__impl-step-num {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    background: rgba(82, 15, 125, 0.08);
    color: var(--csl-purple);
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.csl-grp__impl-step-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--csl-dark);
}

/* CTA box */
.csl-grp__impl-cta-box {
    background: var(--csl-purple);
    color: var(--csl-white);
    border-radius: 28px;
    padding: 40px 32px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 0 12px 40px rgba(82, 15, 125, 0.25);
}

.csl-grp__impl-cta-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.csl-grp__impl-cta-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 32px;
    max-width: 480px;
    text-align: left;
}

.csl-grp__impl-cta-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.csl-grp__impl-cta-list .csl-icon {
    color: var(--csl-teal);
    flex-shrink: 0;
    margin-top: 1px;
}

.csl-btn--white {
    background: var(--csl-white);
    color: var(--csl-purple);
    border: 2px solid transparent;
    font-weight: 700;
}

.csl-btn--white:hover {
    background: #f3f4f6;
}

.csl-btn--outline-white {
    background: transparent;
    color: var(--csl-white);
    border: 2px solid rgba(255, 255, 255, 0.35);
    font-weight: 700;
}

.csl-btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* ── 13. EVIDENCE ────────────────────────────────────────────────────────── */

.csl-grp__evidence {
    background: var(--csl-white);
    border-top: 1px solid var(--csl-border);
    border-bottom: 1px solid var(--csl-border);
}

.csl-grp__evidence-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .csl-grp__evidence-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ── 14. FAQ ─────────────────────────────────────────────────────────────── */

.csl-grp__faq {
    background: var(--csl-body-bg);
    border-top: 1px solid var(--csl-border);
    border-bottom: 1px solid var(--csl-border);
}

.csl-grp__faq-list {
    max-width: 680px;
    margin: 0 auto 64px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.csl-grp__faq-item {
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow var(--csl-transition);
}

.csl-grp__faq-item--open {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.csl-grp__faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 1rem;
    font-weight: 700;
    color: var(--csl-dark);
    padding: 20px 24px;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    transition: background var(--csl-transition);
    gap: 16px;
}

.csl-grp__faq-q:hover {
    background: var(--csl-body-bg);
}

.csl-grp__faq-q:focus-visible {
    outline: 2px solid var(--csl-teal);
    outline-offset: -2px;
    border-radius: 12px;
}

.csl-grp__faq-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: var(--csl-muted);
}

.csl-grp__faq-item--open .csl-grp__faq-arrow {
    transform: rotate(180deg);
}

.csl-grp__faq-a {
    padding: 0 24px 20px;
}

.csl-grp__faq-a p {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--csl-muted);
    line-height: 1.7;
    margin: 0;
}

/* FAQ links */
.csl-grp__faq-links {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.csl-grp__faq-links-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 24px;
}

.csl-grp__faq-links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}


/* ── 15. BOFU CTA ────────────────────────────────────────────────────────── */

.csl-grp__bofu {
    background: var(--csl-purple);
    padding: 96px 24px;
    text-align: center;
}

.csl-grp__bofu-inner {
    max-width: 760px;
    margin: 0 auto;
}

.csl-grp__bofu-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--csl-white);
    line-height: 1.15;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .csl-grp__bofu-title {
        font-size: 2.75rem;
    }
}

.csl-grp__bofu-sub {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(209, 168, 235, 0.85);
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.csl-grp__bofu-ctas {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .csl-grp__bofu-ctas {
        flex-direction: row;
    }
}

.csl-grp__bofu-video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--csl-transition);
    margin-bottom: 64px;
}

.csl-grp__bofu-video-link:hover {
    color: var(--csl-white);
}

.csl-grp__bofu-ai {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.csl-grp__bofu-ai-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

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

.csl-grp__bofu-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--csl-white);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background var(--csl-transition);
}

.csl-grp__bofu-chip:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* ── 16. MODAL — VIDEO ───────────────────────────────────────────────────── */

.csl-grp__modal-video .csl-modal__box {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 960px;
    position: relative;
}

.csl-grp__modal-video-box {
    max-width: 960px;
    width: 100%;
    background: #000 !important;
}

.csl-grp__modal-video-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.csl-grp__modal-video-header .csl-modal__title {
    color: var(--csl-white);
    font-size: 1.125rem;
    font-weight: 700;
}

.csl-grp__modal-video-desc {
    color: #d1d5db;
    font-size: 0.75rem;
    margin: 0;
}

.csl-grp__modal-video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #131524;
    display: flex;
    align-items: center;
    justify-content: center;
}

.csl-grp__modal-video-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(82, 15, 125, 0.2), #131524);
}

.csl-grp__modal-video-play {
    position: relative;
    z-index: 10;
    background: var(--csl-purple);
    border: none;
    border-radius: 50%;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--csl-white);
    cursor: pointer;
    transition: background var(--csl-transition), transform var(--csl-transition);
    box-shadow: 0 8px 32px rgba(82, 15, 125, 0.5);
}

.csl-grp__modal-video-play:hover {
    background: #3e0b5e;
    transform: scale(1.1);
}

.csl-grp__modal-video-play:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

.csl-grp__modal-video-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 20;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.csl-grp__modal-video-progress-bar {
    width: 100%;
    height: 4px;
    background: #4b5563;
    border-radius: 999px;
    overflow: hidden;
}

.csl-grp__modal-video-progress-bar::after {
    content: '';
    display: block;
    width: 33%;
    height: 100%;
    background: var(--csl-purple);
    border-radius: 999px;
}


/* ── 17. MODAL — CONTACT (DEMO / BRIEF) ─────────────────────────────────── */

.csl-grp__modal-contact-box {
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.csl-modal__body {
    padding: 24px 32px;
    overflow-y: auto;
}

/* Forms */
.csl-grp__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.csl-grp__form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.csl-grp__form-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--csl-muted);
}

.csl-grp__form-input,
.csl-grp__form-select,
.csl-grp__form-textarea {
    width: 100%;
    border: 1px solid var(--csl-border);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.875rem;
    color: var(--csl-dark);
    background: var(--csl-white);
    transition: border-color var(--csl-transition);
    font-family: inherit;
}

.csl-grp__form-input:focus,
.csl-grp__form-select:focus,
.csl-grp__form-textarea:focus {
    outline: none;
    border-color: var(--csl-purple);
}

.csl-grp__form-textarea {
    resize: none;
}

.csl-grp__form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 480px) {
    .csl-grp__form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.csl-grp__form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-top: 8px;
}

.csl-grp__form-check input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--csl-purple);
}

.csl-grp__form-check span {
    font-size: 0.6875rem;
    color: var(--csl-muted);
    line-height: 1.6;
}

.csl-grp__form-submit {
    width: 100%;
    margin-top: 8px;
}

.csl-grp__form-note {
    font-size: 0.625rem;
    text-align: center;
    color: #9ca3af;
    margin: 0;
}

/* Features grid (brief) */
.csl-grp__features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    margin-top: 8px;
}

@media (min-width: 480px) {
    .csl-grp__features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.csl-grp__feature-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--csl-border);
    border-radius: 8px;
    cursor: pointer;
    transition: background var(--csl-transition), border-color var(--csl-transition);
    background: var(--csl-white);
}

.csl-grp__feature-check:hover {
    border-color: var(--csl-teal);
}

.csl-grp__feature-check--active {
    background: rgba(82, 15, 125, 0.04);
    border-color: var(--csl-purple);
}

.csl-grp__feature-check input {
    width: 14px;
    height: 14px;
    accent-color: var(--csl-purple);
    flex-shrink: 0;
}

.csl-grp__feature-check span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--csl-dark);
}

/* Brief links section */
.csl-grp__form-links-box {
    background: var(--csl-body-bg);
    border: 1px solid var(--csl-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.csl-grp__form-links-title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--csl-dark);
    margin: 0 0 4px;
}

/* Brief contact section */
.csl-grp__form-contact-section {
    border-top: 1px solid var(--csl-border);
    padding-top: 24px;
}

.csl-grp__form-contact-title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--csl-dark);
    margin-bottom: 16px;
}

/* Success states */
.csl-grp__form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 0;
}

.csl-grp__form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.csl-grp__form-success-icon--green {
    background: #f0fdf4;
    color: #22c55e;
}

.csl-grp__form-success-icon--blue {
    background: #eff6ff;
    color: #3b82f6;
}

.csl-grp__form-success-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--csl-dark);
    margin-bottom: 10px;
}

.csl-grp__form-success-text {
    font-size: 0.875rem;
    color: var(--csl-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 420px;
}

/* Calendly placeholder */
.csl-grp__calendly-placeholder {
    width: 100%;
    min-height: 160px;
    background: var(--csl-body-bg);
    border: 2px dashed var(--csl-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 20px;
}


/* ── 18. BUDDYBOSS BUTTON OVERRIDES ──────────────────────────────────────── */

.csl-grp__bofu .csl-btn--white.button,
.csl-grp__bofu .csl-btn--white.bp-primary-action,
.csl-grp__impl-cta-box .csl-btn--white.button,
.csl-grp__impl-cta-box .csl-btn--white.bp-primary-action {
    background: var(--csl-white) !important;
    color: var(--csl-purple) !important;
    border: none !important;
    box-shadow: none !important;
}

.csl-grp__bofu .csl-btn--outline-white.button,
.csl-grp__bofu .csl-btn--outline-white.bp-primary-action {
    background: transparent !important;
    color: var(--csl-white) !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
}
