:root {
	--sf-bg: #111314;
	--sf-surface: #1a1c1e;
	--sf-elevated: #24272b;
	--sf-text: #f4f4f5;
	--sf-muted: #a1a1aa;
	--sf-border: rgba(255, 255, 255, 0.08);
	--sf-accent: #00843d;
	--sf-accent-text: #ffffff;
	--sf-accent-soft: rgba(0, 132, 61, 0.16);
	--sf-danger: #f87171;
	--sf-radius: 12px;
	--sf-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
	--sf-font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.sf-page,
.sf-modal-body,
.sf-modal-body * {
	box-sizing: border-box;
}

.sf-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	margin: 0;
	background:
		radial-gradient(1200px 600px at 10% -10%, rgba(0, 132, 61, 0.18), transparent 55%),
		radial-gradient(900px 500px at 100% 0%, rgba(255, 255, 255, 0.04), transparent 50%),
		var(--sf-bg);
	color: var(--sf-text);
	font-family: var(--sf-font);
	-webkit-font-smoothing: antialiased;
}

/* Modal host inside the tour viewer */
.vs-finder-dialog {
	width: min(720px, 100%);
	max-height: min(88vh, 860px);
}

.vs-finder-dialog .vs-modal-header {
	flex-shrink: 0;
}

.vs-finder-dialog .sf-modal-body {
	flex: 1 1 auto;
	min-height: 0;
}

