/* CompFlo Marketing Site — cf-mkt-* */
:root {
    --cf-mkt-max: 1240px;
    --cf-mkt-nav-h: 80px;
    --cf-mkt-nav-bg: #0a0a0a;
    --cf-mkt-footer-bg: #0a0a0a;
    --cf-mkt-body-bg: #f9fafb;
    --cf-mkt-accent-blue: #2563eb;
    --cf-mkt-accent-green: #22c55e;
    --cf-mkt-text: #0f172a;
    --cf-mkt-text-muted: #6b7280;
    --cf-mkt-radius: 12px;
    --cf-mkt-radius-lg: 16px;
}

html.su-theme-dark {
    --cf-mkt-body-bg: #0f172a;
    --cf-mkt-text: #e2e8f0;
    --cf-mkt-text-muted: #94a3b8;
}

.cf-mkt {
    background:
        radial-gradient(1200px 600px at 18% -20%, rgba(37, 99, 235, 0.14), transparent 60%),
        radial-gradient(900px 500px at 90% 10%, rgba(34, 197, 94, 0.08), transparent 55%),
        var(--cf-mkt-body-bg);
    color: var(--cf-mkt-text);
    min-height: 100vh;
}

.cf-mkt-main {
    padding-top: var(--cf-mkt-nav-h);
}

.cf-mkt-inner {
    max-width: var(--cf-mkt-max);
    margin: 0 auto;
    padding: 0 18px;
}

.cf-mkt-muted {
    color: var(--cf-mkt-text-muted);
    text-align: center;
}

/* Nav */
.cf-mkt-nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--cf-mkt-nav-h);
    z-index: 1200;
    background: var(--cf-mkt-nav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cf-mkt-nav__inner {
    max-width: var(--cf-mkt-max);
    margin: 0 auto;
    height: 100%;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cf-mkt-nav__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    min-width: 0;
    flex-shrink: 0;
}

.cf-mkt-nav__logo {
    display: block;
    height: 44px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: left center;
    image-rendering: -webkit-optimize-contrast;
}

.cf-mkt-nav__links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cf-mkt-nav__link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.cf-mkt-nav__chev {
    font-size: 10px;
    opacity: 0.55;
    margin-top: 1px;
}

.cf-mkt-nav__link:hover,
.cf-mkt-nav__link--active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.cf-mkt-nav__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.cf-mkt-nav__actions .cf-mkt-btn--nav {
    border-radius: 4px;
    min-height: 36px;
    padding: 0 16px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: none;
    white-space: nowrap;
}

.cf-mkt-nav__actions .cf-mkt-btn--primary {
    background: var(--cf-mkt-accent-blue);
    border-color: var(--cf-mkt-accent-blue);
    color: #fff;
}

.cf-mkt-nav__actions .cf-mkt-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.38);
}

.cf-mkt-nav__actions .cf-mkt-nav__btn--current {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.1);
}

.cf-mkt-nav__toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 10px;
    cursor: pointer;
}

.cf-mkt-nav__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin: 4px 0;
}

@media (max-width: 1080px) {
    .cf-mkt-nav__toggle { display: inline-flex; flex-direction: column; }
    .cf-mkt-nav__links {
        position: fixed;
        top: var(--cf-mkt-nav-h);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 18px 20px;
        background: var(--cf-mkt-nav-bg);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .cf-mkt-nav[data-open="1"] .cf-mkt-nav__links { display: flex; }
    .cf-mkt-nav__actions { flex-direction: column; margin-left: 0; }
}

/* Footer */
.cf-mkt-footer {
    background: var(--cf-mkt-footer-bg);
    color: rgba(255, 255, 255, 0.75);
    padding: 48px 0 24px;
    margin-top: 64px;
}

.cf-mkt-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 24px;
}

.cf-mkt-footer__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
}

.cf-mkt-footer__link {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
}

.cf-mkt-footer__link:hover { color: #fff; }

.cf-mkt-footer__bottom {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .cf-mkt-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Home hero */
.cf-mkt-hero {
    padding: 48px 0 56px;
    position: relative;
    overflow: visible;
}

.cf-mkt-hero__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: center;
}

.cf-mkt-hero__copy {
    position: relative;
    z-index: 2;
}

.cf-mkt-hero__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cf-mkt-accent-blue);
    margin-bottom: 16px;
}

