:root {
    --cm-ink: #0f172a;
    --cm-muted: #475569;
    --cm-soft: #e2e8f0;
    --cm-bg: #fffaf3;
    --cm-card: rgba(255, 255, 255, 0.84);
    --cm-teal: #0f766e;
    --cm-orange: #ea580c;
    --cm-gold: #c2410c;
    --cm-red: #b91c1c;
    --cm-blue: #1d4ed8;
    --cm-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    --cm-radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: var(--cm-ink);
    background:
        radial-gradient(circle at top left, rgba(234, 88, 12, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(29, 78, 216, 0.16), transparent 32%),
        linear-gradient(180deg, #fff7ed 0%, #fffaf3 35%, #ffffff 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.cm-shell {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.cm-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(255, 250, 243, 0.88);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.cm-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 76px;
}

.cm-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Muli', sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.cm-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--cm-orange), var(--cm-teal));
    box-shadow: 0 14px 28px rgba(234, 88, 12, 0.22);
}

.cm-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cm-nav a {
    font-size: 0.95rem;
    color: var(--cm-muted);
}

.cm-btn,
button.cm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 14px 20px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cm-btn:hover { transform: translateY(-1px); }
.cm-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--cm-orange), var(--cm-red));
    box-shadow: 0 14px 30px rgba(185, 28, 28, 0.2);
}
.cm-btn-secondary {
    color: var(--cm-ink);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.cm-hero {
    padding: 36px 0 28px;
}

.cm-hero-grid {
    display: grid;
    gap: 22px;
}

.cm-hero-copy,
.cm-hero-panel,
.cm-section-card,
.cm-story-card,
.cm-stat-card,
.cm-module-card,
.cm-cta,
.cm-footer {
    border-radius: var(--cm-radius);
    background: var(--cm-card);
    box-shadow: var(--cm-shadow);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cm-hero-copy {
    padding: 28px;
    overflow: hidden;
    position: relative;
}

.cm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--cm-teal);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cm-hero h1,
.cm-section-title,
.cm-cta h2 {
    font-family: 'Muli', sans-serif;
    line-height: 1.05;
}

.cm-hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(2.4rem, 7vw, 1.8rem);
}

.cm-hero p {
    margin: 0;
    color: var(--cm-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.cm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.cm-hero-search {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.cm-hero-search input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    padding: 16px 18px;
    font-size: 1rem;
    color: var(--cm-ink);
    background: rgba(255, 255, 255, 0.92);
}

.cm-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.cm-tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--cm-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.cm-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.cm-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--cm-muted);
    font-size: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.cm-hero-panel {
    padding: 18px;
    display: grid;
    gap: 16px;
}

.cm-panel-image {
    border-radius: 20px;
    overflow: hidden;
    min-height: 240px;
    background: #0f172a;
}

.cm-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cm-panel-grid {
    display: grid;
    gap: 14px;
}

.cm-mini-card {
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.cm-mini-card strong { display: block; margin-bottom: 6px; font-family: 'Muli', sans-serif; }
.cm-mini-card span { color: var(--cm-muted); font-size: 0.95rem; }

.cm-section {
    padding: 20px 0;
}

.cm-section-card {
    padding: 26px;
}

.cm-section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cm-section-title {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.cm-section-text,
.cm-note,
.cm-footer p,
.cm-story-card p,
.cm-module-card p,
.cm-stat-card p,
.cm-feature-list li { color: var(--cm-muted); }

.cm-stats,
.cm-modules,
.cm-proof,
.cm-footer-grid {
    display: grid;
    gap: 16px;
}

.cm-stat-card,
.cm-module-card,
.cm-story-card {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.cm-stat-value {
    margin: 0 0 8px;
    font-family: 'Muli', sans-serif;
    font-size: 2rem;
}

.cm-stat-label,
.cm-module-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
}

.cm-module-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cm-module-card .cm-module-eyebrow { color: var(--cm-orange); }
.cm-module-card h3,
.cm-story-card h3 { margin: 0; font-family: 'Muli', sans-serif; font-size: 1.25rem; }

.cm-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.cm-link-chip {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    font-size: 0.9rem;
    font-weight: 700;
}

.cm-proof {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.cm-feature-list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.8;
}

.cm-feature-list li + li { margin-top: 4px; }

.cm-cta {
    padding: 28px;
    display: grid;
    gap: 18px;
    text-align: center;
}

.cm-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cm-footer {
    margin: 20px auto 28px;
    padding: 24px;
}

.cm-footer-grid h4 {
    margin: 0 0 10px;
    font-family: 'Muli', sans-serif;
}

.cm-footer-links {
    display: grid;
    gap: 10px;
}

@media (min-width: 768px) {
    .cm-hero-grid,
    .cm-proof,
    .cm-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cm-stats,
    .cm-modules {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cm-panel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .cm-hero-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
        align-items: stretch;
    }

    .cm-stats,
    .cm-modules {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cm-proof,
    .cm-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
