/* ==========================================================================
   Command Force - 2026 marketing homepage
   Standalone stylesheet. Deliberately does NOT depend on bootstrap.css or
   agency.css so the rest of the app keeps its old theme untouched.
   Every selector is namespaced under .cf-home to avoid collisions.
   ========================================================================== */

:root {
    --cf-navy-900: #050d19;
    --cf-navy-800: #0a1628;
    --cf-navy-700: #0d1e35;
    --cf-navy-600: #12283f;
    --cf-blue: #1a6cf5;
    --cf-blue-dark: #0d55d0;
    --cf-blue-light: #4d92ff;
    --cf-ink: #0f172a;
    --cf-body: #475569;
    --cf-muted: #64748b;
    --cf-line: #e2e8f0;
    --cf-tint: #eef4fb;
    --cf-white: #ffffff;
    --cf-green: #16a34a;
    --cf-amber: #f59e0b;
    --cf-red: #dc2626;
    --cf-container: 1280px;
    --cf-radius: 10px;
}

.cf-home * { box-sizing: border-box; }

.cf-home {
    margin: 0;
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--cf-body);
    background: var(--cf-white);
    -webkit-font-smoothing: antialiased;
}

/* These element resets are wrapped in :where() so they carry (0,0,1)
   specificity. Plain `.cf-home p` would be (0,1,1) and would silently beat
   every single-class component rule below it - which is exactly how the
   button labels and the paragraph spacing broke on the first pass. */
:where(.cf-home) h1,
:where(.cf-home) h2,
:where(.cf-home) h3,
:where(.cf-home) h4 {
    margin: 0;
    color: var(--cf-ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

:where(.cf-home) p { margin: 0; }
:where(.cf-home) a { color: var(--cf-blue); text-decoration: none; }
:where(.cf-home) a:hover { color: var(--cf-blue-dark); }
:where(.cf-home) img { max-width: 100%; height: auto; display: block; }
:where(.cf-home) ul { margin: 0; padding: 0; list-style: none; }

.cf-container {
    width: 100%;
    max-width: var(--cf-container);
    margin: 0 auto;
    padding: 0 32px;
}

/* Skip link — keyboard users shouldn't have to tab the whole nav */
.cf-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--cf-blue);
    color: #fff;
    padding: 12px 20px;
    z-index: 200;
}
.cf-skip:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.cf-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
    white-space: nowrap;
}

/* Scoped with .cf-home so these beat the generic `.cf-home a` link colour
   (0,1,1) - without the prefix the labels inherit blue and vanish on the
   blue fill. */
.cf-home .cf-btn-primary { background: var(--cf-blue); color: #fff; }
.cf-home .cf-btn-primary:hover { background: var(--cf-blue-dark); color: #fff; }

.cf-home .cf-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cf-home .cf-btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); }

.cf-btn-lg { padding: 16px 30px; font-size: 16px; }

