/*
 * BlindHelper website page.
 *
 * Scoped to .bh-site so it cannot leak into the Ejectamenta theme or the
 * Speak Image page.
 */

.bh-site {
	--bh-site-text: #e6edf3;
	--bh-site-muted: #aab6c6;
	--bh-site-line: #3a4654;
	--bh-site-panel: #161b22;
	--bh-site-panel-2: #1d242e;
	--bh-site-accent: #6cb6ff;
	color: var(--bh-site-text);
	max-width: 980px;
	margin: 1.5rem auto 3rem;
	padding: 0 1rem;
	text-align: left;
}

.bh-site h2,
.bh-site h3 {
	color: #f5f8fb;
	line-height: 1.25;
}

.bh-site h2 {
	font-size: clamp(1.35rem, 3vw, 1.8rem);
	margin: 0 0 0.7rem;
}

.bh-site h3 {
	font-size: 1.02rem;
	margin: 0 0 0.35rem;
}

.bh-site p,
.bh-site li {
	line-height: 1.65;
}

.bh-site a {
	color: var(--bh-site-accent);
}

.bh-site-hero {
	padding: clamp(1.2rem, 4vw, 2rem);
	background: linear-gradient(145deg, #101722, #1b2431);
	border: 1px solid var(--bh-site-line);
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.bh-site-kicker {
	margin: 0 0 0.45rem;
	color: #8fd0ff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.bh-site-hero h2 {
	font-size: clamp(1.75rem, 5vw, 2.65rem);
	max-width: 18ch;
	margin-bottom: 0.7rem;
}

.bh-site-lede {
	max-width: 66ch;
	margin: 0 0 1.2rem;
	color: #cbd5e1;
	font-size: clamp(1rem, 2.2vw, 1.12rem);
}

.bh-site-small {
	color: var(--bh-site-muted);
	font-size: 0.86rem;
}

.bh-site-section {
	margin-top: 1.3rem;
	padding: clamp(1rem, 3vw, 1.5rem);
	background: var(--bh-site-panel);
	border: 1px solid var(--bh-site-line);
	border-radius: 12px;
}

.bh-site-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 0.9rem;
	margin-top: 0.8rem;
}

.bh-site-grid article {
	padding: 0.9rem;
	background: var(--bh-site-panel-2);
	border: 1px solid #303b49;
	border-radius: 9px;
}

.bh-site-grid p {
	margin: 0;
	color: #c6d0dc;
}

.bh-site-grid--commands ul {
	margin: 0;
	padding-left: 1.15rem;
}

.bh-site-steps {
	margin: 0.6rem 0 1rem;
	padding-left: 1.3rem;
}

.bh-site-steps li + li {
	margin-top: 0.35rem;
}

.bh-site code {
	padding: 0.1em 0.35em;
	background: #0b1118;
	border: 1px solid #354150;
	border-radius: 4px;
	color: #f3d28a;
	font-size: 0.9em;
}

.bh-site ul {
	margin: 0.5rem 0 0;
	padding-left: 1.2rem;
}

.bh-site li + li {
	margin-top: 0.35rem;
}

/* Install cards mirror the vocaPop card layout and button styling. */
.bh-site-installs {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
	align-items: flex-start;
	margin: 1rem 0 0.4rem;
}

.bh-site-install {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 11rem;
	margin: 0;
}

.bh-site-install-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 8.5rem;
	min-height: 2.75rem;
	padding: 0.6rem 1rem;
	border: 3px solid #e5270a;
	border-radius: 1em;
	background: #dddd44;
	color: #171918;
	font-family: 'Gloria Hallelujah', cursive, sans-serif;
	font-weight: 700;
	font-size: 1.1rem;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: inset 0 0 50px #fff;
	cursor: pointer;
	box-sizing: border-box;
}

.bh-site-install-button:hover,
.bh-site-install-button:focus {
	background: #dd44dd;
	color: #171918;
	text-decoration: none;
}

.bh-site-install-button.is-disabled {
	opacity: 0.6;
	pointer-events: none;
	cursor: default;
}

.bh-site-install-image {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	text-decoration: none;
}

.bh-site-install-image img {
	display: block;
	width: 7rem;
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.bh-site-install-image.is-disabled {
	pointer-events: none;
	cursor: default;
}

.bh-site-install figcaption {
	margin-top: 0.5rem;
	font-weight: 650;
}

.bh-site-shot {
	margin: 1rem 0 0;
}

.bh-site-shot img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #445161;
	border-radius: 10px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, .35);
}

.bh-site-shot figcaption {
	margin-top: 0.55rem;
	color: var(--bh-site-muted);
	font-size: 0.88rem;
}

.bh-site details {
	margin-top: 0.55rem;
	padding: 0.75rem 0.9rem;
	background: var(--bh-site-panel-2);
	border: 1px solid #303b49;
	border-radius: 8px;
}

.bh-site summary {
	cursor: pointer;
	font-weight: 700;
}

.bh-site details p {
	margin: 0.55rem 0 0;
	color: #c6d0dc;
}

.bh-site-footer {
	color: var(--bh-site-muted);
}

@media (max-width: 560px) {
	.bh-site-installs {
		gap: 1rem;
	}

	.bh-site-install {
		width: min(11rem, 100%);
	}
}
