/**
 * The download button.
 *
 * One rule set for one link. What used to be here — a grid of options, a
 * recommended state, a badge, a size that a script filled in — went when the
 * build became a single file that suits every Windows machine.
 *
 * Hand-written for the same reason faq.css is: the stylesheet next to this one
 * is a pre-built Tailwind artefact with no build step in the repository, so a
 * utility class that was not already compiled into it does nothing at all. That
 * is not a theoretical risk — an earlier version of this section used
 * `text-[11px]` and `text-brand-gold-muted/70`, neither of which is in that
 * file, and the result was invisible text inside something that did not read as
 * a button.
 *
 * Colours come from the custom properties the built stylesheet already defines,
 * so this follows the palette rather than restating it.
 */

.download-cta {
	display: flex;
	justify-content: center;
}

.download-option {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.75rem 1rem 1.25rem;
	border-radius: 9999px;
	text-align: left;
	text-decoration: none;

	background: var(--brand-gold);
	border: 1px solid var(--brand-gold);
	transition:
		background-color 150ms ease,
		border-color 150ms ease;
}

.download-option:hover {
	background: var(--brand-gold-dark);
	border-color: var(--brand-gold-dark);
}

.download-option:focus-visible {
	outline: 2px solid var(--brand-gold-muted);
	outline-offset: 3px;
}

.download-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: color-mix(in oklab, var(--brand-blue) 14%, transparent);
	color: var(--brand-blue);
}

.download-icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.download-name {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--brand-blue);
}
