/*
Theme Name: CertCloudify
Theme URI: https://certcloudify.com/
Author: CertCloudify
Description: Custom theme for selling AI and cloud certification practice guides and lead magnet PDFs. Certification catalog, lead capture, pricing and blog. No page builder required.
Version: 1.6.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: certprep
*/

/* ---------- Design tokens ---------- */
:root {
	color-scheme: dark;
	--ink: #000000;
	--ink-2: #0a0a0a;
	--ink-3: #262626;
	--ink-line: rgba(255, 255, 255, 0.08);
	--ink-text: #a3a3a3;
	--text: #f5f5f5;
	--muted: #8a8a8a;
	--line: rgba(255, 255, 255, 0.09);
	--line-2: rgba(255, 255, 255, 0.16);
	--bg: #000000;
	--surface: #0d0d0d;
	--surface-2: #151515;
	--tint: #070707;
	--accent: #d4f53d;
	--accent-2: #d4f53d;
	--accent-ink: #d4f53d;
	--accent-soft: rgba(212, 245, 61, 0.1);
	--on-accent: #0a0a0a;
	--ok: #d4f53d;
	--ok-soft: rgba(212, 245, 61, 0.1);
	--bad: #f87171;
	--bad-soft: rgba(248, 113, 113, 0.12);
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: none;
	--shadow: none;
	--shadow-lg: none;
	--font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--wrap: 1200px;
	--gutter: 24px;
	--header-h: 72px;
	--grad: var(--accent);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 0.5em; color: inherit; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(212, 245, 61, 0.35); color: #fff; }
.screen-reader-text, .cp-hp {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.cp-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 8px; }
.cp-skip:focus { left: 8px; }
.cp-icon { flex: none; display: inline-block; }

.cp-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.cp-narrow { max-width: 820px; }
.cp-center { text-align: center; }
.cp-muted { color: var(--muted); }
.cp-grad { color: var(--accent); }

/* ---------- Buttons ---------- */
.cp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
	font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.cp-btn--primary { background: var(--accent); color: var(--on-accent);  }
.cp-btn--primary:hover { color: var(--on-accent); background: #e2fa6e; }
.cp-btn--ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.cp-btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.cp-btn--glass { background: transparent; border-color: var(--line-2); color: #fff; }
.cp-btn--glass:hover { background: var(--accent-soft); border-color: rgba(212, 245, 61, 0.5); color: #fff; }
.cp-btn--sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.cp-btn--lg { padding: 15px 24px; font-size: 16px; }
.cp-btn--block { width: 100%; }
.cp-btn.is-disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.cp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.cp-link .cp-icon { transition: transform 0.2s ease; }
.cp-link:hover .cp-icon { transform: translateX(3px); }

/* ---------- Chips, badges, codes ---------- */
.cp-eyebrow {
	display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
	font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent-ink);
	background: var(--accent-soft); padding: 6px 12px; border-radius: 999px;
}
.cp-eyebrow--dark { color: var(--accent-ink); background: rgba(212, 245, 61, 0.1); border: 1px solid rgba(212, 245, 61, 0.3); }
.cp-code {
	display: inline-block; font-family: var(--font-mono); font-size: 13px; font-weight: 600;
	padding: 4px 9px; border-radius: 8px; background: var(--tint); border: 1px solid var(--line); color: var(--text);
}
.cp-code--dark { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.cp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vendor, var(--accent)); flex: none; }
.cp-badge {
	display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
	padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: #e4e7f5;
}
.cp-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500; color: var(--muted); }

/* ---------- Header ---------- */
.cp-header {
	position: sticky; top: 0; z-index: 50; height: var(--header-h);
	background: #000;
	border-bottom: 1px solid transparent; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cp-header.is-scrolled { border-bottom-color: var(--ink-line); box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.6); }
.admin-bar .cp-header { top: 32px; }
.cp-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cp-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.cp-logo:hover { color: #fff; }
.cp-logo__img { max-height: 40px; width: auto; }
.cp-logo__svg { height: 36px; width: auto; display: block; }
.cp-footer .cp-logo__svg { height: 34px; }
@media (max-width: 600px) { .cp-logo__svg { height: 30px; } }
.cp-nav { display: flex; align-items: center; gap: 28px; }
.cp-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.cp-nav__list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-text); font-weight: 500; font-size: 15px; }
.cp-nav__list a:hover, .cp-nav__list .current-menu-item > a { color: var(--accent-ink); background: rgba(212, 245, 61, 0.08); }
.cp-burger { display: none; background: transparent; border: 1px solid var(--ink-line); color: #fff; border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.cp-burger__close { display: none; }
.cp-nav-open .cp-burger__open { display: none; }
.cp-nav-open .cp-burger__close { display: inline-flex; }

/* ---------- Hero ---------- */
.cp-hero { position: relative; background: var(--ink); color: #fff; padding: 80px 0 96px; overflow: hidden; isolation: isolate; }
.cp-hero__bg { display: none; }
.cp-hero { border-bottom: 1px solid var(--ink-line); }
.cp-hero--sm { padding: 56px 0 64px; }
.cp-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.cp-hero__grid--cert { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
.cp-hero__title { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 20px; }
.cp-hero__title--sm { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.cp-hero__title--cert { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
.cp-hero__title--cert .cp-grad { display: block; }
.cp-hero__lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--ink-text); max-width: 620px; margin-bottom: 28px; }
.cp-hero__lead--center { margin-left: auto; margin-right: auto; }
.cp-hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 24px 0 0; color: var(--ink-text); font-size: 14.5px; }
.cp-hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.cp-hero__points .cp-icon { color: var(--accent); }
.cp-hero__points--stack { flex-direction: column; gap: 10px; margin-bottom: 24px; }
.cp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cp-hero__actions--center { justify-content: center; }
.cp-hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.cp-hero__form { position: relative; }

.cp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.cp-crumbs a { color: var(--ink-text); }
.cp-crumbs a:hover { color: var(--accent-ink); }

/* Search */
.cp-search {
	display: flex; align-items: center; gap: 10px; max-width: 580px;
	background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px; padding: 6px 6px 6px 16px; color: var(--muted);
	transition: border-color 0.2s ease, background 0.2s ease;
}
.cp-search:focus-within { border-color: rgba(212, 245, 61, 0.7); background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 4px rgba(212, 245, 61, 0.12); }
.cp-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; padding: 10px 0; font-size: 16px; }
.cp-search input::placeholder { color: #7c8a7f; }
.cp-search--inline { padding-right: 16px; }
.cp-search--center { margin: 0 auto; }

/* Hero mock question */
.cp-hero__visual { position: relative; }
.cp-mock {
	background: var(--surface);
	border: 1px solid var(--line); border-radius: 20px; padding: 22px;
	box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.cp-mock__bar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cp-mock__progress { flex: 1; height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 99px; overflow: hidden; }
.cp-mock__progress span { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.cp-mock__count { font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }
.cp-mock__q { font-size: 15px; line-height: 1.55; color: var(--text); margin-bottom: 14px; }
.cp-mock__opts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.cp-mock__opts li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); font-size: 14px; color: var(--ink-text); }
.cp-mock__opts li span { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, 0.08); }
.cp-mock__opts li:first-child { border-color: rgba(212, 245, 61, 0.6); background: rgba(212, 245, 61, 0.1); color: #fff; }
.cp-mock__opts li:first-child span { background: var(--accent); color: var(--on-accent); }
.cp-mock__exp { border-radius: 12px; padding: 12px 14px; background: rgba(212, 245, 61, 0.07); border: 1px solid rgba(212, 245, 61, 0.25); }
.cp-mock__exp strong { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-size: 13.5px; }
.cp-mock__exp p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-text); }
.cp-float {
	position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
	font-size: 13.5px; font-weight: 600; border-radius: 12px; color: var(--text); background: var(--surface-2); border: 1px solid rgba(212, 245, 61, 0.35); box-shadow: var(--shadow-lg);
	
}
.cp-float .cp-icon { color: var(--accent); }
.cp-float--a { top: -18px; right: -6px; }
.cp-float--b { bottom: -20px; left: -18px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Facts */
.cp-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 0; max-width: 640px; }
.cp-facts div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.cp-facts dt { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.cp-facts dd { margin: 0; font-weight: 600; color: #fff; font-size: 15px; }

/* ---------- Vendors strip ---------- */
.cp-vendors { border-bottom: 1px solid var(--line); background: var(--bg); padding: 28px 0; }
.cp-vendors__label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.cp-vendors__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cp-vendors__list a, .cp-vendors__list li > span {
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
	border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 600; font-size: 14.5px;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cp-vendors__list a:hover { border-color: var(--vendor);  color: var(--text); }
.cp-vendors__list small { font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, 0.06); padding: 1px 8px; border-radius: 99px; }
.cp-vendors__list--dark { margin-top: 40px; }
.cp-vendors__list--dark li > span { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); color: #fff; }
.cp-vendors__list--dark small { background: rgba(255, 255, 255, 0.1); color: var(--ink-text); }

/* ---------- Sections ---------- */
.cp-section { padding: 88px 0; overflow-x: clip; }
.cp-section--compact { padding: 48px 0 8px; }
.cp-section--compact:last-of-type { padding-bottom: 80px; }
.cp-section--tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cp-section--catalog { padding-top: 40px; }
.cp-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.cp-section__head h2 { margin: 0; }
.cp-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.cp-h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); margin: 0 0 20px; }
.cp-layout__main > .cp-h2:not(:first-child) { margin-top: 56px; }

