/* Launch mode (inc/launch.php): the stripe along the top, the holding page's logo, and the
   landing without its masthead. */

.is-launch::before {
	content: "";
	display: block;
	block-size: var(--space-1);
	background: var(--bsc-strokes-loop);   /* the deck's trim: the five in hard bands, twice across */
}

/* No bar on the landing, so the hero pads evenly and anchors land at the top. */
:root:has(.is-launch-bare) {
	--masthead-h: 0rem;
	--masthead-h-tight: 0rem;
}

.launch {
	display: flex;
	flex-direction: column;
	min-block-size: 100dvh;
}

.launch__main {
	display: grid;
	place-items: center;
	align-content: center;
	gap: var(--space-6);
	flex: 1;
	padding-inline: var(--gutter);
	background: var(--color-bg);
}

.launch__title {
	margin: 0;
	line-height: 0;
}

.launch__logo {
	display: block;
	inline-size: min(28rem, 80vw);
	block-size: auto;
}

/* The footer on the launch pages: the copyright and the privacy policy. */
.launch-footer {
	padding-block: var(--space-4);
	font-size: var(--font-3);
}

.launch-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1) var(--space-4);
	align-items: center;
	justify-content: space-between;
}

.launch-footer__copy {
	margin: 0;
	color: var(--color-text-soft);
}

.launch-footer__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--color-link);
}

.launch-footer--plain .launch-footer__inner {
	justify-content: center;
}

@media (max-width: 767px) {
	.launch-footer:not(.launch-footer--plain) .launch-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

.launch__more {
	margin: 0;
}

/* The privacy policy's way back, in place of the masthead. */
.launch-back {
	margin-block-end: var(--space-4);
}

@media (max-width: 767px) {
	.launch-footer--plain .launch-footer__inner {
		flex-direction: column;
		gap: 0;
	}
}
