/* IdealMe theme - brand kit tokens and layout */

:root {
	--idealme-purple-dark: #3c007c;
	--idealme-purple: #7f36fc;
	--idealme-teal: #00f2c3;
	--idealme-cyan: #00d1a9;
	--idealme-blue: #87a6fc;
	--idealme-white: #ffffff;
	--idealme-canvas: #f6f4fb;
	--idealme-mist: #efeaf8;
	--text-primary: #3c007c;
	--text-secondary: rgba(60, 0, 124, 0.72);
	--text-muted: rgba(60, 0, 124, 0.55);
	--border: rgba(60, 0, 124, 0.1);
	--border-strong: rgba(60, 0, 124, 0.18);
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--radius-xl: 28px;
	--container-width: 1180px;
	--header-h: 72px;
	--font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--shadow-sm: 0 8px 24px rgba(60, 0, 124, 0.06);
	--shadow-md: 0 20px 50px rgba(60, 0, 124, 0.1);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--space-section: clamp(3.25rem, 5.5vw, 5.5rem);
	--space-card: 1.3rem 1.25rem 1.2rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text-secondary);
	background: var(--idealme-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

body.has-nav-open {
	overflow: hidden;
}

img,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--idealme-purple);
}

a:hover {
	color: var(--idealme-purple-dark);
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	color: var(--idealme-purple-dark);
	letter-spacing: -0.03em;
	line-height: 1.12;
	margin: 0 0 0.75rem;
	font-weight: 600;
}

h1 {
	font-size: clamp(2.25rem, 5vw, 3.85rem);
}

h2 {
	font-size: clamp(1.65rem, 2.9vw, 2.45rem);
}

h3 {
	font-size: 1.125rem;
	letter-spacing: -0.02em;
}

.im-highlight {
	background: linear-gradient(120deg, var(--idealme-purple) 8%, var(--idealme-blue) 62%, var(--idealme-cyan) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-weight: 700;
}

p {
	margin: 0 0 1rem;
}

p:last-child {
	margin-bottom: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.im-skip {
	position: absolute;
	left: 1rem;
	top: -100px;
	background: var(--idealme-purple-dark);
	color: #fff;
	padding: 0.6rem 1rem;
	border-radius: var(--radius-sm);
	z-index: 1000;
}

.im-skip:focus {
	top: 1rem;
	color: #fff;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.im-container {
	width: min(var(--container-width), calc(100% - 2.5rem));
	margin-inline: auto;
}

.im-main {
	overflow: visible;
}

.im-main--elementor {
	width: 100%;
}

.im-elementor-slot:not(:has(.elementor)) {
	display: none;
}

.im-elementor-slot:has(.elementor) {
	padding: 0 0 var(--space-section);
}

.elementor-editor-active .im-elementor-slot,
.elementor-editor-preview .im-elementor-slot {
	display: block;
	padding: 2rem 0 var(--space-section);
}

/* Buttons */
.im-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1;
	padding: 0.8rem 1.15rem;
	border-radius: 8px;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
	white-space: nowrap;
}

.im-btn--primary {
	background: var(--idealme-purple-dark);
	color: var(--idealme-white);
}

.im-btn--primary:hover,
.im-btn--primary:focus-visible {
	background: var(--idealme-purple);
	color: var(--idealme-white);
}

.im-btn--secondary {
	background: transparent;
	color: var(--idealme-purple-dark);
	border-color: var(--border-strong);
}

.im-btn--secondary:hover,
.im-btn--secondary:focus-visible {
	background: rgba(60, 0, 124, 0.05);
	color: var(--idealme-purple-dark);
	border-color: var(--idealme-purple-dark);
}

.im-btn--on-dark {
	background: var(--idealme-white);
	color: var(--idealme-purple-dark);
}

.im-btn--on-dark:hover,
.im-btn--on-dark:focus-visible {
	background: var(--idealme-teal);
	color: var(--idealme-purple-dark);
}

.im-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--idealme-purple);
	text-decoration: none;
}

.im-link:hover {
	color: var(--idealme-purple-dark);
}

.im-btn__arrow,
.im-link .im-btn__arrow {
	transition: transform 0.22s var(--ease);
}

.im-btn:hover .im-btn__arrow,
.im-link:hover .im-btn__arrow {
	transform: translateX(3px);
}

:focus-visible {
	outline: 2px solid var(--idealme-purple);
	outline-offset: 3px;
}

/* Header */
.im-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-h);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.im-header.is-scrolled {
	border-bottom-color: var(--border);
	box-shadow: 0 8px 22px rgba(60, 0, 124, 0.05);
	background: rgba(255, 255, 255, 0.98);
}

html.admin-bar .im-header {
	top: 32px;
}

@media (max-width: 782px) {
	html.admin-bar .im-header {
		top: 46px;
	}
}

.im-nav li {
	list-style: none;
}

.im-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: var(--header-h);
}

.im-logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	text-decoration: none;
}

.im-wordmark,
.im-logo-lockup,
.custom-logo {
	height: 38px;
	width: auto;
	max-width: 210px;
	object-fit: contain;
}

.im-nav__list {
	display: flex;
	align-items: center;
	gap: 1.35rem;
}

.im-nav__link,
.im-nav a {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-primary);
	text-decoration: none;
}

.im-nav a:hover,
.im-nav .is-active,
.im-nav .current-menu-item > a {
	color: var(--idealme-purple);
}

.im-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.im-header__cta {
	padding: 0.68rem 0.95rem;
	font-size: 0.84rem;
}

.im-nav__mobile-cta {
	display: none;
}

.im-nav-toggle {
	display: none;
	align-items: center;
	gap: 0.5rem;
	background: none;
	border: 0;
	padding: 0.4rem;
	cursor: pointer;
	color: var(--idealme-purple-dark);
	font: inherit;
	font-weight: 600;
	font-size: 0.875rem;
}

