/**
 * ShopData 360 front-end skin.
 *
 * Layout/type tokens live in theme.json; this file carries the section
 * treatments extracted from the approved homepage mockup. All JS hooks are
 * classes (never data-attributes) — see assets/js/nav.js and home.js.
 * Values are intentionally pixel-faithful to the mockup.
 */

/* ---------------------------------------------------------------- base -- */

:root {
	/* Aliases so markup lifted from the mockup (e.g. the inline hero SVG)
	   resolves its custom properties against the theme palette. */
	--accent: var(--wp--preset--color--accent);
	--navy: var(--wp--preset--color--olive);
	--sky: var(--wp--preset--color--sky);
	--sky-soft: var(--wp--preset--color--sky-soft);
	--sd-ink: var(--wp--preset--color--contrast);
	--sd-border: var(--wp--preset--color--border);
	--sd-radius-md: 14px;
	--sd-shadow-card: 0 22px 44px -32px rgba(35, 34, 30, 0.4);
	--sd-shadow-soft: 0 16px 34px -24px rgba(35, 34, 30, 0.3);
	--sd-nav-h: 72px;
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

[id] { scroll-margin-top: calc(var(--sd-nav-h) + 16px); }

body { overflow-x: hidden; }

::selection { background: rgba(42, 78, 110, 0.18); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

mark.has-inline-color { background: transparent; }

.sd-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--accent);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 8px 0;
	font-weight: 700;
	text-decoration: none;
}
.sd-skip:focus { left: 0; }

/* Shared section shell */
.sd-section__inner {
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
	padding-inline: clamp(20px, 4vw, 32px);
}
.sd-workflow, .sd-products, .sd-why, .sd-industries, .sd-customers {
	padding-block: clamp(64px, 8vw, 92px);
}
.sd-section__intro { max-width: 720px; }
.sd-section__intro h2 { margin: 14px 0 0; }
.sd-section__lead { color: var(--wp--preset--color--contrast-2); margin: 16px 0 0; }

.sd-eyebrow,
.sd-eyebrow-pill,
.sd-hero__chips-label {
	font-family: var(--wp--preset--font-family--hanken-grotesk);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0;
}
.sd-eyebrow--sky { color: var(--sky); }

.sd-arrow-link a {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 15px;
	color: var(--accent);
	text-decoration: none;
}
.sd-arrow-link a:hover { text-decoration: underline; }

/* Scroll reveal — only when JS + motion allowed (classes added at runtime) */
html.sd-anim .sd-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
		transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.sd-anim .sd-reveal.is-in { opacity: 1; transform: none; }

/* Card lift hover (mockup .lift-card) */
html.sd-anim .sd-lift {
	transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.22s ease;
}
html.sd-anim .sd-lift:hover {
	transform: translateY(-6px) scale(1.025);
	box-shadow: 0 26px 46px -24px rgba(35, 34, 30, 0.5);
	z-index: 3;
}

/* Buttons */
.sd-btn-cta .wp-block-button__link {
	box-shadow: 0 8px 20px -10px rgba(42, 78, 110, 0.55);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
html.sd-anim .sd-btn-cta .wp-block-button__link:hover {
	transform: translateY(-2px) scale(1.03);
	box-shadow: 0 16px 30px -12px rgba(42, 78, 110, 0.7);
}
.sd-btn-cta--big .wp-block-button__link {
	padding: 18px 34px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 17px;
}
.is-style-outline-accent .wp-block-button__link {
	background: #ffffff;
	color: var(--accent);
	border: 1.5px solid #c9d6d8;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
html.sd-anim .is-style-outline-accent .wp-block-button__link:hover {
	transform: translateY(-2px) scale(1.03);
	border-color: var(--accent);
	box-shadow: 0 12px 24px -12px rgba(42, 78, 110, 0.4);
	background: #ffffff;
	color: var(--accent);
}

/* -------------------------------------------------------------- header -- */

.sd-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--sd-border);
}
.sd-nav {
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 32px);
	height: var(--sd-nav-h);
	display: flex;
	align-items: center;
	gap: 32px;
}
.sd-nav__logo { display: flex; align-items: center; text-decoration: none; }
.sd-nav__logo img { height: 40px; width: auto; display: block; }
.sd-nav__primary { display: flex; align-items: center; flex: 1; }
.sd-nav__links {
	display: flex;
	align-items: center;
	gap: 26px;
	font-size: 14.5px;
	font-weight: 600;
	color: #000;
}
.sd-nav__links > a {
	position: relative;
	padding-bottom: 4px;
	color: inherit;
	text-decoration: none;
	transition: color 0.18s ease;
}
.sd-nav__links > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.22s ease;
	border-radius: 2px;
}
.sd-nav__links > a:not(.sd-nav__cta):hover,
.sd-nav__links > a:not(.sd-nav__cta)[aria-current] { color: var(--accent); }
.sd-nav__links > a:not(.sd-nav__cta):hover::after,
.sd-nav__links > a:not(.sd-nav__cta)[aria-current]::after { transform: scaleX(1); }

.sd-nav__item { position: relative; }
.sd-nav__disclosure {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 4px 0;
	font: inherit;
	font-weight: 600;
	color: inherit;
	cursor: pointer;
}
.sd-nav__disclosure:hover,
.sd-nav__disclosure[aria-expanded="true"] { color: var(--accent); }
.sd-nav__disclosure svg { transition: transform 0.18s ease; }
.sd-nav__disclosure[aria-expanded="true"] svg { transform: rotate(180deg); }

.sd-nav__panel[hidden] { display: none; }
.sd-nav__panel {
	position: absolute;
	top: calc(100% + 14px);
	left: -24px;
	z-index: 60;
	background: #fff;
	border: 1px solid var(--sd-border);
	border-radius: 12px;
	box-shadow: 0 30px 60px -30px rgba(35, 34, 30, 0.45);
	padding: 22px;
}
.sd-nav__panel-all {
	display: block;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 13px;
	color: var(--accent);
	text-decoration: none;
	padding: 0 10px 12px;
	margin-bottom: 10px;
	border-bottom: 1px solid var(--sd-border);
}
.sd-nav__panel-all:hover { text-decoration: underline; }
.sd-nav__panel-cols { display: flex; gap: 8px 28px; }
.sd-nav__panel-label {
	margin: 0 0 6px;
	padding: 0 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-3);
}
.sd-nav__panel-col { display: flex; flex-direction: column; gap: 2px; min-width: 210px; }
.sd-nav__panel a {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	text-decoration: none;
	line-height: 1.3;
}
.sd-nav__panel a:hover { background: var(--wp--preset--color--base); }
.sd-nav__panel a strong {
	display: block;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 14px;
	color: var(--sd-ink);
}
.sd-nav__panel a span {
	display: block;
	font-size: 12px;
	color: var(--wp--preset--color--contrast-3);
	margin-top: 1px;
}

