/* Plane Skin — exit-intent popup */
.ps-pop { --pp-ink: var(--wp--preset--color--ink, #0B2D29); --pp-mauve: var(--wp--preset--color--mauve, #107064); --pp-muted: var(--wp--preset--color--muted, #3D5C58); --pp-line: var(--wp--preset--color--line, #DAE7E6); --pp-ivory: var(--wp--preset--color--ivory, #FAFCFC); --pp-cream: var(--wp--preset--color--cream, #F3FCFB); --pp-display: var(--wp--preset--font-family--display, "Playfair Display", Georgia, serif);
	position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; color: var(--pp-ink); font-family: var(--wp--preset--font-family--body, "DM Sans", Arial, sans-serif); }
.ps-pop[hidden] { display: none; }
.ps-pop__backdrop { position: absolute; inset: 0; background: rgba(11, 45, 41, .55); opacity: 0; transition: opacity .2s ease; }
.ps-pop__card { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: flex; background: var(--pp-ivory); border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .22s ease, transform .22s ease; outline: none; }
.ps-pop.is-open .ps-pop__backdrop { opacity: 1; }
.ps-pop.is-open .ps-pop__card { opacity: 1; transform: none; }
html.ps-pop-open { overflow: hidden; }

.ps-pop__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 100px; border: 0; background: var(--wp--preset--color--blush, #E2F8F6); color: var(--pp-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ps-pop__close:hover { background: var(--pp-line); }
.ps-pop__media { flex: 0 0 330px; position: relative; background: #C8F4EF center 38% / cover no-repeat; min-height: 100%; }
.ps-pop__pill { position: absolute; left: 16px; bottom: 16px; background: var(--pp-ivory); border-radius: 100px; padding: 8px 14px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ps-pop__body { flex: 1 1 auto; min-width: 0; border-left: 2px dashed var(--pp-line); padding: 48px 48px 32px; display: flex; flex-direction: column; }
.ps-pop__step { display: flex; flex-direction: column; flex: 1 1 auto; }
.ps-pop__step[hidden] { display: none; }
.ps-pop__eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pp-mauve); }
.ps-pop__title { font-family: var(--pp-display); font-weight: 500; font-size: clamp(34px, 4.4vw, 48px); line-height: 1.05; letter-spacing: -.045em; margin: 14px 0; outline: none; }
.ps-pop__text { font-size: 16px; line-height: 1.6; color: var(--pp-muted); margin: 0 0 22px; }
.ps-pop__form { display: flex; gap: 10px; margin: 0; }
.ps-pop__form input[type=email] { flex: 1 1 auto; min-width: 0; height: 52px; border: 1px solid #A9CFCA; border-radius: 100px; padding: 0 22px; font: inherit; font-size: 16px; background: var(--pp-cream); color: var(--pp-ink); }
.ps-pop__form input[type=email]:focus-visible { outline: 2px solid var(--pp-mauve); outline-offset: 2px; }
.ps-pop__form input[aria-invalid=true] { border-color: #a03a3a; }
.ps-pop__form button, .ps-pop__primary, .ps-pop__secondary { height: 52px; padding: 0 26px; border: 0; border-radius: 100px; background: var(--pp-ink); color: #fff; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.ps-pop__form button:hover, .ps-pop__primary:hover { background: #107064; color: #fff; }
.ps-pop__form button[disabled] { opacity: .6; cursor: progress; }
.ps-pop__secondary { background: transparent; color: var(--pp-ink); border: 1px solid #A9CFCA; }
.ps-pop__secondary:hover { background: var(--pp-cream); }
.ps-pop__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.ps-pop__error { margin: 10px 0 0; color: #a03a3a; font-size: 14px; }
.ps-pop__error[hidden] { display: none; }
.ps-pop__fine { font-size: 13px; color: var(--pp-muted); margin: 12px 0 0; line-height: 1.5; }
.ps-pop__fine a { color: inherit; }
.ps-pop__foot { margin-top: auto; padding-top: 22px; border-top: 1px dashed var(--pp-line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ps-pop__step[data-ps-step=form] .ps-pop__foot { margin-top: 28px; }
.ps-pop__meta { display: flex; gap: 28px; font-size: 15px; }
.ps-pop__meta span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pp-muted); margin-bottom: 2px; }
.ps-pop__dismiss { background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; font-size: 13px; color: var(--pp-muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ps-pop__dismiss:hover { color: var(--pp-ink); }
.ps-pop__code { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border: 2px dashed var(--pp-mauve); border-radius: 16px; padding: 14px 16px; margin: 4px 0 18px; background: var(--wp--preset--color--rose, #C8F4EF); }
.ps-pop__code[hidden] { display: none; }
.ps-pop__code-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pp-ink); }
.ps-pop__code strong { font-family: var(--pp-display); font-size: 28px; letter-spacing: .02em; font-weight: 600; flex: 1 1 auto; }
.ps-pop__code button { min-height: 44px; padding: 0 18px; border-radius: 100px; border: 1px solid var(--pp-ink); background: var(--pp-ivory); font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.ps-pop .ps-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ps-pop .ps-hp { position: absolute !important; left: -9999px !important; }

/* Phones: bottom sheet */
@media (max-width: 700px) {
	.ps-pop { align-items: flex-end; padding: 0; }
	.ps-pop__card { flex-direction: column; width: 100%; max-height: 92vh; border-radius: 24px 24px 0 0; transform: translateY(40px); }
	.ps-pop__media { flex: 0 0 150px; min-height: 150px; background-position: center 35%; }
	.ps-pop__close { background: var(--pp-ivory); top: 12px; right: 12px; }
	.ps-pop__body { border-left: 0; border-top: 2px dashed var(--pp-line); padding: 24px 20px 28px; }
	.ps-pop__title { font-size: 36px; margin: 10px 0; }
	.ps-pop__text { font-size: 15px; margin-bottom: 18px; }
	.ps-pop__form { flex-direction: column; }
	.ps-pop__fine { text-align: center; font-size: 12px; }
	.ps-pop__foot { border-top: 0; padding-top: 8px; justify-content: center; }
	.ps-pop__step[data-ps-step=form] .ps-pop__foot { margin-top: 6px; }
	.ps-pop__meta { display: none; }
	.ps-pop__actions > * { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ps-pop__backdrop, .ps-pop__card { transition: none; }
}
