/*
 * The front page, after the Main mockup. `.page` is the size container, so cqi and @container page work as there.
 *
 * House rule: an element with a border-radius gets a border or ring on all four sides or on none. Selected states
 * use a fill or a text color.
 */

.ccc26--home {
	--home-tint: #E6E2F7;
	--home-accent-dark: #3C249E;
	--home-on-dark: #AEA1E5;
}

/* Shared: section heads with a title on the left and a lead on the right, and stacked sections. */

.home-stack {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.home-stack--40 {
	gap: 40px;
}

.home-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 40px;
}

.home-head__title {
	max-width: 640px;
}

.home-head__title--620 {
	max-width: 620px;
}

.home-head__lead {
	max-width: 460px;
}

.home-head__lead--440 {
	max-width: 440px;
}

/* ---------------------------------------------------------------------------------------------------------------
 * Hero: the copy on the left, the big scene on the right, the cloud bank over the foot of the scene.
 * ------------------------------------------------------------------------------------------------------------- */

/* 40px taller than the mockup: there the cloud bank's sparkle and blueberry ran into the last line of the copy. */
.home-hero {
	min-height: max(940px, calc(720px + 15cqi));
}

/* No stacking context here, so the cloud bank (z 2) can pass over the scene (z 1) and under the copy (z 4). */
.home-hero .sky__inner {
	z-index: auto;
	padding-top: calc(var(--header-h) + clamp(28px, 6cqi, 86px));
	padding-bottom: 0;
}

.home-hero .sky__clouds--bank {
	z-index: 2;
}

.home-hero__copy {
	position: relative;
	z-index: 4;
	max-width: 760px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 26px;
}

.home-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.62);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
	color: #26304D;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 150ms ease;
}

.home-hero__badge:hover {
	color: #26304D;
	background: rgba(255, 255, 255, 0.85);
}

.home-hero__badge-tag {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--accent);
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.home-hero__title {
	font-size: clamp(44px, 5.3cqi, 78px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.025em;
}

.home-hero__title em {
	display: block;
	font-style: italic;
	font-weight: 500;
	color: var(--accent);
}

.home-hero__lead {
	max-width: 580px;
	font-size: clamp(17px, 1.35cqi, 20px);
	line-height: 1.55;
	color: #3F4966;
}

.home-hero__ctas {
	align-items: center;
	width: 100%;
}

.home-hero__ctas .btn-p {
	padding: 0 22px 0 26px;
}

.home-hero__ctas .btn-s {
	padding: 0 22px;
}

.home-hero__ctas .icon--play {
	stroke-width: 1.8;
}

.home-hero__ctas .icon--chevron {
	stroke-width: 2.4;
}

.home-hero__proof {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: var(--ink-2);
}

.home-hero__proof li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.home-hero__proof .icon {
	flex: none;
	color: var(--ink);
	stroke-width: 1.8;
}

.home-hero__proof strong,
.home-hero__proof a {
	color: var(--ink);
	font-weight: 700;
}

.home-hero__proof a:hover {
	color: var(--accent);
}

.home-hero__scene {
	position: absolute;
	top: 92px;
	right: 0;
	width: min(900px, 63%);
}

.home-hero__scene img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
}

.home-hero__chip {
	position: absolute;
	z-index: 3;
	left: 36%;
	top: 84%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 18px 10px 10px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 0 0 1px rgba(29, 41, 63, 0.06), 0 20px 40px -18px rgba(45, 32, 110, 0.45);
	white-space: nowrap;
}

.home-hero__chip-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #E6DFFF;
	color: var(--accent);
}

.home-hero__chip-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.home-hero__chip-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
}

.home-hero__chip-detail {
	font-size: 13px;
	color: var(--ink-2);
}

/* Between the phone layout and 1360px the mockup's copy ran over the plum of the scene; keep them apart. */
@container page (min-width: 901px) and (max-width: 1359px) {
	.home-hero__copy {
		max-width: 47cqi;
	}

	.home-hero__scene {
		width: 58%;
	}
}

