/**
 * DocRankr Landing Page
 *
 * Everything is scoped to .docrankr-landing-page. No bare element selectors
 * escape that wrapper, so the plugin cannot reach into the theme, Elementor,
 * or anything else on the site.
 *
 * Two rules worth knowing before editing this file:
 *
 * 1. The reset wraps its element selectors in :where(). A plain
 *    `.docrankr-landing-page a {}` scores (0,1,1) and would quietly outrank
 *    every single-class component rule below it — white-on-white buttons and
 *    margins that "do not apply". :where() scores zero, so source order wins
 *    and components behave the way they read.
 *
 * 2. Colours come from custom properties with fallbacks baked in. The admin
 *    writes a variable onto the wrapper only when somebody has chosen a value,
 *    so an untouched setting leaves the designed default standing and nothing
 *    here needs !important.
 */

/* ── Tokens ─────────────────────────────────────────────────────────── */

.docrankr-landing-page {
	--drlp-container: 1250px;
	--drlp-gutter: 24px;
	--drlp-base: 16px;

	--drlp-primary: #6442f2;
	--drlp-primary-dark: #5331dc;
	--drlp-primary-soft: #efebfe;
	--drlp-ink: #0b1033;
	--drlp-body: #5a6184;
	--drlp-muted: #878ead;
	--drlp-bg-soft: #fafbfe;
	--drlp-bg-alt: #f4f5fd;
	--drlp-border: #e9e8f7;

	--drlp-radius: 18px;
	--drlp-radius-sm: 12px;
	--drlp-btn-radius: 999px;
	--drlp-shadow: 0 2px 4px rgba(16, 21, 54, 0.03), 0 12px 28px rgba(16, 21, 54, 0.05);

	--drlp-btn-bg: var(--drlp-primary);
	--drlp-btn-text: #fff;

	--drlp-header-h: 84px;
	--drlp-header-bg: #fff;
	--drlp-header-text: var(--drlp-ink);

	--drlp-cta-from: #5a36d0;
	--drlp-cta-to: #332695;

	--drlp-footer-bg: #f4f5fd;
	--drlp-footer-text: var(--drlp-ink);

	--drlp-anim-speed: 700ms;
	--drlp-anim-distance: 28px;

	--drlp-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	/*
	 * clip, not hidden: `overflow-x: hidden` makes this element a scroll
	 * container, which silently kills position: sticky on anything inside it.
	 * clip crops identically without creating one.
	 *
	 * hidden is declared first as the fallback — iOS Safari had no clip until
	 * 16, and on those phones an unclipped wrapper is what produced a
	 * sideways scroll. The sticky header is position: fixed, so hidden costs
	 * nothing on the browsers that take it.
	 */
	overflow-x: hidden;
	overflow-x: clip;

	font-family: var(--drlp-font);
	font-size: var(--drlp-base);
	line-height: 1.6;
	color: var(--drlp-body);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ── Reset, at zero specificity ─────────────────────────────────────── */

.docrankr-landing-page :where(*, *::before, *::after) {
	box-sizing: border-box;
}

.docrankr-landing-page :where(h1, h2, h3, h4, h5, h6) {
	margin: 0;
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--drlp-ink);
}

.docrankr-landing-page :where(p, figure, blockquote, dl, dd) {
	margin: 0;
}

.docrankr-landing-page :where(ul, ol) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.docrankr-landing-page :where(a) {
	color: inherit;
	text-decoration: none;
}

.docrankr-landing-page :where(img, svg, video) {
	display: block;
	max-width: 100%;
}

.docrankr-landing-page :where(img) {
	height: auto;
}

.docrankr-landing-page :where(button, input, select, textarea) {
	font: inherit;
	color: inherit;
	margin: 0;
}

.docrankr-landing-page :where(button) {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.docrankr-landing-page :where(details summary) {
	cursor: pointer;
	list-style: none;
}

.docrankr-landing-page :where(details summary)::-webkit-details-marker {
	display: none;
}

.docrankr-landing-page .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.docrankr-landing-page :where(a, button, summary, input, select, textarea):focus-visible {
	outline: 3px solid var(--drlp-primary);
	outline-offset: 3px;
	border-radius: 6px;
}

/* ── Layout ─────────────────────────────────────────────────────────── */

.docrankr-landing-page .drlp-container {
	width: 100%;
	max-width: var(--drlp-container);
	margin-inline: auto;
	padding-inline: var(--drlp-gutter);
}

/*
 * The automatic minimum size, switched off across the layout.
 *
 * A flex or grid item defaults to min-width: auto, which means it refuses to
 * shrink below its own min-content width. One long word, one nowrap button or
 * one wide track is then enough to force its container past the edge of the
 * screen — and because that is a sizing decision rather than painting, no
 * amount of overflow on the thing itself contains it. It travels up the
 * ancestors and the page scrolls.
 *
 * Setting it to zero on the containers' children lets them do what the layout
 * already asks of them: fit. Anything that genuinely needs to be wider says so
 * explicitly, and the one container meant to scroll sideways still does.
 */
.docrankr-landing-page :where(
	.drlp-hero__grid, .drlp-hero__media, .drlp-hero__cards, .drlp-hero__actions,
	.drlp-head, .drlp-cards, .drlp-pills, .drlp-why, .drlp-stats,
	.drlp-audience__top, .drlp-social__grid, .drlp-cta__grid, .drlp-form__grid,
	.drlp-slider__frame, .drlp-footer__top, .drlp-footer__bottom, .drlp-nav
) > * {
	min-width: 0;
}

/* A button's label wraps rather than forcing the row wider than the screen. */
.docrankr-landing-page .drlp-btn {
	min-width: 0;
	max-width: 100%;
}

/* Nothing in the page may be wider than the column it sits in. */
.docrankr-landing-page :where(img, svg, video, iframe, table, pre) {
	max-width: 100%;
}

/* A long unbroken string — a URL in a testimonial — breaks instead of pushing. */
.docrankr-landing-page :where(p, h1, h2, h3, h4, li, blockquote, figcaption, label) {
	overflow-wrap: break-word;
}

/*
 * An in-page link must land below the fixed header, not behind it. Done with
 * scroll-margin rather than JavaScript offsets so it is also right when the
 * browser restores a position or opens the page on an anchor.
 */
.docrankr-landing-page.drlp-has-sticky :where([id]) {
	scroll-margin-top: calc(var(--drlp-header-h) + 18px);
}

.docrankr-landing-page :where([id]) {
	scroll-margin-top: 18px;
}

/*
 * The rhythm of the page, in one place.
 *
 * Two sections at the default put 120px of white between the last line of
 * one and the first of the next, and a little more where a heading brings
 * its own margin. It was 192px, then 148px, and this is the third pass at
 * it: tighter again, at the client's asking, while still reading as a break
 * between one subject and the next.
 *
 * Only the fallback is set here, so a section that has been given its own
 * padding under DocRankr Page keeps it.
 */
.docrankr-landing-page .drlp-section {
	position: relative;
	padding-top: var(--drlp-pt, 60px);
	padding-bottom: var(--drlp-pb, 60px);
	background: var(--drlp-section-bg, transparent);
}

/*
 * :where() keeps these at zero added specificity. Written plainly,
 * `.drlp-section h2` scores (0,2,1) and silently outranks every component
 * rule that sets its own colour — which is exactly how the heading on the
 * purple band came out near-black instead of white.
 */
.docrankr-landing-page .drlp-section :where(.drlp-head__title, h2, h3) {
	color: var(--drlp-section-heading, var(--drlp-ink));
}

.docrankr-landing-page .drlp-section :where(p) {
	color: var(--drlp-section-text, inherit);
}

.docrankr-landing-page .drlp-section--hero {
	--drlp-pt: 56px;
	/* Room for the handwritten line, which hangs below the photo. */
	--drlp-pb: 80px;
	background: var(--drlp-section-bg, var(--drlp-bg-soft));
}

.docrankr-landing-page .drlp-section--logos {
	--drlp-pt: 40px;
	--drlp-pb: 24px;
}

.docrankr-landing-page .drlp-section--stats {
	--drlp-pt: 16px;
	--drlp-pb: 72px;
}

.docrankr-landing-page .drlp-section--services {
	background: var(--drlp-section-bg, var(--drlp-bg-soft));
}

.docrankr-landing-page .drlp-section--why {
	background: var(--drlp-section-bg, var(--drlp-bg-soft));
}

.docrankr-landing-page .drlp-section--social {
	background: var(--drlp-section-bg, var(--drlp-bg-alt));
}

.docrankr-landing-page .drlp-section--reviews {
	background: var(--drlp-section-bg, var(--drlp-bg-soft));
}

/*
 * The tinted bands meet the white ones on a hard line, which is what makes a
 * long page read as a stack of separate boxes. A short gradient at the top of
 * each tinted band softens the join. Pure CSS on a pseudo-element, behind the
 * content and ignoring the pointer, so it costs nothing.
 */
.docrankr-landing-page .drlp-section--services::before,
.docrankr-landing-page .drlp-section--why::before,
.docrankr-landing-page .drlp-section--social::before,
.docrankr-landing-page .drlp-section--reviews::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 110px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
	pointer-events: none;
	z-index: 0;
}

.docrankr-landing-page .drlp-section > * {
	position: relative;
	z-index: 1;
}

/* ── Shared pieces ──────────────────────────────────────────────────── */

.docrankr-landing-page .drlp-eyebrow {
	display: inline-block;
	margin-bottom: 18px;
	padding: 7px 15px;
	border-radius: 999px;
	background: var(--drlp-primary-soft);
	color: var(--drlp-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
}

.docrankr-landing-page .drlp-eyebrow--light {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.docrankr-landing-page .drlp-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.docrankr-landing-page .drlp-head--center {
	justify-content: center;
	text-align: center;
}

.docrankr-landing-page .drlp-head--center .drlp-head__main {
	max-width: 720px;
}

.docrankr-landing-page .drlp-head__title {
	font-size: var(--drlp-section-h, 42px);
	/*
	 * Wide enough that the designed two-line break holds. A tighter measure
	 * forced "that bring patients, not just clicks" onto a third line, which
	 * is not how the heading is drawn.
	 */
	max-width: 40ch;
}

.docrankr-landing-page .drlp-head--center .drlp-head__title {
	max-width: none;
}

.docrankr-landing-page .drlp-head__lead {
	margin-top: 16px;
	max-width: 66ch;
	font-size: 16.5px;
	line-height: 1.65;
}

.docrankr-landing-page .drlp-head--center .drlp-head__lead {
	margin-inline: auto;
}

.docrankr-landing-page .drlp-head__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	color: var(--drlp-primary);
	font-size: 14.5px;
	font-weight: 700;
	padding-bottom: 6px;
	transition: gap 0.25s ease, color 0.25s ease;
}

.docrankr-landing-page .drlp-icon {
	width: 1em;
	height: 1em;
	flex: none;
}

.docrankr-landing-page .drlp-arrow {
	width: 17px;
	height: 17px;
	flex: none;
	transition: transform 0.25s ease;
}

.docrankr-landing-page .drlp-notice {
	display: grid;
	gap: 4px;
	padding: 18px 22px;
	border: 1px dashed var(--drlp-primary);
	border-radius: var(--drlp-radius-sm);
	background: var(--drlp-primary-soft);
	color: var(--drlp-ink);
	font-size: 14px;
}

/* ── Buttons ────────────────────────────────────────────────────────── */

.docrankr-landing-page .drlp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 26px;
	border-radius: var(--drlp-btn-radius);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.docrankr-landing-page .drlp-btn--lg {
	padding: 17px 32px;
	font-size: 15.5px;
}

.docrankr-landing-page .drlp-btn--block {
	width: 100%;
}

.docrankr-landing-page .drlp-btn--primary {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--drlp-btn-bg);
	color: var(--drlp-btn-text);
	box-shadow: 0 8px 20px rgba(100, 66, 242, 0.26);
}

