/**
 * Car Doctor App Landing — namespaced styles.
 * Every selector lives under .cdal-landing (or .cdal-legal which itself
 * carries .cdal-landing). No bare element/body/h1 selectors, so the active
 * theme is never affected outside the plugin's own pages.
 */

/* ───────────────────────── Tokens ───────────────────────── */
.cdal-landing {
	--cdal-navy: #0d2b5c;
	--cdal-navy-deep: #081e45;
	--cdal-ink: #0b1220;
	--cdal-red: #e63946;
	--cdal-red-dark: #c92f3c;
	--cdal-gold: #f5a623;
	--cdal-surface: #ffffff;
	--cdal-surface-soft: #f5f7fb;
	--cdal-line: rgba(13, 43, 92, 0.1);
	--cdal-text: #16233c;
	--cdal-text-soft: #54627d;
	--cdal-text-inverse: #f4f7ff;
	--cdal-text-inverse-soft: rgba(228, 236, 252, 0.72);
	--cdal-radius: 18px;
	--cdal-radius-lg: 28px;
	--cdal-shadow: 0 18px 50px -18px rgba(8, 30, 69, 0.35);
	--cdal-shadow-soft: 0 10px 30px -14px rgba(8, 30, 69, 0.22);
	--cdal-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--cdal-header-h: 72px;

	font-family: var(--cdal-font);
	color: var(--cdal-text);
	background: var(--cdal-surface);
	line-height: 1.6;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

.cdal-landing *,
.cdal-landing *::before,
.cdal-landing *::after {
	box-sizing: border-box;
}

.cdal-landing img {
	max-width: 100%;
	height: auto;
	display: block;
}

.cdal-landing :focus-visible {
	outline: 3px solid var(--cdal-gold);
	outline-offset: 3px;
	border-radius: 6px;
}

.cdal-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--cdal-navy);
	color: #fff;
	padding: 10px 18px;
	border-radius: 0 0 10px 0;
	text-decoration: none;
}

.cdal-skip:focus {
	left: 0;
}

/* ───────────────────────── Layout helpers ───────────────────────── */
.cdal-container {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.cdal-container--narrow {
	width: min(820px, calc(100% - 48px));
}

.cdal-section {
	padding: clamp(64px, 9vw, 120px) 0;
	position: relative;
}

.cdal-section__head {
	max-width: 720px;
	margin: 0 auto clamp(36px, 5vw, 64px);
	text-align: center;
}

.cdal-section__head h2,
.cdal-cta h2 {
	margin: 0 0 14px;
	font-size: clamp(1.8rem, 3.6vw, 2.7rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
	color: inherit;
}

.cdal-section__head p {
	margin: 0;
	color: var(--cdal-text-soft);
	font-size: clamp(1rem, 1.4vw, 1.13rem);
}

.cdal-eyebrow {
	display: inline-block;
	margin: 0 0 14px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cdal-red);
}

.cdal-section--dark {
	background: linear-gradient(180deg, var(--cdal-navy-deep) 0%, var(--cdal-navy) 100%);
	color: var(--cdal-text-inverse);
}

.cdal-section--dark .cdal-section__head p {
	color: var(--cdal-text-inverse-soft);
}

.cdal-section--dark .cdal-eyebrow {
	color: var(--cdal-gold);
}

.cdal-section--value {
	background: var(--cdal-surface-soft);
}

.cdal-lead {
	color: var(--cdal-text-soft);
	font-size: 1.08rem;
	margin: 0 0 26px;
}

/* ───────────────────────── Header ───────────────────────── */
.cdal-header {
	position: sticky;
	top: 0;
	z-index: 120;
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	background: rgba(8, 30, 69, 0.62);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

.cdal-header.cdal-header--solid {
	background: rgba(8, 30, 69, 0.92);
	box-shadow: 0 8px 30px -16px rgba(0, 0, 0, 0.55);
}

/* WordPress Admin Bar offset when logged in */
.admin-bar .cdal-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	.admin-bar .cdal-header {
		top: 46px;
	}
}
@media screen and (max-width: 600px) {
	.admin-bar .cdal-header {
		top: 0;
	}
}

.cdal-header__inner {
	display: flex;
	align-items: center;
	gap: 26px;
	min-height: var(--cdal-header-h);
}

.cdal-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #fff;
	font-weight: 700;
	font-size: 1.18rem;
	letter-spacing: -0.02em;
}

.cdal-brand__mark {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: linear-gradient(140deg, var(--cdal-red) 0%, var(--cdal-red-dark) 100%);
	color: #fff;
	box-shadow: 0 8px 18px -8px rgba(230, 57, 70, 0.65);
}

.cdal-brand__name {
	color: #fff;
}

.cdal-brand__name em {
	font-style: normal;
	color: var(--cdal-red);
}

.cdal-footer .cdal-brand__name em {
	color: var(--cdal-red);
}

.cdal-nav {
	display: flex;
	gap: 4px;
	margin-inline: auto;
}

.cdal-nav a {
	color: rgba(236, 242, 255, 0.82);
	text-decoration: none;
	font-size: 0.94rem;
	font-weight: 500;
	padding: 8px 13px;
	border-radius: 999px;
	transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cdal-nav a:hover,
.cdal-nav a.is-current {
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
}

.cdal-nav a.is-current {
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.cdal-header__cta {
	display: flex;
	gap: 10px;
}

.cdal-burger {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.cdal-burger span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.cdal-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.cdal-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.cdal-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.cdal-mobile-menu {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(8, 30, 69, 0.97);
	padding: 18px 24px 26px;
	max-height: calc(100vh - var(--cdal-header-h));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.cdal-mobile-menu nav {
	display: grid;
	gap: 4px;
	margin-bottom: 18px;
}

.cdal-mobile-menu nav a {
	color: rgba(236, 242, 255, 0.9);
	text-decoration: none;
	font-size: 1.05rem;
	font-weight: 600;
	padding: 12px 10px;
	border-radius: 10px;
}

.cdal-mobile-menu nav a:hover,
.cdal-mobile-menu nav a.is-current {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.cdal-mobile-menu__stores {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* ───────────────────────── Buttons ───────────────────────── */
.cdal-store-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px 10px 14px;
	border-radius: 14px;
	text-decoration: none;
	line-height: 1.15;
	border: 1px solid transparent;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	white-space: nowrap;
}

.cdal-store-btn--solid {
	background: var(--cdal-ink);
	color: #fff;
	box-shadow: 0 12px 26px -12px rgba(8, 18, 38, 0.55);
}

.cdal-store-btn--solid:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px -14px rgba(8, 18, 38, 0.6);
}

.cdal-store-btn--ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.22);
}

.cdal-store-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.16);
}

