/**
 * Страница «Платформа HARANT» — стили на базе tokens.css / general.css
 * Иконки: общий harant-icons.css (css/fonts/Harant-icons.woff2).
 */

/* --- Root & layout --- */
.hr-root {
	font-family: var(--font-family);
	color: var(--color-body);
	background: var(--color-white);
	line-height: var(--leading-normal);
	-webkit-font-smoothing: antialiased;
}

.hr-container {
	width: min(var(--space-page-max, 1230px), calc(100% - 32px));
	margin-inline: auto;
}

.hr-section {
	padding: var(--space-section) 0;
}

/* Серые подложки — скруглённые блоки по дизайн-системе, не full-bleed с острыми углами */
.hr-section--alt {
	background: transparent;
	padding-block: clamp(28px, 4vw, 48px);
}

.hr-section--alt > .hr-container {
	background: var(--color-blend);
	border: none;
	border-radius: var(--radius-lg);
	padding: clamp(22px, 3.5vw, 36px) clamp(16px, 2.8vw, 28px);
	box-sizing: border-box;
}

.hr-section--last {
	padding-bottom: calc(var(--space-section) * 0.75);
}

.hr-section-intro {
	max-width: var(--max-width-wide);
	margin-bottom: 28px;
}

.hr-section-intro--wide {
	max-width: 880px;
}

.hr-section-intro--narrow {
	max-width: 820px;
}

/* --- Typography --- */
.hr-h1 {
	margin: 18px 0;
	font-size: var(--h1);
	line-height: var(--leading-tight);
	font-weight: var(--weight-bold);
	letter-spacing: var(--tracking-tight);
	color: var(--color-heading);
	max-width: 640px;
}

.hr-h2 {
	margin: 0 0 12px;
	font-size: var(--section-h);
	line-height: var(--leading-heading);
	font-weight: var(--weight-bold);
	letter-spacing: var(--tracking-tight);
	color: var(--color-heading);
}

.hr-h2--sm {
	font-size: var(--text-xl);
	margin-bottom: 14px;
}

.hr-metric-value {
	display: block;
	color: var(--color-heading);
	font-size: 27px;
	line-height: 1.05;
	margin-bottom: 6px;
	font-weight: var(--weight-bold, 700);
	font-variant-numeric: tabular-nums;
	letter-spacing: var(--tracking-snug, -0.01em);
}

.hr-metric-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
}

.hr-metric-card {
	min-height: 150px;
	padding: 20px 18px;
	border: 1px solid var(--border-default);
	border-radius: var(--radius-md);
	background: var(--color-white);
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	transition: border-color 0.35s ease, box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hr-metric-card__icon {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: var(--color-bg-tint-blue);
	color: var(--color-secondary);
	display: grid;
	place-items: center;
	font-family: 'harant-icons', sans-serif;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	font-size: 21px;
	margin-bottom: 16px;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	-webkit-font-smoothing: antialiased;
}

.hr-metric-card__label {
	color: var(--color-muted);
	font-size: var(--text-base);
	line-height: 1.35;
}

.hr-h3 {
	margin: 0;
	font-size: var(--text-xl);
	font-weight: var(--weight-bold);
	color: var(--color-heading);
}

.hr-lead {
	margin: 0 0 26px;
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
	color: var(--color-text-primary);
	max-width: 600px;
}

.hr-section-desc {
	margin: 0;
	color: var(--color-muted);
	font-size: var(--text-md);
}

.hr-caption {
	color: var(--color-caption);
	font-size: var(--text-sm);
}

.hr-page-note {
	margin-top: 18px;
	color: var(--color-muted-alt);
	font-size: var(--text-sm);
}

.hr-hero__subtitle {
	margin: -8px 0 16px;
	font-size: var(--text-md);
	line-height: var(--leading-relaxed);
	color: var(--color-muted);
	max-width: 640px;
}

.hr-lead--legal {
	font-size: var(--text-md);
	margin-bottom: 22px;
}

.hr-metrics-note {
	margin: 0 0 18px;
	color: var(--color-muted-alt);
	font-size: var(--text-sm);
}

/* Inline links: must stay underlined — general.css sets a/a:hover { text-decoration: none }. */
.hr-root a.hr-order-link,
.hr-root a.hr-inline-link,
.hr-root a.hr-specialist-quote__name,
.hr-root a.hr-card-link,
.hr-root .hr-legal-footer__note a,
.hr-root a.hr-order-link:link,
.hr-root a.hr-order-link:visited,
.hr-root a.hr-order-link:hover,
.hr-root a.hr-order-link:active,
.hr-root a.hr-order-link:focus,
.hr-root a.hr-inline-link:link,
.hr-root a.hr-inline-link:visited,
.hr-root a.hr-inline-link:hover,
.hr-root a.hr-inline-link:active,
.hr-root a.hr-inline-link:focus,
.hr-root a.hr-specialist-quote__name:link,
.hr-root a.hr-specialist-quote__name:visited,
.hr-root a.hr-specialist-quote__name:hover,
.hr-root a.hr-specialist-quote__name:active,
.hr-root a.hr-specialist-quote__name:focus,
.hr-root a.hr-card-link:link,
.hr-root a.hr-card-link:visited,
.hr-root a.hr-card-link:hover,
.hr-root a.hr-card-link:active,
.hr-root a.hr-card-link:focus,
.hr-root .hr-legal-footer__note a:link,
.hr-root .hr-legal-footer__note a:visited,
.hr-root .hr-legal-footer__note a:hover,
.hr-root .hr-legal-footer__note a:active,
.hr-root .hr-legal-footer__note a:focus {
	color: var(--color-link-brand);
	font-weight: var(--weight-bold);
	text-decoration: underline !important;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
	transition: color var(--transition);
}

@media (hover: hover) {
	.hr-root a.hr-order-link:hover,
	.hr-root a.hr-inline-link:hover,
	.hr-root a.hr-specialist-quote__name:hover,
	.hr-root a.hr-card-link:hover,
	.hr-root .hr-legal-footer__note a:hover {
		color: var(--color-purple);
	}
}

.hr-root a.hr-order-link:focus-visible,
.hr-root a.hr-inline-link:focus-visible,
.hr-root a.hr-specialist-quote__name:focus-visible,
.hr-root a.hr-card-link:focus-visible,
.hr-root .hr-legal-footer__note a:focus-visible {
	outline: 2px solid var(--color-link-brand);
	outline-offset: 2px;
}

.hr-demo-note {
	display: block;
	margin-top: 8px;
	color: var(--color-muted-alt);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	text-transform: uppercase;
	letter-spacing: var(--tracking-widest);
}

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

.hr-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.hr-grid-5 {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}

.hr-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}

.hr-grid-split {
	display: grid;
	grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.hr-grid-split--wide {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.hr-grid-split--ref {
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
}

.hr-grid-split--reports {
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
}

.hr-grid-split--court {
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
}

.hr-grid-split--ai {
	grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
}

.hr-card {
	border: 1px solid var(--border-default);
	border-radius: var(--radius-md);
	background: var(--color-white);
	box-shadow: var(--shadow-sm);
}

.hr-card--lg {
	padding: 26px;
	border-radius: var(--radius-lg);
}

.hr-card--md {
	padding: 22px 20px;
	border-radius: var(--radius-md);
}

.hr-card--panel {
	overflow: hidden;
}

.hr-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border-default);
}

.hr-card__head--lg {
	padding: 16px 22px;
}

.hr-card__title {
	margin: 0;
	font-size: var(--text-base);
	font-weight: var(--weight-bold);
	color: var(--color-heading);
}

.hr-card__title--lg {
	font-size: var(--text-md);
}

.hr-icon-box,
.hr-icon-box--sm,
.hr-icon-box--xs {
	display: grid;
	place-items: center;
	font-family: 'harant-icons', sans-serif;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.hr-icon-box {
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: var(--color-secondary);
	color: var(--color-white);
	font-size: 24px;
	margin-bottom: 18px;
}

.hr-icon-box--sm {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: var(--color-bg-tint-purple);
	color: var(--color-accent-purple);
	font-size: 20px;
	margin-bottom: 14px;
}

.hr-icon-box--xs {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--color-bg-tint-blue);
	color: var(--color-secondary);
	font-size: 19px;
	margin-bottom: 12px;
}

.hr-check-list {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 7px;
}

.hr-check-list li {
	position: relative;
	padding-left: 22px;
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.hr-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 1px;
	color: var(--color-success);
	font-weight: var(--weight-bold);
}

.hr-card-link {
	margin-top: auto;
	font-size: var(--text-sm);
	transition: color var(--transition), transform var(--transition);
}

@media (hover: hover) {
	.hr-section-link:hover .hr-card-link {
		transform: translateX(2px);
	}
}