/*
 * A light sweeps across on hover. One pseudo-element moving on transform
 * only, so it costs a composite and nothing else — no repaint of the button
 * and no layout.
 */
.docrankr-landing-page .drlp-btn--primary::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.26) 50%, transparent 80%);
	transform: translateX(-120%);
	transition: transform 0.75s cubic-bezier(0.22, 0.72, 0.24, 1);
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-btn--primary:hover::before,
.docrankr-landing-page:not(.drlp-no-hover) .drlp-btn--primary:focus-visible::before {
	transform: translateX(120%);
}

.docrankr-landing-page .drlp-btn--ghost {
	background: #fff;
	color: var(--drlp-ink);
	border: 1px solid var(--drlp-border);
	box-shadow: 0 2px 10px rgba(16, 21, 54, 0.05);
}

.docrankr-landing-page .drlp-btn__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--drlp-primary-soft);
	color: var(--drlp-primary);
	font-size: 14px;
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-btn--primary:hover {
	background: var(--drlp-primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(100, 66, 242, 0.34);
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-btn--ghost:hover {
	transform: translateY(-2px);
	border-color: var(--drlp-primary);
	color: var(--drlp-primary);
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-btn:hover .drlp-arrow,
.docrankr-landing-page:not(.drlp-no-hover) .drlp-head__link:hover .drlp-arrow,
.docrankr-landing-page:not(.drlp-no-hover) .drlp-card__link:hover .drlp-arrow,
.docrankr-landing-page:not(.drlp-no-hover) .drlp-case__link:hover .drlp-arrow {
	transform: translateX(4px);
}

.docrankr-landing-page .drlp-btn:active {
	transform: translateY(0);
}

/* ── Header ─────────────────────────────────────────────────────────── */

.docrankr-landing-page .drlp-header {
	position: relative;
	z-index: 60;
	background: var(--drlp-header-bg);
	border-bottom: 1px solid var(--drlp-border);
}

.docrankr-landing-page .drlp-header.is-sticky {
	position: fixed;
	inset: 0 0 auto;
	transition: transform 0.4s cubic-bezier(0.22, 0.72, 0.24, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Lifts off the page once it stops sitting on the hero. */
.docrankr-landing-page .drlp-header.is-stuck {
	box-shadow: 0 6px 24px rgba(16, 21, 54, 0.08);
	backdrop-filter: saturate(1.6) blur(8px);
	-webkit-backdrop-filter: saturate(1.6) blur(8px);
}

/*
 * Tucked away while reading downwards, back the moment the visitor scrolls
 * up — which is when they are most likely to be looking for the menu.
 */
.docrankr-landing-page .drlp-header.is-tucked {
	transform: translate3d(0, -102%, 0);
}

.docrankr-landing-page .drlp-header__spacer {
	height: var(--drlp-header-h);
}

.docrankr-landing-page .drlp-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--drlp-header-h);
}

.docrankr-landing-page .drlp-header__brand {
	flex: none;
	display: flex;
	align-items: center;
}

.docrankr-landing-page .drlp-header__wordmark {
	font-size: 22px;
	font-weight: 800;
	color: var(--drlp-ink);
	letter-spacing: -0.02em;
}

.docrankr-landing-page .drlp-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-left: auto;
}

.docrankr-landing-page .drlp-nav__list {
	display: flex;
	align-items: center;
	gap: 26px;
}

.docrankr-landing-page .drlp-nav__item {
	position: relative;
}

.docrankr-landing-page .drlp-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 0;
	color: var(--drlp-header-text);
	font-size: 15px;
	font-weight: 600;
	transition: color 0.2s ease;
}

.docrankr-landing-page .drlp-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 2px;
	width: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--drlp-primary);
	transition: width 0.28s ease;
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-nav__item:hover .drlp-nav__link {
	color: var(--drlp-primary);
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-nav__item:hover .drlp-nav__link::after {
	width: 100%;
}

.docrankr-landing-page .drlp-nav__caret {
	width: 13px;
	height: 13px;
	transition: transform 0.25s ease;
}

.docrankr-landing-page .drlp-nav__expand {
	display: none;
}

.docrankr-landing-page .drlp-nav__sub {
	position: absolute;
	top: calc(100% + 10px);
	left: -18px;
	min-width: 236px;
	padding: 10px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--drlp-border);
	box-shadow: 0 18px 44px rgba(16, 21, 54, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.docrankr-landing-page .drlp-nav__item:hover .drlp-nav__sub,
.docrankr-landing-page .drlp-nav__item:focus-within .drlp-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.docrankr-landing-page .drlp-nav__item:hover .drlp-nav__caret {
	transform: rotate(180deg);
}

.docrankr-landing-page .drlp-nav__sub a {
	display: block;
	padding: 9px 13px;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 600;
	color: var(--drlp-ink);
	transition: background-color 0.18s ease, color 0.18s ease;
}

.docrankr-landing-page .drlp-nav__sub a:hover {
	background: var(--drlp-primary-soft);
	color: var(--drlp-primary);
}

.docrankr-landing-page .drlp-header__cta {
	flex: none;
	background: var(--drlp-header-cta, var(--drlp-btn-bg));
	color: var(--drlp-header-cta-text, var(--drlp-btn-text));
}

.docrankr-landing-page .drlp-burger {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	border: 1px solid var(--drlp-border);
	color: var(--drlp-ink);
}

.docrankr-landing-page .drlp-burger__box {
	display: grid;
	gap: 5px;
	width: 19px;
}

.docrankr-landing-page .drlp-burger__box span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.28s ease, opacity 0.2s ease;
}

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

.docrankr-landing-page .drlp-burger[aria-expanded="true"] .drlp-burger__box span:nth-child(2) {
	opacity: 0;
}

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

/* ── Hero ───────────────────────────────────────────────────────────── */

/*
 * The media column is the wider of the two. The card stack overlays its right
 * half, so the photo needs enough room for the subject to sit clear of the
 * cards rather than behind them.
 */
.docrankr-landing-page .drlp-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	align-items: center;
	gap: 40px;
}

.docrankr-landing-page .drlp-hero__title {
	font-size: clamp(38px, 4.4vw, 60px);
	line-height: 1.07;
	letter-spacing: -0.035em;
}

.docrankr-landing-page .drlp-hero__accent {
	display: block;
	color: var(--drlp-primary);
}

.docrankr-landing-page .drlp-hero__lead {
	margin-top: 22px;
	max-width: 54ch;
	font-size: 17.5px;
	line-height: 1.62;
}

.docrankr-landing-page .drlp-hero__sub {
	margin-top: 14px;
	max-width: 56ch;
	font-size: 15px;
	line-height: 1.6;
	color: var(--drlp-muted);
}

.docrankr-landing-page .drlp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

/*
 * The four trust points sit on one line in the design. The measure is tight,
 * so the gap and type size are tuned to keep them there at the designed width
 * rather than letting the last one drop to a second row.
 */
/*
 * The four trust points sit on one line in the design. The copy column is
 * narrower than it was once the photo took more of the row, so the gap and
 * type size are tuned to keep all four on that line rather than dropping the
 * last one to a row of its own.
 */
.docrankr-landing-page .drlp-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-top: 28px;
}

.docrankr-landing-page .drlp-hero__badges li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--drlp-body);
	white-space: nowrap;
}

.docrankr-landing-page .drlp-hero__badge-icon {
	width: 14px;
	height: 14px;
	color: var(--drlp-primary);
}

/*
 * The photo and the card stack share a two-column grid rather than the cards
 * floating over the photo at a percentage offset.
 *
 * The old arrangement was positioned as a fraction of the media column, so
 * the overlap grew as the column shrank and the cards walked onto the
 * subject's face somewhere around laptop width. Here the photo is given a
 * fixed share of the width and the cards own the rest outright: the subject
 * sits in the photo's own centre, well left of where the cards begin, and
 * that holds at every size because both numbers are proportions of the same
 * box. The cards still overlap the photo's right edge, which is the look.
 */
.docrankr-landing-page .drlp-hero__media {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.68fr);
	align-items: center;
}

.docrankr-landing-page .drlp-hero__photo {
	grid-column: 1 / -1;
	grid-row: 1;
	/*
	 * 76% of the media, against a card column of 40%. The two numbers leave
	 * roughly 30 to 45 pixels between the edge of the subject's face and the
	 * first card at every width from a small laptop up, which is the margin
	 * the earlier percentage overlay kept eating.
	 */
	width: 76%;
}

.docrankr-landing-page .drlp-hero__photo {
	position: relative;
	border-radius: 26px;
	overflow: hidden;
	background: linear-gradient(160deg, var(--drlp-primary-soft), #fff);
}

/*
 * A fixed ratio with object-fit, rather than letting the source image set the
 * height. The stock cutout carries empty space below the subject, which left a
 * pale band under the photo and pushed the lower floating card off the
 * picture. Cropping from the top keeps the face whatever image is swapped in.
 */
/*
 * The card stack covers the right of this frame, so the subject is pulled
 * left of centre to sit clear of it. Cropping from the top keeps the face
 * whatever image is swapped in.
 */
.docrankr-landing-page .drlp-hero__photo img {
	width: 100%;
	aspect-ratio: 1 / 1.06;
	object-fit: cover;
	object-position: 32% top;
}

/*
 * The card stack sits over the right half of the photo. It is positioned
 * rather than floated so the photo keeps its own shape underneath, and the
 * column is given a width in percent so the overlap holds at every size
 * instead of only at the one it was drawn at.
 */
.docrankr-landing-page .drlp-hero__cards {
	grid-column: 2 / -1;
	grid-row: 1;
	position: relative;
	z-index: 2;
	display: grid;
	gap: 12px;
}

.docrankr-landing-page .drlp-hero__card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 6px 18px rgba(16, 21, 54, 0.09);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-hero__card:hover {
	transform: translateX(-5px);
	box-shadow: 0 10px 26px rgba(16, 21, 54, 0.14);
}

.docrankr-landing-page .drlp-hero__card.is-featured {
	padding: 14px 16px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(16, 21, 54, 0.13);
}

.docrankr-landing-page .drlp-hero__card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: none;
	border-radius: 10px;
	background: var(--drlp-primary-soft);
	color: var(--drlp-primary);
	font-size: 19px;
}

