:root {
    --cfm-bg: #f6f8fb;
    --cfm-paper: #ffffff;
    --cfm-text: #172033;
    --cfm-muted: #647084;
    --cfm-line: #e5e9f0;
    --cfm-primary: #0f5f7a;
    --cfm-primary-dark: #0a3e53;
    --cfm-accent: #e4a11b;
    --cfm-soft: #eef6f9;
    --cfm-dark: #112331;
    --cfm-radius: 24px;
    --cfm-shadow: 0 18px 48px rgba(15, 40, 60, .12);
}

body.cfm-lp-body .site-content,
body.cfm-lp-body .ast-container,
body.cfm-lp-body .content-area,
body.cfm-lp-body .site-main {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

body.cfm-lp-body .entry-header,
body.cfm-lp-body .entry-title,
body.cfm-lp-body .page-title {
    display: none !important;
}

.cfm-lp {
    color: var(--cfm-text);
    background: var(--cfm-bg);
    overflow: hidden;
}

.cfm-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.cfm-hero {
    position: relative;
    padding: 92px 0 64px;
    background:
        radial-gradient(circle at 18% 20%, rgba(228, 161, 27, .20), transparent 32%),
        linear-gradient(135deg, #f7fbfd 0%, #ecf5f8 52%, #f8fafc 100%);
}

.cfm-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    top: 20px;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: rgba(15, 95, 122, .10);
    filter: blur(2px);
}

.cfm-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.14fr .86fr;
    gap: 38px;
    align-items: center;
}

.cfm-eyebrow,
.cfm-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--cfm-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cfm-eyebrow::before,
.cfm-section-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--cfm-accent);
}

.cfm-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -.04em;
    color: var(--cfm-text);
}

.cfm-lead {
    max-width: 680px;
    margin: 22px 0 0;
    font-size: 18px;
    line-height: 1.9;
    color: var(--cfm-muted);
}

.cfm-hero-actions,
.cfm-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.cfm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.cfm-btn:hover {
    transform: translateY(-2px);
}

.cfm-btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--cfm-primary), var(--cfm-primary-dark));
    box-shadow: 0 12px 28px rgba(15, 95, 122, .25);
}

.cfm-btn-secondary {
    color: var(--cfm-primary-dark) !important;
    background: #fff;
    border: 1px solid rgba(15, 95, 122, .18);
}

.cfm-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.cfm-trust-row span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: var(--cfm-primary-dark);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(15, 95, 122, .12);
}

.cfm-hero-card {
    padding: 28px;
    border-radius: 32px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: var(--cfm-shadow);
    backdrop-filter: blur(12px);
}

.cfm-card-topline {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--cfm-soft);
    color: var(--cfm-primary-dark);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cfm-flow-mini {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.cfm-flow-mini li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px 14px;
    align-items: start;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--cfm-line);
}

.cfm-flow-mini li span {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--cfm-primary);
    color: #fff;
    font-weight: 900;
    font-size: 13px;
}

.cfm-flow-mini strong {
    display: block;
    font-size: 16px;
}

.cfm-flow-mini small {
    color: var(--cfm-muted);
}

.cfm-stats {
    margin-top: -26px;
    position: relative;
    z-index: 2;
}

.cfm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.cfm-stats-grid div {
    padding: 20px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 40, 60, .08);
    border: 1px solid var(--cfm-line);
}

.cfm-stats-grid strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.cfm-stats-grid span {
    color: var(--cfm-muted);
    font-size: 14px;
}

.cfm-section {
    padding: 86px 0;
    background: var(--cfm-bg);
}

.cfm-section-soft {
    background: var(--cfm-soft);
}

.cfm-section-dark {
    background: var(--cfm-dark);
    color: #fff;
}

.cfm-two-col {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 42px;
    align-items: center;
}

.cfm-two-col-reverse {
    grid-template-columns: 1.1fr .9fr;
}

.cfm-section h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.18;
    letter-spacing: -.03em;
}

