.boca-app {
	--boca-navy: #092e42;
	--boca-cyan: #48bce9;
	--boca-cyan-dark: #148dbb;
	--boca-soft: #eff9fd;
	--boca-border: #d7e6ec;
	--boca-muted: #5d7580;
	box-sizing: border-box;
	width: min(100%, 980px);
	margin: 28px auto;
	border: 1px solid var(--boca-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(9, 46, 66, .10);
	color: var(--boca-navy);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overflow: hidden;
}

.boca-app *,
.boca-app *::before,
.boca-app *::after {
	box-sizing: border-box;
}

.boca-app__topbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 24px;
	border-bottom: 1px solid var(--boca-border);
	background: #fff;
}

.boca-app__brand-mark {
	display: block;
	flex: 0 0 72px;
	width: 72px;
	height: 48px;
	overflow: hidden;
}

.boca-app__brand-mark img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left center;
}

.boca-app__brand {
	display: flex;
	flex: 1;
	flex-direction: column;
	line-height: 1.25;
}

.boca-app__brand strong {
	font-size: 16px;
}

.boca-app__brand span {
	color: var(--boca-muted);
	font-size: 12px;
}

.boca-app__status,
.boca-app__demo {
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.boca-app__status {
	padding: 7px 11px;
}

.boca-app__status.is-open {
	background: #e6f6ef;
	color: #117a52;
}

.boca-app__status.is-paused {
	background: #fff0f0;
	color: #a53030;
}

.boca-app__content {
	padding: 34px;
	background: linear-gradient(180deg, #fbfeff 0, #fff 65%);
}

.boca-app__demo {
	display: inline-block;
	margin: 0 0 22px;
	padding: 6px 11px;
	background: #fff4d8;
	color: #765400;
}

.boca-app__hero {
	max-width: 750px;
}

.boca-app__eyebrow {
	margin: 0 0 8px;
	color: var(--boca-cyan-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.boca-app h2 {
	margin: 0 0 14px;
	color: var(--boca-navy);
	font-size: clamp(28px, 4vw, 46px);
	font-weight: 760;
	letter-spacing: -.025em;
	line-height: 1.08;
}

.boca-app__hero > p:last-child {
	margin: 0;
	color: var(--boca-muted);
	font-size: 17px;
	line-height: 1.62;
}

.boca-app__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 30px 0;
}

.boca-app__facts > div {
	display: grid;
	grid-template-columns: 42px 1fr;
	grid-template-rows: auto auto;
	column-gap: 11px;
	padding: 16px;
	border: 1px solid var(--boca-border);
	border-radius: 14px;
	background: #fff;
}

.boca-app__facts > div > span {
	display: grid;
	grid-row: 1 / 3;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 11px;
	background: var(--boca-soft);
	color: var(--boca-cyan-dark);
	font-weight: 800;
}

.boca-app__facts strong {
	align-self: end;
	font-size: 14px;
}

.boca-app__facts small {
	align-self: start;
	color: var(--boca-muted);
	font-size: 11px;
}

.boca-app__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px;
	border-radius: 16px;
	background: var(--boca-navy);
	color: #fff;
}

.boca-app__summary > div {
	display: flex;
	flex-direction: column;
}

.boca-app__summary span {
	color: #a7d9eb;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.boca-app__summary strong {
	margin: 2px 0 4px;
	font-size: 25px;
}

.boca-app__summary small {
	max-width: 560px;
	color: #d4e8ef;
	font-size: 12px;
	line-height: 1.45;
}

.boca-app__button {
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	background: var(--boca-cyan);
	color: var(--boca-navy);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
}

.boca-app__button:hover,
.boca-app__button:focus-visible {
	background: #75cdf0;
}

.boca-app__button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.boca-app__button:disabled {
	cursor: not-allowed;
	opacity: .55;
}

.boca-app__message {
	min-height: 22px;
	margin: 12px 0 0;
	color: var(--boca-cyan-dark);
	font-size: 13px;
	font-weight: 650;
}

.boca-app__message:not(.is-visible) {
	visibility: hidden;
}

.boca-app__emergency {
	margin: 28px 0 0;
	padding: 14px 16px;
	border-left: 4px solid #cc3b3b;
	border-radius: 4px;
	background: #fff3f3;
	color: #6f2b2b;
	font-size: 13px;
	line-height: 1.5;
}

@media (max-width: 720px) {
	.boca-app {
		margin: 12px auto;
		border-radius: 16px;
	}

	.boca-app__topbar,
	.boca-app__content {
		padding: 18px;
	}

	.boca-app__status {
		display: none;
	}

	.boca-app__facts {
		grid-template-columns: 1fr;
	}

	.boca-app__summary {
		align-items: stretch;
		flex-direction: column;
	}

	.boca-app__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.boca-app *,
	.boca-app *::before,
	.boca-app *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/* Phase 2 intake workflow. */
.boca-step[hidden],
.boca-app [hidden] {
	display: none !important;
}

.boca-progress {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0 0 30px;
	padding: 0;
}

.boca-progress > span {
	position: relative;
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 6px;
	color: var(--boca-muted);
	font-size: 11px;
	text-align: center;
}

.boca-progress > span::before {
	position: absolute;
	top: 16px;
	left: -50%;
	width: 100%;
	height: 2px;
	background: var(--boca-border);
	content: "";
}

.boca-progress > span:first-child::before {
	display: none;
}

.boca-progress i {
	position: relative;
	z-index: 1;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 2px solid var(--boca-border);
	border-radius: 50%;
	background: #fff;
	font-style: normal;
	font-weight: 800;
}

.boca-progress b {
	font-weight: 650;
}

.boca-progress .is-current,
.boca-progress .is-complete {
	color: var(--boca-cyan-dark);
}

.boca-progress .is-current i,
.boca-progress .is-complete i {
	border-color: var(--boca-cyan);
	background: var(--boca-cyan);
	color: var(--boca-navy);
}

.boca-progress .is-complete::before,
.boca-progress .is-current::before {
	background: var(--boca-cyan);
}

.boca-app__resume,
.boca-app__error,
.boca-emergency {
	margin: 0 0 22px;
	padding: 14px 16px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.boca-app__resume {
	border: 1px solid #b9e2f1;
	background: var(--boca-soft);
	color: #116d8d;
}

.boca-app__error {
	border: 1px solid #efb5b5;
	background: #fff0f0;
	color: #8e2727;
}

.boca-emergency {
	margin-top: 18px;
	border: 1px solid #de8b8b;
	border-left: 5px solid #b72828;
	background: #fff2f2;
	color: #742525;
}

.boca-emergency strong {
	display: block;
	font-size: 17px;
}

.boca-emergency p {
	margin: 4px 0 0;
}

.boca-step {
	animation: boca-fade-in .18s ease-out;
}

.boca-step__header {
	margin: 0 0 26px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--boca-border);
}

.boca-step__header p {
	margin: 0 0 5px;
	color: var(--boca-cyan-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.boca-step__header h2 {
	margin: 0 0 7px;
	font-size: clamp(25px, 3.5vw, 36px);
}

.boca-step__header > span {
	color: var(--boca-muted);
	font-size: 15px;
}

.boca-fieldset {
	min-width: 0;
	margin: 22px 0;
	padding: 18px;
	border: 1px solid var(--boca-border);
	border-radius: 14px;
	background: #fff;
}

.boca-fieldset legend {
	padding: 0 7px;
	color: var(--boca-navy);
	font-size: 17px;
	font-weight: 780;
}

.boca-fieldset > p {
	margin: 0 0 12px;
	color: var(--boca-muted);
	font-size: 13px;
}

.boca-fieldset--danger {
	border-color: #efc6c6;
	background: #fffafa;
}

.boca-option,
.boca-control {
	box-sizing: border-box;
	font-family: inherit;
}

.boca-option {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 9px 0;
	padding: 12px 13px;
	border: 1px solid var(--boca-border);
	border-radius: 10px;
	background: #fff;
	color: var(--boca-navy);
	cursor: pointer;
	font-size: 14px;
	line-height: 1.45;
}

.boca-option:hover {
	border-color: #8fd7f2;
	background: #fbfeff;
}

.boca-option input {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	margin: 1px 0 0;
	accent-color: var(--boca-cyan-dark);
}

.boca-option a {
	color: var(--boca-cyan-dark);
	font-weight: 700;
}

.boca-option--demo {
	border-color: #ead497;
	background: #fffbef;
}

.boca-option--alert {
	margin: 16px 0;
	border-color: #e5a8a8;
	background: #fff5f5;
	color: #7d2929;
}

/* Phase 3 payment handoff. */
.boca-payment-notice {
	margin: 20px auto 0;
	padding: 13px 15px;
	border: 1px solid #b9e2f1;
	border-radius: 10px;
	background: var(--boca-soft);
	color: #116d8d;
	font-size: 13px;
	line-height: 1.5;
}

.boca-payment-notice.is-warning {
	border-color: #ead497;
	background: #fffbef;
	color: #765400;
}

.boca-payment-notice.is-success {
	border-color: #a7dec9;
	background: #edf9f4;
	color: #117a52;
}

.boca-actions--center {
	justify-content: center;
}

.boca-confirmation--paid > span:first-child {
	background: #dff5eb;
	color: #117a52;
}

.boca-option-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
}

.boca-option-grid .boca-option {
	margin: 0;
}

.boca-form-grid {
	display: grid;
	gap: 18px;
	margin: 0 0 20px;
}

.boca-form-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.boca-control {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--boca-navy);
	font-size: 14px;
	font-weight: 680;
}

.boca-control--wide {
	grid-column: 1 / -1;
}

.boca-control em {
	color: var(--boca-muted);
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
}

.boca-control small {
	color: var(--boca-muted);
	font-size: 11px;
	font-weight: 500;
}

.boca-control input[type="text"],
.boca-control input[type="email"],
.boca-control input[type="tel"],
.boca-control input[type="date"],
.boca-control select,
.boca-control textarea {
	width: 100%;
	min-height: 47px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #b9cbd3;
	border-radius: 9px;
	background: #fff;
	box-shadow: none;
	color: var(--boca-navy);
	font: inherit;
	font-weight: 500;
}

.boca-control textarea {
	min-height: auto;
	resize: vertical;
}

.boca-control input:focus,
.boca-control select:focus,
.boca-control textarea:focus {
	border-color: var(--boca-cyan-dark);
	box-shadow: 0 0 0 3px rgba(72, 188, 233, .2);
	outline: none;
}

.boca-control input[type="range"] {
	width: 100%;
	accent-color: var(--boca-cyan-dark);
}

.boca-consents {
	display: grid;
	gap: 12px;
}

.boca-consents .boca-option {
	margin: 0;
	padding: 16px;
}

.boca-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 26px;
}

.boca-actions--end {
	justify-content: flex-end;
}

.boca-button {
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid var(--boca-cyan);
	border-radius: 11px;
	background: var(--boca-cyan);
	box-shadow: none;
	color: var(--boca-navy);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
}

.boca-button:hover,
.boca-button:focus-visible {
	border-color: #78d1f2;
	background: #78d1f2;
	color: var(--boca-navy);
}

.boca-button:focus-visible {
	outline: 3px solid rgba(20, 141, 187, .3);
	outline-offset: 2px;
}

.boca-button:disabled {
	cursor: not-allowed;
	opacity: .55;
}

.boca-button--secondary {
	border-color: #a9c0ca;
	background: #fff;
	color: var(--boca-navy);
}

.boca-review {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin-bottom: 22px;
	padding: 1px;
	border-radius: 13px;
	background: var(--boca-border);
	overflow: hidden;
}

.boca-review > div {
	display: flex;
	min-height: 78px;
	padding: 14px;
	background: #fff;
	flex-direction: column;
	gap: 5px;
}

.boca-review span {
	color: var(--boca-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.boca-review strong {
	font-size: 14px;
	font-weight: 680;
	line-height: 1.45;
	white-space: pre-wrap;
}

.boca-app__phase-note {
	align-self: center;
	padding: 7px 10px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	color: #d4e8ef !important;
	font-size: 10px !important;
}

.boca-confirmation {
	max-width: 650px;
	margin: 18px auto;
	padding: 34px;
	border: 1px solid var(--boca-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(9, 46, 66, .08);
	text-align: center;
}

.boca-confirmation > span {
	display: grid;
	width: 58px;
	height: 58px;
	margin: 0 auto 14px;
	place-items: center;
	border-radius: 50%;
	background: #e5f7ef;
	color: #117a52;
	font-size: 28px;
	font-weight: 900;
}

.boca-confirmation > p:first-of-type {
	margin: 0;
	color: var(--boca-cyan-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.boca-confirmation h2 {
	margin: 8px 0 12px;
	font-size: 29px;
}

.boca-confirmation h2 strong {
	display: block;
	margin-top: 5px;
	color: var(--boca-cyan-dark);
}

.boca-confirmation p {
	color: var(--boca-muted);
	line-height: 1.6;
}

@keyframes boca-fade-in {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
	.boca-progress b {
		display: none;
	}

	.boca-progress {
		margin-bottom: 22px;
	}

	.boca-form-grid--2,
	.boca-option-grid,
	.boca-review {
		grid-template-columns: 1fr;
	}

	.boca-actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.boca-actions .boca-button {
		width: 100%;
	}

	.boca-app__phase-note {
		align-self: flex-start;
	}

	.boca-confirmation {
		padding: 24px 18px;
	}
}
