:root {
	--background: 0 0% 100%;
	--foreground: 240 10% 3.9%;
	--card: 0 0% 100%;
	--card-foreground: 240 10% 3.9%;
	--popover: 0 0% 100%;
	--popover-foreground: 240 10% 3.9%;
	--primary: 201 80% 24%;
	--primary-foreground: 0 0% 98%;
	--secondary: 240 4.8% 95.9%;
	--secondary-foreground: 240 5.9% 10%;
	--muted: 240 4.8% 95.9%;
	--muted-foreground: 240 3.8% 46.1%;
	--accent: 240 4.8% 95.9%;
	--accent-foreground: 240 5.9% 10%;
	--destructive: 0 84.2% 60.2%;
	--destructive-foreground: 0 0% 98%;
	--border: 240 5.9% 90%;
	--input: 240 5.9% 90%;
	--ring: 201 80% 24%;
	--radius: 0.5rem;
	--max: 1120px;
	--section-pad-y: 50px;
	--section-title-gap: 50px;
	--font-sans: "IBM Plex Sans", "Segoe UI", sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.65;
	color: hsl(var(--foreground));
	background:
		radial-gradient(1200px 480px at 10% -10%, hsl(201 80% 24% / 0.06), transparent 55%),
		radial-gradient(900px 420px at 90% 0%, hsl(240 5% 65% / 0.12), transparent 50%),
		hsl(var(--background));
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.wrap {
	width: min(100% - 2rem, var(--max));
	margin-inline: auto;
}

.wrap--narrow {
	width: min(100% - 2rem, 720px);
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid hsl(var(--border));
	background: hsl(var(--background) / 0.85);
	backdrop-filter: blur(10px);
}

.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 3.75rem;
}

.logo {
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: -0.02em;
}

.logo span {
	color: hsl(var(--primary));
}

.nav {
	display: none;
	align-items: center;
	gap: 1.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--muted-foreground));
}

.nav .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav .menu a {
	color: hsl(var(--muted-foreground));
}

.nav .menu a:hover,
.nav .menu .current-menu-item > a,
.nav .menu .current_page_item > a,
.nav .menu a[aria-current="page"] {
	color: hsl(var(--foreground));
}

.nav-panel .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.nav-panel .menu a {
	font-size: 0.9375rem;
	font-weight: 500;
	color: hsl(var(--muted-foreground));
}

.nav-panel .menu a:hover,
.nav-panel .menu .current-menu-item > a,
.nav-panel .menu .current_page_item > a {
	color: hsl(var(--foreground));
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid hsl(var(--border));
	border-radius: calc(var(--radius) - 2px);
	background: hsl(var(--background));
	color: hsl(var(--foreground));
	cursor: pointer;
}

.nav-toggle[aria-expanded="true"] {
	background: hsl(var(--muted));
}

.nav-panel {
	display: none;
	border-top: 1px solid hsl(var(--border));
	background: hsl(var(--background));
	padding: 0.75rem 0 1rem;
}

.nav-panel.is-open {
	display: block;
}

.nav-panel .wrap {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.nav-panel a {
	font-size: 0.9375rem;
	font-weight: 500;
	color: hsl(var(--muted-foreground));
}

.nav-panel a:hover {
	color: hsl(var(--foreground));
}

@media (min-width: 768px) {
	.nav {
		display: flex;
	}

	.nav-toggle,
	.nav-panel {
		display: none !important;
	}
}

.nav-panel .btn {
	align-self: flex-start;
}

body.modal-open {
	overflow: hidden;
}

.modal[hidden] {
	display: none !important;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: grid;
	place-items: center;
	padding: 1rem;
}

.modal__backdrop {
	position: absolute;
	inset: 0;
	background: hsl(240 10% 3.9% / 0.45);
}

.modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 26rem);
	padding: 1.35rem 1.35rem 1.5rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background: hsl(var(--card));
	box-shadow: 0 18px 48px hsl(240 10% 3.9% / 0.18);
}