/* ---------- Grids + cards ---------- */
.cp-grid { display: grid; gap: 18px; }
.cp-grid--certs { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cp-grid--tracks { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cp-grid--posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.cp-card {
	position: relative; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--text); box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
a.cp-card:hover { box-shadow: var(--shadow); border-color: rgba(212, 245, 61, 0.35); color: var(--text); }

.cp-cert { display: flex; flex-direction: column; gap: 10px; padding: 20px; overflow: hidden; }
.cp-cert::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--vendor); opacity: 0.85; }
.cp-cert:hover { border-color: color-mix(in srgb, var(--vendor) 45%, var(--line)); }
.cp-cert[hidden] { display: none; }
.cp-cert__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cp-cert__vendor { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cp-cert__level { font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(255, 255, 255, 0.06); padding: 3px 9px; border-radius: 99px; }
.cp-cert .cp-code { align-self: flex-start; }
.cp-cert__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.cp-cert__title { font-size: 1.05rem; line-height: 1.35; margin: 0; flex: 1; }
.cp-cert__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--line); }
.cp-cert__tags { display: inline-flex; flex-wrap: wrap; gap: 12px; }
.cp-cert__go { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); color: var(--muted); transition: background 0.2s ease, color 0.2s ease; }
.cp-cert:hover .cp-cert__go { background: var(--accent); color: var(--on-accent); }