.sd-nav__cta {
	margin-left: auto;
	background: var(--accent);
	color: #fff;
	padding: 11px 20px;
	border-radius: 6px;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 14.5px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 8px 20px -10px rgba(42, 78, 110, 0.55);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
html.sd-anim .sd-nav__cta:hover {
	transform: translateY(-2px) scale(1.03);
	box-shadow: 0 16px 30px -12px rgba(42, 78, 110, 0.7);
}
.sd-nav__cta--drawer { display: none; }

.sd-nav__toggle {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 12px;
	background: none;
	border: 1px solid var(--sd-border);
	border-radius: 8px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.sd-nav__toggle-bars,
.sd-nav__toggle-bars::before,
.sd-nav__toggle-bars::after {
	content: "";
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--sd-ink);
	position: relative;
}
.sd-nav__toggle-bars::before { position: absolute; top: -6px; }
.sd-nav__toggle-bars::after { position: absolute; top: 6px; }

@media (max-width: 1023px) {
	.sd-nav { gap: 16px; }
	.sd-nav__toggle { display: inline-flex; }
	.sd-nav__links {
		display: none;
		position: absolute;
		top: var(--sd-nav-h);
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		background: #fff;
		border-bottom: 1px solid var(--sd-border);
		padding: 16px clamp(20px, 4vw, 32px) 24px;
		box-shadow: 0 30px 40px -30px rgba(35, 34, 30, 0.4);
		max-height: calc(100vh - var(--sd-nav-h));
		overflow-y: auto;
	}
	.sd-nav--open .sd-nav__links { display: flex; }
	.sd-nav__links > a { padding: 12px 4px; font-size: 16px; }
	.sd-nav__links > a::after { content: none; }
	.sd-nav__item { width: 100%; }
	.sd-nav__disclosure { width: 100%; justify-content: space-between; padding: 12px 4px; font-size: 16px; }
	.sd-nav__panel {
		position: static;
		min-width: 0;
		border: none;
		box-shadow: none;
		padding: 0 0 8px 12px;
	}
	.sd-nav__panel-cols { flex-direction: column; gap: 8px; }
	.sd-nav__panel-col { min-width: 0; }
	.sd-nav__panel-all { padding-left: 0; }
	.sd-nav__cta { display: none; }
	/* Compound selector to outrank `.sd-nav__links > a` (0-1-1), which would
	   otherwise force the CTA text to inherit black on the navy button. */
	.sd-nav__links .sd-nav__cta--drawer {
		display: block;
		margin: 12px 0 0;
		text-align: center;
		color: #fff;
	}
	.sd-nav__links .sd-nav__cta--drawer::after { content: none; }
}

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

.sd-hero {
	position: relative;
	background: linear-gradient(180deg, #ffffff 0%, var(--sky-soft) 100%);
	overflow: hidden;
}
.sd-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(42, 78, 110, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(42, 78, 110, 0.07) 1px, transparent 1px);
	background-size: 46px 46px;
	-webkit-mask-image: radial-gradient(120% 110% at 78% 20%, #000 38%, transparent 84%);
	mask-image: radial-gradient(120% 110% at 78% 20%, #000 38%, transparent 84%);
}
.sd-hero__grid {
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
	padding: 54px clamp(20px, 4vw, 32px) 60px;
	display: grid;
	grid-template-columns: 0.82fr 1.18fr;
	gap: 56px;
	align-items: stretch;
}
.sd-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 8px 0;
}
.sd-eyebrow-pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	align-self: flex-start;
	letter-spacing: 0.1em;
	background: rgba(42, 78, 110, 0.08);
	border: 1px solid rgba(42, 78, 110, 0.18);
	padding: 6px 13px;
	border-radius: 999px;
}
.sd-eyebrow-pill::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
}
.sd-hero__h1 { margin: 20px 0 0; }
@media (min-width: 1100px) {
	/* Mockup lets the first line overflow its grid column rather than wrap. */
	.sd-hero__h1 { white-space: nowrap; }
}
.sd-hero__lead {
	font-size: 19px;
	color: var(--wp--preset--color--contrast-2);
	margin: 22px 0 0;
	max-width: 520px;
}
.sd-hero__lead strong { color: var(--sd-ink); }
.sd-hero__actions { margin-top: 30px; }

.sd-hero__art { display: flex; align-items: center; justify-content: center; }
.sd-hero__art svg {
	display: block;
	width: 100%;
	height: auto;
	transform: scale(1.12);
	transform-origin: center;
}
.sd-hero__art g[id^="node-"] { cursor: pointer; transition: filter 0.2s ease; }
.sd-hero__art g[id^="node-"]:hover {
	filter: drop-shadow(0 6px 10px rgba(42, 78, 110, 0.35)) brightness(1.05);
}

.sd-hero__chips-band { position: relative; border-top: 1px solid #dbe4e8; }
.sd-hero__chips {
	max-width: 1240px;
	margin: 0 auto;
	padding: 18px clamp(20px, 4vw, 32px);
	gap: 16px;
}
.sd-hero__chips-label { letter-spacing: 0.08em; color: var(--wp--preset--color--contrast-2); }
.sd-chip-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
}
.sd-chip {
	font-size: 13.5px;
	font-weight: 600;
	color: #33322c;
	background: #fff;
	border: 1px solid #e0d5bf;
	padding: 9px 16px;
	border-radius: 999px;
	text-decoration: none;
	transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease,
		color 0.16s ease, box-shadow 0.16s ease;
}
.sd-chip:hover {
	transform: translateY(-2px);
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
	box-shadow: 0 8px 16px -8px rgba(42, 78, 110, 0.6);
}

.sd-hero__merger {
	position: relative;
	border-top: 1px solid var(--wp--preset--color--border-2);
	background: var(--wp--preset--color--base);
}
.sd-hero__merger-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 16px clamp(20px, 4vw, 32px);
	text-align: center;
	font-size: 14px;
	color: #5c574e;
}
.sd-hero__merger-inner strong {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	color: var(--sd-ink);
	margin-right: 8px;
}