.im-nav-toggle__bars {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 20px;
}

.im-nav-toggle__bars span {
	display: block;
	height: 2px;
	background: var(--idealme-purple-dark);
	border-radius: 2px;
}

/* Hero */
.im-hero {
	position: relative;
	padding: clamp(2.75rem, 6vw, 5.25rem) 0 3rem;
	overflow: visible;
	background:
		radial-gradient(circle at 12% 18%, rgba(127, 54, 252, 0.16), transparent 34%),
		radial-gradient(circle at 88% 8%, rgba(0, 242, 195, 0.16), transparent 28%),
		radial-gradient(circle at 70% 92%, rgba(135, 166, 252, 0.2), transparent 32%),
		linear-gradient(180deg, #f4f0ff 0%, #ffffff 58%);
}

.im-hero__wash {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.im-hero__mark {
	position: absolute;
	right: -4rem;
	top: -3rem;
	width: min(42vw, 420px);
	opacity: 0.1;
}

.im-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
	gap: clamp(1.75rem, 5vw, 3.5rem);
	align-items: center;
}

.im-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--idealme-purple);
}

.im-eyebrow::before {
	content: "";
	width: 18px;
	height: 2px;
	background: var(--idealme-cyan);
	border-radius: 2px;
}

.im-hero__support {
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 500;
	color: var(--text-primary);
	letter-spacing: -0.02em;
	margin: 0.85rem 0 1.1rem;
}

.im-hero__body {
	max-width: 38rem;
	font-size: 1.0625rem;
}

.im-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.im-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.6rem;
}

.im-chips li {
	padding: 0.38rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid var(--border);
	color: var(--idealme-purple-dark);
	font-size: 0.8rem;
	font-weight: 600;
}

.im-chips li:nth-child(1) {
	border-color: rgba(60, 0, 124, 0.22);
	background: rgba(60, 0, 124, 0.06);
}
.im-chips li:nth-child(2) {
	border-color: rgba(0, 209, 169, 0.45);
	background: rgba(0, 209, 169, 0.12);
}
.im-chips li:nth-child(3) {
	border-color: rgba(135, 166, 252, 0.55);
	background: rgba(135, 166, 252, 0.16);
}
.im-chips li:nth-child(4) {
	border-color: rgba(127, 54, 252, 0.35);
	background: rgba(127, 54, 252, 0.08);
}

.im-hero__visual {
	position: relative;
	overflow: visible;
	min-width: 0;
}

.im-hero__glow {
	position: absolute;
	inset: 6% -6% -4% 4%;
	background:
		radial-gradient(circle at 70% 30%, rgba(127, 54, 252, 0.2), transparent 48%),
		radial-gradient(circle at 18% 78%, rgba(0, 209, 169, 0.22), transparent 44%);
	filter: blur(16px);
	z-index: 0;
}

.im-hero-collage {
	position: relative;
	z-index: 1;
	width: 100%;
	min-height: 34rem;
	aspect-ratio: 1 / 1.02;
	max-height: 640px;
}

.im-hero-collage__item {
	position: absolute;
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
	background: var(--idealme-mist);
	box-shadow:
		0 18px 40px rgba(60, 0, 124, 0.14),
		0 2px 0 rgba(255, 255, 255, 0.7) inset;
	border: 3px solid #fff;
	transform-origin: center center;
}

.im-hero-collage__item img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.im-hero-collage__item--1 {
	width: 58%;
	height: 62%;
	top: 18%;
	left: 20%;
	z-index: 2;
	border-radius: 28px;
	transform: rotate(3.2deg);
}

.im-hero-collage__item--2 {
	width: 42%;
	height: 48%;
	top: 0;
	left: 0;
	z-index: 3;
	border-radius: 22px;
	transform: rotate(-8deg);
}

.im-hero-collage__item--3 {
	width: 46%;
	height: 34%;
	left: 6%;
	bottom: 2%;
	z-index: 4;
	border-radius: 20px;
	transform: rotate(-4.5deg);
}

.im-hero-collage__item--4 {
	width: 38%;
	height: 58%;
	top: 8%;
	right: 0;
	z-index: 3;
	border-radius: 26px;
	transform: rotate(7deg);
}

@media (hover: hover) {
	.im-hero-collage__item {
		transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
	}

	.im-hero-collage__item:hover {
		z-index: 6;
		box-shadow: 0 28px 60px rgba(60, 0, 124, 0.2);
	}

	.im-hero-collage__item--1:hover { transform: rotate(2deg) translateY(-8px) scale(1.04); }
	.im-hero-collage__item--2:hover { transform: rotate(-2deg) translateY(-8px) scale(1.04); }
	.im-hero-collage__item--3:hover { transform: rotate(0deg) translateY(-8px) scale(1.04); }
	.im-hero-collage__item--4:hover { transform: rotate(2deg) translateY(-8px) scale(1.04); }
}

.im-hero--overlay {
	padding: 0 0 2.5rem;
}

.im-hero--overlay .im-hero__stage {
	position: relative;
	min-height: min(78vh, 740px);
}

.im-hero--overlay .im-hero__glow {
	inset: 8% 4% 6% 28%;
}

.im-hero--overlay .im-hero-collage {
	position: absolute;
	inset: -6% -10% -10% 12%;
	z-index: 1;
	width: auto;
	min-height: 0;
	max-height: none;
	aspect-ratio: auto;
	pointer-events: none;
}

.im-hero--overlay .im-hero-collage::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 8;
	background: linear-gradient(90deg, rgba(244, 240, 255, 0.72) 0%, rgba(244, 240, 255, 0.28) 34%, transparent 58%);
	pointer-events: none;
}

.im-hero--overlay .im-hero-collage__item--1 {
	width: 52%;
	height: 68%;
	top: 14%;
	left: 26%;
}

.im-hero--overlay .im-hero-collage__item--2 {
	width: 34%;
	height: 50%;
	top: -2%;
	left: 2%;
}

