:root {
	--color-bg: #f8fafc;
	--color-surface: #ffffff;
	--color-surface-2: #f1f5f9;
	--color-surface-3: #e9eef4;
	--color-menu-surface: #ffffff;
	--color-input-bg: #f8fafc;
	--color-input-border: #e2e8f0;
	--color-text: #0f172a;
	--color-muted: #64748b;
	--color-text-inverse: #ffffff;
	--color-border: #e2e8f0;
	--color-border-strong: #cbd5e1;
	--color-brand: #10b981;
	--color-brand-hover: #059669;
	--color-brand-soft: rgba(16, 185, 129, 0.1);
	--color-brand-soft-strong: rgba(16, 185, 129, 0.2);
	--color-brand-border: rgba(16, 185, 129, 0.35);
	--color-focus-ring: var(--color-brand-soft-strong);
	--color-brand-on: #f0fdf4;
	--color-danger: #ef4444;
	--color-danger-soft: rgba(239, 68, 68, 0.1);
	--color-danger-text: #b91c1c;
	--color-success: var(--color-brand);
	--color-success-soft: rgba(16, 185, 129, 0.12);
	--color-success-text: #047857;
	--color-warning: #f59e0b;
	--color-warning-soft: rgba(245, 158, 11, 0.12);
	--color-warning-border: rgba(245, 158, 11, 0.4);
	--color-warning-text: #92400e;
	--space-2xs: 4px;
	--space-xs: 6px;
	--space-sm: 8px;
	--space-md: 12px;
	--space-lg: 16px;
	--space-xl: 24px;
	--space-2xl: 32px;
	--space-3xl: 48px;
	--radius-sm: 3px;
	--radius-md: 3px;
	--radius-lg: 3px;
	--radius-pill: 999px;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
	--shadow-md: 0 6px 18px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
	--shadow-focus: 0 0 0 2px var(--color-focus-ring);
	--font-sans:
		-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-mono: "SFMono-Regular", Consolas, monospace;
	--fs-xs: 11px;
	--fs-sm: 12px;
	--fs-md: 14px;
	--fs-lg: 16px;
	--fs-xl: 20px;
	--lh-tight: 1.2;
	--lh-base: 1.5;
	--ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
	--duration-fast: 0.12s;
	--duration-base: 0.18s;
	--page-padding-x: 12px;
}

body.light {
	color-scheme: light;
}

body.dark {
	color-scheme: dark;
	background: #010b13;
	--color-bg: #010b13;
	--color-surface: #0d141a;
	--color-surface-2: #0d1622;
	--color-surface-3: #121f2d;
	--color-menu-surface: #070f19;
	--color-input-bg: #060d17;
	--color-input-border: #182334;
	--color-text: #d0dce1;
	--color-muted: #9fb1c7;
	--color-text-inverse: #ffffff;
	--color-border: #1d293a;
	--color-border-strong: #2a3b52;
	--color-brand: #10b981;
	--color-brand-hover: #059669;
	--color-success: var(--color-brand);
	--color-brand-soft: rgba(16, 185, 129, 0.14);
	--color-brand-soft-strong: rgba(16, 185, 129, 0.25);
	--color-brand-border: rgba(16, 185, 129, 0.45);
	--color-danger-soft: rgba(239, 68, 68, 0.18);
	--color-danger-text: #f87171;
	--color-success-soft: rgba(16, 185, 129, 0.2);
	--color-success-text: #6ee7b7;
	--color-warning: #fbbf24;
	--color-warning-soft: rgba(245, 158, 11, 0.2);
	--color-warning-border: rgba(245, 158, 11, 0.5);
	--color-warning-text: var(--color-warning);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.28);
	--shadow-md: 0 6px 18px rgba(0, 0, 0, 0.34);
	--shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.42);
}

*,
*:before,
*:after {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
}

html:has(body.dark) {
	background: #010b13;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--fs-md);
	line-height: var(--lh-base);
}

a {
	color: var(--color-text);
	text-decoration: none;
}

.app-icon {
	width: 1em;
	height: 1em;
	display: inline-block;
	flex-shrink: 0;
	vertical-align: middle;
	stroke: currentColor;
	fill: none;
}

body.dark .app:not(.app--home) {
	background: var(--color-bg);
}

body.dark .app.app--home {
	--color-bg: #010b13;
	--color-surface: #111b2e;
	--color-surface-2: #15233b;
	--color-surface-3: #1b2d4a;
	--color-menu-surface: #111b2e;
	--color-input-bg: #0e1319;
	--color-input-border: #2b3f5d;
	--color-border: #2b3f5d;
	--color-border-strong: #3c5478;
	--color-brand: #10b981;
	--color-brand-hover: #059669;
}