.modal__close {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: calc(var(--radius) - 2px);
	background: transparent;
	color: hsl(var(--muted-foreground));
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.modal__close:hover {
	background: hsl(var(--muted));
	color: hsl(var(--foreground));
}

.modal__title {
	margin: 0 1.5rem 0.4rem 0;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
}

.modal__lead {
	margin: 0 0 1.1rem;
	color: hsl(var(--muted-foreground));
	font-size: 0.9375rem;
}

.modal__form {
	display: grid;
	gap: 0.85rem;
}

.modal__honey {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.modal__field {
	display: grid;
	gap: 0.35rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.modal__field input,
.modal__field textarea {
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid hsl(var(--input));
	border-radius: calc(var(--radius) - 2px);
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	font-weight: 400;
	color: hsl(var(--foreground));
	background: hsl(var(--background));
}

.modal__field input:focus-visible,
.modal__field textarea:focus-visible {
	outline: 2px solid hsl(var(--ring));
	outline-offset: 1px;
}

.modal__consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.55rem;
	align-items: start;
	font-size: 0.8125rem;
	font-weight: 400;
	color: hsl(var(--muted-foreground));
	line-height: 1.45;
}

.modal__consent input {
	margin-top: 0.2rem;
}

.modal__consent a {
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 2px;
}

.site-footer a {
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 2px;
}

.modal__status {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--foreground));
}

.modal__status.is-error {
	color: hsl(var(--destructive));
}

.modal__submit {
	width: 100%;
}

.modal__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.5rem;
	padding: 0.5rem 1rem;
	border-radius: calc(var(--radius) - 2px);
	border: 1px solid transparent;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
	outline: 2px solid hsl(var(--ring));
	outline-offset: 2px;
}

.btn-primary {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
	background: hsl(201 80% 20%);
}

.btn-outline {
	background: hsl(var(--background));
	border-color: hsl(var(--input));
	color: hsl(var(--foreground));
}

.btn-outline:hover {
	background: hsl(var(--accent));
	color: hsl(var(--accent-foreground));
}

.btn-ghost {
	background: transparent;
	color: hsl(var(--foreground));
}

.btn-ghost:hover {
	background: hsl(var(--accent));
}

.btn-lg {
	min-height: 2.75rem;
	padding: 0.65rem 1.25rem;
}

/* Badge */

.badge {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--secondary));
	color: hsl(var(--secondary-foreground));
	padding: 0.15rem 0.65rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* Card */

.card {
	background: hsl(var(--card));
	color: hsl(var(--card-foreground));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 1.25rem 1.35rem;
	box-shadow: 0 1px 2px hsl(240 10% 3.9% / 0.04);
}

.card:hover {
	border-color: hsl(var(--primary) / 0.28);
}

/* Footer */

.site-footer {
	margin-top: auto;
	border-top: 1px solid hsl(var(--border));
	padding: 1.5rem 0;
	color: hsl(var(--muted-foreground));
	font-size: 0.875rem;
}

.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
}

/* Front placeholder */

.hero-placeholder {
	padding: var(--section-pad-y) 0;
	overflow: hidden;
}

.hero-placeholder__grid {
	display: grid;
	gap: 1.5rem;
	align-items: center;
}

@media (min-width: 900px) {
	.hero-placeholder__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 2rem;
	}
}

.hero-placeholder__copy {
	min-width: 0;
}

.hero-placeholder .badge {
	margin-bottom: 1.25rem;
}

.hero-placeholder h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.hero-placeholder .lead {
	margin: 0 0 1.75rem;
	max-width: 38rem;
	color: hsl(var(--muted-foreground));
	font-size: 1.125rem;
}

.hero-gears {
	display: none;
	justify-content: center;
	align-items: center;
	color: hsl(var(--primary) / 0.18);
	pointer-events: none;
	user-select: none;
}

