/*
 * Trust Academy — public marketing site (templates/site/*, inc/site.php).
 *
 * World: the Egyptian school year — squared exercise-book paper, the
 * weekly timetable, notebook covers bound on the right, and the yellow
 * highlighter every student runs over the line that matters. Brand
 * colours (royal blue, navy, sunny yellow) come from the academy logo.
 * The auth screens keep landing.css; nothing here leaks into them.
 */

:root {
	--navy: #0b2a63;
	--navy-900: #071d47;
	--blue: #1546a8;
	--blue-600: #1f5fd1;
	--blue-100: #dfe9fd;
	--blue-50: #eef3fd;
	--paper: #f6f8fd;
	--rule: #dbe3f3;
	--yellow: #f8c11c;
	--yellow-600: #e3a800;
	--yellow-100: #fff3c9;
	--ink: #0c1f45;
	--muted: #4a5a7e;
	--white: #fff;
	--wa: #1faa59;

	--font-display: "El Messiri", "Readex Pro", "Segoe UI", Tahoma, sans-serif;
	--font-body: "Readex Pro", "Segoe UI", Tahoma, sans-serif;

	--r-sm: 10px;
	--r: 18px;
	--r-lg: 26px;
	--shadow-sm: 0 2px 6px -2px rgba(11, 42, 99, 0.16);
	--shadow: 0 18px 40px -22px rgba(11, 42, 99, 0.45);
	--shadow-lg: 0 34px 70px -32px rgba(7, 29, 71, 0.6);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--header-h: 76px;
}

/* ---------- Base ---------- */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
	scrollbar-color: #9fb3dd var(--blue-50);
}

body.ts {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	caret-color: var(--blue-600);
	accent-color: var(--blue-600);
}

.ts ::selection {
	background: var(--yellow);
	color: var(--navy);
}

:where(.ts) img {
	max-width: 100%;
	display: block;
}

:where(.ts) a {
	color: inherit;
	text-decoration: none;
}

:where(.ts) :is(h1, h2, h3) {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
	text-wrap: balance;
	color: var(--navy);
}

:where(.ts) p {
	margin: 0;
	text-wrap: pretty;
}

:where(.ts) :is(ul, ol) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ts :focus-visible {
	outline: 3px solid var(--blue-600);
	outline-offset: 3px;
	border-radius: 6px;
}

.ts-hero :focus-visible,
.ts-pagehero :focus-visible,
.ts-footer :focus-visible,
.ts-mode-blue :focus-visible {
	outline-color: var(--yellow);
}

.ts-wrap {
	width: min(1200px, 100% - 40px);
	margin-inline: auto;
}

.ts-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ts-skip {
	position: absolute;
	inset-inline-start: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 18px;
	border-radius: var(--r-sm);
	background: var(--navy);
	color: var(--white);
	font-weight: 600;
}

.ts-skip:focus {
	top: 12px;
}

.ts-icon {
	width: 1.2em;
	height: 1.2em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}

/* ---------- Highlighter ---------- */

.ts mark.hl {
	color: inherit;
	background-color: transparent;
	background-image: linear-gradient(100deg, rgba(248, 193, 28, 0.7), rgba(248, 193, 28, 0.88) 40%, rgba(248, 193, 28, 0.72));
	background-repeat: no-repeat;
	background-size: 100% 0.42em;
	background-position: right 0 bottom 0.12em;
	padding-inline: 0.12em;
	border-radius: 0.2em 0.5em 0.3em 0.6em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.ts-hero mark.hl,
.ts-pagehero mark.hl {
	color: var(--navy);
	background-image: linear-gradient(100deg, #f5b90c, var(--yellow) 30%, #fbd04a 75%, #f3b707);
	background-size: 100% 82%;
	background-position: right 0 center;
	padding-inline: 0.18em;
}

.ts-cta mark.hl {
	background-image: linear-gradient(100deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.95));
}

/* ---------- Buttons & links ---------- */

.ts-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 46px;
	padding: 0.6em 1.25em;
	border: 2px solid transparent;
	border-radius: 999px;
	font: 600 0.98rem/1.2 var(--font-body);
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.ts-btn:hover {
	transform: translateY(-2px);
}

.ts-btn:active {
	transform: translateY(0);
}

.ts-btn-lg {
	min-height: 56px;
	padding-inline: 1.6em;
	font-size: 1.05rem;
}

.ts-btn-yellow {
	background: var(--yellow);
	color: var(--navy);
	box-shadow: 0 10px 22px -12px rgba(227, 168, 0, 0.9);
}

.ts-btn-yellow:hover {
	background: #ffcd33;
	box-shadow: 0 16px 28px -14px rgba(227, 168, 0, 0.95);
}

.ts-btn-blue {
	background: var(--blue);
	color: var(--white);
	box-shadow: 0 12px 24px -14px rgba(21, 70, 168, 0.9);
}

.ts-btn-blue:hover {
	background: var(--blue-600);
}

.ts-btn-navy {
	background: var(--navy);
	color: var(--white);
}

.ts-btn-navy:hover {
	background: var(--navy-900);
	box-shadow: 0 14px 26px -14px rgba(7, 29, 71, 0.8);
}

.ts-btn-outline-navy {
	border-color: var(--navy);
	color: var(--navy);
}

.ts-btn-outline-navy:hover {
	background: var(--navy);
	color: var(--white);
}

.ts-btn-ghost {
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--white);
}

.ts-btn-ghost:hover {
	background: var(--white);
	border-color: var(--white);
	color: var(--blue);
}

.ts-btn-quiet {
	color: var(--blue);
	background: var(--blue-50);
}

.ts-btn-quiet:hover {
	background: var(--blue-100);
}

.ts-btn .ts-icon {
	width: 1.15em;
	height: 1.15em;
}

.ts-btn:hover .ts-icon {
	transition: transform 0.3s var(--ease-out);
}

.ts-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 600;
	color: var(--blue);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
	text-decoration-color: rgba(31, 95, 209, 0.25);
	transition: text-decoration-color 0.2s, gap 0.25s var(--ease-out);
}

.ts-link:hover {
	text-decoration-color: currentColor;
	gap: 0.65em;
}

.ts-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- Header ---------- */

.ts-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s, box-shadow 0.25s;
}

.ts-header.is-scrolled {
	border-bottom-color: var(--rule);
	box-shadow: 0 10px 30px -24px rgba(11, 42, 99, 0.5);
}

.ts-header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: var(--header-h);
}

.ts-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.ts-brand img {
	width: 58px;
	height: auto;
}

