/* ==========================================================================
   Home — Stripe-inspired polish (original Connectora brand)
   Light, spacious, product-forward. Not a clone.
   ========================================================================== */

body.hm-home {
	background: #f6f9fc;
	color: #0a2540;
}

/* Keep header readable on light home (Stripe-like) */
body.hm-home .site-header {
	background: rgba(246, 249, 252, 0.85);
	border-bottom: 1px solid rgba(10, 37, 64, 0.06);
	backdrop-filter: blur(16px);
}

body.hm-home .site-logo,
body.hm-home .site-logo__word,
body.hm-home .site-nav a {
	color: #0a2540;
}

body.hm-home .site-nav a:hover {
	color: #0d9488;
}

body.hm-home .nav-toggle span {
	background: #0a2540;
}

body.hm-home .site-nav.is-open {
	background: #f6f9fc;
	border-bottom-color: rgba(10, 37, 64, 0.08);
}

body.hm-home .site-nav.is-open a {
	color: #0a2540;
	border-bottom-color: rgba(10, 37, 64, 0.06);
}

/* ---- Layout ---- */

.st-wrap {
	width: min(1120px, calc(100% - 2.5rem));
	margin-inline: auto;
}

.st-eyebrow {
	display: inline-block;
	margin: 0 0 1rem;
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #0d9488;
}

.st-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.15rem;
	border-radius: 999px;
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.st-btn--primary {
	background: #0d9488;
	color: #fff;
	box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
}

.st-btn--primary:hover {
	background: #0f766e;
	transform: translateY(-1px);
}

.st-btn--secondary {
	background: #fff;
	color: #0a2540;
	border: 1px solid rgba(10, 37, 64, 0.12);
	box-shadow: 0 1px 2px rgba(10, 37, 64, 0.04);
}

.st-btn--secondary:hover {
	border-color: rgba(10, 37, 64, 0.22);
	transform: translateY(-1px);
}

.st-btn--ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.st-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
}

/* ---- Hero (Stripe-like: big headline + product stage) ---- */

.st-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(5.5rem, 10vh, 7rem) 0 clamp(3rem, 6vh, 4.5rem);
	background:
		radial-gradient(ellipse 80% 60% at 10% -10%, rgba(45, 212, 191, 0.22), transparent 50%),
		radial-gradient(ellipse 60% 50% at 90% 10%, rgba(37, 211, 102, 0.14), transparent 45%),
		linear-gradient(180deg, #eef8f6 0%, #f6f9fc 55%, #f6f9fc 100%);
}

.st-hero__glow {
	position: absolute;
	inset: auto -10% -30% 40%;
	height: 70%;
	background: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.18), transparent 60%);
	pointer-events: none;
}

.st-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: center;
}

.st-hero__brand {
	display: block;
	font-style: normal;
	font-weight: 700;
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	letter-spacing: -0.03em;
	color: #0d9488;
	margin-bottom: 0.65rem;
}

.st-hero h1 {
	margin: 0 0 1.15rem;
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-weight: 600;
	font-size: clamp(2.15rem, 4.8vw, 3.35rem);
	line-height: 1.12;
	letter-spacing: -0.035em;
	color: #0a2540;
	max-width: 12ch;
}

.st-hero h1 em {
	font-style: italic;
	font-weight: 500;
	color: #0d9488;
}

.st-hero__lede {
	margin: 0 0 1.5rem;
	max-width: 42ch;
	font-size: 1.125rem;
	line-height: 1.6;
	color: #425466;
}

.st-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-bottom: 0.85rem;
}

.st-hero__fine {
	margin: 0;
	font-size: 0.875rem;
	color: #697386;
}

/* Floating product composition */

.st-hero__stage {
	position: relative;
	min-height: 420px;
}

.st-float {
	position: absolute;
	animation: stFloat 6s ease-in-out infinite;
}

.st-float--a {
	inset: 8% 4% auto 0;
	animation-delay: 0s;
}

.st-float--b {
	top: 12%;
	right: 0;
	animation-delay: -1.5s;
}

.st-float--c {
	bottom: 8%;
	right: 6%;
	left: 18%;
	animation-delay: -3s;
}

@keyframes stFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.st-ui {
	background: #fff;
	border-radius: 16px;
	border: 1px solid rgba(10, 37, 64, 0.08);
	box-shadow:
		0 2px 4px rgba(10, 37, 64, 0.04),
		0 24px 48px rgba(10, 37, 64, 0.1);
	overflow: hidden;
}

.st-ui__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid rgba(10, 37, 64, 0.06);
	background: #fafbfc;
}

