@font-face {
	font-family: "Sofia Sans Condensed";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("fonts/sofia-sans-condensed-800-latin.woff2") format("woff2");
}

:root {
	--redust-access-ink: #111;
	--redust-access-text: #575757;
	--redust-access-muted: #777;
	--redust-access-line: #d7d7d7;
	--redust-access-danger: #a12b25;
	--redust-access-success: #27643a;
	--redust-access-focus: 0 0 0 3px rgba(17, 17, 17, 0.13);
}

* {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
}

body.redust-access-page {
	margin: 0;
	color: var(--redust-access-text);
	background: #fff;
	font: 16px/1.5 Arial, Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.redust-access-page button,
.redust-access-page input,
.redust-access-page select {
	font: inherit;
}

.redust-access-page [hidden] {
	display: none !important;
}

.redust-access-skip {
	position: fixed;
	z-index: 100;
	top: 12px;
	left: 12px;
	padding: 10px 14px;
	color: #fff;
	background: var(--redust-access-ink);
	transform: translateY(-160%);
}

.redust-access-skip:focus {
	transform: none;
}

.redust-access-shell {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
}

.redust-access-card {
	width: min(100%, 490px);
}

.redust-access-logo {
	width: min(230px, 58%);
	height: auto;
	display: block;
	margin: 0 auto 52px;
}

.redust-access-intro {
	margin-bottom: 28px;
	text-align: center;
}

.redust-access-intro h1,
.redust-access-success h1 {
	margin: 0 0 8px;
	color: #000;
	font-family: "Sofia Sans Condensed", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size: 40px;
	font-weight: 800;
	font-synthesis: none;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
}

.redust-access-intro p,
.redust-access-success > p {
	margin: 0;
	color: #707070;
	font-size: 14px;
}

.redust-access-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
	margin-bottom: 28px;
	padding: 5px;
	border-radius: 9px;
	background: #f0f0ee;
}

.redust-access-tab {
	min-width: 0;
	min-height: 42px;
	padding: 8px 14px;
	border: 0;
	border-radius: 6px;
	color: #6a6a6a;
	background: transparent;
	font-size: 13px;
	font-weight: 800 !important;
	white-space: nowrap;
	cursor: pointer;
}

.redust-access-tab[aria-selected="true"] {
	color: var(--redust-access-ink);
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.09);
}

.redust-access-page :focus-visible {
	outline: 0;
	box-shadow: var(--redust-access-focus);
}

.redust-access-form,
.redust-application-step {
	display: grid;
	gap: 17px;
}

.redust-access-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.redust-access-field label {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 7px;
	color: #303030;
	font-size: 13px;
	font-weight: 800;
}

.redust-access-field label span {
	color: #898989;
	font-size: 11px;
	font-weight: 500;
}

