/*
Theme Name: Cloud SWMS Replica
Theme URI: https://github.com/Automattic/studio/tree/trunk/packages/data-liberation-agent
Author: data-liberation
Description: Replica theme generated by data-liberation. Tokens derived from Cloud SWMS.
Version: 0.1.0
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cloudswms-replica
Tags: block-theme, full-site-editing
*/

/* Approved shared comparison, used on the homepage and Foreman AI. */
.foreman-comparison-example { padding-block: clamp(32px, 4vw, 56px); }
.foreman-comparison-example > .section-kicker,
.foreman-comparison-example > h2,
.foreman-comparison-example > p { text-align: center; }
.foreman-comparison-example > h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; margin-block: 12px 16px; }
.foreman-comparison-panel { margin-top: 24px; border: 1px solid var(--wp--preset--color--border-default); border-radius: 16px; overflow: hidden; background: var(--wp--preset--color--surface-base); }
.foreman-comparison-panel > .wp-block-columns { gap: 0; margin: 0; align-items: stretch; }
.foreman-comparison-panel > .wp-block-columns + .wp-block-columns { border-top: 1px solid var(--wp--preset--color--border-default); }
.foreman-comparison-panel > .wp-block-columns > .wp-block-column { padding: 18px 24px; }
.foreman-comparison-panel > .wp-block-columns > .wp-block-column + .wp-block-column { background: color-mix(in srgb, var(--wp--preset--color--accent-primary) 4%, var(--wp--preset--color--surface-base)); border-left: 1px solid var(--wp--preset--color--border-default); }
.foreman-comparison-panel p { margin: 0; font-size: 16px; line-height: 1.5; }
.foreman-comparison-panel > .wp-block-columns:not(.foreman-comparison-header) > .wp-block-column:first-child { color: var(--wp--preset--color--text-muted); }
.foreman-comparison-panel > .wp-block-columns:not(.foreman-comparison-header) p { position: relative; padding-left: 26px; }
.foreman-comparison-panel > .wp-block-columns:not(.foreman-comparison-header) p::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 12px; background: linear-gradient(45deg, transparent 43%, var(--wp--preset--color--text-muted) 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--wp--preset--color--text-muted) 43% 57%, transparent 57%); }
.foreman-comparison-panel > .wp-block-columns:not(.foreman-comparison-header) > .wp-block-column:last-child p::before { left: 4px; top: 4px; width: 6px; height: 11px; background: none; border: solid #1f8748; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.foreman-comparison-panel .foreman-comparison-header h3 { font-size: 21px; margin: 0 0 8px; }
.foreman-comparison-panel .foreman-comparison-header p { font-size: 14px; color: var(--wp--preset--color--text-muted); }
.foreman-comparison-panel .foreman-comparison-header > .wp-block-column:last-child { box-shadow: inset 0 3px var(--wp--preset--color--accent-warm); }
@media (max-width: 781px) {
 .foreman-comparison-panel { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--wp--preset--color--text-muted) var(--wp--preset--color--section-band); }
 .foreman-comparison-panel > .wp-block-columns { min-width: 640px; flex-wrap: nowrap !important; }
 .foreman-comparison-panel > .wp-block-columns > .wp-block-column { flex-basis: 0 !important; flex-grow: 1; min-width: 0; padding: 16px 20px; }
}

/*
 * Responsive-content guard. Imported page/post content (carried from the
 * source platform — Shopify/Replo, Wix, Squarespace, etc.) frequently ships its
 * OWN inline <style> with high-specificity rules that pin media to fixed pixel
 * widths (e.g. Replo's .r-* classes sizing <picture>/<img> at 820px). Those
 * overflow the viewport on mobile and break the 390px responsiveness gate.
 *
 * We clamp replaced/embedded content to the container width. !important is
 * required to win against the carried inline stylesheet's specificity — this is
 * lossless (the asset just scales down to fit) and does not change desktop
 * layout, where the container is already wider than the media.
 */
.wp-block-post-content img,
.wp-block-post-content picture,
.wp-block-post-content picture img,
.wp-block-post-content video,
.wp-block-post-content iframe,
.wp-block-post-content embed,
.wp-block-post-content object,
.wp-block-post-content svg,
.wp-block-post-content table,
.entry-content img,
.entry-content picture,
.entry-content picture img,
.entry-content video,
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content svg,
.entry-content table {
	max-width: 100% !important;
}
/*
 * Responsive height:auto for media WITHOUT an explicit size. Two exemptions:
 *  - RESIZED core/images (gallery items + sized photos) carry their own
 *    width+height attributes and must keep that box (so object-fit can crop to a
 *    uniform row height matching the source's horizontal images) — or the reset
 *    would collapse each back to its natural aspect and the row height go ragged.
 *  - A cover's background image (.wp-block-cover__image-background) must keep WP
 *    core's height:100% so it FILLS the cover (object-fit:cover crops); height:auto
 *    shrinks it to its natural aspect, leaving a grey band below it in the hero.
 */
.wp-block-post-content img:not(.wp-block-image.is-resized img):not(.wp-block-cover__image-background):not(.is-style-integration-logo img),
.wp-block-post-content picture,
.wp-block-post-content picture img,
.wp-block-post-content video,
.wp-block-post-content iframe,
.wp-block-post-content embed,
.wp-block-post-content object,
.wp-block-post-content svg,
.entry-content img:not(.wp-block-image.is-resized img):not(.wp-block-cover__image-background):not(.is-style-integration-logo img),
.entry-content picture,
.entry-content picture img,
.entry-content video,
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content svg {
	height: auto !important;
}

.wp-block-post-content picture,
.entry-content picture {
	display: block !important;
}

/* Final-resort clamp: the imported content tree must never establish a
 * scroll-width wider than the viewport on small screens. Applied only to the
 * migrated content container so it can't affect the reconstructed theme
 * layout (header/footer/patterns). */
@media (max-width: 781px) {
	.wp-block-post-content,
	.entry-content {
		overflow-x: clip;
	}
}

/*
 * Overlay header. A page whose template wires the header with the
 * site-header-overlay class (its hero is a full-bleed cover) renders the
 * header as a transparent overlay on the hero — white nav over the dimmed photo
 * — instead of a solid bar above it. The distinction is expressed in the
 * TEMPLATE (which header treatment each page wires), not a global page-class
 * override, so it applies exactly where the template asks and nowhere else.
 * Pages with the solid header are untouched. The cover's own dim keeps the nav
 * legible.
 */
header.site-header-overlay {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 100;
}
/*
 * Admin bar accommodation. The overlay header is positioned against the viewport
 * (position:absolute, no positioned ancestor), so WordPress core's html margin-top
 * (32px) — which pushes normal flow content (the solid header, the hero) below the
 * fixed admin bar — does NOT move it; it would sit UNDER the bar. Offset it by the
 * admin bar height so a logged-in viewer's bar never covers the nav. (The solid
 * header and hero are in flow and already clear the bar.)
 * 32px desktop, 46px at the <=782px breakpoint where WP grows the bar.
 */
body.admin-bar header.site-header-overlay {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar header.site-header-overlay {
		top: 46px;
	}
}
header.site-header-overlay .wp-block-group {
	background-color: transparent !important;
}
/* White nav + logo over the (dimmed) hero photo, regardless of the detected
 * header tone — dark nav links are unreadable over a photo. */
header.site-header-overlay,
header.site-header-overlay a,
header.site-header-overlay .wp-block-navigation-item__content {
	color: #ffffff !important;
}

/*
 * Gallery scroller. Page builders present galleries as a navigable carousel;
 * WordPress core has no native carousel block, so this renders the wp:gallery as
 * a horizontal, swipe/drag/scroll-navigable strip with scroll-snap points — no
 * JS, no plugin. Image sets small enough to fit just render as a row. (A true
 * arrow/autoplay carousel would require a JS block or a plugin like Jetpack.)
 */
.wp-block-gallery.is-gallery-scroller {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	gap: 16px;
	padding-bottom: 8px;
}
.wp-block-gallery.is-gallery-scroller > .wp-block-image {
	scroll-snap-align: center;
	margin: 0;
}
/* A reconstructed item carries the source's rendered size via core/image
 * width+height (-> is-resized + inline width/height on the img, which survive
 * block canonicalization). Size the figure to that image so items RETAIN their
 * source aspect ratio and large source photos stay large (~2 per view) instead
 * of collapsing into core's uniform column cell. The width:auto + max-width
 * override defeat core gallery's columns-N width:calc() grid (which would
 * otherwise force every item to ~25% of the row and cap the img via max-width). */
.wp-block-gallery.is-gallery-scroller.has-nested-images > .wp-block-image.is-resized {
	flex: 0 0 auto !important;   /* defeat core columns-N width:calc() grid */
	width: auto !important;      /* size the figure to the resized image */
	max-width: none !important;
}
.wp-block-gallery.is-gallery-scroller > .wp-block-image.is-resized img {
	/* The inline width/height (core/image attrs) define the box at the source's
	 * DISPLAYED aspect; max-width:none lifts core's max-width:100% cap (set via an
	 * id-hack selector) so the inline width actually applies; object-fit:cover
	 * crops the natural file into that box, retaining the source aspect ratio. */
	max-width: none !important;
	object-fit: cover;
	border-radius: 8px;
}
/* Un-sized items (no captured dimensions) keep the responsive scroller cell. */
.wp-block-gallery.is-gallery-scroller > .wp-block-image:not(.is-resized) {
	flex: 0 0 clamp(220px, 32%, 380px);
	scroll-snap-align: center;
	margin: 0;
}
.wp-block-gallery.is-gallery-scroller > .wp-block-image:not(.is-resized) img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
}

/*
 * Gallery scroller arrows. gallery-scroller.js wraps each scroller in
 * .gallery-scroller-wrap and injects prev/next buttons; the wrap only gets
 * .has-nav (which reveals the buttons) when the strip actually overflows, so a
 * gallery that fits shows none. Pure progressive enhancement — without JS the
 * strip stays swipe/scroll-navigable.
 */
.gallery-scroller-wrap {
	position: relative;
}
.gallery-scroller-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 26px;
	line-height: 1;
	color: #1a1a1a;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
}
.gallery-scroller-wrap.has-nav .gallery-scroller-nav {
	display: flex;
}
.gallery-scroller-prev {
	left: 8px;
}
.gallery-scroller-next {
	right: 8px;
}
.gallery-scroller-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

/*
 * Equal-height cards. A reconstructed uniform card grid (.is-replica-card in a
 * columns row) should render all cards the same height like the source, but a WP
 * group is content-height — leaving ragged bottoms. The columns row already
 * stretches its columns to the tallest; make the card fill that stretched column.
 */
