/*
 * Extreme gate (vow-core). One stylesheet for every theme.
 *
 * The page prints no theme stylesheet, so everything it needs is here. The look is
 * driven by the --vow-gate-* custom properties on .vow-gate. With the "theme" palette
 * each one falls back through the Vow theme tokens (printed by the theme on
 * `vow_gate_head`), then WordPress global-style presets, then a neutral default. Token
 * rules use :where() (zero specificity): owner CSS such as
 * `.vow-gate { --vow-gate-radius: 4px; }` always wins.
 *
 * Layout: a two-column grid on wide screens (image panel with the logo at the top and
 * the highlights at the bottom; the form card on the right). On phones the same
 * elements stack: a short brand band over the image, the form, then the highlights.
 */

/* ------------------------------------------------------------------ tokens */

:where(.vow-gate) {
	--vow-gate-bg: var(--paper, var(--wp--preset--color--base, #f5f4f1));
	--vow-gate-card: var(--surface, #ffffff);
	--vow-gate-text: var(--ink, var(--wp--preset--color--contrast, #161616));
	--vow-gate-muted: var(--ink-muted, color-mix(in srgb, var(--vow-gate-text) 60%, var(--vow-gate-card)));
	--vow-gate-accent: var(--accent-ink, var(--accent, var(--vow-gate-text)));
	--vow-gate-accent-text: var(--vow-gate-card);
	--vow-gate-line: var(--line, color-mix(in srgb, var(--vow-gate-text) 14%, var(--vow-gate-card)));
	--vow-gate-field-bg: var(--vow-gate-card);
	--vow-gate-radius: var(--radius-card, 12px);
	--vow-gate-button-radius: var(--radius-pill, 10px);
	--vow-gate-button: var(--vow-gate-text);
	--vow-gate-button-text: var(--vow-gate-card);
	--vow-gate-focus: var(--focus, var(--vow-gate-accent));
	--vow-gate-panel: #12161b;
	--vow-gate-panel-text: #ffffff;
	--vow-gate-panel-muted: rgb(255 255 255 / .74);
	--vow-gate-panel-line: rgb(255 255 255 / .2);
	--vow-gate-panel-glass: rgb(255 255 255 / .08);
	--vow-gate-error: #a33a2a;
	--vow-gate-error-bg: #fbeeec;
	--vow-gate-error-line: #efc9c4;
	/* Undefined font tokens leave font-family to the body stack below. */
	--vow-gate-font-display: var(--font-display, var(--wp--preset--font-family--heading, var(--vow-gate-font-body)));
	--vow-gate-font-body: var(--font-body, var(--wp--preset--font-family--body, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif));
}

:where(.vow-gate.vow-gate--light) {
	--vow-gate-bg: #f5f4f1;
	--vow-gate-card: #ffffff;
	--vow-gate-text: #161616;
	--vow-gate-muted: #5c5c58;
	--vow-gate-accent: #4a5a6a;
	--vow-gate-accent-text: #ffffff;
	--vow-gate-line: #e4e2dc;
	--vow-gate-field-bg: #ffffff;
	--vow-gate-button: #161616;
	--vow-gate-button-text: #ffffff;
	--vow-gate-focus: #4a5a6a;
}

:where(.vow-gate.vow-gate--dark) {
	--vow-gate-bg: #0f1216;
	--vow-gate-card: #161b22;
	--vow-gate-text: #e8ecf2;
	--vow-gate-muted: #9ba5b4;
	--vow-gate-accent: #8ab4f8;
	--vow-gate-accent-text: #0f1216;
	--vow-gate-line: #2a323d;
	--vow-gate-field-bg: #11161c;
	--vow-gate-button: #e8ecf2;
	--vow-gate-button-text: #0f1216;
	--vow-gate-focus: #8ab4f8;
	--vow-gate-error: #f0a090;
	--vow-gate-error-bg: #2a1a17;
	--vow-gate-error-line: #4a2a25;
	color-scheme: dark;
}

/* ----------------------------------------------------------------- frame */

.vow-gate-body {
	margin: 0;
	min-height: 100vh;
	background: var(--paper, var(--wp--preset--color--base, #f5f4f1));
}

.vow-gate-body--light {
	background: #f5f4f1;
}

.vow-gate-body--dark {
	background: #0f1216;
}

.vow-gate {
	display: grid;
	grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
	grid-template-rows: auto 1fr auto;
	grid-template-areas:
		"brand main"
		"space main"
		"why main";
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	color: var(--vow-gate-text);
	font-family: var(--vow-gate-font-body);
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-align: start;
}

.vow-gate *,
.vow-gate *::before,
.vow-gate *::after {
	box-sizing: border-box;
}

/* The image lives in a viewport-sized box that sticks in place, so a taller page (an
   opened disclosure, a long form) never re-scales it; the panel colour fills the rest. */
.vow-gate__backdrop {
	position: relative;
	z-index: 0;
	grid-row: 1 / -1;
	grid-column: 1;
	background: var(--vow-gate-panel);
}

.vow-gate__backdrop::before {
	content: "";
	position: sticky;
	top: 0;
	display: block;
	height: 100vh;
	height: 100dvh;
	background-color: var(--vow-gate-panel);
	background-image: linear-gradient(180deg, rgb(8 10 14 / .38) 0%, rgb(8 10 14 / .22) 42%, rgb(8 10 14 / .82) 100%), var(--vow-gate-image, none);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.vow-gate--no-image .vow-gate__backdrop::before {
	background-image: radial-gradient(120% 80% at 18% 8%, rgb(255 255 255 / .14), transparent 60%), linear-gradient(160deg, #1c232c 0%, #0f1318 100%);
}

/* ----------------------------------------------------------------- brand */

.vow-gate__brand {
	grid-area: brand;
	position: sticky;
	top: 0;
	z-index: 1;
	padding: clamp(1.5rem, 3.5vw, 3rem);
}

.vow-gate__logo {
	display: inline-flex;
	color: var(--vow-gate-panel-text);
	text-decoration: none;
}

.vow-gate__logo-image {
	display: block;
	width: auto;
	max-width: 14rem;
	max-height: 3.75rem;
	height: auto;
}

.vow-gate__wordmark {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.vow-gate__wordmark-primary {
	font-family: var(--vow-gate-font-display);
	font-size: 2.125rem;
	font-weight: 400;
	letter-spacing: -.02em;
}

.vow-gate__wordmark-secondary {
	margin-top: .4rem;
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	opacity: .85;
}

/* ------------------------------------------------------------ highlights */

.vow-gate__why {
	grid-area: why;
	position: sticky;
	bottom: 0;
	z-index: 1;
	padding: clamp(1.5rem, 3.5vw, 3rem);
	color: var(--vow-gate-panel-text);
}

.vow-gate__eyebrow {
	margin: 0 0 1rem;
	color: var(--vow-gate-panel-muted);
	font-family: var(--vow-gate-font-body);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.vow-gate__eyebrow--catalog {
	margin-top: 1.75rem;
}

.vow-gate__panel-heading {
	max-width: 22ch;
	margin: 0 0 1.5rem;
	padding: 0;
	color: var(--vow-gate-panel-text);
	font-family: var(--vow-gate-font-display);
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
	font-optical-sizing: auto;
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.08;
	text-transform: none;
}

.vow-gate__panel-heading em {
	font-style: italic;
}

/* The theme's origin seal: monochrome SVG drawn in currentColor, sized here. Inside
   Force login's overlay the storefront stylesheet is loaded too, so these outrank the
   theme's own .origin-seal sizing, halo and ink colour. The box gets an explicit,
   equal width and height (as the theme does): WebKit resolves the SVG's percentage
   height against an aspect-ratio box's border edge and stretched the seal into an oval. */
.vow-gate .vow-gate__seal {
	--vow-gate-seal-size: min(9.5rem, 38vw);
	width: var(--vow-gate-seal-size);
	margin: 0 0 1.75rem;
	color: var(--vow-gate-panel-text);
}

.vow-gate .vow-gate__seal > * {
	--seal-size: auto;
	--seal-halo: 0px;
	position: static;
	z-index: auto;
	display: block;
	box-sizing: border-box;
	flex: none;
	width: var(--vow-gate-seal-size);
	height: var(--vow-gate-seal-size);
	margin: 0;
	padding: .5rem;
	border: 1px solid var(--vow-gate-panel-line);
	border-radius: 50%;
	background: var(--vow-gate-panel-glass);
	color: inherit;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.vow-gate .vow-gate__seal svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.vow-gate .vow-gate__seal text {
	font-family: var(--vow-gate-font-body);
	font-weight: 600;
	fill: currentColor;
}

.vow-gate .vow-gate__seal .origin-seal__name {
	font-family: var(--vow-gate-font-display);
	font-weight: 400;
}

.vow-gate__facts {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: .25rem 1.75rem;
	max-width: 40rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1200px) {
	.vow-gate__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.vow-gate__fact {
	padding: .75rem 0 .625rem;
	border-top: 1px solid var(--vow-gate-panel-line);
}

.vow-gate__fact-number {
	display: block;
	margin: 0 0 .3rem;
	color: var(--vow-gate-panel-muted);
	font-family: var(--vow-gate-font-display);
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1;
}

.vow-gate__fact-title {
	display: block;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.3;
}

.vow-gate__fact-body {
	display: block;
	margin-top: .2rem;
	color: var(--vow-gate-panel-muted);
	font-size: .8125rem;
	line-height: 1.45;
}

.vow-gate__tags {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vow-gate__tag {
	padding: .35rem .8rem;
	border: 1px solid var(--vow-gate-panel-line);
	border-radius: 999px;
	background: var(--vow-gate-panel-glass);
	color: var(--vow-gate-panel-text);
	font-size: .75rem;
	font-weight: 500;
	line-height: 1.3;
}

.vow-gate__proof {
	margin: 1.25rem 0 0;
	color: var(--vow-gate-panel-muted);
	font-size: .875rem;
}

/* ------------------------------------------------------------------ card */

.vow-gate__main {
	grid-area: main;
	position: relative;
	display: grid;
	place-items: center;
	padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1rem, 4vw, 3rem);
	background: var(--vow-gate-bg);
	color: var(--vow-gate-text);
}

.vow-gate__card {
	width: min(100%, 28rem);
}

/* Force login's dismissible overlay only. */
.vow-gate__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	border: 1px solid var(--vow-gate-line);
	border-radius: 50%;
	background: var(--vow-gate-card);
	color: var(--vow-gate-text);
	font: inherit;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: color .15s ease, border-color .15s ease;
}

.vow-gate__close:hover {
	border-color: var(--vow-gate-accent);
	color: var(--vow-gate-accent);
}

.vow-gate__preview {
	margin: 0 0 1rem;
	padding: .625rem .875rem;
	border-radius: max(0px, calc(var(--vow-gate-radius) - 4px));
	background: color-mix(in srgb, var(--vow-gate-accent) 12%, var(--vow-gate-card));
	color: var(--vow-gate-accent);
	font-size: .8125rem;
	font-weight: 600;
}

.vow-gate__switch {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem .5rem;
	margin: 0 0 1rem;
	padding: .75rem 1rem;
	border: 1px solid var(--vow-gate-line);
	border-radius: max(0px, calc(var(--vow-gate-radius) - 2px));
	background: var(--vow-gate-card);
	color: var(--vow-gate-muted);
	font-size: .875rem;
}

.vow-gate__switch[hidden] {
	display: none;
}

.vow-gate__switch-link {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--vow-gate-accent);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	cursor: pointer;
	transition: text-decoration-color .15s ease;
}

.vow-gate__switch-link:hover {
	text-decoration-color: currentColor;
}

.vow-gate__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 1.5rem;
	border-bottom: 1px solid var(--vow-gate-line);
}

.vow-gate__tab {
	margin: 0 0 -1px;
	padding: .875rem .5rem;
	border: 0;
	border-bottom: 2px solid transparent;
	background: transparent;
	color: var(--vow-gate-muted);
	font: inherit;
	font-size: .9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: color .15s ease, border-color .15s ease;
}

.vow-gate__tab:hover {
	color: var(--vow-gate-text);
}

.vow-gate__tab[aria-selected="true"] {
	border-bottom-color: var(--vow-gate-accent);
	color: var(--vow-gate-accent);
}

.vow-gate__panel[hidden] {
	display: none;
}

.vow-gate__heading {
	margin: 0 0 .5rem;
	padding: 0;
	color: var(--vow-gate-text);
	font-family: var(--vow-gate-font-display);
	font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem);
	font-optical-sizing: auto;
	font-style: normal;
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.1;
	text-transform: none;
	text-wrap: balance;
}

.vow-gate__intro {
	margin: 0 0 1.5rem;
	color: var(--vow-gate-muted);
	font-size: .9375rem;
	line-height: 1.55;
}

/* ----------------------------------------------------------------- fields */

.vow-gate__form {
	margin: 0;
}

.vow-gate__field {
	margin: 0 0 1rem;
}

.vow-gate__label {
	display: block;
	margin: 0 0 .375rem;
	color: var(--vow-gate-text);
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.4;
}

.vow-gate__optional {
	color: var(--vow-gate-muted);
	font-weight: 400;
}

.vow-gate__input-wrap {
	position: relative;
	display: block;
}

.vow-gate__input-icon {
	position: absolute;
	top: 50%;
	left: .875rem;
	display: flex;
	color: var(--vow-gate-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.vow-gate__input {
	display: block;
	width: 100%;
	min-height: 3.25rem;
	margin: 0;
	padding: .75rem 1rem .75rem 2.75rem;
	border: 1px solid var(--vow-gate-line);
	border-radius: max(0px, calc(var(--vow-gate-radius) - 4px));
	background: var(--vow-gate-field-bg);
	color: var(--vow-gate-text);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.vow-gate__input::placeholder {
	color: color-mix(in srgb, var(--vow-gate-muted) 72%, transparent);
	opacity: 1;
}

.vow-gate__input:focus {
	outline: none;
	border-color: var(--vow-gate-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--vow-gate-accent) 18%, transparent);
}

.vow-gate__input[aria-invalid="true"] {
	border-color: var(--vow-gate-error);
}

.vow-gate__input--password {
	padding-right: 3.25rem;
}

.vow-gate__input-wrap--select .vow-gate__input {
	padding-right: 2.75rem;
	padding-left: 1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 1.125rem;
	cursor: pointer;
}

.vow-gate__reveal {
	position: absolute;
	top: 50%;
	right: .5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--vow-gate-muted);
	transform: translateY(-50%);
	cursor: pointer;
}

.vow-gate__reveal:hover {
	color: var(--vow-gate-text);
}

.vow-gate__reveal-on,
.vow-gate__reveal-off {
	display: inline-flex;
}

.vow-gate__reveal-off,
.vow-gate__reveal[aria-pressed="true"] .vow-gate__reveal-on {
	display: none;
}

.vow-gate__reveal[aria-pressed="true"] .vow-gate__reveal-off {
	display: inline-flex;
}

/* WooCommerce's script appends its own show-password toggle after password inputs on
   store pages; the gate has its own reveal control. */
.vow-gate .show-password-input {
	display: none !important;
}

.vow-gate__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.vow-gate__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .5rem 1rem;
	margin: -.25rem 0 1.25rem;
	color: var(--vow-gate-muted);
	font-size: .8125rem;
}

.vow-gate__remember {
	display: flex;
	align-items: center;
	gap: .5rem;
	cursor: pointer;
}

.vow-gate__check {
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
	margin: 0;
	accent-color: var(--vow-gate-accent);
	cursor: pointer;
}

.vow-gate__forgot {
	color: var(--vow-gate-text);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--vow-gate-line);
	text-underline-offset: 3px;
}

.vow-gate__forgot:hover {
	color: var(--vow-gate-accent);
	text-decoration-color: currentColor;
}

/* ------------------------------------------------------------ declaration */

.vow-gate__agree {
	margin: 0 0 1.25rem;
	padding: .875rem 1rem;
	border: 1px solid var(--vow-gate-line);
	border-radius: max(0px, calc(var(--vow-gate-radius) - 4px));
	background: var(--vow-gate-card);
	transition: border-color .15s ease;
}

.vow-gate__agree:has(.vow-gate__check:checked) {
	border-color: var(--vow-gate-accent);
}

.vow-gate__agree.is-invalid {
	border-color: var(--vow-gate-error);
}

.vow-gate__agree-row {
	display: grid;
	grid-template-columns: 1.125rem minmax(0, 1fr);
	gap: .75rem;
	align-items: start;
	margin: 0;
	color: var(--vow-gate-muted);
	font-size: .8125rem;
	line-height: 1.5;
	cursor: pointer;
}

.vow-gate__agree-row .vow-gate__check {
	margin-top: .125rem;
}

.vow-gate__agree-text a {
	color: var(--vow-gate-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.vow-gate__disclosure {
	margin: .75rem 0 0;
	padding-top: .625rem;
	border-top: 1px solid var(--vow-gate-line);
	color: var(--vow-gate-muted);
	font-size: .8125rem;
}

.vow-gate__disclosure-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	color: var(--vow-gate-text);
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.vow-gate__disclosure-title::-webkit-details-marker {
	display: none;
}

.vow-gate__disclosure-title::after {
	content: "";
	flex: none;
	width: .5rem;
	height: .5rem;
	margin-right: .25rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-.15rem) rotate(45deg);
	transition: transform .15s ease;
}

.vow-gate__disclosure[open] .vow-gate__disclosure-title::after {
	transform: translateY(.15rem) rotate(-135deg);
}

.vow-gate__disclosure-body {
	margin-top: .5rem;
	line-height: 1.55;
}

.vow-gate__disclosure-body p {
	margin: 0 0 .6em;
}

.vow-gate__disclosure-body p:last-child {
	margin-bottom: 0;
}

.vow-gate__note {
	margin: .375rem 0 0;
	color: var(--vow-gate-muted);
	font-size: .75rem;
	line-height: 1.45;
}

.vow-gate__input-wrap--date .vow-gate__input {
	padding-left: 1rem;
}

.vow-gate__policy {
	max-height: 14rem;
	padding: .75rem .875rem;
	overflow: auto;
	border: 1px solid var(--vow-gate-line);
	border-radius: max(0px, calc(var(--vow-gate-radius) - 6px));
	background: var(--vow-gate-bg);
	color: var(--vow-gate-muted);
	font-size: .8125rem;
	line-height: 1.55;
}

.vow-gate__policy p {
	margin: 0 0 .6em;
}

.vow-gate__policy p:last-child {
	margin-bottom: 0;
}

/* A plain-text statement reads as its lead line and one statement per row. */
.vow-gate__policy .vow-policy-lead {
	color: var(--vow-gate-text);
	font-weight: 600;
}

.vow-gate__policy .vow-policy-list {
	display: grid;
	gap: .4rem;
	margin: 0 0 .6em;
	padding: 0;
	list-style: none;
}

.vow-gate__policy .vow-policy-list:last-child {
	margin-bottom: 0;
}

.vow-gate__policy .vow-policy-list li {
	position: relative;
	margin: 0;
	padding-left: 1rem;
}

.vow-gate__policy .vow-policy-list li::before {
	content: "";
	position: absolute;
	top: .6em;
	left: .125rem;
	width: .3125rem;
	height: .3125rem;
	border-radius: 50%;
	background: var(--vow-gate-accent);
}

/* Date of birth: Month / Day / Year boxes, typed rather than picked from a calendar. */
.vow-gate__dob {
	min-width: 0;
	padding: 0;
	border: 0;
}

.vow-gate__dob > legend {
	padding: 0;
}

.vow-gate__dob-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr);
	gap: .625rem;
	max-width: 22rem;
}

.vow-gate__dob-part {
	min-width: 0;
}

.vow-gate__dob-label {
	display: block;
	margin: 0 0 .25rem;
	color: var(--vow-gate-muted);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
}

.vow-gate__input.vow-gate__dob-input {
	padding: .75rem .5rem;
	font-size: 1.125rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: .04em;
	text-align: center;
}

.vow-gate__dob.is-valid .vow-gate__dob-input {
	border-color: var(--vow-gate-accent);
}

.vow-gate__dob-status {
	display: flex;
	align-items: flex-start;
	gap: .375rem;
	margin: .5rem 0 0;
	font-size: .8125rem;
	font-weight: 500;
	line-height: 1.4;
}

.vow-gate__dob-status:empty {
	display: none;
}

.vow-gate__dob.is-valid .vow-gate__dob-status {
	color: var(--vow-gate-accent);
}

.vow-gate__dob.is-valid .vow-gate__dob-status::before {
	content: "";
	flex: none;
	width: 1rem;
	height: 1rem;
	margin-top: .0625rem;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.vow-gate__dob.is-invalid .vow-gate__dob-status {
	color: var(--vow-gate-error);
}

.vow-gate .cf-turnstile {
	margin: 0 0 1rem;
}

/* ---------------------------------------------------------------- actions */

.vow-gate__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 3.25rem;
	margin: 0;
	padding: .75rem 1.375rem;
	border: 1px solid transparent;
	border-radius: var(--vow-gate-button-radius);
	background: var(--vow-gate-button);
	box-shadow: none;
	color: var(--vow-gate-button-text);
	font: inherit;
	font-size: .9375rem;
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.vow-gate__button:hover {
	background: var(--vow-gate-accent);
	color: var(--vow-gate-accent-text);
}

.vow-gate__button:disabled {
	opacity: .6;
	cursor: wait;
}

.vow-gate__error {
	margin: .75rem 0 0;
	color: var(--vow-gate-error);
	font-size: .8125rem;
	font-weight: 500;
	line-height: 1.45;
}

.vow-gate__error:empty {
	display: none;
}

.vow-gate__error:not(:empty) {
	padding: .75rem 1rem;
	border: 1px solid var(--vow-gate-error-line);
	border-radius: max(0px, calc(var(--vow-gate-radius) - 4px));
	background: var(--vow-gate-error-bg);
}

.vow-gate__error-link {
	display: inline;
	margin: 0 0 0 .25rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.vow-gate__noscript {
	margin: 1rem 0 0;
	padding: .75rem 1rem;
	border: 1px solid var(--vow-gate-line);
	border-radius: max(0px, calc(var(--vow-gate-radius) - 4px));
	color: var(--vow-gate-muted);
	font-size: .8125rem;
}

.vow-gate__noscript a {
	color: var(--vow-gate-accent);
	font-weight: 600;
}

.vow-gate__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem 1.25rem;
	margin: 1.75rem 0 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--vow-gate-line);
	color: var(--vow-gate-muted);
	font-size: .75rem;
	list-style: none;
}

.vow-gate__trust-item {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
}

.vow-gate__trust-item svg {
	width: 1rem;
	height: 1rem;
}

.vow-gate__footnote {
	margin: .75rem 0 0;
	color: var(--vow-gate-muted);
	font-size: .75rem;
	text-align: center;
}

/* ----------------------------------------------------------------- focus */

.vow-gate :focus {
	outline: none;
}

.vow-gate :focus-visible {
	outline: 2px solid var(--vow-gate-focus);
	outline-offset: 3px;
}

.vow-gate__input:focus-visible {
	outline: none;
}

.vow-gate__brand :focus-visible,
.vow-gate__why :focus-visible {
	outline-color: var(--vow-gate-panel-text);
}

/* The logo pins to the top and the band to the bottom of the panel only while both fit
   the viewport: the script measures them and adds .vow-gate--flow when they would overlap
   (short laptops, tablets in landscape); the height query is the no-script baseline. */
.vow-gate--flow .vow-gate__brand,
.vow-gate--flow .vow-gate__why {
	position: static;
}

@media (min-width: 900px) and (max-height: 899px) {
	.vow-gate__brand,
	.vow-gate__why {
		position: static;
	}
}

@media (min-width: 900px) and (max-width: 1199px) {
	.vow-gate__panel-heading {
		font-size: clamp(1.5rem, 1rem + 1.4vw, 2rem);
	}

	.vow-gate .vow-gate__seal {
		--vow-gate-seal-size: min(7.5rem, 30vw);
		margin-bottom: 1.25rem;
	}

	.vow-gate__fact {
		padding: .625rem 0 .5rem;
	}

	.vow-gate__fact-body {
		font-size: .75rem;
	}
}

/* ---------------------------------------------------------------- phones */

@media (max-width: 899px) {
	.vow-gate {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr auto;
		grid-template-areas:
			"brand"
			"main"
			"why";
	}

	.vow-gate__backdrop {
		grid-area: brand;
	}

	.vow-gate__backdrop::before {
		position: static;
		height: 100%;
	}

	.vow-gate__brand {
		position: relative;
		display: flex;
		align-items: flex-end;
		min-height: 9.5rem;
		padding: 1.25rem max(1rem, env(safe-area-inset-right)) 1.25rem max(1rem, env(safe-area-inset-left));
	}

	.vow-gate__logo-image {
		max-height: 3rem;
	}

	.vow-gate__main {
		place-items: start center;
		padding: 1.5rem max(1rem, env(safe-area-inset-right)) 2rem max(1rem, env(safe-area-inset-left));
	}

	.vow-gate__why {
		position: relative;
		padding: 1.75rem max(1rem, env(safe-area-inset-right)) calc(2rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
		background: var(--vow-gate-panel);
	}

	.vow-gate .vow-gate__seal {
		--vow-gate-seal-size: min(8.5rem, 38vw);
	}
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
	.vow-gate__switch-link,
	.vow-gate__tab,
	.vow-gate__input,
	.vow-gate__agree,
	.vow-gate__disclosure-title::after,
	.vow-gate__button {
		transition: none;
	}
}

@media (forced-colors: active) {
	.vow-gate__button,
	.vow-gate__tab[aria-selected="true"] {
		border: 1px solid ButtonText;
	}

	.vow-gate__backdrop::before {
		background-image: none;
	}
}
