/*
 * Helpers for the Kadence sections: only what Kadence has no setting for.
 * Section padding lives on the Kadence Row Layout blocks, never here.
 */

/* Body text: the site font at 400 with normal letter spacing. Twenty
   Twenty-Five's global styles set body to 300 / -0.1px and load later,
   hence `html body`. */
body.sp-st-site {
	font-family: var(--sp-st-font);
	font-weight: 400;
	letter-spacing: normal;
}

/* Section H2s wrap balanced (no Kadence setting). */
body.sp-st-site .sp-st-wave {
	text-wrap: balance;
}

/* Header: Kadence has no alignment setting for the nav column. */
body.sp-st-site .sp-st-header .wp-block-kadence-header-column-center-right {
	justify-content: flex-end;
}

/* Header: Kadence has no backdrop-filter setting; blur the stuck bar. */
body.sp-st-site .sp-st-header .item-is-stuck {
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
}

/* Header dropdown: Kadence has no setting to push the badge to the item's
   right edge; let the title grow. */
body.sp-st-site .sp-st-header .sub-menu .kb-nav-item-title-wrap {
	flex: 1;
}

body.sp-st-site .sp-st-header .sub-menu .kb-nav-link-content {
	align-items: center;
}

/* Header dropdown: the last item (Download Lite) is bold; the nav's dropdown
   typography outranks the per-link typography setting. */
body.sp-st-site .sp-st-header .sub-menu > li:last-child > .kb-link-wrap > .kb-nav-link-content {
	font-weight: 600;
}

/* Hero: plain white with the fine grid (design default bg.finegrid). The row is
   pulled under the header with a negative top margin. */
body.sp-st-site .sp-st-hero,
body.sp-st-site .sp-st-pr-hero {
	position: relative;
	overflow: hidden;
}

/* Hero fine grid (design bg.finegrid): 60px cells, masked to fade out. */
body.sp-st-site .sp-st-hero::after,
body.sp-st-site .sp-st-pr-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: linear-gradient(to right, #eef0ee 1px, transparent 1px), linear-gradient(to bottom, #eef0ee 1px, transparent 1px);
	background-size: 60px 60px;
	background-position: center -1px;
	-webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 18%, #000 0%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 55% at 50% 18%, #000 0%, transparent 75%);
}

body.sp-st-site .sp-st-hero .kt-row-column-wrap,
body.sp-st-site .sp-st-pr-hero > .kt-row-column-wrap {
	position: relative;
	z-index: 1;
}

body.sp-st-site .sp-st-hero-title {
	max-width: 11ch;
	text-wrap: balance;
	position: relative;
}

body.sp-st-site .sp-st-hero-lede {
	text-wrap: pretty;
}

/* Hero spacing: the design's paddings, gaps and headline size are fluid
   (clamp) and Kadence/core only take fixed px. 68px = header height the row
   is pulled under. */
body.sp-st-site .sp-st-hero > .kt-row-column-wrap {
	padding-top: calc(68px + clamp(48px, 7vw, 104px));
	padding-bottom: clamp(72px, 9vw, 128px);
	padding-left: var(--sp-st-gutter);
	padding-right: var(--sp-st-gutter);
}

body.sp-st-site .sp-st-hero h1.sp-st-hero-title.wp-block-kadence-advancedheading {
	font-size: clamp(44px, 6.4vw, 88px);
	letter-spacing: -0.052em;
}

/* Blog banner (design Changelog banner): grid fades from the top edge,
   1px bottom border. */
body.sp-st-site .sp-st-blog-hero {
	box-shadow: inset 0 -1px 0 #e6e7ec;
}

body.sp-st-site .sp-st-blog-hero::after {
	-webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 0%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 0%, transparent 75%);
}

/* The design's fluid (clamp) padding and type; Kadence only takes fixed px
   and no em line-height/letter-spacing. */
body.sp-st-site .sp-st-blog-hero > .kt-row-column-wrap {
	padding-top: calc(68px + clamp(40px, 5vw, 64px));
	padding-bottom: 41px;
	row-gap: 80px;
	padding-left: var(--sp-st-gutter);
	padding-right: var(--sp-st-gutter);
}

/* Changelog, Patterns, Contact and Free vs Pro banners: same as the blog banner, no filter row below. */
body.sp-st-site .sp-st-cl-hero > .kt-row-column-wrap,
body.sp-st-site .sp-st-pt-hero > .kt-row-column-wrap,
body.sp-st-site .sp-st-ct-hero > .kt-row-column-wrap,
body.sp-st-site .sp-st-fvp-hero > .kt-row-column-wrap {
	padding-bottom: clamp(48px, 6vw, 72px);
}

body.sp-st-site .sp-st-blog-hero h1.wp-block-kadence-advancedheading {
	margin: 0;
	font-size: clamp(40px, 6vw, 72px);
	line-height: 1.02;
	letter-spacing: -0.045em;
}