.ts-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.ts-brand-text strong {
	font: 700 1.12rem/1.2 var(--font-display);
	color: var(--navy);
	direction: ltr;
	text-align: right;
}

.ts-brand-text small {
	font-size: 0.78rem;
	color: var(--muted);
}

.ts-brand-light strong {
	color: var(--white);
}

.ts-brand-light small {
	color: rgba(255, 255, 255, 0.72);
}

.ts-nav {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 1;
	justify-content: space-between;
}

.ts-nav-list {
	display: flex;
	align-items: center;
	gap: 2px;
}

.ts-nav-list > li {
	position: relative;
}

.ts-nav-link,
.ts-nav-trigger {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px;
	background: none;
	font: 500 0.97rem/1.3 var(--font-body);
	color: var(--ink);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.ts-nav-link:hover,
.ts-nav-trigger:hover,
.ts-nav-trigger[aria-expanded="true"] {
	background: var(--blue-50);
	color: var(--blue);
}

.ts-nav-link[aria-current="page"],
.ts-has-menu.is-current > .ts-nav-trigger {
	color: var(--blue);
	font-weight: 600;
	background-image: linear-gradient(var(--yellow), var(--yellow));
	background-repeat: no-repeat;
	background-size: calc(100% - 24px) 3px;
	background-position: center bottom 4px;
}

.ts-nav-trigger .ts-icon {
	width: 1em;
	height: 1em;
	transition: transform 0.25s var(--ease-out);
}

.ts-nav-trigger[aria-expanded="true"] .ts-icon {
	transform: rotate(180deg);
}

.ts-menu {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-start: -8px;
	width: 360px;
	padding: 10px;
	border: 1px solid var(--rule);
	border-radius: var(--r);
	background: var(--white);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.2s, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}

.ts-nav-trigger[aria-expanded="true"] + .ts-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.ts-menu-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 12px;
	border-radius: 12px;
	transition: background-color 0.2s;
}

.ts-menu-item:hover,
.ts-menu-item[aria-current="page"] {
	background: var(--paper);
}

.ts-menu-item strong {
	display: block;
	font-weight: 600;
	color: var(--navy);
	line-height: 1.4;
}

.ts-menu-item small {
	display: block;
	font-size: 0.84rem;
	line-height: 1.55;
	color: var(--muted);
}

.ts-menu-swatch {
	width: 22px;
	height: 28px;
	margin-top: 2px;
	border-radius: 3px 6px 6px 3px;
	flex-shrink: 0;
	box-shadow: inset -4px 0 0 rgba(0, 0, 0, 0.18);
}

.ts-menu-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--blue-50);
	color: var(--blue);
	flex-shrink: 0;
}

.ts-menu-all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 6px;
	padding: 12px 14px;
	border-top: 1px solid var(--rule);
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--blue);
}

.ts-nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ts-nav-actions .ts-btn {
	min-height: 44px;
	padding-inline: 1.05em;
	font-size: 0.93rem;
}

.ts-burger {
	display: none;
	margin-inline-start: auto;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 12px;
	background: var(--blue-50);
	color: var(--navy);
	cursor: pointer;
	place-items: center;
}

.ts-burger .ts-icon {
	width: 24px;
	height: 24px;
}

.ts-burger-close,
.ts-burger[aria-expanded="true"] .ts-burger-open {
	display: none;
}

.ts-burger[aria-expanded="true"] .ts-burger-close {
	display: block;
}

/* ---------- Home hero ---------- */

.ts-hero,
.ts-pagehero {
	position: relative;
	color: var(--white);
	background-color: var(--blue);
	background-image: radial-gradient(120% 90% at 0% 100%, rgba(7, 29, 71, 0.55), transparent 60%), radial-gradient(70% 60% at 100% 0%, rgba(47, 125, 225, 0.55), transparent 70%);
	overflow: hidden;
	isolation: isolate;
}

/* Soft drawn circles instead of a pattern: one large ring, one dot cluster. */
.ts-hero::before,
.ts-pagehero::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -180px;
	inset-inline-end: -140px;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	border: 70px solid rgba(255, 255, 255, 0.05);
}

.ts-hero::after,
.ts-pagehero::after {
	content: "";
	position: absolute;
	z-index: -1;
	bottom: 40px;
	inset-inline-start: 46%;
	width: 120px;
	height: 72px;
	background-image: radial-gradient(rgba(248, 193, 28, 0.55) 2.5px, transparent 3px);
	background-size: 18px 18px;
}

.ts-hero h1,
.ts-pagehero h1 {
	color: var(--white);
}

.ts-hero {
	padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px);
}

.ts-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(36px, 5vw, 72px);
	align-items: center;
}

.ts-hero h1 {
	font-size: clamp(2.35rem, 5.4vw, 4.25rem);
	line-height: 1.22;
	letter-spacing: -0.01em;
}

.ts-lead {
	margin-top: 22px;
	max-width: 56ch;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.88);
}

.ts-hero .ts-actions,
.ts-pagehero .ts-actions {
	margin-top: 32px;
}

.ts-hero-proof {
	margin-top: 30px;
	font-size: 0.93rem;
	color: rgba(255, 255, 255, 0.82);
}

.ts-hero-proof a {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 8px 16px 8px 12px;
	border-radius: 999px;
	background: rgba(7, 29, 71, 0.28);
	transition: background-color 0.2s;
}

.ts-hero-proof a:hover {
	background: rgba(7, 29, 71, 0.45);
}

.ts-hero-proof strong {
	color: var(--yellow);
	font-weight: 600;
}

.ts-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
}

/* Timetable card */

.ts-timetable {
	position: relative;
	margin: 0 0 84px;
	padding: 18px;
	border-radius: var(--r-lg);
	background: var(--white);
	color: var(--ink);
	box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, 0.08);
	transform: rotate(-1.2deg);
}

.ts-timetable-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 4px 14px;
}

.ts-timetable-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 700 1.1rem/1.3 var(--font-display);
	color: var(--navy);
}

.ts-timetable-title .ts-icon {
	color: var(--blue);
}

.ts-timetable-tag,
.ts-phone-note {
	font-size: 0.75rem;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--paper);
	color: var(--muted);
}

.ts-timetable-grid {
	display: grid;
	grid-template-columns: auto repeat(5, minmax(0, 1fr));
	gap: 6px;
	padding: 10px;
	border-radius: var(--r);
	background-color: var(--paper);
	font-variant-numeric: tabular-nums;
}

.ts-tt-day,
.ts-tt-time {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--muted);
	text-align: center;
	align-self: center;
}

.ts-tt-time {
	padding-inline-end: 4px;
	white-space: nowrap;
}