.cdal-store-btn--soon {
	cursor: default;
	opacity: 0.62;
}

.cdal-store-btn svg {
	width: 22px;
	height: 22px;
	flex: none;
}

.cdal-store-btn__txt {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.cdal-store-btn__txt small {
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	opacity: 0.78;
	text-transform: uppercase;
}

.cdal-store-btn__txt strong {
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.cdal-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cdal-btn--red {
	background: linear-gradient(140deg, var(--cdal-red) 0%, var(--cdal-red-dark) 100%);
	color: #fff;
	box-shadow: 0 16px 32px -14px rgba(230, 57, 70, 0.65);
}

.cdal-btn--red:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 40px -16px rgba(230, 57, 70, 0.72);
	color: #fff;
}

.cdal-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	padding: 10px 6px;
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s ease;
}

.cdal-link-arrow:hover {
	border-color: var(--cdal-gold);
	color: #fff;
}

/* ───────────────────────── Rating Badge & QR Modal ───────────────────────── */
.cdal-rating-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	margin-bottom: 24px;
}

.cdal-rating-badge__stars {
	color: #ffc107;
	letter-spacing: 2px;
	font-size: 0.95rem;
	line-height: 1;
}

.cdal-rating-badge__text {
	font-size: 0.86rem;
	font-weight: 600;
	color: #fff;
}

.cdal-rating-badge__text strong {
	color: var(--cdal-gold);
	margin-right: 4px;
}

.cdal-qr-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	font-weight: 600;
	font-size: 0.92rem;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.cdal-qr-btn:hover {
	background: rgba(255, 255, 255, 0.16);
	transform: translateY(-2px);
}

.cdal-qr-btn svg {
	width: 18px;
	height: 18px;
}

.cdal-qr-modal {
	position: fixed;
	inset: 0;
	z-index: 310;
	display: grid;
	place-items: center;
	padding: 20px;
}

.cdal-qr-modal[hidden] {
	display: none;
}

.cdal-qr-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 10, 24, 0.82);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.cdal-qr-modal__card {
	position: relative;
	background: #ffffff;
	color: var(--cdal-text);
	border-radius: 24px;
	padding: 36px 32px 30px;
	max-width: 360px;
	width: 100%;
	text-align: center;
	box-shadow: var(--cdal-shadow);
	animation: cdal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cdal-pop {
	from { transform: scale(0.92); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

.cdal-qr-modal__card h3 {
	margin: 0 0 8px;
	font-size: 1.3rem;
	color: var(--cdal-navy);
}

.cdal-qr-modal__card p {
	margin: 0 0 20px;
	font-size: 0.92rem;
	color: var(--cdal-text-soft);
}

.cdal-qr-code {
	display: inline-block;
	background: #f8fafc;
	padding: 16px;
	border-radius: 16px;
	border: 1px solid var(--cdal-line);
	margin-bottom: 16px;
}

.cdal-qr-code svg,
.cdal-qr-code img {
	width: 180px;
	height: 180px;
	display: block;
}

.cdal-qr-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 0;
	background: #f1f5f9;
	color: #64748b;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
}

/* ───────────────────────── Hero ───────────────────────── */
.cdal-hero {
	position: relative;
	background:
		radial-gradient(1200px 620px at 78% -10%, rgba(230, 57, 70, 0.18), transparent 60%),
		linear-gradient(165deg, var(--cdal-navy-deep) 0%, var(--cdal-navy) 58%, #123a78 100%);
	color: var(--cdal-text-inverse);
	overflow: hidden;
	padding: clamp(64px, 8vw, 110px) 0 clamp(72px, 9vw, 130px);
}

.cdal-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.cdal-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.45;
}

.cdal-orb--red {
	width: 420px;
	height: 420px;
	background: rgba(230, 57, 70, 0.5);
	top: -140px;
	right: -90px;
	animation: cdal-drift 14s ease-in-out infinite alternate;
}

.cdal-orb--blue {
	width: 520px;
	height: 520px;
	background: rgba(64, 120, 230, 0.4);
	bottom: -220px;
	left: -160px;
	animation: cdal-drift 18s ease-in-out infinite alternate-reverse;
}

.cdal-roadline {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 88px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(245, 166, 35, 0.5) 30%, rgba(245, 166, 35, 0.5) 70%, transparent);
}

@keyframes cdal-drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(40px, 28px, 0) scale(1.08); }
}

.cdal-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.cdal-hero__copy h1 {
	margin: 0 0 18px;
	font-size: clamp(2.3rem, 5.2vw, 3.9rem);
	font-weight: 800;
	letter-spacing: -0.032em;
	line-height: 1.06;
	color: #fff;
}

.cdal-hero__sub {
	margin: 0 0 30px;
	max-width: 34rem;
	font-size: clamp(1.02rem, 1.5vw, 1.2rem);
	color: var(--cdal-text-inverse-soft);
}

.cdal-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 30px;
}

.cdal-trustline {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cdal-trustline li {
	position: relative;
	padding-left: 22px;
	font-size: 0.88rem;
	font-weight: 600;
	color: rgba(232, 240, 255, 0.85);
}

.cdal-trustline li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--cdal-gold);
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
}

.cdal-hero__visual {
	position: relative;
	min-height: 520px;
}

.cdal-hero-card {
	position: absolute;
	margin: 0;
	width: clamp(170px, 16vw, 235px);
	border-radius: 26px;
	overflow: hidden;
	box-shadow: 0 30px 70px -26px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1);
	background: #0a1830;
	will-change: transform;
}

.cdal-hero-card--0 {
	left: 8%;
	top: 4%;
	z-index: 3;
	animation: cdal-float 7s ease-in-out infinite;
}

