/*
 * StoreMaster marketing-site component library.
 * Everything is scoped to sm-* classes; Twenty Twenty-Five internals are
 * never targeted directly. Tokens come from style.css :root (--sm-*).
 */

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

.sm-section {
	padding-top: clamp(4rem, 9vw, 7rem);
	padding-bottom: clamp(4rem, 9vw, 7rem);
}

.sm-section--alt {
	background: var(--sm-slate-50);
}

.sm-hero {
	background:
		radial-gradient(1100px 520px at 50% -12%, rgb(219 234 254 / 0.55), transparent);
}

.sm-eyebrow {
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sm-blue-700);
	margin-bottom: 0.5rem;
}

.sm-accent {
	color: var(--sm-blue-700);
}

.sm-lede {
	font-size: 1.2rem;
	color: var(--sm-slate-600);
	line-height: 1.6;
}

.sm-caption {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--sm-slate-400);
}

/* ------------------------------------------------------------------- pill */

.sm-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	background: var(--sm-blue-50);
	border: 1px solid var(--sm-blue-100);
	color: var(--sm-blue-800);
	border-radius: 999px;
	padding: 0.35em 1em;
	font-size: 0.8125rem;
	font-weight: 500;
	text-decoration: none;
}

.sm-pill:hover {
	border-color: var(--sm-blue-800);
	color: var(--sm-blue-800);
}

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

/* Solid fill + dark border + a hard offset shadow that "presses" on hover. */
.sm-btn-primary a,
a.sm-btn-primary,
.sm-btn-secondary a,
a.sm-btn-secondary {
	display: inline-block;
	border-radius: var(--sm-radius-btn);
	font-weight: 700;
	padding: 0.72em 1.45em;
	text-decoration: none;
	border: 2px solid var(--sm-ink);
	box-shadow: 3px 3px 0 var(--sm-ink);
	transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
	will-change: transform;
}

.sm-btn-primary a,
a.sm-btn-primary {
	background: var(--sm-blue-800);
	color: var(--sm-white);
}

.sm-btn-secondary a,
a.sm-btn-secondary {
	background: var(--sm-white);
	color: var(--sm-ink);
}

.sm-btn-primary a:hover,
a.sm-btn-primary:hover,
.sm-btn-secondary a:hover,
a.sm-btn-secondary:hover {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--sm-ink);
}

.sm-btn-primary a:hover,
a.sm-btn-primary:hover {
	background: var(--sm-blue-700);
	color: var(--sm-white);
}

.sm-btn-primary a:focus-visible,
a.sm-btn-primary:focus-visible,
.sm-btn-secondary a:focus-visible,
a.sm-btn-secondary:focus-visible {
	outline: 2px solid var(--sm-blue-700);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.sm-btn-primary a,
	a.sm-btn-primary,
	.sm-btn-secondary a,
	a.sm-btn-secondary {
		transition: none;
	}
}

/* Inverted buttons inside the dark CTA band: white/outline on navy, with a
   translucent hard shadow instead of the ink one. */
.sm-cta-band .sm-btn-primary a,
.sm-cta-band a.sm-btn-primary {
	background: var(--sm-white);
	border-color: var(--sm-white);
	color: var(--sm-blue-900);
	box-shadow: 3px 3px 0 rgb(0 0 0 / 0.35);
}

.sm-cta-band .sm-btn-secondary a,
.sm-cta-band a.sm-btn-secondary {
	background: transparent;
	border-color: rgb(255 255 255 / 0.7);
	color: var(--sm-white);
	box-shadow: 3px 3px 0 rgb(0 0 0 / 0.25);
}

.sm-cta-band .sm-btn-primary a:hover,
.sm-cta-band a.sm-btn-primary:hover {
	background: var(--sm-blue-50);
	color: var(--sm-blue-900);
	box-shadow: 1px 1px 0 rgb(0 0 0 / 0.35);
}

.sm-cta-band .sm-btn-secondary a:hover,
.sm-cta-band a.sm-btn-secondary:hover {
	border-color: var(--sm-white);
	color: var(--sm-white);
	box-shadow: 1px 1px 0 rgb(0 0 0 / 0.25);
}

/* --------------------------------------------------------------- check row */

.sm-check-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
	color: var(--sm-slate-600);
	font-size: 0.9375rem;
}

.sm-check-row li {
	margin: 0;
}

.sm-check-row li::before {
	content: "✓ ";
	color: var(--sm-green-600);
	font-weight: 700;
}

/* ------------------------------------------------------------------ chips */

.sm-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.sm-chip {
	display: inline-block;
	background: var(--sm-blue-50);
	border: 1px solid var(--sm-blue-100);
	color: var(--sm-blue-800);
	border-radius: 999px;
	padding: 0.25em 0.85em;
	font-size: 0.8125rem;
	font-weight: 500;
}

.sm-chip--ok {
	background: rgb(22 163 74 / 0.08);
	border-color: rgb(22 163 74 / 0.25);
	color: var(--sm-green-600);
}

.sm-chip--block {
	background: rgb(220 38 38 / 0.08);
	border-color: rgb(220 38 38 / 0.25);
	color: var(--sm-red-600);
}

/* ----------------------------------------------------------- browser card */

.sm-browser-card {
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: var(--sm-radius-browser);
	box-shadow: var(--sm-shadow-browser);
	overflow: hidden;
}

.sm-browser-bar {
	display: flex;
	align-items: center;
	height: 40px;
	padding: 0 14px;
	border-bottom: var(--sm-border);
	background: var(--sm-white);
	position: relative;
}

.sm-browser-bar::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--sm-slate-200);
	box-shadow: 16px 0 0 var(--sm-slate-200), 32px 0 0 var(--sm-slate-200);
}

.sm-browser-url {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	background: var(--sm-slate-50);
	border-radius: 999px;
	padding: 0.2em 1.1em;
	font-family: var(--sm-mono);
	font-size: 0.75rem;
	color: var(--sm-slate-400);
}

.sm-browser-body {
	padding: 8px;
}

/* Keep the embedded plugin table usable inside the card on phones */
.sm-browser-body .storemaster {
	margin: 0.5em 0;
}

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

.sm-card {
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: var(--sm-radius-card);
	box-shadow: var(--sm-shadow-card);
	padding: 24px;
}

/* ---------------------------------------------------------------- feature */

.sm-feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.sm-feature--flip > .sm-feature-text {
	order: 2;
}

.sm-feature--flip > .sm-feature-vignette {
	order: 1;
}

