/* FORD DIGITAL PLATFORM V2 — P3.5 GLOBAL TYPOGRAPHY SYSTEM / 0.7.88
 * One active typography contract for all templates. It replaces the enqueued
 * P3.1 Foundation, P3.2 Font Identity/Reading Comfort and P3.3/3.4 type layers.
 * Geometry remains in editorial-rhythm-p34.css. Text color remains in
 * text-color-p32.css. Neither JavaScript, vehicle media nor prices change.
 * Semantic roles: display / page / section / group / card / body / support /
 * compact-copy / actionable / eyebrow / metadata. Text scales in rem and
 * respects browser zoom; intentionally no !important except the LOCKED VD
 * heading rules that already use !important in style.css.
 */
:root {
  --ctf-font:"Source Sans 3","Segoe UI",Arial,system-ui,sans-serif;
  --ctf-type-font:var(--ctf-font);
  --ctf-type-display:clamp(3rem,2.5vw + 1rem,3.375rem);   /* 48–54 */
  --ctf-type-page:clamp(2.5rem,2vw + 1rem,3rem);         /* 40–48 */
  --ctf-type-section:clamp(2.125rem,2vw + .6rem,2.375rem); /* 34–38 */
  --ctf-type-group:1.625rem;      /* 26 */
  --ctf-type-card:1.375rem;       /* 22 */
  --ctf-type-card-sm:1.25rem;     /* 20 */
  --ctf-type-body:1.125rem;       /* 18, main copy */
  --ctf-type-body-sm:1.0625rem;   /* 17, support copy */
  --ctf-type-card-copy:1rem;      /* 16, dense cards */
  --ctf-type-control:1rem;        /* 16, primary actions */
  --ctf-type-nav:.9375rem;       /* 15 */
  --ctf-type-meta:.9375rem;      /* 15, important metadata */
  --ctf-type-eyebrow:.875rem;     /* 14 */
  --ctf-type-note:.875rem;        /* 14, safe lower bound */
  --ctf-type-price:1.5rem;       /* 24 */
  --ctf-lh-display:1.13;
  --ctf-lh-page:1.16;
  --ctf-lh-section:1.20;
  --ctf-lh-group:1.27;
  --ctf-lh-card:1.32;
  --ctf-lh-body:1.58;
  --ctf-lh-ui:1.42;
  --ctf-track-display:-.016em;
  --ctf-track-heading:-.008em;
  --ctf-track-card:0;
}
body { font-family:var(--ctf-type-font);font-size:var(--ctf-type-body);line-height:var(--ctf-lh-body);font-weight:400;font-optical-sizing:auto; }
body :is(button,input,select,textarea) {font-family:inherit;}
body p {font-weight:400;letter-spacing:0;}
body :is(.ctf-subtitle,.ctf-campaign-summary,.ctf-campaign-description) {font-weight:400;letter-spacing:0;}
/* Shared typography: place selectors in role groups, not page-by-page patches. */
body :is(.ctf-title,.ctf-campaign-title) {font-size:var(--ctf-type-display);font-weight:600;letter-spacing:var(--ctf-track-display);line-height:var(--ctf-lh-display);}
body :is(.ctf-section-title,.ctf-content-intro .ctf-section-title) {font-size:var(--ctf-type-section);font-weight:600;letter-spacing:var(--ctf-track-heading);line-height:var(--ctf-lh-section);}
body :is(.ctf-kicker,.ctf-campaign-eyebrow,.ctf-promo-source) {font-size:var(--ctf-type-eyebrow);line-height:1.45;font-weight:600;letter-spacing:.065em;}
body .ctf-subtitle {font-size:var(--ctf-type-body);line-height:var(--ctf-lh-body);}
body :is(.ctf-btn,.ctf-pill,.ctf-filter-pills button) {font-size:var(--ctf-type-control);line-height:var(--ctf-lh-ui);letter-spacing:0;font-weight:500;}
body :is(.ctf-card-link,.ctf-inline-link) {font-size:var(--ctf-type-nav);line-height:var(--ctf-lh-ui);font-weight:500;letter-spacing:0;}
body .ctf-site-header :is(.ctf-nav,.ctf-nav > a,.ctf-nav-vehicles-toggle,.ctf-nav-vehicles a) {font-size:var(--ctf-type-nav);line-height:1.4;letter-spacing:0;font-weight:500;}
body .ctf-vehicle-mega__head strong {font-size:var(--ctf-type-body-sm);font-weight:600;}
body .ctf-vehicle-mega__detail {font-size:var(--ctf-type-note);line-height:1.45;}
body :is(.ctf-footer p,.ctf-footer a) {font-size:var(--ctf-type-nav);line-height:1.55;letter-spacing:0;font-weight:400;}
body .ctf-footer h4 {font-size:var(--ctf-type-eyebrow);line-height:1.45;font-weight:600;}

