/*
Theme Name: ToolStack
Theme URI: https://example.com
Author: ToolStack
Description: Premium, clean, high-performance tools catalog theme with sidebars and AdSense-friendly widget areas.
Version: 1.12.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toolstack
*/

/* ----- Core Design Tokens ----- */
:root {
	--bg: #f8fafc;
	--bg-elevated: #ffffff;
	--surface: #ffffff;
	--surface-2: #f1f5f9;
	--text: #0f172a;
	--muted: #475569;
	--muted-2: #64748b;
	--border: #e2e8f0;
	--border-strong: #cbd5e1;
	--accent: #4f46e5;
	--accent-2: #6366f1;
	--accent-soft: rgba(79, 70, 229, 0.05);
	--accent-muted: rgba(79, 70, 229, 0.12);
	--accent-hover: #4338ca;
	--success: #10b981;
	--success-soft: rgba(16, 185, 129, 0.05);
	--radius: 10px;
	--radius-sm: 6px;
	--radius-lg: 14px;
	--space: 1.25rem;
	--shell: 74rem;
	--sidebar: 18.5rem;
	--font: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	--font-display: var(--font);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----- Base Reset & Global Styles ----- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 0.875rem; /* Highly compact body copy */
	line-height: 1.5;
	color: var(--text);
	background-color: var(--bg);
}

a {
	color: var(--accent);
	text-underline-offset: 2px;
	text-decoration: none;
	transition: color 0.15s var(--ease-out);
}

a:hover {
	color: var(--accent-hover);
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--accent-2);
	outline-offset: 2px;
	border-radius: 4px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--text);
	margin: 0;
	letter-spacing: -0.02em;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-sm);
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	overflow: hidden;
	position: absolute;
	word-wrap: normal !important;
}

/* ----- Header (Glassy, Compact & Sticky) ----- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	transition: all 0.25s var(--ease-out);
}

.site-header__inner {
	max-width: var(--shell);
	margin: 0 auto;
	padding: 0.55rem var(--space); /* Compact vertical padding */
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

.site-branding {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.site-title {
	margin: 0;
	line-height: 1.1;
}

/* Branding Badge: Pure tech SaaS style using Outfit font */
.site-logo {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.4em;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(1.2rem, 2.5vw, 1.45rem);
	letter-spacing: -0.035em;
	color: var(--text);
	text-decoration: none;
	padding: 0.1rem 0;
	transition: opacity 0.15s ease;
}

.site-logo:hover {
	opacity: 0.95;
}

.site-logo__brand {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	line-height: 1;
}

.site-logo__digit {
	font-weight: 900;
	color: var(--accent);
}

.site-logo__name {
	font-weight: 800;
	color: var(--text);
}

.site-logo__tld {
	display: inline-flex;
	align-items: center;
	font-weight: 700;
	font-size: 0.44em;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ffffff;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
	border-radius: 4px;
	padding: 0.3em 0.5em;
	box-shadow: 0 1px 3px rgba(79, 70, 229, 0.15);
}

.site-logo--compact {
	font-size: 1.1rem;
}

.site-tagline {
	margin: 0.05rem 0 0;
	font-size: 0.72rem;
	color: var(--muted);
	line-height: 1.25;
	max-width: 25rem;
	letter-spacing: 0.01em;
}

/* Navigation menu */
.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.2rem;
}

.site-nav li {
	position: relative;
}

.site-nav a {
	display: inline-block;
	color: var(--muted);
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 500;
	padding: 0.35rem 0.7rem;
	border-radius: var(--radius-sm);
	border: none;
	transition: all 0.15s var(--ease-out);
}

.site-nav a:hover {
	color: var(--text);
	background: var(--surface-2);
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
	color: var(--accent);
	background: var(--accent-soft);
	font-weight: 600;
}

/* Nav Dropdown Items */
.site-nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 11.5rem;
	padding: 0.3rem;
	margin-top: 0.25rem;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	box-shadow: 0 6px 12px rgba(0,0,0,0.05);
	flex-direction: column;
	gap: 0.1rem;
	z-index: 100;
}

.site-nav ul ul a {
	display: block;
	padding: 0.35rem 0.6rem;
	border-radius: 4px;
	font-size: 0.78rem;
}

.site-nav ul ul a:hover {
	color: var(--accent);
	background: var(--accent-soft);
}

.site-nav li:hover > ul {
	display: flex;
}

/* ----- Layout Structure ----- */
.site-shell {
	max-width: var(--shell);
	margin: 0 auto;
	padding: var(--space);
}

.site-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(14rem, var(--sidebar));
	gap: 1.25rem; /* Extremely compact gutter spacing */
	align-items: start;
}

.no-sidebar .site-body {
	grid-template-columns: minmax(0, 1fr);
}

.site-content {
	min-width: 0;
}

.site-main {
	padding: 0;
	margin: 0;
}

