/* =========================================================================
   ATIE Presence — page template (templates/template-presence.php)
   Dark product showcase. Accent stays the ATIE red; fonts from main.css.
   ========================================================================= */

.atie-presence-dark {
	--p-bg: #0e0e0f;
	--p-panel: #161618;
	--p-card: #1b1b1e;
	--p-line: rgba(255, 255, 255, 0.08);
	--p-text: #f4f4f5;
	--p-muted: #a1a1aa;
	--p-faint: #8b8b94;
	background: var(--p-bg);
	color: var(--p-text);
}

/* ---- Site header on the dark page ------------------------------------- */
/* animation: none — the site's additional CSS animates the header to white on scroll, which would beat these colours. */
.atie-presence-dark .site-header { animation: none; background: rgba(14, 14, 15, 0.86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--p-line); box-shadow: none; }
.atie-presence-dark .main-nav__list a { color: var(--p-text); }
.atie-presence-dark .main-nav__list a:hover,
.atie-presence-dark .main-nav__list .current-menu-item > a { color: var(--red); }
.atie-presence-dark .main-nav__list .sub-menu { background: var(--p-panel); border-color: var(--p-line); }
.atie-presence-dark .nav-toggle__bar { background: var(--p-text); }
.atie-presence-dark .site-header__brand img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.35)); }
@media (max-width: 860px) {
	.atie-presence-dark .site-header { background: var(--p-bg); }
	.atie-presence-dark .main-nav { background: var(--p-panel); border-bottom-color: var(--p-line); }
	/* The closed menu is only shifted by 130% of its height: hide it fully so no link peeks under the header. */
	.atie-presence-dark .main-nav:not(.is-open) { visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; }
	.atie-presence-dark .main-nav__list li { border-top-color: var(--p-line); }
}

/* ---- Shared ------------------------------------------------------------ */
.presence-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 64px); }
.presence-kicker {
	display: inline-block; font-family: var(--font-ui); font-weight: 600; font-size: 12px;
	letter-spacing: 0.22em; text-transform: uppercase; color: var(--red);
}
.presence-h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.01em; color: var(--p-text); }
.presence-note { margin: 18px 0 0; font-size: 13px; color: var(--p-faint); }
.presence a:focus-visible,
.presence button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---- Welcome + action cards ------------------------------------------- */
.presence-welcome { padding: clamp(40px, 9vh, 104px) 0 clamp(36px, 6vh, 64px); }
.presence-welcome__title {
	margin-top: 12px; max-width: 900px;
	font-size: clamp(32px, 4.6vw, 58px); font-weight: 600; line-height: 1.05; color: var(--p-text); text-wrap: balance;
}
.presence-welcome__lead { margin: 14px 0 0; max-width: 640px; font-size: clamp(15px, 1.5vw, 18px); color: var(--p-muted); }