.im-hero--overlay .im-hero-collage__item--3 {
	width: 38%;
	height: 36%;
	left: 10%;
	bottom: 0;
}

.im-hero--overlay .im-hero-collage__item--4 {
	width: 36%;
	height: 66%;
	top: 4%;
	right: -2%;
}

.im-hero--overlay .im-hero__overlay {
	position: relative;
	z-index: 4;
	display: flex;
	align-items: center;
	min-height: min(78vh, 740px);
	padding-block: 4.5rem;
}

.im-hero--overlay .im-hero__copy {
	width: min(38rem, 100%);
	padding: 1.85rem 1.95rem 1.7rem;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 28px;
	box-shadow: 0 28px 70px rgba(60, 0, 124, 0.14);
	backdrop-filter: blur(18px);
}

.im-hero--overlay h1 {
	font-size: clamp(2.05rem, 4vw, 3.35rem);
}

.im-hero--overlay .im-hero__body {
	max-width: none;
}

.im-media {
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: var(--radius-xl);
	background: var(--idealme-mist);
	width: 100%;
	isolation: isolate;
}

.im-media--hero,
.im-media--split,
.im-media--portrait {
	aspect-ratio: 4 / 5;
}

.im-media--hero {
	max-height: 620px;
}

.im-media__img,
.im-media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
}

.im-float-card {
	position: absolute;
	left: -1.25rem;
	bottom: 1.5rem;
	z-index: 3;
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	width: min(280px, calc(100% - 2rem));
	padding: 1rem 1.1rem;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
}

.im-float-card__mark {
	width: 10px;
	height: 10px;
	margin-top: 0.35rem;
	border-radius: 50%;
	background: var(--idealme-cyan);
	flex: 0 0 auto;
}

.im-float-card__kicker {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--idealme-purple);
	margin: 0 0 0.2rem;
}

.im-float-card__title {
	font-family: var(--font-display);
	font-size: 1rem;
	color: var(--text-primary);
	margin: 0 0 0.2rem;
}

.im-float-card__meta {
	font-size: 0.85rem;
	color: var(--text-secondary);
	margin: 0;
}

/* Brand values compass - from the kit diagram */
.im-values {
	padding: var(--space-section) 0;
	position: relative;
	z-index: 1;
	background: var(--idealme-white);
}

.im-values h2 {
	margin-bottom: 1.5rem;
}

.im-compass {
	--compass-outer: 48px;
	--compass-inner: 10px;
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.im-compass__cell {
	position: relative;
	display: flex;
	overflow: hidden;
	isolation: isolate;
	min-height: clamp(220px, 24vw, 290px);
	padding: 1.7rem 1.55rem;
	transition: transform 0.28s var(--ease);
}

.im-compass__copy {
	position: relative;
	z-index: 1;
	max-width: 34ch;
}

.im-compass__cell h3,
.im-compass__hub h3 {
	font-size: clamp(1.15rem, 1.6vw, 1.4rem);
	margin-bottom: 0.65rem;
}

.im-compass__cell p {
	margin: 0;
	font-size: clamp(0.9rem, 1.05vw, 1rem);
	line-height: 1.62;
}

.im-compass__cell::before {
	content: "";
	position: absolute;
	width: 190%;
	height: 190%;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
	background: repeating-radial-gradient(
		circle at center,
		transparent 0 48px,
		rgba(255, 255, 255, 0.16) 48px 51px
	);
}

.im-compass__cell--modern {
	background: var(--idealme-cyan);
	color: var(--idealme-purple-dark);
	border-radius: var(--compass-outer) var(--compass-inner) var(--compass-inner) var(--compass-inner);
	align-items: flex-start;
	justify-content: flex-start;
	padding-right: 22%;
	padding-bottom: 22%;
}

.im-compass__cell--modern h3 {
	color: var(--idealme-purple-dark);
}

.im-compass__cell--modern::before {
	right: 0;
	bottom: 0;
	transform: translate(50%, 50%);
}

.im-compass__cell--trust {
	background: var(--idealme-blue);
	color: var(--idealme-purple-dark);
	border-radius: var(--compass-inner) var(--compass-outer) var(--compass-inner) var(--compass-inner);
	align-items: flex-start;
	justify-content: flex-end;
	text-align: right;
	padding-left: 22%;
	padding-bottom: 22%;
}

.im-compass__cell--trust h3 {
	color: var(--idealme-purple-dark);
}

.im-compass__cell--trust::before {
	left: 0;
	bottom: 0;
	transform: translate(-50%, 50%);
}

.im-compass__cell--growth {
	background: var(--idealme-purple);
	color: rgba(255, 255, 255, 0.94);
	border-radius: var(--compass-inner) var(--compass-inner) var(--compass-inner) var(--compass-outer);
	align-items: flex-end;
	justify-content: flex-start;
	padding-right: 22%;
	padding-top: 22%;
}

.im-compass__cell--growth h3 {
	color: #fff;
}

.im-compass__cell--growth::before {
	right: 0;
	top: 0;
	transform: translate(50%, -50%);
}

.im-compass__cell--confident {
	background: var(--idealme-purple-dark);
	color: rgba(255, 255, 255, 0.92);
	border-radius: var(--compass-inner) var(--compass-inner) var(--compass-outer) var(--compass-inner);
	align-items: flex-end;
	justify-content: flex-end;
	text-align: right;
	padding-left: 22%;
	padding-top: 22%;
}

.im-compass__cell--confident h3 {
	color: #fff;
}

.im-compass__cell--confident::before {
	left: 0;
	top: 0;
	transform: translate(-50%, -50%);
}

.im-compass__hub {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: min(42%, 318px);
	aspect-ratio: 1;
	padding: clamp(1.15rem, 2vw, 1.7rem);
	border-radius: 50%;
	background: var(--idealme-white);
	box-shadow: 0 16px 44px rgba(60, 0, 124, 0.12);
	transform: translate(-50%, -50%);
}

.im-compass__hub .im-compass__copy {
	max-width: 26ch;
}

.im-compass__hub h3 {
	color: var(--idealme-purple-dark);
	font-size: clamp(1.05rem, 1.5vw, 1.3rem);
	margin-bottom: 0.5rem;
}

.im-compass__hub p {
	margin: 0;
	color: var(--text-secondary);
	font-size: clamp(0.76rem, 0.92vw, 0.88rem);
	line-height: 1.5;
}

.im-compass__cell:hover {
	transform: translateY(-3px);
}

/* Icons */
.im-icon {
	display: inline-flex;
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
}

.im-icon svg {
	width: 100%;
	height: 100%;
}

.im-icon--sm {
	width: 32px;
	height: 32px;
}

.im-icon--xs {
	width: 22px;
	height: 22px;
}

/* Partners marquee */
.im-partners {
	padding: 0.35rem 0 2rem;
	text-align: center;
}

.im-eyebrow--center {
	justify-content: center;
}

.im-partners__heading {
	margin: 0 auto 0.85rem;
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--text-secondary);
}