@container page (min-width: 901px) and (max-width: 1050px) {
	.home-hero__chip-detail {
		display: none;
	}
}

@container page (max-width: 900px) {
	.home-hero {
		min-height: 0;
	}

	.home-hero .sky__inner {
		padding-bottom: 20px;
	}

	/* As wide as in the mockup: 118% of the page, pulled 12% past its left edge. */
	.home-hero__scene {
		position: relative;
		top: auto;
		right: auto;
		width: 118cqi;
		margin: 4px 0 0 calc(-12cqi - clamp(20px, 4cqi, 56px));
	}

	.home-hero__chip {
		left: 20%;
		top: 80%;
	}
}

@container page (max-width: 560px) {
	.home-hero__chip {
		left: 6%;
		top: 84%;
	}

	.home-hero__chip-detail {
		display: none;
	}

	.home-hero__ctas > a,
	.home-cta__btns > a {
		flex: 1 1 100%;
	}
}

/* ---------------------------------------------------------------------------------------------------------------
 * #demo: steps and the embed code on the left, the live calculator in a browser frame on the right.
 * ------------------------------------------------------------------------------------------------------------- */

.home-demo {
	padding: clamp(56px, 7cqi, 104px) 0 clamp(72px, 9cqi, 120px);
}

.home-demo__wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(40px, 5cqi, 72px);
}

.home-demo__intro {
	flex: 1 1 400px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/*
 * Side by side, the live calculator is far taller than the steps, so the steps and the code stay in view beside it.
 * home.js sets --home-intro-top so a column taller than the window sticks by its foot instead of losing it.
 */
@container page (min-width: 1100px) {
	.home-demo__intro {
		position: sticky;
		top: var(--home-intro-top, 24px);
	}
}

.home-demo__live {
	flex: 1 1 540px;
	min-width: 0;
	max-width: 640px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.home-steps {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-steps li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.home-steps__n {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: var(--home-tint);
	color: var(--home-accent-dark);
	font-size: 15px;
	font-weight: 800;
}

.home-steps__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.home-steps__text strong {
	font-size: 17px;
	color: var(--ink);
}

.home-steps__text span {
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink-2);
}

.home-embed {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(16px, 2.2cqi, 22px);
	border-radius: 26px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(29, 41, 63, 0.06), 0 30px 60px -40px rgba(45, 32, 110, 0.4);
}

.home-embed__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.home-pill {
	min-height: 40px;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	background: #F3F0FB;
	box-shadow: inset 0 0 0 1px rgba(29, 41, 63, 0.08);
	color: #2E3754;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 150ms ease, color 150ms ease;
}

.home-pill:hover {
	background: #EAE5FA;
}

.home-pill[aria-pressed='true'] {
	background: var(--accent);
	box-shadow: none;
	color: #FFFFFF;
}

.home-embed__code {
	margin: 0;
	padding: 18px 20px;
	border-radius: 18px;
	background: #1E1A4D;
	color: #EAE6FF;
	font-family: var(--mono);
	font-size: 13.5px;
	line-height: 1.75;
	white-space: pre;
	overflow-x: auto;
}

.home-embed__code code {
	font: inherit;
}

.home-embed__code .tok-t {
	color: #B9A8FF;
}

.home-embed__code .tok-a {
	color: #8FD3FF;
}

.home-embed__code .tok-v {
	color: #FFD58A;
}

.home-embed__code .tok-c {
	color: #A49ED0;
}

.home-embed__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.home-embed__hint {
	flex: 1 1 260px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink-2);
}

.home-embed__hint a {
	font-weight: 700;
	white-space: nowrap;
}

.home-copy {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 150ms ease, color 150ms ease;
}

.home-copy:hover {
	background: var(--accent-hover);
}

.home-copy .icon {
	stroke-width: 2;
}

.home-copy.is-copied {
	background: #E3F5EC;
	color: #1C5E43;
}

/* The two result modes, in the place of the mockup's mode switch. They explain; they do not switch. */
.home-modes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 4px;
	margin: 0;
	padding: 5px;
	list-style: none;
	border-radius: 26px;
	background: #ECE7FF;
}

