/*
 * Access gate (design/gate/Sign In Gate.dc.html). Loaded only on the gate page, which uses its own
 * palette and fonts (Archivo + IBM Plex Mono, self-hosted latin subsets). Values are the design's
 * inline styles; the few changes for WCAG AA text contrast are the --g-muted / --g-caps / --g-foot-*
 * tokens below (design values in the comments, docs/pages/gate.md "Deviations").
 */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
	--g-red: #C4161C;
	--g-red-hover: #A31115;
	--g-red-deep: #8E0F13;
	--g-red-soft: #E2564F;
	--g-red-light: #E86B60;
	--g-ink: #1A1817;
	--g-bg: #FAF9F7;
	--g-dark: #0B0B0D;
	--g-white: #FFFFFF;
	--g-sub: #726D67;
	--g-label: #504B46;
	--g-border: #E5E1DC;
	--g-border-hover: #D3CEC8;
	--g-line: #EBE7E2;
	--g-placeholder: #A8A29B;
	--g-muted: #75706A;      /* design #A8A29B / #8E8983 on light: 2.4-3.3:1; #75706A is 4.66:1 */
	--g-tab-hover: #504B46;  /* design #6E6963 (barely darker than --g-muted) */
	--g-caps: #946808;       /* design #A8760B (3.8:1); 4.7:1 */
	--g-tint: #FDF4F3;
	--g-tint-border: #F2DCDA;
	--g-tint-hover: #E7C3C0;
	--g-alert-border: #F0D2D0;
	--g-alert-text: #9A1B20;
	--g-ack-text: #6B4340;
	--g-ok: #4E7A55;
	--g-foot-ruo: rgba(255, 255, 255, .56); /* design .44 */
	--g-foot-copy: rgba(255, 255, 255, .48); /* design .30 */
	--g-ease: cubic-bezier(.2, .7, .2, 1);
	--g-swing: cubic-bezier(.65, 0, .35, 1);
	--g-sans: Archivo, Helvetica, Arial, sans-serif;
	--g-mono: "IBM Plex Mono", monospace;
}

@keyframes plGateRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes plGateFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes plGateDrift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(5%, -4%, 0) scale(1.12); } 100% { transform: translate3d(0, 0, 0) scale(1); } }
@keyframes plGateGlow { 0%, 100% { opacity: .30; } 50% { opacity: .58; } }
@keyframes plGateSpin { to { transform: rotate(360deg); } }
@keyframes plGateShake { 12% { transform: translateX(-3px); } 28% { transform: translateX(5px); } 44% { transform: translateX(-6px); } 60% { transform: translateX(4px); } 78% { transform: translateX(-2px); } 100% { transform: none; } }
@keyframes plGateDraw { to { stroke-dashoffset: 0; } }
@keyframes plGateBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes plGatePop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes plGateInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes plGateInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes plGateScan { 0% { transform: translateY(-10%); opacity: 0; } 20% { opacity: .5; } 100% { transform: translateY(110%); opacity: 0; } }

/* ------------------------------------------------------------------ page */

html,
body.pl-gate-body {
	margin: 0;
	padding: 0;
	background: var(--g-bg);
	-webkit-font-smoothing: antialiased;
}
.pl-gate-body *,
.pl-gate-body *::before,
.pl-gate-body *::after { box-sizing: border-box; }
.pl-gate input::placeholder { color: var(--g-placeholder); opacity: 1; }
.pl-gate [hidden] { display: none !important; }

.pl-gate {
	min-height: 100vh;
	min-height: 100dvh;
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
	font-family: var(--g-sans);
	color: var(--g-ink);
	background: var(--g-bg);
}
.pl-gate a { color: var(--g-red); text-decoration: none; }
.pl-gate :focus { outline: none; }
.pl-gate :focus-visible { outline: 2px solid var(--g-red); outline-offset: 2px; border-radius: 3px; }
/* Headings gate.js focuses for screen readers (tabindex="-1") are not controls: no ring. */
.pl-gate [tabindex="-1"]:focus,
.pl-gate [tabindex="-1"]:focus-visible { outline: none; }
.pl-gate__link:hover { color: var(--g-red-deep); text-decoration: underline; }

