/* ca-mono design variants (2026-10-28). Loaded only for sites with "design" in site.json.
   Body classes: .cm-d .d-<axis>-<value>. The first value of every axis = main.css look. */

/* ================= Base for design sites ================= */
.cm-d {
	--r-lg: 22px; --r-sm: 12px; --btn-r: 12px; --chip-r: 999px;
	--bd: 1px solid var(--line);
	--sec-gap: 2.8rem;
	--btn-bg: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
	--btn-fg: var(--on-accent);
	--btn-sh: 0 10px 22px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, .25);
	--btn-bd: 0;
	--inv-bg: #fff; --inv-fg: var(--accent2);
	--hw: 800; --htt: none; --hls: -.01em; --h1f: 1;
	--dark: #111827;
	--dark: color-mix(in srgb, var(--text) 88%, #000);
}
.cm-d .cm-main { overflow-x: clip; }
.cm-d .cm-content { padding-bottom: 0; }
.cm-art { padding-bottom: 56px; }
.cm-herozone { position: relative; isolation: isolate; }
.cm-col { min-width: 0; }
.cm-col > .cm-sec:first-child { margin-top: 30px; }
.cm-sec { display: flow-root; }
.cm-sec + .cm-sec { margin-top: var(--sec-gap); }
.cm-sec > h2:first-child, .cm-sec > section:first-child > h2:first-child, .cm-sec > section > h3:first-child { margin-top: 0; }
.cm-sec > section + * { margin-top: 1.4em; }
.cm-sec > :last-child, .cm-sec > section:last-child > :last-child { margin-bottom: 0; }
.cm-sec > img { border-radius: var(--radius); }
.cm-d .cm-hero { border-radius: var(--r-lg); }
.cm-d .cm-hero__img { border-radius: var(--r-sm); }
.cm-d .cm-bonus, .cm-d .cm-cta { border-radius: var(--r-lg); }
.cm-d .cm-steps li, .cm-d .cm-faq details, .cm-d .cm-rating, .cm-d .cm-author, .cm-d .cm-note { border-radius: var(--radius); }
.cm-d .cm-note { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.cm-d .cm-logos li, .cm-d .cm-card img, .cm-d .cm-content img.cm-float { border-radius: var(--r-sm); }
.cm-d .cm-nav__list a, .cm-d .cm-burger { border-radius: var(--r-sm); }
.cm-d .cm-byline__date { border-radius: var(--chip-r); }
.cm-d .cm-score { display: none; }
.cm-d .cm-h1 { font-weight: var(--hw); text-transform: var(--htt); letter-spacing: var(--hls); font-size: calc(clamp(1.85rem, 4.2vw, 2.85rem) * var(--h1f)); }
.cm-d .cm-content h2 { font-weight: var(--hw); text-transform: var(--htt); letter-spacing: var(--hls); }
.cm-d .cm-content h3 { letter-spacing: 0; }

/* Buttons (variables set by d-btn-*) */
.cm-d .cm-btn { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--btn-sh); border: var(--btn-bd); border-radius: var(--btn-r); }
.cm-d .cm-btn:hover { color: var(--btn-fg); box-shadow: var(--btn-sh); }
.cm-d .cm-btn--ghost, .cm-d .cm-btn--ghost:hover { background: transparent; color: var(--text); border: 0; box-shadow: inset 0 0 0 2px var(--line); }
.cm-d .cm-btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.cm-d .cm-bonus .cm-btn, .cm-d .cm-cta .cm-btn, .cm-d .cm-sbonus .cm-btn { background: var(--inv-bg); color: var(--inv-fg); border: 0; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .45); }

/* ================= Shape ================= */
.d-shape-round { --radius: 16px; --r-lg: 22px; --r-sm: 12px; --btn-r: 12px; }
.d-shape-square { --radius: 0; --r-lg: 0; --r-sm: 0; --btn-r: 0; --chip-r: 0; }
.d-shape-soft { --radius: 6px; --r-lg: 8px; --r-sm: 4px; --btn-r: 6px; --chip-r: 6px; }
.d-shape-pill { --radius: 20px; --r-lg: 30px; --r-sm: 14px; --btn-r: 999px; }
.d-shape-xl { --radius: 26px; --r-lg: 36px; --r-sm: 18px; --btn-r: 18px; }
.d-shape-square .cm-avatar { border-radius: 0; }

/* ================= Depth: shadows vs borders ================= */
.d-depth-shadow :is(.cm-slot, .cm-card, .cm-facts, .cm-table, .cm-pros, .cm-cons, .cm-steps li, .cm-faq details, .cm-rating, .cm-logos li, .cm-author, .cm-sbox) { border-color: transparent; box-shadow: 0 8px 26px -12px rgba(16, 24, 40, .25); }
.d-depth-shadow.d-hero-classic .cm-hero, .d-depth-shadow.d-hero-top-image .cm-hero { border-color: transparent; box-shadow: 0 18px 50px -28px rgba(16, 24, 40, .4); }
.d-depth-border :is(.cm-slot, .cm-card, .cm-facts, .cm-table, .cm-pros, .cm-cons, .cm-steps li, .cm-faq details, .cm-rating, .cm-logos li, .cm-author, .cm-sbox) { border: 1.5px solid color-mix(in srgb, var(--text) 18%, var(--bg)); box-shadow: none; }
.d-depth-border.d-hero-classic .cm-hero, .d-depth-border.d-hero-top-image .cm-hero { border: 1.5px solid color-mix(in srgb, var(--text) 18%, var(--bg)); box-shadow: none; }
.d-depth-border .cm-slot:hover, .d-depth-border .cm-card:hover, .d-depth-border .cm-faq details[open] { box-shadow: none; border-color: var(--accent); }
.d-depth-flat :is(.cm-slot, .cm-card, .cm-pros, .cm-cons, .cm-steps li, .cm-faq details, .cm-rating, .cm-logos li, .cm-author, .cm-sbox) { border-color: transparent; box-shadow: none; background: var(--surface); }
.d-depth-flat :is(.cm-facts, .cm-table) { border-color: transparent; }
.d-depth-flat .cm-slot:hover, .d-depth-flat .cm-card:hover, .d-depth-flat .cm-faq details[open] { box-shadow: none; }