.home-mode {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 21px;
}

.home-mode--on {
	background: #FFFFFF;
	box-shadow: 0 1px 2px rgba(29, 41, 63, 0.12), 0 6px 14px -6px rgba(45, 32, 110, 0.3);
}

.home-mode__icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: var(--home-tint);
	color: var(--home-accent-dark);
}

.home-mode--on .home-mode__icon {
	background: var(--accent);
	color: #FFFFFF;
}

.home-mode__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.home-mode__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
}

.home-mode__tag {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--home-tint);
	color: var(--home-accent-dark);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.home-mode__text {
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--ink-2);
}

.home-browser {
	border-radius: 26px;
	overflow: hidden;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(29, 41, 63, 0.08), 0 44px 90px -46px rgba(45, 32, 110, 0.5);
}

.home-browser__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: #EEE9FF;
}

.home-browser__dots {
	display: flex;
	gap: 6px;
}

.home-browser__dots span {
	width: 11px;
	height: 11px;
	border-radius: 99px;
	background: #FF9DB6;
}

.home-browser__dots span:nth-child(2) {
	background: #FFD98C;
}

.home-browser__dots span:nth-child(3) {
	background: #9FDDAF;
}

.home-browser__url {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #FFFFFF;
	color: var(--ink-2);
	font-size: 13px;
	white-space: nowrap;
}

.home-browser__url .icon {
	flex: none;
	stroke-width: 2.2;
}

.home-browser__url span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.home-browser__page {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(16px, 2.4cqi, 28px);
	background: #FBFAFF;
}

.home-browser__site {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.home-browser__name {
	font-family: var(--serif);
	font-variation-settings: 'SOFT' 100, 'WONK' 0;
	font-size: 18px;
	font-weight: 650;
	color: var(--ink);
}

.home-browser__nav {
	display: flex;
	gap: 8px;
}

.home-browser__nav span {
	width: 44px;
	height: 9px;
	border-radius: 9px;
	background: #E3DEF7;
}

.home-browser__nav span:nth-child(2) {
	width: 36px;
}

.home-browser__nav span:nth-child(3) {
	width: 52px;
}

/* About the height the Soft calculator takes at that width, measured on staging (1503px side by side at 1440). */
.home-browser__widget {
	--home-widget-h: 1300px;
	position: relative;
	min-width: 0;
}

@container page (min-width: 1100px) {
	.home-browser__widget {
		--home-widget-h: 1500px;
	}
}

@container page (max-width: 600px) {
	.home-browser__widget {
		--home-widget-h: 1850px;
	}
}

/* Until the widget's script fills its box, a quiet placeholder of that height holds the place. */
.home-browser__loading {
	display: none;
}

.home-browser__widget:has(> .calorie-cloud-widget:empty) .home-browser__loading {
	display: block;
	min-height: var(--home-widget-h);
	padding: 120px 24px 24px;
	border-radius: 28px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(29, 41, 63, 0.06);
	color: var(--ink-3);
	font-size: 15px;
	text-align: center;
}

.home-browser__widget:has(> .calorie-cloud-widget:empty) .home-browser__loading.is-failed {
	min-height: 0;
	padding: 40px 24px;
}

.home-browser__loading a {
	font-weight: 700;
}

.home-browser__note {
	padding: 24px;
	border-radius: 24px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(29, 41, 63, 0.06);
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.55;
}

.home-browser__note a {
	font-weight: 700;
}

.home-demo__caption {
	text-align: center;
	font-size: 13px;
	line-height: 1.5;
	color: #5D6684;
}

/* ---------------------------------------------------------------------------------------------------------------
 * #paths: embed or a landing page.
 * ------------------------------------------------------------------------------------------------------------- */

.home-paths {
	padding: 0 0 clamp(72px, 9cqi, 120px);
}

.home-paths__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
	gap: 20px;
}

.home-path {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(22px, 3cqi, 40px);
	border-radius: 30px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(29, 41, 63, 0.05), 0 40px 80px -48px rgba(45, 32, 110, 0.4);
}