@media (min-width: 900px) {
	.hero-gears {
		display: flex;
	}
}

.hero-gears__svg {
	width: min(100%, 26rem);
	height: auto;
	overflow: visible;
}

.hero-gear {
	transform-box: fill-box;
	transform-origin: center;
	will-change: transform;
}

.hero-gear--lg {
	animation: hero-gear-spin 18s linear infinite;
	color: hsl(var(--primary) / 0.22);
}

.hero-gear--md {
	animation: hero-gear-spin 12s linear infinite;
	color: hsl(var(--primary) / 0.28);
}

.hero-gear--sm {
	animation: hero-gear-spin 9s linear infinite;
	color: hsl(var(--primary) / 0.2);
}

.hero-gear--rev {
	animation-name: hero-gear-spin-rev;
}

@keyframes hero-gear-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@keyframes hero-gear-spin-rev {
	from { transform: rotate(0deg); }
	to { transform: rotate(-360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.hero-gear--lg,
	.hero-gear--md,
	.hero-gear--sm {
		animation: none;
	}
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.demo-section {
	border-top: 1px solid hsl(var(--border));
	padding: var(--section-pad-y) 0;
}

.demo-section h2 {
	margin: 0 0 0.75rem;
	font-size: 1.5rem;
	letter-spacing: -0.02em;
}

.demo-section p {
	margin: 0 0 1.25rem;
	max-width: none;
	color: hsl(var(--muted-foreground));
}

/* Home sections — Plus CRM */

.home-section {
	padding: var(--section-pad-y) 0;
	border-top: 1px solid hsl(var(--border));
}

.home-section--muted {
	background: hsl(var(--muted) / 0.45);
}

.home-section h2 {
	margin: 0 0 var(--section-title-gap);
	font-size: clamp(1.5rem, 3vw, 1.85rem);
	letter-spacing: -0.02em;
}

.home-section h2:has(+ .home-section__lead),
.home-section h2:has(+ .section-lead) {
	margin-bottom: 0.75rem;
}

.home-section .home-section__lead,
.home-section .section-lead {
	margin: 0 0 var(--section-title-gap);
	max-width: none;
}

#features > .wrap > h2,
#features > .wrap > .home-section__lead {
	text-align: center;
}

#features > .wrap > .home-section__lead {
	margin-left: auto;
	margin-right: auto;
	max-width: 40rem;
}

#advantages > .wrap > h2 {
	text-align: center;
}

#premium > .wrap > .premium-block {
	max-width: 44rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1.25rem;
	text-align: left;
}

.premium-block .badge {
	margin: 0;
	align-self: flex-start;
}

.premium-block h2,
#premium .premium-block h2 {
	margin: 0;
}

.premium-block .home-section__lead,
#premium .premium-block .home-section__lead,
#premium .premium-block .section-lead {
	margin: 0;
	max-width: none;
}

.premium-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
	text-align: left;
}

.premium-list li {
	display: grid;
	gap: 0.2rem;
	padding: 0.95rem 1.1rem;
	border: 1px solid hsl(var(--border));
	border-radius: calc(var(--radius) - 2px);
	background: hsl(var(--card));
}

.premium-list strong {
	font-size: 0.975rem;
	letter-spacing: -0.01em;
}

.premium-list span {
	font-size: 0.9rem;
	line-height: 1.45;
	color: hsl(var(--muted-foreground));
}

.premium-block .cta-row {
	margin: 0;
	justify-content: flex-start;
}

.pd-delete-card {
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.pd-delete-lead {
	margin: 0 0 1.25rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: hsl(var(--muted-foreground));
	text-align: left;
}

.about-grid {
	display: grid;
	gap: 1.75rem;
	align-items: center;
}

@media (min-width: 860px) {
	.about-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
		gap: 2rem;
	}
}

.about-grid__copy h2 {
	margin-top: 0;
	margin-bottom: var(--section-title-gap);
}

.about-grid__media {
	margin: 0;
}