.im-marquee {
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.im-marquee__track {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	width: max-content;
	animation: im-marquee 38s linear infinite;
	padding: 0;
}

.im-marquee:hover .im-marquee__track,
.im-marquee:focus-within .im-marquee__track {
	animation-play-state: paused;
}

.im-marquee__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 148px;
	height: 56px;
	padding: 0.25rem 1.1rem;
}

.im-marquee__item img {
	max-height: 40px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
	filter: none;
}

@keyframes im-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* Sections */
.im-section {
	padding: var(--space-section) 0;
}

.im-section__header {
	margin-bottom: 1.65rem;
	max-width: 38rem;
}

.im-section__header--center {
	margin-inline: auto;
	text-align: center;
}

.im-section__header--split {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 2rem;
	align-items: end;
	max-width: none;
}

.e-con.im-section__header--split,
.e-con.im-section__header--split > .e-con-inner {
	display: grid !important;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 2rem;
	align-items: end;
	width: 100%;
}

.elementor-widget-heading.im-eyebrow {
	margin: 0 0 1rem;
}

.elementor-widget-heading.im-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--idealme-purple);
}

.elementor-widget-heading.im-eyebrow .elementor-heading-title::before {
	content: "";
	width: 18px;
	height: 2px;
	background: var(--idealme-cyan);
	border-radius: 2px;
}

.im-section__header .elementor-heading-title,
.im-audiences .elementor-widget-heading:not(.im-eyebrow) .elementor-heading-title {
	margin: 0;
	color: var(--idealme-purple-dark);
}

.elementor-widget-text-editor.im-section__intro p {
	color: var(--text-secondary);
	margin: 0;
}

.im-section__intro {
	color: var(--text-secondary);
	margin: 0.65rem 0 0;
	font-size: 1rem;
	line-height: 1.65;
	max-width: 36rem;
}

.im-section__footer-cta {
	display: flex;
	justify-content: center;
	margin-top: 1.65rem;
}

.im-section__footer-cta--start {
	justify-content: flex-start;
}

.im-audiences {
	background:
		radial-gradient(circle at 100% 0%, rgba(0, 242, 195, 0.12), transparent 28%),
		linear-gradient(180deg, #f7f4fd 0%, #fff 100%);
}

.im-pathway {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: auto;
	gap: 1rem;
	align-items: stretch;
	counter-reset: none;
}

.im-pathway__row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	min-height: 0;
	height: auto;
	padding: var(--space-card);
	border: 1px solid transparent;
	border-radius: var(--radius-lg);
	background: #fff;
}

.im-pathway__row:last-child {
	border-bottom: 1px solid transparent;
}

.im-pathway__row--1 {
	grid-column: auto;
	grid-row: auto;
	justify-content: flex-start;
	padding: var(--space-card);
	background:
		radial-gradient(circle at 100% 0%, rgba(127, 54, 252, 0.16), transparent 42%),
		linear-gradient(165deg, rgba(60, 0, 124, 0.08), #fff 58%);
	border-color: rgba(60, 0, 124, 0.08);
}

.im-pathway__row--2 {
	grid-column: auto;
	grid-row: auto;
	background: rgba(135, 166, 252, 0.16);
}

.im-pathway__row--3 {
	grid-column: auto;
	grid-row: auto;
	background: rgba(0, 209, 169, 0.12);
}

.im-pathway__row--4 {
	grid-column: 1 / -1;
	grid-row: auto;
	flex-direction: row;
	align-items: center;
	gap: 1.25rem;
	padding: 1.1rem 1.25rem;
	background:
		radial-gradient(circle at 0% 100%, rgba(0, 209, 169, 0.14), transparent 46%),
		linear-gradient(165deg, rgba(135, 166, 252, 0.14), #fff 62%);
	border-color: rgba(60, 0, 124, 0.08);
}

.im-pathway__index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	height: 1.7rem;
	padding: 0 0.55rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--idealme-purple);
}

.im-pathway__row:nth-child(1) .im-pathway__index { color: var(--idealme-purple-dark); }
.im-pathway__row:nth-child(2) .im-pathway__index { color: var(--idealme-purple); }
.im-pathway__row:nth-child(3) .im-pathway__index { color: var(--idealme-cyan); }

.im-pathway__title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0;
}

.im-pathway__title .im-icon {
	width: 2.75rem;
	height: 2.75rem;
	padding: 0.5rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: inset 0 0 0 1px rgba(60, 0, 124, 0.08);
}

.im-pathway__title h3 {
	margin: 0;
}

.im-pathway__row--1 .im-pathway__title h3,
.im-pathway__row--4 .im-pathway__title h3 {
	font-size: 1.125rem;
}

.im-pathway__body {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	width: 100%;
	min-width: 0;
}

