/*
 * Praetor marketing site — section system.
 *
 * Layers on top of sm-site.css, which still carries the pricing table, the
 * changelog and the docs chrome. Tokens come from style.css :root.
 *
 * Rules this file keeps:
 *   - Pulse Magenta is a signal, not a decoration: a switch that is on, and
 *     one solid button per screen. Everything else is ink, paper and rules.
 *   - Button labels are plum on pulse (4.83:1), never white on pulse (3.65:1,
 *     which fails AA at label sizes).
 *   - One button (.sm-cta-pulse) in two weights: solid and outline.
 *   - Product imagery is drawn in HTML (.sm-receipt, the switch) against the same
 *     tokens as the page, so it cannot go out of step with the palette or the
 *     product.
 *   - Sections are separated by rhythm and one dark band, not by tints.
 */

/* ============================================================ foundations */

/*
 * One grid. Twelve columns over the 1120px content width with a 2rem gutter;
 * every section splits at the same seam — five columns left, seven right —
 * and the tables put their column edges on it. --sm-col5 is that seam.
 */
:root {
	--sm-gutter: 2rem;
	--sm-col5: calc((100% - var(--sm-gutter)) * 5 / 12);
}

body {
	background: var(--sm-paper);
}

/* Visually hidden, still read. */
.sm-vh {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.sm-u-display,
h1.wp-block-heading.sm-u-display,
h2.wp-block-heading.sm-u-display,
.sm-band h3 {
	font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.02;
}

/* Hand-set display breaks. Present from the tablet width up, where the
   measure is known; below it the browser wraps and the break is inert. */
.sm-br {
	display: none;
}

@media (min-width: 861px) {
	.sm-br {
		display: inline;
	}
}

/* Kept for the features page, which still uses them. Not on the front page. */
.sm-eyebrow-pulse {
	font-family: var(--sm-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sm-pulse);
	margin: 0 0 1.1rem;
}

.sm-tick::after {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	background: var(--sm-pulse);
	margin-top: 1.1rem;
}

.sm-lede-pulse {
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.55;
	color: var(--sm-plum-soft);
	max-width: 46ch;
	text-wrap: pretty;
}

.sm-lede-pulse--wide {
	max-width: 46ch;
}

.sm-band {
	padding-block: clamp(4rem, 7vw, 6.5rem);
}

.sm-band--paper-deep {
	background: var(--sm-paper-deep);
}

.sm-band h2.sm-u-display {
	font-size: clamp(2rem, 3.2vw, 2.85rem);
	margin: 0;
}

/* Heading left, its proof right: nothing floats over an empty half. */
.sm-split {
	display: grid;
	grid-template-columns: var(--sm-col5) minmax(0, 1fr);
	gap: var(--sm-gutter);
	align-items: start;
	margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.sm-split .sm-lede-pulse {
	margin: 0;
	padding-top: 0.3rem;
}

@media (max-width: 860px) {
	.sm-split {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}
}

/* Chapter opener: one-line heading across the page, lede beneath it. */
.sm-chapter {
	margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.sm-chapter .sm-lede-pulse {
	margin: 1.25rem 0 0;
}

/* Text link: underlined in the rule colour, ink on hover. */
.sm-textlink {
	font-weight: 500;
	color: var(--sm-plum);
	text-decoration: underline;
	text-decoration-color: var(--sm-plum-soft);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: text-decoration-color 140ms ease;
}

.sm-textlink:hover,
.sm-textlink:focus-visible {
	color: var(--sm-plum);
	text-decoration-color: var(--sm-plum);
}

/* ================================================================ button */

.sm-cta-pulse {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	background: var(--sm-pulse);
	color: var(--sm-plum);
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	padding: 0.95rem 1.5rem;
	border-radius: 4px;
	white-space: nowrap;
	transition: background-color 140ms ease, color 140ms ease;
}

.sm-cta-pulse--sm {
	padding: 0.6rem 1.05rem;
	font-size: 0.92rem;
}

.sm-cta-pulse:hover,
.sm-cta-pulse:focus-visible {
	background: var(--sm-pulse-deep);
	color: var(--sm-white);
}

/* The outline weight: secondary actions, and the rail. */
.sm-cta-pulse--ghost {
	background: transparent;
	color: var(--sm-plum);
	box-shadow: inset 0 0 0 1px var(--sm-plum);
}

.sm-cta-pulse--ghost:hover,
.sm-cta-pulse--ghost:focus-visible {
	background: var(--sm-plum);
	color: var(--sm-paper);
}

/* The colophon uses sm-site.css's .sm-caption, whose --sm-slate-400 is #8b7a92
   on Soft Paper: 3.80:1 at 13px, under the 4.5:1 AA needs for normal text. */
.sm-foot-pulse .sm-caption {
	color: var(--sm-plum-soft);
}

/* A skip link. */
.sm-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 0.75rem 1.1rem;
	background: var(--sm-plum);
	color: var(--sm-paper);
	font-weight: 500;
	text-decoration: none;
	border-radius: 0 0 4px 0;
}

.sm-skip:focus {
	left: 0;
}

/* ================================================================= brand */

/*
 * The mark comes from CSS, not from markup: template parts are .html and cannot
 * run PHP, and a url() in a stylesheet resolves relative to the STYLESHEET, so
 * this is correct wherever WordPress lives. The word is set in Urbanist rather
 * than drawn, so the casing is an edit rather than a re-export.
 */
.sm-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--sm-plum);
}