.about-grid__media img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	border: 1px solid hsl(var(--border));
	box-shadow: 0 12px 32px hsl(240 10% 3.9% / 0.08);
}

.about-grid__media figcaption {
	margin-top: 0.6rem;
	font-size: 0.8125rem;
	color: hsl(var(--muted-foreground));
}

.feature-grid {
	display: grid;
	gap: 1rem;
	margin: 0 0 var(--section-title-gap);
}

.feature-grid--four {
	margin-bottom: 0;
}

@media (min-width: 720px) {
	.feature-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.feature-grid--four {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.feature-grid--four {
		grid-template-columns: repeat(4, 1fr);
	}
}

.feature-card {
	padding: 1.1rem 1.15rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background: hsl(var(--card));
}

.feature-card__icon {
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 0 0.85rem;
	object-fit: cover;
	border-radius: calc(var(--radius) - 2px);
	border: 1px solid hsl(var(--border));
}

.feature-card h3 {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
}

.feature-card p {
	margin: 0;
	font-size: 0.9375rem;
	color: hsl(var(--muted-foreground));
}

.home-steps {
	margin: 0;
	padding-left: 1.25rem;
}

.home-steps li {
	margin-bottom: 0.5rem;
}

/* Step line under features */

.step-line {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
	counter-reset: none;
}

.step-line__item {
	display: grid;
	grid-template-columns: 2rem 1fr;
	gap: 0.85rem;
	align-items: start;
	position: relative;
	padding-bottom: 1.35rem;
}

.step-line__item:last-child {
	padding-bottom: 0;
}

.step-line__item:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 0.9rem;
	top: 2rem;
	bottom: 0;
	width: 2px;
	background: hsl(var(--border));
	transform: translateX(-50%);
}

.step-line__node {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 999px;
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	box-shadow: 0 0 0 4px hsl(var(--background));
}

.home-section--muted .step-line__node {
	box-shadow: 0 0 0 4px hsl(var(--muted) / 0.45);
}

.step-line__num {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
}

.step-line__text {
	margin: 0.2rem 0 0;
	font-size: 0.975rem;
	line-height: 1.45;
	color: hsl(var(--foreground));
}

@media (min-width: 860px) {
	.step-line {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1rem;
		position: relative;
		margin-top: 0;
		padding-top: 0.25rem;
	}

	.step-line::before {
		content: "";
		position: absolute;
		left: 12.5%;
		right: 12.5%;
		top: 0.9rem;
		height: 2px;
		background: hsl(var(--border));
	}

	.step-line__item {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		padding-bottom: 0;
	}

	.step-line__item:not(:last-child)::before {
		display: none;
	}

	.step-line__text {
		margin-top: 0.85rem;
		max-width: 16rem;
	}
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body table,
.article-body .table-wrapper,
.article-body figure {
	margin-bottom: 1.25rem;
}

/* Blog */

.blog-page {
	padding: 2.5rem 0 4rem;
}

.blog-hero {
	margin-bottom: 2rem;
}

.section-kicker {
	margin: 0 0 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

.section-kicker a:hover {
	color: hsl(var(--foreground));
}

.blog-hero h1,
.page-body h1,
.article-body > h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.section-lead {
	margin: 0;
	max-width: 40rem;
	color: hsl(var(--muted-foreground));
}

.blog-list {
	display: grid;
	gap: 1rem;
}

.blog-card {
	display: grid;
	gap: 0;
	padding: 0;
	overflow: hidden;
}

@media (min-width: 720px) {
	.blog-card {
		grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
		align-items: stretch;
	}
}

.blog-card__media {
	display: block;
	background: hsl(var(--muted));
}

.blog-card__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 10rem;
	object-fit: cover;
	aspect-ratio: 16 / 9;
}

@media (min-width: 720px) {
	.blog-card__image {
		min-height: 100%;
		aspect-ratio: auto;
	}
}

.blog-card__body {
	padding: 1.15rem 1.25rem 1.25rem;
}

.blog-card__meta {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	color: hsl(var(--muted-foreground));
}

.blog-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	letter-spacing: -0.02em;
	line-height: 1.35;
}

