/* Accounts Direct — design tokens */
:root {
	--ad-blue: #1863dc;
	--ad-blue-dark: #124aa8;
	--ad-navy: #001d39;
	--ad-navy-soft: #0a2e57;
	--ad-teal: #248bb3;
	--ad-ink: #17212b;
	--ad-muted: #52606d;
	--ad-border: #e2e8f0;
	--ad-surface: #ffffff;
	--ad-surface-soft: #f5f8fb;
	--ad-radius: 12px;
	--ad-shadow: 0 8px 24px rgba(0, 29, 57, 0.08);
	--ad-max-width: 1160px;
	--ad-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--ad-font);
	color: var(--ad-ink);
	background: var(--ad-surface);
	line-height: 1.55;
}

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

a {
	color: inherit;
}

h1, h2, h3, h4 {
	color: var(--ad-navy);
	line-height: 1.15;
	margin: 0 0 0.5em;
}

h1 {
	font-size: clamp(2.2rem, 4vw, 3.2rem);
}

h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

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

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--ad-navy);
	color: #fff;
	padding: 12px 20px;
	z-index: 1000;
}

.skip-link:focus {
	top: 0;
}

.ad-container {
	max-width: var(--ad-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.ad-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	border: 2px solid transparent;
	cursor: pointer;
}

.ad-button--primary {
	background: var(--ad-blue);
	color: #fff;
}

.ad-button--primary:hover {
	background: var(--ad-blue-dark);
	transform: translateY(-1px);
}

.ad-button--ghost-on-dark {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
}

.ad-button--ghost-on-dark:hover {
	border-color: #fff;
}

/* Header */
.ad-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--ad-border);
}

.ad-header__inner {
	max-width: var(--ad-max-width);
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	gap: 24px;
}

.ad-header__logo img {
	max-height: 48px;
	width: auto;
}

.ad-header__nav {
	margin-left: 12px;
	flex: 1;
}

.ad-header__menu {
	list-style: none;
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	font-weight: 600;
}

.ad-header__menu a {
	text-decoration: none;
	color: var(--ad-navy);
}

.ad-header__actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

.ad-header__phone {
	font-weight: 700;
	text-decoration: none;
	color: var(--ad-navy);
	white-space: nowrap;
}

.ad-header__cta {
	padding: 10px 20px;
}

.ad-header__toggle {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}

.ad-header__toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ad-navy);
	margin: 4px 0;
}

.ad-mobile-nav {
	display: none;
	flex-direction: column;
	gap: 14px;
	padding: 16px 24px 20px;
	border-top: 1px solid var(--ad-border);
}

.ad-mobile-nav__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-weight: 600;
}

.ad-mobile-nav__menu a {
	text-decoration: none;
	color: var(--ad-navy);
}

@media (max-width: 860px) {
	.ad-header__nav,
	.ad-header__phone,
	.ad-header__cta {
		display: none;
	}

	.ad-header__toggle {
		display: block;
		margin-left: auto;
	}

	.ad-mobile-nav.is-open {
		display: flex;
	}
}

/* Hero */
.ad-hero {
	--ad-pointer-x: 80%;
	--ad-pointer-y: 15%;
	background: #071d31;
	color: #fff;
	padding: 84px 0 92px;
	position: relative;
	overflow: hidden;
}

.ad-hero__image-layer {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(ellipse 780px 430px at 78% 22%, rgba(142, 221, 217, 0.2), transparent 66%),
		radial-gradient(ellipse 520px 360px at 90% 76%, rgba(214, 176, 88, 0.18), transparent 68%),
		radial-gradient(ellipse 540px 340px at 45% 12%, rgba(71, 154, 180, 0.12), transparent 72%),
		linear-gradient(90deg, rgba(0, 20, 39, 0.99) 0%, rgba(3, 31, 53, 0.97) 46%, rgba(13, 65, 76, 0.82) 73%, rgba(70, 78, 61, 0.68) 100%);
	background-position: center;
	background-size: cover;
	pointer-events: none;
	z-index: 0;
}