@media (max-width: 980px) {
	.sd-hero__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ------------------------------------------------------------- marquee -- */

.sd-oem {
	background: var(--accent);
	color: #fff;
	overflow: hidden;
	position: relative;
	padding: 40px 0 34px;
}
.sd-oem__title {
	max-width: 1240px;
	margin: 0 auto 30px;
	padding: 0 clamp(20px, 4vw, 32px);
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800;
	font-size: 19px;
	letter-spacing: -0.005em;
	color: var(--wp--preset--color--base);
	text-align: center;
}
.sd-marquee { position: relative; }
.sd-marquee__viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sd-marquee__track {
	display: flex;
	align-items: center;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
}
/* Each item owns its trailing gap so the cloned run is exactly 50% of the
   track width — the -50% keyframe then loops seamlessly (no half-gap snap). */
.sd-marquee__track li { display: flex; margin-right: 64px; }
.sd-marquee__track img { width: auto; display: block; object-fit: contain; opacity: 0.95; }
@keyframes sd-oem-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
html.sd-anim .sd-marquee--ready .sd-marquee__track {
	animation: sd-oem-scroll 34s linear infinite;
}
html.sd-anim .sd-marquee--ready:hover .sd-marquee__track,
html.sd-anim .sd-marquee--paused .sd-marquee__track {
	animation-play-state: paused;
}
/* No JS / reduced motion: logos wrap as a static centered grid. */
html:not(.sd-anim) .sd-marquee__track,
.sd-marquee:not(.sd-marquee--ready) .sd-marquee__track {
	width: auto;
	flex-wrap: wrap;
	justify-content: center;
	row-gap: 40px;
	padding: 0 clamp(20px, 4vw, 32px);
}
.sd-marquee__pause {
	position: absolute;
	right: 14px;
	top: calc(100% + 8px);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sd-oem { padding-bottom: 56px; }

/* ------------------------------------------------------------ workflow -- */

.sd-workflow { position: relative; background: var(--wp--preset--color--paper); }
.sd-workflow::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(#e7ddc8 1px, transparent 1px),
		linear-gradient(90deg, #e7ddc8 1px, transparent 1px);
	background-size: 40px 40px;
	opacity: 0.5;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.sd-workflow .sd-section__lead a.sd-modal-open {
	font-weight: 700;
	color: var(--accent);
	text-decoration: underline;
}

.sd-flow {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: stretch; /* all cards equal height regardless of copy length */
	gap: 20px;
	margin-top: 48px;
}
.sd-flow::before {
	content: "";
	position: absolute;
	left: 12.5%;
	right: 12.5%;
	top: 47px;
	height: 2px;
	background: linear-gradient(90deg, var(--accent), var(--sky) 70%, var(--navy));
	opacity: 0.9;
}
@keyframes sd-flow-pulse {
	0% { left: 12.5%; opacity: 0; }
	12% { opacity: 1; }
	88% { opacity: 1; }
	100% { left: 87.5%; opacity: 0; }
}
html.sd-anim .sd-flow::after {
	content: "";
	position: absolute;
	top: 43px;
	left: 12.5%;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(42, 78, 110, 0.18);
	animation: sd-flow-pulse 3.2s linear infinite;
	z-index: 1;
}
.sd-flow__card {
	position: relative;
	z-index: 1;
	height: 100%; /* fill the equal-height grid row track */
	/* WP flow-layout injects margin-block-start (block gap) on 2nd+ children,
	   which offsets grid items vertically — neutralize it; the grid gap spaces them. */
	margin-block: 0;
	background: #fff;
	border: 1px solid var(--sd-border);
	border-radius: var(--sd-radius-md);
	padding: 24px 22px;
	display: flex;
	flex-direction: column;
	box-shadow: var(--sd-shadow-soft);
}
.sd-flow__num {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800;
	font-size: 18px;
	box-shadow: 0 0 0 6px var(--wp--preset--color--paper);
	margin: 0;
}
.sd-flow__title {
	font-size: 19px;
	letter-spacing: -0.01em;
	margin: 16px 0 0;
}
.sd-flow__product {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--wp--preset--color--contrast-3);
	margin: 6px 0 0;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.sd-flow__body {
	font-size: 14px;
	line-height: 1.5;
	color: var(--wp--preset--color--contrast-2);
	margin: 12px 0 18px;
	flex: 1;
}
.sd-flow__outcome {
	align-self: flex-start;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--accent);
	background: rgba(42, 78, 110, 0.08);
	padding: 6px 11px;
	border-radius: 6px;
	margin: 0;
}
.sd-flow__card--accent { background: var(--accent); border-color: var(--accent); box-shadow: 0 18px 38px -20px rgba(35, 34, 30, 0.55); }
.sd-flow__card--accent .sd-flow__num { background: var(--sky); color: var(--accent); }
.sd-flow__card--accent .sd-flow__title { color: #fff; }
.sd-flow__card--accent .sd-flow__product { color: rgba(255, 255, 255, 0.6); }
.sd-flow__card--accent .sd-flow__body { color: rgba(255, 255, 255, 0.82); }
.sd-flow__card--accent .sd-flow__outcome { color: #fff; background: rgba(255, 255, 255, 0.14); }

.sd-workflow__loop {
	display: flex;
	align-items: center;
	gap: 13px;
	width: fit-content;
	margin: 28px auto 0;
	background: #fff;
	border: 1px solid var(--wp--preset--color--border-2);
	border-radius: 999px;
	padding: 11px 20px 11px 14px;
	box-shadow: 0 12px 28px -22px rgba(35, 34, 30, 0.4);
	font-size: 14.5px;
	font-weight: 600;
	color: #33322c;
}
.sd-loop-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(42, 78, 110, 0.12);
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex: 0 0 auto;
}

@media (max-width: 900px) {
	.sd-flow { grid-template-columns: 1fr 1fr; }
	.sd-flow::before, html.sd-anim .sd-flow::after { display: none; }
}
@media (max-width: 560px) {
	.sd-flow { grid-template-columns: 1fr; }
}

/* -------------------------------------------------- how-it-works modal -- */

/* No JS: renders as a plain content section after the workflow cards. */
.sd-howmodal { margin-top: 56px; }
.sd-howmodal__heading { font-size: 26px; margin-bottom: 20px; }
.sd-howmodal__step {
	background: #fff;
	border: 1px solid var(--sd-border);
	border-radius: var(--sd-radius-md);
	padding: 24px;
	margin-top: 16px;
}
.sd-howmodal__product {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-3);
	background: var(--wp--preset--color--cream-2);
	padding: 6px 11px;
	border-radius: 6px;
	margin: 0;
}
.sd-howmodal__title { font-size: 28px; margin: 16px 0 0; }
.sd-howmodal__body { font-size: 16px; line-height: 1.6; margin: 12px 0 0; }
.sd-howmodal__outcome {
	margin-top: 18px;
	background: var(--wp--preset--color--cream-2);
	border: 1px solid var(--wp--preset--color--paper);
	border-radius: 10px;
	padding: 14px 16px;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 15px;
	color: var(--sd-ink);
}
.sd-howmodal__outcome::before {
	content: "Outcome";
	font-family: var(--wp--preset--font-family--hanken-grotesk);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-right: 10px;
}

/* With JS the source content is rebuilt inside the overlay dialog below
   (home.js sets html.sd-home and moves the steps). */
html.sd-home .sd-howmodal { display: none; }

.sd-howoverlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(15, 33, 52, 0.62);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.sd-howoverlay[hidden] { display: none; }
.sd-howoverlay__dialog {
	background: #fff;
	border-radius: 18px;
	max-width: 560px;
	width: 100%;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
	/* Body scroll is locked while open, so the dialog itself must scroll on
	   viewports shorter than its content. */
	max-height: calc(100dvh - 48px);
	overflow-y: auto;
}
.sd-howoverlay__dialog .sd-howmodal__step { border: none; padding: 30px 30px 14px; margin: 0; }
.sd-howoverlay__dialog .sd-howmodal__step[hidden] { display: none; }
.sd-howoverlay__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 26px;
	border-bottom: 1px solid var(--wp--preset--color--paper);
}
.sd-howoverlay__count {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}
.sd-howoverlay__close {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	color: var(--wp--preset--color--contrast-3);
	padding: 8px;
	margin: -8px;
}
.sd-howoverlay__close:hover { color: var(--sd-ink); }
.sd-howoverlay__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 30px 26px;
}
.sd-howoverlay__dots { display: flex; gap: 7px; }
.sd-howoverlay__dot {
	width: 8px;
	height: 8px;
	min-width: 8px;
	border-radius: 999px;
	background: #e0d5bf;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all 0.2s;
	position: relative;
}
.sd-howoverlay__dot::after {
	/* 44px hit area around the visual dot */
	content: "";
	position: absolute;
	inset: -18px;
}
.sd-howoverlay__dot[aria-current="step"] { width: 22px; background: var(--accent); }
.sd-howoverlay__btns { display: flex; gap: 10px; }
.sd-howoverlay__prev,
.sd-howoverlay__next {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 14.5px;
	border-radius: 7px;
	cursor: pointer;
	min-height: 44px;
}
.sd-howoverlay__prev {
	background: #fff;
	color: var(--wp--preset--color--contrast-2);
	border: 1.5px solid #e0d5bf;
	padding: 11px 18px;
}
.sd-howoverlay__prev:disabled { color: #c4bca9; opacity: 0.5; cursor: default; }
.sd-howoverlay__next {
	background: var(--navy);
	color: #fff;
	border: none;
	padding: 11px 22px;
}
.sd-howoverlay__next:hover { filter: brightness(0.92); }

/* ------------------------------------------------------------ products -- */

.sd-products { background: var(--sky); border-top: 1px solid #a9bec6; }
.sd-pillars {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 44px;
	align-items: stretch;
}
.sd-pillar {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--sd-border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--sd-shadow-card);
}
.sd-pillar__head { padding: 26px 28px 24px; }
.sd-pillar__head--olive { background: var(--navy); }
.sd-pillar__head--navy { background: var(--accent); }
.sd-pillar__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}
.sd-pillar__head--navy .sd-pillar__kicker { color: var(--sky); }
.sd-pillar__kicker::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}
.sd-pillar__title { font-size: 25px; color: #fff; margin: 12px 0 0; }
.sd-pillar__intro { font-size: 15px; color: rgba(255, 255, 255, 0.8); margin: 10px 0 0; }
.sd-pillar__intro strong { color: #fff; }
.sd-pillar__body {
	padding: 24px 28px 26px;
	display: flex;
	flex-direction: column;
	flex: 1;
	align-items: flex-start;
}
.sd-pillar__stat {
	display: flex;
	align-items: center;
	gap: 16px;
	align-self: stretch;
	background: var(--sky-soft);
	border: 1px solid var(--sky);
	border-radius: 12px;
	padding: 14px 18px;
	margin-bottom: 22px;
}
.sd-pillar__stat-num {
	flex: 0 0 auto;
	text-align: center;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 900;
	font-size: 30px;
	color: var(--accent);
	line-height: 1;
	letter-spacing: -0.02em;
	margin: 0;
}
.sd-pillar__stat-num span {
	display: block;
	font-family: var(--wp--preset--font-family--hanken-grotesk);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6e6a62;
	margin-top: 3px;
}
.sd-pillar__stat-copy {
	flex: 1;
	min-width: 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #5c574e;
	font-weight: 600;
	margin: 0;
}
.sd-pillar__stat img { flex: 0 0 auto; }

.sd-checklist {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 11px;
	margin: 0;
	padding: 0;
}
.sd-checklist li {
	position: relative;
	padding-left: 24px;
	font-size: 14.5px;
	color: #33322c;
	line-height: 1.45;
}
.sd-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 1px;
	color: var(--accent);
	font-weight: 700;
}
.sd-pillar__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #908b7e;
	margin: 24px 0 12px;
}
.sd-prodlist {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 18px;
	margin: 0;
	padding: 0;
	align-self: stretch;
}
.sd-prodlist li {
	position: relative;
	padding-left: 14px;
	line-height: 1.3;
	font-size: 11.5px;
	color: var(--wp--preset--color--contrast-3);
}
.sd-prodlist li::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--accent);
	font-weight: 700;
}
.sd-prodlist li strong {
	display: block;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 13.5px;
	color: var(--sd-ink);
}
.sd-pillar__body .sd-arrow-link { margin-top: auto; padding-top: 26px; }