.sm-brand::before {
	content: "";
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
	background: url("../images/sm-mark.svg") center / contain no-repeat;
}

.sm-brand__word {
	font-family: var(--sm-display);
	font-weight: 700;
	font-size: 1.22rem;
	letter-spacing: -0.03em;
}

/* ============================================================= nav rail */

/*
 * .sm-rail is a constrained group with a 1120px content size, so .sm-rail__inner
 * (its direct child) takes the same column as every section and the same root
 * padding at narrow widths. No second gutter system.
 */
.sm-rail {
	border-bottom: 1px solid var(--sm-rule);
	background: color-mix(in srgb, var(--sm-paper) 88%, transparent);
	backdrop-filter: saturate(140%) blur(8px);
	position: sticky;
	top: 0;
	z-index: 40;
}

.sm-rail__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 0.8rem;
}

.sm-rail__right {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.sm-rail__links {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	font-size: 0.95rem;
	font-weight: 500;
}

.sm-rail__links a {
	color: var(--sm-plum-soft);
	text-decoration: none;
}

.sm-rail__links a:hover,
.sm-rail__links a:focus-visible {
	color: var(--sm-plum);
}

@media (max-width: 860px) {
	.sm-rail__links a:not(.sm-rail__keep) {
		display: none;
	}
}

@media (max-width: 430px) {
	.sm-rail .sm-brand__word {
		display: none;
	}

	.sm-rail__inner,
	.sm-rail__right {
		gap: 0.75rem;
	}

	.sm-rail .sm-cta-pulse {
		padding: 0.6rem 0.85rem;
		gap: 0.35rem;
		font-size: 0.88rem;
	}

	.sm-rail__links {
		gap: 0.9rem;
		font-size: 0.9rem;
	}
}

/* ================================================================== hero */

/*
 * Claim, lede and button in the left column; the receipt on the right, taller
 * than the copy and pushed past the column edge, so it is the counterweight
 * to the headline rather than an illustration beside it.
 */
.sm-hero-pulse {
	padding-block: clamp(3rem, 5.5vw, 5rem) clamp(3rem, 5vw, 4.5rem);
	overflow: hidden;
}

.sm-band + .sm-band,
.sm-hero-pulse + .sm-band {
	border-top: 1px solid var(--sm-rule);
}

.sm-hero-pulse__grid {
	display: grid;
	grid-template-columns: var(--sm-col5) minmax(0, 1fr);
	align-items: start;
	gap: var(--sm-gutter);
}

.sm-hero-pulse__type {
	margin-top: -0.35rem;
}

h1.sm-hero-pulse__title {
	font-size: clamp(2.9rem, 5vw, 4.6rem);
	margin: 0 0 1.5rem;
}

.sm-hero-pulse__type {
	padding-top: 0.25rem;
}

h1.sm-hero-pulse__title {
	font-size: clamp(2.9rem, 5.2vw, 4.7rem);
	margin: 0 0 1.5rem;
}

.sm-hero-pulse__caption {
	margin: 1.4rem 0 0 auto;
	font-family: var(--sm-mono);
	font-size: 0.68rem;
	line-height: 1.6;
	letter-spacing: 0.02em;
	color: var(--sm-plum-soft);
	max-width: 52ch;
	text-align: right;
}

.sm-hero-pulse__type .sm-lede-pulse {
	margin: 0;
}

.sm-hero-pulse__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-top: 2rem;
}

