html {
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: 100%;
	background-color: #224abe;
	text-size-adjust: 100%;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	/* Keeps content clear of the iPhone status bar / notch when the app is installed or in landscape. */
	padding-top: env(safe-area-inset-top);
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
}

a,
button,
input,
select,
textarea,
label {
	touch-action: manipulation;
}

.public-navbar {
	align-items: center;
	background: linear-gradient(110deg, #182a52, #2d4d8e 55%, #4e73df);
	box-sizing: border-box;
	color: #fff;
	display: flex;
	height: calc(76px + env(safe-area-inset-top));
	justify-content: space-between;
	left: 0;
	padding: calc(0.75rem + env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 0.75rem
		max(1rem, env(safe-area-inset-left));
	position: fixed;
	right: 0;
	top: 0;
	z-index: 1030;
	box-shadow: 0 0.25rem 1rem rgba(20, 35, 70, 0.22);
}

.public-navbar-content {
	align-items: center;
	display: flex;
	font-weight: 700;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1100px;
	width: 100%;
}

.public-brand {
	align-items: center;
	display: inline-flex;
	gap: 0.65rem;
	line-height: 1.1;
}

.public-brand img {
	border-radius: 50%;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.24));
	height: 44px;
	object-fit: cover;
	width: 44px;
}

.public-brand-copy {
	display: flex;
	flex-direction: column;
}

.public-brand-name {
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.035em;
}

.public-brand-tagline {
	color: #dbe5ff;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin-top: 0.2rem;
}

.public-nav-links {
	align-items: center;
	display: flex;
	gap: 0.45rem;
}

.public-navbar a {
	color: #fff;
	text-decoration: none;
}

.public-nav-links a {
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.875rem;
	padding: 0.5rem 0.85rem;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.public-nav-links a[aria-current="page"] {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.22);
}

.public-nav-links a:hover,
.public-nav-links a:focus {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.25);
	color: #fff;
	transform: translateY(-1px);
}

.public-navbar a:hover,
.public-navbar a:focus {
	color: #fff;
}

.public-page {
	margin: 0 auto;
	max-width: 1000px;
	padding: 108px max(15px, env(safe-area-inset-right)) 40px max(15px, env(safe-area-inset-left));
}

.public-hero {
	background: linear-gradient(120deg, #263d75, #4e73df);
	border-radius: 12px;
	color: #fff;
	margin-bottom: 1.5rem;
	padding: 28px;
}

.public-hero h1 {
	color: #fff;
	font-weight: 800;
}

.public-hero p {
	color: #e5ebff;
	margin-bottom: 0;
}

.public-section {
	border: 0;
	border-radius: 10px;
	margin-bottom: 1rem;
}

.public-section h2,
.public-section h3 {
	color: #3a3b45;
	font-size: 1rem;
	font-weight: 800;
}

.public-section p,
.public-section li {
	color: #6e707e;
	line-height: 1.65;
}

.registration-page {
	max-width: 1060px;
	padding-top: 118px;
}

.login-page {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	max-width: 1200px;
	min-height: calc(100vh - 64px);
	min-height: calc(100dvh - 64px - env(safe-area-inset-top));
	padding-top: 116px;
}

.login-page > .row {
	justify-content: center;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

.recover-password-page {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	min-height: 100vh;
	min-height: calc(100dvh - env(safe-area-inset-top));
	padding: 108px 15px 40px;
}

.recover-password-page > .row {
	width: 100%;
}

.login-card {
	border-radius: 14px;
	overflow: hidden;
	width: 100%;
}

.login-aside {
	background: radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.14), transparent 28%), linear-gradient(150deg, #1d315f, #4e73df);
	color: #fff;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	min-height: 540px;
	overflow: hidden;
	padding: 2.5rem;
	position: relative;
}

.login-aside::after {
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	content: "";
	height: 280px;
	position: absolute;
	right: -155px;
	top: -130px;
	width: 280px;
}

.login-aside > img {
	filter: drop-shadow(0 8px 18px rgba(10, 20, 50, 0.35));
	height: 90px;
	margin-bottom: 1.5rem;
	position: relative;
	width: 90px;
	z-index: 1;
}

.login-aside-eyebrow {
	color: #dbe5ff;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	position: relative;
	text-transform: uppercase;
	z-index: 1;
}

.login-aside h1 {
	color: #fff;
	font-size: 1.8rem;
	font-weight: 800;
	line-height: 1.2;
	margin: 0.55rem 0 0.8rem;
	position: relative;
	z-index: 1;
}

.login-aside > p {
	color: #e5ebff;
	line-height: 1.6;
	position: relative;
	z-index: 1;
}

.login-benefits {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
	position: relative;
	z-index: 1;
}

.login-benefits li {
	color: #f0f3ff;
	font-size: 0.86rem;
	line-height: 1.45;
	margin-top: 0.75rem;
}

.login-benefits i {
	color: #f5cf72;
	margin-right: 0.45rem;
}

.login-form-panel {
	margin: 0 auto;
	max-width: 540px;
	padding: 2.5rem;
	width: 100%;
}

.login-form-panel .form-control {
	border-radius: 0.5rem;
	font-size: 1rem;
	min-height: 52px;
	padding: 0.75rem 1rem;
	width: 100%;
}

.login-form-panel .control-label {
	color: #4b4d59;
	font-size: 0.95rem;
	font-weight: 700;
}

.login-form-panel .form-control:focus {
	border-color: #9aadef;
	box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.16);
}

