/* Cars.com Help Center – Package Landing. Values taken from the approved wireframe; all rules scoped under .cpl. */
.cpl{
  --nitro-purple:#331953; --deep-purple:#482077; --cars-purple:#65299D; --power-purple:#9754E6;
  --great-teal:#03A0AB; --sky-blue:#1B82EE; --brand-black:#141817;
  --purple-60:#9653E5; --purple-80:#65299D; --sky-60:#1B82EE;
  --ink:#1D1729; --muted:#6E6580; --paper:#FFFFFF; --wash:#FAF8FD; --line:#EBE3F6;
  --gradient-cars:linear-gradient(135deg,var(--purple-60) 0%,var(--sky-60) 100%);
  --radius-pill:999px; --radius-card:14px;
  --shadow-sm:0 1px 2px rgba(51,25,83,0.06); --shadow-md:0 6px 20px -6px rgba(51,25,83,0.18);
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:24px; --space-6:32px; --space-7:48px; --space-8:64px;

  --cpl-font-body:var(--fuse-font-family-body,'Apercu Pro','Figtree',-apple-system,sans-serif);
  --cpl-font-head:var(--fuse-font-family-heading-1,'DM Sans','Helvetica Neue',Helvetica,Arial,sans-serif);

  box-sizing:border-box;
  max-width:var(--cpl-max-width,1140px); margin:0 auto; padding:0 var(--space-5) var(--space-8);
  font-family:var(--cpl-font-body); font-weight:400; line-height:1.55;
  color:var(--ink); -webkit-font-smoothing:antialiased;
}
.cpl *,.cpl *::before,.cpl *::after{ box-sizing:border-box; }
.cpl h1,.cpl h2,.cpl h3{ font-family:var(--cpl-font-body); margin:0; padding:0; letter-spacing:-0.01em; color:var(--nitro-purple); text-transform:none; }

/* Hero */
.cpl-hero{ padding:var(--space-5) 0 var(--space-4); }
.cpl .cpl-eyebrow{
  display:inline-block; font-family:var(--cpl-font-head); font-weight:400; font-size:calc(13px * var(--cpl-scale,1.15));
  letter-spacing:0.04em; text-transform:uppercase; color:#fff; background:var(--gradient-cars);
  padding:6px 16px; border-radius:var(--radius-pill); margin-bottom:var(--space-3);
}
.cpl .cpl-title{
  font-family:var(--cpl-font-head); font-size:calc(40px * var(--cpl-scale,1.15)); font-weight:700; letter-spacing:-0.03em;
  line-height:1.1; max-width:none; color:var(--brand-black);
}
.cpl .cpl-lede{ max-width:52ch; color:var(--muted); font-size:calc(16.5px * var(--cpl-scale,1.15)); margin:var(--space-3) 0 0; line-height:1.6; }

/* Filters */
.cpl-tier-section{ padding-top:var(--space-2); }
.cpl-filter-label{ font-family:var(--cpl-font-body); font-size:calc(13.5px * var(--cpl-scale,1.15)); font-weight:700; color:var(--ink); margin-bottom:var(--space-3); }
.cpl-pills{ display:flex; flex-wrap:wrap; gap:var(--space-2); }
.cpl fuse-button.cpl-pill:not(:defined){
  display:inline-block; font-family:var(--cpl-font-body); font-weight:700; font-size:calc(14.5px * var(--cpl-scale,1.15)); line-height:1.4;
  padding:12px 26px; border-radius:var(--radius-pill); border:none; margin:0;
  background:var(--purple-60); color:#fff; cursor:pointer; box-shadow:var(--shadow-sm);
  transition:background .15s ease,transform .15s ease,box-shadow .15s ease;
}
.cpl fuse-button.cpl-pill:not(:defined):hover{ background:var(--deep-purple); transform:translateY(-1px); }
.cpl fuse-button.cpl-pill.active:not(:defined){ background:var(--deep-purple); box-shadow:var(--shadow-md); transform:translateY(-1px); }
.cpl .cpl-count{ font-size:.8em; font-weight:700; opacity:1; margin-left:.45em; letter-spacing:0; font-variant-numeric:tabular-nums; }

