.apps-page {
	background: #f7f8f7;
	color: #39454b;
}

.apps-page #header {
	background: rgba(31, 35, 40, 0.88);
}

.apps-page #header h1 a,
.apps-page #header nav a {
	color: #fff;
}

.apps-page #intro.apps-hero {
	align-items: stretch !important;
	background: #020304 !important;
	display: block !important;
	height: clamp(390px, 54vh, 520px) !important;
	min-height: clamp(390px, 54vh, 520px) !important;
	overflow: hidden;
	padding: 0 !important;
	position: relative;
	width: 100vw;
}

.apps-page #intro.apps-hero > .apps-hero-content {
	align-items: center;
	display: flex !important;
	flex-direction: column;
	inset: 0 !important;
	justify-content: center;
	margin: 0 !important;
	max-width: none !important;
	padding: 4.6em 1.25em 1.8em;
	position: absolute !important;
	text-align: center;
	transform: none !important;
	width: 100% !important;
	z-index: 2;
}

.apps-page #intro.apps-hero::after {
	background: rgba(0, 0, 0, 0.18);
}

.apps-hero-bg {
	background:
		radial-gradient(circle at 50% 88%, rgba(160, 205, 255, 0.2), transparent 24em),
		radial-gradient(circle at 20% 45%, rgba(152, 197, 147, 0.2), transparent 18em),
		linear-gradient(180deg, #050607 0%, #0d1115 52%, #020304 100%);
	inset: 0;
	position: absolute;
}

.apps-hero-bg::before {
	background:
		linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 86px);
	content: "";
	inset: 0;
	opacity: 0.28;
	position: absolute;
	transform: skewY(-7deg) translateY(3em);
}

.apps-hero-brand {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-size: clamp(1.35em, 2.4vw, 2em);
	font-weight: 900;
	gap: 0.45em;
	letter-spacing: 0;
	line-height: 1;
	margin-bottom: 0.75em;
	text-shadow: 0 7px 28px rgba(0, 0, 0, 0.5);
}

.apps-hero-brand img {
	height: 1.25em;
	width: auto;
}

.apps-hero-dock {
	height: clamp(9.75em, 18vw, 13em);
	margin: 0 auto 0.2em;
	max-width: min(92vw, 46em);
	position: relative;
	width: 100%;
}

.app-dock-item {
	--dock-offset: 0;
	--dock-scale: 0.62;
	--dock-z: 1;
	--dock-opacity: 0.48;
	--dock-blur: 1.6px;
	align-items: center;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 24%;
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.16);
	display: flex;
	height: clamp(5em, 10vw, 7em);
	justify-content: center;
	left: 50%;
	opacity: var(--dock-opacity);
	padding: 0.32em;
	position: absolute;
	text-decoration: none;
	top: 50%;
	transform:
		translate(-50%, -50%)
		translateX(calc(var(--dock-offset) * clamp(4.4em, 8.4vw, 6.6em)))
		translateY(var(--dock-lift, 0))
		scale(var(--dock-scale));
	transition:
		filter 760ms cubic-bezier(0.2, 0.9, 0.2, 1),
		opacity 760ms cubic-bezier(0.2, 0.9, 0.2, 1),
		transform 760ms cubic-bezier(0.2, 0.9, 0.2, 1);
	width: clamp(5em, 10vw, 7em);
	z-index: var(--dock-z);
}

.app-dock-item img {
	aspect-ratio: 1;
	border-radius: 22%;
	display: block;
	filter: blur(var(--dock-blur));
	height: 100%;
	object-fit: cover;
	transition: filter 760ms cubic-bezier(0.2, 0.9, 0.2, 1);
	width: 100%;
}

.app-dock-item[data-position="-2"],
.app-dock-item[data-position="2"] {
	--dock-scale: 0.6;
	--dock-z: 1;
	--dock-opacity: 0.38;
	--dock-blur: 2px;
}

.app-dock-item[data-position="hidden"] {
	--dock-scale: 0.46;
	--dock-z: 0;
	--dock-opacity: 0;
	--dock-blur: 3px;
	pointer-events: none;
}

.app-dock-item[data-position="-1"],
.app-dock-item[data-position="1"] {
	--dock-scale: 0.82;
	--dock-z: 3;
	--dock-opacity: 0.78;
	--dock-blur: 0.7px;
}

.app-dock-item[data-position="0"] {
	--dock-scale: 1.24;
	--dock-z: 6;
	--dock-opacity: 1;
	--dock-blur: 0;
}

.app-dock-item[data-position="0"] img {
	filter: none;
}

.app-dock-item:hover,
.app-dock-item:focus-visible {
	--dock-lift: -0.75em;
	opacity: 1;
	outline: none;
}

.apps-hero-copy {
	min-height: 5.8em;
	position: relative;
	transition: opacity 300ms ease, transform 300ms ease;
	z-index: 7;
}

.apps-kicker {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.82em;
	font-weight: 900;
	letter-spacing: 0.08em;
	margin-bottom: 0.45em;
	text-transform: uppercase;
	/* Hidden but kept in layout so the hero spacing is unchanged. */
	visibility: hidden;
}

.apps-hero-copy h2 {
	color: #fff;
	font-size: clamp(1.7em, 3.2vw, 2.8em) !important;
	letter-spacing: 0;
	line-height: 1.05;
	margin-bottom: 0.2em;
	text-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}

.apps-hero-copy p:last-child {
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.98em;
	line-height: 1.45;
	margin: 0 auto;
	max-width: 42em;
}

.apps-hero-copy.is-changing {
	opacity: 0;
	transform: translateY(0.35em);
}

