/* ==========================================================================
   Features page (Stitch design) — scoped to .fx-page so the site header/footer
   remain untouched. Tailwind Play CDN runs with preflight disabled; this file
   re-adds a scoped mini-reset plus the design's custom utilities.
   ========================================================================== */

.fx-page,
.fx-page *,
.fx-page *::before,
.fx-page *::after {
	box-sizing: border-box;
	border-width: 0;
	border-style: solid;
	border-color: #d9e2ec;
}

.fx-page {
	font-family: "DM Sans", system-ui, -apple-system, sans-serif;
	background: #f6f9fc;
	color: #0a2540;
	line-height: 1.5;
}

.fx-page h1,
.fx-page h2,
.fx-page h3,
.fx-page h4,
.fx-page h5 {
	font-family: "Instrument Sans", system-ui, sans-serif;
}

.fx-page h1,
.fx-page h2,
.fx-page h3,
.fx-page h4,
.fx-page h5,
.fx-page p,
.fx-page ul,
.fx-page li,
.fx-page figure {
	margin: 0;
	padding: 0;
}

.fx-page ul {
	list-style: none;
}

.fx-page a {
	text-decoration: none;
	color: inherit;
}

.fx-page img {
	display: block;
	max-width: 100%;
	height: auto;
}

.fx-page button {
	font-family: inherit;
	font-size: 100%;
	line-height: inherit;
	color: inherit;
	margin: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
	appearance: none;
}

/* ---- Material Symbols ---- */
.fx-page .material-symbols-outlined {
	font-family: "Material Symbols Outlined";
	font-weight: normal;
	font-style: normal;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: "liga";
	font-feature-settings: "liga";
	-webkit-font-smoothing: antialiased;
	font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* ---- Hero buttons: identical to home .st-btn for cross-page consistency ---- */
.fx-page .fx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.5rem;
	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;
}

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

.fx-page .fx-btn--primary:hover {
	background: #0f766e;
	color: #fff;
	transform: translateY(-1px);
}

.fx-page .fx-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);
}

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

/* ---- Custom design helpers ---- */
.fx-page .glass-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(226, 232, 240, 0.8);
}

.fx-page .bento-grid-item:hover .icon-bounce {
	transform: translateY(-4px);
}

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

.fx-page .floating {
	animation: fx-float 6s ease-in-out infinite;
}

.fx-page .no-scrollbar::-webkit-scrollbar {
	display: none;
}

.fx-page .no-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}