@media (max-width: 880px) {
	.sm-feature {
		grid-template-columns: 1fr;
	}

	.sm-feature--flip > .sm-feature-text {
		order: 1;
	}

	.sm-feature--flip > .sm-feature-vignette {
		order: 2;
	}
}

.sm-bullets {
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 0;
	display: grid;
	gap: 0.75rem;
}

.sm-bullets li {
	margin: 0;
	color: var(--sm-slate-600);
}

.sm-bullets strong {
	color: var(--sm-ink);
	font-weight: 650;
}

/* ------------------------------------------------------------- comparison */

.sm-compare {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 1rem;
}

.sm-compare th,
.sm-compare td {
	padding: 0.85em 1.1em;
	text-align: left;
	border-bottom: var(--sm-border);
}

.sm-compare thead th {
	color: var(--sm-ink);
	font-weight: 650;
	font-size: 0.9375rem;
}

.sm-compare td:nth-child(1) {
	color: var(--sm-ink);
	font-weight: 500;
}

.sm-compare td:nth-child(2),
.sm-compare th:nth-child(2) {
	color: var(--sm-slate-400);
}

.sm-compare th:nth-child(3),
.sm-compare td:nth-child(3) {
	background: var(--sm-blue-50);
	border-left: 1px solid var(--sm-blue-100);
	border-right: 1px solid var(--sm-blue-100);
}

.sm-compare thead th:nth-child(3) {
	border-top: 1px solid var(--sm-blue-100);
	border-radius: 12px 12px 0 0;
	color: var(--sm-blue-800);
}

.sm-compare tbody tr:last-child td:nth-child(3) {
	border-radius: 0 0 12px 12px;
	border-bottom: 1px solid var(--sm-blue-100);
}

.sm-compare td:nth-child(3) {
	color: var(--sm-ink);
	font-weight: 600;
}

.sm-compare .sm-yes::before {
	content: "✓ ";
	color: var(--sm-green-600);
	font-weight: 700;
}

.sm-compare-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
	.sm-compare {
		min-width: 560px;
	}
}

/* ------------------------------------------------------------------ bento */

.sm-bento {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.sm-bento > .sm-bento-card:first-child {
	grid-column: span 2;
}

@media (max-width: 980px) {
	.sm-bento {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.sm-bento {
		grid-template-columns: 1fr;
	}

	.sm-bento > .sm-bento-card:first-child {
		grid-column: span 1;
	}
}

.sm-bento-card {
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: var(--sm-radius-card);
	box-shadow: var(--sm-shadow-card);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

/* Per-card icon chip, tinted with the section's tier accent, set once on the
   .sm-bento grid and inherited. A .sm-bento--ai variant in violet was removed on
   26 Aug 2026: it styled a tier StoreMaster does not sell, and nothing
   referenced it. */
.sm-bento {
	--sm-tier: var(--sm-blue-800);
	--sm-tier-bg: var(--sm-blue-50);
}

.sm-bento-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: var(--sm-tier-bg);
	color: var(--sm-tier);
	margin-bottom: 0.2rem;
}

.sm-bento-ico svg {
	display: block;
	width: 22px;
	height: 22px;
}

.sm-bento-card h3,
.sm-bento-card h4 {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 650;
}

.sm-bento-card p {
	margin: 0;
	color: var(--sm-slate-600);
	font-size: 0.9375rem;
}

.sm-bento-link {
	margin-top: auto;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
}

/* Integration mark(s) on cards that name a real third-party product — a quiet,
   muted logo row anchored to the card foot. Official brand paths, one tone. */
.sm-bento-logos {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 0.6rem;
}

.sm-logo {
	height: 20px;
	width: auto;
	flex: none;
	fill: var(--sm-slate-400);
}

/* ---------------------------------------------------------- micro-mockups */

.sm-mock {
	border: var(--sm-border);
	border-radius: 10px;
	padding: 14px;
	background: var(--sm-slate-50);
	font-size: 0.8125rem;
	color: var(--sm-slate-600);
	display: grid;
	gap: 8px;
}

.sm-mock-input {
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: 8px;
	padding: 0.5em 0.9em;
	color: var(--sm-ink);
	font-weight: 500;
}

.sm-mock-input::after {
	content: "|";
	color: var(--sm-blue-700);
	animation: none;
}

.sm-mock-row {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: 8px;
	padding: 0.45em 0.9em;
}

.sm-mock-row--muted {
	color: var(--sm-slate-400);
}

.sm-mock-bar {
	height: 8px;
	border-radius: 999px;
	background: var(--sm-blue-100);
	overflow: hidden;
	position: relative;
}

.sm-mock-bar::after {
	content: "";
	position: absolute;
	inset: 0 28% 0 0;
	background: var(--sm-blue-800);
	border-radius: 999px;
}

/* --------------------------------------------------------------- log card */

.sm-log-card {
	background: var(--sm-ink);
	border-radius: var(--sm-radius-browser);
	padding: 20px;
	font-family: var(--sm-mono);
	font-size: 0.8125rem;
	font-weight: 450;
	color: rgb(248 250 252 / 0.85);
	display: grid;
	gap: 10px;
}

.sm-log-head {
	display: flex;
	align-items: center;
	gap: 0.6em;
	color: rgb(248 250 252 / 0.6);
	padding-bottom: 6px;
	border-bottom: 1px solid rgb(248 250 252 / 0.12);
}

.sm-log-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sm-green-600);
}

@media (prefers-reduced-motion: no-preference) {
	.sm-log-dot {
		animation: sm-pulse 2s ease-in-out infinite;
	}

	@keyframes sm-pulse {
		50% { opacity: 0.35; }
	}
}

.sm-log-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1em;
	flex-wrap: wrap;
}

.sm-log-row .sm-chip {
	background: transparent;
	font-family: var(--sm-mono);
}

/* Ask chat widget (plugin): use the brand blue accent on the marketing site. */
.sm-ask { --sm-accent: var(--sm-blue-800); }

/* Ask-this-library vignette (legacy static card; kept for any other usage) */
.sm-ask-q {
	margin-top: 0.75rem;
	font-weight: 600;
	color: var(--sm-ink);
}

.sm-ask-a {
	margin-top: 0.5rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--sm-slate-600);
}

.sm-ask-a sup {
	color: var(--sm-blue-700);
	font-weight: 700;
}