.cf-mkt-hero__title {
    margin: 0 0 16px;
    font-size: clamp(2.25rem, 4.1vw, 3.35rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: var(--cf-mkt-text);
    max-width: 14em;
}

.cf-mkt-hero__deck {
    margin: 0 0 16px;
    font-size: clamp(1.35rem, 2.35vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--cf-mkt-text);
    max-width: 18em;
}

.cf-mkt-hero__deck em {
    font-style: normal;
    color: var(--cf-mkt-accent-green);
}

.cf-mkt-hero__lead {
    margin: 0 0 28px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.005em;
    color: var(--cf-mkt-text-muted);
    max-width: 30rem;
}

html.su-theme-dark .cf-mkt-hero__lead {
    color: #94a3b8;
}

.cf-mkt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.cf-mkt-hero__actions .cf-mkt-btn {
    border-radius: 4px;
    min-height: 42px;
    padding: 0 22px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: none;
}

.cf-mkt-hero__actions .cf-mkt-btn--primary {
    background: var(--cf-mkt-accent-blue);
    border-color: var(--cf-mkt-accent-blue);
}

.cf-mkt-hero__actions .cf-mkt-btn--ghost {
    background: #fff;
    color: var(--cf-mkt-text);
    border: 1px solid #cbd5e1;
}

.su-theme-dark .cf-mkt-hero__actions .cf-mkt-btn--ghost {
    background: transparent;
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.45);
}

.cf-mkt-btn-arrow::after {
    content: " →";
    font-weight: 700;
}

.cf-hero-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
    padding: 24px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.cf-hero-feat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 6px rgba(15, 31, 54, 0.04);
    padding: 16px 0 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.cf-hero-feat__icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    flex-shrink: 0;
}

.cf-hero-feat__icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.cf-hero-feat strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--cf-mkt-text);
}

.cf-hero-feat small {
    display: block;
    color: var(--cf-mkt-text-muted);
    font-size: 10.5px;
    line-height: 1.35;
    margin-top: 2px;
}

/* ── Hero composite image ── */
.cf-hero-img-wrap {
    width: 100%;
    align-self: center;
    justify-self: end;
    margin-right: -20px;
}

.cf-hero-img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 40px rgba(34, 197, 94, 0.18))
            drop-shadow(0 6px 14px rgba(15, 31, 54, 0.10));
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cf-hero-img.is-loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ── Progress rail ── */
.cf-progress-rail {
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 0 6px;
}

.cf-progress-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #26344d;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.cf-progress-dot {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: #fff;
    font-size: 15px;
    border-radius: 999px;
    background: linear-gradient(180deg, #63c76a, #2d913e);
    box-shadow:
        0 0 0 6px rgba(92, 201, 104, 0.12),
        0 6px 16px rgba(35, 130, 53, 0.22);
}

.cf-progress-dot svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cf-progress-item.current {
    color: #2563eb;
}

