/**
 * RuleFence standard page template.
 *
 * Shared presentation for documentation, support, company and legal pages that
 * do not carry a bespoke page-scoped stylesheet. Every rule is scoped to
 * `.wpam-page` so the existing marketing pages are untouched.
 */

.wpam-page {
	--wpam-page-toc: 236px;

	color: var(--wpam-ink-600);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.68;
}

.wpam-page *,
.wpam-page *::before,
.wpam-page *::after {
	box-sizing: border-box;
}

.wpam-page .wpam-shell {
	width: min(var(--wpam-container), calc(100% - (2 * var(--wpam-gutter))));
	margin-inline: auto;
}

/* Hero. */
.wpam-page .wpam-page-hero {
	position: relative;
	overflow: hidden;
	padding-block: 76px 64px;
	border-bottom: 1px solid var(--wpam-line);
	background:
		radial-gradient(120% 140% at 88% -30%, rgba(56, 88, 233, .1), transparent 62%),
		linear-gradient(180deg, #fbfcff, #ffffff);
}

.wpam-page .wpam-page-hero::after {
	position: absolute;
	z-index: 0;
	top: -180px;
	right: -140px;
	width: 460px;
	height: 460px;
	border: 1px solid rgba(56, 88, 233, .14);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.wpam-page .wpam-page-hero > .wpam-shell {
	position: relative;
	z-index: 1;
}

.wpam-page .wpam-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 22px;
	color: var(--wpam-ink-500);
	font-size: 13px;
	font-weight: 600;
}

.wpam-page .wpam-crumbs a {
	color: var(--wpam-ink-600);
	text-decoration: none;
}

.wpam-page .wpam-crumbs a:hover {
	color: var(--wpam-blue-700);
}

/*
 * The breadcrumb separator, without the opacity that was hiding its real
 * contrast.
 *
 * It was --wpam-ink-500 at `opacity: .7`, which renders as about 2.5:1 against
 * the hero -- the colour reads 4.1:1 on paper, and the opacity then blends it
 * most of the way back into the background. It is aria-hidden and decorative,
 * so this is arguably exempt, but it is one line and it appears on every page
 * of the site.
 *
 * ink-600 at full opacity measures 5.5:1 and still reads quieter than the
 * breadcrumb links beside it, which are blue.
 */
.wpam-page .wpam-crumbs span[aria-hidden="true"] {
	color: var(--wpam-ink-600);
}

.wpam-page .wpam-crumbs [aria-current="page"] {
	color: var(--wpam-ink-900);
}

.wpam-page .wpam-page-hero .wpam-eyebrow {
	margin-bottom: 14px;
}

.wpam-page .wpam-page-hero h1 {
	max-width: 20ch;
	margin: 0;
	color: var(--wpam-ink-950);
	font-size: clamp(2.25rem, 4.2vw, 3.125rem);
	font-weight: 700;
	letter-spacing: -.042em;
	line-height: 1.08;
}

.wpam-page .wpam-page-lead {
	max-width: 62ch;
	margin: 20px 0 0;
	color: var(--wpam-ink-600);
	font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
	line-height: 1.6;
}

.wpam-page .wpam-page-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.wpam-page .wpam-page-facts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border: 1px solid var(--wpam-line);
	border-radius: 999px;
	color: var(--wpam-ink-700);
	background: #ffffff;
	font-size: 12.5px;
	font-weight: 600;
}

.wpam-page .wpam-page-facts li::before {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wpam-blue-600);
	content: "";
}

/* Body layout. */
.wpam-page .wpam-page-body {
	padding-block: 72px 96px;
}

.wpam-page .wpam-page-body > .wpam-shell {
	display: grid;
	align-items: start;
	gap: 64px;
	grid-template-columns: var(--wpam-page-toc) minmax(0, 1fr);
}

.wpam-page.wpam-page--plain .wpam-page-body > .wpam-shell {
	/*
	 * No max-width here. `.wpam-shell` is margin-inline:auto, so capping this
	 * one at 820px centred the whole body 190px to the right of the hero and
	 * the CTA, which both sit at the shell's own left edge. The plain pages
	 * read as a heading, then an indented block, then an outdented footer.
	 *
	 * The cap was not doing anything for measure either: `.wpam-prose` already
	 * limits itself to 74ch (638px), so the extra 182px was dead space on the
	 * right of every paragraph.
	 *
	 * Dropping it lets the body share the hero's edge and leaves the reading
	 * measure to the element that owns it.
	 */
	grid-template-columns: minmax(0, 1fr);
}