.docrankr-landing-page .drlp-hero__card.is-featured .drlp-hero__card-icon {
	width: 40px;
	height: 40px;
	font-size: 21px;
}

/* A brand mark carries its own colours, so it gets a neutral tile. */
.docrankr-landing-page .drlp-hero__card-icon:has(.drlp-icon--brand) {
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--drlp-border);
}

.docrankr-landing-page .drlp-hero__card-text {
	display: grid;
	gap: 1px;
	min-width: 0;
	line-height: 1.28;
}

.docrankr-landing-page .drlp-hero__card-text strong {
	font-size: 14px;
	font-weight: 800;
	color: var(--drlp-ink);
}

.docrankr-landing-page .drlp-hero__card.is-featured .drlp-hero__card-text strong {
	font-size: 22px;
	letter-spacing: -0.02em;
	color: var(--drlp-primary);
}

.docrankr-landing-page .drlp-hero__card-text em {
	font-style: normal;
	font-size: 12px;
	color: var(--drlp-muted);
	font-weight: 600;
}

.docrankr-landing-page .drlp-hero__card.is-featured .drlp-hero__card-text em {
	font-size: 12.5px;
	color: var(--drlp-body);
}

/* Below the photo rather than over it, where the coat washes it out. */
.docrankr-landing-page .drlp-hero__script {
	position: absolute;
	right: 1%;
	bottom: -62px;
	z-index: 2;
	width: 52%;
	max-width: 190px;
	text-align: center;
	font-size: 15.5px;
	font-style: italic;
	font-weight: 600;
	line-height: 1.3;
	color: var(--drlp-primary);
}

.docrankr-landing-page .drlp-hero__squiggle {
	display: block;
	width: 86px;
	height: 26px;
	margin: 2px auto 0;
	opacity: 0.75;
}

/* ── Client logos ───────────────────────────────────────────────────── */

.docrankr-landing-page .drlp-logos__title {
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: var(--drlp-muted);
	margin-bottom: 26px;
}

.docrankr-landing-page .drlp-marquee {
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

/*
 * The spacing lives on the cells, not on the track.
 *
 * With gap on a flex row of 2N cells there are 2N-1 gaps, so half the track
 * is half a gap short of one full copy — and the loop, which travels half
 * the track, lands 34px before the second copy reaches the first's starting
 * point. Measured at 1440: a copy begins at 2179.4px, -50% travels 2145.4px,
 * and the difference is exactly half of 68. That shortfall was the jump at
 * the end of every lap.
 *
 * Given to each cell instead, every cell owns its trailing space, the track
 * is exactly 2N equal units wide, and half of it is exactly one copy.
 */
.docrankr-landing-page .drlp-marquee__track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: drlp-marquee var(--drlp-marquee-speed, 38s) linear infinite;
}

.docrankr-landing-page .drlp-marquee.is-static .drlp-marquee__track {
	animation: none;
	justify-content: center;
	width: 100%;
	flex-wrap: wrap;
	gap: 44px;
}

.docrankr-landing-page .drlp-marquee.is-pausable:hover .drlp-marquee__track,
.docrankr-landing-page .drlp-marquee.is-pausable:focus-within .drlp-marquee__track {
	animation-play-state: paused;
}

.docrankr-landing-page .drlp-marquee__cell {
	flex: none;
	display: flex;
	align-items: center;
	margin-inline-end: 68px;
}

/*
 * Standing still there is no seam to keep, and the static rule above sets
 * its own gap on a wrapped, centred row — so the cells give their margin
 * back rather than adding 68px to that 44px.
 */
.docrankr-landing-page .drlp-marquee.is-static .drlp-marquee__cell {
	margin-inline-end: 0;
}

.docrankr-landing-page .drlp-marquee__logo {
	height: var(--drlp-logo-h, 44px);
	width: auto;
	max-width: 190px;
	object-fit: contain;
	transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.docrankr-landing-page .drlp-marquee.is-grey .drlp-marquee__logo {
	filter: grayscale(1);
	opacity: 0.62;
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-marquee.is-grey .drlp-marquee__cell:hover .drlp-marquee__logo {
	filter: none;
	opacity: 1;
}

@keyframes drlp-marquee {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		/*
		 * Half the track is exactly one copy, now that each cell carries its
		 * own trailing space. The custom property is the measured distance
		 * in pixels, which the script sets once the logos have loaded; the
		 * half is what applies until then, and if the script never runs.
		 */
		transform: translate3d(var(--drlp-marquee-shift, -50%), 0, 0);
	}
}

/* ── Statistics ─────────────────────────────────────────────────────── */

.docrankr-landing-page .drlp-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	padding: 26px 18px;
	border-radius: var(--drlp-radius);
	background: var(--drlp-bg-alt);
	border: 1px solid var(--drlp-border);
}

.docrankr-landing-page .drlp-stats__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	padding: 8px 22px;
	border-left: 1px solid var(--drlp-border);
}

.docrankr-landing-page .drlp-stats__item:first-child {
	border-left: 0;
}

.docrankr-landing-page .drlp-stats__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 50%;
	background: #fff;
	color: var(--drlp-primary);
	font-size: 21px;
	box-shadow: 0 4px 12px rgba(16, 21, 54, 0.07);
}

.docrankr-landing-page .drlp-stats__text {
	display: grid;
	gap: 2px;
}

.docrankr-landing-page .drlp-stats__value {
	font-size: 21px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--drlp-ink);
}

.docrankr-landing-page .drlp-stats__label {
	font-size: 13.8px;
	color: var(--drlp-body);
	line-height: 1.35;
}

/* ── Cards (services) ───────────────────────────────────────────────── */

.docrankr-landing-page .drlp-cards {
	display: grid;
	gap: 24px;
	margin-top: 42px;
}

.docrankr-landing-page .drlp-cards--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docrankr-landing-page .drlp-cards--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.docrankr-landing-page .drlp-cards--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.docrankr-landing-page .drlp-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--drlp-radius);
	background: #fff;
	border: 1px solid var(--drlp-border);
	box-shadow: var(--drlp-shadow);
	overflow: hidden;
	transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-card:hover {
	transform: translateY(-6px);
	border-color: rgba(100, 66, 242, 0.32);
	box-shadow: 0 10px 22px rgba(16, 21, 54, 0.07), 0 26px 54px rgba(16, 21, 54, 0.09);
}

/*
 * The image is the card's header: edge to edge, no padding, a fixed aspect
 * ratio so all six cards line up whatever the source images measure. The icon
 * tile overlaps its lower-left corner, which keeps both elements without
 * stealing width from the picture.
 */
.docrankr-landing-page .drlp-card__top {
	position: relative;
	padding: 0;
}

.docrankr-landing-page .drlp-card__thumb {
	display: block;
	width: 100%;
	overflow: hidden;
	background: var(--drlp-bg-alt);
	border-radius: var(--drlp-radius) var(--drlp-radius) 0 0;
}

.docrankr-landing-page .drlp-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center;
	transition: transform 0.5s ease;
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-card:hover .drlp-card__thumb img {
	transform: scale(1.06);
}

.docrankr-landing-page .drlp-card__icon {
	position: absolute;
	left: 18px;
	bottom: -23px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 14px;
	background: #fff;
	color: var(--drlp-primary);
	font-size: 23px;
	box-shadow: 0 4px 14px rgba(16, 21, 54, 0.12);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-card:hover .drlp-card__icon {
	background: var(--drlp-primary);
	color: #fff;
}

/* With no image there is nothing to overlap, so the tile sits in the flow. */
.docrankr-landing-page .drlp-card.has-no-image .drlp-card__icon {
	position: static;
	margin: 18px 0 0 18px;
	background: var(--drlp-primary-soft);
	box-shadow: none;
}

.docrankr-landing-page .drlp-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 36px 20px 20px;
}

.docrankr-landing-page .drlp-card.has-no-image .drlp-card__body {
	padding-top: 16px;
}

.docrankr-landing-page .drlp-card__title {
	font-size: 18.5px;
	font-weight: 800;
	margin-bottom: 10px;
}

.docrankr-landing-page .drlp-card__text {
	font-size: 14.5px;
	line-height: 1.64;
	flex: 1;
}

.docrankr-landing-page .drlp-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 18px;
	color: var(--drlp-primary);
	font-size: 14px;
	font-weight: 700;
	align-self: flex-start;
}

/* ── Who we help ────────────────────────────────────────────────────── */

.docrankr-landing-page .drlp-audience__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr);

	/*
	 * Top, not centre: the cards below rise over the foot of the photo, and
	 * the copy is wanted up at the photo's shoulder rather than floating in
	 * the middle of a row the picture has made tall.
	 */
	align-items: start;
	gap: 48px;
}

/*
 * The room the cards rise into, reserved on the copy's side.
 *
 * Without it the clearance between the paragraph and the cards is whatever
 * the two column heights happen to leave — 22px at 1440 and 7px at 1024,
 * measured — and one extra line of description would put the cards through
 * the text. This padding is deeper than the deepest pull below, so the row
 * grows before that can happen and the gap can never close.
 */
.docrankr-landing-page .drlp-audience__copy {
	padding-bottom: 72px;
}

.docrankr-landing-page .drlp-audience__media {
	border-radius: var(--drlp-radius);
	overflow: hidden;
	box-shadow: var(--drlp-shadow);
}

.docrankr-landing-page .drlp-audience__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/*
 * The cards ride up over the foot of the photo.
 *
 * A negative margin rather than absolute positioning, so the row still takes
 * part in the flow and the section grows with its own content. z-index lifts
 * it over the photo, which carries a shadow of its own and would otherwise
 * win on paint order by being later in nothing and earlier in the DOM.
 *
 * The lift scales with the viewport, because the photo is a fixed ratio in
 * a fluid column: a pull deep enough to read at 1440 swallows the picture
 * at 1024. Bounded at both ends so it can neither disappear nor exceed the
 * room reserved for it above.
 */
.docrankr-landing-page .drlp-pills {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	margin-top: clamp(-64px, 42px - 7vw, -32px);
}

.docrankr-landing-page .drlp-pill {
	display: grid;
	gap: 14px;
	align-content: start;
	padding: 22px 20px;
	border-radius: var(--drlp-radius);
	background: #fff;
	border: 1px solid var(--drlp-border);
	box-shadow: var(--drlp-shadow);
	font-size: 15px;
	font-weight: 700;
	color: var(--drlp-ink);
	line-height: 1.42;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-pill:hover {
	transform: translateY(-5px);
	border-color: rgba(100, 66, 242, 0.32);
}

.docrankr-landing-page .drlp-pill__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--drlp-primary-soft);
	color: var(--drlp-primary);
	font-size: 20px;
}