/* ----- Spotlight Search (Live REST-backed Search) ----- */
.tool-search {
	position: relative;
	margin-bottom: 1.5rem; /* Reduced space */
	width: 100%;
}

.tool-search__field {
	position: relative;
	display: flex;
	align-items: center;
}

.tool-search__input {
	width: 100%;
	padding: 0.55rem 2.25rem 0.55rem 0.85rem; /* Highly compact search bar */
	font-family: var(--font);
	font-size: 0.875rem;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	box-shadow: 0 1px 2px rgba(0,0,0,0.01);
	transition: all 0.15s var(--ease-out);
	-webkit-appearance: none;
	appearance: none;
}

.tool-search__input::placeholder {
	color: var(--muted-2);
}

.tool-search__input:hover {
	border-color: var(--accent-muted);
}

.tool-search__input:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft), 0 2px 6px rgba(79, 70, 229, 0.03);
}

.tool-search__icon {
	position: absolute;
	right: 10px;
	color: var(--muted-2);
	pointer-events: none;
	width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Live Search Results Popup Dropdown */
.tool-search__results {
	list-style: none;
	margin: 0;
	padding: 0.3rem;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	box-shadow: 0 4px 10px rgba(0,0,0,0.04);
	margin-top: 0.25rem;
	z-index: 105;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	max-height: 18rem;
	overflow-y: auto;
}

.tool-search__results[hidden] {
	display: none !important;
}

.tool-search__results li {
	padding: 0.45rem 0.65rem;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--text);
	transition: all 0.15s var(--ease-out);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tool-search__results li.is-active,
.tool-search__results li:hover {
	background: var(--accent-soft);
	color: var(--accent);
}

.tool-search__empty {
	padding: 0.65rem;
	text-align: center;
	color: var(--muted);
	font-size: 0.8125rem;
}

/* ----- Homepage Catalog Layout ----- */
.tool-category {
	margin-bottom: 1.5rem; /* Highly compact gap between categories */
}

.tool-category:last-child {
	margin-bottom: 0;
}

.tool-category__title {
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted-2);
	margin: 0 0 0.75rem 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.tool-category__title::after {
	content: "";
	flex-grow: 1;
	height: 1px;
	background: var(--border);
}

/* The Tools Responsive Grid */
.tool-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.75rem; /* Tighter grid padding */
}

/* Compact, flat, elegant Tool Cards using Outfit Display Font */
.tool-card {
	display: block;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.85rem 1rem; /* Extremely tight card padding */
	text-decoration: none;
	position: relative;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0,0,0,0.01);
	transition: all 0.2s var(--ease-out);
}

.tool-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 2.5px;
	height: 100%;
	background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
	transform: scaleY(0);
	transition: transform 0.2s var(--ease-out);
}

.tool-card:hover {
	transform: translateY(-1.5px);
	border-color: var(--border-strong);
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03);
}

.tool-card:hover::before {
	transform: scaleY(1);
}

.tool-card__title {
	margin: 0 0 0.2rem;
	font-family: var(--font-display);
	font-size: 0.875rem; /* Clean readable titles */
	font-weight: 600;
	color: var(--text);
	letter-spacing: -0.015em;
	transition: color 0.15s ease;
}

.tool-card:hover .tool-card__title {
	color: var(--accent);
}

.tool-card__excerpt {
	margin: 0;
	font-size: 0.78rem; /* Ultra-compact readability */
	color: var(--muted);
	line-height: 1.4;
}

/* ----- Google AdSense Dashboard Slots (Highly Optimized & CTR Friendly) ----- */
.ad-region {
	margin: 0.85rem 0; /* Tight margins around ad areas */
	width: 100%;
	display: block;
}

.ad-region__inner {
	max-width: var(--shell);
	margin: 0 auto;
	text-align: center;
}

/* placeholders styling - extremely clean, razor-sharp thin borders */
.ad-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	text-align: center;
	padding: 0.75rem;
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius-sm);
	background: var(--surface-2);
	color: var(--muted);
	transition: all 0.15s var(--ease-out);
}

.ad-placeholder:hover {
	border-color: var(--accent-muted);
	background: var(--accent-soft);
}

.ad-placeholder__label {
	font-size: 0.58rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted-2);
}

.ad-placeholder__hint {
	font-size: 0.75rem;
	color: var(--muted);
}

.ad-placeholder__note {
	font-size: 0.68rem;
	opacity: 0.8;
	color: var(--muted-2);
}

/* Ad Regions Modifiers */
.ad-region--top {
	border-bottom: 1px solid var(--border);
	padding: 0.4rem 0;
	background: var(--surface);
}

.ad-region--bottom {
	border-top: 1px solid var(--border);
	padding: 0.4rem 0;
	background: var(--surface);
}

.ad-placeholder--banner {
	min-height: 90px;
	width: 100%;
}

