/* Klarity U.S. public site chrome and shared design system. */

:root {
	--ku-navy: #08283d;
	--ku-navy-2: #0d354e;
	--ku-blue: #138fce;
	--ku-blue-dark: #0877ad;
	--ku-lime: #79e600;
	--ku-lime-soft: #e8ffc9;
	--ku-sky: #dff4ff;
	--ku-paper: #f7f9f5;
	--ku-surface: #ffffff;
	--ku-surface-2: #eef4f7;
	--ku-ink: #102331;
	--ku-muted: #536875;
	--ku-rule: #ced9de;
	--ku-shadow: 0 28px 80px rgba(8, 40, 61, 0.16);
	--ku-radius: 18px;
	--ku-control-radius: 999px;
	--ku-shell: min(1440px, calc(100% - 48px));
	--font-display: var(--ke-sans);
	--font-body: var(--ke-sans);
}

html {
	background: var(--ku-paper);
	scroll-behavior: smooth;
}

body.klarity-editorial-site {
	background: var(--ku-paper);
	color: var(--ku-ink);
	font-family: var(--ke-sans), Arial, sans-serif;
}

.ke-shell {
	width: var(--ku-shell);
	margin-inline: auto;
}

.ke-top-sentinel {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.ke-skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	transform: translateY(-160%);
	padding: 12px 18px;
	border-radius: 8px;
	background: var(--ku-navy);
	color: #fff;
	font-weight: 750;
}

.ke-skip-link:focus {
	transform: translateY(0);
}

.ke-market-bar {
	position: relative;
	z-index: 72;
	background: var(--ku-navy);
	color: #dbeaf0;
	font-size: 0.75rem;
}

.ke-market-bar__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 31px;
	gap: 18px;
}

.ke-market-bar a {
	color: #fff;
	text-decoration-color: var(--ku-lime);
	text-underline-offset: 3px;
}

.ke-site-header {
	position: sticky;
	top: 0;
	z-index: 70;
	border-bottom: 1px solid rgba(8, 40, 61, 0.14);
	background: rgba(247, 249, 245, 0.96);
	box-shadow: 0 8px 28px rgba(8, 40, 61, 0.04);
	backdrop-filter: blur(18px) saturate(130%);
}

.ke-header-grid {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	align-items: center;
	min-height: 80px;
	gap: 24px;
}

.ke-brand {
	display: inline-flex;
	align-items: center;
	width: 238px;
	min-width: 0;
}

.ke-brand img {
	display: block;
	width: 100%;
	height: auto;
}

.ke-navigation-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	min-width: 0;
	gap: 18px;
}

.ke-primary-navigation,
.ke-primary-navigation .ke-menu {
	min-width: 0;
}

.ke-primary-navigation {
	justify-self: center;
}

.ke-primary-navigation .ke-menu {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	gap: 3px;
	list-style: none;
}

.ke-menu__item > a,
.ke-menu__trigger {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 13px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--ku-ink);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 680;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease;
}

.ke-menu__item > a:hover,
.ke-menu__item > a:focus-visible,
.ke-menu__trigger:hover,
.ke-menu__trigger:focus-visible,
.ke-menu__trigger[aria-expanded='true'] {
	background: #e6eef1;
	color: var(--ku-blue-dark);
}

.ke-menu__trigger > span {
	width: 7px;
	height: 7px;
	margin-left: 9px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 180ms ease;
}

.ke-menu__trigger[aria-expanded='true'] > span {
	transform: translateY(2px) rotate(225deg);
}

.ke-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
	gap: 10px;
}

.ke-header-pricing {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 8px 16px;
	border-radius: var(--ku-control-radius);
	color: var(--ku-ink);
	font-size: 0.88rem;
	font-weight: 760;
	text-decoration: none;
}

.ke-header-pricing:hover,
.ke-header-pricing:focus-visible {
	background: #e6eef1;
	color: var(--ku-blue-dark);
}

.ke-header-actions .ke-button {
	min-height: 50px;
	padding-inline: 24px;
	font-size: 0.82rem;
}

.ke-header-signin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 18px;
	border: 1px solid var(--ku-rule);
	border-radius: var(--ku-control-radius);
	color: var(--ku-ink);
	font-size: 0.86rem;
	font-weight: 720;
	text-decoration: none;
}

.ke-button,
.klarity-editorial-site .elementor-button {
	border-radius: var(--ku-control-radius);
}

.ke-button--primary,
.klarity-editorial-site .elementor .ke-button-primary .elementor-button {
	background: var(--ku-navy);
	color: #fff;
}

.ke-button--primary:hover,
.ke-button--primary:focus-visible,
.klarity-editorial-site .elementor .ke-button-primary .elementor-button:hover,
.klarity-editorial-site .elementor .ke-button-primary .elementor-button:focus-visible {
	background: var(--ku-blue-dark);
	color: #fff;
	transform: translateY(-1px);
}

.home .ke-story-copy .ke-button-primary .elementor-button,
.home .ke-story-copy .ke-button-primary .elementor-button:hover,
.home .ke-story-copy .ke-button-primary .elementor-button:focus-visible {
	color: #fff !important;
}

.ke-button--lime {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: var(--ku-control-radius);
	background: var(--ku-lime);
	color: var(--ku-navy);
	font-weight: 800;
	text-decoration: none;
	transition: transform 180ms ease, background-color 180ms ease;
}

.ke-button--lime:hover,
.ke-button--lime:focus-visible {
	background: #94f52c;
	color: var(--ku-navy);
	transform: translateY(-2px);
}

.ke-menu-toggle {
	display: none;
}

.ke-mega-layer {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	padding: 8px 0 28px;
	background: rgba(5, 22, 33, 0.94);
	box-shadow: var(--ku-shadow);
}

.ke-mega-layer[hidden],
.ke-mega-panel[hidden] {
	display: none !important;
}

.ke-mega-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2.3fr) 170px;
	min-height: 350px;
	padding: 28px;
	gap: 28px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--ku-radius);
	background: var(--ku-paper);
	box-shadow: var(--ku-shadow);
	animation: keMegaIn 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

#ke-panel-explore {
	grid-template-columns: minmax(220px, 0.65fr) minmax(0, 2.35fr);
}

#ke-panel-trust {
	grid-template-columns: minmax(220px, 0.7fr) minmax(0, 2.3fr);
}

@keyframes keMegaIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

.ke-mega-panel__heading {
	padding: 8px 8px 8px 2px;
}

