@layer base, layout, components, utilities;

@layer base {
	*,
	*::before,
	*::after {
		box-sizing: border-box;
	}

	[hidden] {
		display: none !important;
	}

	html {
		scroll-behavior: smooth;
	}

	@media (prefers-reduced-motion: reduce) {
		html {
			scroll-behavior: auto;
		}
	}

	body {
		margin: 0;
		font-family: Verdana, Tahoma, Helvetica, "Lucida Grande", Lucida, Arial, sans-serif;
		font-size: 1rem;
		font-weight: 500;
		line-height: 1.5;
		color: #111;
		background-color: #fff;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	h1 {
		margin: 0;
		font-size: 100%;
		font-weight: 800;
		display: inline;
	}

	h2 {
		font-size: 2em;
		font-weight: 700;
		margin: 10px 0 20px;
	}

	h3 {
		font-size: 1.17em;
		font-weight: 700;
		margin: 3rem 0 0.5rem;
		padding-bottom: 2px;
	}

	h4 {
		font-size: 1em;
		font-weight: 700;
		margin: 30px 0 0.5rem;
		padding-bottom: 3px;
	}

	p {
		margin: 0 0 1rem;
		padding-left: 4px;
	}

	a {
		color: #0037ff;
		text-decoration: none;
	}

	a:hover,
	a:focus-visible {
		text-decoration: underline;
	}

	a.underline {
		text-decoration: underline;
	}

	:focus-visible {
		outline: 2px solid #0037ff;
		outline-offset: 2px;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	hr {
		border: 0;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		margin: 1rem 0;
	}

	code {
		font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
		font-size: 0.875em;
		color: #c7254e;
		overflow-wrap: anywhere;
	}

	@media (min-width: 768px) {
		#launcher-hash {
			display: inline-block;
			white-space: nowrap;
			position: relative;
			left: 50%;
			transform: translateX(-50%);
		}
	}
}