.sidebar .ad-placeholder {
	min-height: 250px;
}

/* ----- Sticky Compact Sidebars ----- */
.sidebar {
	min-width: 0;
	position: relative;
}

.sidebar__sticky {
	position: sticky;
	top: calc(var(--space) + 40px);
}

.admin-bar .sidebar__sticky {
	top: calc(var(--space) + 72px);
}

.sidebar .widget {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.85rem 1rem; /* Compact padding */
	margin-bottom: 0.75rem; /* Compact gap */
	box-shadow: 0 1px 2px rgba(0,0,0,0.005);
	transition: border-color 0.15s ease;
}

.sidebar .widget:hover {
	border-color: var(--border-strong);
}

.sidebar .widget:last-child {
	margin-bottom: 0;
}

.widget-title,
.sidebar .widget-title {
	margin: 0 0 0.65rem;
	font-family: var(--font-display);
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text);
	opacity: 0.85;
	display: flex;
	align-items: center;
	gap: 6px;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.widget li {
	margin: 0;
	font-size: 0.8125rem;
}

.widget a {
	text-decoration: none;
	color: var(--muted);
	font-weight: 500;
	transition: color 0.15s ease;
}

.widget a:hover {
	color: var(--accent);
}

.widget p {
	margin: 0.3rem 0 0;
	font-size: 0.78rem;
	color: var(--muted);
	line-height: 1.4;
}

/* ----- Single Tool Page & Breadcrumbs ----- */
.tool-breadcrumbs {
	margin-bottom: 0.85rem;
}

.tool-breadcrumbs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.tool-breadcrumbs__item {
	font-size: 0.75rem;
	font-weight: 500;
}

.tool-breadcrumbs__link {
	color: var(--muted-2);
	text-decoration: none;
}

.tool-breadcrumbs__link:hover {
	color: var(--accent);
}

.tool-breadcrumbs__text {
	color: var(--muted);
}

.tool-breadcrumbs__sep-inner {
	color: var(--border-strong);
	font-size: 0.7rem;
}

.tool-page-header {
	margin-bottom: 1.25rem;
}

.tool-page-header__title {
	margin: 0 0 0.35rem 0;
	font-size: clamp(1.4rem, 4vw, 1.85rem); /* Cleaner, tighter title scaling */
	font-weight: 800;
	color: var(--text);
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.tool-page-header__lede {
	font-size: 0.95rem;
	color: var(--muted);
	line-height: 1.45;
	margin: 0 0 0.85rem 0;
	max-width: 44rem;
}

.tool-page-header__terms {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.35rem;
}

.tool-page-header__terms a {
	display: inline-block;
	background: var(--surface-2);
	color: var(--muted);
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.2rem 0.5rem;
	border-radius: 50px;
	transition: all 0.15s ease;
}

.tool-page-header__terms a:hover {
	background: var(--accent-soft);
	color: var(--accent);
}

/* Tool Interactive Application Console Canvas */
.tool-feature-wrap {
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	padding: var(--space);
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
	margin: 1.25rem 0;
	overflow: hidden;
}

.tool-article__thumb {
	margin-bottom: 1.25rem;
	overflow: hidden;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
}

.tool-article__thumb img {
	width: 100%;
	object-fit: cover;
}

/* Tool Technical Documentation Body Typography */
.tool-article__content {
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--muted);
}

.tool-article__content h2,
.tool-article__content h3,
.tool-article__content h4 {
	color: var(--text);
	margin-top: 1.5rem;
	margin-bottom: 0.6rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.tool-article__content h2 { font-size: 1.25rem; }
.tool-article__content h3 { font-size: 1.05rem; }

.tool-article__content p {
	margin: 0 0 0.85rem 0;
}

.tool-article__content ul,
.tool-article__content ol {
	margin: 0 0 1rem 1.15rem;
	padding: 0;
}

.tool-article__content li {
	margin-bottom: 0.25rem;
}

/* ----- Footer (Compact Clean strip) ----- */
.site-footer {
	background: var(--surface);
	border-top: 1px solid var(--border);
	padding: 1.5rem 0; /* Compact footer padding */
	margin-top: 3rem; /* Compact margin */
}

.site-footer__wrap {
	max-width: var(--shell);
	margin: 0 auto;
	padding: 0 var(--space);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
}

.site-footer__title {
	margin: 0;
}

.site-footer__tagline {
	margin: 0.05rem 0 0;
	font-size: 0.68rem;
	color: var(--muted-2);
}

.site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 1rem;
}

.site-footer__menu a {
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 500;
}

.site-footer__menu a:hover {
	color: var(--accent);
}

.site-footer__bottom {
	width: 100%;
	border-top: 1px solid var(--border);
	padding-top: 0.85rem;
	margin-top: 0.35rem;
}