.sf-modal-body {
	padding: 16px 18px 20px;
	overflow: auto;
	color: var(--sf-text, var(--vs-text, #f4f4f5));
	font-family: var(--sf-font);
}

.sf-modal-intro {
	margin: 0 0 14px;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--sf-muted, var(--vs-muted, #a1a1aa));
}

.sf-modal-body .sf-search {
	margin-top: 0;
	box-shadow: none;
}

.sf-modal-body .sf-results {
	margin-top: 16px;
}

.sf-modal-body .sf-regions {
	margin-top: 22px;
}

.sf-finder-footer {
	align-items: flex-start !important;
}

.sf-honesty-note {
	margin: 0;
	font-size: 11px;
	line-height: 1.4;
	color: var(--sf-muted, #a1a1aa);
}

.sf-soon-sheet {
	padding-top: 4px;
}

.sf-soon-sheet[hidden] {
	display: none !important;
}

.sf-soon-back {
	margin-bottom: 14px;
	min-height: 36px;
}

.sf-soon-body h3 {
	margin: 10px 0 6px;
	font-size: 1.35rem;
}

.sf-soon-meta {
	margin: 0 0 12px;
	font-size: 0.9rem;
	color: var(--sf-muted, #a1a1aa);
}

.sf-soon-pitch {
	margin: 0 0 18px;
	font-size: 0.98rem;
	line-height: 1.5;
	color: var(--sf-text, #f4f4f5);
}

.sf-soon-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sf-soon-actions .sf-btn {
	min-height: 42px;
	padding: 0 14px;
}

@media (max-width: 720px) {
	/* Keep the title on-screen — vh often taller than the visible mobile viewport */
	#vs-showroom-finder-modal.vs-modal {
		align-items: flex-end;
		justify-content: flex-end;
		padding: 10px 0 0;
		overflow: hidden;
	}

	.vs-finder-dialog {
		width: 100%;
		max-height: calc(100svh - 10px);
		max-height: calc(100dvh - 10px);
		border-radius: 16px 16px 0 0;
		align-self: stretch;
		margin: 0;
	}

	.vs-finder-dialog .vs-modal-header {
		padding: 14px 16px 12px;
	}

	.vs-finder-dialog .vs-modal-header strong {
		font-size: 17px;
		line-height: 1.25;
		padding-right: 8px;
	}

	.vs-finder-dialog .vs-modal-footer {
		flex-shrink: 0;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
	}

	.sf-modal-body {
		padding: 12px 16px 16px;
	}

	.sf-modal-body .sf-search {
		position: sticky;
		top: 0;
		z-index: 2;
	}

	.sf-search input[type="text"],
	.sf-search .sf-btn {
		min-height: 46px;
	}
}

.sf-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
	border-bottom: 1px solid var(--sf-border);
	background: rgba(17, 19, 20, 0.78);
	backdrop-filter: blur(12px);
	position: sticky;
	top: 0;
	z-index: 10;
}

.sf-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.sf-brand img {
	height: 36px;
	width: auto;
	display: block;
}

.sf-brand-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sf-brand-meta strong {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.sf-brand-meta span {
	font-size: 12px;
	color: var(--sf-muted);
}

.sf-header-enter {
	min-height: 40px;
	padding: 0 16px;
	font-size: 0.88rem;
	flex-shrink: 0;
}

.sf-main {
	width: min(920px, calc(100% - 32px));
	margin: 0 auto;
	padding: 40px 0 72px;
	flex: 1;
}

.sf-hero h1 {
	margin: 0 0 10px;
	font-size: clamp(1.75rem, 4vw, 2.4rem);
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.sf-hero p {
	margin: 0;
	max-width: 42rem;
	color: var(--sf-muted);
	font-size: 1.02rem;
	line-height: 1.55;
}

.sf-hero-note {
	margin-top: 16px !important;
	font-size: 0.95rem !important;
}

.sf-hero-note strong {
	color: #d4d4d8;
	font-weight: 650;
}

.sf-hero-cta {
	margin-top: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 20px;
	border-radius: var(--sf-radius);
	border: 1px solid rgba(0, 132, 61, 0.45);
	background:
		linear-gradient(135deg, rgba(0, 132, 61, 0.22), transparent 55%),
		var(--sf-surface);
	box-shadow: var(--sf-shadow);
}

.sf-hero-cta-copy {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.sf-hero-cta-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #b7f0ce;
}

.sf-hero-cta-copy strong {
	font-size: 1.2rem;
	font-weight: 750;
	line-height: 1.2;
}

.sf-hero-cta-copy span:last-child {
	font-size: 0.92rem;
	color: var(--sf-muted);
	line-height: 1.4;
	max-width: 36rem;
}

.sf-btn-lg {
	min-height: 48px;
	padding: 0 22px;
	font-size: 1rem;
	flex-shrink: 0;
}

.sf-search {
	margin-top: 28px;
	padding: 18px;
	border-radius: var(--sf-radius);
	background: var(--sf-surface);
	border: 1px solid var(--sf-border);
	box-shadow: var(--sf-shadow);
}

.sf-search-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.sf-search label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.sf-search input[type="text"] {
	flex: 1;
	min-width: 0;
	appearance: none;
	border: 1px solid var(--sf-border);
	background: rgba(0, 0, 0, 0.28);
	color: var(--sf-text);
	border-radius: 10px;
	padding: 14px 16px;
	font: inherit;
	font-size: 1rem;
	outline: none;
}

.sf-search input[type="text"]::placeholder {
	color: #71717a;
}

.sf-search input[type="text"]:focus {
	border-color: rgba(0, 132, 61, 0.55);
	box-shadow: 0 0 0 3px rgba(0, 132, 61, 0.18);
}

.sf-btn {
	appearance: none;
	border: 0;
	border-radius: 10px;
	padding: 0 18px;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 650;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.12s ease, background 0.12s ease, opacity 0.12s ease;
}

.sf-btn:active {
	transform: translateY(1px);
}

.sf-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.sf-btn-primary {
	background: var(--sf-accent);
	color: var(--sf-accent-text);
}

.sf-btn-primary:hover:not(:disabled) {
	background: #00964a;
}

.sf-btn-ghost {
	background: transparent;
	color: var(--sf-text);
	border: 1px solid var(--sf-border);
}

.sf-btn-ghost:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.04);
}

.sf-btn-secondary {
	background: var(--sf-elevated);
	color: var(--sf-text);
	border: 1px solid var(--sf-border);
}

.sf-btn-secondary:hover:not(:disabled) {
	background: #2c3035;
}

.sf-search-hint {
	margin: 10px 2px 0;
	font-size: 12px;
	color: var(--sf-muted);
}

.sf-status {
	margin-top: 14px;
	min-height: 1.25rem;
	font-size: 0.92rem;
	color: var(--sf-muted);
}

.sf-status.is-error {
	color: var(--sf-danger);
}

.sf-results {
	margin-top: 22px;
}

.sf-results[hidden],
.sf-regions[hidden] {
	display: none !important;
}

.sf-section-title {
	margin: 0 0 12px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sf-muted);
}

.sf-card-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sf-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	border-radius: var(--sf-radius);
	background: var(--sf-surface);
	border: 1px solid var(--sf-border);
}

.sf-card.is-live {
	border-color: rgba(0, 132, 61, 0.45);
	background:
		linear-gradient(135deg, rgba(0, 132, 61, 0.14), transparent 55%),
		var(--sf-surface);
}

.sf-card-body {
	min-width: 0;
	flex: 1;
}

.sf-card-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
}

.sf-card-meta {
	margin: 4px 0 0;
	font-size: 0.88rem;
	color: var(--sf-muted);
	line-height: 1.4;
}

.sf-badge {
	display: inline-flex;
	align-items: center;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	vertical-align: middle;
	background: var(--sf-accent);
	color: #fff;
}

.sf-badge-soon {
	background: rgba(255, 255, 255, 0.08);
	color: #d4d4d8;
	font-weight: 600;
}

.sf-card-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	flex-shrink: 0;
}