.cdal-hero-card--1 {
	left: 44%;
	top: 16%;
	z-index: 2;
	transform: rotate(4deg);
	animation: cdal-float 8.5s ease-in-out 0.8s infinite;
}

.cdal-hero-card--2 {
	left: 26%;
	top: 42%;
	z-index: 4;
	transform: rotate(-5deg);
	animation: cdal-float 9.5s ease-in-out 1.6s infinite;
}

@keyframes cdal-float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -16px; }
}

/* ───────────────────────── Pills / value grid ───────────────────────── */
.cdal-pillgrid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cdal-pillgrid li {
	padding: 13px 22px;
	border-radius: 999px;
	background: var(--cdal-surface);
	border: 1px solid var(--cdal-line);
	box-shadow: var(--cdal-shadow-soft);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--cdal-navy);
}

/* ───────────────────────── Feature cards ───────────────────────── */
.cdal-featgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.cdal-card {
	background: var(--cdal-surface);
	border: 1px solid var(--cdal-line);
	border-radius: var(--cdal-radius);
	padding: 28px 26px;
	box-shadow: var(--cdal-shadow-soft);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cdal-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--cdal-shadow);
}

.cdal-card h3 {
	margin: 0 0 8px;
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: inherit;
}

.cdal-card p {
	margin: 0;
	font-size: 0.94rem;
	color: var(--cdal-text-soft);
}

.cdal-card--glass {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
	box-shadow: none;
	color: var(--cdal-text-inverse);
}

.cdal-card--glass p {
	color: var(--cdal-text-inverse-soft);
}

.cdal-card--glass:hover {
	box-shadow: 0 22px 48px -22px rgba(0, 0, 0, 0.55);
}

.cdal-card__icon {
	display: inline-block;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	margin-bottom: 16px;
	background: linear-gradient(140deg, rgba(230, 57, 70, 0.14), rgba(13, 43, 92, 0.1));
	position: relative;
}

.cdal-card--glass .cdal-card__icon {
	background: rgba(255, 255, 255, 0.1);
}

.cdal-card__icon::after {
	content: "";
	position: absolute;
	inset: 11px;
	background: var(--cdal-red);
	-webkit-mask: var(--cdal-icon, none) center / contain no-repeat;
	mask: var(--cdal-icon, none) center / contain no-repeat;
}

.cdal-card--glass .cdal-card__icon::after {
	background: var(--cdal-gold);
}

