﻿: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;
	padding: 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;
}

.pageFrame {
	width: 1440px;
	max-width: 100%;
	margin: 0 auto;
	padding-left: var(--pad);
	padding-right: var(--pad);
}

/* Header + Footer */
header,
footer {
	background: var(--bar-bg);
	color: var(--fg);
}

header {
	padding-top: 20px;
	padding-bottom: 20px;
}

	header h1 {
		margin: 0;
		font-size: 32px;
		font-weight: 400;
		color: #211d14;
		position: relative;
		top: 6px;
	}

	header a.logoLink {
		display: inline-block;
		vertical-align: middle;
		width: 130px; /* adjust size as needed */
		height: 130px;
		margin-right: 10px;
	}

		header a.logoLink img {
			width: 100%;
			height: 100%;
			object-fit: contain;
			display: block;
		}

	header .logoText {
		display: inline-block;
		font-size: 32px;
		font-weight: 600;
		color: #261a0c;
	}

/* Main hero (50/50 split) */
main {
	background: #fafafa;
	display: flex;
	align-items: center;
	/*min-height: calc(100vh - 120px); /* space for header/footer */
	flex: 1 0 auto;
	/* optional: add display: flex; flex-direction: column; if you want */
}

.contentAndImage {
	padding-top: 25px;
	margin-bottom: 60px;
	gap: 1rem;
	padding-left: 1%;
	padding-right: 1%;
}

.headerText {
	font-size: 38px;
	text-align: center;
	color: #261a0c;
}

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

.firstParagraph {
	color: #3c2a11;
	font-size: 22px;
	line-height: 1.7;
}

.leftFloatedText {
	font-size: 20px;
	color: #3c2a11;
	margin: 5px;
}

	.leftFloatedText ul {
		list-style-type: disc;
		margin-top: 6px;
		font-size: 21px;
	}

.listIntroText {
	font-weight: bold;
	font-size: 21px;
}

.leftFloatedButtonAndMessage {
	text-align: center;
	margin-top: 70px;
}

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

.headerContent {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

div.wideHorizontalText {
	padding-top: 40px;
}

.logIn {
	background: #004aad;
	color: var(--cta-fg);
	padding: 15px 20px;
	border-radius: 40px;
	font-weight: 600;
	font-size: 20px;
	text-transform: uppercase;
	text-decoration: none;
	width: fit-content;
	margin-top: 0;
	transition: background 0.2s;
}

.cta:hover {
	background: #4b7a72;
}

.cta2 {
	padding: 1rem 1.1rem;
	border-radius: 10px;
	font-weight: 700;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0.25rem;
	display: block;
	background: #004aad;
	border-radius: 40px;
	color: #ffffff;
	cursor: pointer;
	display: inline-block;
}

	.cta2 span {
		display: inline-block;
		line-height: 1.2;
		font-weight: 600;
		padding-top: 4px;
		font-size: 20px;
		text-decoration: none;
		text-transform: uppercase;
		border-radius: 40px;
	}

.signUpMessage {
	display: block;
	font-size: 20px;
	padding-top: 15px;
	text-align: center;
}

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

@media (max-width: 960px) {
	.pageFrame {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (max-width: 900px) {
	.leftFloatedContent {
		width: 100%;
		margin-bottom: 50px;
	}
}

@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;
	}

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

@media (max-width: 600px) {
	header a.logoLink {
		width: 75px;
	}

	.headerContent h1 {
		font-size: 25px;
	}

		.headerContent h1::before {
			width: 80px;
			height: 80px;
		}

	.logIn {
		font-size: 14px;
		padding: 12px 10px;
	}
}

@media (max-width: 500px) {
	.headerContent h1 {
		font-size: 20px;
	}

	.footerContent {
		font-size: 15px;
	}
}

/* -- Layout -- */
/* Desktop: side-by-side layout */
.contentAndImage {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

.leftFloatedContent {
	flex: 1 1 0;
	min-width: 0;
}

.mainImage {
	flex: 0 0 440px;
	max-width: 440px;
	width: 440px;
	display: flex;
	flex-direction: column; /* Add this line */
	align-items: center;
	justify-content: center;
}

	.mainImage img {
		width: 360px;
		height: auto;
		display: block;
		border-radius: 20px;
		margin: 0 auto;
	}

.imgCaption {
	font-size: 17px;
	padding-top: 10px;
}

footer {
	flex-shrink: 0;
}

.footerContent {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 20px;
	padding-bottom: 20px;
}

	.footerContent p {
		text-align: center;
		font-size: 22px;
	}

footer p,
footer a {
	margin: 0;
	font-size: 16px;
	/*font-weight: 300;*/
	letter-spacing: 0.3px;
	color: #5b6064;
	text-decoration: none;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 900px) {
	.contentAndImage {
		flex-direction: column;
		gap: 24px;
	}

	.mainImage {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
	}

		.mainImage img {
			width: 100%;
			max-width: 360px;
			height: auto;
			border-radius: 20px;
			margin: 0 auto;
		}
}