.home-path--landing {
	background: #E9E2FF;
	box-shadow: none;
}

.home-path__art {
	display: block;
	align-self: center;
	width: 100%;
	max-width: 440px;
	height: auto;
}

.home-path__art--landing {
	max-width: 400px;
}

.home-path__title {
	font-size: clamp(28px, 2.6cqi, 36px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.015em;
}

.home-path__title em {
	font-style: italic;
	font-weight: 500;
	color: var(--accent);
}

.home-path__text {
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink-2);
}

.home-path--landing .home-path__text,
.home-path__note {
	color: #3F4966;
}

.home-checks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	color: var(--ink);
}

.home-checks li {
	display: flex;
	gap: 10px;
}

.home-checks .icon {
	flex: none;
	color: var(--accent);
	stroke-width: 2.4;
}

.home-path__btn {
	align-self: flex-start;
	margin-top: auto;
}

.home-path__foot {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.home-path__note {
	font-size: 14px;
}

/* ---------------------------------------------------------------------------------------------------------------
 * #platforms: 40 chips, the ones with a guide page ringed and linked.
 * ------------------------------------------------------------------------------------------------------------- */

.home-platforms {
	background: #EEE9FF;
	padding: clamp(64px, 8cqi, 112px) 0;
}

.home-platforms__wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(32px, 5cqi, 72px);
}

.home-platforms__intro {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.home-platforms__art {
	display: block;
	width: min(100%, 280px);
	height: auto;
}

.home-platforms__list {
	flex: 2 1 560px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.home-plats {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(172px, 100%), 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-plats.is-collapsed .home-plats__item--more {
	display: none;
}

.home-plats__item {
	min-width: 0;
}

.home-plat {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 8px 12px 8px 8px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.7);
	color: var(--ink);
	text-decoration: none;
}

.home-plat--guide {
	background: #FFFFFF;
	box-shadow: 0 0 0 1.5px var(--accent);
	transition: box-shadow 150ms ease;
}

.home-plat--guide:hover {
	color: var(--ink);
	box-shadow: 0 0 0 2.5px var(--accent);
}

.home-plat__initial {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: #E6DFFF;
	font-family: var(--serif);
	font-variation-settings: 'SOFT' 100, 'WONK' 0;
	font-size: 15px;
	font-weight: 700;
}

.home-plat__initial--1 {
	background: #DCEBFC;
}

.home-plat__initial--2 {
	background: #F3E1FB;
}

.home-plat__initial--3 {
	background: #FFF0C9;
}

.home-plat__name {
	flex: 1;
	min-width: 0;
	font-size: 15px;
	font-weight: 600;
}

.home-plat--guide .home-plat__name {
	font-weight: 700;
}

.home-plat .icon {
	flex: none;
	color: var(--accent);
	stroke-width: 2.4;
}

.home-plats__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(29, 41, 63, 0.12);
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.home-plats__toggle[hidden] {
	display: none;
}

.home-plats__toggle .icon {
	stroke-width: 2.4;
	transition: transform 150ms ease;
}

.home-plats__toggle[aria-expanded='true'] .icon {
	transform: rotate(180deg);
}

/* ---------------------------------------------------------------------------------------------------------------
 * Integrations: six tools in two rows of three, the two built-in outputs in a row of two.
 * ------------------------------------------------------------------------------------------------------------- */

.home-leads {
	padding: clamp(72px, 9cqi, 120px) 0;
}

.home-leads__wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(40px, 6cqi, 88px);
}

.home-leads__intro {
	flex: 1 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.home-leads__art {
	display: block;
	width: min(100%, 520px);
	height: auto;
}

.home-tools {
	flex: 1 1 520px;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	border-radius: 26px;
	background: rgba(29, 41, 63, 0.08);
	box-shadow: 0 0 0 1px rgba(29, 41, 63, 0.08);
}

.home-tool {
	grid-column: span 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 128px;
	padding: 24px 16px;
	background: #FFFFFF;
	text-align: center;
}

.home-tool--built {
	grid-column: span 3;
	background: #FBFAFF;
}

.home-tool__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	color: var(--ink);
	font-family: var(--serif);
	font-variation-settings: 'SOFT' 100, 'WONK' 0;
	font-size: 21px;
	font-weight: 700;
}

.home-tool__mark .icon {
	stroke-width: 1.9;
}

.home-tool__mark--mailchimp {
	background: #FFEFB8;
}

.home-tool__mark--hubspot {
	background: #FFDCCB;
}

.home-tool__mark--zapier {
	background: #FFE3C7;
}

.home-tool__mark--kit {
	background: #F3E1FB;
}

.home-tool__mark--make {
	background: #E6DFFF;
}

.home-tool__mark--activecampaign {
	background: #DCEBFC;
}

/* Letter tiles of the brands brand-icons.php has no mark for: a pale tint of the brand color with the letter in it,
 * as ccc26_brand_logo() draws the others (Klaviyo's charcoal #232426; MailerLite's green #09C269, darkened for the
 * letter to stay readable). */
.home-tool__mark--klaviyo {
	background: #E0E0E1;
	color: #232426;
}

.home-tool__mark--mailerlite {
	background: #DDF6EA;
	color: #067A42;
}

.home-tool__mark--entries {
	background: #E3F5EC;
	color: #1C5E43;
}

.home-tool__mark--results {
	background: #E6DFFF;
	color: var(--accent);
}

.home-tool__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.home-tool__text strong {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 6px;
	font-size: 15px;
	color: var(--ink);
}

.home-tool__text > span {
	font-size: 12px;
	color: #5D6684;
}

@container page (max-width: 600px) {
	.home-tools {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-tool,
	.home-tool--built {
		grid-column: span 1;
	}

	/* Nine tools leave the last of them beside the first built-in tile: the second one takes the whole row. */
	.home-tool--built:last-child {
		grid-column: span 2;
	}
}

/* ---------------------------------------------------------------------------------------------------------------
 * Make it yours: six settings.
 * ------------------------------------------------------------------------------------------------------------- */

.home-settings {
	padding: 0 0 clamp(72px, 9cqi, 120px);
}

.home-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-feature {
	display: flex;
	gap: 16px;
	padding: 22px;
	border-radius: 22px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(29, 41, 63, 0.05);
}

.home-feature__icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--home-tint);
	color: var(--home-accent-dark);
}