.ts-tt-cell {
	display: grid;
	place-items: center;
	min-height: 52px;
	padding: 6px 4px;
	border-radius: 10px;
	font-size: 0.86rem;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
	animation: ts-cell-in 0.6s var(--ease-out) both;
	animation-delay: calc(0.9s + var(--i, 0) * 45ms);
}

.ts-tt-b {
	background: var(--blue-100);
	color: var(--blue);
}

.ts-tt-n {
	background: #e5e9f4;
	color: var(--navy);
}

.ts-tt-y {
	background: var(--yellow-100);
	color: #6e4f00;
}

.ts-tt-x {
	background: var(--navy);
	color: var(--white);
}

.ts-tt-empty {
	border: 1px dashed #c9d4ec;
	animation: none;
}

.ts-timetable-note {
	position: absolute;
	inset-inline-end: -18px;
	bottom: -74px;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 330px;
	padding: 12px 16px;
	border-radius: var(--r);
	background: var(--navy);
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.86rem;
	line-height: 1.6;
	box-shadow: var(--shadow-lg);
	transform: rotate(1.6deg);
	animation: ts-note-in 0.8s var(--ease-out) 1.7s both;
}

.ts-timetable-note strong {
	display: block;
	color: var(--white);
	font-weight: 600;
}

.ts-note-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--yellow);
	color: var(--navy);
	flex-shrink: 0;
}

.ts-hero-art {
	position: relative;
	margin: 0;
}

.ts-hero-art .ts-art {
	width: 100%;
	max-width: 580px;
	height: auto;
	margin-inline: auto;
}

.ts-hero-art .ts-timetable-note {
	bottom: 6%;
	inset-inline-end: -6px;
}

.ts-hero-spot {
	width: 100%;
	max-width: 400px;
	height: auto;
	margin-inline: auto;
}

/* The authored moment: the headline gets highlighted, then the week fills in. */
@keyframes ts-hl-sweep {
	from {
		background-size: 0% 82%;
	}
}

@keyframes ts-cell-in {
	from {
		opacity: 0;
		transform: scale(0.82);
		filter: blur(4px);
	}
}

@keyframes ts-note-in {
	from {
		opacity: 0;
		transform: translateY(16px) rotate(1.6deg);
	}
}

.ts-hero h1 mark.hl {
	animation: ts-hl-sweep 0.9s var(--ease-out) 0.25s both;
}

/* ---------- Sections ---------- */

.ts-section {
	padding-block: clamp(64px, 9vw, 116px);
}

.ts-section:not(.ts-paper) + .ts-section:not(.ts-paper) {
	padding-top: 0;
}

.ts-paper {
	background-color: var(--paper);
}

.ts-head {
	max-width: 740px;
	margin: 0 auto clamp(36px, 5vw, 56px);
	text-align: center;
}

.ts-head h2 {
	font-size: clamp(1.85rem, 3.6vw, 2.75rem);
}

.ts-head p {
	margin-top: 14px;
	font-size: 1.1rem;
	color: var(--muted);
}

.ts-head-start {
	margin-inline: 0;
	text-align: start;
}

.ts-head-start .ts-link {
	margin-top: 18px;
}

/* ---------- Notebooks (curriculum tracks) ---------- */

.ts-shelf {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 36px);
}

.ts-shelf-item {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ts-shelf-item > p {
	color: var(--muted);
	padding-inline: 4px;
}

.ts-shelf-item > .ts-link {
	padding-inline: 4px;
}

.ts-notebook {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: 26px 40px 30px 22px;
	aspect-ratio: 5 / 4;
	/* Arabic exercise books bind on the right. */
	border-radius: 16px 5px 5px 16px;
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 9px);
	box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.ts-notebook-spine {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 22px;
	border-start-start-radius: 5px;
	border-end-start-radius: 5px;
	background: rgba(0, 0, 0, 0.22);
	box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.15);
}

.ts-notebook-spine::after {
	content: "";
	position: absolute;
	inset-block: 14px;
	inset-inline-start: 10px;
	border-inline-start: 2px dashed rgba(255, 255, 255, 0.4);
}

.ts-cover-navy {
	background-color: var(--navy);
}

.ts-cover-blue {
	background-color: var(--blue-600);
}

.ts-cover-yellow {
	background-color: var(--yellow);
}

.ts-notebook-logo {
	width: 58px;
	height: auto;
	padding: 6px 8px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.92);
}

.ts-notebook-label {
	width: min(100%, 280px);
	padding: 14px 18px 12px;
	border-radius: 10px;
	background: var(--white);
	box-shadow: 0 6px 14px -8px rgba(7, 29, 71, 0.5), inset 0 0 0 3px var(--white), inset 0 0 0 4px var(--rule);
	text-align: center;
}

.ts-notebook-name {
	font: 700 1.4rem/1.35 var(--font-display);
	color: var(--navy);
	margin: 0;
	padding-bottom: 6px;
	border-bottom: 2px solid var(--yellow);
}

.ts-notebook-label dl {
	margin: 8px 0 0;
}

.ts-notebook-label dl div {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 4px 0;
	border-bottom: 1px dotted #b9c6e2;
	font-size: 0.84rem;
}

.ts-notebook-label dl div:last-child {
	border-bottom: 0;
}

.ts-notebook-label dt {
	color: var(--muted);
}

.ts-notebook-label dd {
	margin: 0;
	font-weight: 600;
	color: var(--ink);
}

.ts-shelf-item:hover .ts-notebook,
.ts-shelf-item:focus-visible .ts-notebook {
	transform: translateY(-8px) rotate(-1.5deg);
	box-shadow: var(--shadow-lg);
}

.ts-shelf-item:hover .ts-link {
	text-decoration-color: currentColor;
	gap: 0.65em;
}

/* ---------- Study modes ---------- */

.ts-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.ts-mode {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: clamp(26px, 3.5vw, 40px);
	border-radius: var(--r-lg);
}

.ts-mode-light {
	background: var(--white);
	border: 1px solid var(--rule);
	box-shadow: var(--shadow);
}

.ts-mode-blue {
	color: var(--white);
	background-color: var(--blue);
	background-image: radial-gradient(90% 70% at 100% 0%, rgba(47, 125, 225, 0.6), transparent 70%);
	box-shadow: var(--shadow);
}

.ts-mode-blue h3 {
	color: var(--white);
}

.ts-mode-art {
	width: 190px;
	height: auto;
	margin: -6px 0 -10px;
}

.ts-mode-top {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ts-mode-top h3 {
	font-size: 1.7rem;
}

.ts-mode-icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 18px;
	background: var(--blue-50);
	color: var(--blue);
	flex-shrink: 0;
}

