/* SysteMarketing - small layer on top of theme.json */

/* Wordmark: lowercase, the shared "m" in cobalt */
.sm-wordmark {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 600;
	letter-spacing: -0.045em;
	line-height: 1;
}
.sm-wordmark a {
	text-decoration: none;
	color: var(--wp--preset--color--ink);
}
.sm-wordmark a:hover {
	color: var(--wp--preset--color--ink);
}
.sm-dark .sm-wordmark a,
.sm-dark .sm-wordmark a:hover {
	color: var(--wp--preset--color--paper);
}

/* Header */
.sm-header {
	border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.sm-header .wp-block-navigation a {
	text-decoration: none;
	color: var(--wp--preset--color--body);
}
.sm-header .wp-block-navigation a:hover {
	color: var(--wp--preset--color--ink);
}
.sm-header .wp-block-button__link {
	padding: 11px 20px;
	font-size: var(--wp--preset--font-size--small);
	background: var(--wp--preset--color--ink);
}
.sm-header .wp-block-button__link:hover {
	background: var(--wp--preset--color--cobalt);
}

/* Small mono label above headings and data */
.sm-eyebrow {
	font-family: var(--wp--preset--font-family--geist-mono);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--graphite);
}

/* Intro paragraph under a page title */
.sm-lead {
	font-size: var(--wp--preset--font-size--large);
	color: #4A4A4A;
	max-width: 640px;
	line-height: 1.55;
}

/* Sections: separated by hairlines, never boxes */
.sm-section {
	border-top: 1px solid var(--wp--preset--color--hairline);
}
.sm-section > *:first-child {
	margin-top: 0;
}

/* Stats row */
.sm-stats {
	border-top: 1px solid var(--wp--preset--color--hairline);
}
.sm-stats > .wp-block-group {
	padding: 28px 24px 28px 0;
}
.sm-stat-label {
	margin: 0;
	font-family: var(--wp--preset--font-family--geist-mono);
	font-size: 0.75rem;
	color: var(--wp--preset--color--graphite);
}
.sm-stat-value {
	margin: 8px 0 0;
	font-size: clamp(2.25rem, 3.4vw, 2.75rem);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

/* Numbered items (services, steps) */
.sm-num {
	margin: 0;
	font-family: var(--wp--preset--font-family--geist-mono);
	font-size: 0.75rem;
	color: var(--wp--preset--color--cobalt);
}
.sm-muted {
	color: #4A4A4A;
}

/* Sector strip */
.sm-sectors p {
	margin: 0;
	color: var(--wp--preset--color--body);
}

/* Case study / pricing cards */
.sm-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 20px;
	padding: clamp(24px, 3vw, 36px);
}
.sm-card .sm-stat-value {
	color: var(--wp--preset--color--cobalt);
}

/* Dark band (final CTA, footer) */
.sm-dark {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
}
.sm-dark a {
	color: var(--wp--preset--color--paper);
}
.sm-dark a:hover {
	color: var(--wp--preset--color--cobalt-light);
}
.sm-dark .sm-eyebrow,
.sm-dark .sm-stat-label {
	color: #A3A3A3;
}
.sm-dark .sm-muted,
.sm-dark .sm-lead {
	color: #C8C8C4;
}
.sm-dark .wp-block-button__link {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
}
.sm-dark .wp-block-button__link:hover {
	background: var(--wp--preset--color--cobalt-light);
	color: var(--wp--preset--color--ink);
}
.sm-dark .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--paper);
	border-color: #3A3A3A;
}

/* Footer */
.sm-footer p {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
}
.sm-footer a {
	text-decoration: none;
}

/* FAQ */
.wp-block-details summary {
	cursor: pointer;
	font-weight: 500;
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: -0.02em;
	list-style: none;
}
.wp-block-details summary::-webkit-details-marker {
	display: none;
}
.wp-block-details summary::after {
	content: "+";
	float: right;
	font-family: var(--wp--preset--font-family--geist-mono);
	color: var(--wp--preset--color--graphite);
}
.wp-block-details[open] summary::after {
	content: "-";
}
.wp-block-details > p {
	color: #4A4A4A;
	max-width: 720px;
}

/* Lists inside content: quiet bullets */
.sm-checklist {
	list-style: none;
	padding-left: 0;
}
.sm-checklist li {
	padding: 10px 0;
	border-top: 1px solid var(--wp--preset--color--hairline);
}

/* Accessibility: visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--cobalt);
	outline-offset: 3px;
}

/* Hero */
.sm-hero-title {
	max-width: 1100px;
	margin-top: 0;
}
.sm-h2 {
	max-width: 900px;
}

/* No gap between header, main and footer */
.wp-site-blocks > * {
	margin-block-start: 0;
}
.sm-footer {
	border-top: 1px solid #2A2A2A;
}

/* Grids collapse on small screens (also covers WP versions without responsive grid) */
@media (max-width: 781px) {
	.wp-block-group.is-layout-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		row-gap: 32px;
	}
	.wp-block-group.is-layout-grid.sm-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		row-gap: 0;
	}
}
@media (min-width: 782px) and (max-width: 1080px) {
	.wp-block-group.is-layout-grid:not(.sm-stats) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Tables: hairlines, mono headers */
.sm-table {
	margin: 0;
	overflow-x: auto;
}
.sm-table table {
	border-collapse: collapse;
	width: 100%;
	font-size: var(--wp--preset--font-size--small);
}
.sm-table th,
.sm-table td {
	border: 0;
	border-top: 1px solid var(--wp--preset--color--hairline);
	padding: 12px 16px 12px 0;
	text-align: left;
	vertical-align: top;
}
.sm-table thead th {
	border-top: 0;
	font-family: var(--wp--preset--font-family--geist-mono);
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--wp--preset--color--graphite);
}
.sm-table td:not(:first-child) {
	font-variant-numeric: tabular-nums;
}
.sm-card h3 a {
	text-decoration: none;
}

/* Stats: value pinned to the bottom so rows line up when labels wrap */
.sm-stats > .wp-block-group {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
/* Smaller stat values inside two-column sections */
.sm-section .is-vertical .sm-stat-value {
	font-size: clamp(1.75rem, 2.4vw, 2.125rem);
}
.sm-table thead {
	border-bottom: 1px solid var(--wp--preset--color--ink);
}

/* Dark band (inside a section) */
.sm-band {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
	border-radius: 20px;
	padding: clamp(24px, 3vw, 40px);
}
.sm-band h3 {
	margin-top: 0;
	color: var(--wp--preset--color--paper);
}
.sm-band .sm-muted {
	color: #C8C8C4;
}
.sm-band-card h3 {
	font-size: var(--wp--preset--font-size--x-large);
}
.sm-channels p {
	margin: 0;
	color: var(--wp--preset--color--paper);
}
.sm-channels p::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--cobalt-light);
	vertical-align: middle;
}

/* Chart panel */
.sm-chart {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 20px;
	padding: clamp(16px, 2.5vw, 28px);
}
.sm-chart svg text {
	font-variant-numeric: tabular-nums;
}
.is-layout-flex.is-vertical > .sm-card {
	align-self: stretch;
}
.sm-chart {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.sm-card-accent {
	background: #EEF2FF;
	border-color: #DCE4FF;
}
.sm-card h3 {
	margin: 4px 0 0;
}
.sm-card .sm-chart-svg {
	margin: 8px 0;
}
