/* CPD Dashboard v2 — scoped to .cpdv2 */
.cpdv2 {
    --cpd-red: #D41028;
    --cpd-red-hover: #ED3221;
    --cpd-red-soft: #F0334A;
    --cpd-ink: #1C1C1C;
    --cpd-ink-2: #383838;
    --cpd-muted: #575757;
    --cpd-muted-2: #747474;
    --cpd-line: #E7E8EA;
    --cpd-line-2: #D2D2D2;
    --cpd-bg: #EEEEEE;
    --cpd-white: #FFFFFF;
    --cpd-green: #00B67A;
    --cpd-amber: #F79300;
    --cpd-shadow: 0 4px 6px -2px rgba(16, 24, 40, .05), 0 4px 16px -4px rgba(16, 24, 40, .10);
    --cpd-gutter: clamp(16px, 4vw, 40px);
    --cpd-section: clamp(64px, 8vw, 120px);

    background: var(--cpd-bg);
    color: var(--cpd-ink);
    font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

.cpdv2 *, .cpdv2 *::before, .cpdv2 *::after { box-sizing: border-box; }
.cpdv2 h1, .cpdv2 h2, .cpdv2 h3, .cpdv2 p, .cpdv2 figure, .cpdv2 blockquote { margin: 0; }
.cpdv2 img { max-width: 100%; }
.cpdv2 a { text-decoration: none; }
.cpdv2 [hidden] { display: none !important; }
/* Neutralise the theme's global `button` styles; :where keeps specificity at one class so component rules win. */
.cpdv2 :where(button) { max-width: none; width: auto; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; font: inherit; color: inherit; text-align: inherit; line-height: inherit; }
/* Neutralise the theme's global heading styles; component classes below set the real type. */
.cpdv2 :where(h1, h2, h3, h4) { margin: 0; padding: 0; font: inherit; letter-spacing: inherit; color: inherit; text-transform: none; }

/* Layout */
.cpdv2-wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--cpd-gutter); padding-right: var(--cpd-gutter); }
.cpdv2-section { padding-top: var(--cpd-section); }
.cpdv2-section--bottom { padding-bottom: var(--cpd-section); }

.cpdv2-band { padding: 0 clamp(8px, 2vw, 20px); }
.cpdv2-band__inner { max-width: 1880px; margin: 0 auto; border-radius: 22px; padding: clamp(56px, 7vw, 110px) var(--cpd-gutter); position: relative; overflow: hidden; }
.cpdv2-band__inner--dark { background: var(--cpd-ink); color: var(--cpd-white); }
.cpdv2-band__inner--white { background: var(--cpd-white); }
.cpdv2-band__inner--red { background: var(--cpd-red); color: var(--cpd-white); }
.cpdv2-band__content { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; position: relative; }
.cpdv2-band--cta { padding-top: var(--cpd-section); }

.cpdv2-head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cpdv2-head--narrow { max-width: 860px; }
.cpdv2-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; align-items: end; }

/* Type */
.cpdv2-kicker { font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--cpd-muted); }
.cpdv2-kicker--light { color: #B2B5BC; }
.cpdv2-h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; color: inherit; }
.cpdv2-h2--cta { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.08; }
.cpdv2-lead { font-size: 18px; line-height: 26px; color: var(--cpd-muted); text-wrap: pretty; }
.cpdv2-lead--light { color: var(--cpd-line-2); }
.cpdv2-lead--white { color: var(--cpd-white); }
.cpdv2-body { font-size: 16px; line-height: 24px; color: var(--cpd-muted); }
.cpdv2-fine { font-size: 12px; line-height: 18px; color: var(--cpd-muted-2); }
.cpdv2-fine--center { text-align: center; font-size: 13px; color: var(--cpd-muted); }
.cpdv2-accent { color: var(--cpd-red); }

/* Buttons */
.cpdv2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 50px; padding: 0 20px; border-radius: 8px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.cpdv2-btn span { transition: transform .2s; }
.cpdv2-btn:hover span { transform: translateX(3px); }
.cpdv2-btn--primary { background: var(--cpd-red); color: var(--cpd-white); }
.cpdv2-btn--primary:hover { background: var(--cpd-red-hover); color: var(--cpd-white); }
.cpdv2-btn--ghost { border: 1px solid var(--cpd-line-2); color: var(--cpd-ink); }
.cpdv2-btn--ghost:hover { background: #F8F8F8; color: var(--cpd-ink); }
.cpdv2-btn--dark { background: #333; color: var(--cpd-white); }
.cpdv2-btn--dark:hover, .cpdv2-btn--black:hover { background: #000; color: var(--cpd-white); }
.cpdv2-btn--black { background: var(--cpd-ink); color: var(--cpd-white); }
.cpdv2-btn--block { display: flex; width: 100%; }
.cpdv2-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Eyebrow + decorative squares */
.cpdv2-eyebrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--cpd-muted); }
.cpdv2-eyebrow__mark { display: inline-block; width: 8px; height: 8px; background: var(--cpd-red); border-radius: 2px; flex: none; }
.cpdv2-squares { position: absolute; display: grid; grid-template-columns: 40px 40px; pointer-events: none; }
.cpdv2-squares span { width: 40px; height: 40px; }
.cpdv2-squares--hero { top: -20px; right: -12px; }
.cpdv2-squares--hero span:nth-child(1) { background: var(--cpd-red); }
.cpdv2-squares--hero span:nth-child(4) { background: var(--cpd-ink); }
.cpdv2-squares--cta { right: 40px; top: 40px; }
.cpdv2-squares--cta span:nth-child(1) { background: var(--cpd-ink); }
.cpdv2-squares--cta span:nth-child(4) { background: var(--cpd-red-soft); }

/* Hero */
.cpdv2-hero { padding-top: clamp(120px, 12vw, 170px); padding-bottom: 64px; }
.cpdv2-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 56px; align-items: center; }
.cpdv2-hero__copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.cpdv2-hero__title { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.04; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; color: var(--cpd-ink); }
.cpdv2-hero__copy .cpdv2-lead { max-width: 560px; }
.cpdv2-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--cpd-line-2); border: 1px solid var(--cpd-line-2); border-radius: 12px; overflow: hidden; margin-top: 8px; }
.cpdv2-stats > div { background: var(--cpd-bg); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.cpdv2-stats strong { font-size: 24px; line-height: 28px; font-weight: 500; letter-spacing: -.02em; }
.cpdv2-stats span { font-size: 13px; line-height: 18px; color: var(--cpd-muted); }

.cpdv2-hero__media { position: relative; min-width: 0; }
.cpdv2-video-frame { position: relative; background: var(--cpd-ink); border-radius: 22px; padding: clamp(8px, 1.6vw, 18px); box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.cpdv2-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000 center / cover no-repeat; }
.cpdv2-video iframe, .cpdv2-video__play, .cpdv2-video__play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cpdv2-video__play { padding: 0; margin: 0; background: none; cursor: pointer; display: block; }
.cpdv2-video__play img { object-fit: cover; transition: transform .4s cubic-bezier(.16, 1, .3, 1), filter .3s; }
.cpdv2-video__play:hover img { transform: scale(1.02); filter: brightness(.9); }
.cpdv2-video__icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--cpd-red); color: var(--cpd-white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(212, 16, 40, .45); transition: transform .2s, background-color .2s; }
.cpdv2-video__icon svg { margin-left: 4px; }
.cpdv2-video__play:hover .cpdv2-video__icon { transform: scale(1.06); background: var(--cpd-red-hover); }
.cpdv2-video__play:focus-visible { outline: 3px solid var(--cpd-red); outline-offset: 3px; }