.sf-card-actions .sf-btn {
	min-height: 40px;
	padding: 0 14px;
	font-size: 0.88rem;
}

.sf-regions {
	margin-top: 36px;
}

.sf-regions-toggle {
	margin-bottom: 14px;
}

.sf-accordion {
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	overflow: hidden;
	background: var(--sf-surface);
}

.sf-region + .sf-region {
	border-top: 1px solid var(--sf-border);
}

.sf-region-btn {
	width: 100%;
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--sf-text);
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font: inherit;
	font-size: 0.98rem;
	font-weight: 650;
	cursor: pointer;
	text-align: left;
}

.sf-region-btn:hover {
	background: rgba(255, 255, 255, 0.03);
}

.sf-region-btn[aria-expanded="true"] {
	background: rgba(255, 255, 255, 0.04);
}

.sf-region-count {
	font-size: 12px;
	font-weight: 600;
	color: var(--sf-muted);
}

.sf-region-chevron {
	color: var(--sf-muted);
	font-size: 12px;
	transition: transform 0.15s ease;
}

.sf-region-btn[aria-expanded="true"] .sf-region-chevron {
	transform: rotate(180deg);
}

.sf-region-panel {
	display: none;
	padding: 0 10px 12px;
}

.sf-region-panel.is-open {
	display: block;
}

.sf-store-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 8px;
	border-radius: 10px;
}

.sf-store-row:hover {
	background: rgba(255, 255, 255, 0.03);
}

.sf-store-row.is-live {
	background: rgba(0, 132, 61, 0.1);
}

.sf-store-name {
	font-weight: 650;
	font-size: 0.95rem;
}

.sf-store-sub {
	margin-top: 2px;
	font-size: 12px;
	color: var(--sf-muted);
}

.sf-store-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.sf-store-actions .sf-btn {
	min-height: 34px;
	padding: 0 12px;
	font-size: 0.82rem;
	border-radius: 8px;
}

.sf-footer {
	padding: 20px 24px 28px;
	border-top: 1px solid var(--sf-border);
	color: var(--sf-muted);
	font-size: 12px;
	text-align: center;
}

@media (max-width: 720px) {
	.sf-header {
		padding: 14px 16px;
	}

	.sf-header-enter {
		padding: 0 12px;
		font-size: 0.8rem;
		min-height: 36px;
	}

	.sf-main {
		width: calc(100% - 24px);
		padding-top: 28px;
	}

	.sf-hero-cta {
		flex-direction: column;
		align-items: stretch;
	}

	.sf-hero-cta .sf-btn-lg {
		width: 100%;
	}

	.sf-search-row {
		flex-direction: column;
	}

	.sf-search .sf-btn {
		min-height: 46px;
	}

	.sf-card {
		flex-direction: column;
		align-items: stretch;
	}

	.sf-card-actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.sf-card-actions .sf-btn {
		flex: 1 1 auto;
	}

	.sf-store-row {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.sf-store-actions {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}