.cp-track { padding: 26px; }
.cp-track__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--accent-ink); background: var(--accent-soft); }
.cp-track h3 { margin-bottom: 4px; }
.cp-track p { margin: 0; color: var(--muted); font-size: 14.5px; }
.cp-track:hover .cp-track__icon { background: var(--accent); color: var(--on-accent); }

/* Post card */
.cp-post { overflow: hidden; display: flex; flex-direction: column; }
.cp-post__img { aspect-ratio: 16 / 9; background: var(--tint); overflow: hidden; }
.cp-post__img img { width: 100%; height: 100%; object-fit: cover; }
.cp-post__img--empty { display: grid; place-items: center; color: var(--accent); background: var(--surface-2); }
.cp-post__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.cp-post__meta { font-size: 13px; color: var(--muted); }
.cp-post__title { margin: 0; font-size: 1.15rem; line-height: 1.35; }
.cp-post__excerpt { color: var(--muted); font-size: 15px; }

/* ---------- Split / features / PDF mock ---------- */
.cp-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.cp-features { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.cp-features li { display: flex; gap: 16px; }
.cp-features li > span { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent-soft); }
.cp-features strong { display: block; font-family: var(--font-head); margin-bottom: 2px; }
.cp-features p { margin: 0; color: var(--muted); font-size: 15px; }

