/* Business landing & hub pages */

.biz-hero__shell {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border: var(--rule-hair) solid var(--color-rule);
	border-radius: clamp(var(--radius-xl), 4vw, var(--radius-2xl));
	background: var(--color-paper);
	box-shadow: var(--shadow-hero);
	padding: clamp(1.25rem, 3vw, 2rem);
}

.biz-hero__aurora {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--grad-aurora);
	pointer-events: none;
}

.biz-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(var(--space-md), 3vw, var(--space-lg));
	align-items: center;
}

.biz-hero__grid > * {
	min-width: 0;
}

.biz-hero__title {
	font-family: var(--font-display);
	font-size: var(--text-display-s);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.biz-hero__title strong {
	color: var(--color-accent-deep);
	font-weight: 600;
}

.biz-hero__lede {
	margin-top: var(--space-md);
	font-size: var(--text-md);
	line-height: 1.55;
	color: var(--color-ink-2);
	max-width: 52ch;
}

/* Benefits grid */
.biz-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-md);
	align-items: stretch;
}

.biz-benefits .aud-card {
	height: 100%;
}

.biz-benefits .aud-card__icon {
	align-self: flex-start;
}

/* Screenshot placeholders */
.biz-screens__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-md);
}

.biz-shot {
	display: flex;
	flex-direction: column;
	border: var(--rule-hair) solid var(--color-rule);
	border-radius: var(--radius-lg);
	background: var(--color-card);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}

.biz-shot__chrome {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	padding: var(--space-sm) var(--space-md);
	border-bottom: var(--rule-hair) solid var(--color-rule);
	background: var(--color-paper);
}

.biz-shot__dots {
	display: inline-flex;
	gap: 5px;
}

.biz-shot__dots i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-rule);
}

.biz-shot__label {
	font-size: var(--text-xs);
	font-weight: 600;
	color: var(--color-muted);
}

.biz-shot__body {
	flex: 1;
	min-height: 11rem;
	background: var(--color-paper);
	padding: var(--space-sm);
}

.biz-shot--hero .biz-shot__body {
	min-height: 11.5rem;
}

/* UI mocks inside biz-shot frames */
.ui-mock {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	height: 100%;
	min-height: inherit;
	font-size: 0.68rem;
	line-height: 1.35;
	color: var(--color-ink);
}

.ui-mock__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-xs);
	padding-bottom: var(--space-xs);
	border-bottom: var(--rule-hair) solid var(--color-rule-2);
}

.ui-mock__bar-title {
	font-size: var(--text-xs);
	font-weight: 700;
	color: var(--color-ink);
}

.ui-mock__label {
	margin: 0;
	font-size: var(--text-xs);
	font-weight: 600;
	color: var(--color-muted);
}

.ui-mock__rows {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
}

.ui-mock__rows li {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: var(--space-xs);
	padding: 0.35rem 0.4rem;
	border-radius: var(--radius-sm);
	background: var(--color-card);
	border: var(--rule-hair) solid var(--color-rule-2);
}

.ui-mock__time {
	font-size: 0.62rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--color-accent-deep);
}