.site-footer__copy {
	margin: 0;
	font-size: 0.75rem;
	color: var(--muted-2);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.site-footer__copy-sep {
	color: var(--border-strong);
}

/* ----- Live tool search (sidebar + catalog hero) ----- */
.tool-search {
	position: relative;
}

.tool-search__field {
	position: relative;
	display: flex;
	align-items: center;
}

.tool-search__input {
	width: 100%;
	margin: 0;
	padding: 0.58rem 2.15rem 0.58rem 0.75rem;
	font-family: var(--font);
	font-size: 0.9375rem;
	line-height: 1.4;
	color: var(--text);
	background: var(--bg-elevated);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	transition: border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
	-webkit-appearance: none;
	appearance: none;
}

.tool-search__input::placeholder {
	font-family: inherit;
	font-size: inherit;
	font-weight: 400;
	color: var(--muted-2);
}

/* Sidebar search — match catalog hero (Lora / --font-display) */
.sidebar-tool-search .tool-search__input {
	font-family: var(--font-display);
	font-size: 0.84rem;
	font-weight: 400;
}

.sidebar-tool-search .tool-search__input::placeholder {
	font-family: var(--font-display);
	font-size: 0.84rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--muted);
	opacity: 1;
}

.sidebar-tool-search .tool-search__title {
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.sidebar-tool-search .tool-search__empty {
	font-family: var(--font-display);
	font-size: 0.84rem;
}

.tool-search__input:hover {
	border-color: var(--accent-muted);
}

.tool-search__input:focus {
	border-color: var(--accent-muted);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.tool-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.tool-search__icon {
	position: absolute;
	right: 0.65rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--muted-2);
	pointer-events: none;
}

.tool-search__results {
	position: absolute;
	z-index: 30;
	left: 0;
	right: 0;
	top: calc(100% + 0.35rem);
	margin: 0;
	padding: 0.3rem;
	list-style: none;
	max-height: 16.5rem;
	overflow-y: auto;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	box-shadow: 0 10px 28px rgba(42, 38, 34, 0.1);
}

.tool-search__results[hidden] {
	display: none;
}

.tool-search__results [role="option"] {
	margin: 0;
	padding: 0.55rem 0.65rem;
	border-radius: var(--radius-xs);
	cursor: pointer;
	transition: background 0.12s var(--ease-out);
}

.tool-search__results [role="option"].is-active,
.tool-search__results [role="option"]:hover {
	background: var(--accent-soft);
}

.tool-search__title {
	display: block;
	font-family: var(--font);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text);
	line-height: 1.35;
}

.tool-search__empty {
	margin: 0;
	padding: 0.55rem 0.65rem;
	font-family: var(--font);
	font-size: 0.84rem;
	color: var(--muted);
}

/* ----- Catalog Search Hero Section ----- */
.catalog-search {
	text-align: center;
	padding: 1.25rem var(--space);
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.015);
	margin-bottom: 1rem;
	position: relative;
	display: block;
	z-index: 1;
}

.catalog-search::before,
.catalog-search::after {
	display: none !important;
}

.catalog-search__intro {
	max-width: 32rem;
	margin: 0 auto 0.75rem auto;
	position: relative;
	z-index: 2;
}

.catalog-search__title {
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--text);
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin: 0 0 0.25rem 0;
}

.catalog-search__hook {
	font-size: 0.85rem;
	color: var(--muted);
	line-height: 1.4;
	margin: 0;
}

.catalog-search__hook-accent {
	color: var(--accent);
	font-weight: 600;
}

.catalog-search__field-wrap {
	max-width: 480px;
	margin: 0 auto;
	position: relative;
	width: 100%;
	z-index: 10;
}

.catalog-search__popular-link {
	transition: all 0.16s var(--ease-out);
}

.catalog-search__popular-link:hover {
	color: var(--accent) !important;
	border-color: var(--accent-muted) !important;
	background: var(--accent-soft) !important;
	transform: translateY(-1.5px);
	box-shadow: 0 4px 12px rgba(109, 40, 217, 0.06);
}

.catalog-search .tool-search {
	margin-bottom: 0;
}

.catalog-search .tool-search__results {
	position: absolute;
	z-index: 110;
	left: 0;
	right: 0;
	top: calc(100% + 0.35rem);
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	text-align: left;
}

/* ----- Single Tool Page Metadata & Views Capsule ----- */
.tool-page-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

.tool-page-header__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.tool-page-header__terms li a {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--accent);
	background: var(--accent-soft);
	padding: 0.2rem 0.6rem;
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: all 0.15s var(--ease-out);
	border: 1px solid rgba(79, 70, 229, 0.08);
}

.tool-page-header__terms li a:hover {
	background: var(--accent-muted);
	color: var(--accent-hover);
}

.tool-page-views {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--muted-2);
	background: var(--surface-2);
	padding: 0.2rem 0.55rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	transition: all 0.15s var(--ease-out);
}

.tool-page-views__icon {
	color: var(--muted);
	flex-shrink: 0;
}

