/* Driving Sales Excellence by Motivacraft. One sheet for every page. */

@font-face {
	font-family: "Bricolage";
	src: url("/assets/fonts/bricolage-v2.woff2") format("woff2");
	font-weight: 600 700;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("/assets/fonts/inter-v2.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

:root {
	--paper: #f2f3f5;
	--surface: #ffffff;
	--ink: #14161b;
	--steel: #555c6a;
	--rule: #d8dbe1;
	--track: #e4e6eb;
	--red: #f9423a;
	--red-ink: #d42a22; /* the red where it is text on a light ground: 4.6:1 on white */
	--night: #14161b;
	--night-soft: #23262e;
	--night-text: #b6bbc6;

	--display: "Bricolage", "Inter", system-ui, sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 14px;
	--radius-small: 8px;
	--section: clamp(72px, 10vw, 128px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.6 var(--body);
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
a {
	color: inherit;
}
h1,
h2,
h3 {
	font-family: var(--display);
	font-weight: 650;
	line-height: 1.04;
	letter-spacing: -0.02em;
	margin: 0;
	font-variation-settings: "opsz" 96;
	text-wrap: balance;
}
h1 {
	font-size: clamp(44px, 6.6vw, 92px);
	letter-spacing: -0.028em;
	line-height: 0.96;
}
h2 {
	font-size: clamp(32px, 4vw, 52px);
}
h3 {
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	font-variation-settings: "opsz" 32;
}
p {
	margin: 0;
}
:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
	border-radius: 4px;
}
.skip {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 50;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-small);
}
.skip:focus {
	top: 12px;
}
.wrap {
	width: min(100% - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}
.lede {
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.55;
	color: var(--steel);
	max-width: 36em;
}
.icon {
	width: 24px;
	height: 24px;
	flex: none;
}

/* ------------------------------------------------------------ buttons and links */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 26px;
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font: 600 16px/1 var(--body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
/* the darker red: white on it keeps 4.6:1 (on #F9423A it would be 3.6:1) */
.button:hover {
	background: var(--red-ink);
	border-color: var(--red-ink);
	color: #fff;
}
.button-outline {
	background: transparent;
	color: var(--ink);
}
.button-small {
	min-height: 42px;
	padding: 0 20px;
	font-size: 15px;
}
.button[disabled] {
	opacity: 0.6;
	cursor: progress;
}
.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.text-link {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 5px;
	text-decoration-color: var(--red);
}
.text-link:hover {
	color: var(--red-ink);
}
.link-button {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
}

/* ------------------------------------------------------------ header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgb(242 243 245 / 0.92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--rule);
}
.header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}
.brand img {
	width: 151px;
	height: auto;
}
.nav {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.4vw, 32px);
}
.nav a {
	white-space: nowrap;
}
.nav a:not(.button) {
	font-size: 15px;
	font-weight: 550;
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 1.5px solid transparent;
}
.nav a:not(.button):hover,
.nav a[aria-current="page"] {
	border-bottom-color: var(--red);
}

/* ------------------------------------------------------------ hero */
.hero {
	padding-block: clamp(48px, 8vw, 104px) clamp(48px, 6vw, 80px);
}
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}
.hero-copy {
	display: grid;
	gap: 28px;
}
.hero h1 {
	max-width: 9.5em;
}

/* The signature piece: a leaderboard as it looks in the product. */
.board {
	margin: 0;
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: 20px;
	padding: 22px 22px 18px;
	box-shadow: 0 30px 60px -32px rgb(20 22 27 / 0.28);
	font-variant-numeric: tabular-nums;
}
.board-head,
.board-foot {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	font-size: 14px;
	color: var(--steel);
}
.board-title {
	font-family: var(--display);
	font-size: 20px;
	font-weight: 650;
	color: var(--ink);
	letter-spacing: -0.01em;
}
.board-rows {
	list-style: none;
	margin: 16px 0;
	padding: 0;
	display: grid;
	gap: 4px;
}
.board-row {
	display: grid;
	grid-template-columns: 22px 40px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 10px 10px;
	border-radius: 12px;
}
.board-row.is-leader {
	background: #fff1f0;
}
.board-rank {
	font-family: var(--display);
	font-weight: 700;
	font-size: 18px;
	text-align: center;
	color: var(--steel);
}
.is-leader .board-rank {
	color: var(--red-ink);
}
.board-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--track);
	font-size: 13px;
	font-weight: 650;
	color: var(--ink);
}
.is-leader .board-avatar {
	background: var(--red-ink);
	color: #fff;
}
.board-name {
	display: grid;
	gap: 7px;
	font-size: 15px;
	font-weight: 600;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.board-bar {
	display: block;
	height: 6px;
	border-radius: 3px;
	background: var(--track);
	overflow: hidden;
}
.board-bar > span {
	display: block;
	height: 100%;
	width: var(--p);
	border-radius: inherit;
	background: var(--ink);
	transform-origin: left center;
}
.is-leader .board-bar > span {
	background: var(--red);
}
.board-score {
	font-size: 14px;
	color: var(--steel);
	text-align: right;
}
.board-score b {
	font-family: var(--display);
	font-size: 18px;
	font-weight: 650;
	color: var(--ink);
}
.board-foot {
	padding: 14px 10px 0;
	border-top: 1px solid var(--rule);
	align-items: center;
}
.board-team {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	justify-content: flex-end;
}
.board-team .board-bar {
	width: min(200px, 60%);
}
.board-team b {
	font-family: var(--display);
	font-size: 18px;
	color: var(--ink);
}

/* The one moment of movement: the bars fill once when the page opens. */
@media (prefers-reduced-motion: no-preference) {
	.board-bar > span {
		animation: fill 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}
	.board-row:nth-child(2) .board-bar > span { animation-delay: 0.08s; }
	.board-row:nth-child(3) .board-bar > span { animation-delay: 0.16s; }
	.board-row:nth-child(4) .board-bar > span { animation-delay: 0.24s; }
	.board-row:nth-child(5) .board-bar > span { animation-delay: 0.32s; }
	.board-foot .board-bar > span { animation-delay: 0.45s; }
}
@keyframes fill {
	from {
		transform: scaleX(0);
	}
}

.logos {
	display: flex;
	align-items: center;
	gap: 24px clamp(24px, 4vw, 48px);
	padding-block: clamp(56px, 8vw, 96px) 0;
}
.logos p {
	font-size: 15px;
	color: var(--steel);
	flex: none;
}
.logos ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px clamp(20px, 3vw, 48px);
	flex: 1;
	justify-content: space-between;
}
.logos img {
	object-fit: contain;
	max-width: 100%;
	height: clamp(18px, 1.9vw, 26px);
	width: auto;
	opacity: 0.72;
}
.logos li:nth-child(4) img,
.logos li:nth-child(5) img {
	height: clamp(24px, 2.4vw, 34px);
}

/* ------------------------------------------------------------ sections */
.section {
	padding-block: var(--section);
}
.section-tight {
	padding-top: 32px;
}
.section-head {
	display: grid;
	gap: 16px;
	margin-bottom: clamp(32px, 5vw, 56px);
	max-width: 46em;
}
.section-head p {
	color: var(--steel);
	font-size: 18px;
}
.section-head-row {
	max-width: none;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px 40px;
	flex-wrap: wrap;
}
.section-head-row > div {
	display: grid;
	gap: 16px;
	max-width: 46em;
}

/* the solution, with its two results as filled bars */
.solution {
	background: var(--surface);
	border-block: 1px solid var(--rule);
}
.solution-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: clamp(48px, 8vw, 120px);
	align-items: center;
}
.solution-copy {
	display: grid;
	gap: 22px;
	justify-items: start;
}
.solution-copy h2 {
	margin-bottom: 6px;
}
.solution-copy p {
	color: var(--steel);
	max-width: 38em;
}
.stats {
	margin: 0;
	display: grid;
	gap: 40px;
}
.stat {
	display: grid;
	gap: 6px;
}
.stat dd {
	order: -1;
	margin: 0;
	font-family: var(--display);
	font-size: clamp(88px, 11vw, 148px);
	font-weight: 700;
	line-height: 0.85;
	letter-spacing: -0.05em;
	font-variant-numeric: tabular-nums;
}
.stat dt {
	font-size: 18px;
	font-weight: 600;
	padding-top: 14px;
	background: linear-gradient(var(--red), var(--red)) left top / var(--p) 4px no-repeat, linear-gradient(var(--track), var(--track)) left top / 100% 4px no-repeat;
}