.login-submit {
	border-radius: 0.5rem;
	font-size: 1rem;
	font-weight: 700;
	min-height: 50px;
	padding: 0.75rem 1rem;
}

.login-secondary-links {
	text-align: center;
}

.login-register-callout {
	align-items: center;
	background: #f8f9fc;
	border: 1px solid #eaecf4;
	border-radius: 0.65rem;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
	margin-top: 1rem;
	padding: 0.9rem 1rem;
}

.login-register-callout > div {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.login-register-callout strong {
	color: #3a3b45;
	font-size: 0.9rem;
}

.login-register-callout span {
	color: #858796;
	font-size: 0.78rem;
}

.login-register-callout .btn {
	border-radius: 0.45rem;
	font-weight: 700;
	white-space: nowrap;
}

.public-site-footer {
	align-items: center;
	color: #e5ebff;
	display: flex;
	font-size: 0.75rem;
	gap: 0.75rem;
	justify-content: center;
	min-height: 64px;
	padding: 0.75rem max(1rem, env(safe-area-inset-right)) calc(0.75rem + env(safe-area-inset-bottom))
		max(1rem, env(safe-area-inset-left));
	text-align: center;
}

.public-footer-brand {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-weight: 800;
	gap: 0.4rem;
	text-decoration: none;
	white-space: nowrap;
}

.public-footer-brand:hover,
.public-footer-brand:focus {
	color: #fff;
	text-decoration: none;
}

.public-footer-brand img {
	height: 25px;
	width: 25px;
}

.registration-card {
	border: 0;
	border-radius: 14px;
	overflow: hidden;
}

.registration-aside {
	align-items: center;
	background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.15), transparent 30%), linear-gradient(150deg, #1d315f, #4e73df);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100%;
	overflow: hidden;
	padding: 3rem;
	position: relative;
	text-align: center;
}

.registration-aside::after {
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	content: "";
	height: 290px;
	position: absolute;
	right: -125px;
	top: -125px;
	width: 290px;
}

.registration-aside img {
	filter: drop-shadow(0 8px 18px rgba(10, 20, 50, 0.35));
	height: 100px;
	margin-bottom: 1.4rem;
	position: relative;
	width: 100px;
	z-index: 1;
}

.registration-aside h2 {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 800;
	position: relative;
	z-index: 1;
}

.registration-aside p {
	color: #e5ebff;
	line-height: 1.6;
	margin-bottom: 0;
	max-width: 290px;
	position: relative;
	z-index: 1;
}

.registration-form-panel {
	padding: 2.5rem;
}

.registration-form-panel .form-control {
	border-radius: 0.5rem;
	min-height: 46px;
}

.registration-form-panel .form-control:focus {
	border-color: #9aadef;
	box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.16);
}

