@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Unbounded:wght@600;700&display=swap');

:root {
	--cap-ink: #10222a;
	--cap-muted: #687981;
	--cap-line: #dce7e8;
	--cap-paper: #ffffff;
	--cap-mist: #eef5f3;
	--cap-primary: #0f766e;
	--cap-primary-strong: #0b4f4b;
	--cap-accent: #ff6b4a;
	--cap-error: #c2413b;
	--cap-success: #168366;
}

body.cap-auth-page .site-content {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	background:
		radial-gradient(circle at 8% 18%, rgba(74, 222, 188, .14), transparent 28%),
		radial-gradient(circle at 94% 82%, rgba(255, 130, 94, .13), transparent 26%),
		#edf4f2 !important;
}

body.cap-auth-page .site-content-inner,
body.cap-auth-page #primary,
body.cap-auth-page .site-main,
body.cap-auth-page article.page,
body.cap-auth-page .entry-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.cap-auth-page #secondary,
body.cap-auth-page .entry-title,
body.cap-auth-page .breadcrumb,
body.cap-auth-page article.page > meta,
body.cap-auth-page article.page > div[itemprop="publisher"],
body.cap-auth-page .entry-content > p:last-child {
	display: none !important;
}

.cap-wrapper,
.cap-wrapper * {
	box-sizing: border-box;
}

.cap-wrapper {
	display: grid;
	min-height: clamp(660px, calc(100dvh - 76px), 920px);
	place-items: center;
	padding: clamp(24px, 5vw, 68px) 18px;
	font-family: "Manrope", sans-serif;
	color: var(--cap-ink);
}

.cap-shell {
	display: grid;
	grid-template-columns: minmax(300px, .9fr) minmax(380px, 1fr);
	width: min(1040px, 100%);
	min-height: 610px;
	overflow: hidden;
	border: 1px solid rgba(16, 34, 42, .09);
	border-radius: 34px;
	background: var(--cap-paper);
	box-shadow: 0 32px 90px rgba(18, 48, 52, .16);
}

.cap-scene {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
	padding: clamp(30px, 4vw, 54px);
	overflow: hidden;
	background:
		linear-gradient(155deg, rgba(255, 255, 255, .04), transparent 45%),
		#102f32;
	color: #f4fbf9;
}

.cap-scene__brand {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	width: fit-content;
	height: 46px;
	padding: 9px 13px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.cap-scene__brand img {
	display: block;
	width: auto;
	height: 28px;
}

.cap-scene__copy {
	position: relative;
	z-index: 2;
	max-width: 430px;
	margin: auto 0;
	padding: 52px 0;
}

.cap-scene__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #70e0c4;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .18em;
}

.cap-scene__eyebrow::before {
	width: 26px;
	height: 2px;
	background: currentColor;
	content: "";
}

.cap-scene h2 {
	margin: 20px 0 18px;
	color: #fff;
	font: 700 clamp(34px, 4.6vw, 58px)/1.02 "Unbounded", sans-serif;
	letter-spacing: -.055em;
}

.cap-scene p {
	max-width: 38ch;
	margin: 0;
	color: #bcd0d0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.65;
}

.cap-scene__benefits {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 8px;
}

.cap-scene__benefits span {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 38px;
	color: #d8e8e5;
	font-size: 12px;
	font-weight: 700;
}

.cap-scene__benefits b {
	display: grid;
	width: 29px;
	height: 29px;
	place-items: center;
	border: 1px solid rgba(112, 224, 196, .36);
	border-radius: 9px;
	color: #70e0c4;
	font-size: 9px;
}

.cap-scene__orb {
	position: absolute;
	border: 1px solid rgba(103, 232, 201, .17);
	border-radius: 50%;
}

.cap-scene__orb--one {
	top: -130px;
	right: -150px;
	width: 380px;
	height: 380px;
	box-shadow: inset 0 0 0 72px rgba(23, 105, 99, .22);
}

.cap-scene__orb--two {
	right: -48px;
	bottom: -78px;
	width: 190px;
	height: 190px;
	background: var(--cap-accent);
	opacity: .88;
}

.cap-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	min-width: 0;
	padding: clamp(34px, 6vw, 72px);
	background: var(--cap-paper);
}

.cap-header {
	margin-bottom: 25px;
	text-align: left;
}

.cap-logo {
	display: none;
}

.cap-title {
	margin: 0;
	color: var(--cap-ink);
	font: 700 clamp(28px, 3.4vw, 43px)/1.05 "Unbounded", sans-serif;
	letter-spacing: -.045em;
}