.im-pathway__row--4 .im-pathway__body {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1.35rem;
}

.im-pathway__row--4 .im-pathway__title {
	flex: 0 0 auto;
}

.im-pathway__row--4 .im-pathway__body > p {
	flex: 1 1 16rem;
	max-width: 42rem;
	margin: 0;
}

.im-pathway__row--4 .im-pathway__tiles {
	flex: 1 1 18rem;
	margin: 0;
}

.im-pathway__body p {
	max-width: 36rem;
	margin: 0;
}

.im-pathway__tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.im-pathway__tiles li {
	padding: 0.7rem 0.85rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: inset 0 0 0 1px rgba(60, 0, 124, 0.08);
	color: var(--idealme-purple-dark);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
}

.im-pathway__tiles li:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

body.is-home:not(.elementor-editor-active):not(.elementor-editor-preview) .elementor-widget-idealme-expert {
	display: none !important;
}

/* Home-only: workshops/programs cards are not in the brand-kit PDF. Restore via IDEALME_EL_HIDE_HOME_PROGRAMS. */
body.is-home.im-hide-home-programs:not(.elementor-editor-active):not(.elementor-editor-preview) .elementor-widget-idealme-programs,
body.is-home.im-hide-home-programs:not(.elementor-editor-active):not(.elementor-editor-preview) .im-section--hidden {
	display: none !important;
}

.im-pathway__action {
	margin-top: auto;
	padding-top: 0.65rem;
}

/* Impact progression */
.im-impact {
	background:
		radial-gradient(circle at 0% 0%, rgba(135, 166, 252, 0.18), transparent 32%),
		radial-gradient(circle at 100% 80%, rgba(0, 209, 169, 0.1), transparent 28%),
		#fff;
}

.im-impact .im-section__header {
	margin-bottom: 1.75rem;
}

.im-steps {
	--steps-gap: clamp(1.25rem, 2.4vw, 2.25rem);
	--steps-dot: 48px;
	--steps-icon: 40px;
	--steps-icon-gap: 1.35rem;
	--rail-y: calc(var(--steps-icon) + var(--steps-icon-gap) + (var(--steps-dot) / 2));
	--steps-gradient: linear-gradient(
		90deg,
		var(--idealme-purple-dark) 0%,
		var(--idealme-purple) 28%,
		var(--idealme-blue) 52%,
		var(--idealme-cyan) 76%,
		var(--idealme-teal) 100%
	);
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	column-gap: var(--steps-gap);
	position: relative;
}

.im-steps::before,
.e-con.im-steps::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: var(--rail-y);
	left: calc(var(--steps-dot) / 2);
	right: calc(var(--steps-dot) / 2);
	height: 4px;
	border-radius: 999px;
	background: var(--steps-gradient);
	box-shadow: 0 0 18px rgba(127, 54, 252, 0.22);
	pointer-events: none;
}

.e-con.im-steps,
.e-con.im-steps > .e-con-inner {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	column-gap: var(--steps-gap);
	align-items: start;
	width: 100%;
	position: relative;
}

.e-con.im-steps > .elementor-element,
.e-con.im-steps > .e-con-inner > .elementor-element {
	width: auto !important;
	max-width: none !important;
	flex: none !important;
}

.im-steps__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding: 0;
}

.im-steps__icon {
	width: var(--steps-icon);
	height: var(--steps-icon);
	margin-bottom: var(--steps-icon-gap);
}

.im-steps__rail {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: var(--steps-dot);
	margin-bottom: 1.4rem;
}

.im-steps__item.is-linked .im-steps__rail::before,
.im-steps__item:not(:last-child) .im-steps__rail::before {
	content: none;
}

.im-steps__dot {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--steps-dot);
	height: var(--steps-dot);
	border-radius: 50%;
	background: var(--idealme-purple-dark);
	color: #fff;
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	box-shadow: 0 0 0 6px #fff;
}

.im-steps__item.im-steps__item--2 .im-steps__dot,
.im-steps__item:nth-child(2) .im-steps__dot { background: var(--idealme-purple); }
.im-steps__item.im-steps__item--3 .im-steps__dot,
.im-steps__item:nth-child(3) .im-steps__dot { background: var(--idealme-blue); color: var(--idealme-purple-dark); }
.im-steps__item.im-steps__item--4 .im-steps__dot,
.im-steps__item:nth-child(4) .im-steps__dot { background: var(--idealme-cyan); color: var(--idealme-purple-dark); }
.im-steps__item.im-steps__item--5 .im-steps__dot,
.im-steps__item:nth-child(5) .im-steps__dot { background: var(--idealme-teal); color: var(--idealme-purple-dark); }

.im-steps__item h3 {
	font-size: 1.12rem;
	margin: 0 0 0.45rem;
	max-width: 14ch;
}

.im-steps__item p {
	font-size: 0.92rem;
	line-height: 1.6;
	margin: 0;
	max-width: 22ch;
}

/* Photo collage */
.im-collage {
	padding: 0 0 var(--space-section);
}

.im-collage__mosaic {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 0.95fr 1.05fr;
	grid-template-rows: minmax(210px, 26vh) minmax(210px, 26vh);
	gap: 12px;
	min-height: 520px;
}

.im-collage__cell {
	margin: 0;
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--idealme-mist);
}

.im-collage__cell img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.im-collage__cell--1 { grid-column: 1; grid-row: 1 / 3; }
.im-collage__cell--2 { grid-column: 2; grid-row: 1; }
.im-collage__cell--3 { grid-column: 3; grid-row: 1 / 3; }
.im-collage__cell--4 { grid-column: 2; grid-row: 2; }

