/*
 * Home page sections (redesign, SC-3771).
 *
 * Loaded only on pages whose content uses these classes. Colours come from
 * the site's palette, its gradients and the brand values its style variation
 * sets under settings.custom.brand, so each microsite's home can use the same
 * components in its own brand.
 */

/* The fallbacks are Sideconvo's. "fill" carries white text; "text" is the
   brand colour that reads on white. On :root, where WordPress puts the
   presets, so the editor's canvas and its HTML block previews get them too. */
:root {
	--saas-hm-fill: var(--wp--custom--brand--fill, var(--wp--preset--color--primary));
	--saas-hm-text: var(--wp--preset--color--primary-text, var(--wp--preset--color--primary));
	--saas-hm-tint: var(--wp--custom--brand--tint, var(--wp--preset--color--tint));
	--saas-hm-tint-soft: var(--wp--custom--brand--tint-soft, #FBF7FF);
	--saas-hm-line: var(--wp--custom--brand--line, #D9CCFD);
	--saas-hm-rule: var(--wp--custom--brand--rule, var(--wp--preset--color--ink));
	--saas-hm-light-text: var(--wp--custom--brand--light-text, var(--wp--preset--color--ink));
	/* Space above and below every section's content, so the gap between
	   any two sections is the same; smaller on phones (see the end). */
	--saas-hm-space: 72px;
}

.saas-hm-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 32px;
}

/* ---------------------------------------------------------------- sections */

.saas-landing > .saas-hm-section {
	margin: 0;
	padding: var(--saas-hm-space) 0;
}
.saas-hm-section.is-surface {
	background: var(--wp--preset--color--surface);
}
.saas-hm-section.is-base {
	background: var(--wp--preset--color--base);
}
.saas-hm-section > .saas-hm-wrap {
	display: flex;
	flex-direction: column;
	gap: 36px;
}
.saas-hm-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px 24px;
}
.saas-hm-head-text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 720px;
}
.saas-hm-head > *,
.saas-hm-head-text > * {
	margin: 0 !important;
}
.saas-hm-eyebrow {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--saas-hm-text);
}
h2.saas-hm-h2 {
	margin: 0;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--ink);
}
h2.saas-hm-h2.is-small {
	font-size: 40px;
	line-height: 1.15;
}
.saas-hm-videos h2.saas-hm-h2.is-small {
	font-weight: 600;
	letter-spacing: -0.5px;
}
.saas-hm-sub {
	max-width: 58ch;
	font-size: 18px;
	line-height: 1.6;
	color: var(--wp--preset--color--ink-muted);
}
.saas-hm-more a {
	font-weight: 700;
	color: var(--saas-hm-text);
	text-decoration: none;
}
.saas-hm-more a:hover {
	color: var(--wp--preset--color--accent);
}

/* -------------------------------------------------------------------- grids */

.saas-hm-grid-2,
.saas-hm-grid-3,
.saas-hm-grid-4 {
	display: grid;
	gap: 20px;
	align-items: stretch;
}
.saas-hm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.saas-hm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.saas-hm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.saas-hm-grid-2 > *,
.saas-hm-grid-3 > *,
.saas-hm-grid-4 > * {
	margin: 0 !important;
}

/* -------------------------------------------------------------------- cards */

.saas-hm-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 32px;
	border-radius: 28px;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
}
.saas-hm-card > * {
	margin: 0 !important;
}
.saas-hm-card.is-surface {
	gap: 14px;
	border-radius: 24px;
	background: var(--wp--preset--color--surface);
}
.saas-hm-card.is-primary {
	gap: 14px;
	border-radius: 24px;
	border-color: transparent;
	background: var(--saas-hm-fill);
	color: var(--wp--preset--color--white);
}
.saas-hm-card.is-primary :is(h2, h3, p) {
	color: var(--wp--preset--color--white);
}
.saas-hm-lift {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.saas-hm-lift:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(20, 12, 60, 0.12);
}
/* Cards in an itxi-stagger grid take motion.css's slower reveal transition;
   once they are in, they lift as quickly as anywhere else. */
.itxi-motion .itxi-stagger.itxi-done > .saas-hm-lift,
.itxi-motion .itxi-stagger.itxi-done > .wp-block-post-template > .wp-block-post {
	transition-duration: 0.25s;
}
:is(h2, h3).saas-hm-h3 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--wp--preset--color--ink);
}
:is(h2, h3).saas-hm-h3.is-small {
	font-size: 22px;
}
:is(h2, h3).saas-hm-h3.is-xsmall {
	font-size: 19px;
}
.saas-hm-card p,
.saas-hm-text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--wp--preset--color--ink-muted);
}

/* App cards: icon, badge, checks, actions. */
.saas-hm-app-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.saas-hm-app-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 20px;
	background: var(--saas-hm-tint);
}
.saas-hm-app-icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}
.saas-hm-badge {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--saas-hm-text);
}
ul.saas-hm-checks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.saas-hm-checks li {
	display: flex;
	gap: 10px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--wp--preset--color--ink-muted);
}
ul.saas-hm-checks li::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	background: var(--saas-hm-text);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Button, then the "Learn more" link under it, at the foot of the card:
   cards in a row keep their buttons on one line whatever the button text. */
.saas-hm-card .saas-hm-actions {
	flex-direction: column;
	align-items: flex-start;
	margin-top: auto !important;
	padding-top: 8px;
	gap: 12px;
}

/* "Everywhere else" strip. */
.saas-hm-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 28px;
	padding: 22px 28px;
	border-radius: 22px;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
}
.saas-hm-strip > * {
	margin: 0 !important;
}
.saas-hm-strip > p {
	font-size: 16px;
	font-weight: 700;
	color: var(--wp--preset--color--ink);
}
.saas-hm-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
}
.saas-hm-logos a,
.saas-hm-logos span {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}
.saas-hm-logos img {
	height: 20px;
	width: auto;
}

