/* iCreds landing: header scroll state + admin bar (Bolt reference). */

/*
 * Hero H1 — match Bolt (Plus Jakarta extrabold + tracking-tight) but fix descender clipping:
 * -webkit-background-clip:text + leading 1.06 cuts the tail of "g" in "Intelligence".
 * Slightly looser line box + padding under gradient text; row allows vertical overflow.
 */
.icreds-hero-headline {
	line-height: 1.08;
}

@media (min-width: 1024px) {
	.icreds-hero-headline {
		line-height: 1.07;
	}
}

.icreds-hero-headline__gradient-row {
	overflow: visible;
	line-height: 1.22;
	padding-bottom: 0.06em;
	margin-bottom: -0.02em;
}

.icreds-hero-gradient-text {
	display: inline-block;
	line-height: inherit;
	padding-bottom: 0.14em;
	vertical-align: baseline;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

body.admin-bar .icreds-header-fixed {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .icreds-header-fixed {
		top: 46px;
	}
}

.icreds-header-fixed {
	transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.icreds-header-fixed.icreds-header-scrolled {
	background-color: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	border-bottom: 1px solid rgb(241 245 249);
}

.icreds-header-fixed:not(.icreds-header-scrolled) .icreds-logo-word {
	color: #fff;
}

.icreds-header-fixed.icreds-header-scrolled .icreds-logo-word {
	color: #0f172a;
}

.icreds-header-fixed:not(.icreds-header-scrolled) .icreds-logo-c {
	color: #f87171;
}

.icreds-header-fixed.icreds-header-scrolled .icreds-logo-c {
	color: #b91c1c;
}

.icreds-header-fixed:not(.icreds-header-scrolled) .icreds-nav-desktop a {
	color: rgb(203 213 225);
}

.icreds-header-fixed:not(.icreds-header-scrolled) .icreds-nav-desktop a:hover {
	color: #fff;
}

.icreds-header-fixed.icreds-header-scrolled .icreds-nav-desktop a {
	color: rgb(100 116 139);
}

.icreds-header-fixed.icreds-header-scrolled .icreds-nav-desktop a:hover {
	color: #0f172a;
}

.icreds-header-fixed:not(.icreds-header-scrolled) .icreds-header-cta {
	background-color: #dc2626;
	color: #fff;
	box-shadow: 0 10px 15px -3px rgb(127 29 29 / 0.2);
}

.icreds-header-fixed:not(.icreds-header-scrolled) .icreds-header-cta:hover {
	background-color: #ef4444;
}

.icreds-header-fixed.icreds-header-scrolled .icreds-header-cta {
	background-color: #b91c1c;
	box-shadow: none;
}

.icreds-header-fixed.icreds-header-scrolled .icreds-header-cta:hover {
	background-color: #dc2626;
}

.icreds-header-fixed:not(.icreds-header-scrolled) .icreds-nav-toggle {
	color: rgb(203 213 225);
}

.icreds-header-fixed.icreds-header-scrolled .icreds-nav-toggle {
	color: #475569;
}

.icreds-nav-mobile.icreds-nav-mobile--light {
	background-color: #fff;
	border-top-color: rgb(241 245 249);
}

.icreds-nav-mobile.icreds-nav-mobile--dark {
	background-color: rgba(69, 10, 10, 0.9);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-color: rgba(255, 255, 255, 0.1);
}

.icreds-nav-mobile.icreds-nav-mobile--light a {
	color: #475569;
}

.icreds-nav-mobile.icreds-nav-mobile--light a:hover {
	color: #0f172a;
}

.icreds-form-success {
	display: none;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
}

.icreds-form-success.icreds-form-success--visible {
	display: flex;
}

.icreds-nav-mobile {
	display: none;
}

.icreds-nav-mobile.icreds-nav-open {
	display: block;
}

@media (min-width: 1024px) {
	.icreds-nav-mobile {
		display: none !important;
	}
}