.wp-block-columns > .wp-block-column:has(> .is-replica-card) {
	display: flex;
}
.wp-block-column > .is-replica-card {
	flex: 1 1 auto;
}

/*
 * Self-hosted source fonts. Captured from the source site's @font-face
 * declarations and downloaded into assets/fonts/ so headings + body render in
 * the real typeface rather than a system fallback.
 */
@font-face {
	font-family: 'Inter';
	src: url('assets/fonts/Inter-400-700.woff2') format('woff2');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

/* === global rhythm === */
.wp-site-blocks > * + * { margin-block-start: 0; }
body { overflow-x: clip; }
h1, h2, h3, h4 { letter-spacing: -0.035em; }
a { text-underline-offset: 0.18em; }

/* === global header === */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	padding-block: 14px;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--border-default) 75%, transparent);
	box-shadow: 0 8px 30px rgba(18, 43, 78, 0.06);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { min-height: 48px; gap: 24px; }
.site-header__logo { flex: 0 0 auto; margin: 0; }
.site-header__logo img { display: block; width: 128px; max-width: 128px; height: auto; object-fit: contain; object-position: left center; }
.site-header__nav { flex: 1 1 auto; font-size: 12px; font-weight: 700; }
.site-header__nav .wp-block-navigation__container { gap: clamp(12px, 1.4vw, 22px); }
.site-header__nav .wp-block-navigation-item__content { text-decoration: none; white-space: nowrap; }
.site-header__actions { flex: 0 0 auto; gap: 10px; }
.site-header__actions .wp-element-button { padding: 11px 16px; font-size: 13px; white-space: nowrap; }
.header-demo .wp-element-button { border-color: var(--wp--preset--color--text-default); color: var(--wp--preset--color--text-default); }

/* === controls === */
.wp-element-button {
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
	transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.wp-element-button:hover { transform: translateY(-2px); }

/* === reconstructed content === */
.wp-block-post-content > .alignfull { margin-block-start: 0; }
/* Full-width flow sections authored with no horizontal gutter (0 left/right
   padding under the old constrained post-content column) inherit the page
   gutter now that post-content runs edge to edge. Scoped to sections whose
   inline style sets left/right padding to 0, and `!important` to beat that
   inline padding; sections that already carry has-global-padding (constrained
   full-bleed bands) or a non-zero horizontal padding are left untouched. */
.wp-block-post-content > .wp-block-group.alignfull:not(.has-global-padding)[style*="padding-left:0px"][style*="padding-right:0px"] {
	padding-inline: var(--wp--style--root--padding-left) !important;
}
/* Stacked replica columns were authored with block-gap: 0, which collapses them
   into touching blocks on mobile. Give wrapped columns vertical air on small
   screens; the horizontal column-gap stays as authored (0). */
@media (max-width: 781px) {
	.wp-block-post-content .wp-block-columns.is-layout-flex {
		row-gap: clamp(24px, 5vw, 36px);
	}
}
.wp-block-post-content .wp-block-image img { object-fit: contain; }
.wp-block-post-content .is-replica-card { box-shadow: 0 14px 36px rgba(18, 43, 78, 0.08); }
.wp-block-post-content section.has-background[style*="#122b4e"],
.wp-block-post-content section.has-surface-inverse-background-color {
	color: var(--wp--preset--color--text-inverse);
}
.wp-block-post-content section.has-background[style*="#122b4e"] :is(h1,h2,h3,h4,p,a),
.wp-block-post-content section.has-surface-inverse-background-color :is(h1,h2,h3,h4,p,a) {
	color: inherit !important;
}
.wp-block-post-content .wp-block-image.is-resized img[src$=".svg"] {
	width: 48px;
	height: 48px;
}
/* Replacement imagery for the block-built home mockups (hero health widget and
   analytics dashboard preview): fill their slot with rounded corners and the
   same soft shadow the original cards carried. */
.wp-block-post-content .hero-health-img img,
.wp-block-post-content .dashboard-preview-img img,
.wp-block-post-content .foreman-preview-img img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 24px 55px rgba(18, 43, 78, 0.12);
}
/* Editor canvas — match the full-bleed frontend page. The editor otherwise pins
   content to a narrow centered column, so full-width sections preview cramped.
   Scoped to .editor-styles-wrapper (plus Gutenberg's .is-root-container canvas
   wrapper and the content/wide size variables) so this only affects the editor,
   never the live site. */
.editor-styles-wrapper {
	--wp--style--root--padding-left: var(--wp--preset--spacing--40);
	--wp--style--root--padding-right: var(--wp--preset--spacing--40);
	max-width: none;
}
.editor-styles-wrapper .is-root-container,
.editor-styles-wrapper .wp-block-post-content {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	margin-inline: 0 !important;
}
/* Gutenberg omits alignfull on these editable section nodes. Its generic
   .wp-block measure otherwise caps each page band at the 760px text width.
   Only expand top-level sections; nested text groups keep their own measure. */
.editor-styles-wrapper .is-root-container > section.wp-block-group {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin-inline: 0 !important;
}
/* Shared page-heading and footer texture: fine static grain and gentle glows.
   Other dark CTA bands stay solid. */
.wp-block-post-content > section.alignfull.has-background:first-child:is(.has-surface-inverse-background-color, [style*="#122b4e"]),
.editor-styles-wrapper .is-root-container > section.has-background:first-child:is(.has-surface-inverse-background-color, [style*="#122b4e"]),
.article-hero,
.editorial-hero,
.site-footer {
	background-image:
		radial-gradient(circle at 75% 115%, color-mix(in srgb, var(--wp--preset--color--accent-highlight) 9%, transparent), transparent 58%),
		radial-gradient(circle at 20% -10%, color-mix(in srgb, var(--wp--preset--color--accent-primary) 13%, transparent), transparent 55%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
	background-size: 100% 100%, 100% 100%, 240px 240px;
}

/* Shared alignment for page section titles, without altering card headings. */
.wp-block-post-content > section h2.wp-block-heading,
.editor-styles-wrapper .is-root-container > section h2.wp-block-heading {
	text-align: center;
}

/* Full-bleed section backgrounds with a centred, bounded inner canvas.
   Constrained sections keep their reading measures; this covers flow sections
   whose legacy alignfull columns previously stretched to the viewport. */
.wp-block-post-content > section.is-layout-flow > *,
.editor-styles-wrapper .is-root-container > section.is-layout-flow > :not(.block-list-appender) {
	max-width: var(--wp--style--global--wide-size);
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Readable supporting copy in dark page headers, not the homepage hero. */
body:not(.home) .wp-block-post-content > section:first-child:is(.has-surface-inverse-background-color, [style*="#122b4e"]) p {
	font-size: clamp(17px, 1.75vw, 19px) !important;
	line-height: 1.65 !important;
	max-width: 760px;
	margin-inline: auto !important;
}

/* Supplied partner wordmarks sit on navy for accessible white-letter contrast. */
.wp-block-image.is-style-integration-logo {
	box-sizing: border-box;
	height: 124px;
	padding: 22px;
	margin: 0 0 24px;
	border-radius: 12px;
	background: var(--wp--preset--color--surface-inverse);
}
.wp-block-image.is-style-integration-logo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: min(100%, 250px) !important;
	margin-inline: auto;
	object-fit: contain;
}

/* Integrations follows Foreman's section rhythm and reusable card treatments. */
.integrations-section { padding-block: clamp(31.5px, 4.825vw, 69.5px); }
.integrations-section > h2.wp-block-heading { font-size: clamp(22px, 3vw, 43px); line-height: 1.12; }
.integrations-hero { padding-top: clamp(39px, 6.04vw, 87px); padding-bottom: clamp(45px, 6.945vw, 100px); }
.integrations-hero h1.wp-block-heading,
.integrations-hero h1.wp-block-query-title { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.06; text-align: center; }
.integrations-section .integrations-lede { font-size: 18px; line-height: 1.65; text-align: center; margin-top: 24px; }
.integrations-card-grid { gap: 24px; align-items: stretch; margin-block-start: 32px !important; }
.integrations-card-grid h3.wp-block-heading { font-size: 20px; line-height: 1.35; margin: 0 0 14px; }
.integrations-card-grid p { font-size: 16px; line-height: 1.65; margin-top: 14px; }
.integrations-enquiry > .wp-block-buttons { margin-block-start: 24px; }

/* Industries and Pricing share the same card system and section rhythm. */
.integrations-hero > .wp-block-buttons { margin-block-start: 28px; }
.integrations-hero .is-style-outline .wp-element-button { color: var(--wp--preset--color--text-inverse); border-color: var(--wp--preset--color--text-inverse); }
.is-style-metric-value,
.integrations-card-grid p.is-style-metric-value { font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -.04em; margin: 24px 0 8px; }
.refresh-feature-list { padding-left: 20px; margin-block: 24px; font-size: 15px; line-height: 1.6; }
.refresh-feature-list li { margin-top: 12px; padding-left: 4px; }
.refresh-feature-list li::marker { color: var(--wp--preset--color--accent-warm); }
.is-style-pricing-card {
	--pricing-card-padding: clamp(20px, 2.5vw, 32px);
	box-sizing: border-box;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 560px;
	min-width: 0;
	padding: var(--pricing-card-padding);
	border: 2px solid var(--wp--preset--color--border-default);
	border-radius: 20px;
	box-shadow: 0 12px 32px rgba(18,43,78,.06);
}
.is-style-pricing-card > * { margin-block: 0 !important; }
.is-style-pricing-card > .wp-block-buttons { margin-block-start: auto !important; }
.is-style-pricing-card.pricing-plan-popular { border-color: var(--wp--preset--color--accent-warm); }
.pricing-plans-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(5, auto) minmax(0, 1fr) auto;
	column-gap: 24px;
	row-gap: 14px;
}
.pricing-plans-grid > .wp-block-column {
	display: grid;
	grid-row: 1 / span 7;
	grid-template-rows: subgrid;
	min-width: 0;
}
.pricing-plans-grid > .wp-block-column > .is-style-pricing-card {
	display: grid;
	grid-row: 1 / span 7;
	grid-template-rows: subgrid;
}
.pricing-plans-grid .is-style-pricing-card > .wp-block-buttons { margin: 0 !important; align-self: end; }
.pricing-price {
	align-items: baseline !important;
	gap: 6px;
	padding: 10px var(--pricing-card-padding);
	margin-inline: calc(-1 * var(--pricing-card-padding)) !important;
	border-radius: 0;
	background: var(--wp--preset--color--surface-inverse);
}
.pricing-price > .has-text-color { color: var(--wp--preset--color--text-inverse) !important; }
.pricing-price > * { margin: 0 !important; }
.pricing-price p.is-style-metric-value { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; overflow-wrap: anywhere; }
.is-style-price-unit,
.pricing-price p.is-style-price-unit { font-size: 12px; line-height: 1.4; white-space: nowrap; }
.is-style-pricing-card h3.wp-block-heading { font-size: 18px; line-height: 1.3; }
.is-style-pricing-card p:not(.is-style-metric-value):not(.is-style-plan-badge):not(.is-style-price-unit) { font-size: 15px; line-height: 1.45; }
.is-style-pricing-card p.pricing-features-intro { font-size: 13px; line-height: 1.4; font-weight: 600; }
.pricing-plans-grid .refresh-feature-list { font-size: 14px; line-height: 1.45; }
.pricing-plans-grid .refresh-feature-list li { margin-top: 8px; }
@media (max-width: 781px) {
	.pricing-plans-grid { display: flex !important; gap: 24px; }
	.pricing-plans-grid > .wp-block-column { display: block; }
	.pricing-plans-grid > .wp-block-column > .is-style-pricing-card { display: flex; min-height: 600px; }
	.pricing-plans-grid .is-style-pricing-card > .wp-block-buttons { margin-block-start: auto !important; align-self: stretch; }
}
.integrations-card-grid p.is-style-plan-badge {
	position: absolute; top: -16px; right: 24px; margin: 0; padding: 6px 12px;
	font-size: 12px; font-weight: 700; line-height: 1.4; border-radius: 99px;
	background: var(--wp--preset--color--accent-warm); color: var(--wp--preset--color--text-inverse) !important;
}
.pricing-plans-grid .wp-block-buttons { margin-top: 24px; }
.pricing-plans-grid .wp-element-button { font-size: 14px; }

