/* Pro-Active Fitness public website: premier-club look.
 *
 * Layout and colour for the page sections live on the Builder blocks themselves, so they can be edited in
 * the Builder editor. This file holds what a block style cannot express: keyframes, hover and active states,
 * the tabs and plan cards drawn by home.js, and the sign-up wizard drawn by join.js.
 *
 * Content is never hidden by CSS alone while it waits for JavaScript: scroll reveals only hide under
 * `.pa-js`, a class home.js adds once it is listening.
 */

.brand-proactive {
	--red: #e10a0a;
	--redd: #b80808;
	--bg: #1c1c1c;
	--panel: #2b2b2b;
	--edge: #3d3d3d;
	--mute: #b9b9b9;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	-webkit-font-smoothing: antialiased;
}
.brand-proactive *, .brand-proactive *::before, .brand-proactive *::after { box-sizing: border-box; }
.brand-proactive [hidden] { display: none !important; }
.brand-proactive h1, .brand-proactive h2, .brand-proactive h3 { text-wrap: balance; }

@keyframes pa-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pa-photo { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes pa-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes pa-draw { from { transform: scaleX(0); } to { transform: none; } }
@keyframes pa-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

@media (prefers-reduced-motion: no-preference) {
	[data-pa-enter] { animation: pa-rise 0.9s var(--ease) both; animation-delay: var(--pa-delay, 0ms); }
	.pbg { animation: pa-photo 2.2s var(--ease) both; }
	.pbob { animation: pa-bob 2.4s ease-in-out infinite; }
	.pa-js [data-reveal] { opacity: 0; transform: translateY(28px); }
	.pa-js [data-reveal].pa-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--pa-delay, 0ms); }
	.lj-skel { animation: pa-pulse 1.4s ease-in-out infinite; }
	.plan, .pstp { animation: pa-rise 0.8s var(--ease) both; animation-delay: var(--pa-delay, 0ms); }
}

/* ---- buttons, nav, pills ---- */

