/* ==========================================================================
   Navigate section
   ========================================================================== */

.tt-navigate {
	width: 100%;
	margin: 0 auto;
	padding: 48px 20px;
	box-sizing: border-box;
	font-family: var(--tt-font-family, "Plus Jakarta Sans", sans-serif);
}

.tt-navigate__inner {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

.tt-navigate__text {
	width: 100%;
	text-align: center;
}

.tt-navigate__title {
	width: 100%;
	margin: 0;
	color: #25266b;
	text-align: center;
	font-size: var(--typography-font-size-2xl, 24px);
	font-weight: 600;
	line-height: 140%;
	letter-spacing: 0;
}

.tt-navigate__filter {
	width: 100%;
}

.tt-navigate__filter ul {
	width: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	align-content: flex-start;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
}

.tt-navigate__filter ul li {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	list-style: none;
}

.tt-navigate__filter ul li button {
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 0 8px;
	box-sizing: border-box;
	border: 1px solid #ccccff;
	border-radius: 8px;
	background-color: #ffffff;
	color: #3f41b5;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 150%;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.tt-navigate__filter ul li button svg {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	display: block;
}

.tt-navigate__filter ul li button svg path {
	fill: currentColor;
	transition: fill 0.2s ease;
}

.tt-navigate__filter ul li button:hover,
.tt-navigate__filter ul li button:focus-visible {
	border-color: #5153e8;
	background-color: #5153e8;
	color: #ffffff;
}

.tt-navigate__filter ul li button:focus-visible {
	outline: 2px solid #25266b;
	outline-offset: 3px;
}

/* ==========================================================================
   900px to 1199px viewport
   Content width: 550px
   ========================================================================== */

@media (min-width: 600px) and (max-width: 899px) {
	.tt-navigate {
		padding: 48px 24px;
	}

	.tt-navigate__inner {
		max-width: 550px;
	}

	.tt-navigate__filter ul li button {
		height: 36px;
		padding: 0 10px;
		font-size: 14px;
	}
}

/* ==========================================================================
   1200px to 1439px viewport
   Content width: 850px
   ========================================================================== */

@media (min-width: 900px) and (max-width: 1199px) {
	.tt-navigate {
		padding: 96px 24px;
	}

	.tt-navigate__inner {
		max-width: 850px;
		gap: 48px;
	}

	.tt-navigate__title {
		max-width: 850px;
		margin: 0 auto;
		font-size: var(--typography-font-size-4xl, 36px);
		letter-spacing: -0.02em;
	}

	.tt-navigate__filter {
		max-width: 832px;
		margin: 0 auto;
	}

	.tt-navigate__filter ul li button {
		height: 48px;
		gap: 6px;
		padding: 0 16px;
		font-size: var(--typography-font-size-md, 16px);
	}

	.tt-navigate__filter ul li button svg {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}
}

/* ==========================================================================
   1440px to 1919px viewport
   Content width: 1040px
   ========================================================================== */

@media (min-width: 1200px) and (max-width: 1439px) {
	.tt-navigate {
		padding: 144px 24px;
	}

	.tt-navigate__inner {
		max-width: 1040px;
		gap: 48px;
	}

	.tt-navigate__title {
		max-width: 862px;
		margin: 0 auto;
		font-size: var(--typography-font-size-4xl, 36px);
		letter-spacing: -0.02em;
	}

	.tt-navigate__filter {
		max-width: 832px;
		margin: 0 auto;
	}

	.tt-navigate__filter ul li button {
		height: 48px;
		gap: 6px;
		padding: 0 16px;
		font-size: var(--typography-font-size-md, 16px);
	}

	.tt-navigate__filter ul li button svg {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}
}

/* ==========================================================================
   1920px and up viewport
   Content width: 1260px
   ========================================================================== */

@media (min-width: 1440px) {
	.tt-navigate {
		padding: 256px 24px;
	}

	.tt-navigate__inner {
		max-width: 1260px;
		gap: 48px;
	}

	.tt-navigate__title {
		max-width: 1046px;
		margin: 0 auto;
		font-size: var(--typography-font-size-4xl, 36px);
		letter-spacing: -0.02em;
	}

	.tt-navigate__filter {
		max-width: 832px;
		margin: 0 auto;
	}

	.tt-navigate__filter ul li button {
		height: 48px;
		gap: 6px;
		padding: 0 16px;
		font-size: var(--typography-font-size-md, 16px);
	}

	.tt-navigate__filter ul li button svg {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}
}

/* Design review fixes for the features page anchors */
.tt-features .tt-navigate__filter ul li button:hover,
.tt-features .tt-navigate__filter ul li button:focus-visible {
	border-color: #7a7cff;
	background-color: #eeefff;
	color: #25266b;
}

/* Figma text wrapping: the XL design uses explicit title lines. */
.tt-features .tt-navigate__title span {
	display: block;
	margin: 0;
	line-height: 140%;
}

.tt-features .tt-navigate__title span:not(:last-child) {
	margin-bottom: 0;
}

/* XL features page spacing: hero content to navigation content = 192px page gap + 256px navigation padding = 448px. */
@media (min-width: 1440px) {
	.tt-features .tt-hero-split + .tt-navigate {
		margin-top: 192px;
	}
}

/* ==========================================================================
   Features page spacing corrections
   Kept in the source component file so the design-review layer does not carry layout fixes.
   ========================================================================== */

.tt-features .tt-hero-split + .tt-navigate {
	margin-top: 144px;
}

@media (min-width: 900px) {
	.tt-features .tt-hero-split + .tt-navigate {
		margin-top: 192px;
	}
}