.cf-progress-item.current .cf-progress-dot {
    background: linear-gradient(180deg, #4c8dff, #1f63e9);
    box-shadow:
        0 0 0 6px rgba(59, 130, 246, 0.14),
        0 6px 16px rgba(31, 99, 233, 0.24);
}

.cf-rail-line {
    height: 22px;
    min-width: 32px;
    overflow: visible;
}

.cf-rail-line path {
    fill: none;
    stroke: rgba(86, 199, 94, 0.72);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 12 12;
    filter: drop-shadow(0 0 7px rgba(86, 199, 94, 0.25));
    animation: cfFlowDash 3.4s linear infinite;
}

.cf-rail-line.blue path {
    stroke: rgba(59, 130, 246, 0.76);
    filter: drop-shadow(0 0 7px rgba(59, 130, 246, 0.28));
}

/* ── Main window (left nav + report) ── */
.cf-main-window {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid #dce4ef;
    border-radius: 14px;
    background: #fff;
}

.cf-left-nav {
    padding: 12px 10px;
    overflow: hidden;
    border-right: 1px solid #e4e9f1;
    background: #f8fafc;
}

.cf-left-nav strong {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 13px;
}

.cf-left-nav small {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 8.5px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cf-left-nav span {
    display: block;
    overflow: hidden;
    padding: 5px 6px;
    color: #64748b;
    font-size: 9.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 6px;
}

.cf-left-nav span.active {
    color: #2563eb;
    background: #eef5ff;
}

.cf-report {
    min-width: 0;
    padding: 16px 20px 14px;
    text-align: center;
}

.cf-report-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #7b8494;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.cf-report h3 {
    margin: 6px 0 10px;
    color: #111827;
    font-size: 18px;
    text-align: left;
}

.cf-house {
    display: block;
    width: 100%;
    height: clamp(140px, 14vw, 190px);
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef2f7, #fff);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.cf-address {
    display: grid;
    gap: 2px;
    padding-top: 8px;
}

.cf-address span {
    color: #3166e8;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.cf-address strong {
    color: #111827;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.cf-address em {
    color: #697386;
    font-size: 11px;
    font-style: normal;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* ── Right panel intelligence cards ── */
.cf-right-panel {
    display: grid;
    grid-template-rows: 1.12fr 1fr .78fr .78fr;
    gap: 6px;
    min-width: 0;
    min-height: 0;
}

.cf-card {
    min-width: 0;
    padding: 8px;
    border: 1px solid #e1e8f0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 24px rgba(15, 31, 54, .06);
}

.cf-card small {
    display: block;
    margin-bottom: 4px;
    color: #667085;
    font-size: 7.5px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pill {
    display: inline-flex;
    margin-bottom: 5px;
    padding: 3px 7px;
    color: #23783a;
    font-size: 8px;
    border: 1px solid rgba(92, 216, 116, .38);
    border-radius: 999px;
    background: #ecfff0;
    text-transform: uppercase;
}

.score {
    display: flex;
    gap: 8px;
    align-items: center;
}

.score strong {
    color: #193159;
    font-size: 36px;
    line-height: .9;
    letter-spacing: -.07em;
}

.score p {
    margin: 0;
    color: #667085;
    font-size: 9px;
    line-height: 1.2;
}

.score p b {
    display: block;
    color: #64748b;
    font-size: 8.5px;
    text-transform: uppercase;
}

.cf-card h4 {
    margin: 0 0 5px;
    color: #1d3154;
    font-size: 12px;
}

.cf-card dl {
    display: grid;
    gap: 3px;
    margin: 0;
}

.cf-card dl div,
.meter-text {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.cf-card dt {
    color: #64748b;
    font-size: 9px;
}

.cf-card dd {
    margin: 0;
    color: #111827;
    font-size: 9px;
    font-weight: 850;
}

.cf-card a {
    display: inline-flex;
    margin-top: 4px;
    color: #2563eb;
    font-size: 9px;
    font-weight: 850;
    text-decoration: none;
}

.summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.summary span {
    padding: 5px 3px;
    color: #667085;
    font-size: 7px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    border-radius: 6px;
    background: #f8fafc;
}

.summary b {
    display: block;
    color: #299646;
    font-size: 13px;
}

.mini {
    margin: 5px 0 0;
    color: #667085;
    font-size: 9px;
}

.source-card {
    align-self: end;
}

.meter {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f7;
}

.meter span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #38b253, #4ad263);
}

.meter-text {
    margin: 5px 0 0;
    color: #667085;
    font-size: 9px;
}

.meter-text b {
    color: #111827;
}

@keyframes cfFlowDash {
    to { stroke-dashoffset: -72; }
}

@media (max-width: 760px) {
    .cf-command-shell {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        transform: none;
    }

    .cf-hero-perspective:hover .cf-command-shell {
        transform: none;
    }

    .cf-progress-rail {
        grid-column: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cf-rail-line {
        display: none;
    }

    .cf-main-window {
        grid-template-columns: 1fr;
    }

    .cf-left-nav {
        display: none;
    }

    .cf-right-panel {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 520px) {
    .cf-right-panel {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cf-rail-line path {
        animation: none;
    }
    .cf-command-shell {
        transition: none;
    }
}

.cf-mkt-dash {
    position: relative;
    z-index: 1;
    display: flex;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.04),
        0 24px 48px rgba(15, 23, 42, 0.14),
        0 48px 80px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #f8fafc;
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.cf-mkt-dash__sidebar {
    width: 52px;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cf-mkt-dash__sidebar-logo {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.cf-mkt-dash__nav-item {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.cf-mkt-dash__nav-item--active {
    background: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.35);
}

.cf-mkt-dash__main {
    flex: 1;
    padding: 14px 14px 16px;
    min-width: 0;
}

.cf-mkt-dash__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cf-mkt-dash__topbar-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}

.cf-mkt-dash__topbar-pill {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.cf-mkt-dash__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 10px;
}

.cf-mkt-dash__card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    min-height: 88px;
}

.cf-mkt-dash__card--subject { grid-row: span 2; }

.cf-mkt-dash__card--wide { grid-column: span 2; }

.cf-mkt-dash__card-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 8px;
}

.cf-mkt-dash__subject {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cf-mkt-dash__subject-photo {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    flex-shrink: 0;
}

.cf-mkt-dash__subject-addr {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.cf-mkt-dash__subject-meta {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

.cf-mkt-dash__bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 52px;
    padding-top: 4px;
}

.cf-mkt-dash__bar {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    opacity: 0.9;
}

.cf-mkt-dash__bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #94a3b8;
    margin-top: 6px;
}

.cf-mkt-dash__map {
    position: relative;
    height: 64px;
    border-radius: 8px;
    background: linear-gradient(180deg, #e0f2fe, #dbeafe);
    overflow: hidden;
}

.cf-mkt-dash__map-ring {
    position: absolute;
    width: 56px;
    height: 56px;
    border: 2px dashed rgba(37, 99, 235, 0.35);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.cf-mkt-dash__pin {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.cf-mkt-dash__pin--a { left: 28%; top: 38%; }
.cf-mkt-dash__pin--b { left: 58%; top: 52%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
.cf-mkt-dash__pin--c { left: 72%; top: 30%; }

.cf-mkt-dash__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    padding: 4px 8px;
    border-radius: 6px;
}

.cf-mkt-dash__badge--ok {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.cf-mkt-dash__checks,
.cf-mkt-dash__workflow {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cf-mkt-dash__checks li,
.cf-mkt-dash__workflow li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    padding: 5px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.cf-mkt-dash__checks li:last-child,
.cf-mkt-dash__workflow li:last-child { border-bottom: 0; }

.cf-mkt-dash__workflow em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
}

.cf-mkt-dash__workflow em.is-active {
    color: #2563eb;
}

/* ── Valuation workflow (home) ── */
.cf-workflow-number-rail {
    display: none;
}

.cf-workflow-section {
    width: 100%;
    padding: 0 0 56px;
}

.cf-workflow-card {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    padding: 22px 36px 24px;
    color: #fff;
    border: 1px solid rgba(125, 190, 255, 0.22);
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 42%, rgba(84, 255, 115, 0.22), transparent 18%),
        radial-gradient(circle at 18% 44%, rgba(33, 150, 255, 0.22), transparent 22%),
        linear-gradient(135deg, #071321 0%, #07182a 46%, #08283b 100%);
    box-shadow:
        0 28px 70px rgba(7, 19, 33, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cf-workflow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
    opacity: 0.28;
}

.cf-workflow-top {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 1fr auto;
    gap: 28px;
    align-items: start;
    margin-bottom: 8px;
}

.cf-kicker {
    margin-bottom: 6px;
    color: #68e578;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cf-workflow-top h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(20px, 1.8vw, 28px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.cf-workflow-top p {
    margin: 3px 0 0;
    color: rgba(231, 241, 255, 0.82);
    font-size: 13px;
    line-height: 1.45;
}

.cf-badges {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cf-badges span {
    min-width: 104px;
    padding: 10px 17px;
    text-align: center;
    color: rgba(235, 245, 255, 0.9);
    font-size: 14px;
    border: 1px solid rgba(180, 220, 255, 0.2);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}

.cf-workflow-section .cf-flow {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(7, minmax(105px, 1fr));
    gap: 18px;
    min-height: 158px;
    padding-top: 34px;
}

.cf-flow-line {
    position: absolute;
    left: 38px;
    right: 38px;
    top: 26px;
    width: calc(100% - 76px);
    height: 72px;
    overflow: visible;
    pointer-events: none;
}

.cf-path {
    fill: none;
    stroke: url(#cfPathGradient);
    stroke-linecap: round;
}

.cf-path-glow {
    stroke-width: 9;
    opacity: 0.34;
    filter: url(#cfGlow);
}

.cf-path-main {
    stroke-width: 2.5;
    stroke-dasharray: 18 12;
    animation: cfDash 3.2s linear infinite;
}

.cf-particle {
    position: absolute;
    z-index: 1;
    top: 62px;
    left: 6%;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #9be8ff;
    box-shadow: 0 0 14px #52cfff, 0 0 24px rgba(73, 199, 255, 0.9);
    opacity: 0;
    animation: cfParticle 4.8s linear infinite;
}

.cf-particle::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 2px;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(129, 220, 255, 0.8));
}

.cf-particle.p2 { animation-delay: 1.1s; }
.cf-particle.p3 { animation-delay: 2.2s; }
.cf-particle.p4 {
    animation-delay: 3.35s;
    background: #7cff8b;
    box-shadow: 0 0 16px #6fff7f, 0 0 32px rgba(103, 239, 120, 0.85);
}

.cf-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.cf-node {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border: 2px solid rgba(110, 204, 255, 0.9);
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 45%, rgba(95, 195, 255, 0.22), rgba(8, 22, 38, 0.92) 68%);
    box-shadow:
        0 0 0 7px rgba(56, 160, 255, 0.08),
        0 0 24px rgba(84, 190, 255, 0.65),
        inset 0 0 18px rgba(99, 203, 255, 0.18);
    animation: cfNodePulse 3.4s ease-in-out infinite;
}

.cf-node svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #e8f5ff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 7px rgba(111, 207, 255, 0.38));
}

.cf-step:nth-of-type(1) .cf-node { animation-delay: 0s; }
.cf-step:nth-of-type(2) .cf-node { animation-delay: 0.2s; }
.cf-step:nth-of-type(3) .cf-node { animation-delay: 0.45s; }
.cf-step:nth-of-type(4) .cf-node { animation-delay: 0.7s; }
.cf-step:nth-of-type(5) .cf-node { animation-delay: 0.95s; }
.cf-step:nth-of-type(6) .cf-node { animation-delay: 1.2s; }
.cf-step:nth-of-type(7) .cf-node { animation-delay: 1.45s; }

.cf-step.final .cf-node {
    width: 66px;
    height: 66px;
    margin-top: -4px;
    border-color: #7cff8b;
    background:
        radial-gradient(circle at 50% 45%, rgba(120, 255, 135, 0.34), rgba(8, 33, 25, 0.92) 70%);
    box-shadow:
        0 0 0 10px rgba(103, 239, 120, 0.12),
        0 0 32px rgba(103, 239, 120, 0.95),
        0 0 70px rgba(103, 239, 120, 0.45),
        inset 0 0 22px rgba(103, 239, 120, 0.26);
}

.cf-step.final .cf-node svg {
    width: 28px;
    height: 28px;
    stroke: #a7ffb1;
    filter: drop-shadow(0 0 10px rgba(103, 239, 120, 0.55));
}

.cf-step h3 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.cf-step p {
    max-width: 145px;
    margin: 0 auto;
    color: rgba(223, 234, 248, 0.66);
    font-size: 13px;
    line-height: 1.38;
}

.cf-step.final h3 {
    color: #ffffff;
    text-shadow: 0 0 22px rgba(103, 239, 120, 0.35);
}

.cf-step.final p {
    color: rgba(230, 255, 234, 0.75);
}

@keyframes cfDash {
    to { stroke-dashoffset: -60; }
}

@keyframes cfNodePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 0 0 7px rgba(56, 160, 255, 0.08),
            0 0 24px rgba(84, 190, 255, 0.52),
            inset 0 0 18px rgba(99, 203, 255, 0.16);
    }
    50% {
        transform: scale(1.045);
        box-shadow:
            0 0 0 10px rgba(56, 160, 255, 0.12),
            0 0 34px rgba(84, 190, 255, 0.78),
            inset 0 0 22px rgba(99, 203, 255, 0.24);
    }
}

@keyframes cfParticle {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.7);
    }
    10% { opacity: 1; }
    22% { transform: translate(165px, -22px) scale(1); }
    39% { transform: translate(335px, 2px) scale(0.9); }
    56% { transform: translate(535px, -20px) scale(1); }
    74% { transform: translate(765px, 2px) scale(0.9); }
    92% {
        opacity: 1;
        transform: translate(1010px, -18px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(1080px, -24px) scale(0.8);
    }
}

@media (max-width: 1050px) {
    .cf-workflow-card {
        padding: 28px 24px;
    }

    .cf-workflow-top {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cf-badges {
        flex-wrap: wrap;
    }

    .cf-workflow-section .cf-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 8px;
    }

    .cf-flow-line,
    .cf-particle {
        display: none;
    }

    .cf-step {
        padding: 18px 12px;
        border: 1px solid rgba(183, 225, 255, 0.12);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.04);
    }

    .cf-node {
        margin-bottom: 14px;
    }
}

@media (max-width: 640px) {
    .cf-workflow-section {
        padding-bottom: 40px;
    }

    .cf-workflow-section .cf-flow {
        grid-template-columns: 1fr;
    }

    .cf-badges span {
        min-width: auto;
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cf-path-main,
    .cf-node,
    .cf-particle {
        animation: none;
    }
}

/* Sections */
.cf-mkt-section {
    padding: 56px 0;
}

.cf-mkt-section--alt {
    background: rgba(148, 163, 184, 0.08);
}

.su-theme-dark .cf-mkt-section--alt {
    background: rgba(255, 255, 255, 0.04);
}

.cf-mkt-section__title {
    margin: 0 0 10px;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cf-mkt-section__lead {
    margin: 0 0 28px;
    color: var(--cf-mkt-text-muted);
    max-width: 42rem;
}

.cf-mkt-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.cf-mkt-section--proof {
    padding-top: 24px;
}

.cf-mkt-proof-panel {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: var(--cf-mkt-radius-lg);
    padding: 28px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.su-theme-dark .cf-mkt-proof-panel {
    background: rgba(30, 41, 59, 0.55);
    border-color: rgba(148, 163, 184, 0.15);
}

.cf-mkt-proof-items {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.cf-mkt-proof-items li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.cf-mkt-proof-items__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    color: var(--cf-mkt-accent-green);
    border: 1px solid rgba(34, 197, 94, 0.18);
    font-size: 16px;
}

.cf-mkt-proof-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cf-mkt-proof-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
}

.cf-mkt-proof-list li::before {
    content: "✓";
    color: var(--cf-mkt-accent-green);
    font-weight: 800;
}

.cf-mkt-proof-card {
    padding: 24px;
}

.cf-mkt-metrics {
    display: grid;
    gap: 0;
}

.cf-mkt-metrics__row {
    padding: 14px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.cf-mkt-metrics__row:last-child {
    border-bottom: 0;
}

.cf-mkt-metrics__k {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cf-mkt-text-muted);
    margin-bottom: 4px;
}

.cf-mkt-metrics__v {
    font-size: 1.1rem;
    font-weight: 800;
}

/* Feature Z-blocks */
.cf-mkt-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
}

.cf-mkt-feature__title {
    margin: 0 0 12px;
    font-size: 1.5rem;
    font-weight: 800;
}

.cf-mkt-feature__body {
    margin: 0;
    color: var(--cf-mkt-text-muted);
    line-height: 1.6;
}

.cf-mkt-feature--reverse .cf-mkt-feature__copy { order: 2; }
.cf-mkt-feature--reverse .cf-mkt-feature__media { order: 1; }

/* Page hero (inner pages) */
.cf-mkt-page-hero {
    padding: 48px 0 32px;
    text-align: center;
}

.cf-mkt-page-hero__title {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
}

.cf-mkt-page-hero__lead {
    margin: 0 auto;
    max-width: 40rem;
    color: var(--cf-mkt-text-muted);
    font-size: 1.05rem;
}

/* Card grid */
.cf-mkt-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cf-mkt-cards--two {
    grid-template-columns: repeat(2, 1fr);
}

.cf-mkt-card {
    padding: 22px;
    height: 100%;
}

.cf-mkt-card__title {
    font-weight: 700;
    margin-bottom: 8px;
}

.cf-mkt-card__body {
    color: var(--cf-mkt-text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.cf-mkt-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Pricing page */
.cf-mkt-pricing {
    padding: 0 0 48px;
}

.cf-mkt-pricing__header {
    text-align: center;
    margin-bottom: 1rem;
}

.cf-mkt-pricing__trial {
    text-align: center;
    font-size: 0.875rem;
    color: var(--cf-mkt-text-muted);
    margin-top: 2rem;
}

.cf-mkt-pricing__faq {
    max-width: 640px;
    margin: 4rem auto 0;
}

.cf-mkt-pricing__faq h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 1.5rem;
}

.cf-mkt-faq-item {
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1rem 0;
}

.cf-mkt-faq-item__q {
    font-weight: 600;
    font-size: 0.9375rem;
    margin: 0 0 0.5rem;
}

.cf-mkt-faq-item__a {
    font-size: 0.875rem;
    color: var(--cf-mkt-text-muted);
    margin: 0;
    line-height: 1.7;
}

.cf-mkt-pricing-teaser__head {
    text-align: center;
    margin-bottom: 24px;
}

.cf-mkt-pricing-teaser__cta {
    text-align: center;
    margin-top: 18px;
}

/* Mini UI mocks in feature sections */
.cf-mkt-mini-mock {
    border-radius: var(--cf-mkt-radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    padding: 16px;
    min-height: 220px;
}

.su-theme-dark .cf-mkt-mini-mock {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
}

.cf-mkt-mini-mock__header {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 14px;
}

.cf-mkt-mini-mock__map-area {
    position: relative;
    height: 160px;
    border-radius: 10px;
    background: linear-gradient(180deg, #e0f2fe, #dbeafe);
}

.cf-mkt-mini-mock__pipeline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
}

.cf-mkt-mini-mock__pipeline-row em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
}

.cf-mkt-mini-mock__pipeline-row em.is-active {
    color: #2563eb;
}

.cf-mkt-mini-mock__form-lines {
    height: 100px;
    border-radius: 8px;
    background:
        repeating-linear-gradient(180deg, #f1f5f9 0 11px, #e2e8f0 11px 12px);
    margin-bottom: 12px;
}

.cf-mkt-mini-mock__form-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cf-mkt-mini-mock__form-tags span {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
}

.cf-mkt-shot {
    position: relative;
    border-radius: var(--cf-mkt-radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #fff;
}

.cf-mkt-shot img {
    display: block;
    width: 100%;
    height: auto;
}

/* CTA band */
.cf-mkt-cta {
    margin: 48px 0;
    padding: 40px 28px;
    border-radius: var(--cf-mkt-radius-lg);
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    text-align: center;
}

.cf-mkt-cta__title {
    margin: 0 0 16px;
    font-size: 1.5rem;
    font-weight: 800;
}

@media (max-width: 900px) {
    .cf-mkt-hero__grid,
    .cf-mkt-split,
    .cf-mkt-feature,
    .cf-mkt-cards,
    .cf-mkt-cards--two,
    .cf-mkt-contact-grid { grid-template-columns: 1fr; }
    .cf-mkt-feature--reverse .cf-mkt-feature__copy,
    .cf-mkt-feature--reverse .cf-mkt-feature__media { order: unset; }
    .cf-mkt-dash { transform: none; }
    .cf-mkt-dash__grid { grid-template-columns: 1fr 1fr; }
    .cf-mkt-dash__card--subject { grid-row: auto; }
    .cf-mkt-dash__card--wide { grid-column: span 2; }
}

@media (max-width: 720px) {
    .cf-hero-features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .cf-hero-features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
    .cf-mkt-section {
        animation: cf-mkt-fade-in 0.5s ease both;
    }
}

@keyframes cf-mkt-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Member Login (standalone) ===== */
.cf-mkt-login {
    --cf-mkt-login-bg: #e8eaee;
    --cf-mkt-login-card: #ffffff;
    --cf-mkt-login-card-border: rgba(15, 23, 42, 0.08);
    --cf-mkt-login-card-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
    --cf-mkt-login-input-bg: #ffffff;
    --cf-mkt-login-input-border: #d1d5db;
    --cf-mkt-login-input-focus: #2563eb;
    --cf-mkt-login-label: #374151;
    --cf-mkt-login-title: #111827;
    --cf-mkt-login-subtitle: #6b7280;
    --cf-mkt-login-icon: #9ca3af;
    --cf-mkt-login-link: #2563eb;
    --cf-mkt-login-secure: #16a34a;
    --cf-mkt-login-btn-secondary-bg: #ffffff;
    --cf-mkt-login-btn-secondary-border: #d1d5db;
    --cf-mkt-login-btn-secondary-text: #111827;

    min-height: 100vh;
    background-color: var(--cf-mkt-login-bg);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -10%, rgba(255, 255, 255, 0.65), transparent 55%),
        repeating-radial-gradient(circle at 50% 42%, transparent 0 54px, rgba(15, 23, 42, 0.028) 54px 55px);
    color: var(--cf-mkt-login-title);
}

html.su-theme-dark .cf-mkt-login {
    --cf-mkt-login-bg: #0b1220;
    --cf-mkt-login-card: #111827;
    --cf-mkt-login-card-border: rgba(148, 163, 184, 0.16);
    --cf-mkt-login-card-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --cf-mkt-login-input-bg: #0f172a;
    --cf-mkt-login-input-border: rgba(148, 163, 184, 0.28);
    --cf-mkt-login-input-focus: #3b82f6;
    --cf-mkt-login-label: #cbd5e1;
    --cf-mkt-login-title: #f8fafc;
    --cf-mkt-login-subtitle: #94a3b8;
    --cf-mkt-login-icon: #64748b;
    --cf-mkt-login-link: #60a5fa;
    --cf-mkt-login-secure: #4ade80;
    --cf-mkt-login-btn-secondary-bg: #0f172a;
    --cf-mkt-login-btn-secondary-border: rgba(148, 163, 184, 0.35);
    --cf-mkt-login-btn-secondary-text: #e2e8f0;

    background-image:
        radial-gradient(ellipse 120% 80% at 50% -10%, rgba(37, 99, 235, 0.12), transparent 55%),
        repeating-radial-gradient(circle at 50% 42%, transparent 0 54px, rgba(148, 163, 184, 0.06) 54px 55px);
}

.cf-mkt-login__theme {
    display: none;
}

.cf-mkt-login__main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--cf-mkt-nav-h) + 32px) 18px 48px;
    box-sizing: border-box;
}

.cf-mkt-login__card {
    width: 100%;
    max-width: 420px;
    padding: 36px 32px 28px;
    border-radius: 16px;
    background: var(--cf-mkt-login-card);
    border: 1px solid var(--cf-mkt-login-card-border);
    box-shadow: var(--cf-mkt-login-card-shadow);
    box-sizing: border-box;
    overflow: hidden;
}

.cf-mkt-login__card,
.cf-mkt-login__card * {
    box-sizing: border-box;
}

.cf-mkt-login__header {
    margin-bottom: 28px;
}

.cf-mkt-login__title {
    margin: 0 0 8px;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--cf-mkt-login-title);
}

.cf-mkt-login__subtitle {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--cf-mkt-login-subtitle);
}

.cf-mkt-login__flash {
    margin-bottom: 18px;
}

.cf-mkt-login__alert {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.cf-mkt-login__alert--success {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.cf-mkt-login__alert--error {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.cf-mkt-login__alert--warn {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

html.su-theme-dark .cf-mkt-login__alert--success { color: #4ade80; }
html.su-theme-dark .cf-mkt-login__alert--error { color: #f87171; }
html.su-theme-dark .cf-mkt-login__alert--warn { color: #fbbf24; }

.cf-mkt-login__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.cf-mkt-login__field {
    width: 100%;
    min-width: 0;
}

.cf-mkt-login__field.is-invalid .cf-mkt-login__input {
    border-color: #ef4444;
}

.cf-mkt-login__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cf-mkt-login-label);
}

.cf-mkt-login__input-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
}

.cf-mkt-login__input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cf-mkt-login-icon);
    pointer-events: none;
    display: inline-flex;
}

.cf-mkt-login__input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 44px;
    border-radius: 10px;
    border: 1px solid var(--cf-mkt-login-input-border);
    background: var(--cf-mkt-login-input-bg);
    color: var(--cf-mkt-login-title);
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.cf-mkt-login__input:focus {
    outline: none;
    border-color: var(--cf-mkt-login-input-focus);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.cf-mkt-login__toggle-pw {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--cf-mkt-login-icon);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cf-mkt-login__toggle-pw:hover {
    color: var(--cf-mkt-login-label);
}

.cf-mkt-login__eye-closed {
    display: none;
}

.cf-mkt-login__toggle-pw[aria-pressed="true"] .cf-mkt-login__eye-open {
    display: none;
}

.cf-mkt-login__toggle-pw[aria-pressed="true"] .cf-mkt-login__eye-closed {
    display: block;
}

.cf-mkt-login__field-error {
    margin: 6px 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ef4444;
}

.cf-mkt-login__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: -4px;
}

.cf-mkt-login__remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cf-mkt-login-label);
    cursor: pointer;
    user-select: none;
}

.cf-mkt-login__remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--cf-mkt-login-link);
}

.cf-mkt-login__forgot {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cf-mkt-login-link);
    text-decoration: none;
}

.cf-mkt-login__forgot:hover {
    text-decoration: underline;
}

.cf-mkt-login__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
    width: 100%;
    min-width: 0;
}