/* Steps: a paragraph in a card, so it must outweigh ".saas-hm-card p". */
p.saas-hm-step-num {
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
	color: var(--saas-hm-text);
}
.saas-hm-card.is-primary .saas-hm-step-num {
	color: var(--wp--preset--color--white);
}
.saas-hm-code {
	display: block;
	margin-top: 6px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 13px;
	color: var(--wp--preset--color--white);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Use cases: a small chat exchange above each card. */
.saas-hm-uc-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
	border-radius: 24px;
	background: var(--wp--preset--color--base);
}
.saas-hm-uc-card > * {
	margin: 0 !important;
}
.saas-hm-uc-card h3.saas-hm-h3 {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
}
.saas-hm-uc-card .saas-hm-text {
	font-size: 15px;
}
.saas-hm-chat {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 18px !important;
}
.saas-hm-chat p {
	margin: 0;
	max-width: 88%;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--wp--preset--color--ink);
}
.saas-hm-chat .is-question {
	align-self: flex-end;
	border-radius: 16px 16px 4px 16px;
	background: #F3F4F6;
}
.saas-hm-chat .is-answer-row {
	display: flex;
	align-items: flex-end;
	gap: 8px;
}
.saas-hm-chat .is-answer-row img {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
}
.saas-hm-chat .is-answer {
	border-radius: 16px 16px 16px 4px;
	background: var(--saas-hm-tint);
}
.saas-hm-for {
	font-size: 14px;
	font-weight: 500;
	color: var(--wp--preset--color--neutral);
}
.saas-hm-note {
	max-width: 72ch;
	padding-top: 24px;
	border-top: 1px solid var(--wp--preset--color--line);
	font-size: 16px;
	line-height: 1.6;
	color: var(--wp--preset--color--ink-muted);
}
.saas-hm-note strong {
	font-weight: 600;
	color: var(--wp--preset--color--ink);
}
/* Sideconvo's "Chat or Talk" block under the use cases. */
.saas-hm-voice-choice {
	margin-top: 56px;
}

/* Why: four ruled items. */
.saas-hm-rule {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 20px;
	border-top: 2px solid var(--saas-hm-rule);
}
.saas-hm-rule > * {
	margin: 0 !important;
}
.saas-hm-rule p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--wp--preset--color--ink-muted);
}

/* ------------------------------------------------------------------ buttons */

/* Same weight as the default button rules in shared.css; this file loads
   after it, so these win without !important. */

.wp-block-button[class*="saas-hm-btn"] > .wp-block-button__link.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 26px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.wp-block-button.saas-hm-btn-light > .wp-block-button__link.wp-element-button {
	background: var(--wp--preset--color--white);
	color: var(--saas-hm-light-text);
	border: 0;
}
.wp-block-button.saas-hm-btn-light > .wp-block-button__link.wp-element-button:hover,
.wp-block-button.saas-hm-btn-light > .wp-block-button__link.wp-element-button:focus-visible {
	background: var(--saas-hm-tint);
	color: var(--saas-hm-light-text);
}
.wp-block-button.saas-hm-btn-ghost > .wp-block-button__link.wp-element-button {
	background: transparent;
	color: var(--wp--preset--color--white);
	border: 1px solid rgba(255, 255, 255, 0.28);
}
.wp-block-button.saas-hm-btn-ghost > .wp-block-button__link.wp-element-button:hover,
.wp-block-button.saas-hm-btn-ghost > .wp-block-button__link.wp-element-button:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	color: var(--wp--preset--color--white);
}
.wp-block-button.saas-hm-btn-primary > .wp-block-button__link.wp-element-button {
	padding: 13px 20px;
	font-size: 15px;
	background: var(--saas-hm-fill);
	color: var(--wp--preset--color--white);
	border: 0;
}
.wp-block-button.saas-hm-btn-primary > .wp-block-button__link.wp-element-button:hover,
.wp-block-button.saas-hm-btn-primary > .wp-block-button__link.wp-element-button:focus-visible {
	background: var(--wp--preset--color--accent);
}
.wp-block-button.saas-hm-btn-outline > .wp-block-button__link.wp-element-button {
	background: transparent;
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--ink);
}
.wp-block-button.saas-hm-btn-outline > .wp-block-button__link.wp-element-button:hover,
.wp-block-button.saas-hm-btn-outline > .wp-block-button__link.wp-element-button:focus-visible {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}
.wp-block-button.saas-hm-btn-link > .wp-block-button__link.wp-element-button,
.wp-block-button.saas-hm-btn-link > .wp-block-button__link.wp-element-button:hover,
.wp-block-button.saas-hm-btn-link > .wp-block-button__link.wp-element-button:focus-visible {
	padding: 0;
	font-size: 15px;
	background: none;
	color: var(--saas-hm-text);
	border: 0;
}
.wp-block-button.saas-hm-btn-link > .wp-block-button__link.wp-element-button:hover {
	text-decoration: underline;
}
/* The Sideconvo "try it" button (saas/interactive-button, as on the
   production home): the light hero button, led by the animated Sideconvo
   mark instead of an icon. A <button> when it opens Sideconvo, a link
   otherwise. Outranks the block's own .wp-block-saas-interactive-button a. */