body.sp-st-site .sp-st-blog-hero .sp-st-bf {
	margin-bottom: 0;
}

body.sp-st-site .sp-st-blog-hero p.wp-block-kadence-advancedheading {
	max-width: 46ch;
	margin-inline: auto;
	font-size: clamp(16px, 1.5vw, 18px);
	line-height: 1.6;
	text-wrap: pretty;
}

/* Reveal start states (script adds `sp-st-in`); only with motion on. */
html.sp-st-motion body.sp-st-site .sp-st-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 700ms var(--sp-st-ease-out) var(--sp-st-delay, 0ms), transform 800ms var(--sp-st-ease-emphasis) var(--sp-st-delay, 0ms);
}

html.sp-st-motion body.sp-st-site .sp-st-reveal.sp-st-in {
	opacity: 1;
	transform: none;
}

/* Sections: side gutter is fluid in the design (clamp); Kadence takes px only.
   Top/bottom padding stays on the Row Layout. */
body.sp-st-site .sp-st-sec > .kt-row-column-wrap {
	padding-left: var(--sp-st-gutter);
	padding-right: var(--sp-st-gutter);
}

/* Section heads: H2 + subtitle side by side, wrapping when narrow; fluid
   sizes from the design (Kadence takes px only). */
body.sp-st-site .sp-st-ls-title {
	max-width: 14ch;
	text-wrap: balance;
}

body.sp-st-site .sp-st-ls-title.wp-block-kadence-advancedheading {
	font-size: clamp(34px, 4.4vw, 60px);
	letter-spacing: -0.042em;
}

body.sp-st-site .sp-st-ls-sub {
	max-width: 40ch;
	text-wrap: pretty;
}

body.sp-st-site .sp-st-ls-sub.wp-block-kadence-advancedheading {
	font-size: var(--sp-st-body-lg, clamp(17px, 1.35vw, 19px));
}

/* Layouts (<=1024): the head (title + subtitle) stays pinned under the
   header while the layout story below scrolls; both pins end with the
   section. Kadence grid -> flex column keeps its row gap; sticky needs the
   head and the story in one container. */
@media (max-width: 1024px) {

	body.sp-st-site .sp-st-layouts > .kt-row-column-wrap {
		display: flex;
		flex-direction: column;
	}

}

