/**
 * Stage 1: the /join signup screen.
 *
 * Ported from design/design/signup-intent.html and tier-picker.html.
 * Values are the design's, unchanged; every one is a token.
 *
 * The class NAMES are not the design's. Those files use bare .btn, .field,
 * .h and .sub, which is right for a standalone mockup and would be a
 * collision on a live WordPress site running Elementor: .btn alone would
 * restyle every button the page builder renders. Everything here is
 * prefixed ph-join__ so it can only ever affect this screen.
 */

/* The wrap and the white card come from components.css, shared with the
   sign-in screen so the two cannot drift apart. This screen used to be a
   460px column of text straight onto the page background while signing in
   happened in a card, which made creating an account feel like a
   different site rather than the other half of the same door. Only the
   bottom room is added here: the card grows downwards, the top stays put. */
.ph-join { padding-bottom: var(--s16, 64px); }
.ph-join__logo {
	font-size: var(--t-h3, 16px);
	font-weight: var(--w-heavy, 800);
	margin-bottom: var(--s6, 24px);
	color: var(--ink, #16181f);
}
.ph-join__logo span { color: var(--pink, #e8568a); }
.ph-join__h {
	margin: 0;
	font-size: var(--t-h1, 27px);
	font-weight: var(--w-heavy, 800);
	color: var(--ink, #16181f);
	line-height: 1.25;
}
.ph-join__sub {
	margin: var(--s2, 8px) 0 var(--s6, 24px);
	font-size: var(--t-sm, 13px);
	color: var(--ink-2, #5b6070);
	line-height: 1.5;
}

/* ── the preset banner ── */
.ph-join__preset {
	background: var(--pink-soft, #fdeef4);
	border: 1px solid var(--pink, #e8568a);
	border-radius: var(--r-md, 12px);
	padding: var(--s3, 12px) var(--s4, 16px);
	margin-bottom: var(--s6, 24px);
}
.ph-join__preset-t {
	font-size: var(--t-xs, 11.5px);
	font-weight: var(--w-bold, 700);
	color: var(--pink-press, #c9376e);
}
.ph-join__preset-d {
	font-size: var(--t-xs, 11.5px);
	color: var(--pink-press, #c9376e);
	opacity: .85;
	margin-top: 1px;
	line-height: 1.4;
}
.ph-join__preset-x {
	font-size: var(--t-xs, 11.5px);
	font-weight: var(--w-bold, 700);
	color: var(--pink-press, #c9376e);
	text-decoration: underline;
	cursor: pointer;
	display: inline-block;
	margin-top: var(--s2, 8px);
	background: none;
	border: none;
	padding: 0;
	font-family: inherit;
}

/* ── choice rows: one component for intents and tiers alike ── */
.ph-join__opt {
	width: 100%;
	text-align: left;
	font-family: inherit;
	border: 1.5px solid var(--line-2, #d3d7e0);
	border-radius: var(--r-md, 12px);
	padding: var(--s4, 16px);
	margin-bottom: var(--s3, 12px);
	display: flex;
	gap: var(--s4, 16px);
	align-items: center;
	cursor: pointer;
	background: var(--white, #fff);
	/* The design raises tap targets to 44px on mobile. Applied everywhere
	   rather than at a breakpoint: a 44px row is not too big on a desktop,
	   and one rule cannot drift out of step with the other. */
	min-height: var(--tap, 44px);
}
.ph-join__opt:hover { border-color: var(--ink-3, #8f95a6); }
.ph-join__opt.is-on {
	border-color: var(--pink, #e8568a);
	background: var(--pink-soft, #fdeef4);
}
.ph-join__opt:focus-visible {
	outline: 2.5px solid var(--pink, #e8568a);
	outline-offset: 2px;
}
.ph-join__opt[disabled] { opacity: .5; cursor: not-allowed; }
.ph-join__ic {
	width: 36px;
	height: 36px;
	border-radius: var(--r-sm, 8px);
	background: var(--surface, #f6f7f9);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--ink-2, #5b6070);
}
.ph-join__opt.is-on .ph-join__ic {
	background: var(--white, #fff);
	color: var(--pink, #e8568a);
}
.ph-join__body { flex: 1; min-width: 0; }
/* Both of these are spans, and spans are inline, so the title and the
   description ran together as one sentence: "Find and plan nights outSave
   places, build plans". Blocks now, which is what they always read as. */
.ph-join__t {
	display: block;
	font-size: var(--t-body, 14px);
	font-weight: var(--w-bold, 700);
	color: var(--ink, #16181f);
	line-height: 1.35;
}
.ph-join__d {
	display: block;
	font-size: var(--t-sm, 13px);
	color: var(--ink-2, #5b6070);
	line-height: 1.5;
	margin-top: 3px;
}
.ph-join__check {
	margin-left: auto;
	width: 18px;
	height: 18px;
	border-radius: var(--r-pill, 999px);
	border: 1.5px solid var(--line-2, #d3d7e0);
	flex-shrink: 0;
	position: relative;
}
.ph-join__opt.is-on .ph-join__check {
	background: var(--pink, #e8568a);
	border-color: var(--pink, #e8568a);
}
.ph-join__opt.is-on .ph-join__check::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* ── tier rows ── */
.ph-join__price {
	font-size: var(--t-h3, 16px);
	font-weight: var(--w-heavy, 800);
	min-width: 74px;
	color: var(--ink, #16181f);
	white-space: nowrap;
	flex-shrink: 0;
}
/* On the same line as the amount. "/month" belongs to the number, and
   stacking it underneath made one price look like two things. */
.ph-join__period {
	font-size: var(--t-micro, 10.5px);
	font-weight: var(--w-med, 600);
	color: var(--ink-3, #8f95a6);
}
.ph-join__badge {
	font-size: 9.5px;
	font-weight: var(--w-bold, 700);
	padding: 2px 7px;
	border-radius: var(--r-pill, 999px);
	background: var(--purple-soft, #f0ebfa);
	color: var(--purple, #6b46c1);
	margin-left: 6px;
	white-space: nowrap;
}

/* ── the account form ── */
.ph-join__gbtn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--s3, 12px);
	border: 1px solid var(--line-2, #d3d7e0);
	background: var(--white, #fff);
	border-radius: var(--r-md, 12px);
	padding: 11px;
	font: inherit;
	font-size: var(--t-sm, 13px);
	font-weight: var(--w-med, 600);
	cursor: pointer;
	margin-bottom: var(--s4, 16px);
	min-height: var(--tap, 44px);
}
.ph-join__divider {
	display: flex;
	align-items: center;
	gap: var(--s3, 12px);
	margin-bottom: var(--s4, 16px);
	color: var(--ink-3, #8f95a6);
	font-size: var(--t-xs, 11.5px);
}
.ph-join__divider::before,
.ph-join__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--line, #e4e6ec);
}
.ph-join__field { margin-bottom: var(--s4, 16px); }
.ph-join__label {
	display: block;
	font-size: var(--t-xs, 11.5px);
	font-weight: var(--w-bold, 700);
	color: var(--ink-2, #5b6070);
	margin-bottom: var(--s1, 4px);
}
.ph-join__field input {
	width: 100%;
	font: inherit;
	font-size: var(--t-body, 14px);
	padding: 11px var(--s3, 12px);
	border: 1.5px solid var(--line-2, #d3d7e0);
	border-radius: var(--r-md, 12px);
	background: var(--white, #fff);
	color: var(--ink, #16181f);
	min-height: var(--tap, 44px);
}
.ph-join__field input:focus-visible {
	outline: 2.5px solid var(--pink, #e8568a);
	outline-offset: 1px;
	border-color: var(--pink, #e8568a);
}
.ph-join__field.is-error input { border-color: var(--danger, #b03a3f); }

.ph-join__go {
	width: 100%;
	min-height: var(--tap, 44px);
	margin-top: var(--s2, 8px);
}
.ph-join__go[disabled] { opacity: .45; cursor: not-allowed; }

.ph-join__err {
	background: var(--danger-soft, #fbeaea);
	color: var(--danger, #b03a3f);
	border-radius: var(--r-md, 12px);
	padding: var(--s3, 12px) var(--s4, 16px);
	font-size: var(--t-sm, 13px);
	line-height: 1.5;
	margin-bottom: var(--s4, 16px);
}

/* ── the transitional state the mockup did not have ──
   So Continue never looks like it did nothing while the account is being
   created. */
.ph-join__wait { text-align: center; padding: var(--s16, 64px) var(--s4, 16px); }
.ph-join__spinner {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 3px solid var(--line, #e4e6ec);
	border-top-color: var(--pink, #e8568a);
	animation: ph-join-spin .8s linear infinite;
	margin: 0 auto var(--s4, 16px);
}
@keyframes ph-join-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.ph-join__spinner { animation-duration: 2.4s; }
}

/* ── the holding screen ── */
.ph-join__holding { text-align: center; padding: var(--s2, 8px) var(--s1, 4px); }
.ph-join__hicon {
	width: 52px;
	height: 52px;
	border-radius: var(--r-pill, 999px);
	background: var(--pink-soft, #fdeef4);
	color: var(--pink, #e8568a);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto var(--s4, 16px);
}
.ph-join__holdcard {
	background: var(--surface, #f6f7f9);
	border-radius: var(--r-md, 12px);
	padding: var(--s3, 12px);
	text-align: left;
	font-size: var(--t-xs, 11.5px);
	color: var(--ink-2, #5b6070);
	margin-bottom: var(--s4, 16px);
	line-height: 1.55;
}

/* ── Stage 5: the claim search ───────────────────────────────────────
   Shares the join screen's shell, because it is the same journey: one of
   the three things somebody can be doing right after making an account. */
.ph-claim__searchrow { display: flex; gap: var(--s2, 8px); margin-bottom: var(--s4, 16px); }
.ph-claim__input {
	flex: 1;
	min-width: 0;
	font: inherit;
	font-size: var(--t-body, 14px);
	padding: 11px var(--s3, 12px);
	border: 1.5px solid var(--line-2, #d3d7e0);
	border-radius: var(--r-md, 12px);
	min-height: var(--tap, 44px);
	background: var(--white, #fff);
	color: var(--ink, #16181f);
}
.ph-claim__input:focus-visible {
	outline: 2.5px solid var(--pink, #e8568a);
	outline-offset: 1px;
	border-color: var(--pink, #e8568a);
}
.ph-claim__result {
	display: flex;
	align-items: center;
	gap: var(--s3, 12px);
	border: 1.5px solid var(--line-2, #d3d7e0);
	border-radius: var(--r-md, 12px);
	padding: var(--s3, 12px) var(--s4, 16px);
	margin-bottom: var(--s2, 8px);
	min-height: var(--tap, 44px);
	flex-wrap: wrap;
}
.ph-claim__info { flex: 1; min-width: 0; }
.ph-claim__name { display: block; font-size: var(--t-sm, 13px); font-weight: var(--w-bold, 700); color: var(--ink, #16181f); }
.ph-claim__area { display: block; font-size: var(--t-xs, 11.5px); color: var(--ink-2, #5b6070); margin-top: 1px; }
.ph-claim__pick { flex-shrink: 0; }
.ph-claim__tag {
	flex-shrink: 0;
	font-size: var(--t-xs, 11.5px);
	font-weight: var(--w-bold, 700);
	color: var(--ink-3, #8f95a6);
	background: var(--surface, #f6f7f9);
	border-radius: var(--r-pill, 999px);
	padding: 5px 12px;
}
.ph-claim__state {
	border: 1px dashed var(--line-2, #d3d7e0);
	border-radius: var(--r-md, 12px);
	padding: var(--s6, 24px) var(--s4, 16px);
	text-align: center;
	margin-bottom: var(--s4, 16px);
}
.ph-claim__state--bad { border-color: var(--danger, #b03a3f); border-style: solid; }
.ph-claim__statet { margin: 0; font-size: var(--t-sm, 13px); font-weight: var(--w-bold, 700); color: var(--ink, #16181f); }
.ph-claim__stated { margin: var(--s2, 8px) 0 var(--s3, 12px); font-size: var(--t-xs, 11.5px); color: var(--ink-2, #5b6070); line-height: 1.5; }
.ph-claim__hint { display: block; font-size: var(--t-xs, 11.5px); color: var(--ink-3, #8f95a6); margin-top: var(--s1, 4px); }
.ph-claim__cant { margin-top: var(--s6, 24px); padding-top: var(--s4, 16px); border-top: 1px solid var(--line, #e4e6ec); }
.ph-claim__cantt { margin: 0 0 var(--s1, 4px); font-size: var(--t-xs, 11.5px); font-weight: var(--w-bold, 700); color: var(--ink-2, #5b6070); }
.ph-claim__cantlink {
	background: none;
	border: none;
	padding: 0;
	margin-top: var(--s3, 12px);
	font-family: inherit;
	font-size: var(--t-sm, 13px);
	font-weight: var(--w-med, 600);
	color: var(--pink, #e8568a);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.ph-claim__pending {
	display: grid;
	gap: 3px;
	background: var(--open-soft, #e8f4ed);
	border: 1px solid var(--open, #1f7a4d);
	border-radius: var(--r-md, 12px);
	padding: var(--s3, 12px) var(--s4, 16px);
	margin-bottom: var(--s4, 16px);
	font-size: var(--t-xs, 11.5px);
	color: var(--open, #1f7a4d);
	line-height: 1.5;
}
.ph-join__field textarea {
	width: 100%;
	font: inherit;
	font-size: var(--t-body, 14px);
	padding: 11px var(--s3, 12px);
	border: 1.5px solid var(--line-2, #d3d7e0);
	border-radius: var(--r-md, 12px);
	min-height: 90px;
	background: var(--white, #fff);
	color: var(--ink, #16181f);
}
.ph-join__field textarea:focus-visible {
	outline: 2.5px solid var(--pink, #e8568a);
	outline-offset: 1px;
	border-color: var(--pink, #e8568a);
}

/* ── Stage 6: the curator form's one extra control ───────────────────
   A chip row for "Mostly what?". Same shape as the tier and intent rows,
   smaller, because this is one answer among four fields rather than the
   whole question on the screen. */
.ph-curator__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s2, 8px);
	margin: var(--s1, 4px) 0 var(--s4, 16px);
}
.ph-curator__chip {
	min-height: var(--tap, 44px);
	padding: 0 var(--s4, 16px);
	border: 1.5px solid var(--line-2, #d3d7e0);
	border-radius: var(--r-pill, 999px);
	background: var(--white, #fff);
	color: var(--ink, #16181f);
	font-family: inherit;
	font-size: var(--t-sm, 13px);
	font-weight: var(--w-med, 600);
	cursor: pointer;
}
.ph-curator__chip:hover { border-color: var(--ink-3, #8f95a6); }
.ph-curator__chip.is-on {
	background: var(--pink, #e8568a);
	border-color: var(--pink, #e8568a);
	color: var(--white, #fff);
}
.ph-curator__chip:focus-visible {
	outline: 2.5px solid var(--pink, #e8568a);
	outline-offset: 2px;
}

/* ── consent and small print ──────────────────────────────────────────
   Two different things that must not look like one thing. The tick box is
   a decision somebody makes; the line under the button is a statement
   about what pressing it means. Bundling them into one ticked box is what
   makes marketing consent unlawful, so they do not even share a style. */
.ph-join__consent {
	display: flex;
	align-items: flex-start;
	gap: var(--s2, 8px);
	margin: var(--s4, 16px) 0 var(--s3, 12px);
	font-size: var(--t-sm, 13px);
	line-height: 1.45;
	color: var(--ink-2, #5b6070);
	cursor: pointer;
}
.ph-join__consent input {
	/* Big enough to hit, and lined up with the first line of text rather
	   than floating against the middle of a two-line label. */
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	flex-shrink: 0;
	accent-color: var(--pink, #e8568a);
}

.ph-join__legal {
	margin: var(--s3, 12px) 0 0;
	font-size: var(--t-xs, 11.5px);
	line-height: 1.5;
	color: var(--ink-3, #8f95a6);
	text-align: center;
}
.ph-join__legal a {
	color: var(--ink-2, #5b6070);
	text-decoration: underline;
}
.ph-join__legal a:hover { color: var(--pink, #e8568a); }

/* Under a field, explaining why it is being asked. Only the date of birth
   uses it, and only because a date of birth on a restaurant site is a fair
   thing to be suspicious about: saying what it is for costs one line. */
.ph-join__hint {
	margin: var(--s2, 8px) 0 0;
	font-size: var(--t-xs, 11.5px);
	line-height: 1.5;
	color: var(--ink-3, #8f95a6);
}