.ad-hero__image-layer::before,
.ad-hero__image-layer::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.ad-hero__image-layer::before {
	inset: -28% -8% -20% 50%;
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 38px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.075) 0 1px, transparent 1px 118px),
		linear-gradient(135deg, rgba(242, 249, 245, 0.2), rgba(123, 207, 205, 0.1) 48%, rgba(214, 178, 95, 0.13));
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 34px;
	box-shadow:
		0 44px 110px rgba(0, 10, 22, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	mix-blend-mode: screen;
	opacity: 0.72;
	transform: rotate(13deg) skewY(-6deg);
	transform-origin: center;
}

.ad-hero__image-layer::after {
	background:
		linear-gradient(116deg, transparent 0 44%, rgba(255, 255, 255, 0.1) 44.15% 44.42%, transparent 44.6% 100%),
		linear-gradient(116deg, transparent 0 61%, rgba(147, 224, 221, 0.16) 61.15% 61.52%, transparent 61.7% 100%),
		radial-gradient(ellipse 390px 270px at 83% 66%, rgba(0, 12, 24, 0.36), transparent 70%);
	mix-blend-mode: screen;
	opacity: 0.66;
}

/* Pointer-reactive spotlight. */
.ad-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(540px circle at var(--ad-pointer-x) var(--ad-pointer-y), rgba(118, 202, 214, 0.24), rgba(24, 99, 220, 0.1) 34%, transparent 62%);
	mix-blend-mode: screen;
	pointer-events: none;
	transition: background 0.2s ease;
	z-index: 1;
}

.ad-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 54px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 92px);
	pointer-events: none;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 78%);
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 78%);
	z-index: 1;
}

.ad-hero__inner {
	position: relative;
	z-index: 2;
}

/* Animated brand aurora blobs drifting behind the hero content. */
.ad-hero__inner::before {
	content: "";
	position: absolute;
	width: 360px;
	height: 360px;
	right: 38%;
	top: -92px;
	background:
		radial-gradient(circle at 35% 35%, rgba(131, 221, 222, 0.34), transparent 62%),
		radial-gradient(circle at 66% 66%, rgba(206, 179, 110, 0.2), transparent 68%);
	filter: blur(34px);
	border-radius: 50%;
	pointer-events: none;
	z-index: -1;
	opacity: 0.9;
	animation: ad-float 14s ease-in-out infinite;
}

@keyframes ad-float {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(24px, 28px) scale(1.08); }
}

.ad-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
	gap: 48px;
	align-items: start;
}

.ad-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	color: var(--ad-teal);
	font-size: 0.85rem;
	margin-bottom: 12px;
}

.ad-eyebrow--center {
	text-align: center;
}

.ad-hero h1 {
	color: #fff;
	letter-spacing: 0;
	text-shadow: 0 2px 18px rgba(0, 12, 24, 0.28);
}

.ad-hero h1 .ad-accent {
	background: linear-gradient(100deg, #9edfe3 0%, #d5eef0 46%, #7fb4ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.ad-hero__lead {
	font-size: 1.15rem;
	color: rgba(245, 249, 252, 0.88);
	max-width: 46ch;
}

.ad-hero__trust {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	padding: 0;
	margin: 24px 0 32px;
}

.ad-hero__trust li {
	font-weight: 600;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.93);
	padding-left: 22px;
	position: relative;
}

.ad-hero__trust li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--ad-teal);
	font-weight: 700;
}

.ad-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ad-hero__health {
	background: transparent;
}

/* Reskin the health-check plugin card to sit inside the dark hero */
.ad-hero__health {
	position: relative;
}

/* Soft glow halo behind the glass card. */
.ad-hero__health::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: calc(var(--ad-radius) + 4px);
	background: linear-gradient(140deg, rgba(126, 214, 219, 0.48), rgba(209, 181, 110, 0.16) 44%, rgba(24, 99, 220, 0.2) 74%, transparent);
	filter: blur(18px);
	opacity: 0.78;
	z-index: 0;
}