/* Persistent contact launcher and direct service CTAs: same legibility contract. */
body .ctf-contact-widget .ctf-contact-fab {font-size:var(--ctf-type-nav);font-weight:600;line-height:1.4;}
body .ctf-contact-widget .ctf-contact-quick-copy span {font-size:var(--ctf-type-eyebrow);font-weight:400;line-height:1.45;}
body .ctf-contact-widget .ctf-contact-quick-copy strong {font-size:var(--ctf-type-card-copy);font-weight:600;line-height:1.42;}
body .ctf-service-v2 :is(.ctf-sv-insurance-actions .ctf-btn,.ctf-sv-care-cta .ctf-btn) {font-size:var(--ctf-type-control);font-weight:500;line-height:var(--ctf-lh-ui);}

/* HOME: Hero and section hierarchy, rail cards, offers, service, about, news. */
body.home .ctf-campaign-title {font-size:var(--ctf-type-display);font-weight:600;max-width:890px;}
body.home :is(.ctf-campaign-eyebrow,.ctf-kicker) {font-size:var(--ctf-type-eyebrow);line-height:1.45;letter-spacing:.065em;font-weight:600;}
body.home .ctf-campaign-actions .ctf-btn {font-size:var(--ctf-type-control);line-height:var(--ctf-lh-ui);font-weight:500;}
body.home :is(.ctf-section-title,.ctf-section--products .ctf-section-title) {font-size:var(--ctf-type-section);line-height:var(--ctf-lh-section);letter-spacing:var(--ctf-track-heading);font-weight:600;}
body.home :is(.ctf-campaign-summary,.ctf-campaign-description,.ctf-campaign-copy p,.ctf-section-head .ctf-subtitle,.ctf-about-copy .ctf-subtitle) {
  font-size:var(--ctf-type-body);line-height:1.56;font-weight:400;letter-spacing:0;max-width:68ch;
}
body.home .ctf-section--products .ctf-vehicle-card__eyebrow {font-size:var(--ctf-type-eyebrow);line-height:1.42;letter-spacing:.035em;font-weight:600;}
body.home .ctf-section--products .ctf-vehicle-card h3 {font-size:var(--ctf-type-card);line-height:var(--ctf-lh-card);letter-spacing:0;font-weight:600;margin:9px 0 7px;min-height:0;}
body.home .ctf-section--products .ctf-vehicle-card p {font-size:var(--ctf-type-card-copy);line-height:1.55;font-weight:400;letter-spacing:0;min-height:3em;}
body.home .ctf-section--products .ctf-vehicle-price span {font-size:var(--ctf-type-eyebrow);font-weight:400;}
body.home .ctf-section--products .ctf-vehicle-price strong {font-size:var(--ctf-type-price);line-height:1.23;letter-spacing:-.01em;font-weight:700;}
body.home .ctf-section--products .ctf-filter-pills button {font-size:var(--ctf-type-control);}
body.home .ctf-section--products .ctf-card-link {font-size:var(--ctf-type-nav);font-weight:500;letter-spacing:0;}
body.home .ctf-home-promo-v2 .ctf-promo-card h3 {font-size:var(--ctf-type-group);line-height:var(--ctf-lh-group);letter-spacing:var(--ctf-track-heading);font-weight:600;margin:10px 0;}
body.home .ctf-home-promo-v2 .ctf-promo-card p {font-size:var(--ctf-type-body-sm);line-height:1.55;font-weight:400;letter-spacing:0;}
body.home #services .ctf-info-card h3 {font-size:var(--ctf-type-card);line-height:var(--ctf-lh-card);letter-spacing:0;font-weight:600;margin-bottom:6px;}
body.home #services .ctf-info-card p {font-size:var(--ctf-type-body-sm);line-height:1.53;font-weight:400;letter-spacing:0;}
body.home #services :is(.ctf-service-hotline,.ctf-info-card .ctf-inline-link,.ctf-service-view-all) {font-size:var(--ctf-type-nav);line-height:1.45;font-weight:500;letter-spacing:0;}
body.home #about .ctf-stat strong {font-size:1.5rem;line-height:1.25;letter-spacing:0;font-weight:600;}
body.home #about .ctf-stat span {font-size:var(--ctf-type-body-sm);line-height:1.45;font-weight:400;}
body.home .ctf-home-accessory-body h3,body.home #news .ctf-news-body h3 {font-size:var(--ctf-type-card);line-height:var(--ctf-lh-card);font-weight:600;letter-spacing:0;}
body.home :is(.ctf-home-accessory-body p,#news .ctf-news-body p) {font-size:var(--ctf-type-card-copy);line-height:1.55;font-weight:400;}
body.home .ctf-home-accessory-body small,body.home #news .ctf-news-body time {font-size:var(--ctf-type-eyebrow);line-height:1.4;font-weight:600;}

/* CORPORATE: services gateway, about, promotions, accessories and contact. */
body .ctf-corporate-page .ctf-page-hero h1 {font-size:var(--ctf-type-page);line-height:var(--ctf-lh-page);font-weight:600;letter-spacing:var(--ctf-track-display);}
body .ctf-corporate-page :is(.ctf-page-hero p,.ctf-content-intro>p,.ctf-content-split .ctf-subtitle) {font-size:var(--ctf-type-body);line-height:var(--ctf-lh-body);font-weight:400;}
body .ctf-corporate-page :is(.ctf-content-card h3,.ctf-accessory-product-v2__body h3,.ctf-accessory-product h3,.ctf-fitment-card__body h3,.ctf-media-ready__copy h3) {font-size:var(--ctf-type-card);line-height:var(--ctf-lh-card);letter-spacing:0;font-weight:600;}
body .ctf-corporate-page :is(.ctf-content-card p,.ctf-accessory-product-v2__body p,.ctf-accessory-product p,.ctf-fitment-card__body p,.ctf-media-ready__copy p) {font-size:var(--ctf-type-body-sm);line-height:1.55;font-weight:400;}
body .ctf-corporate-page :is(.ctf-accessory-zone-head h2,.ctf-accessory-group-head h2) {font-size:var(--ctf-type-section);line-height:var(--ctf-lh-section);font-weight:600;letter-spacing:var(--ctf-track-heading);}
body .ctf-corporate-page :is(.ctf-accessory-zone-head p,.ctf-accessory-group-head p) {font-size:var(--ctf-type-body);line-height:1.56;font-weight:400;}

/* Additional corporate routes: upgrade cards, about, offers and contact. */
body .ctf-corporate-page .ctf-accessory-manifesto h2 {font-size:var(--ctf-type-section);line-height:var(--ctf-lh-section);font-weight:600;letter-spacing:var(--ctf-track-heading);}
body .ctf-corporate-page .ctf-accessory-nav :is(strong,small) {line-height:1.45;letter-spacing:0;}
body .ctf-corporate-page .ctf-accessory-nav strong {font-size:var(--ctf-type-body-sm);font-weight:600;}
body .ctf-corporate-page .ctf-accessory-nav small {font-size:var(--ctf-type-note);font-weight:400;}
body .ctf-corporate-page :is(.ctf-upgrade-card-v2__content h3,.ctf-promo-detail h2,.ctf-contact-grid h2) {font-size:var(--ctf-type-group);line-height:var(--ctf-lh-group);font-weight:600;letter-spacing:0;}
body .ctf-corporate-page :is(.ctf-promo-detail p,.ctf-contact-grid p,.ctf-about-points span) {font-size:var(--ctf-type-body-sm);line-height:1.55;font-weight:400;}
body .ctf-corporate-page .ctf-about-points strong {font-size:var(--ctf-type-body);line-height:1.4;font-weight:600;}
body .ctf-corporate-page :is(.ctf-fitment-filter button,.ctf-accessory-product-v2__foot a,.ctf-upgrade-card-v2__foot a) {font-size:var(--ctf-type-nav);line-height:1.42;font-weight:500;}
body .ctf-corporate-page .ctf-accessory-product-v2__foot strong {font-size:var(--ctf-type-body-sm);line-height:1.42;font-weight:700;}
body .ctf-corporate-page .ctf-content-note {font-size:var(--ctf-type-note)!important;line-height:1.55;font-weight:400;}

/* SERVICE: consistent chapter H2 and context-specific H3; preserve full-page layout. */
body .ctf-service-v2 .ctf-sv-hero h1 {font-size:var(--ctf-type-display);line-height:var(--ctf-lh-display);font-weight:600;letter-spacing:var(--ctf-track-display);}
body .ctf-service-v2 :is(.ctf-sv-heading h2,.ctf-sv-maintenance-copy h2,.ctf-sv-parts-layout h2,.ctf-sv-insurance-copy h2,.ctf-sv-roadside h2,.ctf-sv-final h2) {font-size:var(--ctf-type-section);line-height:var(--ctf-lh-section);font-weight:600;letter-spacing:var(--ctf-track-heading);}
body .ctf-service-v2 :is(.ctf-sv-hero-copy>p,.ctf-sv-heading p,.ctf-sv-maintenance-copy>p,.ctf-sv-insurance-copy>p,.ctf-sv-roadside p,.ctf-sv-final p) {font-size:var(--ctf-type-body);line-height:var(--ctf-lh-body);font-weight:400;}
body .ctf-service-v2 :is(.ctf-sv-warranty-card h3,.ctf-sv-promo-empty-copy h3) {font-size:var(--ctf-type-group);line-height:var(--ctf-lh-group);font-weight:600;letter-spacing:0;}
body .ctf-service-v2 :is(.ctf-sv-care-body h3,.ctf-sv-dialog-content h3) {font-size:var(--ctf-type-card-sm);line-height:var(--ctf-lh-card);font-weight:600;}
body .ctf-service-v2 :is(.ctf-sv-care-body p,.ctf-sv-warranty-card p,.ctf-sv-promo-empty-copy p,.ctf-sv-dialog-content p) {font-size:var(--ctf-type-card-copy);line-height:1.58;font-weight:400;}
body .ctf-service-v2 :is(.ctf-sv-benefits strong,.ctf-sv-insurance-types strong) {font-size:var(--ctf-type-card-copy);line-height:1.45;font-weight:600;}
body .ctf-service-v2 :is(.ctf-sv-benefits small,.ctf-sv-insurance-types span,.ctf-sv-disclaimer,.ctf-sv-promo-caption span) {font-size:var(--ctf-type-note);line-height:1.55;}
body .ctf-service-v2 :is(.ctf-sv-nav-link,.ctf-sv-nav-book,.ctf-sv-nav-title,.ctf-sv-hero-phone,.ctf-sv-hero-phone strong) {font-size:var(--ctf-type-nav);line-height:1.4;}
body .ctf-service-v2 .ctf-sv-hero-phone strong {font-weight:600;}
body .ctf-service-v2 .ctf-sv-actions .ctf-btn {font-size:var(--ctf-type-control);line-height:var(--ctf-lh-ui);}
body .ctf-service-v2 :is(.ctf-sv-status,.ctf-sv-care-count,.ctf-sv-card-no,.ctf-sv-partners-head) {font-size:var(--ctf-type-eyebrow);line-height:1.42;}

/* FINANCE: inputs, units, notices and table amounts must be legible. */
body .ctf-buy-page .ctf-buy-intro h1 {font-size:var(--ctf-type-page);line-height:var(--ctf-lh-page);letter-spacing:var(--ctf-track-display);font-weight:600;}
body .ctf-buy-page .ctf-buy-intro p {font-size:var(--ctf-type-body);line-height:var(--ctf-lh-body);font-weight:400;}
body .ctf-buy-page :is(.ctf-buy-section-head h2,.ctf-buy-section-head h3,.ctf-buy-results__heading h2) {font-size:var(--ctf-type-group);line-height:var(--ctf-lh-group);letter-spacing:var(--ctf-track-heading);font-weight:600;}
body .ctf-buy-page :is(.ctf-buy-section-head p,.ctf-buy-subheading>span) {font-size:var(--ctf-type-body-sm);line-height:1.56;font-weight:400;}
body .ctf-buy-page .ctf-buy-fields label {font-size:var(--ctf-type-nav);line-height:1.5;font-weight:600;}
body .ctf-buy-page .ctf-buy-fields :is(input,select,textarea) {font-size:var(--ctf-type-body-sm);line-height:1.5;font-weight:400;}
body .ctf-buy-page :is(.ctf-buy-breakdown>div,.ctf-buy-option__check strong,.ctf-buy-mode label,.ctf-buy-table-wrap table) {font-size:var(--ctf-type-nav);line-height:1.55;}
body .ctf-buy-page :is(.ctf-buy-fields label small,.ctf-buy-option__check small,.ctf-buy-note,.ctf-buy-disclaimer,.ctf-buy-source,.ctf-buy-reference,.ctf-buy-extras__help) {font-size:var(--ctf-type-note);line-height:1.58;font-weight:400;}
body .ctf-buy-page :is(.ctf-buy-section-head>span,.ctf-buy-results__heading>span) {font-size:var(--ctf-type-eyebrow);line-height:1.4;font-weight:600;}

/* VEHICLE DETAIL: bridge the locked editorial VD !important rules via tokens.
 * Avoid changing photo positioning, stage layout, variant control geometry,
 * specs table columns or component padding. Preserve dark-section colors. */
body .ctf-detail-page[data-detail-presentation="editorial-v2"] {
  --vd-type-h1:var(--ctf-type-page);
  --vd-type-h2:var(--ctf-type-section);
  --vd-type-h3:var(--ctf-type-group);
  --vd-type-card:var(--ctf-type-card);
  --vd-type-body-lg:var(--ctf-type-body);
  --vd-type-body:var(--ctf-type-body-sm);
  --vd-type-meta:var(--ctf-type-note);
  --vd-type-eyebrow:var(--ctf-type-eyebrow);
  --vd-type-support:var(--ctf-type-body-sm);
  --vd-type-decision-meta:var(--ctf-type-note);
  --vd-type-micro:var(--ctf-type-note);
  --vd-leading-heading:var(--ctf-lh-group);
  --vd-leading-body:var(--ctf-lh-body);
  --vd-space-title-body:12px;
}
body .ctf-detail-page :is(.ctf-golden-config h1,.ctf-golden-overview-head h2,.ctf-golden-section-head h2,.ctf-golden-story-copy h3) {font-weight:600;letter-spacing:var(--ctf-track-heading);}
body .ctf-detail-page :is(.ctf-golden-overview-head>p,.ctf-golden-section-head>p,.ctf-golden-story-copy p) {font-size:var(--ctf-type-body-sm);line-height:1.58;font-weight:400;letter-spacing:0;}
body .ctf-detail-page :is(.ctf-golden-variant span,.ctf-golden-facts span,.ctf-golden-source-note,.ctf-accessory-gateway-copy small,.ctf-compare-table td) {font-size:var(--ctf-type-note);line-height:1.5;}
body .ctf-detail-page .ctf-golden-hotline {font-size:var(--ctf-type-nav);}
body .ctf-detail-page.ctf-detail-page.ctf-detail-page[data-detail-presentation="editorial-v2"] .ctf-golden-tagline {font-size:var(--ctf-type-body-sm)!important;line-height:1.5;font-weight:400;}
body .ctf-detail-page :is(.ctf-compare-table th,.ctf-compare-table td) {font-size:var(--ctf-type-nav);line-height:1.45;}
/* Existing vehicle-detail overrides use important; only weights are unlocked,
 * not media/layout — scope matches their original editorial contract. */
body .ctf-detail-page.ctf-detail-page.ctf-detail-page[data-detail-presentation="editorial-v2"] :is(.ctf-golden-config h1,.ctf-golden-section-head h2,.ctf-golden-overview-head h2,.ctf-golden-story-copy h3,.ctf-kicker) {font-weight:600!important;}

/* NEWS, ARTICLES, PAGES: protect readable long-form and link context. */
body :is(.ctf-news-archive-hero h1,.ctf-news-archive .ctf-section-title) {font-size:var(--ctf-type-page);line-height:var(--ctf-lh-page);font-weight:600;letter-spacing:var(--ctf-track-heading);}
body .ctf-news-archive-body h2 {font-size:var(--ctf-type-card);line-height:var(--ctf-lh-card);font-weight:600;letter-spacing:0;}
body .ctf-news-archive-body p {font-size:var(--ctf-type-card-copy);line-height:1.56;font-weight:400;}
body :is(.ctf-single-content,.ctf-article-content,.entry-content) p {font-size:var(--ctf-type-body);line-height:1.65;font-weight:400;max-width:75ch;}
body :is(.ctf-single-content,.ctf-article-content,.entry-content) :is(h2,h3) {font-size:var(--ctf-type-group);line-height:var(--ctf-lh-group);letter-spacing:0;font-weight:600;}

@media (min-width:761px) and (max-width:1024px) {
  :root { --ctf-type-display:clamp(2.875rem,4.5vw,3.25rem); }
}
@media (max-width:760px) {
  :root {
    --ctf-type-display:clamp(2.25rem,7vw,2.625rem); /* 36–42 */
    --ctf-type-page:2.25rem;        /* 36 */
    --ctf-type-section:clamp(1.875rem,5.6vw,2rem); /* 30–32 */
    --ctf-type-group:1.5rem;       /* 24 */
    --ctf-type-card:1.25rem;       /* 20 */
    --ctf-type-card-sm:1.25rem;
    --ctf-type-body:1.0625rem;     /* 17 */
    --ctf-type-body-sm:1rem;       /* 16 */
    --ctf-type-card-copy:1rem;
    --ctf-type-control:.9375rem;   /* 15 */
    --ctf-type-nav:.9375rem;
    --ctf-type-meta:.875rem;       /* 14 */
    --ctf-type-eyebrow:.8125rem;    /* 13 */
    --ctf-type-note:.875rem;       /* 14 */
    --ctf-type-price:1.375rem;     /* 22 */
  }
  body.home .ctf-campaign-title{font-size:var(--ctf-type-display);}
  body.home .ctf-section--products .ctf-vehicle-card p{font-size:var(--ctf-type-card-copy);}
  body.home .ctf-home-promo-v2 .ctf-promo-card h3{font-size:var(--ctf-type-group);}
  body .ctf-service-v2 .ctf-sv-actions .ctf-btn{font-size:var(--ctf-type-control);}
  body .ctf-buy-page .ctf-buy-fields :is(input,select,textarea){font-size:1rem;}
  body .ctf-detail-page :is(.ctf-golden-overview-head>p,.ctf-golden-section-head>p,.ctf-golden-story-copy p){font-size:var(--ctf-type-body-sm);}
}
@media(max-width:400px) {
  body.home .ctf-campaign-title{font-size:2.25rem;}
  body.home .ctf-campaign-actions .ctf-btn{font-size:var(--ctf-type-control);}
}