.sm-ask-cite {
	margin-top: 0.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.sm-ask-cite .sm-chip {
	font-family: var(--sm-mono);
	font-size: 0.75rem;
}

/* Inline privacy note under a feature */
.sm-note {
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	background: var(--sm-slate-50);
	border-left: 3px solid var(--sm-blue-700);
	border-radius: 6px;
	font-size: 0.9375rem;
	color: var(--sm-slate-600);
}

/* --------------------------------------------------------------- CTA band */

.sm-cta-band {
	background: var(--sm-blue-900);
}

.sm-cta-band h2,
.sm-cta-band p {
	color: var(--sm-white);
}

.sm-cta-band .sm-lede {
	color: rgb(255 255 255 / 0.85);
}

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

.sm-persona-card {
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: var(--sm-radius-card);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sm-persona-card h3 {
	margin: 0;
}

.sm-persona-card p {
	margin: 0;
	color: var(--sm-slate-600);
	font-size: 0.9375rem;
}

.sm-persona-card a {
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	margin-top: auto;
}

/* ------------------------------------------------------------ trust strip */

.sm-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 880px) {
	.sm-trust {
		grid-template-columns: 1fr;
	}
}

.sm-trust-item strong {
	display: block;
	color: var(--sm-ink);
	font-size: 1.1rem;
	font-weight: 650;
}

.sm-trust-item span {
	color: var(--sm-slate-600);
	font-size: 0.9375rem;
}

/* Linked promise items: plain by default, underline the promise on hover. */
a.sm-trust-item {
	text-decoration: none;
}

a.sm-trust-item:hover strong,
a.sm-trust-item:focus strong {
	text-decoration: underline;
	text-underline-offset: 3px;
}

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

.sm-plans {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: stretch;
}

@media (max-width: 760px) {
	.sm-plans {
		grid-template-columns: 1fr;
	}
}

.sm-plan-list {
	list-style: none;
	padding: 0;
	margin: 0.75rem 0 1.25rem;
	display: grid;
	gap: 0.4rem;
	color: var(--sm-slate-600);
	font-size: 0.9375rem;
}

.sm-plan-list li::before {
	content: "✓ ";
	color: var(--sm-green-600);
	font-weight: 700;
}

/* The curated list's "everything else" tail line: quieter, no tick. */
.sm-plan-list li.sm-plan-more {
	margin-top: 0.35rem;
	font-size: 0.85rem;
	color: var(--sm-slate-400);
}

.sm-plan-list li.sm-plan-more::before {
	content: "";
}

.sm-plan-list li.sm-plan-more a {
	color: var(--sm-blue-700);
	white-space: nowrap;
}

/* Outcome group labels inside a long plan list (Pro): small caps, no tick. */
.sm-plan-list li.sm-plan-group {
	margin-top: 0.85rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sm-slate-400);
}

.sm-plan-list li.sm-plan-group::before {
	content: "";
}

.sm-plan-list li.sm-plan-group:first-child {
	margin-top: 0;
}

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

.sm-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid transparent;
	transition: border-color 150ms ease;
}

/* The frosted-glass backdrop lives on a ::before layer: backdrop-filter on the
   header itself makes it the containing block for position:fixed descendants,
   which trapped the mobile menu overlay inside the 68px header bar. */
.sm-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgb(255 255 255 / 0.88);
	backdrop-filter: saturate(1.2) blur(8px);
	-webkit-backdrop-filter: saturate(1.2) blur(8px);
}

.sm-header.is-scrolled {
	border-bottom-color: var(--sm-slate-200);
}

.sm-wordmark img {
	height: 32px;
	width: auto;
	display: block;
}

@media (max-width: 600px) {
	.sm-wordmark img {
		height: 28px;
	}
}

/* ----------------------------------------------------------------- motion */

@media (prefers-reduced-motion: no-preference) {
	.sm-reveal {
		opacity: 0;
		transform: translateY(12px);
		transition: opacity 400ms ease-out, transform 400ms ease-out;
	}

	.sm-reveal.is-visible {
		opacity: 1;
		transform: none;
	}

	.sm-card,
	.sm-bento-card,
	.sm-persona-card {
		transition: transform 150ms ease, box-shadow 150ms ease;
	}

	.sm-card:hover,
	.sm-bento-card:hover,
	.sm-persona-card:hover {
		transform: translateY(-2px);
		box-shadow: 0 2px 4px rgb(15 23 42 / 0.06), 0 16px 32px -12px rgb(30 64 175 / 0.18);
	}
}

/* ---------------------------------------------------------- pricing page */

.sm-plans--4 {
	grid-template-columns: repeat(4, 1fr);
	align-items: stretch;
}

@media (max-width: 880px) {
	.sm-plans--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.sm-plans--4 {
		grid-template-columns: 1fr;
	}
}

.sm-plans--3 {
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
}

@media (max-width: 820px) {
	.sm-plans--3 {
		grid-template-columns: 1fr;
	}
}

/* Multi-site price sub-line under the headline price. */
.sm-plan-sub {
	margin: 0.15rem 0 0;
	font-size: 0.875rem;
	color: var(--sm-slate-400);
}

.sm-plans .sm-card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sm-card--highlight {
	border-color: var(--sm-blue-100);
	background: var(--sm-blue-50);
}

/* Neobrutalist plan cards (pricing page) — match the button language. The
   highlighted plan pops with a blue border + hard blue shadow and a lift. */
.sm-plans .sm-card {
	border: 2px solid var(--sm-ink);
	box-shadow: 4px 4px 0 var(--sm-ink);
	border-radius: 14px;
}

.sm-plans .sm-card--highlight {
	border-color: var(--sm-blue-800);
	box-shadow: 5px 5px 0 var(--sm-blue-800);
	position: relative;
}

@media (min-width: 821px) {
	.sm-plans--3 .sm-card--highlight {
		transform: translateY(-8px);
	}
}

/* Plan cards are static pricing cards — keep the hard shadow on hover instead of
   the generic soft card lift. */
.sm-plans .sm-card:hover {
	transform: none;
	box-shadow: 4px 4px 0 var(--sm-ink);
}

@media (min-width: 821px) {
	.sm-plans--3 .sm-card--highlight:hover {
		transform: translateY(-8px);
	}
}

.sm-plans .sm-card--highlight:hover {
	box-shadow: 5px 5px 0 var(--sm-blue-800);
}

.sm-plan-name {
	font-size: 1.15rem;
	font-weight: 650;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5em;
	flex-wrap: wrap;
}

.sm-plan-price {
	font-size: 2.2rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: var(--sm-ink);
	margin: 0;
	line-height: 1.1;
}

.sm-plan-per {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--sm-slate-400);
	letter-spacing: 0;
}

.sm-plan-tag {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--sm-slate-600);
}

/* ---------------------------------------------------------------- FAQ */