/* product screens */
.tab-list {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 4px;
	margin-bottom: 20px;
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: 999px;
}
.tab-list button {
	border: 0;
	background: none;
	font: 600 15px/1 var(--body);
	color: var(--steel);
	padding: 12px 20px;
	border-radius: 999px;
	cursor: pointer;
}
.tab-list button:hover {
	color: var(--ink);
}
.tab-list button[aria-selected="true"] {
	background: var(--ink);
	color: #fff;
}
.tab-panel img {
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid var(--rule);
	background: var(--track);
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* features: a quiet list, each under a rule */
.features {
	padding-top: 0;
}
.feature-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 48px 32px;
}
.feature-list li {
	display: grid;
	align-content: start;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--rule);
}
.feature-list .icon {
	color: var(--red-ink);
	margin-bottom: 8px;
}
.feature-list h3 {
	font-size: 20px;
}
.feature-list p {
	color: var(--steel);
	font-size: 16px;
}

/* videos */
.videos {
	background: var(--surface);
	border-block: 1px solid var(--rule);
}
.video-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
.video {
	display: grid;
	gap: 6px;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	font: inherit;
	color: inherit;
	cursor: pointer;
}
.video-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius-small);
	background: var(--track);
	margin-bottom: 10px;
}
.video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.video-play {
	position: absolute;
	left: 12px;
	bottom: 12px;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	transition: background-color 0.15s, color 0.15s;
}
.video:hover .video-play {
	background: var(--red-ink);
	color: #fff;
}
.video-play .icon {
	width: 18px;
	height: 18px;
	margin-left: 2px;
}
.video-kind {
	font-size: 14px;
	color: var(--steel);
}
.video-title {
	font-family: var(--display);
	font-size: 19px;
	font-weight: 650;
	line-height: 1.25;
	letter-spacing: -0.01em;
}
.video:hover .video-title {
	text-decoration: underline;
	text-decoration-color: var(--red);
	text-underline-offset: 4px;
}
.video-dialog {
	width: min(1100px, 100% - 32px);
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: #000;
	overflow: visible;
}
.video-dialog::backdrop {
	background: rgb(10 11 14 / 0.82);
}
.video-frame {
	aspect-ratio: 16 / 9;
}
.video-frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--radius);
	display: block;
}
.video-close {
	position: absolute;
	top: -52px;
	right: 0;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	cursor: pointer;
}

