/*
=================================================
BLOKS Code Editor
Frontend Styles
Version: 0.2.1-dev

Internal engine/class prefix: bce
=================================================
*/

.bce-hero {
    padding: clamp(4rem, 8vw, 7rem) 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 28rem),
        linear-gradient(135deg, #ffffff, #f8fafc);
}

.bce-container {
    width: min(100% - 2rem, 1120px);
    margin: 0 auto;
}

.bce-kicker {
    margin: 0 0 .75rem;
    color: #2563eb;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bce-hero h1 {
    margin: 0 auto 1.25rem;
    max-width: 820px;
    color: #0f172a;
    font-size: clamp(2.6rem, 7vw, 5.2rem);
    line-height: .98;
    letter-spacing: -.05em;
}

.bce-body {
    max-width: 680px;
    margin: 0 auto;
    color: #64748b;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.6;
}

.bce-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.bce-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .8rem 1.2rem;
    font-weight: 800;
    text-decoration: none;
}

.bce-button-primary {
    background: #2563eb;
    color: #ffffff;
}

.bce-button-secondary {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

/*
=================================================
BCE Text Block
=================================================
*/

.bce-section {
    padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.bce-text-section {
    background: #ffffff;
}

.bce-section-title {
    max-width: 760px;
    margin: 0 0 1rem;
    color: #0f172a;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.bce-content {
    max-width: 760px;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.75;
}

.bce-content p {
    margin: 0 0 1.25rem;
}

.bce-content p:last-child {
    margin-bottom: 0;
}

.bce-align-center {
    text-align: center;
}

.bce-align-center .bce-section-title,
.bce-align-center .bce-content {
    margin-left: auto;
    margin-right: auto;
}

.bce-width-narrow .bce-content,
.bce-width-narrow .bce-section-title {
    max-width: 620px;
}

.bce-width-wide .bce-content,
.bce-width-wide .bce-section-title {
    max-width: 920px;
}

/*
=================================================
BCE Cards
=================================================
*/

.bce-cards-section {
    background: #f8fafc;
}

.bce-card {
    padding: 1.75rem;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.bce-card h3 {
    margin: 0 0 .75rem;
    color: #0f172a;
    font-size: 1.35rem;
    line-height: 1.15;
}

.bce-card-content {
    color: #64748b;
    line-height: 1.65;
}

.bce-card-content p {
    margin: 0 0 1rem;
}

.bce-card-link {
    display: inline-flex;
    margin-top: 1rem;
    color: #2563eb;
    font-weight: 800;
    text-decoration: none;
}

.bce-card-link:hover {
    color: #1d4ed8;
}

@media (max-width: 900px) {
    .bce-grid-3,
    .bce-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bce-grid-2,
    .bce-grid-3,
    .bce-grid-4 {
        grid-template-columns: 1fr;
    }
}

.bce-card-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.bce-grid-1 {
    grid-template-columns: 1fr;
}

.bce-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bce-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bce-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bce-card {
    width: 100%;
}

/*
=================================================
BCE Columns
=================================================
*/

.bce-columns-section {
    background: #ffffff;
    padding: 4rem 1.5rem;
}

.bce-columns {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.bce-columns-1 {
    grid-template-columns: 1fr;
}

.bce-columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bce-columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bce-columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bce-column {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}

.bce-column h2,
.bce-column h3 {
    margin-top: 0;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.bce-column p {
    margin: 0 0 1.25rem;
}

.bce-column p:last-child {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .bce-columns-2,
    .bce-columns-3,
    .bce-columns-4 {
        grid-template-columns: 1fr;
    }
}

.bce-columns {
    display: grid;
    gap: 3rem;
    align-items: start;
}

.bce-column {
    padding: 2rem;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(15,23,42,.04);
}

/*
=================================================
BCE Image
=================================================
*/

.bce-image {
    margin: 0;
}

.bce-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.bce-image figcaption {
    margin-top: .75rem;
    color: #64748b;
    font-size: .9rem;
    text-align: center;
}