.saas-hm-hero .wp-block-saas-interactive-button > :is(a, button) {
	justify-content: center;
	border: 0;
	font-family: inherit;
	cursor: pointer;
	gap: 10px;
	padding: 11px 26px 11px 14px;
	border-radius: 999px;
	background: var(--wp--preset--color--white);
	color: var(--saas-hm-light-text);
	transition: background-color 0.2s ease;
}
.saas-hm-hero .wp-block-saas-interactive-button > :is(a, button) span {
	font-size: 16px;
	font-weight: 700;
	line-height: 28px;
}
.saas-hm-hero .wp-block-saas-interactive-button > :is(a, button):hover,
.saas-hm-hero .wp-block-saas-interactive-button > :is(a, button):focus-visible {
	background: var(--saas-hm-tint);
}

/* --------------------------------------------------------------------- hero */

.saas-landing > :is(div, main).saas-hm-hero.wp-block-group.has-background:first-of-type:not(.swt-block-post-banner-group),
.saas-landing > .saas-hm-hero {
	padding: 168px 0 64px !important;
	color: var(--wp--preset--color--white);
}
/* The lower part of the band is the next section's colour, so the product
   shot runs into it. */
.saas-hm-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 220px;
	background: var(--wp--preset--color--surface);
	z-index: -1;
}
.saas-hm-hero.is-on-base::after {
	background: var(--wp--preset--color--base);
}
.saas-hm-hero-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	max-width: 900px;
	margin-inline: auto;
	text-align: center;
}
.saas-hm-hero-col > * {
	margin: 0 !important;
}
.saas-hm-hero h1 {
	color: var(--wp--preset--color--white);
}
/* The accent words of a hero title read as plain text (the highlight bar
   behind them was dropped in review). On a voice product (is-voice) they
   end in a small sound wave, still for visitors who turn motion off. */
mark.saas-hm-accent {
	color: inherit;
	background: none;
}
mark.saas-hm-accent.is-voice::after {
	content: "";
	margin-left: 0.16em;
	padding: 0 0.42em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 30'%3E%3Cg fill='white'%3E%3Crect x='0' y='11' width='4' height='8' rx='2'%3E%3Canimate attributeName='height' values='8;30;8' dur='1.1s' begin='0s' repeatCount='indefinite'/%3E%3Canimate attributeName='y' values='11;0;11' dur='1.1s' begin='0s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='7.5' y='11' width='4' height='8' rx='2'%3E%3Canimate attributeName='height' values='8;30;8' dur='1.1s' begin='0.15s' repeatCount='indefinite'/%3E%3Canimate attributeName='y' values='11;0;11' dur='1.1s' begin='0.15s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='15' y='11' width='4' height='8' rx='2'%3E%3Canimate attributeName='height' values='8;30;8' dur='1.1s' begin='0.3s' repeatCount='indefinite'/%3E%3Canimate attributeName='y' values='11;0;11' dur='1.1s' begin='0.3s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='22.5' y='11' width='4' height='8' rx='2'%3E%3Canimate attributeName='height' values='8;30;8' dur='1.1s' begin='0.45s' repeatCount='indefinite'/%3E%3Canimate attributeName='y' values='11;0;11' dur='1.1s' begin='0.45s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='30' y='11' width='4' height='8' rx='2'%3E%3Canimate attributeName='height' values='8;30;8' dur='1.1s' begin='0.6s' repeatCount='indefinite'/%3E%3Canimate attributeName='y' values='11;0;11' dur='1.1s' begin='0.6s' repeatCount='indefinite'/%3E%3C/rect%3E%3C/g%3E%3C/svg%3E") center / 0.84em 0.62em no-repeat;
}
@media (prefers-reduced-motion: reduce) {
	mark.saas-hm-accent.is-voice::after {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 30'%3E%3Cg fill='white'%3E%3Crect x='0' y='10' width='4' height='10' rx='2'/%3E%3Crect x='7.5' y='4' width='4' height='22' rx='2'/%3E%3Crect x='15' y='0' width='4' height='30' rx='2'/%3E%3Crect x='22.5' y='6' width='4' height='18' rx='2'/%3E%3Crect x='30' y='9' width='4' height='12' rx='2'/%3E%3C/g%3E%3C/svg%3E");
	}
}
.saas-hm-lead {
	max-width: 58ch;
	font-size: 20px;
	line-height: 1.55;
	color: var(--wp--preset--color--white);
}
.saas-hm-hero .wp-block-buttons {
	justify-content: center;
	gap: 12px;
	margin-top: 8px !important;
}
.saas-hm-trust {
	font-size: 14px;
	color: var(--wp--preset--color--white);
}
.saas-hm-trust a {
	font-weight: 700;
	color: var(--wp--preset--color--white);
	text-decoration: none;
}
.saas-hm-shot {
	position: relative;
	max-width: 1040px;
	margin: 64px auto 0;
}
.saas-hm-shot > * {
	margin: 0 !important;
}
.saas-hm-shot .wp-block-image {
	padding: 8px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 50px 120px rgba(10, 10, 40, 0.35);
}
.saas-hm-shot .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
	background: var(--wp--preset--color--white);
}
.saas-hm-float {
	position: absolute !important;
	right: -32px;
	bottom: 72px;
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 330px;
	padding: 16px 20px 16px 16px;
	border-radius: 20px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	text-align: left;
	box-shadow: 0 24px 60px rgba(14, 11, 31, 0.35);
}
.saas-hm-float img {
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
}
.saas-hm-float p {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;
}
.saas-hm-float p + p {
	margin-top: 6px;
	font-size: 12px;
	font-weight: 400;
	color: var(--wp--preset--color--ink-muted);
}
.saas-hm-bars {
	display: flex;
	align-items: center;
	gap: 3px;
	height: 18px;
	margin-bottom: 6px;
}
.saas-hm-bars span {
	width: 3px;
	height: 18px;
	border-radius: 2px;
	background: var(--saas-hm-text);
	transform-origin: center;
	animation: saas-hm-wave 1.1s ease-in-out infinite;
}
.saas-hm-bars span:nth-child(2) { animation-delay: 0.15s; }
.saas-hm-bars span:nth-child(3) { animation-delay: 0.3s; }
.saas-hm-bars span:nth-child(4) { animation-delay: 0.45s; }
.saas-hm-bars span:nth-child(5) { animation-delay: 0.6s; }
.saas-hm-bars span:nth-child(6) { animation-delay: 0.75s; }
.saas-hm-bars span:nth-child(7) { animation-delay: 0.9s; }
@keyframes saas-hm-wave {
	0%, 100% { transform: scaleY(0.35); }
	50% { transform: scaleY(1); }
}

