/* =========================================================================
   Architecture ("Архитектура без передачи данных")
   ========================================================================= */
.arch__head {
	max-width: none;
	text-align: left;
	margin-bottom: clamp(28px, 4vw, 48px);
}
.arch__head h2 {
	font-size: clamp(26px, 3.4vw, 36px);
	color: #0d1b3e;
}
.arch__grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1.15fr;
	gap: clamp(24px, 3vw, 40px);
	align-items: start;
}
.arch__nos-card {
	align-self: end;
}

/* --- Card 1: Ваш компьютер (timeline) --- */
.arch__flow {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}
.arch__flow-title {
	background: var(--tint);
	color: var(--blue);
	font-weight: 700;
	font-size: 15px;
	padding: 18px 26px;
}
.arch__flow-list {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 20px 26px 24px 54px;
}
.arch__flow-list li {
	position: relative;
	font-size: 15px;
	font-weight: 400;
	color: var(--ink-2);
	padding: 16px 0;
	border-bottom: 1px solid var(--border-soft);
	line-height: 1.4;
}
.arch__flow-list li:last-child {
	border-bottom: none;
}
/* single continuous line: first row center -> last row center */
.arch__flow-list li:first-child::after {
	content: "";
	position: absolute;
	left: -24px;
	top: 50%;
	width: 2px;
	/* span down to last row: 3 rows * row-height. row center-to-center = li height */
	height: calc(300% + 4px);
	background: var(--blue);
	transform: translateX(-50%);
	z-index: 0;
}
/* dot marker on first row */
.arch__flow-list li:first-child::before {
	content: "";
	position: absolute;
	left: -24px;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--blue);
	z-index: 1;
}
/* chevron markers on rows 2..N, centered on the line */
.arch__flow-list li:not(:first-child)::before {
	content: "";
	position: absolute;
	left: -24px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--blue);
	border-bottom: 2px solid var(--blue);
	transform: translate(-50%, -70%) rotate(45deg);
	z-index: 1;
}

/* --- Card 2: Нет интернета/облака/серверов --- */
.arch__nos-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
	padding: 24px 28px;
	display: grid;
	gap: 22px;
	align-content: center;
}
.arch__no {
	display: flex;
	align-items: center;
	gap: 13px;
	color: #0d1b3e;
	font-weight: 700;
	font-size: 15px;
}
.arch__no svg {
	width: 22px;
	height: 22px;
	color: var(--red);
	flex: none;
}

/* --- Column 3: copy + ticks --- */
.arch__text--lead {
	font-weight: 700;
	color: #0d1b3e;
	font-size: 22px;
	margin-bottom: 16px;
}
.arch__text {
	font-size: 15px;
	color: var(--text-muted);
	line-height: 1.6;
}
.arch__ticks {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
	margin-top: 40px;
}
.arch__tick {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13.5px;
	font-weight: 600;
	color: #1c2433;
}
.arch__tick svg {
	width: 18px;
	height: 18px;
	color: var(--blue);
	flex: none;
}

@media (max-width: 1080px) {
	.arch__grid {
		grid-template-columns: 1fr 1fr;
	}
	.arch__copy {
		grid-column: 1 / -1;
	}
}
@media (max-width: 680px) {
	.arch__grid {
		grid-template-columns: 1fr;
	}
}