/* ==========================================================================
   ToolStack Interactive Feature Component Styles
   ========================================================================== */

.tool-feature {
	margin-top: 1.5rem;
	padding: 1.75rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.03);
}

.tool-group {
	margin-bottom: 1.25rem;
}

.tool-group--result {
	margin-top: 1.5rem;
}

.tool-group__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
}

.tool-group__title {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text);
}

.tool-group__label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text);
}

.tool-textarea-wrapper {
	position: relative;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--surface-2);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tool-textarea-wrapper:focus-within {
	border-color: var(--text);
	box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.05);
}

.tool-textarea {
	width: 100%;
	min-height: 140px;
	padding: 1rem;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--text);
	resize: vertical;
	outline: none;
}

.tool-textarea--code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.825rem;
}

.tool-textarea--words {
	min-height: 180px;
}

.tool-textarea[readonly] {
	color: var(--muted-2);
	cursor: default;
}

/* Actions and Buttons */
.tool-actions-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.75rem;
	padding-top: 0.5rem;
}

.tool-actions-bar__left {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.tool-actions-bar__right {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: auto;
}

.tool-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1rem;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	background: var(--surface-2);
	color: var(--text);
	cursor: pointer;
	transition: all 0.15s ease;
}

.tool-btn:hover {
	background: var(--border);
}

.tool-btn--primary {
	background: var(--text);
	border-color: var(--text);
	color: var(--surface);
}

.tool-btn--primary:hover {
	background: #1e293b;
	border-color: #1e293b;
}

.tool-btn--accent {
	background: #f1f5f9;
	border-color: var(--border);
	color: #0f172a;
}

.tool-btn--accent:hover {
	background: #e2e8f0;
}

.tool-btn--danger {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #991b1b;
}

.tool-btn--danger:hover {
	background: #fee2e2;
}

.tool-btn--success {
	background: #f0fdf4;
	border-color: #86efac;
	color: #166534;
}

/* Form controls */
.tool-action-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--muted-2);
}

.tool-select {
	padding: 0.4rem 0.75rem;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 500;
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	background: var(--surface-2);
	color: var(--text);
	outline: none;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.tool-select:focus {
	border-color: var(--text);
}

/* Sliders */
.tool-slider-wrapper {
	margin-top: 0.5rem;
}

.tool-slider {
	-webkit-appearance: none;
	width: 100%;
	height: 6px;
	border-radius: 3px;
	background: var(--border);
	outline: none;
	margin: 0.75rem 0;
}

.tool-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--text);
	cursor: pointer;
	transition: transform 0.1s ease;
}

.tool-slider::-webkit-slider-thumb:hover {
	transform: scale(1.15);
}

.tool-slider-ticks {
	display: flex;
	justify-content: space-between;
	font-size: 0.7rem;
	font-weight: 500;
	color: var(--muted-2);
	padding: 0 0.1rem;
}

/* Radio & Checkboxes */
.tool-radio-group {
	display: flex;
	gap: 1rem;
}

.tool-radio-label, .tool-checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--text);
	cursor: pointer;
}

.tool-radio-label input[type="radio"], .tool-checkbox-label input[type="checkbox"] {
	margin: 0;
	accent-color: var(--text);
	width: 15px;
	height: 15px;
}

/* Badges & Alerts */
.tool-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.5rem;
	font-size: 0.65rem;
	font-weight: 600;
	border-radius: var(--radius-sm);
	text-transform: uppercase;
}

.tool-badge--success {
	background: #dcfce7;
	color: #15803d;
}

.tool-badge--danger {
	background: #fee2e2;
	color: #b91c1c;
}

.tool-badge--info {
	background: #e0f2fe;
	color: #0369a1;
}

.tool-alert {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.75rem 1rem;
	border-radius: var(--radius-md);
	margin-top: 1rem;
	font-size: 0.8rem;
	font-weight: 500;
}

.tool-alert--error {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #991b1b;
}

.tool-alert--info {
	background: #f8fafc;
	border: 1px solid var(--border);
	color: var(--text);
}

.tool-alert__icon {
	margin-top: 0.1rem;
	flex-shrink: 0;
}

/* Stats grid */
.tool-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.tool-stat-card {
	padding: 1rem;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	text-align: center;
}

.tool-stat-card__value {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--text);
}

.tool-stat-card__label {
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--muted-2);
	text-transform: uppercase;
	margin-top: 0.25rem;
	letter-spacing: 0.02em;
}

/* Limit Bar Progress Tracker */
.tool-limits-wrapper {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px dashed var(--border);
}

.tool-limits-title {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 0.85rem;
}

.tool-limits-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.tool-limit-bar-card__meta {
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--muted-2);
	margin-bottom: 0.35rem;
}

.tool-limit-bar-card__name {
	font-weight: 600;
	color: var(--text);
}