.sm-faq {
	display: grid;
	gap: 0.75rem;
}

.sm-faq-item {
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: 12px;
	padding: 0;
	overflow: hidden;
}

.sm-faq-item summary {
	cursor: pointer;
	padding: 1em 1.25em;
	font-weight: 650;
	color: var(--sm-ink);
	list-style: none;
	position: relative;
	padding-right: 2.5em;
}

.sm-faq-item summary::-webkit-details-marker {
	display: none;
}

.sm-faq-item summary::after {
	content: "+";
	position: absolute;
	right: 1.1em;
	top: 50%;
	transform: translateY(-50%);
	color: var(--sm-blue-700);
	font-weight: 600;
	font-size: 1.2em;
}

.sm-faq-item[open] summary::after {
	content: "–";
}

.sm-faq-item p {
	margin: 0;
	padding: 0 1.25em 1.1em;
	color: var(--sm-slate-600);
}

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

.sm-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	counter-reset: sm-step;
}

@media (max-width: 760px) {
	.sm-steps {
		grid-template-columns: 1fr;
	}
}

.sm-step {
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: var(--sm-radius-card);
	box-shadow: var(--sm-shadow-card);
	padding: 24px;
}

.sm-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: var(--sm-blue-800);
	color: var(--sm-white);
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.sm-step h3 {
	margin: 0 0 0.4rem;
}

.sm-step p {
	margin: 0;
	color: var(--sm-slate-600);
	font-size: 0.9375rem;
}

/* ------------------------------------------------------------- admin tour */

.sm-tour {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 980px) {
	.sm-tour {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 620px) {
	.sm-tour {
		grid-template-columns: 1fr;
	}
}

.sm-tour-item {
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: var(--sm-radius-card);
	box-shadow: var(--sm-shadow-card);
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sm-tour-item h3 {
	margin: 0.5rem 0 0;
	font-size: 1.1rem;
}

.sm-tour-item p {
	margin: 0;
	color: var(--sm-slate-600);
	font-size: 0.9rem;
}

.sm-admin-mock {
	background: var(--sm-slate-50);
	border: var(--sm-border);
	border-radius: 10px;
	padding: 12px;
	font-size: 0.78rem;
	color: var(--sm-slate-600);
	display: grid;
	gap: 6px;
	min-height: 168px;
}

.sm-admin-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2px;
}

.sm-admin-title {
	font-weight: 700;
	color: var(--sm-ink);
}

.sm-admin-btn,
.sm-admin-field--btn {
	display: inline-block;
	background: var(--sm-white);
	border: 1px solid var(--sm-blue-100);
	color: var(--sm-blue-800);
	border-radius: 6px;
	padding: 0.2em 0.6em;
	font-weight: 600;
	font-size: 0.72rem;
}

.sm-admin-row {
	display: flex;
	justify-content: space-between;
	gap: 0.5em;
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: 6px;
	padding: 0.35em 0.6em;
	color: var(--sm-ink);
}

.sm-admin-tag {
	color: var(--sm-blue-800);
	font-size: 0.72rem;
}

.sm-admin-label {
	font-weight: 600;
	color: var(--sm-ink);
	margin-top: 2px;
}

.sm-admin-field {
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: 6px;
	padding: 0.35em 0.6em;
}

.sm-admin-hint {
	color: var(--sm-slate-400);
	font-size: 0.72rem;
}

.sm-admin-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em 0.8em;
	color: var(--sm-ink);
}

.sm-admin-divider {
	border-top: var(--sm-border);
	margin: 2px 0;
}

/* =====================================================================
 * Design pass — bolder headings, tighter nav, a real footer, uniform
 * feature cards (easymcpai.com-inspired, StoreMaster blue).
 * ===================================================================== */

/* Heavier, tighter marketing headings. Scoped to Gutenberg headings so the
   embedded plugin table and admin UI are untouched. */
h1.wp-block-heading,
h2.wp-block-heading {
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.08;
}

h3.wp-block-heading {
	font-weight: 750;
	letter-spacing: -0.015em;
}

.sm-hero h1.wp-block-heading,
.sm-hero h2.wp-block-heading {
	line-height: 1.05;
}

/* The accent word inside a heading gets a touch more weight. */
h1 .sm-accent,
h2 .sm-accent {
	font-weight: inherit;
}

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

/* Contain + gutter the header and footer so content never sits flush against
   the viewport edges (sections are already constrained; these bars weren't). */
.sm-header .alignwide,
.sm-footer .alignwide {
	max-width: 1260px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 5vw, 3rem);
	box-sizing: border-box;
	width: 100%;
}

.sm-header .alignwide {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(1rem, 3vw, 2.25rem);
}

/* Nav sits next to the logo; the CTA cluster is pushed to the far right. */
.sm-header .wp-block-navigation {
	margin-right: auto;
}

.sm-header .wp-block-navigation {
	gap: clamp(0.9rem, 2vw, 1.75rem);
	font-weight: 500;
}

.sm-header .wp-block-navigation .wp-block-navigation-item > a,
.sm-header .wp-block-navigation .wp-block-navigation-item > .wp-block-navigation-submenu__toggle {
	color: var(--sm-slate-600);
	font-size: 0.95rem;
	padding: 0.35em 0;
}

.sm-header .wp-block-navigation a:hover,
.sm-header .wp-block-navigation button:hover {
	color: var(--sm-blue-800);
}

/* Mobile menu toggle: a real button in the site's button language (44px tap
   target), not core's bare 24px hairline icon that disappears next to the CTA. */
.sm-header .wp-block-navigation__responsive-container-open,
.sm-header .wp-block-navigation__responsive-container-close {
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	color: var(--sm-ink);
	background: var(--sm-white);
	border: 1.5px solid var(--sm-ink);
	border-radius: var(--sm-radius-btn);
	box-shadow: 2px 2px 0 var(--sm-ink);
	padding: 0;
	cursor: pointer;
}

.sm-header .wp-block-navigation__responsive-container-open:hover,
.sm-header .wp-block-navigation__responsive-container-close:hover {
	color: var(--sm-ink);
	box-shadow: 1px 1px 0 var(--sm-ink);
	transform: translate(1px, 1px);
}

/* The open overlay: core paints it with background-color:inherit, which
   resolves to transparent now that the header's own background lives on
   ::before — give it a solid one, and comfortable tap-sized links. */
.sm-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--sm-white);
}

