/* Axion site styles. Colours, font sizes and spacing come from theme.json presets. */

:root {
	--primary: var(--wp--preset--color--primary);
	--accent: var(--wp--preset--color--accent);
	--secondary: var(--wp--preset--color--secondary);
	--ink: var(--wp--preset--color--ink);
	--paper: var(--wp--preset--color--paper);
	--white: #fff;
	--tint: var(--wp--preset--color--tint);
	--tint-light: var(--wp--preset--color--tint-light);
	--line: var(--wp--preset--color--line);
	--muted: var(--wp--preset--color--muted);
	--wide: 76rem;
	--gutter: clamp(1rem, 5vw, 3rem);
	--radius: 6px;
	--shadow-panel: 0 28px 56px -28px rgba(11, 79, 108, 0.45);
	--header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
body { font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }

/* Headings use Archivo's expanded width, echoing the extended capitals of the logo. */
h1, h2, h3, h4,
.wp-block-post-title {
	font-stretch: 115%;
	letter-spacing: -0.012em;
	text-wrap: balance;
}
h1, .wp-block-post-title { font-stretch: 120%; letter-spacing: -0.02em; }
p, li { text-wrap: pretty; }

a { text-decoration: none; }
:where(a, button, input, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
	border-radius: 2px;
}
.has-primary-background-color :where(a, button):focus-visible { outline-color: var(--tint-light); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.tabular, .vdemo__price, .vdemo__payment { font-variant-numeric: tabular-nums; }

/* Buttons --------------------------------------------------------------------- */

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.72rem 1.25rem;
	border: 1.5px solid transparent;
	border-radius: var(--radius);
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #33C8F2; color: var(--ink); }
.btn--solid { background: var(--primary); color: var(--white); }
.btn--solid:hover { background: #093F57; color: var(--white); }
.btn--outline,
.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: currentColor;
	color: var(--primary);
}
.btn--outline:hover,
.is-style-outline > .wp-block-button__link:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.has-primary-background-color .is-style-outline > .wp-block-button__link { color: var(--white); }
.has-primary-background-color .is-style-outline > .wp-block-button__link:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn.btn--large { padding: 0.95rem 1.75rem; font-size: 1.0625rem; }
.btn:disabled { opacity: 0.6; cursor: progress; }

.link-button {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-weight: 600;
	color: var(--primary);
	text-decoration: none;
	cursor: pointer;
}

/* Header ---------------------------------------------------------------------- */

.site-header-part { position: sticky; top: 0; z-index: 50; }
body.admin-bar .site-header-part { top: var(--wp-admin--admin-bar--height, 32px); }

.site-header {
	position: relative;
	background: rgba(248, 249, 250, 0.94);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header__bar {
	display: flex;
	align-items: center;
	gap: 2rem;
	max-width: calc(var(--wide) + 2 * var(--gutter));
	height: var(--header-h);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.site-header__logo { display: inline-flex; flex: none; }
.site-header__logo img { width: auto; height: 30px; }

.primary-nav { flex: 1; }
.primary-nav__list { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.primary-nav__trigger,
.primary-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.75rem;
	border: 0;
	border-radius: var(--radius);
	background: none;
	color: var(--ink);
	font: inherit;
	font-size: 0.9688rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.primary-nav__trigger::after {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	margin-top: -0.2rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.15s;
}
.primary-nav__trigger:hover,
.primary-nav__link:hover,
.is-open > .primary-nav__trigger { color: var(--primary); background: rgba(11, 79, 108, 0.06); }
.is-open > .primary-nav__trigger::after { transform: rotate(-135deg); margin-top: 0.25rem; }
.primary-nav__link[aria-current] { color: var(--primary); background: rgba(11, 79, 108, 0.08); }

[data-menu-panel] { display: none; }
.is-open > [data-menu-panel],
html:not(.js) [data-menu]:focus-within > [data-menu-panel] { display: block; }

.mega {
	position: absolute;
	top: calc(100% - 0.25rem);
	left: 50%;
	width: min(var(--wide), calc(100vw - 2rem));
	transform: translateX(-50%);
	padding: 1.75rem 1.75rem 1.25rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow-panel);
}
.mega__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.mega__col ul,
.dropdown ul { margin: 0; padding: 0; list-style: none; }
.mega__heading {
	margin: 0 0 0.5rem;
	padding: 0 0.5rem 0.6rem;
	border-bottom: 1px solid var(--line);
	color: var(--secondary);
	font-size: 0.8125rem;
	font-weight: 600;
}
.nav-item {
	display: block;
	padding: 0.55rem 0.5rem;
	border-radius: var(--radius);
	text-decoration: none;
}
.nav-item__label { display: block; color: var(--ink); font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.nav-item__desc { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.8125rem; line-height: 1.4; }
.nav-item:hover { background: var(--paper); }
.nav-item:hover .nav-item__label,
.nav-item[aria-current] .nav-item__label { color: var(--primary); }
.mega__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: 1.25rem;
	padding: 1rem 1.25rem;
	background: var(--paper);
	border-radius: 8px;
}
.mega__foot p { margin: 0; font-size: 0.9375rem; }
.mega__foot strong { color: var(--primary); }

.primary-nav__item:has(.dropdown) { position: relative; }
.dropdown {
	position: absolute;
	top: calc(100% + 0.6rem);
	left: 0;
	width: 23rem;
	padding: 0.6rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow-panel);
}
.dropdown .nav-item { padding: 0.7rem 0.75rem; }

.site-header__actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.site-header__signin { color: var(--ink); font-size: 0.9688rem; font-weight: 600; text-decoration: none; }
.site-header__signin:hover { color: var(--secondary); }
.site-header__toggle {
	display: none;
	padding: 0.5rem;
	border: 0;
	background: none;
	color: var(--primary);
	cursor: pointer;
}

.mobile-nav {
	max-height: calc(100dvh - var(--header-h));
	overflow-y: auto;
	padding: 0.5rem var(--gutter) 1.5rem;
	border-top: 1px solid var(--line);
	background: var(--paper);
}
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary,
.mobile-nav__link {
	display: block;
	padding: 0.9rem 0;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.mobile-nav__link { border-bottom: 1px solid var(--line); }
.mobile-nav ul { margin: 0 0 0.75rem; padding: 0; list-style: none; }
.mobile-nav li a { display: block; padding: 0.4rem 0; color: var(--ink); text-decoration: none; }
.mobile-nav__heading { margin: 0.75rem 0 0.25rem; color: var(--secondary); font-size: 0.8125rem; font-weight: 600; }
.mobile-nav .btn { width: 100%; margin-top: 1.25rem; }

@media (max-width: 68rem) {
	.primary-nav, .site-header__signin { display: none; }
	.site-header__toggle { display: inline-flex; }
	.site-header__bar { gap: 1rem; }
}
@media (max-width: 30rem) {
	.site-header__actions .btn--accent { padding: 0.6rem 0.85rem; font-size: 0.9375rem; }
	.site-header__logo img { height: 24px; }
}
@media (min-width: 68.01rem) {
	.mobile-nav { display: none !important; }
}

/* Page heading area ------------------------------------------------------------ */

.page-intro { border-bottom: 1px solid var(--line); }
.page-intro .wp-block-post-excerpt { max-width: 40rem; margin-top: 1rem; font-size: var(--wp--preset--font-size--medium); line-height: 1.5; }
.page-intro .wp-block-post-excerpt__excerpt { margin: 0; }

/* Home: hero ---------------------------------------------------------------------- */

.hero { overflow: hidden; }
.hero__columns { gap: clamp(2rem, 5vw, 4.5rem) !important; align-items: center !important; }
.hero h1 {
	margin: 0;
	font-size: var(--wp--preset--font-size--display);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 0.98;
	letter-spacing: -0.03em;
}
.hero__lede { max-width: 32rem; font-size: var(--wp--preset--font-size--medium); line-height: 1.5; }
.hero .wp-block-buttons { gap: 1.25rem; align-items: center; }
.hero__signin a { font-weight: 600; }

.hero-visual { margin: 0 !important; }
.hero-visual img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-panel); }

/* Home: vehicle demo --------------------------------------------------------------- */

.vdemo {
	margin: 0;
	padding: clamp(1rem, 3vw, 1.75rem);
	background: var(--primary);
	border-radius: 16px;
	color: var(--white);
}
.vdemo p { margin: 0; }
.vdemo__record {
	padding: 1.25rem 1.35rem;
	background: var(--white);
	border-radius: 10px;
	color: var(--ink);
}
.vdemo__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; color: var(--muted); font-size: 0.8125rem; }
.vdemo__status { margin-left: auto; color: #047857; font-weight: 600; }
.vdemo__status::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.35rem; border-radius: 50%; background: var(--wp--preset--color--success); }
.is-sold .vdemo__status { color: var(--primary); }
.is-sold .vdemo__status::before { background: var(--primary); }
.vdemo__title { margin-top: 0.6rem !important; font-size: 1.125rem; font-weight: 700; font-stretch: 112%; }
.vdemo__price { margin-top: 0.15rem !important; color: var(--primary); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; font-stretch: 110%; line-height: 1.1; }
.vdemo__payment { color: var(--muted); font-size: 1rem; font-weight: 500; font-stretch: 100%; }
.vdemo__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.vdemo__btn {
	padding: 0.5rem 0.85rem;
	border: 1.5px solid var(--primary);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--primary);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
}
.vdemo__btn:hover:not(:disabled) { background: var(--primary); color: var(--white); }
.vdemo__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.vdemo__btn--quiet { border-color: transparent; }
.vdemo__btn--quiet:hover:not(:disabled) { background: transparent; color: var(--secondary); }