.im-collage__card {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: min(430px, 88%);
	padding: 1.8rem 1.9rem 1.65rem;
	background: rgba(60, 0, 124, 0.9);
	color: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.im-collage__card h2 {
	color: #fff;
	font-size: clamp(1.55rem, 3vw, 2.1rem);
	margin: 0 0 0.7rem;
}

.im-collage__card p {
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 1.15rem;
	max-width: 36ch;
}

.im-eyebrow--on-dark {
	color: var(--idealme-teal);
}

/* Split */
.im-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.6rem, 4vw, 3.25rem);
	align-items: center;
}

.im-split__copy p {
	max-width: 38rem;
}

.im-split__visual {
	position: relative;
	overflow: visible;
	min-width: 0;
}

.im-float-card--org {
	left: auto;
	right: -1rem;
	bottom: 1.4rem;
}

.im-checks {
	display: grid;
	gap: 0.7rem;
	margin: 1.5rem 0 1.75rem;
}

.im-checks li {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--text-primary);
	font-weight: 500;
}

.im-checks__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(0, 209, 169, 0.16);
	color: var(--idealme-cyan);
	font-size: 0.75rem;
	flex: 0 0 auto;
}

.im-orgs {
	background: #fff;
}

.im-programs {
	background:
		radial-gradient(circle at 0% 100%, rgba(127, 54, 252, 0.08), transparent 30%),
		var(--idealme-canvas);
}

.im-ladder {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: auto;
	gap: 1rem;
	margin-bottom: 0.25rem;
	border: 0;
	align-items: stretch;
}

.im-ladder__row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
	min-height: 0;
	height: 100%;
	padding: var(--space-card);
	border: 0;
	border-radius: var(--radius-lg);
	background: #fff;
}

.im-ladder__row--1 {
	grid-column: auto;
	background:
		radial-gradient(circle at 100% 0%, rgba(135, 166, 252, 0.28), transparent 46%),
		linear-gradient(160deg, rgba(60, 0, 124, 0.08), #fff 62%);
}

.im-ladder__row--2 {
	background: rgba(0, 209, 169, 0.14);
}

.im-ladder__row--3 {
	background: rgba(135, 166, 252, 0.18);
}

.im-ladder__row--4 {
	grid-column: auto;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(60, 0, 124, 0.08);
}

.im-ladder__duration {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--idealme-purple-dark);
}

.im-ladder__row:nth-child(1) .im-ladder__duration { color: var(--idealme-purple-dark); }
.im-ladder__row:nth-child(2) .im-ladder__duration { color: var(--idealme-purple); }
.im-ladder__row:nth-child(3) .im-ladder__duration { color: var(--idealme-purple-dark); }
.im-ladder__row:nth-child(4) .im-ladder__duration { color: var(--idealme-cyan); }

.im-ladder__copy h3 {
	margin-bottom: 0.35rem;
}

.im-ladder__row--1 .im-ladder__copy h3 {
	font-size: 1.125rem;
}

.im-ladder__copy p {
	margin: 0;
	max-width: 40rem;
}

.im-ticker {
	position: relative;
	overflow: hidden;
	padding: 1rem 0;
	background: var(--idealme-purple-dark);
	color: #fff;
}

.im-ticker__track {
	display: flex;
	gap: 2.5rem;
	width: max-content;
	animation: im-marquee 28s linear infinite;
	padding: 0.2rem 0;
}

.im-ticker__track li {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.86);
}

.im-ticker__track li::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 0.75rem;
	border-radius: 50%;
	background: var(--idealme-teal);
	vertical-align: middle;
}

/* Platform */
.im-platform {
	background:
		radial-gradient(circle at 85% 20%, rgba(127, 54, 252, 0.22), transparent 28%),
		linear-gradient(160deg, #2a0058 0%, var(--idealme-purple-dark) 58%, #1a0038 100%);
	color: rgba(255, 255, 255, 0.84);
}

.im-platform h2,
.im-platform .im-eyebrow {
	color: #fff;
}

.im-platform__grid {
	display: grid;
	grid-template-columns: 0.92fr 1.08fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.im-badge {
	display: inline-flex;
	margin: 0 0 1rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: rgba(0, 242, 195, 0.14);
	color: var(--idealme-teal);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.im-platform__note {
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.66);
	margin-bottom: 1.5rem;
}

.im-dashboard {
	background: #fff;
	color: var(--text-secondary);
	border-radius: var(--radius-xl);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.im-dashboard__chrome {
	display: flex;
	gap: 0.4rem;
	padding: 0.9rem 1.1rem;
	background: #f3eefc;
}

.im-dashboard__chrome span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #d9ccee;
}

.im-dashboard__body {
	padding: 1.4rem 1.5rem 1.55rem;
	display: grid;
	gap: 1.15rem;
}

.im-dashboard__hello {
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--idealme-purple);
	margin: 0 0 0.15rem;
}

.im-dashboard__name {
	font-family: var(--font-display);
	font-size: 1.35rem;
	color: var(--idealme-purple-dark);
	margin: 0;
}

.im-dashboard__progress {
	padding: 1rem 1.05rem;
	border-radius: var(--radius-md);
	background: var(--idealme-canvas);
}

.im-dashboard__progress-copy {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 0.7rem;
	color: var(--text-primary);
	font-weight: 600;
}

.im-dashboard__progress-copy strong {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--idealme-purple-dark);
}

.im-progress {
	height: 8px;
	border-radius: 999px;
	background: rgba(60, 0, 124, 0.1);
	overflow: hidden;
}

.im-progress__bar {
	display: block;
	height: 100%;
	width: var(--progress, 0);
	border-radius: inherit;
	background: linear-gradient(90deg, var(--idealme-cyan), var(--idealme-teal));
}

.im-dashboard__label {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0 0 0.7rem;
}

.im-dashboard__tracks,
.im-dashboard__recs {
	display: grid;
	gap: 0.5rem;
}

.im-dashboard__tracks li,
.im-dashboard__recs li {
	padding: 0.7rem 0.85rem;
	border-radius: 10px;
	background: var(--idealme-canvas);
	color: var(--text-primary);
	font-weight: 500;
}