/* Honeypot: off-screen, never focusable by Tab. */
.pl-gate__hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ brand panel */

.pl-gate__aside {
	position: relative;
	overflow: hidden;
	background: var(--g-dark);
	color: var(--g-white);
	padding: clamp(36px, 4vw, 60px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
}
.pl-gate__fx { position: absolute; inset: 0; pointer-events: none; }
.pl-gate__glow { position: absolute; }
.pl-gate__glow--a {
	inset: -6% -6% auto auto;
	width: 62%;
	height: 62%;
	background: radial-gradient(circle at 60% 40%, rgba(196, 22, 28, .85), rgba(196, 22, 28, 0) 68%);
	filter: blur(18px);
	animation: plGateDrift 22s ease-in-out infinite, plGateGlow 9s ease-in-out infinite;
}
.pl-gate__glow--b {
	left: -14%;
	bottom: -18%;
	width: 66%;
	height: 58%;
	background: radial-gradient(circle at 40% 60%, rgba(120, 10, 14, .9), rgba(120, 10, 14, 0) 70%);
	filter: blur(24px);
	animation: plGateDrift 30s ease-in-out infinite reverse, plGateGlow 13s ease-in-out infinite;
}
.pl-gate__stripes {
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .055) 0 2px, rgba(255, 255, 255, 0) 2px 9px);
	animation: plGateFade 1.2s ease both;
}
.pl-gate__shade { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11, 11, 13, .1), rgba(11, 11, 13, .86)); }
.pl-gate__scan {
	position: absolute;
	left: 0;
	right: 0;
	height: 34%;
	background: linear-gradient(180deg, rgba(196, 22, 28, 0), rgba(196, 22, 28, .13), rgba(196, 22, 28, 0));
	animation: plGateScan 11s cubic-bezier(.4, 0, .2, 1) infinite 2s;
}

.pl-gate__brand {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	animation: plGateRise .7s var(--g-ease) both;
}
.pl-gate__brand picture { display: block; flex: none; }
.pl-gate__logo {
	height: 82px;
	width: auto;
	display: block;
	filter: drop-shadow(0 6px 22px rgba(196, 22, 28, .35));
}
.pl-gate__brandtext {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding-left: 18px;
	border-left: 1px solid rgba(255, 255, 255, .14);
}
.pl-gate__kicker {
	font-family: var(--g-mono);
	font-size: 10.5px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--g-red-soft);
}
.pl-gate__portal { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .9); }

.pl-gate__intro {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 30px;
	max-width: 480px;
}
.pl-gate__title {
	margin: 0;
	font-size: clamp(32px, 3.4vw, 50px);
	line-height: 1.04;
	font-weight: 600;
	letter-spacing: -.022em;
	text-wrap: balance;
	animation: plGateRise .8s var(--g-ease) both .08s;
}
.pl-gate__title span { color: var(--g-red-light); }
.pl-gate__lead {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .62);
	max-width: 42ch;
	animation: plGateRise .8s var(--g-ease) both .16s;
}
.pl-gate__trust {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	border-top: 1px solid rgba(255, 255, 255, .1);
	animation: plGateRise .8s var(--g-ease) both .24s;
}
.pl-gate__trust-row {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 15px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.pl-gate__trust-num { font-family: var(--g-mono); font-size: 11px; color: var(--g-red); letter-spacing: .1em; }
.pl-gate__trust-text { font-size: 14.5px; color: rgba(255, 255, 255, .82); }

.pl-gate__foot {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	animation: plGateFade 1s ease both .4s;
}
.pl-gate__ruo {
	font-family: var(--g-mono);
	font-size: 10.5px;
	line-height: 1.7;
	letter-spacing: .06em;
	color: var(--g-foot-ruo);
	text-transform: uppercase;
}
.pl-gate__copy { font-size: 12px; color: var(--g-foot-copy); }

/* The mobile copy of the description / trust rows / footer (shown at 900px and below). */
.pl-gate__more { display: none; }

/* ------------------------------------------------------------------ form panel */

.pl-gate__main {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(32px, 4vw, 64px) clamp(24px, 4vw, 56px);
	overflow: hidden;
}
.pl-gate__panel {
	width: 100%;
	max-width: 412px;
	display: flex;
	flex-direction: column;
	gap: 26px;
	animation: plGateRise .75s var(--g-ease) both .12s;
}
.pl-gate__head { display: flex; flex-direction: column; gap: 9px; }
.pl-gate__h2 { margin: 0; font-size: 29px; font-weight: 600; letter-spacing: -.02em; }
.pl-gate__sub { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--g-sub); }
.pl-gate__sub strong { color: var(--g-ink); font-weight: 600; }