.hr-section-link {
	display: flex;
	flex-direction: column;
	min-height: 148px;
	padding: 18px;
	border: 1px solid var(--border-default);
	border-radius: var(--radius-md);
	background: var(--color-white);
	box-shadow: var(--shadow-sm);
	text-decoration: none;
	transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.hr-pill {
	display: inline-flex;
	align-self: flex-start;
	margin-top: auto;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: var(--weight-bold);
}

.hr-pill--site { background: var(--color-bg-tint-blue); color: var(--color-secondary); }
.hr-pill--module { background: #EDFFED; color: var(--color-success); }
.hr-pill--internal { background: var(--color-bg-tint-purple); color: var(--color-accent-purple); }

.hr-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: var(--weight-bold);
	white-space: nowrap;
}

.hr-status-badge--success { background: #EDFFED; color: var(--color-success); }
.hr-status-badge--info { background: var(--color-bg-tint-blue); color: #5C83CF; }
.hr-status-badge--warn { background: #FDF7E4; color: #8A6412; }
.hr-status-badge--danger { background: #FFF3F3; color: #E0483D; }
.hr-status-badge--accent { background: var(--color-bg-tint-purple); color: var(--color-accent-purple); }
.hr-status-badge--primary { background: var(--color-bg-tint-blue); color: var(--color-secondary); }

.hr-path-badge {
	padding: 4px 11px;
	border-radius: 999px;
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
}

.hr-path-badge--user { background: var(--color-bg-tint-blue); color: var(--color-secondary); }
.hr-path-badge--pro { background: var(--color-bg-tint-purple); color: var(--color-accent-purple); }

.hr-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.hr-step {
	position: relative;
	padding: 38px 10px 12px;
	border-radius: var(--radius-md);
	background: var(--color-blend);
	min-height: 118px;
}

.hr-step__n {
	position: absolute;
	left: 10px;
	top: 10px;
	width: 23px;
	height: 23px;
	border-radius: 50%;
	background: var(--color-secondary);
	color: var(--color-white);
	display: grid;
	place-items: center;
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
}

.hr-step__t {
	display: block;
	font-size: 13.5px;
	line-height: 1.25;
	color: var(--color-heading);
	font-weight: var(--weight-bold);
}

.hr-step__d {
	display: block;
	margin-top: 5px;
	color: var(--color-muted);
	font-size: var(--text-xs);
	line-height: 1.35;
}

.hr-stat-mini {
	padding: 12px;
	border-radius: var(--radius-md);
	background: var(--color-blend);
	text-align: center;
}

.hr-stat-mini__v {
	display: block;
	color: var(--color-heading);
	font-size: 20px;
	font-weight: var(--weight-bold);
}

.hr-stat-mini__l {
	color: var(--color-muted);
	font-size: var(--text-xs);
}

.hr-action-btn {
	min-height: 38px;
	padding: 8px 14px;
	border-radius: var(--radius-sm);
	background: var(--color-white);
	border: 1px solid var(--color-gray);
	color: var(--color-secondary);
	font-weight: var(--weight-bold);
	font-size: var(--text-sm);
	cursor: not-allowed;
	opacity: 0.88;
}

.hr-rec-list {
	display: grid;
	gap: 9px;
	padding: 0;
	margin: 0 0 18px;
	list-style: none;
}

.hr-rec-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 14px;
	border-radius: var(--radius-md);
	background: var(--color-blend);
}

.hr-rec-item__text {
	color: #2D2F47;
	font-size: var(--text-sm);
	flex: 1;
}

.hr-rec-item__hint {
	color: var(--color-success);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	white-space: nowrap;
}

.hr-ai-box {
	min-height: 84px;
	padding: 14px;
	border-radius: var(--radius-md);
	background: var(--color-blend);
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.hr-ai-box.is-improved {
	background: #EDFFED;
	color: #2D2F47;
}

.hr-ai-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.hr-ai-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 11px;
	border-radius: 999px;
	background: #EDFFED;
	color: var(--color-success);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
}

.hr-selection-card {
	padding: 18px 20px;
	border: 1px solid var(--border-default);
	border-radius: 14px;
	background: var(--color-white);
	box-shadow: var(--shadow-sm);
}

.hr-dl-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--color-gray-disabled);
}

.hr-dl-row dt {
	color: #5C6075;
	font-size: var(--text-sm);
}

.hr-dl-row dd {
	margin: 0;
	color: var(--color-heading);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	text-align: right;
}

.hr-module-list,
.hr-layer-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 9px;
}

.hr-module-list li {
	position: relative;
	padding-left: 18px;
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.hr-module-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #5C83CF;
}

.hr-layer-head {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 12px;
}

.hr-layer-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

.hr-layer-dot--primary { background: var(--color-secondary); }
.hr-layer-dot--success { background: var(--color-success); }
.hr-layer-dot--info { background: #5C83CF; }
.hr-layer-dot--accent { background: var(--color-accent-purple); }
.hr-layer-dot--warn { background: #8A6412; }

.hr-layer-list li {
	padding: 11px 13px;
	border: 1px solid var(--border-default);
	border-radius: 10px;
	background: var(--color-white);
	color: #3A3D56;
	font-size: var(--text-sm);
	box-shadow: 0 4px 12px rgba(30, 33, 57, 0.03);
}

.hr-link-filters {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.hr-link-filter {
	padding: 6px 12px;
	border-radius: var(--radius-sm);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	cursor: pointer;
	border: 1px solid var(--color-gray);
	background: var(--color-white);
	color: var(--color-muted);
	transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hr-link-filter.is-active {
	border-color: var(--color-secondary);
	background: var(--color-secondary);
	color: var(--color-white);
}

@media (hover: hover) {
	.hr-link-filter:hover:not(:disabled):not(.is-active):not(.hr-btn--demo) {
		border-color: rgba(53, 57, 97, 0.28);
		color: var(--color-secondary);
		background: var(--color-bg-tint-blue);
		transform: translateY(-1px);
	}

	.hr-link-filter.is-active:hover:not(:disabled) {
		background: var(--color-purple);
		border-color: var(--color-purple);
	}
}

.hr-link-table {
	width: 100%;
	border-collapse: collapse;
}

.hr-link-table th,
.hr-link-table td {
	padding: 13px 12px;
	font-size: var(--text-sm);
	text-align: left;
	border-top: 1px solid var(--color-gray-disabled);
}

.hr-link-table th {
	padding: 11px 12px;
	color: #5C6075;
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	background: var(--color-blend);
}

.hr-link-table th:first-child,
.hr-link-table td:first-child {
	padding-left: 20px;
}

.hr-link-table th:last-child,
.hr-link-table td:last-child {
	padding-right: 20px;
}

.hr-link-table td:first-child {
	font-weight: var(--weight-bold);
	color: var(--color-heading);
}

.hr-report-card__value {
	display: block;
	color: var(--color-heading);
	font-size: 26px;
	line-height: 1;
	margin-bottom: 4px;
}

.hr-report-card__sub {
	color: #5C6075;
	font-size: 12.5px;
}

.hr-vizitka-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	padding: 30px;
	background: var(--color-blend);
}

.hr-vizitka-grid figure {
	margin: 0;
	flex: 0 1 320px;
	max-width: 320px;
}

.hr-vizitka-grid img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 10px 24px rgba(30, 33, 57, 0.16);
}

.hr-vizitka-grid figcaption {
	margin-top: 10px;
	text-align: center;
	color: #5C6075;
	font-size: var(--text-sm);
}

.hr-flex-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.hr-flex-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
}

@media (hover: hover) {
	.hr-section-link:hover {
		border-color: #cfd7e6;
		box-shadow: 0 12px 30px rgba(30, 33, 57, 0.1);
		transform: translateY(-2px);
	}

	.hr-card--hover:hover {
		border-color: rgba(53, 57, 97, 0.14);
		box-shadow: 0 12px 28px rgba(30, 33, 57, 0.08);
		transform: translateY(-2px);
	}
}

.hr-card--hover,
.hr-section-link,
.hr-card.hr-card--md,
.hr-card.hr-card--lg {
	transition: border-color 0.35s ease, box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hr-modules-section__layers {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid var(--border-default);
}

.hr-modules-section__layers-title {
	margin: 0 0 8px;
	font-size: var(--text-xl);
	font-weight: var(--weight-bold);
	color: var(--color-heading);
}

.hr-modules-section__layers-desc {
	margin: 0 0 20px;
	color: var(--color-muted);
	font-size: var(--text-md);
}

.hr-code {
	display: inline-block;
	min-width: 42px;
	margin-right: 8px;
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--color-bg-tint-blue);
	color: var(--color-secondary);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	font-variant-numeric: tabular-nums;
	vertical-align: top;
}

/* --- Badge & pills --- */
.hr-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 13px;
	border-radius: 999px;
	background: var(--color-bg-tint-blue);
	color: var(--color-secondary);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	letter-spacing: var(--tracking-widest);
	text-transform: uppercase;
}

.hr-tag {
	display: inline-flex;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--color-bg-tint-blue);
	color: var(--color-secondary);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
}

/* --- Buttons (как .btn-primary / .btn-secondary) --- */
.hr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--h-big);
	padding: 12px 22px;
	border-radius: var(--radius-sm);
	font-family: var(--font-family);
	font-weight: var(--weight-bold);
	font-size: var(--text-base);
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hr-btn--primary {
	background: var(--color-secondary);
	color: var(--color-white);
}