.im-dashboard__tracks .is-active {
	background: rgba(127, 54, 252, 0.1);
	color: var(--idealme-purple-dark);
	box-shadow: inset 0 0 0 1px rgba(127, 54, 252, 0.25);
}

.im-dashboard__recs li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

/* Expert */
.im-expert {
	background: #fff;
}

.im-portrait-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 460px;
	border-radius: var(--radius-xl);
	background:
		radial-gradient(circle at 30% 20%, rgba(127, 54, 252, 0.35), transparent 40%),
		linear-gradient(180deg, #5a14b0, var(--idealme-purple-dark));
	color: rgba(255, 255, 255, 0.78);
	text-align: center;
	padding: 2rem;
}

.im-portrait-placeholder img {
	width: 88px;
	opacity: 0.9;
}

.im-expert__name {
	font-family: var(--font-display);
	font-size: 1.7rem;
	color: var(--idealme-purple-dark);
	margin: 0.2rem 0 0.15rem;
}

.im-expert__role {
	color: var(--text-muted);
	font-size: 0.95rem;
	margin-bottom: 1rem;
}

.im-expert__areas-label {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--idealme-purple);
	margin: 1.25rem 0 0.7rem;
}

.im-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.im-pills li {
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	background: var(--idealme-canvas);
	color: var(--idealme-purple-dark);
	font-size: 0.88rem;
	font-weight: 500;
}

/* CTA */
.im-cta {
	background:
		radial-gradient(circle at 85% 20%, rgba(127, 54, 252, 0.45), transparent 28%),
		radial-gradient(circle at 10% 90%, rgba(0, 209, 169, 0.18), transparent 26%),
		var(--idealme-purple-dark);
	color: rgba(255, 255, 255, 0.82);
	padding: 3.25rem 0;
	position: relative;
	overflow: hidden;
}

.im-cta::after {
	content: "";
	position: absolute;
	right: -4rem;
	top: -5rem;
	width: 18rem;
	height: 18rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 242, 195, 0.22), transparent 68%);
	pointer-events: none;
}

.im-cta h2 {
	color: #fff;
	max-width: 16ch;
}

.im-cta__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

/* Footer */
.im-footer {
	padding: 3.15rem 0 1.35rem;
	background: #fbfaff;
	border-top: 1px solid var(--border);
}

.im-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2rem;
	padding-bottom: 2.5rem;
}

.im-footer__brand p {
	max-width: 28rem;
	margin-top: 1rem;
}

.im-footer__label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--idealme-purple-dark);
	margin: 0 0 0.9rem;
}

.im-footer-nav {
	display: grid;
	gap: 0.55rem;
}

.im-footer-nav a {
	color: var(--text-secondary);
	text-decoration: none;
}

.im-footer-nav a:hover {
	color: var(--idealme-purple);
}

.im-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border);
	color: var(--text-muted);
	font-size: 0.88rem;
}

/* Interior */
.im-page-hero {
	padding: 3.25rem 0 2rem;
	background:
		radial-gradient(circle at 90% 10%, rgba(135, 166, 252, 0.28), transparent 30%),
		radial-gradient(circle at 8% 80%, rgba(0, 209, 169, 0.12), transparent 26%),
		var(--idealme-canvas);
}

.im-page-hero__inner {
	max-width: 44rem;
}

.im-page-hero--center {
	text-align: center;
	padding-bottom: 3.5rem;
}

.im-page-hero--center .im-page-hero__inner {
	margin-inline: auto;
}

.im-lede {
	font-size: 1.15rem;
	max-width: 40rem;
}

.im-prose-wrap {
	padding: 2.5rem 0 4rem;
}

.im-prose {
	max-width: 42rem;
}

.im-prose h2,
.im-prose h3 {
	margin-top: 2rem;
}

.im-prose ul,
.im-prose ol {
	padding-left: 1.2rem;
	margin: 0 0 1.2rem;
	list-style: disc;
}

.im-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.im-contact-grid li {
	padding: 1.15rem 1.2rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: #fff;
}

.im-contact-panel {
	padding-top: 0;
}

/* Reveal */
.im-reveal.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

body.idealme-el-site:not(.elementor-editor-preview):not(.elementor-editor-active) .im-reveal:not(.is-visible) {
	opacity: 0;
	transform: translateY(18px);
}

/* Responsive */
@media (max-width: 1100px) {
	.im-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.im-compass__hub {
		width: min(46%, 280px);
		padding: 1.15rem 1.05rem;
	}

	.im-steps,
	.e-con.im-steps,
	.e-con.im-steps > .e-con-inner {
		grid-template-columns: 1fr;
		row-gap: 0;
	}

	.im-steps__item {
		display: grid;
		grid-template-columns: var(--steps-dot) minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		column-gap: 1.25rem;
		padding: 0 0 2rem;
	}

	.im-steps__icon {
		grid-column: 2;
		margin-bottom: 0.65rem;
	}

	.im-steps__rail {
		grid-column: 1;
		grid-row: 1 / span 3;
		width: var(--steps-dot);
		height: auto;
		margin-bottom: 0;
		align-items: flex-start;
		justify-content: flex-start;
	}

	.im-steps::before,
	.e-con.im-steps::before {
		top: var(--steps-icon);
		bottom: 1.25rem;
		left: calc(var(--steps-dot) / 2);
		right: auto;
		width: 4px;
		height: auto;
		transform: none;
		background: linear-gradient(
			180deg,
			var(--idealme-purple-dark) 0%,
			var(--idealme-purple) 28%,
			var(--idealme-blue) 52%,
			var(--idealme-cyan) 76%,
			var(--idealme-teal) 100%
		);
	}

	.im-steps__item.is-linked .im-steps__rail::before,
	.im-steps__item:not(:last-child) .im-steps__rail::before {
		content: none;
	}

	.im-steps__item h3,
	.im-steps__item p {
		grid-column: 2;
		max-width: none;
	}

	.im-steps__item:last-child {
		padding-bottom: 0;
	}
}