.cp-pdf { position: relative; padding: 24px 24px 24px 0; max-width: 420px; margin-left: auto; width: 100%; }
.cp-pdf__page { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); aspect-ratio: 0.77; }
.cp-pdf__page--back { position: absolute; inset: 0 0 48px 24px; transform: rotate(4deg); background: var(--surface-2); box-shadow: none; aspect-ratio: auto; }
.cp-pdf__cover { border-radius: 10px; padding: 22px; color: #fff; background: var(--ink); border: 1px solid rgba(212, 245, 61, 0.2); display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.cp-pdf__cover .cp-code { align-self: flex-start; }
.cp-pdf__cover strong { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.2; }
.cp-pdf__cover span:last-child { color: var(--ink-text); font-size: 13.5px; }
.cp-pdf__lines { display: grid; gap: 9px; margin-bottom: 20px; }
.cp-pdf__lines i { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); width: 100%; }
.cp-pdf__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-pdf__chips span { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 99px; color: var(--accent-ink); background: var(--accent-soft); }

/* Steps */
.cp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.cp-steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.cp-steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--font-head); font-weight: 800; color: var(--on-accent); background: var(--accent); margin-bottom: 18px;  }
.cp-steps p { margin: 0; color: var(--muted); }

/* ---------- Pricing ---------- */
.cp-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.cp-price { display: flex; flex-direction: column; padding: 30px; }
.cp-price h3 { font-size: 1.2rem; margin-bottom: 6px; }
.cp-price__desc { color: var(--muted); font-size: 15px; min-height: 48px; }
.cp-price__amount { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; margin: 6px 0 20px; display: flex; align-items: baseline; gap: 8px; }
.cp-price__amount small { font-family: var(--font); font-weight: 500; font-size: 14px; color: var(--muted); letter-spacing: 0; }
.cp-price ul, .cp-buy ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; }
.cp-price li, .cp-buy li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.cp-price li .cp-icon, .cp-buy li .cp-icon { color: var(--ok); margin-top: 2px; }
.cp-price--featured { background: var(--surface); border-color: var(--accent); color: #fff; box-shadow: var(--shadow-lg); }
.cp-price--featured .cp-price__desc, .cp-price--featured .cp-price__amount small { color: var(--ink-text); }
.cp-price--featured li .cp-icon { color: var(--accent); }
.cp-price__badge { position: absolute; top: -12px; right: 24px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 99px; color: var(--on-accent); background: var(--accent); }

/* ---------- CTA band ---------- */
.cp-cta { position: relative; background: var(--ink); border-top: 1px solid var(--ink-line); color: #fff; padding: 88px 0; overflow: hidden; isolation: isolate; }
.cp-cta__grid { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center; }
.cp-cta h2 { color: #fff; }
.cp-cta p { color: var(--ink-text); font-size: 1.1rem; max-width: 520px; }

/* ---------- Lead form ---------- */
.cp-lead { background: var(--surface); color: var(--text); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.cp-lead--dark { background: var(--surface); border-color: var(--line); color: #fff; box-shadow: none; }
.cp-lead__head { display: flex; gap: 14px; margin-bottom: 20px; }
.cp-lead__icon { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--on-accent); background: var(--accent); }
.cp-lead__title { font-size: 1.2rem; margin: 0 0 4px; }
.cp-lead__sub { margin: 0; font-size: 14px; color: var(--muted); }
.cp-lead--dark .cp-lead__sub { color: var(--ink-text); }
.cp-lead__error { background: var(--bad-soft); color: #fca5a5; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.cp-form { display: grid; gap: 14px; }
.cp-field { display: grid; gap: 6px; }
.cp-field span { font-size: 13.5px; font-weight: 600; }
.cp-field input, .cp-field select, .cp-field textarea {
	width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 15.5px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease; appearance: none; -webkit-appearance: none;
}
.cp-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238c9b8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.cp-field input:focus, .cp-field select:focus, .cp-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(212, 245, 61, 0.15); }
.cp-lead--dark .cp-field input, .cp-lead--dark .cp-field select { background-color: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.cp-field select option, .cp-field select optgroup { color: var(--text); background: var(--surface-2); }
.cp-field input::placeholder, .cp-field textarea::placeholder { color: #6f7d72; }
.cp-form__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 13px; color: var(--muted); }
.cp-lead--dark .cp-form__note { color: var(--muted); }
.cp-lead__done { text-align: center; padding: 12px 4px; }
.cp-lead__done-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: var(--ok); background: var(--ok-soft); margin-bottom: 14px; }
.cp-lead__done p { color: var(--muted); }
.cp-lead--dark .cp-lead__done p { color: var(--ink-text); }

/* ---------- Certification page layout ---------- */
.cp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.cp-layout__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.cp-inside { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cp-inside--4 { grid-template-columns: repeat(4, 1fr); }
.cp-inside__item { padding: 22px; }
.cp-inside__item > span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent-soft); margin-bottom: 14px; }
.cp-inside__item h3 { margin-bottom: 4px; }
.cp-inside__item p { margin: 0; color: var(--muted); font-size: 15px; }
.cp-buy { padding: 26px; }
.cp-buy h3 { font-size: 1.2rem; margin: 12px 0 4px; }
.cp-buy__price { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.03em; margin: 0 0 18px; display: flex; align-items: baseline; gap: 8px; }
.cp-buy__price small { font-family: var(--font); font-weight: 500; font-size: 14px; color: var(--muted); letter-spacing: 0; }
.cp-buy__note { font-size: 13.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.cp-buy__secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.cp-upsell { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.cp-upsell > span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--on-accent); background: var(--accent); flex: none; }
.cp-upsell div { flex: 1; }
.cp-upsell strong { font-family: var(--font-head); }
.cp-upsell p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- Catalog filters ---------- */
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cp-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--muted);
	transition: all 0.15s ease;
}
.cp-chip:hover { border-color: rgba(212, 245, 61, 0.45); color: var(--text); }
.cp-chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cp-count { margin: 20px 0 16px; font-size: 14px; color: var(--muted); font-weight: 500; }
.cp-empty { text-align: center; padding: 48px 16px; color: var(--muted); display: grid; justify-items: center; gap: 12px; }

/* ---------- FAQ ---------- */
.cp-faq { display: grid; gap: 12px; }
.cp-faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.cp-faq__item[open] { border-color: rgba(212, 245, 61, 0.4); box-shadow: var(--shadow-sm); }
.cp-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; font-family: var(--font-head); }
.cp-faq__item summary::-webkit-details-marker { display: none; }
.cp-faq__item summary .cp-icon { color: var(--muted); transition: transform 0.2s ease; }
.cp-faq__item[open] summary .cp-icon { transform: rotate(180deg); color: var(--accent); }
.cp-faq__a { padding: 0 22px 18px; color: var(--muted); }
.cp-faq__a p { margin: 0; }