.ts-mode-icon .ts-icon {
	width: 30px;
	height: 30px;
}

.ts-mode-blue .ts-mode-icon {
	background: var(--yellow);
	color: var(--navy);
}

.ts-mode-place {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.95rem;
	color: var(--muted);
}

.ts-mode-blue .ts-mode-place {
	color: rgba(255, 255, 255, 0.8);
}

.ts-ticks {
	display: grid;
	gap: 10px;
}

.ts-ticks li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.ts-ticks .ts-icon {
	margin-top: 0.3em;
	padding: 3px;
	width: 1.3em;
	height: 1.3em;
	border-radius: 50%;
	background: var(--blue-50);
	color: var(--blue);
	stroke-width: 2.6;
}

.ts-mode-blue .ts-ticks .ts-icon {
	background: rgba(255, 255, 255, 0.16);
	color: var(--yellow);
}

.ts-phones {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
}

.ts-phones a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--paper);
	border: 1px solid var(--rule);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--navy);
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.ts-phones a .ts-icon {
	color: var(--wa);
}

.ts-phones a:hover {
	background: var(--wa);
	border-color: var(--wa);
	color: var(--white);
}

.ts-phones a:hover .ts-icon {
	color: currentColor;
}

.ts-mode-blue .ts-phones a {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.28);
	color: var(--white);
}

.ts-mode-blue .ts-phones a .ts-icon {
	color: #7fe3a6;
}

.ts-mode-blue .ts-phones a:hover {
	background: var(--white);
	border-color: var(--white);
	color: var(--navy);
}

.ts-mode-blue .ts-phones a:hover .ts-icon {
	color: var(--wa);
}

.ts-mode-blue .ts-link {
	color: var(--yellow);
	text-decoration-color: rgba(248, 193, 28, 0.4);
}

/* ---------- Platform ---------- */

.ts-platform-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}

.ts-platform-copy .ts-head {
	margin-bottom: 28px;
}

.ts-ruled {
	margin-bottom: 34px;
	border-top: 1px solid var(--rule);
}

.ts-ruled li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid var(--rule);
	color: var(--muted);
}

.ts-ruled strong {
	color: var(--navy);
	font-weight: 600;
	margin-inline-end: 4px;
}

.ts-ruled-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--blue-50);
	color: var(--blue);
	flex-shrink: 0;
}

.ts-phone {
	position: relative;
	justify-self: center;
	width: min(320px, 100%);
	padding: 12px;
	border-radius: 42px;
	background: var(--navy);
	box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.ts-phone::before {
	content: "";
	position: absolute;
	inset: -40px -50px;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(closest-side, var(--yellow-100), transparent);
}

.ts-phone-screen {
	display: grid;
	gap: 10px;
	padding: 16px 14px 20px;
	border-radius: 32px;
	background: var(--paper);
}

.ts-app-top {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 4px 8px;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--navy);
}

.ts-app-top img {
	width: 36px;
	height: auto;
}

.ts-app-top .ts-icon {
	margin-inline-start: auto;
	color: var(--blue);
}

.ts-app-card {
	display: grid;
	gap: 4px;
	padding: 12px 14px;
	border-radius: 16px;
	background: var(--white);
	box-shadow: var(--shadow-sm);
	font-size: 0.9rem;
}

.ts-app-card small {
	color: var(--muted);
	font-size: 0.76rem;
}

.ts-app-card strong {
	color: var(--navy);
	font-weight: 600;
}

.ts-app-next {
	background: var(--blue);
	color: rgba(255, 255, 255, 0.85);
}

.ts-app-next small {
	color: rgba(255, 255, 255, 0.75);
}

.ts-app-next strong {
	color: var(--white);
	font: 700 1.25rem/1.3 var(--font-display);
}

.ts-app-week {
	display: flex;
	gap: 6px;
	margin-top: 4px;
}

.ts-app-week i {
	flex: 1;
	height: 10px;
	border-radius: 6px;
	background: #3bb273;
}

.ts-app-week i.late {
	background: var(--yellow);
}

.ts-app-row {
	grid-template-columns: 1fr auto;
	align-items: center;
}

.ts-app-row > span {
	display: grid;
}

.ts-app-chip {
	font-style: normal;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	background: #e2f5ea;
	color: #1d7a45;
}

.ts-app-score {
	font: normal 700 1.4rem/1 var(--font-display);
	color: var(--blue);
	font-variant-numeric: tabular-nums;
}

.ts-app-score small {
	font-size: 0.8rem;
	color: var(--muted);
}

.ts-phone-note {
	position: absolute;
	bottom: -34px;
	inset-inline: 0;
	width: fit-content;
	margin-inline: auto;
}

/* ---------- Steps ---------- */

.ts-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	counter-reset: step;
}

.ts-steps::before {
	content: "";
	position: absolute;
	top: 60px;
	inset-inline: 12%;
	border-top: 2px dashed #b7c6e6;
}

.ts-steps li {
	position: relative;
	text-align: center;
	counter-increment: step;
}

.ts-step-art {
	position: relative;
	width: 160px;
	height: auto;
	margin: 0 auto 14px;
}

.ts-steps li::before {
	content: counter(step, arabic-indic);
	position: absolute;
	z-index: 1;
	top: 0;
	inset-inline-start: calc(50% + 34px);
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--yellow);
	color: var(--navy);
	font: 700 1.15rem/1 var(--font-display);
	box-shadow: 0 0 0 5px var(--paper);
}

.ts-steps h3 {
	font-size: 1.3rem;
}

.ts-steps p {
	margin-top: 6px;
	color: var(--muted);
	font-size: 0.98rem;
}

/* ---------- Proof (renders only with real data) ---------- */

.ts-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 56px;
	margin: 0 0 48px;
}

.ts-stats div {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
}

.ts-stats dd {
	margin: 0;
	font: 700 clamp(2.2rem, 4vw, 3rem)/1.1 var(--font-display);
	color: var(--blue);
}

.ts-stats dt {
	color: var(--muted);
}

.ts-quotes {
	columns: 3 300px;
	column-gap: 24px;
}

.ts-quote {
	break-inside: avoid;
	margin: 0 0 24px;
	padding: 28px;
	border-radius: var(--r);
	background: var(--paper);
	border: 1px solid var(--rule);
}

.ts-quote blockquote {
	margin: 0;
	font-size: 1.05rem;
}

.ts-quote figcaption {
	margin-top: 16px;
	font-size: 0.9rem;
	color: var(--muted);
}

.ts-quote figcaption strong {
	color: var(--navy);
}