/* ------------------------------------------------------------ logo strip */

/* Customers' logos right under the hero: a heading, then the Gallery
   block's "Customer logos" (assets/css/customer-logos.css). The band is grey like
   the videos after it, so a thin rule keeps the two apart. */
.saas-landing > .saas-hm-logo-strip {
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.saas-hm-logo-strip > .saas-hm-wrap {
	gap: 32px;
}
h2.saas-hm-logo-title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-align: center;
	color: var(--wp--preset--color--ink);
}
.saas-hm-logo-strip .wp-block-gallery {
	margin: 0;
}
@media (max-width: 600px) {
	h2.saas-hm-logo-title {
		font-size: 22px;
	}
}

/* ------------------------------------------------------------- video row */

/* A size container, so a caption can take the width of a closed tile. */
.saas-hm-vrow {
	display: flex;
	gap: 8px;
	height: 560px;
	container-type: inline-size;
}
@media (min-width: 1377px) {
	.saas-hm-vrow {
		margin-inline: -88px;
	}
}
.saas-hm-vtile {
	position: relative;
	flex: 1 0 0;
	min-width: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #140C2F;
	color: var(--wp--preset--color--white);
	text-decoration: none;
	transition: flex 0.35s ease;
}
/* The middle tile stands open until the pointer enters the row or a tile
   takes keyboard focus. */
.saas-hm-vtile:hover,
.saas-hm-vtile:focus-visible,
.saas-hm-vrow:not(:hover, :has(> .saas-hm-vtile:focus-visible)) > .saas-hm-vtile:nth-child(2) {
	flex: 0 0 55%;
	color: var(--wp--preset--color--white);
}
.saas-hm-vtile:focus-visible {
	outline: 3px solid var(--saas-hm-text);
	outline-offset: 3px;
}
.saas-hm-vimg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 100% 50%;
	transition: object-position 0.35s ease;
}
.saas-hm-vpan .saas-hm-vimg {
	object-position: 35% 50%;
}
.saas-hm-vpan:hover .saas-hm-vimg,
.saas-hm-vpan:focus-visible .saas-hm-vimg {
	object-position: 0 50%;
}
.saas-hm-vtile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(188deg, rgba(58, 61, 59, 0) 28%, #1F1F1F 94%);
	pointer-events: none;
}
.saas-hm-vcard {
	position: absolute;
	top: 100px;
	left: 40px;
	z-index: 1;
	box-sizing: border-box;
	width: 400px;
	padding: 10px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.17);
	border: 1px solid rgba(255, 255, 255, 0.4);
	opacity: 0;
	transition: opacity 0.35s ease;
}
.saas-hm-vcard img {
	display: block;
	width: 100%;
	height: 253px;
	object-fit: cover;
	object-position: top;
	border-radius: 8px;
	background: var(--wp--preset--color--white);
}
.saas-hm-vtile:hover .saas-hm-vcard,
.saas-hm-vtile:focus-visible .saas-hm-vcard,
.saas-hm-vrow:not(:hover, :has(> .saas-hm-vtile:focus-visible)) > .saas-hm-vtile:nth-child(2) .saas-hm-vcard {
	opacity: 1;
}
.saas-hm-vplay,
.saas-hm-vmplay {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.47);
}
.saas-hm-vplay {
	position: absolute;
	top: 50%;
	right: -48px;
	width: 96px;
	height: 96px;
	margin-top: -48px;
}
.saas-hm-vmplay {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
}
.saas-hm-vplay::before,
.saas-hm-vmplay::before {
	content: "";
	width: 34px;
	height: 34px;
	background: var(--wp--preset--color--white);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Every caption is as wide as a closed tile (two closed tiles and their
   gaps share the 45% the open one leaves), so its lines stay put when the
   tile opens and the three captions line up. */
.saas-hm-vcap {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	box-sizing: border-box;
	width: calc((45cqw - 16px) / 2);
	margin: 0;
	padding: 0 28px 28px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.85);
}
.saas-hm-vcap > * {
	display: block;
}
.saas-hm-vcap strong {
	margin: 2px 0 4px;
	font-size: clamp(18px, 2.3cqw, 32px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	white-space: nowrap;
	color: var(--wp--preset--color--white);
}
@media (max-width: 960px) {
	.saas-hm-vcap {
		padding: 0 20px 20px;
		font-size: 14px;
	}
}

/* -------------------------------------------------------------- dashboard */

.saas-hm-dash {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
	gap: 40px;
	align-items: center;
}
.saas-hm-tabs {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.saas-hm-tab {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 20px 22px;
	border-radius: 20px;
	border: 1px solid transparent;
	background: transparent;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.saas-hm-tab:hover {
	background: var(--saas-hm-tint);
}
.saas-hm-tab[aria-selected="true"],
.saas-hm-tab.is-active {
	background: var(--wp--preset--color--base);
	border-color: var(--saas-hm-line);
	box-shadow: 0 12px 30px color-mix(in srgb, var(--saas-hm-fill) 12%, transparent);
}
.saas-hm-tab:focus-visible {
	outline: 3px solid var(--saas-hm-text);
	outline-offset: 2px;
}
.saas-hm-tab .is-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--saas-hm-text);
}
.saas-hm-tab .is-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--wp--preset--color--ink);
}
.saas-hm-tab .is-text {
	font-size: 15px;
	line-height: 1.55;
	color: var(--wp--preset--color--ink-muted);
}
.saas-hm-screen {
	overflow: hidden;
	border-radius: 24px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 30px 70px rgba(20, 12, 60, 0.14);
}
.saas-hm-screen img {
	display: block;
	width: 100%;
	height: auto;
}
/* Phones and tablets: an accordion (home.js), each feature's screen opens
   right under it. */