/* Blog, compare, pricing, security — cards/icons (homepage .landing unchanged). */
body.dark .app.app--home:has(.m-blog),
body.dark .app.app--home:has(.pricing-page),
body.dark .app.app--home:has(.security-page) {
	--color-surface: #0d141a;
	--color-surface-2: #0d141a;
	--color-surface-3: #0d1622;
	--color-border: #1d293a;
	--color-border-strong: #2a3b52;
	--color-input-border: #1d293a;
}

.app {
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.app-button {
	appearance: none;
	border: 0;
	margin: 0;
	font: inherit;
	color: inherit;
	transition: all var(--duration-base) var(--ease-out);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-xs);
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-text);
	border-radius: var(--radius-md);
	padding: 8px 14px;
	font-size: var(--fs-md);
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
}

.app-button:hover:not(:disabled) {
	background: var(--color-surface-2);
	border-color: var(--color-border-strong);
}

.app-button:focus-visible {
	outline: none;
	border-color: var(--color-brand);
	box-shadow: var(--shadow-focus);
}

.app-button--md {
	padding: 8px 16px;
	font-size: var(--fs-md);
}

.app-button--primary {
	background: var(--color-brand);
	border-color: var(--color-brand);
	color: var(--color-brand-on);
	font-weight: 700;
	letter-spacing: 0.01em;
}

.app-button--primary:hover:not(:disabled) {
	background: var(--color-brand-hover);
	border-color: var(--color-brand-hover);
	transform: translateY(-1px);
}

/* Topbar + .app-button sizing here is the source of truth for static marketing pages.
   SPA marketing shell (.app--home) mirrors these rules in fe/src/styles/styles.css. */
.app-topbar {
	align-self: center;
	box-sizing: border-box;
	width: min(100%, 1100px);
	margin-inline: auto;
	flex-shrink: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	column-gap: var(--space-md);
	padding: 18px 0;
}

body.dark .app-topbar {
	background: var(--color-bg);
}

.app-topbar__brand {
	margin-bottom: 0;
	justify-self: start;
}

.app-topbar__center {
	grid-column: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-xl);
	flex-wrap: wrap;
}

.app-topbar__link {
	font-size: var(--fs-md);
	font-weight: 500;
	color: var(--color-muted);
	text-decoration: none;
	transition: color var(--duration-base) var(--ease-out);
}

.app-topbar__link:hover {
	color: var(--color-text);
}

.app-topbar__link--active {
	color: var(--color-brand);
}

.app-topbar__user {
	grid-column: 3;
	justify-self: end;
	display: flex;
	align-items: center;
	gap: var(--space-lg);
}

.app-topbar__menu-toggle {
	display: none;
	grid-column: 3;
	justify-self: end;
	min-width: 40px;
	min-height: 40px;
}

.app-topbar__menu-toggle [data-menu-icon="close"] {
	display: none;
}

.app-topbar--menu-open .app-topbar__menu-toggle [data-menu-icon="menu"] {
	display: none;
}

.app-topbar--menu-open .app-topbar__menu-toggle [data-menu-icon="close"] {
	display: inline-block;
}

.app-topbar-mobile__backdrop {
	position: fixed;
	top: var(--app-topbar-mobile-offset, 74px);
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 250;
	background: rgba(15, 23, 42, 0.45);
}

body.dark .app-topbar-mobile__backdrop {
	background: rgba(0, 0, 0, 0.55);
}

.app-topbar-mobile__panel {
	position: fixed;
	top: var(--app-topbar-mobile-offset, 74px);
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 260;
	display: flex;
	flex-direction: column;
	padding: var(--space-md) var(--page-padding-x) var(--space-xl);
	background: var(--color-menu-surface);
	overflow-y: auto;
}

.app-topbar-mobile__panel[hidden],
.app-topbar-mobile__backdrop[hidden] {
	display: none;
}

.app-topbar-mobile__nav {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
}

.app-topbar-mobile__link {
	display: block;
	padding: var(--space-md) 0;
	font-size: var(--fs-lg);
	font-weight: 500;
	color: var(--color-muted);
	text-decoration: none;
	border-bottom: 1px solid var(--color-border);
	transition: color var(--duration-base) var(--ease-out);
}

.app-topbar-mobile__link:hover {
	color: var(--color-text);
}

.app-topbar-mobile__link--active {
	color: var(--color-brand);
}