.sm-hero-pulse__note {
	margin: 2rem 0 0;
	padding: 1rem 0 0;
	border-top: 1px solid var(--sm-rule);
	font-family: var(--sm-mono);
	font-size: 0.7rem;
	letter-spacing: 0.02em;
	color: var(--sm-plum);
	white-space: nowrap;
}

@media (max-width: 600px) {
	.sm-hero-pulse__note {
		white-space: normal;
		line-height: 1.8;
	}
}

.sm-hero-pulse__canvas {
	position: relative;
	margin-right: calc(-1 * clamp(0rem, 3vw, 3.5rem));
}

@media (max-width: 900px) {
	.sm-hero-pulse__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sm-hero-pulse__canvas {
		margin-right: 0;
	}
}

/* Scroll-driven settle for the hero object. Guarded twice: no polyfill where
   animation-timeline is unsupported (the static case is the default), and off
   under prefers-reduced-motion. */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		@keyframes sm-settle {
			from {
				transform: translateY(1.25rem);
			}

			to {
				transform: translateY(0);
			}
		}

		.sm-hero-pulse__canvas > * {
			animation: sm-settle linear both;
			animation-timeline: view();
			animation-range: entry 0% cover 30%;
		}
	}
}

/* ============================================================= receipt */

/*
 * The price trace as a ledger sheet: a white document with an ink rule, a
 * paper offset instead of a soft shadow, mono figures, a heavy rule above the
 * total. A document the plugin produced, not a screenshot of it.
 */
.sm-receipt {
	background: var(--sm-white);
	border: 1px solid var(--sm-plum);
	border-radius: 4px;
	box-shadow: 6px 6px 0 var(--sm-plum);
	padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1.25rem, 2.4vw, 2.25rem) 0;
	color: var(--sm-plum);
	font-variant-numeric: tabular-nums;
	min-width: 0;
}

.sm-receipt__head {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-family: var(--sm-mono);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sm-plum-soft);
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--sm-plum);
}

.sm-receipt__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.4rem;
	padding: 1.2rem 0 1rem;
}

.sm-receipt__item strong {
	font-weight: 600;
	font-size: clamp(1.3rem, 1.8vw, 1.65rem);
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.sm-receipt__item span {
	font-family: var(--sm-mono);
	font-size: 0.82rem;
	letter-spacing: 0.02em;
	color: var(--sm-plum-soft);
}

.sm-receipt__rows {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sm-receipt__rows li {
	display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr) 4.4rem 4.6rem;
	align-items: baseline;
	gap: 1rem;
	padding: 0.75rem 0;
	border-top: 1px solid var(--sm-rule);
	font-size: 0.95rem;
}

.sm-receipt__stage {
	font-weight: 500;
}

.sm-receipt__rule {
	color: var(--sm-plum-soft);
	font-size: 0.92rem;
}

.sm-receipt__delta,
.sm-receipt__val {
	font-family: var(--sm-mono);
	text-align: right;
}

.sm-receipt__delta {
	font-size: 1.05rem;
	color: var(--sm-muted);
}

.sm-receipt__val {
	font-size: 1.05rem;
	font-weight: 500;
}

.sm-receipt__total {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.6rem;
	margin-top: 0.25rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--sm-plum);
}