/* Table of contents. */
.wpam-page .wpam-toc {
	position: sticky;
	top: 108px;
}

.wpam-page .wpam-toc h2 {
	margin: 0 0 14px;
	color: var(--wpam-ink-500);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.wpam-page .wpam-toc ol {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	border-left: 1px solid var(--wpam-line);
	list-style: none;
}

.wpam-page .wpam-toc a {
	display: block;
	margin-left: -1px;
	padding: 7px 0 7px 16px;
	border-left: 2px solid transparent;
	color: var(--wpam-ink-600);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: color .18s ease, border-color .18s ease;
}

.wpam-page .wpam-toc a:hover {
	border-left-color: var(--wpam-line);
	color: var(--wpam-blue-700);
}

/* Prose. */
.wpam-page .wpam-prose {
	max-width: 74ch;
}

.wpam-page .wpam-prose > section + section {
	margin-top: 56px;
	padding-top: 56px;
	border-top: 1px solid var(--wpam-line-soft);
}

.wpam-page .wpam-prose h2 {
	margin: 0 0 16px;
	color: var(--wpam-ink-950);
	font-size: clamp(1.5rem, 2.4vw, 1.875rem);
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1.18;
	scroll-margin-top: 112px;
}

.wpam-page .wpam-prose h3 {
	margin: 34px 0 12px;
	color: var(--wpam-ink-900);
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: -.018em;
	line-height: 1.3;
	scroll-margin-top: 112px;
}

.wpam-page .wpam-prose h4 {
	margin: 26px 0 10px;
	color: var(--wpam-ink-900);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.wpam-page .wpam-prose p {
	margin: 0 0 18px;
}

.wpam-page .wpam-prose > section > p:last-child,
.wpam-page .wpam-prose > section > ul:last-child,
.wpam-page .wpam-prose > section > ol:last-child {
	margin-bottom: 0;
}

.wpam-page .wpam-prose ul,
.wpam-page .wpam-prose ol {
	margin: 0 0 18px;
	padding-left: 22px;
}

.wpam-page .wpam-prose li + li {
	margin-top: 8px;
}

.wpam-page .wpam-prose li::marker {
	color: var(--wpam-blue-600);
}

.wpam-page .wpam-prose strong {
	color: var(--wpam-ink-900);
	font-weight: 700;
}

.wpam-page .wpam-prose a {
	color: var(--wpam-blue-700);
	text-decoration: underline;
	text-decoration-color: rgba(41, 69, 204, .4);
	text-decoration-thickness: .08em;
	text-underline-offset: .16em;
}

.wpam-page .wpam-prose a:hover {
	color: var(--wpam-blue-800);
	text-decoration-color: currentColor;
}

.wpam-page .wpam-prose code {
	padding: 2px 6px;
	border: 1px solid var(--wpam-line-soft);
	border-radius: 6px;
	color: var(--wpam-ink-900);
	background: var(--wpam-surface-alt);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .875em;
}

.wpam-page .wpam-prose pre {
	overflow-x: auto;
	margin: 0 0 20px;
	padding: 18px 20px;
	border: 1px solid #1c2740;
	border-radius: var(--wpam-radius);
	color: #dfe6f5;
	background: var(--wpam-ink-950);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px;
	line-height: 1.7;
	tab-size: 2;
}

.wpam-page .wpam-prose pre code {
	padding: 0;
	border: 0;
	color: inherit;
	background: none;
	font-size: inherit;
}

/* Definition rows. */
.wpam-page .wpam-defs {
	display: grid;
	gap: 0;
	margin: 0 0 20px;
	padding: 0;
	border: 1px solid var(--wpam-line);
	border-radius: var(--wpam-radius);
	overflow: hidden;
}

.wpam-page .wpam-defs > div {
	display: grid;
	gap: 4px 24px;
	padding: 16px 20px;
	grid-template-columns: 190px minmax(0, 1fr);
}

.wpam-page .wpam-defs > div + div {
	border-top: 1px solid var(--wpam-line-soft);
}

.wpam-page .wpam-defs dt {
	color: var(--wpam-ink-900);
	font-size: 14px;
	font-weight: 700;
}

.wpam-page .wpam-defs dd {
	margin: 0;
	font-size: 14.5px;
}

/* Callouts. */
.wpam-page .wpam-note {
	margin: 0 0 20px;
	padding: 18px 20px;
	border: 1px solid var(--wpam-line);
	border-left: 3px solid var(--wpam-blue-600);
	border-radius: var(--wpam-radius-sm);
	background: var(--wpam-surface-alt);
	font-size: 14.5px;
}

.wpam-page .wpam-note > :last-child {
	margin-bottom: 0;
}

.wpam-page .wpam-note strong:first-child {
	display: block;
	margin-bottom: 4px;
	color: var(--wpam-ink-950);
}

.wpam-page .wpam-note--ok {
	border-left-color: var(--wpam-green-700);
	background: var(--wpam-green-100);
}

.wpam-page .wpam-note--warn {
	border-left-color: var(--wpam-amber-800);
	background: var(--wpam-amber-100);
}

.wpam-page .wpam-note--stop {
	border-left-color: var(--wpam-red-700);
	background: var(--wpam-red-100);
}

/* Tiles. */
.wpam-page .wpam-tiles {
	display: grid;
	gap: 16px;
	margin: 0 0 20px;
	padding: 0;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	list-style: none;
}

.wpam-page .wpam-tiles li,
.wpam-page .wpam-tile {
	display: block;
	padding: 20px;
	border: 1px solid var(--wpam-line);
	border-radius: var(--wpam-radius);
	background: #ffffff;
	box-shadow: var(--wpam-shadow-sm);
}

.wpam-page .wpam-tiles li + li {
	margin-top: 0;
}

/* An odd number of tiles leaves the last one alone beside a hole the width of
   a whole card. The prose column tops out at 638px and the tracks are
   minmax(240px, 1fr), so this grid is always two columns on a real screen and
   one on a phone -- a lone last tile therefore always means an orphan, and
   spanning it reads as a deliberate wide card rather than a gap. If the prose
   column is ever widened past 752px a third track appears and this rule must
   be scoped to a media query. */
.wpam-page .wpam-tiles > li:last-child:nth-child(2n + 1) {
	grid-column: 1 / -1;
}

.wpam-page .wpam-tile-label {
	display: block;
	margin-bottom: 8px;
	color: var(--wpam-blue-700);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.wpam-page .wpam-tile-title {
	display: block;
	margin-bottom: 6px;
	color: var(--wpam-ink-950);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.015em;
}

.wpam-page .wpam-tile p {
	margin: 0;
	font-size: 14.5px;
}

.wpam-page a.wpam-tile {
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.wpam-page a.wpam-tile:hover {
	border-color: #b8c4e6;
	box-shadow: var(--wpam-shadow-md);
	transform: translateY(-2px);
}

/* Tables. */
.wpam-page .wpam-table-wrap {
	overflow-x: auto;
	margin: 0 0 20px;
	border: 1px solid var(--wpam-line);
	border-radius: var(--wpam-radius);
}

.wpam-page .wpam-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}

.wpam-page .wpam-prose th,
.wpam-page .wpam-prose td {
	padding: 13px 18px;
	border-bottom: 1px solid var(--wpam-line-soft);
	text-align: left;
	vertical-align: top;
}

.wpam-page .wpam-prose thead th {
	color: var(--wpam-ink-500);
	background: var(--wpam-surface-alt);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.wpam-page .wpam-prose tbody tr:last-child td {
	border-bottom: 0;
}

.wpam-page .wpam-prose td strong {
	color: var(--wpam-ink-900);
}

/* Release / timeline entries. */
.wpam-page .wpam-releases {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpam-page .wpam-release {
	padding: 24px 0;
	border-top: 1px solid var(--wpam-line-soft);
}

.wpam-page .wpam-release:first-child {
	border-top: 0;
	padding-top: 0;
}

.wpam-page .wpam-release-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 10px;
}

.wpam-page .wpam-release-version {
	color: var(--wpam-ink-950);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -.02em;
}

.wpam-page .wpam-release-date {
	color: var(--wpam-ink-500);
	font-size: 13px;
	font-weight: 600;
}

.wpam-page .wpam-pill {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	color: var(--wpam-blue-800);
	background: var(--wpam-blue-100);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.wpam-page .wpam-pill--ok {
	color: var(--wpam-green-700);
	background: var(--wpam-green-100);
}

.wpam-page .wpam-pill--work {
	color: var(--wpam-amber-800);
	background: var(--wpam-amber-100);
}

.wpam-page .wpam-pill--muted {
	color: var(--wpam-ink-600);
	background: var(--wpam-surface-alt);
}

/* Contact / support channel cards. */
.wpam-page .wpam-channels {
	display: grid;
	gap: 16px;
	margin: 0 0 20px;
	padding: 0;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	list-style: none;
}

.wpam-page .wpam-channel {
	display: flex;
	height: 100%;
	flex-direction: column;
	padding: 22px;
	border: 1px solid var(--wpam-line);
	border-radius: var(--wpam-radius);
	background: #ffffff;
	box-shadow: var(--wpam-shadow-sm);
}

.wpam-page .wpam-channel h3 {
	margin: 0 0 8px;
	color: var(--wpam-ink-950);
	font-size: 1rem;
	font-weight: 700;
}

.wpam-page .wpam-channel p {
	margin: 0 0 16px;
	font-size: 14.5px;
}

.wpam-page .wpam-channel > :last-child {
	margin-top: auto;
	margin-bottom: 0;
}

.wpam-page .wpam-inline-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--wpam-blue-700);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.wpam-page .wpam-inline-link::after {
	content: "\2192";
	transition: transform .18s ease;
}

.wpam-page .wpam-inline-link:hover::after {
	transform: translateX(3px);
}

/* Closing CTA. */
.wpam-page .wpam-page-cta {
	padding-block: 72px;
	border-top: 1px solid var(--wpam-line);
	background: var(--wpam-ink-950);
	color: #c3ccda;
	text-align: center;
}

.wpam-page .wpam-page-cta h2 {
	max-width: 22ch;
	margin: 0 auto 14px;
	color: #ffffff;
	font-size: clamp(1.75rem, 3vw, 2.375rem);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.14;
}

.wpam-page .wpam-page-cta p {
	max-width: 56ch;
	margin: 0 auto 28px;
	font-size: 1.0625rem;
}

.wpam-page .wpam-page-cta .wpam-eyebrow {
	color: #92a4ff;
}

.wpam-page .wpam-cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.wpam-page .wpam-btn {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 0 22px;
	border: 1px solid var(--wpam-blue-600);
	border-radius: var(--wpam-radius-sm);
	color: #ffffff;
	background: var(--wpam-blue-600);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.wpam-page .wpam-btn:hover {
	border-color: var(--wpam-blue-700);
	background: var(--wpam-blue-700);
	transform: translateY(-1px);
}

.wpam-page .wpam-btn--ghost {
	border-color: rgba(255, 255, 255, .28);
	color: #ffffff;
	background: transparent;
}

.wpam-page .wpam-btn--ghost:hover {
	border-color: rgba(255, 255, 255, .55);
	background: rgba(255, 255, 255, .08);
}

/*
 * The same buttons on a light background.
 *
 * `.wpam-btn` was written for the dark call-to-action band at the foot of each
 * page, and it carries two assumptions from there: white text, and a ghost
 * variant outlined in translucent white. Both are invisible or wrong on the
 * white prose column.
 *
 * It loses there for an ordinary reason. `.wpam-page .wpam-prose a` is (0,2,1)
 * and `.wpam-page .wpam-btn` is (0,2,0), so inside prose the link colour wins
 * and a primary button renders blue-on-blue at 1.33:1 -- the same failure the
 * plan cards had. Naming the element in the selector is what settles it.
 *
 * Only prose is touched; the CTA band keeps the styling above, where the white
 * is correct because the ground is dark.
 */
.wpam-page .wpam-prose a.wpam-btn {
	color: #ffffff;
	text-decoration: none;
}

.wpam-page .wpam-prose a.wpam-btn:hover {
	color: #ffffff;
}

.wpam-page .wpam-prose a.wpam-btn--ghost {
	border-color: var(--wpam-line);
	color: var(--wpam-ink-900);
	background: #ffffff;
}

.wpam-page .wpam-prose a.wpam-btn--ghost:hover {
	border-color: var(--wpam-blue-600);
	color: var(--wpam-blue-700);
	background: var(--wpam-surface-alt);
}

/* A row of actions inside prose, rather than the centred CTA arrangement. */
.wpam-page .wpam-prose .wpam-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 22px 0 0;
}

/* Legal document furniture. */
.wpam-page .wpam-legal-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0 0 32px;
	padding: 16px 20px;
	border: 1px solid var(--wpam-line);
	border-radius: var(--wpam-radius-sm);
	background: var(--wpam-surface-alt);
	font-size: 13.5px;
}

.wpam-page .wpam-legal-meta > div {
	display: flex;
	gap: 8px;
}

.wpam-page .wpam-legal-meta dt {
	color: var(--wpam-ink-500);
	font-weight: 700;
	/*
	 * The label must not shrink. Each pair is its own flex row, so by default
	 * the term and the value shrink together and a long value steals width
	 * from the label: on privacy policy at 375px, "Applies to" was squeezed
	 * into 43px against the 47px its first word needs and broke mid-word.
	 * With the label fixed, the value wraps instead, which is what should
	 * wrap.
	 */
	flex: none;
}

.wpam-page .wpam-legal-meta dd {
	margin: 0;
	color: var(--wpam-ink-900);
	font-weight: 600;
}

@media (max-width: 1024px) {
	.wpam-page .wpam-page-body > .wpam-shell {
		gap: 40px;
		grid-template-columns: minmax(0, 1fr);
	}

	.wpam-page .wpam-toc {
		position: static;
		padding: 18px 20px;
		border: 1px solid var(--wpam-line);
		border-radius: var(--wpam-radius);
		background: var(--wpam-surface-alt);
	}

	.wpam-page .wpam-toc ol {
		gap: 0;
		border-left: 0;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}

	.wpam-page .wpam-toc a {
		margin-left: 0;
		padding-left: 0;
		border-left: 0;
	}

	.wpam-page .wpam-toc a:hover {
		border-left-color: transparent;
	}

	.wpam-page .wpam-prose {
		max-width: none;
	}
}

@media (max-width: 767px) {
	.wpam-page .wpam-page-hero {
		padding-block: 52px 44px;
	}

	.wpam-page .wpam-page-body {
		padding-block: 52px 72px;
	}

	.wpam-page .wpam-prose > section + section {
		margin-top: 44px;
		padding-top: 44px;
	}

	.wpam-page .wpam-defs > div {
		grid-template-columns: minmax(0, 1fr);
	}

	.wpam-page .wpam-page-cta {
		padding-block: 56px;
	}

	.wpam-page .wpam-cta-actions .wpam-btn {
		width: 100%;
	}
}

/* ---------------------------------------------------------------------------
 * Icons.
 *
 * The bespoke marketing pages carry 45-95 inline Lucide icons each. These
 * pages had none, which made them read as a plainer, separate product. Rather
 * than repeat inline SVG across seventy generated pages, the icons are CSS
 * masks: one definition each, tinted by currentColor or a variant colour, with
 * no per-page markup. The glyphs match the ones already used on the knowledge
 * base hub so the two tie together.
 * ------------------------------------------------------------------------ */

.wpam-page .wpam-note {
	position: relative;
	padding-left: 56px;
}

.wpam-page .wpam-note::before {
	position: absolute;
	top: 19px;
	left: 20px;
	width: 20px;
	height: 20px;
	background-color: var(--wpam-blue-600);
	content: "";
	-webkit-mask: var(--wpam-icon) center / contain no-repeat;
	mask: var(--wpam-icon) center / contain no-repeat;

	/* Lucide "info" */
	--wpam-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
}

/* Lucide "circle-check" */
.wpam-page .wpam-note--ok::before {
	background-color: var(--wpam-green-700);
	--wpam-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

/* Lucide "triangle-alert" */
.wpam-page .wpam-note--warn::before {
	background-color: var(--wpam-amber-800);
	--wpam-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}

/* Lucide "octagon-alert" */
.wpam-page .wpam-note--stop::before {
	background-color: var(--wpam-red-700);
	--wpam-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16h.01'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z'/%3E%3C/svg%3E");
}

/* Collection glyphs, matching the knowledge base hub. */
.wpam-page .wpam-ico::before {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
	background-color: currentColor;
	content: "";
	-webkit-mask: var(--wpam-icon) center / contain no-repeat;
	mask: var(--wpam-icon) center / contain no-repeat;
}

/* Lucide "plug" */
.wpam-page .wpam-ico--setup {
	--wpam-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22v-5'/%3E%3Cpath d='M15 8V2'/%3E%3Cpath d='M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z'/%3E%3Cpath d='M9 8V2'/%3E%3C/svg%3E");
}

/* Lucide "fingerprint" */
.wpam-page .wpam-ico--identity {
	--wpam-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4'/%3E%3Cpath d='M14 13.12c0 2.38 0 6.38-1 8.88'/%3E%3Cpath d='M17.29 21.02c.12-.6.43-2.3.5-3.02'/%3E%3Cpath d='M2 12a10 10 0 0 1 18-6'/%3E%3Cpath d='M2 16h.01'/%3E%3Cpath d='M21.8 16c.2-2 .131-5.354 0-6'/%3E%3Cpath d='M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2'/%3E%3Cpath d='M8.65 22c.21-.66.45-1.32.57-2'/%3E%3Cpath d='M9 6.8a6 6 0 0 1 9 5.2v2'/%3E%3C/svg%3E");
}

/* Lucide "key-round" */
.wpam-page .wpam-ico--authority {
	--wpam-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z'/%3E%3Ccircle cx='16.5' cy='7.5' r='.6' fill='%23000'/%3E%3C/svg%3E");
}

/* Lucide "clock-3" */
.wpam-page .wpam-ico--approval {
	--wpam-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6h4'/%3E%3C/svg%3E");
}

/* Lucide "file-check" */
.wpam-page .wpam-ico--evidence {
	--wpam-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6'/%3E%3Cpath d='M14 2v5a1 1 0 0 0 1 1h5'/%3E%3Cpath d='m14 20 2 2 4-4'/%3E%3C/svg%3E");
}

/* Lucide "rotate-ccw" */
.wpam-page .wpam-ico--recovery {
	--wpam-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E");
}

/* Eyebrow carrying its collection glyph. */
.wpam-page .wpam-eyebrow.wpam-ico {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

/* Tiles: a glyph, and the chevron affordance the marketing cards use.
 *
 * The glyph is painted by masking the pseudo-element, so it cannot also carry
 * a border or a background plate — a mask clips those away too. The knowledge
 * base hub draws its category icons bare as well, so a plain glyph is the
 * consistent choice rather than a workaround.
 */
.wpam-page .wpam-tile.wpam-ico {
	padding-top: 58px;
}

.wpam-page .wpam-tile.wpam-ico::before {
	position: absolute;
	top: 20px;
	left: 20px;
	width: 22px;
	height: 22px;
	background-color: var(--wpam-blue-600);
}

/* Tiles sit inside .wpam-prose, where anchors are link-coloured. A card is not
   inline link text: keep its body copy in the reading colour. */
.wpam-page .wpam-prose a.wpam-tile,
.wpam-page a.wpam-tile {
	color: var(--wpam-ink-600);
	text-decoration: none;
}

.wpam-page a.wpam-tile:hover {
	color: var(--wpam-ink-600);
}

.wpam-page .wpam-tile p {
	color: var(--wpam-ink-600);
}

.wpam-page a.wpam-tile {
	position: relative;
	padding-bottom: 46px;
}

.wpam-page a.wpam-tile::after {
	position: absolute;
	right: 18px;
	bottom: 17px;
	width: 16px;
	height: 16px;
	background-color: var(--wpam-ink-500);
	content: "";
	transition: background-color .18s ease, transform .18s ease;
	-webkit-mask: var(--wpam-arrow) center / contain no-repeat;
	mask: var(--wpam-arrow) center / contain no-repeat;
	--wpam-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}

.wpam-page a.wpam-tile:hover::after {
	background-color: var(--wpam-blue-700);
	transform: translateX(3px);
}

/* Ordered lists in these pages are procedures, so number them the way the
   marketing pages number their steps. */
.wpam-page .wpam-prose > section > ol {
	counter-reset: wpam-step;
	padding-left: 0;
	list-style: none;
}

.wpam-page .wpam-prose > section > ol > li {
	position: relative;
	padding-left: 44px;
	counter-increment: wpam-step;
}

.wpam-page .wpam-prose > section > ol > li::before {
	position: absolute;
	top: -2px;
	left: 0;
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border: 1px solid #bac8f4;
	border-radius: 50%;
	color: var(--wpam-blue-700);
	background: #ffffff;
	content: counter(wpam-step);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

@media (max-width: 767px) {
	.wpam-page .wpam-prose > section > ol > li {
		padding-left: 38px;
	}

	.wpam-page .wpam-prose > section > ol > li::before {
		width: 25px;
		height: 25px;
		font-size: 12px;
	}
}

/* Touch targets. Breadcrumb and inline links render 22-23px tall, just under
   the 24px WCAG 2.2 minimum. Touch-sized viewports only - the bound is 1024px
   so tablets are covered, not just phones. The text does not move. */

@media (max-width: 1024px) {
	.wpam-page .wpam-crumbs a {
		display: inline-flex;
		min-height: 24px;
		align-items: center;
	}

	.wpam-page .wpam-inline-link {
		min-height: 24px;
	}
}

/* ============================================ the contact form
 *
 * Deliberately the same controls as checkout and the ticket form -- 52px tall,
 * one-pixel --wpam-line border, --wpam-radius-sm corners, a 3px focus ring at
 * 14% blue. Somebody who fills this in and later buys a licence should not feel
 * they have moved between two sites.
 */

.wpam-page .wpam-contact-form {
	margin-top: 26px;
	padding: 30px 28px 26px;
	border: 1px solid var(--wpam-line);
	border-radius: var(--wpam-radius);
	background: var(--wpam-surface);
	box-shadow: var(--wpam-shadow-sm);
}

.wpam-page .wpam-contact-form p {
	margin: 0 0 18px;
}

.wpam-page .wpam-contact-form label {
	display: block;
	margin: 0 0 7px;
	color: var(--wpam-ink-700);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
}

.wpam-page .wpam-contact-form input[type="text"],
.wpam-page .wpam-contact-form input[type="email"],
.wpam-page .wpam-contact-form select,
.wpam-page .wpam-contact-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 14px;
	border: 1px solid var(--wpam-line);
	border-radius: var(--wpam-radius-sm);
	color: var(--wpam-ink-900);
	background-color: var(--wpam-surface);
	font: inherit;
	font-size: 15px;
	line-height: 1.5;
}

.wpam-page .wpam-contact-form textarea {
	min-height: 150px;
	resize: vertical;
}

.wpam-page .wpam-contact-form input:focus,
.wpam-page .wpam-contact-form select:focus,
.wpam-page .wpam-contact-form textarea:focus {
	border-color: var(--wpam-blue-600);
	box-shadow: 0 0 0 3px rgba(56, 88, 233, .14);
	outline: 0;
}

.wpam-page .wpam-contact-form .wpam-contact-actions {
	margin: 22px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--wpam-line-soft);
}

/* The submit is a button element, so it needs the button styling explicitly. */
.wpam-page .wpam-contact-form button.wpam-btn {
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid var(--wpam-blue-600);
	border-radius: var(--wpam-radius-sm);
	color: #ffffff;
	background: var(--wpam-blue-600);
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
}

.wpam-page .wpam-contact-form button.wpam-btn:hover {
	border-color: var(--wpam-blue-700);
	background: var(--wpam-blue-700);
}

.wpam-page .wpam-contact-errors {
	margin: 0 0 20px;
	padding: 14px 16px;
	border: 1px solid #f4c7c3;
	border-radius: var(--wpam-radius-sm);
	background: var(--wpam-red-100);
	color: var(--wpam-red-700);
	font-size: 14.5px;
}

.wpam-page .wpam-contact-errors ul {
	margin: 0;
	padding-left: 18px;
}

.wpam-page .wpam-contact-sent {
	margin-top: 26px;
	padding: 18px 20px;
	border: 1px solid #b9dfc6;
	border-radius: var(--wpam-radius-sm);
	background: var(--wpam-green-100);
	color: var(--wpam-green-700);
	font-size: 15px;
	font-weight: 600;
}

.wpam-page .wpam-turnstile {
	margin: 0 0 18px;
}

@media (max-width: 781px) {
	.wpam-page .wpam-contact-form {
		padding: 22px 18px 20px;
	}

	.wpam-page .wpam-contact-form button.wpam-btn {
		width: 100%;
	}
}
