/* ==========================================================================
   CMG CLEAR landing page
   Self-contained styles. Values reproduce the original "pi" theme look:
     - button green   #86ba41 (hover #639a33)
     - footer dark    #21252b
     - body font      Open Sans 14px
     - tagline        14px, 600, uppercase, 4px tracking, #bcb8ad
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; height: 100%; }

body {
	margin: 0;
	overflow-x: hidden;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.6em;
	color: #444;

	/* Full-height column so the hero fills the space above the footer and the
	   whole page (hero + footer) fits the viewport with no scrolling. */
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

a { text-decoration: none; }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;          /* grow to fill the viewport above the footer */
	background-image: url('assets/login-bg.png');
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.7);
}

.hero__content {
	position: relative; /* sit above the overlay */
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 60px 40px 40px;
	text-align: center;
}

.logo {
	width: 380px;
	max-width: 90%;
	height: auto;
	margin-bottom: 25px;
}

.tagline {
	margin: 0 0 40px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 4px;
	color: #bcb8ad;
}

/* ---- Environment buttons ------------------------------------------------- */
.buttons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.btn {
	display: inline-block;
	width: 250px;
	max-width: 100%;
	padding: 22px;
	font-size: 16px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	background: #86ba41;
	border: 1px solid #86ba41;
	border-top-color: #a5cd67;
	border-radius: 3px;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.btn:hover,
.btn:focus {
	background: #639a33;
	border-color: #639a33;
	border-top-color: #81b053;
	color: #fff;
}

/* ---- Footer -------------------------------------------------------------- */
.footer {
	background-color: #21252b;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 20px 40px;
}

.footer__copy {
	margin: 0;
	font-size: 9px;
	line-height: 1.5;
	color: #666;
}

.footer__copy a { color: #666; }
.footer__copy a:hover { color: #888; }
