.tiomobile-page {
	--tm-red: #b90000;
	--tm-red-soft: rgba(185, 0, 0, .08);
	--tm-muted: #5f6873;
	--tm-border: rgba(128, 128, 128, .25);
	--tm-soft: rgba(128, 128, 128, .08);
	--tm-card: #fff;
	--tm-shadow: 0 10px 30px rgba(20, 24, 30, .08);
	box-sizing: border-box;
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
	padding: 40px 24px 64px;
	font-family: inherit;
	color: inherit;
}

.tiomobile-page *,
.tiomobile-page *::before,
.tiomobile-page *::after {
	box-sizing: inherit;
}

.tiomobile-page h1,
.tiomobile-page h2,
.tiomobile-page h3,
.tiomobile-page p {
	margin-top: 0;
}

.tiomobile-page a:focus-visible {
	outline: 3px solid rgba(185, 0, 0, .35);
	outline-offset: 3px;
}

.tiomobile-section-title {
	margin-bottom: 28px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

/* Hero */

.tiomobile-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	align-items: center;
	gap: 40px;
	padding-bottom: 56px;
}

.tiomobile-app {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}

.tiomobile-app__icon {
	width: 64px;
	height: 64px;
	border-radius: 15px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
	flex-shrink: 0;
}

.tiomobile-app strong {
	display: block;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.tiomobile-app span {
	color: var(--tm-muted);
	font-size: 15px;
}

.tiomobile-hero h1 {
	margin-bottom: 16px;
	font-size: clamp(34px, 4.6vw, 50px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.03em;
}

.tiomobile-lead {
	max-width: 520px;
	margin-bottom: 28px;
	color: var(--tm-muted);
	font-size: 18px;
	line-height: 1.55;
}

.tiomobile-downloads {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.tiomobile-store {
	display: inline-flex;
	border-radius: 9px;
}

.tiomobile-store img {
	display: block;
	width: auto;
	height: 48px;
}

.tiomobile-page[data-os="android"] .tiomobile-store--android {
	order: -1;
}

.tiomobile-alt-stores {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	flex-wrap: wrap;
	color: var(--tm-muted);
	font-size: 14px;
}

.tiomobile-alt-store {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border: 1px solid var(--tm-border);
	border-radius: 999px;
	color: inherit !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.tiomobile-alt-store:hover,
.tiomobile-page[data-vendor="samsung"] .tiomobile-alt-store--galaxy,
.tiomobile-page[data-vendor="huawei"] .tiomobile-alt-store--appgallery {
	border-color: var(--tm-red);
	color: var(--tm-red) !important;
}

.tiomobile-platform .tiomobile-alt-stores {
	justify-content: center;
	font-size: 13px;
}

.tiomobile-final .tiomobile-alt-stores {
	margin-top: 14px;
	color: rgba(255, 255, 255, .85);
}

.tiomobile-final .tiomobile-alt-store {
	border-color: rgba(255, 255, 255, .45);
}

.tiomobile-final .tiomobile-alt-store:hover,
.tiomobile-page[data-vendor="samsung"] .tiomobile-final .tiomobile-alt-store--galaxy,
.tiomobile-page[data-vendor="huawei"] .tiomobile-final .tiomobile-alt-store--appgallery {
	border-color: #fff;
	background: #fff;
	color: var(--tm-red) !important;
}

.tiomobile-checks {
	display: flex;
	gap: 8px 20px;
	margin: 24px 0 0;
	padding: 0;
	flex-wrap: wrap;
	list-style: none;
	font-size: 16px;
	font-weight: 600;
}

.tiomobile-checks i {
	margin-right: 4px;
	color: var(--tm-red);
}

.tiomobile-hero__visual {
	position: relative;
	height: 480px;
}

.tiomobile-hero__visual::before {
	content: '';
	position: absolute;
	inset: 8% 0 4%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(185, 0, 0, .18), rgba(185, 0, 0, 0));
}

.tiomobile-phone {
	position: absolute;
	top: 50%;
	width: 220px;
	aspect-ratio: 392 / 796;
	padding: 7px;
	border-radius: 34px;
	background: #16181c;
	box-shadow: 0 24px 50px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.tiomobile-phone img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 27px;
	object-fit: cover;
	object-position: top;
}

.tiomobile-phone--front {
	left: 50%;
	z-index: 2;
	transform: translate(-72%, -50%) rotate(-4deg);
}

.tiomobile-phone--back {
	left: 50%;
	transform: translate(-12%, -46%) rotate(6deg) scale(.9);
	opacity: .95;
}

/* Piattaforme */

.tiomobile-platforms {
	padding: 48px 0 8px;
	border-top: 1px solid var(--tm-border);
}

.tiomobile-platform-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.tiomobile-platform {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 26px 28px;
	border: 1px solid var(--tm-border);
	border-radius: 14px;
	background: var(--tm-card);
	box-shadow: var(--tm-shadow);
}

/* Righe condivise tra le card: le CTA restano allineate anche se solo Android ha gli store alternativi */
@supports (grid-template-rows: subgrid) {
	.tiomobile-platform {
		display: grid;
		grid-row: span 4;
		grid-template-rows: subgrid;
		align-content: start;
		gap: 0;
	}
}

.tiomobile-platform__match {
	display: none;
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--tm-red);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.tiomobile-page[data-os="ios"] .tiomobile-platform--ios,
.tiomobile-page[data-os="android"] .tiomobile-platform--android {
	border-color: var(--tm-red);
}

.tiomobile-page[data-os="ios"] .tiomobile-platform--ios .tiomobile-platform__match,
.tiomobile-page[data-os="android"] .tiomobile-platform--android .tiomobile-platform__match {
	display: inline-block;
}

.tiomobile-page[data-os="android"] .tiomobile-platform--android {
	order: -1;
}

.tiomobile-platform__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.tiomobile-platform__head i {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--tm-red-soft);
	color: var(--tm-red);
	font-size: 22px;
}

.tiomobile-platform h3 {
	margin: 0;
	font-size: 21px;
	font-weight: 700;
}

.tiomobile-platform ul {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.tiomobile-platform li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	color: var(--tm-muted);
	font-size: 16px;
}

.tiomobile-platform li i {
	width: 18px;
	color: var(--tm-red);
	text-align: center;
}

.tiomobile-platform__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: auto;
	padding: 12px 18px;
	border-radius: 10px;
	background: var(--tm-red);
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background-color .15s ease;
}

.tiomobile-platform__cta:hover {
	background: #960000;
}

/* Vantaggi */

.tiomobile-benefits {
	padding: 56px 0;
}

.tiomobile-benefit-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.tiomobile-benefit-list article {
	padding: 22px 20px;
	border-radius: 12px;
	background: var(--tm-soft);
}

.tiomobile-benefit-list i {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--tm-red);
	color: #fff;
	font-size: 17px;
}