/* ---------- FAQ ---------- */

.ts-faq-wrap {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}

.ts-faq-wrap .ts-head {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	margin-bottom: 0;
}

.ts-faq {
	border-top: 1px solid var(--rule);
}

.ts-faq-item {
	border-bottom: 1px solid var(--rule);
}

.ts-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 4px;
	font: 600 1.08rem/1.6 var(--font-body);
	color: var(--navy);
	cursor: pointer;
	list-style: none;
	transition: color 0.2s;
}

.ts-faq-item summary::-webkit-details-marker {
	display: none;
}

.ts-faq-item summary:hover {
	color: var(--blue);
}

.ts-faq-icon {
	width: 34px;
	height: 34px;
	padding: 7px;
	border-radius: 50%;
	background: var(--blue-50);
	color: var(--blue);
	transition: transform 0.35s var(--ease-out), background-color 0.2s, color 0.2s;
}

.ts-faq-item[open] .ts-faq-icon {
	transform: rotate(45deg);
	background: var(--yellow);
	color: var(--navy);
}

.ts-faq-body {
	padding: 0 4px 22px;
	max-width: 68ch;
	color: var(--muted);
}

.ts-faq-group + .ts-faq-group {
	margin-top: 48px;
}

.ts-faq-group h2 {
	font-size: 1.5rem;
	margin-bottom: 14px;
}

/* ---------- CTA band ---------- */

.ts-cta {
	padding-block: clamp(56px, 7vw, 88px);
	background-color: var(--yellow);
	background-image: radial-gradient(60% 120% at 100% 0%, rgba(255, 255, 255, 0.35), transparent 60%);
	color: var(--navy);
}

.ts-cta-art {
	width: 150px;
	height: auto;
}

.ts-cta-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1.2fr) auto;
	gap: 32px;
	align-items: center;
}

.ts-cta h2 {
	font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}

.ts-cta p {
	margin-top: 10px;
	font-size: 1.1rem;
	color: #3b3204;
}

.ts-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- Footer ---------- */

.ts-footer {
	padding-top: clamp(56px, 7vw, 80px);
	background-color: var(--navy-900);
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.97rem;
}

.ts-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-bottom: 48px;
}

.ts-footer-brand p {
	margin-top: 18px;
	max-width: 40ch;
}

.ts-footer-brand .ts-brand img {
	padding: 4px 6px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.94);
}

.ts-footer-social {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: var(--white);
	transition: background-color 0.2s, color 0.2s;
}

.ts-footer-social:hover {
	background: var(--white);
	color: var(--navy);
}

.ts-footer-col h2 {
	margin-bottom: 16px;
	font: 600 1.05rem/1.4 var(--font-body);
	color: var(--yellow);
}

.ts-footer-col ul {
	display: grid;
	gap: 10px;
}

.ts-footer-col a {
	transition: color 0.2s;
}

.ts-footer-col a:hover {
	color: var(--white);
	text-decoration: underline;
	text-underline-offset: 5px;
}

.ts-footer-contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.ts-footer-contact .ts-icon {
	margin-top: 0.35em;
	color: var(--yellow);
}

.ts-footer-contact a {
	font-variant-numeric: tabular-nums;
	color: var(--white);
}

.ts-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.66);
}

.ts-credit a {
	font-weight: 600;
	color: var(--yellow);
	text-decoration: underline;
	text-decoration-color: rgba(248, 193, 28, 0.35);
	text-underline-offset: 5px;
	transition: text-decoration-color 0.2s;
}

.ts-credit a:hover {
	text-decoration-color: var(--yellow);
}

/* Floating WhatsApp shortcut */

.ts-fab {
	position: fixed;
	left: max(18px, env(safe-area-inset-left));
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 40;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--wa);
	color: var(--white);
	box-shadow: 0 14px 28px -12px rgba(16, 110, 56, 0.8);
	transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.ts-fab .ts-icon {
	width: 28px;
	height: 28px;
}

.ts-fab:hover {
	transform: translateY(-3px) scale(1.04);
}

.ts-page-contact .ts-fab {
	display: none;
}

/* ---------- Inner pages ---------- */

.ts-pagehero {
	padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 92px);
}

.ts-pagehero-grid {
	display: grid;
	gap: 40px;
	align-items: center;
}

.ts-pagehero.has-aside .ts-pagehero-grid {
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}

.ts-pagehero h1 {
	font-size: clamp(2rem, 4.6vw, 3.4rem);
	max-width: 26ch;
}

.ts-pagehero .ts-lead {
	margin-top: 18px;
}

.ts-pagehero-aside .ts-notebook {
	max-width: 360px;
	margin-inline: auto;
	transform: rotate(-2deg);
	box-shadow: var(--shadow-lg);
}

.ts-crumbs {
	margin-bottom: 18px;
	font-size: 0.9rem;
}

.ts-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.ts-crumbs li {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: rgba(255, 255, 255, 0.75);
}

.ts-crumbs li + li::before {
	content: "/";
	color: rgba(255, 255, 255, 0.4);
	margin-inline-end: 4px;
}

.ts-crumbs a:hover {
	color: var(--white);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ts-crumbs [aria-current] {
	color: var(--yellow);
	font-weight: 600;
}

.ts-two {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(36px, 6vw, 88px);
	align-items: start;
}

.ts-prose > * + * {
	margin-top: 18px;
}

.ts-prose h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.ts-prose h2 + p {
	margin-top: 14px;
}

.ts-prose p {
	max-width: 68ch;
	font-size: 1.08rem;
	color: #2c3c61;
}

.ts-prose * + h2 {
	margin-top: 48px;
}

.ts-prose * + h3 {
	margin-top: 32px;
}

.ts-prose h3 {
	font-size: 1.3rem;
}

.ts-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ts-chips li {
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--white);
	border: 1px solid var(--rule);
	font-weight: 500;
	color: var(--navy);
	box-shadow: var(--shadow-sm);
}

.ts-sidebox {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	padding: clamp(24px, 3vw, 34px);
	border-radius: var(--r-lg);
	background: var(--paper);
	border: 1px solid var(--rule);
}

.ts-sidebox h2,
.ts-sidebox h3 {
	font-size: 1.35rem;
	margin-bottom: 14px;
}

.ts-sidebox > p {
	color: var(--muted);
	margin-bottom: 18px;
}

.ts-sidebox .ts-phones {
	margin-top: 4px;
}

.ts-sidebox .ts-btn {
	width: 100%;
	margin-top: 18px;
}

.ts-sidebox-label {
	margin: 18px 0 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--navy);
}