.tool-limit-progress-track {
	height: 6px;
	background: var(--surface-2);
	border-radius: 3px;
	overflow: hidden;
}

.tool-limit-progress-bar {
	height: 100%;
	background: #3b82f6;
	border-radius: 3px;
	transition: width 0.15s ease;
}

.tool-limit-progress-bar--exceeded {
	background: #ef4444;
}

/* Tabs Panel Navigation */
.tool-tabs-navigation {
	display: flex;
	gap: 0.35rem;
	border-bottom: 1px solid var(--border);
	margin-bottom: 1.25rem;
	padding-bottom: 2px;
}

.tool-tab-btn {
	padding: 0.5rem 1rem;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--muted-2);
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	transition: all 0.15s ease;
}

.tool-tab-btn:hover {
	color: var(--text);
}

.tool-tab-btn--active {
	color: var(--text);
	border-bottom-color: var(--text);
}

/* Dashed File Dropzones */
.tool-dropzone {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2.25rem 1.5rem;
	border: 2px dashed var(--border);
	border-radius: var(--radius-md);
	background: var(--surface-2);
	text-align: center;
	cursor: pointer;
	transition: all 0.15s ease;
}

.tool-dropzone:hover, .tool-dropzone--active {
	border-color: var(--text);
	background: #fafafb;
}

.tool-dropzone__icon {
	color: var(--muted-2);
	margin-bottom: 0.5rem;
}

.tool-dropzone__title {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text);
}

.tool-dropzone__hint {
	font-size: 0.7rem;
	font-weight: 500;
	color: var(--muted-2);
	margin-top: 0.25rem;
}

.tool-dropzone__input {
	display: none;
}

/* Uploaded File Cards */
.tool-file-card {
	padding: 1rem;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	margin-top: 1rem;
}

.tool-file-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--border);
	margin-bottom: 0.75rem;
}

.tool-file-card__name {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text);
}

.tool-file-card__size {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--muted-2);
}

/* Bulk UUID Lists styling */
.tool-uuid-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-height: 320px;
	overflow-y: auto;
	padding-right: 0.25rem;
	margin-top: 0.5rem;
}

.tool-uuid-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.65rem 0.85rem;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
}

.tool-uuid-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.775rem;
	font-weight: 600;
	color: var(--text);
	word-break: break-all;
}

.tool-uuid-copy-btn {
	background: transparent;
	border: 0;
	color: var(--muted-2);
	padding: 0.25rem;
	cursor: pointer;
	border-radius: var(--radius-sm);
	transition: all 0.15s ease;
	display: flex;
}

.tool-uuid-copy-btn:hover {
	color: var(--text);
	background: var(--border);
}

.tool-uuid-copy-btn--success {
	color: #166534 !important;
	background: #dcfce7 !important;
}

/* Cryptographic Hash Card grids */
.tool-hash-grid {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin-top: 1.5rem;
}

.tool-hash-card {
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.tool-hash-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0.75rem;
	background: #f8fafc;
	border-bottom: 1px solid var(--border);
}

.tool-hash-card__algo {
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--text);
	text-transform: uppercase;
}

.tool-hash-card__copy {
	background: transparent;
	border: 0;
	color: var(--muted-2);
	cursor: pointer;
	padding: 0.2rem;
	border-radius: var(--radius-sm);
	transition: all 0.1s ease;
	display: flex;
}

.tool-hash-card__copy:hover {
	color: var(--text);
	background: var(--border);
}

.tool-hash-card__copy--success {
	color: #166534 !important;
	background: #dcfce7 !important;
}

.tool-hash-card__output {
	padding: 0.65rem 0.75rem;
}

.tool-hash-value {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.775rem;
	color: var(--muted-2);
	word-break: break-all;
}

/* Color Workspace Dashboard */
.tool-color-workspace {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 1.5rem;
}

@media (max-width: 600px) {
	.tool-color-workspace {
		grid-template-columns: 1fr;
	}
}

.tool-color-visual-block {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.tool-color-preview-box {
	height: 130px;
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	font-weight: 600;
}

.tool-color-input-wrap {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.tool-color-input {
	border: 0;
	padding: 0;
	width: 32px;
	height: 32px;
	border-radius: 4px;
	cursor: pointer;
	background: transparent;
}

.tool-color-adjustments {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.tool-color-sliders-grid {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.tool-color-slider-row {
	display: flex;
	flex-direction: column;
}

.tool-color-slider-meta {
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--muted-2);
}

.tool-color-slider-lbl {
	color: var(--text);
}

.tool-color-codes-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.65rem;
}

.tool-color-code-card {
	padding: 0.65rem;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	display: flex;
	flex-direction: column;
	position: relative;
}

.tool-color-code-lbl {
	font-size: 0.65rem;
	font-weight: 700;
	color: var(--muted-2);
}

.tool-color-code-val {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text);
	margin-top: 0.15rem;
}

.tool-color-code-copy {
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.65rem;
	font-weight: 600;
	color: var(--muted-2);
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 0.2rem 0.35rem;
	border-radius: var(--radius-sm);
	transition: all 0.1s ease;
}

.tool-color-code-copy:hover {
	color: var(--text);
	background: var(--border);
}

.tool-color-code-copy--success {
	color: #166534 !important;
	background: #dcfce7 !important;
}

/* Contrast Report Accessibilities styling */
.tool-color-contrast-report {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px dashed var(--border);
}

.tool-contrast-header {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 0.65rem;
}

.tool-contrast-badges-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5rem;
}