.hr-btn--secondary {
	background: var(--color-white);
	border-color: var(--color-gray);
	color: var(--color-secondary);
}

.hr-btn--ghost {
	background: transparent;
	border-color: transparent;
	color: var(--color-secondary);
}

@media (hover: hover) {
	.hr-btn--primary:hover:not(:disabled):not(.hr-btn--demo) {
		background: var(--color-purple);
		color: var(--color-white);
		transform: translateY(-1px);
		box-shadow: 0 10px 22px rgba(53, 57, 97, 0.22);
	}

	.hr-btn--secondary:hover:not(:disabled):not(.hr-btn--demo) {
		background: var(--color-bg-tint-blue);
		border-color: rgba(53, 57, 97, 0.22);
		color: var(--color-secondary);
		transform: translateY(-1px);
		box-shadow: 0 8px 18px rgba(30, 33, 57, 0.08);
	}

	.hr-btn--ghost:hover:not(:disabled):not(.hr-btn--demo) {
		background: var(--color-blend);
		color: var(--color-purple);
		transform: translateY(-1px);
	}
}

.hr-btn--primary:active:not(:disabled):not(.hr-btn--demo) {
	background: var(--color-primary-active);
	transform: translateY(1px);
	box-shadow: none;
}

.hr-btn--primary:focus-visible {
	outline: none;
	box-shadow: var(--shadow-primary);
}

.hr-btn--secondary:active:not(:disabled):not(.hr-btn--demo) {
	background: var(--color-gray-active);
	border-color: var(--color-gray-active);
	transform: translateY(1px);
	box-shadow: none;
}

.hr-btn--secondary:focus-visible {
	outline: none;
	box-shadow: var(--shadow-secondary);
}

.hr-btn--ghost:focus-visible {
	outline: none;
	box-shadow: var(--shadow-secondary);
}

.hr-btn--sm {
	min-height: var(--but-card-height);
	padding: 8px 16px;
	font-size: var(--text-sm);
}

.hr-btn--demo,
.hr-btn:disabled,
.hr-btn[aria-disabled="true"] {
	opacity: 0.88;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.hr-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}

/* --- Hero --- */
.hr-hero {
	padding: 52px 0 56px;
	position: relative;
	isolation: isolate;
}

.hr-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 70% 55% at 12% 18%, rgba(92, 131, 207, 0.07), transparent 58%),
		radial-gradient(ellipse 55% 45% at 88% 72%, rgba(65, 160, 64, 0.05), transparent 52%);
	pointer-events: none;
}

.hr-hero__copy {
	min-width: 0;
}

.hr-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	gap: 48px;
	align-items: center;
}

.hr-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	max-width: 620px;
}

.hr-trust-item {
	display: flex;
	align-items: center;
	min-height: 50px;
	padding: 10px 12px;
	color: var(--color-muted);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	background: var(--color-white);
	border: 1px solid var(--border-default);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	transition: border-color 0.3s ease, color 0.3s ease;
}

@media (hover: hover) {
	.hr-trust-item:hover {
		border-color: rgba(53, 57, 97, 0.22);
		color: var(--color-secondary);
	}

	.hr-metric-card:hover {
		border-color: rgba(53, 57, 97, 0.16);
		box-shadow: 0 12px 28px rgba(30, 33, 57, 0.08);
		transform: translateY(-2px);
	}

	.hr-metric-card:hover .hr-metric-card__icon {
		transform: scale(1.06);
	}
}

/* --- Demo panel (hero mockup) --- */
.hr-demo-panel {
	min-width: 0;
	display: grid;
	grid-template-columns: 154px 1fr;
	border-radius: var(--radius-xl);
	overflow: hidden;
	border: 1px solid var(--border-default);
	box-shadow: 0 22px 60px rgba(30, 33, 57, 0.13);
	background: var(--color-white);
}

.hr-live-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--color-success, #41a040);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
}

.hr-live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--color-success, #41a040);
	/* Только opacity/transform — composited, без box-shadow. */
	animation: hr-live-pulse 2.8s ease-in-out infinite;
}

.hr-demo-chart__area {
	fill: #e2e5ff;
	opacity: 0.55;
}

.hr-demo-chart__line {
	fill: none;
	stroke: #5c83cf;
	stroke-width: 3.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 920;
	stroke-dashoffset: 0;
}

/* Отрисовка графика только в hero */
html.hr-motion-on .hr-hero:not(.hr-is-visible) .hr-demo-chart__line {
	stroke-dashoffset: 920;
	opacity: 0.4;
}

html.hr-motion-on .hr-hero:not(.hr-is-visible) .hr-demo-chart__area {
	opacity: 0;
}

html.hr-motion-on .hr-hero.hr-is-visible .hr-demo-chart__line {
	opacity: 1;
	animation: hr-chart-draw 1.75s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

html.hr-motion-on .hr-hero.hr-is-visible .hr-demo-chart__area {
	opacity: 0;
	animation: hr-chart-area 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.hr-progress {
	display: block;
	height: 7px;
	border-radius: 999px;
	background: #f0f2f7;
	overflow: hidden;
}

.hr-progress--thin {
	height: 8px;
}

.hr-progress__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--color-secondary);
	transform: scaleX(1);
	transform-origin: left center;
}

.hr-progress__fill--green {
	background: var(--color-success, #41a040);
}

html.hr-motion-on .hr-progress:not(.hr-progress--static):not(.hr-progress--done) .hr-progress__fill {
	transform: scaleX(1);
}

html.hr-motion-on .hr-progress--done:not(.hr-progress--static) .hr-progress__fill {
	transform: scaleX(0);
	animation: hr-fill-grow 1.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.hr-motion-on .hr-progress--delay-1.hr-progress--done .hr-progress__fill {
	animation-delay: 0.45s;
}

html.hr-motion-on .hr-progress--delay-2.hr-progress--done .hr-progress__fill {
	animation-delay: 0.2s;
}

html.hr-motion-on .hr-stagger-bars.hr-is-visible > div:nth-child(1) .hr-progress.hr-progress--done .hr-progress__fill { animation-delay: 0.05s; }
html.hr-motion-on .hr-stagger-bars.hr-is-visible > div:nth-child(2) .hr-progress.hr-progress--done .hr-progress__fill { animation-delay: 0.14s; }
html.hr-motion-on .hr-stagger-bars.hr-is-visible > div:nth-child(3) .hr-progress.hr-progress--done .hr-progress__fill { animation-delay: 0.23s; }
html.hr-motion-on .hr-stagger-bars.hr-is-visible > div:nth-child(4) .hr-progress.hr-progress--done .hr-progress__fill { animation-delay: 0.32s; }
html.hr-motion-on .hr-stagger-bars.hr-is-visible > div:nth-child(5) .hr-progress.hr-progress--done .hr-progress__fill { animation-delay: 0.41s; }

html.hr-motion-on .hr-stagger-bars.hr-is-visible .hr-progress.hr-progress--done .hr-progress__fill {
	animation: hr-fill-grow 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hr-demo-sidebar {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 14px;
	color: var(--color-white);
	background: linear-gradient(180deg, var(--color-primary-active), var(--color-secondary));
}

.hr-demo-sidebar__logo {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--color-white);
	display: grid;
	place-items: center;
	margin-bottom: 12px;
}

.hr-demo-sidebar__logo img {
	width: 22px;
	height: 22px;
	display: block;
}

.hr-demo-sidebar__item {
	padding: 9px 11px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.25;
	opacity: 0.85;
}

.hr-demo-sidebar__item.is-active {
	opacity: 1;
	background: rgba(255, 255, 255, 0.14);
}

.hr-paths-track {
	min-width: 0;
}

.hr-paths-grid {
	min-width: 0;
}

.hr-audience-track {
	min-width: 0;
}

.hr-audience-grid {
	min-width: 0;
}

.hr-demo-body {
	min-width: 0;
	padding: 22px;
}

.hr-demo-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--color-bg-tint-purple);
	color: var(--color-accent-purple);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
}

/* --- Sticky nav --- */
.hr-nav {
	position: sticky;
	top: 64px;
	z-index: 30;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--color-gray-disabled);
	border-bottom: 1px solid var(--color-gray-disabled);
}

body.admin-bar .hr-nav {
	top: 96px;
}

.hr-navscroll {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	padding: 9px 0;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
	scroll-snap-type: x proximity;
}

.hr-navscroll::-webkit-scrollbar {
	display: none;
	height: 0;
	width: 0;
}

.hr-navscroll a {
	padding: 8px 13px;
	border-radius: 999px;
	font-size: var(--text-base);
	font-weight: var(--weight-bold);
	white-space: nowrap;
	text-decoration: none;
	color: var(--color-muted);
	/* color без transition — иначе «некомбинированная» анимация в PSI. */
	transition: background 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
	scroll-snap-align: start;
}

.hr-navscroll a[aria-current="true"] {
	background: var(--color-bg-tint-blue);
	color: var(--color-secondary);
	transform: translateY(-1px);
}

@media (hover: hover) {
	.hr-navscroll a:hover {
		background: var(--color-blend);
		color: var(--color-secondary);
		transform: translateY(-1px);
	}

	.hr-navscroll a[aria-current="true"]:hover {
		background: var(--color-bg-tint-blue);
	}
}