.ts-related {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.ts-related a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 22px;
	border-radius: var(--r);
	background: var(--white);
	border: 1px solid var(--rule);
	transition: border-color 0.2s, box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.ts-related a:hover {
	border-color: var(--blue-100);
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.ts-related strong {
	display: block;
	font: 700 1.2rem/1.4 var(--font-display);
	color: var(--navy);
}

.ts-related small {
	display: block;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.6;
}

.ts-related .ts-icon:last-child {
	margin-inline-start: auto;
	color: var(--blue);
}

.ts-related .ts-menu-swatch {
	width: 30px;
	height: 38px;
}

/* Comparison table */

.ts-table-wrap {
	overflow-x: auto;
	border-radius: var(--r);
	border: 1px solid var(--rule);
	background: var(--white);
	box-shadow: var(--shadow);
}

.ts-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 0.98rem;
}

.ts-table th,
.ts-table td {
	padding: 16px 20px;
	text-align: start;
	vertical-align: top;
	border-bottom: 1px solid var(--rule);
}

.ts-table thead th {
	background: var(--navy);
	color: var(--white);
	font-family: var(--font-display);
	font-size: 1.1rem;
}

.ts-table tbody th {
	width: 22%;
	background: var(--paper);
	color: var(--navy);
	font-weight: 600;
}

.ts-table tbody tr:last-child > * {
	border-bottom: 0;
}

.ts-table a {
	color: var(--blue);
	font-weight: 600;
}

/* Feature rows on the platform page */

.ts-roles {
	display: grid;
	gap: clamp(56px, 8vw, 96px);
}

.ts-role {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.ts-role h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.ts-role > div > p {
	margin-top: 14px;
	color: var(--muted);
	max-width: 52ch;
}

.ts-role .ts-ruled {
	margin-bottom: 0;
}

.ts-page-platform .ts-platform-grid {
	align-items: start;
}

.ts-page-platform .ts-role {
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.ts-platform-phone {
	position: sticky;
	top: calc(var(--header-h) + 48px);
}

/* Values on the about page */

.ts-values {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	border-block: 1px solid var(--rule);
}

.ts-values li {
	padding: 32px 28px;
}

.ts-values li + li {
	border-inline-start: 1px solid var(--rule);
}

.ts-values .ts-icon {
	width: 34px;
	height: 34px;
	color: var(--blue);
}

.ts-values h3 {
	margin-top: 16px;
	font-size: 1.35rem;
}

.ts-values p {
	margin-top: 8px;
	color: var(--muted);
}

/* Contact page */

.ts-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(28px, 4vw, 48px);
	align-items: start;
}

.ts-composer {
	padding: clamp(24px, 3.5vw, 40px);
	border-radius: var(--r-lg);
	background: var(--white);
	border: 1px solid var(--rule);
	box-shadow: var(--shadow);
}

.ts-composer h2 {
	font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.ts-composer > p {
	margin-top: 8px;
	color: var(--muted);
}

.ts-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 26px;
}

.ts-field {
	display: grid;
	gap: 6px;
}

.ts-field[hidden] {
	display: none;
}

.ts-field-wide {
	grid-column: 1 / -1;
}

.ts-field label,
.ts-field legend {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--navy);
}

.ts-field .ts-optional {
	font-weight: 400;
	color: var(--muted);
	font-size: 0.85rem;
}

.ts-input {
	width: 100%;
	min-height: 50px;
	padding: 10px 14px;
	border: 1.5px solid #c8d3ea;
	border-radius: 12px;
	background: var(--white);
	font: 400 1rem/1.5 var(--font-body);
	color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.ts-input::placeholder {
	color: #6b7a99;
}

.ts-input:hover {
	border-color: #9fb3dd;
}

.ts-input:focus {
	outline: none;
	border-color: var(--blue-600);
	box-shadow: 0 0 0 4px rgba(31, 95, 209, 0.16);
}

textarea.ts-input {
	min-height: 110px;
	resize: vertical;
}

select.ts-input {
	appearance: none;
	padding-inline-start: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231546a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 18px;
	background-position: left 14px center;
}

.ts-segment {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
}

.ts-segment legend {
	margin-bottom: 6px;
}

.ts-segment label {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border: 1.5px solid #c8d3ea;
	border-radius: 14px;
	cursor: pointer;
	font-weight: 600;
	color: var(--navy);
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.ts-segment input {
	position: absolute;
	opacity: 0;
}

.ts-segment label .ts-icon {
	color: var(--blue);
}

.ts-segment label:has(input:checked) {
	border-color: var(--blue-600);
	background: var(--blue-50);
	box-shadow: inset 0 0 0 1px var(--blue-600);
}

.ts-segment label:has(input:focus-visible) {
	outline: 3px solid var(--blue-600);
	outline-offset: 2px;
}

.ts-form .ts-btn {
	grid-column: 1 / -1;
	background: var(--wa);
	color: var(--white);
	box-shadow: 0 12px 24px -14px rgba(16, 110, 56, 0.9);
}

.ts-form .ts-btn:hover {
	background: #188f4a;
}

.ts-form-note {
	grid-column: 1 / -1;
	font-size: 0.86rem;
	color: var(--muted);
}

.ts-contact-side {
	display: grid;
	gap: 20px;
}

.ts-channel {
	padding: 26px;
	border-radius: var(--r-lg);
	border: 1px solid var(--rule);
	background: var(--paper);
}

.ts-channel h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.35rem;
}

.ts-channel h2 .ts-icon {
	color: var(--blue);
}

.ts-channel > p {
	margin: 6px 0 16px;
	color: var(--muted);
	font-size: 0.97rem;
}

.ts-channel-blue {
	background-color: var(--blue);
	background-image: radial-gradient(90% 70% at 100% 0%, rgba(47, 125, 225, 0.6), transparent 70%);
	border-color: transparent;
	color: var(--white);
}

.ts-channel-blue h2 {
	color: var(--white);
}

.ts-channel-blue h2 .ts-icon {
	color: var(--yellow);
}

.ts-channel-blue > p {
	color: rgba(255, 255, 255, 0.8);
}

.ts-channel-blue .ts-phones a {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.28);
	color: var(--white);
}

.ts-channel-blue .ts-phones a .ts-icon {
	color: #7fe3a6;
}

.ts-channel-blue .ts-phones a:hover {
	background: var(--white);
	color: var(--navy);
}

.ts-channel-blue .ts-phones a:hover .ts-icon {
	color: var(--wa);
}

.ts-channel .ts-link {
	margin-top: 4px;
}

/* ---------- Content document sections ---------- */

.ts-header .ts-wrap {
	width: min(1320px, 100% - 40px);
}

.ts-nav-link {
	white-space: nowrap;
}

/* Desktop: the platform login is an icon button so all nine menu items
   fit on one line; the drawer shows its label. */
@media (min-width: 1361px) {
	.ts-header-inner {
		gap: 18px;
	}

	.ts-nav-list .ts-nav-link {
		padding-inline: 9px;
		font-size: 0.95rem;
	}

	.ts-account {
		width: 44px;
		padding: 0;
	}

	.ts-account-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

.ts-nav-link.is-current {
	color: var(--blue);
	font-weight: 600;
}

.ts-nav-home {
	display: none;
}

.ts-cover-sky {
	background-color: #5b9be8;
}

.ts-hero-since {
	margin-top: 26px;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.78);
}

/* Study-mode bar riding the hero's bottom edge */
.ts-modebar {
	position: relative;
	z-index: 2;
	margin-top: -52px;
}

.ts-modebar-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.ts-modebar-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 24px 14px 18px;
	border-radius: var(--r-lg);
	background: var(--white);
	border: 1px solid var(--rule);
	box-shadow: var(--shadow);
	transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.ts-modebar-item:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}