.cap-subtitle {
	max-width: 46ch;
	margin: 12px 0 0;
	color: var(--cap-muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.55;
}

.cap-messages {
	display: grid;
	gap: 8px;
	margin: 0 0 16px;
}

.cap-msg {
	padding: 12px 14px;
	border: 1px solid;
	border-radius: 13px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
}

.cap-msg.cap-error {
	border-color: #f1c2bc;
	background: #fff2ef;
	color: #9f332f;
}

.cap-msg.cap-success {
	border-color: #a9dfce;
	background: #edfdf7;
	color: #11664f;
}

.cap-form {
	display: grid;
	gap: 8px;
	margin: 0;
}

.cap-label {
	display: block;
	margin: 8px 0 0;
	color: #263c43;
	font-size: 12px;
	font-weight: 800;
}

.cap-req {
	color: var(--cap-accent);
}

.cap-input {
	width: 100%;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid var(--cap-line);
	border-radius: 15px;
	outline: 0;
	background: #f7faf9;
	color: var(--cap-ink);
	font: 700 14px/1.2 "Manrope", sans-serif;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.cap-input::placeholder {
	color: #93a2a6;
	font-weight: 600;
}

.cap-input:focus {
	border-color: #39a995;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(15, 118, 110, .11);
}

.cap-help {
	margin: -1px 0 2px;
	color: #849398;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.45;
}

.cap-check {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 9px 0 1px;
	color: #5d6f75;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.45;
}

.cap-check input {
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: var(--cap-primary);
}

.cap-check a,
.cap-muted a {
	color: var(--cap-primary);
	font-weight: 800;
	text-decoration: none;
}

.cap-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin-top: 12px;
	padding: 0 20px;
	border: 0;
	border-radius: 15px;
	background: linear-gradient(135deg, var(--cap-primary-strong), var(--cap-primary));
	color: #fff;
	font: 800 14px/1 "Manrope", sans-serif;
	cursor: pointer;
	box-shadow: 0 13px 25px rgba(15, 118, 110, .24);
	transition: transform .18s ease, box-shadow .18s ease;
}

.cap-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(15, 118, 110, .3);
}

.cap-btn:focus-visible,
.cap-input:focus-visible,
.cap-back-link:focus-visible,
.cap-muted a:focus-visible {
	outline: 3px solid rgba(255, 107, 74, .42);
	outline-offset: 3px;
}

.cap-sep {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 22px 0 12px;
	color: #9aa8ab;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .12em;
}

.cap-sep::before,
.cap-sep::after {
	flex: 1;
	height: 1px;
	background: var(--cap-line);
	content: "";
}

.cap-muted {
	margin: 14px 0 0;
	color: var(--cap-muted);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}

.cap-back {
	margin-top: 24px;
	text-align: center;
}

.cap-back-link {
	color: #6d7c81;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}

.cap-centered {
	margin: 0;
	color: var(--cap-ink);
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

html[data-lacorn-theme="dark"] body.cap-auth-page .site-content,
html[data-theme="dark"] body.cap-auth-page .site-content {
	background:
		radial-gradient(circle at 8% 18%, rgba(20, 184, 166, .12), transparent 28%),
		#071321 !important;
}

html[data-lacorn-theme="dark"] .cap-shell,
html[data-theme="dark"] .cap-shell,
html[data-lacorn-theme="dark"] .cap-card,
html[data-theme="dark"] .cap-card {
	border-color: #263a4b;
	background: #0e1d2d;
}

html[data-lacorn-theme="dark"] .cap-title,
html[data-theme="dark"] .cap-title,
html[data-lacorn-theme="dark"] .cap-label,
html[data-theme="dark"] .cap-label,
html[data-lacorn-theme="dark"] .cap-centered,
html[data-theme="dark"] .cap-centered {
	color: #f1f6fb;
}

html[data-lacorn-theme="dark"] .cap-input,
html[data-theme="dark"] .cap-input {
	border-color: #2c4358;
	background: #11253a;
	color: #f3f8fc;
}

html[data-lacorn-theme="dark"] .cap-muted,
html[data-theme="dark"] .cap-muted,
html[data-lacorn-theme="dark"] .cap-subtitle,
html[data-theme="dark"] .cap-subtitle {
	color: #9fb0c1;
}

@media (max-width: 820px) {
	.cap-wrapper {
		padding: 22px 14px 80px;
	}

	.cap-shell {
		grid-template-columns: 1fr;
		min-height: 0;
		border-radius: 26px;
	}

	.cap-scene {
		min-height: 205px;
		padding: 24px;
	}

	.cap-scene__brand {
		height: 40px;
		padding: 7px 10px;
	}

	.cap-scene__brand img {
		height: 24px;
	}

	.cap-scene__copy {
		margin: 30px 0 0;
		padding: 0;
	}

	.cap-scene h2 {
		max-width: 13ch;
		margin: 12px 0 0;
		font-size: clamp(26px, 8vw, 37px);
	}

	.cap-scene p,
	.cap-scene__benefits {
		display: none;
	}

	.cap-scene__orb--one {
		top: -210px;
		right: -180px;
	}

	.cap-scene__orb--two {
		right: -34px;
		bottom: -68px;
		width: 150px;
		height: 150px;
	}

	.cap-card {
		padding: 30px 24px 32px;
	}
}

@media (max-width: 430px) {
	.cap-wrapper {
		min-height: calc(100dvh - 64px);
		padding: 12px 8px 86px;
	}

	.cap-shell {
		border-radius: 22px;
	}

	.cap-scene {
		min-height: 178px;
		padding: 20px;
	}

	.cap-scene__eyebrow {
		font-size: 8px;
	}

	.cap-scene h2 {
		font-size: 28px;
	}

	.cap-card {
		padding: 27px 20px 30px;
	}

	.cap-title {
		font-size: 28px;
	}

	.cap-input,
	.cap-btn {
		min-height: 50px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cap-btn,
	.cap-input {
		transition: none;
	}
}