/* Solid white - the hero's Log In on a phone (2026-10-09). Navy on white 18:1, on the hover tint 16:1. */
.cf-home .cf-btn-light { background: #fff; color: var(--cf-navy-800); }
.cf-home .cf-btn-light:hover { background: var(--cf-tint); color: var(--cf-navy-800); }
.cf-hero-login { display: none; }

.cf-btn svg { flex: none; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.cf-nav {
    background: var(--cf-navy-900);
    position: sticky;
    top: 0;
    z-index: 100;
}

.cf-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 68px;
}

.cf-home .cf-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.cf-home .cf-brand:hover { color: #fff; }
.cf-brand-mark { flex: none; }
.cf-brand-accent { color: var(--cf-blue-light); }

.cf-nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}
.cf-nav-links a {
    color: rgba(255,255,255,.86);
    font-size: 15px;
    font-weight: 500;
}
.cf-nav-links a:hover { color: #fff; }

.cf-nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cf-nav-login { color: rgba(255,255,255,.9); font-size: 15px; font-weight: 600; }
.cf-nav-login:hover { color: #fff; }
.cf-nav-menu-login { display: none; } /* the hamburger menu's Log In - shown in the <=860px block */

.cf-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 6px;
    padding: 8px 10px;
    color: #fff;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.cf-hero {
    background:
        radial-gradient(1100px 520px at 78% 18%, rgba(26,108,245,.22), transparent 62%),
        linear-gradient(180deg, var(--cf-navy-800) 0%, var(--cf-navy-700) 100%);
    padding: 76px 0 0;
    overflow: hidden;
}

.cf-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    gap: 56px;
    align-items: start;
}
/* Grid children default to min-width:auto, which lets the wide mockup push
   the whole track - and the page - past the viewport. */
.cf-hero-grid > * { min-width: 0; }

.cf-eyebrow {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(77,146,255,.45);
    border-radius: 999px;
    background: rgba(26,108,245,.12);
    color: #9dc2ff;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 26px;
}

.cf-hero h1 {
    color: #fff;
    font-size: 58px;
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
}
.cf-hero h1 span { display: block; }
.cf-hero h1 .cf-hl { color: var(--cf-blue); }

.cf-hero-lede {
    color: rgba(226,236,250,.82);
    font-size: 17.5px;
    line-height: 1.62;
    max-width: 30em;
    margin-bottom: 30px;
}

/* Sized to keep all four points on a single row at desktop widths, matching
   the comp. */
.cf-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 34px;
}
.cf-hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.cf-hero-points svg { color: var(--cf-blue-light); flex: none; }

.cf-hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 70px; }

/* --------------------------------------------------------------------------
   Hero image: a screenshot of the real Dash Stats page (/statistics/), 2026-09-27.
   Replaced a hand-built HTML mockup (.cf-shot*, .cf-kpi*, .cf-aging*, ...) of a
   dashboard the product never had; those rules went with it.
   -------------------------------------------------------------------------- */

.cf-hero-shot { min-width: 0; transform: translateY(6px); }
.cf-hero-shot img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 34px 70px rgba(0,0,0,.5);
}
/* Two-column hero only: let the shot run into the right-hand margin so its charts
   stay readable. The extra width is whatever margin the viewport has beyond the
   1280px container (never past the window edge - .cf-hero is overflow:hidden),
   capped at 120px. */
@media (min-width: 1025px) {
    .cf-hero-shot img { width: calc(100% + clamp(0px, (100vw - var(--cf-container)) / 2 + 20px, 120px)); max-width: none; }
}

/* Hero slideshow, 2026-10-12: the screenshots stacked in .cf-hero-slides crossfade
   (js/cf-hero-slides.js). The first slide stays in the flow and sets the height; the
   others lie exactly over it. All slides share the 1440:1334 shape, so nothing moves.
   Until the script marks the stack .is-live, only the first slide shows. */
.cf-hero-slides { position: relative; }
.cf-hero-slide { display: block; transition: opacity 1.2s ease; }
.cf-hero-slide + .cf-hero-slide { position: absolute; top: 0; left: 0; right: 0; opacity: 0; }
.cf-hero-slides.is-live .cf-hero-slide { opacity: 0; }
.cf-hero-slides.is-live .cf-hero-slide.is-active { opacity: 1; }

/* --------------------------------------------------------------------------
   Trust bar
   -------------------------------------------------------------------------- */

.cf-trust {
    background: var(--cf-navy-600);
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 26px 0;
}
.cf-trust-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px 40px;
}
.cf-trust-label {
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: .02em;
    max-width: 15em;
}
.cf-trust-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 26px 46px;
}
.cf-stat { display: flex; align-items: center; gap: 12px; }
.cf-stat svg { color: var(--cf-blue-light); flex: none; }
.cf-stat-value { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.cf-stat-label { color: rgba(226,236,250,.62); font-size: 12px; font-weight: 500; }

/* --------------------------------------------------------------------------
   Platform / features
   -------------------------------------------------------------------------- */

.cf-platform { background: #fff; padding: 78px 0; }

.cf-platform-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 2fr);
    gap: 48px;
    align-items: start;
}

.cf-kicker {
    color: var(--cf-blue);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    margin-bottom: 16px;
}