@media (max-width: 900px) {
	.sd-pillars { grid-template-columns: 1fr; }
	.sd-prodlist { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------- why -- */

.sd-why { position: relative; overflow: hidden; background: var(--wp--preset--color--deep); color: #fff; }
.sd-why::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.03;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Crect x='14' y='14' width='232' height='232'/%3E%3Ccircle cx='70' cy='66' r='34'/%3E%3Ccircle cx='70' cy='66' r='13'/%3E%3Cpath d='M140 32h74v52h-40v40h-34z'/%3E%3Crect x='150' y='140' width='66' height='40' rx='6'/%3E%3Cpath d='M30 150h64l-16 26h-64z'/%3E%3Ccircle cx='150' cy='214' r='22'/%3E%3Cpath d='M196 196h34v34h-34z'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 260px 260px;
}
.sd-why h2 { color: #fff; }
.sd-why .sd-section__lead { color: rgba(255, 255, 255, 0.78); }
.sd-why .sd-section__intro { max-width: 760px; }

.sd-cmp__scroll { overflow-x: auto; margin-top: 40px; }
.sd-cmp { margin: 0; min-width: 720px; }
.sd-cmp table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid var(--sd-border);
	border-radius: var(--sd-radius-md);
	overflow: hidden;
	box-shadow: 0 22px 44px -30px rgba(35, 34, 30, 0.4);
	color: var(--sd-ink);
}
.sd-cmp th, .sd-cmp td { border: none; text-align: center; }
.sd-cmp thead th {
	padding: 18px 16px;
	vertical-align: bottom;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 14px;
	color: #2a3e4a;
}
.sd-cmp th:first-child, .sd-cmp td:first-child {
	text-align: left;
	padding-left: 22px;
	padding-right: 22px;
}
.sd-cmp thead th:first-child {
	font-family: var(--wp--preset--font-family--hanken-grotesk);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #3a4a52;
}
.sd-cmp th:nth-child(2), .sd-cmp td:nth-child(2) { background: var(--wp--preset--color--cream-2); }
.sd-cmp thead th:nth-child(2) { font-weight: 800; font-size: 15px; color: var(--sd-ink); }
.sd-cmp tbody td { padding: 16px; border-top: 1px solid var(--sd-border); font-size: 13.5px; color: #46555e; }
.sd-cmp tbody td:first-child { font-size: 14.5px; font-weight: 600; color: var(--sd-ink); }
.sd-cmp tbody td:nth-child(2) { font-weight: 700; color: var(--sd-ink); }
.sd-cmp tbody td:nth-child(2)::before { content: "✓ "; color: var(--navy); font-size: 15px; }
html.sd-anim .sd-cmp tbody tr { transition: background 0.16s ease; }
.sd-cmp tbody tr:hover td:not(:nth-child(2)) { background: rgba(42, 78, 110, 0.06); }
.sd-cmp figcaption {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.sd-why__disclaimer { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); margin: 14px 2px 0; line-height: 1.5; }

.sd-why__machines {
	margin-top: 34px;
	background: #fff;
	border: 1px solid var(--sd-border);
	border-radius: var(--sd-radius-md);
	padding: 26px 28px;
	box-shadow: 0 22px 44px -30px rgba(35, 34, 30, 0.4);
	color: var(--sd-ink);
}
.sd-why__machines-head { gap: 16px; align-items: baseline; }
.sd-why__machines-title {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800;
	font-size: 17px;
	color: var(--sd-ink);
	margin: 0;
}
.sd-why__machines-tags {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--accent);
	margin: 0;
}
.sd-chips {
	list-style: none;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 18px 0 0;
	padding: 0;
}
.sd-chips li {
	font-size: 13px;
	font-weight: 600;
	color: var(--sd-ink);
	background: var(--wp--preset--color--base);
	border: 1px solid #e4dac5;
	padding: 7px 13px;
	border-radius: 7px;
}
.sd-chips li.sd-chips__more {
	background: none;
	border: none;
	color: var(--accent);
	font-weight: 700;
	padding: 7px 4px;
}

/* ---------------------------------------------------------- industries -- */

.sd-industries { background: var(--sky-soft); }
.sd-tabs__list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.sd-tabs__tab {
	padding: 11px 18px;
	min-height: 44px;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--hanken-grotesk);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	border: 1px solid #ded2bb;
	background: #fff;
	color: var(--wp--preset--color--contrast-2);
	white-space: nowrap;
	transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.sd-tabs__tab:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--accent); }