/* ---------- Practice question shortcode ---------- */
.cp-prose { counter-reset: cpq; }
.cp-q { counter-increment: cpq; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 24px 0; background: var(--surface); box-shadow: var(--shadow-sm); }
.cp-q__text { font-weight: 600; margin-bottom: 14px; }
.cp-q__text::before { content: "Q" counter(cpq) "  "; font-family: var(--font-mono); color: var(--accent-ink); font-size: 0.9em; }
.cp-prose .cp-q__opts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.cp-prose .cp-q__opts li { margin: 0; }
.cp-q__opt {
	display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
	padding: 11px 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 15px;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.cp-q__opt:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-soft); }
.cp-q__opt:disabled { cursor: default; }
.cp-q__key { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; background: rgba(255, 255, 255, 0.07); }
.cp-q__opt.is-correct { border-color: var(--ok); background: var(--ok-soft); }
.cp-q__opt.is-correct .cp-q__key { background: var(--ok); color: var(--on-accent); }
.cp-q__opt.is-wrong { border-color: var(--bad); background: var(--bad-soft); }
.cp-q__opt.is-wrong .cp-q__key { background: var(--bad); color: #fff; }
.cp-q__exp { border-radius: 12px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); font-size: 15px; }
.cp-q__exp p:last-child { margin-bottom: 0; }
.cp-q__verdict { font-weight: 700; color: var(--accent-ink); }
.cp-q__reveal { background: none; border: 0; padding: 0; color: var(--accent-ink); font-weight: 600; cursor: pointer; font-size: 14.5px; }

