/*
 * OSA·GO high-tech design system.
 * This layer intentionally replaces the visual language of the legacy theme
 * while keeping semantic templates and indexable HTML intact.
 */

.calculator-loader[hidden],
[data-calculator-status="ready"] > .calculator-loader {
	display: none !important;
}

:root {
	--tech-ink: #082f26;
	--tech-ink-raised: #0d3b31;
	--tech-green: #00b85a;
	--tech-green-dark: #008f46;
	--tech-green-soft: #dff8e9;
	--tech-canvas: #f3f8f5;
	--tech-panel: #ffffff;
	--tech-line: rgba(8, 47, 38, 0.14);
	--tech-line-bright: rgba(0, 184, 90, 0.42);
	--tech-muted: #58736a;
	--tech-shadow: 0 18px 50px rgba(8, 47, 38, 0.1);
	--tech-shadow-strong: 0 28px 80px rgba(8, 47, 38, 0.2);
	--tech-radius: 18px;
}

body.osago-ui {
	color: var(--tech-ink);
	background:
		linear-gradient(rgba(8, 47, 38, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(8, 47, 38, 0.025) 1px, transparent 1px),
		var(--tech-canvas);
	background-size: 32px 32px;
}

.section {
	padding: clamp(62px, 6.5vw, 96px) 0;
}

.eyebrow {
	gap: 9px;
	color: var(--tech-green-dark);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
}

.eyebrow::before {
	width: 7px;
	height: 7px;
	box-shadow: 0 0 0 5px rgba(0, 184, 90, 0.12), 0 0 18px rgba(0, 184, 90, 0.34);
}

.button {
	position: relative;
	min-height: 50px;
	overflow: hidden;
	border-radius: 12px;
	letter-spacing: -0.01em;
}

.button::after {
	position: absolute;
	width: 70px;
	height: 140%;
	top: -20%;
	left: -100px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
	content: "";
	transform: skewX(-18deg);
	transition: left 420ms ease;
}

.button:hover::after {
	left: calc(100% + 30px);
}

.button-primary {
	color: #05261e;
	background: var(--tech-green);
	box-shadow: 0 12px 30px rgba(0, 184, 90, 0.25);
}

.button-primary:hover {
	background: #0ac967;
}

.button-secondary,
.button-ghost {
	color: var(--tech-ink);
	border-color: var(--tech-line);
	background: rgba(255, 255, 255, 0.82);
}

.site-header {
	border-bottom: 1px solid var(--tech-line);
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 8px 30px rgba(8, 47, 38, 0.05);
}

.header-row {
	min-height: 72px;
}

.brand {
	grid-template-columns: 42px auto;
	column-gap: 11px;
}

.brand-mark {
	width: 42px;
	height: 42px;
	filter: drop-shadow(0 8px 14px rgba(8, 47, 38, 0.18));
}

.brand-name {
	font-size: 1.18rem;
}

.brand-caption {
	color: var(--tech-muted);
	font-size: 0.57rem;
	letter-spacing: 0.1em;
}

.site-navigation a {
	position: relative;
	padding: 9px 0;
	color: var(--tech-ink);
	font-size: 0.8rem;
}

.site-navigation a::after {
	position: absolute;
	height: 2px;
	right: 0;
	bottom: 2px;
	left: 0;
	background: var(--tech-green);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 180ms ease;
}

.site-navigation a:hover::after,
.site-navigation .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.header-cta {
	border-radius: 11px;
}

.hero,
.inner-hero {
	color: #ffffff;
	background:
		radial-gradient(circle at 82% 18%, rgba(0, 184, 90, 0.34), transparent 28%),
		linear-gradient(118deg, #061f19 0%, #082f26 55%, #0d4939 125%);
}

.hero::before,
.inner-hero::before {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 48px 48px;
	content: "";
	mask-image: linear-gradient(90deg, #000, transparent 78%);
	pointer-events: none;
}

.hero::after,
.inner-hero::after {
	position: absolute;
	width: 1px;
	height: 160%;
	top: -30%;
	left: 66%;
	background: linear-gradient(transparent, rgba(0, 184, 90, 0.75), transparent);
	box-shadow: 0 0 28px rgba(0, 184, 90, 0.75);
	content: "";
	transform: rotate(17deg);
	pointer-events: none;
}

.hero {
	padding: clamp(48px, 5.2vw, 76px) 0;
}

.hero-grid {
	grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
	gap: clamp(36px, 5vw, 72px);
}

.hero-copy h1 {
	max-width: 790px;
	color: #ffffff;
	font-size: clamp(2.75rem, 4vw, 4.65rem);
}

.hero-lead {
	max-width: 650px;
	color: rgba(255, 255, 255, 0.76);
}

.hero .eyebrow-light,
.inner-hero .eyebrow-light {
	color: #5df39f;
}

.hero .button-ghost,
.inner-hero .button-ghost {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.07);
}

.trust-list {
	color: rgba(255, 255, 255, 0.72);
}

.trust-list li {
	display: inline-flex;
	align-items: center;
}

.trust-list li::before {
	color: #5df39f;
}

.price-visual {
	min-height: 280px;
}

.visual-card {
	border-color: rgba(255, 255, 255, 0.18);
	border-radius: 24px;
}

.visual-card-back {
	background: linear-gradient(145deg, rgba(0, 184, 90, 0.4), rgba(0, 184, 90, 0.08));
}

.visual-card-front {
	padding: 30px;
	color: var(--tech-ink);
	background:
		linear-gradient(rgba(8, 47, 38, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(8, 47, 38, 0.035) 1px, transparent 1px),
		linear-gradient(145deg, #ffffff, #e9fff2);
	background-size: 22px 22px, 22px 22px, auto;
	box-shadow: var(--tech-shadow-strong);
}

.visual-card-front > span {
	color: var(--tech-muted);
}

.visual-number {
	color: rgba(0, 184, 90, 0.15);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.visual-card-front svg {
	color: var(--tech-green);
}

.hero-stat-grid {
	width: calc(100% - 28px);
	border: 1px solid rgba(8, 47, 38, 0.08);
	border-radius: 14px;
	box-shadow: 0 18px 42px rgba(8, 47, 38, 0.18);
}

.hero-stat-grid > div {
	padding: 14px 17px;
}

.hero-orbit {
	border-color: rgba(0, 184, 90, 0.25);
}

.section-calculator {
	position: relative;
	background:
		radial-gradient(circle at 92% 12%, rgba(0, 184, 90, 0.11), transparent 24%),
		var(--tech-canvas);
}

.calculator-shell {
	position: relative;
	padding: clamp(26px, 4vw, 48px);
	overflow: hidden;
	border: 1px solid var(--tech-line);
	border-radius: 24px;
	background: var(--tech-panel);
	box-shadow: var(--tech-shadow);
}

.calculator-shell::before {
	position: absolute;
	width: 180px;
	height: 3px;
	top: 0;
	left: 0;
	background: linear-gradient(90deg, var(--tech-green), transparent);
	content: "";
}

.calculator-heading {
	grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.42fr);
	align-items: end;
	gap: 28px 56px;
}

.calculator-heading h2 {
	max-width: 720px;
	margin-bottom: 0;
	font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.calculator-heading p {
	padding-left: 22px;
	border-left: 2px solid var(--tech-green);
}

.page-layout .calculator-heading {
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

.page-layout .calculator-heading h2,
.page-layout .calculator-heading p {
	min-width: 0;
	max-width: none;
	overflow-wrap: anywhere;
}

.page-layout .calculator-heading p {
	padding: 0;
	border: 0;
}

.calculator-widget {
	min-height: 160px;
	margin-top: 30px;
	padding: 22px;
	border: 1px solid var(--tech-line);
	border-radius: 16px;
	background:
		linear-gradient(rgba(8, 47, 38, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(8, 47, 38, 0.03) 1px, transparent 1px),
		#f9fcfa;
	background-size: 24px 24px;
}

.calculator-loader {
	color: var(--tech-muted);
}

.section-heading {
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.46fr);
	align-items: end;
}

.section-heading h2 {
	max-width: 760px;
	color: var(--tech-ink);
	font-size: clamp(2rem, 3.3vw, 3.25rem);
}

.service-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.service-card {
	min-height: 255px;
	padding: 24px;
	overflow: hidden;
	border: 1px solid var(--tech-line);
	border-radius: var(--tech-radius);
	background:
		linear-gradient(135deg, rgba(0, 184, 90, 0.06), transparent 42%),
		var(--tech-panel);
	box-shadow: none;
}

.service-card::before {
	position: absolute;
	width: 78px;
	height: 78px;
	top: -39px;
	right: -39px;
	border: 1px solid var(--tech-line-bright);
	border-radius: 50%;
	content: "";
}

.service-card::after {
	position: absolute;
	height: 3px;
	right: 24px;
	bottom: 0;
	left: 24px;
	background: linear-gradient(90deg, transparent, var(--tech-green), transparent);
	content: "";
	opacity: 0;
	transition: opacity 180ms ease;
}

.service-card:hover {
	border-color: var(--tech-line-bright);
	box-shadow: var(--tech-shadow);
	transform: translateY(-4px);
}

.service-card:hover::after {
	opacity: 1;
}

.service-card-main {
	grid-column: auto;
	background:
		linear-gradient(135deg, rgba(0, 184, 90, 0.13), transparent 48%),
		var(--tech-panel);
}

.service-icon {
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 14px;
	color: #ffffff;
	background: var(--tech-ink);
	box-shadow: 0 10px 24px rgba(8, 47, 38, 0.16);
	transform: none;
}

.service-icon svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.service-card:nth-child(n) .service-icon {
	background: var(--tech-ink);
}

.card-index {
	color: var(--tech-green-dark);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.service-card h3 {
	max-width: 230px;
	margin-top: 42px;
	font-size: 1.35rem;
}

.service-card p {
	color: var(--tech-muted);
}

.company-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.company-card {
	min-height: 190px;
	padding: 22px;
	border: 1px solid var(--tech-line);
	border-radius: var(--tech-radius);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: none;
}

.company-card:hover {
	border-color: var(--tech-line-bright);
	box-shadow: var(--tech-shadow);
	transform: translateY(-3px);
}

.company-logo {
	width: 58px;
	height: 58px;
	border-color: var(--tech-line);
	border-radius: 14px;
	background: #ffffff;
}

.methodology {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		var(--tech-ink);
	background-size: 38px 38px;
}

.methodology::after {
	position: absolute;
	width: 420px;
	height: 420px;
	top: -260px;
	right: -140px;
	border: 1px solid rgba(0, 184, 90, 0.34);
	border-radius: 50%;
	content: "";
	box-shadow: 0 0 90px rgba(0, 184, 90, 0.12);
}

.methodology-grid {
	position: relative;
	z-index: 1;
	grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
}

.methodology h2 {
	color: #ffffff;
}

.method-steps {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--tech-radius);
	background: rgba(255, 255, 255, 0.045);
}

.method-steps > div {
	min-height: 220px;
	padding: 26px;
}

.method-steps span {
	color: #5df39f;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.method-steps h3 {
	color: #ffffff;
}

.method-steps p {
	color: rgba(255, 255, 255, 0.66);
}

.article-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.article-card {
	min-height: 260px;
	padding: 22px;
	border: 1px solid var(--tech-line);
	border-radius: var(--tech-radius);
	background: var(--tech-panel);
	box-shadow: none;
}

.article-card:hover {
	border-color: var(--tech-line-bright);
	box-shadow: var(--tech-shadow);
	transform: translateY(-3px);
}

.journal-grid .article-card {
	display: flex;
	min-height: 0;
	flex-direction: column;
}

.journal-grid .article-card h2 {
	margin: 0 0 14px;
	color: var(--tech-ink);
	font-size: clamp(1.4rem, 1.8vw, 1.95rem);
	line-height: 1.15;
	letter-spacing: -0.035em;
	overflow-wrap: anywhere;
}

.journal-grid .article-card p {
	margin: 0 0 20px;
	color: var(--tech-muted);
	font-size: 0.94rem;
	line-height: 1.55;
}

.journal-grid .article-card > strong {
	margin-top: auto;
	color: var(--tech-green-dark);
	font-size: 0.86rem;
}

.article-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin: 0 0 14px;
	color: var(--tech-green-dark);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.article-card-meta span {
	position: relative;
}

.article-card-meta span + span::before {
	position: absolute;
	top: 50%;
	left: -7px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	content: "";
	opacity: 0.45;
	transform: translateY(-50%);
}

.related-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0 28px;
}

.related-links a {
	display: flex;
	min-width: 0;
	min-height: 150px;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	border: 1px solid var(--tech-line);
	border-radius: 16px;
	color: var(--tech-ink);
	background: var(--tech-panel);
	text-decoration: none;
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.related-links a:hover {
	border-color: var(--tech-line-bright);
	box-shadow: 0 14px 32px rgba(4, 47, 37, 0.09);
	transform: translateY(-2px);
}

.related-links strong {
	font-size: 1.03rem;
	line-height: 1.25;
}

.related-links span {
	color: var(--tech-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.source-details {
	margin: 26px 0 0;
	padding: 16px 18px;
	border: 1px solid var(--tech-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
}

.source-details summary {
	color: var(--tech-green-dark);
	cursor: pointer;
	font-weight: 800;
}

.source-details ul {
	margin-bottom: 0;
}

.reminder-builder {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
	gap: clamp(24px, 4vw, 54px);
	align-items: center;
	margin: 24px 0 42px;
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--tech-line);
	border-radius: 22px;
	background:
		radial-gradient(circle at 100% 0, rgba(0, 184, 90, 0.13), transparent 42%),
		var(--tech-panel);
}

.reminder-builder h2 {
	margin: 10px 0 14px;
}

.reminder-builder__form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding: 20px;
	border: 1px solid rgba(8, 47, 38, 0.11);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.86);
}

.reminder-builder__form label {
	display: grid;
	gap: 8px;
	color: var(--tech-muted);
	font-size: 0.78rem;
	font-weight: 800;
}

.reminder-builder__form input,
.reminder-builder__form select {
	min-width: 0;
	min-height: 48px;
	padding: 0 13px;
	border: 1px solid var(--tech-line);
	border-radius: 12px;
	color: var(--tech-ink);
	background: #ffffff;
	font: inherit;
	font-size: 0.92rem;
}

.reminder-builder__form .button,
.reminder-builder__status {
	grid-column: 1 / -1;
}

.reminder-builder__status {
	min-height: 1.4em;
	margin: 0;
	color: var(--tech-green-dark);
	font-size: 0.84rem;
	font-weight: 700;
}

.article-media {
	margin: -22px -22px 20px;
	border-radius: 17px 17px 0 0;
}

.inner-hero {
	padding: clamp(46px, 5.5vw, 78px) 0;
}

.inner-hero-grid {
	position: relative;
	z-index: 1;
	grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.5fr);
	align-items: center;
}

.inner-hero h1 {
	max-width: 800px;
	color: #ffffff;
	font-size: clamp(2.5rem, 4.2vw, 4.35rem);
}

.inner-hero p {
	color: rgba(255, 255, 255, 0.68);
}

.inner-hero-note {
	border-color: rgba(255, 255, 255, 0.18);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(12px);
}

.inner-hero-note strong {
	color: #5df39f;
}

.inner-hero-note span,
.breadcrumbs {
	color: rgba(255, 255, 255, 0.58);
}

.page-layout {
	align-items: start;
}

.page-layout > * {
	min-width: 0;
}

.prose {
	padding: clamp(24px, 4vw, 54px);
	border: 1px solid var(--tech-line);
	border-radius: 22px;
	background: var(--tech-panel);
	box-shadow: 0 12px 36px rgba(8, 47, 38, 0.06);
}

.prose h2,
.prose h3 {
	scroll-margin-top: 100px;
}

.prose h2 {
	margin-top: 2.2em;
	padding-top: 0.3em;
	border-top: 1px solid var(--tech-line);
}

.prose table {
	overflow: hidden;
	border: 1px solid var(--tech-line);
	border-radius: 14px;
	background: #ffffff;
}

.prose th {
	color: #ffffff;
	background: var(--tech-ink);
}

.prose tr:nth-child(even) td {
	background: #f4faf6;
}

.page-layout-region {
	grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
}

.region-answer {
	margin: 0 0 26px;
	padding: clamp(22px, 4vw, 34px);
	border: 1px solid rgba(0, 184, 90, 0.22);
	border-radius: 18px;
	background:
		radial-gradient(circle at 94% 4%, rgba(0, 184, 90, 0.14), transparent 34%),
		#f5fbf7;
}

.region-answer p {
	margin: 12px 0 0;
	font-size: clamp(1.05rem, 1.7vw, 1.24rem);
	line-height: 1.65;
	color: var(--tech-ink);
}

.region-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 34px;
}

.region-jump a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 14px;
	border: 1px solid var(--tech-line);
	border-radius: 999px;
	color: var(--tech-ink);
	background: #ffffff;
	font-size: 0.82rem;
	font-weight: 750;
	text-decoration: none;
}

.region-jump a:hover,
.region-jump a:focus-visible {
	border-color: var(--tech-green);
	color: var(--tech-green-dark);
	background: #effbf4;
}

.region-table {
	margin: 24px 0;
	overflow-x: auto;
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(8, 47, 38, 0.06);
}

.region-table table {
	width: 100%;
	min-width: 0;
	margin: 0;
}

.region-table caption {
	padding: 14px 16px;
	color: var(--tech-muted);
	background: #edf7f1;
	font-size: 0.8rem;
	font-weight: 700;
	text-align: left;
}

.region-table th[scope="row"] {
	width: 75%;
	color: var(--tech-ink);
	background: #ffffff;
	font-weight: 650;
}

.region-table tr:nth-child(even) th[scope="row"] {
	background: #f4faf6;
}

.source-note {
	padding: 14px 16px;
	border-left: 3px solid var(--tech-green);
	color: var(--tech-muted);
	background: #f7fbf8;
	font-size: 0.84rem;
}

.region-insight {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin: 26px 0;
	padding: 18px;
	border: 1px solid var(--tech-line);
	border-radius: 14px;
	background: #ffffff;
}

.region-insight > span {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 12px;
	color: #ffffff;
	background: var(--tech-green);
	font-size: 1rem;
	font-weight: 900;
	font-style: italic;
}

.region-insight p {
	margin: 0;
}

.region-steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 0;
	counter-reset: region-step;
	list-style: none;
}

.region-steps li {
	position: relative;
	min-height: 145px;
	padding: 22px 20px 20px 66px;
	border: 1px solid var(--tech-line);
	border-radius: 16px;
	background: #f7fbf8;
	counter-increment: region-step;
}

.region-steps li::before {
	position: absolute;
	top: 20px;
	left: 18px;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 10px;
	color: var(--tech-green-dark);
	background: rgba(0, 184, 90, 0.12);
	content: counter(region-step, decimal-leading-zero);
	font-size: 0.72rem;
	font-weight: 900;
}

.region-steps strong,
.region-steps span {
	display: block;
}

.region-steps span {
	margin-top: 8px;
	color: var(--tech-muted);
	font-size: 0.91rem;
	line-height: 1.55;
}

.region-scenario {
	margin: 30px 0;
	padding: clamp(22px, 4vw, 34px);
	border-radius: 18px;
	color: #ffffff;
	background:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		var(--tech-ink);
	background-size: 26px 26px;
}

.region-scenario h2 {
	margin: 10px 0;
	padding: 0;
	border: 0;
	color: #ffffff;
}

.region-scenario p {
	margin: 0;
	color: rgba(255, 255, 255, 0.76);
}

.region-cta {
	margin: 34px 0;
}

.region-check-grid,
.region-comparison {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.region-check-grid section,
.region-comparison > div {
	padding: 20px;
	border: 1px solid var(--tech-line);
	border-radius: 15px;
	background: #f7fbf8;
}

.region-check-grid h3 {
	margin: 0 0 8px;
	color: var(--tech-ink);
}

.region-check-grid p {
	margin: 0;
	color: var(--tech-muted);
	font-size: 0.9rem;
}

.region-comparison {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 24px 0 32px;
}

.region-comparison strong,
.region-comparison span {
	display: block;
}

.region-comparison strong {
	color: var(--tech-green-dark);
	font-size: 1rem;
}

.region-comparison span {
	margin-top: 8px;
	color: var(--tech-muted);
	font-size: 0.82rem;
	line-height: 1.45;
}

.region-faq {
	display: grid;
	gap: 10px;
}

.region-faq-item {
	padding: 20px;
	border: 1px solid var(--tech-line);
	border-radius: 15px;
	background: #ffffff;
}

.region-faq-item h3,
.region-faq-item p {
	margin: 0;
}

.region-faq-item p {
	margin-top: 8px;
	color: var(--tech-muted);
}

.region-hub-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.region-card {
	position: relative;
	display: flex;
	min-height: 285px;
	padding: 24px;
	flex-direction: column;
	border: 1px solid var(--tech-line);
	border-radius: 18px;
	color: var(--tech-ink);
	background:
		radial-gradient(circle at 92% 8%, rgba(0, 184, 90, 0.12), transparent 30%),
		#ffffff;
	text-decoration: none;
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.region-card:hover,
.region-card:focus-visible {
	border-color: rgba(0, 184, 90, 0.46);
	box-shadow: 0 18px 40px rgba(8, 47, 38, 0.1);
	transform: translateY(-3px);
}

.region-card__label {
	color: var(--tech-green-dark);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.region-card h2 {
	margin: 18px 0 10px;
	padding: 0;
	border: 0;
	font-size: 1.23rem;
	line-height: 1.2;
}

.region-card h2 a {
	color: inherit;
	text-decoration: none;
}

.region-card__link::after {
	position: absolute;
	z-index: 2;
	inset: 0;
	content: "";
}

.region-card p {
	margin: 0 0 18px;
	color: var(--tech-muted);
	font-size: 0.88rem;
	line-height: 1.55;
}

.region-card__factor {
	margin-top: auto;
	color: var(--tech-green-dark);
	font-size: 0.78rem;
	font-weight: 800;
}

.region-card strong {
	margin-top: 12px;
	font-size: 0.82rem;
}

.region-preview-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.region-preview-grid a {
	position: relative;
	display: flex;
	min-height: 116px;
	padding: 20px;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	border: 1px solid var(--tech-line);
	border-radius: 16px;
	color: var(--tech-ink);
	background:
		radial-gradient(circle at 100% 0, rgba(0, 184, 90, 0.14), transparent 44%),
		#ffffff;
	text-decoration: none;
	transition: transform 180ms ease, border-color 180ms ease;
}

.region-preview-grid a::after {
	position: absolute;
	right: 16px;
	bottom: 12px;
	color: rgba(0, 184, 90, 0.12);
	content: "↗";
	font-size: 2.2rem;
	font-weight: 900;
}

.region-preview-grid a:hover,
.region-preview-grid a:focus-visible {
	border-color: var(--tech-green);
	transform: translateY(-2px);
}

.region-preview-grid span {
	position: relative;
	z-index: 1;
	max-width: 78%;
	font-size: 1rem;
	font-weight: 800;
}

.region-preview-grid strong {
	position: relative;
	z-index: 1;
	color: var(--tech-green-dark);
	font-size: 0.72rem;
	letter-spacing: 0.02em;
}

.region-preview-grid .region-preview-all {
	color: #ffffff;
	background: var(--tech-ink);
}

.region-preview-grid .region-preview-all strong {
	color: var(--tech-mint);
}

.sticky-cta {
	top: 94px;
	padding: 24px;
	border: 1px solid var(--tech-line);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(0, 184, 90, 0.1), transparent 44%),
		#ffffff;
	box-shadow: var(--tech-shadow);
}

.fact-grid {
	gap: 10px;
}

.fact-grid > div {
	border: 1px solid var(--tech-line);
	border-radius: 14px;
	background: #f7fbf8;
}

.inline-cta {
	border-radius: 18px;
	background:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		var(--tech-ink);
	background-size: 28px 28px;
}

.official-check-card {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 24px;
	margin: 0 0 40px;
	padding: clamp(24px, 4vw, 36px);
	border: 1px solid rgba(0, 184, 90, 0.24);
	border-radius: 20px;
	background:
		radial-gradient(circle at 92% 10%, rgba(0, 184, 90, 0.13), transparent 32%),
		#f5fbf7;
}

.official-check-card h2 {
	margin: 8px 0 12px;
	padding: 0;
	border: 0;
	font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.official-check-card p {
	margin: 0 0 20px;
}

.official-check-card small {
	display: block;
	margin-top: 12px;
	color: var(--tech-muted);
}

.official-check-card__mark {
	display: grid;
	width: 72px;
	height: 72px;
	place-items: center;
	border-radius: 18px;
	color: #ffffff;
	background: linear-gradient(145deg, #063d31, var(--tech-green));
	box-shadow: 0 14px 30px rgba(0, 117, 70, 0.2);
}

.official-check-card__mark svg {
	width: 38px;
	height: 38px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.1;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.article-hero {
	background:
		radial-gradient(circle at 86% 16%, rgba(0, 184, 90, 0.2), transparent 28%),
		#edf8f1;
}

.article-cover {
	overflow: hidden;
	border: 1px solid var(--tech-line);
	border-radius: 22px;
	box-shadow: var(--tech-shadow);
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.article-meta span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 13px;
	border: 1px solid rgba(8, 47, 38, 0.12);
	border-radius: 999px;
	color: var(--tech-muted);
	background: rgba(255, 255, 255, 0.7);
	font-size: 0.78rem;
	font-weight: 700;
}

.article-layout {
	grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	max-width: var(--container);
}

.article-layout > * {
	min-width: 0;
}

.article-layout > .prose {
	max-width: none;
}

.prose .table-scroll {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
}

.prose .table-scroll > table {
	display: table;
	width: 100%;
	min-width: 620px;
	max-width: none;
	overflow: visible;
}

.article-inline-cta {
	margin-top: 48px;
}

.related-reading {
	border-top: 1px solid var(--tech-line);
}

.site-footer {
	padding-top: 62px;
	background:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		#061f19;
	background-size: 40px 40px;
}

.footer-grid {
	gap: clamp(34px, 6vw, 88px);
}

.to-top {
	border-radius: 12px;
	color: #05261e;
	border-color: transparent;
	background: var(--tech-green);
}

.page-layout-catalog {
	grid-template-columns: minmax(0, 1fr);
}

.page-layout-catalog > .prose {
	max-width: none;
}

.catalog-intro {
	max-width: 820px;
	margin-bottom: 36px;
}

.catalog-tools {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.8fr) auto;
	gap: 20px;
	align-items: center;
	padding: 20px 22px;
	margin-bottom: 24px;
	border: 1px solid var(--tech-line);
	border-radius: var(--tech-radius);
	background:
		linear-gradient(135deg, rgba(0, 184, 90, 0.1), transparent 54%),
		#f7fbf8;
}

.catalog-tools h2 {
	margin: 5px 0 2px;
	font-size: clamp(1.6rem, 2.2vw, 2.35rem);
	line-height: 1.04;
}

.catalog-tools-copy p {
	margin: 7px 0 0;
	color: var(--tech-muted);
	font-size: 0.84rem;
}

.catalog-search input {
	width: 100%;
	min-height: 52px;
	padding: 0 18px;
	color: var(--tech-ink);
	border: 1px solid rgba(8, 47, 38, 0.25);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(8, 47, 38, 0.06);
}

.catalog-search input:focus {
	outline: 3px solid rgba(0, 184, 90, 0.2);
	border-color: var(--tech-green);
}

.catalog-count {
	display: grid;
	min-width: 130px;
}

.catalog-count strong {
	font-size: 2rem;
	color: var(--tech-green-dark);
}

.catalog-count span {
	font-size: 0.75rem;
	color: var(--tech-muted);
}

.company-grid-large {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.company-card-large {
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr);
	min-height: 164px;
	align-items: stretch;
	gap: 16px;
	padding: 20px;
	overflow: hidden;
}

.company-card-large .company-logo {
	width: 68px;
	height: 68px;
	flex-basis: 68px;
	border-radius: 16px;
}

.company-card-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.company-card-large .company-card-title {
	margin: 0 0 8px;
	font-size: clamp(1rem, 1.25vw, 1.24rem);
	line-height: 1.16;
	overflow-wrap: anywhere;
}

.company-card-large .company-card-license {
	display: -webkit-box;
	margin: 0 0 14px;
	overflow: hidden;
	color: var(--tech-muted);
	font-size: 0.77rem;
	line-height: 1.48;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.company-card-large .company-card-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--tech-green-dark);
	font-size: 0.8rem;
	line-height: 1;
	white-space: nowrap;
}

.company-card[hidden],
.catalog-empty[hidden] {
	display: none !important;
}

.catalog-empty {
	padding: 22px;
	border: 1px dashed var(--tech-line-bright);
	border-radius: 14px;
	background: var(--tech-green-soft);
}

.catalog-method {
	margin-top: 54px;
	padding-top: 42px;
	border-top: 1px solid var(--tech-line);
}

.catalog-method-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin-top: 24px;
	overflow: hidden;
	border: 1px solid var(--tech-line);
	border-radius: var(--tech-radius);
	background: var(--tech-line);
}

.catalog-method-grid > div {
	min-height: 220px;
	padding: 24px;
	background: #f9fcfa;
}

.catalog-method-grid span {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--tech-green);
}

.company-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	margin: 14px 0;
	padding: 6px 12px;
	border: 1px solid rgba(91, 237, 159, 0.32);
	border-radius: 999px;
	color: #bfffdc;
	background: rgba(0, 184, 90, 0.12);
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.company-status::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #5df39f;
	box-shadow: 0 0 0 5px rgba(93, 243, 159, 0.12);
	content: "";
}

.company-status.is-reference {
	border-color: rgba(255, 191, 87, 0.38);
	color: #ffe0aa;
	background: rgba(255, 173, 51, 0.12);
}

.company-status.is-reference::before {
	background: #ffbd59;
	box-shadow: 0 0 0 5px rgba(255, 189, 89, 0.12);
}

.company-sticky-cta .company-status {
	margin-top: 0;
	color: var(--tech-green-dark);
}

.company-sticky-cta .company-status.is-reference {
	color: #8a4d00;
}

.company-profile-summary,
.profile-source {
	max-width: 100%;
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid rgba(0, 184, 90, 0.24);
	border-radius: 18px;
	background:
		radial-gradient(circle at 95% 5%, rgba(0, 184, 90, 0.12), transparent 34%),
		#f6fbf8;
}

.company-profile-summary h2,
.profile-source h2 {
	margin: 8px 0 12px;
	padding: 0;
	border: 0;
	font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.company-profile-summary p:last-child,
.profile-source p:last-child {
	margin-bottom: 0;
}

.profile-notice {
	max-width: 100%;
	padding: 18px 20px;
	border-left: 4px solid var(--tech-green);
	border-radius: 0 12px 12px 0;
	background: var(--tech-green-soft);
}

.profile-steps {
	display: grid;
	max-width: 100%;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: profile-step;
}

.profile-steps li {
	display: flex;
	min-height: 154px;
	flex-direction: column;
	padding: 22px;
	border: 1px solid var(--tech-line);
	border-radius: 16px;
	background: #f8fcf9;
	counter-increment: profile-step;
}

.profile-steps li::before {
	margin-bottom: 20px;
	color: var(--tech-green);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	content: "0" counter(profile-step);
}

.profile-steps strong {
	margin-bottom: 7px;
	color: var(--tech-ink);
	font-size: 1.06rem;
}

.profile-steps span {
	color: var(--tech-muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

.comparison-cards {
	display: grid;
	max-width: 100%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	border: 1px solid var(--tech-line);
	border-radius: 18px;
	background: var(--tech-line);
}

.comparison-cards section {
	min-width: 0;
	padding: 24px;
	background: #f9fcfa;
}

.comparison-cards section > span {
	color: var(--tech-green);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.14em;
}

.comparison-cards h3 {
	margin: 32px 0 10px;
	font-size: 1.22rem;
}

.comparison-cards p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.58;
}

.profile-faq {
	max-width: 100%;
	border-top: 1px solid var(--tech-line);
}

.profile-faq section {
	padding: 24px 0;
	border-bottom: 1px solid var(--tech-line);
}

.profile-faq h3 {
	margin: 0 0 8px;
	font-size: 1.2rem;
}

.profile-faq p {
	margin: 0;
}

.profile-source {
	margin-top: 46px;
}

.catalog-source-note {
	margin: 22px 0 0;
	padding: 16px 18px;
	border: 1px solid var(--tech-line);
	border-radius: 12px;
	color: var(--tech-muted);
	background: #f8fcf9;
	font-size: 0.82rem;
	line-height: 1.55;
}

.catalog-guide {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	min-width: 0;
	gap: 18px;
	margin-top: 54px;
	padding-top: 42px;
	border-top: 1px solid var(--tech-line);
}

.catalog-guide > * {
	min-width: 0;
	max-width: 100%;
}

.catalog-guide > h2,
.vch-guide h2,
.vch-guide h3 {
	max-width: 900px;
}

.catalog-guide .comparison-table,
.catalog-guide .source-panel,
.vch-guide .comparison-table,
.vch-guide .source-panel {
	margin: 10px 0 18px;
}

.catalog-guide .source-panel h2,
.vch-guide .source-panel h2 {
	margin-bottom: 12px;
	font-size: clamp(1.55rem, 3vw, 2.35rem);
	line-height: 1.08;
}

.catalog-guide .source-panel p,
.vch-guide .source-panel p {
	font-size: 0.96rem;
	line-height: 1.65;
}

.vch-guide-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.vch-guide h2 {
	font-size: clamp(1.65rem, 3vw, 2.55rem);
	line-height: 1.08;
}

.vch-guide h3 {
	font-size: clamp(1.05rem, 1.7vw, 1.3rem);
	line-height: 1.2;
}

.vch-guide-copy {
	display: grid;
	gap: 10px;
}

.vch-guide-copy h3 {
	margin: 16px 0 0;
}

.vch-guide-copy p {
	margin: 0;
	color: var(--tech-muted);
	font-size: 0.96rem;
	line-height: 1.72;
}

.vch-guide .comparison-table table {
	width: 100%;
	min-width: 0;
	table-layout: fixed;
	font-size: 0.82rem;
}

.vch-guide .comparison-table th,
.vch-guide .comparison-table td {
	padding: 12px 10px;
	vertical-align: top;
	overflow-wrap: anywhere;
}

.vch-guide .comparison-table {
	position: sticky;
	top: 104px;
}

@media (max-width: 1120px) {
	.hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
	}

	.service-grid,
	.company-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.comparison-cards {
		grid-template-columns: 1fr;
	}

	.catalog-method-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.catalog-tools {
		grid-template-columns: minmax(240px, 1fr) minmax(240px, 0.8fr);
	}

	.catalog-count {
		grid-column: 1 / -1;
		grid-template-columns: auto 1fr;
		align-items: baseline;
		gap: 8px;
	}
}

@media (max-width: 840px) {
	.hero-grid,
	.inner-hero-grid,
	.methodology-grid,
	.calculator-heading,
	.section-heading,
	.article-layout,
	.vch-guide-grid {
		grid-template-columns: 1fr;
	}

	.vch-guide .comparison-table {
		position: static;
	}

	.hero-panel {
		width: min(100%, 560px);
	}

	.article-sticky-cta {
		order: -1;
	}

	.calculator-heading p {
		padding: 0;
		border: 0;
	}

	.article-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.catalog-tools {
		grid-template-columns: 1fr;
	}

	.catalog-count {
		grid-column: auto;
	}

	.company-grid-large {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.profile-steps {
		grid-template-columns: 1fr;
	}

	.page-layout-region {
		grid-template-columns: 1fr;
	}

	.page-layout-region .sticky-cta {
		position: static;
	}
}

@media (max-width: 580px) {
	body.osago-ui {
		background-size: 24px 24px;
	}

	.section {
		padding: 52px 0;
	}

	.hero {
		padding: 42px 0 52px;
	}

	.hero-copy h1 {
		font-size: 2.35rem;
	}

	.inner-hero h1 {
		max-width: 100%;
		font-size: clamp(1.85rem, 9vw, 2.5rem);
		line-height: 1.02;
		overflow-wrap: break-word;
		word-break: normal;
		hyphens: auto;
	}

	.inner-hero p {
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	.price-visual {
		min-height: 245px;
	}

	.service-grid,
	.company-grid,
	.company-grid-large,
	.article-grid {
		grid-template-columns: 1fr;
	}

	.catalog-tools {
		padding: 18px;
	}

	.company-card-large {
		grid-template-columns: 58px minmax(0, 1fr);
		min-height: 142px;
		padding: 16px;
	}

	.company-card-large .company-logo {
		width: 58px;
		height: 58px;
		flex-basis: 58px;
	}

	.related-links {
		grid-template-columns: 1fr;
	}

	.related-links a {
		min-height: 0;
	}

	.reminder-builder,
	.reminder-builder__form {
		grid-template-columns: 1fr;
	}

	.catalog-method-grid {
		grid-template-columns: 1fr;
	}

	.catalog-method-grid > div {
		min-height: 0;
	}

	.service-card {
		min-height: 210px;
	}

	.method-steps > div {
		min-height: 0;
	}

	.prose {
		padding: 22px 18px;
		border-radius: 16px;
	}

	.profile-steps li,
	.comparison-cards section {
		min-height: 0;
		padding: 18px;
	}

	.company-profile-summary,
	.profile-source {
		padding: 20px 18px;
	}

	.official-check-card {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.official-check-card__mark {
		width: 58px;
		height: 58px;
		border-radius: 15px;
	}

	.article-meta {
		gap: 8px;
		margin-top: 22px;
	}

	.article-meta span {
		min-height: 32px;
		padding: 0 11px;
		font-size: 0.72rem;
	}

	.article-inline-cta {
		margin-top: 36px;
	}

	.prose table {
		min-width: 620px;
	}

	.region-table table {
		min-width: 470px;
	}

	.region-steps,
	.region-check-grid,
	.region-comparison,
	.region-hub-grid,
	.region-preview-grid {
		grid-template-columns: 1fr;
	}

	.region-steps li,
	.region-card {
		min-height: 0;
	}

	.region-jump {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.region-jump a {
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.button::after {
		display: none;
	}
}