/* The rail shows the record feeding each channel. */
.vdemo__channels {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 1.5rem 0 0;
	padding: 1.1rem 0 0;
	border-top: 2px solid var(--tint);
	list-style: none;
}
.vdemo__channels::before {
	content: "";
	position: absolute;
	top: -1.5rem;
	left: 1.35rem;
	height: 1.5rem;
	border-left: 2px solid var(--tint);
}
.vdemo__channel {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 0.85rem 0.95rem;
	background: var(--white);
	border-radius: 8px;
	color: var(--ink);
}
.vdemo__channel::before {
	content: "";
	position: absolute;
	top: -1.1rem;
	left: 0.95rem;
	height: 1.1rem;
	border-left: 2px solid var(--tint);
}
.vdemo__channel-name { color: var(--secondary); font-size: 0.8125rem; font-weight: 600; }
.vdemo__channel-body { flex: 1; font-size: 0.9375rem; line-height: 1.4; }
.vdemo__channel-body strong { color: var(--primary); font-variant-numeric: tabular-nums; }
.vdemo__state { font-size: 0.8125rem; font-weight: 600; color: #047857; }
.vdemo__state::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.35rem; border-radius: 50%; background: var(--wp--preset--color--success); }
.is-sold [data-channel="google"] .vdemo__state { color: #92400E; }
.is-sold [data-channel="google"] .vdemo__state::before { background: var(--wp--preset--color--warning); }
.is-sold [data-channel="website"] .vdemo__state { color: var(--muted); }
.is-sold [data-channel="website"] .vdemo__state::before { background: var(--muted); }
.vdemo__note { margin-top: 1rem; color: var(--tint-light); font-size: 0.8125rem; }
.vdemo__live:empty { display: none; }
.vdemo__live { margin-top: 0.9rem !important; color: var(--white); font-size: 0.9375rem; font-weight: 600; }

.is-changed { animation: vdemo-flash 1.4s ease-out; border-radius: 3px; }
@keyframes vdemo-flash {
	from { background-color: rgba(1, 186, 239, 0.32); }
	to { background-color: transparent; }
}

@media (max-width: 36rem) {
	.vdemo__channels { grid-template-columns: 1fr; }
}

/* Home: lifecycle stages (a real sequence, so numbered) ----------------------------- */

.stages {
	counter-reset: stage;
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0 1.5rem !important;
	position: relative;
}
.stage { position: relative; counter-increment: stage; padding-top: 3.25rem; }
.stage::before {
	content: counter(stage);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--primary);
	color: var(--white);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.stage::after {
	content: "";
	position: absolute;
	top: 1.075rem;
	left: 2.25rem;
	right: -1.5rem;
	border-top: 2px solid var(--tint);
}
.stage:last-child::after { display: none; }
.stage h3 { margin: 0; font-size: 1.1875rem; }
.stage p { margin: 0.5rem 0 0; font-size: 0.9688rem; }
.stage .stage__links { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.7; }
@media (max-width: 64rem) {
	.stages { grid-template-columns: 1fr; gap: 2rem !important; }
	.stage { padding: 0 0 0 3.5rem; }
	.stage::after { top: 2.25rem; bottom: -2rem; left: 1.075rem; right: auto; border-top: 0; border-left: 2px solid var(--tint); }
}

/* Home: audiences -------------------------------------------------------------------- */

.audiences { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem !important; }
.audience { padding-top: 1.25rem; border-top: 2px solid var(--primary); }
.audience h3 { margin: 0; }
.audience p { margin: 0.6rem 0 0; }
@media (max-width: 48rem) { .audiences { grid-template-columns: 1fr; } }

/* Lists of real names (service templates, integrations) */
.token-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.token-list li {
	padding: 0.35rem 0.75rem;
	border: 1px solid rgba(128, 220, 245, 0.45);
	border-radius: 999px;
	font-size: 0.9375rem;
}

.facts { margin: 0; padding: 0; list-style: none; }
.facts li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts strong { display: block; color: var(--primary); font-size: 1.125rem; font-stretch: 110%; }

/* Tables (integrations) */
.wp-block-table table { border-collapse: collapse; width: 100%; font-size: 0.9688rem; }
.wp-block-table th,
.wp-block-table td { padding: 0.85rem 1rem 0.85rem 0; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.wp-block-table thead th { color: var(--secondary); font-size: 0.875rem; font-weight: 600; border-bottom: 2px solid var(--primary); }
.wp-block-table td:first-child { font-weight: 600; white-space: nowrap; }
.wp-block-table thead { border: 0; }
@media (max-width: 40rem) { .wp-block-table td:first-child { white-space: normal; } }

/* App links */
.app-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.app-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1rem;
	border: 1.5px solid currentColor;
	border-radius: var(--radius);
	color: var(--primary);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}
.app-link:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.has-primary-background-color .app-link { color: var(--white); }
.has-primary-background-color .app-link:hover { background: var(--white); color: var(--primary); border-color: var(--white); }

/* Footer ------------------------------------------------------------------------------ */

.site-footer { background: var(--primary); color: rgba(255, 255, 255, 0.86); font-size: 0.9375rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--tint-light); }
.site-footer :focus-visible { outline-color: var(--tint-light); }
.site-footer__top {
	display: grid;
	grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
	gap: 2.5rem;
	max-width: calc(var(--wide) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 4rem var(--gutter) 3rem;
}
.site-footer__logo { width: auto; height: 28px; filter: brightness(0) invert(1); }
.site-footer__brand p { max-width: 20rem; margin: 1rem 0 0; }
.site-footer__brand .site-footer__cta { margin-top: 1.5rem; }
.site-footer .btn--accent { color: var(--ink); }
.site-footer .btn--accent:hover { text-decoration: none; }
.site-footer__heading { margin: 0 0 0.85rem; color: var(--tint-light); font-size: 0.875rem; font-weight: 600; }
.site-footer__col ul { margin: 0; padding: 0; list-style: none; }
.site-footer__col li { margin: 0 0 0.55rem; }
.site-footer__col .app-links { flex-direction: column; align-items: flex-start; margin-top: 1rem; }
.site-footer .app-link { color: var(--white); border-color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; padding: 0.5rem 0.85rem; }
.site-footer .app-link:hover { background: var(--white); color: var(--primary); text-decoration: none; }
.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	max-width: calc(var(--wide) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 1.5rem var(--gutter) 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.875rem;
}
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-footer .link-button { color: var(--white); text-decoration: none; font-size: inherit; }
.site-footer .link-button:hover { color: var(--tint-light); }
@media (max-width: 64rem) {
	.site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 30rem) { .site-footer__top { grid-template-columns: 1fr; } }

/* Demo form --------------------------------------------------------------------------- */

.demo-form {
	padding: clamp(1.25rem, 4vw, 2.25rem);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow-panel);
}
.demo-form form > * { margin: 0 0 1.25rem; }
.demo-form form > :last-child { margin-bottom: 0; }
.demo-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 36rem) { .demo-form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label,
.field legend { color: var(--ink); font-size: 0.9375rem; font-weight: 600; }
.field legend { margin-bottom: 0.5rem; padding: 0; }
.field__optional { color: var(--muted); font-weight: 400; }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field textarea {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1.5px solid #9CA3AF;
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
}
.field input:focus,
.field textarea:focus { border-color: var(--primary); outline: 2px solid var(--primary); outline-offset: 0; }
.field input.field__short { max-width: 9rem; }
.field--error input,
.field--error textarea { border-color: #B91C1C; }
.field__error { margin: 0; color: #B91C1C; font-size: 0.875rem; font-weight: 600; }
.field__error[hidden] { display: none; }
.field--trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choices { display: flex; flex-direction: column; gap: 0.45rem; }
.choices--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem 1.25rem; }
@media (max-width: 36rem) { .choices--grid { grid-template-columns: 1fr; } }
.choice { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9688rem; font-weight: 400 !important; cursor: pointer; }
.choice input { flex: none; width: 1.15rem; height: 1.15rem; margin: 0.2rem 0 0; accent-color: var(--primary); }
.demo-form__privacy { color: var(--muted); font-size: 0.875rem; }
.demo-form__alert { margin: 0; padding: 0.85rem 1rem; border-left: 4px solid var(--wp--preset--color--error); background: #FEF2F2; color: #991B1B; font-weight: 600; }
.demo-form__alert[hidden] { display: none; }
.demo-form__success h2 { margin-top: 0; }
.demo-form__success::before {
	content: "";
	display: block;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: var(--wp--preset--color--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1.4rem no-repeat;
}

/* Cookie consent ----------------------------------------------------------------------- */

.consent {
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	z-index: 100;
	right: 1rem;
	max-width: 27rem;
	padding: 1.25rem 1.35rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow-panel);
	font-size: 0.9375rem;
}
.consent[hidden] { display: none; }
.consent__title { margin: 0 0 0.4rem; font-size: 1.0625rem; font-stretch: 105%; }
.consent p { margin: 0; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 1rem; }
.consent__actions .btn { padding: 0.6rem 1rem; font-size: 0.9375rem; }

.consent-dialog {
	width: min(36rem, calc(100vw - 2rem));
	padding: 0;
	border: 0;
	border-radius: 12px;
	box-shadow: var(--shadow-panel);
	color: var(--ink);
}
.consent-dialog::backdrop { background: rgba(43, 45, 66, 0.55); }
.consent-dialog__form { padding: 1.75rem; }
.consent-dialog h2 { margin: 0 0 0.5rem; font-size: 1.5rem; }
.consent-dialog p { margin: 0.4rem 0 0; font-size: 0.9375rem; }
.consent-option { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.consent-option h3 { margin: 0; font-size: 1.0625rem; }
.consent-option__fixed { flex: none; color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.consent-option__gpc { color: var(--secondary); font-weight: 600; }
.consent-option__gpc[hidden] { display: none; }
.consent-dialog__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.consent-dialog__more { color: var(--muted); }

/* Toggle switch (an <input type=checkbox>) */
.switch {
	appearance: none;
	flex: none;
	position: relative;
	width: 2.75rem;
	height: 1.5rem;
	margin-top: 0.15rem;
	border-radius: 999px;
	background: #9CA3AF;
	cursor: pointer;
	transition: background-color 0.15s;
}
.switch::after {
	content: "";
	position: absolute;
	top: 0.1875rem;
	left: 0.1875rem;
	width: 1.125rem;
	height: 1.125rem;
	border-radius: 50%;
	background: var(--white);
	transition: transform 0.15s;
}
.switch:checked { background: var(--primary); }
.switch:checked::after { transform: translateX(1.25rem); }

/* Legal pages */
.legal h2 { margin-top: 2.5rem; font-size: var(--wp--preset--font-size--large); }
.legal h3 { margin-top: 1.75rem; font-size: var(--wp--preset--font-size--medium); }

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

/* Page sections (home and landing pages) ------------------------------------------------ */

.wp-block-post-content > .alignfull:first-child { margin-top: 0; }
.wp-block-post-content > .alignfull + .alignfull { margin-top: 0; }
.section { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.section.hero { padding-top: var(--wp--preset--spacing--50); }
.section__intro { max-width: 46rem; margin-bottom: var(--wp--preset--spacing--50) !important; }
.section__intro > * { margin-top: 0; }
.section__intro h2 + p { margin-top: 1rem; font-size: var(--wp--preset--font-size--medium); line-height: 1.5; }
.split { gap: clamp(2rem, 6vw, 5rem) !important; }
.split h2 { margin-top: 0; }
.section-fixed-ops p { color: rgba(255, 255, 255, 0.9); }
.token-list__label { margin-top: 0.4rem; color: var(--tint-light) !important; font-weight: 600; }
.section-cta { text-align: left; border-top: 1px solid var(--line); }
.section-cta > * { max-width: 42rem; }
.section-cta h2 { margin-top: 0; }
.btn--large > .wp-block-button__link { padding: 0.95rem 1.75rem; font-size: 1.0625rem; }
.wp-block-button__link:hover { background-color: #33C8F2; }
.section-mobile .app-links { margin-bottom: 1rem; }

/* Headings wrap between words only. */
h1, h2, h3, h4 { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (max-width: 30rem) {
	.hero h1 { font-stretch: 110%; font-size: 2.5rem; }
}

/* Grid children: cancel the block-gap top margin WordPress adds to every block after the first. */
.stages > .stage,
.audiences > .audience { margin-block-start: 0 !important; }

/* The closing call to action lines up with the wide content edge, like every other section. */
.section-cta.is-layout-constrained > * { margin-left: max(0px, calc((100% - var(--wide)) / 2)) !important; }

/* Page intro: the lead paragraph lines up under the title instead of centring. */
.page-intro.is-layout-constrained > .wp-block-post-excerpt { margin-left: max(0px, calc((100% - var(--wide)) / 2)) !important; }

/* Text pages: body copy lines up under the left-aligned title rather than centring. */
.page-template-default .wp-block-post-content.is-layout-constrained > :not(.alignwide):not(.alignfull) {
	margin-left: max(0px, calc((100% - var(--wide)) / 2)) !important;
}

/* Changed channel cards get a fading ring; their white background never animates. */
.vdemo__channel.is-changed { animation: vdemo-ring 1.6s ease-out; }
@keyframes vdemo-ring {
	from { box-shadow: 0 0 0 3px rgba(1, 186, 239, 0.95); }
	to { box-shadow: 0 0 0 3px rgba(1, 186, 239, 0); }
}

/* Feature pages ------------------------------------------------------------------------ */

.wp-block-post-content > .feature-row:first-child { margin-top: 0; }
.feature-row {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
	grid-auto-flow: dense;
	column-gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
	margin-top: var(--wp--preset--spacing--50) !important;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}
.feature-row > * { grid-column: 1; margin: 0 !important; }
.feature-row > h2 { font-size: var(--wp--preset--font-size--large); }
.feature-row > p { margin-top: 0.75rem !important; }
.feature-row > ul,
.feature-row > ol,
.feature-row > .wp-block-table { grid-column: 2; grid-row: 1 / span 6; }
.feature-row ul { padding-left: 1.1rem; }
.feature-row li { margin-bottom: 0.6rem; padding-left: 0.25rem; }
.feature-row li::marker { color: var(--secondary); }
@media (max-width: 48rem) {
	.feature-row { grid-template-columns: 1fr; }
	.feature-row > ul, .feature-row > ol, .feature-row > .wp-block-table { grid-column: 1; grid-row: auto; margin-top: 1.25rem !important; }
}

/* FAQ: a Group with the "faq" class holding Details blocks. Also emitted as FAQPage schema (inc/seo.php). */
.faq { margin-top: var(--wp--preset--spacing--60) !important; margin-bottom: var(--wp--preset--spacing--60) !important; }
.faq > h2 { margin: 0 0 1rem; font-size: var(--wp--preset--font-size--large); }
.faq details { max-width: 52rem; margin: 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
	position: relative;
	padding: 1rem 2.5rem 1rem 0;
	font-weight: 700;
	font-size: 1.0625rem;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	position: absolute;
	right: 0.25rem;
	top: 0.85rem;
	color: var(--primary);
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1;
}
.faq details[open] > summary::after { content: "\2212"; }
.faq summary:hover { color: var(--primary); }
.faq details > p { margin: 0 0 1.1rem; max-width: 46rem; color: var(--ink); }
.faq details a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

.related { margin-top: var(--wp--preset--spacing--60) !important; }
.related > h2 { margin: 0 0 1.25rem; font-size: var(--wp--preset--font-size--large); }
.related__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.related__list li { padding-top: 1rem; border-top: 2px solid var(--primary); font-size: 0.9688rem; }
.related__list a { display: block; margin-bottom: 0.3rem; font-weight: 700; font-size: 1.0625rem; text-decoration: none; }

@media (max-width: 56rem) { .related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .related__list { grid-template-columns: 1fr; } }

/* A page that ends with the call-to-action band meets the footer directly, whatever its template's bottom padding. */
.wp-block-post-content > .section-cta:last-child { margin-top: var(--wp--preset--spacing--60); margin-bottom: 0; }
.wp-block-post-content:has(> .section-cta:last-child) { padding-bottom: 0 !important; }

/* Short intro paragraph above the first feature row */
.feature-intro { font-size: var(--wp--preset--font-size--medium); line-height: 1.55; }

/* ======================================================================================
   Visual system (v1.1): links, page header band, module cards, icons, screenshots, CTA band
   ====================================================================================== */

/* Links: no underlines. Bold teal set them apart from body text; hover and focus change colour. */
.wp-block-post-content :where(p, li, td, figcaption, .wp-block-table) a:not(.wp-block-button__link) {
	color: var(--primary);
	font-weight: 600;
	transition: color 0.15s;
}
.wp-block-post-content :where(p, li, td, figcaption) a:not(.wp-block-button__link):hover { color: var(--secondary); }
.has-primary-background-color :where(p, li) a:not(.wp-block-button__link) { color: var(--white); }
.has-primary-background-color :where(p, li) a:not(.wp-block-button__link):hover { color: var(--tint-light); }
.stage .stage__links a { display: inline-block; padding: 0.1rem 0; }

/* Page header band ------------------------------------------------------------------------ */

.page-intro {
	position: relative;
	overflow: hidden;
	background: var(--primary);
	color: var(--white);
	border-bottom: 0;
}
.page-intro .wp-block-post-title { color: var(--white); }
.page-intro .wp-block-post-excerpt { color: rgba(255, 255, 255, 0.88); }
.page-intro:has(.page-art) .wp-block-post-title { max-width: min(46rem, 56%); }
.page-intro:has(.page-art) .wp-block-post-excerpt { max-width: min(38rem, 52%); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: 0.875rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; color: rgba(255, 255, 255, 0.4); }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.breadcrumbs a:hover { color: var(--tint-light); }
.breadcrumbs [aria-current] { color: var(--tint-light); }

/* Diagram: this page's module (white tile) feeding its neighbours along the rail. */
.page-art {
	position: absolute;
	top: 50%;
	right: max(var(--gutter), calc((100% - var(--wide)) / 2));
	width: min(27rem, 38%);
	margin: 0 !important;
	transform: translateY(-50%);
}
.page-art--image img { display: block; width: 100%; height: auto; }
.page-art__hub {
	display: grid;
	place-items: center;
	width: 5.5rem;
	height: 5.5rem;
	margin-left: 1.25rem;
	border-radius: 18px;
	background: var(--white);
	color: var(--primary);
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.55);
}
.page-art__hub-icon { width: 2.75rem; height: 2.75rem; }
.page-art__nodes {
	position: relative;
	display: flex;
	gap: 0.75rem;
	margin: 1.5rem 0 0;
	padding: 1.1rem 0 0;
	border-top: 2px solid var(--tint);
	list-style: none;
}
.page-art__nodes::before { content: ""; position: absolute; top: -1.5rem; left: 4rem; height: 1.5rem; border-left: 2px solid var(--tint); }
.page-art__nodes li { position: relative; display: flex; flex: 1; flex-direction: column; gap: 0.55rem; min-width: 0; }
.page-art__nodes li::before { content: ""; position: absolute; top: -1.1rem; left: 1.5rem; height: 1.1rem; border-left: 2px solid var(--tint); }
.page-art__node {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border: 1.5px solid rgba(128, 220, 245, 0.5);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--tint-light);
}
.page-art__node svg { width: 1.5rem; height: 1.5rem; }
.page-art__label { color: rgba(255, 255, 255, 0.78); font-size: 0.75rem; line-height: 1.3; }
@media (max-width: 64rem) {
	.page-art { display: none; }
	.page-intro:has(.page-art) .wp-block-post-title,
	.page-intro:has(.page-art) .wp-block-post-excerpt { max-width: 42rem; }
}

/* Module cards ("Works with", "Where the data goes", platform index) -------------------------- */

.related__list { gap: 1rem; }
.related__list li {
	position: relative;
	padding: 1.4rem 1.4rem 1.5rem;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.55;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.related__list li:hover { border-color: var(--tint); box-shadow: 0 18px 36px -26px rgba(11, 79, 108, 0.55); }
.related__list a {
	display: block;
	margin: 0 0 0.45rem;
	color: var(--primary);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
}
.related__list a::before {
	content: "";
	display: block;
	width: 1.75rem;
	height: 1.75rem;
	margin-bottom: 1rem;
	background: var(--secondary);
	-webkit-mask: var(--icon, var(--icon-layers)) center / contain no-repeat;
	mask: var(--icon, var(--icon-layers)) center / contain no-repeat;
}
.related__list li:hover a::before { background: var(--primary); }
.related__list a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; } /* whole card is the link */
.related__list a:focus-visible { outline: none; }
.related__list li:has(a:focus-visible) { outline: 2px solid var(--primary); outline-offset: 3px; }
.module-group + .module-group { margin-top: var(--wp--preset--spacing--50) !important; }

/* Mega menu icons */
.nav-item { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.7rem; align-items: start; }
.nav-item__icon { width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; color: var(--secondary); }
.nav-item:hover .nav-item__icon,
.nav-item[aria-current] .nav-item__icon { color: var(--primary); }

/* Home audience blocks get their section icon */
.audience::before {
	content: "";
	display: block;
	width: 2rem;
	height: 2rem;
	margin-bottom: 1rem;
	background: var(--primary);
	-webkit-mask: var(--aud-icon, var(--icon-layers)) center / contain no-repeat;
	mask: var(--aud-icon, var(--icon-layers)) center / contain no-repeat;
}
.audience:has(a[href$="/solutions/dealerships/"]) { --aud-icon: var(--icon-store); }
.audience:has(a[href$="/solutions/dealer-groups/"]) { --aud-icon: var(--icon-stores); }
.audience:has(a[href$="/solutions/agencies/"]) { --aud-icon: var(--icon-network); }
.audience:has(a[href$="/fixed-ops/"]) { --aud-icon: var(--icon-wrench); }

/* Feature rows: check marks instead of plain bullets */
.feature-row ul { padding-left: 0 !important; list-style: none; }
.feature-row li { position: relative; padding-left: 2rem !important; }
.feature-row li::before {
	content: "";
	position: absolute;
	top: 0.2em;
	left: 0;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: rgba(64, 121, 140, 0.14);
}
.feature-row li::after {
	content: "";
	position: absolute;
	top: calc(0.2em + 0.25rem);
	left: 0.25rem;
	width: 0.75rem;
	height: 0.75rem;
	background: var(--primary);
	-webkit-mask: var(--icon-check) center / contain no-repeat;
	mask: var(--icon-check) center / contain no-repeat;
}
.feature-row > figure { grid-column: 2; margin-top: 2rem !important; }
@media (max-width: 48rem) { .feature-row > figure { grid-column: 1; } }

/* Feature row with an image beside its text, on the right or (--media-left) the left */
.feature-row--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.feature-row--media > ul,
.feature-row--media > ol,
.feature-row--media > .wp-block-table { grid-column: 1; grid-row: auto; margin-top: 1.25rem !important; }
.feature-row--media > figure { grid-column: 2; grid-row: 1 / span 6; margin-top: 0 !important; }
.feature-row--media > figure img { display: block; width: 100%; height: auto; border-radius: 14px; }
.feature-row--media-left > *,
.feature-row--media-left > ul,
.feature-row--media-left > ol,
.feature-row--media-left > .wp-block-table { grid-column: 2; }
.feature-row--media-left > figure { grid-column: 1; }
@media (max-width: 48rem) {
	.feature-row--media { grid-template-columns: 1fr; }
	.feature-row--media > *,
	.feature-row--media > ul,
	.feature-row--media > ol,
	.feature-row--media > .wp-block-table { grid-column: 1; }
	.feature-row--media > figure { grid-column: 1; grid-row: auto; margin-top: 1.5rem !important; }
}

/* Screenshots: "Screenshot" and "Phone screenshot" image styles, and the screenshot panel */
.wp-block-image.is-style-screenshot {
	padding: 0.5rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow-panel);
}
.wp-block-image.is-style-screenshot img { display: block; width: 100%; height: auto; border-radius: 8px; }
.wp-block-image.is-style-phone { max-width: 20rem; padding: 0.55rem; background: var(--ink); border-radius: 2.25rem; box-shadow: var(--shadow-panel); }
.wp-block-image.is-style-phone img { display: block; width: 100%; height: auto; border-radius: 1.75rem; }
.wp-block-image :where(.is-style-screenshot, .is-style-phone) figcaption,
.wp-block-image.is-style-screenshot figcaption,
.wp-block-image.is-style-phone figcaption { margin: 0.75rem 0.25rem 0.25rem; color: var(--muted); font-size: 0.875rem; }
.wp-block-image.is-style-phone figcaption { color: rgba(255, 255, 255, 0.75); text-align: center; }
.shot-panel {
	margin-top: var(--wp--preset--spacing--60) !important;
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
	background: var(--primary);
}
.shot-panel .wp-block-image.is-style-screenshot { border-color: transparent; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }

/* Closing call to action: a teal band with the orbit rings from the Coming Soon page */
.section-cta {
	position: relative;
	overflow: hidden;
	border-top: 0;
	background: var(--primary);
	color: rgba(255, 255, 255, 0.88);
}
.section-cta h2 { color: var(--white); }
.section-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: repeating-radial-gradient(circle at calc(100% - 8rem) 50%, transparent 0 4.5rem, rgba(102, 179, 199, 0.32) 4.5rem calc(4.5rem + 1.5px));
	-webkit-mask-image: linear-gradient(to left, #000 15%, transparent 65%);
	mask-image: linear-gradient(to left, #000 15%, transparent 65%);
}
.section-cta > * { position: relative; z-index: 1; }
.site-footer { background: #083A50; }

/* Page header band: title and breadcrumbs line up on the left edge; no gaps around the band. */
.page-intro.is-layout-constrained > :is(.wp-block-post-title, .breadcrumbs, .wp-block-post-excerpt) {
	margin-left: max(0px, calc((100% - var(--wide)) / 2)) !important;
}
main > .page-intro { margin-top: 0 !important; }
.wp-block-template-part.site-header-part + main,
footer.wp-block-template-part { margin-top: 0 !important; }
@media (max-width: 40rem) { .breadcrumbs li:last-child { display: none; } }

/* Exactly four cards: one row of four on wide screens, two by two below that. */
.related__list:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 64rem) { .related__list:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .related__list:has(> li:nth-child(4):last-child) { grid-template-columns: 1fr; } }

/* Services dropdown: wider, with a link to the comparison page */
.dropdown--wide { width: 26rem; }
.dropdown__foot {
	display: block;
	margin: 0.4rem 0 0;
	padding: 0.75rem 0.75rem 0.4rem;
	border-top: 1px solid var(--line);
	color: var(--primary);
	font-size: 0.9375rem;
	font-weight: 700;
}
.dropdown__foot:hover { color: var(--secondary); }
.site-footer__top { grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 72rem) {
	.site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 40rem) { .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Pricing ---------------------------------------------------------------------------------- */

.pricing {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
	column-gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
	margin-top: var(--wp--preset--spacing--60) !important;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}
.pricing > * { grid-column: 1; margin: 0 !important; }
.pricing > h2 { font-size: var(--wp--preset--font-size--large); }
.pricing > p { margin-top: 0.75rem !important; }
.pricing > .price-card { grid-column: 2; grid-row: 1 / span 4; max-width: 30rem; }
.pricing--tiers { display: block !important; }
.pricing--tiers > h2 { font-size: var(--wp--preset--font-size--x-large); }
.pricing--tiers > p { max-width: 42rem; }
.pricing__cards {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 1.25rem;
	margin-top: 2rem !important;
}
.pricing__cards > .price-card { margin: 0 !important; }
@media (max-width: 48rem) {
	.pricing { grid-template-columns: 1fr; }
	.pricing > .price-card { grid-column: 1; grid-row: auto; margin-top: 1.5rem !important; }
}

.price-card {
	display: flex !important;
	flex-direction: column;
	padding: 1.75rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 4px solid var(--primary);
	border-radius: 14px;
	box-shadow: 0 24px 48px -32px rgba(11, 79, 108, 0.5);
}
.price-card > * { margin: 0 !important; }
.price-card h3 { font-size: var(--wp--preset--font-size--large); }
.price-card__price {
	margin-top: 1rem !important;
	color: var(--primary);
	font-size: clamp(2rem, 4vw, 2.6rem);
	font-weight: 800;
	font-stretch: 112%;
	line-height: 1.05;
	font-variant-numeric: tabular-nums;
}
.price-card__terms { margin-top: 0.35rem !important; color: var(--muted); font-size: 0.9375rem; }
.price-card ul { margin-top: 1.5rem !important; padding: 1.25rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.price-card li { position: relative; margin-bottom: 0.6rem; padding-left: 2rem; font-size: 0.9688rem; }
.price-card li::before {
	content: "";
	position: absolute;
	top: 0.2em;
	left: 0;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: rgba(64, 121, 140, 0.14);
}
.price-card li::after {
	content: "";
	position: absolute;
	top: calc(0.2em + 0.25rem);
	left: 0.25rem;
	width: 0.75rem;
	height: 0.75rem;
	background: var(--primary);
	-webkit-mask: var(--icon-check) center / contain no-repeat;
	mask: var(--icon-check) center / contain no-repeat;
}
.price-card .wp-block-buttons { margin-top: auto !important; padding-top: 1.5rem; }
.price-card .wp-block-button,
.price-card .wp-block-button__link { width: 100%; }

/* ======================================================================================
   Motion (v1.2). Everything here is scoped to html.motion, which site.js adds only when the
   visitor hasn't asked for reduced motion. Only opacity, transform and clip-path animate.
   ====================================================================================== */

:root { --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1); }

/* Scroll reveals */
.motion [data-reveal] {
	opacity: 0;
	transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
	transition-delay: var(--d, 0ms);
}
.motion [data-reveal="up"] { transform: translateY(32px); }
.motion [data-reveal="left"] { transform: translateX(-48px); }
.motion [data-reveal="right"] { transform: translateX(48px); }
.motion [data-reveal="pop"] { transform: scale(0.8); transition-timing-function: var(--ease-spring); }
.motion [data-reveal="zoom"] { transform: translateY(40px) scale(0.96); transition-duration: 0.9s; }
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Children of a revealed list or table cascade in after it */
.motion [data-reveal] .reveal-child {
	opacity: 0;
	transform: translateX(18px);
	transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.motion [data-reveal].is-in .reveal-child {
	opacity: 1;
	transform: none;
	transition-delay: calc(var(--d, 0ms) + 200ms + var(--i, 0) * 70ms);
}

/* Home steps: each step rises, its number pops, then the rail draws to the next step */
.motion [data-reveal="stage"] { transform: translateY(24px); }
.motion [data-reveal="stage"]::before { transform: scale(0); transition: transform 0.5s var(--ease-spring) calc(var(--d, 0ms) + 150ms); }
.motion [data-reveal="stage"]::after { transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out) calc(var(--d, 0ms) + 350ms); }
.motion [data-reveal="stage"].is-in::before { transform: none; }
.motion [data-reveal="stage"].is-in::after { transform: none; }
@media (max-width: 64rem) {
	.motion [data-reveal="stage"]::after { transform: scaleY(0); transform-origin: top; }
}

/* Page header band, on load: text rises in sequence, then the module diagram draws itself */
@keyframes axion-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes axion-drop { from { opacity: 0; transform: translateY(-28px) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes axion-wipe { from { clip-path: inset(-2rem 100% -2rem 0); } to { clip-path: inset(-2rem 0 -2rem 0); } }
@keyframes axion-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }

.motion .page-intro .breadcrumbs { animation: axion-rise 0.6s var(--ease-out) 0.05s both; }
.motion .page-intro .wp-block-post-title { animation: axion-rise 0.75s var(--ease-out) 0.15s both; }
.motion .page-intro .wp-block-post-excerpt { animation: axion-rise 0.75s var(--ease-out) 0.3s both; }
.motion .page-art--image img { animation: axion-rise 0.75s var(--ease-out) 0.35s both; }
.motion .page-art__hub { animation: axion-drop 0.7s var(--ease-spring) 0.35s both; }
.motion .page-art__nodes { animation: axion-wipe 0.9s var(--ease-out) 0.75s both; }
.motion .page-art__node { animation: axion-pop 0.5s var(--ease-spring) both; }
.motion .page-art__nodes li:nth-child(1) .page-art__node { animation-delay: 0.95s; }
.motion .page-art__nodes li:nth-child(2) .page-art__node { animation-delay: 1.1s; }
.motion .page-art__nodes li:nth-child(3) .page-art__node { animation-delay: 1.25s; }
.motion .page-art__nodes li:nth-child(4) .page-art__node { animation-delay: 1.4s; }
.motion .page-art__nodes li:nth-child(5) .page-art__node { animation-delay: 1.55s; }

/* Parallax drift (set by site.js as --py) */
.motion .page-art { transform: translateY(calc(-50% + var(--py, 0px))); }
.motion .section-cta::after { transform: translateY(calc(var(--py, 0px) * -1)) scale(1.15); }

/* Home hero, on load */
.motion .hero h1 { animation: axion-rise 0.85s var(--ease-out) 0.1s both; }
.motion .hero .hero__lede { animation: axion-rise 0.85s var(--ease-out) 0.25s both; }
.motion .hero .wp-block-buttons,
.motion .hero .hero__signin { animation: axion-rise 0.85s var(--ease-out) 0.4s both; }
@keyframes axion-slide-in { from { opacity: 0; transform: translateX(64px); } to { opacity: 1; transform: none; } }
.motion .hero .vdemo { animation: axion-slide-in 0.9s var(--ease-out) 0.3s both; }
.motion .hero .vdemo__channels { animation: axion-wipe 0.8s var(--ease-out) 0.9s both; }
.motion .hero .vdemo__channel { animation: axion-rise 0.55s var(--ease-out) both; }
.motion .hero .vdemo__channel:nth-child(1) { animation-delay: 1s; }
.motion .hero .vdemo__channel:nth-child(2) { animation-delay: 1.12s; }
.motion .hero .vdemo__channel:nth-child(3) { animation-delay: 1.24s; }
.motion .hero .vdemo__channel:nth-child(4) { animation-delay: 1.36s; }
/* The flash on a changed channel card must still win after the entrance finishes. */
.motion .hero .vdemo__channel.is-changed { animation: vdemo-ring 1.6s ease-out; }

/* Header shadow after scrolling, and the reading progress bar */
.site-header { transition: box-shadow 0.25s, background-color 0.25s; }
.site-header.is-scrolled { background: rgba(248, 249, 250, 0.98); box-shadow: 0 10px 30px -18px rgba(11, 79, 108, 0.45); }
.read-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	background: var(--tint);
	transform: scaleX(0);
	transform-origin: left;
	pointer-events: none;
}

@media print {
	.motion [data-reveal], .motion [data-reveal] .reveal-child { opacity: 1 !important; transform: none !important; }
}

/* Pricing page: full-width sections with responsive tables ------------------------------- */

.pricing-section {
	margin-top: var(--wp--preset--spacing--50) !important;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}
.pricing-section > * { margin: 0 !important; }
.pricing-section > h2 { font-size: var(--wp--preset--font-size--large); }
.pricing-section > p { margin-top: 0.75rem !important; max-width: 42rem; }
.pricing-section > h3 { margin-top: 2.5rem !important; font-size: var(--wp--preset--font-size--medium); }
.pricing-section > ul,
.pricing-section > ol { margin-top: 1rem !important; padding-left: 1.25rem; max-width: 48rem; }
.pricing-section li { margin-bottom: 0.5rem; }
.pricing-section li::marker { color: var(--secondary); }
.pricing-section > .wp-block-table { margin-top: 1.5rem !important; }

.pricing-table { overflow: visible; max-width: 100%; }
.pricing-table table { table-layout: fixed; width: 100%; }
.pricing-table th,
.pricing-table td { overflow-wrap: break-word; }
.pricing-table td:first-child { white-space: normal; }
.pricing-table--compare th:first-child,
.pricing-table--compare td:first-child { width: 40%; }
.pricing-table--alacarte th:first-child,
.pricing-table--alacarte td:first-child { width: 45%; }
.pricing-table--alacarte th:last-child,
.pricing-table--alacarte td:last-child { width: 20%; }
.pricing-table--rates { max-width: 32rem; }

/* Phones: each row of a stacked table becomes a small card with labelled values. */
@media (max-width: 40rem) {
	.pricing-table--stack thead {
		position: absolute; width: 1px; height: 1px; overflow: hidden;
		clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
	}
	.pricing-table--stack table,
	.pricing-table--stack tbody,
	.pricing-table--stack tr,
	.pricing-table--stack td { display: block; width: 100% !important; }
	.pricing-table--stack tr { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
	.pricing-table--stack tr:first-child { border-top: 2px solid var(--primary); }
	.pricing-table--stack td { border: 0; padding: 0.2rem 0; }
	.pricing-table--stack td:first-child { padding-bottom: 0.45rem; }
	.pricing-table--stack td:not(:first-child) {
		display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; text-align: right;
	}
	.pricing-table--stack td:not(:first-child)::before {
		flex: 0 0 auto; text-align: left; color: var(--secondary); font-size: 0.875rem; font-weight: 600;
	}
	.pricing-table--compare td:nth-child(2)::before { content: "Core"; }
	.pricing-table--compare td:nth-child(3)::before { content: "Plus"; }
	.pricing-table--compare td:nth-child(4)::before { content: "Premium"; }
	.pricing-table--alacarte td:nth-child(2)::before { content: "Available for"; }
	.pricing-table--alacarte td:nth-child(3)::before { content: "Price"; }
}

/* No sideways page scroll on phones, including while scroll reveals are still offset. */
html { overflow-x: clip; }
