.download-buttons,
.download-platform {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.download-buttons .coming-soon::before {
	content: none;
}

.download-buttons [hidden] {
	display: none;
}

.download-buttons :is(a, button):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.download-status {
	color: var(--fg-dim);
	background: var(--bg-soft);
	border-color: var(--border);
}

.mac-download {
	position: relative;
}

.mac-download-trigger {
	font-family: inherit;
	line-height: inherit;
	cursor: pointer;
}

.mac-download-trigger::after {
	content: '';
	width: 6px;
	height: 6px;
	border: solid currentColor;
	border-width: 0 1px 1px 0;
	transform: translateY(-2px) rotate(45deg);
}

.mac-download-options {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 2;
	min-width: 100%;
	width: max-content;
	padding-top: 6px;
	transform: translateX(-50%);
}

.mac-download-list {
	display: grid;
	padding: 4px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--bg-soft);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.mac-download-list a {
	display: block;
	padding: 8px 14px;
	border-radius: 8px;
	color: var(--fg);
	font-size: 14px;
	text-align: left;
}

.mac-download-list a:hover {
	background: var(--accent-soft);
	opacity: 1;
}