.ui-mock__row-main {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.ui-mock__row-main strong {
	font-size: 0.68rem;
	font-weight: 600;
	color: var(--color-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ui-mock__row-main small {
	font-size: 0.58rem;
	color: var(--color-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ui-mock__badge {
	font-size: 0.55rem;
	font-weight: 600;
	padding: 0.15rem 0.35rem;
	border-radius: 999px;
	white-space: nowrap;
}

.ui-mock__badge--ok {
	background: oklch(94% 0.04 145);
	color: oklch(38% 0.1 145);
}

.ui-mock__badge--new {
	background: var(--color-accent-soft);
	color: var(--color-accent-deep);
}

.ui-mock__pill {
	font-size: 0.58rem;
	font-weight: 600;
	padding: 0.15rem 0.4rem;
	border-radius: 999px;
	background: var(--color-accent-soft);
	color: var(--color-accent-deep);
	white-space: nowrap;
}

.ui-mock__pill--soft {
	background: var(--color-paper-2);
	color: var(--color-muted);
}

.ui-mock__slots {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-xs);
}

.ui-mock__slot {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.35rem;
	border-radius: var(--radius-sm);
	border: var(--rule-hair) solid var(--color-rule);
	background: var(--color-card);
	font-size: 0.65rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--color-ink-2);
}

.ui-mock__slot--on {
	border-color: var(--color-accent);
	background: var(--color-accent-soft);
	color: var(--color-accent-deep);
}

.ui-mock__cta {
	margin-top: auto;
	padding: 0.45rem 0.55rem;
	border-radius: var(--radius-sm);
	background: var(--color-ink);
	color: var(--color-accent-ink);
	font-size: 0.62rem;
	font-weight: 600;
	text-align: center;
}

.ui-mock__profile {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
}

.ui-mock__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--grad-brand);
	color: var(--color-accent-ink);
	font-size: 0.58rem;
	font-weight: 700;
	flex-shrink: 0;
}

.ui-mock__avatar--sm {
	width: 1.35rem;
	height: 1.35rem;
	font-size: 0.5rem;
}

.ui-mock__profile strong {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
}

.ui-mock__profile small {
	font-size: 0.58rem;
	color: var(--color-muted);
}

.ui-mock__notes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.ui-mock__notes li {
	font-size: 0.62rem;
	color: var(--color-ink-2);
	padding: 0.3rem 0.4rem;
	border-radius: var(--radius-sm);
	background: var(--color-card);
	border: var(--rule-hair) solid var(--color-rule-2);
}

.ui-mock__notes li span {
	font-weight: 600;
	color: var(--color-muted);
	margin-right: 0.25rem;
}

.ui-mock__next {
	margin: 0;
	margin-top: auto;
	padding: 0.35rem 0.45rem;
	border-radius: var(--radius-sm);
	background: var(--color-accent-soft);
	font-size: 0.6rem;
	font-weight: 600;
	color: var(--color-accent-deep);
}

.ui-mock--reminder {
	justify-content: center;
}

.ui-mock__bubble {
	padding: 0.55rem 0.65rem;
	border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 0.2rem;
	background: var(--color-card);
	border: var(--rule-hair) solid var(--color-rule);
	font-size: 0.62rem;
	color: var(--color-ink-2);
	line-height: 1.45;
	box-shadow: var(--shadow-soft);
}

.ui-mock__confirm {
	align-self: center;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: var(--color-accent);
	color: var(--color-accent-ink);
	font-size: 0.6rem;
	font-weight: 600;
}

.ui-mock__toggle {
	width: 1.65rem;
	height: 0.95rem;
	border-radius: 999px;
	background: var(--color-rule);
	position: relative;
	flex-shrink: 0;
	transition: background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.ui-mock__toggle::after {
	content: "";
	position: absolute;
	top: 0.14rem;
	left: 0.14rem;
	width: 0.67rem;
	height: 0.67rem;
	border-radius: 50%;
	background: var(--color-paper);
	box-shadow: 0 1px 3px oklch(0% 0 0 / 0.18);
	transform: translateX(0);
	transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.ui-mock__toggle--on {
	background: var(--color-accent);
}

.ui-mock__toggle--on::after {
	transform: translateX(0.68rem);
}

.ui-mock__chev {
	font-size: 0.85rem;
	color: var(--color-muted);
	line-height: 1;
}

.ui-mock--matrix {
	gap: 0.25rem;
	font-size: 0.58rem;
}

.ui-mock__matrix-head,
.ui-mock__matrix-row {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 0.2rem;
	align-items: center;
	text-align: center;
}

.ui-mock__matrix-head {
	font-weight: 600;
	color: var(--color-muted);
	padding-bottom: 0.2rem;
	border-bottom: var(--rule-hair) solid var(--color-rule-2);
}

.ui-mock__matrix-head span:first-child,
.ui-mock__matrix-row span:first-child {
	text-align: left;
	font-weight: 600;
	color: var(--color-ink-2);
}

.ui-mock__check {
	display: inline-block;
	width: 0.85rem;
	height: 0.85rem;
	margin: 0 auto;
	border-radius: 0.2rem;
	border: var(--rule-hair) solid var(--color-rule);
	background: var(--color-card);
}

.ui-mock__check--on {
	background: var(--color-accent-soft);
	border-color: var(--color-accent);
	box-shadow: inset 0 0 0 2px var(--color-paper);
}

.ui-mock__check--on::after {
	content: "✓";
	display: block;
	font-size: 0.55rem;
	font-weight: 700;
	line-height: 0.85rem;
	color: var(--color-accent-deep);
}

.ui-mock--calendars {
	flex-direction: row;
	gap: var(--space-xs);
}

.ui-mock__cal {
	flex: 1;
	padding: 0.4rem;
	border-radius: var(--radius-sm);
	background: var(--color-card);
	border: var(--rule-hair) solid var(--color-rule-2);
}

.ui-mock__cal strong {
	display: block;
	font-size: 0.62rem;
	margin-bottom: 0.35rem;
}

.ui-mock__cal-dots {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.15rem;
}

.ui-mock__cal-dots i {
	display: block;
	aspect-ratio: 1;
	border-radius: 0.15rem;
	background: var(--color-paper-2);
}

.ui-mock__dot--a {
	background: var(--color-accent-soft) !important;
}

.ui-mock__dot--b {
	background: oklch(92% 0.06 285) !important;
}

.ui-mock__stat-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-xs);
	font-size: 0.62rem;
}

.ui-mock__stat-row strong {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--color-ink);
}

