.beacon-login-body {
	margin: 0;
	min-height: 100vh;
	background: #f1f5f9;
	color: #0f172a;
	font-family: var(--beacon-font, "Segoe UI", system-ui, -apple-system, sans-serif);
}

.beacon-login-body *,
.beacon-login-body *::before,
.beacon-login-body *::after {
	box-sizing: border-box;
}

.beacon-login-shell {
	min-height: 100vh;
	display: flex;
	align-items: stretch;
}

.beacon-login-hero {
	position: relative;
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: min(35rem, 39vw);
	flex-shrink: 0;
	padding: 3rem;
	background: #0f172a;
	color: #fff;
	overflow: hidden;
}

.beacon-login-hero-media {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0.15;
	pointer-events: none;
}

.beacon-login-hero-top,
.beacon-login-hero-bottom {
	position: relative;
	z-index: 1;
}

.beacon-login-hero-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
}

.beacon-login-hero-brand .beacon-login-mark {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 0.5rem;
	background: #2563eb;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
}

.beacon-login-hero-brand .beacon-login-logo,
.beacon-login-hero-brand .beacon-age-logo {
	height: 2.25rem;
	width: auto;
	max-width: 8rem;
	object-fit: contain;
}

.beacon-login-hero-name {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
}

.beacon-login-kicker {
	margin: 0 0 1rem;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2563eb;
}

.beacon-login-hero-headline {
	margin: 0 0 1rem;
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	letter-spacing: -0.02em;
}

.beacon-login-hero-lede {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
	color: #94a3b8;
}

.beacon-login-hero-bottom {
	padding-top: 1rem;
	border-top: 1px solid rgba(148, 163, 184, 0.28);
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.beacon-login-stat-label {
	margin: 0 0 0.25rem;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	font-size: 0.5625rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.beacon-login-stat-value {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
}

.beacon-login-viewport {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.5rem;
	background: #f1f5f9;
}

.beacon-login-gate {
	width: 100%;
	max-width: 28.75rem;
	background: #fff;
	border: 0;
	border-radius: 1rem;
	padding: 2rem;
	text-align: left;
	box-shadow: 0 12px 12px rgba(15, 23, 42, 0.05);
}

.beacon-login-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	text-align: center;
}

.beacon-login-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 0.75rem;
	background: #0f172a;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 700;
	text-transform: uppercase;
}

.beacon-login-logo,
.beacon-login-gate .beacon-age-logo {
	display: block;
	height: 3rem;
	width: auto;
	max-width: 10rem;
	object-fit: contain;
}

.beacon-login-brand-name {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #0f172a;
	line-height: 1.2;
}

.beacon-login-portal {
	margin: 0;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2563eb;
}

.beacon-login-tabs {
	display: flex;
	margin: 0 0 1.5rem;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #e2e8f0;
	background: transparent;
	border-radius: 0;
}

.beacon-login-tabs button {
	flex: 1;
	height: 3rem;
	border: 0;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	background: transparent;
	color: #475569;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
}

.beacon-login-tabs button.is-active {
	background: transparent;
	color: #0f172a;
	font-weight: 700;
	border-bottom-color: #2563eb;
}

.beacon-login-panel {
	display: none;
}

.beacon-login-panel.is-active {
	display: block;
}

.beacon-login-field {
	margin: 0 0 1rem;
}

.beacon-login-field label {
	display: block;
	margin: 0 0 0.375rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #0f172a;
}

.beacon-login-input {
	position: relative;
	display: flex;
	align-items: center;
}

.beacon-login-field input[type="text"],
.beacon-login-field input[type="email"],
.beacon-login-field input[type="password"],
.beacon-login-field select {
	width: 100%;
	height: 2.625rem;
	padding: 0 0.75rem;
	border: 1px solid #e2e8f0;
	border-radius: 0.5rem;
	background: #f8fafc;
	color: #0f172a;
	font: inherit;
	font-size: 0.875rem;
}

.beacon-login-field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	padding-right: 2.25rem;
}

.beacon-login-field input::placeholder {
	color: #94a3b8;
}

.beacon-login-field input:focus,
.beacon-login-field select:focus {
	outline: 2px solid #2563eb;
	outline-offset: 1px;
}

.beacon-login-input input {
	padding-right: 2.5rem;
}

.beacon-login-toggle {
	position: absolute;
	right: 0.65rem;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #94a3b8;
	cursor: pointer;
}

.beacon-login-toggle svg {
	display: block;
	width: 18px;
	height: 18px;
}

.beacon-login-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 0.25rem;
}

.beacon-login-check {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #475569;
	cursor: pointer;
}

.beacon-login-check input,
.beacon-login-acks input[type="checkbox"] {
	width: 1.125rem;
	height: 1.125rem;
	margin: 0.05rem 0 0;
	flex-shrink: 0;
	accent-color: #2563eb;
	border-radius: 0.25rem;
}

.beacon-login-forgot {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
	white-space: nowrap;
}

.beacon-login-forgot:hover {
	text-decoration: underline;
}

.beacon-login-error {
	margin: 0 0 1rem;
	font-size: 0.85rem;
	color: #c23b3b;
}

.beacon-login-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 2.75rem;
	margin-top: 0.5rem;
	padding: 0 1.25rem;
	border: 0;
	border-radius: 0.5rem;
	background: #0f172a;
	color: #fff;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}

.beacon-login-submit:hover {
	filter: brightness(1.08);
}

.beacon-login-submit:disabled {
	opacity: 0.42;
	cursor: not-allowed;
}

.beacon-login-fineprint {
	margin: 1.5rem 0 0;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #94a3b8;
	text-align: center;
}

.beacon-age-notice {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #475569;
}

.beacon-login-acks,
.beacon-age-acks {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0 0 0.5rem;
	text-align: left;
}

.beacon-login-acks label,
.beacon-age-acks label {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	border-radius: 0;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #475569;
	cursor: pointer;
}

.beacon-login-acks a,
.beacon-age-acks a {
	color: #2563eb;
}

@media (min-width: 900px) {
	.beacon-login-hero {
		display: flex;
	}
}

@media (max-width: 899px) {
	.beacon-login-viewport {
		padding: 3rem 1.25rem;
	}

	.beacon-login-gate {
		max-width: 26.25rem;
	}

	.beacon-login-field label {
		font-size: 0.75rem;
	}

	.beacon-login-check,
	.beacon-login-forgot,
	.beacon-login-acks label,
	.beacon-age-acks label {
		font-size: 0.75rem;
	}
}