/* The head is pinned too (tablet and mobile). */
@media (max-width: 1024px) {

	body.sp-st-site .sp-st-layouts > .kt-row-column-wrap > .wp-block-kadence-column:first-child {
		position: sticky;
		top: 68px;
		z-index: 3;
		padding-bottom: 30px;
		background: var(--sp-st-bg-subtle, #f7f8f7);
	}
}

/* Patterns: the ticker runs edge to edge, so this row has no side padding;
   its head keeps the container width (design: min(100% - 2 gutters, 1240)). */
body.sp-st-site .sp-st-sec--bleed > .kt-row-column-wrap {
	padding-left: 0;
	padding-right: 0;
}

body.sp-st-site .sp-st-ls-title.sp-st-pt-title {
	max-width: 13ch;
}

/* Integrations (title left, orbit right): stacked below 1024 as the design wraps.
   Section heads are side by side on tablet and stacked on mobile by the Row Layout options. */
@media (max-width: 1023px) {

	body.sp-st-site .sp-st-ig.sp-st-split > .kt-row-column-wrap {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* AI builder head: stacked up to and including 1024 (as on mobile). */
@media (max-width: 1024px) {

	body.sp-st-site .sp-st-ai .sp-st-split > .kt-row-column-wrap {
		grid-template-columns: minmax(0, 1fr);
	}
}

body.sp-st-site .sp-st-patterns .kb-button {
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

/* Profiles: dark section. Row Layout = left (title + sub | picker) and the
   profile stage; Kadence options set columns and gaps. The design stacks at
   920px, which Kadence has no breakpoint for; the column gap is fluid. */
body.sp-st-site .sp-st-profiles > .kt-row-column-wrap {
	column-gap: clamp(40px, 6vw, 96px);
}

@media (max-width: 920px) {

	body.sp-st-site .sp-st-profiles > .kt-row-column-wrap {
		grid-template-columns: minmax(0, 1fr);
	}
}

body.sp-st-site .sp-st-pf-title {
	max-width: 16ch;
	text-wrap: balance;
}

body.sp-st-site .sp-st-pf-title.wp-block-kadence-advancedheading {
	font-size: clamp(34px, 4.4vw, 60px);
	letter-spacing: -0.042em;
}

body.sp-st-site .sp-st-pf-sub {
	max-width: 52ch;
	text-wrap: balance;
}

body.sp-st-site .sp-st-pf-sub.wp-block-kadence-advancedheading {
	font-size: var(--sp-st-body-lg, clamp(17px, 1.35vw, 19px));
}

/* Customize: head, then the compare block. */
body.sp-st-site .sp-st-ls-title.sp-st-cz-title {
	max-width: 13ch;
}

/* Section head reveal (design setupHeadReveal): fade, 22px rise, 8px blur. */
html.sp-st-motion body.sp-st-site .sp-st-head {
	opacity: 0;
	transform: translateY(22px);
	filter: blur(8px);
	transition: opacity 900ms cubic-bezier(0.2, 0.7, 0.1, 1) var(--sp-st-delay, 0ms), transform 1000ms cubic-bezier(0.2, 0.7, 0.1, 1) var(--sp-st-delay, 0ms), filter 900ms cubic-bezier(0.2, 0.7, 0.1, 1) var(--sp-st-delay, 0ms);
}

html.sp-st-motion body.sp-st-site .sp-st-head.sp-st-in {
	opacity: 1;
	transform: none;
	filter: none;
}

body.sp-st-site .sp-st-ls-title.sp-st-dir-title {
	max-width: 13ch;
}

/* AI builder: dark section with glows and a faded grid (design layers;
   the 1px top line sits above the section edge, so it is not drawn). */
body.sp-st-site .sp-st-ai {
	position: relative;
	overflow: hidden;
	color: #fff;
}

body.sp-st-site .sp-st-ai::before,
body.sp-st-site .sp-st-ai::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

body.sp-st-site .sp-st-ai::before {
	background:
		radial-gradient(closest-side, rgba(43, 95, 71, 0.55), rgba(43, 95, 71, 0)) 50% -320px / 1100px 620px no-repeat,
		radial-gradient(closest-side, rgba(96, 120, 220, 0.18), rgba(96, 120, 220, 0)) right -180px top calc(30% + 156px) / 620px 520px no-repeat,
		radial-gradient(closest-side, rgba(95, 185, 138, 0.14), rgba(95, 185, 138, 0)) left -200px bottom -160px / 640px 480px no-repeat;
}

body.sp-st-site .sp-st-ai::after {
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 64px 64px;
	background-position: center top;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 80%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 80%);
}

body.sp-st-site .sp-st-ai > .kt-row-column-wrap {
	position: relative;
	z-index: 1;
}

body.sp-st-site .sp-st-ai-grad {
	background: linear-gradient(90deg, #7fe0b0 0%, #8fb4ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Integrations: text left, orbit right; wraps under 400px columns. The outer
   ring's tiles stick out past the screen edge on phones, so clip sideways. */
body.sp-st-site .sp-st-ig {
	overflow-x: clip;
}

body.sp-st-site .sp-st-ls-title.sp-st-ig-title {
	max-width: 13ch;
}

body.sp-st-site .sp-st-ls-sub.sp-st-ig-sub {
	max-width: 44ch;
}

/* Testimonials: head as in the design (title left, rating pills right,
   32-48px under the head). */
body.sp-st-site .sp-st-ls-title.sp-st-tm-title {
	max-width: none;
}

/* 10 FAQ: dividers only (no panel border), pointer cursor on headers. */
body.sp-st-site .sp-st-faq-acc .kt-accordion-pane {
	border: 0;
	box-shadow: inset 0 -1px 0 #d3d5dd;
}

body.sp-st-site .sp-st-faq-acc .kt-blocks-accordion-header {
	min-height: 72px;
	cursor: pointer;
}

body.sp-st-site .sp-st-faq-acc .kt-accordion-panel-inner p {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
}

/* Plus icon as in the design: 20px box, 14 x 1.5px bars, plus -> minus. */
body.sp-st-site .sp-st-faq-acc .kt-blocks-accordion-title-wrap {
	flex: 1;
	text-align: left;
}

body.sp-st-site .sp-st-faq-acc .kt-blocks-accordion-icon-trigger {
	box-sizing: border-box;
	width: 20px;
	min-width: 20px;
	height: 20px;
	margin-left: 16px;
	flex-shrink: 0;
	transition: none;
}

body.sp-st-site .sp-st-faq-acc .kt-blocks-accordion-icon-trigger::before,
body.sp-st-site .sp-st-faq-acc .kt-blocks-accordion-icon-trigger::after {
	left: 3px;
	top: 9px;
	width: 14px;
	height: 1px;
	background-color: currentcolor;
	transition: transform var(--sp-st-dur) var(--sp-st-ease-out);
}

/* Vertical bar is drawn upright (no rotate at rest) so both bars are anti-aliased the same. */
body.sp-st-site .sp-st-faq-acc .kt-blocks-accordion-icon-trigger::before {
	left: 9px;
	top: 3px;
	width: 1px;
	height: 14px;
	transform: none;
}

body.sp-st-site .sp-st-faq-acc .kt-active-pane .kt-blocks-accordion-icon-trigger::before,
body.sp-st-site .sp-st-faq-acc .kt-blocks-accordion-header[aria-expanded="true"] .kt-blocks-accordion-icon-trigger::before {
	transform: rotate(90deg);
}

/* No focus ring on mouse click; keyboard keeps a visible ring. */
body.sp-st-site .sp-st-faq-acc .kt-blocks-accordion-header:focus-visible,
body.sp-st-site .sp-st-faq .kt-button:focus-visible {
	outline: 2px solid #2b5f47;
	outline-offset: 2px;
}

body.sp-st-site .sp-st-faq-acc .kt-blocks-accordion-header:focus:not(:focus-visible),
body.sp-st-site .sp-st-faq .kt-button:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

/* Arrow buttons (hero, Browse Patterns, final CTA): design arrow, two-arrow swap
   on hover/focus, 150ms colour/transform, focus ring. Class set on the Kadence button. */
body.sp-st-site a.kb-button.sp-st-arrow-btn {
	transition: background-color 150ms, color 150ms, border-color 150ms, box-shadow 150ms, transform 150ms;
}

body.sp-st-site a.kb-button.sp-st-arrow-btn:active {
	transform: scale(0.98);
}

body.sp-st-site a.kb-button.sp-st-arrow-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2b5f47;
}

body.sp-st-site .sp-st-arrow-btn .kb-svg-icon-wrap {
	position: relative;
	display: inline-block;
	width: 15px;
	height: 15px;
	overflow: hidden;
}

body.sp-st-site .sp-st-ai-badge svg {
	flex: none;
}

body.sp-st-site .sp-st-arrow-btn .kb-svg-icon-wrap svg {
	display: none;
}

body.sp-st-site .sp-st-arrow-btn .kb-svg-icon-wrap::before,
body.sp-st-site .sp-st-arrow-btn .kb-svg-icon-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	background: currentcolor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	transition: transform 520ms cubic-bezier(0.65, 0, 0.35, 1);
}

body.sp-st-site .sp-st-arrow-btn .kb-svg-icon-wrap::after {
	transform: translateX(-120%);
}

body.sp-st-site .sp-st-arrow-btn:hover .kb-svg-icon-wrap::before,
body.sp-st-site .sp-st-arrow-btn:focus-visible .kb-svg-icon-wrap::before {
	transform: translateX(120%);
}

body.sp-st-site .sp-st-arrow-btn:hover .kb-svg-icon-wrap::after,
body.sp-st-site .sp-st-arrow-btn:focus-visible .kb-svg-icon-wrap::after {
	transform: translateX(0);
}

/* per-button arrow size (swap distance stays 120% of the icon) */
body.sp-st-site .sp-st-cta a.kb-button.sp-st-arrow-btn .kb-svg-icon-wrap {
	width: 16px;
	height: 16px;
}

body.sp-st-site .sp-st-cta a.kb-button.sp-st-arrow-btn .kb-svg-icon-wrap::before,
body.sp-st-site .sp-st-cta a.kb-button.sp-st-arrow-btn .kb-svg-icon-wrap::after {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

@media (prefers-reduced-motion: reduce) {

	body.sp-st-site .sp-st-arrow-btn .kb-svg-icon-wrap::before,
	body.sp-st-site .sp-st-arrow-btn .kb-svg-icon-wrap::after {
		transition: none;
	}
}

/* Final CTA (top of the footer part): dark, centred, own padding (bottom 0:
   the portrait strip sits on the section's bottom edge). */
body.sp-st-site .sp-st-cta {
	overflow: hidden;
	text-align: center;
	position: relative;
	isolation: isolate;
}

body.sp-st-site .sp-st-cta-title.wp-block-kadence-advancedheading {
	max-width: 14ch;
	margin-left: auto;
	margin-right: auto;
	font-size: clamp(38px, 5.4vw, 72px);
	text-wrap: balance;
}

body.sp-st-site .sp-st-cta-sub.wp-block-kadence-advancedheading {
	max-width: 44ch;
	margin-left: auto;
	margin-right: auto;
	font-size: var(--sp-st-body-lg, clamp(17px, 1.35vw, 19px));
}

body.sp-st-site .sp-st-cta a.kb-button,
body.sp-st-site .sp-st-cta a.kb-button.sp-st-arrow-btn {
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

/* Fine grid overlay (60px, 6% white, radial mask) over the row gradient. */
body.sp-st-site .sp-st-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 60px 60px;
	background-position: center -1px;
	-webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 18%, #000 0%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 55% at 50% 18%, #000 0%, transparent 75%);
}

body.sp-st-site .sp-st-ft-news-label {
	margin: 36px 0 16px;
	color: var(--sp-st-ink);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Newsletter (Fluent form 8): input with the button inside on the right. */
body.sp-st-site .sp-st-ft .fluentform {
	max-width: 440px;
}

body.sp-st-site .sp-st-ft .frm-fluent-form fieldset {
	position: relative;
	margin: 0;
	padding: 0;
	border: 0;
}

body.sp-st-site .sp-st-ft .ff-el-group {
	margin: 0;
}

body.sp-st-site .sp-st-ft .ff-el-form-control {
	width: 100%;
	height: 56px;
	padding: 0 136px 0 18px;
	border: 0;
	border-radius: 12px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--sp-st-gray-300);
	color: var(--sp-st-ink);
	font: inherit;
	font-size: 15px;
	transition: box-shadow 0.2s;
}

body.sp-st-site .sp-st-ft .ff-el-form-control:focus {
	background: #fff;
	box-shadow: inset 0 0 0 1px #2b5f47, 0 0 0 3px rgba(43, 95, 71, 0.18);
	color: var(--sp-st-ink);
}

body.sp-st-site .sp-st-ft .ff_submit_btn_wrapper {
	position: absolute;
	top: 6px;
	right: 6px;
	height: 44px;
}

body.sp-st-site .sp-st-ft .ff-btn-submit {
	height: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	background: var(--sp-st-primary);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	transition: background-color 0.2s;
}

body.sp-st-site .sp-st-ft .ff-btn-submit:hover {
	background: var(--sp-st-primary-hover);
}

body.sp-st-site .sp-st-ft .ff-btn-submit:active {
	background: var(--sp-st-primary-active);
}

/* Success note: soft green card with a check icon. */
body.sp-st-site .sp-st-ft .ff-message-success {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid rgba(43, 95, 71, 0.22);
	border-radius: 12px;
	background: #eef5f1;
	box-shadow: none;
	color: var(--sp-st-primary);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
}

body.sp-st-site .sp-st-ft .ff-message-success::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--sp-st-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 7.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}

/* Validation error: red ring on the field, red note with an alert icon. */
body.sp-st-site .sp-st-ft .ff-el-is-error .ff-el-form-control {
	box-shadow: inset 0 0 0 1px var(--sp-st-error);
}

body.sp-st-site .sp-st-ft .ff-el-is-error .ff-el-form-control:focus {
	box-shadow: inset 0 0 0 1px var(--sp-st-error), 0 0 0 3px rgba(220, 69, 69, 0.16);
}

body.sp-st-site .sp-st-ft .ff-el-is-error .error {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	color: var(--sp-st-error-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

body.sp-st-site .sp-st-ft .ff-el-is-error .error::before {
	content: "!";
	flex: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--sp-st-error);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

body.sp-st-site .sp-st-ft-legal {
	box-shadow: inset 0 1px 0 var(--sp-st-gray-200);
}

body.sp-st-site .sp-st-ft-legal > .kt-row-column-wrap {
	padding-left: var(--sp-st-gutter);
	padding-right: var(--sp-st-gutter);
}

body.sp-st-site .sp-st-ft-copy {
	margin: 0;
	color: var(--sp-st-ink-2);
	font-size: 14px;
	line-height: normal;
	text-align: center;
}

body.sp-st-site .sp-st-ft-heart {
	color: var(--sp-st-error);
}

/* Newsletter note under the form (design: 13px, secondary text, 10px gap). */
body.sp-st-site .sp-st-ft-note {
	margin: 10px 0 0;
	color: var(--sp-st-ink-2);
	font-size: 13px;
}

/* The wall's columns pull 16px back (item gap padding); as a flex item the
   wall no longer shows that, so keep its box 16px taller than the columns. */
@media (min-width: 768px) {

	body.sp-st-site .sp-st-tm .wp-block-smart-team-review-wall {
		padding-bottom: 16px;
		margin-bottom: -16px;
	}
}


/* Links and buttons: no focus style on mouse click / touch (:focus without :focus-visible).
   Keyboard (:focus-visible) keeps one ring. Scoped to pages using this plugin. */
body.sp-st-site :is(a, button, .kb-button, .kt-blocks-accordion-header, .ff-btn-submit):focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

:where(body.sp-st-site) :where(a, button, .kb-button, .kt-blocks-accordion-header, .ff-btn-submit):focus-visible {
	outline: 2px solid #2b5f47;
	outline-offset: 2px;
}

/* Footer copyright link: colour comes from the Kadence link colour options; only the transition is here. */
body.sp-st-site .sp-st-ft-copy a {
	transition: color 0.2s ease;
}

/* Hero H1 "AI Powered" badge (design 2026-11-02): rotated white pill link on the
   word "team". It sits inside the one editable H1. */
body.sp-st-site .sp-st-ai-wrap {
	position: relative;
	display: inline-block;
}

body.sp-st-site .sp-st-ai-badge {
	position: absolute;
	right: -0.55em;
	bottom: calc(100% - 0.26em);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 15px;
	border-radius: 10px;
	background: #fff;
	color: #171923;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.005em;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transform: rotate(5deg);
	box-shadow: 0 0 0 1px #e6e7ec, 0 14px 28px -14px rgba(23, 25, 35, 0.35);
	transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) 260ms, transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms;
}

body.sp-st-site .sp-st-ai-badge:hover,
body.sp-st-site .sp-st-ai-badge:focus-visible {
	color: #171923;
	transform: rotate(2deg) translateY(-2px);
	box-shadow: 0 0 0 1px #c6d9cc, 0 18px 32px -14px rgba(23, 25, 35, 0.4);
}

html.sp-st-motion body.sp-st-site .sp-st-reveal:not(.sp-st-in) .sp-st-ai-badge {
	opacity: 0;
}

/* In-page #hash targets: keep the sticky header off the section top (JS in motion.js scrolls smoothly). */
body.sp-st-site [id] {
	scroll-margin-top: var(--sp-st-header-offset, 80px);
}

/* Mobile: every section title and subtitle uses the full content width. */
@media (max-width: 767px) {

	body.sp-st-site .sp-st-ls-title,
	body.sp-st-site .sp-st-ls-title.sp-st-pt-title,
	body.sp-st-site .sp-st-ls-title.sp-st-cz-title,
	body.sp-st-site .sp-st-ls-title.sp-st-dir-title,
	body.sp-st-site .sp-st-ls-title.sp-st-ig-title,
	body.sp-st-site .sp-st-ls-title.sp-st-tm-title,
	body.sp-st-site .sp-st-ls-sub,
	body.sp-st-site .sp-st-ls-sub.sp-st-ig-sub,
	body.sp-st-site .sp-st-pf-title,
	body.sp-st-site .sp-st-pf-sub,
	body.sp-st-site .sp-st-cta-title.wp-block-kadence-advancedheading,
	body.sp-st-site .sp-st-cta-sub.wp-block-kadence-advancedheading {
		max-width: none;
	}
}

/* Header dropdown arrow button: at least 24px wide (WCAG target size). */
body.sp-st-site .sp-st-header .kb-nav-dropdown-toggle-btn {
	min-width: 24px;
}

/* Blog pagination squares (the blog-posts block's own SCSS expects these
   shared rules; ported from the reference site.css). */
.sp-st-pagination .page-numbers,
.sp-st-pagination .wp-block-query-pagination-previous,
.sp-st-pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #fff;
	color: #364153;
	text-decoration: none;
	transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}

.sp-st-pagination .page-numbers {
	width: 40px;
	padding: 0;
}

.sp-st-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 8px;
}

.sp-st-pagination a.page-numbers:hover,
.sp-st-pagination a[class*="pagination-"]:hover,
.sp-st-pagination .page-numbers.current {
	border-color: #5a5a63;
	background: #5a5a63;
	color: #fff;
}

.sp-st-pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
}

/* Single post banner: two columns (title and meta left, image right), a soft
   radial tint behind them and the 1px bottom border from the blog banner. */
body.sp-st-site .sp-st-single-hero .sr-meta-sep::before {
	content: "\00b7";
	margin-right: 8px;
}

/* Overrides the home hero's fluid padding rule above: the row's own padding. */
body.sp-st-site .sp-st-single-hero > .kt-row-column-wrap {
	align-items: center;
	padding: 132px 32px 72px;
}

@media (max-width: 1024px) {

	body.sp-st-site .sp-st-single-hero > .kt-row-column-wrap {
		padding: 119px 32px 61px;
	}
}

@media (max-width: 767px) {

	body.sp-st-site .sp-st-single-hero > .kt-row-column-wrap {
		padding: 108px 20px 48px;
	}
}

/* Pricing page (template team-offer-pricing, layout as logocarousel.com/pricing/).
   Banner = .sp-st-pr-hero (the hero fine grid above). */
body.sp-st-site .sp-st-pr-hero .wp-block-kadence-tabs {
	margin-top: 10px;
}
body.sp-st-site .sp-st-pr-hero .sp-st-trust {
	margin-top: clamp(22px, 3.5vw, 38px);
}
body.sp-st-site .sp-st-trust .sp-st-rs__inner {
	justify-content: center;
	row-gap: 12px;
}

/* Pill tabs (Kadence Tabs + class sp-st-pill-tabs): soft green track; the tab
   colours (grey text, green active pill) are set in the Tabs block. */
body.sp-st-site .sp-st-pill-tabs > .kt-tabs-wrap > .kt-tabs-title-list {
	display: flex;
	flex-wrap: nowrap;
	gap: 4px;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
	padding: 5px;
	border-radius: 12px;
	background: var(--sp-st-primary-soft);
	box-shadow: inset 0 0 0 1px var(--sp-st-primary-border), 0 8px 24px -14px rgba(25, 59, 43, 0.3);
}
body.sp-st-site .sp-st-pill-tabs > .kt-tabs-wrap > .kt-tabs-title-list li {
	margin: 0 !important;
}
body.sp-st-site .sp-st-pill-tabs > .kt-tabs-wrap > .kt-tabs-title-list .kt-tab-title {
	cursor: pointer;
	transition: background 140ms, color 140ms, box-shadow 140ms;
}
body.sp-st-site .sp-st-pill-tabs > .kt-tabs-wrap > .kt-tabs-title-list .kt-tab-title-active .kt-tab-title {
	box-shadow: 0 4px 12px -6px rgba(43, 95, 71, 0.6);
}
body.sp-st-site .sp-st-pill-tabs > .kt-tabs-wrap > .kt-tabs-content-wrap {
	overflow: visible;
}
@media (max-width: 639px) {
	body.sp-st-site .sp-st-pill-tabs > .kt-tabs-wrap > .kt-tabs-title-list .kt-tab-title {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}

/* Pricing card rows: stacked cards stay 520px wide and centred (tablet and phone). */
@media (max-width: 1024px) {
	body.sp-st-site .sp-st-plans.sp-st-plans > .kt-row-column-wrap {
		max-width: 520px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Centred capped-width headings. */
body.sp-st-site .wp-block-kadence-advancedheading.sp-st-center {
	margin-left: auto;
	margin-right: auto;
}

/* FAQ column: stays in view while the questions scroll (desktop). */
@media (min-width: 1025px) {
	body.sp-st-site .sp-st-faq-row-cols > .kt-row-column-wrap > .sp-st-sticky {
		position: relative;
		align-self: stretch;
	}
	body.sp-st-site .sp-st-faq-row-cols .sp-st-sticky > .kt-inside-inner-col {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 81px + 20px);
	}
	body.sp-st-site .sp-st-faq-row-cols > .kt-row-column-wrap {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	}
}

/* Pricing FAQ (Kadence Accordion, class sp-st-pr-faq): one bordered card, round +/- icon. */
body.sp-st-site .sp-st-pr-faq .kt-accordion-inner-wrap {
	overflow: hidden;
	border-radius: 16px;
	background: var(--sp-st-white);
	border: 1px solid var(--sp-st-border);
}
body.sp-st-site .sp-st-pr-faq .kt-accordion-pane {
	margin: 0;
}
body.sp-st-site .sp-st-pr-faq .kt-accordion-pane + .kt-accordion-pane {
	border-top: 1px solid var(--sp-st-border);
}
body.sp-st-site .sp-st-pr-faq .kt-blocks-accordion-header {
	gap: 20px;
	cursor: pointer;
	transition: color 200ms, background 150ms;
}
body.sp-st-site .sp-st-pr-faq .kt-blocks-accordion-icon-trigger {
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--sp-st-white);
	box-shadow: inset 0 0 0 1px var(--sp-st-border-strong);
	transition: background 250ms, box-shadow 250ms;
}
body.sp-st-site .sp-st-pr-faq .kt-blocks-accordion-icon-trigger::before,
body.sp-st-site .sp-st-pr-faq .kt-blocks-accordion-icon-trigger::after {
	width: 10px !important;
	height: 2px !important;
	left: 9px !important;
	top: 13px !important;
	border-radius: 1px;
}
body.sp-st-site .sp-st-pr-faq .kt-accordion-panel-active .kt-blocks-accordion-icon-trigger {
	background: var(--sp-st-primary);
	box-shadow: none;
}
body.sp-st-site .sp-st-pr-faq .kt-accordion-panel-inner p {
	max-width: 600px;
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
}
@media (max-width: 767px) {
	body.sp-st-site .sp-st-pr-faq .kt-accordion-panel-inner {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

/*
 * Contact page: Fluent Forms form in a white card (.sp-st-contact-form) and a
 * soft green info card (.sp-st-contact-info) beside it
 * (logocarousel.com layout).
 */
body.sp-st-site .wp-block-kadence-column.sp-st-contact-form > .kt-inside-inner-col,
body.sp-st-site .wp-block-kadence-column.sp-st-contact-info > .kt-inside-inner-col {
	border: 1px solid var(--sp-st-border);
	border-radius: 12px;
}

body.sp-st-site .wp-block-kadence-column.sp-st-contact-form > .kt-inside-inner-col {
	padding: 40px;
	background: #fff;
	box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.08);
}

body.sp-st-site .wp-block-kadence-column.sp-st-contact-info > .kt-inside-inner-col {
	padding: 32px;
	background: linear-gradient(180deg, var(--sp-st-primary-subtle) 0%, #fff 100%);
}

@media (max-width: 1024px) {

	body.sp-st-site .wp-block-kadence-column.sp-st-contact-form > .kt-inside-inner-col {
		padding: 32px;
	}

	body.sp-st-site .wp-block-kadence-column.sp-st-contact-info > .kt-inside-inner-col {
		padding: 28px;
	}
}

@media (max-width: 767px) {

	body.sp-st-site .wp-block-kadence-column.sp-st-contact-form > .kt-inside-inner-col,
	body.sp-st-site .wp-block-kadence-column.sp-st-contact-info > .kt-inside-inner-col {
		padding: 24px 20px;
	}
}

body.sp-st-site .sp-st-status-dot {
	display: flex;
	align-items: center;
	gap: 8px;
}

body.sp-st-site .sp-st-status-dot::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

body.sp-st-site .sp-st-contact-info .sp-st-contact-sep {
	width: 100%;
	margin: 28px 0;
	border: 0;
	border-top: 1px solid var(--sp-st-border);
	opacity: 1;
}

body.sp-st-site .sp-st-contact-info a {
	color: var(--sp-st-primary-hover);
	text-decoration: none;
}

body.sp-st-site .sp-st-contact-info a:hover {
	color: var(--sp-st-primary);
	text-decoration: underline;
}

body.sp-st-site .sp-st-contact-form .fluentform {
	--fluentform-primary: var(--sp-st-primary);
	--fluentform-border-color: #d1d5dc;
	--fluentform-border-radius: 8px;
	--fluentform-input-select-height: 48px;
}

body.sp-st-site .sp-st-contact-form .fluentform fieldset {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 16px;
}

body.sp-st-site .sp-st-contact-form .fluentform fieldset > * {
	flex: 1 1 100%;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-t-container {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-t-cell {
	flex: 1 1 0;
	min-width: 0;
	padding: 0;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-el-group {
	margin: 0 0 22px;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-el-input--label {
	margin: 0 0 8px;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-el-input--label label {
	margin: 0;
	color: var(--sp-st-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-el-is-required.asterisk-right label::after {
	content: " *";
	margin-left: 0;
	color: #d92d20;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-el-form-control {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #d1d5dc;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: none;
	color: var(--sp-st-ink);
	font-family: var(--sp-st-font);
	font-size: 15px;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.sp-st-site .sp-st-contact-form .fluentform textarea.ff-el-form-control {
	height: auto;
	min-height: 160px;
	padding: 13px 14px;
	resize: vertical;
}

body.sp-st-site .sp-st-contact-form .fluentform select.ff-el-form-control {
	padding-right: 40px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a7282' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 16px center;
	background-repeat: no-repeat;
	cursor: pointer;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-el-form-control::placeholder {
	color: #6a7282;
	opacity: 1;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-el-form-control:hover {
	border-color: #99a1af;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-el-form-control:focus {
	border-color: var(--sp-st-primary);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(43, 95, 71, 0.16);
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-el-is-error .ff-el-form-control {
	border-color: #d92d20;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-el-is-error .text-danger {
	margin-top: 6px;
	color: #d92d20;
	font-size: 13px;
	line-height: 1.4;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-custom_html:has(+ .ff_submit_btn_wrapper) {
	flex: 1 1 auto;
	margin: 0;
	color: var(--sp-st-text-muted);
	font-size: 14px;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-custom_html p {
	margin: 0;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-custom_html .sp-st-req {
	color: #d92d20;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff_submit_btn_wrapper {
	flex: 0 0 auto;
	margin: 0;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-btn-submit,
body.sp-st-site .sp-st-contact-form .fluentform .ff-btn-submit:not(.ff_btn_no_style) {
	height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 8px;
	background-color: var(--sp-st-primary);
	box-shadow: 0 10px 22px -10px rgba(43, 95, 71, 0.7);
	color: #fff;
	font-family: var(--sp-st-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-btn-submit:hover,
body.sp-st-site .sp-st-contact-form .fluentform .ff-btn-submit:focus-visible {
	background-color: var(--sp-st-primary-hover);
	opacity: 1;
}

body.sp-st-site .sp-st-contact-form .fluentform .ff-btn-submit:active {
	background-color: var(--sp-st-primary-active);
}

body.sp-st-site .sp-st-contact-form .ff-message-success {
	padding: 16px 18px;
	border: 1px solid var(--sp-st-primary-border);
	border-radius: 8px;
	background: var(--sp-st-primary-subtle);
	box-shadow: none;
	color: var(--sp-st-primary-active);
	font-size: 15px;
}

@media (max-width: 640px) {

	body.sp-st-site .sp-st-contact-form .fluentform .ff-t-container {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	body.sp-st-site .sp-st-contact-form .fluentform .ff-custom_html:has(+ .ff_submit_btn_wrapper) {
		flex-basis: 100%;
		margin: 0 0 16px;
	}

	body.sp-st-site .sp-st-contact-form .fluentform .ff_submit_btn_wrapper,
	body.sp-st-site .sp-st-contact-form .fluentform .ff-btn-submit {
		width: 100%;
	}
}

/* ── AI visibility: Ask AI block ─────────────────────────────────────── */
body.sp-st-site .spaiv-ask-ai {
	--spaiv-accent: var(--sp-st-primary);
	font-family: var(--sp-st-font);
}

@media (min-width: 1025px) {

	body.sp-st-site .spaiv-ask-ai.is-footer {
		margin-top: 48px;
	}

	body.sp-st-site .sp-st-ft-news-label {
		margin-top: 56px;
	}
}
