/* ==========================================================================
   UPD Chatbot Popup
   Every selector is prefixed with .upd-cb- so theme/Elementor styles cannot
   leak in and these styles cannot leak out. Hover/focus rules are written
   with 3 classes so they beat Elementor kit rules like `.elementor-kit-7 button:hover`.
   ========================================================================== */

/* ---------- Trigger button (shortcode output) ---------- */
.upd-cb-trigger.upd-cb-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 12px 22px;
	border: 0;
	border-radius: 12px;
	background: #df5b00;
	box-shadow: none;
	color: #fff;
	font: 600 16px/1.2 'Rethink Sans', sans-serif;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease;
}
.upd-cb-trigger.upd-cb-trigger:hover,
.upd-cb-trigger.upd-cb-trigger:focus {
	background: #c45000;
	color: #fff;
}
.upd-cb-trigger.upd-cb-trigger img {
	display: block;
	width: auto;
	height: auto;
}

/* ---------- Page lock while open ---------- */
html.upd-cb-lock,
html.upd-cb-lock body {
	overflow: hidden;
}
html.upd-cb-lock body {
	padding-right: var(--upd-cb-sbw, 0px);
}

/* ---------- Overlay & reset ---------- */
.upd-cb-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow: hidden;
	background: rgba(7, 24, 44, .6);
	opacity: 0;
	transition: opacity .3s ease;
	font-family: 'Rethink Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-align: left;
}
.upd-cb-overlay.is-visible { display: flex; }
.upd-cb-overlay.is-open { opacity: 1; }

.upd-cb-overlay *,
.upd-cb-overlay *::before,
.upd-cb-overlay *::after {
	box-sizing: border-box;
}
.upd-cb-overlay h2,
.upd-cb-overlay h3,
.upd-cb-overlay p {
	margin: 0;
	padding: 0;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
	word-break: break-word;
}
.upd-cb-overlay img {
	display: block;
	max-width: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	-webkit-user-drag: none;
	user-select: none;
}
.upd-cb-overlay button {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
	line-height: normal;
	min-height: 0;
	cursor: pointer;
}
.upd-cb-overlay button:focus-visible {
	outline: 2px solid #df5b00;
	outline-offset: 2px;
}

/* ---------- Stage & modal (desktop: fixed 1388x844 design, scaled by JS) ---------- */
.upd-cb-stage {
	position: relative;
	flex: none;
	width: calc(1388px * var(--upd-cb-scale, 1));
	height: calc(844px * var(--upd-cb-scale, 1));
	transform: translateY(16px);
	transition: transform .35s ease;
}
.upd-cb-overlay.is-open .upd-cb-stage { transform: none; }

