:root {
	--tp-primary: #1a237e;
	--tp-secondary: #283593;
	--tp-accent: #ff6f00;
	--tp-bg: #ffffff;
	--tp-bg-accent: #f5f5f5;
	--tp-text: #212121;
	--tp-border: #d8dced;
	--tp-shadow: 0 14px 34px rgba(26, 35, 126, 0.1);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
	font-size: 16px;
	color: var(--tp-text);
	background: var(--tp-bg);
	line-height: 1.62;
}

.tp-page {
	background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}

.tp-page--about-lean {
	background: #fff;
}

.tp-page--products {
	background: linear-gradient(180deg, #f8f9fe 0%, #ffffff 40%);
}

.tp-container {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

.tp-center {
	text-align: center;
}

.tp-left {
	text-align: left;
}

.tp-right {
	text-align: right;
}

.tp-heading-xl,
.tp-heading-l,
.tp-heading-m,
.tp-heading-s,
.tp-heading-xs,
.tp-heading-xxs {
	font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
	color: var(--tp-primary);
	margin: 0;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.tp-heading-xl {
	font-size: clamp(40px, 5.4vw, 56px);
}

.tp-heading-l {
	font-size: clamp(32px, 4.4vw, 48px);
}

.tp-heading-m {
	font-size: clamp(32px, 3.8vw, 40px);
}

.tp-heading-s {
	font-size: clamp(18px, 2.2vw, 24px);
}

.tp-heading-xs {
	font-size: clamp(16px, 2vw, 20px);
}

.tp-heading-xxs {
	font-size: clamp(16px, 2vw, 18px);
	font-weight: 400;
}

.tp-body-lg {
	font-size: clamp(16px, 2vw, 18px);
}

.tp-body-md {
	font-size: clamp(14px, 1.8vw, 16px);
}

.tp-body-sm {
	font-size: clamp(12px, 1.7vw, 14px);
}

.tp-body-lg,
.tp-body-md,
.tp-body-sm {
	margin: 0;
}

.tp-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 700;
	font-size: 12px;
	color: var(--tp-accent);
	margin: 0 0 12px;
	margin-top: 0 !important;
}

/* Normalize eyebrow top spacing across all pages/sections */
.tp-page .tp-eyebrow,
.tp-hero .tp-eyebrow,
.tp-section-title .tp-eyebrow,
.tp-products-featured__content .tp-eyebrow,
.tp-about-split__content .tp-eyebrow {
	margin-top: 0 !important;
}

.tp-nav-wrap {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(8px);
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--tp-border);
}

.tp-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 16px 0;
}

.tp-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
	font-weight: 700;
	color: var(--tp-primary);
	text-decoration: none;
}

.tp-brand img {
	display: block;
	height: 30px;
	width: auto;
	max-width: 180px;
}

