:root {
    --cm-bg: #000;
    --cm-bg-raised: #0a0a0a;
    --cm-border: #27272a;
    --cm-red: #dc2626;
    --cm-red-dark: #b91c1c;
    --cm-text: #fff;
    --cm-text-dim: #a1a1aa;
    --cm-text-faint: #71717a;
}

body {
    background: var(--cm-bg);
    color: var(--cm-text);
}

.cm-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.cm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color .2s, transform .2s;
}

.cm-btn--primary {
    background: var(--cm-red);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(220, 38, 38, .5);
}

.cm-btn--primary:hover {
    background: var(--cm-red-dark);
}

.cm-btn--ghost {
    background: transparent;
    color: var(--cm-text);
    border: 1px solid var(--cm-border);
}

.cm-btn--ghost:hover {
    border-color: var(--cm-red);
    color: var(--cm-red);
}

.cm-btn--full {
    width: 100%;
}

/* Hero */
.cm-hero {
    padding: 160px 0 80px;
}

.cm-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 900px) {
    .cm-hero-grid {
        grid-template-columns: 1fr;
    }

    .cm-hero {
        padding-top: 120px;
    }
}

.cm-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: monospace;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cm-red);
    margin: 0 0 16px;
}

.cm-stage-tag {
    padding: 2px 8px;
    border: 1px solid rgba(220, 38, 38, .4);
    border-radius: 999px;
    background: rgba(220, 38, 38, .1);
}

.cm-h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0;
}

.cm-h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    margin: 0;
}

.cm-h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.cm-lede {
    color: var(--cm-text-dim);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 560px;
    margin: 0;
}

/* Forms */
.cm-form-card {
    background: var(--cm-bg-raised);
    border: 1px solid var(--cm-border);
    border-radius: 16px;
    padding: 24px;
}

.cm-form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cm-input {
    flex: 1;
    min-width: 200px;
    background: #000;
    border: 1px solid var(--cm-border);
    border-radius: 999px;
    padding: 14px 20px;
    color: var(--cm-text);
    font-size: 14px;
}

.cm-input:focus {
    outline: none;
    border-color: var(--cm-red);
}

.cm-form-error {
    display: none;
    color: #f87171;
    font-size: 13px;
    margin: 10px 0 0;
}

.cm-form-error.is-visible {
    display: block;
}

.cm-form-note {
    color: var(--cm-text-faint);
    font-size: 12.5px;
    margin: 10px 0 0;
}

/* Dashboard mockup (decorative, hero) */
.cm-dashboard {
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--cm-border);
    background: var(--cm-bg-raised);
    padding: 22px;
}

.cm-dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.cm-dashboard-dots {
    display: flex;
    gap: 6px;
}

.cm-dashboard-dots span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--cm-border);
}

.cm-dashboard-label {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--cm-text-faint);
}

.cm-dashboard-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 110px;
    padding: 0 4px 10px;
    border-bottom: 1px dashed var(--cm-border);
}

.cm-dashboard-chart span {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, rgba(220, 38, 38, .75), rgba(220, 38, 38, .25));
}

.cm-dashboard-caption {
    display: flex;
    justify-content: space-between;
    margin: 10px 0 20px;
    font-size: 11px;
    color: var(--cm-text-faint);
}

.cm-dashboard-cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cm-dashboard-cal span {
    aspect-ratio: 1;
    border-radius: 6px;
    background: var(--cm-border);
}

.cm-dashboard-cal span.is-planned {
    background: rgba(220, 38, 38, .35);
}

.cm-dashboard-cal span.is-live {
    background: var(--cm-red);
}

.cm-dashboard-footnote {
    margin: 16px 0 0;
    font-size: 11px;
    color: var(--cm-text-faint);
    text-align: center;
}