.sm-receipt__total span {
	align-self: stretch;
	display: flex;
	justify-content: space-between;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--sm-rule);
	font-family: var(--sm-mono);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sm-plum-soft);
}

.sm-receipt__total span::before {
	content: "Total";
	color: var(--sm-plum);
}

.sm-receipt__total strong {
	font-family: var(--sm-mono);
	font-weight: 600;
	font-size: clamp(2.4rem, 4vw, 3.6rem);
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--sm-pulse-deep);
}

.sm-receipt__foot {
	margin: 1.1rem calc(-1 * clamp(1.25rem, 2.4vw, 2.25rem)) 0;
	padding: 0.8rem clamp(1.25rem, 2.4vw, 2.25rem);
	border-top: 1px dashed var(--sm-plum-soft);
	background: var(--sm-paper-deep);
	font-family: var(--sm-mono);
	font-size: 0.7rem;
	line-height: 1.55;
	letter-spacing: 0.02em;
	color: var(--sm-plum-soft);
}

@media (max-width: 560px) {
	.sm-receipt {
		box-shadow: 4px 4px 0 var(--sm-plum);
	}

	.sm-receipt__head span:last-child,
	.sm-receipt__delta {
		display: none;
	}

	.sm-receipt__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.3rem;
	}

	.sm-receipt__rows li {
		grid-template-columns: minmax(0, 1fr) 4.6rem;
		grid-template-rows: auto auto;
		row-gap: 0.1rem;
	}

	.sm-receipt__stage {
		grid-column: 1;
		grid-row: 1;
	}

	.sm-receipt__rule {
		grid-column: 1;
		grid-row: 2;
		font-size: 0.84rem;
	}

	.sm-receipt__val {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-self: center;
	}
}

/* ============================================================== domains */

.sm-domains__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	color: var(--sm-plum);
	font-variant-numeric: tabular-nums;
}

.sm-domains__table th,
.sm-domains__table td {
	text-align: left;
	vertical-align: top;
	padding: 1.15rem 1.5rem 1.25rem 0;
	border-top: 1px solid var(--sm-rule);
}

.sm-domains__table thead th {
	padding-top: 0;
	padding-bottom: 0.7rem;
	border-top: 0;
	font-family: var(--sm-mono);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sm-plum-soft);
}

.sm-domains__table tbody tr:first-child th,
.sm-domains__table tbody tr:first-child td {
	border-top: 1px solid var(--sm-plum);
}

.sm-domains__table tbody tr:last-child th,
.sm-domains__table tbody tr:last-child td {
	border-bottom: 1px solid var(--sm-plum);
}

/* Column edges on the seam: 96 / 384 / 448 / 96 / 96 of 1120. */
.sm-col-n {
	width: 8.6%;
}

.sm-col-domain {
	width: 34.3%;
}

.sm-col-free {
	width: 40%;
}

.sm-col-count {
	width: 8.55%;
}

/* The module matrix: one cell per module, filled for free, outlined for Pro. */
.sm-matrix,
.sm-domains__legend {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	vertical-align: middle;
}

.sm-matrix i,
.sm-domains__legend i {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 1.5px solid var(--sm-plum);
	background: transparent;
	border-radius: 2px;
}

.sm-matrix i.is-free,
.sm-domains__legend i.is-free {
	background: var(--sm-plum);
}