.ui-mock__bars {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.25rem;
	height: 3.5rem;
	padding: 0.35rem 0.25rem 0;
	border-radius: var(--radius-sm);
	background: var(--color-card);
	border: var(--rule-hair) solid var(--color-rule-2);
}

.ui-mock__bars span {
	flex: 1;
	height: var(--h, 50%);
	border-radius: 0.2rem 0.2rem 0 0;
	background: var(--color-paper-3);
}

.ui-mock__bar-accent {
	background: var(--color-accent) !important;
}

.ui-mock__stat-foot {
	margin: 0;
	font-size: 0.58rem;
	font-weight: 600;
	color: oklch(42% 0.12 145);
}

.ui-mock__stars {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	color: var(--color-amber-deep);
}

.ui-mock--loyalty {
	gap: var(--space-xs);
}

.ui-mock__loyalty-card {
	padding: 0.55rem 0.6rem;
	border-radius: var(--radius-md);
	background: linear-gradient(145deg, var(--color-card) 0%, var(--color-accent-soft) 100%);
	border: var(--rule-hair) solid var(--color-accent);
	box-shadow: var(--shadow-soft);
}

.ui-mock__loyalty-head {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: var(--space-xs);
	margin-bottom: 0.45rem;
}

.ui-mock__loyalty-tier {
	font-size: 0.55rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.15rem 0.35rem;
	border-radius: 999px;
	background: var(--color-amber-deep);
	color: var(--color-accent-ink);
}

.ui-mock__stamps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.2rem;
	margin-bottom: 0.4rem;
}

.ui-mock__stamp {
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1.5px dashed var(--color-rule);
	background: oklch(100% 0 0 / 0.45);
}

.ui-mock__stamp--on {
	border-style: solid;
	border-color: var(--color-accent);
	background: var(--color-accent);
	box-shadow: inset 0 0 0 2px var(--color-accent-ink);
}

.ui-mock__loyalty-reward {
	margin: 0;
	font-size: 0.6rem;
	font-weight: 600;
	color: var(--color-accent-deep);
}

.ui-mock__loyalty-note {
	margin: 0;
	margin-top: auto;
	font-size: 0.58rem;
	color: var(--color-muted);
	line-height: 1.4;
}

.ui-mock--client {
	justify-content: flex-start;
}

.ui-mock__client-card {
	padding: 0.55rem 0.65rem;
	border-radius: var(--radius-md);
	background: var(--color-card);
	border: var(--rule-hair) solid var(--color-rule);
	box-shadow: var(--shadow-soft);
}

.ui-mock__client-card strong {
	display: block;
	font-size: 0.72rem;
	margin-bottom: 0.15rem;
}

.ui-mock__client-card span {
	font-size: 0.62rem;
	color: var(--color-muted);
}

.ui-mock__client-links {
	display: flex;
	gap: var(--space-sm);
	margin-top: auto;
}

.ui-mock__client-links span {
	font-size: 0.6rem;
	font-weight: 600;
	color: var(--color-accent-deep);
}

/* Hero — professional cutout (no mockup frame) */
.biz-hero__shell:has(.biz-hero__visual--pro) {
	--biz-hero-shell-pad: clamp(1.25rem, 3vw, 2rem);
}

.biz-hero__grid:has(.biz-hero__visual--pro) {
	align-items: stretch;
}