.app-topbar-mobile__footer {
	margin-top: auto;
	padding-top: var(--space-xl);
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

.app-topbar-mobile__theme {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	padding: var(--space-sm) 0;
}

.app-topbar-mobile__theme-label {
	font-size: var(--fs-md);
	font-weight: 500;
	color: var(--color-text);
}

.app-button--ghost {
	border-color: transparent;
	background: transparent;
}

.app-button--ghost:hover:not(:disabled) {
	background: var(--color-surface-2);
	border-color: transparent;
}

.app-button--icon {
	padding: 4px 8px;
	min-width: 28px;
}

.app-button--block {
	width: 100%;
}

@media (max-width: 900px) {
	.app-topbar {
		--app-topbar-mobile-offset: 74px;
		position: sticky;
		top: 0;
		z-index: 300;
		padding-left: var(--page-padding-x);
		padding-right: var(--page-padding-x);
		grid-template-columns: minmax(0, 1fr) auto;
		background: var(--color-bg);
	}

	body.dark .app-topbar {
		background: var(--color-bg);
	}

	.app-topbar__brand,
	.app-topbar__menu-toggle {
		position: relative;
		z-index: 1;
	}

	.app-topbar__center,
	.app-topbar__user {
		display: none;
	}

	.app-topbar__menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
}

.app-nav__brand {
	display: inline-flex;
	align-items: center;
	gap: var(--space-sm);
	font-weight: 600;
	font-size: var(--fs-lg);
	color: var(--color-text);
	margin-bottom: 0;
}

.app-nav__brand-logo {
	display: block;
	height: 38px;
	width: auto;
}

.app-nav__brand-text {
	line-height: 1;
	font-size: 18px;
}

.app-theme-switch {
	transition: all var(--duration-base) var(--ease-out);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.app-theme-switch:focus-visible {
	outline: none;
	border-color: var(--color-brand);
	box-shadow: var(--shadow-focus);
	border-radius: var(--radius-pill);
}

.app-theme-switch__track {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 46px;
	height: 26px;
	border-radius: var(--radius-pill);
	background: var(--color-surface-3);
	transition: background-color var(--duration-fast) var(--ease-out);
}

.app-theme-switch__thumb {
	position: absolute;
	left: 3px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	display: grid;
	place-items: center;
	border-radius: var(--radius-pill);
	background: var(--color-brand);
	box-shadow: var(--shadow-sm);
	transition: transform var(--duration-fast) var(--ease-out);
	line-height: 0;
}

/* Stack sun/moon in one cell so hit area and visual center match the thumb */
.app-theme-switch__thumb > svg {
	grid-area: 1 / 1;
	width: 12px;
	height: 12px;
	display: block;
	flex-shrink: 0;
	color: var(--color-text-inverse);
	stroke: currentColor;
	fill: none;
	pointer-events: none;
}

.app-theme-switch__thumb-icon {
	width: 12px;
	height: 12px;
	color: var(--color-text-inverse);
	stroke: currentColor;
	fill: none;
}

.app-theme-switch.is-on .app-theme-switch__track {
	background: var(--color-brand-soft-strong);
}

.app-theme-switch.is-on .app-theme-switch__thumb {
	transform: translateX(20px);
}

/* --- Marketing blog article layout (sample-article) --- */

.m-blog {
	/* Same max content width as .landing on homepage (styles.css) */
	--m-blog-max: 1100px;
	--m-hero-visual-bg: #eef2f6;
	--m-callout-bg: rgba(16, 185, 129, 0.1);
	--m-callout-border: rgba(16, 185, 129, 0.28);
	width: 100%;
	min-height: 0;
	padding-bottom: var(--space-3xl);
}

.app.app--home > .m-blog {
	flex: 1;
}

body.dark .m-blog {
	--m-hero-visual-bg: #0d141a;
	--m-callout-bg: rgba(16, 185, 129, 0.14);
	--m-callout-border: rgba(16, 185, 129, 0.35);
}

.m-blog__inner {
	box-sizing: border-box;
	width: min(100%, var(--m-blog-max));
	margin-inline: auto;
	padding: var(--space-xl) var(--page-padding-x) 0;
}

.m-blog__back {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	font-size: var(--fs-sm);
	color: var(--color-muted);
	margin-bottom: var(--space-lg);
	transition: color var(--duration-fast) var(--ease-out);
}

.m-blog__back:hover {
	color: var(--color-text);
}

/* Hero */
.m-hero {
	margin-bottom: var(--space-2xl);
}

.m-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
	gap: var(--space-2xl);
	align-items: start;
}

.m-hero__kicker {
	margin: 0 0 var(--space-sm);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-brand);
}