.ke-mega-panel__heading p {
	margin: 0 0 12px;
	color: var(--ku-blue-dark);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ke-mega-panel__heading h2 {
	max-width: 12ch;
	margin: 0;
	color: var(--ku-navy);
	font-family: var(--ke-sans), Arial, sans-serif;
	font-size: clamp(1.55rem, 2vw, 2.2rem);
	font-weight: 780;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.ke-mega-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-content: start;
	gap: 12px;
}

.ke-mega-card,
.ke-mega-link,
.ke-mega-tools a {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 94px;
	padding: 17px 18px;
	border: 1px solid transparent;
	border-radius: 14px;
	color: var(--ku-ink);
	text-decoration: none;
	transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.ke-mega-card--blue { background: var(--ku-sky); }
.ke-mega-card--lime { background: var(--ku-lime-soft); }
.ke-mega-card--navy { background: var(--ku-navy); color: #fff; }

.ke-mega-card:hover,
.ke-mega-card:focus-visible,
.ke-mega-link:hover,
.ke-mega-link:focus-visible,
.ke-mega-tools a:hover,
.ke-mega-tools a:focus-visible {
	border-color: var(--ku-blue);
	transform: translateY(-2px);
}

.ke-mega-card__title,
.ke-mega-link strong,
.ke-mega-tools strong {
	margin-bottom: 6px;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.2;
}

.ke-mega-card span:last-child,
.ke-mega-link span,
.ke-mega-tools span {
	color: var(--ku-muted);
	font-size: 0.78rem;
	line-height: 1.45;
}

.ke-mega-card--navy span:last-child { color: #c7d8e1; }

.ke-mega-link {
	border-color: var(--ku-rule);
	background: #fff;
}

.ke-mega-mascot {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
	padding: 10px 12px 2px;
	border-radius: 14px;
	background: var(--ku-sky);
	text-align: center;
}

.ke-mega-mascot img {
	width: 105px;
	height: auto;
}

.ke-mega-mascot figcaption {
	margin-top: 5px;
	color: var(--ku-navy);
	font-size: 0.76rem;
	font-weight: 780;
}

.ke-mega-tools {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-content: start;
	gap: 12px;
}

.ke-mega-tools a {
	border-color: var(--ku-rule);
	background: #fff;
}

.ke-mega-tools a:nth-child(1) { background: var(--ku-sky); }
.ke-mega-tools a:nth-child(2) { background: var(--ku-lime-soft); }
.ke-mega-tools a:nth-child(5) { background: #e8edf0; }

.ke-mega-panel__footer {
	grid-column: 2 / -1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding-top: 4px;
}

.ke-mega-panel__footer a {
	padding: 10px 16px;
	border-radius: var(--ku-control-radius);
	background: var(--ku-navy);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 780;
	text-decoration: none;
}

.ke-main {
	min-height: 55vh;
}

.ke-site-footer {
	position: relative;
	overflow: hidden;
	padding: 48px 0 20px;
	background: var(--ku-navy);
	color: #d8e6ec;
}

.ke-site-footer::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 7px;
	background: var(--ku-blue);
	content: '';
}

.ke-site-footer::after {
	position: absolute;
	top: 0;
	left: 42%;
	width: 27%;
	height: 7px;
	background: var(--ku-lime);
	content: '';
}

.ke-footer-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 250px;
	align-items: center;
	padding-bottom: 36px;
	gap: 42px;
}

.ke-footer-brand {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	grid-template-rows: auto auto auto;
	align-items: start;
	column-gap: clamp(28px, 4vw, 56px);
}

.ke-footer-brand img {
	width: 220px;
	grid-column: 1;
	grid-row: 1 / 5;
	height: auto;
	padding: 8px 12px;
	border-radius: 12px;
	background: #fff;
}

.ke-footer-brand h2 {
	max-width: 660px;
	margin: 0 0 12px;
	color: #fff;
	font-family: var(--ke-sans), Arial, sans-serif;
	font-size: clamp(2rem, 3.2vw, 3.7rem);
	font-weight: 780;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.ke-footer-brand p {
	max-width: 610px;
	margin: 0 0 18px;
	color: #bcd0da;
	font-size: 1rem;
	line-height: 1.65;
}

.ke-footer-mascot {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 15px 16px 13px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--ku-radius);
	background: rgba(255, 255, 255, 0.07);
}

.ke-footer-mascot img {
	width: 112px;
	height: auto;
}

.ke-footer-mascot figcaption {
	margin-top: 10px;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 760;
	text-align: center;
}

.ke-footer-directory {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	padding: 30px 0;
	gap: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ke-footer-directory nav {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.ke-footer-directory h3 {
	margin: 0 0 14px;
	color: #fff;
	font-family: var(--ke-sans), Arial, sans-serif;
	font-size: 0.83rem;
	font-weight: 800;
}

.ke-footer-directory a,
.ke-footer-directory span {
	display: block;
	width: 100%;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	color: #bed0d8;
	font-size: 0.78rem;
	line-height: 1.35;
	text-decoration: none;
}

.ke-footer-directory a:hover,
.ke-footer-directory a:focus-visible {
	color: var(--ku-lime);
}

.ke-footer-disclosure {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 22px 0;
	gap: 40px;
}

.ke-footer-disclosure p {
	margin: 0;
	color: #9fb7c2;
	font-size: 0.72rem;
	line-height: 1.6;
}

.ke-footer-legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	gap: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #9fb7c2;
	font-size: 0.72rem;
}

.ke-footer-legal p { margin: 0; }
.ke-footer-legal a { color: #d8e6ec; }

.ke-back-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 60;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 58px;
	min-height: 48px;
	padding: 8px 13px;
	gap: 6px;
	border: 0;
	border-radius: var(--ku-control-radius);
	background: var(--ku-lime);
	box-shadow: 0 14px 34px rgba(8, 40, 61, 0.24);
	color: var(--ku-navy);
	font: inherit;
	font-size: 0.72rem;
	font-weight: 820;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.ke-back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.ke-back-to-top:active { transform: scale(0.97); }

:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--ku-lime);
	outline-offset: 3px;
}

/* Homepage composition refinements. */
.ke-trial-roadmap .ke-availability-label--available > .e-con-inner {
	border-color: rgba(8, 40, 61, 0.34);
	background: #fff;
	box-shadow: 0 6px 0 rgba(8, 40, 61, 0.08);
	color: var(--ku-ink);
}

.ke-trial-roadmap .ke-availability-label--available .elementor-icon,
.ke-trial-roadmap .ke-availability-label--available p {
	color: var(--ku-ink);
}

@media (min-width: 1101px) {
	.ke-tools-showcase .ke-tool-strip > .e-con-inner {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.ke-tools-showcase .ke-tool-strip-card {
		grid-column: span 2;
	}

	.ke-tools-showcase .ke-tool-strip-card:nth-child(4),
	.ke-tools-showcase .ke-tool-strip-card:nth-child(5) {
		grid-column: span 3;
	}
}

@media (min-width: 960px) {
	.ke-home-trial-faq .ke-flashcard-deck > .ke-flashcard:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.ke-home-trial-faq .ke-flashcard-deck > .ke-flashcard:last-child:nth-child(odd) summary {
		grid-template-columns: 48px minmax(0, 1fr) auto;
		grid-template-rows: 1fr;
		align-items: center;
	}

	.ke-home-trial-faq .ke-flashcard-deck > .ke-flashcard:last-child:nth-child(odd) .ke-flashcard-number,
	.ke-home-trial-faq .ke-flashcard-deck > .ke-flashcard:last-child:nth-child(odd) .ke-flashcard-question,
	.ke-home-trial-faq .ke-flashcard-deck > .ke-flashcard:last-child:nth-child(odd) .ke-flashcard-action {
		grid-row: 1;
	}

	.ke-home-trial-faq .ke-flashcard-deck > .ke-flashcard:last-child:nth-child(odd) .ke-flashcard-question {
		grid-column: 2;
		padding-inline: clamp(8px, 2vw, 30px);
	}

	.ke-home-trial-faq .ke-flashcard-deck > .ke-flashcard:last-child:nth-child(odd) .ke-flashcard-action {
		grid-column: 3;
	}
}

@media (min-width: 960px) and (max-width: 1100px) {
	.ke-tools-showcase .ke-tool-strip-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 1180px) {
	.ke-header-grid { grid-template-columns: 185px minmax(0, 1fr); gap: 18px; }
	.ke-brand { width: 176px; }
	.ke-navigation-panel { gap: 12px; }
	.ke-menu__item > a,
	.ke-menu__trigger { padding-inline: 9px; font-size: 0.82rem; }
	.ke-header-actions .ke-button { padding-inline: 15px; font-size: 0.75rem; }
	.ke-footer-brand { grid-template-columns: 188px minmax(0, 1fr); column-gap: 30px; }
	.ke-footer-brand img { width: 188px; }
	.ke-footer-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
}

@media (max-width: 1079px) {
	:root { --ku-shell: min(100% - 32px, 980px); }
	body.ke-menu-open { overflow: hidden; }
	.ke-market-bar__inner { justify-content: space-between; }
	.ke-header-grid { display: flex; justify-content: space-between; min-height: 68px; }
	.ke-brand { width: 178px; }
	.ke-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 8px 14px;
		gap: 10px;
		border: 1px solid var(--ku-rule);
		border-radius: var(--ku-control-radius);
		background: #fff;
		color: var(--ku-navy);
		font: inherit;
		font-size: 0.78rem;
		font-weight: 800;
	}
	.ke-menu-toggle__lines { display: grid; gap: 5px; width: 18px; }
	.ke-menu-toggle__lines i { display: block; width: 18px; height: 2px; background: currentColor; transition: transform 180ms ease; }
	.ke-menu-toggle[aria-expanded='true'] .ke-menu-toggle__lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
	.ke-menu-toggle[aria-expanded='true'] .ke-menu-toggle__lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
	.ke-navigation-panel {
		position: fixed;
		top: 68px;
		right: 0;
		bottom: auto;
		left: 0;
		display: none;
		height: calc(100svh - 99px);
		align-items: stretch;
		justify-content: flex-start;
		overflow-y: auto;
		padding: 20px 16px 40px;
		background: var(--ku-paper);
	}
	.ke-site-header.is-menu-open .ke-navigation-panel { display: flex; flex-direction: column; }
	.ke-primary-navigation .ke-menu { display: grid; gap: 8px; }
	.ke-menu__item > a,
	.ke-menu__trigger { justify-content: space-between; width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid var(--ku-rule); background: #fff; font-size: 0.94rem; text-align: left; }
	.ke-header-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); width: 100%; margin-top: 14px; }
	.ke-header-actions > * { width: 100%; }
	.ke-header-pricing { min-height: 52px; border: 1px solid var(--ku-rule); background: #fff; }
	.ke-mega-layer { position: static; display: contents; padding: 0; background: transparent; box-shadow: none; }
	.ke-mega-layer[hidden] { display: contents !important; }
	.ke-mega-layer > .ke-shell { display: contents; }
	.ke-mega-panel,
	#ke-panel-explore,
	#ke-panel-trust { display: grid; grid-template-columns: 1fr; min-height: 0; margin: -2px 0 8px; padding: 15px; gap: 12px; border: 1px solid var(--ku-rule); border-radius: 14px; box-shadow: none; animation: none; }
	.ke-mega-panel__heading { display: none; }
	.ke-mega-grid,
	.ke-mega-tools { grid-template-columns: 1fr; }
	.ke-mega-card,
	.ke-mega-link,
	.ke-mega-tools a { min-height: 0; padding: 14px; }
	.ke-mega-mascot { display: none; }
	.ke-mega-panel__footer { grid-column: 1; display: grid; justify-content: stretch; }
	.ke-mega-panel__footer a { text-align: center; }
	.ke-footer-intro { grid-template-columns: 1fr 180px; gap: 30px; }
	.ke-footer-mascot img { width: 96px; }
}

@media (max-width: 767px) {
	:root { --ku-shell: calc(100% - 28px); }
	.ke-market-bar__inner { min-height: 37px; font-size: 0.66rem; }
	.ke-market-bar__inner span { display: none; }
	.ke-market-bar__inner a { margin-left: auto; }
	.ke-navigation-panel { top: 68px; height: calc(100svh - 105px); }
	.ke-brand { width: 160px; }
	.ke-menu-toggle__label { display: none; }
	.ke-header-actions { grid-template-columns: 1fr; }
	.ke-footer-intro { grid-template-columns: 1fr; padding-bottom: 34px; }
	.ke-footer-brand { grid-template-columns: 1fr; row-gap: 0; }
	.ke-footer-brand img { width: min(220px, 70%); grid-column: 1; grid-row: auto; margin-bottom: 26px; }
	.ke-footer-brand h2 { max-width: 13ch; font-size: clamp(2.1rem, 12vw, 3.4rem); }
	.ke-footer-mascot { width: min(100%, 240px); }
	.ke-footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
	.ke-footer-disclosure { grid-template-columns: 1fr; gap: 18px; }
	.ke-footer-legal { align-items: flex-start; flex-direction: column; }
	.ke-back-to-top { right: 14px; bottom: 14px; }
}

/* Our Services: compact editorial rhythm without changing the alternating visual system. */
.page-id-18 .ke-inner-hero > .e-con-inner,
.page-id-18 .ke-inner-hero.e-con-full {
	grid-template-rows: 600px 24px;
}

.page-id-18 .ke-inner-hero-copy,
.page-id-18 .ke-inner-hero-image {
	height: 600px;
	min-height: 0;
}

.page-id-18 .ke-inner-hero-copy {
	padding: 46px var(--ke-gutter);
}

.page-id-18 .ke-inner-hero-copy .ke-editorial-heading,
.page-id-18 .ke-inner-hero-copy .ke-editorial-heading .elementor-heading-title {
	font-size: clamp(48px, 5.2vw, 72px);
}

.page-id-18 .ke-inner-hero-image img {
	height: 600px;
	object-fit: cover;
}

.page-id-18 .ke-services-intro {
	padding: 62px var(--ke-gutter);
}

.page-id-18 .ke-services-intro .ke-editorial-heading,
.page-id-18 .ke-services-intro .ke-editorial-heading .elementor-heading-title {
	font-size: clamp(46px, 5vw, 68px);
}

.page-id-18 .ke-service-row > .e-con-inner,
.page-id-18 .ke-service-row.e-con-full {
	height: 500px;
	min-height: 0;
}

.page-id-18 .ke-service-copy {
	height: auto;
	padding: 42px var(--ke-gutter);
}

.page-id-18 .ke-service-copy > .e-con-inner {
	justify-content: center;
	gap: 18px;
}

.page-id-18 .ke-service-copy h2,
.page-id-18 .ke-service-copy h2 .elementor-heading-title {
	font-size: clamp(42px, 4.4vw, 60px);
}

.page-id-18 .ke-service-copy li {
	padding: 9px 0;
}

.page-id-18 .ke-service-image,
.page-id-18 .ke-service-image .elementor-widget-container,
.page-id-18 .ke-service-image img {
	height: 100%;
	min-height: 0;
}

.page-id-18 .ke-service-image {
	min-width: 0;
	overflow: hidden;
}

.page-id-18 .ke-service-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.page-id-18 .ke-final-cta > .e-con-inner,
.page-id-18 .ke-final-cta.e-con-full {
	grid-template-rows: 500px 24px;
}

.page-id-18 .ke-final-cta .ke-color-cell,
.page-id-18 .ke-final-cta-copy,
.page-id-18 .ke-final-cta .ke-grid-motif {
	height: 500px;
	min-height: 0;
}

.page-id-18 .ke-final-cta-copy {
	padding: 48px var(--ke-gutter);
}

@media (max-width: 767px) {
	.page-id-18 .ke-inner-hero > .e-con-inner,
	.page-id-18 .ke-inner-hero.e-con-full {
		grid-template-rows: auto 280px 22px;
	}

	.page-id-18 .ke-inner-hero-copy {
		height: auto;
		padding: 36px 22px;
	}

	.page-id-18 .ke-inner-hero-image,
	.page-id-18 .ke-inner-hero-image img {
		height: 280px;
	}

	.page-id-18 .ke-services-intro {
		padding: 44px 20px;
	}

	.page-id-18 .ke-service-row > .e-con-inner,
	.page-id-18 .ke-service-row.e-con-full {
		height: auto;
	}

	.page-id-18 .ke-service-copy {
		height: auto;
		padding: 40px 20px;
	}

	.page-id-18 .ke-service-image,
	.page-id-18 .ke-service-image .elementor-widget-container,
	.page-id-18 .ke-service-image img {
		height: 300px;
	}

	.page-id-18 .ke-final-cta > .e-con-inner,
	.page-id-18 .ke-final-cta.e-con-full {
		grid-template-rows: auto 22px;
	}

	.page-id-18 .ke-final-cta .ke-color-cell,
	.page-id-18 .ke-final-cta-copy,
	.page-id-18 .ke-final-cta .ke-grid-motif {
		height: auto;
		min-height: 420px;
	}

	.page-id-18 .ke-final-cta-copy {
		padding: 44px 20px;
	}
}

/* High School: balanced benefit grid and compact action sections. */
.page-id-360 .ke-usa-card-section {
	padding: 64px var(--ke-gutter);
}

.page-id-360 .ke-usa-card-grid {
	height: auto;
}

.page-id-360 .ke-usa-card-grid > .e-con-inner,
.page-id-360 .ke-usa-card-grid.e-con-full {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 32px;
}

.page-id-360 .ke-usa-content-card {
	width: auto;
	min-height: 280px;
}

.page-id-360 .ke-usa-steps {
	padding: 64px var(--ke-gutter);
}

.page-id-360 .ke-usa-steps .ke-timeline-grid {
	height: auto;
}

.page-id-360 .ke-usa-steps .ke-timeline-grid > .e-con-inner,
.page-id-360 .ke-usa-steps .ke-timeline-grid.e-con-full {
	margin-top: 32px;
}

.page-id-360 .ke-usa-steps .ke-timeline-step {
	min-height: 260px;
}

.page-id-360 .ke-usa-pricing-link {
	padding: 48px var(--ke-gutter);
}

.page-id-360 .ke-usa-pricing-link .ke-button-row {
	margin-top: 24px;
}

.page-id-360 .ke-usa-pricing-link .elementor-button,
.page-id-360 .ke-usa-pricing-link .elementor-button-text {
	color: #fff !important;
}

.page-id-360 .ke-final-cta .ke-button-row,
.page-id-360 .ke-final-cta .ke-button-row > .e-con-inner {
	align-items: center;
	justify-content: center;
}

.page-id-360 .ke-final-cta .ke-button-row > .e-con-inner > .elementor-element {
	--alignment: center;
	margin-inline: auto;
	text-align: center !important;
}

@media (max-width: 767px) {
	.page-id-360 .ke-usa-card-section,
	.page-id-360 .ke-usa-steps,
	.page-id-360 .ke-usa-pricing-link {
		padding: 44px 20px;
	}

	.page-id-360 .ke-usa-card-grid > .e-con-inner,
	.page-id-360 .ke-usa-card-grid.e-con-full,
	.page-id-360 .ke-usa-steps .ke-timeline-grid > .e-con-inner,
	.page-id-360 .ke-usa-steps .ke-timeline-grid.e-con-full {
		grid-template-columns: 1fr;
		margin-top: 26px;
	}

	.page-id-360 .ke-usa-content-card,
	.page-id-360 .ke-usa-steps .ke-timeline-step {
		min-height: 0;
	}
}

/* College: centered 3+2 benefit grid and compact supporting sections. */
.page-id-361 .ke-usa-card-section {
	padding: 64px var(--ke-gutter);
}

.page-id-361 .ke-usa-card-grid {
	height: auto;
}

.page-id-361 .ke-usa-card-grid > .e-con-inner,
.page-id-361 .ke-usa-card-grid.e-con-full {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin-top: 32px;
}

.page-id-361 .ke-usa-content-card {
	grid-column: span 2;
	width: auto;
	min-height: 280px;
}

.page-id-361 .ke-usa-content-card:nth-child(4) {
	grid-column: 1 / span 3;
}

.page-id-361 .ke-usa-content-card:nth-child(5) {
	grid-column: 4 / span 3;
}

.page-id-361 .ke-usa-steps {
	padding: 64px var(--ke-gutter);
}

.page-id-361 .ke-usa-steps .ke-timeline-grid {
	height: auto;
}

.page-id-361 .ke-usa-steps .ke-timeline-grid > .e-con-inner,
.page-id-361 .ke-usa-steps .ke-timeline-grid.e-con-full {
	margin-top: 32px;
}

.page-id-361 .ke-usa-steps .ke-timeline-step {
	min-height: 260px;
}

.page-id-361 .ke-usa-pricing-link {
	padding: 48px var(--ke-gutter);
}

.page-id-361 .ke-usa-pricing-link .ke-button-row {
	margin-top: 24px;
}

.page-id-361 .ke-usa-pricing-link .elementor-button,
.page-id-361 .ke-usa-pricing-link .elementor-button-text {
	color: #fff !important;
}

@media (max-width: 767px) {
	.page-id-361 .ke-usa-card-section,
	.page-id-361 .ke-usa-steps,
	.page-id-361 .ke-usa-pricing-link {
		padding: 44px 20px;
	}

	.page-id-361 .ke-usa-card-grid > .e-con-inner,
	.page-id-361 .ke-usa-card-grid.e-con-full,
	.page-id-361 .ke-usa-steps .ke-timeline-grid > .e-con-inner,
	.page-id-361 .ke-usa-steps .ke-timeline-grid.e-con-full {
		grid-template-columns: 1fr;
		margin-top: 26px;
	}

	.page-id-361 .ke-usa-content-card,
	.page-id-361 .ke-usa-content-card:nth-child(4),
	.page-id-361 .ke-usa-content-card:nth-child(5) {
		grid-column: auto;
		min-height: 0;
	}

	.page-id-361 .ke-usa-steps .ke-timeline-step {
		min-height: 0;
	}
}

/* Free Trial: simplify included labels and tighten the FAQ introduction. */
.page-id-131 .ke-trial-roadmap .ke-availability-label .elementor-widget-icon {
	display: none;
}

.page-id-131 .ke-trial-roadmap .ke-availability-label > .e-con-inner {
	padding: 9px 14px;
}

.page-id-131 .ke-trial-faq-section {
	padding: 64px var(--ke-gutter);
}

.page-id-131 .ke-trial-faq-section .klarity-faq {
	margin-top: 12px;
}

@media (max-width: 767px) {
	.page-id-131 .ke-trial-faq-section {
		padding: 44px 20px;
	}

	.page-id-131 .ke-trial-faq-section .klarity-faq {
		margin-top: 6px;
	}
}

/* Trust & Safety: compact the responsibility section heading. */
.page-id-367 .ke-usa-split-heading {
	padding: 56px var(--ke-gutter);
}

@media (max-width: 767px) {
	.page-id-367 .ke-usa-split-heading {
		padding: 40px 20px;
	}
}

/* Legal hub: readable blue policy tiles and a compact support panel. */
.page-id-368 .ke-legal-index-card--4,
.page-id-368 .ke-legal-index-card--4 .elementor-heading-title,
.page-id-368 .ke-legal-index-card--4 .elementor-widget-text-editor,
.page-id-368 .ke-legal-index-card--4 .elementor-widget-text-editor p,
.page-id-368 .ke-legal-index-card--4 .ke-number,
.page-id-368 .ke-legal-index-card--4 .ke-legal-index-link {
	color: #fff !important;
}

body.page-id-368 .ke-legal-index-card.ke-legal-index-card--4 .elementor-widget-heading .elementor-heading-title {
	color: #fff !important;
}

.page-id-368 .ke-legal-index-card--4 .ke-legal-index-link:hover,
.page-id-368 .ke-legal-index-card--4 .ke-legal-index-link:focus-visible {
	color: #fff !important;
}

.page-id-368 .ke-legal-contact {
	padding: 56px var(--ke-gutter) 64px;
	background: var(--ke-white);
}

.page-id-368 .ke-legal-contact > .e-con-inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--ke-rule);
	border-left: 1px solid var(--ke-rule);
}

.page-id-368 .ke-legal-contact .ke-contact-copy,
.page-id-368 .ke-legal-contact .ke-contact-copy > .e-con-inner {
	display: contents;
}

.page-id-368 .ke-legal-contact .ke-contact-copy .ke-kicker {
	display: none;
}

.page-id-368 .ke-legal-contact .ke-contact-copy .ke-editorial-heading {
	grid-column: 1 / -1;
	padding: 40px 48px 32px;
	background: var(--ke-white);
	border-right: 1px solid var(--ke-rule);
	border-bottom: 1px solid var(--ke-rule);
}

.page-id-368 .ke-legal-contact .ke-contact-copy .ke-editorial-heading .elementor-heading-title {
	max-width: 900px;
	font-size: clamp(44px, 5.2vw, 72px);
	line-height: 0.96;
}

.page-id-368 .ke-legal-contact .ke-contact-copy .ke-lede {
	grid-column: 1;
	min-height: 240px;
	margin: 0;
	padding: 40px 48px;
	display: flex;
	align-items: center;
	background: var(--ke-green);
	border-right: 1px solid var(--ke-rule);
	border-bottom: 1px solid var(--ke-rule);
}

.page-id-368 .ke-legal-contact .ke-contact-copy .ke-lede p {
	max-width: 560px;
	margin: 0;
	font-size: clamp(18px, 1.5vw, 22px);
	line-height: 1.5;
}

.page-id-368 .ke-legal-contact .ke-contact-form-panel {
	grid-column: 2;
	min-height: 240px;
	padding: 40px 48px;
	background: var(--ke-yellow);
	border: 0;
	border-right: 1px solid var(--ke-rule);
	border-bottom: 1px solid var(--ke-rule);
}

.page-id-368 .ke-legal-contact .ke-contact-form-panel > .e-con-inner {
	justify-content: center;
	gap: 22px;
}

.page-id-368 .ke-legal-contact .ke-contact-form-panel .elementor-widget-text-editor,
.page-id-368 .ke-legal-contact .ke-contact-form-panel .elementor-widget-text-editor p,
.page-id-368 .ke-legal-contact .ke-contact-form-panel .elementor-widget-text-editor a {
	color: var(--ke-ink);
}

@media (max-width: 767px) {
	.page-id-368 .ke-legal-contact {
		padding: 40px 20px 48px;
	}

	.page-id-368 .ke-legal-contact > .e-con-inner {
		grid-template-columns: 1fr;
	}

	.page-id-368 .ke-legal-contact .ke-contact-copy .ke-editorial-heading {
		padding: 30px 24px 24px;
	}

	.page-id-368 .ke-legal-contact .ke-contact-copy .ke-editorial-heading .elementor-heading-title {
		font-size: clamp(40px, 12vw, 58px);
	}

	.page-id-368 .ke-legal-contact .ke-contact-copy .ke-lede,
	.page-id-368 .ke-legal-contact .ke-contact-form-panel {
		grid-column: 1;
		min-height: 0;
		padding: 32px 24px;
	}
}

/* About: compact section rhythm and a balanced four-step method grid. */
.page-id-20 .ke-inner-hero > .e-con-inner,
.page-id-20 .ke-inner-hero.e-con-full {
	grid-template-rows: 600px 24px;
}

.page-id-20 .ke-inner-hero-copy,
.page-id-20 .ke-inner-hero-image {
	height: 600px;
	min-height: 0;
}

.page-id-20 .ke-inner-hero-copy {
	padding: 46px var(--ke-gutter);
}

.page-id-20 .ke-inner-hero-copy .ke-editorial-heading,
.page-id-20 .ke-inner-hero-copy .ke-editorial-heading .elementor-heading-title {
	font-size: clamp(48px, 5.2vw, 72px);
}

.page-id-20 .ke-inner-hero-image img {
	height: 600px;
}

.page-id-20 .ke-who > .e-con-inner,
.page-id-20 .ke-who.e-con-full {
	grid-template-rows: 560px 24px;
}

.page-id-20 .ke-who-image,
.page-id-20 .ke-who-image img,
.page-id-20 .ke-who-copy {
	height: 560px;
	min-height: 0;
}

.page-id-20 .ke-who-copy {
	padding: 46px var(--ke-gutter);
}

.page-id-20 .ke-mission {
	padding: 48px var(--ke-gutter);
}

.page-id-20 .ke-mission .ke-lede {
	margin-top: 12px;
}

.page-id-20 .ke-mission-grid > .e-con-inner,
.page-id-20 .ke-mission-grid.e-con-full {
	margin-top: 24px;
}

.page-id-20 .ke-mission-list {
	padding: 28px;
}

.page-id-20 .ke-timeline {
	padding: 60px var(--ke-gutter);
}

.page-id-20 .ke-timeline-grid > .e-con-inner,
.page-id-20 .ke-timeline-grid.e-con-full {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 32px;
}

.page-id-20 .ke-timeline-step {
	min-height: 230px;
}

.page-id-20 .ke-final-cta > .e-con-inner,
.page-id-20 .ke-final-cta.e-con-full {
	grid-template-rows: 500px 24px;
}

.page-id-20 .ke-final-cta .ke-color-cell,
.page-id-20 .ke-final-cta-copy,
.page-id-20 .ke-final-cta .ke-grid-motif {
	height: 500px;
	min-height: 0;
}

.page-id-20 .ke-final-cta-copy {
	padding: 48px var(--ke-gutter);
}

@media (max-width: 767px) {
	.page-id-20 .ke-inner-hero > .e-con-inner,
	.page-id-20 .ke-inner-hero.e-con-full {
		grid-template-rows: auto 280px 22px;
	}

	.page-id-20 .ke-inner-hero-copy {
		height: auto;
		padding: 36px 22px;
	}

	.page-id-20 .ke-inner-hero-image,
	.page-id-20 .ke-inner-hero-image img {
		height: 280px;
	}

	.page-id-20 .ke-who > .e-con-inner,
	.page-id-20 .ke-who.e-con-full {
		grid-template-rows: 280px auto 22px;
	}

	.page-id-20 .ke-who-image,
	.page-id-20 .ke-who-image img {
		height: 280px;
	}

	.page-id-20 .ke-who-copy {
		height: auto;
		padding: 40px 20px;
	}

	.page-id-20 .ke-mission,
	.page-id-20 .ke-timeline {
		padding: 44px 20px;
	}

	.page-id-20 .ke-mission-grid > .e-con-inner,
	.page-id-20 .ke-mission-grid.e-con-full,
	.page-id-20 .ke-timeline-grid > .e-con-inner,
	.page-id-20 .ke-timeline-grid.e-con-full {
		grid-template-columns: 1fr;
		margin-top: 26px;
	}

	.page-id-20 .ke-timeline-step {
		min-height: 0;
	}

	.page-id-20 .ke-final-cta > .e-con-inner,
	.page-id-20 .ke-final-cta.e-con-full {
		grid-template-rows: auto 22px;
	}

	.page-id-20 .ke-final-cta .ke-color-cell,
	.page-id-20 .ke-final-cta-copy,
	.page-id-20 .ke-final-cta .ke-grid-motif {
		height: auto;
		min-height: 420px;
	}

	.page-id-20 .ke-final-cta-copy {
		padding: 44px 20px;
	}
}

/* How It Works: compact, balanced page composition. */
.page-id-362 .ke-inner-hero > .e-con-inner,
.page-id-362 .ke-inner-hero.e-con-full {
	grid-template-rows: 620px 24px;
}

.page-id-362 .ke-inner-hero-copy,
.page-id-362 .ke-inner-hero-image {
	height: 620px;
	min-height: 0;
}

.page-id-362 .ke-inner-hero-copy {
	padding: 48px var(--ke-gutter);
}

.page-id-362 .ke-inner-hero-copy .ke-editorial-heading,
.page-id-362 .ke-inner-hero-copy .ke-editorial-heading .elementor-heading-title {
	font-size: clamp(48px, 5.2vw, 72px);
}

.page-id-362 .ke-inner-hero-image img {
	height: 620px;
	object-fit: cover;
}

.page-id-362 .ke-usa-steps,
.page-id-362 .ke-usa-card-section {
	padding: 64px var(--ke-gutter);
}

.page-id-362 .ke-usa-steps .ke-editorial-heading,
.page-id-362 .ke-usa-card-section .ke-editorial-heading,
.page-id-362 .ke-usa-steps .ke-editorial-heading .elementor-heading-title,
.page-id-362 .ke-usa-card-section .ke-editorial-heading .elementor-heading-title {
	font-size: clamp(44px, 5vw, 66px);
}

.page-id-362 .ke-usa-steps .ke-timeline-grid {
	height: auto;
}

.page-id-362 .ke-usa-steps .ke-timeline-grid > .e-con-inner,
.page-id-362 .ke-usa-steps .ke-timeline-grid.e-con-full {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin-top: 34px;
}

.page-id-362 .ke-usa-steps .ke-timeline-step {
	width: auto;
	min-height: 250px;
	grid-column: span 2;
}

.page-id-362 .ke-usa-steps .ke-timeline-step:nth-child(4) {
	grid-column: 1 / span 3;
}

.page-id-362 .ke-usa-steps .ke-timeline-step:nth-child(5) {
	grid-column: 4 / span 3;
}

.page-id-362 .ke-usa-card-grid {
	height: auto;
}

.page-id-362 .ke-usa-card-grid > .e-con-inner,
.page-id-362 .ke-usa-card-grid.e-con-full {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 34px;
}

.page-id-362 .ke-usa-content-card {
	width: auto;
	min-height: 270px;
}

.page-id-362 .ke-usa-statement > .e-con-inner,
.page-id-362 .ke-usa-statement.e-con-full {
	grid-template-rows: auto 24px;
}

.page-id-362 .ke-usa-statement .ke-looking-copy {
	min-height: 560px;
	padding: 54px var(--ke-gutter);
}

.page-id-362 .ke-usa-statement .ke-looking-image,
.page-id-362 .ke-usa-statement .ke-looking-image img {
	height: 560px;
}

.page-id-362 .ke-final-cta > .e-con-inner,
.page-id-362 .ke-final-cta.e-con-full {
	grid-template-rows: 500px 24px;
}

.page-id-362 .ke-final-cta .ke-color-cell,
.page-id-362 .ke-final-cta-copy,
.page-id-362 .ke-final-cta .ke-grid-motif {
	height: 500px;
	min-height: 0;
}

.page-id-362 .ke-final-cta-copy {
	padding: 48px var(--ke-gutter);
}

@media (max-width: 767px) {
	.page-id-362 .ke-inner-hero > .e-con-inner,
	.page-id-362 .ke-inner-hero.e-con-full {
		grid-template-rows: auto 280px 22px;
	}

	.page-id-362 .ke-inner-hero-copy {
		height: auto;
		padding: 36px 22px;
	}

	.page-id-362 .ke-inner-hero-image,
	.page-id-362 .ke-inner-hero-image img {
		height: 280px;
	}

	.page-id-362 .ke-usa-steps,
	.page-id-362 .ke-usa-card-section {
		padding: 48px 20px;
	}

	.page-id-362 .ke-usa-steps .ke-timeline-grid > .e-con-inner,
	.page-id-362 .ke-usa-steps .ke-timeline-grid.e-con-full,
	.page-id-362 .ke-usa-card-grid > .e-con-inner,
	.page-id-362 .ke-usa-card-grid.e-con-full {
		grid-template-columns: 1fr;
	}

	.page-id-362 .ke-usa-steps .ke-timeline-step,
	.page-id-362 .ke-usa-steps .ke-timeline-step:nth-child(4),
	.page-id-362 .ke-usa-steps .ke-timeline-step:nth-child(5) {
		min-height: 0;
		grid-column: 1;
	}

	.page-id-362 .ke-usa-content-card {
		min-height: 0;
	}

	.page-id-362 .ke-usa-statement > .e-con-inner,
	.page-id-362 .ke-usa-statement.e-con-full {
		grid-template-rows: 280px auto 22px;
	}

	.page-id-362 .ke-usa-statement .ke-looking-image,
	.page-id-362 .ke-usa-statement .ke-looking-image img {
		height: 280px;
	}

	.page-id-362 .ke-usa-statement .ke-looking-copy {
		min-height: 0;
		padding: 42px 20px;
	}

	.page-id-362 .ke-final-cta > .e-con-inner,
	.page-id-362 .ke-final-cta.e-con-full {
		grid-template-rows: auto 22px;
	}

	.page-id-362 .ke-final-cta .ke-color-cell,
	.page-id-362 .ke-final-cta-copy,
	.page-id-362 .ke-final-cta .ke-grid-motif {
		height: auto;
		min-height: 420px;
	}

	.page-id-362 .ke-final-cta-copy {
		padding: 44px 20px;
	}
}

@media (max-width: 460px) {
	.ke-footer-directory { grid-template-columns: 1fr; }
}

/* Homepage density pass: remove dead zones while preserving the editorial grid. */
@media (min-width: 960px) {
	.home .ke-trial-benefits,
	.home .ke-trial-process,
	.home .ke-trial-roadmap {
		padding: 76px var(--ke-gutter);
	}

	.home .ke-trial-benefit-grid,
	.home .ke-trial-step-grid,
	.home .ke-trial-roadmap-grid {
		margin-top: 48px;
	}

	.home .ke-trial-benefit {
		min-height: 320px;
		padding: 34px;
	}

	.home .ke-trial-benefit > .e-con-inner {
		grid-template-columns: 64px minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		align-content: start;
		column-gap: 20px;
	}

	.home .ke-trial-benefit-icon {
		width: 64px;
		height: 64px;
	}

	.home .ke-trial-benefit > .e-con-inner > .elementor-widget-text-editor {
		align-self: start;
		padding-top: 22px;
	}

	.home .ke-trial-benefit p {
		font-size: 15px;
		line-height: 1.62;
	}

	.home .ke-trial-step {
		min-height: 340px;
		padding: 30px;
	}

	.home .ke-trial-roadmap-card {
		min-height: 320px;
		padding: 34px;
	}

	.home .ke-trial-roadmap-card > .e-con-inner {
		gap: 16px;
	}

	.home .ke-trial-roadmap .ke-button-row {
		margin-top: 24px;
	}

	.home .ke-home-trial-faq {
		padding: 78px var(--ke-gutter);
	}

	.home .ke-home-trial-faq > .e-con-inner > .ke-editorial-heading {
		max-width: 1080px;
	}

	.home .ke-home-trial-faq > .e-con-inner > .ke-lede {
		max-width: 900px;
		margin-top: 20px;
	}

	.home .ke-home-trial-faq .ke-editorial-faq {
		margin-top: 48px;
	}

	.home .ke-home-trial-faq .ke-flashcard,
	.home .ke-home-trial-faq .ke-flashcard summary {
		min-height: 228px;
	}

	.home .ke-final-cta-copy {
		min-height: 0;
		padding: 68px 48px;
	}

	.home .ke-final-cta-copy > .e-con-inner {
		gap: 20px;
	}

	.home .ke-final-cta > .e-con-inner,
	.home .ke-final-cta.e-con-full {
		grid-template-rows: auto 26px;
	}

	.home .ke-difference {
		padding: 84px var(--ke-gutter) 68px;
	}

	.home .ke-difference > .e-con-inner > .ke-lede {
		margin-bottom: 48px;
	}

	.home .ke-feature-row > .e-con-inner,
	.home .ke-feature-row.e-con-full {
		min-height: 430px;
	}

	.home .ke-feature-copy .ke-number,
	.home .ke-feature-copy .ke-feature-title,
	.home .ke-feature-detail-widget {
		padding-top: 34px;
		padding-bottom: 34px;
	}

	.home .ke-feature-detail {
		gap: 18px;
	}

	.home .ke-story-image,
	.home .ke-story-copy {
		min-height: 560px;
	}

	.home .ke-story-copy {
		padding: 68px clamp(40px, 6vw, 88px);
	}

	.home .ke-story-copy > .e-con-inner {
		gap: 22px;
	}

	.home .ke-process {
		padding: 80px var(--ke-gutter) 64px;
	}

	.home .ke-process > .e-con-inner > .ke-lede {
		margin-bottom: 48px;
	}

	.home .ke-process-grid > .e-con-inner,
	.home .ke-process-grid.e-con-full {
		grid-auto-rows: 430px;
	}

	.home .ke-process-card > .e-con-inner > .elementor-widget-text-editor {
		padding-bottom: 28px;
	}

	.home .ke-tools-showcase {
		padding: 80px var(--ke-gutter) 68px;
	}

	.home .ke-tools-showcase > .e-con-inner > .ke-lede {
		margin-bottom: 48px;
	}

	.home .ke-tool-strip > .e-con-inner,
	.home .ke-tool-strip.e-con-full {
		grid-auto-rows: 290px;
	}

	.home .ke-tools-showcase .ke-button-row {
		margin-top: 30px;
	}

	.home .ke-parent-section > .e-con-inner,
	.home .ke-parent-section.e-con-full {
		min-height: 560px;
	}

	.home .ke-parent-copy {
		padding: 64px var(--ke-gutter);
	}
}

.home .ke-availability-label--available .elementor-widget-icon {
	display: none;
}

.home .ke-availability-label--available > .e-con-inner {
	justify-content: center;
	padding-inline: 15px;
}

.home .ke-home-trial-faq .ke-flashcard:nth-child(5n),
.home .ke-home-trial-faq .ke-flashcard:nth-child(5n) summary,
.home .ke-home-trial-faq .ke-flashcard:nth-child(5n) .ke-flashcard-question,
.home .ke-home-trial-faq .ke-flashcard:nth-child(5n) .ke-flashcard-number,
.home .ke-home-trial-faq .ke-flashcard:nth-child(5n) .ke-flashcard-action,
.home .ke-home-trial-faq .ke-flashcard:nth-child(5n) .ke-faq-answer,
.home .ke-home-trial-faq .ke-flashcard:nth-child(5n) p {
	color: #fff !important;
}

.ke-footer-mascot {
	align-self: stretch;
	justify-content: center;
	min-height: 0;
}

.ke-footer-mascot img {
	width: 146px;
	align-self: center;
}

.ke-footer-mascot figcaption {
	width: 100%;
	max-width: none;
	font-size: 0.94rem;
	line-height: 1.45;
}

/* Homepage lower-section repair: keep FAQ cards independent and protect readable feature columns. */
.home .ke-home-trial-faq .ke-flashcard-deck {
	align-items: start;
}

.home .ke-home-trial-faq .ke-flashcard {
	align-self: start;
}

@media (min-width: 1280px) {
	.home .ke-difference {
		padding-top: 72px;
		padding-bottom: 56px;
	}

	.home .ke-difference > .e-con-inner > .ke-lede {
		margin-bottom: 36px;
	}

	.home .ke-feature-row > .e-con-inner,
	.home .ke-feature-row.e-con-full {
		grid-template-columns: minmax(0, 13fr) minmax(360px, 7fr);
		min-height: 400px;
	}

	.home .ke-feature-row--reverse > .e-con-inner {
		grid-template-columns: minmax(360px, 7fr) minmax(0, 13fr);
	}

	.home .ke-feature-copy > .e-con-inner,
	.home .ke-feature-copy.e-con-full {
		grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.35fr);
	}

	.home .ke-feature-copy .ke-feature-title,
	.home .ke-feature-detail-widget {
		padding-top: 34px;
		padding-bottom: 34px;
	}

	.home .ke-feature-copy h3,
	.home .ke-feature-copy .elementor-heading-title {
		max-width: 11ch;
		font-size: clamp(30px, 2.25vw, 38px);
		overflow-wrap: normal;
		word-break: normal;
	}

	.home .ke-process-card--2 > .e-con-inner,
	.home .ke-process-card--4 > .e-con-inner {
		grid-template-rows: minmax(220px, 1fr) auto auto;
	}

	.home .ke-process-card--2 .ke-process-image,
	.home .ke-process-card--4 .ke-process-image {
		grid-row: 1;
		min-height: 220px;
	}

	.home .ke-process-card--2 > .e-con-inner > .elementor-widget-heading:not(.ke-number),
	.home .ke-process-card--4 > .e-con-inner > .elementor-widget-heading:not(.ke-number) {
		grid-row: 2;
	}

	.home .ke-process-card--2 > .e-con-inner > .elementor-widget-text-editor,
	.home .ke-process-card--4 > .e-con-inner > .elementor-widget-text-editor {
		grid-row: 3;
	}
}