.tiomobile-benefit-list h3 {
	margin-bottom: 6px;
	font-size: 18px;
	font-weight: 700;
}

.tiomobile-benefit-list p {
	margin-bottom: 0;
	color: var(--tm-muted);
	font-size: 15px;
	line-height: 1.55;
}

/* Auto */

.tiomobile-car {
	padding: 35px 38px;
	border: 1px solid var(--tm-border);
	border-radius: 14px;
	background: var(--tm-soft);
	/* newhome bar (55) + header (60) + sticky section menu (~35) + gap */
	scroll-margin-top: 170px;
}

.tiomobile-car__heading {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 13px;
}

.tiomobile-car__heading > i {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tm-red);
	color: #fff;
	font-size: 17px;
	flex-shrink: 0;
}

.tiomobile-car__heading span {
	display: block;
	margin-bottom: 2px;
	color: var(--tm-red);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
}

.tiomobile-car h2 {
	margin-bottom: 0;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
}

.tiomobile-car > p:not(.tiomobile-safety) {
	max-width: 700px;
	margin-bottom: 16px;
	color: var(--tm-muted);
	font-size: 16px;
	line-height: 1.55;
}

.tiomobile-car__platforms {
	display: flex;
	gap: 8px;
	margin-bottom: 27px;
	flex-wrap: wrap;
}

.tiomobile-car__platforms span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 11px;
	border: 1px solid var(--tm-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, .6);
	color: #20242a;
	font-size: 14px;
	font-weight: 700;
}

.tiomobile-car__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin: 0;
	padding: 20px 0;
	border-top: 1px solid var(--tm-border);
	list-style: none;
}

.tiomobile-car__steps li {
	display: grid;
	grid-template-columns: 28px 1fr;
	align-items: start;
	gap: 10px;
}