.sd-tabs__tab[aria-selected="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
/* Tab list only means something with JS; hide otherwise (panels stack). */
html:not(.sd-home) .sd-tabs__list { display: none; }

.sd-tabs__panel {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 0;
	background: #fff;
	border: 1px solid var(--sd-border);
	border-radius: 16px;
	overflow: hidden;
	margin-top: 24px;
	align-items: stretch;
	box-shadow: var(--sd-shadow-card);
}
.sd-tabs__panel[hidden] { display: none; }
.sd-ind__copy { padding: clamp(24px, 4vw, 40px); }
.sd-ind__title { font-size: 26px; margin: 0; }
.sd-ind__pain,
.sd-ind__solution {
	margin-top: 22px;
	border-radius: 12px;
	padding: 16px 18px;
}
.sd-ind__pain {
	background: var(--wp--preset--color--cream-2);
	border: 1px solid var(--sd-border);
	border-left: 4px solid #5e462c;
}
.sd-ind__solution {
	margin-top: 14px;
	background: var(--sky-soft);
	border: 1px solid var(--sky);
	border-left: 4px solid var(--accent);
}
.sd-ind__boxlabel {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #5e462c;
	margin: 0;
}
.sd-ind__solution .sd-ind__boxlabel { color: var(--accent); }
.sd-ind__pain p:not(.sd-ind__boxlabel),
.sd-ind__solution p:not(.sd-ind__boxlabel) {
	font-size: 15.5px;
	line-height: 1.55;
	color: #33322c;
	margin: 8px 0 0;
}
.sd-ind__products { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 0; }
.sd-ind__products span {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--accent);
	background: rgba(42, 78, 110, 0.08);
	border: 1px solid rgba(42, 78, 110, 0.18);
	padding: 6px 12px;
	border-radius: 999px;
}
.sd-ind__photo { margin: 0; min-height: 380px; position: relative; }
.sd-ind__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Industry photo slots stand empty until licensed photography lands — the
   previous images breached their Creative Commons terms and were pulled
   (IMAGE-AUDIT.md). Styled deliberately so a card reads as designed rather
   than broken: brand wash plus the house motif, no "missing image" framing. */
.sd-ind__photo--empty {
	background:
		linear-gradient(150deg, rgba(42, 78, 110, 0.11), rgba(42, 78, 110, 0.02) 62%),
		#f1eee7;
	border-left: 1px solid var(--sd-border);
}
.sd-ind__photo--empty::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("../img/brand/motif.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 200px;
	opacity: 0.11;
}