.sm-header .wp-block-navigation .is-menu-open .wp-block-navigation-item > a,
.sm-header .wp-block-navigation .is-menu-open .wp-block-navigation-item > .wp-block-navigation-submenu__toggle {
	font-size: 1.15rem;
	padding: 0.5em 0;
}

/* Right-hand CTA cluster in the header. */
.sm-nav-cta {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: nowrap;
}

.sm-nav-cta .sm-btn-primary a,
.sm-nav-cta .sm-btn-secondary a {
	padding: 0.55em 1.1em;
	font-size: 0.9rem;
	box-shadow: 2px 2px 0 var(--sm-ink);
}

.sm-nav-cta .sm-btn-primary a:hover,
.sm-nav-cta .sm-btn-secondary a:hover {
	box-shadow: 1px 1px 0 var(--sm-ink);
}

@media (max-width: 860px) {
	/* On small screens the secondary "See pricing" button is redundant with the
	   mobile menu; keep only the primary CTA. */
	.sm-nav-cta .sm-btn-secondary {
		display: none;
	}
}

@media (max-width: 600px) {
	/* Keep logo + menu button + CTA on one row now that the toggle is a real
	   44px button: tighter gap, slightly smaller toggle and CTA. */
	.sm-header .alignwide {
		gap: 0.6rem;
	}

	.sm-header .wp-block-navigation__responsive-container-open {
		width: 42px;
		height: 42px;
	}

	.sm-nav-cta .sm-btn-primary a {
		padding: 0.5em 0.85em;
		font-size: 0.85rem;
	}
}

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

.sm-footer {
	background: var(--sm-slate-50);
	border-top: 1px solid var(--sm-slate-200);
}

/* Even, contained columns — brand a touch wider, link columns equal. Replaces
   the flex layout so short link lists don't leave a dead gap after the brand. */
.sm-footer .wp-block-columns {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
	gap: 2.5rem 2rem;
	align-items: start;
}

.sm-footer .wp-block-column {
	flex-basis: auto;
	width: auto;
}

@media (max-width: 900px) {
	.sm-footer .wp-block-columns {
		grid-template-columns: 1fr 1fr;
	}
	.sm-footer .sm-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.sm-footer .wp-block-columns {
		grid-template-columns: 1fr;
	}
}

.sm-footer .sm-footer-brand p {
	color: var(--sm-slate-600);
	font-size: 0.9375rem;
	line-height: 1.6;
	max-width: 30ch;
	margin: 0.9rem 0 0;
}

/* Column headings: small, uppercase, tracked. Targets the first paragraph in
   each footer column (the bold label we author there). */
.sm-footer .wp-block-column > p:first-child {
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--sm-slate-400);
	margin: 0 0 0.9rem;
}

.sm-footer .wp-block-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.55rem;
}

.sm-footer .wp-block-column ul a {
	color: var(--sm-slate-600);
	text-decoration: none;
	font-size: 0.95rem;
}

.sm-footer .wp-block-column ul a:hover {
	color: var(--sm-blue-800);
}

.sm-footer .wp-block-separator {
	border-color: var(--sm-slate-200);
	opacity: 1;
	margin-block: 2.5rem 1.5rem;
}

.sm-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.sm-footer-bottom .sm-wordmark img {
	height: 26px;
}

/* ------------------------------------------------------- uniform bento */

/* Feature grids where every card should be equal — no double-wide first
   card (that lift is only for the homepage highlight bento). */
.sm-bento--even > .sm-bento-card:first-child {
	grid-column: auto;
}

/* --------------------------------------------------------- pill / eyebrow */

.sm-pill {
	box-shadow: 2px 2px 0 var(--sm-blue-100);
}

.sm-eyebrow {
	color: var(--sm-blue-800);
}

/* ------------------------------------------------------- hero scale + rhythm */

/* Bigger, tighter hero headline (the reference leads with a large, heavy H1). */
.sm-hero h1.wp-block-heading {
	font-size: clamp(2.6rem, 6vw, 4.35rem);
	line-height: 1.04;
	max-width: 17ch;
	margin-left: auto;
	margin-right: auto;
}

.sm-hero .sm-pill {
	margin-bottom: 0.4rem;
}

.sm-hero .sm-lede {
	max-width: 50ch;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.25rem;
}

.sm-hero .sm-check-row {
	margin-top: 0.5rem;
	font-weight: 500;
}

/* --------------------------------------------------- section heading rhythm */

/* An eyebrow immediately above a heading should hug it, not float. Sections use
   an .sm-eyebrow paragraph followed by the heading. */
.sm-eyebrow {
	margin-bottom: 0.35rem;
}

.sm-section > .wp-block-heading:first-child,
.sm-hero h1.wp-block-heading {
	margin-top: 0;
}

/* A centred section lede sits under the heading with a comfortable measure. */
.sm-section .sm-lede {
	max-width: 60ch;
}

.has-text-align-center.sm-lede {
	margin-left: auto;
	margin-right: auto;
}

/* --------------------------------------------------------------- changelog */
/* Linear-style release feed: a left rail with the date + version, the write-up
   on the right, entries separated by a hairline. Powered by inc/changelog.php. */

.sm-cl {
	margin-top: 2.5rem;
}

.sm-cl-entry {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	padding: clamp(2rem, 5vw, 3.5rem) 0;
	border-top: var(--sm-border);
}

.sm-cl-entry:first-child {
	border-top: 0;
	padding-top: 0;
}

/* Left rail — sticks alongside the entry on desktop. */
.sm-cl-meta {
	position: sticky;
	top: 96px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sm-cl-date {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--sm-slate-600);
}

.sm-cl-ver {
	display: inline-block;
	width: fit-content;
	font-family: var(--sm-mono);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--sm-blue-700);
	background: var(--sm-blue-50);
	border: 1px solid var(--sm-blue-100);
	border-radius: 999px;
	padding: 0.1rem 0.55rem;
}

.sm-cl-title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

/* Screenshots / clips. Hero sits under the title; inline shots between prose. */
.sm-cl-shot {
	margin: 1.5rem 0;
	border: var(--sm-border);
	border-radius: var(--sm-radius-browser);
	overflow: hidden;
	box-shadow: var(--sm-shadow-browser);
	background: var(--sm-slate-50);
}

.sm-cl-hero {
	margin-top: 0;
}

.sm-cl-shot img,
.sm-cl-shot video {
	display: block;
	width: 100%;
	height: auto;
}

/* Prose inside an entry. */
.sm-cl-prose > :first-child {
	margin-top: 0;
}

.sm-cl-prose p {
	color: var(--sm-slate-600);
	line-height: 1.7;
	margin: 0 0 1rem;
}