.registration-form-panel .form-group label {
	color: #4b4d59;
	font-size: 0.875rem;
	font-weight: 700;
	margin-bottom: 0.4rem;
}

.registration-form-panel .btn-register {
	border-radius: 0.5rem;
	font-weight: 700;
	padding: 0.75rem 1rem;
}

.registration-form-panel .terms-consent {
	align-items: flex-start;
	background: #f8f9fc;
	border: 1px solid #eaecf4;
	border-radius: 0.5rem;
	display: flex;
	gap: 0.6rem;
	padding: 0.8rem;
}

.registration-form-panel .terms-consent input {
	margin-top: 0.25rem;
}

.registration-form-panel .terms-consent label {
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
}

.registration-form-panel .form-error {
	font-size: 0.8rem;
	margin: 0.35rem 0 0;
}

.landing-page {
	max-width: 1100px;
	padding-top: 116px;
}

.landing-hero {
	align-items: center;
	background: radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.14), transparent 25%), linear-gradient(120deg, #1d315f, #4e73df);
	border-radius: 16px;
	box-shadow: 0 0.75rem 2rem rgba(25, 45, 92, 0.2);
	color: #fff;
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr);
	margin-bottom: 1.5rem;
	overflow: hidden;
	padding: clamp(1.75rem, 5vw, 3.5rem);
	position: relative;
}

.landing-hero-copy {
	position: relative;
	z-index: 1;
}

.landing-eyebrow {
	color: #dbe5ff;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.landing-hero h1 {
	color: #fff;
	font-size: clamp(2rem, 5vw, 3.35rem);
	font-weight: 800;
	line-height: 1.12;
	margin: 0.75rem 0 1rem;
	max-width: 620px;
}

.landing-hero-copy > p {
	color: #e5ebff;
	font-size: 1.05rem;
	line-height: 1.65;
	margin-bottom: 1.5rem;
	max-width: 590px;
}

.landing-hero-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.landing-hero-actions .btn {
	border-radius: 0.55rem;
	font-weight: 700;
	padding: 0.75rem 1.15rem;
}

.landing-hero-actions .btn-light {
	color: #314f9a;
}

.landing-hero-art {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 300px;
	position: relative;
}

.landing-hero-art img {
	aspect-ratio: 1;
	border-radius: 1.25rem;
	box-shadow: 0 10px 24px rgba(10, 20, 50, 0.38);
	max-width: 100%;
	object-fit: cover;
	position: relative;
	width: 300px;
	z-index: 1;
}

.landing-section-heading {
	margin: 2rem auto 1.25rem;
	max-width: 700px;
	text-align: center;
}

.landing-section-heading h2 {
	color: #fff;
	font-size: 1.6rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
}

.landing-section-heading p {
	color: #e5ebff;
	font-weight: 600;
	margin-bottom: 0;
}

.landing-feature {
	border: 0;
	border-radius: 12px;
	height: 100%;
}

.landing-feature .card-body {
	padding: 1.5rem;
}

.landing-feature-icon {
	align-items: center;
	background: #eef1ff;
	border-radius: 12px;
	color: #4e73df;
	display: inline-flex;
	font-size: 1.15rem;
	height: 44px;
	justify-content: center;
	margin-bottom: 1rem;
	width: 44px;
}

.landing-feature h3 {
	color: #3a3b45;
	font-size: 1rem;
	font-weight: 800;
}

.landing-feature p {
	color: #6e707e;
	line-height: 1.6;
	margin-bottom: 0;
}

.landing-how {
	background: rgba(255, 255, 255, 0.96);
	border-radius: 12px;
	box-shadow: 0 0.25rem 1rem rgba(58, 59, 69, 0.08);
	margin: 1.5rem 0;
	padding: clamp(1.25rem, 4vw, 2rem);
}

.landing-how .landing-section-heading h2 {
	color: #3a3b45;
}

.landing-how .landing-section-heading p {
	color: #6e707e;
}

.landing-step {
	align-items: flex-start;
	display: flex;
	gap: 0.9rem;
	height: 100%;
}