/* "← Back to sign in" (forgot / set a new password). */
.pl-gate a.pl-gate__back {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--g-mono);
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--g-muted);
	cursor: pointer;
	transition: color .18s ease, gap .18s ease;
}
.pl-gate a.pl-gate__back:hover { color: var(--g-red); gap: 12px; }
.pl-gate__back-arrow { font-size: 13px; line-height: 1; }

/* Tabs. */
.pl-gate__tabs {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-bottom: 1px solid var(--g-border);
}
.pl-gate a.pl-gate__tab {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 11px 4px 13px;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--g-muted);
	cursor: pointer;
	transition: color .22s ease;
}
.pl-gate a.pl-gate__tab:hover { color: var(--g-tab-hover); }
.pl-gate a.pl-gate__tab[aria-current="page"] { color: var(--g-ink); }
.pl-gate__indicator {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 50%;
	height: 2px;
	background: var(--g-red);
	transition: transform .38s var(--g-swing);
	transform: translateX(0);
}
.pl-gate[data-mode="create"] .pl-gate__indicator { transform: translateX(100%); }

/* Form. */
.pl-gate__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	animation: plGateInRight .42s var(--g-ease) both;
}
.pl-gate__field { display: flex; flex-direction: column; gap: 7px; }
.pl-gate__label { font-size: 12.5px; font-weight: 600; color: var(--g-label); letter-spacing: .01em; }
.pl-gate__labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pl-gate__input {
	width: 100%;
	height: 47px;
	padding: 0 14px;
	font-family: inherit;
	font-size: 14.5px;
	color: var(--g-ink);
	background: var(--g-white);
	border: 1px solid var(--g-border);
	border-radius: 10px;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
	margin: 0;
}
.pl-gate__input:hover { border-color: var(--g-border-hover); }
.pl-gate__input:focus,
.pl-gate__input:focus-visible { border-color: var(--g-red); box-shadow: 0 0 0 3.5px rgba(196, 22, 28, .12); outline: none; }
.pl-gate__input[aria-invalid="true"] { border-color: var(--g-red); }
.pl-gate__pwwrap { position: relative; display: block; }
.pl-gate__toggle {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	font-family: var(--g-mono);
	font-size: 10.5px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--g-muted);
	cursor: pointer;
	transition: color .18s ease;
}
.pl-gate__toggle:hover { color: var(--g-red); }
.no-js .pl-gate__toggle { display: none; }
.pl-gate__caps {
	font-family: var(--g-mono);
	font-size: 10.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--g-caps);
	animation: plGateFade .2s ease both;
}
.pl-gate__caps:empty { display: none; }