.sm-cl-prose a {
	color: var(--sm-blue-700);
	font-weight: 500;
}

.sm-cl-prose code {
	font-family: var(--sm-mono);
	font-size: 0.85em;
	background: var(--sm-slate-50);
	border: var(--sm-border);
	border-radius: 6px;
	padding: 0.1em 0.35em;
}

/* Featured-change subhead. */
.sm-cl-sub {
	margin: 2rem 0 0.5rem;
	font-size: 1.1rem;
	letter-spacing: -0.01em;
	color: var(--sm-ink);
}

/* "Fixes & improvements" list. */
.sm-cl-fixes {
	margin: 0.5rem 0 1rem;
	padding-left: 1.1rem;
	list-style: none;
}

.sm-cl-fixes li {
	position: relative;
	color: var(--sm-slate-600);
	line-height: 1.6;
	margin: 0.4rem 0;
}

.sm-cl-fixes li::before {
	content: "";
	position: absolute;
	left: -1.1rem;
	top: 0.62em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--sm-slate-400);
}

@media (max-width: 720px) {
	.sm-cl-entry {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
	.sm-cl-meta {
		position: static;
		flex-direction: row;
		align-items: center;
		gap: 0.75rem;
	}
}

/* --------------------------------------------------------------------- docs */
/* Knowledge base at /docs — collection sidebar + article column. Rendered by
   inc/docs.php from theme/storemaster-theme/docs/ (built by ops/build-docs.sh). */

.sm-docs-main .entry-content,
.sm-docs-main > .wp-block-post-content {
	max-width: none;
}

.sm-docs-shell {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
}

.sm-docs-main-col {
	min-width: 0;
	max-width: 760px;
}

.sm-docs-shell--hub .sm-docs-main-col {
	max-width: none;
}

/* --- sidebar --- */
.sm-docs-aside {
	position: relative;
}

.sm-docs-nav {
	position: sticky;
	top: 88px;
	max-height: calc(100vh - 108px);
	overflow-y: auto;
	font-size: 0.9rem;
	padding-right: 0.5rem;
}

.sm-docs-nav-home {
	margin: 0 0 1rem;
	font-weight: 600;
}

.sm-docs-nav-home a {
	color: var(--sm-ink);
	text-decoration: none;
}

.sm-docs-nav-group {
	margin-bottom: 1.25rem;
}

.sm-docs-nav-title {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--sm-slate-400);
	margin-bottom: 0.4rem;
}

.sm-docs-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.sm-docs-nav li a {
	display: block;
	padding: 0.28rem 0.6rem;
	border-radius: 8px;
	color: var(--sm-slate-600);
	text-decoration: none;
	line-height: 1.35;
}

.sm-docs-nav li a:hover {
	background: var(--sm-slate-50);
	color: var(--sm-ink);
}

.sm-docs-nav li.is-current a {
	background: var(--sm-blue-50);
	color: var(--sm-blue-800);
	font-weight: 600;
}

/* --- shared headings --- */
.sm-docs-h1 {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 0.75rem;
}

/* --- hub --- */
.sm-docs-hubhead {
	margin-bottom: 2.5rem;
}

.sm-docs-search {
	width: 100%;
	max-width: 460px;
	margin-top: 1.25rem;
	padding: 0.7rem 1rem;
	font-size: 1rem;
	border: var(--sm-border);
	border-radius: var(--sm-radius-btn);
	background: var(--sm-white);
}

.sm-docs-search:focus {
	outline: none;
	border-color: var(--sm-blue-700);
	box-shadow: 0 0 0 3px var(--sm-blue-100);
}

/* --- floating docs search (persistent bottom bar) --- */
.sm-docsearch {
	position: fixed;
	left: 50%;
	bottom: clamp(1rem, 4vw, 2rem);
	transform: translateX(-50%);
	z-index: 60;
	width: min(92vw, 560px);
	animation: sm-docsearch-in 0.28s ease;
}

@keyframes sm-docsearch-in {
	from { opacity: 0; transform: translate(-50%, 14px); }
	to   { opacity: 1; transform: translate(-50%, 0); }
}

.sm-docsearch-inner {
	position: relative;
}

.sm-docsearch-bar {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.6rem 0.85rem;
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: 999px;
	box-shadow: var(--sm-shadow-card);
}

.sm-docsearch-bar:focus-within {
	border-color: var(--sm-blue-700);
	box-shadow: 0 0 0 3px var(--sm-blue-100), var(--sm-shadow-card);
}

.sm-docsearch-ico {
	width: 18px;
	height: 18px;
	flex: none;
	color: var(--sm-slate-600);
}

.sm-docsearch-input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	outline: none;
	background: transparent;
	font-size: 1rem;
	color: var(--sm-ink);
}

.sm-docsearch-kbd {
	flex: none;
	font-family: inherit;
	font-size: 0.72rem;
	line-height: 1;
	color: var(--sm-slate-600);
	background: var(--sm-slate-50);
	border: var(--sm-border);
	border-radius: 6px;
	padding: 0.28rem 0.42rem;
}

.sm-docsearch-results {
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(100% + 0.6rem);
	margin: 0;
	padding: 0.35rem;
	list-style: none;
	max-height: 58vh;
	overflow-y: auto;
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: 16px;
	box-shadow: var(--sm-shadow-card);
}

.sm-docsearch-item a {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.55rem 0.7rem;
	border-radius: 10px;
	text-decoration: none;
	color: var(--sm-ink);
}

.sm-docsearch-item.is-active a,
.sm-docsearch-item a:hover {
	background: var(--sm-slate-50);
}

.sm-docsearch-item-title {
	font-weight: 600;
	font-size: 0.95rem;
}

.sm-docsearch-item-coll {
	font-size: 0.8rem;
	color: var(--sm-slate-600);
}

.sm-docsearch-pill {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 600;
	color: var(--sm-blue-800);
	background: var(--sm-blue-100);
	border-radius: 999px;
	padding: 0.05rem 0.42rem;
	vertical-align: middle;
}

.sm-docsearch-empty {
	padding: 0.7rem 0.75rem;
	font-size: 0.9rem;
	color: var(--sm-slate-600);
}

@media (max-width: 600px) {
	.sm-docsearch-kbd {
		display: none;
	}
}

.sm-docs-collections {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.sm-docs-collection h2 {
	font-size: 1.15rem;
	letter-spacing: -0.01em;
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: var(--sm-border);
}

.sm-docs-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 0.75rem;
}