.pbtn { cursor: pointer; transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease); }
.pbtn--p:hover { background-color: var(--redd) !important; border-color: var(--redd) !important; }
.pbtn--o:hover { background-color: #ffffff !important; color: #1c1c1c !important; }
.pbtn--r:hover { background-color: var(--red) !important; }
.pbtn:active { transform: scale(0.98); }
.pbtn:focus-visible, .pa-faq__btn:focus-visible, .ptab:focus-visible { outline: 3px solid rgb(225 10 10 / 0.6); outline-offset: 3px; }
.pnav { transition: color 0.2s; }
.pnav:hover { color: var(--red) !important; }
.ppill { transition: background-color 0.2s; }
.ppill:hover { background-color: var(--red); }
.pfoot { transition: color 0.2s; }
.pfoot:hover { color: #ffffff !important; }

/* ---- tabs ---- */

.ptabs { display: flex; gap: 6px; max-width: 900px; margin: 0 auto; padding: 6px; border: 3px solid var(--edge); border-radius: 6px; background: var(--bg); }
.ptab { all: unset; box-sizing: border-box; flex: 1; padding: 16px 12px; border-radius: 4px; text-align: center; color: var(--mute); font: 600 18px/1.25 "Montserrat", sans-serif; cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.ptab small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; opacity: 0.8; }
.ptab:hover { color: #ffffff; }
.ptab.on { background: var(--panel); color: #ffffff; box-shadow: 0 0 0 2px var(--edge) inset; }
@media (max-width: 700px) { .ptabs { flex-direction: column; } }

/* ---- plan cards (home.js) and short-term price cards ---- */

.plan { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 34px 32px 32px; border: 4px solid var(--edge); border-radius: 6px; background: var(--panel); color: #ffffff; transition: transform 0.4s var(--ease), border-color 0.3s; }
.plan:hover { transform: translateY(-6px); border-color: #5a5a5a; }
.plan.pop { border-color: var(--red); }
.plan__tag { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); padding: 6px 34px; border-radius: 12px 12px 0 0; background: var(--red); font: 800 16px "Montserrat", sans-serif; }
.plan__name { margin: 0; min-height: 3.2em; font: 900 24px/1.1 "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: -0.01em; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__fee { font: 700 56px/1 "Barlow Condensed", sans-serif; }
.plan__price small { font: 700 20px "Barlow Condensed", sans-serif; text-transform: uppercase; color: var(--mute); }
.plan__desc { margin: 0; min-height: 4.8em; color: var(--mute); font-size: 16px; line-height: 1.6; }
.plan__join { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.plan__join span:first-child { padding-bottom: 3px; border-bottom: 2px dotted #777; }
.plan .pbtn { align-self: flex-start; margin-top: 4px; display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border: 2px solid var(--red); border-radius: 3px; background: var(--red); color: #ffffff; font: 600 15px "Montserrat", sans-serif; text-decoration: none; }
.plan .pbtn:hover { background: var(--redd); border-color: var(--redd); }

.pstp { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; border: 4px solid var(--edge); border-radius: 6px; background: var(--panel); transition: border-color 0.3s, transform 0.4s var(--ease); }
.pstp:hover { border-color: var(--red); transform: translateY(-4px); }
.pstp small { color: var(--mute); font: 700 15px "Montserrat", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.pstp b { font: 700 50px/1 "Barlow Condensed", sans-serif; }
.pstp a { align-self: flex-start; margin-top: 6px; padding: 12px 22px; border: 2px solid var(--red); border-radius: 3px; color: #ffffff; font: 600 15px "Montserrat", sans-serif; text-decoration: none; transition: background-color 0.2s; }
.pstp a:hover { background: var(--red); }

.lj-joinfees > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--edge); }
.lj-joinfees > div:last-child { border-bottom: 0; }
.lj-plans-note { grid-column: 1 / -1; margin: 0; color: var(--mute); font-size: 16px; }
.lj-plans-note a { color: #ffffff; font-weight: 700; }
.lj-skel { border-radius: 6px; }

/* ---- photo tiles ---- */

.ptile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.85)); }
.ptile > img { transition: transform 1.2s var(--ease); }
.ptile:hover > img { transform: scale(1.07); }
.ptile > div { z-index: 2; }

/* ---- faq ---- */

.pa-faq__panel { display: grid; grid-template-rows: 0fr; }
.pa-faq__panel.is-open { grid-template-rows: 1fr; }
.pa-faq__panel > div { overflow: hidden; }
.pa-faq__btn { cursor: pointer; background: none; border: 0; font: inherit; text-align: left; transition: color 0.3s; }
.pa-faq__btn:hover { color: var(--red) !important; }
.pfaq__pl { transition: transform 0.5s var(--ease), background-color 0.3s, border-color 0.3s; }
.pa-faq__btn[aria-expanded="true"] .pfaq__pl { transform: rotate(45deg); background-color: var(--red); border-color: var(--red) !important; }
@media (prefers-reduced-motion: no-preference) { .pa-faq__panel { transition: grid-template-rows 0.45s var(--ease); } }

/* ======================================================================================================
   The sign-up wizard (join.js): the same steps and fields, in the dark panel
   ====================================================================================================== */

.lj-steps { display: flex; align-items: center; }
.lj-steps i { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid #ffffff; border-radius: 50%; color: #ffffff; font: 700 15px "Montserrat", sans-serif; font-style: normal; transition: background-color 0.3s, color 0.3s; }
.lj-steps i.c, .lj-steps i.d { background: #ffffff; color: var(--red); }
.lj-steps u { display: block; width: 36px; height: 2px; background: #ffffff; }

.lj-wiz { font-family: "Montserrat", sans-serif; color: #ffffff; }
.lj-wiz > * { animation: pa-rise 0.6s var(--ease) both; }
.lj-grid { display: grid; gap: 34px; }
.lj-grid--tight { gap: 4px; }
.lj-two { display: grid; gap: 0 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lj-three { display: grid; gap: 0 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .lj-two, .lj-three { grid-template-columns: minmax(0, 1fr); } }
.lj-h2 { margin: 0 0 6px; font: 800 22px "Montserrat", sans-serif; letter-spacing: -0.01em; }
.lj-sub { margin: 4px 0 0; color: var(--mute); font-size: 15px; line-height: 1.6; }
.lj-field { display: grid; gap: 0; align-content: start; margin-bottom: 14px; }
.lj-field label, .lj-label { color: var(--mute); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.lj-input, .lj-select, .lj-textarea { width: 100%; min-height: 46px; padding: 8px 0 10px; border: 0; border-bottom: 3px solid #3a3a3a; border-radius: 0; background: transparent; color: #ffffff; font: 500 18px "Montserrat", sans-serif; transition: border-color 0.25s; appearance: none; }
.lj-select option { background: #2b2b2b; color: #ffffff; }
.lj-textarea { min-height: 84px; resize: vertical; }
.lj-input::placeholder, .lj-textarea::placeholder { color: #8a8a8a; }
.lj-input:focus, .lj-select:focus, .lj-textarea:focus { outline: none; border-bottom-color: var(--red); box-shadow: none; }
.lj-input[aria-invalid="true"], .lj-select[aria-invalid="true"] { border-bottom-color: #ff5a5a; }
.lj-hint { margin: 0; color: #8d8d8d; font-size: 12px; }
.lj-err { margin: 2px 0 0; color: #ff7b7b; font-size: 13px; }
.lj-alert { padding: 14px 16px; border: 1px solid var(--edge); border-radius: 4px; background: var(--panel); color: #dddddd; font-size: 14px; line-height: 1.6; }
.lj-alert--bad { border-color: #8f2222; background: #3a1616; color: #ffb4b4; }
.lj-check { display: flex; align-items: flex-start; gap: 12px; color: #e8e8e8; font-size: 15px; line-height: 1.5; cursor: pointer; }
.lj-check input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--red); }
.lj-actions { display: flex; justify-content: space-between; gap: 12px; }
.lj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; min-width: 180px; padding: 0 36px; border: 2px solid var(--red); border-radius: 3px; background: var(--red); color: #ffffff; font: 600 17px "Montserrat", sans-serif; cursor: pointer; transition: background-color 0.25s, border-color 0.25s; }
.lj-btn:hover:not(:disabled) { background: var(--redd); border-color: var(--redd); }
.lj-btn:focus-visible { outline: 3px solid rgb(225 10 10 / 0.6); outline-offset: 3px; }
.lj-btn:disabled { border-color: #4a1111; background: #4a1111; color: #8a6a6a; cursor: not-allowed; }
.lj-btn--ghost { min-width: 0; border-color: transparent; background: transparent; color: #d8d8d8; }
.lj-btn--ghost:hover:not(:disabled) { border-color: transparent; background: rgb(255 255 255 / 0.08); }
.lj-btn--outline { border-color: #ffffff; background: transparent; }
.lj-btn--outline:hover:not(:disabled) { background: #ffffff; border-color: #ffffff; color: #1c1c1c; }
.lj-btn--lg { min-height: 60px; }
.lj-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.lj-card { position: relative; padding: 20px 22px; border: 3px solid var(--edge); border-radius: 4px; background: var(--panel); color: #ffffff; text-align: left; font: inherit; cursor: pointer; transition: border-color 0.25s, transform 0.35s var(--ease); }
.lj-card:hover { transform: translateY(-3px); border-color: #666666; }
.lj-card:focus-visible { outline: 3px solid rgb(225 10 10 / 0.6); outline-offset: 2px; }
.lj-card[aria-checked="true"] { border-color: var(--red); }
.lj-card--path { padding: 24px; }
.lj-card--path:hover { border-color: var(--red); }
/* The "What brings you in?" choices: short enough that all three show without scrolling on a laptop. */
.lj-grid--paths { gap: 16px; }
.lj-cards--paths { grid-template-columns: 1fr; gap: 10px; }
.lj-cards--paths .lj-card--path { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; padding: 11px 16px; border-width: 2px; }
.lj-cards--paths .lj-card__ico { grid-row: 1 / span 2; margin: 0; }
.lj-cards--paths .lj-card--path .lj-card__title { font-size: 16px; }
.lj-cards--paths .lj-card__text { margin: 2px 0 0; font-size: 13px; line-height: 1.45; }
.lj-card__ico { display: block; margin-bottom: 12px; color: var(--red); }
.lj-card__title { margin: 0; font: 800 16px/1.25 "Montserrat", sans-serif; overflow-wrap: anywhere; }
.lj-card--path .lj-card__title { font-size: 18px; }
.lj-card__text { margin: 6px 0 0; color: var(--mute); font-size: 14px; line-height: 1.55; }
.lj-card__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.lj-card__row > div:first-child { min-width: 0; }
.lj-card__fee { margin: 0; white-space: nowrap; font: 700 30px/1 "Barlow Condensed", sans-serif; }
.lj-ck { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 2px solid #777777; border-radius: 50%; color: #ffffff; transition: background-color 0.3s, border-color 0.3s; }
.lj-ck svg { opacity: 0; transform: scale(0.4); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.lj-card[aria-checked="true"] .lj-ck { background: var(--red); border-color: var(--red); }
.lj-card[aria-checked="true"] .lj-ck svg { opacity: 1; transform: none; }

.lj-terms { border: 1px solid var(--edge); border-radius: 4px; background: var(--panel); }
.lj-terms details { padding: 0 16px; border-bottom: 1px solid var(--edge); }
.lj-terms summary { padding: 14px 0; color: #ffffff; font-size: 15px; font-weight: 700; cursor: pointer; }
.lj-terms__body { display: grid; gap: 14px; max-height: 288px; padding: 0 8px 10px 0; overflow-y: auto; color: #c4c4c4; font-size: 13px; line-height: 1.6; }
.lj-terms__body p { margin: 0; }
.lj-terms__body h4 { margin: 0 0 6px; color: #ffffff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.lj-terms__body ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; }
.lj-terms__bank { margin: 0; padding: 12px 16px; color: #aaaaaa; font-size: 12px; }

.lj-sig { display: grid; gap: 8px; }
.lj-sig canvas { width: 100%; height: 160px; border: 1px dashed #888888; border-radius: 4px; background: #ffffff; cursor: crosshair; touch-action: none; }
.lj-sig__bar { display: flex; align-items: center; justify-content: space-between; color: var(--mute); font-size: 12px; }
.lj-link { padding: 0; border: 0; background: none; color: #ffffff; font: 600 12px "Montserrat", sans-serif; text-decoration: underline; cursor: pointer; }
.lj-drop { display: grid; gap: 6px; }
.lj-drop__zone { display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 12px; border: 1px dashed #777777; border-radius: 4px; background: transparent; color: var(--mute); font-size: 13px; text-align: center; cursor: pointer; }
.lj-drop__zone:hover, .lj-drop__zone:focus-within { border-color: var(--red); color: #ffffff; }
.lj-drop__zone input { display: none; }
.lj-done { display: flex; align-items: flex-start; gap: 12px; }
.lj-done svg { flex: none; margin-top: 2px; color: var(--red); }

.lj-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgb(0 0 0 / 0.65); }
.lj-modal__box { display: grid; gap: 16px; width: min(460px, 100%); padding: 28px; border: 4px solid var(--edge); border-radius: 6px; background: var(--panel); color: #ffffff; box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.7); }
.lj-modal__box h2 { margin: 0; color: #ffffff; font: 800 20px "Montserrat", sans-serif; }
.lj-modal__box p { margin: 0; color: #cfcfcf; font-size: 14px; line-height: 1.6; }
.lj-modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.lj-survey { position: fixed; inset: 0; z-index: 900; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #212121; color: #ffffff; font-family: "Montserrat", sans-serif; }
@media (max-width: 900px) { .lj-survey { grid-template-columns: minmax(0, 1fr); } .lj-survey__side { display: none; } }
.lj-survey__main { display: flex; flex-direction: column; min-height: 0; }
.lj-survey__top { display: flex; align-items: center; justify-content: space-between; padding: 22px 32px; background: var(--red); }
.lj-wm-img { display: block; height: 32px; width: auto; }
.lj-survey__bar { height: 3px; background: #3a3a3a; }
.lj-survey__bar span { display: block; height: 100%; background: var(--red); transition: width 0.3s var(--ease); }
.lj-survey__body { flex: 1; overflow-y: auto; padding: 24px 32px; }
.lj-survey__q { display: grid; gap: 20px; width: min(32rem, 100%); margin: 0 auto; padding: 24px 0; animation: pa-rise 0.45s var(--ease) both; }
.lj-survey__q h2 { margin: 0; color: #ffffff; font: 900 30px/1.1 "Montserrat", sans-serif; letter-spacing: -0.01em; }
.lj-survey__q p { margin: 0; color: #cfcfcf; font-size: 15px; line-height: 1.6; }
.lj-survey__foot { display: flex; justify-content: space-between; box-sizing: border-box; width: min(36rem, 100%); margin: 0 auto; padding: 16px 32px 28px; }
.lj-yesno { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lj-yesno .lj-btn { min-height: 56px; font-size: 18px; }
.lj-survey__side { position: relative; overflow: hidden; background: #0c0d0f; }
.lj-survey__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lj-survey__side::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(28, 28, 28, 0.15), rgba(60, 6, 6, 0.45) 55%, rgba(28, 28, 28, 0.92)); }
.lj-survey__side div { position: absolute; z-index: 2; left: 40px; right: 40px; bottom: 56px; text-align: center; color: #ffffff; }
.lj-survey__side b { display: none; }
.lj-survey__side strong { display: block; font: 900 40px/1 "Montserrat", sans-serif; text-transform: uppercase; }
.lj-survey__side span { display: block; margin-top: 16px; color: #eeeeee; font-size: 15px; line-height: 1.6; }

@media (max-width: 640px) {
	.lj-steps i { width: 26px; height: 26px; font-size: 12px; }
	.lj-steps u { width: 12px; }
}

/* ---- contact form and map ---- */

.pform { display: grid; gap: 6px; }
.pform__row { display: grid; gap: 0 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .pform__row { grid-template-columns: minmax(0, 1fr); } }
.pform__f { display: block; margin-bottom: 12px; }
.pform__f > span { display: block; color: var(--mute); font-size: 13px; font-weight: 600; }
.pform input:not(.pform__hp), .pform textarea { width: 100%; min-height: 46px; padding: 8px 0 10px; border: 0; border-bottom: 3px solid #3a3a3a; border-radius: 0; background: transparent; color: #ffffff; font: 500 18px "Montserrat", sans-serif; transition: border-color 0.25s; }
.pform textarea { min-height: 110px; resize: vertical; }
.pform input:focus, .pform textarea:focus { outline: none; border-bottom-color: var(--red); }
.pform [aria-invalid="true"] { border-bottom-color: #ff5a5a !important; }
.pform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pform__go { justify-self: start; display: inline-flex; align-items: center; justify-content: center; height: 56px; min-width: 200px; padding: 0 36px; border: 2px solid var(--red); border-radius: 3px; background: var(--red); color: #ffffff; font: 600 17px "Montserrat", sans-serif; cursor: pointer; margin-top: 8px; transition: background-color 0.25s, border-color 0.25s; }
.pform__go:hover:not(:disabled) { background: var(--redd); border-color: var(--redd); }
.pform__go:disabled { border-color: #4a1111; background: #4a1111; color: #8a6a6a; cursor: wait; }
.pform__msg { min-height: 1.4em; margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--mute); }
.pform__msg.bad { color: #ff7b7b; }
.pform__msg.good { color: #7ddc9a; font-weight: 600; }
.pmap iframe { filter: invert(100%) hue-rotate(180deg) brightness(0.9) contrast(0.9) grayscale(0.4); }

/* ---- log in page ---- */
.lj-or { display: flex; align-items: center; gap: 14px; margin: 26px 0; color: var(--mute); font-size: 13px; }
.lj-or::before, .lj-or::after { content: ""; flex: 1; height: 1px; background: var(--edge); }
.lj-btn--wide { width: 100%; text-decoration: none; }
.lj-btn--wide img { border-radius: 4px; }

/* ---- phones ---- */
html { overflow-x: hidden; }  /* browsers that ignore overflow-x: clip must not widen the page */
.pmenu.is-open { display: block !important; }
@media (min-width: 577px) { .pmenu { display: none !important; } }
.pmenu-btn:focus-visible, .pnav:focus-visible { outline: 3px solid rgb(225 10 10 / 0.6); outline-offset: 2px; }
.pbtn, .lj-btn { min-height: 44px; }
@media (max-width: 576px) {
	.ptab { padding: 14px 10px; font-size: 16px; }
	.plan { padding: 26px 22px; }
	.plan__fee { font-size: 46px; }
}

/* Photos that scale while they settle must never widen the page: clip strictly, and on phones skip the scale. */
section:has(> .pbg) { overflow: clip; contain: paint; }
@media (max-width: 576px) { .pbg { animation: none; transform: none; } }

/* ---- short-term form (short-term.js) ---- */
.lj-q { margin: 0; padding: 16px 18px; border: 2px solid var(--edge); border-radius: 4px; background: var(--panel); }
.lj-q[aria-invalid="true"] { border-color: var(--red); }
.lj-q legend { float: left; width: 100%; margin: 0 0 12px; padding: 0; color: #ffffff; font-size: 15px; font-weight: 600; line-height: 1.5; }
.lj-q legend + * { clear: both; }
.lj-q__opts { display: flex; gap: 28px; margin-top: 4px; }
.lj-sum { display: grid; gap: 0; border: 1px solid var(--edge); border-radius: 4px; background: var(--panel); }
.lj-sum__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--edge); color: #cfcfcf; font-size: 15px; }
.lj-sum__row:last-child { border-bottom: 0; }
.lj-sum__row strong { color: #ffffff; text-align: right; }
.lj-sum__row--total strong { font: 700 22px "Barlow Condensed", "Montserrat", sans-serif; }
.lj-terms__list { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.lj-terms__rich > :first-child { margin-top: 0; }
a.lj-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* ---- the payment step (join.js): what to pay, how, and what happened ---- */

.lj-pay-sum { border: 3px solid var(--edge); border-radius: 4px; background: var(--panel); overflow: hidden; }
.lj-pay-sum__head, .lj-pay-sum__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 16px 24px; border-bottom: 1px solid var(--edge); }
.lj-pay-sum__head { align-items: baseline; }
.lj-pay-sum__row p { margin: 0; }
.lj-pay-sum__label { margin: 0; font-size: 15px; font-weight: 600; }
.lj-pay-sum__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 24px; background: var(--bg); }
.lj-pay-sum__total > span { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.lj-pay-sum > .lj-pay-sum__total:only-child { padding: 18px 24px; }
.lj-money { margin: 0; font: 700 22px/1 "Barlow Condensed", sans-serif; white-space: nowrap; }
.lj-money .lj-hint { font: 500 12px "Montserrat", sans-serif; }
.lj-money--m { font-size: 24px; }
.lj-money--xl { font-size: 44px; }
.lj-kv { display: flex; justify-content: space-between; gap: 24px; padding: 10px 24px; border-bottom: 1px solid #353535; font-size: 14px; line-height: 1.5; }
.lj-kv:last-child { border-bottom: 0; }
.lj-kv span { color: var(--mute); }
.lj-kv strong { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.lj-hint--note { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--mute); }
.lj-methods { display: grid; gap: 12px; margin-top: 14px; }
.lj-methods .lj-card__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lj-methods .lj-hint { margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--mute); }
.lj-card[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.lj-card[aria-disabled="true"]:hover { transform: none; border-color: var(--edge); }
.lj-tag { padding: 2px 8px; border: 1px solid var(--red); border-radius: 2px; color: #ff8a8a; font: 700 11px "Montserrat", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.lj-next { display: grid; gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.lj-next li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.55; }
.lj-next li > span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #ffffff; border-radius: 50%; font-weight: 700; font-size: 13px; }
.lj-next li > div { padding-top: 3px; }
@media (max-width: 640px) {
	.lj-pay-actions { flex-direction: column; }
	.lj-pay-actions .lj-btn { width: 100%; }
	.lj-pay-sum__head, .lj-pay-sum__row, .lj-pay-sum__total { padding-left: 18px; padding-right: 18px; }
	.lj-kv { padding-left: 18px; padding-right: 18px; }
	.lj-money--xl { font-size: 40px; }
}