@media (max-width: 900px) {
    .cm-dashboard {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* Ticker pills (marquee/marquee-content/no-scrollbar defined in ../../styles.css) */
.cm-ticker-pill {
    flex-shrink: 0;
    padding: 8px 18px;
    border: 1px solid var(--cm-border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--cm-text-dim);
    white-space: nowrap;
}

.cm-ticker-pill i {
    color: var(--cm-red);
    margin-right: 8px;
}

/* Sections */
.cm-section {
    padding: 88px 0;
}

.cm-section--tight {
    padding: 24px 0;
}

/* Grid + cards */
.cm-grid {
    display: grid;
    gap: 20px;
}

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

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

.cm-grid--6 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {

    .cm-grid--3,
    .cm-grid--4,
    .cm-grid--6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .cm-grid--3,
    .cm-grid--4,
    .cm-grid--6 {
        grid-template-columns: 1fr;
    }
}

.cm-card {
    background: var(--cm-bg-raised);
    border: 1px solid var(--cm-border);
    border-radius: 18px;
    padding: 28px;
}

.cm-card p {
    color: var(--cm-text-dim);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

.cm-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(220, 38, 38, .15);
    border: 1px solid rgba(220, 38, 38, .3);
    color: var(--cm-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 15px;
}

.cm-card-icon svg {
    width: 20px;
    height: 20px;
}

.cm-card--compact {
    padding: 22px;
}

.cm-card--compact .cm-h3 {
    font-size: .98rem;
}

/* Pain items */
.cm-pain-item {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--cm-border);
}

.cm-pain-item:last-child {
    border-bottom: none;
}

.cm-pain-mark {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(220, 38, 38, .15);
    color: var(--cm-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.cm-pain-item h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
}

.cm-pain-item p {
    margin: 0;
    color: var(--cm-text-dim);
    font-size: 14px;
    line-height: 1.5;
}

/* Checklist card */
.cm-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.cm-checklist li {
    display: flex;
    gap: 12px;
}

.cm-checklist li i {
    color: var(--cm-red);
    margin-top: 3px;
    flex-shrink: 0;
}

.cm-checklist li span {
    color: var(--cm-text-dim);
    font-size: 14.5px;
    line-height: 1.55;
}

.cm-checklist li strong {
    color: var(--cm-text);
}

/* Before/after compare */
.cm-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 700px) {
    .cm-compare {
        grid-template-columns: 1fr;
    }
}

.cm-compare-col {
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--cm-border);
    background: var(--cm-bg-raised);
}

.cm-compare-col ul {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--cm-text-dim);
    font-size: 14.5px;
    line-height: 1.7;
}

.cm-compare-col--after {
    border-color: rgba(220, 38, 38, .4);
}

.cm-compare-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.cm-compare-tag--before {
    background: rgba(255, 255, 255, .06);
    color: var(--cm-text-faint);
}

.cm-compare-tag--after {
    background: rgba(220, 38, 38, .15);
    color: var(--cm-red);
}

/* Testimonials */
.cm-testimonial {
    background: var(--cm-bg-raised);
    border: 1px solid var(--cm-border);
    border-radius: 16px;
    padding: 26px;
}

.cm-testimonial-stars {
    color: var(--cm-red);
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.cm-testimonial blockquote {
    margin: 0 0 18px;
    color: #e4e4e7;
    font-size: 14.5px;
    line-height: 1.6;
}

.cm-testimonial-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cm-avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(220, 38, 38, .15);
    color: var(--cm-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 700;
    flex-shrink: 0;
}

.cm-testimonial-person .name {
    font-size: 14px;
    font-weight: 600;
    color: var(--cm-text);
}

.cm-testimonial-person .role {
    font-size: 12.5px;
    color: var(--cm-text-faint);
}

.cm-illustrative-note {
    margin-top: 24px;
    color: var(--cm-text-faint);
    font-size: 12.5px;
    text-align: center;
}

/* FAQ */
.cm-faq-item {
    border-bottom: 1px solid var(--cm-border);
    padding: 18px 0;
}

.cm-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 15px;
    color: var(--cm-text);
    gap: 16px;
}

.cm-faq-item summary::-webkit-details-marker {
    display: none;
}

.cm-faq-item p {
    margin: 12px 0 0;
    color: var(--cm-text-dim);
    font-size: 14.5px;
    line-height: 1.6;
}

.cm-faq-icon {
    color: var(--cm-red);
    font-size: 18px;
    font-weight: 400;
    transition: transform .2s;
    flex-shrink: 0;
}

.cm-faq-item[open] .cm-faq-icon {
    transform: rotate(45deg);
}

/* Sticky mobile CTA */
.cm-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 12px 16px;
    background: rgba(0, 0, 0, .9);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--cm-border);
    display: none;
}

@media (max-width: 760px) {
    .cm-sticky-cta {
        display: block;
    }

    body {
        padding-bottom: 76px;
    }
}

/* Utility */
.hover-lift {
    transition: transform .2s, border-color .2s;
}

.hover-lift:hover {
    transform: translateY(-3px);
    border-color: rgba(220, 38, 38, .4);
}

.fade-in-up {
    animation: cm-fade-in-up .6s ease both;
}

@keyframes cm-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