.cdal-icon--bolt { --cdal-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11 21h-1l1-7H7.5c-.58 0-.57-.32-.38-.66.19-.34.05-.08.07-.12C8.48 10.94 10.42 7.54 13 3h1l-1 7h3.5c.49 0 .56.33.47.51l-.07.15C12.96 17.55 11 21 11 21z"/></svg>'); }
.cdal-icon--doc { --cdal-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/></svg>'); }
.cdal-icon--pin { --cdal-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z"/></svg>'); }
.cdal-icon--card { --cdal-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"/></svg>'); }
.cdal-icon--car { --cdal-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z"/></svg>'); }
.cdal-icon--radar { --cdal-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 10 10h-2a8 8 0 1 1-8-8V2zm0 4a6 6 0 1 0 6 6h-2a4 4 0 1 1-4-4V6zm0 4a2 2 0 1 0 2 2 2 2 0 0 0-2-2z"/></svg>'); }
.cdal-icon--bell { --cdal-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"/></svg>'); }
.cdal-icon--lock { --cdal-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></svg>'); }
.cdal-icon--star { --cdal-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>'); }
.cdal-icon--shield { --cdal-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"/></svg>'); }
.cdal-icon--camera { --cdal-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3.2"/><path d="M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"/></svg>'); }
.cdal-icon--chat { --cdal-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z"/></svg>'); }

/* ───────────────────────── Steps ───────────────────────── */
.cdal-steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: cdal-step;
}

.cdal-step {
	position: relative;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--cdal-radius);
	padding: 26px 22px;
}

.cdal-step__num {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-bottom: 16px;
	font-weight: 800;
	font-size: 1.05rem;
	color: #fff;
	background: linear-gradient(140deg, var(--cdal-red) 0%, var(--cdal-red-dark) 100%);
	box-shadow: 0 10px 22px -10px rgba(230, 57, 70, 0.7);
}

.cdal-step h3 {
	margin: 0 0 8px;
	font-size: 1.02rem;
	font-weight: 700;
	color: #fff;
}

.cdal-step p {
	margin: 0;
	font-size: 0.88rem;
	color: var(--cdal-text-inverse-soft);
}

/* ───────────────────────── Split sections ───────────────────────── */
.cdal-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.cdal-split--rev .cdal-split__copy {
	order: 2;
}

.cdal-split--rev .cdal-split__visual {
	order: 1;
}

.cdal-split__copy h2 {
	margin: 0 0 14px;
	font-size: clamp(1.7rem, 3.2vw, 2.4rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.16;
	color: inherit;
}

.cdal-checklist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 18px;
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
}

.cdal-checklist li {
	position: relative;
	padding-left: 28px;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--cdal-text);
}

.cdal-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: linear-gradient(140deg, var(--cdal-red) 0%, var(--cdal-red-dark) 100%);
	-webkit-mask: none;
}

.cdal-checklist li::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 7px;
	width: 10px;
	height: 10px;
	background: #fff;
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
}

.cdal-split__visual {
	position: relative;
	display: flex;
	justify-content: center;
	gap: 22px;
	min-height: 420px;
	align-items: center;
}

.cdal-split__visual--single {
	min-height: 0;
}

.cdal-tilt-card {
	margin: 0;
	width: clamp(190px, 18vw, 250px);
	border-radius: 26px;
	overflow: hidden;
	box-shadow: var(--cdal-shadow);
	background: #0a1830;
	will-change: transform;
}

.cdal-tilt-card--0 {
	transform: rotate(-4deg) translateY(-14px);
}

.cdal-tilt-card--1 {
	transform: rotate(4deg) translateY(22px);
}

/* ───────────────────────── Carousel ───────────────────────── */
.cdal-section--screens {
	background: var(--cdal-surface-soft);
	overflow: hidden;
}

.cdal-carousel {
	position: relative;
	width: min(1320px, 100%);
	margin-inline: auto;
	padding: 0 56px;
	--cdal-shot-w: clamp(190px, 21vw, 248px);
}

.cdal-carousel__track {
	display: flex;
	gap: clamp(20px, 3vw, 40px);
	margin: 0;
	/* Leading/trailing space so the first and last phone can sit dead-center. */
	padding: 26px calc(50% - var(--cdal-shot-w) / 2) 30px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.cdal-carousel__track::-webkit-scrollbar {
	display: none;
}

.cdal-carousel__track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
}

.cdal-carousel__track.is-dragging .cdal-shotcard {
	pointer-events: none;
}

.cdal-carousel__item {
	flex: 0 0 auto;
	width: var(--cdal-shot-w);
	scroll-snap-align: center;
}

.cdal-shotcard {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Phone frame around each screenshot. */
.cdal-shotcard__phone {
	position: relative;
	display: block;
	border-radius: 32px;
	padding: 9px;
	background: linear-gradient(160deg, #1c2740 0%, #0b1322 100%);
	box-shadow: var(--cdal-shadow-soft);
	transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.cdal-shotcard__notch {
	position: absolute;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	width: 86px;
	height: 18px;
	border-radius: 0 0 12px 12px;
	background: #0b1322;
	z-index: 2;
}

.cdal-shotcard__phone img {
	width: 100%;
	border-radius: 24px;
	display: block;
}

/* Center-active emphasis (set by JS); side cards dim and shrink slightly. */
.cdal-carousel.is-enhanced .cdal-carousel__item .cdal-shotcard {
	transform: scale(0.9);
	opacity: 0.55;
}

.cdal-carousel.is-enhanced .cdal-carousel__item.is-active .cdal-shotcard {
	transform: scale(1);
	opacity: 1;
}

.cdal-carousel__item.is-active .cdal-shotcard__phone {
	box-shadow: var(--cdal-shadow);
}

.cdal-shotcard:hover {
	transform: scale(1.02);
}

.cdal-carousel.is-enhanced .cdal-carousel__item.is-active .cdal-shotcard:hover {
	transform: scale(1.03);
}

.cdal-shotcard__label {
	margin: 16px 4px 0;
	text-align: center;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--cdal-text-soft);
	opacity: 0.6;
	transition: opacity 0.4s ease, color 0.4s ease;
}

.cdal-carousel__item.is-active .cdal-shotcard__label {
	opacity: 1;
	color: var(--cdal-navy);
}

.cdal-carousel__btn {
	position: absolute;
	top: 44%;
	transform: translateY(-50%);
	z-index: 5;
	width: 46px;
	height: 46px;
	border: 1px solid var(--cdal-line);
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--cdal-surface);
	color: var(--cdal-navy);
	cursor: pointer;
	box-shadow: var(--cdal-shadow-soft);
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cdal-carousel__btn:hover {
	background: var(--cdal-navy);
	color: #fff;
	transform: translateY(-50%) scale(1.06);
}

.cdal-carousel__btn--prev { left: 6px; }
.cdal-carousel__btn--next { right: 6px; }

/* Progress dots. */
.cdal-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 9px;
	margin-top: 18px;
}

.cdal-carousel__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(13, 43, 92, 0.22);
	cursor: pointer;
	transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.cdal-carousel__dot.is-active {
	background: var(--cdal-red);
	width: 22px;
	border-radius: 999px;
}

/* ───────────────────────── FAQ ───────────────────────── */
.cdal-faq {
	display: grid;
	gap: 12px;
}

.cdal-faq__item {
	border: 1px solid var(--cdal-line);
	border-radius: var(--cdal-radius);
	background: var(--cdal-surface);
	box-shadow: var(--cdal-shadow-soft);
	overflow: hidden;
}

.cdal-faq__item h3 {
	margin: 0;
}

.cdal-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 20px 24px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--cdal-text);
	text-align: left;
	cursor: pointer;
}

.cdal-faq__chev {
	flex: none;
	width: 12px;
	height: 12px;
	border-right: 2.5px solid var(--cdal-red);
	border-bottom: 2.5px solid var(--cdal-red);
	transform: rotate(45deg);
	transition: transform 0.25s ease;
}

.cdal-faq__q[aria-expanded="true"] .cdal-faq__chev {
	transform: rotate(-135deg);
}

.cdal-faq__a {
	padding: 0 24px 20px;
}

.cdal-faq__a p {
	margin: 0;
	color: var(--cdal-text-soft);
	font-size: 0.96rem;
}

/* ───────────────────────── Final CTA ───────────────────────── */
.cdal-cta {
	background: linear-gradient(160deg, var(--cdal-navy-deep) 0%, var(--cdal-navy) 70%, #15407f 100%);
	color: var(--cdal-text-inverse);
	overflow: hidden;
	text-align: center;
}

.cdal-cta__glow {
	position: absolute;
	left: 50%;
	top: -180px;
	transform: translateX(-50%);
	width: 720px;
	height: 420px;
	background: radial-gradient(closest-side, rgba(230, 57, 70, 0.34), transparent);
	pointer-events: none;
}

.cdal-cta__inner {
	position: relative;
}

.cdal-cta h2 {
	color: #fff;
}

.cdal-cta p {
	margin: 0 auto 30px;
	max-width: 520px;
	color: var(--cdal-text-inverse-soft);
}

.cdal-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* ───────────────────────── Automotive Guides & Blogs ───────────────────────── */
.cdal-section--blogs {
	background: var(--cdal-surface);
	position: relative;
}

.cdal-bloggrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(20px, 2.5vw, 30px);
}

.cdal-blog-card {
	background: #ffffff;
	border: 1px solid var(--cdal-line);
	border-radius: var(--cdal-radius-lg);
	padding: clamp(24px, 2.5vw, 30px);
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 20px -6px rgba(13, 43, 92, 0.06);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.cdal-blog-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--cdal-red) 0%, var(--cdal-gold) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.cdal-blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 36px -12px rgba(13, 43, 92, 0.14);
	border-color: rgba(230, 57, 70, 0.3);
}

.cdal-blog-card:hover::before {
	opacity: 1;
}

.cdal-blog-card:hover .cdal-blog-card__title {
	color: var(--cdal-red);
}

.cdal-blog-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
}

.cdal-blog-badge {
	display: inline-block;
	background: rgba(230, 57, 70, 0.09);
	color: var(--cdal-red);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 5px 12px;
	border-radius: 20px;
}

.cdal-blog-time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--cdal-text-soft);
	font-size: 0.82rem;
	font-weight: 600;
}

.cdal-blog-card__title {
	margin: 0 0 12px;
	font-size: 1.22rem;
	font-weight: 700;
	line-height: 1.38;
	color: var(--cdal-navy);
	letter-spacing: -0.015em;
	transition: color 0.2s ease;
}

.cdal-blog-card__excerpt {
	margin: 0 0 24px;
	color: var(--cdal-text-soft);
	font-size: 0.94rem;
	line-height: 1.6;
	flex-grow: 1;
}

.cdal-blog-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--cdal-line);
	margin-top: auto;
}