.sd-ind__band {
	margin-top: 24px;
	background: #fff;
	border: 1px solid var(--wp--preset--color--border-2);
	border-left: 4px solid var(--accent);
	border-radius: 12px;
	padding: 18px 24px;
	gap: 14px;
}
.sd-ind__band-title {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800;
	font-size: 16px;
	color: var(--sd-ink);
	margin: 0;
}
.sd-ind__band-copy { font-size: 15px; color: var(--wp--preset--color--contrast-2); flex: 1; min-width: 260px; margin: 0; }
.sd-btn-olive { margin: 0; }
.sd-btn-olive a {
	display: inline-block;
	white-space: nowrap;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 14px;
	color: #fff;
	background: var(--navy);
	padding: 10px 18px;
	border-radius: 7px;
	text-decoration: none;
}
.sd-btn-olive a:hover { filter: brightness(0.92); }

@media (max-width: 900px) {
	.sd-tabs__panel { grid-template-columns: 1fr; }
	.sd-ind__photo { min-height: 260px; }
	.sd-ind__photo img { position: static; height: 260px; }
	.sd-ind__photo--empty { border-left: 0; border-top: 1px solid var(--sd-border); }
}

/* ----------------------------------------------------------- customers -- */

.sd-customers {
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--color--cream-2);
	border-top: 1px solid var(--sd-border);
}
.sd-customers::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.05;
	/* Scattered, non-uniform placement — each layer is one motif at a varied
	   position and size rather than a rigid repeating grid. */
	background-image:
		url("../img/brand/motif.svg"),
		url("../img/brand/motif.svg"),
		url("../img/brand/motif.svg"),
		url("../img/brand/motif.svg"),
		url("../img/brand/motif.svg"),
		url("../img/brand/motif.svg"),
		url("../img/brand/motif.svg"),
		url("../img/brand/motif.svg"),
		url("../img/brand/motif.svg");
	background-repeat: no-repeat;
	background-position:
		4% 12%,
		23% 78%,
		38% 30%,
		54% 88%,
		61% 8%,
		72% 52%,
		84% 22%,
		91% 74%,
		15% 46%;
	background-size:
		168px,
		96px,
		74px,
		132px,
		108px,
		62px,
		148px,
		88px,
		116px;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 96%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 0%, #000 96%, transparent 100%);
}
.sd-customers__head { gap: 24px; }
.sd-customers__head .sd-arrow-link { padding-bottom: 6px; margin: 0; }
.sd-quotes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 40px;
}
.sd-quote-card {
	background: #fff;
	border: 1px solid var(--sd-border);
	border-radius: 16px;
	padding: 36px 36px 30px;
	display: flex;
	flex-direction: column;
	box-shadow: var(--sd-shadow-card);
}
.sd-quote-card--olive { border-top: 4px solid var(--navy); }
.sd-quote-card--navy { border-top: 4px solid var(--accent); }
.sd-quote-card__stat {
	gap: 16px;
	padding-bottom: 22px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--sd-border);
}
.sd-quote-card__stat-num {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 900;
	font-size: 38px;
	letter-spacing: -0.03em;
	line-height: 1;
	margin: 0;
}
.sd-quote-card--olive .sd-quote-card__stat-num { color: var(--navy); }
.sd-quote-card--navy .sd-quote-card__stat-num { color: var(--accent); }
.sd-quote-card__stat-desc { font-size: 13px; color: #5c574e; line-height: 1.4; margin: 0; }
.sd-quote-card__quote {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 600;
	font-size: 21px;
	line-height: 1.42;
	letter-spacing: -0.01em;
	color: var(--sd-ink);
	margin: 0;
	flex: 1;
}
.sd-quote-card__person { gap: 13px; margin-top: 26px; }
.sd-avatar { margin: 0; }
.sd-avatar img {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
.sd-quote-card__who { font-size: 13px; color: var(--wp--preset--color--contrast-3); margin: 0; line-height: 1.4; }
.sd-quote-card__who strong { font-size: 14.5px; color: var(--sd-ink); font-weight: 700; }

.sd-reassure {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 40px;
	border-radius: 16px;
	overflow: hidden;
	background: var(--accent);
	box-shadow: 0 24px 48px -34px rgba(35, 34, 30, 0.5);
	position: relative;
}
.sd-reassure__tile { padding: 30px; }
.sd-reassure__tile:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, 0.12); }
.sd-reassure__big {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800;
	font-size: 32px;
	color: #fff;
	letter-spacing: -0.02em;
	margin: 0;
}
.sd-reassure__desc { font-size: 14px; color: rgba(255, 255, 255, 0.75); margin: 6px 0 0; }

@media (max-width: 760px) {
	.sd-quotes { grid-template-columns: 1fr; }
	.sd-reassure { grid-template-columns: 1fr; }
	.sd-reassure__tile:not(:last-child) {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}
}

/* ---------------------------------------------------------------- demo -- */