.sm-domains__legend {
	margin-left: 0.9rem;
	gap: 0.35rem;
	align-items: center;
	text-transform: none;
	letter-spacing: 0.02em;
	font-size: 0.72rem;
	color: var(--sm-muted);
}

.sm-domains__legend i {
	width: 11px;
	height: 11px;
	border-width: 1px;
	border-color: var(--sm-plum-soft);
}

.sm-domains__legend i.is-free {
	background: var(--sm-plum-soft);
}

.sm-domains__legend i:nth-of-type(2) {
	margin-left: 0.5rem;
}

.sm-domains__count--free {
	color: var(--sm-plum);
}

.sm-domains__table {
	table-layout: fixed;
}

.sm-domains__n {
	font-family: var(--sm-mono);
	font-size: 0.78rem;
	color: var(--sm-plum-soft);
	padding-top: 1.3rem !important;
}

.sm-domains__table th[scope="row"] {
	font-weight: 600;
	font-size: 1.1rem;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: var(--sm-plum);
}

.sm-domains__table th[scope="row"] small {
	display: block;
	margin-top: 0.3rem;
	font-weight: 400;
	font-size: 0.88rem;
	letter-spacing: 0;
	line-height: 1.5;
	color: var(--sm-plum-soft);
	white-space: nowrap;
}

.sm-domains__free {
	line-height: 1.5;
	padding-top: 1.2rem !important;
}

.sm-domains__none {
	font-family: var(--sm-mono);
	font-size: 0.74rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sm-muted);
}

.sm-domains__table tfoot th,
.sm-domains__table tfoot td {
	border-top: 1px solid var(--sm-plum);
	padding-top: 0.9rem;
	padding-bottom: 0.9rem;
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--sm-plum-soft);
	vertical-align: baseline;
}

.sm-domains__table tfoot th[scope="row"] {
	font-size: 0.9rem;
	font-weight: 400;
}

.sm-domains__table tfoot td.sm-domains__count {
	font-weight: 500;
	color: var(--sm-plum);
	padding-top: 0.9rem !important;
}

.sm-domains__table tfoot td.sm-domains__free {
	padding-top: 0.9rem !important;
}

.sm-domains__table tbody tr:last-child th,
.sm-domains__table tbody tr:last-child td {
	border-bottom: 0;
}

.sm-domains__count {
	text-align: right !important;
	font-family: var(--sm-mono);
	white-space: nowrap;
	padding-right: 0 !important;
}

td.sm-domains__count {
	font-size: 1rem;
	font-weight: 500;
	padding-top: 1.2rem !important;
}

td.sm-domains__count + td.sm-domains__count {
	color: var(--sm-plum-soft);
	font-weight: 400;
}

.sm-domains__table td.sm-domains__count:not(:last-child),
.sm-domains__table th.sm-domains__count:not(:last-child) {
	padding-right: 0 !important;
}

.sm-domains__foot {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	margin-top: 1.25rem;
}

.sm-domains__foot p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--sm-plum-soft);
	max-width: 66ch;
}

@media (max-width: 760px) {
	.sm-domains__table thead,
	.sm-domains__table colgroup,
	.sm-domains__n {
		display: none;
	}

	.sm-domains__table,
	.sm-domains__table tbody,
	.sm-domains__table tfoot,
	.sm-domains__table tr,
	.sm-domains__table th,
	.sm-domains__table td {
		display: block;
		width: auto;
	}

	.sm-domains__table tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 2.5rem 2.5rem;
		padding: 1rem 0;
		border-top: 1px solid var(--sm-rule);
	}

	.sm-domains__table tbody tr:first-child {
		border-top-color: var(--sm-plum);
	}

	.sm-domains__table tbody tr:last-child {
		border-bottom: 1px solid var(--sm-plum);
	}

	.sm-domains__table th,
	.sm-domains__table td,
	.sm-domains__table th[scope="row"],
	.sm-domains__table .sm-domains__free {
		width: auto;
		border: 0 !important;
		padding: 0 !important;
	}

	.sm-domains__table th[scope="row"] small {
		max-width: none;
	}

	.sm-domains__free {
		grid-column: 1;
		margin-top: 0.6rem;
		font-size: 0.9rem;
	}

	td.sm-domains__count {
		grid-row: 1;
		align-self: start;
	}

	td.sm-domains__count--free {
		grid-column: 2;
	}

	td.sm-domains__count--free + td.sm-domains__count {
		grid-column: 3;
	}
}