.docrankr-landing-page .drlp-pill.is-highlight {
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 13px;
	background: var(--drlp-primary-soft);
	border-color: rgba(100, 66, 242, 0.3);
	font-size: 13.5px;
	font-weight: 600;
}

.docrankr-landing-page .drlp-pill.is-highlight .drlp-pill__icon {
	background: #fff;
}

/* ── Why ────────────────────────────────────────────────────────────── */

.docrankr-landing-page .drlp-why {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 34px;
	margin-top: 46px;
}

.docrankr-landing-page .drlp-why__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 14px;
	background: var(--drlp-primary-soft);
	color: var(--drlp-primary);
	font-size: 24px;
	margin-bottom: 18px;
}

.docrankr-landing-page .drlp-why__title {
	font-size: 17.5px;
	font-weight: 800;
	margin-bottom: 10px;
}

.docrankr-landing-page .drlp-why__text {
	font-size: 14.5px;
	line-height: 1.68;
}

/* ── Who we are ─────────────────────────────────────────────────────── */

/*
 * Heading left, paragraphs right. The split is uneven on purpose: the
 * heading is three or four words a line and the body wants a comfortable
 * measure, so the text column takes the larger share.
 */
.docrankr-landing-page .drlp-about {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 20px 56px;
	align-items: start;
}

.docrankr-landing-page .drlp-about__title {
	font-size: var(--drlp-section-h, 32px);
	max-width: 16ch;
}

.docrankr-landing-page .drlp-about__body p {
	margin: 0;
	max-width: 62ch;
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--drlp-body);
}

.docrankr-landing-page .drlp-about__body p + p {
	margin-top: 18px;
}

/* ── How we work ────────────────────────────────────────────────────── */

.docrankr-landing-page .drlp-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 34px;
	margin: 46px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

/*
 * The number is the ornament, so it is drawn large and quiet rather than in
 * a badge: four heavy circles in a row would out-shout the four headings
 * they are there to order.
 */
.docrankr-landing-page .drlp-steps__num {
	display: block;
	margin-bottom: 10px;
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
	color: var(--drlp-primary);
	opacity: 0.32;
	font-variant-numeric: tabular-nums;
}

.docrankr-landing-page .drlp-steps__item {
	position: relative;
	padding-top: 20px;
	border-top: 2px solid var(--drlp-border);
}

.docrankr-landing-page .drlp-steps__item::before {
	/* The brand colour marks how far along the row each step is. */
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 34px;
	height: 2px;
	background: var(--drlp-primary);
}

.docrankr-landing-page .drlp-steps__title {
	font-size: 17.5px;
	font-weight: 800;
	margin-bottom: 10px;
}

.docrankr-landing-page .drlp-steps__text {
	font-size: 14.5px;
	line-height: 1.68;
}

/* ── Case studies slider ────────────────────────────────────────────── */

.docrankr-landing-page .drlp-slider {
	position: relative;
	margin-top: 40px;
}

/*
 * The frame clips sideways.
 *
 * The track inside it is a proper scroll container — 342px wide holding
 * 2008px of cards, scrolling internally — and yet the frame's scrollable
 * width still came back as the full 1736px, which travelled up and scrolled
 * the whole page on a phone. Measured, not guessed: of every property tried
 * on the track (overflow-x hidden and clip, min-width, width, max-width,
 * flex-basis, contain) not one changed the number, and clipping the frame
 * dropped it to the viewport width exactly.
 *
 * clip rather than hidden, so this does not become a scroll container and
 * the cards' hover shadow is still free to show above and below.
 */
.docrankr-landing-page .drlp-slider__frame {
	position: relative;
	overflow-x: clip;
}

/*
 * Setting overflow-x makes this a scroll container, and a scroll container
 * clips in BOTH directions — there is no overflow-y: visible to be had. A
 * soft shadow on the cards was therefore being sliced off square at the
 * container edge, which is what showed up as a grey rectangle behind the
 * first and last card. The cards below carry a border instead of a resting
 * shadow, and the track is given room for the small one that appears on
 * hover, pulled back by an equal negative margin so the spacing is unchanged.
 */
.docrankr-landing-page .drlp-slider__track {
	display: flex;
	gap: 24px;
	/*
	 * A flex or grid item will not shrink below its content unless told to,
	 * and this one's content is six cards wide. Without this the track can
	 * force whatever contains it to that width, and the page scrolls
	 * sideways no matter what overflow the track itself carries.
	 */
	min-width: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 14px 0 26px;
	margin: -14px 0 -12px;
}

.docrankr-landing-page .drlp-slider__track::-webkit-scrollbar {
	display: none;
}

.docrankr-landing-page .drlp-case {
	flex: 0 0 calc((100% - 72px) / 4);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	border-radius: var(--drlp-radius);
	background: #fff;
	border: 1px solid var(--drlp-border);
	overflow: hidden;
	transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-case:hover {
	transform: translateY(-5px);
	border-color: rgba(100, 66, 242, 0.32);
	/* Kept inside the track's padding so it cannot be clipped square. */
	box-shadow: 0 6px 16px rgba(16, 21, 54, 0.08);
}

.docrankr-landing-page .drlp-case__media {
	position: relative;

	/*
	 * Still clipped, so the photo keeps the card's rounded top — the logo
	 * below is placed inside this box rather than hanging out of it, which
	 * is why clipping costs nothing here.
	 */
	overflow: hidden;
	background: var(--drlp-bg-alt);
}

/*
 * A card showing its clinic's mark instead of a photograph.
 *
 * The box keeps the same shape a photo had, so the row of cards still lines
 * up, and the mark is centred in it with room to breathe. A pale background
 * because these are the trust strip's files, drawn for one.
 */
.docrankr-landing-page .drlp-case__media.is-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	padding: 24px 30px;
	background: var(--drlp-bg-soft);
}

/*
 * Sized by height, not by what the file happens to be.
 *
 * Left to their natural size the row came out uneven: the trust strip's
 * marks are 180px wide and drew at 180, while Bizrah's is 1600px wide and
 * filled the box, so one logo sat half again as large as its neighbours. A
 * common height is how a row of logos is normally levelled.
 *
 * max-width still holds back a mark too wide to fit — these range from
 * 3.9:1 to 5.7:1 — and object-fit: contain means that when it does, the
 * logo is letterboxed rather than squashed.
 */
.docrankr-landing-page .drlp-case__media.is-logo img {
	width: auto;
	height: 46px;
	max-width: 100%;
	max-height: 100%;
	aspect-ratio: auto;
	object-fit: contain;
}

/*
 * The direct child only — the photo.
 *
 * Written as a descendant it also caught the logo nested in the chip below,
 * and since both selectors score the same it won on source order alone:
 * width: 100% squeezed every logo down to the chip's minimum, 42px, whatever
 * its shape. Naming the child says which image this is about.
 */
.docrankr-landing-page .drlp-case__media > img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.55s ease;
}

/* A photograph zooms on hover. A logo holds still. */
.docrankr-landing-page:not(.drlp-no-hover) .drlp-case:hover .drlp-case__media:not(.is-logo) > img {
	transform: scale(1.06);
}

.docrankr-landing-page .drlp-case__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px;
}

.docrankr-landing-page .drlp-case__title {
	font-size: 16.5px;
	font-weight: 800;
}

.docrankr-landing-page .drlp-case__meta {
	margin-top: 5px;
	font-size: 12.2px;
	color: var(--drlp-muted);
	font-weight: 600;
}

.docrankr-landing-page .drlp-case__stats {
	display: flex;
	gap: 22px;
	margin-top: 15px;
	padding-top: 14px;
	border-top: 1px solid var(--drlp-border);
}

.docrankr-landing-page .drlp-case__stat {
	display: grid;
	gap: 2px;
}

.docrankr-landing-page .drlp-case__stat strong {
	font-size: 21px;
	font-weight: 800;
	color: var(--drlp-primary);
	line-height: 1.1;
}

.docrankr-landing-page .drlp-case__stat span {
	font-size: 11.8px;
	color: var(--drlp-muted);
	font-weight: 600;
}

.docrankr-landing-page .drlp-case__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 16px;
	color: var(--drlp-primary);
	font-size: 13.5px;
	font-weight: 700;
	align-self: flex-start;
}

.docrankr-landing-page .drlp-case__disclaimer {
	margin-top: 22px;
	font-size: 11.5px;
	line-height: 1.6;
	color: var(--drlp-muted);
	max-width: 92ch;
}

/*
 * Sat at the very edge of the container, faint and half over the first and
 * last card, where they were easy to miss entirely. Larger, solid, with a
 * real shadow and a brand-coloured chevron so they read as controls.
 */
.docrankr-landing-page .drlp-slider__nav {
	position: absolute;
	top: 46%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--drlp-border);
	color: var(--drlp-primary);
	box-shadow: 0 6px 20px rgba(16, 21, 54, 0.16);
	transform: translateY(-50%);
	transition: background-color 0.24s ease, color 0.24s ease, opacity 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.docrankr-landing-page .drlp-slider__nav--prev {
	left: 0;
}

.docrankr-landing-page .drlp-slider__nav--next {
	right: 0;
}

.docrankr-landing-page .drlp-slider__nav svg {
	width: 18px;
	height: 18px;
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-slider__nav:hover {
	background: var(--drlp-primary);
	color: #fff;
	border-color: var(--drlp-primary);
}

/* Still legible at the ends, rather than a ghost nobody notices. */
.docrankr-landing-page .drlp-slider__nav[disabled] {
	opacity: 0.45;
	color: var(--drlp-muted);
	box-shadow: 0 3px 10px rgba(16, 21, 54, 0.08);
	cursor: default;
	pointer-events: none;
}

/*
 * display on these would otherwise beat the hidden attribute, and a control
 * that is present but does nothing reads as broken.
 */
.docrankr-landing-page .drlp-slider__nav[hidden],
.docrankr-landing-page .drlp-slider__dot[hidden] {
	display: none;
}

.docrankr-landing-page .drlp-slider__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.docrankr-landing-page .drlp-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--drlp-border);
	transition: width 0.26s ease, background-color 0.26s ease;
}

.docrankr-landing-page .drlp-slider__dot.is-active {
	width: 24px;
	border-radius: 999px;
	background: var(--drlp-primary);
}

/* ── Testimonial and FAQ ────────────────────────────────────────────── */

.docrankr-landing-page .drlp-social__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: 48px;
	align-items: start;
}

/*
 * When real reviews have taken this column from the written quote. The
 * heading matches the FAQ's beside it, so the two columns read as a pair.
 */
.docrankr-landing-page .drlp-quote__title {
	font-size: var(--drlp-section-h, 32px);
	margin-bottom: 14px;
	max-width: 20ch;
}

.docrankr-landing-page .drlp-quote__lead {
	margin: 0 0 22px;
	max-width: 46ch;
	font-size: 15px;
	line-height: 1.65;
	color: var(--drlp-body);
}