@media (max-width: 600px) {
	.tool-contrast-badges-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.tool-contrast-badge-card {
	padding: 0.5rem;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
}

.tool-contrast-badge-name {
	font-size: 0.65rem;
	font-weight: 600;
	color: var(--muted-2);
}

/* Palette Swatches matching styling */
.tool-color-palettes {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px dashed var(--border);
}

.tool-palettes-title {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text);
}

.tool-palettes-desc {
	font-size: 0.725rem;
	color: var(--muted-2);
	margin-bottom: 0.85rem;
}

.tool-palette-section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.tool-palette-section__title {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text);
}

.tool-palette-swatches {
	display: flex;
	gap: 0.35rem;
}

.tool-palette-swatch {
	width: 28px;
	height: 28px;
	border-radius: 4px;
	border: 1px solid var(--border);
	cursor: pointer;
	transition: transform 0.1s ease;
}

.tool-palette-swatch:hover {
	transform: scale(1.1);
}

/* Standard Presets */
.tool-color-presets {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px dashed var(--border);
}

.tool-presets-title {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 0.65rem;
}

.tool-presets-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.tool-preset-swatch {
	width: 24px;
	height: 24px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	cursor: pointer;
	transition: transform 0.1s ease;
}

.tool-preset-swatch:hover {
	transform: scale(1.15);
}

/* Image Dashboard styling */
.tool-image-dashboard {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.tool-image-comparison-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

@media (max-width: 550px) {
	.tool-image-comparison-grid {
		grid-template-columns: 1fr;
	}
}

.tool-image-preview-card {
	padding: 0.85rem;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.tool-image-preview-card__label {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text);
}

.tool-image-preview-box {
	height: 180px;
	background: #f1f5f9;
	border-radius: var(--radius-sm);
	border: 1px dashed var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.tool-image-preview-box img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.tool-image-meta-info {
	display: flex;
	justify-content: space-between;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--muted-2);
}

.tool-image-controls-card {
	padding: 1rem;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
}

/* Detailed Educational Articles */
.tool-article-guide {
	margin-top: 2.25rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--border);
}

.tool-article-guide__title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 0.75rem;
}

.tool-article-guide__subtitle {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text);
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
}

.tool-article-guide__intro {
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--muted-2);
	margin-bottom: 1rem;
}

.tool-article-guide p {
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--muted-2);
	margin-bottom: 0.75rem;
}

.tool-article-guide__list {
	list-style: none;
	padding: 0;
	margin: 0.75rem 0 1rem 0;
}

.tool-article-guide__list li {
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--muted-2);
	margin-bottom: 0.5rem;
	position: relative;
	padding-left: 1.25rem;
}

.tool-article-guide__list li::before {
	content: "•";
	position: absolute;
	left: 0.25rem;
	color: var(--text);
	font-weight: 700;
}

.tool-feature__code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	background: var(--surface-2);
	border: 1px solid var(--border);
	padding: 0.5rem 0.75rem;
	border-radius: var(--radius-sm);
	font-size: 0.775rem;
	color: var(--text);
	display: block;
	margin: 0.5rem 0;
}

.tool-feature__code--inline {
	display: inline-block;
	padding: 0.15rem 0.35rem;
	margin: 0;
}

.tool-control-board {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.25rem;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
}

.tool-control-row {
	display: flex;
	flex-direction: column;
}

.tool-control-label-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.25rem;
}

.tool-control-options {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 0.5rem;
}

/* ----- Responsive Breakpoints ----- */
@media (max-width: 960px) {
	.site-body {
		grid-template-columns: minmax(0, 1fr);
	}
	.sidebar {
		margin-top: 1rem;
	}
}