/* Real checkboxes, visually replaced by the design's boxes. */
.pl-gate__check {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	opacity: 0;
	pointer-events: none;
}
.pl-gate__box {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--g-white);
}
.pl-gate__box .pl-gate__tick { display: none; }
.pl-gate__check:checked + .pl-gate__box .pl-gate__tick { display: block; }
.pl-gate__check:focus-visible + .pl-gate__box { outline: 2px solid var(--g-red); outline-offset: 2px; }

.pl-gate__ack {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 15px;
	background: var(--g-tint);
	border: 1px solid var(--g-tint-border);
	border-radius: 11px;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease;
}
.pl-gate__ack:hover { border-color: var(--g-tint-hover); }
.pl-gate__box--ack {
	width: 19px;
	height: 19px;
	margin-top: 1px;
	border-radius: 6px;
	border: 1px solid #DBCFCD;
}
.pl-gate__check:checked + .pl-gate__box--ack {
	background: var(--g-red);
	border-color: var(--g-red);
	animation: plGatePop .28s var(--g-ease) both;
}
.pl-gate__check:checked + .pl-gate__box--ack .pl-gate__tick path {
	stroke-dasharray: 14;
	stroke-dashoffset: 14;
	animation: plGateDraw .3s var(--g-swing) .06s forwards;
}
.pl-gate__ack[aria-invalid="true"],
.pl-gate__ack.is-invalid { border-color: var(--g-tint-hover); }
.pl-gate__ack-text { font-size: 12.8px; line-height: 1.5; color: var(--g-ack-text); }

/* Security check. */
.pl-gate__captcha {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	padding: 13px 15px;
	background: var(--g-white);
	border: 1px solid var(--g-border);
	border-radius: 11px;
	font-family: inherit;
	text-align: left;
	color: var(--g-ink);
	margin: 0;
	transition: border-color .2s ease, box-shadow .2s ease;
}
button.pl-gate__captcha { appearance: none; cursor: pointer; }
button.pl-gate__captcha:hover { border-color: var(--g-border-hover); box-shadow: 0 2px 10px -6px rgba(26, 24, 23, .25); }
button.pl-gate__captcha[aria-invalid="true"] { border-color: var(--g-tint-hover); }
button.pl-gate__captcha[data-state="checking"],
button.pl-gate__captcha[data-state="done"] { cursor: default; }
.no-js .pl-gate__captcha--live,
.pl-gate__captcha-wrap.is-static .pl-gate__captcha--live { display: none; }
.js .pl-gate__captcha-wrap:not(.is-static) .pl-gate__captcha--static { display: none; }
.pl-gate__captcha-main { display: flex; align-items: center; gap: 11px; }
.pl-gate__captcha-label { font-size: 13.5px; color: var(--g-ink); }
.pl-gate__cbox {
	flex: none;
	width: 19px;
	height: 19px;
	border-radius: 6px;
	background: var(--g-white);
	border: 1px solid #DDD8D2;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pl-gate__cbox .pl-gate__tick { display: none; }
[data-state="checking"] .pl-gate__cbox {
	border-radius: 50%;
	border: 2px solid #EBE7E2;
	border-top-color: var(--g-red);
	animation: plGateSpin .7s linear infinite;
}
[data-state="done"] .pl-gate__cbox {
	background: var(--g-ink);
	border-color: var(--g-ink);
	animation: plGatePop .28s var(--g-ease) both;
}
[data-state="done"] .pl-gate__cbox .pl-gate__tick { display: block; }
[data-state="done"] .pl-gate__cbox .pl-gate__tick path {
	stroke-dasharray: 14;
	stroke-dashoffset: 14;
	animation: plGateDraw .3s var(--g-swing) .05s forwards;
}
.pl-gate__secure {
	display: flex;
	align-items: center;
	gap: 7px;
	font-family: var(--g-mono);
	font-size: 9.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--g-muted);
}
.pl-gate__secure-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--g-red);
	animation: plGateGlow 2.4s ease-in-out infinite;
}
.pl-gate__captcha-wrap .h-captcha,
.pl-gate__hcaptcha { position: absolute; }