.cf-mkt-login__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    box-sizing: border-box;
}

.cf-mkt-login__btn--primary {
    background: var(--cf-mkt-accent-blue);
    border-color: var(--cf-mkt-accent-blue);
    color: #fff;
}

.cf-mkt-login__btn--primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.cf-mkt-login__btn--secondary {
    background: var(--cf-mkt-login-btn-secondary-bg);
    border-color: var(--cf-mkt-login-btn-secondary-border);
    color: var(--cf-mkt-login-btn-secondary-text);
}

.cf-mkt-login__btn--secondary:hover {
    border-color: var(--cf-mkt-login-input-focus);
}

.cf-mkt-login__access {
    margin: 22px 0 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--cf-mkt-login-subtitle);
}

.cf-mkt-login__access a {
    color: var(--cf-mkt-login-link);
    font-weight: 700;
    text-decoration: none;
}

.cf-mkt-login__access a:hover {
    text-decoration: underline;
}

.cf-mkt-login__divider {
    margin: 22px 0 18px;
    border: 0;
    border-top: 1px solid var(--cf-mkt-login-input-border);
}

.cf-mkt-login__secure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cf-mkt-login-secure);
    text-align: center;
}

@media (max-width: 480px) {
    .cf-mkt-login__card {
        padding: 28px 22px 22px;
    }

    .cf-mkt-login__row {
        flex-direction: column;
        align-items: flex-start;
    }
}