.blog-card__title a:hover {
	color: hsl(var(--primary));
}

.blog-card__excerpt {
	margin: 0 0 1rem;
	color: hsl(var(--muted-foreground));
	font-size: 0.9375rem;
}

.blog-card__more {
	font-size: 0.875rem;
	font-weight: 600;
	color: hsl(var(--primary));
}

.blog-card__more:hover {
	text-decoration: underline;
}

.blog-single__cover {
	margin: 0 0 1.25rem;
}

.blog-single__cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--radius) - 2px);
	border: 1px solid hsl(var(--border));
}

.blog-pagination {
	margin-top: 1.5rem;
}

.blog-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.blog-pagination a,
.blog-pagination .current {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	padding: 0.35rem 0.75rem;
	border: 1px solid hsl(var(--border));
	border-radius: calc(var(--radius) - 2px);
	font-size: 0.875rem;
	font-weight: 500;
}

.blog-pagination .current {
	background: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

.blog-pagination a:hover {
	background: hsl(var(--muted));
}

/* Article / page content */

.article-body,
.page-body {
	padding: 2.5rem 0 4rem;
}

.blog-content,
.page-content {
	margin-top: 1.5rem;
}

.blog-content > *:first-child,
.page-content > *:first-child {
	margin-top: 0;
}

.blog-content h2,
.page-content h2,
.blog-content h3,
.page-content h3 {
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.blog-content p,
.page-content p,
.blog-content ul,
.page-content ul,
.blog-content ol,
.page-content ol {
	color: hsl(var(--foreground));
}

.blog-content a,
.page-content a {
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 2px;
}

.blog-content img,
.page-content img {
	border-radius: var(--radius);
	border: 1px solid hsl(var(--border));
}

.blog-content figcaption,
.page-content figcaption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

.article-body .page-cover {
	margin: 0 0 1.25rem;
}

.article-body .page-cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--radius) - 2px);
	border: 1px solid hsl(var(--border));
}

.blog-content .table-wrapper,
.page-content .table-wrapper,
.article-body .table-wrapper,
.blog-content .wp-block-table,
.page-content .wp-block-table,
.article-body .wp-block-table {
	margin-bottom: 1.25rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.blog-content table,
.page-content table,
.article-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.45;
	border: 1px solid hsl(var(--border));
	border-radius: calc(var(--radius) - 2px);
	overflow: hidden;
	background: hsl(var(--card));
}

.blog-content .table-wrapper table,
.page-content .table-wrapper table,
.article-body .table-wrapper table,
.blog-content .wp-block-table table,
.page-content .wp-block-table table,
.article-body .wp-block-table table {
	margin-bottom: 0;
}

.blog-content thead th,
.page-content thead th,
.article-body thead th {
	background: hsl(var(--muted));
	color: hsl(var(--foreground));
	font-weight: 600;
	text-align: left;
	letter-spacing: -0.01em;
}

.blog-content th,
.page-content th,
.article-body th,
.blog-content td,
.page-content td,
.article-body td {
	padding: 0.7rem 0.85rem;
	border-bottom: 1px solid hsl(var(--border));
	border-right: 1px solid hsl(var(--border));
	vertical-align: top;
}

.blog-content th:last-child,
.page-content th:last-child,
.article-body th:last-child,
.blog-content td:last-child,
.page-content td:last-child,
.article-body td:last-child {
	border-right: none;
}

.blog-content tbody tr:last-child th,
.page-content tbody tr:last-child th,
.article-body tbody tr:last-child th,
.blog-content tbody tr:last-child td,
.page-content tbody tr:last-child td,
.article-body tbody tr:last-child td {
	border-bottom: none;
}

