.vpt-invitation-page {
	background: var(--vp-color-bg);
}

.vpt-invitation-hero {
	background: var(--vp-color-surface);
	border-bottom: 1px solid var(--vp-color-border);
}

.vpt-invitation-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: var(--vp-space-7);
	align-items: center;
	padding-block: clamp(48px, 7vw, 88px);
}

.vpt-invitation-hero__copy {
	max-width: 760px;
}

.vpt-invitation-eyebrow {
	margin: 0 0 var(--vp-space-3);
	color: var(--vp-color-action);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.vpt-invitation-hero h1 {
	max-width: 820px;
	margin: 0;
	font-size: clamp(34px, 4.2vw, 52px);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.vpt-invitation-hero__intro {
	max-width: 680px;
	margin: var(--vp-space-4) 0 0;
	color: var(--vp-color-text-muted);
	font-size: 18px;
	line-height: 1.55;
}

.vpt-invitation-hero__mark {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--vp-color-surface-subtle);
	color: var(--vp-color-action);
}

.vpt-invitation-hero__mark .vpt-icon {
	width: 28px;
	height: 28px;
}

.vpt-invitation-section {
	padding-block: clamp(48px, 7vw, 88px);
	background: var(--vp-color-surface-muted);
}

.vpt-invitation-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
	gap: var(--vp-space-6);
	align-items: start;
}

.vpt-invitation-card,
.vpt-invitation-info {
	border: 1px solid var(--vp-color-border);
	border-radius: var(--vp-radius-lg);
	background: var(--vp-color-surface);
	box-shadow: var(--vp-shadow-sm);
}

.vpt-invitation-card {
	padding: clamp(24px, 4vw, 40px);
}

.vpt-invitation-card__head {
	max-width: 700px;
	padding-bottom: var(--vp-space-5);
	border-bottom: 1px solid var(--vp-color-border);
}

.vpt-invitation-card__head h2,
.vpt-invitation-info h2 {
	margin: 0;
	font-size: clamp(24px, 2.5vw, 32px);
	line-height: 1.18;
	letter-spacing: -0.015em;
}

.vpt-invitation-card__head p:last-child,
.vpt-invitation-info > p {
	margin: var(--vp-space-3) 0 0;
	color: var(--vp-color-text-muted);
	line-height: 1.55;
}

.vpt-invitation-form-shell {
	max-width: 720px;
	padding-top: var(--vp-space-6);
}

.vpt-invitation-form-shell form {
	display: grid;
	gap: var(--vp-space-4);
}

.vpt-invitation-form-shell p,
.vpt-invitation-form-shell .form-row,
.vpt-invitation-form-shell .field {
	margin: 0 0 var(--vp-space-4);
}

.vpt-invitation-form-shell label {
	display: block;
	margin: 0 0 var(--vp-space-2);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.vpt-invitation-form-shell input[type="text"],
.vpt-invitation-form-shell input[type="email"],
.vpt-invitation-form-shell input[type="password"],
.vpt-invitation-form-shell input[type="tel"],
.vpt-invitation-form-shell input[type="number"],
.vpt-invitation-form-shell select,
.vpt-invitation-form-shell textarea {
	width: min(100%, 620px);
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--vp-color-border-strong);
	border-radius: var(--vp-radius-md);
	background: #fff;
	color: var(--vp-color-text);
	font: inherit;
	box-sizing: border-box;
}

.vpt-invitation-form-shell input:focus-visible,
.vpt-invitation-form-shell select:focus-visible,
.vpt-invitation-form-shell textarea:focus-visible {
	outline: 3px solid rgb(0 102 179 / 20%);
	outline-offset: 2px;
	border-color: var(--vp-color-action);
}

.vpt-invitation-form-shell input[type="submit"],
.vpt-invitation-form-shell button[type="submit"],
.vpt-invitation-form-shell .button,
.vpt-invitation-form-shell a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 22px;
	border: 1px solid var(--vp-color-action);
	border-radius: var(--vp-radius-pill);
	background: var(--vp-color-action);
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.vpt-invitation-form-shell input[type="submit"]:hover,
.vpt-invitation-form-shell button[type="submit"]:hover,
.vpt-invitation-form-shell .button:hover,
.vpt-invitation-form-shell a.button:hover {
	background: var(--vp-color-action-hover);
	border-color: var(--vp-color-action-hover);
	color: #fff;
}

.vpt-invitation-form-shell h2,
.vpt-invitation-form-shell h3 {
	margin: 0 0 var(--vp-space-3);
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.2;
}

.vpt-invitation-form-shell > p,
.vpt-invitation-form-shell form + p,
.vpt-invitation-form-shell .description {
	color: var(--vp-color-text-muted);
	line-height: 1.55;
}