/* ---------- Prose (blog + page content) ---------- */
.cp-prose { font-size: 17px; line-height: 1.75; }
.cp-prose > * + * { margin-top: 1.1em; }
.cp-prose h2 { font-size: 1.75rem; margin-top: 2em; }
.cp-prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.cp-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(212, 245, 61, 0.4); }
.cp-prose ul, .cp-prose ol { padding-left: 1.3em; }
.cp-prose li + li { margin-top: 0.4em; }
.cp-prose blockquote { margin: 1.6em 0; padding: 16px 22px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; }
.cp-prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--surface-2); color: var(--accent-ink); padding: 2px 6px; border-radius: 6px; }
.cp-prose pre { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 18px; border-radius: 12px; overflow-x: auto; }
.cp-prose pre code { background: none; padding: 0; color: inherit; }
.cp-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.cp-prose th, .cp-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.cp-prose th { background: var(--surface-2); }
.cp-prose img { border-radius: 12px; }
.cp-prose--dark { color: var(--ink-text); }
.cp-layout__main.cp-prose > .cp-post-hero { margin: 0 0 1.5em; }
.cp-post-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ink-text); font-size: 14px; margin: 0; }
.cp-post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cp-author { display: flex; gap: 16px; align-items: flex-start; margin-top: 3em; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 15px; }
.cp-author img { border-radius: 50%; }
.cp-author p { margin: 4px 0 0; color: var(--muted); }

.cp-pagination { margin-top: 40px; }
.cp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cp-pagination .page-numbers { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.cp-pagination .page-numbers.current { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* Store plugin basics (Easy Digital Downloads / WooCommerce forms inside pages) */
.cp-prose input[type="text"], .cp-prose input[type="email"], .cp-prose input[type="password"], .cp-prose input[type="tel"], .cp-prose select, .cp-prose textarea {
	width: 100%; max-width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 15.5px;
}
.cp-prose input[type="submit"], .cp-prose button[type="submit"], .cp-prose .button, .cp-prose .edd-submit {
	display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 12px; border: 0; cursor: pointer;
	background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none;
}

/* ---------- Footer ---------- */
.cp-footer { background: var(--ink); color: var(--ink-text); padding: 72px 0 32px; border-top: 1px solid var(--ink-line); }
.cp-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--ink-line); }
.cp-footer__brand p { margin: 16px 0; max-width: 340px; font-size: 15px; }
.cp-footer__mail { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.cp-footer h3 { color: #fff; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.cp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cp-footer ul a { color: var(--ink-text); font-size: 15px; }
.cp-footer ul a:hover { color: var(--accent-ink); }
.cp-footer__legal { padding-top: 24px; font-size: 13px; color: #6f7d72; }
.cp-footer__legal p { margin: 0 0 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.cp-inside--4 { grid-template-columns: repeat(2, 1fr); }
	.cp-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
}

@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.cp-burger { display: inline-flex; }
	.cp-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
		background: var(--ink); padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--ink-line);
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all 0.2s ease;
	}
	.admin-bar .cp-nav { top: calc(var(--header-h) + 46px); }
	.cp-nav-open .cp-nav { transform: none; opacity: 1; visibility: visible; }
	.cp-nav__list { flex-direction: column; align-items: stretch; }
	.cp-nav__list a { padding: 12px; font-size: 16px; }
	.cp-hero { padding: 56px 0 72px; }
	.cp-hero__grid, .cp-hero__grid--cert, .cp-split, .cp-cta__grid, .cp-layout { grid-template-columns: 1fr; }
	.cp-hero__visual { max-width: 520px; margin: 24px auto 0; width: 100%; }
	.cp-mock { transform: none; }
	.cp-layout__side { position: static; }
	.cp-pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
	.cp-price__desc { min-height: 0; }
	.cp-steps { grid-template-columns: 1fr; }
	.cp-footer__grid { grid-template-columns: 1fr 1fr; }
	.cp-footer__brand { grid-column: 1 / -1; }
	.cp-pdf { margin: 0 auto; }
	.cp-section { padding: 64px 0; }
}