/* The health check reads like a diagnostic report panel, not a SaaS signup tile. */
.ad-healthcard {
	position: relative;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 249, 0.94)),
		repeating-linear-gradient(0deg, transparent 0 31px, rgba(0, 29, 57, 0.045) 31px 32px);
	-webkit-backdrop-filter: blur(16px) saturate(1.12);
	backdrop-filter: blur(16px) saturate(1.12);
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: var(--ad-radius);
	box-shadow: 0 24px 64px rgba(0, 17, 34, 0.38), 0 1px 0 rgba(255, 255, 255, 0.72) inset;
	padding: 26px 26px 22px;
}

.ad-healthcard__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.ad-healthcard__badges span {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--ad-blue-dark);
	background: rgba(24, 99, 220, 0.1);
	border-radius: 999px;
	padding: 5px 11px;
}

.ad-healthcard__badges span:first-child {
	color: #0f7a4d;
	background: rgba(31, 143, 90, 0.12);
}

.ad-hero__health .dmph-check {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	color: var(--ad-ink);
}

.ad-hero__health .dmph-header h2 {
	font-size: 1.35rem;
	line-height: 1.2;
	color: var(--ad-navy);
}

.ad-hero__health .dmph-header p {
	color: var(--ad-muted);
	font-size: 0.92rem;
}

.ad-hero__health .dmph-grid {
	gap: 12px;
}

.ad-hero__health .dmph-grid label span {
	font-size: 0.78rem;
	color: var(--ad-muted);
	font-weight: 700;
}

.ad-hero__health .dmph-grid input {
	border-color: var(--ad-border);
	border-radius: 9px;
	padding: 11px 12px 11px 38px;
	background-repeat: no-repeat;
	background-position: 12px center;
	background-size: 16px 16px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ad-hero__health .dmph-grid input:focus {
	border-color: var(--ad-blue);
	box-shadow: 0 0 0 3px rgba(24, 99, 220, 0.14);
	outline: none;
}

/* Field icons (muted brand ink SVGs). */
.ad-hero__health input[name="contact_name"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2352606d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.ad-hero__health input[name="email"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2352606d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E"); }
.ad-hero__health input[name="phone"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2352606d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.ad-hero__health input[name="company_name"],
.ad-hero__health input[name="trading_name"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2352606d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M9 22v-4h6v4M8 6h.01M16 6h.01M12 6h.01M12 10h.01M12 14h.01M16 10h.01M16 14h.01M8 10h.01M8 14h.01'/%3E%3C/svg%3E"); }
.ad-hero__health input[name="company_number"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2352606d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h16M4 15h16M10 3 8 21M16 3l-2 18'/%3E%3C/svg%3E"); }
.ad-hero__health input[name="website"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2352606d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); }

/* Optional-field progressive disclosure. */
.ad-hero__health .ad-opt-field {
	display: none;
}

.ad-hero__health .dmph-check.is-opt-open .ad-opt-field {
	display: grid;
	animation: ad-opt-in 0.28s ease;
}

@keyframes ad-opt-in {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: none; }
}

.ad-opt-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 2px;
	padding: 0;
	background: none;
	border: none;
	color: var(--ad-blue-dark);
	font: inherit;
	font-weight: 700;
	font-size: 0.88rem;
	cursor: pointer;
}

.ad-opt-toggle__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(24, 99, 220, 0.12);
	font-size: 1rem;
	line-height: 1;
}

.ad-opt-toggle__hint {
	color: var(--ad-muted);
	font-weight: 600;
}

.ad-hero__health .dmph-consent {
	font-size: 0.85rem;
	color: var(--ad-muted);
}

.ad-hero__health .dmph-button {
	background: var(--ad-blue);
	border-radius: 999px;
	padding: 14px 22px;
	width: 100%;
	font-size: 1rem;
	position: relative;
	overflow: hidden;
	transition: background 0.15s ease, transform 0.15s ease;
}

.ad-hero__health .dmph-button:hover {
	background: var(--ad-blue-dark);
	transform: translateY(-1px);
}

/* "What you get" mini-list under the form. */
.ad-healthcard__gets {
	list-style: none;
	margin: 20px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--ad-border);
	display: grid;
	gap: 10px;
}

.ad-healthcard__gets li {
	position: relative;
	padding-left: 28px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ad-navy);
}