/* case studies */
.tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.tags li,
.tags a {
	font-size: 13px;
	font-weight: 550;
	color: var(--steel);
	text-decoration: none;
}
.tags li {
	padding: 5px 11px;
	border: 1px solid var(--rule);
	border-radius: 999px;
	background: var(--surface);
}
.tags a:hover {
	color: var(--ink);
}
.results {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	padding-top: 18px;
	border-top: 1px solid var(--rule);
}
.results div {
	display: grid;
	align-content: start;
	gap: 4px;
}
.results dd {
	order: -1;
	margin: 0;
	font-family: var(--display);
	font-size: clamp(34px, 3.4vw, 46px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.035em;
	font-variant-numeric: tabular-nums;
}
.results div:first-child dd {
	color: var(--red-ink);
}
.results dt {
	font-size: 14px;
	line-height: 1.35;
	color: var(--steel);
	hyphens: auto;
	overflow-wrap: break-word;
}
.results-small dd {
	font-size: 28px;
}
.results-small dt {
	font-size: 13px;
}

.case-feature-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 4vw, 56px);
}
.case-feature {
	display: grid;
	align-content: start;
	gap: 18px;
}
.case-feature-image img,
.case-card-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius);
	background: var(--track);
}
.case-feature h3 {
	font-size: clamp(24px, 2.4vw, 30px);
	line-height: 1.12;
}
.case-feature h3 a,
.case-card h2 a,
.case-card h3 a {
	text-decoration: none;
}
.case-feature h3 a:hover,
.case-card h2 a:hover,
.case-card h3 a:hover {
	text-decoration: underline;
	text-decoration-color: var(--red);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}
.summary {
	margin: 0;
	display: grid;
	gap: 10px;
}
.summary div {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 12px;
	font-size: 16px;
}
.summary dt {
	font-weight: 650;
}
.summary dd {
	margin: 0;
	color: var(--steel);
}