.m-hero__title {
	margin: 0 0 var(--space-md);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 700;
	line-height: var(--lh-tight);
	color: var(--color-text);
}

.m-hero__lead {
	margin: 0 0 var(--space-lg);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.55;
	color: var(--color-text);
	opacity: 0.92;
}

.m-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md) var(--space-xl);
	align-items: center;
	font-size: var(--fs-sm);
	color: var(--color-muted);
}

.m-hero__meta-item {
	display: inline-flex;
	align-items: center;
	gap: var(--space-sm);
}

.m-hero__meta-item--author {
	gap: var(--space-sm);
}

.m-hero__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: var(--radius-pill);
	background: var(--color-brand);
	color: var(--color-brand-on);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.m-hero__avatar--photo {
	display: block;
	padding: 0;
	flex-shrink: 0;
	object-fit: cover;
	background: transparent;
}

.m-hero__meta-item--author-byline {
	align-items: flex-start;
}

.m-hero__author-byline {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.25;
	min-width: 0;
}

.m-hero__author-name {
	font-weight: 600;
	color: var(--color-text);
	font-size: var(--fs-sm);
}

.m-hero__author-role {
	font-size: 11px;
	color: var(--color-muted);
	opacity: 0.92;
}

.m-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: var(--color-muted);
	stroke: currentColor;
	fill: none;
}

.m-hero__visual {
	min-width: 0;
}

.m-hero__img-wrap {
	display: flex;
	padding: var(--space-md);
}

.m-hero__img {
    display: block;
    width: 50%;
    height: auto;
    border-radius: 10px;
    margin-left: auto;
}

.m-hero__img--dark {
	display: none;
}

body.dark .m-hero__img--light {
	display: none;
}

body.dark .m-hero__img--dark {
	display: block;
}

/* Two columns */
.m-blog__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: var(--space-2xl);
	align-items: start;
}

.m-blog__article {
	min-width: 0;
	padding-top: var(--space-xs);
}

.m-blog__sidebar-inner {
	position: sticky;
	top: var(--space-lg);
	display: flex;
	flex-direction: column;
	gap: var(--space-xl);
}

.m-blog [id] {
	scroll-margin-top: calc(var(--space-xl) + 8px);
}

/* Article typography */
.m-h2 {
	margin: var(--space-2xl) 0 var(--space-md);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: var(--lh-tight);
	color: var(--color-text);
}

.m-h2:first-child {
	margin-top: 0;
}

.m-p {
	margin: 0 0 var(--space-md);
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--color-text);
}

.m-p--tight {
	margin-bottom: 0;
}

.m-ul {
	margin: 0 0 var(--space-lg);
	padding-left: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--color-text);
}

.m-ul li {
	margin-bottom: var(--space-sm);
}

.m-inline-link {
	color: var(--color-brand);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.m-inline-link:hover {
	color: var(--color-brand-hover);
}

.m-code {
	font-family: var(--font-mono);
	font-size: 0.88em;
	padding: 2px 6px;
	border-radius: var(--radius-sm);
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
}

/* Flow diagram */
.m-flow {
	margin: var(--space-lg) 0 var(--space-2xl);
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: var(--space-sm) var(--space-xs);
}

.m-flow__step {
	flex: 1 1 140px;
	min-width: 120px;
	max-width: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--space-sm);
	padding: var(--space-md) var(--space-sm);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.m-flow__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-brand);
}

.m-flow__icon svg {
	stroke: currentColor;
	fill: none;
}

.m-flow__label {
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.35;
	color: var(--color-text);
}

.m-flow__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	padding: 0 var(--space-xs);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-muted);
	line-height: 1;
}

/* Callout */
.m-callout {
	display: flex;
	gap: var(--space-md);
	align-items: flex-start;
	margin: var(--space-xl) 0 var(--space-2xl);
	padding: var(--space-lg);
	background: var(--m-callout-bg);
	border: 1px solid var(--m-callout-border);
	border-radius: var(--radius-lg);
}

.m-callout__icon {
	flex-shrink: 0;
	color: var(--color-brand);
}

.m-callout__icon svg {
	stroke: currentColor;
	fill: none;
}

.m-callout__title {
	margin: 0 0 var(--space-sm);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--color-success-text);
}

/* Pager */
.m-pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-md);
	margin-top: var(--space-2xl);
}

.m-pager__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-xs);
	padding: var(--space-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	color: inherit;
	transition:
		border-color var(--duration-fast) var(--ease-out),
		box-shadow var(--duration-fast) var(--ease-out);
}