@media (max-width: 900px) {
	.im-collage__mosaic {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 190px 190px auto;
		min-height: 0;
	}

	.im-collage__cell--1 { grid-column: 1; grid-row: 1; }
	.im-collage__cell--2 { grid-column: 2; grid-row: 1; }
	.im-collage__cell--3 { grid-column: 1; grid-row: 2; }
	.im-collage__cell--4 { grid-column: 2; grid-row: 2; }

	.im-collage__card {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		width: 100%;
		grid-column: 1 / -1;
		grid-row: 3;
	}

	.im-nav-toggle {
		display: inline-flex;
	}

	.im-header__cta {
		display: none;
	}

	.im-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		background: #fff;
		padding: 1.5rem 1.25rem 2rem;
		transform: translateY(-12px);
		opacity: 0;
		pointer-events: none;
		visibility: hidden;
		transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
		overflow: auto;
	}

	.im-nav.is-open {
		opacity: 1;
		transform: none;
		pointer-events: auto;
		visibility: visible;
	}

	.im-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.1rem;
	}

	.im-nav a {
		font-size: 1.2rem;
	}

	.im-nav__mobile-cta {
		display: block;
		margin-top: 1.5rem;
	}

	.im-hero__grid,
	.im-split,
	.im-section__header--split,
	.e-con.im-section__header--split,
	.e-con.im-section__header--split > .e-con-inner,
	.im-platform__grid,
	.im-cta__inner {
		grid-template-columns: 1fr;
	}

	.im-hero-collage {
		max-width: 28rem;
		min-height: 26rem;
		max-height: 28rem;
		margin-inline: auto;
		aspect-ratio: 1;
	}

	.im-hero--overlay .im-hero__stage {
		min-height: 0;
	}

	.im-hero--overlay .im-hero-collage {
		position: relative;
		inset: auto;
		width: calc(100% + 2.5rem);
		max-width: none;
		min-height: 22rem;
		max-height: 24rem;
		height: 22rem;
		margin: 0 -1.25rem;
		aspect-ratio: auto;
	}

	.im-hero--overlay .im-hero-collage::after {
		background: linear-gradient(180deg, transparent 35%, rgba(244, 240, 255, 0.55) 100%);
	}

	.im-hero--overlay .im-hero__overlay {
		min-height: 0;
		padding: 0 0 1.5rem;
		margin-top: -5.25rem;
	}

	.im-hero--overlay .im-hero__copy {
		width: 100%;
	}

	.im-ladder {
		grid-template-columns: 1fr;
	}

	.im-ladder__row--1,
	.im-ladder__row--4 {
		grid-column: auto;
	}

	.im-pathway {
		grid-template-columns: 1fr 1fr;
	}

	.im-pathway__row--1,
	.im-pathway__row--2,
	.im-pathway__row--3 {
		grid-column: auto;
		grid-row: auto;
	}

	.im-pathway__row--4 {
		grid-column: 1 / -1;
		flex-direction: column;
		align-items: flex-start;
	}

	.im-pathway__row--4 .im-pathway__body {
		flex-direction: column;
		align-items: flex-start;
	}

	.im-pathway__action {
		padding-top: 0.35rem;
	}

	.im-cta__inner,
	.im-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.im-media--hero,
	.im-media--split,
	.im-media--portrait {
		aspect-ratio: 4 / 3;
		max-height: none;
	}

	.im-float-card,
	.im-float-card--org {
		left: 1rem;
		right: auto;
		bottom: 1rem;
	}

	.im-contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 780px) {
	.im-compass {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.im-compass__hub {
		position: relative;
		left: auto;
		top: auto;
		order: -1;
		width: 100%;
		aspect-ratio: auto;
		padding: 1.6rem 1.4rem;
		border-radius: 28px;
		transform: none;
		box-shadow: none;
		border: 1px solid var(--border);
	}

	.im-compass__hub .im-compass__copy {
		max-width: 46ch;
	}

	.im-compass__hub h3 {
		font-size: 1.25rem;
	}

	.im-compass__hub p {
		font-size: 0.98rem;
		line-height: 1.62;
	}

	.im-compass__cell {
		min-height: 0;
		padding: 1.7rem 1.5rem !important;
		border-radius: 24px !important;
		text-align: left !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
	}

	.im-compass__copy {
		max-width: none;
	}

	.im-compass__cell::before {
		width: 160%;
		height: 160%;
		right: auto;
		left: auto;
		top: auto;
		bottom: auto;
		transform: none;
		inset: auto -40% -55% auto;
	}
}

@media (max-width: 640px) {
	.im-container {
		width: min(var(--container-width), calc(100% - 1.5rem));
	}

	.im-pathway {
		grid-template-columns: 1fr;
	}

	.im-pathway__row--1,
	.im-pathway__row--2,
	.im-pathway__row--3,
	.im-pathway__row--4 {
		grid-column: auto;
		grid-row: auto;
		order: 0;
		flex-direction: column;
		align-items: flex-start;
	}

	.im-pathway__row--4 .im-pathway__body {
		flex-direction: column;
		align-items: flex-start;
	}

	.im-footer__grid {
		grid-template-columns: 1fr;
	}

	.im-hero__actions,
	.im-btn {
		width: 100%;
	}

	.im-nav-toggle__label {
		display: none;
	}

	.im-header,
	.im-header__inner {
		height: var(--header-h);
	}

	.im-logo-lockup {
		height: 32px;
		max-width: 160px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.im-reveal,
	.im-compass__cell,
	.im-btn,
	.im-btn__arrow {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}

	.im-hero-collage__item {
		transition: none !important;
	}

	.im-marquee__track,
	.im-ticker__track {
		animation: none;
		flex-wrap: wrap;
		width: auto;
		justify-content: center;
	}
}