@layer layout {
	.container {
		width: 100%;
		max-width: 1140px;
		margin-inline: auto;
		padding-inline: 15px;
	}

	.container-fluid {
		width: 100%;
		padding-inline: 15px;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}

	.row.features {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0 30px;
		margin-top: 2rem;
	}

	@media (min-width: 576px) {
		.row.features {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
	}

	@media (min-width: 992px) {
		.row.features {
			grid-template-columns: repeat(3, minmax(0, 1fr));
		}
	}
}

@layer components {
	.navbar {
		position: relative;
		padding: 0.5rem 1rem;
		background-color: #fff;
	}

	.navbar-brand {
		display: inline-flex;
		align-items: center;
		font-weight: 800;
		color: #000;
		margin-left: 16px;
		padding-block: 0.3125rem;
		font-size: 1.25rem;
	}

	.navbar-brand img {
		margin-left: 0.5rem;
		margin-bottom: 0.5rem;
	}

	@media (max-width: 575px) {
		.img-brand {
			display: none;
		}
	}

	.navbar-toggler {
		padding: 0.25rem 0.75rem;
		font-size: 1.25rem;
		line-height: 1;
		background: transparent;
		border: 1px solid rgba(0, 0, 0, 0.15);
		border-radius: 0.25rem;
		cursor: pointer;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.navbar-toggler-icon {
		display: inline-block;
		width: 1.5em;
		height: 1.5em;
		background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 100% 100%;
	}

	.navbar-collapse {
		flex-basis: 100%;
		flex-grow: 1;
	}

	.navbar-collapse:not(.is-open) {
		display: none;
	}

	.navbar-nav {
		list-style: none;
		margin: 0.5rem auto 0;
		padding: 0;
		display: flex;
		flex-direction: column;
	}

	.nav-link {
		display: block;
		color: #111;
		font-size: 0.9em;
		box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1);
		margin: 0.1rem;
		padding: 0.5rem;
	}

	@media (min-width: 768px) {
		.navbar-toggler {
			display: none;
		}

		.navbar-collapse,
		.navbar-collapse:not(.is-open) {
			display: flex;
			flex-basis: auto;
			justify-content: center;
		}

		.navbar-nav {
			flex-direction: row;
			flex-wrap: wrap;
			justify-content: center;
			margin-top: 0;
		}
	}

	.features-clean {
		color: #313437;
		background-color: #fff;
		padding-bottom: 30px;
	}

	.features-clean p {
		color: #111;
	}

	.features-clean h2 {
		font-weight: 700;
		margin-bottom: 40px;
		padding-top: 40px;
		color: inherit;
	}

	@media (max-width: 767px) {
		.features-clean {
			padding-bottom: 10px;
		}

		.features-clean h2 {
			margin-bottom: 25px;
			padding-top: 25px;
			font-size: 24px;
		}
	}

	.features-clean .intro {
		font-size: 16px;
		max-width: 500px;
		margin: 0 auto 60px;
	}

	@media (max-width: 767px) {
		.features-clean .intro {
			margin-bottom: 40px;
		}
	}

	.features-clean .item {
		min-width: 0;
		min-height: 100px;
		padding-left: 80px;
		margin-bottom: 40px;
	}

	@media (max-width: 767px) {
		.features-clean .item {
			min-height: 0;
		}
	}

	.features-clean .item .name {
		font-size: 20px;
		font-weight: 700;
		margin-top: 0;
		margin-bottom: 6px;
		color: inherit;
	}

	.features-clean .item .description {
		font-size: 15px;
		margin-top: 0;
		margin-bottom: 0;
	}

	.features-clean .item .icon {
		float: left;
		margin-left: -65px;
		width: 40px;
		height: 40px;
		color: #1485ee;
	}

	h3.name {
		border-top: 1px dotted #dc3545;
		padding-top: 3px;
		padding-left: 3px;
		line-height: 160%;
	}

	h3.name a {
		color: #119;
	}

	h3.name,
	.text-center,
	.description {
		word-break: auto-phrase;
	}

	.btn {
		display: inline-flex;
		align-items: center;
		gap: 0.6rem;
		font-weight: 400;
		text-align: center;
		vertical-align: middle;
		border: 1px solid transparent;
		padding: 0.5rem 1rem;
		font-size: 1.25rem;
		line-height: 1.5;
		border-radius: 0.3rem;
		color: #fff;
		text-decoration: none;
	}

	.btn:hover,
	.btn:focus-visible {
		text-decoration: none;
		filter: brightness(0.92);
	}

	.btn .icon {
		width: 1.4em;
		height: 1.4em;
		flex-shrink: 0;
	}

	.btn-primary {
		background-color: #0037ff;
		border-color: #0037ff;
	}

	.btn-primary.btn-lg {
		font-size: 2em;
		margin-bottom: 10px;
	}

	.btn-danger {
		background-color: #dc3545;
		border-color: #dc3545;
	}

	.table {
		width: 100%;
		margin-bottom: 1rem;
		border-collapse: collapse;
		color: #212529;
	}

	.table-bordered th,
	.table-bordered td {
		border: 1px solid #dee2e6;
		padding: 0.75rem;
		text-align: left;
		vertical-align: top;
	}

	.img-fluid {
		padding-left: 4px;
		margin-bottom: 30px;
	}

	.site-footer {
		padding-bottom: 2rem;
	}

	#jumpToTop {
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: #0037ff;
		color: #fff;
		position: fixed;
		bottom: calc(env(safe-area-inset-bottom) + 44px);
		right: 10px;
		width: 64px;
		height: 64px;
		border-radius: 32px;
		box-shadow: 1px 1px 10px 2px rgba(0, 0, 0, 0.4);
	}

	#jumpToTop .icon {
		width: 30px;
		height: 30px;
	}
}

@layer utilities {
	.text-center {
		text-align: center;
	}

	.mb-4 {
		margin-bottom: 1.5rem;
	}

	.mb-5 {
		margin-bottom: 3rem;
	}

	.sr-only {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
}

@media (forced-colors: active) {
	.btn,
	#jumpToTop,
	.navbar-toggler,
	.nav-link {
		border: 1px solid ButtonText;
	}

	.navbar-toggler-icon {
		background-color: ButtonText;
		mask: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='%23000' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center / contain no-repeat;
	}
}