.cdal-blog-author {
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--cdal-text-soft);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 55%;
}

.cdal-blog-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: none;
	color: var(--cdal-red);
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
	padding: 6px 12px;
	border-radius: 8px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.cdal-blog-btn:hover {
	background: rgba(230, 57, 70, 0.08);
	transform: translateX(3px);
}

/* ───────────────────────── Blog Reader Modal ───────────────────────── */
.cdal-reader-modal {
	position: fixed;
	inset: 0;
	z-index: 320;
	display: flex;
	justify-content: flex-end;
}

.cdal-reader-modal[hidden] {
	display: none;
}

.cdal-reader-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 10, 24, 0.82);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.cdal-reader-modal__panel {
	position: relative;
	background: #ffffff;
	color: var(--cdal-text);
	width: min(820px, 100vw);
	height: 100vh;
	max-height: 100vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
	animation: cdal-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cdal-slide-in {
	from { transform: translateX(100%); }
	to { transform: translateX(0); }
}

.cdal-reader-modal__toolbar {
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 28px;
	border-bottom: 1px solid var(--cdal-line);
}

.cdal-reader-modal__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--cdal-navy);
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 8px;
	transition: background 0.2s ease;
}

.cdal-reader-modal__back:hover {
	background: rgba(13, 43, 92, 0.06);
}

.cdal-reader-modal__close {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--cdal-line);
	background: var(--cdal-surface-soft);
	color: var(--cdal-navy);
	font-size: 1.4rem;
	line-height: 1;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.cdal-reader-modal__close:hover {
	background: var(--cdal-red);
	color: #fff;
	border-color: var(--cdal-red);
}

.cdal-reader-modal__body {
	padding: clamp(24px, 4vw, 48px);
	flex-grow: 1;
}

.cdal-reader__head {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--cdal-line);
}

.cdal-reader__meta-strip {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.cdal-reader__date {
	font-size: 0.85rem;
	color: var(--cdal-text-soft);
}

.cdal-reader__title {
	font-size: clamp(1.8rem, 3.5vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--cdal-navy);
	line-height: 1.25;
	margin: 0 0 14px;
}

.cdal-reader__author {
	margin: 0;
	font-size: 0.95rem;
	color: var(--cdal-text-soft);
}

.cdal-reader__takeaways {
	background: linear-gradient(145deg, #f8fafc 0%, #edf2f7 100%);
	border-left: 4px solid var(--cdal-gold);
	border-radius: 0 16px 16px 0;
	padding: 20px 24px;
	margin: 0 0 32px;
}

.cdal-reader__takeaways-title {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--cdal-navy);
	font-size: 0.96rem;
	margin-bottom: 12px;
}

.cdal-reader__takeaways-title svg {
	color: var(--cdal-gold);
}

.cdal-reader__takeaways ul {
	margin: 0;
	padding-left: 20px;
}

.cdal-reader__takeaways li {
	margin-bottom: 8px;
	color: var(--cdal-text);
	font-size: 0.94rem;
	line-height: 1.55;
}

.cdal-reader__takeaways li:last-child {
	margin-bottom: 0;
}

.cdal-reader__content h2 {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--cdal-navy);
	margin: 32px 0 12px;
	letter-spacing: -0.015em;
}

.cdal-reader__content p {
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--cdal-text-soft);
	margin-bottom: 18px;
}

.cdal-reader__content ul {
	padding-left: 24px;
	margin-bottom: 22px;
}

.cdal-reader__content li {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--cdal-text-soft);
	margin-bottom: 8px;
}

.cdal-reader__content a {
	color: var(--cdal-red);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.cdal-reader__content a:hover {
	color: #d42b38;
}

.cdal-reader__table-wrap {
	margin: 24px 0 32px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 12px;
	border: 1px solid var(--cdal-line);
	box-shadow: 0 4px 16px -6px rgba(13, 43, 92, 0.05);
}

.cdal-reader__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
	text-align: left;
	background: #ffffff;
}

.cdal-reader__table th {
	background: #f1f5f9;
	color: var(--cdal-navy);
	font-weight: 700;
	padding: 12px 16px;
	border-bottom: 2px solid var(--cdal-line);
	white-space: nowrap;
}

.cdal-reader__table td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--cdal-line);
	color: var(--cdal-text-soft);
	vertical-align: middle;
}

.cdal-reader__table tr:last-child td {
	border-bottom: none;
}

.cdal-reader__table tr:nth-child(even) td {
	background: #fafcff;
}

.cdal-table-pill {
	display: inline-block;
	font-size: 0.76rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 12px;
	white-space: nowrap;
}

.cdal-table-pill--safe {
	background: #ecfdf5;
	color: #059669;
	border: 1px solid #a7f3d0;
}

.cdal-table-pill--warn {
	background: #fffbeb;
	color: #d97706;
	border: 1px solid #fde68a;
}

.cdal-table-pill--danger {
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
}