.saas-hm-dash.is-accordion .saas-hm-screen {
	margin: 4px 0 12px;
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(20, 12, 60, 0.12);
	animation: saas-hm-open 0.35s ease both;
}
.saas-hm-dash.is-accordion .saas-hm-tab {
	position: relative;
	padding-right: 52px;
}
.saas-hm-dash.is-accordion .saas-hm-tab::after {
	content: "";
	position: absolute;
	top: 24px;
	right: 22px;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--saas-hm-text);
	border-bottom: 2px solid var(--saas-hm-text);
	transform: rotate(45deg);
	transition: transform 0.25s ease;
}
.saas-hm-dash.is-accordion .saas-hm-tab.is-active::after {
	top: 28px;
	transform: rotate(-135deg);
}
@keyframes saas-hm-open {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}

/* Compare table (rows beyond the first groups hidden until asked). */
.saas-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ------------------------------------------------------------------ plans */

/* The pricing plans block, compact (SC-3888). Its container pads itself for a
   page of its own; inside a section the section's gutters and spacing apply,
   and the three cards keep one row. */
.saas-hm-section .wp-block-swf-pricing-plans .pricing-plans-container {
	padding: 0;
}

/* Pricing page FAQ: questions written as Details blocks (Certme, which has
   no FAQ plugin) as cards that open in place. */
.saas-hm-faq-items {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.saas-hm-faq-items > * {
	margin: 0 !important;
}
details.saas-hm-faq-item {
	padding: 16px 20px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	background: var(--wp--preset--color--base);
}
/* Sized like the FAQ plugin's questions on the other sites. */
details.saas-hm-faq-item summary {
	font-size: 15px;
	font-weight: 500;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
}
details.saas-hm-faq-item[open] summary {
	color: var(--saas-hm-text);
}
/* Answers carried over from the old homes also hold lists and screenshots. */
details.saas-hm-faq-item > :is(p, ul, ol, figure) {
	margin: 12px 0 0;
	font-size: 14.5px;
	line-height: 1.75;
	color: var(--wp--preset--color--ink-muted);
}

/* --------------------------------------------------- compatible + agency */

.saas-landing > .saas-hm-two-section {
	padding-top: 0;
}
.saas-hm-panel {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 40px;
	border-radius: 28px;
	background: var(--wp--preset--color--surface);
}
.saas-hm-panel > * {
	margin: 0 !important;
}
.saas-hm-panel h2 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0;
	color: var(--wp--preset--color--ink);
}
.saas-hm-panel p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--wp--preset--color--ink-muted);
}
.saas-hm-panel.is-gradient {
	background: var(--wp--preset--gradient--primary);
}
.saas-hm-panel.is-gradient :is(h2, p) {
	color: var(--wp--preset--color--white);
}
.saas-hm-panel .wp-block-button__link {
	padding: 13px 22px !important;
}

/* ------------------------------------------------------------------ blog */

.saas-hm-posts .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.saas-hm-posts .wp-block-post {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 14px 14px 24px;
	border-radius: 24px;
	background: var(--wp--preset--color--base);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.saas-hm-posts .wp-block-post:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(20, 12, 60, 0.12);
}
.saas-hm-posts .wp-block-post > * {
	margin: 0 !important;
}
.saas-hm-posts .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 16px;
}
.saas-hm-posts .saas-cover-fallback {
	border-radius: 16px;
}
.saas-hm-posts .wp-block-post-terms,
.saas-hm-posts .wp-block-post-title,
.saas-hm-posts .wp-block-post-excerpt,
.saas-hm-posts .wp-block-post-date {
	padding-inline: 10px;
}
.saas-hm-posts .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 15px;
	line-height: 1.55;
	color: var(--wp--preset--color--ink-muted);
}
.saas-hm-posts .wp-block-post-date {
	margin-top: auto !important;
	font-size: 13px;
	color: var(--wp--preset--color--ink-muted);
}
.saas-hm-posts .wp-block-post-terms {
	font-size: 13px;
	font-weight: 700;
}
.saas-hm-posts .wp-block-post-terms a {
	color: var(--saas-hm-text);
	text-decoration: none;
}
.saas-hm-posts h3.wp-block-post-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
}
.saas-hm-posts .wp-block-post-title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

/* ------------------------------------------------------------------- faq */

.saas-hm-faq-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	border-radius: 24px;
	border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--base);
}
.saas-hm-faq-card > * {
	margin: 0 !important;
}
.saas-hm-faq-card h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
}
.saas-hm-faq-card h3 a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}
.saas-hm-faq-card h3 a::after {
	/* The whole card is the link. */
	content: "";
	position: absolute;
	inset: 0;
}
.saas-hm-faq-card {
	position: relative;
}
.saas-hm-faq-card p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--wp--preset--color--ink-muted);
}