/* --- Cards & surfaces --- */
.hr-card {
	border: 1px solid var(--border-default);
	border-radius: var(--radius-md);
	background: var(--color-white);
	box-shadow: var(--shadow-sm);
}

.hr-card--lg {
	border-radius: var(--radius-lg);
}

.hr-card--hover {
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Серые подложки: скругление углов --- */
.hr-root [style*="background:#F7F8FB"],
.hr-root [style*="background: #F7F8FB"],
.hr-root [style*="background:#F2F4F8"],
.hr-root [style*="background: #F2F4F8"],
.hr-root [style*="repeating-linear-gradient(135deg,#F2F4F8"] {
	border-radius: var(--radius-md);
}

.hr-link-table thead th:first-child {
	border-radius: var(--radius-sm) 0 0 0;
}

.hr-link-table thead th:last-child {
	border-radius: 0 var(--radius-sm) 0 0;
}

.hr-surface {
	background: var(--color-blend, #f7f8fb);
	border: 1px solid var(--border-default, #eaeef4);
	border-radius: var(--radius-lg);
}

.hr-surface--card {
	padding: 22px 20px;
	box-shadow: var(--shadow-sm, 0 8px 24px rgba(30, 33, 57, 0.05));
	transition: border-color 0.35s ease, box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Карточки на серой подложке — белый фон для контраста */
.hr-section--alt .hr-surface--card,
.hr-section--alt .hr-card,
.hr-section--alt .hr-metric-card,
.hr-section--alt .hr-section-link {
	background: var(--color-white);
}

@media (hover: hover) {
	.hr-surface--card:hover {
		border-color: rgba(53, 57, 97, 0.18);
		box-shadow: 0 12px 28px rgba(30, 33, 57, 0.08);
		transform: translateY(-2px);
	}
}

.hr-surface--panel {
	padding: 28px;
	background: var(--color-white);
	box-shadow: var(--shadow-sm, 0 8px 24px rgba(30, 33, 57, 0.05));
}

.hr-it-activity-grid,
.hr-tech-stack-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.hr-it-activity-track {
	min-width: 0;
}

.hr-breadcrumb-mobile {
	display: none;
}

.hr-it-activity__title,
.hr-tech-stack__title {
	display: block;
	color: var(--color-heading);
	font-size: var(--text-base);
	line-height: 1.3;
	margin-bottom: 8px;
}

.hr-it-activity__desc {
	color: var(--color-muted);
	font-size: var(--text-sm);
	line-height: 1.45;
}

.hr-requisites {
	margin: 0;
	display: grid;
	gap: 11px;
}

.hr-requisites__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--color-gray-disabled, #f0f2f7);
}

.hr-requisites__row dt {
	color: var(--color-muted-alt, #5c6075);
	font-size: var(--text-base);
}

.hr-requisites__row dd {
	margin: 0;
	color: var(--color-heading);
	font-size: var(--text-base);
	font-weight: var(--weight-bold);
	text-align: right;
	max-width: 62%;
}

.hr-requisites__okved-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
	font-weight: var(--weight-regular, 400);
}

.hr-requisites__okved-list li {
	line-height: 1.4;
}

.hr-tariff-preview {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 18px;
	align-items: start;
	margin-bottom: 8px;
}

.hr-tariff-preview__text,
.hr-tariff-preview__note,
.hr-tariff-preview__disclaimer {
	margin: 0;
	color: var(--color-muted-alt, #5c6075);
	font-size: var(--text-sm);
	line-height: 1.55;
}

.hr-tariff-preview__factors {
	margin: 14px 0 0;
	padding-left: 18px;
	color: var(--color-text-primary, #5b5e76);
	font-size: var(--text-sm);
	line-height: 1.5;
}

.hr-tariff-preview__factors li + li {
	margin-top: 4px;
}

.hr-tariff-preview__note {
	margin-top: 14px;
}

.hr-specialist-quotes__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.hr-specialist-quote {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 10px 14px;
	align-items: start;
	margin: 0;
}

.hr-specialist-quote__photo {
	grid-row: 1 / span 2;
	width: 72px;
	height: 72px;
	border-radius: var(--radius-md, 12px);
	object-fit: cover;
	display: block;
}

.hr-specialist-quote__text {
	margin: 0;
	color: var(--color-heading);
	font-size: var(--text-md, 16px);
	line-height: 1.45;
	font-weight: var(--weight-semibold, 600);
}

.hr-specialist-quote__meta {
	display: grid;
	gap: 6px;
}

.hr-specialist-quote__name {
	font-size: var(--text-sm);
}

.hr-specialist-quote__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	color: var(--color-muted);
	font-size: var(--text-xs, 12px);
}

.hr-specialist-quote__rating {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	padding: 2px 8px;
	border-radius: var(--radius-sm, 8px);
	background: var(--color-success, #41a040);
	color: #fff;
	font-weight: var(--weight-bold, 700);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
	.hr-specialist-quotes__grid {
		grid-template-columns: 1fr;
	}
}

.hr-tariff-calc {
	margin-top: 22px;
}

.hr-tariff-calc__form {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 20px;
	align-items: start;
}

.hr-tariff-calc__fields {
	display: grid;
	gap: 14px;
}

.hr-tariff-calc__field {
	display: grid;
	gap: 8px;
	margin: 0;
	border: 0;
	padding: 0;
	min-width: 0;
}

.hr-tariff-calc__label {
	color: var(--color-heading);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
}

.hr-tariff-calc__select {
	width: 100%;
	min-height: var(--h-big);
	padding: 10px 14px;
	border: 1px solid var(--color-gray);
	border-radius: var(--radius-sm);
	background: var(--color-white);
	color: var(--color-heading);
	font-family: var(--font-family);
	font-size: var(--text-base);
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--color-secondary) 50%), linear-gradient(135deg, var(--color-secondary) 50%, transparent 50%);
	background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.hr-tariff-calc__select:focus {
	outline: none;
	border-color: var(--color-secondary);
	box-shadow: var(--shadow-secondary);
}

.hr-tariff-calc__period-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hr-tariff-calc__period {
	cursor: pointer;
}

.hr-tariff-calc__period input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hr-tariff-calc__period span {
	display: inline-flex;
	align-items: center;
	min-height: var(--but-card-height);
	padding: 8px 14px;
	border: 1px solid var(--color-gray);
	border-radius: var(--radius-sm);
	background: var(--color-white);
	color: var(--color-secondary);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.hr-tariff-calc__period input:checked + span {
	background: var(--color-secondary);
	border-color: var(--color-secondary);
	color: var(--color-white);
}

@media (hover: hover) {
	.hr-tariff-calc__period:hover span {
		border-color: rgba(53, 57, 97, 0.28);
		transform: translateY(-1px);
	}
}

.hr-tariff-calc__period input:focus-visible + span {
	box-shadow: var(--shadow-secondary);
}

.hr-tariff-calc__result {
	padding: 18px 16px;
	border: 1px solid var(--border-default);
	border-radius: var(--radius-md);
	background: var(--color-blend);
	display: grid;
	gap: 12px;
}

.hr-tariff-calc__result-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.hr-tariff-calc__result-row strong {
	color: var(--color-heading);
	font-size: var(--text-md);
	font-variant-numeric: tabular-nums;
}

.hr-tariff-calc__result-row--discount strong {
	color: var(--color-success, #2f9e6b);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold, 600);
}

.hr-tariff-calc__result-row--total {
	padding-top: 10px;
	border-top: 1px solid var(--border-default);
	color: var(--color-heading);
	font-weight: var(--weight-bold);
}

.hr-tariff-calc__result-row--total strong {
	font-size: var(--text-xl);
}

.hr-tariff-calc__status {
	margin: 0;
	color: var(--color-error, #e0483d);
	font-size: var(--text-sm);
}

.hr-tariff-calc__result.is-loading {
	opacity: 0.72;
}

.hr-tariff-calc .hr-tariff-preview__disclaimer {
	margin-top: 14px;
}

@media (max-width: 768px) {
	.hr-tariff-calc__form {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

.hr-free-paid-block + .hr-free-paid-block {
	margin-top: 8px;
	padding-top: 28px;
	border-top: 1px solid var(--border-default);
}

.hr-tariff-preview__example-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
}

.hr-tariff-preview__params {
	display: grid;
	gap: 10px;
	margin: 0 0 16px;
}

.hr-tariff-preview__param {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--color-gray-disabled, #f0f2f7);
}

.hr-tariff-preview__param dt {
	margin: 0;
	color: var(--color-muted-alt, #5c6075);
	font-size: var(--text-sm);
}

.hr-tariff-preview__param dd {
	margin: 0;
	color: var(--color-heading);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	text-align: right;
}

.hr-tariff-preview__table td,
.hr-tariff-preview__table th {
	font-size: var(--text-sm);
}

.hr-tariff-preview__discount {
	display: inline-flex;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eef2fb;
	color: #353961;
	font-size: 11px;
	font-weight: var(--weight-bold);
	vertical-align: middle;
}

.hr-tariff-preview__disclaimer {
	margin-top: 14px;
}

@media (max-width: 900px) {
	.hr-tariff-preview {
		grid-template-columns: 1fr;
	}
}

.hr-table-wrap {
	overflow-x: auto;
}

.hr-table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--text-sm);
}

.hr-table th,
.hr-table td {
	padding: 13px 18px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--border-default, #eaeef4);
}

.hr-table th {
	color: var(--color-muted-alt, #5c6075);
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	background: var(--color-blend, #f7f8fb);
}

.hr-table th:first-child {
	border-radius: var(--radius-md, 12px) 0 0 0;
}

.hr-table th:last-child {
	border-radius: 0 var(--radius-md, 12px) 0 0;
}

.hr-table td {
	color: var(--color-body);
	line-height: 1.45;
}

.hr-table tbody tr {
	transition: background-color 0.25s ease;
}

@media (hover: hover) {
	.hr-table tbody tr:hover {
		background: rgba(247, 248, 251, 0.65);
	}
}

.hr-tech-stack__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
}

.hr-tech-stack__list li {
	position: relative;
	padding-left: 14px;
	color: var(--color-muted);
	font-size: var(--text-sm);
	line-height: 1.4;
}

.hr-tech-stack__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--color-secondary);
}

.hr-software-rights__text {
	margin: 0 0 14px;
	color: var(--color-text-primary, #5b5e76);
	font-size: var(--text-md);
	line-height: 1.55;
}

.hr-software-rights__text:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.hr-it-activity-grid,
	.hr-tech-stack-grid {
		grid-template-columns: 1fr 1fr;
	}

	.hr-requisites__row {
		flex-direction: column;
		gap: 4px;
	}

	.hr-requisites__row dd {
		text-align: left;
		max-width: none;
	}
}

@media (max-width: 480px) {
	.hr-it-activity-grid,
	.hr-tech-stack-grid {
		grid-template-columns: 1fr;
	}
}

@media (hover: hover) {
	.hr-card--hover:hover {
		transform: translateY(-3px);
		box-shadow: 0 18px 40px rgba(30, 33, 57, 0.13);
	}
}

.hr-icon-box {
	width: 38px;
	height: 38px;
	border-radius: var(--radius-md);
	background: var(--color-bg-tint-blue);
	color: var(--color-secondary);
	font-size: 21px;
}

.hr-icon-box--dark {
	background: var(--color-secondary);
	color: var(--color-white);
	width: 46px;
	height: 46px;
	border-radius: 13px;
	font-size: 24px;
}

.hr-icon-box--ai {
	background: var(--color-bg-tint-purple);
	color: var(--color-accent-purple);
}

/* --- Status chips (из tokens accent-*) --- */
.hr-chip {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: var(--text-xs);
	font-weight: var(--weight-bold);
	white-space: nowrap;
}

.hr-chip--success {
	background: var(--color-accent-green-bg);
	color: var(--color-success);
}

.hr-chip--info {
	background: var(--color-bg-tint-blue);
	color: var(--color-link-brand);
}

.hr-chip--warn {
	background: var(--color-accent-yellow-bg);
	color: #8a6412;
}

.hr-chip--purple {
	background: var(--color-accent-purple-bg);
	color: var(--color-accent-purple);
}

/* --- Brand footer strip --- */
.hr-brand-strip {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 28px;
	border-radius: var(--radius-md);
	background: linear-gradient(180deg, var(--color-primary-active), var(--color-secondary));
	color: var(--color-white);
	box-shadow: 0 14px 34px rgba(53, 57, 97, 0.22);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
	.hr-brand-strip:hover {
		transform: translateY(-2px);
		box-shadow: 0 18px 38px rgba(53, 57, 97, 0.26);
	}
}

/* --- Scrollbar, focus, selection --- */
.hr-root ::-webkit-scrollbar {
	height: 6px;
	width: 6px;
}

.hr-root ::-webkit-scrollbar-thumb {
	background: var(--color-gray-border);
	border-radius: 999px;
}

.hr-root section[id] {
	scroll-margin-top: calc(64px + 48px);
}

.hr-root ::selection {
	background: var(--color-bg-tint-blue);
	color: var(--color-heading);
}

.hr-root a:focus-visible,
.hr-root button:focus-visible {
	outline: 2px solid var(--color-secondary);
	outline-offset: 2px;
	border-radius: var(--radius-xs);
}

/* --- Motion & reveal (без CLS: без скрытия до анимации) --- */
html.hr-motion-on .hr-reveal.hr-is-visible {
	animation: hr-enter-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.hr-motion-on .hr-stagger.hr-is-visible > * {
	animation: hr-enter-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.hr-motion-on .hr-stagger.hr-is-visible > *:nth-child(2) { animation-delay: 65ms; }
html.hr-motion-on .hr-stagger.hr-is-visible > *:nth-child(3) { animation-delay: 130ms; }
html.hr-motion-on .hr-stagger.hr-is-visible > *:nth-child(4) { animation-delay: 195ms; }
html.hr-motion-on .hr-stagger.hr-is-visible > *:nth-child(5) { animation-delay: 260ms; }
html.hr-motion-on .hr-stagger.hr-is-visible > *:nth-child(6) { animation-delay: 325ms; }

/* Шаги пути: медленнее + pop номера */
html.hr-motion-on .hr-steps.hr-stagger.hr-is-visible > .hr-step {
	animation: hr-enter-up 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.hr-motion-on .hr-steps.hr-stagger.hr-is-visible > .hr-step:nth-child(1) { animation-delay: 80ms; }
html.hr-motion-on .hr-steps.hr-stagger.hr-is-visible > .hr-step:nth-child(2) { animation-delay: 180ms; }
html.hr-motion-on .hr-steps.hr-stagger.hr-is-visible > .hr-step:nth-child(3) { animation-delay: 280ms; }
html.hr-motion-on .hr-steps.hr-stagger.hr-is-visible > .hr-step:nth-child(4) { animation-delay: 380ms; }

html.hr-motion-on .hr-steps.hr-stagger.hr-is-visible > .hr-step .hr-step__n {
	animation: hr-step-pop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.hr-motion-on .hr-steps.hr-stagger.hr-is-visible > .hr-step:nth-child(1) .hr-step__n { animation-delay: 160ms; }
html.hr-motion-on .hr-steps.hr-stagger.hr-is-visible > .hr-step:nth-child(2) .hr-step__n { animation-delay: 260ms; }
html.hr-motion-on .hr-steps.hr-stagger.hr-is-visible > .hr-step:nth-child(3) .hr-step__n { animation-delay: 360ms; }
html.hr-motion-on .hr-steps.hr-stagger.hr-is-visible > .hr-step:nth-child(4) .hr-step__n { animation-delay: 460ms; }

html.hr-motion-on .hr-section.hr-is-visible > .hr-container > .hr-section-intro {
	animation: hr-enter-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.hr-motion-on .hr-hero.hr-is-visible .hr-demo-panel {
	animation: hr-enter-panel 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

/* Hero copy — без анимации: это кандидат LCP, delay убивает метрику. */
html.hr-motion-on .hr-hero .hr-hero__copy,
html.hr-motion-on .hr-hero .hr-hero__copy > * {
	animation: none !important;
	opacity: 1 !important;
	transform: none !important;
}

.hr-motion-off .hr-reveal,
.hr-motion-off .hr-stagger > *,
.hr-motion-off .hr-section > .hr-container > .hr-section-intro {
	opacity: 1;
	transform: none;
	animation: none !important;
}

.hr-motion-off .hr-progress__fill {
	transform: scaleX(1);
	animation: none !important;
}

.hr-motion-off .hr-live-dot {
	animation: none !important;
	opacity: 1;
	transform: none;
}

.hr-motion-off .hr-demo-chart__area {
	opacity: 0.55;
	animation: none !important;
}

.hr-motion-off .hr-demo-chart__line {
	opacity: 1;
	stroke-dashoffset: 0;
	animation: none !important;
}

@keyframes hr-enter-up {
	from { transform: translateY(12px); }
	to { transform: none; }
}

@keyframes hr-enter-panel {
	from { transform: translateY(18px) scale(0.985); }
	to { transform: none; }
}

@keyframes hr-fill-grow {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes hr-live-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.45; transform: scale(0.82); }
}

@keyframes hr-chart-fade {
	to { opacity: 1; }
}

@keyframes hr-chart-area {
	to { opacity: 0.55; }
}

@keyframes hr-chart-draw {
	from { stroke-dashoffset: 920; }
	to { stroke-dashoffset: 0; }
}

@keyframes hr-step-pop {
	from { transform: scale(0.6); opacity: 0.01; }
	to { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}

	.hr-root button {
		transition: transform 0.12s ease, background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
	}

	@media (hover: hover) {
		.hr-metric-card:hover {
			border-color: rgba(53, 57, 97, 0.16);
			box-shadow: 0 14px 32px rgba(30, 33, 57, 0.09);
			transform: translateY(-2px);
		}

		.hr-metric-card:hover .hr-metric-card__icon {
			transform: scale(1.06);
		}

		.hr-root [style*="0px 8px 24px"]:hover,
		.hr-root [style*="0px 6px 18px"]:hover {
			transform: translateY(-2px);
			box-shadow: 0 14px 32px rgba(30, 33, 57, 0.1) !important;
		}

		.hr-root [style*="0px 10px 24px"]:hover {
			transform: translateY(-1px);
			box-shadow: 0 14px 28px rgba(53, 57, 97, 0.18) !important;
		}
	}

	.hr-root [style*="0px 8px 24px"],
	.hr-root [style*="0px 6px 18px"],
	.hr-root [style*="0px 10px 24px"] {
		transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hr-reveal,
	.hr-stagger > *,
	.hr-section > .hr-container > .hr-section-intro,
	.hr-demo-panel {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}

	.hr-progress__fill {
		transform: scaleX(1) !important;
		animation: none !important;
	}

	.hr-live-dot,
	.hr-demo-chart__line,
	.hr-demo-chart__area,
	.hr-step__n {
		animation: none !important;
	}

	.hr-live-dot,
	.hr-demo-chart__line {
		opacity: 1;
		transform: none;
		stroke-dashoffset: 0;
	}

	.hr-demo-chart__area {
		opacity: 0.55;
	}
}

/* --- Inline-кнопки dc-runtime → tokens --- */
.hr-root button[style*="background: rgb(53, 57, 97)"],
.hr-root a[style*="background: rgb(53, 57, 97)"],
.hr-root button[style*="solid rgb(224, 231, 237)"],
.hr-root a[style*="solid rgb(224, 231, 237)"] {
	transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform 0.12s ease;
}

@media (hover: hover) {
	.hr-root button[style*="background: rgb(53, 57, 97)"]:hover,
	.hr-root a[style*="background: rgb(53, 57, 97)"]:hover {
		background: var(--color-purple) !important;
		border-color: var(--color-purple) !important;
		transform: none !important;
	}

	.hr-root button[style*="solid rgb(224, 231, 237)"]:hover,
	.hr-root a[style*="solid rgb(224, 231, 237)"]:hover {
		background: var(--color-gray) !important;
		border-color: var(--color-gray) !important;
		transform: none !important;
	}
}

.hr-root button[style*="background: rgb(53, 57, 97)"]:active,
.hr-root a[style*="background: rgb(53, 57, 97)"]:active {
	background: var(--color-primary-active) !important;
	border-color: var(--color-primary-active) !important;
	transform: translateY(1px);
}

.hr-root button[style*="background: rgb(53, 57, 97)"]:focus-visible,
.hr-root a[style*="background: rgb(53, 57, 97)"]:focus-visible {
	outline: none !important;
	box-shadow: var(--shadow-primary) !important;
}

/* --- Mobile --- */
@media (max-width: 768px) {
	.hr-section {
		padding: 36px 0;
	}

	.hr-section--alt {
		padding-block: 16px;
	}

	.hr-section--alt > .hr-container {
		padding: 18px 12px;
		border-radius: var(--radius-md);
	}

	.hr-section-intro,
	.hr-section-intro--wide,
	.hr-section-intro--narrow {
		margin-bottom: 18px;
	}

	.hr-h1 {
		font-size: clamp(26px, 7vw, 34px);
		margin: 12px 0;
		max-width: none;
	}

	.hr-h2 {
		font-size: clamp(20px, 5.5vw, 26px);
	}

	.hr-lead,
	.hr-section-desc {
		font-size: var(--text-base);
		line-height: 1.5;
	}

	.hr-actions {
		gap: 8px;
		margin-bottom: 18px;
	}

	.hr-actions .hr-btn {
		flex: 1 1 calc(50% - 8px);
		min-width: 0;
		padding: 10px 14px;
	}

	.hr-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px;
		max-width: none;
	}

	.hr-trust-item {
		min-height: 44px;
		padding: 8px 10px;
		font-size: var(--text-xs);
	}

	.hr-hero {
		padding: 28px 0 32px;
	}

	.hr-hero__grid,
	.hr-grid-split,
	.hr-grid-split--wide,
	.hr-grid-split--ref,
	.hr-grid-split--reports,
	.hr-grid-split--court,
	.hr-grid-split--ai,
	.hr-grid-2,
	.hr-grid-3 {
		grid-template-columns: 1fr !important;
		gap: 18px;
	}

	.hr-demo-panel {
		grid-template-columns: 1fr;
	}

	.hr-demo-sidebar {
		display: none;
	}

	.hr-nav {
		top: 56px;
	}

	body.admin-bar .hr-nav {
		top: 88px;
	}

	.hr-navscroll {
		padding: 8px 0;
		gap: 2px;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
	}

	.hr-navscroll a {
		padding: 7px 11px;
		font-size: var(--text-sm);
	}

	.hr-metrics-about .about_items,
	.hr-about-items {
		margin-top: 0 !important;
		gap: 10px !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.hr-metrics-about .about_item {
		background: var(--color-white) !important;
		padding: 12px 10px !important;
		min-height: 0 !important;
	}

	.hr-tech-stack-grid,
	.hr-metric-grid,
	.hr-grid-5,
	.hr-grid-4 {
		grid-template-columns: 1fr 1fr !important;
		gap: 10px;
	}

	.hr-tariff-preview {
		grid-template-columns: 1fr !important;
		gap: 12px;
	}

	.hr-tariff-preview__intro,
	.hr-tariff-preview__example,
	#cabinet .hr-card,
	#cabinet .hr-grid-split > * {
		min-width: 0;
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	#cabinet .hr-flex-head {
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 8px 12px;
	}

	#cabinet .hr-card__title,
	#cabinet .hr-card__title--lg {
		font-size: var(--text-md);
		line-height: 1.3;
		min-width: 0;
		flex: 1 1 auto;
	}

	#cabinet .hr-rec-item {
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 8px 10px;
		padding: 12px;
	}

	#cabinet .hr-rec-item__text {
		flex: 1 1 100%;
		min-width: 0;
	}

	#cabinet .hr-rec-item__hint {
		white-space: normal;
		margin-left: auto;
	}

	#cabinet .hr-grid-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 8px;
	}

	#cabinet .hr-stat-mini {
		padding: 10px 6px;
	}

	#cabinet .hr-stat-mini__v {
		font-size: var(--text-md);
	}

	#cabinet .hr-stat-mini__l {
		font-size: 11px;
		line-height: 1.25;
	}

	#cabinet .hr-flex-actions {
		gap: 8px;
	}

	#cabinet .hr-action-btn {
		flex: 1 1 calc(50% - 8px);
		min-width: 0;
		white-space: normal;
		line-height: 1.25;
		height: auto;
		min-height: 38px;
	}

	.hr-tariff-preview__example-head {
		align-items: flex-start;
	}

	.hr-tariff-preview__param {
		flex-wrap: wrap;
		gap: 4px 12px;
	}

	.hr-tariff-preview__param dt,
	.hr-tariff-preview__param dd {
		max-width: 100%;
		text-align: left;
	}

	.hr-tariff-preview__param dd {
		font-weight: var(--weight-bold);
		word-break: break-word;
	}

	.hr-tariff-preview__table,
	.hr-tariff-preview__table th,
	.hr-tariff-preview__table td {
		white-space: normal !important;
		word-break: break-word;
	}

	.hr-tariff-preview__table th,
	.hr-tariff-preview__table td {
		padding: 10px 8px;
		font-size: 12px;
		vertical-align: top;
	}

	.hr-tariff-preview__discount {
		display: inline-block;
		margin-top: 4px;
		white-space: nowrap;
	}

	.hr-tariff-calc__result-row {
		flex-wrap: wrap;
		gap: 4px 10px;
	}

	.hr-tariff-calc__period-list {
		gap: 6px;
	}

	.hr-tariff-calc__period span {
		padding: 8px 12px;
	}

	/* Аудитория: свайп */
	.hr-audience-track {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 10px;
		margin-inline: -10px;
		padding: 2px 10px 10px;
		scrollbar-width: none;
	}

	.hr-audience-track::-webkit-scrollbar {
		display: none;
	}

	.hr-audience-grid {
		display: flex !important;
		grid-template-columns: none !important;
		gap: 12px;
		width: max-content;
		max-width: none;
	}

	.hr-audience-card {
		flex: 0 0 min(82vw, 300px);
		width: min(82vw, 300px);
		max-width: min(82vw, 300px);
		scroll-snap-align: start;
		min-height: 0;
	}

	.hr-surface--panel,
	.hr-surface--card {
		padding: 16px 14px;
	}

	.hr-table-wrap,
	.hr-root table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		max-width: 100%;
	}

	.hr-root table {
		white-space: nowrap;
	}

	/* Виды ИТ-деятельности: перенос строк, без горизонтального скролла */
	.hr-table-wrap--it-types {
		overflow-x: visible;
	}

	.hr-table-wrap--it-types .hr-table--it-types,
	.hr-table--it-types {
		display: table;
		width: 100%;
		min-width: 0;
		white-space: normal;
		table-layout: fixed;
	}

	.hr-table--it-types th,
	.hr-table--it-types td {
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
		hyphens: auto;
		padding: 10px 8px;
		font-size: 12px;
		line-height: 1.4;
	}

	.hr-table--it-types th:nth-child(1),
	.hr-table--it-types td:nth-child(1) {
		width: 14%;
	}

	.hr-table--it-types th:nth-child(2),
	.hr-table--it-types td:nth-child(2) {
		width: 43%;
	}

	.hr-table--it-types th:nth-child(3),
	.hr-table--it-types td:nth-child(3) {
		width: 43%;
	}

	.hr-table--it-types .hr-code {
		white-space: nowrap;
		font-size: 11px;
	}

	/* Пути пользователя/специалиста: свайп вправо */
	.hr-paths-track {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 10px;
		margin-inline: -10px;
		padding: 2px 10px 10px;
		scrollbar-width: none;
	}

	.hr-paths-track::-webkit-scrollbar {
		display: none;
	}

	.hr-paths-grid {
		display: flex !important;
		grid-template-columns: none !important;
		gap: 12px;
		width: max-content;
		max-width: none;
	}

	.hr-paths-card {
		flex: 0 0 min(86vw, 340px);
		width: min(86vw, 340px);
		max-width: min(86vw, 340px);
		scroll-snap-align: start;
	}

	.hr-paths-card .hr-steps {
		grid-template-columns: 1fr 1fr !important;
		gap: 8px;
	}

	.hr-paths-card .hr-step {
		min-height: 0;
		padding: 34px 8px 10px;
	}

	/* Хлебные крошки: на мобиле короткий вариант */
	.breadcrumb-wrap,
	.breadcrumb-wrap--desktop {
		display: none;
	}

	.hr-breadcrumb-mobile {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 6px;
		width: min(var(--space-page-max, 1230px), calc(100% - 32px));
		margin: 10px auto 0;
		padding: 0;
		color: var(--color-muted);
		font-size: var(--text-sm);
		line-height: 1.35;
	}

	.hr-breadcrumb-mobile a {
		color: var(--color-link-brand, var(--color-secondary));
		text-decoration: underline !important;
		text-underline-offset: 2px;
	}

	.hr-breadcrumb-mobile__sep {
		color: var(--color-muted);
	}

	.hr-breadcrumb-mobile__current {
		color: var(--color-heading);
		font-weight: var(--weight-bold);
	}

	/* ИТ-деятельность: свайп карточек */
	.hr-it-activity-track {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 10px;
		margin-inline: -10px;
		padding: 2px 10px 10px;
		scrollbar-width: none;
	}

	.hr-it-activity-track::-webkit-scrollbar {
		display: none;
	}

	.hr-it-activity-grid {
		display: flex !important;
		grid-template-columns: none !important;
		gap: 12px;
		width: max-content;
		max-width: none;
	}

	.hr-it-activity-card {
		flex: 0 0 min(78vw, 280px);
		width: min(78vw, 280px);
		max-width: min(78vw, 280px);
		scroll-snap-align: start;
	}

	.hr-legal-footer,
	.hr-documents-grid {
		grid-template-columns: 1fr !important;
		gap: 14px;
	}

	.hr-doc-links {
		gap: 8px;
	}

	.hr-doc-links a {
		padding: 8px 12px;
		font-size: var(--text-xs);
	}

	.hr-steps {
		grid-template-columns: 1fr !important;
	}

	.hr-free-paid-block + .hr-free-paid-block {
		padding-top: 20px;
	}

	.hr-card--lg,
	.hr-card--md,
	.hr-section-link {
		min-height: 0;
	}

	.hr-icon-box {
		margin-bottom: 12px;
	}

	.hr-hero__subtitle {
		font-size: var(--text-base);
		line-height: 1.45;
	}

	.hr-demo-body {
		padding: 16px 14px;
	}

	.hr-page-note {
		font-size: 12px;
		line-height: 1.4;
	}
}

