/* ==================================================
   /our-apps/ pages. Everything is scoped to #_apps_page.
   ================================================== */

#_apps_page {
	--apps-ink: #17212f;
	--apps-muted: #5b6778;
	--apps-line: #e4e8ef;
	--apps-soft: #f5f7fb;
	--apps-green: #3ddc84;
	--apps-green-dark: #06251c;
	--app-accent: #0b4a35;
	color: var(--apps-ink);
	background: #fff;
}

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

#_apps_page ._apps_hero {
	padding: 2.5rem 0 3rem;
	background:
		radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--app-accent) 26%, transparent), transparent 48%),
		var(--apps-soft);
}

#_apps_page ._apps_hero_list {
	--app-accent: #0f9d58;
}

#_apps_page ._apps_crumb {
	margin-bottom: 1.5rem;
	color: var(--apps-muted);
	font-size: 0.85rem;
}

#_apps_page ._apps_crumb a {
	color: var(--apps-muted);
	text-decoration: none;
}

#_apps_page ._apps_crumb a:hover {
	color: var(--apps-ink);
	text-decoration: underline;
}

#_apps_page ._apps_hero_row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
}

#_apps_page ._apps_hero_text {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 44rem;
}

#_apps_page ._apps_hero_shot {
	flex: 0 1 26rem;
	min-width: 0;
	text-align: center;
}

#_apps_page ._apps_hero_shot img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 26rem;
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

#_apps_page ._apps_h1 {
	margin: 0 0 0.75rem;
	color: var(--apps-ink);
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.12;
}

#_apps_page ._apps_tagline {
	max-width: 42rem;
	margin: 0 0 1.25rem;
	color: var(--apps-muted);
	font-size: 1.15rem;
	line-height: 1.55;
}

#_apps_page ._apps_icon {
	display: block;
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
}

#_apps_page ._apps_icon_lg {
	width: 96px;
	height: 96px;
	margin-bottom: 1.25rem;
	border-radius: 22px;
}

#_apps_page ._apps_facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	color: var(--apps-muted);
	font-size: 0.92rem;
	font-weight: 600;
}

/* ---------------- Google Play button ---------------- */

#_apps_page a._apps_play {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.65rem 1.25rem;
	border-radius: 12px;
	background: var(--apps-green);
	color: var(--apps-green-dark);
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.15;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#_apps_page a._apps_play:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(15, 157, 88, 0.32);
}

#_apps_page a._apps_play:focus-visible,
#_apps_page ._apps_card_title a:focus-visible,
#_apps_page ._apps_gallery:focus-visible {
	outline: 3px solid var(--app-accent);
	outline-offset: 3px;
}

#_apps_page ._apps_play > i {
	font-size: 1.5rem;
}

#_apps_page ._apps_play small {
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
}

#_apps_page a._apps_play_sm {
	padding: 0.4rem 0.8rem;
	border-radius: 9px;
	font-size: 0.85rem;
}

#_apps_page ._apps_play_sm > i {
	font-size: 1.1rem;
}

#_apps_page ._apps_play_sm small {
	font-size: 0.58rem;
}

/* ---------------- layout + headings ---------------- */

#_apps_page ._apps_main {
	padding-top: 3rem;
	padding-bottom: 4rem;
}

#_apps_page ._apps_main > section {
	margin-bottom: 3.25rem;
}

#_apps_page ._apps_main > section:last-child {
	margin-bottom: 0;
}

#_apps_page ._apps_h2 {
	margin: 0 0 1.25rem;
	color: var(--apps-ink);
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

#_apps_page ._apps_prose {
	max-width: 48rem;
	color: #334155;
	font-size: 1.05rem;
	line-height: 1.75;
}

#_apps_page ._apps_prose p {
	margin: 0 0 1rem;
}

/* ---------------- app cards ---------------- */

#_apps_page ._apps_grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr));
	gap: 1.5rem;
}

#_apps_page ._apps_card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--apps-line);
	border-radius: 18px;
	background: #fff;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#_apps_page ._apps_card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

#_apps_page ._apps_card_shot {
	height: 11rem;
	overflow: hidden;
	background: color-mix(in srgb, var(--app-accent) 12%, #fff);
}

#_apps_page ._apps_card_shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

#_apps_page ._apps_card_body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 1.1rem 1.15rem 1.15rem;
}

#_apps_page ._apps_card_head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 0.7rem;
}

#_apps_page ._apps_chip {
	display: inline-block;
	margin-bottom: 0.2rem;
	color: var(--app-accent);
	font-size: 0.75rem;
	font-weight: 700;
}