.pl-gate__note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--g-sub); }

/* Keep me signed in / Forgot password? */
.pl-gate__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 0; }
.pl-gate__remember {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	cursor: pointer;
	user-select: none;
}
.pl-gate__box--sm {
	width: 17px;
	height: 17px;
	border-radius: 5px;
	border: 1px solid #DDD8D2;
}
.pl-gate__check:checked + .pl-gate__box--sm {
	background: var(--g-ink);
	border-color: var(--g-ink);
	animation: plGatePop .24s var(--g-ease) both;
}
.pl-gate__remember-text { font-size: 13px; color: var(--g-label); }
.pl-gate a.pl-gate__forgot {
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	color: var(--g-red);
	cursor: pointer;
	transition: color .18s ease;
}
.pl-gate a.pl-gate__forgot:hover { color: var(--g-red-deep); }

/* Error and confirmation lines. */
.pl-gate__error {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	padding: 11px 13px;
	background: var(--g-tint);
	border: 1px solid var(--g-alert-border);
	border-radius: 9px;
	animation: plGateRise .26s var(--g-ease) both;
}
.pl-gate__error-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--g-red); }
.pl-gate__error-text { font-size: 13px; color: var(--g-alert-text); flex: 1 1 200px; min-width: 0; }
.pl-gate__error-action {
	appearance: none;
	background: none;
	border: 0;
	padding: 0 0 0 14px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--g-red);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.pl-gate__error-action:hover { color: var(--g-red-deep); }
.pl-gate__error--inline { align-self: stretch; }
.pl-gate__okline,
.pl-gate__resent {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	color: var(--g-ok);
	animation: plGateFade .3s ease both;
}
.pl-gate__okline-dot,
.pl-gate__resent-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--g-ok); }

/* Submit. */
.pl-gate__submit {
	position: relative;
	overflow: hidden;
	height: 50px;
	margin-top: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	appearance: none;
	border: 0;
	border-radius: 10px;
	background: var(--g-red);
	color: var(--g-white);
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: .015em;
	cursor: pointer;
	box-shadow: 0 8px 20px -10px rgba(196, 22, 28, .7);
	transition: background .2s ease, transform .16s ease, box-shadow .2s ease;
}
.pl-gate__submit:hover { background: var(--g-red-hover); transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(196, 22, 28, .8); }
.pl-gate__submit:active { transform: translateY(1px); box-shadow: 0 6px 14px -10px rgba(196, 22, 28, .7); }
.pl-gate__submit:focus-visible { outline: 2px solid var(--g-red); outline-offset: 3px; }
.pl-gate__spinner {
	display: none;
	flex: none;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: var(--g-white);
	animation: plGateSpin .7s linear infinite;
}
.pl-gate__submit.is-loading .pl-gate__spinner { display: block; }
.pl-gate__submit.is-loading { cursor: progress; }

/* Below the form. */
.pl-gate__switch {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	font-size: 13.5px;
	color: var(--g-sub);
}
.pl-gate a.pl-gate__switch-link {
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--g-red);
	cursor: pointer;
	transition: color .18s ease;
}
.pl-gate a.pl-gate__switch-link:hover { color: var(--g-red-deep); }
.pl-gate__badges {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 4px;
	font-family: var(--g-mono);
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--g-muted);
}
.pl-gate__badge-sep { opacity: .5; }

/* ------------------------------------------------------------------ overlays */