.ad-healthcard__gets li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 1px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(31, 143, 90, 0.14);
	color: #0f7a4d;
	font-size: 0.68rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ad-healthcard__trust {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	margin: 16px 0 0;
	font-size: 0.78rem;
	color: var(--ad-muted);
}

/* Values */
.ad-values {
	padding: 72px 0;
	background: var(--ad-surface-soft);
}

.ad-values h2 {
	text-align: center;
}

.ad-section-lead {
	text-align: center;
	color: var(--ad-muted);
	max-width: 60ch;
	margin: 0 auto 40px;
}

.ad-values__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.ad-value-card {
	background: #fff;
	border: 1px solid var(--ad-border);
	border-top: 4px solid var(--ad-blue);
	border-radius: var(--ad-radius);
	padding: 24px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ad-value-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ad-shadow);
}

.ad-value-card:nth-child(2) {
	border-top-color: var(--ad-teal);
}

.ad-value-card:nth-child(3) {
	border-top-color: var(--ad-navy);
}

.ad-value-card:nth-child(4) {
	border-top-color: var(--ad-blue-dark);
}

.ad-value-card h3 {
	font-size: 1.05rem;
}

.ad-value-card p {
	color: var(--ad-muted);
	font-size: 0.95rem;
	margin: 0;
}

@media (max-width: 900px) {
	.ad-values__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ad-values__grid {
		grid-template-columns: 1fr;
	}
}

/* About */
.ad-about {
	padding: 72px 0;
}

.ad-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 56px;
	align-items: center;
}

.ad-about__media {
	position: relative;
}

.ad-about__media img:first-child {
	border-radius: var(--ad-radius);
	box-shadow: var(--ad-shadow);
}

.ad-about__badge {
	position: absolute;
	right: -20px;
	bottom: -24px;
	max-width: 180px;
	background: #fff;
	border-radius: var(--ad-radius);
	box-shadow: var(--ad-shadow);
	padding: 12px;
}

.ad-about__copy p {
	color: var(--ad-muted);
}

.ad-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 32px 0 0;
}

.ad-stat {
	border-left: 3px solid var(--ad-blue);
	padding-left: 14px;
}

.ad-stat dt {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ad-muted);
	font-weight: 600;
}

.ad-stat dd {
	margin: 4px 0 0;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--ad-navy);
	display: flex;
	align-items: baseline;
	gap: 1px;
}

.ad-stat__suffix {
	color: var(--ad-blue);
}

.ad-stat dd:not(:has(.ad-stat__num)) {
	color: var(--ad-blue);
	font-size: 1.7rem;
}

@media (max-width: 860px) {
	.ad-about__inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.ad-about__badge {
		right: 12px;
	}
}

/* Process */
.ad-process {
	padding: 72px 0;
	background:
		radial-gradient(ellipse 700px 350px at 50% 0%, rgba(24, 99, 220, 0.05), transparent 70%);
}

.ad-process h2 {
	text-align: center;
	margin-bottom: 40px;
}

.ad-process__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.ad-process__step {
	position: relative;
	background: var(--ad-surface-soft);
	border: 1px solid var(--ad-border);
	border-radius: var(--ad-radius);
	padding: 28px 20px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ad-process__step:hover {
	transform: translateY(-3px);
	box-shadow: var(--ad-shadow);
	background: #fff;
}

.ad-process__step:not(:last-child)::after {
	content: "→";
	position: absolute;
	right: -20px;
	top: 34px;
	color: var(--ad-blue);
	font-size: 1.2rem;
	font-weight: 700;
}

@media (max-width: 900px) {
	.ad-process__step:not(:last-child)::after {
		display: none;
	}
}

.ad-process__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ad-blue);
	color: #fff;
	font-weight: 700;
	margin-bottom: 14px;
}

