/* Scene8 landing page. Same palette and type as CYA's stylesheet, so the two feel like one site. */
:root {
	--accent: #1d6fa5;
	--accent-dark: #14527c;
	--accent-soft: #e8f1f8;
	--turquoise: #0aa5a5;
	--ink: #1f2933;
	--muted: #667085;
	--line: #e1e6ec;
	--page: #f4f6f9;
	--card: #ffffff;
	--radius: 8px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
	background: var(--page);
	color: var(--ink);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

.wrap {
	width: 94%;
	max-width: 1100px;
	margin: 0 auto;
}

/* ---- top bar ---- */
.top {
	background: var(--card);
	border-bottom: 3px solid var(--turquoise);
}

.top .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px 20px;
	padding: 12px 0;
}

.brand img { display: block; height: 48px; width: auto; }

/* ---- notice (maintenance) ---- */
.notice {
	margin: 24px 0 0;
	padding: 12px 18px;
	text-align: center;
	background: #fff8e1;
	border: 1px solid #e0b84c;
	border-radius: var(--radius);
	color: #5a4300;
}

.notice strong { display: block; font-size: 16px; }

/* ---- the main tiles ---- */
.tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 16px;
	margin: 28px 0;
}

.tile {
	display: block;
	padding: 20px 20px 22px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
	color: var(--ink);
	transition: border-color .12s, box-shadow .12s, transform .12s;
}

.tile:hover {
	border-color: var(--turquoise);
	box-shadow: 0 6px 16px rgba(16, 24, 40, .10);
	transform: translateY(-2px);
	text-decoration: none;
	color: var(--ink);
}

.tile-title {
	display: block;
	font-size: 18px;
	font-weight: 600;
	color: var(--accent);
}

.tile-text {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--muted);
}

/* ---- the grouped links ---- */
.groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
	align-items: start;
}

.group {
	padding: 4px 20px 12px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

.group h2 {
	margin: 14px 0 6px;
	padding-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 2px solid var(--turquoise);
}

.group ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.group li {
	padding: 7px 0;
	border-bottom: 1px solid var(--line);
}

.group li:last-child { border-bottom: 0; }

.foot {
	padding: 22px 0 30px;
	text-align: center;
	font-size: 12px;
	color: var(--muted);
}

@media (max-width: 560px) {
	.top .wrap { justify-content: center; }
}