@media (max-width: 768px) {
	.site-header__inner {
		position: relative;
	}

	.menu-toggle {
		display: flex !important;
		align-items: center;
		justify-content: center;
		background: transparent;
		border: 1px solid var(--border);
		border-radius: var(--radius-sm);
		color: var(--text);
		width: 36px;
		height: 36px;
		cursor: pointer;
		transition: all 0.15s ease;
		padding: 0;
		position: relative;
		z-index: 101;
	}

	.menu-toggle:hover {
		background: var(--surface-2);
		border-color: var(--border-strong);
	}

	.menu-toggle__icon line {
		transition: transform 0.22s var(--ease-out), opacity 0.22s var(--ease-out);
		transform-origin: center;
	}

	.menu-toggle.is-active .line-mid {
		opacity: 0;
		transform: scaleX(0);
	}

	.menu-toggle.is-active .line-top {
		transform: translateY(6px) rotate(45deg);
	}

	.menu-toggle.is-active .line-bot {
		transform: translateY(-6px) rotate(-45deg);
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--surface);
		border-bottom: 1px solid var(--border);
		border-top: 1px solid var(--border);
		padding: 0.5rem var(--space);
		display: none !important;
		z-index: 99;
		box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	}

	.site-nav.is-open {
		display: block !important;
		animation: slideDownMenu 0.25s var(--ease-out) forwards;
	}

	.site-nav ul {
		flex-direction: column;
		align-items: stretch !important;
		gap: 0.15rem !important;
		width: 100%;
		padding: 0;
	}

	.site-nav li {
		width: 100%;
	}

	.site-nav a {
		display: block;
		width: 100%;
		padding: 0.5rem 0.75rem !important;
		font-size: 0.85rem !important;
		border-radius: var(--radius-sm);
	}

	/* Sub-dropdown adjustments inside vertical list */
	.site-nav ul ul {
		position: static !important;
		display: none !important;
		box-shadow: none !important;
		border: none !important;
		background: rgba(0, 0, 0, 0.015) !important;
		padding-left: 0.75rem !important;
		margin-top: 0.15rem !important;
		margin-bottom: 0.15rem !important;
		width: calc(100% - 0.75rem) !important;
	}

	.site-nav li:hover > ul {
		display: block !important;
	}
}

@media (max-width: 640px) {
	.site-footer__wrap {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
}

@keyframes slideDownMenu {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ----- Search Hero Background Keyframe Animation ----- */
@keyframes movingDots1 {
	0% {
		background-position: 0px 0px;
	}
	100% {
		background-position: 56px 56px;
	}
}

@keyframes movingDots2 {
	0% {
		background-position: 0px 0px;
	}
	100% {
		background-position: -68px 136px;
	}
}

/* ----- Premium Outlined SaaS Pagination ----- */
.pagination {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px dashed var(--border);
	display: flex;
	justify-content: flex-start;
}

.pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 0.75rem;
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--muted);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg);
	text-decoration: none;
	transition: all 0.15s var(--ease-out);
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}

.pagination a.page-numbers:hover {
	color: var(--accent) !important;
	border-color: var(--accent) !important;
	background: var(--accent-soft) !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.05);
}

.pagination .page-numbers.current {
	color: #ffffff !important;
	background: var(--accent) !important;
	border-color: var(--accent) !important;
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.pagination .page-numbers.dots {
	border-color: transparent !important;
	background: transparent !important;
	cursor: default;
}

/* ----- Standard Static Pages & Typography ----- */
.standard-page {
	padding: 0;
	margin: 0;
}

.page-article {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--space);
	box-shadow: 0 1px 3px rgba(0,0,0,0.01);
}

.page-header {
	margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--border);
	padding-bottom: 1.25rem;
}

.page-header__title {
	font-size: clamp(1.4rem, 4vw, 1.85rem);
	font-weight: 800;
	color: var(--text);
	margin-bottom: 0.35rem;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.page-header__lede {
	font-size: 0.95rem;
	color: var(--muted);
	line-height: 1.45;
	margin: 0;
	max-width: 44rem;
}

.page-article__content {
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--muted);
}

.page-article__content h2 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text);
	margin: 1.5rem 0 0.6rem;
	letter-spacing: -0.02em;
}

.page-article__content h3 {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text);
	margin: 1.25rem 0 0.5rem;
	letter-spacing: -0.015em;
}

.page-article__content p {
	margin: 0 0 0.85rem 0;
}

.page-article__content ul,
.page-article__content ol {
	margin: 0 0 1rem 0;
	padding-left: 1.25rem;
}

.page-article__content li {
	margin-bottom: 0.35rem;
}

.page-article__content strong {
	color: var(--text);
}

/* ==========================================================================
   Global Interactive Tool Utilities & Success Buttons
   ========================================================================== */
.tool-btn--success {
	background: #10b981 !important;
	border-color: #059669 !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
}

.tool-btn--success:hover,
.tool-btn--success:focus {
	background: #059669 !important;
	border-color: #047857 !important;
	color: #ffffff !important;
}

/* ==========================================================================
   Exclusive Tools Layout Hover & Interactive Styling Rules
   ========================================================================== */
.tool-card--exclusive:hover {
	transform: translateY(-2.5px) !important;
	border-color: var(--accent) !important;
	box-shadow: 0 6px 18px rgba(79, 70, 229, 0.08) !important;
}

.exclusive-sidebar-link:hover {
	color: var(--accent) !important;
}