.cdal-reader__cta-box {
	margin-top: 48px;
	padding: 32px;
	background: linear-gradient(145deg, var(--cdal-navy-deep) 0%, var(--cdal-navy) 100%);
	border-radius: var(--cdal-radius-lg);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

.cdal-reader__cta-copy h3 {
	margin: 0 0 8px;
	color: #ffffff;
	font-size: 1.3rem;
}

.cdal-reader__cta-copy p {
	margin: 0;
	color: var(--cdal-text-inverse-soft);
	font-size: 0.92rem;
	max-width: 440px;
}

.cdal-reader__cta-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* ───────────────────────── Footer ───────────────────────── */
.cdal-footer {
	background: #060f23;
	color: rgba(226, 234, 250, 0.78);
	padding: clamp(48px, 6vw, 76px) 0 0;
}

.cdal-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	padding-bottom: 42px;
}

.cdal-footer__brand p {
	margin: 16px 0 18px;
	max-width: 26rem;
	font-size: 0.93rem;
	line-height: 1.65;
}

.cdal-footer__social {
	display: flex;
	gap: 14px;
}

.cdal-footer__social a {
	color: rgba(226, 234, 250, 0.7);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	padding-bottom: 1px;
}

.cdal-footer__social a:hover {
	color: #fff;
}

.cdal-footer__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.cdal-footer__col h3 {
	margin: 0 0 4px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(226, 234, 250, 0.5);
}

.cdal-footer__col a {
	color: rgba(226, 234, 250, 0.82);
	text-decoration: none;
	font-size: 0.95rem;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.cdal-footer__col a:hover {
	color: #fff;
}

.cdal-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 0 26px;
}

.cdal-footer__bar p {
	margin: 0;
	font-size: 0.85rem;
	color: rgba(226, 234, 250, 0.5);
}

/* ───────────────────────── Lightbox ───────────────────────── */
.cdal-lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: center;
	padding: 28px;
}

/* `display: grid` would defeat the hidden attribute — restore it explicitly. */
.cdal-lightbox[hidden] {
	display: none;
}

.cdal-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 10, 24, 0.82);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	cursor: zoom-out;
}

.cdal-lightbox__figure {
	position: relative;
	margin: 0;
	max-width: min(420px, 92vw);
}

.cdal-lightbox__figure img {
	width: 100%;
	max-height: 82vh;
	object-fit: contain;
	border-radius: 26px;
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}

.cdal-lightbox__figure figcaption {
	margin-top: 12px;
	text-align: center;
	color: rgba(236, 242, 255, 0.85);
	font-size: 0.92rem;
	font-weight: 600;
}

.cdal-lightbox__close {
	position: absolute;
	top: -16px;
	right: -16px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: var(--cdal-red);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6);
}

/* ───────────────────────── Legal pages ───────────────────────── */
.cdal-legal {
	background: var(--cdal-surface);
}

.cdal-legal__body {
	padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 110px);
}

.cdal-legal__head {
	margin-bottom: 36px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--cdal-line);
}

.cdal-legal__head h1 {
	margin: 0 0 10px;
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--cdal-navy);
}

.cdal-legal__meta {
	margin: 0;
	color: var(--cdal-text-soft);
	font-size: 0.92rem;
}

.cdal-legal__body h2 {
	margin: 38px 0 12px;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--cdal-navy);
}

.cdal-legal__body h3 {
	margin: 24px 0 8px;
	font-size: 1.04rem;
	font-weight: 700;
	color: var(--cdal-text);
}

.cdal-legal__body p,
.cdal-legal__body li {
	color: var(--cdal-text-soft);
	font-size: 0.99rem;
	overflow-wrap: break-word;
	word-break: break-word;
}

.cdal-legal__body ul {
	padding-left: 22px;
	margin: 10px 0 18px;
}

.cdal-legal__body a {
	color: var(--cdal-red);
	font-weight: 600;
	text-decoration: none;
}

.cdal-legal__body a:hover {
	text-decoration: underline;
}

.cdal-legal__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--cdal-red);
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	margin-bottom: 24px;
	padding: 8px 14px;
	border-radius: 10px;
	background: var(--cdal-surface-soft);
	border: 1px solid var(--cdal-line);
	transition: background 0.2s ease, transform 0.2s ease;
}

.cdal-legal__back:hover {
	background: rgba(230, 57, 70, 0.08);
	text-decoration: none;
	transform: translateX(-3px);
}

/* ───────────────────────── Reveal (GSAP hooks) ───────────────────────── */
/* Elements start visible; JS adds .cdal-anim-ready only when GSAP+motion OK,
   so content is never hidden if JS or the CDN fails. */
.cdal-anim-ready [data-cdal-reveal],
.cdal-anim-ready [data-cdal-stagger] > * {
	will-change: transform, opacity;
}

/* ───────────────────────── WebGL hero canvas ───────────────────────── */
.cdal-hero__webgl {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	opacity: 0;
	transition: opacity 0.9s ease;
	z-index: 0;
}

.cdal-hero__webgl.is-running {
	opacity: 0.92;
}

/* Keep orbs and content above the canvas. */
.cdal-orb,
.cdal-roadline {
	z-index: 1;
}

/* ───────────────────────── Stats band ───────────────────────── */
.cdal-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cdal-section--stats {
	padding-top: clamp(36px, 5vw, 60px);
	padding-bottom: clamp(36px, 5vw, 60px);
}

.cdal-stats {
	list-style: none;
	margin: 0;
	padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 48px);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(20px, 3vw, 48px);
	background: linear-gradient(150deg, var(--cdal-navy-deep) 0%, var(--cdal-navy) 65%, #123a78 100%);
	border-radius: var(--cdal-radius-lg);
	box-shadow: var(--cdal-shadow);
	color: var(--cdal-text-inverse);
}

.cdal-stat {
	text-align: center;
	position: relative;
}

.cdal-stat + .cdal-stat::before {
	content: "";
	position: absolute;
	left: calc(-1 * clamp(10px, 1.5vw, 24px));
	top: 12%;
	bottom: 12%;
	width: 1px;
	background: rgba(255, 255, 255, 0.14);
}