.cfm-section p {
    color: var(--cfm-muted);
    line-height: 1.9;
}

.cfm-section-dark p,
.cfm-section-head-invert p,
.cfm-section-head-invert .cfm-section-kicker {
    color: rgba(255,255,255,.76);
}

.cfm-card-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.cfm-card-list article {
    min-height: 154px;
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--cfm-line);
    box-shadow: 0 12px 28px rgba(15, 40, 60, .06);
}

.cfm-card-list-accent article {
    border-top: 4px solid var(--cfm-accent);
}

.cfm-card-list h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.cfm-card-list p {
    margin: 0;
    font-size: 14px;
}

.cfm-section-head {
    max-width: 740px;
    margin: 0 auto 34px;
    text-align: center;
}

.cfm-section-head .cfm-section-kicker {
    justify-content: center;
}

.cfm-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.cfm-category-grid span {
    display: flex;
    align-items: center;
    min-height: 62px;
    padding: 14px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--cfm-line);
    font-weight: 800;
    color: var(--cfm-primary-dark);
}

.cfm-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cfm-flow-grid article {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.cfm-flow-grid article span {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--cfm-accent);
    font-size: 26px;
    font-weight: 900;
}

.cfm-flow-grid h3 {
    color: #fff;
    margin: 0 0 8px;
}

.cfm-flow-grid p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 14px;
}

.cfm-shortcode-wrap {
    padding: 24px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--cfm-line);
    box-shadow: 0 12px 32px rgba(15, 40, 60, .08);
}

.cfm-shortcode-notice {
    padding: 22px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px dashed rgba(15, 95, 122, .35);
}

.cfm-shortcode-notice strong {
    display: block;
    margin-bottom: 8px;
    color: var(--cfm-primary-dark);
    font-size: 18px;
}

.cfm-shortcode-notice p {
    margin: 0 0 12px;
}

.cfm-shortcode-notice code,
.cfm-section code {
    padding: 3px 7px;
    border-radius: 8px;
    background: #edf2f7;
    color: #223;
}

.cfm-dashboard-card {
    min-height: 240px;
}

.cfm-cta-band {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 42px;
    border-radius: 32px;
    background: #fff;
    border: 1px solid var(--cfm-line);
    box-shadow: var(--cfm-shadow);
}

.cfm-cta-band h2 {
    margin-bottom: 10px;
}

.cfm-cta-band p {
    margin: 0;
}

/* plugin output basic styling */
.cfm-lp form textarea,
.cfm-lp form input[type="text"],
.cfm-lp form input[type="email"],
.cfm-lp form input[type="number"],
.cfm-lp form select {
    width: 100%;
    border: 1px solid var(--cfm-line);
    border-radius: 14px;
    padding: 13px 14px;
    background: #fff;
}

.cfm-lp form button,
.cfm-lp input[type="submit"] {
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 800;
    color: #fff;
    background: var(--cfm-primary);
    cursor: pointer;
}

.cfm-lp ul {
    padding-left: 1.2em;
}

@media (max-width: 920px) {
    .cfm-hero-grid,
    .cfm-two-col,
    .cfm-two-col-reverse,
    .cfm-cta-band {
        grid-template-columns: 1fr;
    }

    .cfm-stats-grid,
    .cfm-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cfm-flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cfm-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .cfm-container {
        width: min(100% - 28px, 1120px);
    }

    .cfm-hero {
        padding: 62px 0 48px;
    }

    .cfm-section {
        padding: 60px 0;
    }

    .cfm-hero h1 {
        font-size: 34px;
    }

    .cfm-lead {
        font-size: 16px;
    }

    .cfm-card-list,
    .cfm-stats-grid,
    .cfm-category-grid,
    .cfm-flow-grid {
        grid-template-columns: 1fr;
    }

    .cfm-hero-card,
    .cfm-cta-band {
        border-radius: 24px;
        padding: 22px;
    }

    .cfm-btn {
        width: 100%;
    }
}