.case-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px 32px;
}
.case-card {
	display: grid;
	align-content: start;
	gap: 16px;
}
.case-card[hidden] {
	display: none;
}
.case-card h2,
.case-card h3 {
	font-size: 22px;
	line-height: 1.18;
	letter-spacing: -0.015em;
	font-variation-settings: "opsz" 32;
}
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}
.filters button {
	font: 550 14px/1 var(--body);
	padding: 10px 16px;
	border: 1px solid var(--rule);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	cursor: pointer;
}
.filters button:hover {
	border-color: var(--ink);
}
.filters button[aria-pressed="true"] {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}
.filter-count {
	font-size: 14px;
	color: var(--steel);
	margin-bottom: 36px;
	min-height: 1.6em;
}

/* page heads, breadcrumbs, articles */
.page-head {
	padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 48px);
}
.page-head .wrap {
	display: grid;
	gap: 22px;
	justify-items: start;
}
.page-head h1 {
	font-size: clamp(40px, 5.6vw, 76px);
	max-width: 15em;
}
.case-head h1 {
	font-size: clamp(36px, 4.6vw, 64px);
	line-height: 1.02;
	max-width: 17em;
}
.crumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 14px;
	color: var(--steel);
}
.crumbs li + li::before {
	content: "/";
	margin-right: 6px;
	color: var(--rule);
}
.crumbs a {
	text-decoration: none;
}
.crumbs a:hover {
	color: var(--ink);
	text-decoration: underline;
}
.crumbs [aria-current] {
	max-width: 32ch;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.case-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	grid-template-areas: "prose aside";
	gap: clamp(40px, 7vw, 104px);
	align-items: start;
	padding-bottom: var(--section);
}
.case-aside {
	grid-area: aside;
	position: sticky;
	top: 104px;
	display: grid;
	gap: 22px;
	padding: 26px;
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
}
.aside-title {
	font-size: 22px;
}
.case-aside .results {
	grid-template-columns: 1fr;
	gap: 18px;
}
.case-aside .results dd {
	font-size: 48px;
}
.prose {
	grid-area: prose;
	max-width: 42em;
}
.prose > * + * {
	margin-top: 1.1em;
}
.prose h2 {
	font-size: clamp(28px, 3vw, 38px);
	margin-top: 1.6em;
}
.prose h2:first-child {
	margin-top: 0;
}
.prose p,
.prose li {
	color: #2e323b;
}
.prose ul,
.prose ol {
	padding-left: 1.3em;
	display: grid;
	gap: 0.55em;
}
.prose li::marker {
	color: var(--red-ink);
	font-weight: 650;
}
.prose strong {
	font-weight: 650;
	color: var(--ink);
}
.prose a {
	text-decoration-color: var(--red);
	text-underline-offset: 3px;
}
.prose a:hover {
	color: var(--red-ink);
}
.case-images {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-block: 2em;
}
.case-images img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius-small);
}
.prose-policy {
	padding-bottom: var(--section);
	max-width: 46em;
}
.prose-policy h2 {
	font-size: clamp(22px, 2.2vw, 28px);
	margin-top: 1.8em;
}
.more-cases {
	background: var(--surface);
	border-top: 1px solid var(--rule);
}
.not-found {
	padding-block: clamp(80px, 14vw, 180px);
}


/* questions and answers */
.faq {
	background: var(--surface);
	border-top: 1px solid var(--rule);
}
.faq-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.faq-grid .section-head {
	position: sticky;
	top: 104px;
	margin-bottom: 0;
}
.faq-list {
	border-top: 1px solid var(--rule);
}
.faq-list details {
	border-bottom: 1px solid var(--rule);
}
.faq-list summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 22px 0;
	font-family: var(--display);
	font-size: clamp(19px, 1.7vw, 22px);
	font-weight: 650;
	letter-spacing: -0.01em;
	font-variation-settings: "opsz" 32;
	line-height: 1.25;
	cursor: pointer;
	list-style: none;
}
.faq-list summary::-webkit-details-marker {
	display: none;
}
.faq-list summary::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
	transition: transform 0.2s;
}
.faq-list details[open] summary::after {
	transform: rotate(45deg);
	color: var(--red-ink);
}
.faq-list summary:hover {
	color: var(--red-ink);
}
.faq-list details p {
	padding: 0 40px 24px 0;
	color: var(--steel);
	max-width: 40em;
}