.home-feature__icon .icon {
	stroke-width: 1.9;
}

.home-feature__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.home-feature__text strong {
	font-size: 17px;
	color: var(--ink);
}

.home-feature__text span {
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink-2);
}

/* New in December: the features of 2026-12-04 in a tinted panel under the settings, smaller tiles of the same kind. */

.home-new {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: clamp(20px, 3cqi, 36px);
	border-radius: 28px;
	background: #ECE7FF;
}

.home-new__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}

.home-new__tag {
	padding: 5px 12px;
	font-size: 12px;
}

.ccc26 .home-new__title {
	font-size: clamp(24px, 2.3cqi, 32px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.home-new__title em {
	font-style: italic;
	font-weight: 500;
	color: var(--accent);
}

.home-new__lead {
	flex: 1 1 100%;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-2);
}

.home-new__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-new__item {
	display: flex;
	gap: 14px;
	padding: 18px;
	border-radius: 20px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(29, 41, 63, 0.05);
}

.home-new__icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 13px;
	background: var(--home-tint);
	color: var(--home-accent-dark);
}

.home-new__icon .icon {
	stroke-width: 1.9;
}

.home-new__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.home-new__text strong {
	font-size: 16px;
	color: var(--ink);
}

.home-new__text span {
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--ink-2);
}

/* ---------------------------------------------------------------------------------------------------------------
 * #styles: the night band with a card per style demo.
 * ------------------------------------------------------------------------------------------------------------- */

.home-styles {
	position: relative;
	overflow: hidden;
	background: #1B1747;
	padding: clamp(72px, 9cqi, 120px) 0;
}