.tp-nav__links {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tp-nav__links a {
	color: var(--tp-text);
	text-decoration: none;
	font-weight: 500;
	padding: 8px 11px;
	border-radius: 8px;
}

.tp-nav__links a:hover,
.tp-nav__links a.is-active {
	color: var(--tp-primary);
	background: #eef0fb;
}

.tp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-btn:hover {
	transform: translateY(-1px);
}

.tp-btn--primary {
	background: var(--tp-primary);
	color: #fff;
	box-shadow: 0 10px 20px rgba(26, 35, 126, 0.2);
}

.tp-btn--ghost {
	background: #fff;
	color: var(--tp-primary);
	border-color: var(--tp-border);
}

.tp-btn--accent {
	background: var(--tp-accent);
	color: #fff;
}

.tp-hero {
	padding: 92px 0;
	background: radial-gradient(circle at 10% 10%, #f2f4ff 0%, #ffffff 56%);
}

.tp-hero--home {
	min-height: 66vh;
	display: flex;
	align-items: center;
}

.tp-hero--home .tp-eyebrow {
	margin-top: 12px !important;
}

.tp-hero--mini {
	padding: 76px 0;
}

.tp-hero__inner {
	display: grid;
	gap: 20px;
	justify-items: center;
}

.tp-animated-headline {
	animation: tpFadeSlide 900ms ease both;
}

@keyframes tpFadeSlide {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tp-section {
	padding: 76px 0;
}

.tp-section--accent {
	background: var(--tp-bg-accent);
}

.tp-section--contact {
	padding-top: 46px;
}

.tp-section--about-core {
	padding-top: 36px;
}

.tp-section--about-gallery {
	padding-top: 0;
}

.tp-products-hero__copy {
	max-width: 760px;
	margin: 0 auto;
}

.tp-proof-section .tp-section-title {
	margin-bottom: 30px;
}

.tp-proof-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 22px;
	align-items: start;
}

.tp-proof-col {
	display: grid;
	gap: 16px;
}

.tp-proof-col > .tp-heading-s {
	margin-bottom: 2px;
}

.tp-proof-testimonial {
	min-height: 250px;
	display: grid;
	align-content: start;
	gap: 10px;
}

.tp-proof-work-grid {
	gap: 14px;
}

.tp-proof-work-card {
	text-align: left;
	display: grid;
	gap: 10px;
	align-content: start;
	min-height: 250px;
}

.tp-proof-work-card .tp-work-thumb,
.tp-proof-work-card .tp-work-thumb-img {
	margin-bottom: 14px;
}

.tp-proof-work-card .tp-heading-xs {
	margin-bottom: 2px;
}

.tp-section-title {
	margin-bottom: 28px;
}

.tp-section-title .tp-eyebrow {
	margin-bottom: 14px;
}

.tp-section-title .tp-heading-l,
.tp-section-title .tp-heading-m,
.tp-section-title .tp-heading-s {
	margin-bottom: 10px;
}

.tp-heading-l + .tp-body-md,
.tp-heading-m + .tp-body-md,
.tp-heading-s + .tp-body-md,
.tp-heading-xs + .tp-body-sm {
	margin-top: 14px;
}

.tp-grid {
	display: grid;
	gap: 22px;
}

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

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

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

.tp-card,
.tp-work-card,
.tp-team-card,
.tp-testimonial-card,
.tp-list-card,
.tp-video-box,
.tp-cta-box,
.tp-form,
.tp-faq-item,
.tp-media-block {
	background: #fff;
	border: 1px solid var(--tp-border);
	border-radius: 16px;
	box-shadow: var(--tp-shadow);
}

.tp-card,
.tp-work-card,
.tp-team-card,
.tp-testimonial-card,
.tp-video-box,
.tp-cta-box {
	padding: 24px;
}

.tp-card .tp-heading-s,
.tp-card .tp-heading-xs,
.tp-work-card .tp-heading-xs,
.tp-team-card .tp-heading-xs,
.tp-team-card .tp-heading-xxs,
.tp-testimonial-card .tp-heading-m {
	margin-bottom: 10px;
}

.tp-icon {
	width: 52px;
	height: 52px;
	margin: 0 auto 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #e9ecff;
	color: var(--tp-primary);
	font-weight: 700;
}

.tp-stars {
	color: var(--tp-accent);
	letter-spacing: 0.1em;
	margin: 0 0 12px;
}

.tp-meta {
	font-size: 13px;
	color: #5b5b5b;
	margin: 12px 0 0;
}

.tp-work-thumb,
.tp-avatar,
.tp-media-block {
	width: 100%;
	border-radius: 12px;
	background: linear-gradient(135deg, #d8dced, #f1f3fa);
}

.tp-work-thumb-img,
.tp-avatar-img,
.tp-media-block-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
	object-fit: cover;
}

.tp-work-thumb-img {
	height: 120px;
	margin-bottom: 12px;
}

.tp-avatar-img {
	height: 170px;
	margin-bottom: 12px;
}

.tp-work-thumb {
	height: 120px;
	margin-bottom: 12px;
}

.tp-avatar {
	width: 112px;
	height: 112px;
	margin: 6px auto 14px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 24px rgba(26, 35, 126, 0.18);
}

.tp-avatar span {
	font-size: 31px;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.tp-avatar--style-a {
	background: linear-gradient(135deg, #4f46e5, #2563eb);
}

.tp-avatar--style-b {
	background: linear-gradient(135deg, #db2777, #9333ea);
}

.tp-avatar--style-c {
	background: linear-gradient(135deg, #0f766e, #0891b2);
}

.tp-media-block {
	min-height: 260px;
}

.tp-media-block-img {
	height: 260px;
}

.tp-media-block--dark {
	background: linear-gradient(135deg, var(--tp-primary), var(--tp-secondary));
}

.tp-cta-box {
	display: grid;
	gap: 14px;
	justify-items: center;
}

.tp-cta-box--primary {
	background: linear-gradient(135deg, var(--tp-primary), var(--tp-secondary));
	color: #fff;
	border: 0;
}

.tp-cta-box--primary h2,
.tp-cta-box--primary h3,
.tp-cta-box--primary p {
	color: #fff;
}

.tp-inline-form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	width: 100%;
	margin-top: 6px;
}

.tp-inline-form input {
	width: min(420px, 100%);
}

.tp-form,
.tp-list-card {
	padding: 18px;
}

.tp-form {
	display: grid;
	gap: 12px;
}

.tp-form--center {
	max-width: 680px;
	margin: 0 auto;
}

.tp-form input,
.tp-form textarea,
.tp-inline-form input {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #cfd5ea;
	border-radius: 10px;
	font-family: inherit;
	font-size: 15px;
}

.tp-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.tp-notice {
	max-width: 680px;
	margin: 12px auto 14px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
}

.tp-notice--success {
	background: #e7f8ed;
	color: #14532d;
	border: 1px solid #b5e4c7;
}

.tp-notice--error {
	background: #fdecec;
	color: #8d1c1c;
	border: 1px solid #f4b5b5;
}

.tp-map-embed iframe {
	width: 100%;
	min-height: 260px;
	border: 0;
	border-radius: 16px;
}

.tp-social-list {
	display: flex;
	gap: 12px;
	margin-top: 12px;
}

.tp-home-contact-title {
	margin-bottom: 16px;
}

.tp-home-contact-grid {
	align-items: stretch;
}

.tp-home-contact-left,
.tp-home-contact-right {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.tp-home-contact-left .tp-form,
.tp-home-contact-right .tp-home-contact-card {
	flex: 1;
}

.tp-page .tp-section .tp-left .tp-heading-m + .tp-list-card {
	margin-top: 16px;
}

.tp-home-contact .tp-form {
	gap: 14px;
}

.tp-home-contact .tp-form textarea {
	min-height: 160px;
}

.tp-home-contact .tp-map-embed iframe {
	min-height: 330px;
}

.tp-home-contact .tp-social-list {
	margin-top: 18px;
	gap: 10px;
}

.tp-home-contact-right {
	padding-top: 0;
	box-sizing: border-box;
}

.tp-home-contact-card {
	align-content: stretch;
	height: 100%;
	grid-template-rows: 1fr auto;
}

.tp-home-contact-card .tp-map-embed,
.tp-home-contact-card .tp-map-embed iframe {
	height: 100%;
}

.tp-facebook-btn {
	width: 100%;
	justify-content: center;
	border-radius: 999px;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	background: var(--tp-primary);
	color: #fff;
	border: 1px solid transparent;
	box-shadow: 0 10px 20px rgba(26, 35, 126, 0.2);
}

.tp-facebook-btn svg {
	width: 18px;
	height: 18px;
	fill: #fff;
}

.tp-social-list .tp-facebook-btn {
	color: #fff;
	text-decoration: none;
}

.tp-contact-info-section .tp-container {
	align-items: start;
}

.tp-contact-info-right {
	align-self: stretch;
}

.tp-contact-info-card {
	align-content: stretch;
	height: 100%;
	grid-template-rows: 1fr auto;
}

.tp-contact-info-section .tp-map-embed {
	margin-top: 0;
	height: 100%;
	align-self: stretch;
}

.tp-contact-info-card .tp-map-embed,
.tp-contact-info-card .tp-map-embed iframe {
	height: 100%;
}

.tp-contact-info-section .tp-map-embed iframe {
	height: 100%;
	min-height: 0;
}

.tp-contact-info-section .tp-social-list {
	margin-top: 18px;
}

.tp-contact-info-section .tp-list-card {
	height: 100%;
	min-height: 0;
	align-content: start;
}

.tp-social-icon-link {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #e9edff;
	color: var(--tp-primary);
	border: 1px solid #cfd6f4;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.tp-social-icon-link:hover {
	transform: translateY(-1px);
	background: #dfe6ff;
}

.tp-social-icon-link svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.tp-social-list a,
.tp-site-footer__links a {
	text-decoration: none;
	font-weight: 600;
	color: var(--tp-primary);
}

.tp-list-card {
	margin: 0;
	padding-left: 30px;
	display: grid;
	gap: 12px;
}

.tp-contact-list {
	padding-left: 20px;
	gap: 14px;
}

.tp-contact-list li {
	display: grid;
	gap: 5px;
	line-height: 1.5;
}

.tp-contact-list__label {
	font-size: 14px;
	font-weight: 700;
	color: var(--tp-primary);
	letter-spacing: 0.01em;
}

.tp-contact-list__value {
	font-size: 16px;
	color: #272933;
}

.tp-contact-list__value a {
	color: #272933;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.tp-contact-list__value a:hover {
	color: var(--tp-primary);
	border-bottom-color: rgba(26, 35, 126, 0.35);
}

.tp-video-box {
	display: grid;
	gap: 10px;
}

.tp-align-end {
	display: flex;
	align-items: end;
}

.tp-faq-item {
	padding: 14px;
	margin-bottom: 10px;
}

.tp-faq-item summary {
	font-weight: 600;
	cursor: pointer;
}

.tp-site-footer {
	border-top: 1px solid var(--tp-border);
	padding: 22px 0 34px;
	margin-top: 28px;
}

.tp-site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.tp-site-footer__links {
	display: flex;
	gap: 12px;
}

.tp-about-hero .tp-about-intro {
	max-width: 760px;
	margin: 0 auto 14px;
}

.tp-about-hero .tp-heading-l {
	margin-bottom: 18px;
}

.tp-about-core-card {
	padding: 26px;
}

.tp-about-photo {
	height: 230px;
	border-radius: 14px;
	background: linear-gradient(135deg, #d8dced, #f1f3fa);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid var(--tp-border);
}

.tp-section--about-gallery .tp-about-photo:nth-child(1) {
	background-image: url("../images/about-abstract-1.svg");
}

.tp-section--about-gallery .tp-about-photo:nth-child(2) {
	background-image: url("../images/about-abstract-2.svg");
}

.tp-section--about-gallery .tp-about-photo:nth-child(3) {
	background-image: url("../images/about-abstract-3.svg");
}

.tp-section--about-gallery .tp-about-photo:nth-child(4) {
	background-image: url("../images/about-abstract-4.svg");
}

.tp-about-split {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 26px;
	align-items: center;
}

.tp-about-split--reverse {
	grid-template-columns: 1fr 1.1fr;
}

.tp-about-split__content {
	display: grid;
	gap: 12px;
}

.tp-about-split__media {
	min-height: 320px;
	border-radius: 16px;
	border: 1px solid var(--tp-border);
	background: linear-gradient(135deg, #e6eaf8, #f8f9fe);
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.tp-about-split__media-img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	display: block;
	object-fit: cover;
}

.tp-about-split__media--products {
	background-image: linear-gradient(135deg, #e6eaf8, #f8f9fe), url("../images/about-products-ai.png");
}

.tp-about-split__media--people {
	background-image: linear-gradient(135deg, #e6eaf8, #f8f9fe), url("../images/about-people-ai.png");
}

.tp-products-featured {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 24px;
	background: #fff;
	padding: 20px;
	border: 1px solid var(--tp-border);
	border-radius: 18px;
	box-shadow: var(--tp-shadow);
}

.tp-products-featured__img,
.tp-products-featured__placeholder {
	width: 100%;
	height: 320px;
	border-radius: 14px;
	display: block;
	object-fit: cover;
	background: #f7f8fc;
}

.tp-products-featured__placeholder {
	background: linear-gradient(135deg, #d8dced, #f1f3fa);
}

.tp-products-featured__content {
	display: grid;
	gap: 14px;
	align-content: center;
}

.tp-products-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tp-products-meta span {
	font-size: 12px;
	font-weight: 600;
	color: var(--tp-secondary);
	background: #eef0fb;
	padding: 6px 10px;
	border-radius: 999px;
}

.tp-products-grid {
	row-gap: 22px;
}

.tp-product-card {
	display: grid;
	background: #fff;
	border: 1px solid var(--tp-border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--tp-shadow);
}

.tp-product-card__img,
.tp-product-card__placeholder {
	width: 100%;
	height: 200px;
	display: block;
	object-fit: cover;
	background: linear-gradient(135deg, #d8dced, #f1f3fa);
}

.tp-product-card__body {
	display: grid;
	gap: 12px;
	padding: 18px;
}

@media (max-width: 1024px) {
	.tp-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.tp-nav {
		flex-wrap: wrap;
	}

	.tp-nav__links {
		order: 3;
		width: 100%;
		overflow-x: auto;
	}

	.tp-brand img {
		height: 26px;
		max-width: 160px;
	}

	.tp-grid--2,
	.tp-grid--3,
	.tp-grid--4 {
		grid-template-columns: 1fr;
	}

	.tp-right {
		text-align: left;
	}

	.tp-hero {
		padding: 68px 0;
	}

	.tp-about-split,
	.tp-about-split--reverse {
		grid-template-columns: 1fr;
	}

	.tp-products-featured {
		grid-template-columns: 1fr;
	}

	.tp-home-contact .tp-heading-l {
		margin-bottom: 14px;
	}

	.tp-home-contact .tp-map-embed {
		margin-top: 0;
	}

	.tp-home-contact .tp-map-embed iframe {
		min-height: 260px;
		height: auto;
	}

	.tp-home-contact-right {
		padding-top: 0;
	}

	.tp-home-contact-card {
		height: auto;
	}

	.tp-home-contact-left .tp-form,
	.tp-home-contact-right .tp-home-contact-card {
		flex: initial;
	}

	.tp-contact-info-section .tp-map-embed {
		margin-top: 0;
	}

	.tp-contact-info-card {
		height: auto;
	}

	.tp-contact-info-section .tp-map-embed iframe {
		height: auto;
		min-height: 260px;
	}

	.tp-contact-info-section .tp-list-card {
		height: auto;
		min-height: auto;
	}

	.tp-proof-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.tp-proof-testimonial,
	.tp-proof-work-card {
		min-height: unset;
	}
}

@media (max-width: 640px) {
	.tp-container {
		width: calc(100% - 28px);
	}

	.tp-section {
		padding: 58px 0;
	}

	.tp-contact-list__value {
		font-size: 15px;
	}
}