.tiomobile-car__steps li > span {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--tm-red);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.tiomobile-car__steps strong {
	display: block;
	margin-bottom: 3px;
	font-size: 16px;
}

.tiomobile-car__steps p {
	margin-bottom: 0;
	color: var(--tm-muted);
	font-size: 15px;
	line-height: 1.45;
}

.tiomobile-safety {
	margin: 24px 0 0;
	padding-top: 15px;
	border-top: 1px solid var(--tm-border);
	color: var(--tm-muted);
	font-size: 14px;
	line-height: 1.45;
}

.tiomobile-safety i {
	margin-right: 4px;
	color: var(--tm-red);
}

.tiomobile-final {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-top: 56px;
	padding: 36px 40px;
	border-radius: 18px;
	background: linear-gradient(135deg, #b90000, #7a0000);
	color: #fff;
}

.tiomobile-final h2 {
	margin-bottom: 8px;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
}

.tiomobile-final p {
	margin-bottom: 22px;
	color: rgba(255, 255, 255, .85);
	font-size: 17px;
}

.tiomobile-qr {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 290px;
	flex-shrink: 0;
}

.tiomobile-qr__code {
	width: 116px;
	height: 116px;
	padding: 10px;
	border-radius: 12px;
	background: #fff;
	flex-shrink: 0;
}

.tiomobile-qr__code svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: #111;
}

.tiomobile-qr p {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
}

.tiomobile-qr strong {
	display: block;
	color: #fff;
	font-size: 17px;
}

/* Responsive */

@media (max-width: 991px) {
	.tiomobile-qr {
		display: none;
	}
}

@media (max-width: 860px) {
	.tiomobile-hero {
		grid-template-columns: 1fr;
		gap: 24px;
		padding-bottom: 40px;
		text-align: center;
	}

	.tiomobile-app,
	.tiomobile-downloads,
	.tiomobile-alt-stores,
	.tiomobile-checks {
		justify-content: center;
	}

	.tiomobile-app {
		text-align: left;
	}

	.tiomobile-lead {
		margin-right: auto;
		margin-left: auto;
	}

	.tiomobile-hero__visual {
		height: 380px;
	}

	.tiomobile-phone {
		width: 175px;
		border-radius: 28px;
	}

	.tiomobile-phone img {
		border-radius: 22px;
	}

	.tiomobile-benefit-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 700px) {
	.tiomobile-page {
		padding: 24px 16px 48px;
	}

	.tiomobile-section-title,
	.tiomobile-car h2 {
		font-size: 22px;
	}

	.tiomobile-lead {
		font-size: 17px;
	}

	.tiomobile-platforms {
		padding-top: 36px;
	}

	.tiomobile-platform-list {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.tiomobile-platform {
		padding: 22px 20px;
	}

	/* Badge sul bordo superiore: su card strette si sovrapponeva al titolo */
	.tiomobile-platform__match {
		top: 0;
		right: 16px;
		transform: translateY(-50%);
	}

	.tiomobile-alt-stores {
		justify-content: center;
	}

	.tiomobile-alt-stores > span {
		flex-basis: 100%;
		text-align: center;
	}

	.tiomobile-benefits {
		padding: 40px 0;
	}

	.tiomobile-benefit-list {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.tiomobile-benefit-list article {
		display: grid;
		grid-template-columns: 42px 1fr;
		column-gap: 14px;
		padding: 16px;
	}

	.tiomobile-benefit-list i {
		grid-row: 1 / 3;
		margin: 0;
	}

	.tiomobile-benefit-list h3 {
		margin-bottom: 2px;
	}

	.tiomobile-car {
		padding: 27px 20px;
	}

	.tiomobile-car__heading {
		align-items: flex-start;
	}

	.tiomobile-car__heading > i {
		width: 40px;
		height: 40px;
	}

	.tiomobile-car__steps {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.tiomobile-final {
		margin-top: 40px;
		padding: 28px 20px;
		text-align: center;
	}

	.tiomobile-final h2 {
		font-size: 23px;
	}

	.tiomobile-final .tiomobile-downloads {
		justify-content: center;
	}
}

@media (max-width: 390px) {
	.tiomobile-hero__visual {
		height: 320px;
	}

	.tiomobile-phone {
		width: 148px;
	}

	.tiomobile-downloads {
		flex-direction: column;
	}

	.tiomobile-store img {
		height: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tiomobile-platform__cta,
	.tiomobile-alt-store {
		transition: none;
	}
}