/* ========================================================== off means off */

.sm-off__grid {
	display: grid;
	grid-template-columns: var(--sm-col5) minmax(0, 1fr);
	gap: var(--sm-gutter);
	align-items: start;
}

.sm-off__copy h2.sm-u-display {
	margin-bottom: 1.25rem;
}

.sm-off__copy .sm-lede-pulse {
	margin: 0;
}

/* One object: three rows of the module list, then the readout. */
.sm-off__panel {
	--sm-ui-x: 1.25rem;
	border: 1px solid var(--sm-plum);
	border-radius: 4px;
	background: var(--sm-white);
	box-shadow: 6px 6px 0 var(--sm-plum);
	overflow: hidden;
	font-size: 0.95rem;
	color: var(--sm-plum);
	font-variant-numeric: tabular-nums;
}

.sm-off__panel--split {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.sm-off__rows {
	border-right: 1px solid var(--sm-plum);
}

.sm-mod__domain {
	display: flex;
	align-items: baseline;
	gap: 0.7rem;
	padding: 0.75rem var(--sm-ui-x) 0.6rem;
	background: var(--sm-paper);
	border-bottom: 1px solid var(--sm-plum);
	font-family: var(--sm-mono);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sm-plum-soft);
}

.sm-mod__domain span {
	color: var(--sm-plum);
}

.sm-mod__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 1.25rem;
	min-height: 3.4rem;
	padding: 0.25rem var(--sm-ui-x);
	border-top: 1px solid var(--sm-rule);
}

.sm-mod__row:first-of-type {
	border-top: 0;
}

.sm-mod__name {
	font-weight: 500;
}

.is-off .sm-mod__name {
	color: var(--sm-plum-soft);
	font-weight: 400;
}

.sm-mod__ed {
	font-family: var(--sm-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sm-plum-soft);
	min-width: 3.2em;
	text-align: right;
}

/* Ink switches: pink is kept for the total and the button. */
.sm-mod__toggle {
	position: relative;
	display: inline-block;
	width: 42px;
	height: 24px;
	border-radius: 999px;
	background: var(--sm-white);
	border: 1.5px solid var(--sm-plum-soft);
	flex: 0 0 auto;
}

.sm-mod__toggle::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--sm-plum-soft);
}

.is-on > .sm-mod__toggle {
	background: var(--sm-plum);
	border-color: var(--sm-plum);
}

.is-on > .sm-mod__toggle::after {
	left: 21px;
	background: var(--sm-paper);
}

.sm-off__readout {
	margin: 0;
	background: var(--sm-paper);
	padding: 0 var(--sm-ui-x) 0.6rem;
	display: flex;
	flex-direction: column;
}

.sm-off__readout > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.7rem 0;
	border-top: 1px solid var(--sm-rule);
	flex: 1 1 auto;
}

.sm-off__readout > div.sm-off__readout-head {
	border-top: 0;
	border-bottom: 1px solid var(--sm-plum);
	padding: 0.85rem 0 0.7rem;
	flex: 0 0 auto;
}

.sm-off__readout-head dt,
.sm-off__readout-head dd {
	white-space: nowrap;
}

.sm-off__readout-head dd {
	font-size: 0.85rem;
	color: var(--sm-plum-soft);
}

