/* SanishTech homepage. Everything is scoped under .st-home.
 * Sizes use px on purpose: OceanWP sets html { font-size: 62.5% }, so 1rem = 10px here. */

@font-face {
	font-family: "Bricolage Grotesque Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.st-home {
	--st-navy: #0B1224;
	--st-navy-2: #16233F;
	--st-ink: #12203A;
	--st-muted: #4A5A73;
	--st-mist: #C3CEDD;
	--st-surface: #EEF2F7;
	--st-line: #D8E0EA;
	--st-white: #FFFFFF;
	--st-orange: #F16232;
	--st-orange-text: #C2410C;

	--cat-youtube: #C8281C;
	--cat-qr: #6D3FC8;
	--cat-seo: #0E7A5F;
	--cat-pdf: #1D5FD1;
	--cat-web: #0B7285;
	--cat-schema: #A85A00;
	--cat-link: #B0307A;

	--st-font-display: "Bricolage Grotesque Variable", "Inter", system-ui, sans-serif;
	--st-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--step-h1: clamp(36px, 22px + 3.6vw, 68px);
	--step-h2: clamp(26px, 21px + 1.2vw, 36px);
	--step-h3: 18px;
	--step-body: 16px;
	--step-small: 14px;

	--st-radius-search: 14px;
	--st-radius: 8px;
	--st-section: 72px;
	--st-box-h: 64px;

	font-family: var(--st-font-body);
	font-size: var(--step-body);
	line-height: 1.6;
	color: var(--st-ink);
	background: var(--st-white);
	text-align: left;
}

.st-home *,
.st-home *::before,
.st-home *::after {
	box-sizing: border-box;
}

.st-home a {
	color: inherit;
}

.st-home :focus-visible {
	outline: 3px solid var(--st-orange);
	outline-offset: 2px;
	border-radius: 4px;
}

.st-home .st-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.st-home .st-icon {
	width: 24px;
	height: 24px;
	flex: none;
}

.st-home .st-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Hero ── */
.st-home .st-hero {
	position: relative;
	z-index: 5; /* keeps the search dropdown above the sections below */
	background: var(--st-navy);
	color: var(--st-white);
	padding: 48px 0 40px;
	isolation: isolate;
}

.st-home .st-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	background:
		radial-gradient(60% 55% at 50% 0%, rgba(241, 98, 50, .20), transparent 70%),
		radial-gradient(35% 45% at 90% 35%, rgba(99, 102, 241, .16), transparent 70%),
		radial-gradient(30% 40% at 8% 70%, rgba(14, 165, 233, .10), transparent 70%);
}

.st-home .st-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%);
	mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%);
}

.st-home .st-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.st-home .st-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	color: var(--st-mist);
	font-size: var(--step-small);
	font-weight: 500;
	line-height: 1.4;
}

.st-home .st-hero__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #34D399;
	box-shadow: 0 0 0 4px rgba(52, 211, 153, .18);
}

.st-home .st-hero__title {
	font-family: var(--st-font-display);
	font-size: var(--step-h1);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.025em;
	color: var(--st-white);
	margin: 0 0 18px;
	max-width: 17ch;
	text-wrap: balance;
}

.st-home .st-hero__accent {
	background: linear-gradient(90deg, #FF9466 0%, #F16232 45%, #FFB48C 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.st-home .st-hero__intro {
	font-size: 18px;
	line-height: 1.55;
	color: var(--st-mist);
	margin: 0 0 32px;
	max-width: 56ch;
	text-wrap: pretty;
}

/* ── Search ── */
.st-home .st-search {
	position: relative;
	width: 100%;
	max-width: 760px;
	margin: 0 0 28px;
	text-align: left;
}

.st-home .st-search[hidden] {
	display: none;
}

.st-home .st-search__box {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: var(--st-box-h);
	padding: 0 8px 0 20px;
	background: var(--st-white);
	border: 2px solid transparent;
	border-radius: var(--st-radius-search);
	color: var(--st-muted);
	box-shadow: 0 0 0 6px rgba(255, 255, 255, .06), 0 18px 50px rgba(0, 0, 0, .35);
}

.st-home .st-search__box:focus-within {
	border-color: var(--st-orange);
}

.st-home .st-search__input {
	flex: 1;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 16px 0;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	font: inherit;
	font-size: 18px;
	line-height: 1.3;
	color: var(--st-ink);
}

.st-home .st-search__input::placeholder {
	color: var(--st-muted);
	opacity: 1;
}

.st-home .st-search__input::-webkit-search-cancel-button {
	cursor: pointer;
}

.st-home .st-search__kbd {
	padding: 1px 8px;
	border: 1px solid var(--st-line);
	border-radius: 6px;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.5;
	color: var(--st-muted);
	background: var(--st-surface);
}

.st-home .st-search__btn {
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 10px;
	background: var(--st-orange);
	color: var(--st-navy);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s ease;
}

.st-home .st-search__btn:hover {
	background: #FF7A4D;
}

.st-home .st-search__list,
.st-home .st-search__empty {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(var(--st-box-h) + 8px);
	z-index: 50;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--st-white);
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius-search);
	box-shadow: 0 18px 40px rgba(11, 18, 36, .28);
}