.cpl-topics{ margin-top:var(--space-4); display:flex; flex-wrap:wrap; gap:var(--space-2); }
.cpl fuse-filter.cpl-chip:not(:defined){
  display:inline-block; font-family:var(--cpl-font-body); font-size:calc(13px * var(--cpl-scale,1.15)); font-weight:600; line-height:1.4; margin:0;
  padding:7px 16px; border-radius:var(--radius-pill); border:1px solid var(--line);
  background:var(--paper); color:var(--muted); cursor:pointer; transition:all .15s ease;
}
.cpl fuse-filter.cpl-chip:not(:defined):hover{ border-color:var(--deep-purple); color:var(--deep-purple); background:var(--paper); }
.cpl fuse-filter.cpl-chip.active:not(:defined){ border-color:var(--deep-purple); color:#fff; background:var(--deep-purple); }
.cpl .cpl-pill:focus-visible,.cpl .cpl-chip:focus-visible,.cpl .cpl-item-link:focus-visible,.cpl .cpl-results-meta a:focus-visible{ outline:2px solid var(--sky-blue); outline-offset:2px; }

/* Results meta */
.cpl-results-meta{
  margin-top:20px; font-size:calc(13.5px * var(--cpl-scale,1.15)); color:var(--muted);
  display:flex; justify-content:space-between; align-items:baseline; gap:var(--space-4);
  border-bottom:1px solid var(--line); padding-bottom:var(--space-3);
}
.cpl .cpl-results-meta a{ color:var(--purple-80); text-decoration:none; font-weight:700; white-space:nowrap; }
.cpl .cpl-results-meta a:hover{ text-decoration:underline; }
.cpl fuse-button#cplViewAll:not(:defined){ color:var(--purple-80); font-weight:700; text-decoration:underline; cursor:pointer; white-space:nowrap; }

/* Priority / tier groups */
.cpl-group + .cpl-group{ margin-top:var(--space-2); }
.cpl-group-header{ display:flex; align-items:baseline; gap:var(--space-3); padding:var(--space-4) var(--space-1) var(--space-2); }
.cpl-swatch{ width:8px; height:8px; border-radius:2px; flex:none; transform:translateY(-1px); }
.cpl .cpl-group-header h2{ font-size:calc(15.5px * var(--cpl-scale,1.15)); font-weight:800; letter-spacing:0; }
.cpl-group-sub{ font-size:calc(12.5px * var(--cpl-scale,1.15)); color:var(--muted); }
.cpl-group-header.start-here .cpl-swatch{ background:var(--power-purple); }
.cpl .cpl-group-header.start-here h2{ color:var(--power-purple); }
.cpl-group-header.next-steps .cpl-swatch{ background:var(--cars-purple); }
.cpl .cpl-group-header.next-steps h2{ color:var(--cars-purple); }
.cpl-group-header.advanced .cpl-swatch{ background:var(--deep-purple); }
.cpl .cpl-group-header.advanced h2{ color:var(--deep-purple); }
.cpl-group-header.tier-starter .cpl-swatch{ background:var(--power-purple); }
.cpl .cpl-group-header.tier-starter h2{ color:var(--power-purple); }
.cpl-group-header.tier-base .cpl-swatch{ background:var(--cars-purple); }
.cpl .cpl-group-header.tier-base h2{ color:var(--cars-purple); }
.cpl-group-header.tier-premium .cpl-swatch{ background:var(--deep-purple); }
.cpl .cpl-group-header.tier-premium h2{ color:var(--deep-purple); }
.cpl-group-header.tier-premium-plus .cpl-swatch{ background:var(--nitro-purple); }
.cpl .cpl-group-header.tier-premium-plus h2{ color:var(--nitro-purple); }

/* Article rows */
.cpl-item{
  display:flex; gap:var(--space-4); padding:var(--space-4) var(--space-2) var(--space-4) var(--space-4);
  border-bottom:1px solid var(--line); border-left:3px solid transparent;
  border-radius:0 var(--radius-card) var(--radius-card) 0; transition:background .15s ease;
}
.cpl-item:hover{ background:var(--wash); }
.cpl-item.tier-starter{ border-left-color:var(--power-purple); }
.cpl-item.tier-base{ border-left-color:var(--cars-purple); }
.cpl-item.tier-premium{ border-left-color:var(--deep-purple); }
.cpl-item.tier-premium-plus{ border-left-color:var(--nitro-purple); }
.cpl-item-body{ flex:1; min-width:0; }
.cpl-item-top{ display:flex; align-items:center; gap:var(--space-2); flex-wrap:wrap; margin-bottom:var(--space-1); }
.cpl-tier-tag{
  font-family:var(--cpl-font-body); font-size:calc(10.5px * var(--cpl-scale,1.15)); font-weight:800; text-transform:uppercase;
  letter-spacing:0.04em; padding:3px 9px; border-radius:5px; color:#fff;
}
.cpl-tier-tag.tier-starter{ background:var(--power-purple); }
.cpl-tier-tag.tier-base{ background:var(--cars-purple); }
.cpl-tier-tag.tier-premium{ background:var(--deep-purple); }
.cpl-tier-tag.tier-premium-plus{ background:var(--nitro-purple); }
.cpl-item-topic{ font-size:calc(12px * var(--cpl-scale,1.15)); font-weight:600; color:var(--muted); }
.cpl .cpl-item h3{ font-size:calc(16.5px * var(--cpl-scale,1.15)); font-weight:700; letter-spacing:0; color:var(--ink); margin-top:2px; }
.cpl .cpl-item-link{ align-self:center; font-size:calc(13px * var(--cpl-scale,1.15)); font-weight:700; color:var(--purple-80); text-decoration:none; white-space:nowrap; }
.cpl .cpl-item-link:hover{ text-decoration:underline; }

.cpl-empty{ padding:var(--space-7) 0; text-align:center; color:var(--muted); font-size:calc(14px * var(--cpl-scale,1.15)); }

/* Editors-only notice (tagging problems) */
.cpl-admin-notice{ margin-top:var(--space-6); padding:var(--space-4); border:1px dashed #D1495B; border-radius:var(--radius-card); font-size:calc(13px * var(--cpl-scale,1.15)); color:var(--ink); background:var(--wash); }
.cpl-admin-notice ul{ margin:var(--space-2) 0 0 var(--space-5); padding:0; }

@media (max-width:600px){
  .cpl{ padding:0 var(--space-4) var(--space-7); }
  .cpl-hero{ padding:var(--space-4) 0 var(--space-3); }
  .cpl .cpl-title{ font-size:calc(30px * var(--cpl-scale,1.15)); }
  .cpl .cpl-lede{ font-size:calc(15px * var(--cpl-scale,1.15)); }
  .cpl-item{ flex-direction:column; gap:var(--space-2); }
  .cpl .cpl-item-link{ align-self:flex-start; }
  .cpl fuse-button.cpl-pill:not(:defined){ padding:10px 20px; font-size:calc(13.5px * var(--cpl-scale,1.15)); }
}

/* The theme and Fuse style h1/h2/h3 globally. Pin ours (ID specificity + !important) so the wireframe's sizes hold.
   Headings use the Fuse heading font (DM Sans). Tier colours on h2 are set above and are not overridden. */
#cpl-root .cpl-title{ font-family:var(--cpl-font-head) !important; font-size:calc(40px * var(--cpl-scale,1.15)) !important; font-weight:700 !important; letter-spacing:-0.03em !important; line-height:1.1 !important; margin:0 !important; color:var(--brand-black) !important; }
#cpl-root .cpl-group-header h2{ font-family:var(--cpl-font-head) !important; font-size:calc(15.5px * var(--cpl-scale,1.15)) !important; font-weight:800 !important; letter-spacing:0 !important; line-height:1.3 !important; margin:0 !important; }
#cpl-root .cpl-item h3{ font-family:var(--cpl-font-head) !important; font-size:calc(16.5px * var(--cpl-scale,1.15)) !important; font-weight:700 !important; letter-spacing:0 !important; line-height:1.3 !important; margin:2px 0 0 !important; color:var(--ink) !important; }
@media (max-width:600px){ #cpl-root .cpl-title{ font-size:calc(30px * var(--cpl-scale,1.15)) !important; } }

/* The theme sets html{font-size:62.5%}; Fuse sizes in rem, so its components render at ~62% of designed size.
   Compensate (only when Fuse is actually loaded). Tune via the shortcode's fuse_scale attribute. */
.cpl fuse-button:defined{ zoom:var(--cpl-fuse-zoom,1.6); }
.cpl fuse-filter:defined{ zoom:var(--cpl-chip-zoom,1.8); }