.m-pager__card:hover {
	border-color: var(--color-brand-border);
	box-shadow: var(--shadow-md);
}

.m-pager__card--next {
	align-items: flex-end;
	text-align: right;
}

.m-pager__dir {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.m-pager__title {
	font-size: var(--fs-md);
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-text);
}

/* TOC */
.m-toc {
	padding: var(--space-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.m-toc__heading {
	margin: 0 0 var(--space-md);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.m-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
}

.m-toc__link {
	display: block;
	padding: var(--space-sm) var(--space-md);
	margin-left: 0;
	border-left: 3px solid transparent;
	border-radius: var(--radius-sm);
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--color-muted);
	transition:
		color var(--duration-fast) var(--ease-out),
		background var(--duration-fast) var(--ease-out),
		border-color var(--duration-fast) var(--ease-out);
}

.m-toc__link:hover {
	color: var(--color-text);
	background: var(--color-surface-2);
}

.m-toc__link--active {
	color: var(--color-brand);
	border-left-color: var(--color-brand);
	background: var(--color-brand-soft);
}

body.dark .m-toc__link--active {
	background: var(--color-brand-soft);
}

/* CTA card */
.m-cta {
	padding: var(--space-xl);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	text-align: center;
}

.m-cta__deco {
	display: flex;
	justify-content: center;
	margin-bottom: var(--space-md);
	color: var(--color-brand);
	opacity: 0.9;
}

.m-cta__deco svg {
	stroke: currentColor;
	fill: none;
}

.m-cta__title {
	margin: 0 0 var(--space-sm);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: var(--lh-tight);
	color: var(--color-text);
}

.m-cta__text {
	margin: 0 0 var(--space-lg);
	font-size: var(--fs-sm);
	line-height: 1.55;
	color: var(--color-muted);
}

.m-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px var(--space-lg);
	border-radius: var(--radius-md);
	background: var(--color-brand);
	color: var(--color-brand-on);
	font-size: var(--fs-md);
	font-weight: 700;
	text-decoration: none;
	transition:
		background var(--duration-base) var(--ease-out),
		transform var(--duration-fast) var(--ease-out);
}

.m-cta__btn:hover {
	background: var(--color-brand-hover);
	transform: translateY(-1px);
}

@media (max-width: 960px) {
	.m-hero__grid {
		grid-template-columns: 1fr;
	}

	.m-blog__cols {
		grid-template-columns: 1fr;
	}

	.m-blog__sidebar-inner {
		position: static;
	}

	.m-pager {
		grid-template-columns: 1fr;
	}

	.m-pager__card--next {
		align-items: flex-start;
		text-align: left;
	}

	.m-flow__arrow {
		display: none;
	}

	.m-flow {
		flex-direction: column;
		align-items: stretch;
	}

	.m-flow__step {
		max-width: none;
		flex: none;
		flex-direction: row;
		justify-content: flex-start;
		text-align: left;
		gap: var(--space-md);
	}
}

/* Legal static pages (/legal/*): single column, markdown body */
.m-blog--legal .m-blog__inner {
	max-width: 52rem;
	margin: 0 auto;
	padding-bottom: var(--space-3xl);
}

.m-legal-markdown h1 {
	margin: var(--space-xl) 0 var(--space-lg);
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	font-weight: 800;
	line-height: var(--lh-tight);
	color: var(--color-text);
}

.m-legal-markdown h2 {
	margin: var(--space-2xl) 0 var(--space-md);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: var(--lh-tight);
	color: var(--color-text);
}

.m-legal-markdown h2:first-of-type {
	margin-top: var(--space-md);
}

.m-legal-markdown h3 {
	margin: var(--space-xl) 0 var(--space-sm);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--color-text);
}

.m-legal-markdown p {
	margin: 0 0 var(--space-md);
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--color-text);
}

.m-legal-markdown ul,
.m-legal-markdown ol {
	margin: 0 0 var(--space-lg);
	padding-left: 1.35rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--color-text);
}

.m-legal-markdown li {
	margin-bottom: var(--space-sm);
}

.m-legal-markdown hr {
	margin: var(--space-2xl) 0;
	border: none;
	border-top: 1px solid var(--color-border);
}

.m-legal-markdown a {
	color: var(--color-brand);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.m-legal-markdown a:hover {
	color: var(--color-brand-hover);
}

.m-legal-markdown strong {
	font-weight: 700;
}

.m-legal-markdown code {
	font-family: var(--font-mono);
	font-size: 0.88em;
	padding: 2px 6px;
	border-radius: var(--radius-sm);
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
}
