/* Demo landing page — mirrors the look of https://www.clevelandanalytical.com */
:root {
	--plum: #502f4c;
	--purple: #70587c;
	--lilac: #c8b8db;
	--lilac-band: #ece9f4;
	--ink: #1a202c;
	--muted: #4a5568;
	--field: #edf2f7;
}
* { box-sizing: border-box; }
body {
	margin: 0;
	color: var(--ink);
	background: #fff;
	font-family: -apple-system, "system-ui", "Segoe UI", Helvetica, Arial, sans-serif;
	line-height: 1.5;
}
h1, h2, p { margin: 0; }
a { color: inherit; }

/* Hero + header */
.hero { position: relative; width: 100%; height: 500px; overflow: hidden; }
.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.overlay {
	position: absolute; inset: 0; z-index: 5;
	display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
	padding: 0 80px; text-align: center; color: #fff;
	background: rgba(118, 87, 123, 0.5);
}
.overlay-inner { max-width: 500px; }
.hero-title { max-width: 260px; margin-left: auto; margin-right: auto; }
.hero-title { font-size: 3rem; font-weight: 700; line-height: 1.5; }
.hero-title sup { font-size: 0.4em; font-weight: 400; vertical-align: baseline; position: relative; top: -0.4em; }
.hero-tag { font-size: 1.5rem; margin-top: 4px; }

.site-header {
	position: absolute; top: 0; left: 0; width: 100%; z-index: 10;
	display: flex; justify-content: space-between; align-items: center;
	height: 74px; padding: 12px; color: #f8f7ff;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.site-header .logo img { width: 50px; height: 50px; display: block; }
.nav { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav li { padding: 0 40px; }
.nav a { color: #f8f7ff; text-decoration: none; font-size: 1rem; }
.nav a:hover { text-decoration: underline; }
.nav .login a { font-weight: 600; border: 1px solid rgba(248, 247, 255, 0.7); border-radius: 6px; padding: 6px 14px; }

/* What we do */
.what { padding: 48px 0; }
.section-title { font-size: 2rem; text-align: center; font-weight: 400; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 24px 64px; margin-top: 8px; }
.card {
	border: 5px solid var(--plum); padding: 32px; text-align: center;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.card svg { width: 25px; height: 25px; }
.card h2 { font-size: 1.4rem; font-weight: 700; padding-top: 8px; }
.card p { margin-top: 8px; }

/* Contact */
.contact { background: var(--lilac-band); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 681px; }
.contact-copy { padding-top: 64px; }
.contact-copy h2 { font-size: 2rem; font-weight: 400; padding-left: 64px; }
.contact-copy .copy { padding: 0 64px; margin-top: 96px; }
.contact-copy .copy p { font-size: 1.3rem; line-height: 1.75; max-width: 580px; }
.contact-copy .copy p + p { margin-top: 48px; }
.contact-form-wrap { padding: 80px; }
.contact-form {
	background: var(--lilac); padding: 48px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.contact-form .row { margin-bottom: 24px; }
.contact-form input, .contact-form textarea {
	width: 100%; background: var(--field); color: var(--ink); font: inherit;
	border: 2px solid transparent; border-radius: 6px; padding: 0 16px; height: 40px;
}
.contact-form textarea { height: 80px; padding: 8px 16px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--purple); }
.contact-form .help { font-size: 0.875rem; color: var(--muted); margin-top: 4px; }
.contact-form button {
	height: 40px; padding: 0 16px; border: 0; border-radius: 6px; cursor: pointer;
	background: var(--purple); color: #fff; font: inherit; font-weight: 600;
}
.contact-form button:hover { filter: brightness(1.1); }
.demo-note { font-size: 0.8rem; color: var(--muted); margin-top: 12px; }

/* Footer */
.site-footer { background: var(--plum); color: #fff; }
.footer-cols { display: flex; justify-content: space-between; padding: 16px 0; }
.footer-col { padding: 0 48px; }
.footer-col h3 { font-size: 1.2rem; margin: 0 0 8px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.contact-list svg, .social svg { width: 20px; height: 20px; flex: none; }
.social { display: flex; gap: 16px; }
.footer-bar {
	display: flex; justify-content: space-between; padding: 16px;
	border-top: 2px solid rgba(255, 255, 255, 0.55);
}

svg.ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
	.cards { grid-template-columns: 1fr; padding: 24px 24px; gap: 24px; }
	.contact-inner { grid-template-columns: 1fr; min-height: 0; }
	.contact-copy { padding: 48px 0 0; }
	.contact-copy h2, .contact-copy .copy { padding-left: 24px; padding-right: 24px; }
	.contact-copy .copy { margin-top: 24px; }
	.contact-form-wrap { padding: 32px 24px 48px; }
	.overlay { align-items: center; padding: 0 24px; }
	.nav li { padding: 0 12px; }
	.footer-cols { flex-direction: column; gap: 24px; padding: 24px 0; }
	.footer-bar { flex-direction: column; gap: 4px; }
}
@media (max-width: 560px) {
	.nav li:not(.login) { display: none; }
}