/* ================= Typography (font pairs come from inc/design.php) ================= */
body.d-type-t1 { font-size: 16.5px; line-height: 1.65; }
body.d-type-t2 { font-size: 16px; line-height: 1.75; --hw: 700; }
body.d-type-t3 { font-size: 17.5px; line-height: 1.7; --hw: 700; --hls: 0; --h1f: 1.06; }
body.d-type-t4 { font-size: 16px; line-height: 1.72; --hw: 600; --htt: uppercase; --hls: .01em; }
body.d-type-t5 { font-size: 17px; line-height: 1.7; --hw: 400; --hls: 0; --h1f: 1.1; }
body.d-type-t6 { font-size: 16px; line-height: 1.78; --hw: 700; --hls: -.02em; }
body.d-type-t7 { font-size: 16.5px; line-height: 1.7; --hw: 800; --hls: 0; }
body.d-type-t8 { font-size: 16px; line-height: 1.7; --hw: 400; --htt: uppercase; --hls: .03em; --h1f: 1.22; }
body.d-type-t8 .cm-content h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
body.d-type-t9 { font-size: 17px; line-height: 1.8; --hw: 700; --hls: 0; }
body.d-type-t10 { font-size: 16px; line-height: 1.66; --hw: 700; --hls: -.03em; }
body.d-type-t11 { font-size: 17px; line-height: 1.7; --hw: 800; --hls: -.015em; }
body.d-type-t12 { font-size: 16.5px; line-height: 1.72; --hw: 700; --hls: .02em; --h1f: .96; }
body.d-type-t13 { font-size: 17px; line-height: 1.62; --hw: 700; --htt: uppercase; --hls: .01em; --h1f: 1.12; }
body.d-type-t14 { font-size: 17px; line-height: 1.78; --hw: 700; --hls: -.01em; --h1f: 1.05; }
body.d-type-t2 .cm-content h2, body.d-type-t6 .cm-content h2, body.d-type-t11 .cm-content h2 { font-size: clamp(1.4rem, 2.8vw, 1.85rem); }
body.d-type-t3 .cm-content h3, body.d-type-t5 .cm-content h3, body.d-type-t9 .cm-content h3, body.d-type-t14 .cm-content h3 { font-family: var(--font-body); font-weight: 700; }