.redust-access-field input,
.redust-access-field select {
	width: 100%;
	height: 51px;
	padding: 12px 15px;
	border: 1px solid var(--redust-access-line);
	border-radius: 7px;
	color: var(--redust-access-ink);
	background: #fff;
	font-size: 15px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.redust-access-field select {
	padding-right: 36px;
	appearance: auto;
}

.redust-access-field input:hover,
.redust-access-field select:hover {
	border-color: #aaa;
}

.redust-access-field input:focus,
.redust-access-field select:focus {
	border-color: #777;
	outline: 0;
	box-shadow: var(--redust-access-focus);
}

.redust-access-field input[aria-invalid="true"],
.redust-access-field select[aria-invalid="true"] {
	border-color: var(--redust-access-danger);
}

.redust-access-field small {
	display: block;
	margin-top: 6px;
	color: var(--redust-access-danger);
	font-size: 12px;
}

.redust-access-password {
	position: relative;
}

.redust-access-password input {
	padding-right: 52px;
}

.redust-access-password-toggle {
	position: absolute;
	top: 50%;
	right: 6px;
	width: 40px;
	height: 39px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 6px;
	color: #666;
	background: transparent;
	transform: translateY(-50%);
	cursor: pointer;
}

.redust-access-password-toggle:hover {
	color: var(--redust-access-ink);
	background: #f1f1f1;
}

.redust-access-password-toggle svg {
	width: 19px;
	height: 19px;
}

.redust-access-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.redust-access-options a {
	color: var(--redust-access-ink);
	font-size: 13px;
	font-weight: 800;
	text-decoration-color: #b7b7b7;
	text-underline-offset: 3px;
}

.redust-access-checkbox {
	display: inline-flex;
	align-items: flex-start;
	gap: 9px;
	color: #5d5d5d;
	font-size: 13px;
	cursor: pointer;
}

.redust-access-checkbox input {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	margin: 1px 0 0;
	accent-color: var(--redust-access-ink);
}

.redust-access-primary,
.redust-access-secondary {
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 12px 17px;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.redust-access-primary {
	justify-content: space-between;
	border: 1px solid var(--redust-access-ink);
	color: #fff;
	background: var(--redust-access-ink);
}

.redust-access-primary:hover {
	border-color: #292929;
	color: #fff;
	background: #292929;
}

.redust-access-primary svg {
	width: 18px;
	height: 18px;
}

.redust-access-secondary {
	border: 1px solid #d5d5d5;
	color: #444;
	background: #fff;
}

.redust-access-secondary:hover {
	border-color: #999;
	color: var(--redust-access-ink);
	background: #f7f7f7;
}

.redust-application-progress {
	margin-bottom: 34px;
}

.redust-application-progress__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
	color: #747474;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.redust-application-progress__track {
	height: 3px;
	overflow: hidden;
	border-radius: 999px;
	background: #e8e8e8;
}

.redust-application-progress__bar {
	width: 33.333%;
	height: 100%;
	border-radius: inherit;
	background: var(--redust-access-ink);
	transition: width 0.25s ease;
}

.redust-application-step h2 {
	margin: 0;
	color: var(--redust-access-ink);
	font-size: 23px;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.redust-application-step > p:first-of-type {
	margin: -10px 0 6px;
	color: #777;
	font-size: 13px;
}

.redust-step-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 9px;
}

.redust-step-actions .redust-access-primary {
	min-width: 170px;
}

.redust-access-legal {
	margin: -4px 0 0;
	color: #7e7e7e;
	font-size: 11px;
	line-height: 1.55;
}

.redust-access-errors,
.redust-access-notices .woocommerce-error,
.redust-access-notices .woocommerce-message {
	margin: 0 0 22px;
	padding: 12px 14px;
	border: 1px solid #efd0cd;
	border-radius: 7px;
	color: var(--redust-access-danger);
	background: #fff5f4;
	font-size: 13px;
	list-style: none;
}

.redust-access-errors p {
	margin: 0;
}

.redust-access-errors p + p {
	margin-top: 5px;
}

.redust-access-notices ul {
	margin-left: 0;
}

.redust-access-success {
	text-align: center;
}

.redust-access-success__icon {
	width: 64px;
	height: 64px;
	display: grid;
	place-items: center;
	margin: 0 auto 24px;
	border-radius: 50%;
	color: var(--redust-access-success);
	background: #edf7ef;
}

.redust-access-success__icon svg {
	width: 32px;
	height: 32px;
}

.redust-access-kicker {
	margin: 0 0 10px !important;
	color: var(--redust-access-success) !important;
	font-size: 11px !important;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.redust-access-success .redust-access-secondary {
	width: fit-content;
	margin: 28px auto 0;
}

.redust-password-confirmation {
	display: grid;
	justify-items: center;
	text-align: center;
}

.redust-password-confirmation .redust-access-success__icon {
	margin-bottom: 24px;
}

.redust-password-confirmation .redust-access-secondary {
	width: fit-content;
}

.redust-password-back {
	justify-self: center;
	color: #555;
	font-size: 13px;
	font-weight: 700;
	text-decoration-color: #b7b7b7;
	text-underline-offset: 3px;
}

.redust-access-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

body.redust-legal-modal-open {
	overflow: hidden;
}

.redust-legal-modal {
	position: fixed;
	z-index: 1000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
}

.redust-legal-modal__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(8, 8, 8, 0.68);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	cursor: default;
}

.redust-legal-modal__panel {
	position: relative;
	width: min(100%, 760px);
	max-height: min(82vh, 820px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.redust-legal-modal__panel > header {
	position: sticky;
	z-index: 2;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 26px;
	border-bottom: 1px solid #e7e7e7;
	background: #fff;
}

.redust-legal-modal__panel > header h2 {
	margin: 0;
	color: var(--redust-access-ink);
	font-size: 21px;
	line-height: 1.25;
}

.redust-legal-modal__panel > header button {
	width: 38px;
	height: 38px;
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #444;
	background: #f0f0f0;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.redust-legal-content {
	min-width: 0;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 26px;
	color: #444;
	font-size: 14px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.redust-legal-content :where(div, section, article, header, footer, main, aside, figure, p, ul, ol, li, h1, h2, h3, h4, h5, h6) {
	min-width: 0 !important;
	max-width: 100% !important;
	white-space: normal !important;
	overflow-wrap: anywhere;
}

.redust-legal-content :where(div, section, article, header, footer, main, aside, figure) {
	width: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.redust-legal-content :where(img, video, iframe, svg) {
	max-width: 100% !important;
	height: auto !important;
}

.redust-legal-content img[data-redust-image-error] {
	display: none !important;
}

.redust-legal-content :where(ul, ol) {
	padding-left: 1.65rem;
}

.redust-legal-content table {
	width: 100% !important;
	max-width: 100% !important;
	border-collapse: collapse;
	table-layout: fixed;
}

.redust-legal-content :where(th, td) {
	overflow-wrap: anywhere;
}

.redust-legal-content > :first-child {
	margin-top: 0;
}

.redust-legal-content > :last-child {
	margin-bottom: 0;
}

.redust-legal-content h1,
.redust-legal-content h2,
.redust-legal-content h3,
.redust-legal-content h4 {
	color: var(--redust-access-ink);
	line-height: 1.3;
}

.redust-legal-shell {
	width: min(calc(100% - 40px), 860px);
	margin-inline: auto;
	padding: 58px 0 90px;
}

.redust-legal-document .redust-access-logo {
	margin-bottom: 48px;
}

.redust-legal-back {
	display: inline-block;
	margin-bottom: 28px;
	color: #555;
	font-size: 13px;
	font-weight: 700;
	text-underline-offset: 3px;
}

.redust-legal-document > h1 {
	margin: 0 0 28px;
	color: var(--redust-access-ink);
	font-size: clamp(30px, 5vw, 46px);
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.redust-legal-document > .redust-legal-content {
	padding: 0;
}

@media (max-width: 650px) {
	.redust-access-shell {
		align-items: flex-start;
		padding: 42px 20px 64px;
	}

	.redust-access-logo {
		width: 190px;
		margin-bottom: 42px;
	}

	.redust-access-row {
		grid-template-columns: 1fr;
		gap: 17px;
	}

	.redust-access-tab {
		padding-inline: 8px;
		font-size: 12px;
		letter-spacing: -0.01em;
	}

	.redust-access-options {
		align-items: flex-start;
	}

	.redust-application-progress {
		margin-bottom: 28px;
	}

	.redust-step-actions {
		align-items: stretch;
	}

	.redust-step-actions .redust-access-primary {
		min-width: 0;
		flex: 1;
	}

	.redust-legal-modal {
		display: block;
		padding: 0;
	}

	.redust-legal-modal__panel {
		width: 100%;
		height: 100%;
		max-height: none;
		border-radius: 0;
	}

	.redust-legal-modal__panel > header {
		padding: max(18px, env(safe-area-inset-top)) 20px 18px;
	}

	.redust-legal-content {
		padding: 20px;
		padding-bottom: max(28px, env(safe-area-inset-bottom));
	}
}

@media (orientation: portrait) and (max-width: 599px) {
	.redust-access-intro h1,
	.redust-access-success h1 {
		font-size: 32px;
	}
}

@media (orientation: landscape) and (max-height: 550px) and (max-width: 932px) {
	.redust-access-intro h1,
	.redust-access-success h1 {
		font-size: 35px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.redust-access-page *,
	.redust-access-page *::before,
	.redust-access-page *::after {
		transition: none !important;
	}
}