.ad-process__step h3 {
	font-size: 1.05rem;
}

.ad-process__step p {
	color: var(--ad-muted);
	font-size: 0.92rem;
	margin: 0;
}

@media (max-width: 900px) {
	.ad-process__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ad-process__list {
		grid-template-columns: 1fr;
	}
}

/* Services */
.ad-services {
	padding: 72px 0;
	background: var(--ad-surface-soft);
}

.ad-services h2 {
	text-align: center;
}

.ad-services__included {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	padding: 0;
	margin: 28px 0 48px;
}

.ad-services__included li {
	background: #fff;
	border: 1px solid var(--ad-border);
	border-radius: 999px;
	padding: 10px 20px 10px 40px;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--ad-navy);
	position: relative;
	transition: transform 0.15s ease, border-color 0.15s ease;
}

.ad-services__included li::before {
	content: "✓";
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	background: var(--ad-blue);
	width: 16px;
	height: 16px;
	border-radius: 50%;
	font-size: 0.62rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ad-services__included li:hover {
	transform: translateY(-2px);
	border-color: var(--ad-blue);
}

.ad-services__addons-title {
	text-align: center;
	font-size: 1.1rem;
	margin-bottom: 20px;
}

.ad-services__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.ad-service-card {
	background: #fff;
	border: 1px solid var(--ad-border);
	border-radius: var(--ad-radius);
	padding: 24px;
}

.ad-service-card h4 {
	color: var(--ad-navy);
	margin-bottom: 8px;
}

.ad-service-card p {
	color: var(--ad-muted);
	margin: 0;
	font-size: 0.95rem;
}

@media (max-width: 700px) {
	.ad-services__grid {
		grid-template-columns: 1fr;
	}
}

/* Testimonials */
.ad-testimonials {
	padding: 72px 0;
}

.ad-testimonials h2 {
	text-align: center;
	margin-bottom: 44px;
}

.ad-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ad-testimonial {
	position: relative;
	margin: 0;
	background: #fff;
	border: 1px solid var(--ad-border);
	border-radius: var(--ad-radius);
	padding: 32px 26px 26px;
	box-shadow: 0 1px 2px rgba(0, 29, 57, 0.04);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ad-testimonial:hover {
	transform: translateY(-4px);
	box-shadow: var(--ad-shadow);
}

/* Oversized decorative quotation mark. */
.ad-testimonial::before {
	content: "\201C";
	position: absolute;
	top: 6px;
	right: 20px;
	font-size: 4.5rem;
	line-height: 1;
	font-family: Georgia, "Times New Roman", serif;
	color: rgba(24, 99, 220, 0.12);
	pointer-events: none;
}

.ad-testimonial__stars {
	color: #f5a623;
	letter-spacing: 2px;
	font-size: 1rem;
	margin-bottom: 14px;
}

.ad-testimonial blockquote {
	margin: 0 0 20px;
	padding: 0;
	border: none;
	color: var(--ad-ink);
	font-size: 0.98rem;
	line-height: 1.6;
}

.ad-testimonial figcaption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	border-top: 1px solid var(--ad-border);
	padding-top: 16px;
}

.ad-testimonial__name {
	font-weight: 800;
	color: var(--ad-navy);
}

.ad-testimonial__detail {
	font-size: 0.85rem;
	color: var(--ad-muted);
}

@media (max-width: 900px) {
	.ad-testimonials__grid {
		grid-template-columns: 1fr;
		max-width: 560px;
		margin: 0 auto;
	}
}

@media (max-width: 900px) {
	.ad-hero__inner {
		grid-template-columns: 1fr;
	}
}

/* Booking */
.ad-booking {
	padding: 72px 0;
	background: var(--ad-surface-soft);
}

.ad-booking h2 {
	text-align: center;
}

.ad-booking__widget {
	margin-top: 40px;
}

/* Rebrand the calendar widget via its own custom properties */
.ad-booking .dmcal-booking {
	--dmcal-blue: var(--ad-blue);
	--dmcal-blue-dark: var(--ad-blue-dark);
	--dmcal-ink: var(--ad-ink);
	--dmcal-muted: var(--ad-muted);
	--dmcal-border: var(--ad-border);
	border: none;
	border-radius: var(--ad-radius);
	box-shadow: var(--ad-shadow);
}

/* Our section already provides the heading/intro */
.ad-booking .dmcal-booking-header {
	display: none;
}

.ad-booking .dmcal-step-label {
	background: rgba(24, 99, 220, 0.1);
	color: var(--ad-blue-dark);
}

.ad-booking .dmcal-submit {
	border-radius: 999px;
	padding: 14px 26px;
	background: var(--ad-blue);
}

.ad-booking .dmcal-submit:hover,
.ad-booking .dmcal-submit:focus {
	background: var(--ad-blue-dark);
}

/* CTA banner */
.ad-cta-banner {
	background:
		radial-gradient(ellipse 600px 300px at 90% 120%, rgba(36, 139, 179, 0.55), transparent 60%),
		linear-gradient(120deg, var(--ad-blue) 0%, var(--ad-blue-dark) 55%, var(--ad-navy) 130%);
	color: #fff;
	padding: 60px 0;
	position: relative;
	overflow: hidden;
}

.ad-cta-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 26px 26px;
	mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.5), transparent 60%);
	-webkit-mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.5), transparent 60%);
	pointer-events: none;
}