/* ================= Layout ================= */
.cm-side { display: none; }
@media (min-width: 1024px) {
	.d-layout-side-right .cm-body, .d-layout-side-left .cm-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
	.d-layout-side-left .cm-body { grid-template-columns: 286px minmax(0, 1fr); }
	.d-layout-side-left .cm-side { order: -1; }
	.cm-side { display: block; align-self: stretch; margin-top: 30px; }
	.cm-side__in { position: sticky; top: calc(var(--hh) + 18px); display: grid; gap: 14px; max-height: calc(100vh - var(--hh) - 36px); overflow-y: auto; scrollbar-width: thin; padding: 2px; }
	.admin-bar .cm-side__in { top: calc(var(--hh) + 50px); }
}
.cm-sbonus { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 10px; padding: 20px; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--accent2), var(--accent2-mix)); color: var(--on-accent2); }
.cm-sbonus::after { content: ""; position: absolute; z-index: -1; width: 180px; height: 180px; right: -60px; top: -70px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cm-sbonus__label { font: 700 11.5px/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cm-sbonus__value { margin: 0; font: 800 1.15rem/1.3 var(--font-head); }
.cm-sbonus .cm-btn { width: 100%; }
.cm-sbonus small { font-size: 12px; opacity: .85; }
.cm-sbox { padding: 16px 18px; border: var(--bd); border-radius: var(--radius); background: var(--bg); font-size: 14.5px; }
.cm-side__title { margin: 0 0 10px; font: 800 12px/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cm-sfacts dl { margin: 0; }
.cm-sfacts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.cm-sfacts dd { margin: 0 0 9px; font-weight: 600; line-height: 1.4; }
.cm-sfacts dd:last-child { margin-bottom: 0; }
.cm-srating { display: flex; align-items: center; gap: 14px; }
.cm-srating__num { font: 800 2.1rem/1 var(--font-head); color: var(--accent2); }
.cm-srating .cm-stars { font-size: 18px; display: block; }
.cm-srating small { display: block; color: var(--muted); font-size: 12.5px; }
.cm-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.cm-toc li { counter-increment: toc; margin: 0; }
.cm-toc a { display: flex; gap: 8px; padding: 6px 8px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; line-height: 1.35; font-size: 14px; }
.cm-toc a::before { content: counter(toc); flex: none; min-width: 1.4em; color: var(--accent); font-weight: 800; }
.cm-toc a:hover, .cm-toc a.is-active { background: var(--accent-soft); color: var(--accent2); }

body.d-layout-boxed {
	background-color: var(--surface);
	background-image: radial-gradient(color-mix(in srgb, var(--accent) 22%, transparent) 1.3px, transparent 1.6px);
	background-size: 22px 22px;
}
.d-layout-boxed .cm-art { width: min(920px, 100% - 20px); margin: 26px auto 44px; background: var(--bg); border-radius: var(--r-lg); box-shadow: 0 24px 60px -36px rgba(16, 24, 40, .45); border: var(--bd); overflow: clip; }
.d-layout-boxed .cm-art .cm-wrap { width: auto; margin-inline: clamp(16px, 4.5vw, 52px); }
.d-layout-boxed .cm-hero { margin-top: 26px; }
.d-layout-narrow .cm-body { width: min(800px, 100% - 32px); }
.d-layout-narrow .cm-herozone__in { width: min(1040px, 100% - 32px); }
.d-layout-narrow .cm-author { margin-inline: auto; }

/* ================= Sections ================= */
.d-sections-alt .cm-sec { padding: 44px 0; }
.d-sections-alt .cm-sec + .cm-sec { margin-top: 0; }
.d-sections-alt .cm-col > .cm-sec:first-child { margin-top: 0; }
.d-sections-alt .cm-sec:nth-child(even) { background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
.d-sections-alt.d-layout-side-right .cm-sec:nth-child(even), .d-sections-alt.d-layout-side-left .cm-sec:nth-child(even) { box-shadow: none; clip-path: none; padding: 32px clamp(16px, 3vw, 32px); border-radius: var(--r-lg); }
.d-sections-alt .cm-sec:nth-child(even) :is(.cm-slot, .cm-faq details, .cm-card, .cm-steps li) { background: var(--bg); }
.d-sections-divider .cm-sec + .cm-sec { border-top: 1px solid var(--line); padding-top: var(--sec-gap); }
.d-sections-divider .cm-sec > h2:first-child::before, .d-sections-divider .cm-sec > section > h2:first-child::before { content: ""; display: block; width: 46px; height: 5px; margin-bottom: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
body.d-sections-cards { background: var(--surface); }
.d-sections-cards .cm-sec { padding: clamp(20px, 3.2vw, 38px); background: var(--bg); border: var(--bd); border-radius: var(--r-lg); }
.d-sections-cards .cm-sec + .cm-sec { margin-top: 20px; }
.d-sections-cards .cm-sec > :last-child, .cm-sec > section:last-child > :last-child { margin-bottom: 0; }
.d-sections-cards .cm-author { background: var(--bg); }
.d-layout-boxed.d-sections-cards .cm-art { background: var(--surface); }
.d-sections-band .cm-sec > h2:first-child, .d-sections-band .cm-sec > section > h2:first-child {
	padding: 14px 20px; border-left: 6px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0;
	background: linear-gradient(90deg, var(--accent-soft), transparent);
}

/* ================= Header ================= */
/* center: tag | logo | CTA, menu on the second row */
@media (min-width: 961px) {
	.d-header-center { --hh: 118px; }
	.d-header-center .cm-header__in { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "tag logo cta" "nav nav nav"; align-items: center; min-height: 0; gap: 0 20px; padding-top: 12px; }
	.d-header-center .cm-header__tag { grid-area: tag; font: 600 12.5px/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
	.d-header-center .cm-logo { grid-area: logo; justify-self: center; }
	.d-header-center .cm-logo__svg { height: 46px; }
	.d-header-center .cm-header__cta { grid-area: cta; justify-self: end; }
	.d-header-center .cm-nav { grid-area: nav; margin: 12px 0 0; border-top: 1px solid var(--line); display: flex; justify-content: center; }
	.d-header-center .cm-nav__list a { padding: 13px 16px; border-radius: 0; }
	.d-header-center .cm-nav__list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
}
.cm-header__tag, .cm-header__bonus { display: none; }
@media (min-width: 961px) { .d-header-center .cm-header__tag { display: block; } }

/* dark sticky bar */
.d-header-dark .cm-header { background: var(--dark); border-bottom: 0; color: #fff; }
.d-header-dark .cm-header.is-scrolled { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); }
.d-header-dark .cm-header .cm-logo__name { fill: #fff; }
.d-header-dark .cm-header .cm-logo__w2 { fill: var(--accent); fill: color-mix(in srgb, var(--accent) 70%, #fff); }
.d-header-dark .cm-header__cta .cm-btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3); }
.d-header-dark .cm-burger { background: rgba(255, 255, 255, .1); }
.d-header-dark .cm-burger span { background: #fff; }
@media (min-width: 961px) {
	.d-header-dark .cm-nav__list a { color: rgba(255, 255, 255, .86); padding-inline: 10px; }
	.d-header-dark .cm-nav__list a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
	.d-header-dark .cm-nav__list a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
}
@media (min-width: 1440px) {
	.d-header-dark .cm-header__bonus { display: block; max-width: 230px; padding: 6px 12px; border-radius: var(--chip-r); background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .9); font-size: 12.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* transparent header over the hero zone */
.d-header-overlay .cm-header { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; margin-bottom: calc(-1 * var(--hh)); transition: background .2s ease, box-shadow .2s ease; }
.d-header-overlay .cm-header.is-scrolled, .d-header-overlay.cm-nav-open .cm-header { background: rgba(255, 255, 255, .97); border-bottom-color: var(--line); }
.d-header-overlay .cm-herozone { padding-top: var(--hh); background: radial-gradient(900px 420px at 85% 0%, var(--accent-soft), transparent 70%), linear-gradient(180deg, var(--surface), var(--bg)); }
.d-header-overlay .cm-burger { background: rgba(255, 255, 255, .7); }
.d-header-overlay.d-hero-bleed .cm-header:not(.is-scrolled) .cm-logo__name { fill: #fff; }
.d-header-overlay.d-hero-bleed:not(.cm-nav-open) .cm-header:not(.is-scrolled) .cm-header__cta .cm-btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
@media (min-width: 961px) {
	.d-header-overlay.d-hero-bleed .cm-header:not(.is-scrolled) .cm-nav__list a { color: #fff; }
	.d-header-overlay.d-hero-bleed .cm-header:not(.is-scrolled) .cm-nav__list a:hover { background: rgba(255, 255, 255, .15); }
}

/* promo strip + pill menu */
.cm-promo { background: var(--accent); background: linear-gradient(90deg, var(--accent), var(--accent-deep)); color: var(--on-accent); }
.cm-promo .cm-topbar__in { justify-content: center; gap: 16px; min-height: 44px; }
.cm-promo .cm-promo__btn, .cm-d .cm-promo .cm-promo__btn { min-height: 32px; padding: 0 16px; font-size: 13px; background: #fff; color: var(--accent2); box-shadow: none; border: 0; }
@media (max-width: 600px) { .cm-promo .cm-topbar__bonus { font-size: 12.5px; } .cm-promo .cm-topbar__in { justify-content: space-between; gap: 8px; } }
@media (min-width: 961px) {
	.d-header-pills .cm-nav__list { gap: 6px; }
	.d-header-pills .cm-nav__list a { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
	.d-header-pills .cm-nav__list a:hover { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
	.d-header-pills .cm-nav__list a[aria-current="page"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
}

/* split: logo + menu on the left, CTA right, accent top line */
.d-header-split .cm-header { border-top: 4px solid var(--accent); }
@media (min-width: 961px) {
	.d-header-split { --hh: 74px; }
	.d-header-split .cm-nav { margin-left: 18px; }
	.d-header-split .cm-header__cta { margin-left: auto; }
	.d-header-split .cm-nav__list a { padding: 26px 12px 23px; border-radius: 0; font-size: 13.5px; text-transform: uppercase; letter-spacing: .07em; box-shadow: inset 0 -3px 0 transparent; }
	.d-header-split .cm-nav__list a:hover { background: none; box-shadow: inset 0 -3px 0 var(--line); }
	.d-header-split .cm-nav__list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); color: var(--text); }
}

/* minimal: logo, one CTA, menu always behind the burger */
.d-header-minimal .cm-header { border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.d-header-minimal .cm-header__cta { margin-left: auto; }
@media (min-width: 961px) {
	.d-header-minimal { --hh: 78px; }
	.d-header-minimal .cm-logo__svg { height: 42px; }
	.d-header-minimal .cm-burger { display: block; }
	.d-header-minimal .cm-nav { display: none; position: absolute; top: calc(100% + 8px); right: max(16px, (100% - var(--wrap)) / 2); width: 340px; margin: 0; padding: 12px 16px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
	.d-header-minimal.cm-nav-open .cm-nav { display: block; }
	.d-header-minimal .cm-nav__list { flex-direction: column; gap: 0; }
	.d-header-minimal .cm-nav__list a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.d-header-minimal .cm-nav__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
}

@media (min-width: 961px) { .cm-d .cm-nav__list a { white-space: nowrap; } .cm-d .cm-header__in { gap: 16px; } }
/* mobile dropdown is always light */
@media (max-width: 960px) {
	.cm-d .cm-nav .cm-nav__list a { color: var(--text); background: none; }
	.cm-d .cm-header__in { display: flex; }
}

/* ================= Hero ================= */
.cm-d .cm-hero__lead { color: color-mix(in srgb, var(--text) 82%, var(--bg)); }

/* split-left: band across the page, image left */
.d-hero-split-left .cm-herozone { background: var(--surface); border-bottom: var(--bd); }
.d-hero-split-left .cm-hero { margin: 0; padding: clamp(24px, 4vw, 52px) 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
@media (min-width: 900px) {
	.d-hero-split-left .cm-hero:has(> .cm-hero__img) { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
	.d-hero-split-left .cm-hero > * { grid-column: 2; }
	.d-hero-split-left .cm-hero > .cm-hero__img { grid-column: 1; grid-row: 1 / span 8; max-height: 400px; }
	.d-hero-split-left .cm-hero .cm-bonus { grid-template-columns: 1fr auto; align-items: center; }
	.d-hero-split-left .cm-hero .cm-bonus .cm-bonus__label { grid-column: 1 / -1; justify-self: start; }
	.d-hero-split-left .cm-hero .cm-bonus .cm-btn { margin: 0; }
}

/* bleed: full-width image with dark overlay, white text */
.d-hero-bleed .cm-herozone { background: linear-gradient(135deg, var(--accent2), var(--accent-deep)); color: #fff; }
.d-hero-bleed .cm-herozone--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 12, 22, .9) 0%, rgba(8, 12, 22, .72) 50%, rgba(8, 12, 22, .4) 100%); }
.d-hero-bleed .cm-hero { position: static; isolation: auto; overflow: visible; margin: 0; padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 6vw, 72px); border: 0; border-radius: 0; background: none; box-shadow: none; }
.d-hero-bleed .cm-hero > .cm-hero__img, .d-hero-bleed .cm-hero .cm-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-height: none; margin: 0; object-fit: cover; border-radius: 0; box-shadow: none; }
.d-hero-bleed .cm-hero > :not(.cm-hero__img) { max-width: 720px; }
@media (min-width: 900px) { .d-hero-bleed .cm-hero:has(> .cm-hero__img) { grid-template-columns: minmax(0, 1fr); } }
.d-hero-bleed .cm-hero .cm-h1, .d-hero-bleed .cm-hero .cm-byline__who a { color: #fff; }
.d-hero-bleed .cm-hero .cm-crumbs ol, .d-hero-bleed .cm-hero .cm-crumbs a, .d-hero-bleed .cm-hero .cm-crumbs li + li::before, .d-hero-bleed .cm-hero .cm-byline { color: rgba(255, 255, 255, .78); }
.d-hero-bleed .cm-hero .cm-byline__date { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); }
.d-hero-bleed .cm-hero .cm-hero__lead { color: rgba(255, 255, 255, .9); }
.d-hero-bleed .cm-hero .cm-bonus { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; box-shadow: none; }
.d-hero-bleed .cm-hero .cm-bonus .cm-btn { background: var(--btn-bg); color: var(--btn-fg); }
.d-hero-bleed .cm-hero .cm-bonus::before, .d-hero-bleed .cm-hero .cm-bonus::after { display: none; }
.d-hero-bleed .cm-pagehead { color: #fff; border-bottom: 0; padding: 48px 0 36px; }
.d-hero-bleed .cm-pagehead .cm-h1, .d-hero-bleed .cm-pagehead a { color: #fff; }
.d-hero-bleed .cm-pagehead .cm-crumbs ol, .d-hero-bleed .cm-pagehead .cm-byline, .d-hero-bleed .cm-pagehead .cm-crumbs li + li::before { color: rgba(255, 255, 255, .8); }
.d-hero-bleed .cm-pagehead .cm-byline__date { background: rgba(255, 255, 255, .12); border-color: transparent; }

/* card: centred column, bonus as a white card */
.d-hero-card .cm-hero { justify-items: center; text-align: center; background: radial-gradient(700px 300px at 50% 0%, var(--accent-soft), transparent 70%); border: 0; padding: clamp(28px, 5vw, 56px) 0 8px; box-shadow: none; }
@media (min-width: 900px) {
	.d-hero-card .cm-hero:has(> .cm-hero__img) { grid-template-columns: minmax(0, 1fr); }
	.d-hero-card .cm-hero > .cm-hero__img { grid-column: 1; grid-row: auto; max-height: 300px; }
}
.d-hero-card .cm-hero .cm-crumbs ol, .d-hero-card .cm-hero .cm-byline { justify-content: center; }
.d-hero-card .cm-hero__lead { margin-inline: auto; }
.d-hero-card .cm-hero .cm-h1 { max-width: 22ch; margin-inline: auto; }
.d-hero-card .cm-hero .cm-bonus { width: min(100%, 580px); justify-items: center; padding: 26px 28px; background: var(--bg); color: var(--text); border: 2px solid var(--accent); box-shadow: 0 26px 50px -30px var(--accent-glow); }
.d-hero-card .cm-hero .cm-bonus::before, .d-hero-card .cm-hero .cm-bonus::after { display: none; }
.d-hero-card .cm-hero .cm-bonus__label { background: var(--accent-soft); color: var(--accent2); }
.d-hero-card .cm-hero .cm-bonus__value { color: var(--accent2); }
.d-hero-card .cm-hero .cm-bonus .cm-btn { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--btn-sh); border: var(--btn-bd); }
.d-hero-card .cm-hero .cm-hero__img { width: 100%; }

/* band: H1 + lead, image right, bonus as a strip across the whole hero */
.d-hero-band .cm-herozone { background: linear-gradient(180deg, var(--surface), var(--bg)); }
.d-hero-band .cm-hero { border: 0; background: none; box-shadow: none; padding: clamp(24px, 4vw, 44px) 0 0; overflow: visible; }
.d-hero-band .cm-hero .cm-bonus { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 18px 22px; }
.d-hero-band .cm-hero .cm-bonus__value { flex: 1 1 280px; font-size: clamp(1.15rem, 2.4vw, 1.6rem); }
.d-hero-band .cm-hero .cm-bonus .cm-btn { margin: 0; }
@media (min-width: 900px) {
	.d-hero-band .cm-hero:has(> .cm-hero__img) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
	.d-hero-band .cm-hero > .cm-hero__head { grid-column: 1; grid-row: 1; }
	.d-hero-band .cm-hero > .cm-hero__lead { grid-column: 1; grid-row: 2; }
	.d-hero-band .cm-hero > .cm-hero__img { grid-column: 2; grid-row: 1 / span 2; max-height: 300px; }
	.d-hero-band .cm-hero > .cm-bonus { grid-column: 1 / -1; grid-row: 3; }
}

/* compact: no box, small picture; the offer lives in the sidebar on wide screens */
.d-hero-compact .cm-hero { border: 0; border-bottom: var(--bd); border-radius: 0; background: none; box-shadow: none; padding: 26px 0 22px; overflow: visible; }
.d-hero-compact .cm-hero .cm-h1 { font-size: calc(clamp(1.7rem, 3.4vw, 2.4rem) * var(--h1f)); }
.d-hero-compact .cm-hero .cm-bonus { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; }
.d-hero-compact .cm-hero .cm-bonus__value { flex: 1 1 220px; font-size: 1.1rem; }
.d-hero-compact .cm-hero .cm-bonus .cm-btn { margin: 0; min-height: 44px; padding: 0 20px; font-size: 15px; }
.d-hero-compact .cm-hero .cm-bonus::before, .d-hero-compact .cm-hero .cm-bonus::after { display: none; }
@media (min-width: 900px) {
	.d-hero-compact .cm-hero:has(> .cm-hero__img) { grid-template-columns: minmax(0, 1fr) 300px; }
	.d-hero-compact .cm-hero > .cm-hero__img { max-height: 190px; }
}
@media (min-width: 1024px) {
	.d-hero-compact.d-layout-side-right .cm-hero .cm-bonus, .d-hero-compact.d-layout-side-left .cm-hero .cm-bonus { display: none; }
}

/* top-image: wide picture on top of the hero card */
.d-hero-top-image .cm-hero { display: flex; flex-direction: column; align-items: stretch; padding: 0 0 clamp(20px, 3vw, 32px); background: var(--bg); }
.d-hero-top-image .cm-hero > * { margin-inline: clamp(16px, 3.2vw, 40px); }
.d-hero-top-image .cm-hero > :first-child { margin-top: clamp(18px, 3vw, 30px); }
.d-hero-top-image .cm-hero > .cm-hero__img { order: -1; margin: 0 0 22px; width: 100%; height: clamp(170px, 30vw, 340px); max-height: none; object-fit: cover; border-radius: 0; box-shadow: none; }
.d-hero-top-image .cm-hero .cm-bonus { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.d-hero-top-image .cm-hero .cm-bonus__value { flex: 1 1 260px; }
.d-hero-top-image .cm-hero .cm-bonus .cm-btn { margin: 0; }

/* ================= Slots ================= */
/* grid4: 4 columns, button always visible */
@media (min-width: 900px) { .d-slots-grid4 .cm-slots__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.d-slots-grid4 .cm-slot::after { display: none; }
.d-slots-grid4 .cm-slot .cm-btn, .d-slots-grid4 .cm-slot:hover .cm-btn { position: static; opacity: 1; transform: none; margin: 4px 12px 14px; }
.d-slots-grid4 .cm-slot figcaption { padding: 12px 14px 6px; }
.d-slots-grid4 .cm-slot figcaption b { font-size: 15.5px; }

/* grid3: large cards, caption + button in one row */
.d-slots-grid3 .cm-slots__grid { gap: 16px; }
@media (min-width: 560px) { .d-slots-grid3 .cm-slots__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .d-slots-grid3 .cm-slots__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.d-slots-grid3 .cm-slot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.d-slots-grid3 .cm-slot img { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
.d-slots-grid3 .cm-slot::after { display: none; }
.d-slots-grid3 .cm-slot figcaption { padding: 12px 8px 12px 16px; }
.d-slots-grid3 .cm-slot figcaption b { font-size: 16px; font-family: var(--font-head); }
.d-slots-grid3 .cm-slot .cm-btn, .d-slots-grid3 .cm-slot:hover .cm-btn { position: static; opacity: 1; transform: none; margin: 0 14px 0 0; }

/* rail: horizontal scrolling strip */
.d-slots-rail .cm-slots__grid { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; scrollbar-color: var(--accent) var(--surface); }
.d-slots-rail .cm-slot { flex: 0 0 168px; scroll-snap-align: start; }
@media (min-width: 900px) { .d-slots-rail .cm-slot { flex-basis: 186px; } }
@media (max-width: 559px) { .d-slots-rail .cm-slot { flex-basis: 142px; } }

/* list: rows with thumbnail, provider and button */
.d-slots-list .cm-slots__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 720px) { .d-slots-list .cm-slots__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; } }
.d-slots-list .cm-slot { flex-direction: row; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; }
.d-slots-list .cm-slot:hover { transform: none; }
.d-slots-list .cm-slot img { width: 64px; height: 64px; flex: none; border-radius: var(--r-sm); }
.d-slots-list .cm-slot::after { display: none; }
.d-slots-list .cm-slot figcaption { padding: 0; }
.d-slots-list .cm-slot figcaption b { font-size: 15.5px; }
.d-slots-list .cm-slot .cm-btn, .d-slots-list .cm-slot:hover .cm-btn { position: static; opacity: 1; transform: none; margin: 0; flex: none; }

/* tiles: picture tiles, name on the picture, play on hover */
.d-slots-tiles .cm-slots__grid { gap: 10px; }
@media (min-width: 700px) { .d-slots-tiles .cm-slots__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .d-slots-tiles .cm-slots__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.d-slots-tiles .cm-slot { border: 0; background: var(--surface); }
.d-slots-tiles .cm-slot figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 34px 12px 10px; background: linear-gradient(180deg, transparent, rgba(8, 12, 22, .82)); }
.d-slots-tiles .cm-slot figcaption b { color: #fff; }
.d-slots-tiles .cm-slot figcaption span { color: rgba(255, 255, 255, .78); }
@media (max-width: 899px), (hover: none) {
	.d-slots-tiles .cm-slot .cm-btn { position: absolute; z-index: 2; top: 8px; right: 8px; margin: 0; min-height: 34px; padding: 0 12px; font-size: 12.5px; }
}

/* ================= Facts ================= */
.d-facts-cards .cm-facts { border: 0; background: none; overflow: visible; box-shadow: none; }
.d-facts-cards .cm-facts tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.d-facts-cards .cm-facts tr { display: flex; flex-direction: column; padding: 14px 16px; background: var(--bg); border: var(--bd); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.d-facts-cards .cm-facts th, .d-facts-cards .cm-facts td { width: auto; padding: 0; border: 0; background: none; }
.d-facts-cards .cm-facts th { font: 700 11.5px/1.3 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.d-facts-cards .cm-facts td { padding-top: 5px; font-weight: 600; line-height: 1.45; }

.d-facts-chips .cm-facts { border: 0; background: none; overflow: visible; box-shadow: none; }
.d-facts-chips .cm-facts tbody { display: flex; flex-wrap: wrap; gap: 8px; }
.d-facts-chips .cm-facts tr { display: flex; align-items: flex-start; gap: 8px; flex: 1 1 auto; max-width: 100%; padding: 9px 16px 9px 10px; border-radius: var(--chip-r); background: var(--accent-soft); }
.d-facts-chips .cm-facts tr::before { content: "\2713"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 800 12px/1 var(--font-sys); }
.d-facts-chips .cm-facts th, .d-facts-chips .cm-facts td { width: auto; padding: 0; border: 0; background: none; font-size: 14.5px; line-height: 1.45; }
.d-facts-chips .cm-facts th { white-space: nowrap; }
.d-facts-chips .cm-facts th::after { content: ":"; }
.d-facts-chips .cm-facts td { color: color-mix(in srgb, var(--text) 85%, var(--bg)); }
@media (max-width: 600px) { .d-facts-chips .cm-facts tr { border-radius: var(--r-sm); } .d-facts-chips .cm-facts th { white-space: normal; } }

.d-facts-leaders .cm-facts { border: 0; border-radius: 0; background: none; box-shadow: none; }
.d-facts-leaders .cm-facts tbody { display: block; }
.d-facts-leaders .cm-facts tr { display: flex; align-items: baseline; gap: 16px; padding: 11px 2px; border-bottom: 2px dotted color-mix(in srgb, var(--text) 22%, var(--bg)); }
.d-facts-leaders .cm-facts th, .d-facts-leaders .cm-facts td { padding: 0; border: 0; background: none; }
.d-facts-leaders .cm-facts th { width: auto; flex: 0 0 36%; color: var(--muted); font-weight: 600; }
.d-facts-leaders .cm-facts td { flex: 1; text-align: right; font-weight: 700; }
@media (max-width: 600px) { .d-facts-leaders .cm-facts tr { flex-direction: column; gap: 2px; } .d-facts-leaders .cm-facts td { text-align: left; } .d-facts-leaders .cm-facts th { width: auto; } }

.d-facts-band .cm-facts { border: 0; border-spacing: 0 6px; background: none; overflow: visible; box-shadow: none; }
.d-facts-band .cm-facts tr + tr > * { border-top: 0; }
.d-facts-band .cm-facts th { background: var(--accent2); color: var(--on-accent2); border-radius: var(--r-sm) 0 0 var(--r-sm); }
.d-facts-band .cm-facts td { background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* ================= Pros / cons ================= */
.d-proscons-columns .cm-pros, .d-proscons-columns .cm-cons { padding: 0; overflow: hidden; background: var(--bg); border: var(--bd); }
.d-proscons-columns .cm-content .cm-pros h3, .d-proscons-columns .cm-content .cm-cons h3 { margin: 0; padding: 12px 20px; background: var(--ok); color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.d-proscons-columns .cm-content .cm-cons h3 { background: var(--bad); }
.d-proscons-columns .cm-pros ul, .d-proscons-columns .cm-cons ul { padding: 16px 20px 8px; }
.d-proscons-columns .cm-pros li::before, .d-proscons-columns .cm-cons li::before { background: none; color: var(--ok); font-size: 17px; }
.d-proscons-columns .cm-cons li::before { color: var(--bad); }

.d-proscons-checklist .cm-proscons { gap: 0; border: var(--bd); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.d-proscons-checklist .cm-pros, .d-proscons-checklist .cm-cons { border: 0; border-radius: 0; background: none; box-shadow: none; padding: 22px 24px; }
@media (min-width: 720px) { .d-proscons-checklist .cm-cons { border-left: 1px solid var(--line); } }
@media (max-width: 719px) { .d-proscons-checklist .cm-cons { border-top: 1px solid var(--line); } }
.d-proscons-checklist .cm-pros li::before, .d-proscons-checklist .cm-cons li::before { border-radius: 4px; content: "+"; font-size: 15px; }
.d-proscons-checklist .cm-cons li::before { content: "\2212"; }
.d-proscons-checklist .cm-pros li, .d-proscons-checklist .cm-cons li { padding-bottom: 9px; border-bottom: 1px dashed var(--line); }

.d-proscons-tinted .cm-pros, .d-proscons-tinted .cm-cons { border: 0; border-left: 5px solid var(--ok); background: #eefaf2; background: color-mix(in srgb, var(--ok) 9%, var(--bg)); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: none; }
.d-proscons-tinted .cm-cons { border-left-color: var(--bad); background: #fdf0f0; background: color-mix(in srgb, var(--bad) 8%, var(--bg)); }
.d-proscons-tinted .cm-content .cm-pros h3 { color: var(--ok); }
.d-proscons-tinted .cm-content .cm-cons h3 { color: var(--bad); }

.d-proscons-stack .cm-proscons { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.d-proscons-stack .cm-pros, .d-proscons-stack .cm-cons { border-top: var(--bd); border-left: 6px solid var(--ok); }
.d-proscons-stack .cm-cons { border-left-color: var(--bad); }
@media (min-width: 720px) {
	.d-proscons-stack .cm-pros, .d-proscons-stack .cm-cons { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: start; }
	.d-proscons-stack .cm-pros ul, .d-proscons-stack .cm-cons ul { columns: 2; column-gap: 28px; }
	.d-proscons-stack .cm-pros li, .d-proscons-stack .cm-cons li { break-inside: avoid; }
}

/* ================= Steps ================= */
.d-steps-timeline .cm-content .cm-steps { gap: 0; }
.d-steps-timeline .cm-steps li { background: none; border: 0; box-shadow: none; padding: 6px 0 22px 64px; }
.d-steps-timeline .cm-steps li::before { left: 14px; top: 2px; }
.d-steps-timeline .cm-steps li:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 42px; bottom: 0; width: 2px; background: linear-gradient(var(--accent), var(--line)); }

.d-steps-cards .cm-content .cm-steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.d-steps-cards .cm-steps li { padding: 62px 18px 18px; background: var(--bg); }
.d-steps-cards .cm-steps li::before { left: 18px; top: 16px; border-radius: var(--r-sm); }

.d-steps-circles .cm-content .cm-steps { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 0; }
.d-steps-circles .cm-steps li { padding: 70px 12px 0; background: none; border: 0; box-shadow: none; text-align: center; font-size: 15px; }
.d-steps-circles .cm-steps li::before { left: 50%; top: 0; width: 54px; height: 54px; transform: translateX(-50%); font-size: 20px; box-shadow: 0 0 0 6px var(--accent-soft); }
.d-steps-circles .cm-steps li:not(:last-child)::after { content: ""; position: absolute; z-index: -1; top: 26px; left: calc(50% + 34px); width: calc(100% - 68px); height: 2px; background: var(--line); }
.d-steps-circles .cm-content .cm-steps { position: relative; isolation: isolate; }
@media (max-width: 640px) {
	.d-steps-circles .cm-content .cm-steps { grid-template-columns: minmax(0, 1fr); }
	.d-steps-circles .cm-steps li { text-align: left; padding: 6px 0 6px 68px; min-height: 58px; }
	.d-steps-circles .cm-steps li::before { left: 0; transform: none; width: 44px; height: 44px; font-size: 17px; }
	.d-steps-circles .cm-steps li::after { display: none; }
}

.d-steps-bignum .cm-content .cm-steps { gap: 0; }
.d-steps-bignum .cm-steps li { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 16px 0 16px 78px; }
.d-steps-bignum .cm-steps li::before { content: counter(cmstep, decimal-leading-zero); left: 0; top: 12px; width: auto; height: auto; background: none; color: var(--accent); -webkit-text-stroke: 0; font: 800 38px/1 var(--font-head); border-radius: 0; }

/* ================= FAQ ================= */
.d-faq-open .cm-faq summary, .d-faq-boxes .cm-faq summary, .d-faq-numbered .cm-faq summary { pointer-events: none; cursor: default; }
.d-faq-open .cm-faq summary::after, .d-faq-boxes .cm-faq summary::after, .d-faq-numbered .cm-faq summary::after { display: none; }
.d-faq-open .cm-faq details { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; margin: 0; padding: 18px 0; }
.d-faq-open .cm-faq summary { padding: 0 0 6px 40px; font-size: 17px; font-family: var(--font-head); }
.d-faq-open .cm-faq summary::before { content: "Q"; position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); font: 800 14px/1 var(--font-head); }
.d-faq-open .cm-faq details > div { padding: 0 0 0 40px; }

@media (min-width: 900px) {
	.d-faq-two-col .cm-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
	.d-faq-two-col .cm-faq > :not(details) { grid-column: 1 / -1; }
	.d-faq-two-col .cm-faq details { margin: 0; }
}
.d-faq-two-col .cm-faq details { border-left: 4px solid var(--accent); }

.d-faq-boxes .cm-faq { display: grid; gap: 14px; }
@media (min-width: 720px) { .d-faq-boxes .cm-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } .d-faq-boxes .cm-faq > :not(details) { grid-column: 1 / -1; } }
.d-faq-boxes .cm-faq details { margin: 0; padding: 18px 20px; background: var(--surface); border: 0; border-top: 4px solid var(--accent); box-shadow: none; }
.d-faq-boxes .cm-faq summary { padding: 0 0 8px; font-family: var(--font-head); }
.d-faq-boxes .cm-faq details > div { padding: 0; font-size: 15px; }

.d-faq-lined .cm-faq details { margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.d-faq-lined .cm-faq details:first-of-type { border-top: 1px solid var(--line); }
.d-faq-lined .cm-faq summary { padding: 18px 44px 18px 2px; }
.d-faq-lined .cm-faq summary::after { content: ""; right: 10px; width: 10px; height: 10px; border-radius: 0; background: none; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-75%) rotate(45deg); }
.d-faq-lined .cm-faq details[open] summary::after { content: ""; background: none; transform: translateY(-25%) rotate(-135deg); }
.d-faq-lined .cm-faq details > div { padding: 0 2px 18px; }

.d-faq-numbered .cm-faq { counter-reset: faq; }
.d-faq-numbered .cm-faq details { counter-increment: faq; position: relative; margin: 0 0 12px; padding: 18px 20px 18px 74px; }
.d-faq-numbered .cm-faq details::before { content: counter(faq, decimal-leading-zero); position: absolute; left: 20px; top: 16px; color: var(--accent); font: 800 26px/1 var(--font-head); }
.d-faq-numbered .cm-faq summary { padding: 0 0 6px; }
.d-faq-numbered .cm-faq details > div { padding: 0; }

/* ================= CTA ================= */
.d-cta-ribbon .cm-cta { border-radius: 0; background: var(--accent); background: linear-gradient(90deg, var(--accent-deep), var(--accent)); color: var(--on-accent); box-shadow: none; }
@media (min-width: 700px) {
	.d-cta-ribbon .cm-cta { padding: 20px 56px; clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 50%, 100% 100%, 0 100%, 22px 50%); }
}
.d-cta-ribbon .cm-cta .cm-btn { --inv-fg: var(--accent-deep); }

.d-cta-card .cm-cta { position: relative; background: var(--bg); color: var(--text); border: 2px solid var(--accent); box-shadow: 0 18px 40px -28px var(--accent-glow); padding-left: 86px; }
.d-cta-card .cm-cta::before { content: "\2605"; position: absolute; left: 24px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font: 700 22px/1 var(--font-sys); }
.d-cta-card .cm-cta .cm-btn, .d-cta-outline .cm-cta .cm-btn { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--btn-sh); border: var(--btn-bd); }
@media (max-width: 600px) { .d-cta-card .cm-cta { padding-left: 20px; padding-top: 74px; } .d-cta-card .cm-cta::before { top: 18px; transform: none; left: 20px; } }

.d-cta-outline .cm-cta { flex-direction: column; text-align: center; background: var(--surface); color: var(--text); border: 2px dashed color-mix(in srgb, var(--accent) 60%, var(--bg)); box-shadow: none; }
.d-cta-outline .cm-content .cm-cta p { flex: none; max-width: 60ch; }

.d-cta-split .cm-cta { padding: 0; gap: 0; overflow: hidden; align-items: stretch; background: var(--accent2); }
.d-cta-split .cm-content .cm-cta p { padding: 22px 26px; }
.d-cta-split .cm-cta .cm-btn { margin: 0; }
@media (min-width: 700px) {
	.d-cta-split .cm-cta { flex-wrap: nowrap; }
	.d-cta-split .cm-cta::after { content: ""; display: none; }
	.d-cta-split .cm-cta .cm-btn { align-self: stretch; height: auto; min-width: 230px; border-radius: 0; --inv-bg: var(--accent); --inv-fg: var(--on-accent); box-shadow: none; padding: 0 28px; }
}
@media (max-width: 699px) { .d-cta-split .cm-cta .cm-btn { margin: 0 20px 20px; width: calc(100% - 40px); } }

.d-cta-banner .cm-cta { position: relative; overflow: hidden; isolation: isolate; flex-direction: column; text-align: center; padding: clamp(28px, 5vw, 48px) 24px; background: linear-gradient(120deg, var(--accent2), var(--accent-deep)); }
.d-cta-banner .cm-cta::before, .d-cta-banner .cm-cta::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.d-cta-banner .cm-cta::before { width: 260px; height: 260px; left: -90px; top: -120px; }
.d-cta-banner .cm-cta::after { width: 200px; height: 200px; right: -60px; bottom: -110px; }
.d-cta-banner .cm-content .cm-cta p { flex: none; max-width: 52ch; font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-family: var(--font-head); }
.d-cta-banner .cm-cta .cm-btn { min-height: 54px; padding: 0 34px; font-size: 17px; }

/* ================= Rating ================= */
.d-rating-circle .cm-rating { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; row-gap: 4px; align-items: start; padding: 22px; }
.d-rating-circle .cm-rating > * { grid-column: 2; }
.d-rating-circle .cm-rating > .cm-score { grid-column: 1; grid-row: 1 / span 6; }
.d-rating-circle .cm-score { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 116px; height: 116px; border-radius: 50%; background: radial-gradient(closest-side, var(--bg) 79%, transparent 81% 100%), conic-gradient(var(--accent) var(--p), var(--line) 0); }
.d-rating-circle .cm-score b { font: 800 32px/1 var(--font-head); color: var(--accent2); }
.d-rating-circle .cm-score small { color: var(--muted); font-size: 13px; }
.d-rating-circle .cm-rating .cm-stars { font-size: 18px; }
.d-rating-circle .cm-content .cm-rating ul { padding-left: 1.1em; }
@media (max-width: 560px) { .d-rating-circle .cm-rating { grid-template-columns: minmax(0, 1fr); } .d-rating-circle .cm-rating > *, .d-rating-circle .cm-rating > .cm-score { grid-column: 1; grid-row: auto; } .d-rating-circle .cm-score { width: 96px; height: 96px; } }

.d-rating-bars .cm-rating { display: block; padding: 22px; }
.d-rating-bars .cm-content .cm-rating ul { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 10px; }
.d-rating-bars .cm-rating li.cm-rbar { position: relative; padding-bottom: 14px; margin: 0; }
.d-rating-bars .cm-rating li.cm-rbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; border-radius: 7px; background: linear-gradient(90deg, var(--accent) var(--v), var(--line) var(--v)); }

.d-rating-badge .cm-rating { position: relative; border: 0; border-left: 6px solid var(--accent); background: var(--accent-soft); padding: 22px 22px 22px 24px; }
.d-rating-badge .cm-score { display: inline-flex; align-items: baseline; gap: 2px; padding: 8px 16px; border-radius: var(--chip-r); background: var(--accent2); color: var(--on-accent2); }
.d-rating-badge .cm-score b { font: 800 24px/1 var(--font-head); }
.d-rating-badge .cm-score small { opacity: .8; }

.d-rating-meter .cm-rating { display: block; padding: 22px; }
.d-rating-meter .cm-rating .cm-stars { display: none; }
.d-rating-meter .cm-score { display: block; margin-bottom: 10px; }
.d-rating-meter .cm-score b { font: 800 40px/1 var(--font-head); color: var(--accent2); }
.d-rating-meter .cm-score small { font-size: 16px; color: var(--muted); }
.d-rating-meter .cm-score::after { content: ""; display: block; height: 12px; margin-top: 10px; border-radius: 12px; background: linear-gradient(90deg, var(--accent), var(--accent2)) 0 0 / var(--p) 100% no-repeat, var(--line); }
@media (min-width: 720px) { .d-rating-meter .cm-content .cm-rating ul { columns: 2; column-gap: 30px; } .d-rating-meter .cm-rating li { break-inside: avoid; } }

/* ================= Cards / logos / tables / notes ================= */
.d-cards-shadow .cm-card { padding: 0 0 18px; overflow: hidden; border: 0; box-shadow: 0 10px 30px -16px rgba(16, 24, 40, .35); }
.d-cards-shadow .cm-card > * { margin-inline: 18px; }
.d-cards-shadow .cm-card > img:first-child { margin: 0 0 14px; width: 100%; border-radius: 0; }
.d-cards-shadow .cm-card > img[src*="pay-"]:first-child, .d-cards-shadow .cm-card > img[src*="prov-"]:first-child, .d-cards-shadow .cm-card > img[src$=".svg"]:first-child { margin: 18px 18px 12px; width: auto; }
.d-cards-flat .cm-card { border: 0; border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius); background: var(--surface); box-shadow: none; }
.d-cards-flat .cm-card:hover { transform: none; box-shadow: none; }

.d-logos-strip .cm-content .cm-logos { gap: 0; border: var(--bd); border-radius: var(--radius); overflow: hidden; background: #fff; }
.d-logos-strip .cm-logos li { flex: 1 1 110px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; margin: 0 -1px -1px 0; box-shadow: none; }
.d-logos-strip .cm-logos img { filter: grayscale(1); opacity: .8; transition: filter .2s ease, opacity .2s ease; }
.d-logos-strip .cm-logos li:hover img { filter: none; opacity: 1; }
.d-logos-chips .cm-logos li { border: 0; border-radius: var(--chip-r); background: var(--surface); height: 50px; padding: 8px 22px; box-shadow: none; }

.d-table-lines .cm-table { border: 0; border-radius: 0; background: none; box-shadow: none; }
.d-table-lines .cm-table thead th { background: none; color: var(--text); border-bottom: 3px solid var(--accent); }
.d-table-lines .cm-table tbody tr:nth-child(even) { background: none; }
.d-table-lines .cm-table tbody tr > * { border-top: 1px solid var(--line); }
.d-table-soft .cm-table thead th { background: var(--accent-soft); color: var(--accent2); }
.d-table-soft .cm-table tbody tr:nth-child(even) { background: none; }
.d-table-soft .cm-table tbody tr:hover { background: var(--surface); }

.d-note-box .cm-note { position: relative; border: var(--bd); border-left: var(--bd); border-radius: var(--radius); background: var(--bg); padding: 16px 18px 16px 58px; }
.d-note-box .cm-note::before { content: "i"; position: absolute; left: 18px; top: 16px; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent2); color: var(--on-accent2); font: italic 700 15px/1 Georgia, serif; }
.d-note-dashed .cm-note { border: 2px dashed color-mix(in srgb, var(--accent) 55%, var(--bg)); border-radius: var(--radius); background: var(--surface); }

/* ================= Footer ================= */
.d-footer-dark .cm-footer { background: var(--dark); color: rgba(255, 255, 255, .78); border-top: 0; }
.d-footer-dark .cm-footer .cm-logo__name { fill: #fff; }
.d-footer-dark .cm-footer__brand p, .d-footer-dark .cm-footer__list a, .d-footer-dark .cm-footer__legal { color: rgba(255, 255, 255, .7); }
.d-footer-dark .cm-footer__title { color: #fff; }
.d-footer-dark .cm-footer__list a:hover { color: #fff; }
.d-footer-dark .cm-footer__legal { border-top-color: rgba(255, 255, 255, .14); }
.d-footer-dark .cm-age { border-color: #ff7b7b; color: #ff9b9b; }
.cm-footer__cta { margin-top: 16px; }

.d-footer-centered .cm-footer { text-align: center; }
.d-footer-centered .cm-footer__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; }
.d-footer-centered .cm-footer__brand { display: flex; flex-direction: column; align-items: center; }
.d-footer-centered .cm-footer__title { display: none; }
.d-footer-centered .cm-footer__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.d-footer-centered .cm-footer__list li { margin: 0; }
.d-footer-centered .cm-footer__badges { justify-content: center; }
.d-footer-centered .cm-footer__disclaimer { margin-inline: auto; }

.d-footer-compact .cm-footer { padding: 30px 0 22px; font-size: 14px; }
.d-footer-compact .cm-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.d-footer-compact .cm-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.d-footer-compact .cm-footer__brand p { margin: 0; max-width: none; }
.d-footer-compact .cm-footer__brand p:not(.cm-footer__mail) { display: none; }
.d-footer-compact .cm-footer__grid > div:not(.cm-footer__brand) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.d-footer-compact .cm-footer__title { margin: 0; min-width: 110px; }
.d-footer-compact .cm-footer__list { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.d-footer-compact .cm-footer__list li { margin: 0; }
.d-footer-compact .cm-footer__legal { margin-top: 18px; padding-top: 14px; }

.d-footer-split .cm-footer { background: var(--bg); border-top: 5px solid var(--accent); }
.d-footer-split .cm-footer__brand { padding: 22px; border-radius: var(--r-lg); background: var(--surface); }
.d-footer-split .cm-footer__title { color: var(--accent2); }
.d-footer-split .cm-footer__legal { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; border: 0; }

.d-footer-minimal .cm-footer { background: var(--bg); padding: 40px 0 24px; }
.d-footer-minimal .cm-footer__title { font-size: 12px; color: var(--muted); letter-spacing: .14em; }
.d-footer-minimal .cm-footer__list a { color: var(--text); }
.d-footer-minimal .cm-footer__legal { text-align: center; font-size: 12.5px; }
.d-footer-minimal .cm-footer__badges { justify-content: center; }
.d-footer-minimal .cm-footer__disclaimer { margin-inline: auto; }
.d-footer-minimal .cm-age { width: 34px; height: 34px; font-size: 12px; }

/* ================= Sticky mobile CTA ================= */
@media (max-width: 960px) {
	.d-sticky-pill .cm-sticky { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 14px 34px -14px rgba(16, 24, 40, .5); transform: translateY(140%); }
	.d-sticky-pill .cm-sticky .cm-btn { border-radius: 999px; }
	.d-sticky-accent .cm-sticky { background: var(--accent2); color: var(--on-accent2); border-top: 0; }
	.d-sticky-accent .cm-sticky__txt small { color: inherit; opacity: .8; }
	.d-sticky-accent .cm-sticky .cm-btn { background: #fff; color: var(--accent2); box-shadow: none; border: 0; }
	.cm-d.cm-show-sticky .cm-sticky, .cm-d .cm-sticky:focus-within { transform: none; }
}

/* ================= Buttons ================= */
.d-buttons-solid { --btn-bg: var(--accent); --btn-sh: none; }
.d-buttons-outline { --btn-bg: var(--bg); --btn-fg: var(--text); --btn-bd: 2px solid var(--accent); --btn-sh: none; }
.d-buttons-outline .cm-btn:hover { background: var(--accent); color: var(--on-accent); }
.d-buttons-raised { --btn-bg: var(--accent); --btn-sh: 0 4px 0 var(--accent-deep), 0 10px 20px -10px var(--accent-glow); }
.d-buttons-raised .cm-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-deep); }
.d-buttons-glow { --btn-bg: linear-gradient(90deg, var(--accent), var(--accent-deep), var(--accent)); --btn-sh: 0 0 0 4px var(--accent-soft), 0 14px 30px -10px var(--accent-glow); }
.d-buttons-glow .cm-btn { background-size: 200% 100%; transition: background-position .4s ease, transform .15s ease; }
.d-buttons-glow .cm-btn:hover { background-position: 100% 0; }
.d-buttons-caps { --btn-bg: var(--accent2); --btn-fg: var(--on-accent2); --btn-sh: none; --inv-fg: var(--accent2); }
.d-buttons-caps .cm-btn { text-transform: uppercase; letter-spacing: .1em; font-size: 13.5px; }
.d-buttons-caps .cm-btn--lg { font-size: 15px; }