.st-ui__bar span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d7dee8;
}

.st-ui__bar span:nth-child(1) { background: #ff5f57; }
.st-ui__bar span:nth-child(2) { background: #febc2e; }
.st-ui__bar span:nth-child(3) { background: #28c840; }

.st-ui__bar strong {
	margin-left: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #697386;
	font-family: "Instrument Sans", system-ui, sans-serif;
}

.st-ui__body {
	padding: 0.75rem;
	display: grid;
	gap: 0.45rem;
}

.st-ui__row {
	padding: 0.7rem 0.8rem;
	border-radius: 10px;
	background: #f6f9fc;
}

.st-ui__row.is-active {
	background: rgba(13, 148, 136, 0.1);
	outline: 1px solid rgba(13, 148, 136, 0.25);
}

.st-ui__row b {
	display: block;
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	color: #0a2540;
}

.st-ui__row i {
	font-style: normal;
	font-size: 0.78rem;
	color: #697386;
}

.st-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.65rem 0.95rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(10, 37, 64, 0.08);
	box-shadow: 0 12px 28px rgba(10, 37, 64, 0.12);
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #0a2540;
}

.st-chip__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #25d366;
	box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.st-toast {
	padding: 0.95rem 1.1rem;
	border-radius: 14px;
	background: #0a2540;
	color: #fff;
	box-shadow: 0 18px 40px rgba(10, 37, 64, 0.28);
}

.st-toast strong {
	display: block;
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-size: 0.875rem;
	margin-bottom: 0.2rem;
}

.st-toast span {
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.65);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.st-hero.is-ready .st-hero__copy > * {
	animation: stIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.st-hero.is-ready .st-hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
.st-hero.is-ready .st-hero__copy > *:nth-child(2) { animation-delay: 0.1s; }
.st-hero.is-ready .st-hero__copy > *:nth-child(3) { animation-delay: 0.16s; }
.st-hero.is-ready .st-hero__copy > *:nth-child(4) { animation-delay: 0.22s; }
.st-hero.is-ready .st-hero__copy > *:nth-child(5) { animation-delay: 0.28s; }

.st-hero.is-ready .st-hero__stage {
	animation: stIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes stIn {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ---- Logo strip ---- */

.st-logos {
	padding: 1.75rem 0;
	border-bottom: 1px solid rgba(10, 37, 64, 0.06);
	background: #fff;
}

.st-logos__label {
	margin: 0 0 0.85rem;
	text-align: center;
	font-size: 0.8125rem;
	color: #697386;
}

.st-logos__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.75rem;
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	color: #8898aa;
}

/* ---- Solutions ---- */

.st-solutions {
	padding: clamp(3.5rem, 8vw, 5.5rem) 0;
	background: #fff;
}

.st-section-head {
	max-width: 560px;
	margin-bottom: 2.5rem;
}

.st-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.st-section-head h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 3.2vw, 2.35rem);
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: #0a2540;
}

.st-section-head p {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: #425466;
}

.st-solutions__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.st-solution {
	padding: 1.5rem;
	border-radius: 16px;
	border: 1px solid rgba(10, 37, 64, 0.08);
	background: #f6f9fc;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.st-solution:hover {
	border-color: rgba(13, 148, 136, 0.35);
	box-shadow: 0 16px 32px rgba(10, 37, 64, 0.06);
	transform: translateY(-3px);
}

.st-solution__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	margin-bottom: 1.15rem;
	background: linear-gradient(145deg, #14b8a6, #0d9488);
}

.st-solution__icon--auto {
	background: linear-gradient(145deg, #25d366, #128c7e);
}

.st-solution__icon--woo {
	background: linear-gradient(145deg, #0f766e, #052e2b);
}

.st-solution h3 {
	margin: 0 0 0.55rem;
	font-size: 1.1rem;
	letter-spacing: -0.02em;
	color: #0a2540;
}

.st-solution p {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #425466;
}

.st-solution a {
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	color: #0d9488;
	text-decoration: none;
}

.st-solution a:hover {
	color: #0f766e;
}

/* ---- Stats / backbone ---- */

.st-backbone {
	padding: clamp(3.5rem, 8vw, 5rem) 0;
	background:
		radial-gradient(ellipse 70% 80% at 50% 0%, rgba(45, 212, 191, 0.12), transparent 55%),
		#0a2540;
	color: #fff;
}

.st-backbone .st-section-head h2 {
	color: #fff;
}

.st-backbone .st-section-head p {
	color: rgba(255, 255, 255, 0.65);
}

.st-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2.5rem;
}

.st-stat {
	padding: 1.25rem 1rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

.st-stat strong {
	display: block;
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: #5eead4;
	margin-bottom: 0.35rem;
}

.st-stat span {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.6);
}

/* ---- Showcase ---- */

.st-showcase {
	padding: clamp(3.5rem, 8vw, 5.5rem) 0;
	background: #f6f9fc;
}

.st-showcase__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: center;
}

.st-showcase__copy h2 {
	margin: 0 0 0.85rem;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: #0a2540;
	max-width: 16ch;
}

.st-showcase__copy > p {
	margin: 0 0 1.25rem;
	max-width: 42ch;
	color: #425466;
	line-height: 1.6;
}

.st-checklist {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.st-checklist li {
	position: relative;
	padding-left: 1.5rem;
	color: #0a2540;
	font-size: 0.975rem;
}

.st-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.4rem;
	width: 0.65rem;
	height: 0.65rem;
	border-radius: 50%;
	background: #0d9488;
}

.st-panel {
	display: grid;
	grid-template-columns: 0.85fr 1.25fr;
	gap: 0;
	min-height: 320px;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(10, 37, 64, 0.08);
	box-shadow:
		0 2px 4px rgba(10, 37, 64, 0.04),
		0 28px 56px rgba(10, 37, 64, 0.1);
}

.st-panel__side {
	padding: 1rem 0.75rem;
	background: #f6f9fc;
	border-right: 1px solid rgba(10, 37, 64, 0.06);
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.st-panel__label {
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8898aa;
	padding: 0.25rem 0.5rem 0.65rem;
}

.st-panel__main {
	padding: 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.st-panel__main header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 0.35rem;
}

.st-panel__main header b {
	font-family: "Instrument Sans", system-ui, sans-serif;
	font-size: 0.9rem;
	color: #0a2540;
}

.st-panel__main header em {
	font-style: normal;
	font-size: 0.75rem;
	color: #0d9488;
}

.st-msg {
	max-width: 92%;
	padding: 0.7rem 0.85rem;
	border-radius: 12px;
	font-size: 0.85rem;
	line-height: 1.4;
}

.st-msg--in {
	align-self: flex-start;
	background: #f0f4f8;
	color: #0a2540;
	border-bottom-left-radius: 4px;
}

.st-msg--out {
	align-self: flex-end;
	background: rgba(13, 148, 136, 0.12);
	color: #0a2540;
	border: 1px solid rgba(13, 148, 136, 0.2);
	border-bottom-right-radius: 4px;
}

.st-msg--note {
	align-self: stretch;
	max-width: 100%;
	text-align: center;
	font-size: 0.72rem;
	color: #0d9488;
	background: transparent;
	border: 1px dashed rgba(13, 148, 136, 0.35);
	font-family: "Instrument Sans", system-ui, sans-serif;
}

/* ---- Bottom CTA ---- */

.st-cta {
	padding: 0 0 clamp(3.5rem, 7vw, 4.5rem);
	background: #f6f9fc;
}

.st-cta__box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: clamp(1.75rem, 4vw, 2.25rem) clamp(1.5rem, 3vw, 2rem);
	border-radius: 18px;
	background:
		radial-gradient(ellipse 60% 80% at 100% 0%, rgba(45, 212, 191, 0.2), transparent 50%),
		#0a2540;
	color: #fff;
}

.st-cta__box h2 {
	margin: 0 0 0.4rem;
	font-size: clamp(1.4rem, 2.5vw, 1.75rem);
	letter-spacing: -0.025em;
	color: #fff;
}

.st-cta__box p {
	margin: 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.975rem;
}

.st-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

/* ---- Responsive ---- */

@media (max-width: 920px) {
	.st-hero__grid,
	.st-showcase__grid {
		grid-template-columns: 1fr;
	}

	.st-hero h1 {
		max-width: none;
	}

	.st-hero__stage {
		min-height: 340px;
		max-width: 480px;
	}

	.st-solutions__grid {
		grid-template-columns: 1fr;
	}

	.st-stats {
		grid-template-columns: 1fr 1fr;
	}

	.st-panel {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.st-panel__side {
		flex-direction: row;
		overflow-x: auto;
		border-right: 0;
		border-bottom: 1px solid rgba(10, 37, 64, 0.06);
	}

	.st-panel__side .st-ui__row {
		min-width: 120px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.st-float,
	.st-hero.is-ready .st-hero__copy > *,
	.st-hero.is-ready .st-hero__stage {
		animation: none !important;
	}
}