/* Homepage uses the synced plans as a concise summary, not a feature table. */
.home-pricing-summary .pricing-features-intro,
.home-pricing-summary .refresh-feature-list { display: none; }
.home-pricing-summary .pricing-plans-grid { grid-template-rows: repeat(3, auto) minmax(0, 1fr) auto; }
.home-pricing-summary .pricing-plans-grid > .wp-block-column,
.home-pricing-summary .pricing-plans-grid > .wp-block-column > .is-style-pricing-card { grid-row: 1 / span 5; }
.home-pricing-summary .is-style-pricing-card { min-height: 360px; }
@media (max-width: 781px) {
	.home-pricing-summary .pricing-plans-grid > .wp-block-column > .is-style-pricing-card { min-height: 400px; }
}

/* Contact: native Jetpack fields, a calm form card, and direct contact details. */
.contact-grid { gap: clamp(32px, 5vw, 80px); align-items: flex-start; }
.contact-details { padding-block: 12px; }
.contact-details h2.wp-block-heading { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.15; }
.contact-details h2.wp-block-heading.has-text-align-left { text-align: left; }
.contact-details h3.wp-block-heading { font-size: 18px; line-height: 1.35; margin-top: 36px; }
.contact-details p, .contact-details li { font-size: 16px; line-height: 1.8; color: var(--wp--preset--color--text-muted); }
.contact-details > p { margin-top: 28px; }
.contact-details ul { padding-left: 20px; margin-top: 24px; }
.contact-details li { margin-top: 14px; }
.contact-direct-buttons { gap: 10px; margin-top: 24px; }
.contact-direct-buttons .wp-element-button {
	padding: 10px 14px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--text-default) 30%, transparent);
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.3;
	text-decoration: none;
}
.contact-grid > .wp-block-column.is-style-question-card { background-color: var(--wp--preset--color--surface-base); }
.contact-grid > .is-style-question-card > h3 { font-size: 22px; line-height: 1.3; margin-bottom: 24px; }
.cloudswms-contact-form { gap: 20px !important; align-items: stretch !important; }
.cloudswms-contact-form > .grunion-field-wrap { width: 100%; margin: 0; }
.cloudswms-contact-form label { font-size: 14px; line-height: 1.45; font-weight: 600; margin-bottom: 8px; }
.cloudswms-contact-form .wp-block-jetpack-input {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: 10px;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	color: var(--wp--preset--color--text-default);
	background: var(--wp--preset--color--surface-base);
}
.cloudswms-contact-form textarea.wp-block-jetpack-input { min-height: 150px; height: 160px; resize: vertical; }
.cloudswms-contact-form .wp-block-jetpack-input:focus-visible { outline: 2px solid var(--wp--preset--color--accent-primary); outline-offset: 2px; }
.contact-section p.contact-privacy { font-size: 12px; line-height: 1.6; color: var(--wp--preset--color--text-muted); margin-top: 24px; }

/* Editorial listings: image-led cards and a quiet, readable article layout. */
.editorial-hero + .editorial-section { margin-block-start: 0; }
.editorial-listing .wp-block-post-template.is-layout-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}
.editorial-listing .wp-block-post { display: flex; min-width: 0; }
.wp-block-group.is-style-editorial-card {
	box-sizing: border-box;
	padding: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(18,43,78,.06);
}
.is-style-editorial-card > * { margin: 0 !important; }
.is-style-editorial-card .wp-block-post-featured-image { width: 100%; }
.is-style-editorial-card .wp-block-post-featured-image a { display: block; height: 100%; }
.is-style-editorial-card .wp-block-post-featured-image img { width: 100%; height: 100% !important; object-fit: cover; }
.editorial-card-body { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: 24px; }
.editorial-card-body > * { margin: 0 !important; }
.editorial-card-body .wp-block-post-terms { font-size: 12px; line-height: 1.4; color: var(--wp--preset--color--text-muted); }
.editorial-card-body .wp-block-post-title { font-size: 21px; line-height: 1.35; text-align: left; }
.editorial-card-body .wp-block-post-title a { color: var(--wp--preset--color--text-default); text-decoration: none; }
.editorial-card-body .wp-block-post-excerpt { font-size: 15px; line-height: 1.55; color: var(--wp--preset--color--text-muted); }
.editorial-card-body .wp-block-post-excerpt p { margin: 0; }
.editorial-card-body .editorial-card-meta { margin-top: auto !important; padding-top: 6px; gap: 12px; font-size: 12px; }
.editorial-card-meta .wp-block-post-date { color: var(--wp--preset--color--text-muted); }
.editorial-card-meta .wp-block-read-more { font-size: 13px; font-weight: 600; }
.editorial-listing .wp-block-query-pagination { margin-top: 32px; }
.article-hero { text-align: center; }
.article-hero .wp-block-post-title { max-width: 1100px; margin: 20px auto 0 !important; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.12; }
.article-hero .wp-block-post-terms { font-size: 13px; color: inherit; }
.article-hero .wp-block-post-terms a { color: inherit; }
.article-hero .article-meta { margin-top: 24px; font-size: 14px; opacity: .8; }
.article-reading { margin-block-start: 0 !important; padding-block: clamp(32px, 4.8vw, 69px); }
.article-reading > .wp-block-post-featured-image { max-width: 1040px; margin-bottom: 40px; border-radius: 20px; overflow: hidden; }
.article-reading > .wp-block-post-featured-image img { width: 100%; height: 100% !important; object-fit: cover; }
.article-reading .wp-block-post-content { font-size: 18px; line-height: 1.75; }
.article-reading .wp-block-post-content h2 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; margin-top: 36px; }
.article-reading .wp-block-post-content li { margin-top: 10px; }
.article-navigation { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--wp--preset--color--border-default); font-size: 14px; gap: 24px; }
@media (min-width: 782px) and (max-width: 1000px) {
	.editorial-listing .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.editorial-listing .wp-block-post-template.is-layout-grid { grid-template-columns: minmax(0, 1fr); }
	.editorial-card-body { padding: 20px; }
	.article-reading .wp-block-post-content { font-size: 17px; line-height: 1.7; }
}

/* Platform detail pages: common heading rhythm and responsive workflow rows. */
.wp-block-group:is(.platform-hero-band, .platform-closing-band) > :is(h1,h2) { text-wrap: balance; }
.platform-closing-band > .swms-cta-notes { font-size: 14px; margin-block-start: 16px; }
.dashboard-summary > .wp-block-columns { margin-block: 24px 0; }
.dashboard-summary > .wp-block-columns p { margin-block: 8px 0; }
:is(.energy-intro, .energy-trades, .platform-closing-band) > .section-kicker { padding-block-end: 0; }
:is(.energy-intro, .energy-trades, .platform-closing-band) > .section-kicker + h2 { margin-block-start: 8px; }
.energy-intro > p:not(.section-kicker) { line-height: 1.65; }
:is(.energy-trades, .energy-benefits) > .wp-block-columns { margin-block: 32px 0; }
:is(.energy-trades, .energy-benefits) img { object-fit: contain; }
.site-footer .wp-block-buttons:not(.site-footer__contact) { gap: 8px; }
section.platform-reading-band > :is(.section-kicker, h2.wp-block-heading, p.wp-block-paragraph) { text-align: start; }
.wp-block-group:is(.platform-reading-band, .platform-features-band, .platform-steps-band) > .section-kicker { padding-block-end: 0; }
.wp-block-group:is(.platform-reading-band, .platform-features-band, .platform-steps-band) > .section-kicker + h2 { margin-block-start: 8px; }
.wp-block-group:is(.platform-steps-band, .platform-features-band) > h2 + :is(.wp-block-columns, .platform-feature-row),
.wp-block-group.platform-features-band > h2 + p + .platform-feature-row,
.wp-block-group:is(.platform-faq-band, .toolbox-faq) > h2 + .faq-list { margin-block-start: 32px; }
:is(.platform-features-band, .platform-steps-band, .platform-feature-row) > .wp-block-columns { margin-block-end: 0; }
/* Overrides the zero inline top margin on legacy nested feature groups. */
.platform-features-band > p + .platform-feature-row { margin-block-start: 32px !important; }
.platform-features-band > .platform-feature-row + .platform-feature-row { margin-block-start: 24px !important; }
.platform-feature-row .wp-block-column :is(h3.wp-block-heading, p.wp-block-paragraph) { text-align: start; }

