:root {
	--jj-apps-ink: #2e211a;
	--jj-apps-muted: #6f6057;
	--jj-apps-paper: #f4eee6;
	--jj-apps-card: rgba(255, 253, 249, 0.88);
	--jj-apps-coffee: #7a4228;
	--jj-apps-caramel: #d68b56;
	--jj-apps-line: rgba(79, 54, 40, 0.13);
}

body.javajudge-other-apps {
	min-width: 320px;
	margin: 0;
	font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	background:
		radial-gradient(circle at 50% -10%, rgba(217, 157, 104, 0.26), transparent 34rem),
		var(--jj-apps-paper);
}

.javajudge-other-apps > .commerce-header,
.javajudge-other-apps > .site-header {
	display: none;
}

.jj-apps-skip-link {
	position: fixed;
	z-index: 100;
	top: 10px;
	left: 10px;
	padding: 10px 14px;
	border-radius: 999px;
	color: #fff;
	background: var(--jj-apps-coffee);
	font-weight: 800;
	text-decoration: none;
	transform: translateY(-160%);
}

.jj-apps-skip-link:focus {
	transform: translateY(0);
}

.jj-apps-page {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	overflow: hidden;
	color: var(--jj-apps-ink);
}

.jj-apps-page a:focus-visible {
	outline: 3px solid rgba(122, 66, 40, 0.42);
	outline-offset: 4px;
}

.jj-apps-orb {
	position: absolute;
	z-index: -1;
	border-radius: 999px;
	filter: blur(2px);
	opacity: 0.55;
	pointer-events: none;
}

.jj-apps-orb-one {
	top: 14rem;
	right: -9rem;
	width: 20rem;
	height: 20rem;
	background: rgba(213, 135, 83, 0.3);
}

.jj-apps-orb-two {
	bottom: 2rem;
	left: -8rem;
	width: 17rem;
	height: 17rem;
	background: rgba(107, 139, 120, 0.22);
}

.jj-apps-nav,
.jj-apps-hero,
.jj-apps-list,
.jj-apps-footer {
	width: min(100% - 36px, 980px);
	margin-right: auto;
	margin-left: auto;
}

.jj-apps-nav {
	display: flex;
	min-height: 78px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border-bottom: 1px solid var(--jj-apps-line);
}

.jj-apps-brand,
.jj-apps-back {
	display: inline-flex;
	align-items: center;
	color: var(--jj-apps-ink);
	font-weight: 800;
	text-decoration: none;
}

.jj-apps-brand {
	gap: 10px;
	font-size: 18px;
	letter-spacing: -0.02em;
}

.jj-apps-brand-mark {
	display: grid;
	width: 35px;
	height: 35px;
	place-items: center;
	border-radius: 11px;
	color: #fff;
	background: var(--jj-apps-coffee);
	box-shadow: 0 8px 18px rgba(86, 47, 29, 0.2);
	font-family: Georgia, serif;
	font-size: 21px;
	font-style: italic;
}

.jj-apps-back {
	gap: 8px;
	color: var(--jj-apps-coffee);
	font-size: 13px;
	letter-spacing: 0.01em;
}

.jj-apps-back span {
	transition: transform 180ms ease;
}

.jj-apps-back:hover span {
	transform: translateX(3px);
}

.jj-apps-hero {
	padding: clamp(62px, 10vw, 118px) 0 clamp(42px, 7vw, 76px);
	text-align: center;
}

.jj-apps-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 20px;
	color: var(--jj-apps-coffee);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.jj-apps-eyebrow::before {
	width: 28px;
	height: 1px;
	background: currentColor;
	content: "";
}

.jj-apps-hero h1 {
	max-width: 820px;
	margin: 0 auto;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(43px, 7.4vw, 78px);
	font-weight: 500;
	letter-spacing: -0.052em;
	line-height: 0.98;
	text-wrap: balance;
}

.jj-apps-intro {
	max-width: 610px;
	margin: 25px auto 0;
	color: var(--jj-apps-muted);
	font-size: clamp(16px, 2.2vw, 19px);
	line-height: 1.65;
	text-wrap: balance;
}

.jj-apps-list {
	display: grid;
	gap: 22px;
	padding-bottom: 80px;
}

.jj-app-card {
	display: grid;
	grid-template-columns: 166px minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 5vw, 54px);
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid var(--jj-apps-line);
	border-radius: 30px;
	background: var(--jj-apps-card);
	box-shadow: 0 24px 70px rgba(69, 46, 33, 0.1);
	backdrop-filter: blur(16px);
}

.jj-app-icon-wrap {
	display: grid;
	place-items: center;
}

.jj-app-icon {
	display: grid;
	width: 148px;
	height: 148px;
	place-items: center;
	border: 1px solid rgba(50, 37, 29, 0.1);
	border-radius: 33px;
	background: linear-gradient(145deg, var(--jj-apps-caramel), var(--jj-apps-coffee));
	box-shadow: 0 20px 34px rgba(67, 43, 29, 0.17);
	object-fit: cover;
}

.jj-app-icon-fallback {
	color: #fff;
	font-family: Georgia, serif;
	font-size: 64px;
}

.jj-app-copy {
	min-width: 0;
}

.jj-app-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 8px;
	color: var(--jj-apps-coffee);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.jj-app-copy h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.jj-app-description {
	max-width: 610px;
	margin: 13px 0 22px;
	color: var(--jj-apps-muted);
	font-size: 15px;
	line-height: 1.6;
}

.jj-app-store-link {
	display: inline-flex;
	min-height: 56px;
	align-items: center;
	gap: 10px;
	padding: 8px 17px 8px 14px;
	border-radius: 14px;
	color: #fff;
	background: #171310;
	box-shadow: 0 10px 20px rgba(34, 25, 20, 0.17);
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.jj-app-store-link:hover {
	box-shadow: 0 14px 26px rgba(34, 25, 20, 0.23);
	transform: translateY(-2px);
}

.jj-app-store-symbol {
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 29px;
	line-height: 1;
}

.jj-app-store-link span:last-child {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.jj-app-store-link small {
	margin-bottom: 4px;
	font-size: 10px;
	font-weight: 500;
}

.jj-app-store-link strong {
	font-size: 18px;
	font-weight: 650;
	letter-spacing: -0.02em;
}

.jj-apps-footer {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 26px 0 34px;
	border-top: 1px solid var(--jj-apps-line);
	color: var(--jj-apps-muted);
	font-size: 12px;
}

.jj-apps-footer p {
	margin: 0;
}

@media (max-width: 660px) {
	.jj-apps-nav,
	.jj-apps-hero,
	.jj-apps-list,
	.jj-apps-footer {
		width: min(100% - 28px, 980px);
	}

	.jj-apps-nav {
		min-height: 68px;
	}

	.jj-apps-brand-mark {
		width: 32px;
		height: 32px;
	}

	.jj-apps-hero {
		padding-top: 58px;
	}

	.jj-app-card {
		grid-template-columns: 1fr;
		gap: 25px;
		border-radius: 24px;
		text-align: center;
	}

	.jj-app-icon {
		width: 128px;
		height: 128px;
		border-radius: 29px;
	}

	.jj-app-meta {
		justify-content: center;
	}

	.jj-app-description {
		margin-right: auto;
		margin-left: auto;
	}

	.jj-apps-footer {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jj-apps-page *,
	.jj-apps-page *::before,
	.jj-apps-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