.sd-demo { background: var(--sky); padding-block: clamp(56px, 7vw, 80px); }
.sd-demo__band { gap: clamp(24px, 4vw, 48px); }
.sd-demo__pitch { flex: 1; min-width: 300px; }
.sd-demo__pitch h2 { margin: 0; }
.sd-demo__sub { color: #33413a; margin: 14px 0 26px; max-width: 540px; }
.sd-demo__rep {
	background: #fff;
	border-radius: 18px;
	padding: 28px 32px;
	box-shadow: 0 24px 50px -28px rgba(35, 34, 30, 0.4);
	max-width: 440px;
	gap: 24px;
}
.sd-demo__rep-photo { margin: 0; flex: 0 0 128px; }
.sd-demo__rep-photo img {
	width: 128px;
	height: 128px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
.sd-demo__rep-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0;
}
.sd-demo__rep-name {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800;
	font-size: 21px;
	color: var(--sd-ink);
	margin: 3px 0 0;
}
.sd-demo__rep-role { font-size: 14.5px; margin: 2px 0 0; }
.sd-demo__rep-note { font-size: 13px; margin: 10px 0 0; }

.sd-demo__form {
	margin: 44px auto 0;
	max-width: 760px;
	background: #fff;
	border-radius: 18px;
	padding: clamp(24px, 4vw, 40px);
	box-shadow: 0 24px 50px -28px rgba(35, 34, 30, 0.4);
}
.sd-demo__form-title { margin: 0; }
.sd-demo__form-sub { margin: 10px 0 22px; font-size: 15px; }

/* Fluent Forms skin — match the design tokens without the pro styler. */
.sd-demo__form .fluentform .ff-el-input--label label {
	font-size: 14px;
	font-weight: 600;
	color: var(--sd-ink);
}
.sd-demo__form .fluentform .ff-el-form-control {
	width: 100%;
	border: 1px solid #e0d5bf;
	border-radius: 7px;
	background: #fff;
	min-height: 46px;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 15px;
	color: var(--sd-ink);
}
.sd-demo__form .fluentform .ff-el-form-control:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(42, 78, 110, 0.15);
	outline: none;
}
.sd-demo__form .fluentform .ff-btn-submit {
	background: var(--accent);
	color: #fff;
	border: none;
	border-radius: 7px;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 16px;
	padding: 14px 30px;
	min-height: 48px;
	cursor: pointer;
	box-shadow: 0 8px 20px -10px rgba(42, 78, 110, 0.55);
}
.sd-demo__form .fluentform .ff-btn-submit:hover { background: #24435f; }

@media (max-width: 760px) {
	.sd-demo__band { flex-direction: column; align-items: flex-start; }
}

/* -------------------------------------------------------------- footer -- */

.sd-footer {
	background: var(--wp--preset--color--deep);
	color: rgba(255, 255, 255, 0.7);
	border-top: 3px solid var(--sky);
	font-size: 14px;
}
.sd-footer a { color: inherit; }
.sd-footer .sd-footer__top {
	max-width: 1240px;
	margin: 0 auto;
	padding: 56px clamp(20px, 4vw, 32px) 0;
}
.sd-footer__cta {
	gap: 40px;
	padding-bottom: 44px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	align-items: center;
}
.sd-footer__headline {
	font-size: 28px;
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: #fff;
	margin: 0;
	max-width: 600px;
}
.sd-footer__sub { font-size: 14.5px; line-height: 1.6; margin: 12px 0 0; max-width: 420px; color: rgba(255, 255, 255, 0.66); }
.sd-footer__cta-actions { gap: 14px; }
.sd-footer__specialist { text-align: right; }
.sd-footer__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	/* mockup used 0.45 alpha — lifted to pass WCAG AA contrast on deep navy */
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}
.sd-footer__email { margin: 2px 0 0; }
.sd-footer__email a {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 18px;
	color: #fff;
	text-decoration: none;
}
.sd-footer__email a:hover { color: var(--sky); }
.sd-footer__demo-btn { margin: 0; }
.sd-footer__demo-btn a {
	display: inline-block;
	background: var(--sky);
	color: var(--sd-ink);
	padding: 13px 22px;
	border-radius: 8px;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 14.5px;
	text-decoration: none;
	white-space: nowrap;
}
.sd-footer__demo-btn a:hover { filter: brightness(1.05); }

.sd-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(5, 1fr);
	gap: 32px;
	padding: 48px 0 52px;
}
.sd-footer__brand img { height: 42px; width: auto; display: block; }
.sd-footer__address { font-size: 13.5px; line-height: 1.7; margin: 20px 0 0; color: rgba(255, 255, 255, 0.6); }
.sd-footer__address a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.sd-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.sd-footer__social a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}
.sd-footer__social a:hover { background: var(--sky); color: var(--sd-ink); }
.sd-footer__col-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}
.sd-footer__col-label::before {
	content: "";
	width: 18px;
	height: 3px;
	background: var(--sky);
	border-radius: 2px;
}
.sd-footer__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 11px;
	margin: 0;
	padding: 0;
	font-size: 14px;
}
.sd-footer__list a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.sd-footer__list a:hover { color: #fff; text-decoration: none; }

.sd-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 22px 0 30px;
	gap: 16px;
	font-size: 13px;
	/* mockup used 0.5 alpha — lifted to pass WCAG AA contrast on deep navy */
	color: rgba(255, 255, 255, 0.72);
}
.sd-footer__legal p { margin: 0; }
.sd-footer__legal-links { display: flex; gap: 22px; }
.sd-footer__legal-links a { color: inherit; text-decoration: none; }
.sd-footer__legal-links a:hover { color: #fff; }

/* Focus ring flips to sky on dark sections */
.sd-why :focus-visible,
.sd-footer :focus-visible,
.sd-oem :focus-visible { outline-color: var(--sky); }

@media (max-width: 1100px) {
	.sd-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (max-width: 860px) {
	.sd-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
	.sd-footer__specialist { text-align: left; }
}
@media (max-width: 520px) {
	.sd-footer__grid { grid-template-columns: 1fr; }
	.sd-footer__headline { white-space: normal; }
}

/* ==================================================================
   INTERIOR PAGES (marketing template: solution / product / industry / about)
   ================================================================== */

/* Breadcrumbs (rendered by the sd360/breadcrumbs dynamic block) */
.sd-breadcrumbs {
	max-width: 1240px;
	margin: 0 auto;
	padding: 18px clamp(20px, 4vw, 32px) 0;
}
.sd-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--wp--preset--color--contrast-3);
}
.sd-breadcrumbs__item { display: flex; align-items: center; gap: 6px; }
.sd-breadcrumbs__item:not(:first-child)::before {
	content: "›";
	color: var(--wp--preset--color--sand-3, #c4bca9);
}
.sd-breadcrumbs__item a { color: var(--accent); text-decoration: none; }
.sd-breadcrumbs__item a:hover { text-decoration: underline; }
.sd-breadcrumbs__item[aria-current="page"] { color: var(--wp--preset--color--contrast); font-weight: 600; }

/* Interior hero */
.sd-phero {
	background: linear-gradient(180deg, #ffffff 0%, var(--sky-soft) 100%);
	border-bottom: 1px solid var(--sd-border);
	padding-block: clamp(40px, 6vw, 72px);
}
.sd-phero__h1 { margin: 14px 0 0; max-width: 20ch; }
.sd-phero__lead {
	margin: 20px 0 28px;
	max-width: 60ch;
	color: var(--wp--preset--color--contrast-2);
}

/* Feature split */
.sd-featuresplit { padding-block: clamp(48px, 7vw, 80px); }
.sd-featuresplit:nth-of-type(even) { background: var(--wp--preset--color--cream-2); }
.sd-featuresplit__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
.sd-featuresplit--reverse .sd-featuresplit__grid > .sd-featuresplit__copy { order: 2; }
.sd-featuresplit__copy h2 { margin: 12px 0 16px; }
.sd-featuresplit__copy .sd-checklist { margin-top: 20px; }
.sd-featuresplit__media { align-self: stretch; }
/* The figure itself is the visible box, so an unfilled image slot still
   reads as an intentional placeholder rather than blank space. */
.sd-featuresplit__img {
	margin: 0;
	border-radius: var(--sd-radius-md);
	border: 1px solid var(--sd-border);
	background: var(--wp--preset--color--paper);
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.sd-featuresplit__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
@media (max-width: 820px) {
	.sd-featuresplit__grid { grid-template-columns: 1fr; }
	.sd-featuresplit--reverse .sd-featuresplit__grid > .sd-featuresplit__copy { order: 0; }
}

/* Spec / requirements table */
.sd-specs { padding-block: clamp(48px, 7vw, 80px); }
.sd-specs h2 { margin-bottom: 24px; }
.sd-spec-table { margin: 0; overflow-x: auto; }
.sd-spec-table table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--sd-border);
	border-radius: var(--sd-radius-md);
	overflow: hidden;
}
.sd-spec-table th,
.sd-spec-table td {
	text-align: left;
	padding: 14px 18px;
	border-bottom: 1px solid var(--sd-border);
	font-size: 14.5px;
}
.sd-spec-table tr:first-child th {
	background: var(--wp--preset--color--cream-2);
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	color: var(--sd-ink);
}
.sd-spec-table td:first-child { font-weight: 600; color: var(--sd-ink); width: 34%; }
.sd-spec-table tr:last-child td { border-bottom: none; }
.sd-spec-table figcaption { margin-top: 10px; font-size: 12px; color: var(--wp--preset--color--contrast-3); }

/* Tier comparison */
.sd-tiers { padding-block: clamp(48px, 7vw, 80px); background: var(--wp--preset--color--cream-2); }
.sd-tiers__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 36px;
	align-items: start;
}
.sd-tier {
	background: #fff;
	border: 1px solid var(--sd-border);
	border-radius: var(--sd-radius-md);
	padding: 28px 26px;
	box-shadow: var(--sd-shadow-soft);
}
.sd-tier--featured { border-color: var(--accent); box-shadow: 0 22px 44px -28px rgba(42, 78, 110, 0.45); }
.sd-tier__badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: var(--accent);
	padding: 4px 10px;
	border-radius: 999px;
	margin: 0 0 12px;
}
.sd-tier__name { margin: 0; font-size: 22px; }
.sd-tier__desc { margin: 8px 0 16px; font-size: 14.5px; color: var(--wp--preset--color--contrast-2); }
@media (max-width: 820px) { .sd-tiers__grid { grid-template-columns: 1fr; } }