.sm-off__readout > div:not(.sm-off__readout-head) dd {
	font-size: clamp(1.6rem, 2.2vw, 2rem);
	font-weight: 500;
	line-height: 1;
}

.sm-off__readout dt {
	font-family: var(--sm-mono);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sm-plum-soft);
}

.sm-off__readout-head dt {
	color: var(--sm-plum);
}

.sm-off__readout dd {
	margin: 0;
	font-family: var(--sm-mono);
	font-weight: 500;
	font-size: 1rem;
	color: var(--sm-plum);
}

@media (max-width: 860px) {
	.sm-off__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	.sm-off__panel--split {
		grid-template-columns: minmax(0, 1fr);
	}

	.sm-off__rows {
		border-right: 0;
		border-bottom: 1px solid var(--sm-plum);
	}
}

/* ================================================================ prices */

/* The page's one tonal shift: the ledger runs on ink. */
.sm-band.sm-price {
	--sm-price-rule: color-mix(in srgb, var(--sm-paper) 24%, transparent);
	background: var(--sm-plum);
	color: var(--sm-paper);
	border-top: 0;
}

.sm-price h2.sm-u-display {
	color: var(--sm-paper);
}

.sm-price .sm-lede-pulse {
	color: color-mix(in srgb, var(--sm-paper) 72%, transparent);
}

/* One line across the band, then the ledger. */
.sm-price__head {
	margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.sm-band h2.sm-price__title {
	font-size: clamp(2.6rem, 5vw, 4.6rem);
	letter-spacing: -0.04em;
	line-height: 0.98;
	margin: 0 0 1.25rem;
}

.sm-price__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	color: var(--sm-paper);
	font-variant-numeric: tabular-nums;
}

.sm-price__table th,
.sm-price__table td {
	text-align: left;
	vertical-align: baseline;
	padding: 1.15rem 1.5rem 1.25rem 0;
	border-top: 1px solid var(--sm-price-rule);
}

.sm-price__table thead th {
	padding-top: 0;
	padding-bottom: 0.7rem;
	border-top: 0;
	font-family: var(--sm-mono);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--sm-paper) 66%, transparent);
}

.sm-price__table tbody tr:first-child th,
.sm-price__table tbody tr:first-child td {
	border-top: 1px solid var(--sm-paper);
}

.sm-price__table tbody tr:last-child th,
.sm-price__table tbody tr:last-child td {
	border-bottom: 1px solid var(--sm-paper);
}

/* Column edges on the seam: 288 / 480 / 96 / 96 / 160 of 1120. */
.sm-col-plan {
	width: 25.7%;
}

.sm-col-inc {
	width: 42.9%;
}

.sm-col-num {
	width: 8.6%;
}

.sm-col-amount {
	width: 14.2%;
}

.sm-price__table {
	table-layout: fixed;
}

.sm-price__table th[scope="row"] {
	font-weight: 600;
	font-size: 1.1rem;
	letter-spacing: -0.02em;
	line-height: 1.25;
	white-space: nowrap;
}

.sm-price__table th[scope="row"] a {
	color: inherit;
	text-decoration: none;
}

.sm-price__table th[scope="row"] a:hover,
.sm-price__table th[scope="row"] a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 5px;
}

.sm-price__table th[scope="row"] em {
	font-style: normal;
	font-family: var(--sm-mono);
	font-size: 0.64rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--sm-paper) 62%, transparent);
	margin-left: 0.6em;
	vertical-align: 0.15em;
}

.sm-price__table .sm-price__inc {
	font-size: 0.92rem;
	line-height: 1.5;
	color: color-mix(in srgb, var(--sm-paper) 72%, transparent);
}

.sm-price__table thead th.sm-price__inc {
	font-size: 0.74rem;
	line-height: inherit;
	color: color-mix(in srgb, var(--sm-paper) 66%, transparent);
}

.sm-price__num {
	text-align: right !important;
	font-family: var(--sm-mono);
	white-space: nowrap;
}

