.tnstack-section {
	--tnstack-accent: var(--primary-color, #d4a017);
	--tnstack-ink: #16212b;
	--tnstack-muted: #66727e;
	box-sizing: border-box;
	font-family: inherit;
}

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

.tnstack-section__heading {
	max-width: 720px;
	margin: 0 auto 44px;
	text-align: center;
}

.tnstack-section__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: var(--tnstack-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .13em;
	line-height: 1.4;
	text-transform: uppercase;
}

.tnstack-section__eyebrow::before {
	width: 24px;
	height: 2px;
	background: currentColor;
	content: "";
}

.tnstack-section__title,
.tnstack-contact__title {
	margin: 0;
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.15;
  text-transform: uppercase;
}

.tnstack-section__title {
	color: var(--tnstack-ink);
}

.tnstack-section__desc,
.tnstack-contact__desc {
	margin: 16px 0 0;
	font-size: 17px;
	line-height: 1.7;
}

.tnstack-section__desc {
	color: var(--tnstack-muted);
}

.tnstack-process {
	padding: clamp(26px, 8vw, 46px) 20px;
}

.tnstack-process__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	counter-reset: tnstack-step;
}

.tnstack-process__item {
	position: relative;
	min-width: 0;
	margin: 0;
	padding: 28px;
	border: 1px solid #e9ecef;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 35px rgba(16, 33, 48, .06);
	transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.tnstack-process__item:hover {
	border-color: color-mix(in srgb, var(--tnstack-accent) 50%, #e9ecef);
	box-shadow: 0 18px 44px rgba(16, 33, 48, .1);
	transform: translateY(-5px);
}

.tnstack-process__item:not(:last-child)::after {
	position: absolute;
	top: 50px;
	right: -21px;
	z-index: 2;
	width: 20px;
	height: 1px;
	background: #dfe4e8;
	content: "";
}

.tnstack-process__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
}

.tnstack-process__icon,
.tnstack-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.tnstack-process__icon {
	width: 54px;
	height: 54px;
	border-radius: 15px;
	background: #fbf6e8;
	background: color-mix(in srgb, var(--tnstack-accent) 13%, #fff);
	color: var(--tnstack-accent);
}

.tnstack-process__icon svg,
.tnstack-contact__icon svg,
.tnstack-contact__button svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.tnstack-process__icon svg {
	width: 26px;
	height: 26px;
}

.tnstack-process__number {
	color: #d7dce0;
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
}

.tnstack-process__item h3 {
	margin: 0 0 12px;
	color: var(--tnstack-ink);
	font-size: 20px;
	line-height: 1.35;
}

.tnstack-process__item p {
	margin: 0;
	color: var(--tnstack-muted);
	font-size: 15px;
	line-height: 1.7;
}

.tnstack-why {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(26px, 8vw, 46px) 20px;
}

.tnstack-why__heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
	gap: 48px;
	align-items: end;
	margin-bottom: 46px;
}

.tnstack-why__heading .tnstack-section__desc {
	margin: 0;
}

.tnstack-why__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid #e3e8ec;
	border-left: 1px solid #e3e8ec;
}

.tnstack-why__item {
	display: flex;
	gap: 20px;
	min-width: 0;
	margin: 0;
	padding: 34px 28px;
	border-right: 1px solid #e3e8ec;
	border-bottom: 1px solid #e3e8ec;
	background: #fff;
	transition: background-color .25s ease;
}

.tnstack-why__item:hover {
	background: #fafbfc;
}

.tnstack-why__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--tnstack-ink);
	color: #fff;
}

.tnstack-why__icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.tnstack-why__item h3 {
	margin: 1px 0 9px;
	color: var(--tnstack-ink);
	font-size: 19px;
	line-height: 1.35;
}

.tnstack-why__item p {
	margin: 0;
	color: var(--tnstack-muted);
	font-size: 15px;
	line-height: 1.65;
}

.tnstack-contact {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
	gap: clamp(40px, 7vw, 26px);
	align-items: center;
	max-width: 1280px;
	margin: clamp(40px, 7vw, 80px) auto;
	padding: clamp(42px, 7vw, 56px);
	border-radius: 24px;
	background: var(--tnstack-ink);
	color: #fff;
	overflow: hidden;
	position: relative;
}

.tnstack-contact::before {
	position: absolute;
	top: -130px;
	left: -100px;
	width: 330px;
	height: 330px;
	border: 80px solid rgba(255, 255, 255, .025);
	border-radius: 50%;
	content: "";
}

.tnstack-contact__intro,
.tnstack-contact__details {
	position: relative;
	z-index: 1;
}

.tnstack-section__eyebrow--light {
	color: #f3c959;
}

.tnstack-contact__title {
	color: #fff;
}

.tnstack-contact__desc {
	max-width: 590px;
	color: rgba(255, 255, 255, .72);
}

.tnstack-contact__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	margin-top: 28px;
	padding: 0 24px;
	border-radius: 999px;
	background: var(--tnstack-accent);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: filter .2s ease, transform .2s ease;
}

.tnstack-contact__button:hover {
	color: #fff;
	filter: brightness(.92);
	transform: translateY(-2px);
}

.tnstack-contact__button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.tnstack-contact__button svg {
	width: 19px;
	height: 19px;
}

.tnstack-contact__details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 18px;
	background: rgba(255, 255, 255, .12);
	overflow: hidden;
}

.tnstack-contact__item {
	display: flex;
	gap: 15px;
	align-items: flex-start;
	min-width: 0;
	padding: 24px 20px;
	background: rgba(255, 255, 255, .055);
}

.tnstack-contact__icon {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .1);
	color: #f3c959;
}

.tnstack-contact__icon svg {
	width: 20px;
	height: 20px;
}

.tnstack-contact__label {
	display: block;
	margin: 1px 0 5px;
	color: rgba(255, 255, 255, .55);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.tnstack-contact__item a,
.tnstack-contact__value {
	display: block;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.tnstack-contact__item a:hover {
	color: #f3c959;
}

@media (max-width: 960px) {
	.tnstack-process__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tnstack-process__item:nth-child(2)::after {
		display: none;
	}

	.tnstack-contact {
		grid-template-columns: 1fr;
		margin-right: 20px;
		margin-left: 20px;
	}

	.tnstack-why__heading {
		grid-template-columns: 1fr;
		gap: 18px;
	}

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

@media (max-width: 560px) {
	.tnstack-section__heading {
		margin-bottom: 30px;
		text-align: left;
	}

	.tnstack-process {
		padding-right: 16px;
		padding-left: 16px;
	}

	.tnstack-process__list,
	.tnstack-contact__details,
	.tnstack-why__grid {
		grid-template-columns: 1fr;
	}

	.tnstack-process__item {
		padding: 24px;
	}

	.tnstack-process__item::after {
		display: none;
	}

	.tnstack-contact {
		gap: 32px;
		margin-right: 12px;
		margin-left: 12px;
		padding: 36px 24px;
		border-radius: 18px;
	}

	.tnstack-contact__item {
		padding: 20px;
	}

	.tnstack-why {
		padding-right: 16px;
		padding-left: 16px;
	}

	.tnstack-why__heading {
		margin-bottom: 30px;
	}

	.tnstack-why__item {
		padding: 26px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tnstack-process__item,
	.tnstack-contact__button,
	.tnstack-why__item {
		transition: none;
	}
}
