/* ==========================================================================
   Global static cards
   ========================================================================== */

.tt-global__static-cards {
	width: calc(100% - 40px);
	max-width: none;
	margin: 144px auto 0;
	font-family: var(--typography-font-family, "Plus Jakarta Sans", sans-serif);
	color: #1a252f;
}

.tt-global__static-cards,
.tt-global__static-cards * {
	box-sizing: border-box;
}

.tt-global__static-cards-inner {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

/* Intro
   ========================================================================== */

.tt-global__static-cards-intro {
	width: 100%;
	margin: 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.tt-global__static-cards-intro-pill {
	height: 32px;
	margin: 0 0 16px;
	border-radius: 9999px;
	background: #eeefff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 8px;
	color: #3f41b5;
}

.tt-global__static-cards-intro-pill-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 0;
}

.tt-global__static-cards-intro-pill-icon {
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #3f41b5;
}

.tt-global__static-cards-intro-pill-icon svg {
	width: 20px;
	height: 20px;
	display: block;
}

.tt-global__static-cards-intro-pill-icon svg path {
	fill: currentColor;
}

.tt-global__static-cards-intro-pill-label {
	margin: 0;
	padding: 0 4px;
	color: #3f41b5;
	font-family: var(--typography-font-family, "Plus Jakarta Sans", sans-serif);
	font-size: var(--typography-font-size-sm, 14px);
	font-style: normal;
	font-weight: 600;
	line-height: 150%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tt-global__static-cards-intro h2 {
	width: 100%;
	max-width: 100%;
	margin: 0;
	color: #1a252f;
	font-family: var(--typography-font-family, "Plus Jakarta Sans", sans-serif);
	font-size: var(--typography-font-size-3xl, 30px);
	font-style: normal;
	font-weight: 600;
	line-height: 140%;
	letter-spacing: 0;
	text-align: center;
}

.tt-global__static-cards-intro > p {
	width: 100%;
	max-width: 100%;
	margin: 32px 0 0;
	color: #596977;
	font-family: var(--typography-font-family, "Plus Jakarta Sans", sans-serif);
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 150%;
	text-align: center;
}

/* Cards
   ========================================================================== */

.tt-global__static-cards-wrapper,
.tt-global__static-cards-2-col,
.tt-global__static-cards-4-col {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

.tt-global__static-cards-card {
	width: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.tt-global__static-cards-card-img {
	width: min(100%, calc(66.6667vw - 30.6667px));
	height: auto;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	border-radius: 24px;
	background: #f8f9fc;
	overflow: hidden;
	flex-shrink: 0;
}

.tt-global__static-cards-card-img img,
.tt-global__static-cards-card img {
	width: 100%;
	height: 100%;
	display: block;
	border-radius: inherit;
	object-fit: cover;
}

.tt-students .tt-global__static-cards--students-secure-private .tt-global__static-cards-card-img--permission {
	position: relative;
	isolation: isolate;
	background-color: #eeefff;
	background-image: url("/wp-content/themes/talktype-2026/assets/images/Audience%20-%20Student/Secure%20and%20private/Nothing%20shared%20without%20your%20permission%20-%20bg%20%281%29.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.tt-students .tt-global__static-cards--students-secure-private .tt-global__static-cards-card-img--permission img {
	position: relative;
	z-index: 1;
	object-fit: contain;
	object-position: center;
}

.tt-students .tt-global__static-cards--students-typing .tt-global__static-cards-card-img--student-thoughts {
	background-color: #f7f7ff;
	position: relative;
}

.tt-students .tt-global__static-cards--students-typing .tt-global__static-cards-card-img--student-thoughts::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 45%;
	z-index: 1;
	background: linear-gradient(to bottom, transparent 0%, #ffffff 100%);
	pointer-events: none;
}

.tt-students .tt-global__static-cards--students-typing .tt-global__static-cards-card-img--student-thoughts img {
	object-fit: contain;
	object-position: center;
}

.tt-global__static-cards-card-copy {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 20px 16px 8px;
}

.tt-global__static-cards-card-copy p {
	width: 100%;
	margin: 0;
	color: #596977;
	font-family: var(--typography-font-family, "Plus Jakarta Sans", sans-serif);
	font-size: var(--typography-font-size-md, 16px);
	font-style: normal;
	font-weight: 600;
	line-height: 150%;
}

.tt-global__static-cards-card-copy p strong {
	color: #1a252f;
	font-weight: 600;
}

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

@media (min-width: 600px) {
	.tt-global__static-cards {
		max-width: 550px;
		margin-top: 192px;
	}

	.tt-global__static-cards-inner {
		gap: 40px;
	}

	.tt-global__static-cards-intro h2 {
		font-size: var(--typography-font-size-4xl, 36px);
		line-height: 140%;
		letter-spacing: -0.02em;
	}

	.tt-global__static-cards-wrapper,
	.tt-global__static-cards-2-col,
	.tt-global__static-cards-4-col {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 32px;
	}

	.tt-global__static-cards-card {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 24px;
	}

	.tt-global__static-cards-card-img {
		width: 215px;
		height: 215px;
		margin: 0;
	}

	.tt-global__static-cards-card-copy {
		flex: 1;
		padding: 0 0 8px;
	}
}

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

@media (min-width: 900px) {
	.tt-global__static-cards {
		max-width: 850px;
	}

	.tt-global__static-cards-inner {
		gap: 48px;
	}

	.tt-global__static-cards-intro h2 {
		font-size: var(--typography-font-size-5xl, 42px);
		line-height: 135%;
		letter-spacing: -0.02em;
	}

	.tt-global__static-cards-wrapper {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: flex-start;
		gap: 24px;
	}

	.tt-global__static-cards-2-col {
		width: 100%;
		max-width: 559px;
		margin: 0 auto;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: flex-start;
		gap: 24px;
	}

	.tt-global__static-cards-4-col {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: flex-start;
		gap: 24px;
	}

	.tt-global__static-cards-card,
	.tt-global__static-cards-wrapper .tt-global__static-cards-card,
	.tt-global__static-cards-2-col .tt-global__static-cards-card,
	.tt-global__static-cards-4-col .tt-global__static-cards-card {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.tt-global__static-cards-card-img {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
		margin: 0;
	}

	.tt-global__static-cards-card-copy {
		padding: 20px 16px 8px;
	}
}

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

@media (min-width: 1200px) {
	.tt-global__static-cards {
		max-width: 1040px;
	}

	.tt-global__static-cards-inner {
		gap: 64px;
	}

	.tt-global__static-cards-intro h2 {
		max-width: 910px;
		font-size: var(--typography-font-size-6xl, 48px);
		line-height: 135%;
		letter-spacing: -0.02em;
	}

	.tt-global__static-cards-intro > p {
		max-width: 880px;
	}

	.tt-global__static-cards-2-col {
		max-width: 686px;
	}

	.tt-global__static-cards-4-col {
		max-width: 1040px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

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

@media (min-width: 1440px) {
	.tt-global__static-cards {
		max-width: 1260px;
	}

	.tt-global__static-cards-inner {
		gap: 48px;
	}

	.tt-global__static-cards-intro h2 {
		max-width: 910px;
		font-size: var(--typography-font-size-6xl, 48px);
		line-height: 135%;
		letter-spacing: -0.02em;
	}

	.tt-global__static-cards-intro > p {
		max-width: 880px;
	}

	.tt-global__static-cards-card-copy {
		padding: 20px 16px 0;
	}

	.tt-global__static-cards-2-col {
		max-width: 832px;
	}

	.tt-global__static-cards-4-col {
		max-width: 1260px;
	}
}

/* Design review fixes for features static card sections */
.tt-features .tt-global__static-cards--features {
	margin-top: 192px;
}

.tt-features .tt-global__static-cards--features .tt-global__static-cards-inner {
	gap: 48px;
}

.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro {
	max-width: 1046px;
	margin: 0 auto;
	align-items: center;
}

.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro-pill {
	margin: 0 0 16px;
}

.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro h2 {
	max-width: 1046px;
	margin: 0;
	font-size: 48px;
	font-weight: 600;
	line-height: 135%;
	letter-spacing: -0.02em;
}

.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro > p {
	max-width: 832px;
	margin: 32px auto 0;
	color: #596977;
	font-size: 18px;
	font-weight: 600;
	line-height: 150%;
}

.tt-features .tt-global__static-cards--accurate-dictation .tt-global__static-cards-4-col {
	width: 100%;
	max-width: 1260px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	align-items: flex-start;
}

@media (min-width: 1200px) and (max-width: 1439px) {
	.tt-features .tt-global__static-cards--features {
		margin-top: 176px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro h2 {
		max-width: 910px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro > p {
		max-width: 686px;
	}

	.tt-features .tt-global__static-cards--accurate-dictation .tt-global__static-cards-4-col {
		max-width: 1040px;
	}
}

@media (min-width: 900px) and (max-width: 1199px) {
	.tt-features .tt-global__static-cards--features {
		margin-top: 160px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro h2 {
		max-width: 850px;
		font-size: 42px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro > p {
		max-width: 559px;
	}

	.tt-features .tt-global__static-cards--accurate-dictation .tt-global__static-cards-4-col {
		max-width: 850px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 600px) and (max-width: 899px) {
	.tt-features .tt-global__static-cards--features {
		margin-top: 144px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro h2 {
		font-size: 36px;
		line-height: 140%;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro > p {
		max-width: 550px;
	}

	.tt-features .tt-global__static-cards--accurate-dictation .tt-global__static-cards-4-col {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.tt-features .tt-global__static-cards--features {
		width: 100%;
		max-width: 100%;
		margin-top: 112px;
		padding: 0 20px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-inner {
		gap: 40px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro h2 {
		font-size: 30px;
		line-height: 140%;
		letter-spacing: 0;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro > p {
		max-width: 100%;
		font-size: 18px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-wrapper,
	.tt-features .tt-global__static-cards--features .tt-global__static-cards-4-col {
		display: flex;
		flex-direction: column;
		gap: 32px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-card {
		flex-direction: row;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 24px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-card-img {
		width: min(100%, calc(66.6667vw - 30.6667px));
		max-width: 160px;
		min-width: 104px;
		height: auto;
		aspect-ratio: 1 / 1;
		margin: 0;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-card-copy {
		flex: 1 1 0;
		min-width: 0;
		padding: 0;
	}
}

/* ========================================================================== 
   Features page XL correction pass
   ========================================================================== */

.tt-features .tt-global__static-cards--features {
	margin-top: 192px;
}

.tt-features .tt-global__static-cards--features .tt-global__static-cards-inner {
	gap: 48px;
}

.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro {
	width: 100%;
	max-width: 1260px;
	margin: 0 auto;
	align-items: center;
}

.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro-pill {
	margin: 0 0 16px;
}

.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro h2 {
	margin: 0;
	font-size: 48px;
	font-weight: 600;
	line-height: 135%;
	letter-spacing: -0.02em;
}

.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro > p {
	margin: 32px auto 0;
	color: #596977;
	font-size: 18px;
	font-weight: 600;
	line-height: 150%;
}

.tt-features .tt-global__static-cards--accessibility .tt-global__static-cards-intro h2 {
	max-width: 1260px;
}

.tt-features .tt-global__static-cards--accessibility .tt-global__static-cards-intro > p,
.tt-features .tt-global__static-cards--custom-vocabulary .tt-global__static-cards-intro > p {
	max-width: 880px;
}

.tt-features .tt-global__static-cards--custom-vocabulary .tt-global__static-cards-intro h2 {
	max-width: 910px;
}

.tt-features .tt-global__static-cards--accurate-dictation .tt-global__static-cards-intro h2 {
	max-width: 618px;
}

.tt-features .tt-global__static-cards--accurate-dictation .tt-global__static-cards-intro > p {
	max-width: 1046px;
}

.tt-features .tt-global__static-cards--accurate-dictation .tt-global__static-cards-4-col {
	width: 100%;
	max-width: 832px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: flex-start;
	gap: 32px 24px;
}

@media (min-width: 1200px) and (max-width: 1439px) {
	.tt-features .tt-global__static-cards--features {
		margin-top: 176px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro h2 {
		font-size: 48px;
		line-height: 135%;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro > p,
	.tt-features .tt-global__static-cards--accessibility .tt-global__static-cards-intro > p,
	.tt-features .tt-global__static-cards--custom-vocabulary .tt-global__static-cards-intro > p {
		max-width: 686px;
	}

	.tt-features .tt-global__static-cards--accurate-dictation .tt-global__static-cards-intro > p {
		max-width: 910px;
	}
}

@media (min-width: 900px) and (max-width: 1199px) {
	.tt-features .tt-global__static-cards--features {
		margin-top: 160px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro h2 {
		font-size: 42px;
		line-height: 135%;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro > p,
	.tt-features .tt-global__static-cards--accessibility .tt-global__static-cards-intro > p,
	.tt-features .tt-global__static-cards--custom-vocabulary .tt-global__static-cards-intro > p {
		max-width: 559px;
	}

	.tt-features .tt-global__static-cards--accurate-dictation .tt-global__static-cards-intro > p {
		max-width: 850px;
	}

	.tt-features .tt-global__static-cards--accurate-dictation .tt-global__static-cards-4-col {
		max-width: 832px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 600px) and (max-width: 899px) {
	.tt-features .tt-global__static-cards--features {
		margin-top: 144px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro h2 {
		font-size: 36px;
		line-height: 140%;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro > p,
	.tt-features .tt-global__static-cards--accurate-dictation .tt-global__static-cards-intro > p {
		max-width: 550px;
	}
}

@media (max-width: 599px) {
	.tt-features .tt-global__static-cards--features {
		width: 100%;
		max-width: 100%;
		margin-top: 112px;
		padding: 0 20px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro h2 {
		max-width: 100%;
		font-size: 30px;
		line-height: 140%;
		letter-spacing: 0;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-intro > p {
		max-width: 100%;
		font-size: 18px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-card-img {
		width: min(100%, calc(66.6667vw - 30.6667px));
		min-width: 0;
		max-width: none;
		height: auto;
		aspect-ratio: 1 / 1;
		flex: 0 0 auto;
	}
}

/* Figma text wrapping: selected feature headings use explicit title lines. */
.tt-features .tt-global__static-cards-intro h2,
.tt-features .tt-global__static-cards-intro h2 span,
.tt-features .tt-global__static-cards-intro > p {
	text-wrap: wrap;
}

.tt-features .tt-global__static-cards-intro h2 span {
	display: block;
}

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

.tt-features .tt-global__static-cards--features {
	margin-top: 144px;
}

@media (min-width: 900px) {
	.tt-features .tt-global__static-cards--features {
		margin-top: 192px;
	}
}

@media (max-width: 599px) {
	.tt-features .tt-global__static-cards--features .tt-global__static-cards-wrapper,
	.tt-features .tt-global__static-cards--features .tt-global__static-cards-4-col {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 32px;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-card {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-card-img {
		width: min(100%, calc(66.6667vw - 30.6667px));
		height: auto;
		min-width: 0;
		max-width: 100%;
		aspect-ratio: 1 / 1;
		flex: 0 0 auto;
		margin: 0 auto;
	}

	.tt-features .tt-global__static-cards--features .tt-global__static-cards-card-copy {
		flex: none;
		align-self: stretch;
		min-width: 0;
		padding: 20px 16px 8px;
	}
}


/* ==========================================================================
   Assessors page overrides
   ========================================================================== */

.tt-assessors .tt-global__static-cards--assessors-why .tt-global__static-cards-card-img {
	background: #f7f7ff;
}

.tt-assessors .tt-global__static-cards--assessors-why .tt-global__static-cards-card-img img {
	object-fit: contain;
	object-position: center;
}

.tt-assessors .tt-global__static-cards--assessors-trusted .tt-assessors-card-art {
	position: relative;
	isolation: isolate;
	background: #f7f7ff;
}

.tt-assessors .tt-global__static-cards--assessors-trusted .tt-assessors-card-art__background,
.tt-assessors .tt-global__static-cards--assessors-trusted .tt-assessors-card-art__foreground {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: inherit;
}

.tt-assessors .tt-global__static-cards--assessors-trusted .tt-assessors-card-art__background {
	z-index: 0;
	object-fit: cover;
}

.tt-assessors .tt-global__static-cards--assessors-trusted .tt-assessors-card-art__foreground {
	z-index: 1;
	object-fit: contain;
	object-position: center;
}

@media (min-width: 900px) and (max-width: 1199px) {
	.tt-assessors .tt-global__static-cards-4-col {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.tt-assessors .tt-global__static-cards-2-col {
		max-width: 1040px;
		gap: 48px 24px;
	}
}

@media (min-width: 1440px) {
	.tt-assessors .tt-global__static-cards-2-col {
		max-width: 1046px;
	}
}

/* ==========================================================================
   Audience secure and private cards
   ========================================================================== */

.tt-audience .tt-global__static-cards--audience-secure-private .tt-global__static-cards-card-img--funding-schemes {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f9fc;
}

.tt-audience .tt-global__static-cards--audience-secure-private .tt-global__static-cards-card-img--funding-schemes img {
	display: block;
	width: min(72%, 278px);
	height: auto;
	border-radius: 0;
	object-fit: contain;
	object-position: center;
}

@media (max-width: 599px) {
	.tt-audience .tt-global__static-cards--audience-secure-private .tt-global__static-cards-card-img--funding-schemes img {
		width: min(72%, 278px);
	}
}

/* ==========================================================================
  Features Accurate dictation and Custom vocabulary 
   ========================================================================== */
#accurate-dictation .tt-global__static-cards-intro-pill-inner, #custom-vocabulary .tt-global__static-cards-intro-pill-inner {
	gap: 0;
}