@media (max-width: 959px) {
	.home .ke-trial-benefits,
	.home .ke-trial-process,
	.home .ke-trial-roadmap,
	.home .ke-home-trial-faq,
	.home .ke-difference,
	.home .ke-process,
	.home .ke-tools-showcase {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.home .ke-trial-benefit-grid,
	.home .ke-trial-step-grid,
	.home .ke-trial-roadmap-grid,
	.home .ke-home-trial-faq .ke-editorial-faq {
		margin-top: 40px;
	}

	.home .ke-trial-benefit {
		min-height: 0;
	}

	.home .ke-trial-benefit > .e-con-inner > .elementor-widget-text-editor {
		align-self: start;
		padding-top: 20px;
	}

	.home .ke-final-cta-copy {
		min-height: 0;
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.home .ke-story-copy {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.home .ke-parent-copy {
		padding-top: 56px;
		padding-bottom: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ke-mega-panel,
	.ke-menu__trigger > span,
	.ke-mega-card,
	.ke-mega-link,
	.ke-mega-tools a,
	.ke-button,
	.ke-back-to-top { animation: none !important; transition: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
	.ke-site-header { background: var(--ku-paper); backdrop-filter: none; }
}

/* U.S. pricing page: compact editorial composition around the live API. */
.ke-pricing-page-hero > .e-con-inner,
.ke-pricing-page-hero.e-con-full {
	grid-template-rows: 560px 24px;
}

.ke-pricing-page-hero .ke-inner-hero-copy,
.ke-pricing-page-hero .ke-inner-hero-image {
	height: 560px;
	min-height: 0;
}

.ke-pricing-page-hero .ke-inner-hero-copy {
	padding: 42px var(--ke-gutter);
}

.ke-pricing-page-hero .ke-inner-hero-copy > .e-con-inner {
	display: grid;
	width: 100%;
	min-width: 0;
	grid-template-columns: minmax(0, max-content) minmax(0, max-content);
	align-content: center;
	justify-content: start;
	column-gap: 12px;
	row-gap: 16px;
}

.ke-pricing-page-hero .ke-inner-hero-copy > .e-con-inner > .ke-kicker,
.ke-pricing-page-hero .ke-inner-hero-copy > .e-con-inner > .ke-editorial-heading,
.ke-pricing-page-hero .ke-inner-hero-copy > .e-con-inner > .ke-lede {
	grid-column: 1 / -1;
}

.ke-pricing-page-hero .ke-inner-hero-copy .ke-editorial-heading,
.ke-pricing-page-hero .ke-inner-hero-copy .ke-editorial-heading .elementor-heading-title {
	max-width: 14ch;
	font-size: clamp(46px, 4.8vw, 64px);
}

.ke-pricing-page-hero .ke-inner-hero-copy .ke-lede {
	width: 100%;
	max-width: 34rem;
	min-width: 0;
}

.ke-pricing-page-hero .ke-inner-hero-copy .ke-lede p {
	max-width: 100%;
	overflow-wrap: anywhere;
}

.ke-pricing-page-hero .ke-inner-hero-image img {
	height: 560px;
	object-fit: cover;
}

.ke-pricing-facts > .e-con-inner,
.ke-pricing-facts.e-con-full {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ke-pricing-facts .ke-pricing-fact,
.ke-pricing-facts .ke-pricing-fact:nth-child(2n) {
	display: flex;
	min-height: 190px;
	align-items: center;
	justify-content: center;
	border-right: 1px solid var(--ke-rule);
	border-bottom: 0;
	padding: 30px;
	background: var(--ke-orange);
	color: var(--ku-navy);
	text-align: center;
}

.ke-pricing-facts .ke-pricing-fact:nth-child(2) {
	background: var(--ke-green);
}

.ke-pricing-facts .ke-pricing-fact:nth-child(3) {
	border-right: 0;
	background: var(--ke-yellow);
}

.ke-pricing-facts .ke-pricing-fact > .e-con-inner {
	height: auto;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.ke-pricing-facts .ke-pricing-fact p {
	max-width: 34ch;
	font-weight: 650;
}

.ke-pricing-api-section {
	padding-top: 44px;
	padding-bottom: 52px;
}

.ke-pricing-api-intro {
	margin-bottom: 20px;
}

.ke-pricing-api-intro > .e-con-inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ke-pricing-api-intro .ke-editorial-heading,
.ke-pricing-api-intro .ke-editorial-heading .elementor-heading-title {
	max-width: 14ch;
	font-size: clamp(42px, 5vw, 66px);
}

.ke-pricing-api-intro .ke-lede {
	max-width: 68ch;
}

.ke-pricing-pack-section {
	padding-top: 72px;
	padding-bottom: 72px;
}

.ke-pricing-pack-section > .e-con-inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ke-pricing-pack-section .ke-editorial-heading,
.ke-pricing-pack-section .ke-editorial-heading .elementor-heading-title {
	font-size: clamp(42px, 5vw, 66px);
}

.ke-pricing-pack-section .ke-pricing-plan-grid {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 30px;
}

.ke-pricing-pack-section .ke-pricing-plan-grid > .e-con-inner {
	width: 100%;
}

.ke-pricing-pack-section .ke-pricing-plan-grid > .e-con-inner,
.ke-pricing-pack-section .ke-pricing-plan-grid.e-con-full {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
}

.ke-pricing-pack-section .ke-pricing-pack {
	width: auto;
	min-height: 360px;
	padding: 30px;
	background: var(--ke-orange);
	color: var(--ku-navy);
}

.ke-pricing-pack-section .ke-pricing-pack:nth-child(2) {
	background: var(--ke-yellow);
}

.ke-pricing-pack-section .ke-pricing-pack:nth-child(3) {
	background: var(--ke-green);
}

.ke-pricing-pack-section .ke-pricing-pack > .e-con-inner {
	display: flex;
	height: 100%;
	flex-direction: column;
	gap: 18px;
}

.ke-pricing-pack-section .ke-pricing-pack h3,
.ke-pricing-pack-section .ke-pricing-pack h3 .elementor-heading-title {
	color: inherit !important;
}

.ke-pricing-pack-section .ke-pricing-pack-price {
	margin-top: 10px;
	font-size: clamp(34px, 4vw, 52px);
}

.ke-pricing-pack-section .ke-pricing-pack:first-child .ke-pricing-pack-price {
	color: #fff;
}

.ke-pricing-pack-section .ke-pricing-pack:nth-child(2) .ke-pricing-pack-price,
.ke-pricing-pack-section .ke-pricing-pack:nth-child(3) .ke-pricing-pack-price {
	color: var(--ku-navy);
}

.ke-pricing-faq {
	padding-top: 56px;
	padding-bottom: 56px;
}

.ke-pricing-faq .ke-editorial-heading,
.ke-pricing-faq .ke-editorial-heading .elementor-heading-title {
	font-size: clamp(42px, 5vw, 66px);
}

.ke-pricing-faq > .e-con-inner > .ke-lede {
	margin-top: 8px;
	margin-bottom: 10px;
}

.ke-pricing-faq .ke-editorial-faq {
	margin-top: 0;
}

.ke-pricing-renewal {
	padding-top: 44px;
	padding-bottom: 44px;
}

.ke-pricing-renewal > .e-con-inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ke-pricing-renewal .ke-editorial-heading,
.ke-pricing-renewal .ke-editorial-heading .elementor-heading-title {
	font-size: clamp(40px, 4.5vw, 60px);
}

.ke-pricing-page-cta .ke-final-cta-copy {
	min-height: 0;
	padding: 48px var(--ke-gutter);
}

.ke-pricing-page-cta > .e-con-inner {
	grid-template-rows: auto 24px;
	row-gap: 0;
}

.ke-pricing-page-cta .ke-color-cell,
.ke-pricing-page-cta .ke-final-cta-copy,
.ke-pricing-page-cta .ke-grid-motif {
	height: auto;
	min-height: 400px;
}

@media (min-width: 960px) {
	.ke-pricing-page-cta .ke-color-cell,
	.ke-pricing-page-cta .ke-final-cta-copy,
	.ke-pricing-page-cta .ke-grid-motif {
		min-height: 480px;
	}
}

.ke-pricing-page-cta .ke-final-cta-copy .ke-editorial-heading,
.ke-pricing-page-cta .ke-final-cta-copy .ke-editorial-heading .elementor-heading-title {
	font-size: clamp(42px, 5vw, 64px);
}

.ke-pricing-page-cta .ke-final-cta-copy .elementor-heading-title {
	max-width: 6.5em;
	margin-inline: auto;
}

@media (max-width: 959px) {
	.ke-pricing-page-hero > .e-con-inner,
	.ke-pricing-page-hero.e-con-full {
		grid-template-rows: auto 280px 22px;
	}

	.ke-pricing-page-hero .ke-inner-hero-copy {
		height: auto;
		padding: 32px 22px;
	}

	.ke-pricing-page-hero .ke-inner-hero-image,
	.ke-pricing-page-hero .ke-inner-hero-image img {
		height: 280px;
	}

	.ke-pricing-pack-section .ke-pricing-plan-grid > .e-con-inner,
	.ke-pricing-pack-section .ke-pricing-plan-grid.e-con-full {
		grid-template-columns: 1fr;
	}

	.ke-pricing-pack-section .ke-pricing-pack {
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.ke-pricing-page-cta .ke-final-cta-copy .elementor-heading-title {
		max-width: none;
		font-size: 34px !important;
	}

	.ke-pricing-facts > .e-con-inner,
	.ke-pricing-facts.e-con-full {
		grid-template-columns: 1fr;
	}

	.ke-pricing-facts .ke-pricing-fact,
	.ke-pricing-facts .ke-pricing-fact:nth-child(2n),
	.ke-pricing-facts .ke-pricing-fact:nth-child(3) {
		min-height: 0;
		border-right: 0;
		border-bottom: 1px solid var(--ke-rule);
		padding: 28px 20px;
	}

	.ke-pricing-api-section,
	.ke-pricing-pack-section,
	.ke-pricing-faq {
		padding-top: 52px;
		padding-bottom: 52px;
	}

	.ke-pricing-page-cta .ke-final-cta-copy {
		min-height: 0;
		padding: 48px 20px;
	}
}