/* Incident Reporting: readable feature rows, without uneven card heights. */
.incident-features > h2.wp-block-heading { font-size: clamp(26px, 3vw, 43px); line-height: 1.2; text-wrap: balance; }
.incident-features > .incident-feature-row { border-block-start: 1px solid var(--wp--preset--color--border-default); padding-block-start: 20px; gap: 8px clamp(24px, 4vw, 48px); }
.incident-feature-row h3.wp-block-heading { font-size: clamp(20px, 2.1vw, 24px); line-height: 1.3; text-align: start; margin-block: 0; }
.incident-feature-row .wp-block-column > p { text-align: start; margin-block: 0; }
.incident-feature-row .wp-block-column > p + p { margin-block-start: 12px; }
@media (min-width: 782px) {
	.incident-features > .incident-feature-row { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}

/* Forms: editorial reading bands and an open trade examples grid. */
.forms-reading > h2.wp-block-heading { text-wrap: balance; }
.forms-trades > h2.wp-block-heading { font-size: clamp(26px, 3vw, 43px); line-height: 1.2; text-wrap: balance; }
.forms-trades .forms-trade-grid { gap: 24px clamp(24px, 5vw, 56px); }
.forms-trade-item { border-block-start: 1px solid var(--wp--preset--color--border-default); padding-block-start: 20px; }
.forms-reading > p:not(.section-kicker), .forms-trade-item > p:not(.section-kicker) { line-height: 1.65; }
.forms-trade-item > p.wp-block-paragraph { text-align: start; }
.forms-trade-item > .section-kicker { padding-block-end: 0; }
.forms-trade-item > h3.wp-block-heading { text-align: start; font-size: clamp(20px, 2.1vw, 24px); line-height: 1.3; margin-block-start: 8px; }
.forms-trade-item > h3 + p { margin-block-start: 8px; margin-block-end: 0; }
.page-id-727 .platform-closing-band > h2.wp-block-heading { font-size: clamp(26px, 3vw, 43px); line-height: 1.2; }
@media (max-width: 781px) {
	.forms-trades .forms-trade-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Licence Tracking: open benefits grid and narrower supporting copy. */
.licence-benefits > h2.wp-block-heading { font-size: clamp(26px, 3vw, 43px); line-height: 1.2; }
.licence-benefits > .wp-block-columns + .wp-block-columns { margin-block-start: 24px; }
.licence-benefits .wp-block-column > h3.wp-block-heading { text-align: start; font-size: 20px; line-height: 1.3; }
.licence-benefits .wp-block-column > h3 + p { margin-block-start: 8px; }
.licence-coverage .wp-block-list { padding-inline-start: 1.25em; }
.licence-coverage > p:not(.section-kicker) { text-align: start; }
@media (max-width: 781px) {
	.licence-benefits .wp-block-column + .wp-block-column,
	.licence-benefits > .wp-block-columns + .wp-block-columns { border-block-start: 1px solid var(--wp--preset--color--border-default); padding-block-start: 24px; }
	.licence-coverage > .wp-block-columns { row-gap: 0; }
	.licence-coverage .wp-block-list { margin-block: 0; }
	.licence-coverage .wp-block-list > li + li { margin-block-start: 4px; }
	.licence-coverage .wp-block-column + .wp-block-column { margin-block-start: 4px; }
}

/* SWMS Management and Site Inductions: page-specific refinements. */
.wp-block-group:is(.swms-page-hero, .swms-page-cta, .induction-hero, .induction-closing) > :is(h1,h2) { text-wrap: balance; }
section.induction-reading > h2.wp-block-heading { text-align: start; }
.wp-block-group:is(.swms-workflow, .induction-build) > .section-kicker { text-align: center; padding-block-end: 0; }
.wp-block-group:is(.swms-workflow, .induction-build) > .section-kicker + h2 { margin-block-start: 8px; }
.wp-block-group:is(.swms-metrics, .swms-workflow, .swms-comparison, .swms-related, .induction-build) > h2 + *,
.wp-block-group:is(.swms-faq, .induction-faq) > h2 + .faq-list { margin-block-start: 32px; }
.induction-build .wp-block-columns { margin-block-end: 0; }
.wp-block-group.swms-faq > h2.wp-block-heading { padding-block-end: 0; }
.swms-workflow .wp-block-video { margin-block-end: 0; }
.swms-workflow .wp-block-video video { display: block; border-radius: 14px; }
.swms-metrics > .wp-block-columns { margin-block-end: 0; }
.swms-metrics .wp-block-column { text-align: center; }
.swms-metrics .is-style-step-number { margin-block-end: 8px; }
.swms-metrics .is-style-step-number + p { margin-block: 0; color: var(--wp--preset--color--text-muted); line-height: 1.5; }
.swms-related > .wp-block-columns { margin-block-end: 0; gap: clamp(24px, 4vw, 56px); }
.swms-related .wp-block-column > h3 { margin-block: 0; }
.swms-related .wp-block-column > p { margin-block: 8px 0; }
.swms-page-cta > .swms-cta-notes { font-size: 14px; }
@media (min-width: 782px) and (max-width: 1000px) {
	:is(.swms-steps, .induction-steps) .foreman-steps-grid,
	.wp-block-columns.platform-steps-four { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.swms-metrics > .wp-block-columns { gap: 22px; }
	.swms-related .wp-block-column + .wp-block-column { padding-block-start: 18px; border-block-start: 1px solid var(--wp--preset--color--border-default); }
}

/* Foreman: a clear numbered sequence, one step per card. */
.foreman-steps-grid {
	gap: 24px;
	align-items: stretch;
	margin-block-start: 32px !important;
}
.is-style-step-number {
	color: var(--wp--preset--color--accent-warm) !important;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.04em;
	margin: 0 0 24px;
}
.foreman-steps-grid h3.wp-block-heading {
	font-size: 20px;
	line-height: 1.35;
	text-align: left;
	margin: 0 0 14px;
}
.foreman-steps-grid p:not(.is-style-step-number) {
	font-size: 16px;
	line-height: 1.65;
	margin: 0;
	text-align: left;
}

/* Scout AI: six common questions in two roomy, editable three-column rows. */
.wp-block-column.is-style-question-card {
	box-sizing: border-box;
	padding: clamp(20px, 2.5vw, 32px);
	border: 1px solid var(--wp--preset--color--border-default);
	border-radius: 20px;
	box-shadow: 0 12px 32px rgba(18,43,78,.06);
}
.scout-faq > .wp-block-heading {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding-bottom: 15px;
}
.scout-faq .scout-faq-row {
	gap: 24px;
	align-items: stretch;
	margin-block-start: 24px !important;
}
.scout-faq-row > .wp-block-column {
	box-sizing: border-box;
	padding: 24px;
}
.scout-faq-row > .wp-block-column.is-style-question-card { padding: clamp(20px, 2.5vw, 32px); }
.scout-faq-row h3 { font-size: 18px; line-height: 1.35; margin: 0 0 15px; }
.scout-faq-row p { font-size: 15px; line-height: 1.65; margin: 0; }
@media (max-width: 781px) {
	.scout-faq-row > .wp-block-column { padding: 16px; }
}

/* Reusable native Details treatment; only applied to converted FAQs. */
.wp-block-details.is-style-faq {
 box-sizing: border-box;
 width: 100%;
 padding: 0;
 border: 1px solid var(--wp--preset--color--border-default);
 border-radius: 12px;
 background: var(--wp--preset--color--surface-base);
 color: var(--wp--preset--color--text-default);
 overflow: hidden;
}
.wp-block-details.is-style-faq + .wp-block-details.is-style-faq { margin-block-start: 12px; }
.wp-block-details.is-style-faq > summary {
 display: block;
 list-style: none;
 padding: 22px 24px;
 margin: 0;
 cursor: pointer;
 font-size: 18px;
 font-weight: 650;
 line-height: 1.4;
 text-align: left;
}
.wp-block-details.is-style-faq > summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq > summary::marker { content: ''; }
.wp-block-details.is-style-faq > summary::before,
.wp-block-details.is-style-faq > summary::after { content: none; }
.wp-block-details.is-style-faq > summary:hover { background: var(--wp--preset--color--section-band); }
.wp-block-details.is-style-faq > summary:focus-visible {
 outline: 2px solid var(--wp--preset--color--primary);
 outline-offset: -5px;
 border-radius: 10px;
}
.wp-block-details.is-style-faq[open] { border-color: var(--wp--preset--color--accent-warm); }
.wp-block-details.is-style-faq[open] > summary {
 background: var(--wp--preset--color--section-band);
 box-shadow: inset 4px 0 var(--wp--preset--color--accent-warm);
 border-bottom: 1px solid var(--wp--preset--color--border-default);
}
.wp-block-details.is-style-faq > :not(summary) {
 margin: 0;
 padding: 20px 24px;
 line-height: 1.7;
}
@media (max-width: 600px) {
 .wp-block-details.is-style-faq > summary { padding: 18px; font-size: 16px; }
 .wp-block-details.is-style-faq > :not(summary) { padding: 18px; }
}

/* Shared FAQ rollout: reading-width lists, safe gutters and a disclosure chevron. */
.faq-section { padding-inline: var(--wp--style--root--padding-left, 16px); }
.faq-section > .faq-list { width: 100%; max-width: 760px; margin-inline: auto; }
.wp-block-details.is-style-faq > summary { position: relative; padding-right: 58px; }
.wp-block-details.is-style-faq > summary::after {
 content: '';
 position: absolute;
 right: 25px;
 top: 50%;
 width: 8px;
 height: 8px;
 border-right: 2px solid currentColor;
 border-bottom: 2px solid currentColor;
 transform: translateY(-70%) rotate(45deg);
 pointer-events: none;
}
.wp-block-details.is-style-faq[open] > summary::after {
 transform: translateY(-20%) rotate(225deg);
}
@media (max-width: 600px) {
 .wp-block-details.is-style-faq > summary { padding-right: 48px; }
 .wp-block-details.is-style-faq > summary::after { right: 20px; }
}

/* Dashboards: native editable grids, with readable cards at every width. */
.dashboard-card-grid {
	gap: 24px;
	align-items: stretch;
}
.dashboard-card-grid > .is-replica-card {
	min-width: 0;
	margin-block: 0;
	overflow-wrap: anywhere;
}
@media (max-width: 900px) {
	.dashboard-card-grid.dashboard-card-grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.dashboard-card-grid.dashboard-card-grid-3,
	.dashboard-card-grid.dashboard-card-grid-2 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* === homepage refined === */
.home .wp-block-post-content { color: var(--wp--preset--color--text-default); }
.home .wp-block-post-content :is(h1,h2,h3,h4,p,ul) { margin-top: 0; }
.home .wp-block-post-content h2 { font-size: clamp(34px,4.15vw,54px); line-height: 1.08; font-weight: 700; }
.home .wp-block-post-content h3 { line-height: 1.2; }
.home-section { padding-block: clamp(22px,2.5vw,33px); }
.section-kicker { padding-bottom: 16px; }
.section-intro { max-width: 850px !important; margin-inline: auto !important; margin-bottom: 64px; text-align: center; }
.section-intro > * + * { margin-top: 18px; }
.section-intro > .wp-block-heading { padding-bottom: 15px; }
.section-kicker { color: var(--wp--preset--color--accent-warm); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.section-lede { color: var(--wp--preset--color--text-muted); font-size: 18px; line-height: 1.65; }
.home-hero { padding-block: clamp(14.5px,2vw,26px); background: radial-gradient(circle at 74% 35%, color-mix(in srgb,var(--wp--preset--color--accent-primary) 9%,transparent), transparent 32%), radial-gradient(circle at 18% 88%, color-mix(in srgb,var(--wp--preset--color--accent-warm) 8%,transparent), transparent 26%); }
.home-hero__grid { gap: clamp(48px,7vw,88px); align-items: center !important; }
.home-hero__copy { flex-basis: 51% !important; }
.home-hero__visual { position: relative; flex-basis: 49% !important; padding-block: 52px; }
.eyebrow-pill,.dark-eyebrow { display: inline-flex; align-items: center; width: fit-content; padding: 9px 15px; border: 1px solid var(--wp--preset--color--border-default); border-radius: 999px; font-size: 13px; font-weight: 700; }
.home-hero__title { max-width: 600px; margin-block: 24px 24px !important; font-size: clamp(48px,5.3vw,72px) !important; line-height: .98 !important; font-weight: 700; letter-spacing: -.055em; }
.home-hero__title mark { color: var(--wp--preset--color--accent-warm); background: none; }
.home-hero__lede { max-width: 590px; color: var(--wp--preset--color--text-muted); font-size: clamp(18px,1.7vw,22px); line-height: 1.55; }
.home-actions { gap: 14px; margin-top: 32px; }
.home-actions .wp-element-button,.center-actions .wp-element-button,.foreman-copy .wp-element-button { padding: 17px 26px; border-radius: 12px; font-size: 16px; }
.button-primary .wp-element-button { box-shadow: 0 14px 30px color-mix(in srgb,var(--wp--preset--color--accent-warm) 30%,transparent); }
.button-secondary .wp-element-button { border-color: var(--wp--preset--color--border-default); color: var(--wp--preset--color--text-default); }
.trust-label { margin-top: 42px !important; color: var(--wp--preset--color--text-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.trust-badges { gap: 9px !important; margin-top: 15px !important; }
.trust-badges p { margin: 0 !important; padding: 8px 13px; border: 1px solid var(--wp--preset--color--border-default); border-radius: 999px; background: var(--wp--preset--color--surface-raised); font-size: 12px; font-weight: 700; }
.health-card { position: relative; z-index: 1; padding: 29px 28px; border: 1px solid var(--wp--preset--color--border-default); border-radius: 24px; background: var(--wp--preset--color--surface-base); box-shadow: 0 24px 60px rgba(18,43,78,.14); }
.health-card__title { margin-bottom: 20px !important; font-size: 25px !important; }
.health-row { padding-block: 18px; border-top: 1px solid var(--wp--preset--color--border-default); }
.health-row:first-of-type { border-top: 0; }
.health-row__head { gap: 12px; font-weight: 700; }
.health-row__head p { margin: 0 !important; }
.health-row__head p:last-child { margin-left: auto !important; }
.health-meter { position: relative; height: 9px; margin-block: 12px 10px !important; overflow: hidden; border-radius: 99px; background: var(--wp--preset--color--text-subtle); }
.health-meter::after { content: ''; display: block; height: 100%; border-radius: inherit; }
.health-row--good .health-meter::after { width: 100%; background: #1ca64b; }
.health-row--warn .health-meter::after { width: 55%; background: var(--wp--preset--color--accent-warm); }
.health-row--danger .health-meter::after { width: 10%; background: var(--wp--preset--color--accent-warning); }
.health-status { font-size: 14px; font-weight: 700; }
.health-row--good .health-status,.health-row--good .health-row__head p:last-child { color: #1ca64b; }
.health-row--warn .health-status,.health-row--warn .health-row__head p:last-child { color: var(--wp--preset--color--accent-warm); }
.health-row--danger .health-status,.health-row--danger .health-row__head p:last-child { color: var(--wp--preset--color--accent-warning); }
.hero-float { position: absolute; z-index: 2; width: 190px; padding: 16px 18px; border: 1px solid var(--wp--preset--color--border-default); border-radius: 15px; background: var(--wp--preset--color--surface-base); box-shadow: 0 16px 36px rgba(18,43,78,.14); }
.hero-float p { margin: 0 !important; font-size: 13px; }
.hero-float p:first-child { font-weight: 700; }
.hero-float p + p { margin-top: 5px !important; color: var(--wp--preset--color--text-muted); }
.hero-float--top { top: 18px; right: -10px; }
.hero-float--bottom { bottom: 12px; left: -24px; }
.comparison-section { position: relative; }
.comparison-component { position: relative; margin-block-start: 32px !important; }
.comparison-component > .comparison-grid { margin-block: 0 !important; }
.comparison-component > .comparison-vs { top: 50%; }
.comparison-grid { position: relative; gap: 24px; }
.comparison-card { position: relative; min-height: 430px; padding: 34px 32px; border: 1px solid var(--wp--preset--color--border-default); border-top: 4px solid #9aa9ba; border-radius: 20px; background: var(--wp--preset--color--surface-base); box-shadow: 0 18px 40px rgba(18,43,78,.08); }
.comparison-card--cloud { border-top-color: var(--wp--preset--color--accent-warm); }
.comparison-card__head { gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--wp--preset--color--border-default); }
.comparison-card__head h3 { margin-bottom: 4px !important; font-size: 20px; }
.comparison-card__head p { margin: 0 !important; color: var(--wp--preset--color--text-muted); font-size: 14px; }
.comparison-icon { flex: 0 0 48px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--wp--preset--color--surface-raised); color: var(--wp--preset--color--text-default) !important; font-size: 24px !important; }
.comparison-list { margin: 24px 0 0 !important; padding: 0; list-style: none; }
.comparison-list li { position: relative; margin-top: 15px; padding-left: 39px; font-weight: 600; }
.comparison-list li::before { content: '×'; position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: var(--wp--preset--color--surface-raised); color: #9aa9ba; }
.comparison-list--positive li::before { content: '✓'; background: #e8f8ef; color: #1ca64b; }
.comparison-badge { position: absolute; top: -17px; right: 24px; padding: 8px 17px; border-radius: 99px; background: var(--wp--preset--color--accent-warm); color: var(--wp--preset--color--text-inverse); font-size: 12px; font-weight: 700; box-shadow: 0 8px 18px color-mix(in srgb,var(--wp--preset--color--accent-warm) 30%,transparent); }
.comparison-vs { position: absolute; z-index: 2; left: 50%; top: 49%; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 !important; border: 1px solid var(--wp--preset--color--border-default); border-radius: 50%; background: var(--wp--preset--color--surface-base); font-weight: 700; transform: translate(-50%,-50%); }
.risk-banner { margin-top: 56px !important; padding: 42px; border-radius: 20px; background: radial-gradient(circle at 74% 30%, color-mix(in srgb,var(--wp--preset--color--accent-warm) 14%,transparent), transparent 30%), var(--wp--preset--color--surface-inverse); color: var(--wp--preset--color--text-inverse); text-align: center; }
.risk-banner p { margin-bottom: 8px !important; color: var(--wp--preset--color--text-subtle); font-size: 19px; font-weight: 700; }
.risk-banner h3 { font-size: 26px; }
.features-section .section-intro { margin-bottom: 56px; }
.feature-row { gap: 22px; margin-bottom: 22px; }
.feature-card { height: 100%; min-height: 250px; padding: 30px 28px; border: 1px solid var(--wp--preset--color--border-default); border-radius: 18px; background: var(--wp--preset--color--surface-base); }
.feature-card__icon { display: grid; place-items: center; width: 56px !important; height: 56px; margin: 0 0 24px !important; border-radius: 14px; background: var(--wp--preset--color--surface-raised); }
.feature-card__icon img { width: 28px !important; height: 28px !important; }
.feature-card h3 { margin-bottom: 12px !important; font-size: 20px; }
.feature-card p { color: var(--wp--preset--color--text-muted); line-height: 1.55; }
.foreman-section { padding-block: clamp(22px,2.5vw,31.5px); background: radial-gradient(circle at 88% 22%,color-mix(in srgb,var(--wp--preset--color--accent-primary) 24%,transparent),transparent 36%),var(--wp--preset--color--surface-inverse); }
.foreman-grid { gap: clamp(46px,7vw,90px); align-items: center !important; }
.foreman-copy h2 { margin-block: 24px !important; font-size: clamp(40px,4.6vw,60px) !important; line-height: 1.02 !important; }
.dark-eyebrow { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: var(--wp--preset--color--text-inverse); }
.foreman-lede { color: var(--wp--preset--color--text-subtle) !important; font-size: 18px; line-height: 1.65; }
.foreman-list { margin-block: 26px 32px !important; padding: 0; list-style: none; }
.foreman-list li { position: relative; margin-top: 16px; padding-left: 36px; font-weight: 700; }
.foreman-list li::before { content:'✓'; position:absolute; left:0; top:-2px; display:grid; place-items:center; width:24px; height:24px; border-radius:6px; background:color-mix(in srgb,var(--wp--preset--color--accent-warm) 20%,transparent); color:var(--wp--preset--color--accent-warm); }
.foreman-panel { min-height: 490px; padding: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(8,29,58,.48); box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.foreman-panel__head { padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foreman-panel__head h3 { margin: 0 !important; color: var(--wp--preset--color--text-inverse) !important; }
.foreman-panel__head p { margin: 4px 0 0 !important; color: var(--wp--preset--color--text-subtle) !important; font-size: 12px; }
.foreman-spark { display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; border-radius:12px; background:var(--wp--preset--color--accent-warm); color:white !important; font-size:24px !important; box-shadow:0 10px 25px color-mix(in srgb,var(--wp--preset--color--accent-warm) 35%,transparent); }
.foreman-statuses { gap: 8px !important; }
.foreman-statuses p { padding:8px 12px; border:1px solid rgba(255,255,255,.16); border-radius:99px; white-space:nowrap; }
.foreman-statuses p:first-child { color:#35d5c1 !important; }
.foreman-message { margin-top: 24px !important; padding: 22px; border-radius: 15px; background: var(--wp--preset--color--surface-base); color: var(--wp--preset--color--text-muted) !important; line-height: 1.55; }
.foreman-compose { margin-top: 80px !important; padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; color: var(--wp--preset--color--text-subtle); }
.foreman-compose p { margin:0 !important; }
.foreman-compose > .wp-block-group { margin-top: 54px !important; }
.foreman-send { padding: 12px 22px; border-radius: 10px; background: var(--wp--preset--color--accent-warm); color: white !important; font-weight: 700; }
.dashboard-section .section-intro { margin-bottom: 48px; }
.dashboard-card { overflow:hidden; border:1px solid var(--wp--preset--color--border-default); border-radius:20px; background:var(--wp--preset--color--surface-base); box-shadow:0 24px 55px rgba(18,43,78,.12); }
.dashboard-kpis { gap:0; margin:0 !important; border-bottom:1px solid var(--wp--preset--color--border-default); }
.dashboard-kpis .wp-block-column { padding:26px 30px; border-left:1px solid var(--wp--preset--color--border-default); }
.dashboard-kpis .wp-block-column:first-child { border-left:0; }
.dashboard-kpis p { margin:0 !important; font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.dashboard-kpis h3 { margin-block:12px !important; font-size:42px; }
.dashboard-kpis .kpi-good { color:#1ca64b; text-transform:none; }
.dashboard-kpis .kpi-blue { color:var(--wp--preset--color--accent-primary); text-transform:none; }
.dashboard-kpis .kpi-purple { color:#873bd4; text-transform:none; }
.dashboard-main { gap:0; margin:0 !important; }
.dashboard-main > .wp-block-column { padding:32px; }
.dashboard-main > .wp-block-column + .wp-block-column { border-left:1px solid var(--wp--preset--color--border-default); }
.dashboard-main h3 { margin-bottom:20px !important; font-size:21px; }
.mini-health { padding-block:15px; border-top:1px solid var(--wp--preset--color--border-default); }
.mini-health:first-of-type { border-top:0; }
.mini-health p { margin:0 !important; font-size:13px; font-weight:700; }
.mini-health hr { height:8px; margin-block:10px !important; border:0; border-radius:99px; opacity:1; background:linear-gradient(to right,#1ca64b 100%,var(--wp--preset--color--text-subtle) 0); }
.mini-health--warn hr { background:linear-gradient(to right,var(--wp--preset--color--accent-warm) 55%,var(--wp--preset--color--text-subtle) 55%); }
.mini-health--danger hr { background:linear-gradient(to right,var(--wp--preset--color--accent-warning) 10%,var(--wp--preset--color--text-subtle) 10%); }
.mini-health--good p:last-child { color:#1ca64b; }.mini-health--warn p:last-child { color:var(--wp--preset--color--accent-warm); }.mini-health--danger p:last-child { color:var(--wp--preset--color--accent-warning); }
.dashboard-filters { gap:12px !important; }
.dashboard-filters p { flex:1; margin:0 !important; padding:12px 14px; border:1px solid var(--wp--preset--color--border-default); border-radius:10px; background:var(--wp--preset--color--surface-raised); font-size:13px; font-weight:700; }
.chart-mock { height:180px; margin-block:24px !important; border-left:2px solid var(--wp--preset--color--border-default); border-bottom:2px solid var(--wp--preset--color--border-default); background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,var(--wp--preset--color--border-subtle) 44px),linear-gradient(135deg,transparent 0 18%,var(--wp--preset--color--accent-primary) 18.5% 19%,transparent 19.5% 100%); }
.activity-bar { height:8px; border:0; border-radius:99px; opacity:1; background:linear-gradient(to right,#1ca64b 25%,var(--wp--preset--color--accent-primary) 25% 100%); }
.chart-legend { font-size:12px; font-weight:700; }
.dashboard-caption { margin-top:44px !important; font-size:18px; font-weight:700; }
.partner-row { gap:18px; }
.partner-card { min-height:130px; padding:24px; border:1px solid var(--wp--preset--color--border-default); border-radius:18px; }
.partner-logo { display:grid; place-items:center; flex:0 0 58px; width:58px; height:58px; margin:0 !important; border-radius:13px; color:white; font-weight:700; }
.partner-logo--simpro{background:#00a7df}.partner-logo--fergus{background:#29b67d}.partner-logo--aroflo{background:#ff9218}
.partner-card h3 { margin:0 0 6px !important; font-size:20px; }.partner-card p { margin:0 !important; color:var(--wp--preset--color--text-muted); }
.integration-flow { gap:18px !important; margin-top:38px !important; padding:28px; border-radius:18px; background:var(--wp--preset--color--surface-raised); }
.integration-flow p { margin:0 !important; padding:12px 22px; border:1px solid var(--wp--preset--color--border-default); border-radius:99px; background:white; font-weight:700; }
.integration-flow .flow-arrow { padding:0; border:0; background:none; color:var(--wp--preset--color--accent-warm); font-size:25px; }
.integration-flow .flow-active { background:var(--wp--preset--color--surface-inverse); color:white; }
.section-link { margin-top:32px !important; }.section-link a { color:var(--wp--preset--color--accent-warm); font-weight:700; text-decoration:none; }
.industry-row { gap:20px; margin-bottom:20px; }
.industry-card { min-height:210px; padding:28px; border:1px solid var(--wp--preset--color--border-default); border-radius:18px; background:white; }
.industry-icon { display:grid; place-items:center; width:52px; height:52px; margin:0 0 22px !important; border-radius:13px; background:#edf2fb; color:var(--wp--preset--color--accent-primary); font-size:25px; }
.industry-card h3 { margin-bottom:10px !important; font-size:19px; }.industry-card > p:last-child { color:var(--wp--preset--color--text-muted); line-height:1.55; }
.expanding-strip { gap:10px !important; margin-top:34px !important; padding:24px; border-radius:20px; background:var(--wp--preset--color--surface-inverse); color:white; }
.expanding-strip p { margin:0 !important; padding:8px 16px; border:1px solid rgba(255,255,255,.2); border-radius:99px; font-weight:700; }.expanding-strip p:first-child{border:0;text-transform:uppercase;letter-spacing:.08em;font-size:12px;color:var(--wp--preset--color--text-subtle)}
.stats-section { padding-block:17.5px; }.stats-grid{gap:0}.stats-grid .wp-block-column{text-align:center;border-left:1px solid rgba(255,255,255,.2)}.stats-grid .wp-block-column:first-child{border-left:0}.stats-grid h3{margin:0 0 10px !important;color:white!important;font-size:44px}.stats-grid p{margin:0!important;color:var(--wp--preset--color--text-subtle)!important;line-height:1.5}
.pricing-grid { gap:20px; }.price-card{position:relative;height:100%;min-height:310px;padding:30px 26px;border:1px solid var(--wp--preset--color--border-default);border-radius:18px}.price-card--featured{border-color:var(--wp--preset--color--accent-warm);box-shadow:0 18px 38px rgba(18,43,78,.08)}.price-card h3{font-size:21px}.price-card>p{color:var(--wp--preset--color--text-muted);line-height:1.45}.price{margin-block:34px!important;font-size:36px}.price small{font-size:13px;color:var(--wp--preset--color--text-muted);font-weight:400}.price--text{font-size:20px}.popular-badge{position:absolute;top:-16px;left:50%;padding:8px 20px;border-radius:99px;background:var(--wp--preset--color--accent-warm);color:white!important;font-size:12px;font-weight:700;text-transform:uppercase;transform:translateX(-50%);white-space:nowrap}.center-actions{margin-top:46px}.center-actions .wp-element-button{padding-inline:30px}
.final-cta{padding-block:clamp(22.5px,2.75vw,36.25px);background:radial-gradient(circle at 70% 25%,color-mix(in srgb,var(--wp--preset--color--accent-warm) 18%,transparent),transparent 28%),var(--wp--preset--color--surface-inverse)}.final-cta__inner{max-width:850px!important;text-align:center}.final-cta h2{margin-block:26px!important;color:white!important;font-size:clamp(42px,5.5vw,70px)!important;line-height:1!important}.final-cta__lede{max-width:720px;margin-inline:auto!important;color:var(--wp--preset--color--text-subtle)!important;font-size:19px;line-height:1.6}.button-light .wp-element-button{border-color:rgba(255,255,255,.45);color:white}.cta-benefits{margin-top:50px!important}.cta-benefits p{margin:0!important;font-weight:700}
@media (max-width: 781px){.home-section{padding-block:19.5px}.section-intro{margin-bottom:44px}.section-intro h2 br,.final-cta h2 br{display:none}.section-lede{font-size:17px}.home-hero{padding-block:12px 19px}.home-hero__grid{gap:36px}.home-hero__copy,.home-hero__visual{flex-basis:100%!important}.home-hero__title{font-size:44px!important}.home-hero__lede{font-size:18px}.home-actions{align-items:stretch}.home-actions .wp-block-button{width:100%}.home-actions .wp-element-button{width:100%}.trust-label{margin-top:38px!important}.home-hero__visual{padding:28px 0 0}.health-card{padding:26px 20px}.hero-float{display:none}.comparison-card{min-height:0}.comparison-grid{gap:34px}.comparison-vs{top:54%;}.risk-banner{padding:34px 24px}.feature-row{gap:18px}.feature-card{min-height:0;padding:28px}.foreman-grid{gap:44px}.foreman-copy h2{font-size:39px!important}.foreman-panel{min-height:0;padding:20px}.foreman-panel__head{align-items:flex-start;flex-direction:column}.foreman-statuses{margin-top:16px}.foreman-compose{margin-top:35px!important}.dashboard-kpis .wp-block-column,.dashboard-main>.wp-block-column{padding:24px}.dashboard-kpis .wp-block-column{border-left:0;border-top:1px solid var(--wp--preset--color--border-default)}.dashboard-kpis .wp-block-column:first-child{border-top:0}.dashboard-main>.wp-block-column+.wp-block-column{border-left:0;border-top:1px solid var(--wp--preset--color--border-default)}.dashboard-filters{flex-wrap:wrap!important}.dashboard-filters p{flex-basis:100%}.partner-row,.industry-row,.pricing-grid{gap:16px}.integration-flow{align-items:stretch}.integration-flow p{width:100%;text-align:center}.integration-flow .flow-arrow{width:auto}.stats-grid .wp-block-column{padding-block:24px;border-left:0;border-top:1px solid rgba(255,255,255,.2)}.stats-grid .wp-block-column:first-child{border-top:0}.price-card{min-height:0}.cta-benefits{gap:10px}.cta-benefits p{text-align:center}}
/* Inset video uses the editable wide layout, capped at 1400px. */
.home-video-section {
	padding: clamp(16px, 2.5vw, 40px);
}
.home-video-section > .wp-block-video.home-hero-video.alignwide {
	max-width: var(--wp--style--global--wide-size, 1400px) !important;
}
.home-video-section .home-hero-video video {
	display: block;
	width: 100%;
	height: auto;
}

/* Let the introduction below the video fit its content, not a whole viewport. */
.wp-block-group.wpcom-ai-hero-wrapper {
	min-height: 0;
	padding-block: clamp(40px, 5vw, 72px);
}
.wpcom-ai-hero-wrapper .home-hero__title {
	margin-top: 0 !important;
}

/* Open icon-led entries: scope replica cards to the reviewed product pages. */
.home-section {
	padding-block: clamp(32px, 4.6vw, 64px);
}
.home-section :is(.feature-row, .industry-row) {
	gap: clamp(22px, 3.4vw, 48px);
	margin-block: 0;
}
.home-section:is(.features-section, .industries-section) > .section-intro { margin-block-end: 0; }
.home-section:is(.features-section, .industries-section) > .section-intro > h2 { padding-block-end: 0; margin-block-end: 0; }
.home-section:is(.features-section, .industries-section) > .section-intro > h2 + p { margin-block-start: 12px; margin-block-end: 0; }
.home-section > .section-intro + :is(.feature-row, .industry-row),
body:is(.page-id-2, .page-id-3, .page-id-11, .page-id-31, .page-id-32, .page-id-411) .wp-block-post-content h2 + :is(.dashboard-card-grid, .wp-block-columns:has(> .wp-block-column > .is-replica-card > .wp-block-image img[class*="wp-image-"])) {
	margin-block-start: 32px !important;
}
.home-section :is(.feature-row + .feature-row, .industry-row + .industry-row) {
	margin-block-start: 28px;
	padding-block-start: 28px;
	border-block-start: 1px solid var(--wp--preset--color--border-default);
}
:is(.home-section.features-section .feature-card, .home .industry-card,
	body:is(.page-id-2, .page-id-3, .page-id-11, .page-id-31, .page-id-32, .page-id-411)
	.wp-block-post-content .is-replica-card:has(> .wp-block-image img[class*="wp-image-"])) {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	column-gap: 14px;
	row-gap: 8px;
	align-content: start;
	align-items: start;
	height: auto;
	min-height: 0;
	/* Legacy replica blocks carry inline padding, radius and background support. */
	padding: 0 !important;
	border: 0;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none;

	& > * { margin: 0 !important; }
	& > :not(.wp-block-image) { grid-column: 2; }
	& > .wp-block-image {
		grid-area: 1 / 1 / span 2;
		width: 36px;
		mix-blend-mode: multiply;
		filter: grayscale(1) sepia(1) hue-rotate(165deg) saturate(1.8);
	}
	& > .wp-block-image img {
		display: block;
		width: 36px !important;
		height: 36px !important;
		object-fit: contain;
	}
	& > :is(h2, h3, h4) { text-align: start; }
	& > :is(h2, h3, h4) a { color: inherit; text-decoration: none; }
	& > :is(h2, h3, h4) a:hover { color: var(--wp--preset--color--accent-primary); }
	& > :is(h2, h3, h4) a:focus-visible {
		outline: 2px solid var(--wp--preset--color--accent-primary);
		outline-offset: 3px;
	}
}
/* Matching 24-unit outline glyphs for the audited icon entries. Original image blocks remain editable. */
@supports (mask-image: url("")) {
	:is(.home-section.features-section .feature-card, .home .industry-card,
		body:is(.page-id-2, .page-id-3, .page-id-11, .page-id-31, .page-id-32, .page-id-411) .wp-block-post-content .is-replica-card)
	> .wp-block-image:has(img:is(.wp-image-492,.wp-image-439,.wp-image-480,.wp-image-466,.wp-image-493,.wp-image-440,.wp-image-494,.wp-image-441,.wp-image-455,.wp-image-457,.wp-image-495,.wp-image-443,.wp-image-496,.wp-image-497,.wp-image-444,.wp-image-509,.wp-image-445,.wp-image-491,.wp-image-498,.wp-image-550,.wp-image-551,.wp-image-552,.wp-image-553,.wp-image-554,.wp-image-483,.wp-image-456,.wp-image-484,.wp-image-396,.wp-image-433,.wp-image-397,.wp-image-485,.wp-image-458,.wp-image-431,.wp-image-467,.wp-image-469,.wp-image-572,.wp-image-468,.wp-image-573,.wp-image-482,.wp-image-574,.wp-image-426,.wp-image-423,.wp-image-428,.wp-image-432)) {
		position: relative;
		filter: none;
		mix-blend-mode: normal;
		& img { opacity: 0; }
		&::before {
			content: "";
			position: absolute;
			inset: 1px;
			background: var(--wp--preset--color--text-default);
			mask: var(--open-icon, linear-gradient(transparent, transparent)) center / contain no-repeat;
			pointer-events: none;
		}
		/* Clipboard, talk, check-in, credential and incident. */
		&:has(img:is(.wp-image-492,.wp-image-439,.wp-image-480,.wp-image-466)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5H6a2 2 0 0 0-2 2v13a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7a2 2 0 0 0-2-2h-3M9 15l2 2 4-4'/%3E%3Crect x='9' y='3' width='6' height='4' rx='1'/%3E%3C/svg%3E"); }
		&:has(img:is(.wp-image-493,.wp-image-440)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H9l-5 4v-4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm3 5h10M7 13h6'/%3E%3C/svg%3E"); }
		&:has(img:is(.wp-image-494,.wp-image-441,.wp-image-455,.wp-image-457)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8V4a1 1 0 0 1 1-1h4m8 0h4a1 1 0 0 1 1 1v4m0 8v4a1 1 0 0 1-1 1h-4m-8 0H4a1 1 0 0 1-1-1v-4m5-4 3 3 5-6'/%3E%3C/svg%3E"); }
		&:has(img:is(.wp-image-495,.wp-image-443,.wp-image-496)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='10' r='1.5'/%3E%3Cpath d='M6 15a2.5 2.5 0 0 1 5 0m3-5h4m-4 4h3'/%3E%3C/svg%3E"); }
		&:has(img:is(.wp-image-497,.wp-image-444)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.5 4.8 3 18a1.4 1.4 0 0 0 1.2 2h15.6a1.4 1.4 0 0 0 1.2-2L13.5 4.8a1.7 1.7 0 0 0-3 0zM12 9v4m0 3h.01'/%3E%3C/svg%3E"); }
		/* Compliance, buildings and worksites. */
		&:has(img:is(.wp-image-509,.wp-image-445,.wp-image-491,.wp-image-467,.wp-image-432)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c2.5 2 5.2 3 8 3.5V12c0 4-2.8 7-8 9-5.2-2-8-5-8-9V6.5c2.8-.5 5.5-1.5 8-3.5zm-3 9 2 2 4-4'/%3E%3C/svg%3E"); }
		&:has(img:is(.wp-image-498,.wp-image-423)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 16h18v3H3zm2 0v-2a7 7 0 0 1 4-6.3m6 0a7 7 0 0 1 4 6.3v2M10 12V6h4v6'/%3E%3C/svg%3E"); }
		&:has(img.wp-image-550) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8M5 10v10h14V10m-9 10v-6h4v6'/%3E%3C/svg%3E"); }
		&:has(img:is(.wp-image-551,.wp-image-552,.wp-image-574)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21h16M6 21V3h8v18m0-12h4v12M9 7h2m-2 4h2m-2 4h2'/%3E%3C/svg%3E"); }
		&:has(img.wp-image-553) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17h18M5 17V7m14 10V7M5 9c4 7 10 7 14 0M8 13v4m8-4v4M5 20v1m14-1v1'/%3E%3C/svg%3E"); }
		&:has(img.wp-image-554) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='15' rx='2'/%3E%3Cpath d='M7 3v5m10-5v5M3 11h18m-12 5h.01M12 16h.01M15 16h.01'/%3E%3C/svg%3E"); }
		/* Signatures, records, automation and export. */
		&:has(img:is(.wp-image-483,.wp-image-456)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 16-1 5 5-1L20 8a2.8 2.8 0 0 0-4-4L4 16zM14 6l4 4M12 21h9'/%3E%3C/svg%3E"); }
		&:has(img:is(.wp-image-484,.wp-image-431)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3h7l5 5v12a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm7 0v5h5M4 6v12m6-5h7m-7 4h5'/%3E%3C/svg%3E"); }
		&:has(img:is(.wp-image-396,.wp-image-433)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9a8 8 0 0 1 14-3l2 2m0-5v5h-5m5 7a8 8 0 0 1-14 3l-2-2m0 5v-5h5m1-4 2 2 3-4'/%3E%3C/svg%3E"); }
		&:has(img:is(.wp-image-397,.wp-image-428)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 10c0 5-7 11-7 11S5 15 5 10a7 7 0 1 1 14 0z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
		&:has(img:is(.wp-image-485,.wp-image-458)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-4-4 4 4 4-4M4 16v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4'/%3E%3C/svg%3E"); }
		/* Assistant, dashboards, people and workspace. */
		&:has(img.wp-image-469) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c.8 5 3.2 7.2 8 8-4.8.8-7.2 3-8 8-.8-5-3.2-7.2-8-8 4.8-.8 7.2-3 8-8zM19 17v4m-2-2h4'/%3E%3C/svg%3E"); }
		&:has(img:is(.wp-image-572,.wp-image-468)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4v16h16M8 15l4-4 3 2 5-6m-4 0h4v4'/%3E%3C/svg%3E"); }
		&:has(img:is(.wp-image-573,.wp-image-482)) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20v-2a6 6 0 0 1 12 0v2m2-15a3 3 0 0 1 0 6m4 9v-2a5 5 0 0 0-3-4.5'/%3E%3C/svg%3E"); }
		&:has(img.wp-image-426) { --open-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5 9-5zm-9 9 9 5 9-5M3 16l9 5 9-5'/%3E%3C/svg%3E"); }
	}
}
body:is(.page-id-2, .page-id-3, .page-id-11, .page-id-31, .page-id-32, .page-id-411)
.wp-block-post-content .wp-block-columns:has(> .wp-block-column > .is-replica-card > .wp-block-image img[class*="wp-image-"]) {
	box-sizing: border-box;
	gap: clamp(22px, 3vw, 40px);
	align-items: start !important;
	&.alignfull { padding-inline: max(16px, var(--wp--style--root--padding-left, 16px)); }
	& > .wp-block-column { align-self: start; }
	@media (max-width: 781px) {
		gap: 0;
		& > .wp-block-column { padding-block: 16px; }
		h2 + & > .wp-block-column:first-child { padding-block-start: 0; }
		& > .wp-block-column + .wp-block-column { border-block-start: 1px solid var(--wp--preset--color--border-default); }
	}
}
@media (min-width: 782px) {
	body:is(.page-id-2, .page-id-3, .page-id-11, .page-id-31, .page-id-32, .page-id-411)
	.wp-block-post-content .wp-block-columns:has(> .wp-block-column > .is-replica-card > .wp-block-image img[class*="wp-image-"]):has(> .wp-block-column:nth-child(6)) {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.page-id-31 .dashboard-card-grid { gap: 0; }
	.page-id-31 .wp-block-post-content .dashboard-card-grid > .is-replica-card:has(> .wp-block-image img[class*="wp-image-"]) {
		padding-block: 16px !important;
	}
	.page-id-31 .wp-block-post-content h2 + .dashboard-card-grid > .is-replica-card:first-child {
		padding-block-start: 0 !important;
	}
	.page-id-31 .dashboard-card-grid > .is-replica-card + .is-replica-card {
		border-block-start: 1px solid var(--wp--preset--color--border-default) !important;
	}
}
@media (max-width: 781px) {
	.home-section :is(.feature-row, .industry-row) { gap: 0; }
	.home-section :is(.feature-row + .feature-row, .industry-row + .industry-row) {
		margin-block-start: 0;
		padding-block-start: 0;
	}
	.home-section :is(.feature-row, .industry-row) > .wp-block-column + .wp-block-column {
		border-block-start: 1px solid var(--wp--preset--color--border-default);
	}
	.home-section :is(.feature-row, .industry-row) :is(.feature-card, .industry-card) {
		padding-block: 18px !important;
	}
	.home-section > .section-intro + :is(.feature-row, .industry-row) > .wp-block-column:first-child > :is(.feature-card, .industry-card) {
		padding-block-start: 0 !important;
	}
}
/* === global footer === */
.site-footer {
	padding-block: clamp(56px, 7vw, 92px) 28px;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--text-inverse) 28%, transparent);
}
.site-footer__grid { gap: clamp(32px, 5vw, 72px); }
.site-footer__grid h3, .site-footer__grid h4 { margin-top: 0; line-height: 1.25; }
.site-footer__grid h3 { font-size: 17px; }
.site-footer__grid h4 { font-size: 14px; }
.site-footer__grid p { font-size: 14px; line-height: 1.35; }
.site-footer .wp-element-button { font-size: 13px; line-height: 1.3; }
.site-footer__logo { display: inline-block; padding: 12px 16px; border-radius: 10px; background: var(--wp--preset--color--surface-base); }
.site-footer__logo img { display: block; width: 180px; max-width: 100%; height: auto; object-fit: contain; object-position: left center; }
.site-footer__nav { font-size: 13px; line-height: 1.3; }
.site-footer__nav .wp-block-navigation__container { gap: 7px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer .wp-block-navigation a { text-decoration: none; }
.site-footer__contact { gap: 10px; }
.site-footer__contact .wp-block-button__link {
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--text-inverse) 40%, transparent);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	max-width: 100%;
	overflow-wrap: anywhere;
}
.site-footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.site-footer__legal p { margin: 0; font-size: 12px !important; line-height: 1.35; }

@media (max-width: 1100px) {
	.site-header__inner { gap: 12px; }
	.site-header__nav .wp-block-navigation__container { gap: 10px; }
	.site-header__actions .wp-element-button { padding-inline: 12px; font-size: 12px; }
}
@media (max-width: 980px) {
	/* Nav collapses to a hamburger; the CTA row stays visible (was display:none).
	   Reorder on mobile: logo | centred buttons | hamburger (right). The header
	   row keeps justify-content: space-between, so logo sits left, the hamburger
	   is pushed to the far right, and the buttons flex into the middle. */
	.site-header__actions { display: flex; order: 2; }
	.site-header__actions .wp-element-button { padding: 10px 14px; }
	.site-header__nav { flex: 0 0 auto; justify-content: flex-end; order: 3; }
	.site-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
	.site-header__nav .wp-block-navigation__responsive-container-open { display: flex; }
}

/* Mobile navigation overlay — full-screen menu modelled on the Curtin Springs
   treatment: bordered pill opener, navy full-height panel, stacked full-width
   rows with dividers and generous tap targets, and submenus that expand inline
   with a left accent border instead of nested fly-outs. Scoped to the mobile
   breakpoint so the desktop inline nav is untouched. */
@media (max-width: 980px) {
.site-header__nav :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close) {
	display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px;
	min-height: 42px; padding: 9px 14px; box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--border-default); border-radius: 8px;
	background: var(--wp--preset--color--surface-base); color: var(--wp--preset--color--text-default);
	font-weight: 600; line-height: 1.4;
}
.site-header__nav :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close) svg {
	width: 20px; height: 20px;
}
.site-header__nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: max(72px, 5vmax) max(20px, env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)) !important;
	background: var(--wp--preset--color--text-default) !important; color: var(--wp--preset--color--surface-base) !important;
	border-top: 4px solid var(--wp--preset--color--accent-warm);
	overflow-y: auto; overscroll-behavior: contain;
	box-sizing: border-box;
}
.site-header__nav .is-menu-open .wp-block-navigation__responsive-close { width: 100%; max-width: 720px; margin-inline: auto; }
.site-header__nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; align-items: stretch; gap: 0; flex-direction: column; }
.site-header__nav .is-menu-open .wp-block-navigation__container {
	width: 100%; flex-direction: column; align-items: stretch; gap: 0; text-align: left;
}
.site-header__nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	width: 100%; align-items: stretch; position: relative; gap: 0; box-sizing: border-box;
	border-bottom: 1px solid rgba(255,255,255,.14);
}
.site-header__nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	display: flex; align-items: center; width: 100%; min-height: 60px; padding: 16px 0; box-sizing: border-box;
	font-size: clamp(17px, 2vw, 20px); font-weight: 600; line-height: 1.45; text-align: left; white-space: normal;
	color: var(--wp--preset--color--surface-base); text-decoration: none;
}
.site-header__nav .is-menu-open .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content { padding-right: 36px; }
.site-header__nav .is-menu-open .has-child > .wp-block-navigation__submenu-icon {
	display: flex !important; position: absolute; top: 22px; right: 0; width: 18px; height: 18px; margin: 0; pointer-events: none;
	color: var(--wp--preset--color--surface-base);
}
.site-header__nav .is-menu-open .has-child > .wp-block-navigation__submenu-icon svg { width: 18px; height: 18px; }
.site-header__nav .is-menu-open .has-child.is-sub-open > .wp-block-navigation__submenu-icon { transform: rotate(180deg); }
.site-header__nav .is-menu-open .has-child > .wp-block-navigation__submenu-container {
	display: none !important; position: static; width: 100%; min-width: 0; height: auto; padding: 0 0 14px 16px; box-sizing: border-box;
	border: 0; border-left: 3px solid var(--wp--preset--color--accent-warm); border-radius: 0; box-shadow: none; background: transparent;
	opacity: 1; visibility: visible; overflow: visible; gap: 0; align-items: stretch;
}
.site-header__nav .is-menu-open .has-child.is-sub-open > .wp-block-navigation__submenu-container { display: flex !important; }
.site-header__nav .is-menu-open .wp-block-navigation__submenu-container > .wp-block-navigation-item { width: 100%; align-items: stretch; }
.site-header__nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: flex; align-items: center; width: 100%; text-align: left; box-sizing: border-box; min-height: 44px; padding: 10px 12px;
	font-size: 15px; font-weight: 400; line-height: 1.5; white-space: normal; color: var(--wp--preset--color--surface-base); text-decoration: none;
	opacity: .92;
}
.site-header__nav .is-menu-open .wp-block-navigation-item__content:hover,
.site-header__nav :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close):hover {
	color: var(--wp--preset--color--accent-warm);
}
.site-header__nav :is(button, a):focus-visible { outline: 2px solid var(--wp--preset--color--accent-warm); outline-offset: 4px; }
}
@media (max-width: 640px) {
	/* On phones keep the primary CTA and drop the secondary outline button so
	   the row fits beside the logo and hamburger. */
	.site-header__actions .header-demo { display: none !important; }
}
@media (max-width: 781px) {
	.admin-bar .site-header { top: 46px; }
	.site-header { padding-block: 10px; }
	.site-header__logo img { width: 110px; max-width: 110px; height: auto; }
	.site-footer__grid { gap: 36px; }
	.site-footer__legal { align-items: flex-start; }
	.wp-block-gallery.is-gallery-scroller {
		display: grid;
		grid-template-columns: 1fr;
		overflow: visible;
	}
	.wp-block-gallery.is-gallery-scroller.has-nested-images > .wp-block-image.is-resized {
		width: 100% !important;
		max-width: 100% !important;
	}
	.wp-block-gallery.is-gallery-scroller > .wp-block-image.is-resized img {
		width: 100% !important;
		height: auto !important;
		max-width: 100% !important;
	}
	.gallery-scroller-wrap .gallery-scroller-nav { display: none !important; }
}
/* ROI calculator page */
.cloudswms-roi .cloudswms-roi__stat-tile .cloudswms-roi__tile-label {
	color: var(--wp--preset--color--text-default, #122B4E);
}
.cloudswms-roi .cloudswms-roi__hero-tile .cloudswms-roi__tile-label {
	color: var(--wp--preset--color--surface-base, #FFFFFF);
}
.roi-intro {
	padding-top: clamp(48px, 7vw, 88px);
	padding-bottom: clamp(64px, 9vw, 120px);
}
.roi-intro__title {
	margin-block: 0 20px;
}
.roi-intro__lede {
	max-width: 560px;
	margin-inline: auto;
	font-size: 17px;
	line-height: 1.65;
	color: var(--wp--preset--color--text-muted);
	margin-bottom: clamp(32px, 4vw, 48px);
}

/* Toolbox Talks refresh: reading bands and the numbered workflow. */
section.toolbox-reading > h2.wp-block-heading { text-align: start; }
.toolbox-reading > .section-kicker, .toolbox-steps > .section-kicker { padding-block-end: 0; }
.toolbox-steps > .section-kicker { text-align: center; }
.toolbox-hero > h1, .toolbox-closing > h2 { text-wrap: balance; }
.toolbox-reading > .wp-block-list { box-sizing: border-box; padding-inline-start: 1.3em; line-height: 1.6; }
.toolbox-reading > .wp-block-list > li + li { margin-block-start: 0.4em; }
.toolbox-reading > .wp-block-separator { color: var(--wp--preset--color--border-default); }
.toolbox-card-row.wp-block-columns:not(:last-child), .toolbox-card-row.wp-block-columns { margin-block-end: 0; }
.toolbox-card-row .is-style-question-card > h3 { font-size: 19px; line-height: 1.35; }
.toolbox-card-row .is-style-question-card > p:not(.is-style-step-number) { line-height: 1.6; }
.toolbox-steps .toolbox-card-row.wp-block-columns { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.toolbox-steps .is-style-step-number { margin-block-end: 12px; }
.toolbox-steps .is-style-step-number + h3 { margin-block-start: 0; }
@media (max-width: 1000px) {
	.toolbox-steps .toolbox-card-row.wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.toolbox-steps .toolbox-card-row.wp-block-columns { grid-template-columns: minmax(0, 1fr); }
	.toolbox-steps .toolbox-card-row.wp-block-columns { gap: 12px; }
}
@media (max-width: 480px) {
	:is(.toolbox-hero, .toolbox-closing) .wp-block-buttons { gap: 12px; }
	:is(.toolbox-hero, .toolbox-closing) .wp-block-button__link { padding-inline: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