#_apps_page ._apps_card_title {
	margin: 0;
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.3;
}

#_apps_page ._apps_card_title a {
	color: var(--apps-ink);
	text-decoration: none;
}

/* the title link covers the whole card, so the whole card opens the app page */
#_apps_page ._apps_card_title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

#_apps_page ._apps_card_text {
	flex: 1 1 auto;
	margin: 0 0 1rem;
	color: var(--apps-muted);
	font-size: 0.93rem;
	line-height: 1.55;
}

#_apps_page ._apps_card_foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

#_apps_page ._apps_more {
	color: var(--app-accent);
	font-size: 0.9rem;
	font-weight: 700;
}

/* ---------------- screenshots ---------------- */

#_apps_page ._apps_gallery {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	padding: 0.25rem 0.25rem 1rem;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

#_apps_page ._apps_gallery img {
	flex: 0 0 auto;
	width: auto;
	max-width: 85vw;
	height: 24rem;
	border: 1px solid var(--apps-line);
	border-radius: 14px;
	object-fit: contain;
	scroll-snap-align: start;
}

/* ---------------- features ---------------- */

#_apps_page ._apps_features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
	gap: 1.1rem;
}

#_apps_page ._apps_feature {
	padding: 1.25rem;
	border: 1px solid var(--apps-line);
	border-radius: 14px;
	background: #fff;
}

#_apps_page ._apps_feature_icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	margin-bottom: 0.75rem;
	border-radius: 11px;
	background: color-mix(in srgb, var(--app-accent) 12%, #fff);
	color: var(--app-accent);
	font-size: 1.25rem;
}

#_apps_page ._apps_feature h3 {
	margin: 0 0 0.35rem;
	color: var(--apps-ink);
	font-size: 1.05rem;
	font-weight: 700;
}

#_apps_page ._apps_feature p {
	margin: 0;
	color: var(--apps-muted);
	font-size: 0.93rem;
	line-height: 1.55;
}

/* ---------------- who + links + FAQ ---------------- */

#_apps_page ._apps_who {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr));
	gap: 0.7rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #334155;
}

#_apps_page ._apps_who i {
	margin-right: 0.35rem;
	color: var(--app-accent);
}

#_apps_page ._apps_links {
	margin: 0;
	padding: 0;
	list-style: none;
}

#_apps_page ._apps_links li {
	margin-bottom: 0.5rem;
}

#_apps_page ._apps_links a {
	color: var(--app-accent);
	font-weight: 600;
}

#_apps_page ._apps_faq {
	max-width: 48rem;
	margin-bottom: 0.65rem;
	border: 1px solid var(--apps-line);
	border-radius: 12px;
	background: #fff;
}

#_apps_page ._apps_faq summary {
	padding: 0.9rem 1.1rem;
	color: var(--apps-ink);
	font-weight: 700;
	cursor: pointer;
}

#_apps_page ._apps_faq p {
	margin: 0;
	padding: 0 1.1rem 1rem;
	color: var(--apps-muted);
	line-height: 1.6;
}

/* ---------------- download band ---------------- */

#_apps_page ._apps_cta {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem 1.75rem;
	border-radius: 18px;
	background:
		radial-gradient(circle at 100% 0, rgba(61, 220, 132, 0.34), transparent 55%),
		linear-gradient(120deg, #06251c, #0b4a35);
	color: #fff;
}

#_apps_page ._apps_cta_text {
	flex: 1 1 auto;
	min-width: 0;
}

#_apps_page ._apps_cta_title {
	margin: 0 0 0.2rem;
	color: #fff;
	font-size: 1.25rem;
	font-weight: 800;
}

#_apps_page ._apps_cta_sub {
	margin: 0;
	color: #cfe9dc;
	font-size: 0.95rem;
}

/* ---------------- small screens ---------------- */

@media (max-width: 767.98px) {
	#_apps_page ._apps_hero {
		padding-bottom: 2rem;
	}

	#_apps_page ._apps_hero_row {
		flex-direction: column;
		align-items: stretch;
		gap: 2rem;
	}

	#_apps_page ._apps_hero_shot {
		flex: 0 0 auto;
	}

	#_apps_page ._apps_gallery img {
		height: 20rem;
	}

	#_apps_page ._apps_cta {
		flex-wrap: wrap;
		padding: 1.25rem;
	}

	#_apps_page ._apps_cta_text {
		flex: 1 1 60%;
	}
}

@media (prefers-reduced-motion: reduce) {
	#_apps_page ._apps_card,
	#_apps_page a._apps_play {
		transition: none;
	}
}
