/*
 * Google Play apps: hero, app cards, exam prep section and the shared footer.
 * Added 2026-11-16 on top of main.css (same colours and Inter fonts).
 */

:root {
	--tap-blue: #393D95;
	--tap-blue-dark: #2A2E70;
	--tap-muted: #5D6074;
	--tap-soft: #ECEDF9;
	--tap-line: #E3E4EE;
}

/* Long words and URLs (the Terms' HTTPS://THINKABOUTAPPS.COM/POLICY, German compounds) wrap
   instead of widening the page on phones. */
body {
	overflow-wrap: break-word;
}

.tap-muted {
	color: var(--tap-muted);
}

/* Stats band on phones: a third of the screen has to hold values like "100.000+". */
@media (max-width: 575.98px) {
	.tap-stat-value {
		font-size: clamp(1rem, 5vw, 2rem);
		white-space: nowrap;
	}
}

.tap-measure {
	max-width: 46rem;
}

.tap-eyebrow {
	display: inline-block;
	padding: .4rem 1rem;
	border-radius: 999px;
	background-color: var(--tap-soft);
	color: var(--tap-blue);
	font-size: .95rem;
}

.tap-link {
	color: var(--tap-blue);
	text-decoration: none;
}

.tap-link:hover,
.tap-link:focus {
	color: var(--tap-blue-dark);
	text-decoration: underline;
}

.store-button-sm {
	height: 3rem;
	width: auto;
}

/* The fixed header (and its language list) stays above the page's own layers, like the hero screenshots. */
header.z-index-1 {
	z-index: 1030;
}

/* The menu crosses into the blue hero panel, so it always gets a light, frosted background. */
.navbar {
	background-color: rgba(248, 248, 248, .9);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
}

/* Hero: three store screenshots on the brand rays */

.tap-hero-visual {
	position: relative;
	overflow: hidden;
	aspect-ratio: 20 / 21;
	background:
		conic-gradient(from 0deg at 0% 100%,
			#5A61BB 0deg 9deg,
			#4448AC 9deg 20deg,
			#393D95 20deg 32deg,
			#5A61BB 32deg 44deg,
			#8084D9 44deg 56deg,
			#6D72CC 56deg 64deg,
			var(--tap-soft) 64deg 360deg);
}

.tap-hero-shot {
	position: absolute;
	width: 34%;
	height: auto;
	border-radius: 1.5rem;
	box-shadow: 0 1.5rem 3.5rem rgba(18, 20, 66, .35);
}

.tap-hero-shot-1 {
	left: 8%;
	top: 28%;
	transform: rotate(-7deg);
}

.tap-hero-shot-2 {
	left: 30%;
	top: 17%;
	width: 40%;
	z-index: 1;
}

.tap-hero-shot-3 {
	right: 7%;
	top: 28%;
	transform: rotate(7deg);
}

/* Featured app cards */

.tap-app {
	border-radius: 2rem;
	overflow: hidden;
}

.tap-app-icon {
	width: 4.5rem;
	height: 4.5rem;
	flex-shrink: 0;
	border-radius: 22%;
	box-shadow: 0 .25rem .75rem rgba(21, 23, 43, .12);
}

.tap-app-icon-sm {
	width: 3rem;
	height: 3rem;
}

.tap-chip {
	display: inline-block;
	padding: .15rem .65rem;
	border-radius: 999px;
	background-color: var(--tap-soft);
	color: var(--tap-blue);
	font-size: .8rem;
}

.tap-points {
	list-style: none;
	padding: 0;
}

.tap-points li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: .6rem;
}

.tap-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .1em;
	width: 1.3rem;
	height: 1.3rem;
	background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23ECEDF9'/%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23393D95' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.tap-app-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 2rem;
	background-color: var(--tap-tint, var(--tap-soft));
}

.tap-app-shots {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 1.25rem;
	width: 100%;
}

.tap-app-shots img {
	width: 13.5rem;
	max-width: 46%;
	height: auto;
	border-radius: 1.25rem;
	box-shadow: 0 1rem 2.5rem rgba(21, 23, 43, .18);
}

.tap-app-shots img:nth-child(2) {
	margin-top: 2.5rem;
}

/* Exam prep */

.tap-exam {
	display: flex;
	flex-direction: column;
	border-radius: 1.5rem;
	overflow: hidden;
}

.tap-exam-feature {
	display: block;
	width: 100%;
	height: auto;
}

.tap-features {
	border-radius: 2rem;
}

.tap-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 1rem;
	background-color: var(--tap-soft);
	color: var(--tap-blue);
}

.tap-feature-icon svg {
	width: 1.5rem;
	height: 1.5rem;
}

/* Footer */

.tap-footer-tagline {
	max-width: 16rem;
}

.tap-footer-legal {
	border-top: 1px solid var(--tap-line);
}

@media (max-width: 991.98px) {

	.tap-hero-visual {
		aspect-ratio: 1 / 1;
	}

	.tap-app,
	.tap-features {
		border-radius: 1rem;
	}

	.tap-exam {
		border-radius: 1rem;
	}

	.tap-app-visual {
		padding: 2rem 1rem;
	}

	.tap-app-icon {
		width: 3.5rem;
		height: 3.5rem;
	}

	.tap-app-icon-sm {
		width: 3rem;
		height: 3rem;
	}

	.tap-app-shots img {
		border-radius: .9rem;
	}

}
