.footer-shell {
	margin-top: 2.5rem;
	margin-bottom: 0;
	border-top: 1px solid var(--tone-line);
	background: var(--tone-shell);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.footer-shell__inner {
	padding-top: 2rem;
	padding-bottom: 1.5rem;
}

.footer-shell__top,
.footer-shell__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	align-items: center;
	justify-content: space-between;
}

.footer-shell__bottom-band {
	margin-top: 1.5rem;
	margin-bottom: 0;
	background: #dbe7f6;
}

.footer-shell__bottom {
	padding-top: 1.1rem;
	padding-bottom: 0.9rem;
	padding-right: 0.75rem;
	padding-left: 0.75rem;
}

.footer-shell__brand {
	display: grid;
	gap: 0.35rem;
}

.footer-brand__name {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--color-blue);
}

.footer-note,
.footer-contact,
.footer-copy,
.footer-credit {
	margin: 0;
}

.footer-copy,
.footer-credit {
	font-size: 0.96rem;
	letter-spacing: 0.03em;
	font-variant-caps: normal;
	text-transform: uppercase;
	color: #162a68;
}

.footer-shell__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: flex-end;
}

.footer-link-pill {
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--tone-line);
	border-radius: 0.7rem;
	background: rgba(255, 255, 255, 0.92);
	color: var(--color-blue);
	box-shadow: 0 3px 10px rgba(37, 62, 144, 0.04);
	font-weight: 600;
}

.footer-divider {
	display: inline-block;
	margin: 0 0.5rem;
	opacity: 0.4;
}

.footer-credit a {
	color: #162a68;
}

.footer-credit a:hover,
.footer-credit a:focus {
	color: #253E90;
}

@media (max-width: 767px) {
	.footer-shell__bottom {
		justify-content: center;
		text-align: center;
	}

	.footer-copy,
	.footer-credit {
		width: 100%;
		text-align: center;
	}

	.footer-copy__rights,
	.footer-credit__by {
		display: block;
	}

	.footer-shell__links {
		justify-content: flex-start;
	}
}

.scroll-top-button {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 1030;
	border: 1px solid rgba(0, 0, 103, 0.16);
	border-radius: 999px;
	padding: 0.55rem 0.9rem;
	background: rgba(246, 250, 253, 0.96);
	color: var(--color-blue);
	box-shadow: 0 10px 24px rgba(37, 62, 144, 0.1);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	opacity: 0;
	pointer-events: none;
	transform: translateY(0.5rem);
	transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-top-button.is-visible.is-footer-clear {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.scroll-top-button.has-cookie-banner {
	bottom: 5.75rem;
}

.scroll-top-button:hover {
	box-shadow: 0 14px 28px rgba(37, 62, 144, 0.14);
}

@media (max-width: 767px) {
	.scroll-top-button {
		right: 0.75rem;
		bottom: 0.75rem;
		padding: 0.5rem 0.75rem;
		font-size: 0.85rem;
	}

	.scroll-top-button.has-cookie-banner {
		bottom: 6.5rem;
	}
}

.legal-copy {
	max-width: 58rem;
	margin: 0 auto;
	padding-top: 0.5rem;
	padding-bottom: 1rem;
}

.legal-copy__header {
	margin-bottom: 1.5rem;
	padding: 1.2rem 1.25rem;
	border: 1px solid var(--tone-line);
	border-radius: 1rem;
	background: var(--tone-panel);
	box-shadow: var(--tone-shadow-soft);
}

.legal-copy__header > h1 {
	margin: 0 0 0.5rem;
	text-align: left;
	font-size: clamp(1.7rem, 1.35rem + 0.9vw, 2.3rem);
	line-height: 1.1;
}

.legal-copy__meta,
.legal-copy__intro {
	margin: 0;
}

.legal-copy__meta {
	font-size: 0.92rem;
	font-weight: 600;
	color: rgba(22, 42, 104, 0.82);
}

.legal-copy__meta + .legal-copy__meta {
	margin-top: 0.15rem;
}

.legal-copy__intro {
	margin-top: 0.85rem;
	font-size: 1rem;
	line-height: 1.65;
}

.legal-copy h2 {
	margin-top: 1.5rem;
	margin-bottom: 0.65rem;
	text-align: left;
	font-size: clamp(1.15rem, 1.02rem + 0.35vw, 1.45rem);
	color: var(--color-blue);
}

.legal-copy p,
.legal-copy li {
	font-size: 1rem;
	line-height: 1.65;
}

.legal-copy ul {
	list-style-type: disc;
}

.legal-copy ol {
	list-style-type: decimal;
}

@media (max-width: 767px) {
	.legal-copy__header {
		padding: 1rem;
	}

	.legal-copy__header > h1 {
		text-align: center;
	}
}