.sm-docs-card a {
	display: block;
	height: 100%;
	padding: 0.9rem 1rem;
	border: var(--sm-border);
	border-radius: var(--sm-radius-btn);
	background: var(--sm-white);
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.sm-docs-card a:hover {
	border-color: var(--sm-blue-100);
	box-shadow: var(--sm-shadow-card);
	transform: translateY(-1px);
}

.sm-docs-card-title {
	display: block;
	font-weight: 600;
	color: var(--sm-ink);
	margin-bottom: 0.2rem;
}

.sm-docs-card-desc {
	display: block;
	font-size: 0.85rem;
	color: var(--sm-slate-600);
	line-height: 1.45;
}

.sm-docs-pill {
	display: inline-block;
	margin-left: 0.4rem;
	font-size: 0.62rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--sm-blue-700);
	background: var(--sm-blue-50);
	border: 1px solid var(--sm-blue-100);
	border-radius: 999px;
	padding: 0.05rem 0.4rem;
	vertical-align: middle;
}

.sm-docs-noresult {
	margin-top: 2rem;
	color: var(--sm-slate-600);
}

/* --- article --- */
.sm-docs-crumbs {
	font-size: 0.85rem;
	color: var(--sm-slate-400);
	margin-bottom: 1rem;
}

.sm-docs-crumbs a {
	color: var(--sm-slate-600);
	text-decoration: none;
}

.sm-docs-crumbs span {
	margin: 0 0.35rem;
}

.sm-docs-tier {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 999px;
	padding: 0.15rem 0.55rem;
	vertical-align: middle;
	position: relative;
	top: -0.3em;
}

.sm-docs-tier--pro {
	color: var(--sm-blue-800);
	background: var(--sm-blue-50);
	border: 1px solid var(--sm-blue-100);
}

.sm-docs-tier--free,
.sm-docs-tier--both {
	color: var(--sm-slate-600);
	background: var(--sm-slate-50);
	border: var(--sm-border);
}

/* rendered-markdown typography */
.sm-docs-body {
	color: var(--sm-ink);
	line-height: 1.7;
	margin-top: 2rem;
}

.sm-docs-body h2 {
	font-size: 1.4rem;
	letter-spacing: -0.01em;
	margin: 2.25rem 0 0.75rem;
	padding-top: 0.5rem;
}

.sm-docs-body h3 {
	font-size: 1.12rem;
	margin: 1.75rem 0 0.5rem;
}

.sm-docs-body p,
.sm-docs-body li {
	color: var(--sm-slate-600);
}

.sm-docs-body p {
	margin: 0 0 1rem;
}

.sm-docs-body a {
	color: var(--sm-blue-700);
	font-weight: 500;
}

.sm-docs-body ul,
.sm-docs-body ol {
	margin: 0 0 1rem;
	padding-left: 1.4rem;
}

.sm-docs-body li {
	margin: 0.3rem 0;
}

.sm-docs-body code {
	font-family: var(--sm-mono);
	font-size: 0.85em;
	background: var(--sm-slate-50);
	border: var(--sm-border);
	border-radius: 6px;
	padding: 0.1em 0.35em;
}

.sm-docs-body pre {
	background: var(--sm-ink);
	color: #e2e8f0;
	border-radius: var(--sm-radius-btn);
	padding: 1rem 1.15rem;
	overflow-x: auto;
	margin: 0 0 1.25rem;
	font-size: 0.85rem;
	line-height: 1.5;
}

.sm-docs-body pre code {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	font-size: inherit;
}

.sm-docs-body blockquote {
	margin: 0 0 1.25rem;
	padding: 0.75rem 1.1rem;
	border-left: 3px solid var(--sm-blue-700);
	background: var(--sm-blue-50);
	border-radius: 0 8px 8px 0;
	color: var(--sm-slate-600);
}

.sm-docs-body blockquote p:last-child {
	margin-bottom: 0;
}

.sm-docs-body img {
	max-width: 100%;
	height: auto;
	border: var(--sm-border);
	border-radius: var(--sm-radius-browser);
	box-shadow: var(--sm-shadow-card);
	margin: 1rem 0;
}

.sm-docs-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.25rem;
	font-size: 0.92rem;
	display: block;
	overflow-x: auto;
}

.sm-docs-body th,
.sm-docs-body td {
	border: var(--sm-border);
	padding: 0.5rem 0.75rem;
	text-align: left;
	vertical-align: top;
}

.sm-docs-body th {
	background: var(--sm-slate-50);
	font-weight: 600;
	color: var(--sm-ink);
}

.sm-docs-body h2:first-child,
.sm-docs-body > :first-child {
	margin-top: 0;
}

/* related + help */
.sm-docs-related {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: var(--sm-border);
}

.sm-docs-related h2 {
	font-size: 1rem;
	margin: 0 0 0.75rem;
}

.sm-docs-related ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
}

.sm-docs-related a {
	color: var(--sm-blue-700);
	font-weight: 500;
	text-decoration: none;
}

.sm-docs-help {
	margin-top: 2.5rem;
}

@media (max-width: 900px) {
	.sm-docs-shell {
		grid-template-columns: 1fr;
	}
	.sm-docs-aside {
		display: none;
	}
}

/* ------------------------------------------------ feature-request form */

.sm-frf {
	max-width: 480px;
	margin: 1.5rem auto 0;
	text-align: left;
}

.sm-frf-field {
	margin-bottom: 1rem;
}

.sm-frf label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: var(--sm-ink);
}

.sm-frf label span {
	font-weight: 400;
	color: var(--sm-slate-400);
}

.sm-frf textarea,
.sm-frf input[type="email"],
.sm-frf input[type="text"],
.sm-frf input[type="url"],
.sm-frf select {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6rem 0.7rem;
	font: inherit;
	font-size: 0.95rem;
	color: var(--sm-ink);
	background: var(--sm-white);
	border: 1.5px solid var(--sm-slate-200);
	border-radius: var(--sm-radius-btn);
}

.sm-frf textarea:focus,
.sm-frf input[type="email"]:focus,
.sm-frf input[type="text"]:focus,
.sm-frf input[type="url"]:focus,
.sm-frf select:focus {
	outline: none;
	border-color: var(--sm-blue-800);
	box-shadow: 0 0 0 3px var(--sm-blue-100);
}

.sm-frf textarea {
	resize: vertical;
	min-height: 92px;
}

.sm-frf-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

@media (max-width: 520px) {
	.sm-frf-row {
		grid-template-columns: 1fr;
	}
}