.ad-cta-banner__inner {
	position: relative;
	z-index: 1;
}

.ad-cta-banner__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.ad-cta-banner h2 {
	color: #fff;
	margin: 0;
	max-width: 30ch;
}

.ad-cta-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ad-cta-banner .ad-button--primary {
	background: #fff;
	color: var(--ad-blue);
}

.ad-cta-banner .ad-button--primary:hover {
	background: var(--ad-surface-soft);
}

/* Footer */
.ad-footer {
	background: var(--ad-navy);
	color: rgba(255, 255, 255, 0.8);
	padding: 56px 0 0;
}

.ad-footer__inner {
	max-width: var(--ad-max-width);
	margin: 0 auto;
	padding: 0 24px 40px;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 32px;
}

.ad-footer__logo {
	max-height: 40px;
	width: auto;
	margin-bottom: 14px;
	background: #fff;
	padding: 9px 13px;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.ad-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ad-footer__menu a,
.ad-footer__contact a {
	text-decoration: none;
	color: inherit;
	font-weight: 600;
}

.ad-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 20px 24px;
	max-width: var(--ad-max-width);
	margin: 0 auto;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.6);
}

.ad-footer__legal p {
	margin: 0;
}

@media (max-width: 700px) {
	.ad-footer__inner {
		grid-template-columns: 1fr;
	}
}

/* Generic page content fallback */
.ad-content {
	padding: 56px 0;
}

/* Branded page hero (Book a call, and future in-house pages) */
.ad-page-hero {
	background:
		radial-gradient(ellipse 700px 380px at 80% -20%, rgba(36, 139, 179, 0.32), transparent 60%),
		linear-gradient(160deg, var(--ad-navy) 0%, var(--ad-navy-soft) 100%);
	color: #fff;
	padding: 56px 0 60px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.ad-page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 26px 26px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 75%);
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 75%);
	pointer-events: none;
}

.ad-page-hero__inner {
	position: relative;
	z-index: 1;
}

.ad-page-hero .ad-eyebrow {
	justify-content: center;
	display: flex;
}

.ad-page-hero h1 {
	color: #fff;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
}

.ad-page-hero__lead {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.1rem;
	max-width: 52ch;
	margin: 0 auto;
}

.ad-hero-chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	padding: 0;
	margin: 24px 0 0;
}

.ad-hero-chips li {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	padding: 7px 15px 7px 32px;
	position: relative;
}