@media (max-width: 480px) {
	.hr-container {
		width: min(var(--space-page-max, 1230px), calc(100% - 20px));
	}

	.hr-breadcrumb-mobile {
		width: min(var(--space-page-max, 1230px), calc(100% - 20px));
	}

	.hr-section--alt > .hr-container,
	.hr-platforma-reviews-section > .hr-container {
		padding: 16px 10px;
		border-radius: var(--radius-sm);
	}

	.hr-actions .hr-btn {
		flex: 1 1 100%;
	}

	.hr-trust-grid {
		grid-template-columns: 1fr 1fr !important;
	}

	.hr-tech-stack-grid,
	.hr-grid-5,
	.hr-grid-4,
	.hr-metrics-about .about_items,
	.hr-about-items {
		grid-template-columns: 1fr !important;
	}

	.hr-metrics-about .about_item {
		flex-direction: row !important;
		align-items: center !important;
		column-gap: 12px !important;
		row-gap: 0 !important;
		min-height: 0 !important;
		padding: 12px !important;
	}

	.hr-badge {
		font-size: 10px;
		padding: 5px 10px;
	}
}

/* Блок статистики с /about/ на странице платформы */
.hr-metrics-about .about_items,
.hr-about-items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px 16px;
	margin-top: 0;
	/* Без about.css / about-rise-in: opacity:0 давал CLS и задержку LCP. */
	animation: none !important;
	opacity: 1 !important;
	transform: none !important;
}