/* The FAQ centre, as on the production home: the FAQ plugin's hero with its
   search, then its category cards, in the home's look. The search hangs
   half out of the gradient panel. */
.saas-hm-faq-hero {
	position: relative;
	margin-bottom: 28px;
	border-radius: 28px;
	background: var(--wp--preset--gradient--primary);
}
.saas-hm-faq-hero > * {
	margin: 0 !important;
}
.saas-hm-faq-hero .page-hero {
	padding: 64px 32px 88px;
}
.saas-hm-faq-hero .hero-label,
.saas-hm-faq-hero .search-input {
	font-family: inherit;
}
.saas-hm-faq-hero .page-hero :is(h1, h2) {
	margin: 0 0 14px;
	font-family: inherit;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--white);
}
.saas-hm-faq-hero .page-hero p {
	font-size: 18px;
	color: var(--wp--preset--color--white);
}
.saas-hm-faq-hero .home-search {
	bottom: -30px;
}
.saas-hm-faq-hero .search-input-wrap {
	border-radius: 999px;
	box-shadow: 0 18px 40px rgba(20, 12, 60, 0.14), 0 0 0 1px var(--wp--preset--color--line);
}
.saas-hm-faq-center .home-categories {
	margin: 0;
}
.saas-hm-faq-center .section-label {
	margin-bottom: 18px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--saas-hm-text);
}
.saas-hm-faq-center .category-grid {
	gap: 20px;
}
.saas-hm-faq-center .category-card {
	--card-accent: var(--saas-hm-fill);
	--card-icon-bg: var(--saas-hm-tint);
	display: flex;
	flex-direction: column;
	padding: 32px;
	border-radius: 24px;
	border-color: var(--wp--preset--color--line);
	background: var(--wp--preset--color--base);
	animation: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.saas-hm-faq-center .category-card:hover {
	border-color: var(--wp--preset--color--line);
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(20, 12, 60, 0.12);
}
.saas-hm-faq-center .category-card:focus-visible {
	outline: 3px solid var(--saas-hm-text);
	outline-offset: 3px;
}
.saas-hm-faq-center .category-card-icon {
	border-radius: 14px;
}
.saas-hm-faq-center .category-card h3 {
	margin: 0 0 8px;
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--wp--preset--color--ink);
}
.saas-hm-faq-center .category-card .cat-desc {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--wp--preset--color--ink-muted);
}
.saas-hm-faq-center .category-card .cat-footer {
	margin-top: auto;
}
.saas-hm-faq-center .category-card .cat-count {
	font-size: 13px;
	font-weight: 700;
	color: var(--saas-hm-text);
}
.saas-hm-faq-center .saas-hm-more {
	text-align: center;
}

/* ------------------------------------------------------------- final CTA */

.saas-landing > .saas-hm-cta {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: calc(var(--saas-hm-space) + 24px) 0 calc(var(--saas-hm-space) + 16px);
	background: var(--wp--preset--gradient--closing, var(--wp--preset--gradient--primary));
	color: var(--wp--preset--color--white);
	text-align: center;
}
.saas-hm-cta::before {
	content: "";
	position: absolute;
	top: -520px;
	left: 50%;
	width: 900px;
	height: 900px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
}
.saas-hm-cta > .saas-hm-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
}
.saas-hm-cta > .saas-hm-wrap > * {
	margin: 0 !important;
}
.saas-hm-cta .wp-block-image img {
	width: 104px;
	height: 104px;
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18), 0 20px 60px rgba(31, 41, 55, 0.25);
}
.saas-hm-cta .wp-block-image.is-square img {
	width: 88px;
	height: 88px;
	border-radius: 22px;
}
.saas-hm-cta h2 {
	max-width: 14ch;
	font-size: 56px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: var(--wp--preset--color--white);
}
.saas-hm-cta p {
	max-width: 46ch;
	font-size: 19px;
	line-height: 1.6;
	color: var(--wp--preset--color--white);
}
.saas-hm-cta .wp-block-buttons {
	justify-content: center;
	gap: 12px;
}

/* ---------------------------------------------------------------- parallax */

/* Sections with saas-hm-parallax move some of their pieces as the page
   scrolls (home.js). An image drifting inside its frame needs the frame to
   clip it. */
.saas-hm-parallax .wp-block-post-featured-image:not(.saas-cover-fallback) {
	overflow: hidden;
	border-radius: 16px;
}
.saas-hm-parallax .wp-block-post-featured-image:not(.saas-cover-fallback) img {
	display: block;
}

/* ------------------------------------------------- free-trial interscroller */

/* The closing offer. Two and a half screens tall; the panel inside is one
   screen and sticks to the top, so the offer fills the screen for a screen
   and a half of scrolling before the footer. home.js moves the layers behind
   it at their own speeds. */
.saas-landing > .saas-hm-iscroll {
	position: relative;
	height: 250vh;
	margin: 0;
	background: var(--saas-hm-fill);
}
.saas-hm-iscroll-pin {
	position: sticky;
	top: 0;
	display: grid;
	place-items: center;
	height: 100vh;
	overflow: hidden;
	isolation: isolate;
	color: var(--wp--preset--color--white);
	text-align: center;
}
.saas-hm-iscroll-pin > * {
	margin: 0 !important;
}
/* A soft shade behind the offer keeps its white text readable over the
   moving layers. */
