/* =========================================================
   Aqua Research — vra-gate-skin.css (v5.38.5)
   Restyles the third-party researcher / 21+ verification popup
   (the "VRA" compliance plugin, #vra-gate) to match the Aqua
   design system: Aqua blue, Poppins, light-blue hero gradient,
   white rounded card, Aqua logo in place of the text wordmark.

   Styling only — the plugin's markup, checkboxes, logic and text
   are untouched. Every selector starts with `html` so it outranks
   the plugin's own #vra-gate / :root rules no matter which
   stylesheet loads last.
   ========================================================= */

/* Plugin colour variables -> Aqua tokens. `html:root` beats the
   plugin's `:root`; `html #vra-gate` beats its `#vra-gate`. */
html:root,
html #vra-gate{
	--vra-accent: #4472e8;
	--vra-accent2: #093f95;
	--vra-navy: #eaf0fd;
	--vra-card: #ffffff;
	--vra-text: #0f1425;
	--vra-muted: #6d6d6d;
	--vra-fine: #8a8f9c;
	--vra-backdrop: rgba(234, 240, 253, 0.85);
	--vra-radius: 22px;
	--vra-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--vra-bg: linear-gradient(180deg, #e3ebfc 0%, #f1f5fe 60%, #ffffff 100%);
}

/* Full-screen background: same soft blue gradient as the site's heroes. */
html #vra-gate{
	background: linear-gradient(180deg, #e3ebfc 0%, #f1f5fe 60%, #ffffff 100%) !important;
	font-family: var(--vra-font) !important;
}
html #vra-gate *{
	font-family: var(--vra-font) !important;
}

/* Card: clean white card with the Aqua border + soft shadow; drop the
   plugin's dark 3px top bar. */
html #vra-gate .vra-gate-card{
	background: #ffffff !important;
	border: 1px solid #e2e6f2 !important;
	border-radius: 22px !important;
	box-shadow: 0 24px 60px rgba(15, 20, 37, 0.10), 0 4px 14px rgba(15, 20, 37, 0.05) !important;
	color: #0f1425 !important;
}
html #vra-gate .vra-gate-card::before{
	display: none !important;
}

/* Wordmark -> Aqua Research logo image (text hidden but still in the
   markup for screen readers). */
html #vra-gate .vra-gate-wordmark{
	display: block !important;
	width: 230px !important;
	max-width: 80% !important;
	height: 20px !important;
	margin: 0 auto 1.4rem !important;
	background: url("../images/logo-full.png") center / contain no-repeat !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	overflow: hidden !important;
	text-indent: -9999px !important;
}

/* Heading / intro / fine print typography. */
html #vra-gate .vra-gate-h2{
	color: #0f1425 !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em !important;
}
html #vra-gate .vra-gate-intro{
	color: #6d6d6d !important;
}
html #vra-gate .vra-gate-fine{
	color: #8a8f9c !important;
}

/* Checkbox rows: soft bordered rows, blue when ticked. */
html #vra-gate .vra-gate-check{
	border: 1px solid #e2e6f2 !important;
	border-radius: 14px !important;
	background: #f6f9ff !important;
	padding: 14px 16px !important;
	transition: border-color .2s, background-color .2s !important;
}
html #vra-gate .vra-gate-check:has(input:checked){
	border-color: #4472e8 !important;
	background: #eef3fe !important;
}
html #vra-gate .vra-gate-check input{
	accent-color: #4472e8 !important;
}
html #vra-gate .vra-gate-check:focus-within{
	border-color: #4472e8 !important;
	box-shadow: 0 0 0 3px rgba(68, 114, 232, 0.18) !important;
	outline: none !important;
}
html #vra-gate .vra-gate-check input:focus,
html #vra-gate .vra-gate-check input:focus-visible{
	outline: none !important;
}
html #vra-gate .vra-gate-check strong{
	color: #0f1425 !important;
}

/* Enter button: Aqua primary button. Disabled until both boxes are
   ticked (plugin logic), shown as a pale blue. */
html #vra-gate .vra-gate-enter{
	background: #4472e8 !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 12px !important;
	font-weight: 600 !important;
	box-shadow: 0 12px 26px rgba(68, 114, 232, 0.30) !important;
	transition: background-color .2s, transform .2s, box-shadow .2s !important;
}
html #vra-gate .vra-gate-enter:hover:not(:disabled):not([aria-disabled="true"]){
	background: #093f95 !important;
	transform: translateY(-1px) !important;
}
html #vra-gate .vra-gate-enter:disabled,
html #vra-gate .vra-gate-enter[aria-disabled="true"],
html #vra-gate .vra-gate-enter.is-disabled{
	background: #c9d6f7 !important;
	color: #ffffff !important;
	box-shadow: none !important;
	transform: none !important;
}
html #vra-gate .vra-gate-enter svg,
html #vra-gate .vra-gate-enter path{
	stroke: currentColor !important;
}

/* "Not a researcher? Exit" */
html #vra-gate .vra-gate-exit{
	color: #6d6d6d !important;
}
html #vra-gate .vra-gate-exit a{
	color: #4472e8 !important;
	font-weight: 600 !important;
}

/* Phones: keep a 16px gutter around the card (the plugin otherwise runs
   it edge to edge) and tighten the padding slightly. Checked in a 390px
   phone-width frame on the live site: no sideways scroll, all text and
   both checkboxes fully visible. */
@media (max-width: 520px){
	html #vra-gate .vra-gate-shell{
		width: calc(100% - 32px) !important;
		max-width: 464px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	html #vra-gate .vra-gate-card{
		padding: 26px 20px 22px !important;
	}
	html #vra-gate .vra-gate-check{
		padding: 12px 14px !important;
	}
}