.hr-metrics-about .about_item {
	display: flex;
	align-items: flex-start;
	min-width: 0;
	column-gap: 12px;
	color: var(--color-heading);
	text-decoration: none;
}

.hr-metrics-about .about_item-icon {
	width: var(--h-big, 48px);
	height: var(--h-big, 48px);
	flex: 0 0 var(--h-big, 48px);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	background: var(--color-warning-light, #fdf5bb);
	color: var(--color-heading);
}

.hr-metrics-about .about_item-icon .harant-icon {
	width: 20px;
}

.hr-metrics-about .about_item-icon._icon2 { background: var(--color-accent-red-bg, #ffe8e8); color: var(--color-error, #e0483d); }
.hr-metrics-about .about_item-icon._icon3 { background: var(--color-bg-success-light, #e0ffe1); color: var(--color-success, #41a040); }
.hr-metrics-about .about_item-icon._icon3_1 { background: var(--color-accent-red-bg, #ffe8e8); color: #fc8631; }
.hr-metrics-about .about_item-icon._icon4 { background: #edf5f9; color: var(--color-info, #3b51ff); }
.hr-metrics-about .about_item-icon._icon5 { background: var(--color-accent-purple-bg, #e9dcfa); color: #9254c3; }
.hr-metrics-about .about_item-icon._icon6 { background: #e7edff; color: var(--color-secondary); }
.hr-metrics-about .about_item-icon._icon8 { background: #edf5f9; color: var(--color-link-brand); }

.hr-metrics-about .about_item-content {
	min-width: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hr-metrics-about .about_item-num {
	font-weight: var(--weight-bold);
	font-size: var(--text-lg);
	line-height: 1.25;
	color: var(--color-heading);
}

.hr-metrics-about .about_item-text {
	font-size: var(--text-sm);
	line-height: 1.35;
	color: var(--color-muted);
}

.hr-metrics-about .about_item-text-main,
.hr-metrics-about .about_item-text-sub {
	display: block;
	color: var(--color-muted);
}

@media (max-width: 991px) {
	.hr-metrics-about .about_items,
	.hr-about-items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (hover: hover) {
	.hr-metrics-about .about_item:not(._static):hover {
		transform: translateY(-2px);
	}
}

.hr-demo-body .hr-btn[disabled] {
	opacity: 0.92;
	cursor: default;
}

.hr-documents-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	align-items: start;
}

.hr-legal-footer {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: 22px;
	align-items: start;
}

.hr-legal-footer__aside {
	display: grid;
	gap: 22px;
	align-content: start;
}

.hr-legal-footer__text,
.hr-legal-footer__note {
	margin: 0 0 16px;
	color: var(--color-muted);
	font-size: var(--text-md);
	line-height: 1.55;
}

.hr-legal-footer__note {
	margin-bottom: 18px;
	font-size: var(--text-sm);
}

.hr-legal-footer__requisites .hr-requisites {
	margin-bottom: 18px;
}

.hr-doc-links {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.hr-legal-footer__aside .hr-surface--panel {
	transition: border-color 0.35s ease, box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
	.hr-legal-footer__aside .hr-surface--panel:hover,
	.hr-legal-footer__requisites:hover {
		border-color: rgba(53, 57, 97, 0.14);
		box-shadow: 0 12px 28px rgba(30, 33, 57, 0.07);
	}
}

.hr-doc-links a {
	padding: 8px 14px;
	border-radius: var(--radius-sm);
	background: var(--color-bg-tint-blue, #eef2fb);
	color: var(--color-secondary);
	font-size: var(--text-sm);
	font-weight: var(--weight-bold);
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
	.hr-doc-links a:hover {
		background: var(--color-white);
		color: var(--color-purple);
		box-shadow: 0 6px 16px rgba(30, 33, 57, 0.08);
		transform: translateY(-1px);
	}
}

@media (max-width: 768px) {
	.hr-documents-grid,
	.hr-legal-footer {
		grid-template-columns: 1fr;
	}
}

.hr-platforma-reviews-section {
	background: transparent;
	padding-block: clamp(28px, 4vw, 48px);
}

.hr-platforma-reviews-section > .hr-container {
	background: var(--color-blend);
	border: none;
	border-radius: var(--radius-lg);
	padding: clamp(22px, 3.5vw, 36px) clamp(16px, 2.8vw, 28px);
	box-sizing: border-box;
}

.hr-platforma-reviews-block {
	margin-bottom: 0;
}

.hr-platforma-reviews-block > .hr-h2 {
	margin: 0 0 24px;
}

.hr-platforma-reviews__carousel-wrap {
	position: relative;
	padding: 0 48px;
}

.hr-platforma-reviews .splide {
	visibility: visible;
}

.hr-platforma-reviews .splide__track {
	overflow: hidden;
	padding: 6px 2px 10px;
}

.hr-platforma-reviews .splide__slide {
	height: auto;
}

.hr-platforma-reviews .splide__slide .publication-carts__item {
	display: flex !important;
	flex-direction: column;
	height: auto !important;
	min-height: 220px;
	min-width: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	max-height: none !important;
	padding: 20px;
	background: var(--color-white);
	border: 1px solid var(--border-default, #EAEEF4);
	border-radius: var(--radius-lg, 12px);
	box-shadow: 0 8px 24px rgba(30, 33, 57, 0.05);
	overflow: hidden;
	box-sizing: border-box;
	margin: 0 !important;
	transition: border-color 0.3s ease, box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Сброс глобальных .row / publications-carousel, ломающих мобилу */
.hr-platforma-reviews .row.rev_yan_header,
.hr-platforma-reviews .rev_yan_header.row {
	display: grid !important;
	grid-template-columns: 48px minmax(0, 1fr);
	grid-template-rows: auto auto auto;
	column-gap: 12px;
	row-gap: 2px;
	margin: 0 0 14px !important;
	padding: 0 !important;
	flex-wrap: unset;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.hr-platforma-reviews,
.hr-platforma-reviews .publications-carousel,
.hr-platforma-reviews #review_yandex,
.hr-platforma-reviews .splide,
.hr-platforma-reviews .splide__track,
.hr-platforma-reviews .splide__list,
.hr-platforma-reviews .splide__slide {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

@media (hover: hover) {
	.hr-platforma-reviews .splide__slide .publication-carts__item:hover {
		border-color: rgba(53, 57, 97, 0.14);
		box-shadow: 0 12px 28px rgba(30, 33, 57, 0.08);
		transform: translateY(-2px);
	}
}

.hr-platforma-reviews .rev_yan_header {
	display: grid;
	grid-template-columns: 48px 1fr;
	grid-template-rows: auto auto auto;
	column-gap: 12px;
	row-gap: 2px;
	margin: 0 0 14px;
}

.hr-platforma-reviews .rev_yan_h_l,
.hr-platforma-reviews .rev_yan_h_r__ {
	display: contents;
}

.hr-platforma-reviews .comment__photo,
.hr-platforma-reviews .comment__photo._icon_1 {
	grid-column: 1;
	grid-row: 1 / span 2;
	align-self: start;
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.hr-platforma-reviews .comment__photo._icon_1 {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-bg-tint-purple, #f285aa);
	color: var(--color-white);
	font-size: 20px;
	font-weight: var(--weight-bold);
}

.hr-platforma-reviews .comment__name {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	font-size: var(--text-base, 16px);
	font-weight: var(--weight-bold);
	line-height: 1.25;
	color: var(--color-heading);
}

.hr-platforma-reviews .comment__date {
	grid-column: 2;
	grid-row: 2;
	margin: 0;
	font-size: var(--text-sm, 14px);
	line-height: 1.3;
	color: var(--color-muted, #999);
}

.hr-platforma-reviews .wpd-rating-stars {
	grid-column: 1 / -1;
	grid-row: 3;
	display: flex;
	gap: 1px;
	width: auto;
	margin-top: 6px;
}

.hr-platforma-reviews .wpd-rating-stars svg {
	width: 16px;
	height: 16px;
}

.hr-platforma-reviews .wpd-rating-stars svg path.wpd-star {
	fill: #E0E4EE;
}

.hr-platforma-reviews .wpd-rating-stars svg path.wpd-star.wpd-active {
	fill: #FFB800;
}

.hr-platforma-reviews .comment__text {
	flex: 1;
	margin: 0;
	font-size: var(--text-sm, 14px);
	line-height: 1.55;
	color: var(--color-body);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
	overflow: hidden;
	text-align: left;
	word-break: break-word;
	hyphens: auto;
}

.hr-platforma-reviews .splide__slide.last_sl .publication-carts__item {
	min-height: 260px;
	align-items: center;
	justify-content: center;
}

.hr-platforma-reviews .splide__slide.last_sl a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	padding: 12px 20px;
	border-radius: var(--radius-sm);
	background: var(--color-button, #353961);
	color: var(--color-white);
	font-size: var(--text-sm, 14px);
	font-weight: var(--weight-bold);
	text-decoration: none;
	transition: background-color var(--transition), box-shadow var(--transition), transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
	.hr-platforma-reviews .splide__slide.last_sl a.button:hover {
		background: var(--color-purple);
		transform: translateY(-1px);
		box-shadow: 0 10px 22px rgba(53, 57, 97, 0.22);
	}

	.hr-platforma-reviews .splide__arrow:hover:not(:disabled) {
		border-color: rgba(53, 57, 97, 0.22);
		box-shadow: 0 8px 18px rgba(30, 33, 57, 0.12);
		transform: translateY(-50%) scale(1.04);
	}
}

.hr-platforma-reviews .splide__arrow {
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: var(--color-white);
	border: 1px solid var(--border-default, #EAEEF4);
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(30, 33, 57, 0.08);
	opacity: 1;
	transition: border-color var(--transition), box-shadow var(--transition), transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hr-platforma-reviews .splide__arrow:disabled {
	opacity: 0.35;
}

.hr-platforma-reviews .splide__arrow--prev {
	left: 0;
}

.hr-platforma-reviews .splide__arrow--next {
	right: 0;
}

.hr-platforma-reviews .splide__arrow svg {
	fill: var(--color-heading, #353961);
}

@media (max-width: 768px) {
	.hr-platforma-reviews-section {
		padding-block: 22px;
		overflow-x: clip;
	}

	.hr-platforma-reviews-section > .hr-container {
		padding: 18px 12px;
		border-radius: var(--radius-md);
		overflow: hidden;
		width: min(var(--space-page-max, 1230px), calc(100% - 20px));
		max-width: 100%;
	}

	.hr-platforma-reviews__carousel-wrap {
		padding: 0;
		margin: 0;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		min-height: 0;
	}

	.hr-platforma-reviews .splide,
	.hr-platforma-reviews .splide__track,
	.hr-platforma-reviews .splide__list {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	.hr-platforma-reviews .splide__slide {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}

	.hr-platforma-reviews .splide__slide .publication-carts__item,
	.hr-platforma-reviews #review_yandex .publication-carts__item,
	.hr-platforma-reviews.publications-carousel .publication-carts__item {
		min-height: 0 !important;
		min-width: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		box-sizing: border-box;
		padding: 14px !important;
		margin: 0 !important;
	}

	.hr-platforma-reviews .row.rev_yan_header,
	.hr-platforma-reviews .rev_yan_header.row {
		grid-template-columns: 40px minmax(0, 1fr);
		margin-bottom: 10px !important;
	}

	.hr-platforma-reviews .comment__photo,
	.hr-platforma-reviews .comment__photo._icon_1 {
		width: 40px !important;
		height: 40px !important;
		min-width: 40px !important;
	}

	.hr-platforma-reviews .comment__name {
		font-size: var(--text-sm);
		overflow-wrap: anywhere;
	}

	.hr-platforma-reviews .comment__text,
	.hr-platforma-reviews #review_yandex p.comment__text {
		-webkit-line-clamp: 8;
		font-size: 13px !important;
		line-height: 1.45 !important;
		max-width: 100%;
		min-width: 0;
	}

	.hr-platforma-reviews .splide__arrows {
		position: static;
		display: flex;
		justify-content: center;
		gap: 10px;
		margin-top: 12px;
	}

	.hr-platforma-reviews .splide__arrow {
		position: static !important;
		transform: none !important;
		width: 40px;
		height: 40px;
	}

	.hr-platforma-reviews .splide__arrow--prev,
	.hr-platforma-reviews .splide__arrow--next {
		left: auto !important;
		right: auto !important;
	}

	.hr-platforma-reviews .splide__slide.last_sl .publication-carts__item {
		min-height: 160px !important;
		min-width: 0 !important;
	}
}

@media (max-width: 480px) {
	.hr-platforma-reviews-section > .hr-container {
		padding: 16px 10px;
		width: min(var(--space-page-max, 1230px), calc(100% - 16px));
	}

	.hr-platforma-reviews .comment__text,
	.hr-platforma-reviews #review_yandex p.comment__text {
		-webkit-line-clamp: 10;
	}
}