.cpdv2-toast { position: absolute; left: -16px; bottom: -28px; background: var(--cpd-white); border-radius: 12px; padding: 14px 16px; box-shadow: var(--cpd-shadow); display: flex; gap: 12px; align-items: center; max-width: 320px; }
.cpdv2-toast img { height: 22px; width: auto; flex: none; }
.cpdv2-toast div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 18px; }
.cpdv2-toast strong { font-weight: 500; }
.cpdv2-toast span { color: var(--cpd-muted); }

/* Client logos */
.cpdv2-logos { padding-top: 56px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.cpdv2-logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 48px; }
.cpdv2-logos__row img { height: 30px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: opacity .2s, filter .2s; }
.cpdv2-logos__row img:hover { filter: none; opacity: 1; }

/* Problem */
.cpdv2-problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.cpdv2-problem { background: var(--cpd-ink-2); border-radius: 12px; padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.cpdv2-problem__num { font-size: clamp(56px, 6vw, 74px); line-height: 1; font-weight: 500; letter-spacing: -.02em; color: var(--cpd-red-soft); }
.cpdv2-problem .cpdv2-problem__title { font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -.02em; color: var(--cpd-white); }
.cpdv2-problem p { font-size: 16px; line-height: 24px; color: var(--cpd-line-2); text-wrap: pretty; }

.cpdv2-tags, .cpdv2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cpdv2-tags--dark { margin-top: auto; }
.cpdv2-tags--dark span { height: 30px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--cpd-muted); font-size: 12px; line-height: 28px; color: var(--cpd-line-2); }
.cpdv2-chips span { padding: 3px 10px; border-radius: 6px; background: #F1F1F1; font-size: 12px; line-height: 18px; color: var(--cpd-muted); }

/* Solution */
.cpdv2-solution { padding-top: var(--cpd-section); padding-bottom: 40px; }
.cpdv2-solution .cpdv2-head { gap: 20px; }

/* Pillars */
.cpdv2-pillars { padding-top: 24px; padding-bottom: var(--cpd-section); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 32px; align-items: start; }
.cpdv2-pillars__list { display: flex; flex-direction: column; gap: 8px; }
.cpdv2-pillar { appearance: none; border: 0; background: transparent; text-align: left; cursor: pointer; font: inherit; color: inherit; border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; transition: background-color .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s; }
.cpdv2-pillar:hover { background: rgba(255, 255, 255, .5); }
.cpdv2-pillar.is-active { background: var(--cpd-white); box-shadow: var(--cpd-shadow); }
.cpdv2-pillar__btn:focus-visible { outline: 2px solid var(--cpd-red); outline-offset: 2px; }
.cpdv2-pillar__meta { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--cpd-muted); }
.cpdv2-pillar__num { color: #B2B5BC; }
.cpdv2-pillar.is-active .cpdv2-pillar__num { color: var(--cpd-red); }
.cpdv2-pillar__title { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -.02em; }
.cpdv2-pillar__detail { display: none; flex-direction: column; gap: 8px; padding-top: 4px; }
.cpdv2-pillar.is-active .cpdv2-pillar__detail { display: flex; }
.cpdv2-pillar__outcome { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--cpd-red); }
.cpdv2-pillar__body { font-size: 15px; line-height: 23px; color: var(--cpd-muted); }
.cpdv2-pillar__progress { display: none; height: 2px; background: var(--cpd-line); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.cpdv2-pillar.is-active .cpdv2-pillar__progress { display: block; }
.cpdv2-pillar__progress span { display: block; height: 2px; width: 100%; background: var(--cpd-red); transform-origin: left; transform: scaleX(var(--p, 1)); }

.cpdv2-window { position: sticky; top: 110px; background: var(--cpd-white); border-radius: 22px; padding: clamp(16px, 2.4vw, 28px); box-shadow: var(--cpd-shadow); min-height: 520px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cpdv2-window__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--cpd-line); }
.cpdv2-window__dots { display: flex; gap: 6px; }
.cpdv2-window__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--cpd-line-2); }
.cpdv2-window__url { font-size: 12px; line-height: 18px; color: var(--cpd-muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpdv2-panel { display: flex; flex-direction: column; gap: 16px; animation: cpdv2-fade .35s cubic-bezier(.16, 1, .3, 1); }
@keyframes cpdv2-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cpdv2-panel__head { display: flex; flex-direction: column; gap: 2px; }
.cpdv2-panel__head strong, .cpdv2-panel__head--row div strong { font-size: 20px; line-height: 26px; font-weight: 500; }
.cpdv2-panel__head span, .cpdv2-panel__head--row div span { font-size: 13px; color: var(--cpd-muted); }
.cpdv2-panel__head--row { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.cpdv2-panel__head--row div { display: flex; flex-direction: column; gap: 2px; }

.cpdv2-shot, .cpdv2-shot-stack > img { width: 100%; display: block; border-radius: 12px; border: 1px solid var(--cpd-line); }
.cpdv2-shot-stack { position: relative; padding-bottom: clamp(40px, 10%, 90px); }
.cpdv2-shot-stack__over { position: absolute; right: -6px; bottom: 0; width: 40%; box-shadow: 0 8px 24px -4px rgba(16, 24, 40, .22); border-radius: 12px; overflow: hidden; background: var(--cpd-white); }
.cpdv2-shot-stack__over img { width: 100%; display: block; }

.cpdv2-rule { border: 1px solid var(--cpd-line); border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; }
.cpdv2-rule > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.cpdv2-rule__scope { font-size: 12px; color: var(--cpd-muted); letter-spacing: .08em; text-transform: uppercase; }
.cpdv2-rule strong { font-size: 16px; font-weight: 500; }
.cpdv2-rule__hours { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.cpdv2-rule__hours strong { font-size: 20px; letter-spacing: -.02em; }
.cpdv2-rule__hours span { font-size: 12px; color: var(--cpd-muted); }
.cpdv2-rule__cats { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.cpdv2-rule__cats span { font-size: 12px; line-height: 18px; padding: 3px 10px; border-radius: 6px; background: #FEEFC4; }
.cpdv2-reminders { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #F8F8F8; border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.cpdv2-reminders__pills { display: flex; gap: 6px; }
.cpdv2-reminders__pills span { padding: 3px 10px; border-radius: 6px; background: var(--cpd-white); border: 1px solid var(--cpd-line-2); font-size: 12px; }

.cpdv2-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.cpdv2-status span { width: 8px; height: 8px; border-radius: 50%; background: var(--cpd-green); }
.cpdv2-sync-logos { display: flex; gap: 10px; flex-wrap: wrap; }
.cpdv2-sync-logos > span { display: flex; align-items: center; height: 44px; padding: 0 14px; border: 1px solid var(--cpd-line); border-radius: 8px; }
.cpdv2-sync-logos img { height: 20px; width: auto; }
.cpdv2-sync-logos img.is-tall { height: 28px; }
.cpdv2-sync-logos .is-dashed { border-style: dashed; border-color: var(--cpd-line-2); font-size: 13px; color: var(--cpd-muted); }
.cpdv2-sync-list { display: flex; flex-direction: column; border: 1px solid var(--cpd-line); border-radius: 12px; overflow: hidden; }
.cpdv2-sync { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--cpd-line); font-size: 14px; line-height: 20px; }
.cpdv2-sync:last-child { border-bottom: 0; }
.cpdv2-sync div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cpdv2-sync strong { font-weight: 500; }
.cpdv2-sync div span { font-size: 12px; color: var(--cpd-muted); }
.cpdv2-sync__pill { font-size: 13px; font-weight: 500; padding: 3px 10px; border-radius: 6px; background: #E0F2FE; color: #0057AE; white-space: nowrap; }

.cpdv2-range { display: flex; flex-direction: column; gap: 8px; }
.cpdv2-range > span { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.cpdv2-range strong { font-weight: 500; }
.cpdv2-range input { width: 100%; accent-color: var(--cpd-red); }
.cpdv2-bars { display: flex; flex-direction: column; gap: 12px; }
.cpdv2-bars > div { display: flex; flex-direction: column; gap: 6px; }
.cpdv2-bars__label { display: flex; justify-content: space-between; font-size: 14px; }
.cpdv2-bars__label > span { color: var(--cpd-muted); }
.cpdv2-bars__label strong { font-weight: 500; }
.cpdv2-bars__bar { display: block; height: 14px; border-radius: 4px; transition: width .25s cubic-bezier(.16, 1, .3, 1); }
.cpdv2-bars__bar--grey { background: var(--cpd-muted); }
.cpdv2-bars__bar--red { background: var(--cpd-red); }
.cpdv2-saving { background: var(--cpd-ink); color: var(--cpd-white); border-radius: 12px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cpdv2-saving span { font-size: 14px; color: var(--cpd-line-2); }
.cpdv2-saving strong { font-size: 32px; line-height: 36px; font-weight: 500; letter-spacing: -.02em; }

/* All features */
.cpdv2-fgroup { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--cpd-line); border-top: 1px solid var(--cpd-line); }
.cpdv2-fgroup > div { background: var(--cpd-white); }
.cpdv2-fgroup__name { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 6px; }
.cpdv2-fgroup__name span { font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .08em; color: var(--cpd-red); }
.cpdv2-fgroup__name strong { font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -.02em; }
.cpdv2-feature { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.cpdv2-feature .cpdv2-feature__title { display: flex; align-items: center; gap: 10px; font-size: 17px; line-height: 24px; font-weight: 500; }
.cpdv2-feature .cpdv2-feature__title svg { color: var(--cpd-red); flex: none; }
.cpdv2-feature > span { font-size: 15px; line-height: 22px; color: var(--cpd-muted); }

/* Comparison */
.cpdv2-section > .cpdv2-head + .cpdv2-compare,
.cpdv2-section > .cpdv2-head + .cpdv2-cards { margin-top: 40px; }
.cpdv2-compare { overflow-x: auto; border-radius: 12px; background: var(--cpd-white); box-shadow: var(--cpd-shadow); -webkit-overflow-scrolling: touch; }
.cpdv2-compare__table { min-width: 760px; display: flex; flex-direction: column; }
.cpdv2-compare__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; font-size: 14px; line-height: 20px; border-top: 1px solid var(--cpd-line); }
.cpdv2-compare__row > div { padding: 16px 22px; display: flex; gap: 10px; align-items: flex-start; color: var(--cpd-muted); }
.cpdv2-compare__row--head { border-top: 0; font-weight: 500; }
.cpdv2-compare__row--head > div { padding: 18px 22px; align-items: center; }
.cpdv2-compare__row--head .is-ours { background: var(--cpd-ink); color: var(--cpd-white); gap: 8px; }
.cpdv2-compare__row .is-label { color: var(--cpd-ink); font-weight: 500; }
.cpdv2-compare__row .is-ours-cell { background: #F8F8F8; color: var(--cpd-ink); }
.cpdv2-compare__row i { display: flex; flex: none; margin-top: 1px; font-style: normal; }
.cpdv2-compare__row i.is-yes { color: var(--cpd-green); }
.cpdv2-compare__row i.is-warn { color: var(--cpd-amber); }
.cpdv2-compare__row i.is-no { color: var(--cpd-red); }

/* Integrations */
.cpdv2-integrations { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; align-items: center; }
.cpdv2-integrations .cpdv2-head { gap: 20px; }
.cpdv2-int-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cpdv2-int-card { background: var(--cpd-white); border-radius: 12px; padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cpdv2-int-card.is-raised, .cpdv2-card.is-raised { box-shadow: var(--cpd-shadow); }
.cpdv2-int-card--wide { grid-column: 1 / -1; }
.cpdv2-int-card--dashed { background: transparent; border: 1px dashed var(--cpd-line-2); }
.cpdv2-int-card--dashed strong { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.cpdv2-int-card__logo { height: 44px; display: flex; align-items: center; }
.cpdv2-int-card__logo img { max-height: 36px; width: auto; max-width: 100%; }
.cpdv2-int-card__tag { font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--cpd-muted); }
.cpdv2-int-card__tag.is-green { color: var(--cpd-green); }
.cpdv2-int-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; align-items: center; }
.cpdv2-int-logos img { height: 26px; width: 100%; object-fit: contain; object-position: left center; filter: grayscale(1); opacity: .7; }

/* Cards */
.cpdv2-cards { display: grid; gap: 16px; }
.cpdv2-cards--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cpdv2-card { background: var(--cpd-white); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.cpdv2-card__num { font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .08em; color: var(--cpd-red); }
.cpdv2-card__big { font-size: clamp(36px, 3.4vw, 48px); line-height: 1.05; font-weight: 500; letter-spacing: -.02em; }
.cpdv2-card .cpdv2-card__title { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -.02em; }
.cpdv2-card > span:last-child { font-size: 15px; line-height: 23px; color: var(--cpd-muted); }

/* How it works */
.cpdv2-how__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.cpdv2-how__head .cpdv2-head { max-width: 760px; }
.cpdv2-badge-dark { font-size: 14px; line-height: 20px; padding: 8px 14px; border-radius: 8px; background: var(--cpd-ink); color: var(--cpd-white); }
.cpdv2-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 2px solid var(--cpd-ink); }
.cpdv2-step { padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.cpdv2-step__dot { position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--cpd-ink); }
.cpdv2-step.is-first .cpdv2-step__dot { background: var(--cpd-red); }
.cpdv2-step .cpdv2-step__title { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -.02em; }
.cpdv2-step > span:last-child { font-size: 15px; line-height: 23px; color: var(--cpd-muted); }
.cpdv2-inline-cta { margin-top: 48px; background: var(--cpd-white); border-radius: 12px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; box-shadow: var(--cpd-shadow); }
.cpdv2-inline-cta > div { display: flex; flex-direction: column; gap: 4px; max-width: 720px; }
.cpdv2-inline-cta .cpdv2-inline-cta__title { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -.02em; }
.cpdv2-inline-cta > div > span { font-size: 15px; line-height: 22px; color: var(--cpd-muted); }

/* Testimonials */
.cpdv2-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.cpdv2-quote { background: var(--cpd-ink-2); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.cpdv2-quote blockquote { font-size: 18px; line-height: 27px; letter-spacing: -.01em; color: var(--cpd-white); padding: 0; border: 0; quotes: none; }
.cpdv2-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 20px; color: var(--cpd-line-2); }
.cpdv2-quote figcaption img, .cpdv2-quote__init { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; }
.cpdv2-quote__init { background: var(--cpd-muted); color: var(--cpd-white); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; }
.cpdv2-quote figcaption > span { display: flex; flex-direction: column; }
.cpdv2-quote figcaption strong { color: var(--cpd-white); font-weight: 500; }

/* Pricing */
.cpdv2-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; align-items: start; }
.cpdv2-pricing .cpdv2-head { gap: 20px; }
.cpdv2-price-card { background: var(--cpd-white); border-radius: 22px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; box-shadow: 0 8px 24px -4px rgba(16, 24, 40, .12); }
.cpdv2-price-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.cpdv2-price-card__top div { display: flex; flex-direction: column; gap: 4px; }
.cpdv2-price-card__top .cpdv2-price-card__title { font-size: 24px; line-height: 28px; font-weight: 500; letter-spacing: -.02em; }
.cpdv2-price-card__top span { font-size: 15px; color: var(--cpd-muted); }
.cpdv2-pill-pink { font-size: 12px !important; line-height: 18px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: #FAD2CF; color: var(--cpd-ink) !important; }
.cpdv2-price-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.cpdv2-price-card__amount { font-size: clamp(56px, 6vw, 74px); line-height: 1; font-weight: 500; letter-spacing: -.02em; }
.cpdv2-price-card__suffix { font-size: 18px; color: var(--cpd-muted); }
.cpdv2-currency { margin-left: auto; display: inline-flex; padding: 3px; border-radius: 8px; background: #F1F1F1; align-self: center; }
.cpdv2-currency button { appearance: none; border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .04em; padding: 6px 10px; border-radius: 6px; cursor: pointer; color: var(--cpd-muted); }
.cpdv2-currency button.is-active { background: var(--cpd-white); color: var(--cpd-ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
.cpdv2-included { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--cpd-line); padding-top: 20px; }
.cpdv2-included > span:first-child { font-size: 14px; font-weight: 500; }
.cpdv2-included__item { display: flex; gap: 10px; align-items: center; font-size: 16px; line-height: 24px; }
.cpdv2-included__item svg { color: var(--cpd-red); flex: none; }

/* CTA */
.cpdv2-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px; align-items: end; }
.cpdv2-cta .cpdv2-head { gap: 20px; }
.cpdv2-cta__side { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cpdv2-cta__list { display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 24px; }
.cpdv2-cta__note { font-size: 14px; line-height: 20px; opacity: .85; }

/* FAQ */
.cpdv2-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; align-items: start; }
.cpdv2-faq .cpdv2-head { position: sticky; top: 110px; }
.cpdv2-faq__list { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cpdv2-faq__item { background: var(--cpd-white); border-radius: 12px; overflow: hidden; }
.cpdv2-faq__item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; line-height: 26px; font-weight: 500; }
.cpdv2-faq__item summary::-webkit-details-marker { display: none; }
.cpdv2-faq__item summary:focus-visible { outline: 2px solid var(--cpd-red); outline-offset: -2px; }
.cpdv2-faq__item summary i { flex: none; width: 20px; height: 20px; position: relative; }
.cpdv2-faq__item summary i::before, .cpdv2-faq__item summary i::after { content: ""; position: absolute; background: var(--cpd-ink); transition: transform .2s; }
.cpdv2-faq__item summary i::before { left: 0; top: 9px; width: 20px; height: 2px; }
.cpdv2-faq__item summary i::after { left: 9px; top: 0; width: 2px; height: 20px; }
.cpdv2-faq__item[open] summary i::after { transform: scaleY(0); }
.cpdv2-faq__item p { padding: 0 24px 22px; font-size: 16px; line-height: 24px; color: var(--cpd-muted); text-wrap: pretty; }

/* Responsive */
@media (max-width: 1100px) {
    .cpdv2-window { position: relative; top: 0; min-height: 0; }
    .cpdv2-faq { grid-template-columns: 1fr; }
    .cpdv2-faq .cpdv2-head { position: static; }
}

@media (max-width: 767px) {
    .cpdv2-hero { padding-top: 110px; }
    .cpdv2-hero__grid { gap: 48px; }
    .cpdv2-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cpdv2-squares--hero { right: -4px; top: -16px; grid-template-columns: 28px 28px; }
    .cpdv2-squares--hero span { width: 28px; height: 28px; }
    .cpdv2-toast { position: relative; left: auto; bottom: auto; margin: -18px 12px 0; max-width: none; }
    .cpdv2-logos__row { gap: 20px 32px; }
    .cpdv2-logos__row img { height: 24px; max-width: 110px; }
    .cpdv2-int-grid { grid-template-columns: 1fr; }
    .cpdv2-int-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cpdv2-shot-stack__over { width: 52%; right: 0; }
    .cpdv2-squares--cta { right: 16px; top: 16px; grid-template-columns: 24px 24px; }
    .cpdv2-squares--cta span { width: 24px; height: 24px; }
    .cpdv2-btn { white-space: normal; text-align: center; }
    .cpdv2-actions .cpdv2-btn { flex: 1 1 auto; }
    .cpdv2-faq__item summary { font-size: 16px; line-height: 24px; padding: 18px 20px; }
    .cpdv2-faq__item p { padding: 0 20px 20px; }
    .cpdv2-currency { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .cpdv2 *, .cpdv2 *::before, .cpdv2 *::after { animation: none !important; transition: none !important; }
}

/* ===================== Site alignment =====================
   Matches the academysmart.com design language: Geist at 400 for headings,
   red accent phrase in titles, -1px tracking, flat bordered cards, site buttons. */

.cpdv2 {
    --cpd-hero-accent: #E10600;
    --cpd-card-border: #D2D2D2;
    --cpd-section: clamp(56px, 9vw, 140px);
    --cpd-gutter: clamp(16px, 3vw, 40px);
    --cpd-shadow: none;
    letter-spacing: -1px;
}
.cpdv2-wrap { max-width: 1440px; }
.cpdv2-band__content { max-width: 1360px; }

/* Type scale (desktop → mobile matches site blocks) */
.cpdv2 .cpdv2-hero__title { font-size: clamp(36px, 5vw, 72px); line-height: 1.06; font-weight: 500; letter-spacing: -.02em; }
.cpdv2 .cpdv2-hero__title .cpdv2-accent { color: var(--cpd-hero-accent); }
.cpdv2-h2 { font-size: clamp(32px, 3.75vw, 54px); line-height: 1.15; font-weight: 400; letter-spacing: -.025em; }
.cpdv2-h2--cta { font-size: clamp(32px, 3.75vw, 54px); line-height: 1.15; }
.cpdv2-h2 .cpdv2-accent, .cpdv3-view__copy h3 .cpdv2-accent { color: var(--cpd-red); }
.cpdv2-band__inner--dark .cpdv2-h2 .cpdv2-accent { color: var(--cpd-red-soft); }
.cpdv2-band__inner--red .cpdv2-h2 .cpdv2-accent { color: var(--cpd-white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cpdv2-lead { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.4; letter-spacing: -1px; }
.cpdv2-body { letter-spacing: -1px; }

/* Card / item headings: regular weight, 24px like site item titles */
.cpdv2-problem .cpdv2-problem__title,
.cpdv2-card .cpdv2-card__title,
.cpdv2-step .cpdv2-step__title,
.cpdv2-pillar__title,
.cpdv2-fgroup__name strong,
.cpdv3-flow__step > strong,
.cpdv2-inline-cta .cpdv2-inline-cta__title,
.cpdv2-price-card__top .cpdv2-price-card__title,
.cpdv3-report__top strong { font-weight: 400; letter-spacing: -1px; }
.cpdv2-problem .cpdv2-problem__title, .cpdv2-card .cpdv2-card__title, .cpdv2-step .cpdv2-step__title, .cpdv3-flow__step > strong { font-size: 24px; line-height: 28px; }
.cpdv2-feature .cpdv2-feature__title, .cpdv2-panel__head strong, .cpdv2-rule strong, .cpdv2-sync strong { font-weight: 500; letter-spacing: -.5px; }
.cpdv3-view__copy h3 { font-weight: 400; letter-spacing: -.025em; }

/* Numbers: site uses regular weight for figures */
.cpdv2-stats strong, .cpdv2-problem__num, .cpdv2-card__big, .cpdv2-price-card__amount,
.cpdv3-case__stats strong, .cpdv3-trust strong, .cpdv3-report__summary strong, .cpdv2-saving strong { font-weight: 400; letter-spacing: -.02em; }

/* Kickers become the site's small uppercase badge */
.cpdv2-kicker { display: inline-flex; align-items: center; align-self: flex-start; width: auto; padding: 3px 10px; border-radius: 9px; background: var(--cpd-white); color: var(--cpd-red); font-size: 11px; line-height: 18px; font-weight: 400; letter-spacing: -.2px; text-transform: uppercase; }
.cpdv2-kicker--light { background: rgba(255, 255, 255, .12); color: var(--cpd-white); }
.cpdv2-band__inner--white .cpdv2-kicker { background: var(--cpd-bg); }
.cpdv2-step .cpdv2-kicker, .cpdv3-flow__step .cpdv2-kicker { background: transparent; padding: 0; color: var(--cpd-muted); }
.cpdv2-logos .cpdv2-kicker { background: transparent; color: var(--cpd-muted); align-self: center; }
.cpdv2-eyebrow { display: inline-flex; align-self: flex-start; padding: 6px 10px; border-radius: 6px; background: rgba(255, 255, 255, .7); font-size: 11px; line-height: 18px; font-weight: 400; letter-spacing: -.2px; color: var(--cpd-ink); }
.cpdv2-pillar__meta { font-weight: 400; letter-spacing: -.2px; font-size: 11px; }

/* Flat surfaces: no drop shadows, thin borders like site cards */
.cpdv2-card,
.cpdv2-int-card,
.cpdv3-flow__step,
.cpdv3-ba--after,
.cpdv2-inline-cta { background: var(--cpd-bg); border: 1px solid var(--cpd-card-border); box-shadow: none; border-radius: 12px; }
.cpdv2-card.is-raised, .cpdv2-int-card.is-raised { box-shadow: none; }
.cpdv2-band__inner--white .cpdv2-card,
.cpdv2-band__inner--white .cpdv3-flow__step { background: var(--cpd-white); }
.cpdv2-int-card--dashed { border-style: dashed; background: transparent; }
.cpdv2-window, .cpdv2-price-card, .cpdv2-compare, .cpdv3-report, .cpdv3-seg, .cpdv3-proof { box-shadow: none; border: 1px solid var(--cpd-line); }
.cpdv2-price-card { border-radius: 24px; }
.cpdv2-pillar.is-active { box-shadow: none; border: 1px solid var(--cpd-card-border); }
.cpdv2-pillar { border: 1px solid transparent; }
.cpdv2-faq__item { border: 0; }
.cpdv2-faq__item summary { font-size: 18px; line-height: 26px; font-weight: 400; letter-spacing: -.5px; }
.cpdv2-faq__item p { letter-spacing: -.5px; }
.cpdv2-toast { box-shadow: 0 8px 24px -8px rgba(16, 24, 40, .18); }

/* Red band (problem section) like the site's red feature bands */
.cpdv2-band__inner--brand { background: var(--cpd-red); color: var(--cpd-white); }
.cpdv2-band__inner--brand .cpdv2-kicker { background: rgba(255, 255, 255, .16); color: var(--cpd-white); }
.cpdv2-band__inner--brand .cpdv2-lead { color: rgba(255, 255, 255, .88); }
.cpdv2-band__inner--brand .cpdv2-problem { background: rgba(0, 0, 0, .14); border: 1px solid rgba(255, 255, 255, .18); }
.cpdv2-band__inner--brand .cpdv2-problem__num { color: var(--cpd-white); }
.cpdv2-band__inner--brand .cpdv2-problem p { color: rgba(255, 255, 255, .85); }
.cpdv2-band__inner--brand .cpdv2-tags--dark span { border-color: rgba(255, 255, 255, .35); color: var(--cpd-white); }
.cpdv2-band__inner--brand .cpdv3-problem--risk { background: var(--cpd-ink); border-color: var(--cpd-ink); }
.cpdv2-band__inner--brand .cpdv3-problem--risk .cpdv2-problem__num { color: var(--cpd-red-soft); }

/* Site buttons inside our layout */
.cpdv2 .primary-button, .cpdv2 .lms-hero-unique__btn--secondary { width: auto; max-width: none; align-self: flex-start; text-decoration: none; }
.cpdv2 .primary-button.cpdv2-btn--block { width: 100%; justify-content: space-between; }
.cpdv2-actions { align-items: center; }
.cpdv2-actions .lms-hero-unique__btn--secondary { min-height: 50px; }
.cpdv2-band__inner--dark .lms-hero-unique__btn--secondary,
.cpdv2-band__inner--red .lms-hero-unique__btn--secondary { color: var(--cpd-white); border-color: rgba(255, 255, 255, .4); }

/* Calculator + toggles in site palette */
.cpdv2-bars__bar--red, .cpdv3-file b { background: var(--cpd-red); }
.cpdv2-currency button.is-active { box-shadow: none; }
.cpdv3-seg__btn.is-active { background: var(--cpd-ink); }

@media (max-width: 767px) {
    .cpdv2-problem .cpdv2-problem__title, .cpdv2-card .cpdv2-card__title, .cpdv2-step .cpdv2-step__title, .cpdv3-flow__step > strong { font-size: 20px; line-height: 24px; }
    .cpdv2-hero__title { line-height: 1.2; }
    .cpdv2 .primary-button, .cpdv2 .lms-hero-unique__btn--secondary { width: 100%; justify-content: space-between; }
    .cpdv2 .lms-hero-unique__btn--secondary { justify-content: center; }
    .cpdv2-faq__item summary { font-size: 16px; line-height: 24px; }
}

/* Accent phrase on red bands: dark ink, since red-on-red disappears. */
.cpdv2-band__inner--brand .cpdv2-h2 .cpdv2-accent, .cpdv2-band__inner--red .cpdv2-h2 .cpdv2-accent { color: var(--cpd-ink); text-decoration: none; }

@media (max-width: 767px) {
    .cpdv2-eyebrow__sep, .cpdv2-eyebrow__brand { display: none; }
}

/* ===================== SEO heading structure (matches production H1/H2/H3) ===================== */
.cpdv2-eyebrow__h1 { display: inline; font: inherit; letter-spacing: inherit; text-transform: uppercase; color: inherit; }
.cpdv2-pillar { cursor: pointer; }
.cpdv2-pillar__title { font-size: 22px; line-height: 28px; font-weight: 400; letter-spacing: -1px; }
.cpdv2-pillar__btn { display: block; width: 100%; text-align: left; cursor: pointer; }
.cpdv2-pillar__btn:focus-visible { outline: 2px solid var(--cpd-red); outline-offset: 4px; border-radius: 4px; }
.cpdv2-pillar__outcome::before { content: "→ "; }
.cpdv2-feature .cpdv2-feature__title { display: flex; align-items: center; gap: 10px; font-size: 17px; line-height: 24px; }
.cpdv2-card .cpdv2-card__title .cpdv2-card__big { display: block; margin-bottom: 12px; }
.cpdv2-inline-cta .cpdv2-inline-cta__title { font-size: 24px; line-height: 30px; font-weight: 400; letter-spacing: -1px; }
.cpdv2-price-card__top .cpdv2-price-card__title { font-size: 24px; line-height: 28px; }
.cpdv2-faq__q { font: inherit; letter-spacing: inherit; }
.cpdv2-problem .cpdv2-problem__title { font-size: 24px; line-height: 30px; color: inherit; }

/* LMS logos section ("Manage all CPD tasks in your LMS") */
.cpdv2-lms { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.cpdv2-lms__logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cpdv2-lms__tile { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 18px; background: var(--cpd-white); border: 1px solid var(--cpd-card-border); border-radius: 12px; }
.cpdv2-lms__tile img { max-width: 100%; max-height: 32px; object-fit: contain; }

@media (max-width: 1100px) {
    .cpdv2-lms { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
    .cpdv2-lms__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cpdv2-lms__tile { padding: 12px; }
    .cpdv2-lms__tile img { max-height: 24px; }
    .cpdv2-eyebrow__brand, .cpdv2-eyebrow__sep { display: none; }
    .cpdv2-problem .cpdv2-problem__title, .cpdv2-card .cpdv2-card__title, .cpdv2-step .cpdv2-step__title { font-size: 20px; line-height: 24px; }
    .cpdv2-pillar__title { font-size: 19px; line-height: 24px; }
}

/* ===================== Solution: real case-study imagery ===================== */
.cpdv2-solution { padding-bottom: 56px; }
.cpdv2-solution__head { margin-bottom: 40px; }
.cpdv2-solution__media { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--cpd-ink); }
.cpdv2-solution__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 5; object-fit: cover; }
.cpdv2-solution__caption { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); color: var(--cpd-ink); font-size: 14px; line-height: 20px; }
.cpdv2-solution__live { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; letter-spacing: -.3px; }
.cpdv2-solution__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--cpd-green); box-shadow: 0 0 0 4px rgba(0, 182, 122, .18); }
.cpdv2-solution__stats { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--cpd-muted); }
.cpdv2-solution__stats strong { color: var(--cpd-ink); font-weight: 500; }
.cpdv2-solution__link { margin-left: auto; color: var(--cpd-red); font-weight: 500; white-space: nowrap; }
.cpdv2-solution__link:hover { color: var(--cpd-red-hover); }

/* Real screenshots inside the product window */
.cpdv2-shot-real { border-radius: 12px; overflow: hidden; background: #1C1C1C; }
.cpdv2-shot-real img { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
    .cpdv2-solution__img { aspect-ratio: 4 / 3; object-position: 78% center; }
    .cpdv2-solution__caption { position: static; border-radius: 0; background: var(--cpd-white); flex-direction: column; align-items: flex-start; }
    .cpdv2-solution__stats { flex-direction: column; }
    .cpdv2-solution__link { margin-left: 0; }
}

/* ===================== Problem band: site cube pattern (mirrors .lms-hero-form) ===================== */
.cpdv2-band--cubes { position: relative; margin-top: 240px; padding: 0; background: linear-gradient(180deg, #EE1837 0%, #D41027 100%); }
.cpdv2-band--cubes::before,
.cpdv2-band--cubes::after { content: ""; position: absolute; top: -240px; height: 240px; z-index: 2; background-repeat: no-repeat; background-size: contain; pointer-events: none; }
.cpdv2-band--cubes::before { left: 0; width: 480px; background-image: url('/wp-content/uploads/2026/03/Group-1000007287-1.svg'); }
.cpdv2-band--cubes::after { right: 0; width: 240px; background-image: url('/wp-content/uploads/2026/03/Group-1000007288-1.svg'); }
.cpdv2-band--cubes .cpdv2-band__inner { max-width: none; border-radius: 0; background: transparent; padding: clamp(64px, 8vw, 110px) var(--cpd-gutter) clamp(72px, 9vw, 130px); overflow: visible; }

/* Title: white with the site's cream accent (never dark on red) */
.cpdv2-band--cubes .cpdv2-h2 { color: var(--cpd-white); }
.cpdv2-band--cubes .cpdv2-h2 .cpdv2-accent { color: #FFEDD5; text-decoration: none; }
.cpdv2-band--cubes .cpdv2-lead { color: var(--cpd-white); }
.cpdv2-band--cubes .cpdv2-kicker { background: rgba(255, 255, 255, .16); color: var(--cpd-white); }

/* Cards: the site's cream cards */
.cpdv2-band--cubes .cpdv2-problem { background: linear-gradient(180deg, #FFFDF8 0%, #FFF5E7 100%); border: 0; border-radius: 8px; box-shadow: 0 1px 0 rgba(16, 24, 40, .04); padding: 30px 30px 40px; gap: 18px; }
.cpdv2-band--cubes .cpdv2-problem__num { color: var(--cpd-red); }
.cpdv2-band--cubes .cpdv2-problem .cpdv2-problem__title { color: var(--cpd-ink); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; letter-spacing: -.02em; }
.cpdv2-band--cubes .cpdv2-problem p { color: var(--cpd-muted); font-size: 18px; line-height: 26px; }
.cpdv2-band--cubes .cpdv2-tags--dark span { border-color: var(--cpd-card-border); color: var(--cpd-ink); background: var(--cpd-white); }

@media (max-width: 1199px) {
    .cpdv2-band--cubes { margin-top: 0; }
    .cpdv2-band--cubes::before, .cpdv2-band--cubes::after { display: none; }
}
@media (max-width: 767px) {
    .cpdv2-band--cubes .cpdv2-problem { padding: 24px 22px 28px; }
    .cpdv2-band--cubes .cpdv2-problem p { font-size: 16px; line-height: 24px; }
}

/* Theme centres h2 under 768px; keep headings aligned with the body copy. */
.cpdv2 h1, .cpdv2 h2, .cpdv2 h3 { text-align: left; }

/* ===================== Pricing: billing period switch ===================== */
.cpdv2-price-card__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cpdv2-price-card__controls .cpdv2-currency { margin-left: 0; }
.cpdv2-billing { display: inline-flex; padding: 3px; border-radius: 10px; background: #F1F1F1; }
.cpdv2-billing button { padding: 8px 14px; border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: -.3px; color: var(--cpd-muted); cursor: pointer; transition: background-color .2s, color .2s; }
.cpdv2-billing button:hover { color: var(--cpd-ink); }
.cpdv2-billing button.is-active { background: var(--cpd-ink); color: var(--cpd-white); }
.cpdv2-billing button:focus-visible, .cpdv2-currency button:focus-visible { outline: 2px solid var(--cpd-red); outline-offset: 2px; }
.cpdv2-price-card__price { row-gap: 6px; }
.cpdv2-price-card__note { flex-basis: 100%; font-size: 15px; line-height: 22px; color: var(--cpd-muted); letter-spacing: -.5px; }

@media (max-width: 767px) {
    .cpdv2-billing { flex: 1 1 100%; }
    .cpdv2-billing button { flex: 1; padding: 8px 6px; }
}

/* ===================== Hero: site animated grid background (mirrors .lms-hero-unique) ===================== */
.cpdv2-hero-section { position: relative; overflow: hidden; background-color: var(--cpd-bg); }
.cpdv2-hero-section > .cpdv2-hero { position: relative; z-index: 2; padding-bottom: clamp(72px, 8vw, 120px); }
/* Let the pointer reach the grid through non-interactive hero content, so the cells react across the whole hero. */
.cpdv2-hero-section > .cpdv2-hero { pointer-events: none; }
.cpdv2-hero-section a, .cpdv2-hero-section button, .cpdv2-hero-section iframe, .cpdv2-hero-section .cpdv2-video-frame { pointer-events: auto; }
/* Small readability backing for the copy column, which sits directly on the grid lines. */
.cpdv2-hero-section .cpdv2-stats > div { background: rgba(238, 238, 238, .92); }

/* Grid fade behind the hero copy — same technique as .lms-hero-unique--bg-grid::before on the homepage
   (solid #EEE centre fading to transparent), centred on the text column because v2's hero is two-column. */
.cpdv2-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(52% 78% at 26% 52%, #EEEEEE 0%, #EEEEEE 42%, rgba(238, 238, 238, 0) 100%);
}
@media (max-width: 1100px) {
    /* Stacked layout: copy on top, video below. */
    .cpdv2-hero-section::before { background: radial-gradient(90% 46% at 50% 30%, #EEEEEE 0%, #EEEEEE 45%, rgba(238, 238, 238, 0) 100%); }
}

/* ===================== Integrations: "Any LMS + HR systems" card (merged LMS logos block) ===================== */
.cpdv2-integrations { align-items: start; }
.cpdv2-int-any { background: var(--cpd-white); border: 1px solid var(--cpd-card-border); gap: 22px; }
.cpdv2-int-any__head { display: flex; flex-direction: column; gap: 8px; }
.cpdv2-int-any__title { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 400; letter-spacing: -.02em; color: var(--cpd-ink); }
.cpdv2-int-any__title .cpdv2-accent { color: var(--cpd-red); }
.cpdv2-int-any__text { font-size: 16px; line-height: 24px; color: var(--cpd-muted); letter-spacing: -.5px; }
.cpdv2-int-any__logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cpdv2-int-any__tile { aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 12px 14px; border: 1px solid var(--cpd-line); border-radius: 10px; background: var(--cpd-white); }
.cpdv2-int-any__tile img { max-width: 100%; max-height: 26px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.cpdv2-int-any__tile:hover img { filter: none; opacity: 1; }
.cpdv2-int-any__ping { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; border: 1px dashed var(--cpd-card-border); border-radius: 10px; background: var(--cpd-bg); font-size: 15px; line-height: 22px; color: var(--cpd-muted); letter-spacing: -.5px; }
.cpdv2-int-any__ping strong { color: var(--cpd-ink); font-weight: 500; }
.cpdv2-int-any__link { flex: none; color: var(--cpd-red); font-weight: 500; white-space: nowrap; }
.cpdv2-int-any__link:hover { color: var(--cpd-red-hover); }

@media (max-width: 767px) {
    .cpdv2-int-any__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .cpdv2-int-any__tile { aspect-ratio: 2 / 1; padding: 10px 12px; }
    .cpdv2-int-any__tile img { max-height: 22px; }
}

/* ===================== How it works: timeline that survives wrapping ===================== */
/* Each step carries its own line segment, so its dot always sits on a line when the row wraps (tablets). */
.cpdv2-steps { border-top: 0; row-gap: 40px; }
.cpdv2-step { border-top: 2px solid var(--cpd-ink); }

/* Phones: vertical timeline — line down the left, dot beside each step. */
@media (max-width: 767px) {
    .cpdv2-steps { grid-template-columns: 1fr; row-gap: 0; margin-left: 6px; border-left: 2px solid var(--cpd-ink); }
    .cpdv2-step { border-top: 0; padding: 0 0 32px 26px; gap: 8px; }
    .cpdv2-step:last-child { padding-bottom: 0; }
    .cpdv2-step__dot { top: 3px; left: -7px; }
}
