:root {
	--canvas: #202a35;
	--frame: #101010;
	--panel: #161616;
	--nav: #30302f;
	--blue: #168cff;
	--muted: #b5b5b5;
	--line: #292929;
	--sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body {
	margin: 0;
	color: #d7d7d7;
	background: var(--canvas);
	font: 15px/1.6 Arial, Helvetica, sans-serif;
}

a { color: var(--blue); }
a:hover, a:focus { color: #79bdff; }
.site-frame {
	width: min(100%, 1000px);
	min-height: 100vh;
	margin: 0 auto;
	background: var(--frame);
	box-shadow: 0 0 28px rgba(0, 0, 0, .25);
}
.site-header {
	display: block;
	background: #0b0b0b;
	overflow: hidden;
}
.masthead {
	display: block;
	width: 100%;
	min-height: 123px;
	padding: 46px 55px 18px;
}
.brand {
	color: #168cff;
	font-size: 21px;
	line-height: 1.1;
	text-decoration: none;
	text-shadow: 0 0 1px #168cff;
}
.masthead p {
	margin: 2px 0 0;
	color: #1779d4;
	font-size: 9px;
}
.header-image {
	display: block;
	clear: both;
	width: 100%;
	height: auto;
	aspect-ratio: 1000 / 288;
	object-fit: cover;
	object-position: center;
}
.site-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	min-height: 42px;
	padding: 0 18px;
	align-items: stretch;
	background: var(--nav);
	border-top: 1px solid #4a4a4a;
	border-bottom: 1px solid #171717;
}
.site-nav a {
	display: flex;
	align-items: center;
	padding: 0 20px;
	color: #eee;
	font-size: 12px;
	text-decoration: none;
	white-space: nowrap;
}
.site-nav a:hover, .site-nav a:focus { background: #41413f; color: #fff; }
main { min-height: 430px; background: var(--panel); }
.content-page {
	width: min(100% - 160px, 720px);
	margin: 0 auto;
	padding: 72px 0 100px;
}
.content-page h1 {
	margin: 0 0 30px;
	color: #f1f1f1;
	font-size: 22px;
	line-height: 1.2;
}
.rich-content { color: #c9c9c9; }
.rich-content p { margin: 0 0 24px; }
.rich-content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 18px auto;
}
.rich-content figure { margin: 28px 0; }
.rich-content figcaption { color: var(--muted); font-size: 11px; }
.rich-content iframe { max-width: 100%; }
.rich-content h2, .rich-content h3, .rich-content h4 { color: #eee; line-height: 1.3; }
.rich-content ul, .rich-content ol { padding-left: 22px; }
.rich-content table { width: 100%; border-collapse: collapse; }
.rich-content th, .rich-content td { padding: 7px; border: 1px solid var(--line); text-align: left; }
.rich-content a { text-decoration: underline; }
.request-link {
	display: inline-block;
	margin-top: 10px;
	padding: 10px 15px;
	color: #fff;
	background: #2f2f2f;
	border: 1px solid #555;
	text-decoration: none;
}
.request-link:hover, .request-link:focus { color: #fff; background: #444; }
.welcome-page { min-height: 430px; }
.request-layout {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 55px;
	width: min(100% - 160px, 720px);
	margin: 0 auto;
	padding: 72px 0 100px;
}
.request-layout h1 { margin: 0 0 20px; color: #f1f1f1; font-size: 25px; line-height: 1.2; }
.lead { color: #bdbdbd; }
.request-form { display: grid; gap: 14px; }
.request-form label { display: grid; gap: 5px; color: #ddd; }
.request-form input, .request-form select, .request-form textarea {
	width: 100%;
	padding: 9px;
	color: #eee;
	background: #242424;
	border: 1px solid #444;
	font: inherit;
}
.request-form button { width: max-content; padding: 9px 17px; color: white; background: #2f2f2f; border: 1px solid #555; cursor: pointer; }
.request-form button:hover { background: #444; }
.trap { position: absolute; left: -10000px; }
.notice { width: min(100% - 40px, 720px); margin: 18px auto 0; padding: 10px; background: #263d50; }
.form-errors { padding: 8px 12px; color: #ffb5b5; background: #512b2b; }
.form-errors p { margin: 0; }
.request-dialog {
	width: min(720px, calc(100% - 32px));
	padding: 0;
	color: #d7d7d7;
	background: #161616;
	border: 1px solid #555;
	box-shadow: 0 16px 60px rgba(0, 0, 0, .7);
}
.request-dialog::backdrop { background: rgba(0, 0, 0, .72); }
.request-dialog-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	background: #0b0b0b;
	border-bottom: 1px solid #292929;
}
.request-dialog-header h2 { margin: 0; color: #f1f1f1; font-size: 16px; }
.dialog-close {
	padding: 5px 9px;
	color: #ddd;
	background: #2f2f2f;
	border: 1px solid #555;
	cursor: pointer;
}
.request-dialog iframe {
	display: block;
	width: 100%;
	height: 520px;
	border: 0;
}
.request-embed-page { background: #161616; }
.request-embed { padding: 24px 28px 30px; }
.request-embed .request-form { max-width: 620px; }
.snackbar {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 20;
	max-width: min(440px, calc(100% - 32px));
	padding: 13px 18px;
	color: #fff;
	background: #263d50;
	border: 1px solid #4d7896;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
	opacity: 0;
	transform: translate(-50%, 18px);
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}
.snackbar.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
	.masthead { min-height: 110px; padding: 35px 25px 16px; }
	.header-image { min-height: 0; }
	.site-nav { justify-content: flex-start; padding: 0 8px; }
	.site-nav a { min-height: 38px; padding: 0 11px; font-size: 11px; }
	.content-page, .request-layout { width: min(100% - 40px, 720px); padding-top: 48px; }
	.request-layout { display: block; }
	.request-form { margin-top: 32px; }
}