@media (max-width: 782px) {
	.admin-bar .cp-header { top: 46px; }
}

@media (max-width: 600px) {
	:root { --gutter: 16px; }
	.cp-section__head { flex-direction: column; align-items: flex-start; }
	.cp-section__head--center { align-items: center; }
	.cp-search { flex-wrap: wrap; padding: 8px 8px 8px 14px; }
	.cp-search .cp-btn { width: 100%; }
	.cp-search--inline { flex-wrap: nowrap; }
	.cp-inside, .cp-inside--4 { grid-template-columns: 1fr; }
	.cp-grid--posts { grid-template-columns: 1fr; }
	.cp-float--a { right: 0; }
	.cp-float--b { left: 0; }
	.cp-lead { padding: 22px; }
	.cp-hero__actions .cp-btn { width: 100%; }
	.cp-footer__grid { grid-template-columns: 1fr; }
}

/* Contact form + legal pages */
.cp-field textarea { resize: vertical; min-height: 140px; font: inherit; }
.cp-contact { box-shadow: var(--shadow); }
.cp-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.cp-contact-grid .cp-features { margin-top: 8px; }
@media (max-width: 960px) { .cp-contact-grid { grid-template-columns: 1fr; } }
.cp-prose .cp-updated { color: var(--muted); font-size: 15px; }
.cp-prose .cp-callout { padding: 18px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.cp-prose .cp-features { padding-left: 0; } .cp-prose .cp-features li + li { margin-top: 0; } .cp-contact-grid > .cp-prose > h2:first-child { margin-top: 0; }

/* Buy card (certification hero) + buy options panel */
.cp-buycard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.cp-buycard__tag { font-size: 13px; font-weight: 600; color: var(--muted); }
.cp-buycard__price { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; margin: 0 0 18px; display: flex; align-items: baseline; gap: 8px; color: #fff; }
.cp-buycard__price small { font-family: var(--font); font-weight: 500; font-size: 14px; color: var(--muted); letter-spacing: 0; }
.cp-buycard__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.cp-buycard__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-text); }
.cp-buycard__list .cp-icon { color: var(--accent); margin-top: 2px; }
.cp-buycard .cp-form__note { margin-top: 14px; }
.cp-buyopts .cp-lead__title { margin-bottom: 4px; }
.cp-buyopts .cp-lead__sub { margin-bottom: 18px; }
.cp-buyopts__list { display: grid; gap: 10px; margin-bottom: 14px; }
.cp-buyopts__item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); transition: border-color 0.2s ease, background 0.2s ease; }
.cp-buyopts__item:hover { border-color: var(--accent); color: var(--text); }
.cp-buyopts__item span { flex: 1; display: grid; gap: 2px; }
.cp-buyopts__item strong { font-family: var(--font-head); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.cp-buyopts__item em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--accent); color: var(--on-accent); }
.cp-buyopts__item small { font-size: 13px; color: var(--muted); }
.cp-buyopts__item b { font-family: var(--font-head); font-size: 18px; color: #fff; }
.cp-buyopts__item .cp-icon { color: var(--muted); transition: color 0.2s ease, transform 0.2s ease; }
.cp-buyopts__item:hover .cp-icon { color: var(--accent); transform: translateX(2px); }
.cp-buyopts__item.is-best { border-color: rgba(212, 245, 61, 0.55); }

/* Certification icons: vendor logo tile + role badge */
.cp-certicon { position: relative; flex: none; display: inline-grid; place-items: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); }
.cp-certicon__logo { width: 58%; height: 58%; object-fit: contain; }
.cp-certicon__role { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 3px var(--surface); }
.cp-hero .cp-certicon__role { box-shadow: 0 0 0 3px var(--ink); }
.cp-certicon--hero { border-radius: 16px; margin-bottom: 18px; }
.cp-vlogo { flex: none; object-fit: contain; display: inline-block; }
.cp-vtile { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-2); margin-bottom: 16px; }