/*
 * The widget belongs to the reviews plugin, so nothing here styles anything
 * inside it. This only says it may not be wider than the column it sits in.
 */
.docrankr-landing-page .drlp-quote--reviews .drlp-reviews__embed {
	min-width: 0;
	max-width: 100%;
}

/*
 * A review the page has filtered out.
 *
 * The element also gets the hidden attribute, but that sets display: none at
 * the lowest possible weight and any display rule in the widget's own
 * stylesheet beats it. This is the one place !important is warranted: the
 * rule is about another plugin's markup, whose specificity is not ours to
 * predict, and a review that is meant to be hidden must actually be hidden.
 */
.docrankr-landing-page .drlp-review-hidden {
	display: none !important;
}

.docrankr-landing-page .drlp-quote__card {
	position: relative;
	padding: 30px 28px 26px;
	border-radius: var(--drlp-radius);
	background: #fff;
	border: 1px solid var(--drlp-border);
	box-shadow: var(--drlp-shadow);
}

.docrankr-landing-page .drlp-quote__mark {
	display: block;
	font-size: 54px;
	line-height: 0.6;
	color: var(--drlp-primary);
	opacity: 0.28;
	margin-bottom: 10px;
	font-family: Georgia, "Times New Roman", serif;
}

.docrankr-landing-page .drlp-quote__text p {
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--drlp-ink);
	font-weight: 500;
}

.docrankr-landing-page .drlp-quote__by {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--drlp-border);
	flex-wrap: wrap;
}

.docrankr-landing-page .drlp-quote__avatar {
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 50%;
	overflow: hidden;
	background: var(--drlp-primary-soft);
}

.docrankr-landing-page .drlp-quote__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.docrankr-landing-page .drlp-quote__avatar--letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--drlp-primary);
	font-size: 18px;
	font-weight: 800;
}

.docrankr-landing-page .drlp-quote__who {
	display: grid;
	gap: 1px;
	margin-right: auto;
}

.docrankr-landing-page .drlp-quote__who strong {
	font-size: 15px;
	font-weight: 800;
	color: var(--drlp-ink);
}

.docrankr-landing-page .drlp-quote__who em {
	font-style: normal;
	font-size: 13px;
	color: var(--drlp-muted);
}

.docrankr-landing-page .drlp-quote__stars {
	display: inline-flex;
	gap: 2px;
	color: #f5a623;
}

.docrankr-landing-page .drlp-quote__stars svg {
	width: 15px;
	height: 15px;
}

.docrankr-landing-page .drlp-faq__title {
	font-size: var(--drlp-section-h, 32px);
	margin-bottom: 22px;
	max-width: 20ch;
}

.docrankr-landing-page .drlp-faq__list {
	display: grid;
	gap: 12px;
}

.docrankr-landing-page .drlp-faq__item {
	border-radius: var(--drlp-radius-sm);
	background: #fff;
	border: 1px solid var(--drlp-border);
	transition: border-color 0.26s ease, box-shadow 0.26s ease;
}

.docrankr-landing-page .drlp-faq__item[open] {
	border-color: rgba(100, 66, 242, 0.34);
	box-shadow: var(--drlp-shadow);
}

.docrankr-landing-page .drlp-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 16px 18px;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--drlp-ink);
}

.docrankr-landing-page .drlp-faq__sign {
	position: relative;
	width: 17px;
	height: 17px;
	flex: none;
}

.docrankr-landing-page .drlp-faq__sign::before,
.docrankr-landing-page .drlp-faq__sign::after {
	content: "";
	position: absolute;
	inset: 50% 0 auto;
	height: 2px;
	border-radius: 2px;
	background: var(--drlp-primary);
	transform: translateY(-50%);
	transition: transform 0.28s ease, opacity 0.2s ease;
}

.docrankr-landing-page .drlp-faq__sign::after {
	transform: translateY(-50%) rotate(90deg);
}

.docrankr-landing-page .drlp-faq__item[open] .drlp-faq__sign::after {
	transform: translateY(-50%) rotate(0deg);
	opacity: 0;
}

/*
 * The paragraph is targeted, not just its wrapper.
 *
 * Setting the size on .drlp-faq__a alone left the <p> inside relying on
 * inheritance, and inheritance loses to any rule a theme has on p — which is
 * why the answers came out larger than the question above them. Naming the
 * paragraph puts the size back under this stylesheet's control.
 */
.docrankr-landing-page .drlp-faq__a,
.docrankr-landing-page .drlp-faq__a p {
	font-size: 14px;
	line-height: 1.68;
	color: var(--drlp-body);
}

.docrankr-landing-page .drlp-faq__a {
	padding: 0 18px 17px;
}

.docrankr-landing-page .drlp-faq__a p {
	margin: 0;
	max-width: 68ch;
}

/* ── The audit band ─────────────────────────────────────────────────── */

.docrankr-landing-page .drlp-section--cta {
	/*
	 * Deeper than the rest of the page on purpose. The form card is the one
	 * element that sits ON the band rather than in it, and it needs clear
	 * purple above and below to read as resting there. 74px, the figure
	 * every other section uses, left it looking wedged in.
	 */
	--drlp-pt: 100px;
	--drlp-pb: 100px;

	/*
	 * Three layers, painted front to back.
	 *
	 * The waves are drawn in white at a low opacity rather than in a fixed
	 * purple, so they hold up whatever the two band colours are set to under
	 * DocRankr Page > Theme. They are pinned to the left edge and sliced
	 * vertically, which keeps the crests the same size on a tall band as on
	 * a short one instead of stretching them into smears.
	 *
	 * The radial highlight is what makes the band read as more than two
	 * flat colours: it lifts the top left corner before the linear gradient
	 * carries it down into the deeper shade on the right.
	 */
	background-color: var(--drlp-cta-to);
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='440' viewBox='0 0 560 440' fill='none'%3E%3Cpath d='M-30 -70 C 180 20 265 175 190 310 C 128 422 22 462 -62 482' stroke='white' stroke-opacity='0.14' stroke-width='82' stroke-linecap='round'/%3E%3Cpath d='M-96 -34 C 92 62 156 206 92 330 C 40 432 -44 468 -118 482' stroke='white' stroke-opacity='0.10' stroke-width='48' stroke-linecap='round'/%3E%3Cpath d='M-150 40 C 20 110 60 230 6 330' stroke='white' stroke-opacity='0.07' stroke-width='26' stroke-linecap='round'/%3E%3C/svg%3E"),
		radial-gradient(118% 150% at 6% -10%, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0) 58%),
		linear-gradient(104deg, var(--drlp-cta-from) 0%, var(--drlp-cta-from) 16%, var(--drlp-cta-to) 76%, var(--drlp-cta-to) 100%);
	background-repeat: no-repeat, no-repeat, no-repeat;
	background-position: left center, left top, center;
	background-size: auto 100%, 100% 100%, 100% 100%;
	color: rgba(255, 255, 255, 0.86);

	/*
	 * Sideways only. `overflow: hidden` clips both axes, and the service
	 * dropdown opens into the space below the field — there is barely 90px
	 * of card left under it, so the band was cutting the list off mid-row.
	 * Clipping one axis leaves the other visible; hidden does not, because
	 * it forces the other axis to auto. The first line is for a browser too
	 * old for clip, which keeps today's behaviour rather than losing the
	 * containment altogether.
	 */
	overflow-x: hidden;
	overflow-x: clip;
}

.docrankr-landing-page .drlp-cta__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr) auto;
	align-items: center;
	gap: 40px;

	/*
	 * A floor, not a fixed height.
	 *
	 * Asked for as height: 400px, and at the size the band is today the two
	 * behave identically — the content is shorter than this, so it centres
	 * in the space either way. They part company when the content grows:
	 * Contact Form 7 prints its reply under the form, a failed field adds a
	 * line, and the heading is a setting somebody can lengthen. A fixed
	 * height would let that spill out of the band and over the footer,
	 * where a floor simply gives way.
	 */
	min-height: 400px;

	/*
	 * And the spare height goes around the content, not through it.
	 *
	 * Left alone, grid rows stretch to fill the extra space: measured at
	 * 390px, the two rows grew from 233 and 354 to 321 and 442, which put
	 * 153px of empty purple between the heading and the form and left the
	 * form 116px off the bottom. Centring the rows keeps the block together
	 * and splits the space evenly above and below it.
	 */
	align-content: center;
}

/*
 * Everything on the purple band is white, asserted with the section class in
 * the selector so a theme's own h2 colour cannot win on specificity. This is
 * white-on-purple text — if it loses, the heading disappears.
 */
.docrankr-landing-page .drlp-section--cta .drlp-cta__title,
.docrankr-landing-page .drlp-section--cta h2 {
	font-size: clamp(30px, 2.7vw, 40px);
	color: #fff;
}

.docrankr-landing-page .drlp-section--cta .drlp-cta__text,
.docrankr-landing-page .drlp-section--cta .drlp-cta__copy p {
	margin-top: 14px;
	max-width: 46ch;
	font-size: 15.5px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.86);
}