.pl-gate__overlay {
	position: absolute;
	inset: 0;
	background: var(--g-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-y: auto;
	z-index: 2;
}
.pl-gate__overlay--success {
	flex-direction: column;
	gap: 22px;
	padding: 48px;
	animation: plGateFade .32s ease both;
}
.pl-gate__ok-badge {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--g-tint);
	border: 1px solid var(--g-alert-border);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: plGatePop .42s var(--g-ease) both;
}
.pl-gate__ok-path {
	stroke-dasharray: 30;
	stroke-dashoffset: 30;
	animation: plGateDraw .5s var(--g-swing) .16s forwards;
}
.pl-gate__ok-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	animation: plGateRise .5s var(--g-ease) both .12s;
}
.pl-gate__ok-title { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.pl-gate__ok-note { font-size: 14px; color: var(--g-sub); }
.pl-gate__bar {
	display: block;
	width: 176px;
	height: 3px;
	border-radius: 2px;
	background: var(--g-line);
	overflow: hidden;
}
.pl-gate__bar-fill {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--g-red);
	transform-origin: left;
	transform: scaleX(0);
}
.pl-gate__overlay--success:not([hidden]) .pl-gate__bar-fill { animation: plGateBar 1.9s cubic-bezier(.4, 0, .2, 1) both .2s; }
.pl-gate a.pl-gate__ghost {
	font-family: var(--g-mono);
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--g-muted);
	cursor: pointer;
	transition: color .18s ease;
}
.pl-gate a.pl-gate__ghost:hover { color: var(--g-red); }
.pl-gate__ok-link { animation: plGateFade .6s ease both .8s; }

.pl-gate__overlay--card {
	padding: clamp(28px, 4vw, 56px);
	animation: plGateFade .3s ease both;
}
.pl-gate__card {
	width: 100%;
	max-width: 416px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin: auto 0;
}
.pl-gate__tile {
	width: 54px;
	height: 54px;
	border-radius: 15px;
	background: var(--g-tint);
	border: 1px solid var(--g-alert-border);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: plGatePop .4s var(--g-ease) both;
}
.pl-gate__tile--at { font-family: var(--g-mono); font-size: 21px; font-weight: 500; color: var(--g-red); }
.pl-gate__card-head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	animation: plGateRise .5s var(--g-ease) both .08s;
}
.pl-gate__card-title { margin: 0; font-size: 27px; font-weight: 600; letter-spacing: -.02em; }
.pl-gate__card-text { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--g-sub); overflow-wrap: anywhere; }
.pl-gate__card-text strong { color: var(--g-ink); font-weight: 600; }
.pl-gate__spam {
	display: flex;
	flex-direction: column;
	gap: 11px;
	padding: 17px 18px;
	background: var(--g-ink);
	border-radius: 13px;
	color: var(--g-white);
	animation: plGateRise .5s var(--g-ease) both .16s;
}
.pl-gate__spam-kicker {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: var(--g-mono);
	font-size: 10.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #FF8A80;
}
.pl-gate__spam-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--g-red);
	animation: plGateGlow 1.8s ease-in-out infinite;
}
.pl-gate__spam-text { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.pl-gate__spam-text strong { color: var(--g-white); font-weight: 600; }
.pl-gate__resend {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	animation: plGateRise .5s var(--g-ease) both .24s;
}
.pl-gate__resend-btn,
.pl-gate a.pl-gate__resend-btn {
	height: 47px;
	display: flex;
	align-items: center;
	justify-content: center;
	appearance: none;
	background: var(--g-white);
	border: 1px solid var(--g-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--g-ink);
	cursor: pointer;
	text-decoration: none;
	transition: border-color .2s ease, transform .16s ease;
}
.pl-gate__resend-btn:hover,
.pl-gate a.pl-gate__resend-btn:hover { border-color: var(--g-ink); transform: translateY(-1px); color: var(--g-ink); }
.pl-gate__resend-btn:active { transform: translateY(1px); }
.pl-gate__resend-wait {
	height: 47px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #F3F1EE;
	border: 1px solid var(--g-line);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	color: var(--g-placeholder);
}
.pl-gate__card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 4px;
	border-top: 1px solid var(--g-line);
	animation: plGateFade .6s ease both .34s;
}
.pl-gate__card-help { padding-top: 14px; font-size: 12.5px; color: var(--g-muted); }
.pl-gate a.pl-gate__ghost--foot { margin-top: 14px; }