/* Proof band */
.sd-proof { padding-block: clamp(48px, 7vw, 72px); }
.sd-proof__card {
	background: #fff;
	border: 1px solid var(--sd-border);
	border-left: 4px solid var(--olive);
	border-radius: var(--sd-radius-md);
	box-shadow: var(--sd-shadow-card);
	padding: clamp(28px, 4vw, 40px);
	max-width: 860px;
	margin: 0 auto;
}
.sd-proof__stat {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 900;
	font-size: 40px;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--olive);
	margin: 0 0 16px;
}
.sd-proof__quote {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 600;
	font-size: clamp(19px, 2.2vw, 22px);
	line-height: 1.42;
	color: var(--sd-ink);
	margin: 0 0 18px;
}
.sd-proof__who { font-size: 14px; color: var(--wp--preset--color--contrast-2); margin: 0; }
.sd-proof__who strong { color: var(--sd-ink); }

/* CTA band */
.sd-ctaband { background: var(--sky); padding-block: clamp(40px, 6vw, 64px); }
.sd-ctaband__inner { gap: 24px; }
.sd-ctaband__title { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.sd-ctaband__sub { margin: 10px 0 0; color: #33413a; font-size: 17px; }

/* FAQ */
.sd-faq { padding-block: clamp(48px, 7vw, 80px); }
.sd-faq h2 { margin-bottom: 24px; }
.sd-faq__item {
	background: #fff;
	border: 1px solid var(--sd-border);
	border-radius: var(--sd-radius-md);
	padding: 4px 22px;
	margin-bottom: 12px;
	max-width: 820px;
}
.sd-faq__item summary {
	cursor: pointer;
	padding: 16px 0;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 17px;
	color: var(--sd-ink);
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.sd-faq__item summary::-webkit-details-marker { display: none; }
.sd-faq__item summary::after {
	content: "+";
	color: var(--accent);
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	flex: 0 0 auto;
}
.sd-faq__item[open] summary::after { content: "−"; }
.sd-faq__item > p, .sd-faq__item > .wp-block-paragraph { margin: 0 0 18px; color: var(--wp--preset--color--contrast-2); }

/* Plain page (page.html): give post title + content breathing room */
.wp-block-post-title { margin-bottom: 24px; }

/* Overview card grid (section index pages) */
.sd-overview { padding-block: clamp(48px, 7vw, 80px); }
.sd-cardgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 8px;
}
.sd-cardgrid__group-label {
	grid-column: 1 / -1;
	margin: 20px 0 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}
.sd-card {
	display: block;
	background: #fff;
	border: 1px solid var(--sd-border);
	border-radius: var(--sd-radius-md);
	padding: 24px 24px 22px;
	box-shadow: var(--sd-shadow-soft);
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sd-card:hover {
	transform: translateY(-4px);
	border-color: var(--accent);
	box-shadow: var(--sd-shadow-card);
	text-decoration: none;
}
.sd-card__title {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 18px;
	color: var(--sd-ink);
	margin: 0 0 6px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.sd-card__title::after { content: "→"; color: var(--accent); transition: transform 0.18s ease; }
.sd-card:hover .sd-card__title::after { transform: translateX(4px); }
.sd-card__blurb { font-size: 14px; color: var(--wp--preset--color--contrast-2); margin: 0; line-height: 1.5; }

/* Prose sections (Support, Security, legal) */
.sd-prose { padding-block: clamp(40px, 6vw, 72px); }
.sd-prose .sd-section__inner { max-width: 800px; }
.sd-prose h2 { margin: 32px 0 12px; }
.sd-prose h2:first-child { margin-top: 0; }
.sd-prose p { margin: 0 0 16px; }
.sd-prose ul { margin: 0 0 16px; padding-left: 22px; }
.sd-prose li { margin-bottom: 8px; }