.biz-hero__visual--pro {
	position: relative;
	align-self: stretch;
	min-height: clamp(16rem, 38vw, 24rem);
	width: calc(100% + var(--biz-hero-shell-pad, 1.5rem));
	margin-right: calc(-1 * var(--biz-hero-shell-pad, 1.5rem));
	margin-bottom: calc(-1 * var(--biz-hero-shell-pad, 1.5rem));
}

.biz-hero__visual--pro .biz-hero__pro {
	position: absolute;
	bottom: 0;
	left: 50%;
	z-index: 1;
	width: auto;
	height: calc(100% + var(--biz-hero-shell-pad, 1.5rem));
	max-width: min(115%, 24rem);
	max-height: none;
	object-fit: contain;
	object-position: bottom center;
	transform: translateX(-50%);
	pointer-events: none;
	user-select: none;
}

.biz-shot__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm);
	height: 100%;
	min-height: inherit;
	padding: var(--space-lg);
	color: var(--color-muted);
	text-align: center;
}

.biz-shot__placeholder span {
	font-size: var(--text-xs);
	font-weight: 500;
	max-width: 16ch;
	line-height: 1.4;
}

.biz-shot__caption {
	padding: var(--space-md);
	font-size: var(--text-sm);
	color: var(--color-ink-2);
	line-height: 1.45;
	border-top: var(--rule-hair) solid var(--color-rule-2);
}

/* Features list */
.biz-features {
	list-style: none;
	padding: var(--space-lg);
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-xs) var(--space-lg);
	border: var(--rule-hair) solid var(--color-rule);
	border-radius: var(--radius-xl);
	background: var(--color-paper);
	box-shadow: var(--shadow-soft);
}

.biz-features li {
	position: relative;
	padding-left: 1.9rem;
	font-size: var(--text-sm);
	color: var(--color-ink);
	line-height: 1.45;
}

.biz-features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: -0.05rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.3rem;
	height: 1.3rem;
	border-radius: 50%;
	background: var(--color-accent-soft);
	color: var(--color-accent-deep);
	font-size: var(--text-xs);
	font-weight: 700;
}

.biz-geo {
	margin-top: var(--space-md);
	font-size: var(--text-sm);
	color: var(--color-ink-2);
	line-height: 1.5;
}

.biz-geo strong {
	color: var(--color-ink);
}

/* Hub page */
.biz-hub__section + .biz-hub__section {
	padding-top: 0;
}

.biz-hub__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-sm);
}

.biz-hub__card {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	padding: var(--space-md);
	border: var(--rule-hair) solid var(--color-rule);
	border-radius: var(--radius-md);
	background: var(--color-card);
	box-shadow: var(--shadow-soft);
	text-decoration: none;
	color: var(--color-ink);
	transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.biz-hub__card:hover {
		transform: translateY(-2px);
		box-shadow: var(--shadow-float);
	}
}

.biz-hub__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	flex-shrink: 0;
	border-radius: var(--radius-md);
	background: var(--color-accent-soft);
	color: var(--color-accent-deep);
	border: var(--rule-hair) solid color-mix(in oklch, var(--color-accent) 25%, var(--color-rule));
}

.biz-hub__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.biz-hub__name {
	flex: 1;
	font-size: var(--text-sm);
	font-weight: 600;
	line-height: 1.3;
}

.biz-hub__arrow {
	flex-shrink: 0;
	color: var(--color-muted);
}

/* Responsive */
@media (max-width: 60rem) {
	.biz-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.biz-hero__visual--pro {
		min-height: 14rem;
		order: -1;
		width: calc(100% + var(--biz-hero-shell-pad, 1.25rem));
		margin-right: calc(-1 * var(--biz-hero-shell-pad, 1.25rem));
		margin-bottom: calc(-1 * var(--biz-hero-shell-pad, 1.25rem));
	}

	.biz-hero__visual--pro .biz-hero__pro {
		max-width: min(110%, 20rem);
		height: calc(100% + var(--biz-hero-shell-pad, 1.25rem));
	}

	.biz-benefits,
	.biz-screens__grid,
	.biz-hub__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 40rem) {
	.biz-benefits,
	.biz-screens__grid,
	.biz-hub__grid,
	.biz-features {
		grid-template-columns: minmax(0, 1fr);
	}

	.biz-features {
		padding: var(--space-lg);
	}

	.biz-shot__body {
		min-height: 10.5rem;
	}

	.biz-hero__visual--pro .biz-hero__pro {
		max-width: min(108%, 17rem);
	}
}