.upd-cb-modal {
	position: relative;
	width: 1388px;
	height: 844px;
	overflow: hidden;
	border-radius: 20px;
	background: linear-gradient(152deg, #FFFFFF 0%, #EAF5FF 55%, #80C6F5 100%);
	/* background: url(../images/modal-bg.svg) 0 0 / 100% 100% no-repeat; */
	transform: scale(var(--upd-cb-scale, 1));
	transform-origin: 0 0;
}
.upd-cb-modal::before,
.upd-cb-modal::after {
	content: '';
	position: absolute;
	left: 0;
	width: 100%;
	pointer-events: none;
	background-size: 100% 100%;
	background-repeat: no-repeat;
}
.upd-cb-modal::after {
	bottom: 0;
	height: 39.57%;
	background-image: url(../images/wave-bottom.svg);
}
.upd-cb-modal::before {
	top: 0;
	height: 35.55%;
	background-image: url(../images/wave-top.svg);
}

/* ---------- Fixed chrome: close, logo ---------- */
.upd-cb-overlay .upd-cb-close {
	position: absolute;
	top: 12px;
	right: 10px;
	z-index: 4;
	display: flex;
	padding: 0;
	border: 0;
	border-radius: 50%;
	transition: transform .2s ease;
}
.upd-cb-overlay .upd-cb-close:hover,
.upd-cb-overlay .upd-cb-close:focus {
	background: none;
	transform: rotate(90deg);
}

.upd-cb-overlay .upd-cb-logo {
	position: absolute;
	left: 50px;
	top: 40px;
	z-index: 3;
	width: 261px;
	height: 90px;
	object-fit: cover;
}
/* ---------- Slider ---------- */
.upd-cb-viewport {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	touch-action: pan-y;
	user-select: none;
}
.upd-cb-track {
	display: flex;
	height: 100%;
	transition: transform .55s cubic-bezier(.65, 0, .35, 1);
	will-change: transform;
}
.upd-cb-track.is-instant { transition: none; }

.upd-cb-slide {
	--upd-cb-gap: 22px;
	position: relative;
	flex: 0 0 100%;
	display: flex;
	align-items: flex-start;
	gap: 50px;
	overflow: hidden;
	padding: 40px 50px;
}
.upd-cb-slide--1 { --upd-cb-gap: 26px; }
.upd-cb-slide--2 { --upd-cb-gap: 25px; }

.upd-cb-content {
	flex: none;
	width: 590px;
	padding-top: calc(90px + var(--upd-cb-gap));
	display: flex;
	flex-direction: column;
	gap: var(--upd-cb-gap);
}

/* Chat screenshot + its "Chat" launcher pill + Amanda overlapping it */
.upd-cb-chat-wrap {
	position: relative;
	flex: none;
	width: 435.594px;
	height: 764px;
}
.upd-cb-chat {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.upd-cb-overlay .upd-cb-chat img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.upd-cb-chat-pill {
	position: absolute;
	left: calc(100% + 25.4px);
	top: 0;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 100px;
	background: #0f2744;
	box-shadow: 0 4px 10px rgba(15, 23, 42, .15);
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	line-height: 30px;
	white-space: nowrap;
	cursor: default;
	pointer-events: none;
}
/* Amanda sits on the modal, not in a slide, so she stays put while slides move */
.upd-cb-overlay .upd-cb-amanda {
	position: absolute;
	left: 968px;
	top: 366px;
	z-index: 2;
	width: 478px;
	height: 478px;
	object-fit: cover;
	pointer-events: none;
}

/* ---------- Nav: arrows + dots ---------- */.upd-cb-nav {
	position: absolute;
	left: 50px;
	bottom: 40px;
	z-index: 3;
	width: 590px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.upd-cb-overlay .upd-cb-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 100px;
	background: #003b6b;
	transition: background-color .2s ease;
}
.upd-cb-overlay .upd-cb-arrow:hover,
.upd-cb-overlay .upd-cb-arrow:focus {
	background: #0a5394;
}
.upd-cb-overlay .upd-cb-arrow:disabled,
.upd-cb-overlay .upd-cb-arrow:disabled:hover {
	background: #81b9ee;
	cursor: default;
}
.upd-cb-arrow--prev img { transform: scaleX(-1); }

.upd-cb-dots {
	display: flex;
	align-items: center;
	gap: 10px;
}
.upd-cb-overlay .upd-cb-dot {
	position: relative;
	padding: 0;
	border: 0;
	width: 8px;
	height: 8px;
	border-radius: 10px;
	background: #81b9ee;
	transition: background-color .2s ease, width .2s ease;
}
.upd-cb-overlay .upd-cb-dot::after {
	content: '';
	position: absolute;
	inset: -6px;
}
.upd-cb-overlay .upd-cb-dot:hover,
.upd-cb-overlay .upd-cb-dot:focus {
	background: #4f95d6;
}
.upd-cb-overlay .upd-cb-dot.is-active {
	background: #003b6b;
}

/* ---------- Shared typography ---------- */
.upd-cb-intro {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.upd-cb-overlay .upd-cb-title {
	color: #071d43;
	font-size: 35px;
	font-weight: 700;
	line-height: 45px;
}
.upd-cb-overlay .upd-cb-subtitle {
	color: #071d43;
	font-size: 25px;
	font-weight: 600;
	line-height: 35px;
}
.upd-cb-overlay .upd-cb-lead {
	color: #28476f;
	font-size: 20px;
	font-weight: 400;
	line-height: normal;
}

.upd-cb-circle {
	position: relative;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 90px;
	height: 90px;
	border: 2px solid #d3e6fb;
	border-radius: 500px;
	background: #fff;
}

/* ---------- Slide 1: option cards ---------- */
.upd-cb-options {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.upd-cb-cards {
	display: flex;
	gap: 20px;
}
.upd-cb-card {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 10px;
	border: 1px solid #d3e6fb;
	border-radius: 15px;
	background: #fff;
}
.upd-cb-card__media {
	position: relative;
	height: 100px;
	overflow: hidden;
	border-radius: 7px;
}
.upd-cb-overlay .upd-cb-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.upd-cb-overlay .upd-cb-card__media--quote img {
	position: absolute;
	left: -59.14%;
	top: -26%;
	width: 159.68%;
	height: 152.13%;
	object-fit: fill;
}
.upd-cb-card__body {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px 0;
}
.upd-cb-overlay .upd-cb-card__title {
	color: #0a2148;
	font-size: 18px;
	font-weight: 600;
	line-height: normal;
}
.upd-cb-overlay .upd-cb-card__text {
	color: #28476f;
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
}

.upd-cb-overlay .upd-cb-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 100%;
	padding: 8px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
	transition: background-color .2s ease, border-color .2s ease;
}
.upd-cb-btn__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}
.upd-cb-overlay .upd-cb-btn--primary {
	background: #df5b00;
	color: #fff;
}
.upd-cb-overlay .upd-cb-btn--primary:hover,
.upd-cb-overlay .upd-cb-btn--primary:focus {
	background: #c45000;
	color: #fff;
}
.upd-cb-overlay .upd-cb-btn--light {
	background: #fff;
	color: #0f172a;
}
.upd-cb-overlay .upd-cb-btn--light:hover,
.upd-cb-overlay .upd-cb-btn--light:focus {
	background: #f1f7fd;
	border-color: #d3e6fb;
	color: #0f172a;
}

.upd-cb-note {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
}
.upd-cb-note__text {
	width: 371px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.upd-cb-overlay .upd-cb-note__title {
	color: #252525;
	font-size: 18px;
	font-weight: 600;
	line-height: normal;
}
.upd-cb-overlay .upd-cb-note__desc {
	color: #000;
	font-size: 15px;
	font-weight: 400;
	line-height: normal;
}
.upd-cb-overlay .upd-cb-note__arrow {
	position: absolute;
	right: 33px;
	top: 2px;
	transform: scaleY(-1);
}

/* ---------- Slide 2: zig-zag steps ---------- */
.upd-cb-steps {
	display: flex;
	flex-direction: column;
	padding: 10px 0;
}
.upd-cb-step {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
}
.upd-cb-step--right {
	flex-direction: row-reverse;
}
.upd-cb-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 100px;
	background: #003b6b;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	transform: translateX(-50%);
}
.upd-cb-step__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	white-space: nowrap;
}
.upd-cb-overlay .upd-cb-step__title {
	color: #252525;
	font-size: 18px;
	font-weight: 600;
	line-height: normal;
}
.upd-cb-overlay .upd-cb-step__desc {
	color: #000;
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
}
.upd-cb-overlay .upd-cb-step__arrow {
	position: absolute;
	top: 36.5px;
}
.upd-cb-overlay .upd-cb-step__arrow--1 { left: 60.51%; }
.upd-cb-overlay .upd-cb-step__arrow--2 { left: 23.14%; transform: scaleX(-1); }
.upd-cb-overlay .upd-cb-step__arrow--3 { left: 53.73%; }

/* ---------- Slide 3: quote form cards ---------- */
.upd-cb-forms {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}
.upd-cb-form {
	min-width: 0;
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 10px;
	border: 1px solid #d3e6fb;
	border-radius: 15px;
	background: #fff;
}
.upd-cb-form--wide { grid-column: 1 / -1; }
.upd-cb-form__media {
	flex: none;
	width: 100px;
	height: 90px;
	overflow: hidden;
	border-radius: 7px;
}
.upd-cb-overlay .upd-cb-form__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.upd-cb-form__text {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.upd-cb-overlay .upd-cb-form__title {
	color: #0a2148;
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
}
.upd-cb-overlay .upd-cb-form__desc {
	color: #28476f;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
}

/* ---------- Slide 4: upload steps ---------- */
.upd-cb-upload {
	display: flex;
	flex-direction: column;
	gap: 25px;
}
.upd-cb-part {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.upd-cb-part__head {
	display: flex;
	align-items: center;
	gap: 15px;
}
.upd-cb-num {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 100px;
	background: #003b6b;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
}
.upd-cb-part__text {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.upd-cb-overlay .upd-cb-part__title {
	color: #0a2148;
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
}
.upd-cb-overlay .upd-cb-part__desc {
	color: #28476f;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
}

.upd-cb-tiles {
	display: flex;
	gap: 10px;
}
.upd-cb-tiles__group {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	gap: 15px;
}
.upd-cb-tile {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 5px;
	border: 1px dashed #e2e8f0;
	border-radius: 10px;
	background: #fff;
	transition: border-color .2s ease;
	cursor: pointer;
}
.upd-cb-tile:hover {
	border-color: #e85d04;
}
.upd-cb-tile__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 56px;
	overflow: hidden;
	border-radius: 5px;
}
.upd-cb-overlay .upd-cb-tile__media img {
	flex: none;
	width: 80px;
	height: 80px;
	object-fit: contain;
}
.upd-cb-overlay .upd-cb-tile__label {
	color: #0a2148;
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	text-align: center;
}

.upd-cb-box {
	padding: 10px 15px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
}
.upd-cb-box--row {
	display: flex;
	align-items: center;
	gap: 20px;
}
.upd-cb-box--cols {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}
.upd-cb-overlay .upd-cb-box--row .upd-cb-field.upd-cb-field {
	flex: 1 1 0;
}
.upd-cb-box__col {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.upd-cb-overlay .upd-cb-box__label {
	color: #252525;
	font-size: 15px;
	font-weight: 500;
	line-height: normal;
	white-space: nowrap;
}
/* Demo inputs. Doubled class beats Elementor kit input rules like
   `.elementor-kit-7 input:not([type="button"]):not([type="submit"])`. */
.upd-cb-overlay .upd-cb-box .upd-cb-field.upd-cb-field {
	display: block;
	min-width: 0;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 7px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 7px;
	outline: 0;
	background: #fff;
	box-shadow: none;
	color: #0f172a;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	user-select: text;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .2s ease;
}
.upd-cb-overlay .upd-cb-box .upd-cb-field.upd-cb-field::placeholder {
	color: rgba(15, 23, 42, .6);
	opacity: 1;
}
.upd-cb-overlay .upd-cb-box .upd-cb-field.upd-cb-field:hover,
.upd-cb-overlay .upd-cb-box .upd-cb-field.upd-cb-field:focus {
	border-color: #0f2744;
	box-shadow: none;
	outline: 0;
}

/* ==========================================================================
   Stacked layout (tablet & mobile). JS adds .is-stacked when the viewport
   is under 992px wide or too short for the scaled desktop design.
   ========================================================================== */
.upd-cb-overlay.is-stacked {
	align-items: flex-start;
	padding: 24px 20px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}
.upd-cb-overlay.is-stacked .upd-cb-stage {
	width: 100%;
	max-width: 760px;
	height: auto;
	margin: 0 auto;
}
.upd-cb-overlay.is-stacked .upd-cb-modal {
	width: 100%;
	height: auto;
	transform: none;
}
.upd-cb-overlay.is-stacked .upd-cb-modal::before { height: 300px; }
.upd-cb-overlay.is-stacked .upd-cb-modal::after { height: 334px; }

.upd-cb-overlay.is-stacked .upd-cb-close {
	top: 14px;
	right: 14px;
}

.upd-cb-overlay.is-stacked .upd-cb-head {
	position: relative;
	z-index: 2;
	padding: 26px 80px 0 30px;
}
.upd-cb-overlay.is-stacked .upd-cb-logo {
	position: static;
	width: 220px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 261 / 90;
}

.upd-cb-overlay.is-stacked .upd-cb-viewport {
	position: relative;
	inset: auto;
	transition: height .4s ease;
}
.upd-cb-overlay.is-stacked .upd-cb-track {
	height: auto;
	align-items: flex-start;
}
.upd-cb-overlay.is-stacked .upd-cb-slide {
	flex-direction: column;
	align-items: stretch;
	gap: 28px;
	padding: 26px 30px 30px;
}
.upd-cb-overlay.is-stacked .upd-cb-content {
	width: auto;
	padding-top: 0;
}
.upd-cb-overlay.is-stacked .upd-cb-chat-wrap {
	align-self: center;
	width: 100%;
	max-width: 436px;
	height: auto;
}
.upd-cb-overlay.is-stacked .upd-cb-chat {
	height: auto;
}
.upd-cb-overlay.is-stacked .upd-cb-chat img {
	height: auto;
}
.upd-cb-overlay.is-stacked .upd-cb-chat-pill {
	left: calc(100% + 16px);
	padding: 7px 14px;
	font-size: 16px;
	line-height: 24px;
}
.upd-cb-overlay.is-stacked .upd-cb-amanda {
	left: auto;
	top: auto;
	right: 0;
	bottom: 0;
	width: 330px;
	height: 330px;
}

/* Nav pinned to the modal's bottom-left, beside Amanda; slide bottom padding keeps it clear of content */
.upd-cb-overlay.is-stacked .upd-cb-slide { padding-bottom: 94px; }
.upd-cb-overlay.is-stacked .upd-cb-nav {
	left: 30px;
	bottom: 26px;
	width: auto;
	justify-content: flex-start;
	gap: 20px;
}

.upd-cb-overlay.is-stacked .upd-cb-title { font-size: 30px; line-height: 38px; }
.upd-cb-overlay.is-stacked .upd-cb-subtitle { font-size: 22px; line-height: 30px; }
.upd-cb-overlay.is-stacked .upd-cb-lead { font-size: 18px; }
.upd-cb-overlay.is-stacked .upd-cb-lead br,
.upd-cb-overlay.is-stacked .upd-cb-title br { display: none; }

.upd-cb-overlay.is-stacked .upd-cb-note__text {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	padding-right: 90px;
}

/* No room beside the screenshot: pill sits above it, right-aligned */
@media (max-width: 767px) {
	.upd-cb-overlay.is-stacked .upd-cb-chat-wrap { margin-top: 48px; }
	.upd-cb-overlay.is-stacked .upd-cb-chat-pill {
		left: auto;
		right: 0;
		top: -48px;
		gap: 6px;
		padding: 5px 12px;
		font-size: 15px;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 575px) {
	.upd-cb-overlay.is-stacked { padding: 12px 10px; }

	.upd-cb-overlay.is-stacked .upd-cb-close { top: 8px; right: 8px; width: 35px; height: 35px; }

	.upd-cb-overlay.is-stacked .upd-cb-head { padding: 18px 70px 0 16px; }
	.upd-cb-overlay.is-stacked .upd-cb-logo { width: 180px; }

	.upd-cb-overlay.is-stacked .upd-cb-amanda {
		right: -36px;
		width: 220px;
		height: 220px;
	}

	/* Arrows pinned bottom-left beside Amanda; slide bottom padding keeps them clear of the chat screenshot */
	.upd-cb-overlay.is-stacked .upd-cb-slide { gap: 22px; padding: 20px 16px 76px; }
	.upd-cb-overlay.is-stacked .upd-cb-nav {
		left: 16px;
		bottom: 18px;
		gap: 12px;
	}
	.upd-cb-overlay.is-stacked .upd-cb-dots { display: none; }
	.upd-cb-overlay.is-stacked .upd-cb-title { font-size: 24px; line-height: 31px; }
	.upd-cb-overlay.is-stacked .upd-cb-subtitle { font-size: 18px; line-height: 25px; }
	.upd-cb-overlay.is-stacked .upd-cb-lead { font-size: 16px; }

	/* Slide 1 */
	.upd-cb-overlay.is-stacked .upd-cb-cards { flex-direction: column; }
	.upd-cb-overlay.is-stacked .upd-cb-card__media { height: 140px; }
	.upd-cb-overlay.is-stacked .upd-cb-note { gap: 14px; align-items: flex-start; }
	.upd-cb-overlay.is-stacked .upd-cb-note .upd-cb-circle { width: 64px; height: 64px; }
	.upd-cb-overlay.is-stacked .upd-cb-note__text { padding-right: 0; }
	.upd-cb-overlay.is-stacked .upd-cb-note__title { font-size: 16px; }
	.upd-cb-overlay.is-stacked .upd-cb-note__desc { font-size: 14px; }
	.upd-cb-overlay.is-stacked .upd-cb-note__arrow {
		position: static;
		flex: none;
		align-self: center;
		width: 44px;
		height: auto;
	}

	/* Slide 2: all rows left-aligned, arrows tucked on the right edge */
	.upd-cb-overlay.is-stacked .upd-cb-steps { gap: 18px; padding: 14px 0 0; }
	.upd-cb-overlay.is-stacked .upd-cb-step,
	.upd-cb-overlay.is-stacked .upd-cb-step--right {
		flex-direction: row;
		gap: 14px;
		padding-right: 56px;
	}
	.upd-cb-overlay.is-stacked .upd-cb-step .upd-cb-circle { width: 68px; height: 68px; }
	.upd-cb-overlay.is-stacked .upd-cb-step .upd-cb-circle img { width: 45px; height: 45px; }
	.upd-cb-overlay.is-stacked .upd-cb-step__text { white-space: normal; min-width: 0; }
	.upd-cb-overlay.is-stacked .upd-cb-step__title { font-size: 16px; }
	.upd-cb-overlay.is-stacked .upd-cb-step__desc { font-size: 14px; }
	.upd-cb-overlay.is-stacked .upd-cb-step__arrow {
		left: auto;
		right: 0;
		top: 50%;
		width: 50px;
		height: auto;
	}
	.upd-cb-overlay.is-stacked .upd-cb-step .upd-cb-step__arrow { display: none; }
	.upd-cb-overlay.is-stacked .upd-cb-step__arrow--1,
	.upd-cb-overlay.is-stacked .upd-cb-step__arrow--3 { left: auto; transform: translateY(-10%); }
	.upd-cb-overlay.is-stacked .upd-cb-step__arrow--2 { left: auto; transform: translateY(-10%) scaleX(-1); }

	/* Slide 3 */
	.upd-cb-overlay.is-stacked .upd-cb-forms { grid-template-columns: 1fr; gap: 12px; }
	.upd-cb-overlay.is-stacked .upd-cb-form { gap: 14px; }
	.upd-cb-overlay.is-stacked .upd-cb-form__media { width: 84px; height: 76px; }

	/* Slide 4 */
	.upd-cb-overlay.is-stacked .upd-cb-tiles { flex-direction: column; }
	.upd-cb-overlay.is-stacked .upd-cb-tiles__group { gap: 10px; }
	.upd-cb-overlay.is-stacked .upd-cb-tile__label { font-size: 13px; }
	.upd-cb-overlay.is-stacked .upd-cb-box--row {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
	.upd-cb-overlay.is-stacked .upd-cb-box--row .upd-cb-field.upd-cb-field { flex: none; }
	.upd-cb-overlay.is-stacked .upd-cb-box--cols {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
}

/* Very small phones: stack the arrows */
@media (max-width: 359.98px) {
	.upd-cb-overlay.is-stacked .upd-cb-slide { padding-bottom: 128px; }
	.upd-cb-overlay.is-stacked .upd-cb-nav {
		flex-direction: column;
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.upd-cb-overlay,
	.upd-cb-stage,
	.upd-cb-track,
	.upd-cb-viewport {
		transition: none !important;
	}
}
