:root {
	--navy: #102f4f;
	--navy-deep: #09233c;
	--blue: #24689f;
	--blue-soft: #e7f1f8;
	--red: #a93645;
	--ink: #152536;
	--muted: #607080;
	--line: #dbe4eb;
	--surface: #fff;
	--background: #ebebeb;
	--shadow: 0 14px 34px rgba(20, 47, 72, 0.09);
}

* {
	box-sizing: border-box;
}
html {
	min-width: 320px;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	min-height: 100vh;
	color: var(--ink);
	background: var(--background);
	font-family: Inter, 'Segoe UI', Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}
#main-background {
	min-height: calc(100vh - 202px);
	background: var(--background);
}
a {
	color: inherit;
}

.site-header {
	position: relative;
	z-index: 10;
	color: #fff;
	background: rgba(9, 35, 60, 0.98);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.header-inner,
.hero-inner,
.applications,
.footer-inner {
	width: min(1240px, calc(100% - 64px));
	margin: 0 auto;
}
.header-inner {
	min-height: 86px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: #fff;
	text-decoration: none;
}
.brand-logo {
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 7px 20px rgba(0, 0, 0, 0.18);
}
.brand-logo img {
	width: 50px;
	height: 50px;
	object-fit: contain;
}
.brand-copy {
	display: grid;
	gap: 4px;
}
.brand-copy strong {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(1rem, 1.35vw, 1.22rem);
	letter-spacing: 0.01em;
}
.brand-copy span {
	color: #b9cbd9;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.header-status {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #d3e0ea;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
}
.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #72c39a;
	box-shadow: 0 0 0 5px rgba(114, 195, 154, 0.12);
}

.hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	isolation: isolate;
	background: linear-gradient(123deg, var(--navy) 0%, #174d76 63%, #1e648c 100%);
}
.hero-school {
	position: absolute;
	z-index: 0;
	inset: 0;
	background:
		linear-gradient(rgba(16, 47, 79, 0.62), rgba(23, 77, 118, 0.62)),
		url('images/IM007227s.JPG') 50% 77% / cover no-repeat;
	opacity: 0.45;
}
.hero::before {
	content: '';
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	width: min(38%, 850px);
	height: 100%;
	background: url(images/sx-min-transparent.png) 50% 23% / cover no-repeat;
	opacity: 1;
	filter: none;
	mix-blend-mode: normal;
}
.hero::after {
	content: '';
	position: absolute;
	z-index: 1;
	inset: 0;
	opacity: 0.12;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
	background-size: 54px 54px;
	mask-image: linear-gradient(to right, transparent 8%, #000 80%);
}
.hero-inner {
	position: relative;
	z-index: 4;
	min-height: 265px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 46px 0 53px;
}
.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	color: #c6d9e8;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.eyebrow span {
	width: 36px;
	height: 2px;
	background: #df8290;
}
.hero h1 {
	margin: 0;
	max-width: 800px;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(2.5rem, 5vw, 4.45rem);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.02;
}
.hero p {
	margin: 22px 0 0;
	color: #d5e3ec;
	font-size: clamp(1rem, 1.6vw, 1.17rem);
}
.hero-glow {
	position: absolute;
	z-index: 3;
	border-radius: 50%;
	filter: blur(3px);
	pointer-events: none;
}
.hero-glow-one {
	width: 420px;
	height: 420px;
	right: 4%;
	top: -250px;
	background: rgba(120, 202, 232, 0.16);
}
.hero-glow-two {
	width: 220px;
	height: 220px;
	right: 24%;
	bottom: -165px;
	border: 44px solid rgba(255, 255, 255, 0.055);
}

.applications {
	background: var(--background);
	padding-top: 54px;
	padding-bottom: 70px;
}
.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 28px;
}
.section-kicker {
	margin: 0 0 7px;
	color: var(--red);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.section-heading h2 {
	margin: 0;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(1.7rem, 2.7vw, 2.35rem);
	font-weight: 600;
}
.section-note {
	margin: 0 0 4px;
	color: var(--muted);
	font-size: 0.9rem;
}
.app-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.app-card {
	position: relative;
	min-height: 178px;
	display: grid;
	grid-template-columns: 54px 1fr auto;
	align-items: start;
	gap: 18px;
	padding: 27px 25px;
	overflow: hidden;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 16px;
	text-decoration: none;
	box-shadow: 0 2px 3px rgba(20, 47, 72, 0.025);
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease;
	opacity: 0;
	transform: translateY(12px);
}
.app-card.is-visible {
	opacity: 0.91;
	transform: translateY(0);
	transition:
		opacity 0.45s ease,
		transform 0.45s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease;
}
.app-card:hover,
.app-card:focus-visible {
	transform: translateY(-4px);
	border-color: #a9c6d9;
	box-shadow: var(--shadow);
	outline: none;
}
.card-icon {
	width: 54px;
	height: 54px;
	display: grid;
	place-items: center;
	color: var(--blue);
	background: var(--blue-soft);
	border-radius: 14px;
	transition:
		transform 0.22s ease,
		background 0.22s ease;
}
.card-icon svg {
	width: 27px;
	height: 27px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.app-card:hover .card-icon {
	transform: scale(1.045);
	background: #dcecf6;
}
.card-content {
	min-width: 0;
	display: grid;
	gap: 9px;
}
.card-content strong {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.21rem;
	font-weight: 600;
	line-height: 1.23;
}
.card-content > span:last-child {
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.5;
}
.card-label {
	width: max-content;
	margin: -3px 0 -1px;
	color: var(--red) !important;
	font-size: 0.65rem !important;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}
.card-arrow {
	align-self: center;
	color: #8797a5;
	font-size: 1.35rem;
	transition:
		transform 0.22s ease,
		color 0.22s ease;
}
.app-card:hover .card-arrow {
	color: var(--blue);
	transform: translateX(4px);
}
.app-card-featured {
	border-top: 3px solid var(--red);
	padding-top: 25px;
}

.site-footer {
	color: #c4d0d9;
	background: var(--navy-deep);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
	min-height: 116px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 34px;
	font-size: 0.8rem;
}
.footer-inner > div:first-child {
	display: grid;
	gap: 7px;
}
.footer-inner strong {
	color: #f0f5f8;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 0.96rem;
}
.footer-contact {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 9px 24px;
}

@media (max-width: 1040px) {
	.app-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 720px) {
	.header-inner,
	.hero-inner,
	.applications,
	.footer-inner {
		width: min(100% - 36px, 1240px);
	}
	.header-status,
	.brand-copy span,
	.section-note {
		display: none;
	}
	.brand-logo {
		width: 50px;
		height: 50px;
	}
	.brand-logo img {
		width: 44px;
		height: 44px;
	}
	.header-inner {
		min-height: 74px;
	}
	.hero-school {
		background-position: 50% 50%;
	}
	.hero::before {
		width: 100%;
		opacity: 0.22;
	}
	.hero-inner {
		min-height: 230px;
	}
	.applications {
		padding: 40px 0 50px;
	}
	.app-grid {
		grid-template-columns: 1fr;
	}
	.footer-inner {
		min-height: 150px;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
	}
	.footer-contact {
		justify-content: flex-start;
	}
}
@media (max-width: 430px) {
	.brand-copy strong {
		font-size: 0.9rem;
	}
	.app-card {
		grid-template-columns: 48px 1fr;
		min-height: 160px;
		padding: 23px 20px;
	}
	.card-icon {
		width: 48px;
		height: 48px;
	}
	.card-arrow {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
	.app-card {
		opacity: 1;
		transform: none;
	}
}