.vpt-invitation-form-shell a:not(.button) {
	color: var(--vp-color-action);
	font-weight: 700;
	text-underline-offset: 3px;
}

.vpt-invitation-form-shell .notice,
.vpt-invitation-form-shell .message,
.vpt-invitation-form-shell [role="status"],
.vpt-invitation-form-shell [role="alert"] {
	padding: var(--vp-space-4);
	border: 1px solid var(--vp-color-border);
	border-radius: var(--vp-radius-md);
	background: var(--vp-color-surface-subtle);
}

/*
 * Core may return a plain-text invalid/expired invitation notice as the sole
 * child of the renderer shell. Highlight that state using the VR web-orange
 * without interpreting or changing any invitation logic.
 */
.vpt-invitation-form-shell > p:only-child {
	position: relative;
	margin: 0;
	padding: var(--vp-space-4) var(--vp-space-5);
	border: 1px solid rgb(243 94 1 / 28%);
	border-left: 4px solid var(--vp-color-brand-web-orange);
	border-radius: var(--vp-radius-md);
	background: rgb(243 94 1 / 7%);
	color: var(--vp-color-text);
	font-weight: 600;
	line-height: 1.55;
}

.vpt-invitation-form-shell > p:only-child::before {
	content: "!";
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	margin-right: var(--vp-space-2);
	border-radius: 50%;
	background: var(--vp-color-brand-web-orange);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	vertical-align: -1px;
}

.vpt-invitation-unavailable {
	display: flex;
	gap: var(--vp-space-3);
	align-items: flex-start;
	margin-top: var(--vp-space-6);
	padding: var(--vp-space-4);
	border-left: 3px solid var(--vp-color-action);
	background: var(--vp-color-surface-subtle);
}

.vpt-invitation-unavailable p {
	margin: var(--vp-space-1) 0 0;
	color: var(--vp-color-text-muted);
}

.vpt-invitation-info {
	position: relative;
	overflow: hidden;
	padding: clamp(24px, 3vw, 32px);
	background: var(--vp-color-surface-subtle);
}

.vpt-invitation-info::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: var(--vp-color-brand-web-orange);
}

.vpt-invitation-info__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: var(--vp-space-5);
	border-radius: 50%;
	background: #fff;
	color: var(--vp-color-action);
}

.vpt-invitation-info__icon .vpt-icon {
	width: 21px;
	height: 21px;
}

.vpt-invitation-info__list {
	display: grid;
	gap: 0;
	margin: var(--vp-space-6) 0 0;
	padding: 0;
	list-style: none;
}

.vpt-invitation-info__list li {
	position: relative;
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: var(--vp-space-3);
	padding-bottom: var(--vp-space-5);
}

.vpt-invitation-info__list li > span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--vp-color-border-strong);
	border-radius: 50%;
	background: #fff;
	color: var(--vp-color-action);
	font-size: 13px;
	font-weight: 700;
}

.vpt-invitation-info__list li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 16px;
	top: 34px;
	bottom: 0;
	width: 1px;
	background: var(--vp-color-border-strong);
}

.vpt-invitation-info__list strong {
	display: block;
	margin-top: 5px;
	font-size: 15px;
}

.vpt-invitation-info__list p {
	margin: var(--vp-space-1) 0 0;
	color: var(--vp-color-text-muted);
	font-size: 14px;
	line-height: 1.45;
}

.vpt-invitation-info__security {
	padding-top: var(--vp-space-4);
	border-top: 1px solid var(--vp-color-border);
	font-size: 14px;
}

@media (max-width: 900px) {
	.vpt-invitation-grid {
		grid-template-columns: 1fr;
	}

	.vpt-invitation-info {
		max-width: 700px;
	}
}

@media (max-width: 640px) {
	.vpt-invitation-hero__inner {
		grid-template-columns: 1fr;
		gap: var(--vp-space-4);
		padding-block: 40px;
	}

	.vpt-invitation-hero__mark {
		display: none;
	}

	.vpt-invitation-section {
		padding-block: 32px 48px;
	}

	.vpt-invitation-card,
	.vpt-invitation-info {
		border-radius: var(--vp-radius-md);
	}

	.vpt-invitation-card {
		padding: 24px 20px;
	}

	.vpt-invitation-form-shell input[type="text"],
	.vpt-invitation-form-shell input[type="email"],
	.vpt-invitation-form-shell input[type="password"],
	.vpt-invitation-form-shell input[type="tel"],
	.vpt-invitation-form-shell input[type="number"],
	.vpt-invitation-form-shell select,
	.vpt-invitation-form-shell textarea {
		width: 100%;
	}
}