.st-home .st-search__list[hidden],
.st-home .st-search__empty[hidden] {
	display: none;
}

.st-home .st-search__option {
	margin: 0;
}

.st-home .st-search__option a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: var(--st-radius);
	font-size: 16px;
	text-decoration: none;
	color: var(--st-ink);
}

.st-home .st-search__option a:hover,
.st-home .st-search__option[aria-selected="true"] a {
	background: var(--st-surface);
}

.st-home .st-search__name {
	font-weight: 600;
}

.st-home .st-search__name mark {
	background: none;
	color: var(--st-orange-text);
}

.st-home .st-search__cat {
	flex: none;
	font-size: var(--step-small);
	color: var(--st-muted);
}

.st-home .st-search__empty {
	padding: 16px;
	font-size: 16px;
	color: var(--st-ink);
}

.st-home .st-search__empty p {
	margin: 0;
}

.st-home .st-search__empty-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
	margin-top: 4px !important;
}

.st-home .st-search__empty-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--st-orange-text);
	font-weight: 600;
}

/* Quick searches */
.st-home .st-quick {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 6px;
	margin-top: 14px;
}

.st-home .st-quick__label {
	font-size: var(--step-small);
	color: var(--st-mist);
	margin-right: 4px;
}

.st-home .st-quick__item {
	min-height: 44px;
	padding: 0 8px;
	border: 0;
	background: none;
	color: var(--st-white);
	font-family: inherit;
	font-size: var(--step-small);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .35);
	text-underline-offset: 4px;
	cursor: pointer;
}

.st-home .st-quick__item:hover {
	text-decoration-color: var(--st-orange);
}

/* ── Category chips ── */
.st-home .st-chips {
	width: 100%;
}

.st-home .st-chips__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.st-home .st-chips__list li {
	margin: 0;
}

.st-home .st-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px 0 12px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(255, 255, 255, .05);
	color: var(--st-white);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease;
}

.st-home .st-chip:hover {
	background: rgba(255, 255, 255, .10);
	border-color: rgba(255, 255, 255, .32);
}

.st-home .st-chip__icon {
	width: 18px;
	height: 18px;
}

.st-home .st-chip--youtube .st-chip__icon { color: #FF8A80; }
.st-home .st-chip--qr .st-chip__icon { color: #C4B0FF; }
.st-home .st-chip--seo .st-chip__icon { color: #6EE7B7; }
.st-home .st-chip--pdf .st-chip__icon { color: #93B8FF; }
.st-home .st-chip--schema .st-chip__icon { color: #FFC870; }
.st-home .st-chip--link .st-chip__icon { color: #F9A8D4; }
.st-home .st-chip--web .st-chip__icon { color: #7DD3E0; }

.st-home .st-chip__count {
	padding: 3px 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .10);
	color: var(--st-mist);
	font-size: 12px;
	font-weight: 600;
}

/* Trust row */
.st-home .st-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.st-home .st-trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: var(--step-small);
	color: var(--st-mist);
}

.st-home .st-trust .st-icon {
	width: 18px;
	height: 18px;
	color: #34D399;
}

/* ── Responsive ── */
@media (max-width: 767px) {
	.st-home {
		--st-box-h: 56px;
	}

	.st-home .st-hero {
		padding: 32px 0 36px;
	}

	.st-home .st-hero__badge {
		margin-bottom: 16px;
	}

	.st-home .st-hero__intro {
		font-size: 16px;
		margin-bottom: 24px;
	}

	.st-home .st-search__box {
		padding: 0 6px 0 14px;
		gap: 10px;
	}

	.st-home .st-search__input {
		font-size: 16px;
	}

	.st-home .st-search__kbd {
		display: none;
	}

	.st-home .st-search__btn {
		min-height: 44px;
		padding: 0 14px;
		font-size: 15px;
	}

	.st-home .st-chips__list {
		gap: 8px;
	}

	.st-home .st-chip {
		font-size: 14px;
		padding: 0 12px 0 10px;
	}

	.st-home .st-trust {
		margin-top: 24px;
		gap: 4px 18px;
	}
}

@media (min-width: 1024px) {
	.st-home .st-hero {
		padding: 88px 0 72px;
	}
}

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