.landing-step-number {
	align-items: center;
	background: #4e73df;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex: 0 0 34px;
	font-size: 0.9rem;
	font-weight: 800;
	height: 34px;
	justify-content: center;
}

.landing-step h3 {
	color: #3a3b45;
	font-size: 0.95rem;
	font-weight: 800;
	margin: 0 0 0.35rem;
}

.landing-step p {
	color: #6e707e;
	font-size: 0.875rem;
	line-height: 1.55;
	margin: 0;
}

.landing-rewards {
	align-items: flex-start;
	background: linear-gradient(120deg, #fff, #f3f6ff);
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 12px;
	box-shadow: 0 0.25rem 1rem rgba(58, 59, 69, 0.08);
	display: flex;
	gap: 1.25rem;
	margin: 1.5rem 0;
	padding: clamp(1.25rem, 4vw, 2rem);
}

.landing-rewards-icon {
	align-items: center;
	background: #eef1ff;
	border-radius: 12px;
	color: #4e73df;
	display: inline-flex;
	flex: 0 0 48px;
	font-size: 1.25rem;
	height: 48px;
	justify-content: center;
}

.landing-rewards-content h2 {
	color: #3a3b45;
	font-size: 1.25rem;
	font-weight: 800;
	margin: 0 0 0.5rem;
}

.landing-rewards-content > p {
	color: #6e707e;
	line-height: 1.6;
	margin-bottom: 0.75rem;
}

.landing-reward-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.75rem 0;
}

.landing-reward-options span {
	background: #fff;
	border: 1px solid #dfe5fa;
	border-radius: 999px;
	color: #314f9a;
	font-size: 0.875rem;
	font-weight: 700;
	padding: 0.4rem 0.8rem;
}

.landing-rewards-content .landing-rewards-note {
	font-size: 0.82rem;
	margin-bottom: 0.65rem;
}

.landing-rewards-content > a {
	color: #3156aa;
	font-size: 0.875rem;
	font-weight: 700;
}

.landing-cta {
	align-items: center;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 0.25rem 1rem rgba(58, 59, 69, 0.08);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin: 1.5rem 0;
	padding: 1.5rem 1.75rem;
}

.landing-cta h2 {
	color: #3a3b45;
	font-size: 1.2rem;
	font-weight: 800;
	margin: 0 0 0.35rem;
}

.landing-cta p {
	color: #858796;
	margin: 0;
}

.landing-cta .btn {
	border-radius: 0.5rem;
	font-weight: 700;
	padding: 0.7rem 1.1rem;
	white-space: nowrap;
}

.landing-disclaimer {
	color: #fff;
	font-size: 0.78rem;
	line-height: 1.55;
	margin: 0 auto 1.5rem;
	max-width: 850px;
	text-align: center;
}

.landing-disclaimer a {
	color: #ffe08a;
	font-weight: 700;
	text-decoration: underline;
}

@media (max-width: 576px) {
	.public-navbar-content {
		gap: 0.5rem;
	}

	.public-brand img {
		height: 38px;
		width: 38px;
	}

	.public-brand-tagline {
		display: none;
	}

	.public-brand-name {
		font-size: 0.85rem;
	}

	.public-nav-links {
		gap: 0;
	}

	.public-nav-links a {
		font-size: 0.75rem;
		padding: 0.45rem 0.5rem;
	}

	.public-hero {
		padding: 22px;
	}

	.registration-page {
		padding-top: 98px;
	}

	.login-page {
		padding-top: 98px;
	}

	.recover-password-page {
		padding-top: 76px;
	}

	.login-form-panel {
		padding: 1.5rem;
	}

	.login-form-panel .text-center > p {
		margin-bottom: 1rem;
	}

	.login-register-callout {
		align-items: flex-start;
		flex-direction: column;
	}

	.login-register-callout .btn {
		width: 100%;
	}

	.public-site-footer {
		flex-direction: column;
		gap: 0.35rem;
	}

	.registration-aside {
		min-height: 200px;
		padding: 1.5rem;
	}

	.registration-aside img {
		height: 64px;
		margin-bottom: 0.75rem;
		width: 64px;
	}

	.registration-aside h2 {
		font-size: 1.2rem;
		margin-bottom: 0.4rem;
	}

	.registration-aside p {
		font-size: 0.875rem;
	}

	.registration-form-panel {
		padding: 1.5rem;
	}

	.landing-page {
		padding-top: 98px;
	}

	.landing-hero {
		gap: 0.5rem;
		grid-template-columns: 1fr;
	}

	.landing-hero-art {
		min-height: 180px;
	}

	.landing-hero-art img {
		width: 180px;
	}

	.landing-hero-copy > p {
		font-size: 0.95rem;
		line-height: 1.5;
		margin-bottom: 1rem;
	}

	.landing-cta {
		align-items: flex-start;
		flex-direction: column;
	}

	.landing-rewards {
		flex-direction: column;
	}
}

