@keyframes ir-fade {
	from { opacity: 0; }
}

@keyframes ir-out {
	to { opacity: 0; transform: translateY(10px); }
}

.ir-home {
	padding: clamp(80px, 11vw, 144px) 16px;
	background: radial-gradient(ellipse 90% 75% at 50% 75%, #0339dc 0%, #0233c4 40%, var(--ir-navy) 85%) var(--ir-navy);
	color: #fff;
}

#investors .ir-home-inner {
	display: grid;
	gap: 28px;
	max-width: 1160px;
	margin: 0 auto;
}

.ir-home .ir-home-title {
	margin: 0;
	color: #fff;
	font-family: inherit;
	font-size: clamp(36px, 5.4vw, 66px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.025em;
}

.ir-home .ir-home-text {
	max-width: 440px;
	margin: 0 0 28px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 18px;
	line-height: 1.6;
}

.ir-home .ir-home-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
}

#investors a.ir-cta {
	display: inline-flex;
	align-items: center;
	height: 52px;
	padding: 0 28px;
	border: 1.6px solid #fff;
	border-radius: 7px;
	background: #fff;
	color: var(--ir-blue);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s;
}

#investors a.ir-cta:hover,
#investors a.ir-cta:focus-visible {
	background: transparent;
	color: #fff;
}

#investors a.ir-cta:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.5);
	outline-offset: 3px;
}

#investors a.ir-home-link {
	color: rgba(255, 255, 255, 0.85);
	font-size: 15px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
}

#investors a.ir-home-link:hover {
	color: #fff;
}

.ir-js .ir-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.7s var(--ir-ease), transform 0.7s var(--ir-ease);
}

.ir-js .ir-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.ir-js .ir-home-side.ir-reveal {
	transition-delay: 0.12s;
}

html.ir-modal-open {
	overflow: hidden;
}

.ir-modal {
	width: min(760px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
}

.ir-modal::backdrop {
	background: rgba(1, 10, 45, 0.6);
}

.ir-modal[open] {
	animation: ir-rise 0.3s var(--ir-ease);
}

.ir-modal[open]::backdrop {
	animation: ir-fade 0.25s ease;
}

.ir-modal.is-closing {
	animation: ir-out 0.2s ease forwards;
}

.ir-modal.is-closing::backdrop {
	animation: ir-fade 0.2s ease reverse forwards;
}

.ir-modal .ir-modal-box {
	display: flex;
	flex-direction: column;
	max-height: calc(100dvh - 32px);
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 40px 80px -30px rgba(0, 8, 40, 0.7);
}

.ir-modal .ir-modal-head {
	position: relative;
	flex: none;
	padding: 28px 76px 24px 36px;
	background: radial-gradient(ellipse 90% 160% at 80% 100%, #0339dc 0%, #0233c4 40%, var(--ir-navy) 85%) var(--ir-navy);
	color: #fff;
}

.ir-modal .ir-modal-title {
	margin: 0 0 4px;
	color: #fff;
	font-family: inherit;
	font-size: clamp(24px, 4vw, 30px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
}

.ir-modal .ir-modal-lead {
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 15px;
}

.ir-modal .ir-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.15s;
}

.ir-modal .ir-modal-close:hover,
.ir-modal .ir-modal-close:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.ir-modal .ir-modal-close:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.5);
	outline-offset: 2px;
}

.ir-modal .ir-modal-body {
	overflow-y: auto;
	overscroll-behavior: contain;
}

.ir-modal .ir-card {
	padding: 32px 36px 36px;
	border-radius: 0;
	box-shadow: none;
}

.ir-nudge {
	position: fixed;
	z-index: 9990;
	right: 24px;
	bottom: 24px;
	width: min(380px, calc(100vw - 24px));
	padding: 18px 52px 18px 20px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 24px 48px -18px rgba(0, 10, 50, 0.4), 0 0 0 1px rgba(13, 21, 48, 0.07);
	animation: ir-rise 0.35s var(--ir-ease) backwards;
}

.ir-nudge[hidden] {
	display: none;
}

.ir-nudge.is-leaving {
	animation: ir-out 0.2s ease forwards;
}

.ir-ui .ir-nudge-text {
	margin: 0 0 12px;
	color: var(--ir-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.ir-ui a.ir-nudge-btn {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 20px;
	border-radius: 7px;
	background: var(--ir-blue);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s;
}

.ir-ui a.ir-nudge-btn:hover,
.ir-ui a.ir-nudge-btn:focus-visible {
	background: var(--ir-blue-hover);
	color: #fff;
}

.ir-ui .ir-nudge-close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ir-muted);
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s;
}

.ir-ui .ir-nudge-close:hover,
.ir-ui .ir-nudge-close:focus-visible {
	background: #eef2fb;
	color: var(--ir-ink);
}

@media (min-width: 960px) {
	#investors .ir-home-inner {
		grid-template-columns: 1.15fr 0.85fr;
		align-items: end;
		gap: 80px;
	}
}

@media (max-width: 639px) {
	.ir-modal {
		width: 100vw;
		height: 100dvh;
		max-height: 100dvh;
		margin: 0;
	}

	.ir-modal .ir-modal-box {
		height: 100%;
		max-height: none;
		border-radius: 0;
	}

	.ir-modal .ir-modal-head {
		padding: 22px 64px 20px 20px;
	}

	.ir-modal .ir-modal-close {
		top: 16px;
		right: 16px;
	}

	.ir-modal .ir-card {
		padding: 24px 20px 28px;
	}

	.ir-nudge {
		right: 12px;
		bottom: 12px;
		left: 12px;
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ir-modal::backdrop {
		animation: none !important;
	}

	.ir-js .ir-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
