/*
 * features_v2.css — Features page (/feature/list) revamp
 * ---------------------------------------------------------------------------
 * Everything is scoped under .clf and uses class-based selectors so each rule
 * outranks new-age.css's bare element rules (section{}, section h2{}, p{}, a{},
 * h1-h6{}) WITHOUT needing !important. (A single class beats a bare element.)
 *
 * Fonts follow the existing brand: headings use real <h1>/<h2>/<h3> tags so
 * they inherit the site's 'Agency Gothic CT' heading font from new-age.css
 * automatically; card titles / body / labels use <div>/<span>/<b> so they
 * inherit the 'Muli' body font. We only tune size/colour/spacing here.
 *
 * Brand palette: red #d03438, dark #353435, ink #212529, muted #6c757d,
 * border #e5e5e5, light section #f8f9fa.
 */

.clf { color: #212529; font-size: 15px; line-height: 1.6; }
.clf * { box-sizing: border-box; }
.clf img { max-width: 100%; }

/* heading colour/weight baseline (font-family inherited from new-age.css) */
.clf-hero-title,
.clf-part-title,
.clf-cat-title,
.clf-center-title,
.clf-path-title { font-weight: 200; letter-spacing: 1px; margin: 0; }

/* ----------------------------------------------------------------- buttons */
.clf-btn {
    display: inline-block;
    font-family: 'Muli', 'Helvetica', 'Arial', sans-serif;
    font-size: 11px; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; line-height: 1;
    padding: 12px 26px; border-radius: 30px;
    border: 1px solid transparent; cursor: pointer;
    transition: opacity .2s, background .2s, color .2s;
}
.clf-btn:hover { text-decoration: none; opacity: .9; }
.clf-btn-white   { background: #fff; color: #d03438; }
.clf-btn-white:hover { color: #d03438; }
.clf-btn-outline { border-color: #fff; color: #fff; }
.clf-btn-outline:hover { background: #fff; color: #d03438; opacity: 1; }
.clf-btn-red  { background: #d03438; color: #fff; }
.clf-btn-red:hover  { color: #fff; }
.clf-btn-dark { background: #353435; color: #fff; }
.clf-btn-dark:hover { color: #fff; }

/* -------------------------------------------------------------------- hero */
.clf-hero {
    background: #d03438; color: #fff; text-align: center;
    padding: 52px 16px 44px; margin-top: 65px; /* clear the fixed site nav */
}
.clf-hero-title { font-size: 30px; line-height: 1.15; color: #fff; }
.clf-hero-sub   { max-width: 640px; margin: 12px auto 0; color: #fff; font-size: 16px; }
.clf-hero-cta   { margin-top: 22px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (min-width: 768px) { .clf-hero-title { font-size: 42px; } }

/* -------------------------------------------------------- sticky jump nav */
.clf-jump {
    position: sticky; top: 65px; z-index: 9; background: #fff;
    border-bottom: 1px solid #e5e5e5; box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.clf-jump-inner {
    display: flex; gap: 6px; overflow-x: auto; align-items: center;
    max-width: 1140px; margin: 0 auto; padding: 10px 16px;
    -webkit-overflow-scrolling: touch;   /* momentum scroll on iOS */
    scrollbar-width: none;                /* Firefox: hide bar */
    -ms-overflow-style: none;             /* old Edge/IE: hide bar */
}
.clf-jump-inner::-webkit-scrollbar { display: none; }   /* WebKit/Blink: hide bar */
.clf-jump a {
    flex: 0 0 auto; font-size: 11px; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; color: #212529; white-space: nowrap;
    padding: 7px 12px; border-radius: 20px; border: 1px solid #e5e5e5;
}
.clf-jump a:hover,
.clf-jump a.clf-on { background: #d03438; border-color: #d03438; color: #fff; text-decoration: none; }
.clf-jump a.clf-team { border-color: #353435; background: #353435; color: #fff; }
.clf-jump a.clf-team:hover { background: #d03438; border-color: #d03438; }
.clf-jump-sep { flex: 0 0 1px; height: 22px; background: #e5e5e5; margin: 0 6px; }

/* ------------------------------------------------------------ part headers */
.clf-part { background: #353435; color: #fff; text-align: center; padding: 36px 16px; }
.clf-part-eyebrow {
    display: block; font-family: 'Muli', 'Helvetica', 'Arial', sans-serif;
    font-weight: 800; font-size: 11px; letter-spacing: .14em;
    text-transform: uppercase; color: #ff8a8d;
}
.clf-part-title { font-size: 28px; margin-top: 4px; color: #fff; }
.clf-part-sub   { color: #ccc; max-width: 620px; margin: 6px auto 0; }

/* -------------------------------------------------------- category section */
.clf-cat { padding: 44px 0; border-bottom: 1px solid #e5e5e5; scroll-margin-top: 120px; }
.clf-cat.clf-alt { background: #f8f9fa; }
.clf-row {
    display: grid; grid-template-columns: 1fr; gap: 20px;
    max-width: 1140px; margin: 0 auto; padding: 0 16px;
}
@media (min-width: 992px) { .clf-row { grid-template-columns: 320px 1fr; gap: 40px; } }
.clf-num { color: #d03438; font-size: 13px; letter-spacing: .1em; font-weight: 800; }
.clf-cat-title { font-size: 24px; color: #353435; line-height: 1.2; margin: 2px 0 8px; }
.clf-cat-sub   { color: #6c757d; margin: 0; }

/* --------------------------------------------------------- feature cards */
.clf-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .clf-list { grid-template-columns: 1fr 1fr; } }
.clf-f { display: flex; gap: 12px; background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; padding: 14px; }
.clf-f-ico {
    flex: 0 0 34px; height: 34px; border-radius: 8px;
    background: #fbe9ea; color: #d03438; font-size: 16px;
    display: grid; place-items: center;
}
.clf-f-body { min-width: 0; }
.clf-f-title { display: block; color: #353435; font-size: 14.5px; font-weight: 700; }
.clf-f-sub   { display: block; font-size: 13px; color: #6c757d; margin-top: 2px; }

/* ------------------------------------------------------------- AI (dark) */
.clf-cat.clf-dark { background: #353435; color: #fff; }
.clf-cat.clf-dark .clf-cat-title { color: #fff; }
.clf-cat.clf-dark .clf-cat-sub   { color: #bbb; }
.clf-cat.clf-dark .clf-f        { background: #2f2f2f; border-color: #3d3d3d; }
.clf-cat.clf-dark .clf-f-title  { color: #fff; }
.clf-cat.clf-dark .clf-f-sub    { color: #bbb; }
.clf-cat.clf-dark .clf-f-ico    { background: rgba(208,52,56,.2); }

/* ------------------------------------------------- firms & enterprise part */
.clf-team { padding: 0; scroll-margin-top: 120px; }
.clf-seats {
    display: grid; grid-template-columns: 1fr; gap: 12px;
    max-width: 1140px; margin: 22px auto 0;
}
@media (min-width: 768px) { .clf-seats { grid-template-columns: 1fr 1fr 1fr; } }
.clf-seat { border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 16px; text-align: left; }
.clf-seat-title {
    display: block; font-family: 'Muli', 'Helvetica', 'Arial', sans-serif;
    font-weight: 800; letter-spacing: .02em; font-size: 16px; color: #fff;
}
.clf-seat-sub { display: block; margin-top: 4px; color: #ccc; font-size: 13px; }
.clf-team-cta { text-align: center; padding: 30px 16px; background: #f8f9fa; }
.clf-team-cta .clf-btn { margin: 4px; }

/* ------------------------------------------------------------ integrations */
.clf-center { max-width: 1140px; margin: 0 auto; padding: 0 16px; text-align: center; }
.clf-center-title { font-size: 26px; color: #353435; margin-bottom: 6px; }
.clf-center-sub   { color: #6c757d; margin: 0; }
.clf-logos { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.clf-logos span {
    border: 1px solid #e5e5e5; border-radius: 30px; padding: 8px 16px;
    font-weight: 800; font-size: 13px; color: #353435; background: #fff;
}
.clf-more { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: #d03438; }

/* ------------------------------------------------------------- choose path */
.clf-paths { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .clf-paths { grid-template-columns: 1fr 1fr; } }
.clf-path { border-radius: 12px; padding: 26px; color: #fff; }
.clf-path-red  { background: #d03438; }
.clf-path-dark { background: #353435; }
.clf-path-title { font-size: 22px; color: #fff; }
.clf-path-sub   { opacity: .9; margin: 6px 0 16px; font-size: 14px; color: #fff; }
.clf-path .clf-btn { margin: 0 6px 6px 0; }

/* --------------------------------------------------------------------- faq */
.clf-faq { max-width: 800px; margin: 0 auto; }
.clf-faq details { border-bottom: 1px solid #e5e5e5; padding: 14px 0; }
.clf-faq summary { position: relative; font-weight: 800; color: #353435; cursor: pointer; list-style: none; padding-right: 24px; }
.clf-faq summary::-webkit-details-marker { display: none; }
.clf-faq summary::after { content: '+'; position: absolute; right: 0; top: 0; color: #d03438; font-weight: 800; }
.clf-faq details[open] summary::after { content: '\2013'; }
.clf-faq p { color: #6c757d; margin: 6px 0 0; font-size: 14px; }