@media (max-width: 430px) {
	.public-navbar {
		height: auto;
		min-height: calc(76px + env(safe-area-inset-top));
	}

	.public-navbar-content {
		flex-wrap: wrap;
	}

	.public-nav-links {
		justify-content: center;
		width: 100%;
	}

	.public-page {
		padding-top: 124px;
	}

	.registration-page {
		padding-top: 124px;
	}

	.login-page {
		padding-top: 124px;
	}

	.recover-password-page {
		padding-top: 124px;
	}

	.landing-page {
		padding-top: 124px;
	}

	.landing-hero {
		padding: 1.15rem;
	}

	.landing-hero h1 {
		font-size: 1.8rem;
	}

	.landing-hero-art {
		min-height: 150px;
	}

	.landing-hero-art img {
		width: 150px;
	}
}

.public-nav-toggle {
	align-items: center;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 0.4rem;
	color: #fff;
	cursor: pointer;
	display: none;
	font-size: 1.15rem;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.public-nav-toggle:hover,
.public-nav-toggle:focus {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	outline: 2px solid rgba(255, 255, 255, 0.75);
	outline-offset: 2px;
}

@media (max-width: 767.98px) {
	.public-navbar-content {
		flex-wrap: nowrap;
		position: relative;
	}

	.public-nav-toggle {
		display: inline-flex;
		flex: 0 0 auto;
	}

	.public-nav-links,
	.public-nav-links.is-open {
		align-items: stretch;
		background: linear-gradient(145deg, #182a52, #2d4d8e);
		border-radius: 0.5rem;
		box-shadow: 0 0.5rem 1.25rem rgba(20, 35, 70, 0.28);
		display: none;
		flex-direction: column;
		gap: 0.25rem;
		padding: 0.5rem;
		position: absolute;
		right: 0;
		top: calc(100% + 0.65rem);
		width: min(16rem, calc(100vw - 2rem));
		z-index: 1;
	}

	.public-nav-links.is-open {
		display: flex;
	}

	.public-nav-links a {
		font-size: 0.9rem;
		padding: 0.7rem 0.85rem;
	}
}

/* iOS zooms into focused fields below 16px; keep fields readable and comfortably tappable. */
@media (max-width: 767.98px) {
	.public-page input:not([type="checkbox"]):not([type="radio"]),
	.public-page select,
	.public-page textarea,
	.login-form-panel .form-control,
	.registration-form-panel .form-control {
		font-size: 16px;
	}

	.public-page .btn,
	.public-page .form-control:not(textarea) {
		min-height: 44px;
	}

	.public-hero h1,
	.landing-hero h1 {
		overflow-wrap: anywhere;
	}
}

@media (pointer: coarse) {
	.public-nav-links a {
		min-height: 44px;
		align-items: center;
		display: inline-flex;
	}
}

@media (orientation: landscape) and (max-height: 500px) {
	.login-page,
	.recover-password-page {
		align-items: flex-start;
		min-height: auto;
	}

	.login-aside {
		min-height: 0;
	}
}

/* Feels like a native app once launched from the iOS/Android home screen. */
@media (display-mode: standalone) {
	body {
		overscroll-behavior-y: none;
		-webkit-touch-callout: none;
	}

	.public-navbar,
	.public-site-footer,
	.btn {
		-webkit-user-select: none;
		user-select: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