/* The button sits on white inside the form card, so it keeps its own colours. */
.docrankr-landing-page .drlp-section--cta .drlp-btn--primary,
.docrankr-landing-page .drlp-btn--primary,
.docrankr-landing-page a.drlp-btn--primary,
.docrankr-landing-page button.drlp-btn--primary {
	color: var(--drlp-btn-text, #fff);
}

.docrankr-landing-page .drlp-btn--primary:hover,
.docrankr-landing-page .drlp-btn--primary:focus,
.docrankr-landing-page .drlp-btn--primary:active,
.docrankr-landing-page a.drlp-btn--primary:hover,
.docrankr-landing-page a.drlp-btn--primary:focus,
.docrankr-landing-page a.drlp-btn--primary:active,
.docrankr-landing-page button.drlp-btn--primary:hover,
.docrankr-landing-page button.drlp-btn--primary:focus,
.docrankr-landing-page button.drlp-btn--primary:active {
	color: var(--drlp-btn-text, #fff);
}

.docrankr-landing-page .drlp-btn--primary span,
.docrankr-landing-page .drlp-btn--primary svg {
	color: inherit;
}

/*
 * Rounded again, at the client's request and matching their reference.
 *
 * It was squared off in 1.9.2 because the card all but filled the band and
 * the corners read as a near miss. The band now has real room above and
 * below it, which is what made the square corners necessary in the first
 * place, so the radius comes back and follows the theme setting like every
 * other card.
 */
.docrankr-landing-page .drlp-cta__form {
	padding: 26px;
	border-radius: var(--drlp-radius);
	background: #fff;
	box-shadow: 0 22px 54px rgba(10, 6, 40, 0.3);
}

.docrankr-landing-page .drlp-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.docrankr-landing-page .drlp-form__row {
	position: relative;
	margin: 0;
	display: flex;
	flex-direction: column;
}

/*
 * A native <select> and a text <input> do not agree on height, line-height or
 * font by default, which is what made the second row of the form look a few
 * pixels out. Both are given the same box explicitly, and appearance:none
 * removes the platform chrome so the arrow below is the only one drawn.
 */
.docrankr-landing-page .drlp-form input,
.docrankr-landing-page .drlp-form select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border-radius: 11px;
	border: 1px solid var(--drlp-border);
	background: #fff;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--drlp-ink);
	transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

/*
 * Native controls are painted in light mode whatever the visitor's system is
 * set to.
 *
 * A dropdown's popup list is drawn by the browser, not by this page, and on a
 * machine in dark mode the browser paints it from its own dark palette —
 * light text on a dark sheet. Author colours then only partly apply and the
 * result is pale text on a pale background, which is exactly how an empty
 * looking list comes about. Declaring the scheme settles which palette the
 * browser starts from, so the colours below land on what they expect.
 */
.docrankr-landing-page .drlp-form,
.docrankr-landing-page .drlp-form input,
.docrankr-landing-page .drlp-form select,
.docrankr-landing-page .drlp-form textarea {
	color-scheme: light;
}

.docrankr-landing-page .drlp-form select {
	/* Room for the arrow, and the arrow itself. */
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6184' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 17px 17px;
	cursor: pointer;
}

.docrankr-landing-page .drlp-form input::placeholder {
	color: var(--drlp-muted);
	font-weight: 500;
	opacity: 1;
}

/*
 * The dropdown's own list, coloured explicitly.
 *
 * The form card sits on the purple band, and that section sets a white text
 * colour for everything inside it. The <select> had its own colour so the
 * closed control was fine, but the <option> elements had none and inherited
 * the white — white text on the white popup, so the list looked empty and
 * nothing could be read or picked. Naming the options, and giving them a
 * background of their own, settles it on every browser rather than relying
 * on what each one happens to inherit.
 */
/*
 * Literal colours, not custom properties.
 *
 * A popup list is drawn outside the page's own box, and a browser resolving
 * var(--drlp-ink) for it has to reach back into the document for a value it
 * may not carry into that context. Written out, there is nothing to resolve
 * and nothing to fall back from. The values are the same tokens, kept in step
 * by hand because correctness here matters more than tidiness.
 */
.docrankr-landing-page .drlp-form select option,
.docrankr-landing-page .drlp-section--cta .drlp-form select option {
	background-color: #ffffff;
	color: #0b1033;
	font-weight: 500;
}

/* The first, empty option reads as a placeholder in the open list too. */
.docrankr-landing-page .drlp-form select option[value=""] {
	color: #6b7191;
}

/* The row under the pointer, and the one already chosen. */
.docrankr-landing-page .drlp-form select option:checked,
.docrankr-landing-page .drlp-form select option:hover {
	background-color: #efebfe;
	color: #0b1033;
}

/*
 * The closed control. Both states are written with the section in the
 * selector as well, so the white the purple band sets for its own text can
 * never reach the field through a rule of higher weight.
 */
.docrankr-landing-page .drlp-form select.is-empty,
.docrankr-landing-page .drlp-section--cta .drlp-form select.is-empty {
	color: #6b7191;
}

/* Once something IS chosen it reads as an answer, in full strength ink. */
.docrankr-landing-page .drlp-form select:not(.is-empty),
.docrankr-landing-page .drlp-section--cta .drlp-form select:not(.is-empty) {
	color: #0b1033;
}

.docrankr-landing-page .drlp-form input:focus,
.docrankr-landing-page .drlp-form select:focus {
	border-color: var(--drlp-primary);
	box-shadow: 0 0 0 3px rgba(100, 66, 242, 0.14);
	outline: none;
}

.docrankr-landing-page .drlp-form input.is-invalid,
.docrankr-landing-page .drlp-form select.is-invalid {
	border-color: #d6336c;
}

.docrankr-landing-page .drlp-form__err {
	display: block;
	min-height: 0;
	font-size: 11px;
	color: #d6336c;
	padding-left: 2px;
}

.docrankr-landing-page .drlp-form__err:not(:empty) {
	margin-top: 4px;
}

.docrankr-landing-page .drlp-form .drlp-btn {
	margin-top: 14px;
	height: 54px;
	padding-inline: 26px;
	font-size: 15px;
}

.docrankr-landing-page .drlp-form__consent,
.docrankr-landing-page .drlp-form__status {
	margin-top: 10px;
	font-size: 12.5px;
	line-height: 1.5;
	text-align: center;
	color: var(--drlp-muted);
}

.docrankr-landing-page .drlp-form__status:empty {
	margin-top: 0;
}

.docrankr-landing-page .drlp-form__status.is-error {
	color: #d6336c;
}

.docrankr-landing-page .drlp-form__status.is-ok {
	color: #0a7c42;
	font-weight: 600;
}

.docrankr-landing-page .drlp-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.docrankr-landing-page .drlp-form.is-sent .drlp-form__grid,
.docrankr-landing-page .drlp-form.is-sent .drlp-btn,
.docrankr-landing-page .drlp-form.is-sent .drlp-form__consent {
	display: none;
}

.docrankr-landing-page .drlp-cta__script {
	position: relative;
	align-self: center;
	max-width: 150px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 17px;
	line-height: 1.25;
	font-style: italic;
	font-weight: 600;
	text-align: center;
}

.docrankr-landing-page .drlp-cta__squiggle {
	display: block;
	width: 96px;
	height: 32px;
	margin: 6px auto 0;
	opacity: 0.8;
}

/* ── When another script replaces the dropdown ──────────────────────── */

/*
 * This theme runs jQuery Nice Select, which hides every native <select> and
 * builds its own list beside it. Every option rule above then applies to an
 * element with display: none, while the visitor looks at a widget this
 * stylesheet had never heard of — which, inside the purple band, inherited
 * white text onto a white sheet and read as empty.
 *
 * Rather than fight the theme for control of the element, the replacement is
 * styled to match the fields around it. The same rules cover Select2 and
 * Chosen, because the next theme will use one of those instead.
 */
.docrankr-landing-page .nice-select,
.docrankr-landing-page .select2-container--default .select2-selection--single,
.docrankr-landing-page .chosen-container-single .chosen-single {
	box-sizing: border-box;
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 52px;
	padding: 0 42px 0 16px;
	border-radius: 11px;
	border: 1px solid var(--drlp-border);
	background-color: #fff;
	color: #0b1033;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.2;
	float: none;
}

.docrankr-landing-page .nice-select:after {
	/* Its own caret, redrawn to match the one on the other fields. */
	right: 18px;
	width: 7px;
	height: 7px;
	border-bottom: 2px solid #5a6184;
	border-right: 2px solid #5a6184;
	margin-top: -5px;
}

.docrankr-landing-page .nice-select.open,
.docrankr-landing-page .nice-select:focus {
	border-color: var(--drlp-primary);
	box-shadow: 0 0 0 3px rgba(100, 66, 242, 0.14);
}

/* While open it sits above the button underneath it, and the band below. */
.docrankr-landing-page .nice-select.open {
	z-index: 30;
}

/*
 * The list it opens. Colours written out, as with the native options.
 *
 * It is allowed to be wider than the field, because the field is the narrow
 * right-hand column of the form and "Full Digital Marketing Service" does
 * not fit in it. Wrapping is the backstop: whatever the width works out to,
 * a service name is never cut off half way through.
 */
.docrankr-landing-page .nice-select .list,
.docrankr-landing-page .select2-container--default .select2-results > .select2-results__options,
.docrankr-landing-page .chosen-container .chosen-drop {
	z-index: 30;
	width: max-content;
	min-width: 100%;
	max-width: min(340px, 72vw);
	max-height: 260px;
	overflow-y: auto;
	background-color: #ffffff;
	border: 1px solid var(--drlp-border);
	border-radius: 11px;
	box-shadow: 0 12px 32px rgba(16, 21, 54, 0.16);
}

.docrankr-landing-page .nice-select .option,
.docrankr-landing-page .select2-results__option,
.docrankr-landing-page .chosen-container .chosen-results li {
	min-height: 0;
	padding: 10px 16px;
	background-color: #ffffff;
	color: #0b1033;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	list-style: none;
	white-space: normal;
	overflow-wrap: break-word;
	text-overflow: clip;
}

.docrankr-landing-page .nice-select .option:hover,
.docrankr-landing-page .nice-select .option.focus,
.docrankr-landing-page .nice-select .option.selected.focus,
.docrankr-landing-page .select2-results__option--highlighted,
.docrankr-landing-page .chosen-container .chosen-results li.highlighted {
	background-color: #efebfe;
	color: #0b1033;
}

/* The first entry is a prompt, not an answer. */
.docrankr-landing-page .nice-select .option[data-value=""],
.docrankr-landing-page .nice-select .current:empty::before {
	color: #6b7191;
}

/*
 * And so is the closed box until something has been picked. The widget keeps
 * no state of its own for that, but it does mark the chosen row — so what is
 * showing is a prompt exactly when the row it came from has no value.
 */
.docrankr-landing-page .nice-select:has(.option.selected[data-value=""]) .current {
	color: #6b7191;
}

/* ── Contact Form 7 ─────────────────────────────────────────────────── */

/*
 * Styling for a form supplied by Contact Form 7 rather than built in, so a
 * shortcode dropped into the audit section looks like it belongs there
 * without anybody having to write CSS for it.
 *
 * Written against CF7's own output, so it applies whatever markup is pasted
 * into the form editor. The classes from the built-in form work too, which
 * is why the reference markup in docs/ uses them.
 */
.docrankr-landing-page .wpcf7 {
	max-width: 100%;
}

.docrankr-landing-page .wpcf7-form p {
	margin: 0 0 14px;
}

.docrankr-landing-page .wpcf7-form-control-wrap {
	display: block;
}

.docrankr-landing-page .wpcf7 input[type="text"],
.docrankr-landing-page .wpcf7 input[type="email"],
.docrankr-landing-page .wpcf7 input[type="tel"],
.docrankr-landing-page .wpcf7 input[type="url"],
.docrankr-landing-page .wpcf7 input[type="number"],
.docrankr-landing-page .wpcf7 select,
.docrankr-landing-page .wpcf7 textarea {
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	color-scheme: light;
	display: block;
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border-radius: 11px;
	border: 1px solid var(--drlp-border);
	background-color: #fff;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.2;
	color: #0b1033;
	transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.docrankr-landing-page .wpcf7 textarea {
	height: auto;
	min-height: 108px;
	padding: 13px 16px;
	line-height: 1.55;
}

.docrankr-landing-page .wpcf7 select {
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6184' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 17px 17px;
	cursor: pointer;
}

.docrankr-landing-page .wpcf7 select option {
	background-color: #ffffff;
	color: #0b1033;
}

.docrankr-landing-page .wpcf7 input::placeholder,
.docrankr-landing-page .wpcf7 textarea::placeholder {
	color: var(--drlp-muted);
	font-weight: 500;
	opacity: 1;
}

.docrankr-landing-page .wpcf7 input:focus,
.docrankr-landing-page .wpcf7 select:focus,
.docrankr-landing-page .wpcf7 textarea:focus {
	border-color: var(--drlp-primary);
	box-shadow: 0 0 0 3px rgba(100, 66, 242, 0.14);
	outline: none;
}

/* Two fields to a row on anything wider than a phone. */
.docrankr-landing-page .drlp-cf7-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 14px;
}

.docrankr-landing-page .drlp-cf7-grid > * {
	min-width: 0;
	margin: 0;
}

.docrankr-landing-page .drlp-cf7-full {
	grid-column: 1 / -1;
}

/* The submit button, matching the primary button everywhere else. */
.docrankr-landing-page .wpcf7 input[type="submit"],
.docrankr-landing-page .wpcf7 button[type="submit"] {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 54px;
	padding: 0 26px;
	border: 0;
	border-radius: var(--drlp-btn-radius);
	background: var(--drlp-btn-bg);
	color: var(--drlp-btn-text);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(100, 66, 242, 0.26);
	transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.docrankr-landing-page:not(.drlp-no-hover) .wpcf7 input[type="submit"]:hover,
.docrankr-landing-page:not(.drlp-no-hover) .wpcf7 button[type="submit"]:hover {
	background: var(--drlp-primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(100, 66, 242, 0.34);
}

/* CF7's own messages, in the page's voice rather than its default red bar. */
.docrankr-landing-page .wpcf7 .wpcf7-response-output {
	margin: 14px 0 0;
	padding: 11px 14px;
	border-radius: 10px;
	border: 1px solid var(--drlp-border);
	background: #f7f7fd;
	color: var(--drlp-ink);
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

.docrankr-landing-page .wpcf7 form.sent .wpcf7-response-output {
	border-color: #0a7c42;
	background: #eefaf2;
	color: #0a7c42;
}

.docrankr-landing-page .wpcf7 form.invalid .wpcf7-response-output,
.docrankr-landing-page .wpcf7 form.failed .wpcf7-response-output {
	border-color: #d6336c;
	background: #fdeef3;
	color: #c2255c;
}

.docrankr-landing-page .wpcf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 5px;
	padding-left: 2px;
	font-size: 11.5px;
	color: #d6336c;
}

.docrankr-landing-page .wpcf7 .wpcf7-not-valid {
	border-color: #d6336c;
}

.docrankr-landing-page .wpcf7 .wpcf7-spinner {
	margin: 10px auto 0;
	display: block;
}

/* ── Footer ─────────────────────────────────────────────────────────── */

.docrankr-landing-page .drlp-footer {
	padding: 42px 0 26px;
	background: var(--drlp-footer-bg);
	color: var(--drlp-footer-text);
}

.docrankr-landing-page .drlp-footer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.docrankr-landing-page .drlp-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
}

.docrankr-landing-page .drlp-footer__nav a {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--drlp-footer-text);
	transition: color 0.2s ease;
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-footer__nav a:hover {
	color: var(--drlp-primary);
}

.docrankr-landing-page .drlp-footer__aside {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.docrankr-landing-page .drlp-social {
	display: flex;
	gap: 12px;
}

.docrankr-landing-page .drlp-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	color: var(--drlp-footer-text);
	transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.docrankr-landing-page:not(.drlp-no-hover) .drlp-social a:hover {
	background: var(--drlp-primary);
	color: #fff;
	transform: translateY(-2px);
}

.docrankr-landing-page .drlp-social__icon {
	width: 17px;
	height: 17px;
}

.docrankr-landing-page .drlp-footer__tagline {
	font-size: 13px;
	color: var(--drlp-muted);
	font-weight: 600;
}

.docrankr-landing-page .drlp-footer__bottom {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--drlp-border);
	flex-wrap: wrap;
}

.docrankr-landing-page .drlp-footer__copy {
	font-size: 12.5px;
	color: var(--drlp-muted);
}

.docrankr-landing-page .drlp-footer__small {
	flex: 1 1 540px;
	max-width: 70ch;
	font-size: 10.5px;
	line-height: 1.55;
	color: var(--drlp-muted);
	text-align: right;
}

/* ── Heading text reveal ────────────────────────────────────────────── */

/*
 * Each word sits in its own mask and rises into place. The padding and the
 * matching negative margin give descenders — the tails on g, y, p — somewhere
 * to live, because overflow: hidden on a tight line box shears them off.
 *
 * Nothing here applies until the script has added .drlp-split-ready, so a
 * page whose JavaScript never arrives shows plain, fully visible headings.
 */
.docrankr-landing-page .drlp-w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.14em;
	margin-bottom: -0.14em;
}

.docrankr-landing-page.drlp-split-ready [data-drlp-anim] .drlp-w__i {
	display: inline-block;
	transform: translate3d(0, 108%, 0);
	opacity: 0;
	transition:
		transform calc(var(--drlp-anim-speed, 700ms) * 0.92) cubic-bezier(0.22, 0.72, 0.24, 1),
		opacity calc(var(--drlp-anim-speed, 700ms) * 0.55) ease;
	will-change: transform;
}

.docrankr-landing-page.drlp-split-ready [data-drlp-anim].is-visible .drlp-w__i {
	transform: none;
	opacity: 1;
}

/* ── Animation ──────────────────────────────────────────────────────── */

/*
 * Nothing is hidden until the script says it is ready. If JavaScript never
 * runs — blocked, failed, switched off — the page is simply a page with all
 * its content visible, which is the whole point of progressive enhancement.
 */
/*
 * No will-change here. Reveals replay every time a section comes back into
 * view, so a permanent compositing hint on every item would keep dozens of
 * layers alive for the life of the page. Opacity and transform transitions
 * are already cheap enough without it.
 */
.docrankr-landing-page.drlp-anim-ready [data-drlp-anim] [data-drlp-item],
.docrankr-landing-page.drlp-anim-ready [data-drlp-anim][data-drlp-item] {
	opacity: 0;
	transition:
		opacity var(--drlp-anim-speed, 700ms) cubic-bezier(0.22, 0.68, 0.3, 1),
		transform var(--drlp-anim-speed, 700ms) cubic-bezier(0.22, 0.68, 0.3, 1),
		filter var(--drlp-anim-speed, 700ms) ease;
}

/*
 * A heading whose words have been split animates through those words alone.
 * Left as a reveal item as well, it would fade in as a block at the same time
 * and the two would fight.
 */
.docrankr-landing-page.drlp-split-ready [data-drlp-anim] [data-drlp-item][data-drlp-split],
.docrankr-landing-page.drlp-split-ready [data-drlp-anim] [data-drlp-split] {
	opacity: 1;
	transform: none;
	filter: none;
}

.docrankr-landing-page.drlp-anim-ready [data-drlp-anim="up"] [data-drlp-item] {
	transform: translate3d(0, var(--drlp-anim-distance, 28px), 0);
}

.docrankr-landing-page.drlp-anim-ready [data-drlp-anim="down"] [data-drlp-item] {
	transform: translate3d(0, calc(var(--drlp-anim-distance, 28px) * -1), 0);
}

.docrankr-landing-page.drlp-anim-ready [data-drlp-anim="left"] [data-drlp-item] {
	transform: translate3d(var(--drlp-anim-distance, 28px), 0, 0);
}

.docrankr-landing-page.drlp-anim-ready [data-drlp-anim="right"] [data-drlp-item] {
	transform: translate3d(calc(var(--drlp-anim-distance, 28px) * -1), 0, 0);
}

.docrankr-landing-page.drlp-anim-ready [data-drlp-anim="zoom"] [data-drlp-item] {
	transform: scale(0.94);
}

.docrankr-landing-page.drlp-anim-ready [data-drlp-anim="blur"] [data-drlp-item] {
	filter: blur(9px);
}

.docrankr-landing-page.drlp-anim-ready [data-drlp-anim].is-visible [data-drlp-item] {
	opacity: 1;
	transform: none;
	filter: none;
}


/* The hero's own entrance, which runs on load rather than on scroll. */
.docrankr-landing-page.drlp-entrance .drlp-header,
.docrankr-landing-page.drlp-entrance .drlp-section--hero [data-drlp-item] {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	animation: drlp-enter 0.78s cubic-bezier(0.22, 0.68, 0.3, 1) forwards;
}

.docrankr-landing-page.drlp-entrance .drlp-header {
	transform: translate3d(0, -12px, 0);
}

.docrankr-landing-page.drlp-entrance .drlp-section--hero .drlp-hero__copy > *:nth-child(1) { animation-delay: 0.08s; }
.docrankr-landing-page.drlp-entrance .drlp-section--hero .drlp-hero__copy > *:nth-child(2) { animation-delay: 0.16s; }
.docrankr-landing-page.drlp-entrance .drlp-section--hero .drlp-hero__copy > *:nth-child(3) { animation-delay: 0.24s; }
.docrankr-landing-page.drlp-entrance .drlp-section--hero .drlp-hero__copy > *:nth-child(4) { animation-delay: 0.32s; }
.docrankr-landing-page.drlp-entrance .drlp-section--hero .drlp-hero__copy > *:nth-child(5) { animation-delay: 0.40s; }
.docrankr-landing-page.drlp-entrance .drlp-section--hero .drlp-hero__copy > *:nth-child(6) { animation-delay: 0.48s; }
.docrankr-landing-page.drlp-entrance .drlp-section--hero .drlp-hero__media { animation-delay: 0.22s; }

@keyframes drlp-enter {
	to {
		opacity: 1;
		transform: none;
	}
}

/*
 * The featured card drifts very slightly. Only that one — five cards all
 * breathing at once reads as a fault rather than a flourish. The movement is
 * on the card itself, so it composes with the stack's own transform.
 */
.docrankr-landing-page .drlp-hero__card.is-featured {
	animation: drlp-bob 6s ease-in-out infinite;
}

@keyframes drlp-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

.docrankr-landing-page.drlp-no-anim .drlp-hero__card.is-featured {
	animation: none;
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
	.docrankr-landing-page .drlp-case {
		flex-basis: calc((100% - 48px) / 3);
	}

	.docrankr-landing-page .drlp-nav__list {
		gap: 18px;
	}

	.docrankr-landing-page .drlp-nav {
		gap: 18px;
	}
}

@media (max-width: 1024px) {
	.docrankr-landing-page .drlp-section {
		padding-top: var(--drlp-pt, 54px);
		padding-bottom: var(--drlp-pb, 54px);
	}

	.docrankr-landing-page .drlp-head__title {
		font-size: calc(var(--drlp-section-h, 40px) * 0.86);
	}

	.docrankr-landing-page .drlp-cards--3,
	.docrankr-landing-page .drlp-cards--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.docrankr-landing-page .drlp-why,
	.docrankr-landing-page .drlp-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
	}

	.docrankr-landing-page .drlp-about {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.docrankr-landing-page .drlp-about__title {
		max-width: none;
	}

	.docrankr-landing-page .drlp-pills {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.docrankr-landing-page .drlp-case {
		flex-basis: calc((100% - 24px) / 2);
	}

	.docrankr-landing-page .drlp-cta__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	}

	.docrankr-landing-page .drlp-cta__script {
		display: none;
	}

	/* The desktop menu folds into a panel. */
	.docrankr-landing-page .drlp-burger {
		display: inline-flex;
	}

	.docrankr-landing-page .drlp-nav {
		position: fixed;
		inset: var(--drlp-header-h) 0 auto;
		display: grid;
		align-content: start;
		gap: 0;
		max-height: calc(100dvh - var(--drlp-header-h));
		overflow-y: auto;
		padding: 16px var(--drlp-gutter) 26px;
		background: var(--drlp-header-bg);
		border-bottom: 1px solid var(--drlp-border);
		box-shadow: 0 22px 44px rgba(16, 21, 54, 0.14);
		transform: translateY(-14px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s;
	}

	.docrankr-landing-page .drlp-header:not(.is-sticky) .drlp-nav {
		position: absolute;
		inset: 100% 0 auto;
	}

	.docrankr-landing-page .drlp-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.docrankr-landing-page .drlp-nav__list {
		display: grid;
		gap: 0;
	}

	.docrankr-landing-page .drlp-nav__item {
		border-bottom: 1px solid var(--drlp-border);
	}

	.docrankr-landing-page .drlp-nav__link {
		padding: 14px 2px;
		font-size: 15.5px;
		justify-content: space-between;
	}

	.docrankr-landing-page .drlp-nav__link::after {
		display: none;
	}

	.docrankr-landing-page .drlp-nav__caret {
		display: none;
	}

	.docrankr-landing-page .drlp-nav__expand {
		display: block;
		position: absolute;
		top: 4px;
		right: 0;
		width: 44px;
		height: 44px;
		border-radius: 10px;
	}

	.docrankr-landing-page .drlp-nav__expand::before,
	.docrankr-landing-page .drlp-nav__expand::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 50%;
		width: 13px;
		height: 2px;
		border-radius: 2px;
		background: var(--drlp-primary);
		transform: translate(-50%, -50%);
		transition: transform 0.26s ease, opacity 0.2s ease;
	}

	.docrankr-landing-page .drlp-nav__expand::after {
		transform: translate(-50%, -50%) rotate(90deg);
	}

	.docrankr-landing-page .drlp-nav__expand[aria-expanded="true"]::after {
		opacity: 0;
	}

	.docrankr-landing-page .drlp-nav__sub {
		position: static;
		min-width: 0;
		padding: 0 0 12px 12px;
		border: 0;
		box-shadow: none;
		background: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
	}

	.docrankr-landing-page .drlp-nav__expand[aria-expanded="true"] + .drlp-nav__sub {
		display: block;
	}

	.docrankr-landing-page .drlp-header__cta {
		margin-top: 18px;
		width: 100%;
	}
}

@media (max-width: 860px) {
	.docrankr-landing-page .drlp-hero__grid,
	.docrankr-landing-page .drlp-audience__top,
	.docrankr-landing-page .drlp-social__grid,
	.docrankr-landing-page .drlp-cta__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	/* Taller once the columns stack, for the same reason and in the same way. */
	.docrankr-landing-page .drlp-cta__grid {
		min-height: 800px;
	}

	/*
	 * Stacked, the photo is above the cards rather than beside them, so the
	 * overlap has nothing to overlap and would just crowd them. Back to a
	 * plain gap.
	 */
	.docrankr-landing-page .drlp-pills {
		margin-top: 32px;
	}

	.docrankr-landing-page .drlp-audience__copy {
		padding-bottom: 0;
	}

	/*
	 * Below this width the photo and the card stack stop competing for the
	 * same space: the photo goes full width and the cards sit under it in a
	 * two-column grid, which keeps all five readable instead of squeezing
	 * them over a shrinking picture.
	 */
	/*
	 * The copy leads on a narrow screen. It is first in the source, so this
	 * is simply a matter of not reordering it — the heading and the buttons
	 * are what a visitor arriving on a phone needs to see first.
	 */
	/* One column: the photo full width, the cards in their own block below. */
	.docrankr-landing-page .drlp-hero__media {
		display: block;
		max-width: 520px;
		margin-inline: auto;
		width: 100%;
	}

	.docrankr-landing-page .drlp-hero__photo {
		width: 100%;
	}

	.docrankr-landing-page .drlp-hero__cards {
		position: static;
		width: 100%;
		max-width: none;
		margin-top: 16px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		transform: none;
	}

	.docrankr-landing-page .drlp-hero__card.is-featured {
		grid-column: 1 / -1;
	}

	.docrankr-landing-page .drlp-hero__script {
		position: static;
		width: 100%;
		max-width: none;
		margin: 14px auto 0;
	}

	.docrankr-landing-page .drlp-stats {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}

	.docrankr-landing-page .drlp-stats__item {
		justify-content: flex-start;
		border-left: 0;
		border-top: 1px solid var(--drlp-border);
		padding: 14px 6px;
	}

	.docrankr-landing-page .drlp-stats__item:first-child {
		border-top: 0;
	}

	.docrankr-landing-page .drlp-pills {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/*
	 * Centred once the row is short. Left-aligned icons over left-aligned text
	 * look unbalanced in a wide, nearly-empty card, which is what these become
	 * on a phone.
	 */
	.docrankr-landing-page .drlp-pill,
	.docrankr-landing-page .drlp-pill.is-highlight {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		align-items: center;
		text-align: center;
		gap: 12px;
	}

	.docrankr-landing-page .drlp-case {
		flex-basis: 78%;
	}

	.docrankr-landing-page .drlp-footer__top {
		justify-content: center;
		text-align: center;
	}

	.docrankr-landing-page .drlp-footer__nav ul {
		justify-content: center;
	}

	.docrankr-landing-page .drlp-footer__aside {
		justify-content: center;
		width: 100%;
	}

	.docrankr-landing-page .drlp-footer__bottom {
		justify-content: center;
		text-align: center;
	}

	.docrankr-landing-page .drlp-footer__small {
		text-align: center;
	}
}

@media (max-width: 640px) {
	.docrankr-landing-page .drlp-section {
		padding-top: var(--drlp-pt, 46px);
		padding-bottom: var(--drlp-pb, 46px);
	}

	/* A Contact Form 7 grid folds to a single column, like the built-in one. */
	.docrankr-landing-page .drlp-cf7-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.docrankr-landing-page .drlp-head {
		gap: 18px;
	}

	.docrankr-landing-page .drlp-head__title {
		font-size: clamp(25px, 7vw, 32px);
		max-width: none;
	}

	.docrankr-landing-page .drlp-hero__title {
		font-size: clamp(31px, 8.6vw, 42px);
	}

	/*
	 * The label wraps on a narrow phone. nowrap plus a flex item's automatic
	 * minimum size made "Get Your Free Clinic Audit" a hard floor of about
	 * 290px, which is wider than a 320px screen once the gutters are taken off.
	 */
	.docrankr-landing-page .drlp-btn {
		white-space: normal;
	}

	.docrankr-landing-page .drlp-hero__actions .drlp-btn {
		flex: 1 1 100%;
	}

	.docrankr-landing-page .drlp-cards--2,
	.docrankr-landing-page .drlp-cards--3,
	.docrankr-landing-page .drlp-cards--4,
	.docrankr-landing-page .drlp-why,
	.docrankr-landing-page .drlp-pills,
	.docrankr-landing-page .drlp-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.docrankr-landing-page .drlp-case {
		flex-basis: 86%;
	}

	/*
	 * The arrows move out from over the cards to a row underneath them. There
	 * is no room to overlay a control on a phone without covering content, and
	 * a slider with no visible control reads as a static row of cards.
	 *
	 * Flex-wrap, NOT grid. A grid item spanning 1 / -1 sizes the auto columns
	 * it spans to its own max-content width — about two thousand pixels of
	 * case study cards — and that measurement escapes the track's own
	 * overflow entirely, because it is a sizing decision taken before any
	 * clipping happens. It pushed the whole page sideways. A wrapping flex
	 * row gets the same arrangement with no such effect: the track takes a
	 * full line, the two buttons wrap onto the next and centre themselves.
	 */
	.docrankr-landing-page .drlp-slider__frame {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
	}

	.docrankr-landing-page .drlp-slider__track {
		flex: 0 0 100%;
		width: 100%;
	}

	.docrankr-landing-page .drlp-slider__nav {
		position: static;
		transform: none;
		margin: 6px 7px 0;
		width: 46px;
		height: 46px;
	}

	.docrankr-landing-page .drlp-slider__nav--prev,
	.docrankr-landing-page .drlp-slider__nav--next {
		left: auto;
		right: auto;
	}


	/* One column on a phone — two would be too narrow to read. */
	.docrankr-landing-page .drlp-hero__cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.docrankr-landing-page .drlp-hero__card {
		padding: 10px 12px;
	}

	.docrankr-landing-page .drlp-hero__card.is-featured .drlp-hero__card-text strong {
		font-size: 20px;
	}

	.docrankr-landing-page .drlp-cta__form {
		padding: 18px;
	}

	.docrankr-landing-page .drlp-quote__card {
		padding: 24px 20px 22px;
	}
}

@media (max-width: 400px) {
	.docrankr-landing-page .drlp-hero__badges {
		gap: 10px 16px;
	}

	.docrankr-landing-page .drlp-case {
		flex-basis: 92%;
	}
}

/* ── Reduced motion ─────────────────────────────────────────────────── */

/*
 * A visitor who has asked their device for less motion gets a page that does
 * not move: the marquee stops, the floating cards settle, and reveals become
 * a plain fade with no travel. Everything stays readable.
 */
@media (prefers-reduced-motion: reduce) {
	.docrankr-landing-page *,
	.docrankr-landing-page *::before,
	.docrankr-landing-page *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.docrankr-landing-page .drlp-marquee__track {
		animation: none;
		transform: none;
	}

	.docrankr-landing-page.drlp-anim-ready [data-drlp-anim] [data-drlp-item] {
		opacity: 1;
		transform: none;
		filter: none;
	}

	/* Every word visible and in place, masks or not. */
	.docrankr-landing-page .drlp-w {
		overflow: visible;
	}

	.docrankr-landing-page.drlp-split-ready [data-drlp-anim] .drlp-w__i {
		transform: none;
		opacity: 1;
	}

	/* The header stays where it is put. */
	.docrankr-landing-page .drlp-header.is-tucked {
		transform: none;
	}
}

@media print {
	.docrankr-landing-page .drlp-header,
	.docrankr-landing-page .drlp-burger,
	.docrankr-landing-page .drlp-slider__nav {
		display: none;
	}

	.docrankr-landing-page .drlp-section {
		padding: 18px 0;
	}
}