.ts-modebar-art {
	width: 110px;
	height: auto;
	flex-shrink: 0;
}

.ts-modebar-item strong {
	display: block;
	font: 700 1.35rem/1.35 var(--font-display);
	color: var(--navy);
}

.ts-modebar-item small {
	display: block;
	font-size: 0.95rem;
	color: var(--muted);
}

.ts-modebar-item > .ts-icon {
	margin-inline-start: auto;
	width: 26px;
	height: 26px;
	color: var(--blue);
}

.ts-modebar + .ts-section {
	padding-top: clamp(56px, 7vw, 88px);
}

.ts-shelf-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 28px);
}

.ts-shelf-4 .ts-notebook {
	padding: 22px 34px 24px 16px;
	aspect-ratio: 4 / 4.2;
}

.ts-shelf-4 .ts-notebook-name {
	font-size: 1.2rem;
}

.ts-more {
	margin-top: 32px;
	text-align: center;
}

.ts-ruled-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 48px;
	border-top: 0;
}

.ts-ruled-2 li:nth-child(-n + 2) {
	border-top: 1px solid var(--rule);
}

.ts-statement {
	max-width: 62ch;
	margin: 36px auto 0;
	text-align: center;
	font: 600 clamp(1.15rem, 2vw, 1.4rem)/1.8 var(--font-display);
	color: var(--navy);
}

.ts-statement-sm {
	margin: 4px 0 0;
	text-align: start;
	font-size: 1.05rem;
}

/* Additional programs */
.ts-programs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
}

.ts-programs li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	padding: 22px 18px 26px;
	border-radius: var(--r-lg);
	background: var(--white);
	border: 1px solid var(--rule);
}

.ts-program-art {
	width: 132px;
	height: auto;
}

.ts-programs h3 {
	font-size: 1.15rem;
}

.ts-programs p {
	font-size: 0.93rem;
	line-height: 1.75;
	color: var(--muted);
}

/* Parent reviews: the original review cards as images. */
.ts-shot {
	flex: 0 0 auto;
	list-style: none;
}

.ts-shot-btn {
	display: block;
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: none;
	cursor: zoom-in;
}

.ts-shot img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: var(--shadow);
	transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.ts-shot-btn:hover img,
.ts-shot-btn:focus-visible img {
	transform: translateY(-6px) scale(1.02);
	box-shadow: var(--shadow-lg);
}

/* Moving strip: two identical runs slide by half their width, forever. */
.ts-marquee {
	overflow: hidden;
	padding-block: 12px 28px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ts-marquee-track {
	display: flex;
	gap: 22px;
	width: max-content;
	direction: ltr;
	animation: ts-marquee 70s linear infinite;
}

.ts-marquee .ts-shot {
	width: clamp(240px, 26vw, 330px);
}

.ts-marquee:hover .ts-marquee-track,
.ts-marquee:focus-within .ts-marquee-track {
	animation-play-state: paused;
}

@keyframes ts-marquee {
	to {
		transform: translateX(calc(-50% - 11px));
	}
}

.ts-shots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 22px;
}

/* Lightbox */
.ts-lightbox {
	width: min(92vw, 760px);
	max-height: 92vh;
	padding: 0;
	border: 0;
	overflow: visible;
	background: transparent;
}

.ts-lightbox::backdrop {
	background: rgba(7, 29, 71, 0.82);
	backdrop-filter: blur(3px);
}

.ts-lightbox[open] {
	animation: ts-lightbox-in 0.35s var(--ease-out);
}

@keyframes ts-lightbox-in {
	from {
		opacity: 0;
		transform: scale(0.96);
	}
}

.ts-lightbox img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 86vh;
	object-fit: contain;
	border-radius: 18px;
	box-shadow: var(--shadow-lg);
}

.ts-lightbox-close,
.ts-lightbox-nav {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: var(--white);
	color: var(--navy);
	cursor: pointer;
	box-shadow: var(--shadow);
	transition: background-color 0.2s, color 0.2s;
}

.ts-lightbox-close:hover,
.ts-lightbox-nav:hover {
	background: var(--yellow);
}

.ts-lightbox-close {
	top: -18px;
	inset-inline-start: -18px;
}

.ts-lightbox-nav {
	top: 50%;
	margin-top: -24px;
}

/* RTL: "next" sits on the left and points left; "previous" mirrors it. */
.ts-lightbox-nav.is-next {
	inset-inline-end: -24px;
}

.ts-lightbox-nav.is-prev {
	inset-inline-start: -24px;
}

.ts-lightbox-nav.is-prev .ts-icon {
	transform: scaleX(-1);
}