/* a form being sent: the button shows a spinner */
.button.is-sending::before {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid rgb(255 255 255 / 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
.cf-turnstile:empty {
	background: linear-gradient(90deg, var(--track), #eef0f3, var(--track)) 0 0 / 200% 100%;
	border-radius: var(--radius-small);
	max-width: 300px;
	animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
	to {
		background-position: -200% 0;
	}
}
/* the video window shows a spinner until the player has drawn itself over it */
.video-frame {
	position: relative;
	background: #000;
	border-radius: var(--radius);
}
.video-frame::before {
	content: "";
	position: absolute;
	left: calc(50% - 18px);
	top: calc(50% - 18px);
	width: 36px;
	height: 36px;
	border: 3px solid rgb(255 255 255 / 0.25);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}
.video-frame iframe {
	position: relative;
	z-index: 1;
}

/* ------------------------------------------------------------ contact */
.contact {
	background: var(--night);
	color: #fff;
	padding-block: var(--section);
}
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(40px, 7vw, 104px);
	align-items: start;
}
.contact-intro {
	display: grid;
	gap: 24px;
}
.contact-intro p {
	color: var(--night-text);
	font-size: 18px;
	max-width: 30em;
}
.contact-details {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	gap: 0;
	border-top: 1px solid #343842;
}
.contact-details li {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr);
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid #343842;
	font-size: 16px;
}
.contact-details span {
	color: var(--night-text);
}
.contact-details a {
	text-decoration: none;
}
.contact-details a:hover {
	text-decoration: underline;
	text-decoration-color: var(--red);
	text-underline-offset: 4px;
}
.contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 16px;
	padding: clamp(22px, 3vw, 36px);
	background: var(--surface);
	color: var(--ink);
	border-radius: 20px;
}
.field {
	display: grid;
	gap: 7px;
}
.field-wide {
	grid-column: 1 / -1;
}
.field label {
	font-size: 14px;
	font-weight: 600;
}
.field label span {
	color: var(--red-ink);
}
.field input,
.field textarea {
	width: 100%;
	font: 400 16px/1.4 var(--body);
	color: var(--ink);
	padding: 13px 14px;
	border: 1px solid #c4c8d0;
	border-radius: var(--radius-small);
	background: #fbfbfc;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea {
	resize: vertical;
	min-height: 132px;
}
.field input:hover,
.field textarea:hover {
	border-color: var(--steel);
}
.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 3px rgb(249 66 58 / 0.25);
	background: #fff;
}
.field input[aria-invalid="true"] {
	border-color: var(--red-ink);
}
.field-trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.form-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}
.form-foot .cf-turnstile {
	flex: 1 1 300px;
	min-height: 65px;
}
.form-status {
	flex-basis: 100%;
	font-size: 15px;
	font-weight: 550;
}
.form-status:empty {
	display: none;
}
.form-status.is-error {
	color: var(--red-ink);
}
.form-status.is-success {
	color: #1d7a46;
}
.form-note {
	font-size: 13px;
	color: var(--steel);
}

/* ------------------------------------------------------------ footer */
.site-footer {
	background: var(--night);
	color: var(--night-text);
	font-size: 15px;
	border-top: 1px solid #2b2e36;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr 0.8fr 1.3fr;
	gap: 40px;
	padding-block: 64px 48px;
}
.footer-brand {
	display: grid;
	gap: 18px;
	align-content: start;
}
.footer-brand img {
	width: 173px;
	height: auto;
}
.footer-title {
	font-family: var(--body);
	font-size: 15px;
	font-weight: 650;
	letter-spacing: 0;
	color: #fff;
	margin-bottom: 16px;
}
.footer-links,
.social,
.footer-bottom ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-links {
	display: grid;
	gap: 10px;
}
.site-footer a,
.site-footer .link-button {
	text-decoration: none;
	transition: color 0.15s;
}
.site-footer a:hover,
.site-footer .link-button:hover {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--red);
	text-underline-offset: 4px;
}
.footer-contact a {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
}
.footer-contact .icon {
	width: 18px;
	height: 18px;
	margin-top: 3px;
}
.social {
	display: flex;
	gap: 8px;
}
.social a {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid #3a3e48;
	border-radius: 50%;
	color: #fff;
}
.social a:hover {
	background: var(--red-ink);
	border-color: var(--red-ink);
	text-decoration: none;
}
.social .icon {
	width: 18px;
	height: 18px;
}
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-block: 24px 32px;
	border-top: 1px solid #2b2e36;
	font-size: 14px;
}
.footer-bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