.cdal-stat__num {
	display: block;
	font-size: clamp(2.2rem, 4.4vw, 3.2rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	background: linear-gradient(180deg, #ffffff 0%, var(--cdal-gold) 150%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-variant-numeric: tabular-nums;
}

.cdal-stat__label {
	display: block;
	margin-top: 10px;
	font-size: 0.92rem;
	color: var(--cdal-text-inverse-soft);
	line-height: 1.4;
}

/* ───────────────────────── Pinned phone showcase ───────────────────────── */
.cdal-section--showcase {
	background: var(--cdal-surface-soft);
	overflow: hidden;
}

.cdal-showcase__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.cdal-showcase__steps {
	list-style: none;
	margin: clamp(20px, 3vw, 36px) 0 0;
	padding: 0;
	display: grid;
	gap: clamp(14px, 2vw, 22px);
}

.cdal-showcase__step {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 4px 0;
}

.cdal-showcase__dot {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	margin-top: 7px;
	border-radius: 50%;
	background: var(--cdal-line);
	box-shadow: 0 0 0 4px rgba(13, 43, 92, 0.06);
	transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.cdal-showcase__step h3 {
	margin: 0 0 4px;
	font-size: clamp(1.1rem, 2vw, 1.32rem);
}

.cdal-showcase__step p {
	margin: 0;
	color: var(--cdal-text-soft);
}

.cdal-showcase__step.is-active .cdal-showcase__dot {
	background: var(--cdal-red);
	box-shadow: 0 0 0 5px rgba(230, 57, 70, 0.16);
	transform: scale(1.1);
}

.cdal-showcase__phone {
	display: flex;
	justify-content: center;
}

.cdal-phone {
	position: relative;
	width: min(300px, 78vw);
	aspect-ratio: 300 / 620;
	border-radius: 44px;
	padding: 12px;
	background: linear-gradient(160deg, #1c2740 0%, #0b1322 100%);
	box-shadow: var(--cdal-shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.cdal-phone__notch {
	position: absolute;
	top: 13px;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 26px;
	border-radius: 0 0 16px 16px;
	background: #0b1322;
	z-index: 3;
}

.cdal-phone__screen {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 32px;
	overflow: hidden;
	background: #0b1322;
}

.cdal-showcase__shot {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.05);
	transition: opacity 0.6s ease, transform 0.9s ease;
}

.cdal-showcase__shot.is-active {
	opacity: 1;
	transform: scale(1);
}

/* Magnetic CTA buttons get a smooth spring-back baseline. */
.cdal-cta .cdal-store-btn {
	will-change: transform;
}

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 1024px) {
	.cdal-featgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cdal-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cdal-bloggrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cdal-reader-modal__panel {
		width: min(720px, 100vw);
	}

	.cdal-nav {
		display: none;
	}

	.cdal-header__cta {
		display: none;
	}

	.cdal-burger {
		display: inline-flex;
	}

	.cdal-hero__inner,
	.cdal-split {
		grid-template-columns: 1fr;
	}

	.cdal-split--rev .cdal-split__copy {
		order: 1;
	}

	.cdal-split--rev .cdal-split__visual {
		order: 2;
	}

	.cdal-hero__visual {
		min-height: 470px;
		max-width: 560px;
		margin-inline: auto;
		width: 100%;
	}

	.cdal-hero-card {
		width: clamp(160px, 26vw, 220px);
	}
}

@media (max-width: 768px) {
	.cdal-landing {
		font-size: 16px;
	}

	.cdal-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px 16px;
		padding: 24px 20px;
	}

	.cdal-stat + .cdal-stat::before {
		display: none;
	}

	.cdal-stat {
		padding: 8px 4px;
	}

	.cdal-steps {
		grid-template-columns: 1fr;
	}

	.cdal-step {
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 4px 18px;
		align-items: center;
	}

	.cdal-step__num {
		grid-row: span 2;
		margin-bottom: 0;
	}

	.cdal-step p {
		grid-column: 2;
	}

	.cdal-checklist {
		grid-template-columns: 1fr;
	}

	.cdal-footer__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.cdal-carousel {
		padding: 0 10px;
	}

	.cdal-carousel__btn {
		display: none;
	}

	.cdal-split__visual {
		min-height: 0;
		padding: 16px 0;
		gap: 16px;
	}

	.cdal-tilt-card {
		width: clamp(150px, 38vw, 220px);
	}

	.cdal-tilt-card--0,
	.cdal-tilt-card--1 {
		transform: none;
	}

	.cdal-showcase__inner {
		grid-template-columns: 1fr;
	}

	.cdal-showcase__phone {
		order: -1;
	}

	.cdal-showcase__step {
		cursor: pointer;
		padding: 8px 12px;
		border-radius: 12px;
	}

	.cdal-showcase__step:hover {
		background: rgba(13, 43, 92, 0.05);
	}

	.cdal-bloggrid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.cdal-reader-modal__panel {
		width: 100vw;
	}

	.cdal-reader-modal__toolbar {
		padding: 12px 18px;
	}

	.cdal-reader-modal__body {
		padding: 24px 18px;
	}

	.cdal-reader__title {
		font-size: clamp(1.5rem, 6vw, 1.95rem);
	}

	.cdal-reader__takeaways {
		padding: 16px 18px;
		border-radius: 0 12px 12px 0;
		margin-bottom: 24px;
	}

	.cdal-reader__content h2 {
		font-size: 1.22rem;
		margin: 26px 0 10px;
	}

	.cdal-reader__content p,
	.cdal-reader__content li {
		font-size: 0.96rem;
		line-height: 1.6;
	}

	.cdal-reader__cta-box {
		flex-direction: column;
		align-items: stretch;
		padding: 24px 18px;
		margin-top: 36px;
	}

	.cdal-reader__cta-buttons .cdal-store-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.cdal-container,
	.cdal-container--narrow {
		width: calc(100% - 32px);
	}

	.cdal-blog-card {
		padding: 18px 16px;
		border-radius: 16px;
	}

	.cdal-blog-card__header {
		margin-bottom: 12px;
	}

	.cdal-blog-badge {
		font-size: 0.72rem;
		padding: 4px 10px;
	}

	.cdal-blog-time {
		font-size: 0.76rem;
	}

	.cdal-blog-card__title {
		font-size: 1.1rem;
		margin-bottom: 8px;
	}

	.cdal-blog-card__excerpt {
		font-size: 0.88rem;
		margin-bottom: 16px;
	}

	.cdal-blog-card__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding-top: 12px;
	}

	.cdal-blog-author {
		max-width: 100%;
		font-size: 0.8rem;
	}

	.cdal-blog-btn {
		width: 100%;
		justify-content: flex-start;
		padding: 6px 0;
	}

	.cdal-reader-modal__body {
		padding: 20px 14px;
	}

	.cdal-reader__table th,
	.cdal-reader__table td {
		padding: 10px 12px;
		font-size: 0.84rem;
	}

	.cdal-table-pill {
		font-size: 0.7rem;
		padding: 2px 8px;
	}

	.cdal-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px 10px;
		padding: 18px 12px;
	}

	.cdal-stat__num {
		font-size: clamp(1.75rem, 6.5vw, 2.3rem);
	}

	.cdal-stat__label {
		font-size: 0.8rem;
		margin-top: 4px;
	}

	.cdal-featgrid {
		grid-template-columns: 1fr;
	}

	.cdal-hero {
		padding-top: 36px;
	}

	.cdal-hero__visual {
		min-height: 380px;
	}

	.cdal-hero-card {
		width: 44vw;
	}

	.cdal-hero-card--0 { left: 2%; top: 2%; }
	.cdal-hero-card--1 { left: 52%; top: 12%; }
	.cdal-hero-card--2 { left: 27%; top: 40%; }

	.cdal-hero__actions .cdal-store-btn {
		flex: 1 1 100%;
		justify-content: center;
	}

	.cdal-cta__actions .cdal-store-btn {
		flex: 1 1 100%;
		justify-content: center;
	}

	.cdal-split__visual {
		min-height: 0;
		padding: 10px 0;
		gap: 10px;
	}

	.cdal-tilt-card {
		width: clamp(130px, 42vw, 175px);
		border-radius: 18px;
	}

	.cdal-lightbox__close {
		top: 10px;
		right: 10px;
	}

	.cdal-rating-badge {
		margin-bottom: 18px;
		flex-wrap: wrap;
	}

	.cdal-qr-modal__card {
		padding: 28px 18px 22px;
		max-width: calc(100vw - 32px);
	}

	.cdal-qr-code svg,
	.cdal-qr-code img {
		max-width: 150px;
		height: auto;
	}
}

@media (max-width: 360px) {
	.cdal-container,
	.cdal-container--narrow {
		width: calc(100% - 24px);
	}

	.cdal-blog-card {
		padding: 16px 12px;
	}

	.cdal-blog-card__title {
		font-size: 1.02rem;
	}

	.cdal-blog-card__excerpt {
		font-size: 0.84rem;
	}

	.cdal-reader-modal__toolbar {
		padding: 10px 12px;
	}

	.cdal-reader-modal__back {
		padding: 6px 8px;
		font-size: 0.84rem;
	}

	.cdal-reader-modal__body {
		padding: 16px 10px;
	}

	.cdal-reader__title {
		font-size: 1.35rem;
	}

	.cdal-reader__takeaways {
		padding: 14px 12px;
	}

	.cdal-hero__copy h1 {
		font-size: clamp(1.85rem, 8.5vw, 2.2rem);
	}

	.cdal-hero__visual {
		min-height: 320px;
	}

	.cdal-hero-card {
		width: 48vw;
	}

	.cdal-stats {
		padding: 14px 8px;
		gap: 10px 6px;
	}

	.cdal-stat__num {
		font-size: 1.6rem;
	}

	.cdal-stat__label {
		font-size: 0.72rem;
	}

	.cdal-store-btn {
		padding: 8px 12px 8px 10px;
		gap: 8px;
	}

	.cdal-header__inner {
		gap: 8px;
	}

	.cdal-header__brand span {
		font-size: 1.1rem;
	}
}

@media (max-height: 520px) and (orientation: landscape) {
	.cdal-mobile-menu {
		max-height: calc(100vh - 54px);
	}

	.cdal-lightbox__figure {
		max-height: 92vh;
	}

	.cdal-lightbox__figure img {
		max-height: 72vh;
	}

	.cdal-qr-modal__card {
		max-height: 88vh;
		overflow-y: auto;
		padding: 20px 16px;
	}

	.cdal-reader-modal__toolbar {
		padding: 8px 16px;
	}

	.cdal-reader-modal__body {
		padding: 16px 20px;
	}

	.cdal-reader__head {
		margin-bottom: 20px;
		padding-bottom: 16px;
	}

	.cdal-reader__cta-box {
		margin-top: 24px;
		padding: 18px 20px;
	}
}


/* ───────────────────────── Desktop Enhancements ───────────────────────── */
@media (min-width: 768px) {
	.cdal-anim-ready .cdal-showcase__step {
		opacity: 0.42;
		transition: opacity 0.45s ease;
	}

	.cdal-anim-ready .cdal-showcase__step.is-active {
		opacity: 1;
	}
}

/* ───────────────────────── Reduced motion ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.cdal-landing *,
	.cdal-landing *::before,
	.cdal-landing *::after {
		animation-duration: 0.001s !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001s !important;
		scroll-behavior: auto !important;
	}

	.cdal-orb--red,
	.cdal-orb--blue,
	.cdal-hero-card--0,
	.cdal-hero-card--1,
	.cdal-hero-card--2 {
		animation: none !important;
	}

	.cdal-hero__webgl {
		display: none !important;
	}
}

/* ───────────────────────── Print styles ───────────────────────── */
@media print {
	.cdal-header,
	.cdal-qr-modal,
	.cdal-lightbox,
	.cdal-hero__bg,
	.cdal-burger {
		display: none !important;
	}

	.cdal-landing {
		background: #fff !important;
		color: #111 !important;
	}

	.cdal-hero {
		padding-top: 20px !important;
		min-height: auto !important;
	}

	.cdal-hero h1,
	.cdal-section h2 {
		color: #111 !important;
	}

	.cdal-card,
	.cdal-how__card,
	.cdal-faq__item {
		border: 1px solid #ddd !important;
		box-shadow: none !important;
		break-inside: avoid;
	}
}