.home-styles__stars {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: #CFC8FF;
	pointer-events: none;
}

.home-styles__wrap {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(40px, 6cqi, 80px);
}

.home-styles__intro {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.ccc26 .home-styles h2 {
	color: #F7F5FF;
}

.home-styles .h2 em {
	color: var(--home-on-dark);
}

.home-styles__lead {
	font-size: 18px;
	line-height: 1.6;
	color: #CBC6EC;
}

.home-styles__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
	color: #F7F5FF;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 150ms ease;
}

.ccc26 .home-styles__cta:hover {
	color: #FFFFFF;
	background: rgba(255, 255, 255, 0.16);
}

.home-styles__cta .icon {
	stroke-width: 2.4;
}

.home-styles a:focus-visible {
	outline-color: rgba(207, 200, 255, 0.8);
}

.home-style-grid {
	flex: 1.5 1 560px;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(196px, 100%), 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-style {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 12px 12px 16px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
	text-decoration: none;
	transition: background-color 150ms ease;
}

.home-style:hover {
	background: rgba(255, 255, 255, 0.11);
}

.home-style__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	padding: 0 4px;
}

.home-style__name {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	color: #F7F5FF;
}

.home-style__new,
.home-new-tag {
	padding: 2px 8px;
	border-radius: 999px;
	background: #FFD58A;
	color: #1B1747;
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.45;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.home-style__demo {
	flex: none;
	font-size: 13px;
	font-weight: 700;
	color: #CFC8FF;
}

.home-style__sum {
	padding: 0 4px;
	font-size: 13px;
	line-height: 1.45;
	color: #B7B1DE;
}

/* The little pictures: shapes only, after the mockup (Soft drawn in the same manner). */
.home-style__preview {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 132px;
	padding: 16px;
	overflow: hidden;
	border-radius: 16px;
	background: #FFFFFF;
}

.home-style__preview > span,
.home-style__preview span span {
	display: block;
}

.sp-title {
	width: 60%;
	height: 8px;
	border-radius: 8px;
	background: #2D3650;
}

.sp-field {
	height: 18px;
	border-radius: 6px;
	box-shadow: inset 0 0 0 1.5px #D9D6E8;
}

.sp-btn {
	margin-top: auto;
	height: 22px;
	border-radius: 6px;
	background: var(--accent);
}

/* Soft: rounded chips and a big number. */
.home-style__preview--soft {
	gap: 10px;
	padding: 14px;
}

.home-style__preview--soft .sp-title {
	width: 55%;
}

.home-style__preview .sp-chips {
	display: flex;
	gap: 6px;
}

.sp-chip {
	width: 22%;
	height: 18px;
	border-radius: 99px;
	background: #F1EEFB;
}

.sp-chip--on {
	width: 30%;
	background: var(--accent);
}

.home-style__preview .sp-result {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	margin-top: auto;
	height: 46px;
	padding: 0 12px;
	border-radius: 14px;
	background: var(--home-tint);
}

.sp-big {
	width: 46%;
	height: 14px;
	border-radius: 7px;
	background: #1D293F;
}

.sp-small {
	width: 26%;
	height: 6px;
	border-radius: 6px;
	background: #9A90D6;
}

/* Fresh: a colored band and round fields. */
.home-style__preview--fresh {
	padding: 0 0 14px;
}

.sp-band {
	height: 34px;
	background: var(--home-tint);
}

.home-style__preview .sp-row {
	display: flex;
	gap: 6px;
	padding: 0 14px;
}

.sp-pill {
	flex: 1;
	height: 18px;
	border-radius: 99px;
	background: #F1EEFB;
}

.sp-pill--wide {
	flex: none;
	margin: 0 14px;
}

.home-style__preview--fresh .sp-btn {
	margin: auto 14px 0;
	border-radius: 99px;
}

/* Blocks: a grid of solid blocks. */
.home-style__preview--block {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	padding: 14px;
}

.sp-cell {
	border-radius: 10px;
	background: #F1EEFB;
}

.sp-cell--tint {
	background: var(--home-tint);
}

/* Modern: labels beside fields, a dark button. */
.home-style__preview--modern {
	padding: 14px;
}

.home-style__preview .sp-line {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sp-label {
	width: 34%;
	height: 8px;
	border-radius: 8px;
	background: #2D3650;
}

.sp-input {
	flex: 1;
	height: 18px;
	border-radius: 8px;
	background: #F1EEFB;
}

.home-style__preview--modern .sp-btn {
	border-radius: 8px;
	background: #1D293F;
}

/* Minimal: rules and a text link. */
.home-style__preview--minimal {
	gap: 12px;
}

.home-style__preview--minimal .sp-title {
	width: 50%;
}

.sp-rule {
	height: 2px;
	margin-top: 10px;
	background: #D9D6E8;
}

.sp-link {
	margin-top: auto;
	width: 40%;
	height: 8px;
	border-radius: 8px;
	background: var(--accent);
}

/* ---------------------------------------------------------------------------------------------------------------
 * Made for.
 * ------------------------------------------------------------------------------------------------------------- */

.home-for {
	padding: clamp(72px, 9cqi, 120px) 0;
}

.home-for__head {
	flex: 1 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.home-for__head .lead {
	max-width: 560px;
}

.home-for__art {
	display: block;
	width: min(100%, 250px);
	height: auto;
}

.home-for__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-for__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 168px;
	padding: 26px;
	border-radius: 26px;
	background: #E9E2FF;
}

.home-for__card--2 {
	background: #DFEBFD;
}

.home-for__card--3 {
	background: #F4E4FC;
}

.home-for__card--4 {
	background: #FFF1CC;
}

.home-for__card--5 {
	background: #E2F4EB;
}

.home-for__card--6 {
	background: #E4E8FF;
}

.home-for__card h3 {
	font-size: 23px;
	font-weight: 600;
	line-height: 1.15;
}

.home-for__card p {
	font-size: 16px;
	line-height: 1.55;
	color: #3F4966;
}

/* ---------------------------------------------------------------------------------------------------------------
 * Proof: the one review of this product, and the plugin family's numbers, labelled as theirs.
 * ------------------------------------------------------------------------------------------------------------- */

.home-proof {
	background: #EEE9FF;
	padding: clamp(72px, 9cqi, 120px) 0;
}

.home-proof__wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: clamp(24px, 4cqi, 48px);
}

.home-quote {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	margin: 0;
	padding: clamp(26px, 3.4cqi, 44px);
	border-radius: 30px;
	background: #FFFFFF;
	box-shadow: 0 40px 80px -50px rgba(45, 32, 110, 0.45);
}

.home-quote__stars {
	display: flex;
	gap: 4px;
}

.home-quote__text {
	font-family: var(--serif);
	font-variation-settings: 'SOFT' 100, 'WONK' 0;
	font-size: clamp(26px, 2.6cqi, 36px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--ink);
}

.home-quote__by {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 15px;
	color: var(--ink-2);
}

.home-quote__by strong {
	font-size: 16px;
	color: var(--ink);
}

.home-proof__family {
	flex: 1 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.home-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
	gap: 22px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-stats li {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.home-stats__n {
	font-family: var(--serif);
	font-variation-settings: 'SOFT' 100, 'WONK' 0;
	font-size: clamp(40px, 4cqi, 52px);
	font-weight: 600;
	line-height: 1;
	color: var(--ink);
}

.home-stats__n--accent {
	color: var(--accent);
}

.home-stats__l {
	font-size: 15px;
	line-height: 1.45;
	color: var(--ink-2);
}

/* ---------------------------------------------------------------------------------------------------------------
 * #pricing: the three yearly plans, prices from WooCommerce.
 * ------------------------------------------------------------------------------------------------------------- */

.home-pricing {
	padding: clamp(72px, 9cqi, 120px) 0;
}

.home-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	align-items: stretch;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-plan {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 30px;
	border-radius: 28px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(29, 41, 63, 0.06);
}

.home-plan--featured {
	background: var(--accent);
	box-shadow: 0 40px 70px -36px var(--accent-shadow);
}

.home-plan__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.home-plan__name {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.home-plan__name strong {
	font-family: var(--serif);
	font-variation-settings: 'SOFT' 100, 'WONK' 0;
	font-size: 26px;
	font-weight: 600;
	color: var(--ink);
}

.home-plan__name span {
	font-size: 15px;
	color: var(--ink-2);
}

.home-plan__tag {
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 800;
}

.home-plan__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.home-plan__amount {
	font-family: var(--serif);
	font-variation-settings: 'SOFT' 100, 'WONK' 0;
	font-size: 52px;
	font-weight: 600;
	line-height: 1;
	color: var(--ink);
}

.home-plan__per {
	font-size: 16px;
	font-weight: 600;
	color: var(--ink-2);
}

.home-plan__first {
	align-self: flex-start;
	padding: 6px 12px;
	border-radius: 999px;
	background: #F1EDFF;
	color: #3F2AA8;
	font-size: 14px;
	font-weight: 700;
}

.home-plan__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	color: var(--ink);
}

.home-plan__list li {
	display: flex;
	gap: 10px;
}

.home-plan__list .icon {
	flex: none;
	color: var(--accent);
	stroke-width: 2.4;
}

.home-plan__list .is-off {
	color: #5D6684;
}

.home-plan__list .is-off .icon {
	color: #8C93AD;
}

.ccc26 .home-plan__btn {
	margin-top: auto;
	background: #F1EDFF;
	box-shadow: none;
}

.ccc26 .home-plan__btn:hover {
	background: #E6DFFF;
}

.home-plan--featured .home-plan__name strong,
.home-plan--featured .home-plan__amount,
.home-plan--featured .home-plan__list,
.home-plan--featured .home-plan__list .icon {
	color: #FFFFFF;
}

.home-plan--featured .home-plan__name span,
.home-plan--featured .home-plan__per {
	color: rgba(255, 255, 255, 0.85);
}

.home-plan--featured .home-plan__first {
	background: rgba(255, 255, 255, 0.16);
	color: #FFFFFF;
}

.ccc26 .home-plan__btn--light {
	background: #FFFFFF;
	color: var(--ink);
	font-weight: 700;
}

.ccc26 .home-plan__btn--light:hover {
	background: #F1EDFF;
}

.home-plan--featured a:focus-visible {
	outline-color: rgba(255, 255, 255, 0.85);
}

.home-plan__btn[aria-disabled='true'] {
	opacity: 0.55;
	pointer-events: none;
}

.home-plans__notice {
	text-align: center;
	font-size: 15px;
	color: var(--ink-2);
}

.home-plans__notice a {
	font-weight: 700;
}

.home-plans__more {
	align-self: center;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.home-plans__more .icon {
	stroke-width: 2.4;
}

/* ---------------------------------------------------------------------------------------------------------------
 * FAQ and the closing call.
 * ------------------------------------------------------------------------------------------------------------- */

.home-faq {
	padding: 0 0 clamp(72px, 9cqi, 120px);
}

.home-faq__wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(32px, 5cqi, 72px);
}

.home-faq__intro {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.home-faq__art {
	display: block;
	width: min(100%, 260px);
	height: auto;
}

.home-faq__list {
	flex: 2 1 560px;
	min-width: 0;
}

.home-faq__list summary {
	font-size: 17px;
}

.home-cta .cta-band__inner {
	max-width: 880px;
	padding-top: clamp(80px, 9cqi, 128px);
}

.home-cta .h2 {
	max-width: 800px;
}

.home-cta .lead {
	max-width: 560px;
}

.home-cta__btns {
	justify-content: center;
}

.home-cta .cta-band__art {
	margin-top: clamp(12px, 3cqi, 40px);
}

/* Brand logos in the platform and integration tiles (inc/icons.php ccc26_brand_logo()). */
.home-plat__initial.home-plat__logo,
.home-tool__mark.home-tool__logo {
	background: var(--brand-bg);
}

.brand-logo svg {
	display: block;
}