.cf-platform h2 { font-size: 30px; font-weight: 800; margin-bottom: 18px; }
.cf-platform h2 .cf-hl { color: var(--cf-blue); display: block; }
.cf-platform-lede { font-size: 15.5px; line-height: 1.65; margin-bottom: 22px; }

.cf-textlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
}

.cf-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cf-feature {
    border: 1px solid var(--cf-line);
    border-radius: var(--cf-radius);
    padding: 24px 22px 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.cf-feature:hover {
    border-color: #c7dcff;
    box-shadow: 0 10px 26px rgba(15,23,42,.07);
    transform: translateY(-2px);
}
.cf-feature-icon { color: var(--cf-blue); margin-bottom: 16px; }
.cf-feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 9px; }
.cf-feature p { font-size: 13.5px; line-height: 1.6; color: var(--cf-muted); margin-bottom: 16px; }
.cf-feature .cf-textlink { font-size: 13px; margin-top: auto; }

/* --------------------------------------------------------------------------
   Benefits band
   -------------------------------------------------------------------------- */

.cf-benefits { background: var(--cf-tint); padding: 46px 0; }
.cf-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
}
.cf-benefit { display: flex; align-items: flex-start; gap: 18px; }
.cf-benefit-icon { color: var(--cf-blue); flex: none; }
.cf-benefit h3 { font-size: 19px; font-weight: 700; margin-bottom: 5px; }
.cf-benefit p { font-size: 14px; line-height: 1.5; color: var(--cf-body); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cf-cta {
    background: linear-gradient(120deg, var(--cf-navy-800), var(--cf-navy-600));
    padding: 62px 0;
    text-align: center;
}
.cf-cta h2 { color: #fff; font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.cf-cta p { color: rgba(226,236,250,.78); font-size: 16.5px; max-width: 38em; margin: 0 auto 28px; }
.cf-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.cf-contact { background: #fff; padding: 76px 0; }
.cf-contact-head { text-align: center; margin-bottom: 38px; }
.cf-contact-head h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.cf-contact-meta { font-size: 15px; color: var(--cf-muted); }
.cf-contact-meta a { font-weight: 600; }

.cf-form { max-width: 900px; margin: 0 auto; }
.cf-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cf-field { margin-bottom: 16px; }
.cf-form input, .cf-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--cf-line);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    color: var(--cf-ink);
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.cf-form textarea { min-height: 178px; resize: vertical; }
.cf-form input:focus, .cf-form textarea:focus {
    outline: none;
    border-color: var(--cf-blue);
    box-shadow: 0 0 0 3px rgba(26,108,245,.14);
}
/* jqBootstrapValidation writes its messages into .help-block */
.cf-form .help-block { margin: 6px 0 0; font-size: 13px; color: var(--cf-red); }
.cf-form-submit { text-align: center; margin-top: 22px; }
.cf-form-status { margin-bottom: 14px; }
.cf-form-status .alert { padding: 12px 16px; border-radius: 6px; font-size: 14.5px; }
.cf-form-status .alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.cf-form-status .alert-danger { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.cf-form-status .close { float: right; background: none; border: 0; font-size: 18px; line-height: 1; cursor: pointer; opacity: .5; }

/* --------------------------------------------------------------------------
   Interior pages: dark banner + long-form prose (privacy, terms, etc.)
   -------------------------------------------------------------------------- */

.cf-pagehead {
    background:
        radial-gradient(900px 400px at 78% 10%, rgba(26,108,245,.20), transparent 62%),
        linear-gradient(180deg, var(--cf-navy-800) 0%, var(--cf-navy-700) 100%);
    padding: 58px 0;
}
.cf-pagehead h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.cf-pagehead p {
    color: rgba(226,236,250,.78);
    font-size: 17px;
    max-width: 46em;
    margin-top: 12px;
}

.cf-page { background: #fff; padding: 62px 0 78px; }

/* Long-form legal/marketing copy. Constrained measure for readability. */
.cf-prose { max-width: 78ch; }
.cf-prose > :first-child { margin-top: 0; }

.cf-prose h2 {
    font-size: 25px;
    font-weight: 800;
    margin: 44px 0 14px;
    padding-top: 22px;
    border-top: 1px solid var(--cf-line);
}
.cf-prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 34px; }

.cf-prose h3 {
    font-size: 17.5px;
    font-weight: 700;
    margin: 28px 0 10px;
}

.cf-prose p {
    font-size: 16px;
    line-height: 1.72;
    margin: 0 0 17px;
}

.cf-prose ul {
    list-style: disc;
    padding-left: 22px;
    margin: 0 0 18px;
}
.cf-prose ul li {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 11px;
    padding-left: 4px;
}
.cf-prose ul li::marker { color: var(--cf-blue); }

/* Some legal copy wraps each bullet in its own <p>; keep those tight */
.cf-prose li > p { margin: 0 0 9px; }
.cf-prose li > p:last-child { margin-bottom: 0; }

.cf-prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.cf-prose strong { color: var(--cf-ink); }

/* "Last updated" / meta line under the banner */
.cf-prose-meta {
    display: inline-block;
    background: var(--cf-tint);
    border: 1px solid #dbe7f6;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--cf-body);
    margin-bottom: 8px;
}

@media (max-width: 860px) {
    .cf-pagehead { padding: 40px 0; }
    .cf-pagehead h1 { font-size: 29px; }
    .cf-pagehead p { font-size: 15.5px; }
    .cf-page { padding: 42px 0 56px; }
    .cf-prose h2 { font-size: 21px; margin-top: 34px; }
    .cf-prose p, .cf-prose ul li { font-size: 15.5px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

/* Sticky footer. Added 2026-08-21.

   A page shorter than the viewport used to end mid-screen with the footer
   floating and white space below it - visible on /auth/{token}/, the email
   confirmation result, which is three lines long. Every other public page is
   long enough that nothing showed.

   Scoped to .cf-home, this theme's body class, so the admin console and the
   auth screens are untouched. body's only children are the nav, #main and this
   footer, all full-width blocks, so making it a column flex container changes
   no layout: #main simply absorbs the leftover height. Pages taller than the
   viewport are unaffected - min-height, not height. The nav keeps
   position:sticky, which is honoured on a flex item.

   Verified by screenshotting index, privacy and terms at 1400x900 before and
   after: byte-identical. Only short pages move. */
.cf-home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.cf-home > #main { flex: 1 0 auto; }
.cf-home > .cf-footer { flex-shrink: 0; }

.cf-footer { background: var(--cf-navy-900); padding: 44px 0 28px; }
.cf-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}
.cf-footer-links { display: flex; flex-wrap: wrap; gap: 26px; }
.cf-footer-links a { color: rgba(226,236,250,.72); font-size: 14px; font-weight: 500; }
.cf-footer-links a:hover { color: #fff; }
.cf-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 22px;
    color: rgba(226,236,250,.5);
    font-size: 13px;
}
.cf-footer-bottom a { color: rgba(226,236,250,.66); }
.cf-footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
    .cf-hero h1 { font-size: 50px; }
    .cf-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cf-platform-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 1024px) {
    .cf-hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .cf-hero-ctas { padding-bottom: 0; }
    .cf-hero-shot { margin-bottom: -6px; }
    .cf-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

@media (max-width: 860px) {
    .cf-container { padding: 0 20px; }
    .cf-nav-links, .cf-nav-login { display: none; }
    .cf-nav-toggle { display: inline-flex; }
    .cf-nav-actions { gap: 10px; }
    .cf-nav-actions .cf-btn { padding: 10px 15px; font-size: 13.5px; }
    .cf-brand { font-size: 18px; gap: 9px; }

    /* Mobile menu revealed by the toggle */
    .cf-nav.is-open .cf-nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        position: absolute;
        left: 0;
        right: 0;
        top: 68px;
        background: var(--cf-navy-900);
        padding: 14px 20px 20px;
        border-top: 1px solid rgba(255,255,255,.08);
    }
    /* Thumb-sized rows (2026-10-09): each section link is a full-width row ~52px tall, so a tap anywhere
       across it lands - they were the word alone, 39px tall and 50-71px wide, overlapping by 9px.
       44-48px is the usual minimum for a thumb. Log In below keeps its own button styling. */
    .cf-nav.is-open .cf-nav-links { gap: 0; }
    .cf-nav.is-open .cf-nav-links li { align-self: stretch; }
    .cf-nav.is-open .cf-nav-links li:not(.cf-nav-menu-login) a { display: block; padding: 14px 4px; font-size: 17px; line-height: 1.4; border-radius: 6px; }
    .cf-nav.is-open .cf-nav-links li:not(.cf-nav-menu-login) a:active { background: rgba(255,255,255,.08); }
    /* Rules between the rows (2026-10-09): a light 1px line under each section link, and a double-thick
       (2px) one under the last, closing the menu off from the page beneath. */
    .cf-nav.is-open .cf-nav-links li:not(.cf-nav-menu-login) { border-bottom: 1px solid rgba(255,255,255,.10); }
    .cf-nav.is-open .cf-nav-links li:not(.cf-nav-menu-login):last-child { border-bottom: 2px solid rgba(255,255,255,.22); }
    /* Log In at the TOP of the open menu (2026-10-09; it was at the foot): a full-width white button with
       a divider below it, so it reads as an action, not another section link. Navy on white 18:1. */
    .cf-nav.is-open .cf-nav-links .cf-nav-menu-login {
        display: block;
        align-self: stretch;
        margin-bottom: 8px;
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }
    .cf-nav.is-open .cf-nav-menu-login a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 6px;
        background: #fff;
        color: var(--cf-navy-800);
        font-size: 16px; /* was inherited from the general menu-link rule, now scoped to the section links */
        font-weight: 700;
    }
    .cf-nav.is-open .cf-nav-menu-login a:hover { background: var(--cf-tint); color: var(--cf-navy-800); }
    .cf-nav-inner { position: relative; }

    .cf-hero { padding-top: 52px; }
    .cf-hero h1 { font-size: 38px; }
    .cf-hero-lede { font-size: 16px; }
    .cf-platform { padding: 56px 0; }
    .cf-platform h2, .cf-contact-head h2 { font-size: 29px; }
    .cf-cta h2 { font-size: 26px; }
    .cf-form-grid { grid-template-columns: 1fr; }
    .cf-form textarea { min-height: 140px; }
    .cf-trust-inner { gap: 22px; }
    .cf-trust-stats { gap: 20px 32px; }

}

@media (max-width: 560px) {
    .cf-hero h1 { font-size: 32px; }
    .cf-feature-grid, .cf-benefits-grid { grid-template-columns: 1fr; }
    /* Full-width only for the stacked CTA groups - NOT the compact nav button */
    .cf-hero-ctas .cf-btn,
    .cf-cta-actions .cf-btn,
    .cf-form-submit .cf-btn { width: 100%; justify-content: center; }
    .cf-hero-ctas, .cf-cta-actions { flex-direction: column; }
    /* The buttons have stacked: Log In joins them, at the top (the nav hides its own below 860px). */
    .cf-hero-ctas .cf-hero-login { display: inline-flex; }

    /* The nav on a phone (2026-10-09). Brand + Start Free + menu toggle overflowed: at 390px the
       page was 472px wide and the toggle sat off-screen, so the menu could not be opened. */
    .cf-container { padding: 0 16px; }
    .cf-nav-inner { gap: 10px; }
    /* .cf-home prefix: the base rule is .cf-home .cf-brand, which a bare .cf-brand cannot beat
       (the 860px rule above never applies for that reason). flex: none - it must never be squeezed. */
    .cf-home .cf-brand { font-size: 16px; gap: 7px; flex: none; }
    .cf-brand-mark { width: 24px; height: 24px; }
    .cf-nav-actions { gap: 8px; }
    .cf-nav-actions .cf-btn { padding: 9px 12px; font-size: 13px; }
    .cf-nav-toggle { padding: 7px 8px; }
}

@media (max-width: 374px) {
    .cf-home .cf-brand { font-size: 14px; gap: 6px; }
    .cf-brand-mark { width: 22px; height: 22px; }
    .cf-container { padding: 0 12px; }
    .cf-nav-actions { gap: 6px; }
    .cf-nav-actions .cf-btn { padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .cf-home * { transition: none !important; }
}