.saas-hm-iscroll-pin::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(24, 12, 70, 0.3), transparent 75%);
	pointer-events: none;
}
.saas-hm-is-layers {
	position: absolute;
	inset: 0;
}
/* Taller than the panel, so it never shows an edge while it moves. */
.saas-hm-is-bg {
	position: absolute;
	top: -30%;
	left: 0;
	right: 0;
	height: 160%;
	background: var(--wp--preset--gradient--closing, var(--wp--preset--gradient--primary));
	will-change: transform;
}
.saas-hm-is-bg::before,
.saas-hm-is-bg::after {
	content: "";
	position: absolute;
	border-radius: 50%;
}
.saas-hm-is-bg::before {
	top: 22%;
	left: -10vw;
	width: 46vw;
	height: 46vw;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
}
.saas-hm-is-bg::after {
	top: 46%;
	right: -8vw;
	width: 36vw;
	height: 36vw;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
}
/* The chat bubbles drift up faster than the rest and fade out while they
   cross the offer. */
.saas-hm-is-float {
	position: absolute;
	inset: 0;
	-webkit-mask-image: linear-gradient(#000 0 18%, transparent 30% 70%, #000 82%);
	mask-image: linear-gradient(#000 0 18%, transparent 30% 70%, #000 82%);
}
.saas-hm-is-bubbles {
	position: absolute;
	inset: 0;
	will-change: transform;
}
.saas-hm-is-bubbles p {
	position: absolute;
	max-width: min(34%, 440px);
	margin: 0;
	padding: 12px 16px;
	border-radius: 18px;
	font-size: 15px;
	line-height: 1.4;
	text-align: left;
	box-shadow: 0 14px 34px rgba(20, 10, 60, 0.22);
}
.saas-hm-is-bubbles .is-q {
	border-bottom-right-radius: 6px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--wp--preset--color--ink);
}
.saas-hm-is-bubbles .is-a {
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-bottom-left-radius: 6px;
	background: rgba(26, 14, 70, 0.55);
	color: var(--wp--preset--color--white);
}
.saas-hm-is-bubbles p:nth-child(1) { top: 4%; left: 5%; }
.saas-hm-is-bubbles p:nth-child(2) { top: 15%; left: 9%; }
.saas-hm-is-bubbles p:nth-child(3) { top: 72%; right: 5%; }
.saas-hm-is-bubbles p:nth-child(4) { top: 84%; right: 9%; }
.saas-hm-is-bubbles p:nth-child(n+5) { display: none; }
/* Sound wave along the bottom; home.js adds the bars. */
.saas-hm-is-wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -14%;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.9vw;
	height: 40%;
	padding: 0 2vw;
	opacity: 0.18;
	will-change: transform;
}
.saas-hm-is-wave i {
	flex: 1;
	min-width: 2px;
	border-radius: 999px 999px 0 0;
	background: var(--wp--preset--color--white);
	transform-origin: bottom;
	animation: saas-hm-is-bar 2.4s ease-in-out infinite;
}
@keyframes saas-hm-is-bar {
	0%, 100% { transform: scaleY(0.55); }
	50% { transform: scaleY(1); }
}
/* Kept above the browser's bottom bar on phones: 100vh is the screen with
   the bars hidden, 100svh with them shown. */
.saas-hm-is-hint {
	position: absolute;
	left: 50%;
	bottom: 18px;
	bottom: calc(100vh - 100svh + 18px);
	z-index: 2;
	transform: translateX(-50%);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.8);
}
.saas-hm-is-progress {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 3px;
	background: rgba(255, 255, 255, 0.85);
	transform: scaleX(0);
	transform-origin: left;
}
.saas-hm-iscroll-card {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	box-sizing: border-box;
	max-width: 760px;
	padding-inline: 24px;
	will-change: transform, opacity;
}
.saas-hm-iscroll-card > * {
	margin: 0 !important;
}
.saas-hm-iscroll-card .wp-block-image img {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18), 0 20px 60px rgba(31, 41, 55, 0.25);
}
.saas-hm-iscroll-card .wp-block-image.is-square img {
	width: 84px;
	height: 84px;
	border-radius: 22px;
}
.saas-hm-iscroll-card h2 {
	max-width: 14ch;
	font-size: clamp(40px, 6vw, 72px);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.035em;
	color: var(--wp--preset--color--white);
	text-wrap: balance;
}
.saas-hm-iscroll-card p {
	max-width: 46ch;
	font-size: 19px;
	line-height: 1.6;
	color: var(--wp--preset--color--white);
}
.saas-hm-iscroll-card .wp-block-buttons {
	justify-content: center;
	gap: 12px;
}

/* --------------------------------------------- GA Top Posts, biogr.id, Certme */

.saas-landing > .saas-hm-section.is-roomy {
	padding: 100px 0;
}
.saas-hm-section.is-roomy > .saas-hm-wrap {
	gap: 48px;
}
.saas-hm-head-note {
	font-size: 18px;
	color: var(--wp--preset--color--ink-muted);
}
.saas-hm-icon {
	display: block;
	width: 34px;
	height: 34px;
	color: var(--saas-hm-text);
}
.saas-hm-card.is-primary .saas-hm-icon {
	color: var(--wp--preset--color--white);
}
.saas-hm-grid-5 {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}
.saas-hm-grid-5 > * {
	margin: 0 !important;
}
.saas-hm-grid-2.is-narrow {
	max-width: 860px;
}
.saas-hm-faq-card.is-compact {
	padding: 24px;
	border-radius: 20px;
}
.saas-hm-faq-card.is-compact h3 {
	font-size: 18px;
}

/* Text beside an image, with a row of chips. */
.saas-hm-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 48px;
	align-items: center;
}
.saas-hm-band > *,
.saas-hm-band-text > * {
	margin: 0 !important;
}
.saas-hm-band-text {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.saas-hm-band-img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
}
ul.saas-hm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.saas-hm-chips li {
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--saas-hm-tint);
	font-size: 14px;
	font-weight: 700;
	color: var(--saas-hm-text);
}