td.sm-price__num {
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--sm-paper);
}

.sm-price__table td.sm-price__amount {
	padding-right: 0;
	font-family: var(--sm-mono);
	font-weight: 600;
	font-size: 1.5rem;
	color: var(--sm-paper);
}

.sm-price__table th.sm-price__num:last-child {
	padding-right: 0;
}

.sm-price__foot {
	display: grid;
	grid-template-columns: var(--sm-col5) minmax(0, 1fr);
	align-items: start;
	gap: var(--sm-gutter);
	margin-top: 1.75rem;
}

.sm-price__foot > p {
	padding-top: 0.6rem;
}

.sm-price__foot > p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--sm-paper) 72%, transparent);
	max-width: 58ch;
}

.sm-price__cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
}

.sm-price__cta p.sm-price__req {
	margin: 0;
	font-family: var(--sm-mono);
	font-size: 0.64rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--sm-paper) 55%, transparent);
}

@media (max-width: 760px) {
	.sm-price__table .sm-price__inc,
	.sm-price__table colgroup {
		display: none;
	}

	.sm-price__table {
		table-layout: auto;
	}

	.sm-price__table th,
	.sm-price__table td {
		padding-right: 0.75rem;
	}

	.sm-price__foot {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ================================================================ footer */

.sm-foot-pulse {
	padding-block: clamp(2.5rem, 5vw, 3.5rem) 2rem;
}

.sm-foot-pulse__row {
	display: grid;
	grid-template-columns: var(--sm-col5) minmax(0, 1fr);
	gap: var(--sm-gutter);
	align-items: start;
}

.sm-foot-pulse__brand p.sm-foot-pulse__release {
	margin: 0.9rem 0 0;
	font-family: var(--sm-mono);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.sm-foot-pulse__release a {
	color: var(--sm-plum-soft);
}

.sm-foot-pulse__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.4rem;
	padding-top: 0.35rem;
	font-size: 0.92rem;
}

.sm-foot-pulse a {
	color: var(--sm-plum);
	text-decoration: none;
}

.sm-foot-pulse a:hover,
.sm-foot-pulse a:focus-visible {
	color: var(--sm-pulse-deep);
}

.sm-foot-pulse__legal {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--sm-rule);
}

.sm-foot-pulse__legal p {
	margin: 0;
}

@media (max-width: 760px) {
	.sm-foot-pulse__row {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ========================================================== capabilities */

/* Kept for the features page (patterns/capabilities.php). Not on the front page. */
.sm-capbento {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border: 1px solid var(--sm-rule);
	border-radius: var(--sm-radius-card);
	overflow: hidden;
	background: var(--sm-rule);
	gap: 1px;
}

.sm-capbento__cell {
	background: var(--sm-paper);
	padding: clamp(1.5rem, 2.6vw, 2.25rem);
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.sm-capbento__cell--wide {
	grid-column: span 2;
}

.sm-capbento__cell--image {
	padding: 0;
	background: var(--sm-paper-deep);
}

.sm-capbento__cell--image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sm-capbento h3 {
	margin: 0;
	color: var(--sm-plum);
}

.sm-capbento p {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.55;
	color: var(--sm-plum-soft);
}

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

	.sm-capbento__cell--wide {
		grid-column: auto;
	}
}

/* ============================================================ focus ring */

.sm-rail__links a:focus-visible,
.sm-cta-pulse:focus-visible,
.sm-textlink:focus-visible,
.sm-price__tier:focus-visible,
.sm-foot-pulse a:focus-visible,
.sm-brand:focus-visible {
	outline: 2px solid var(--sm-pulse);
	outline-offset: 3px;
}

.sm-rail__links a:focus-visible,
.sm-textlink:focus-visible,
.sm-price__tier:focus-visible,
.sm-foot-pulse a:focus-visible,
.sm-brand:focus-visible {
	border-radius: 4px;
}
