:root {
	--navy-950: #062c4f;
	--navy-900: #063968;
	--navy-800: #07518f;
	--blue-600: #0878ce;
	--blue-100: #dceeff;
	--blue-50: #f0f8ff;
	--ink: #132238;
	--muted: #627289;
	--line: #dbe5ef;
	--surface: #ffffff;
	--page: #f4f7fa;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--page); }

body {
	min-width: 320px;
	min-height: 100vh;
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }

.site-shell {
	display: flex;
	flex-direction: column;
	width: min(1380px, 100%);
	min-height: 100vh;
	margin: 0 auto;
	background: var(--surface);
	box-shadow: 0 0 80px rgba(17, 45, 73, .08);
}

.portal-intro__top {
	position: absolute;
	z-index: 2;
	top: 30px;
	left: clamp(34px, 6vw, 82px);
	right: clamp(34px, 6vw, 82px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 62px;
	padding: 7px 15px;
	border: 1px solid rgba(255,255,255,.3);
	border-radius: 12px;
	background: rgba(255,255,255,.96);
	box-shadow: 0 9px 24px rgba(0,0,0,.12);
}
.brand img { display: block; width: auto; max-width: 180px; max-height: 48px; object-fit: contain; }

.secure-label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 11px 7px 8px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 999px;
	background: rgba(255,255,255,.08);
	color: #e7f4ff;
	font-size: 13px;
	font-weight: 650;
}

.secure-label__icon {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #dff7ea;
	color: #08774a;
	font-size: 13px;
}

.portal {
	display: grid;
	grid-template-columns: minmax(0, 1.34fr) minmax(360px, .66fr);
	flex: 1;
	min-height: 630px;
}

.portal-intro {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: clamp(52px, 7vw, 94px) clamp(34px, 6vw, 82px) 42px;
	overflow: hidden;
	background: linear-gradient(145deg, var(--navy-950), var(--navy-800));
	color: #fff;
}

.portal-intro:before {
	content: "";
	position: absolute;
	top: -220px;
	right: -160px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 50%;
	box-shadow: 0 0 0 72px rgba(255,255,255,.025), 0 0 0 145px rgba(255,255,255,.018);
}

.portal-intro__content { position: relative; z-index: 1; max-width: 650px; }

.eyebrow {
	display: inline-flex;
	margin-bottom: 22px;
	padding: 7px 12px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 999px;
	background: rgba(255,255,255,.08);
	color: #bfe1ff;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.portal-intro h1 {
	max-width: 620px;
	margin: 0;
	font-size: clamp(38px, 4.2vw, 64px);
	font-weight: 720;
	letter-spacing: -.045em;
	line-height: 1.06;
}

.portal-intro__content > p {
	max-width: 590px;
	margin: 25px 0 32px;
	color: rgba(235, 246, 255, .77);
	font-size: clamp(16px, 1.6vw, 19px);
	line-height: 1.65;
}

.portal-benefits { display: flex; flex-wrap: wrap; gap: 13px 28px; }
.portal-benefits span { display: inline-flex; align-items: center; gap: 9px; color: #e5f4ff; font-size: 13px; font-weight: 600; }
.portal-benefits i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.11); color: #8dcbff; font-size: 10px; font-style: normal; }

.access-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(42px, 5vw, 72px) clamp(32px, 5vw, 68px);
	background: #fff;
}

.access-card__heading { display: flex; align-items: center; gap: 15px; }

.access-card__icon {
	display: grid;
	place-items: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--blue-50);
	color: var(--blue-600);
}

.access-card__icon svg { width: 23px; fill: currentColor; }
.access-card__overline { margin: 0 0 3px; color: var(--blue-600); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.access-card h2 { margin: 0; color: var(--navy-950); font-size: clamp(27px, 2.5vw, 34px); letter-spacing: -.025em; }
.access-card__description { margin: 22px 0 28px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.access-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { color: #2c4056; font-size: 13px; font-weight: 700; }
.field small { margin-top: -2px; color: #8190a3; font-size: 11px; }

.field input, .field select {
	width: 100%;
	height: 50px;
	padding: 0 14px;
	border: 1px solid #cddae6;
	border-radius: 10px;
	background: #fbfdff;
	color: var(--ink);
	font-size: 15px;
	outline: none;
	transition: border-color .18s, box-shadow .18s, background .18s;
}

.field input::placeholder { color: #95a3b3; }
.field input:focus, .field select:focus { border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(8, 120, 206, .11); }

.primary-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 54px;
	margin-top: 4px;
	padding: 0 18px 0 20px;
	border: 0;
	border-radius: 10px;
	background: var(--navy-900);
	box-shadow: 0 10px 24px rgba(6, 57, 104, .2);
	color: #fff;
	font-size: 14px;
	font-weight: 750;
	cursor: pointer;
	transition: background .18s, transform .18s, box-shadow .18s;
}

.primary-button svg { width: 21px; fill: currentColor; }
.primary-button:hover { background: var(--navy-800); transform: translateY(-1px); box-shadow: 0 13px 28px rgba(6, 57, 104, .25); }
.primary-button:focus-visible { outline: 3px solid var(--blue-100); outline-offset: 3px; }

.back-link { align-self: center; margin-top: 22px; color: #60748a; font-size: 12px; font-weight: 650; text-underline-offset: 3px; }
.back-link:hover { color: var(--blue-600); }

.site-footer {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 18px clamp(24px, 5vw, 72px);
	border-top: 1px solid var(--line);
	background: #fff;
	color: #7b8a9b;
	font-size: 11px;
}
.site-footer p { margin: 0; }

@media (max-width: 900px) {
	.portal { grid-template-columns: 1fr; }
	.portal-intro { min-height: auto; padding: 140px 32px 52px; }
	.portal-intro__top { top: 28px; left: 32px; right: 32px; }
	.portal-intro h1 { max-width: 680px; font-size: clamp(34px, 7vw, 52px); }
	.portal-intro__content > p { margin-bottom: 25px; }
	.access-card { padding: 48px max(24px, 8vw) 54px; }
	.access-card__description, .access-form, .back-link { width: min(100%, 530px); }
}

@media (max-width: 560px) {
	.portal-intro { padding: 122px 22px 38px; }
	.portal-intro__top { top: 22px; left: 22px; right: 22px; gap: 12px; }
	.brand { height: 54px; padding: 6px 10px; border-radius: 10px; }
	.brand img { max-width: 132px; max-height: 41px; }
	.secure-label { padding: 6px; }
	.secure-label span:last-child { display: none; }
	.portal-intro h1 { font-size: 36px; }
	.portal-intro__content > p { font-size: 15px; line-height: 1.55; }
	.portal-benefits { display: grid; gap: 10px; }
	.access-card { padding: 38px 22px 42px; }
	.access-card__heading { align-items: flex-start; }
	.access-card__icon { flex-basis: 44px; width: 44px; height: 44px; }
	.access-card__description { margin: 18px 0 25px; }
	.site-footer { display: grid; justify-content: center; gap: 5px; padding: 17px 18px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}
