.plnl-root {
	--plnl-orange: var(--site-accent-color, #ff7300);
	--plnl-ink: var(--site-heading-color, #13160b);
	--plnl-text: var(--site-text-color, #75767b);
	--plnl-surface: #ffffff;
	--plnl-soft: #f5f5f2;
	font-family: var(--site-main-font, "Outfit", sans-serif);
}

.plnl-root,
.plnl-root * {
	box-sizing: border-box;
}

.plnl-root .plnl-tab {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 99990;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 16px 11px;
	transform: translateY(-50%);
	border: 0;
	border-radius: 8px 0 0 8px;
	box-shadow: 0 9px 28px rgba(19, 22, 11, 0.2);
	background: var(--plnl-orange);
	color: var(--plnl-ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 750;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
	cursor: pointer;
	transition: padding 160ms ease, box-shadow 160ms ease;
}

.plnl-root .plnl-tab:hover,
.plnl-root .plnl-tab:focus-visible {
	padding-right: 15px;
	box-shadow: 0 11px 32px rgba(19, 22, 11, 0.28);
	background: var(--plnl-orange);
	color: var(--plnl-ink);
}

.plnl-root .plnl-tab:focus-visible,
.plnl-root button:focus-visible,
.plnl-root input:focus-visible,
.plnl-root a:focus-visible {
	outline: 3px solid #2463eb;
	outline-offset: 3px;
}

.plnl-tab__icon {
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
}

.plnl-tab__icon svg {
	display: block;
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.plnl-overlay[hidden],
.plnl-result[hidden] {
	display: none !important;
}

.plnl-overlay {
	position: fixed;
	inset: 0;
	z-index: 100010;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(13, 15, 8, 0.66);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	opacity: 0;
	transition: opacity 180ms ease;
}

.plnl-overlay.is-open {
	opacity: 1;
}

body.plnl-open {
	overflow: hidden;
}

.plnl-dialog {
	position: relative;
	display: grid;
	grid-template-columns: minmax(300px, 0.86fr) minmax(390px, 1.14fr);
	width: min(900px, 100%);
	max-height: min(720px, calc(100dvh - 48px));
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
	background: var(--plnl-surface);
	color: var(--plnl-ink);
	transform: translateY(12px) scale(0.985);
	transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.plnl-overlay.is-open .plnl-dialog {
	transform: translateY(0) scale(1);
}

.plnl-root .plnl-close {
	position: absolute;
	top: 13px;
	right: 13px;
	z-index: 3;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	min-height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(19, 22, 11, 0.06);
	color: var(--plnl-ink);
	cursor: pointer;
	transition: background 150ms ease, transform 150ms ease;
}

.plnl-root .plnl-close:hover {
	background: rgba(19, 22, 11, 0.12);
	color: var(--plnl-ink);
	transform: rotate(4deg);
}

.plnl-close svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.8;
}

.plnl-promo {
	position: relative;
	display: flex;
	min-height: 570px;
	overflow: hidden;
	padding: 58px 42px 42px;
	background: var(--plnl-orange);
	color: var(--plnl-ink);
}

.plnl-promo::after {
	position: absolute;
	right: -54px;
	bottom: -58px;
	width: 190px;
	height: 190px;
	border: 42px solid rgba(19, 22, 11, 0.08);
	border-radius: 50%;
	content: "";
}

.plnl-promo__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.plnl-eyebrow,
.plnl-panel__eyebrow {
	margin: 0 0 20px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.plnl-panel__eyebrow {
	display: none;
	margin-bottom: 12px;
	color: #b65000;
}

.plnl-root .plnl-title {
	max-width: 360px;
	margin: 0 0 20px;
	color: var(--plnl-ink);
	font-family: var(--site-secondary-font, "Syne", sans-serif);
	font-size: clamp(40px, 5.3vw, 62px);
	font-weight: 750;
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.plnl-root .plnl-description {
	max-width: 360px;
	margin: 0;
	color: rgba(19, 22, 11, 0.83);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.55;
}

.plnl-benefits {
	display: grid;
	gap: 10px;
	margin: auto 0 0;
	padding: 34px 0 0;
	list-style: none;
}

.plnl-benefits li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.35;
}

.plnl-benefits li span {
	display: inline-grid;
	flex: 0 0 24px;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--plnl-ink);
	color: var(--plnl-orange);
	font-size: 13px;
}

.plnl-court {
	position: absolute;
	top: 17%;
	right: -82px;
	width: 220px;
	height: 330px;
	border: 2px solid rgba(19, 22, 11, 0.09);
	transform: rotate(18deg);
}

.plnl-court::before,
.plnl-court::after,
.plnl-court span {
	position: absolute;
	display: block;
	background: rgba(19, 22, 11, 0.09);
	content: "";
}

.plnl-court::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
}

.plnl-court::after {
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
}

.plnl-court span:nth-child(1),
.plnl-court span:nth-child(2) {
	left: 0;
	width: 100%;
	height: 2px;
}

.plnl-court span:nth-child(1) {
	top: 24%;
}

.plnl-court span:nth-child(2) {
	bottom: 24%;
}

.plnl-panel {
	display: flex;
	align-items: center;
	overflow-y: auto;
	padding: 68px 54px 50px;
	background: var(--plnl-surface);
}

.plnl-form-state,
.plnl-result {
	width: 100%;
}

.plnl-root .plnl-panel h3,
.plnl-root .plnl-result h3 {
	margin: 0 0 26px;
	color: var(--plnl-ink);
	font-family: var(--site-secondary-font, "Syne", sans-serif);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.plnl-form {
	display: grid;
	gap: 16px;
}

.plnl-fields-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.plnl-field {
	display: grid;
	gap: 7px;
	margin: 0;
	color: var(--plnl-ink);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.3;
}

.plnl-field input {
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #d9d9d4;
	border-radius: 6px;
	box-shadow: none;
	background: #fff;
	color: var(--plnl-ink);
	font: inherit;
	font-size: 16px;
	font-weight: 450;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.plnl-field input:hover {
	border-color: #aaa;
}

.plnl-field input:focus {
	border-color: var(--plnl-orange);
	box-shadow: 0 0 0 3px rgba(255, 115, 0, 0.14);
	outline: 0;
}

.plnl-consent {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 10px;
	align-items: start;
	margin: 3px 0 0;
	color: var(--plnl-text);
	font-size: 12px;
	font-weight: 450;
	line-height: 1.45;
	cursor: pointer;
}

.plnl-consent input {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--plnl-orange);
}

.plnl-consent a {
	color: var(--plnl-ink);
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 2px;
}

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

.plnl-feedback {
	display: none;
	margin: -2px 0 0;
	padding: 10px 12px;
	border-radius: 5px;
	background: #fff0ed;
	color: #9c2d1e;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.plnl-feedback:not(:empty) {
	display: block;
}

.plnl-root .plnl-submit,
.plnl-root .plnl-result__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 50px;
	margin: 2px 0 0;
	padding: 12px 20px;
	border: 0;
	border-radius: var(--site-button-radius, 4px);
	background: var(--plnl-orange);
	color: var(--plnl-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	cursor: pointer;
	transition: filter 150ms ease, transform 150ms ease;
}

.plnl-root .plnl-submit:hover,
.plnl-root .plnl-result__button:hover {
	background: var(--plnl-orange);
	color: var(--plnl-ink);
	filter: brightness(0.96);
	transform: translateY(-1px);
}

.plnl-root .plnl-submit:disabled {
	cursor: wait;
	opacity: 0.7;
	transform: none;
}

.plnl-spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(19, 22, 11, 0.25);
	border-top-color: var(--plnl-ink);
	border-radius: 50%;
	animation: plnl-spin 700ms linear infinite;
}

.plnl-form.is-loading .plnl-spinner {
	display: inline-block;
}

.plnl-result {
	text-align: center;
}

.plnl-result__icon {
	display: inline-grid;
	place-items: center;
	width: 66px;
	height: 66px;
	margin: 0 0 22px;
	border-radius: 50%;
	background: rgba(255, 115, 0, 0.13);
	color: #db5f00;
}

.plnl-result__icon svg {
	width: 32px;
	height: 32px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.plnl-root .plnl-result h3 {
	margin-bottom: 12px;
	font-size: 31px;
}

.plnl-root .plnl-result p {
	margin: 0 0 26px;
	color: var(--plnl-text);
	font-size: 15px;
	line-height: 1.6;
}

@keyframes plnl-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
	.plnl-root .plnl-tab {
		top: auto;
		right: 14px;
		bottom: calc(14px + env(safe-area-inset-bottom, 0px));
		padding: 12px 16px;
		transform: none;
		border-radius: 999px;
		font-size: 12px;
		writing-mode: horizontal-tb;
	}

	.plnl-root .plnl-tab:hover,
	.plnl-root .plnl-tab:focus-visible {
		padding-right: 16px;
	}

	.plnl-overlay {
		align-items: flex-end;
		padding: 12px 10px max(10px, env(safe-area-inset-bottom, 0px));
	}

	.plnl-dialog {
		grid-template-columns: 1fr;
		max-height: calc(100dvh - 22px);
		border-radius: 16px;
		overflow-y: auto;
	}

	.plnl-promo {
		min-height: 0;
		padding: 28px 26px 24px;
	}

	.plnl-root .plnl-title {
		max-width: calc(100% - 38px);
		margin-bottom: 10px;
		font-size: clamp(31px, 10vw, 43px);
		line-height: 1;
	}

	.plnl-root .plnl-description {
		max-width: calc(100% - 28px);
		font-size: 14px;
		line-height: 1.45;
	}

	.plnl-eyebrow {
		margin-bottom: 10px;
		font-size: 10px;
	}

	.plnl-benefits {
		display: none;
	}

	.plnl-panel {
		display: block;
		overflow: visible;
		padding: 27px 24px 26px;
	}

	.plnl-root .plnl-panel h3 {
		margin-bottom: 20px;
		font-size: 23px;
	}

	.plnl-fields-row {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.plnl-form {
		gap: 14px;
	}

	.plnl-field input {
		height: 48px;
	}

	.plnl-root .plnl-close {
		top: 11px;
		right: 11px;
		width: 40px;
		height: 40px;
		min-height: 40px;
		background: rgba(19, 22, 11, 0.12);
	}
}

@media (max-width: 420px), (max-height: 700px) and (max-width: 760px) {
	.plnl-promo {
		padding-top: 22px;
		padding-bottom: 19px;
	}

	.plnl-root .plnl-description {
		display: none;
	}

	.plnl-panel {
		padding-top: 22px;
		padding-bottom: 22px;
	}

	.plnl-root .plnl-panel h3 {
		margin-bottom: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.plnl-overlay,
	.plnl-dialog,
	.plnl-root .plnl-tab,
	.plnl-root .plnl-submit,
	.plnl-root .plnl-result__button,
	.plnl-root .plnl-close {
		transition: none;
	}

	.plnl-spinner {
		animation-duration: 1.4s;
	}
}

@supports not (height: 100dvh) {
	.plnl-dialog {
		max-height: calc(100vh - 48px);
	}

	@media (max-width: 760px) {
		.plnl-dialog {
			max-height: calc(100vh - 22px);
		}
	}
}