.presence-actions { margin-top: clamp(28px, 4vh, 44px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.presence-action {
	display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
	padding: 24px; border-radius: 18px; background: var(--p-panel); border: 1px solid var(--p-line);
	color: var(--p-text); text-decoration: none; font: inherit; text-align: left; cursor: pointer;
	transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.presence-action:hover { border-color: rgba(255, 255, 255, 0.2); background: #1c1c1f; transform: translateY(-2px); }
.presence-action__icon {
	width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff;
}
.presence-action__icon--red { background: linear-gradient(160deg, #ff4a4f, var(--red)); }
.presence-action__icon--green { background: linear-gradient(160deg, #4cd964, #22a33a); }
.presence-action__icon--blue { background: linear-gradient(160deg, #3d9bff, #1567e0); }
.presence-action__label { font-family: var(--font-ui); font-weight: 500; font-size: 16px; }

.presence-intro { margin-top: 32px; max-width: 760px; color: var(--p-muted); }
.presence-intro a { color: var(--p-text); }

/* ---- Featured receptionists ------------------------------------------- */
.presence-featured { padding: clamp(28px, 5vh, 56px) 0; scroll-margin-top: 110px; }
.presence-featured__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.presence-link { font-family: var(--font-ui); font-weight: 500; color: var(--p-text); text-decoration: none; white-space: nowrap; }
.presence-link:hover { color: var(--red); }

.presence-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.presence-card {
	position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 22px; overflow: hidden;
	background: var(--p-card); border: 1px solid var(--p-line); color: var(--p-text); text-decoration: none;
	isolation: isolate;
}
.presence-card__hit { position: absolute; inset: 0; z-index: 3; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.presence-card__media,
.presence-card__media img,
.presence-card__face,
.presence-card__face svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.presence-card__media video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 18%; transition: transform .5s ease; }
.presence-card__media img { object-fit: cover; object-position: 50% 18%; transition: transform .5s ease; }
.presence-card__face { --sand: #26262a; }
.presence-card__face .lid { display: none; }
.presence-card:hover .presence-card__media img,
.presence-card:hover .presence-card__media video { transform: scale(1.04); }
.presence-card__info {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	padding: 64px 20px 20px;
	background: linear-gradient(to top, rgba(10, 10, 11, 0.94) 0%, rgba(10, 10, 11, 0.72) 55%, rgba(10, 10, 11, 0) 100%);
}
.presence-card__langs { list-style: none; margin: 0 0 10px; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.presence-card__langs li {
	font-family: var(--font-ui); font-weight: 600; font-size: 11px; letter-spacing: 0.08em;
	padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff;
}
.presence-card__name { display: block; font-size: 26px; font-weight: 600; color: #fff; }
.presence-card__role { margin: 4px 0 0; font-family: var(--font-ui); font-size: 13.5px; font-weight: 500; color: #fff; }
.presence-card__role span { color: var(--p-muted); font-weight: 400; }
.presence-card__text { display: block; margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #d4d4d8; }
.presence-card__try {
	display: inline-flex; margin-top: 14px; padding: 9px 16px; border-radius: 999px;
	background: var(--red); color: #fff; font-family: var(--font-ui); font-weight: 600; font-size: 13.5px;
	transition: background .2s ease;
}
.presence-card:hover .presence-card__try { background: var(--red-dark); }

.presence-card--custom {
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 28px;
	background: var(--p-panel); border: 1px dashed rgba(255, 255, 255, 0.22); transition: border-color .2s ease, background .2s ease;
}
.presence-card--custom:hover { border-color: var(--red); background: #1c1c1f; }
.presence-card__plus {
	width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
	background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 30px; line-height: 1; margin-bottom: 8px;
}
.presence-card--custom .presence-card__text { color: var(--p-muted); }
.presence-card--custom .presence-card__try { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4); }
.presence-card--custom:hover .presence-card__try { background: var(--red); box-shadow: none; }

/* ---- Steps ------------------------------------------------------------- */
.presence-steps { padding: clamp(40px, 7vh, 80px) 0 clamp(20px, 3vh, 32px); }
.presence-steps__list {
	list-style: none; margin: 20px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.presence-step { padding: 24px; border-radius: 18px; background: var(--p-panel); border: 1px solid var(--p-line); }
.presence-step__num {
	display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
	background: rgba(227, 30, 36, 0.16); color: #ff5a5f; font-family: var(--font-ui); font-weight: 700;
}
.presence-step__title { margin-top: 14px; font-size: 18px; font-weight: 600; color: var(--p-text); }
.presence-step__text { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--p-muted); }

/* ---- Pricing ----------------------------------------------------------- */
.presence-pricing { padding: clamp(28px, 5vh, 56px) 0; scroll-margin-top: 110px; }
.presence-pricing__lead { margin: 8px 0 0; max-width: 640px; color: var(--p-muted); }
.presence-plans { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.presence-plan {
	position: relative; display: flex; flex-direction: column;
	padding: 24px; border-radius: 18px; background: var(--p-panel); border: 1px solid var(--p-line);
}
.presence-plan--featured { border-color: rgba(227, 30, 36, 0.7); background: radial-gradient(120% 90% at 0% 0%, rgba(227, 30, 36, 0.16), rgba(227, 30, 36, 0) 60%), var(--p-panel); }
.presence-plan__badge {
	position: absolute; top: -11px; left: 24px; padding: 3px 10px; border-radius: 999px;
	background: var(--red); color: #fff; font-family: var(--font-ui); font-weight: 600; font-size: 11.5px; letter-spacing: 0.04em;
}
.presence-plan__name { font-size: 18px; font-weight: 600; color: var(--p-text); }
.presence-plan__price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 0; }
.presence-plan__currency { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--p-muted); }
.presence-plan__amount { font-size: 36px; font-weight: 600; line-height: 1; color: var(--p-text); }
.presence-plan__period { font-size: 14px; color: var(--p-muted); }
.presence-plan__text { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--p-muted); }
.presence-plan__features { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 8px; }
.presence-plan__features li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.45; color: #d4d4d8; }
.presence-plan__features li::before {
	content: ""; position: absolute; left: 2px; top: 0.5em; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg);
}
.presence-plan__cta { margin-top: auto; justify-content: center; }

/* ---- Trust ------------------------------------------------------------- */
.presence-trust { padding: clamp(28px, 5vh, 56px) 0; }
.presence-trust__box {
	display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(20px, 4vw, 56px); align-items: center;
	padding: clamp(24px, 4vw, 48px); border-radius: 22px;
	background: radial-gradient(120% 140% at 0% 0%, rgba(227, 30, 36, 0.18), rgba(227, 30, 36, 0) 55%), var(--p-panel);
	border: 1px solid var(--p-line);
}
.presence-trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.presence-trust__list li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.5; color: #d4d4d8; }
.presence-trust__list li::before {
	content: ""; position: absolute; left: 0; top: 0.45em; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg);
}

/* ---- Closing call to action ------------------------------------------- */
.presence-cta { padding-top: clamp(40px, 7vh, 80px); text-align: center; }
.presence-cta__text { margin: 12px auto 24px; max-width: 560px; color: var(--p-muted); }
.presence-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.presence-btn--ghost { background: transparent; color: var(--p-text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.presence-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1024px) {
	.presence-gallery,
	.presence-plans { grid-template-columns: repeat(2, 1fr); }
	.presence-card--custom { aspect-ratio: auto; min-height: 260px; }
}
@media (max-width: 760px) {
	.presence-actions,
	.presence-steps__list,
	.presence-trust__box,
	.presence-trust__list,
	.presence-plans { grid-template-columns: 1fr; }
	.presence-plans { gap: 24px; }
	.presence-action { flex-direction: row; align-items: center; padding: 16px; }
	.presence-action__icon { width: 44px; height: 44px; flex: none; }
}
@media (max-width: 560px) {
	.presence-gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.presence-card__media img, .presence-card__media video, .presence-action { transition: none; }
}

/* ---- Showcase bubble (live trials off) -------------------------------- */
.presence-bubble {
	position: fixed; right: 20px; bottom: 20px; z-index: 50;
	display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff;
}
.presence-bubble__face {
	width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex: none; order: 2;
	border: 3px solid var(--red); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); background: var(--p-card);
	transition: transform .2s ease;
}
.presence-bubble__face video,
.presence-bubble__face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.presence-bubble__label {
	order: 1; padding: 9px 14px; border-radius: 999px; background: rgba(22, 22, 24, 0.94); border: 1px solid var(--p-line);
	font-family: var(--font-ui); font-weight: 600; font-size: 13.5px; white-space: nowrap;
}
.presence-bubble:hover .presence-bubble__face { transform: scale(1.06); }
@media (max-width: 560px) {
	.presence-bubble__label { display: none; }
	.presence-bubble__face { width: 64px; height: 64px; }
}

/* ---- Receptionist preview dialog -------------------------------------- */
html:has(.presence-preview[open]) { overflow: hidden; }
.presence-preview {
	width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto;
	border: 1px solid var(--p-line); border-radius: 24px; background: var(--p-panel); color: var(--p-text);
}
.presence-preview::backdrop { background: rgba(5, 5, 6, 0.78); backdrop-filter: blur(4px); }
.presence-preview__close {
	position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center;
	border: 0; border-radius: 50%; background: rgba(14, 14, 15, 0.72); color: #fff; cursor: pointer;
}
.presence-preview__close:hover { background: var(--red); }
.presence-preview__panel { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.presence-preview__panel[hidden] { display: none; }
.presence-preview__media { position: relative; min-height: 560px; background: var(--p-card); }
.presence-preview__media video,
.presence-preview__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.presence-preview__body { padding: clamp(24px, 3vw, 36px); }
.presence-preview__tabs { display: inline-flex; gap: 4px; margin: 0 56px 20px 0; padding: 4px; border-radius: 999px; background: var(--p-card); }
.presence-preview__tab {
	min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--p-muted);
	font-family: var(--font-ui); font-weight: 600; font-size: 14px; cursor: pointer;
}
.presence-preview__tab[aria-pressed="true"] { background: var(--p-text); color: var(--p-bg); }
.presence-preview__name { font-size: clamp(28px, 3vw, 36px); font-weight: 600; color: #fff; }
.presence-preview__role { margin: 4px 0 12px; font-family: var(--font-ui); font-size: 14.5px; font-weight: 500; color: #fff; }
.presence-preview__role span { color: var(--p-muted); font-weight: 400; }
.presence-preview__tone { margin: 12px 0 0; font-size: 14.5px; color: var(--p-muted); }
.presence-preview__label { margin-top: 22px; font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--p-muted); }
.presence-chat { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.presence-chat__line {
	max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45;
	animation: presence-chat-in .35s ease both;
}
.presence-chat__line:nth-child(2) { animation-delay: .5s; }
.presence-chat__line:nth-child(3) { animation-delay: 1s; }
.presence-chat__line--agent { justify-self: start; background: var(--p-card); color: #e4e4e7; border-bottom-left-radius: 4px; }
.presence-chat__line--visitor { justify-self: end; background: var(--red); color: #fff; border-bottom-right-radius: 4px; }
@keyframes presence-chat-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.presence-preview__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 760px) {
	.presence-preview__panel { grid-template-columns: 1fr; }
	.presence-preview__media { min-height: 0; aspect-ratio: 4 / 3; }
	.presence-preview__actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.presence-chat__line { animation: none; }
}

/* ---- Footer ------------------------------------------------------------ */
.presence-foot { margin-top: clamp(48px, 8vh, 96px); padding: 24px 0 96px; border-top: 1px solid var(--p-line); font-size: 14px; color: var(--p-muted); }
.presence-foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.presence-foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.presence-foot a { color: var(--p-text); }
.presence-foot a:hover { color: var(--red); }

/* ---- Sign-up path: four steps (templates/template-presence-signup.php) -- */
.presence-flow { padding-top: clamp(24px, 4vh, 44px); }
.presence-signup__back { display: block; width: fit-content; margin-bottom: 18px; font-size: 14px; color: var(--p-muted); }
.presence-signup__steps { margin: 24px 0; padding-left: 20px; color: #d4d4d8; display: grid; gap: 8px; font-size: 15px; }
.presence-signup__error { margin: 20px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(227, 30, 36, 0.14); border: 1px solid rgba(227, 30, 36, 0.5); color: #fecaca; }
.presence-flow__title { margin-top: 8px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; line-height: 1.1; color: var(--p-text); }
.presence-flow__lead { margin: 6px 0 20px; color: var(--p-muted); }
.presence-flow__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: 24px; }
.presence-step-panel > h2:focus { outline: none; }
.presence-step-panel[hidden] { display: none; }
.presence-step-panel .presence-form__group,
.presence-step-panel > .presence-form__field { margin-top: 18px; }

.presence-stepper { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 24px 0 0; padding: 0; }
.presence-stepper[hidden] { display: none; }
.presence-stepper__btn {
	width: 100%; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 8px 0 0;
	border: 0; border-top: 3px solid rgba(255, 255, 255, 0.14); background: transparent; color: var(--p-muted);
	font-family: var(--font-ui); font-size: 14px; font-weight: 500; text-align: left; cursor: pointer;
}
.presence-stepper__num { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font-size: 12.5px; font-weight: 700; }
.is-current > .presence-stepper__btn { border-top-color: var(--red); color: #fff; }
.is-current .presence-stepper__num { background: var(--red); color: #fff; }
.is-done > .presence-stepper__btn { border-top-color: rgba(227, 30, 36, 0.55); color: #d4d4d8; }

.presence-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.presence-pick__card {
	position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 18px; cursor: pointer;
	background: var(--p-card); border: 1px solid var(--p-line); transition: border-color .2s ease, transform .2s ease;
}
.presence-pick__card:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.28); }
.presence-pick__card:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.presence-pick__card:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 3px; }
.presence-pick__card input { position: absolute; opacity: 0; }
.presence-pick__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.presence-pick__info {
	position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 44px 14px 14px;
	background: linear-gradient(to top, rgba(10, 10, 11, 0.94), rgba(10, 10, 11, 0)); font-size: 13px; line-height: 1.35; color: #d4d4d8;
}
.presence-pick__info strong { font-size: 19px; font-weight: 600; color: #fff; }
.presence-pick__card--custom { border-style: dashed; border-color: rgba(255, 255, 255, 0.24); }
.presence-pick__card--custom .presence-card__plus { position: absolute; left: 14px; top: 14px; margin: 0; }

.presence-choice--plan { align-items: center; padding: 14px 16px; }
.presence-choice--plan input { margin-top: 0; }
.presence-choice__main { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 13.5px; color: var(--p-muted); }
.presence-choice__main strong { font-size: 16px; font-weight: 600; color: #fff; }
.presence-choice__main em { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--red); font-style: normal; font-size: 11px; font-weight: 600; color: #fff; }
.presence-choice__price { flex: none; font-family: var(--font-ui); font-size: 17px; font-weight: 700; color: #fff; white-space: nowrap; }

.presence-review { margin: 0 0 18px; border-radius: 14px; background: var(--p-card); border: 1px solid var(--p-line); }
.presence-review div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 12px 14px; }
.presence-review div + div { border-top: 1px solid var(--p-line); }
.presence-review dt { font-size: 13.5px; color: var(--p-muted); }
.presence-review dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-size: 14.5px; color: #fff; }

.presence-flow__bar { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.presence-flow__bar [hidden] { display: none; }
.presence-flow-on .presence-flow__bar { position: sticky; bottom: 12px; z-index: 5; padding: 10px; }

.presence-done { max-width: 680px; padding: clamp(16px, 5vh, 56px) 0; }
.presence-done__mark { width: 60px; height: 60px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; }

.presence-summary { position: sticky; top: 130px; padding: 16px; border-radius: 18px; background: var(--p-panel); border: 1px solid var(--p-line); }
.presence-summary__persona { display: flex; align-items: center; gap: 14px; }
.presence-summary__persona[hidden],
.presence-summary__plan[hidden] { display: none; }
.presence-summary__persona img { width: 72px; height: 72px; flex: none; border-radius: 16px; object-fit: cover; object-position: 50% 18%; }
.presence-summary__persona .presence-card__plus { flex: none; margin: 0; }
.presence-summary__persona strong { display: block; font-size: 18px; color: #fff; }
.presence-summary__persona span { font-size: 14px; color: var(--p-muted); }
.presence-summary__plan { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--p-line); font-size: 14.5px; color: #d4d4d8; }
.presence-summary__plan strong { font-size: 20px; color: #fff; white-space: nowrap; }
.presence-summary__note { margin: 12px 0 0; font-size: 13px; color: var(--p-faint); }

@media (max-width: 960px) {
	.presence-flow__grid { grid-template-columns: 1fr; }
	.presence-summary { position: static; order: -1; }
	.presence-summary__persona img { width: 52px; height: 52px; }
	.presence-summary__note { display: none; }
}
@media (max-width: 560px) {
	.presence-stepper { display: flex; }
	.presence-stepper__item { flex: none; }
	.presence-stepper__item.is-current { flex: 1; }
	.presence-stepper__label { display: none; }
	.is-current .presence-stepper__label { display: inline; }
	.presence-pick { grid-template-columns: 1fr 1fr; }
	.presence-pick__card--custom { grid-column: 1 / -1; aspect-ratio: auto; min-height: 120px; }
	.presence-flow__bar .btn { flex: 1; justify-content: center; }
}

/* ---- Liquid glass: only on what floats over the page or a video --------- */
.presence-card__langs li,
.presence-preview__close,
.presence-preview__tabs,
.presence-bubble__label,
.presence-flow-on .presence-flow__bar {
	background: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(16px) saturate(170%);
	backdrop-filter: blur(16px) saturate(170%);
	border: 1px solid rgba(255, 255, 255, 0.16);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 24px rgba(0, 0, 0, 0.28);
}
.presence-flow-on .presence-flow__bar { border-radius: 20px; background: rgba(27, 27, 30, 0.62); }
.atie-presence-dark .site-header {
	background: rgba(14, 14, 15, 0.55);
	-webkit-backdrop-filter: blur(18px) saturate(170%);
	backdrop-filter: blur(18px) saturate(170%);
}
@media (prefers-reduced-transparency: reduce) {
	.presence-card__langs li,
	.presence-preview__close,
	.presence-preview__tabs,
	.presence-bubble__label,
	.presence-flow-on .presence-flow__bar,
	.atie-presence-dark .site-header { background: var(--p-panel); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.presence-form { display: grid; gap: 22px; }
.presence-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.presence-form__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.presence-form__group legend { margin-bottom: 10px; font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: var(--p-text); }
.presence-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.presence-form__field { margin: 0; display: grid; gap: 6px; }
.presence-form__field label { font-size: 13.5px; color: var(--p-muted); }
.presence-form input[type="text"],
.presence-form input[type="email"],
.presence-form input[type="url"],
.presence-form input[type="tel"],
.presence-form textarea {
	width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: 12px;
	background: var(--p-card); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--p-text);
	font: inherit; font-size: 15px;
}
.presence-form input:focus-visible,
.presence-form textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.presence-form__choices { display: grid; gap: 8px; }
.presence-form__choices--row { display: flex; flex-wrap: wrap; gap: 8px; }
.presence-choice {
	display: flex; align-items: flex-start; gap: 10px; padding: 10px 13px; border-radius: 12px;
	background: var(--p-card); border: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; font-size: 14.5px; color: #e4e4e7;
}
.presence-choice:has(input:checked) { border-color: var(--red); background: rgba(227, 30, 36, 0.1); }
.presence-choice input { accent-color: var(--red); margin-top: 3px; }
.presence-form__consent { background: transparent; border: 0; padding: 0; font-size: 13.5px; color: var(--p-muted); }
.presence-form__consent a { color: var(--p-text); }
.presence-form__submit { justify-content: center; }

@media (max-width: 860px) {
	.presence-form__grid { grid-template-columns: 1fr; }
}