/* ------------------------------------------------------------ cookie notice */
.cookie-notice {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 40;
	width: min(400px, calc(100% - 32px));
	display: grid;
	gap: 14px;
	padding: 18px;
	background: var(--surface);
	color: var(--ink);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	box-shadow: 0 20px 50px -20px rgb(20 22 27 / 0.35);
	font-size: 14px;
	line-height: 1.5;
}
.cookie-notice[hidden],
.cookie-kinds[hidden] {
	display: none;
}
.cookie-notice a {
	text-decoration-color: var(--red);
	text-underline-offset: 3px;
}
.cookie-kinds {
	display: grid;
	gap: 10px;
}
.cookie-kinds label {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	color: var(--steel);
}
.cookie-kinds input {
	margin: 3px 0 0;
	accent-color: var(--ink);
}
.cookie-kinds b {
	color: var(--ink);
	font-weight: 650;
}
.cookie-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 6px 16px;
}
.cookie-quiet {
	background: none;
	border: 0;
	padding: 8px 2px;
	font: 600 14px/1 var(--body);
	color: var(--steel);
	cursor: pointer;
}
.cookie-quiet:hover {
	color: var(--ink);
	text-decoration: underline;
}
.cookie-actions .button {
	min-height: 38px;
	padding: 0 18px;
	font-size: 14px;
}

/* ------------------------------------------------------------ smaller screens */
@media (max-width: 1080px) {
	.hero-grid,
	.solution-grid,
	.contact-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.board {
		max-width: 560px;
	}
	.stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.feature-list,
	.video-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.case-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.faq-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.faq-grid .section-head {
		position: static;
	}
	.case-body {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "aside" "prose";
	}
	.case-aside {
		position: static;
	}
	.case-aside .results {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.case-aside .results dd {
		font-size: 40px;
	}
	.case-aside .button {
		justify-self: start;
	}
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 760px) {
	body {
		font-size: 16px;
	}
	.nav a[href$="#contact"] {
		display: none;
	}
	.brand img {
		width: 118px;
	}
	.nav {
		gap: 14px;
	}
	.nav .button-small {
		min-height: 38px;
		padding: 0 14px;
		font-size: 14px;
	}
	.tab-list {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.tab-list button {
		flex: 1 0 auto;
		padding: 11px 14px;
		font-size: 14px;
	}
	.header-row {
		min-height: 64px;
	}
	.logos {
		gap: 20px;
		flex-direction: column;
		align-items: flex-start;
	}
	.logos ul {
		width: 100%;
	}
	.logos ul {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		justify-items: center;
		gap: 28px 16px;
	}
	.logos img {
		height: 20px;
	}
	.logos li:nth-child(4) img,
	.logos li:nth-child(5) img {
		height: 28px;
	}
	.stats {
		gap: 28px;
	}
	.stat dd {
		font-size: 72px;
	}
	.stat dt {
		font-size: 16px;
	}
	.feature-list,
	.video-list,
	.case-grid,
	.case-feature-list,
	.case-images {
		grid-template-columns: minmax(0, 1fr);
	}
	.feature-list {
		gap: 32px;
	}
	.board {
		padding: 16px 14px 14px;
	}
	.board-row {
		grid-template-columns: 18px 34px minmax(0, 1fr) auto;
		gap: 10px;
		padding: 8px 6px;
	}
	.board-avatar {
		width: 34px;
		height: 34px;
		font-size: 12px;
	}
	.board-score b {
		font-size: 16px;
	}
	.results dd {
		font-size: 32px;
	}
	.case-aside .results dd {
		font-size: 30px;
	}
	.summary div {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}
	.contact-form {
		grid-template-columns: minmax(0, 1fr);
	}
	.contact-details li {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}
	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
	.video-close {
		top: -50px;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	* {
		transition: none !important;
	}
	.cf-turnstile:empty {
		animation: none;
	}
}
