/*
 * Shared member access dialog styles.
 */

html.pde-resources-account-gate-open,
html.pde-resources-account-gate-open body {
	overflow: hidden !important;
}

.pde-resources-account-gate {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	padding: 18px;
	background: rgba(13, 27, 42, 0.64);
	backdrop-filter: blur(7px);
}

.pde-resources-account-gate[hidden] {
	display: none !important;
}

.pde-resources-account-gate__dialog {
	position: relative;
	width: min(490px, 100%);
	max-height: calc(100dvh - 28px);
	box-sizing: border-box;
	padding: 26px 34px 22px;
	overflow: auto;
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 28px;
	background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
	box-shadow: 0 30px 90px rgba(6, 25, 42, 0.38), 0 0 0 1px rgba(40, 157, 204, 0.08);
	color: #1f2937;
	text-align: center;
	outline: none;
}

.pde-resources-account-gate__visual {
	position: relative;
	width: 78px;
	height: 72px;
	margin: 0 auto 5px;
}

.pde-resources-account-gate__icon {
	display: grid;
	width: 64px;
	height: 64px;
	margin: 0 auto;
	place-items: center;
	border-radius: 21px;
	background: linear-gradient(145deg, #e9f8ff, #eff0ff);
	color: #178ab7;
	box-shadow: inset 0 0 0 1px rgba(40, 157, 204, 0.12), 0 10px 24px rgba(40, 157, 204, 0.14);
}

.pde-resources-account-gate__icon svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pde-resources-account-gate__check {
	position: absolute;
	right: 1px;
	bottom: 4px;
	display: grid;
	width: 25px;
	height: 25px;
	place-items: center;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #22b573;
	color: #fff;
	font-size: 14px;
	font-weight: 900;
}

.pde-resources-account-gate__spark {
	position: absolute;
	top: -6px;
	right: -3px;
	color: #f0ad25;
	font-size: 17px;
}

.pde-resources-account-gate__eyebrow {
	display: inline-flex;
	margin-bottom: 8px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #eaf8f2;
	color: #13835a;
	font-size: 0.75rem;
	font-weight: 850;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pde-resources-account-gate__dialog h2 {
	margin: 0 auto 10px;
	max-width: 390px;
	color: #14354b;
	font-size: clamp(1.45rem, 4vw, 1.85rem);
	line-height: 1.18;
	letter-spacing: -0.025em;
}

.pde-resources-account-gate__dialog p {
	margin: 0;
	color: #526071;
	font-size: 0.96rem;
	line-height: 1.5;
}

.pde-resources-account-gate__promise {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 14px;
	margin: 13px 0 17px;
	color: #347056;
	font-size: 0.8rem;
	font-weight: 750;
}

.pde-resources-account-gate__separator {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0 14px;
	color: #8a98a8;
	font-size: 0.75rem;
	font-weight: 650;
}

.pde-resources-account-gate__separator::before,
.pde-resources-account-gate__separator::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e2e8f0;
}

.pde-resources-account-gate__actions {
	display: grid;
	gap: 10px;
	margin-top: 0;
}

.pde-resources-account-gate__button {
	display: flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 12px 18px;
	border: 2px solid #289dcc;
	border-radius: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
}

.pde-resources-account-gate__button--primary,
.pde-resources-account-gate__button--primary:hover,
.pde-resources-account-gate__button--primary:focus {
	background: linear-gradient(135deg, #289dcc, #167fac);
	color: #fff;
	box-shadow: 0 8px 18px rgba(40, 157, 204, 0.23);
}

.pde-resources-account-gate__register {
	color: #526071;
	font-size: 0.85rem;
	text-decoration: none !important;
}

.pde-resources-account-gate__register strong {
	color: #147da7;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pde-resources-account-gate__dialog .pde-resources-account-gate__privacy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 14px;
	color: #8a98a8;
	font-size: 0.72rem;
}

.pde-resources-account-gate__privacy svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

@media (max-width: 520px) {
	.pde-resources-account-gate { padding: 10px; }
	.pde-resources-account-gate__dialog { padding: 20px 17px 17px; border-radius: 22px; }
	.pde-resources-account-gate__visual { transform: scale(0.9); margin-bottom: 0; }
	.pde-resources-account-gate__promise { margin: 10px 0 13px; }
}

/* Account gate based on the illustrated resources access card. */
.pde-resources-account-gate {
	padding: 12px;
	background: rgba(15, 29, 56, 0.56);
	backdrop-filter: blur(6px);
}

.pde-resources-account-gate__dialog {
	width: min(642px, 100%);
	max-height: calc(100dvh - 20px);
	padding: 0 14px 20px;
	overflow: auto;
	border: 0;
	border-radius: 24px;
	background:
		radial-gradient(circle at 2% 2%, #e2f8ff 0 75px, transparent 76px),
		radial-gradient(circle at 98% 100%, #fff5c9 0 86px, transparent 87px),
		linear-gradient(180deg, #fff 0%, #fff 92%, #f8fdff 100%);
	box-shadow: 0 28px 90px rgba(9, 28, 58, 0.34);
	color: #071d58;
}

.pde-resources-account-gate__close {
	position: absolute;
	top: 5px;
	right: 12px;
	z-index: 3;
	color: #40598c;
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
	text-decoration: none !important;
}

.pde-resources-account-gate__hero {
	position: relative;
	display: flex;
	min-height: 100px;
	align-items: flex-start;
	justify-content: space-between;
	padding: 5px 38px 0 66px;
}

.pde-resources-account-gate__visual {
	position: relative;
	width: 148px;
	height: 98px;
	margin: 0;
}

.pde-resources-account-gate__paper {
	position: absolute;
	bottom: 3px;
	width: 68px;
	height: 58px;
	border-radius: 8px 8px 2px 2px;
}

.pde-resources-account-gate__paper--pink { left: 7px; background: linear-gradient(160deg, #ffb7c9, #ff7ea5); transform: rotate(-11deg); }
.pde-resources-account-gate__paper--yellow { right: 2px; background: linear-gradient(160deg, #ffd16d, #ff9f24); transform: rotate(13deg); }

.pde-resources-account-gate__document {
	position: absolute;
	left: 43px;
	top: 2px;
	z-index: 2;
	display: flex;
	width: 74px;
	height: 89px;
	flex-direction: column;
	gap: 8px;
	box-sizing: border-box;
	padding: 24px 18px;
	border-radius: 11px 11px 4px 4px;
	background: linear-gradient(150deg, #54c8f5, #117dec);
	box-shadow: 0 9px 20px rgba(20, 126, 220, 0.25);
	transform: rotate(-1deg);
}

.pde-resources-account-gate__document i { display: block; height: 6px; border-radius: 5px; background: #fff; }
.pde-resources-account-gate__document i:nth-child(2) { width: 75%; }
.pde-resources-account-gate__document i:nth-child(3) { width: 88%; }

.pde-resources-account-gate__ray {
	position: absolute;
	width: 20px;
	height: 4px;
	border-radius: 5px;
	background: #ffae00;
}

.pde-resources-account-gate__ray--one { left: -17px; top: 42px; transform: rotate(28deg); }
.pde-resources-account-gate__ray--two { left: 7px; top: 12px; transform: rotate(58deg); }
.pde-resources-account-gate__ray--three { right: -20px; top: 43px; transform: rotate(-28deg); }

.pde-resources-account-gate__dialog .pde-resources-account-gate__signature {
	margin: 22px 0 0;
	color: #0877f6;
	font-family: "Comic Sans MS", "Segoe Print", cursive;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.15;
	transform: rotate(-6deg);
}

.pde-resources-account-gate__signature span { display: block; font-size: 27px; }

.pde-resources-account-gate__dialog h2 {
	margin: 3px auto 8px;
	max-width: 560px;
	color: #07164f;
	font-size: clamp(27px, 5vw, 38px);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.pde-resources-account-gate__dialog h2 strong { color: #087ff5; font-weight: 900; }

.pde-resources-account-gate__dialog #pde-resources-account-gate-description {
	margin: 13px auto 17px;
	max-width: 555px;
	color: #21366a;
	font-size: 17px;
	line-height: 1.35;
}

.pde-resources-account-gate__benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 5px 16px;
}

.pde-resources-account-gate__benefit {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 4px 10px;
	text-align: left;
}

.pde-resources-account-gate__benefit + .pde-resources-account-gate__benefit { border-left: 1px solid #dbe5f1; }
.pde-resources-account-gate__benefit > span { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 50%; font-size: 29px; font-weight: 900; }
.pde-resources-account-gate__benefit > span.is-green { background: #e2f8eb; color: #31bd67; }
.pde-resources-account-gate__benefit > span.is-yellow { background: #fff4d8; color: #ffad16; }
.pde-resources-account-gate__benefit > span.is-blue { background: #e7f2ff; color: #087ff5; }
.pde-resources-account-gate__benefit svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pde-resources-account-gate__benefit p { display: flex; flex-direction: column; color: #0a205b; font-size: 13px; line-height: 1.2; }
.pde-resources-account-gate__benefit strong { margin-bottom: 3px; font-size: 14px; font-weight: 900; }
.pde-resources-account-gate__benefit small { color: #405680; font-size: 11px; line-height: 1.25; }

.pde-resources-account-gate__why {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0 0 14px;
	padding: 13px 20px;
	border-radius: 15px;
	background: linear-gradient(100deg, #e8f7ff, #ddecff);
	text-align: left;
}

.pde-resources-account-gate__robot { flex: 0 0 auto; font-size: 48px; filter: drop-shadow(0 5px 8px rgba(0, 105, 210, 0.18)); }
.pde-resources-account-gate__why p { display: flex; flex-direction: column; color: #314979; font-size: 12px; line-height: 1.35; }
.pde-resources-account-gate__why strong { margin-bottom: 2px; color: #0872dc; font-size: 17px; font-weight: 900; }
.pde-resources-account-gate__why b { color: #0872dc; }

.pde-resources-account-gate__button {
	width: 100%;
	min-height: 54px;
	border-radius: 15px;
	font-size: 17px;
}

.pde-resources-account-gate__button svg { width: 22px; height: 22px; margin-right: 12px; fill: #fff; stroke: #fff; stroke-width: 0; }
.pde-resources-account-gate__button--primary { position: relative; border: 0; background: linear-gradient(105deg, #1186f6, #0873e7); box-shadow: 0 8px 20px rgba(8, 120, 235, 0.22); }

.pde-resources-account-gate__separator { margin: 8px 5px; color: #7786a3; }
.pde-resources-account-gate__separator::before,
.pde-resources-account-gate__separator::after { background: #d7dfeb; }

.pde-resources-account-gate__social { margin: 0 0 6px; }

.pde-resources-account-gate__button--secondary,
.pde-resources-account-gate__button--secondary:hover,
.pde-resources-account-gate__button--secondary:focus {
	border: 2px solid #087ff5;
	background: #fff;
	color: #0875df;
	box-shadow: none;
}

.pde-resources-account-gate__button--secondary span { display: grid; width: 25px; height: 25px; margin-right: 10px; place-items: center; border-radius: 50%; background: #087ff5; color: #fff; font-size: 22px; line-height: 1; }
.pde-resources-account-gate__footer { margin: 15px -14px -20px; padding: 15px 70px 14px; background: linear-gradient(170deg, transparent 0 35%, #edfdf7 36% 100%); color: #233968; font-size: 11px; }
.pde-resources-account-gate__footer span { margin-right: 7px; color: #ff477a; font-size: 20px; vertical-align: middle; }

@media (max-width: 620px) {
	.pde-resources-account-gate__dialog { padding: 0 10px 16px; border-radius: 20px; }
	.pde-resources-account-gate__hero { min-height: 76px; padding: 3px 26px 0 27px; }
	.pde-resources-account-gate__visual { width: 112px; height: 75px; transform: scale(0.74); transform-origin: top left; }
	.pde-resources-account-gate__signature { transform: scale(0.84) rotate(-6deg) !important; transform-origin: top right; }
	.pde-resources-account-gate__dialog h2 { margin-top: 0; font-size: clamp(25px, 8vw, 34px); }
	.pde-resources-account-gate__dialog #pde-resources-account-gate-description { margin: 10px auto 13px; font-size: 14px; }
	.pde-resources-account-gate__desktop-break { display: none; }
	.pde-resources-account-gate__benefits { gap: 7px; margin-bottom: 11px; }
	.pde-resources-account-gate__benefit { flex-direction: column; gap: 4px; padding: 2px 3px; text-align: center; }
	.pde-resources-account-gate__benefit > span { width: 37px; height: 37px; flex-basis: 37px; font-size: 22px; }
	.pde-resources-account-gate__benefit p { align-items: center; font-size: 10px; }
	.pde-resources-account-gate__benefit strong { font-size: 11px; }
	.pde-resources-account-gate__benefit small { font-size: 9px; }
	.pde-resources-account-gate__why { gap: 9px; margin-bottom: 10px; padding: 9px 11px; }
	.pde-resources-account-gate__robot { font-size: 35px; }
	.pde-resources-account-gate__why strong { font-size: 14px; }
	.pde-resources-account-gate__why p { font-size: 10px; }
	.pde-resources-account-gate__button { min-height: 47px; font-size: 15px; }
	.pde-resources-account-gate__footer { margin: 11px -10px -16px; padding: 12px 25px; }
}

@media (min-width: 621px) {
	.pde-resources-account-gate__dialog { padding-bottom: 14px; }
	.pde-resources-account-gate__hero { min-height: 80px; padding-top: 2px; }
	.pde-resources-account-gate__visual { width: 125px; height: 80px; transform: scale(0.82); transform-origin: top left; }
	.pde-resources-account-gate__dialog .pde-resources-account-gate__signature { margin-top: 14px; font-size: 14px; }
	.pde-resources-account-gate__signature span { font-size: 22px; }
	.pde-resources-account-gate__dialog h2 { margin-top: 0; font-size: 33px; }
	.pde-resources-account-gate__dialog #pde-resources-account-gate-description { margin: 8px auto 11px; font-size: 15px; }
	.pde-resources-account-gate__benefits { margin-bottom: 10px; }
	.pde-resources-account-gate__benefit > span { width: 40px; height: 40px; flex-basis: 40px; font-size: 24px; }
	.pde-resources-account-gate__benefit strong { font-size: 13px; }
	.pde-resources-account-gate__why { margin-bottom: 9px; padding-top: 9px; padding-bottom: 9px; }
	.pde-resources-account-gate__robot { font-size: 40px; }
	.pde-resources-account-gate__why strong { font-size: 15px; }
	.pde-resources-account-gate__button { min-height: 48px; }
	.pde-resources-account-gate__separator { margin-top: 5px; margin-bottom: 5px; }
	.pde-resources-account-gate__footer { margin-top: 10px; margin-bottom: -14px; padding-top: 10px; padding-bottom: 9px; }
}
