/* codecex footer palette and responsive design */
.cm1750-footer{background:var(--cm-footer-bg,#111827)!important;color:var(--cm-footer-text,#cbd5e1)!important;padding:64px 0 24px;margin-top:60px;}
.cm1750-footer .cm105-footer-grid{display:grid;grid-template-columns:minmax(215px,1.65fr) repeat(4,minmax(130px,1fr));gap:36px;align-items:start}
.cm1750-footer h2,.cm1750-footer h3,.cm1750-footer .cm139-resources h3{color:var(--cm-footer-heading,#fff)!important;letter-spacing:-.02em}
.cm1750-footer h2{font-size:26px;line-height:1.2}
.cm1750-footer h3{font-size:14px;letter-spacing:.025em;text-transform:uppercase}
.cm1750-footer p,.cm1750-footer a,.cm1750-footer small,.cm1750-footer .cm1749-community-stats,.cm1750-footer .cm105-footer-bottom{color:var(--cm-footer-text,#cbd5e1)!important}
.cm1750-footer a{line-height:1.65;opacity:.88;transition:opacity .18s,transform .18s}
.cm1750-footer a:hover{opacity:1;transform:translateX(2px);text-decoration:underline}
.cm1750-footer .cm1750-stats{margin-top:42px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:23px 0;border-top:1px solid currentColor;border-bottom:1px solid currentColor;border-color:color-mix(in srgb,var(--cm-footer-text) 23%,transparent)}
.cm1750-footer .cm1750-stat{border:1px solid color-mix(in srgb,var(--cm-footer-text) 28%,transparent);border-radius:14px;padding:24px;background:color-mix(in srgb,var(--cm-footer-text) 7%,transparent);min-width:0}
.cm1750-footer .cm1750-stat strong{display:block;color:var(--cm-footer-heading)!important;font-size:clamp(23px,2.5vw,34px);line-height:1.15;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin-bottom:8px}
.cm1750-footer .cm105-footer-bottom{border-top:0;margin-top:14px;font-size:12px}
.cm1750-footer .cm139-help-button{background:var(--cm-footer-heading)!important;color:var(--cm-footer-bg)!important}
.cm1750-color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:12px 0 24px}
.cm1750-color-field{display:flex;align-items:center;gap:10px}.cm1750-color-field input[type=color]{width:52px;height:42px;min-width:52px;padding:3px;cursor:pointer}.cm1750-color-field input:not([type=color]){min-width:0;flex:1}
@media(max-width:1100px){.cm1750-footer .cm105-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.cm1750-footer .cm105-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.cm1750-color-grid{grid-template-columns:1fr}}
@media(max-width:480px){.cm1750-footer .cm105-footer-grid{grid-template-columns:1fr}.cm1750-footer .cm1750-stats{grid-template-columns:1fr}.cm1750-footer{padding-top:42px}}

/* v1.17.61 - flat editorial footer */
.cm1750-footer{box-shadow:none!important;padding-top:0!important}
.cm1761-footer-intro{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:52px 0 38px;border-bottom:1px solid color-mix(in srgb,var(--cm-footer-text) 22%,transparent);margin-bottom:40px}
.cm1761-brand{display:flex;align-items:flex-start;gap:18px;max-width:680px}.cm1761-brand-icon{width:58px;height:58px;flex:none;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--cm-footer-heading) 35%,transparent);border-radius:17px;color:var(--cm-footer-heading);font-size:31px}
.cm1761-brand h2{margin:0 0 8px;color:var(--cm-footer-heading)!important;font-size:clamp(26px,3vw,36px)}.cm1761-brand p{max-width:480px;margin:0;line-height:1.7}
.cm1750-footer .cm1761-footer-explore{display:inline-flex;align-items:center;gap:16px;padding:14px 20px;border-radius:12px;border:1px solid color-mix(in srgb,var(--cm-footer-text) 35%,transparent);font-weight:700;text-decoration:none;white-space:nowrap;box-shadow:none!important}
.cm1750-footer .cm105-footer-grid{gap:26px 34px!important}.cm1750-footer .cm105-footer-grid h3{margin-bottom:19px}.cm1750-footer .cm1750-stats{margin-top:48px}.cm1750-footer .cm1750-stat{box-shadow:none!important;border-radius:12px}
@media(max-width:700px){.cm1761-footer-intro{flex-direction:column;align-items:stretch;padding:38px 0 28px}.cm1761-brand{gap:12px}.cm1761-brand-icon{width:46px;height:46px}.cm1750-footer .cm1761-footer-explore{justify-content:center}}

/* v1.17.63 compact, right-aligned real marketplace stats; no box shadows */
.cm1750-footer .cm105-footer-grid{grid-template-columns:minmax(195px,1.55fr) repeat(4,minmax(112px,1fr))!important;gap:26px 24px!important}
.cm1750-footer .cm1763-footer-stats{grid-column:4 / -1;justify-self:stretch;align-self:start;margin:0!important;padding:0!important;border:0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.cm1750-footer .cm1763-footer-stats .cm1750-stat{padding:13px 14px!important;border-radius:10px!important;background:color-mix(in srgb,var(--cm-footer-text) 5%,transparent);border:1px solid color-mix(in srgb,var(--cm-footer-text) 19%,transparent);box-shadow:none!important}
.cm1750-footer .cm1763-footer-stats .cm1750-stat strong{font-size:clamp(17px,1.65vw,23px)!important;line-height:1.3;margin-bottom:5px;overflow-wrap:anywhere}
.cm1750-footer .cm1763-footer-stats .cm1750-stat div{font-size:11px;line-height:1.5;opacity:.82}
.cm1761-description{font-size:15px!important;line-height:1.75!important;margin:22px 0 0!important;color:#475569!important}
@media(max-width:1100px){.cm1750-footer .cm105-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.cm1750-footer .cm1763-footer-stats{grid-column:2 / -1}}
@media(max-width:720px){.cm1750-footer .cm105-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cm1750-footer .cm1763-footer-stats{grid-column:1 / -1}}
@media(max-width:480px){.cm1750-footer .cm105-footer-grid{grid-template-columns:1fr!important}.cm1750-footer .cm1763-footer-stats{grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.17.64 — footer rebuild: independent top area prevents unpredictable column placement */
.cm1764-footer{padding:0!important;margin-top:64px!important;box-shadow:none!important}
.cm1764-footer *{box-shadow:none!important}
.cm1764-footer .cm1764-footer-top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.85fr);align-items:center;gap:48px;padding:54px 0 42px;border-bottom:1px solid color-mix(in srgb,var(--cm-footer-text) 22%,transparent)}
.cm1764-footer .cm1764-footer-brand{min-width:0;max-width:610px}
.cm1764-footer .cm1764-footer-kicker{display:block;font-size:10px;letter-spacing:.16em;font-weight:800;color:var(--cm-footer-text);opacity:.8;margin-bottom:16px}
.cm1764-footer .cm1764-footer-brand h2{font-size:clamp(28px,3vw,38px);margin:0 0 12px;line-height:1.15;color:var(--cm-footer-heading)!important}
.cm1764-footer .cm1764-footer-brand p{font-size:14px;line-height:1.85;margin:0 0 22px;max-width:510px;color:var(--cm-footer-text)!important}
.cm1764-footer .cm1764-footer-cta{display:inline-flex;align-items:center;gap:20px;border:1px solid color-mix(in srgb,var(--cm-footer-text) 34%,transparent);padding:11px 16px;border-radius:9px;text-decoration:none!important;font-weight:650;font-size:13px;color:var(--cm-footer-heading)!important;transition:background .2s ease,border-color .2s ease}
.cm1764-footer .cm1764-footer-cta:hover{background:color-mix(in srgb,var(--cm-footer-text) 12%,transparent);transform:none}
.cm1764-footer .cm1764-footer-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:0!important;margin:0!important;border:0!important;align-self:center;min-width:0}
.cm1764-footer .cm1764-footer-stats .cm1750-stat{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:21px 18px!important;border-radius:12px!important;border:1px solid color-mix(in srgb,var(--cm-footer-text) 24%,transparent);background:color-mix(in srgb,var(--cm-footer-text) 5%,transparent)}
.cm1764-footer .cm1764-stat-mark{display:grid;place-items:center;width:28px;height:28px;border:1px solid color-mix(in srgb,var(--cm-footer-text) 25%,transparent);border-radius:8px;font-size:13px;color:var(--cm-footer-heading)!important}
.cm1764-footer .cm1764-footer-stats strong{margin:0!important;font-size:clamp(17px,1.85vw,25px)!important;line-height:1.2;letter-spacing:-.045em;overflow-wrap:anywhere;color:var(--cm-footer-heading)!important;font-variant-numeric:tabular-nums}
.cm1764-footer .cm1764-footer-stats .cm1750-stat>span:last-child{font-size:11px;font-weight:600;color:var(--cm-footer-text)!important;line-height:1.5}
.cm1764-footer .cm1764-footer-links{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;gap:30px!important;padding:38px 0 30px;align-items:start}
.cm1764-footer .cm1764-footer-links>div{min-width:0}
.cm1764-footer .cm1764-footer-links h3{font-size:12px!important;letter-spacing:.07em;margin:0 0 17px!important}
.cm1764-footer .cm1764-footer-links a{display:block;margin:0 0 9px;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.cm1764-footer .cm105-footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:22px 0 26px;margin:0;border-top:1px solid color-mix(in srgb,var(--cm-footer-text) 22%,transparent)!important}
@media(max-width:900px){.cm1764-footer .cm1764-footer-top{grid-template-columns:1fr;gap:28px;padding:40px 0 30px}.cm1764-footer .cm1764-footer-stats{max-width:600px;width:100%}}
@media(max-width:520px){.cm1764-footer .cm1764-footer-top{padding:34px 0 28px}.cm1764-footer .cm1764-footer-stats{gap:9px!important}.cm1764-footer .cm1764-footer-stats .cm1750-stat{padding:16px 12px!important}.cm1764-footer .cm1764-footer-stats strong{font-size:18px!important}.cm1764-footer .cm1764-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:25px 17px!important}.cm1764-footer .cm105-footer-bottom{align-items:flex-start;flex-direction:column}}

/* v1.17.65 — centered footer legal / copyright bar on all viewports */
.cm1764-footer .cm105-footer-bottom.cm1765-footer-legal{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:7px!important;
  width:100%;
  padding:22px 16px 27px!important;
  margin:0 auto!important;
}
.cm1764-footer .cm1765-footer-legal small{
  display:block;
  width:100%;
  text-align:center!important;
  margin:0!important;
  font-size:12px;
  line-height:1.65;
  overflow-wrap:anywhere;
  color:var(--cm-footer-text,#cbd5e1)!important;
}
.cm1764-footer .cm1765-footer-legal small:first-child{font-weight:600;}
@media(max-width:520px){
  .cm1764-footer .cm105-footer-bottom.cm1765-footer-legal{align-items:center!important;padding:20px 12px 25px!important;}
}