.apps-overview .content,
.apps-policy-note .content,
.apps-detail-list .content {
	max-width: 68em;
}

.apps-toolbar {
	margin: 0 auto 2em;
	text-align: center;
}

.apps-grid-list {
	display: grid;
	gap: 1.1em;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 58em;
}

.app-tile {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(57, 69, 75, 0.13);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(57, 69, 75, 0.08);
	color: #39454b;
	display: flex;
	flex-direction: column;
	min-height: 10.75em;
	padding: 1em 0.75em;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.app-tile:hover {
	border-color: rgba(152, 197, 147, 0.7);
	box-shadow: 0 18px 44px rgba(57, 69, 75, 0.13);
	transform: translateY(-4px);
}

.app-tile img,
.app-detail-icon img {
	aspect-ratio: 1;
	border-radius: 22%;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
	display: block;
	object-fit: cover;
}

.app-tile img {
	height: 5.75em;
	width: 5.75em;
}

.app-tile strong {
	color: #253239;
	display: block;
	font-size: 0.95em;
	font-weight: 900;
	line-height: 1.2;
	margin-top: 0.8em;
	text-align: center;
}

.app-tile span {
	color: #68767c;
	display: block;
	font-size: 0.82em;
	line-height: 1.35;
	margin-top: 0.25em;
	text-align: center;
}

.apps-policy-note {
	background: #eef2ef;
	padding: 3em 1.5em;
	text-align: center;
}

.apps-policy-note h2 {
	color: #253239;
	font-size: 2em;
	letter-spacing: 0;
	line-height: 1.15;
	margin-bottom: 0.4em;
}

.apps-policy-note p {
	margin: 0 auto;
	max-width: 48em;
}

.app-detail {
	background: #fff;
	padding: 4em 1.5em;
	scroll-margin-top: 4em;
}

.app-detail:nth-child(even) {
	background: #f7f9f7;
}

.app-detail-header {
	align-items: center;
	display: grid;
	gap: 1.5em;
	grid-template-columns: auto 1fr;
	margin-bottom: 2em;
	text-align: left;
}

.app-detail-icon img {
	height: 7.5em;
	width: 7.5em;
}

.app-meta {
	color: #6b777d;
	font-size: 0.9em;
	font-weight: 900;
	letter-spacing: 0.05em;
	margin-bottom: 0.6em;
	text-transform: uppercase;
}

.app-detail h2 {
	color: #253239;
	font-size: 2.25em;
	letter-spacing: 0;
	line-height: 1.1;
	margin-bottom: 0.35em;
}

.app-detail-intro {
	margin: 0;
	max-width: 46em;
}

.app-detail-grid {
	display: grid;
	gap: 1.25em;
	grid-template-columns: 1fr 1fr;
	text-align: left;
}

.app-panel {
	background: #fff;
	border: 1px solid rgba(57, 69, 75, 0.12);
	border-radius: 8px;
	padding: 1.25em;
}

.app-detail:nth-child(odd) .app-panel {
	background: #fbfcfb;
}

.app-panel h3 {
	color: #253239;
	font-size: 1.15em;
	letter-spacing: 0;
	line-height: 1.25;
	margin-bottom: 0.65em;
}

.app-panel p {
	margin-bottom: 0.9em;
}

.app-panel p:last-child,
.app-panel ul:last-child {
	margin-bottom: 0;
}

.app-panel ul {
	list-style: disc;
	margin: 0 0 1em 1.2em;
}

.app-panel li {
	margin-bottom: 0.45em;
}

.app-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7em;
	margin-top: 1.15em;
}

.app-actions a,
.app-actions span {
	align-items: center;
	border: 1px solid rgba(57, 69, 75, 0.2);
	border-radius: 8px;
	display: inline-flex;
	font-size: 0.86em;
	font-weight: 900;
	min-height: 2.8em;
	padding: 0 1em;
	text-decoration: none;
}

.app-actions a {
	background: #39454b;
	color: #fff;
}

.app-actions a.secondary {
	background: #fff;
	color: #39454b;
}

.app-actions span {
	background: #eef2ef;
	color: #69777d;
}

.privacy-list strong {
	color: #253239;
	font-weight: 900;
}

.last-updated {
	color: #718086;
	font-size: 0.9em;
	margin-top: 1em;
}

@media screen and (max-width: 980px) {
	.apps-grid-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.app-detail-grid {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 736px) {
	.apps-page #header nav li:first-child {
		display: none;
	}

	.apps-hero {
		height: 54vh !important;
		min-height: 420px !important;
	}

	.apps-page #intro.apps-hero > .apps-hero-content {
		padding-top: 4em;
	}

	.apps-hero-brand {
		margin-bottom: 0.55em;
	}

	.apps-hero-dock {
		height: 9.25em;
		max-width: 100%;
	}

	.app-dock-item {
		height: clamp(4.1em, 17vw, 5.2em);
		width: clamp(4.1em, 17vw, 5.2em);
	}

	.apps-hero-copy {
		min-height: 6.6em;
	}

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

	.app-detail {
		padding: 3em 1.25em;
	}

	.app-detail-header {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.app-detail-icon {
		justify-self: center;
	}

	.app-detail h2 {
		font-size: 1.9em;
	}

	.app-detail-intro {
		margin-left: auto;
		margin-right: auto;
	}
}

@media screen and (max-width: 420px) {
	.apps-grid-list {
		gap: 0.75em;
	}

	.app-tile {
		min-height: 9.75em;
		padding: 0.85em 0.5em;
	}

	.app-tile img {
		height: 4.9em;
		width: 4.9em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.app-dock-item,
	.app-dock-item img,
	.apps-hero-copy {
		animation: none !important;
		transition: none !important;
	}
}