.blog-content tbody tr:nth-child(even),
.page-content tbody tr:nth-child(even),
.article-body tbody tr:nth-child(even) {
	background: hsl(var(--muted) / 0.45);
}

.blog-content tbody tr:hover,
.page-content tbody tr:hover,
.article-body tbody tr:hover {
	background: hsl(var(--muted) / 0.75);
}

.blog-content td:first-child,
.page-content td:first-child,
.article-body td:first-child {
	font-weight: 500;
	white-space: nowrap;
}

@media (max-width: 719px) {
	.blog-content td:first-child,
	.page-content td:first-child,
	.article-body td:first-child {
		white-space: normal;
	}
}

.blog-back {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid hsl(var(--border));
}

/* LP: CRM для сервисного центра */

.lp-sc .page-cover {
	margin: 0 0 1.25rem;
}

.lp-sc .page-cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	border: 1px solid hsl(var(--border));
}

.lp-sc section {
	margin-bottom: 2.5rem;
}

.lp-sc h2 {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
	letter-spacing: -0.02em;
}

.lp-sc h3 {
	margin: 1.25rem 0 0.5rem;
	font-size: 1.05rem;
}

.lp-sc p,
.lp-sc ul,
.lp-sc ol,
.lp-sc .page-cover,
.lp-sc .compare {
	margin-bottom: 1.25rem;
}

.lp-sc .section-lead {
	margin-bottom: 1.25rem;
}

.compare {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 720px) {
	.compare {
		grid-template-columns: 1fr 1fr;
	}
}

.compare__col {
	padding: 1rem 1.1rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background: hsl(var(--card));
}

.compare__col .badge {
	margin-bottom: 0.5rem;
}

.accordion {
	display: grid;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
}

.accordion__item {
	border: 1px solid hsl(var(--border));
	border-radius: calc(var(--radius) - 2px);
	padding: 0;
	background: hsl(var(--card));
	overflow: hidden;
}

.accordion__item summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	letter-spacing: -0.01em;
	line-height: 1.35;
}

.accordion__item summary::-webkit-details-marker {
	display: none;
}

.accordion__item summary::after {
	content: "+";
	margin-left: auto;
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: calc(var(--radius) - 4px);
	background: hsl(var(--muted));
	color: hsl(var(--foreground));
	font-family: var(--font-mono);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
}

.accordion__item[open] summary {
	border-bottom: 1px solid hsl(var(--border));
}

.accordion__item[open] summary::after {
	content: "−";
}

.accordion__item > *:not(summary) {
	padding: 0 1rem 0.95rem;
}

.accordion__item p {
	margin: 0.85rem 0 0;
	color: hsl(var(--muted-foreground));
	font-weight: 400;
}

.blog-content .accordion,
.page-content .accordion,
.article-body .accordion {
	margin-bottom: 1.25rem;
}

/* Layout helper: sticky footer */

body {
	display: flex;
	flex-direction: column;
}

main {
	flex: 1 0 auto;
}

/* Support page */

.support-page__grid {
	display: grid;
	gap: 1.75rem;
	align-items: start;
}

@media (min-width: 900px) {
	.support-page__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 2rem;
	}

	.support-form-card {
		position: sticky;
		top: 1.25rem;
	}
}

.support-page__intro {
	max-width: none;
	margin-bottom: 0;
}

.support-page__intro .section-lead {
	margin: 0 0 1.25rem;
	font-size: 1.0625rem;
	line-height: 1.55;
	color: hsl(var(--muted-foreground));
}

.support-page .page-cover {
	margin: 0 0 1.5rem;
}

.support-page .page-cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--radius) - 2px);
	border: 1px solid hsl(var(--border));
}

.support-form-card {
	max-width: none;
	width: 100%;
	padding: 1.5rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background: hsl(var(--card));
}

.support-form-card h2 {
	margin: 0 0 1.25rem;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
}

.support-form {
	display: grid;
	gap: 1rem;
}

.support-form .modal__submit {
	justify-self: start;
}