@media (max-width: 760px) {
	.ts-lightbox-close {
		top: -56px;
		inset-inline-start: 0;
	}

	.ts-lightbox-nav {
		top: auto;
		bottom: -64px;
		margin-top: 0;
	}

	.ts-lightbox-nav.is-next {
		inset-inline-end: calc(50% - 58px);
	}

	.ts-lightbox-nav.is-prev {
		inset-inline-start: calc(50% - 58px);
	}

	.ts-shots {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.ts-shot img,
	.ts-shot-btn {
		border-radius: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ts-marquee {
		overflow-x: auto;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.ts-marquee .ts-shot[aria-hidden="true"] {
		display: none;
	}
}

.ts-values-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Each number: WhatsApp pill + call button */
.ts-phones li {
	display: inline-flex;
	gap: 6px;
}

.ts-phones .ts-call {
	display: grid;
	place-items: center;
	width: 46px;
	min-height: 46px;
	padding: 0;
	color: var(--blue);
}

.ts-phones .ts-call .ts-icon {
	color: currentColor;
}

.ts-phones .ts-call:hover {
	background: var(--blue);
	border-color: var(--blue);
	color: var(--white);
}

.ts-mode-blue .ts-phones .ts-call,
.ts-channel-blue .ts-phones .ts-call {
	color: var(--white);
}

.ts-mode-blue .ts-phones .ts-call .ts-icon {
	color: currentColor;
}

@media (max-width: 1100px) {
	.ts-programs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

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

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

	.ts-ruled-2 li:nth-child(2) {
		border-top: 0;
	}

	.ts-values-5 {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 760px) {
	.ts-modebar {
		margin-top: -36px;
	}

	.ts-modebar-grid,
	.ts-programs {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.ts-modebar-art {
		width: 84px;
	}

	.ts-modebar-item strong {
		font-size: 1.15rem;
	}

	.ts-programs li {
		display: grid;
		grid-template-columns: 84px minmax(0, 1fr);
		align-items: start;
		gap: 4px 14px;
		padding: 16px;
		text-align: start;
	}

	.ts-program-art {
		width: 84px;
	}

	.ts-programs .ts-program-art {
		grid-row: span 2;
	}
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.ts *,
	.ts *::before,
	.ts *::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 1360px) {
	.ts-burger {
		display: grid;
	}

	.ts-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		z-index: 49;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 24px;
		padding: 20px 20px calc(28px + env(safe-area-inset-bottom));
		background: var(--white);
		border-top: 1px solid var(--rule);
		overflow-y: auto;
		overscroll-behavior: contain;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
	}

	.ts-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}

	.ts-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.ts-nav-list > li {
		border-bottom: 1px solid var(--rule);
	}

	.ts-nav-home {
		display: block;
	}

	.ts-nav-link,
	.ts-nav-trigger {
		width: 100%;
		justify-content: space-between;
		padding: 16px 6px;
		font-size: 1.08rem;
		border-radius: 0;
	}

	.ts-nav-link:hover,
	.ts-nav-trigger:hover,
	.ts-nav-trigger[aria-expanded="true"] {
		background: none;
	}

	.ts-nav-link[aria-current="page"],
	.ts-has-menu.is-current > .ts-nav-trigger {
		background-image: none;
	}

	.ts-menu {
		position: static;
		width: auto;
		padding: 0 0 12px;
		border: 0;
		box-shadow: none;
		display: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}

	.ts-nav-trigger[aria-expanded="true"] + .ts-menu {
		display: block;
	}

	.ts-nav-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ts-nav-actions .ts-btn {
		min-height: 52px;
		font-size: 1rem;
	}

	body.ts-nav-open {
		overflow: hidden;
	}
}

@media (max-width: 960px) {
	.ts-hero-grid,
	.ts-platform-grid,
	.ts-faq-wrap,
	.ts-two,
	.ts-role,
	.ts-contact-grid,
	.ts-pagehero.has-aside .ts-pagehero-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ts-timetable {
		max-width: 560px;
		margin-inline: auto;
		width: 100%;
	}

	.ts-faq-wrap .ts-head,
	.ts-sidebox,
	.ts-platform-phone {
		position: static;
	}

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

	.ts-footer-brand {
		grid-column: 1 / -1;
	}

	.ts-cta-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.ts-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 40px;
	}

	.ts-steps::before {
		display: none;
	}

	.ts-values {
		grid-template-columns: minmax(0, 1fr);
	}

	.ts-values li + li {
		border-inline-start: 0;
		border-top: 1px solid var(--rule);
	}

	.ts-pagehero-aside .ts-notebook {
		max-width: 300px;
	}

	.ts-hero-spot {
		max-width: 300px;
	}

	.ts-cta-art {
		width: 110px;
	}

	.ts-phone {
		margin-bottom: 30px;
	}
}

@media (max-width: 760px) {
	.ts-shelf {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(270px, 82%);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding: 12px 20px 20px;
		margin-inline: -20px;
		scroll-padding-inline: 20px;
		scrollbar-width: thin;
	}

	.ts-shelf-item {
		scroll-snap-align: start;
	}

	.ts-split,
	.ts-related {
		grid-template-columns: minmax(0, 1fr);
	}

	.ts-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.ts-head {
		text-align: start;
		margin-inline: 0;
	}
}

@media (max-width: 560px) {
	:root {
		--header-h: 66px;
	}

	body.ts {
		font-size: 1rem;
	}

	.ts-wrap {
		width: calc(100% - 32px);
	}

	.ts-brand img {
		width: 48px;
	}

	.ts-brand-text small {
		display: none;
	}

	.ts-hero .ts-actions .ts-btn,
	.ts-pagehero .ts-actions .ts-btn,
	.ts-cta-actions .ts-btn {
		flex: 1 1 100%;
	}

	.ts-timetable {
		padding: 12px;
		transform: none;
	}

	.ts-timetable-grid {
		gap: 4px;
		padding: 6px;
	}

	.ts-tt-cell {
		min-height: 44px;
		font-size: 0.72rem;
		border-radius: 8px;
		padding: 4px 2px;
	}

	.ts-tt-day,
	.ts-tt-time {
		font-size: 0.68rem;
	}

	.ts-timetable-note {
		position: relative;
		inset: auto;
		margin-top: 12px;
		max-width: none;
		transform: none;
		animation-name: ts-cell-in;
	}

	.ts-timetable {
		margin-bottom: 0;
	}

	.ts-steps {
		grid-template-columns: minmax(0, 1fr);
		text-align: start;
	}

	.ts-steps li {
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 16px;
		text-align: start;
	}

	.ts-steps li {
		align-items: center;
	}

	.ts-step-art {
		grid-row: span 2;
		width: 104px;
		margin: 0;
	}

	.ts-steps li::before {
		top: -4px;
		inset-inline-start: 74px;
		width: 32px;
		height: 32px;
		font-size: 1rem;
	}

	.ts-steps h3 {
		align-self: end;
	}

	.ts-steps p {
		align-self: start;
	}

	.ts-mode-art {
		width: 160px;
	}

	.ts-hero::after,
	.ts-pagehero::after {
		display: none;
	}

	.ts-footer-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.ts-footer-bottom {
		flex-direction: column;
		padding-bottom: 92px;
	}

	.ts-notebook {
		padding: 22px 34px 24px 16px;
	}

	.ts-segment {
		grid-template-columns: minmax(0, 1fr);
	}

	.ts-fab {
		width: 54px;
		height: 54px;
	}
}