.ad-hero-chips li::before {
	content: "✓";
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ad-teal);
	font-size: 0.72rem;
}

.ad-page-hero__phone {
	margin: 22px 0 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
}

.ad-page-hero__phone a {
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

/* Sticky header scroll state */
.ad-header {
	transition: box-shadow 0.25s ease, background 0.25s ease;
}

.ad-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(0, 29, 57, 0.09);
	background: rgba(255, 255, 255, 0.88);
	-webkit-backdrop-filter: saturate(1.6) blur(10px);
	backdrop-filter: saturate(1.6) blur(10px);
}

.ad-header.is-scrolled .ad-header__inner {
	padding-top: 8px;
	padding-bottom: 8px;
}

.ad-header__inner {
	transition: padding 0.25s ease;
}

/* Section eyebrow underline flourish */
.ad-eyebrow--center {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.ad-eyebrow--center::before,
.ad-eyebrow--center::after {
	content: "";
	width: 26px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--ad-teal));
}

.ad-eyebrow--center::after {
	background: linear-gradient(90deg, var(--ad-teal), transparent);
}

/* Reveal-on-scroll (added by JS; guarded by prefers-reduced-motion in JS) */
.ad-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

.ad-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Buttons get a subtle sheen sweep on hover */
.ad-button--primary {
	position: relative;
	overflow: hidden;
}

.ad-button--primary::after {
	content: "";
	position: absolute;
	top: 0;
	left: -80%;
	width: 60%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
	transform: skewX(-18deg);
	transition: left 0.55s ease;
}

.ad-button--primary:hover::after {
	left: 130%;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.ad-hero__inner::before,
	.ad-button--primary::after {
		animation: none;
		transition: none;
	}

	.ad-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Content page header + prose (TOS, Privacy, generic pages) */
.ad-page-header {
	background: var(--ad-surface-soft);
	border-bottom: 1px solid var(--ad-border);
	padding: 48px 0 40px;
}

.ad-page-header h1 {
	margin: 0;
	letter-spacing: -0.01em;
}

.ad-prose-wrap {
	padding: 48px 0 72px;
}

.ad-prose {
	max-width: 760px;
	margin: 0 auto;
	color: var(--ad-ink);
	font-size: 1.02rem;
	line-height: 1.7;
}

.ad-prose h2 {
	font-size: 1.4rem;
	margin: 2em 0 0.6em;
}

.ad-prose h3 {
	font-size: 1.2rem;
	margin: 1.8em 0 0.5em;
}

.ad-prose h4 {
	font-size: 1.05rem;
	margin: 1.6em 0 0.5em;
}

.ad-prose p {
	margin: 0 0 1.1em;
}

.ad-prose ul,
.ad-prose ol {
	margin: 0 0 1.2em;
	padding-left: 1.3em;
}

.ad-prose li {
	margin-bottom: 0.4em;
}

.ad-prose a {
	color: var(--ad-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ad-prose a:hover {
	color: var(--ad-blue-dark);
}

.ad-prose strong {
	color: var(--ad-navy);
}

/* ---- Health-check landing page ---- */
/* Strip header nav/CTA so the page has a single focus. */
.ad-landing .ad-header__nav,
.ad-landing .ad-header__actions,
.ad-landing .ad-header__toggle {
	display: none;
}

.ad-landing .ad-header {
	position: static;
}

.ad-landing .ad-header__inner {
	justify-content: center;
}

/* Benefit checklist in the landing hero. */
.ad-hero__ticks {
	list-style: none;
	padding: 0;
	margin: 22px 0 26px;
	display: grid;
	gap: 12px;
}

.ad-hero__ticks li {
	position: relative;
	padding-left: 30px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.02rem;
}

.ad-hero__ticks li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(36, 139, 179, 0.22);
	color: var(--ad-teal);
	font-size: 0.72rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Three-step "how it works" on the landing page. */
.ad-process--landing .ad-process__list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 900px) {
	.ad-process--landing .ad-process__list {
		grid-template-columns: 1fr;
	}
}