/* Image cards. */
.saas-hm-media-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 14px 14px 28px;
	border-radius: 28px;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
}
.saas-hm-media-card > * {
	margin: 0 !important;
	padding-inline: 14px;
}
.saas-hm-media-card > .wp-block-image {
	padding-inline: 0;
}
.saas-hm-media-card img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 18px;
}
.saas-hm-media-card .saas-hm-eyebrow {
	font-size: 13px;
}
.saas-hm-media-card p:not(.saas-hm-eyebrow) {
	font-size: 15px;
	line-height: 1.6;
	color: var(--wp--preset--color--ink-muted);
}

/* Floating hero cards: an app icon with a linked line, or a ranking. */
.saas-hm-float.is-icon img {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--wp--preset--color--surface);
}
.saas-hm-float.is-icon p:first-child {
	font-size: 15px;
	font-weight: 700;
}
.saas-hm-float.is-icon p + p {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
}
.saas-hm-float.is-icon svg {
	flex: none;
	color: var(--saas-hm-text);
}
.saas-hm-float.is-ranking {
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	width: 280px;
	padding: 18px 20px;
}
.saas-hm-float .is-head {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 700;
}
.saas-hm-float.is-ranking img {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	box-shadow: 0 0 0 1px var(--wp--preset--color--line);
}
ol.saas-hm-rank {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.saas-hm-rank li {
	display: flex;
	align-items: center;
	gap: 10px;
}
.saas-hm-rank span {
	width: 14px;
	font-weight: 700;
	color: var(--saas-hm-text);
}
.saas-hm-rank i {
	width: 100%;
	height: 8px;
	border-radius: 4px;
	background: var(--saas-hm-fill);
}
.saas-hm-rank li:nth-child(2) i {
	width: 74%;
	background: var(--wp--preset--color--accent);
}
.saas-hm-rank li:nth-child(3) i {
	width: 52%;
	background: var(--saas-hm-tint);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 960px) {
	.saas-hm-grid-3,
	.saas-hm-posts .wp-block-post-template,
	.saas-hm-dash,
	.saas-hm-band {
		grid-template-columns: minmax(0, 1fr);
	}
	.saas-hm-grid-4,
	.saas-hm-grid-5,
	.saas-hm-grid-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 760px) {
	.saas-hm-vrow {
		flex-direction: column;
		height: auto;
	}
	.saas-hm-vtile {
		flex: none !important;
		aspect-ratio: 4 / 3;
	}
	.saas-hm-vcard {
		display: none;
	}
	.saas-hm-vmplay {
		display: flex;
	}
	.saas-hm-vcap {
		width: auto;
		right: 0;
		padding: 0 20px 20px;
		font-size: 16px;
	}
	.saas-hm-vcap strong {
		font-size: 28px;
	}
}
@media (max-width: 600px) {
	.saas-hm-wrap {
		padding-inline: 16px;
	}
	.saas-hm-grid-4,
	.saas-hm-grid-5,
	.saas-hm-grid-2 {
		grid-template-columns: minmax(0, 1fr);
	}
	:root {
		--saas-hm-space: 48px;
	}
	.saas-landing > .saas-hm-section.is-roomy {
		padding: var(--saas-hm-space) 0;
	}
	.saas-hm-section.is-roomy > .saas-hm-wrap {
		gap: 36px;
	}
	h2.saas-hm-h2,
	h2.saas-hm-h2.is-small,
	.saas-hm-cta h2,
	.saas-hm-faq-hero .page-hero :is(h1, h2) {
		font-size: 34px;
	}
	.saas-hm-faq-hero .page-hero {
		padding: 48px 20px 72px;
	}
	.saas-hm-faq-hero .page-hero p {
		font-size: 16px;
	}
	.saas-hm-faq-center .category-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.saas-hm-faq-center .category-card {
		padding: 24px;
	}
	.saas-landing > :is(div, main).saas-hm-hero.wp-block-group.has-background:first-of-type:not(.swt-block-post-banner-group),
	.saas-landing > .saas-hm-hero {
		padding-top: 120px !important;
	}
	.saas-hm-hero :is(.wp-block-button, .wp-block-saas-interactive-button) {
		flex: 1 1 100%;
	}
	.saas-hm-hero :is(.wp-block-button__link, .wp-block-saas-interactive-button > a, .wp-block-saas-interactive-button > button) {
		width: 100%;
		box-sizing: border-box;
	}
	.saas-hm-float {
		position: static !important;
		max-width: none;
		margin: 16px auto 0 !important;
	}
	.saas-hm-float.is-ranking {
		width: auto;
	}
	.saas-hm-shot {
		margin-top: 40px;
	}
	.saas-hm-iscroll-card .wp-block-image img {
		width: 72px;
		height: 72px;
	}
	.saas-hm-iscroll-card p {
		font-size: 17px;
	}
	.saas-hm-is-bubbles p {
		max-width: 62%;
		padding: 10px 12px;
		font-size: 12px;
	}
	.saas-hm-is-bubbles p:nth-child(2) {
		top: 13%;
		left: 14%;
	}
	.saas-hm-is-bubbles p:nth-child(n+3) {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.saas-hm-bars span,
	.saas-hm-is-wave i,
	.saas-hm-vtile,
	.saas-hm-vimg,
	.saas-hm-vcard,
	.saas-hm-lift,
	.saas-hm-posts .wp-block-post,
	.saas-hm-faq-center .category-card,
	.saas-hm-dash.is-accordion .saas-hm-screen,
	.saas-hm-dash.is-accordion .saas-hm-tab::after {
		animation: none;
		transition: none;
	}
}