/* Honeypot: kept in the layout for bots, off-screen for humans + AT. */
.sm-frf-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sm-frf-submit {
	width: 100%;
	margin-top: 0.25rem;
	padding: 0.7rem 1.1rem;
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	color: var(--sm-white);
	background: var(--sm-blue-800);
	border: 1.5px solid var(--sm-ink);
	border-radius: var(--sm-radius-btn);
	box-shadow: 3px 3px 0 var(--sm-ink);
	cursor: pointer;
	transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.sm-frf-submit:hover {
	box-shadow: 1px 1px 0 var(--sm-ink);
	transform: translate(2px, 2px);
}

.sm-frf-submit:disabled {
	opacity: 0.7;
	cursor: default;
	box-shadow: 3px 3px 0 var(--sm-ink);
	transform: none;
}

.sm-frf-note {
	margin: 0.6rem 0 0;
	font-size: 0.75rem;
	color: var(--sm-slate-400);
	text-align: center;
}

.sm-frf-status {
	margin: 0.6rem 0 0;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	text-align: center;
	border-radius: var(--sm-radius-btn);
}

.sm-frf-status.is-ok {
	background: #ecfdf5;
	color: var(--sm-green-600);
}

.sm-frf-status.is-error {
	background: #fef2f2;
	color: var(--sm-red-600);
}

/* ------------------------------------------------------- Support (/support) */

/* Docs-first band: pitch on the left, most-asked articles on the right. */
.sm-support-docs {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	margin-top: 2.5rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: var(--sm-blue-50);
	border: 2px solid var(--sm-ink);
	border-radius: var(--sm-radius-card);
	box-shadow: 5px 5px 0 var(--sm-blue-800);
}
.sm-support-docs-lead h2 {
	margin: 0.25rem 0 0.6rem;
}
.sm-support-docs-lead p {
	margin: 0 0 1.25rem;
	color: var(--sm-slate-600);
}
.sm-support-docs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.sm-support-doc {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 12px;
	row-gap: 2px;
	align-content: start;
	padding: 14px;
	background: var(--sm-white);
	border: var(--sm-border);
	border-radius: 12px;
	text-decoration: none;
	transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.sm-support-doc:hover {
	transform: translateY(-2px);
	border-color: var(--sm-blue-100);
	box-shadow: var(--sm-shadow-card);
}
.sm-support-doc .sm-bento-ico {
	grid-row: span 2;
	width: 34px;
	height: 34px;
	margin: 0;
	background: var(--sm-blue-50);
	color: var(--sm-blue-800);
}
.sm-support-doc .sm-bento-ico svg {
	width: 18px;
	height: 18px;
}
.sm-support-doc-t {
	font-weight: 700;
	color: var(--sm-ink);
	line-height: 1.25;
}
.sm-support-doc-d {
	font-size: 0.85rem;
	color: var(--sm-slate-600);
	line-height: 1.35;
}

/* Contact: reassurance column + framed form. */
.sm-support-contact {
	display: grid;
	grid-template-columns: 0.82fr 1.18fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}
.sm-support-aside h2 {
	margin: 0.25rem 0 0.75rem;
}
.sm-support-aside .sm-lede {
	font-size: 1.05rem;
}
.sm-support-points {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}
.sm-support-points li {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	font-size: 0.95rem;
	color: var(--sm-slate-600);
	line-height: 1.5;
}
.sm-support-points svg {
	flex: none;
	width: 20px;
	height: 20px;
	color: var(--sm-blue-700);
	margin-top: 2px;
}
.sm-support-points strong {
	color: var(--sm-ink);
}
.sm-support-form {
	background: var(--sm-white);
	border: 2px solid var(--sm-ink);
	border-radius: var(--sm-radius-card);
	box-shadow: 5px 5px 0 var(--sm-blue-800);
	padding: clamp(1.25rem, 3vw, 2rem);
}
.sm-support-form .sm-frf {
	max-width: none;
	margin: 0;
}

@media (max-width: 880px) {
	.sm-support-docs,
	.sm-support-contact {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 480px) {
	.sm-support-docs-grid {
		grid-template-columns: 1fr;
	}
}

/* ------------------------------------------------- StoreMaster Embed (/embed) */

.sm-embed-snippet {
	margin: 1.75rem auto 0.5rem;
	max-width: 100%;
	width: fit-content;
	border: var(--sm-border);
	border-radius: 10px;
	background: var(--sm-ink);
	padding: 0.8em 1.2em;
	overflow-x: auto;
}

.sm-embed-snippet code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.85rem;
	color: #93c5fd;
	white-space: nowrap;
	background: none;
	padding: 0;
}

/* --------------------------------------------- industry / solution landing */

/* The parent theme auto-prints the page title as a left-aligned H1 above the
   pattern. On industry pages (which open with .sm-hero--industry) recast that
   title as a centred kicker leading the hero, so the page opens with one
   cohesive hero instead of an orphaned title floating in white space. */
.wp-block-post-title:has(+ .wp-block-post-content > .sm-hero--industry) {
	text-align: center;
	/* Pull up against the parent theme's stacked content spacing (main
	   margin-top + wrapper padding-top) so the kicker sits a comfortable
	   distance below the header instead of stranded in white space. Clamped
	   so narrow screens pull up less and never collide with the header. */
	margin-top: clamp(-4rem, -6vw, -2rem);
	margin-bottom: 0;
	padding-top: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sm-blue-700);
}
.wp-block-post-title:has(+ .wp-block-post-content > .sm-hero--industry) + .wp-block-post-content > .sm-hero--industry {
	padding-top: 1.25rem;
}

/* "Common document jobs": icon cards that wrap centred, so an odd count (5)
   never strands a lone card in the last row. */
.sm-jobgrid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	--sm-tier: var(--sm-blue-800);
	--sm-tier-bg: var(--sm-blue-50);
}
.sm-jobgrid .sm-persona-card {
	flex: 1 1 300px;
	max-width: 360px;
}

/* Reassurance check-row reused on the dark closing CTA band. */
.sm-cta-band .sm-check-row {
	justify-content: center;
	color: rgb(219 234 254 / 0.85);
}
.sm-cta-band .sm-check-row li::before {
	color: #4ade80;
}

/* Pricing tier matrix (patterns/pricing-matrix.php). */
.sm-matrix th,
.sm-matrix td {
	padding: 0.55rem 0.9rem;
	border-bottom: 1px solid var(--sm-slate-200, #e2e8f0);
	font-size: 0.9375rem;
}
.sm-matrix thead th {
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--sm-slate-600);
}
.sm-matrix td {
	text-align: center;
}
.sm-matrix tbody th {
	font-weight: 500;
}
