﻿:root {
	/* Smart Dry Eyes palette */
	--bg: #eff7fa;
	--fg: ##eff7fa;
	--muted: #888888;
	--heading: #083335;
	--cta-bg: #5c8a82;
	--cta-fg: #ffffff;
	--pad: clamp(16px, 3vw, 32px);
	--bar-bg: #eff7fa; /* header/footer bars */
}

:focus {
	outline: none;
}

* {
	box-sizing: border-box
}

html, body {
	height: 100%;
	margin: 0
}

body {
	font: 16px/1.5 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
	color: var(--fg);
	background: var(--bg);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* Header + Footer */
header, footer {
	background: var(--bar-bg);
	color: var(--fg);
	padding: 0.75rem var(--pad);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

	header h1 {
		margin: 0;
		font-size: 14px;
		font-weight: 500;
		color: #334155
	}

	footer p,
	footer a {
		margin: 0;
		font-size: 12px;
		font-weight: 300;
		letter-spacing: .3px;
		color: #999999;
		text-decoration: none;
	}

	header h1::before {
		content: "";
		display: inline-block;
		vertical-align: middle;
		width: 36px; /* adjust size as needed */
		height: 36px;
		margin-right: 10px;
		background: url('sdeLogo.webp') no-repeat center center;
		background-size: contain;
	}


/* Main hero (50/50 split) */
main {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: calc(100vh - 120px); /* space for header/footer */
}

.copy {
	background: var(--bg);
	padding: calc(var(--pad)) var(--pad);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	padding-left: 5%;
	padding-right: 5%;
}

.eyebrow {
	font-size: .9rem;
	color: var(--muted);
	letter-spacing: .2px;
	text-transform: uppercase;
}

h2 {
	margin: .2rem 0 .4rem 0;
	font-size: clamp(28px,4vw,48px);
	line-height: 1.4;
	color: var(--heading);
	font-weight: 800;
	font-weight: 300;
}

.finance {
	color: #3C2A11;
	max-width: 56ch;
	font-size: 22px;
	line-height: 1.7;
}

.caption {
	font-size: .85rem;
	color: var(--muted);
	text-align: center;
}

.logIn {
	display: inline-block;
	background: var(--cta-bg);
	color: var(--cta-fg);
	padding: 5px 15px;
	border-radius: 20px;
	font-weight: 400;
	font-size: 15px;
	text-decoration: none;
	width: fit-content;
	margin-top: 0;
	transition: background .2s;
}

.cta:hover {
	background: #4b7a72
}


.cta1,
.cta2 {
	display: inline-block;
	background: #fafafa;
	border: 1px solid #5c8a82;
	padding: .85rem 1.1rem;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
	width: 425px;
	margin-left: auto;
	margin-right: auto;
	max-width: 90%;
	margin-top: .25rem;
	transition: background .2s;
	text-align: left;
}

.cta1 {
	color: #5c8a82;
}

.cta2 {
	border-color: #3C2A11;
	color: #3C2A11;
	cursor: pointer;
}


	.cta1 span,
	.cta2 span {
		display: block;
		line-height: 1.2;
		font-weight: 300;
		padding-top: 4px;
	}

		.cta1 span:first-child,
		.cta2 span:first-child {
			font-weight: 500;
		}

/* Right image panel */
.visual {
	position: relative;
	overflow: hidden;
	isolation: isolate
}

	.visual img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		border-top-left-radius: 20px;
		border-bottom-left-radius: 20px;
	}

	.visual::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		background: linear-gradient(to left, rgba(25,71,86,0.55) 0%, rgba(92,138,130,0.25) 55%, rgba(92,138,130,0.00) 85%);
		pointer-events: none;
	}

@media(max-width:860px) {
	body {
		min-height: 100vh;
		display: flex;
		flex-direction: column;
	}

	main {
		flex: 1 0 auto;
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.visual {
		order: 2;
		flex: 1 0 auto;
		min-height: 200px; /* Ensures image is visible */
		position: relative;
	}
}