/* While an overlay is up the form behind it is inert (gate.js) and hidden from assistive technology. */
.pl-gate__main[data-overlay] .pl-gate__panel { visibility: hidden; transition: visibility 0s linear .32s; }

/* ------------------------------------------------------------------ 900px and below: stacked */

@media (max-width: 900px) {
	.pl-gate { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.pl-gate__aside {
		padding: 22px 20px 26px;
		gap: 18px;
		justify-content: flex-start;
	}
	.pl-gate__brand { gap: 14px; }
	.pl-gate__logo { height: 56px; }
	.pl-gate__brandtext { gap: 5px; padding-left: 14px; }
	.pl-gate__intro { gap: 0; max-width: none; }
	.pl-gate__title { font-size: clamp(25px, 6.6vw, 34px); line-height: 1.08; }
	.pl-gate__desk { display: none; }
	.pl-gate__glow--a { width: 80%; height: 120%; inset: -30% -18% auto auto; }
	.pl-gate__glow--b { display: none; }
	.pl-gate__scan { height: 60%; }

	/* overflow stays hidden (as on desktop): the form slides in from translateX(30px) on load, which would
	   otherwise widen a phone's layout viewport. */
	.pl-gate__main { padding: 30px 20px 40px; align-items: flex-start; }
	.pl-gate__panel { margin: 0 auto; }

	.pl-gate__main[data-overlay] .pl-gate__panel { display: none; }
	.pl-gate__overlay { position: static; min-height: 0; overflow: visible; }
	.pl-gate__overlay--success { padding: 40px 8px 24px; width: 100%; }
	.pl-gate__overlay--card { padding: 4px 0 8px; width: 100%; }
	.pl-gate__card { margin: 0 auto; }
	.pl-gate__card-title { font-size: 24px; }

	.pl-gate__more {
		position: relative;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		gap: 26px;
		padding: 30px 20px 32px;
		background: var(--g-dark);
		color: var(--g-white);
	}
	.pl-gate__more::before {
		content: "";
		position: absolute;
		left: -20%;
		bottom: -40%;
		width: 80%;
		height: 90%;
		background: radial-gradient(circle at 40% 60%, rgba(120, 10, 14, .7), rgba(120, 10, 14, 0) 70%);
		filter: blur(24px);
		pointer-events: none;
	}
	.pl-gate__more > * { position: relative; }
	.pl-gate__more .pl-gate__lead,
	.pl-gate__more .pl-gate__trust,
	.pl-gate__more .pl-gate__foot { animation: none; }
	.pl-gate__more .pl-gate__trust-text { font-size: 14px; }
}

@media (max-width: 400px) {
	.pl-gate__logo { height: 50px; }
	.pl-gate__h2 { font-size: 26px; }
	.pl-gate__row { flex-wrap: wrap; }
	.pl-gate__captcha { padding: 13px 13px; gap: 10px; }
	.pl-gate__secure { letter-spacing: .12em; }
	/* Keep "SSL secured · COA verified · 3rd-party tested" on one line (no dangling separator). */
	.pl-gate__badges { gap: 7px; letter-spacing: .08em; }
}

/* ------------------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
	.pl-gate *,
	.pl-gate *::before,
	.pl-gate *::after {
		animation-duration: .001ms !important;
		animation-delay: 0s !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		transition-delay: 0s !important;
	}
	.pl-gate__glow,
	.pl-gate__secure-dot,
	.pl-gate__spam-dot { animation: none !important; }
	.pl-gate__glow { opacity: .44; }
	.pl-gate__scan { display: none; }
	/* Loading indicators keep turning (they are the only sign that something is happening). */
	.pl-gate .pl-gate__spinner,
	.pl-gate [data-state="checking"] .pl-gate__cbox { animation: plGateSpin 1.2s linear infinite !important; }
	.pl-gate__main[data-overlay] .pl-gate__panel { transition: none; }
}
