:root {
	--bg: #f8fafc;
	--surface: #ffffff;
	--surface-alt: #eef4ff;
	--surface-dark: #0f172a;
	--surface-dark-2: #111827;
	--text: #0f172a;
	--text-soft: #475569;
	--text-faint: #64748b;
	--line: #dbe4ef;
	--line-strong: #c5d3e3;
	--brand: #2563eb;
	--brand-strong: #1d4ed8;
	--brand-soft: #dbeafe;
	--brand-indigo: #4f46e5;
	--success: #059669;
	--warning: #d97706;
	--danger: #e11d48;
	--shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
	--shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.06);
	--radius-lg: 28px;
	--radius-md: 20px;
	--radius-sm: 14px;
	--container: 1160px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Manrope", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.7;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: min(calc(100% - 2rem), var(--container));
	margin: 0 auto;
}

.site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1;
	padding: 2rem 0 4rem;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgba(219, 228, 239, 0.84);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(18px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
}

.site-brand img {
	width: 48px;
	height: 48px;
	border-radius: 16px;
}

.site-nav {
	display: flex;
	flex: 1;
	justify-content: center;
}

.site-nav__menu {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__menu a {
	display: inline-flex;
	align-items: center;
	padding: 0.7rem 1rem;
	border-radius: 999px;
	color: var(--text-soft);
	font-size: 0.95rem;
	font-weight: 700;
	transition: background 0.2s ease, color 0.2s ease;
}

.site-nav__menu a:hover,
.site-nav__menu .current-menu-item a,
.site-nav__menu .current_page_item a {
	background: #eef4ff;
	color: var(--text);
}

.site-header__search,
.site-header__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	background: var(--surface);
	border-radius: 999px;
	padding: 0.7rem 1rem;
	color: var(--text-soft);
	font-weight: 700;
}

.site-header__toggle {
	display: none;
	gap: 0.25rem;
	flex-direction: column;
	padding: 0.8rem;
}

.site-header__toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--text);
	border-radius: 999px;
}

.site-search-panel {
	border-top: 1px solid var(--line);
	padding: 1rem 0 1.25rem;
	background: rgba(255, 255, 255, 0.96);
}

.search-form {
	display: flex;
	align-items: stretch;
	gap: 0.75rem;
}

.search-form label {
	flex: 1;
}

.search-form input {
	width: 100%;
	border: 1px solid var(--line);
	background: var(--surface);
	border-radius: 18px;
	padding: 0.95rem 1.1rem;
	color: var(--text);
	box-shadow: var(--shadow-soft);
}

.search-form button,
.button,
.wptl-contact-form button,
.tool-form button,
.cookie-banner__actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: linear-gradient(135deg, var(--brand), var(--brand-indigo));
	color: #fff;
	border-radius: 16px;
	padding: 0.95rem 1.2rem;
	font-weight: 800;
	box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.hero {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, #2563eb 0%, #3b82f6 38%, #4f46e5 100%);
	color: #fff;
	box-shadow: var(--shadow);
}

.hero::before,
.tool-hero__pattern {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 28%),
		radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.14), transparent 24%),
		radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.08), transparent 28%);
}

.hero--home {
	padding: clamp(2rem, 4vw, 3.25rem);
	margin-bottom: 2rem;
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 780px;
}

.hero h1,
.tool-hero h1,
.section-header h1,
.article-card__header h1,
.page-card h1,
.tool-page__header h1,
.error-card h1 {
	margin: 0;
	font-family: "Red Hat Display", system-ui, sans-serif;
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.hero h1 {
	font-size: clamp(2.35rem, 6vw, 2.6rem);
}

.hero__lead,
.hero__support {
	margin: 1rem 0 0;
	max-width: 60ch;
}

.hero__lead {
	font-size: 1.125rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.94);
}

.hero__support {
	color: rgba(255, 255, 255, 0.82);
}

.hero__search {
	margin-top: 1.5rem;
	max-width: 560px;
}

.content-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 0.9fr);
	gap: 2rem;
	align-items: start;
}

.post-feed__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.post-card,
.sidebar-card,
.page-card,
.article-card,
.author-box,
.tool-card,
.tool-page__panel,
.error-card,
.empty-state {
	border: 1px solid var(--line);
	background: var(--surface);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
}

.post-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-card:hover,
.tool-card:hover {
	transform: translateY(-4px);
	border-color: #bfdbfe;
	box-shadow: var(--shadow);
}

.post-card__image {
	aspect-ratio: 16 / 9;
	background: #e2e8f0;
}

.post-card__image img,
.article-card__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.35rem;
}

.post-card__meta,
.article-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	color: var(--text-faint);
	font-size: 0.85rem;
	font-weight: 700;
}

.post-badge,
.tool-pill,
.tool-status,
.eyebrow,
.tool-page__eyebrow {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 0.45rem 0.8rem;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.badge-default,
.tool-status,
.eyebrow {
	background: #e2e8f0;
	color: var(--text-soft);
}

.badge-wordpress,
.badge-accent-blue,
.badge-accent-sky {
	background: #dbeafe;
	color: #1d4ed8;
}

.badge-blogging,
.badge-accent-amber,
.badge-accent-orange {
	background: #fef3c7;
	color: #b45309;
}

.badge-seo,
.badge-accent-emerald {
	background: #dcfce7;
	color: #047857;
}

.badge-accent-purple {
	background: #ede9fe;
	color: #6d28d9;
}

.badge-accent-rose {
	background: #ffe4e6;
	color: #be123c;
}

.post-card__title,
.section-header h1,
.section-header h2,
.related-posts h2,
.sidebar-card h2,
.page-card h1,
.page-card h2,
.page-card h3,
.tool-page__panel h2,
.tool-note h3,
.empty-state h2,
.article-card__content h2,
.article-card__content h3 {
	font-family: "Red Hat Display", system-ui, sans-serif;
	letter-spacing: -0.03em;
}

.post-card__title {
	margin: 0;
	font-size: 1.32rem;
	line-height: 1.2;
}

.post-card__title a:hover {
	color: var(--brand);
}

.post-card__excerpt,
.article-card__dek,
.section-header p,
.sidebar-card p,
.page-card p,
.empty-state p,
.tool-card p,
.tool-page__panel p,
.tool-note p {
	margin: 0;
	color: var(--text-soft);
}

.post-card__author {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-top: auto;
}

.post-card__avatar,
.author-box__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--brand), var(--brand-indigo));
	color: #fff;
	font-weight: 800;
}

.post-card__author strong,
.author-box h2 {
	display: block;
	font-size: 1rem;
}

.post-card__author span {
	display: block;
	font-size: 0.85rem;
	color: var(--text-faint);
}

.sidebar-card {
	padding: 1.5rem;
}

.sidebar-card h2,
.section-header h1,
.section-header h2 {
	margin: 0 0 0.8rem;
	font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.category-list,
.site-footer ul,
.tool-benefits,
.page-card ul,
.page-card ol,
.article-card__content ul,
.article-card__content ol {
	margin: 0;
	padding-left: 1.2rem;
}

.category-list li,
.site-footer li {
	list-style: none;
	padding: 0;
}

.category-list {
	padding: 0;
}

.category-list li + li {
	margin-top: 0.5rem;
}

.category-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-radius: 14px;
	padding: 0.8rem 0.9rem;
	color: var(--text-soft);
	font-weight: 700;
}

.category-list a:hover {
	background: #f8fbff;
	color: var(--text);
}

.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--surface);
	font-weight: 800;
	color: var(--text-soft);
}

.page-numbers.current,
.page-numbers:hover {
	background: linear-gradient(135deg, var(--brand), var(--brand-indigo));
	border-color: transparent;
	color: #fff;
}

.section-stack {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.section-header p {
	max-width: 66ch;
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--text-faint);
	font-size: 0.92rem;
}

.breadcrumb li:not(:last-child)::after {
	content: "/";
	margin-left: 0.5rem;
}

.breadcrumb a:hover {
	color: var(--brand);
}

.article-shell {
	max-width: 920px;
}

.article-card {
	padding: clamp(1.4rem, 3vw, 2.5rem);
}

.article-card__header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.article-card__header h1 {
	font-size: clamp(2.35rem, 5vw, 2rem);
}

.article-card__dek {
	font-size: 1.12rem;
}

.article-card__cover {
	overflow: hidden;
	border-radius: 22px;
	margin: 1.75rem 0;
	aspect-ratio: 16 / 8.25;
}

.article-card__content {
	color: var(--text-soft);
}

.article-card__content > *:first-child {
	margin-top: 0;
}

.article-card__content h2 {
	margin-top: 2.2rem;
	margin-bottom: 0.75rem;
	font-size: 1.9rem;
	color: var(--text);
	scroll-margin-top: 6rem;
}

.article-card__content h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
	font-size: 1.35rem;
	color: var(--text);
	scroll-margin-top: 6rem;
}

.article-card__content p,
.article-card__content li,
.page-card p,
.page-card li {
	color: var(--text-soft);
	line-height: 1.8;
}

.article-card__content a,
.page-card a,
.site-footer a,
.tool-open {
	color: var(--brand);
}

.article-card__content p + p,
.article-card__content ul + p,
.article-card__content ol + p,
.article-card__content p + ul,
.article-card__content p + ol,
.article-card__content table + p,
.article-card__content blockquote + p {
	margin-top: 1rem;
}

.article-card__content li + li {
	margin-top: 0.55rem;
}

.article-card__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.4rem 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	font-size: 0.98rem;
}

.article-card__content th,
.article-card__content td {
	padding: 0.95rem 1rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.article-card__content th {
	background: #f7faff;
	color: var(--text);
	font-weight: 800;
}

.article-card__content tr:last-child td {
	border-bottom: 0;
}

.article-card__content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.2rem;
	border-left: 4px solid var(--brand);
	border-radius: 0 18px 18px 0;
	background: #f8fbff;
	color: var(--text);
}

.article-card__content code {
	padding: 0.15rem 0.38rem;
	border-radius: 8px;
	background: #eef4ff;
	color: var(--brand-indigo);
	font-size: 0.92em;
}

.article-summary,
.article-toc,
.article-related-links {
	margin: 1.4rem 0 1.8rem;
	padding: 1.1rem 1.2rem;
	border: 1px solid rgba(34, 97, 194, 0.12);
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(241, 247, 255, 0.98));
}

.article-summary__eyebrow,
.article-toc__title {
	margin: 0 0 0.45rem;
	color: var(--text);
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.article-summary__body,
.article-related-links > p {
	margin: 0;
}

.article-toc ol,
.article-related-links ul {
	margin: 0;
	padding-left: 1.2rem;
}

.article-toc__item--h3 {
	margin-left: 0.9rem;
}

.article-related-links h2 {
	margin-top: 0;
}

.article-card__meta a {
	color: inherit;
}

.article-card__meta a:hover {
	color: var(--brand);
}

.article-note {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin: 1.2rem 0 0;
	padding: 1rem 1.1rem;
	border: 1px solid rgba(34, 97, 194, 0.12);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(238, 245, 255, 0.98));
	color: var(--text-soft);
	font-size: 0.95rem;
}

.article-note strong {
	color: var(--text);
}

.article-note a {
	font-weight: 700;
}

.author-box {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: center;
	padding: 1.5rem;
	margin-top: 1.5rem;
}

.related-posts {
	margin-top: 2rem;
}

.author-box__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 0.75rem;
}

.author-box__eyebrow,
.team-card__eyebrow {
	margin: 0 0 0.3rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-faint);
}

.author-box__title,
.team-card__title {
	margin: 0.15rem 0 0.55rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--brand);
}

.editorial-credits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 2rem;
}

.author-box--editor {
	background: linear-gradient(180deg, rgba(44, 108, 223, 0.08), rgba(44, 108, 223, 0.03));
}

.editorial-team {
	margin-top: 1.5rem;
}

.section-header--left {
	align-items: flex-start;
	text-align: left;
}

.editorial-team__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.team-card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	padding: 1.3rem;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	scroll-margin-top: 120px;
}

.team-card--editor {
	background: linear-gradient(180deg, rgba(44, 108, 223, 0.08), rgba(44, 108, 223, 0.03));
}

.team-card__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--ink), var(--brand));
	color: #fff;
	font-weight: 800;
	font-size: 1rem;
}

.team-card__body h3 {
	margin: 0;
	font-size: 1.05rem;
}

.team-card__body p:last-child {
	margin-bottom: 0;
}

.team-card__focus,
.team-card__count {
	font-size: 0.92rem;
	color: var(--text-soft);
}

.page-card,
.empty-state,
.error-card {
	padding: clamp(1.4rem, 3vw, 2.2rem);
}

.sitemap-page {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.sitemap-page__intro {
	max-width: 68ch;
}

.sitemap-page__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.sitemap-page__section {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.sitemap-page__section--wide {
	grid-column: 1 / -1;
}

.sitemap-page__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sitemap-page__list li + li {
	margin-top: 0.7rem;
}

.sitemap-page__list a {
	color: var(--text);
	font-weight: 700;
}

.sitemap-page__list a:hover {
	color: var(--brand);
}

.sitemap-page__list span {
	color: var(--text-faint);
	font-size: 0.92rem;
}

.sitemap-page__list--posts li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: baseline;
}

.page-card h1 {
	font-size: clamp(2rem, 4vw, 3.1rem);
}

.page-card .wp-block-group,
.page-card .wp-block-columns {
	margin: 1.5rem 0;
}

.page-card .notice,
.contact-form-shell .notice {
	border-radius: 16px;
	padding: 0.95rem 1rem;
	font-weight: 700;
}

.notice-success {
	background: #dcfce7;
	color: #166534;
}

.notice-error {
	background: #ffe4e6;
	color: #be123c;
}

.wptl-contact-form,
.tool-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.wptl-contact-form label,
.tool-form label {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	font-weight: 700;
	color: var(--text);
}

.wptl-contact-form input,
.wptl-contact-form textarea,
.tool-form input,
.tool-form textarea {
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 0.95rem 1rem;
	background: #fff;
	color: var(--text);
}

.wptl-honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.tool-hero {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: radial-gradient(circle at top, rgba(59, 130, 246, 0.22), transparent 42%), linear-gradient(135deg, #020617 0%, #172554 48%, #020617 100%);
	padding: clamp(2rem, 4vw, 3.4rem);
	color: #fff;
	box-shadow: var(--shadow);
}

.tool-hero__content {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.tool-hero h1 {
	font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.tool-hero p {
	margin: 1.1rem auto 0;
	max-width: 56ch;
	color: rgba(255, 255, 255, 0.82);
}

.tool-hero__stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 2rem;
}

.tool-hero__stats div {
	display: flex;
	align-items: baseline;
	gap: 0.45rem;
	color: rgba(255, 255, 255, 0.74);
}

.tool-hero__stats strong {
	font-size: 1.25rem;
	color: #fff;
}

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

.tool-list__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	color: var(--text-faint);
	font-size: 0.92rem;
}

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

.tool-card {
	display: grid;
	grid-template-columns: 52px 56px 1fr;
	gap: 1rem;
	align-items: start;
	padding: 1.2rem 1.25rem;
}

.tool-card__rank,
.tool-card__icon,
.tool-page__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
}

.tool-card__rank {
	height: 52px;
	background: #f8fafc;
	color: var(--text-faint);
	font-weight: 800;
}

.tool-card__icon,
.tool-page__icon {
	width: 52px;
	height: 52px;
	background: var(--brand-soft);
	color: var(--brand);
}

.tool-card__icon svg,
.tool-page__icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tool-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.tool-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
}

.tool-card__meta h2 {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.2;
}

.tool-status {
	background: var(--surface-dark);
	color: #fff;
}

.tool-open {
	font-size: 0.92rem;
	font-weight: 800;
}

.tool-page {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.tool-page__header {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
}

.tool-page__header h1 {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.tool-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.95fr);
	gap: 1.5rem;
}

.tool-page__panel {
	padding: 1.5rem;
}

.tool-page__panel h2 {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.45rem;
}

.tool-page__panel--secondary {
	background: linear-gradient(180deg, #fff, #f8fbff);
}

.tool-results {
	display: grid;
	gap: 0.6rem;
	margin-top: 0.5rem;
}

.tool-summary {
	margin-top: 1.5rem;
}

.tool-results__item,
.tool-note,
.checklist-item {
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #f8fbff;
	padding: 0.9rem 1rem;
}

.tool-results__item strong {
	display: block;
	color: var(--text);
}

.tool-field-note {
	margin: -0.15rem 0 0;
	color: var(--text-faint);
	font-size: 0.95rem;
}

.tool-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.tool-button {
	cursor: pointer;
}

.tool-button[disabled] {
	cursor: wait;
	opacity: 0.8;
}

.tool-button--ghost {
	background: #eff6ff;
	color: var(--brand);
	box-shadow: none;
	border: 1px solid #bfdbfe;
}

.tool-feedback {
	border-radius: 16px;
	padding: 0.9rem 1rem;
	font-weight: 700;
}

.tool-feedback.is-good {
	background: #dcfce7;
	color: #166534;
}

.tool-feedback.is-warn {
	background: #fef3c7;
	color: #92400e;
}

.tool-feedback.is-bad {
	background: #ffe4e6;
	color: #be123c;
}

.tool-score {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	padding: 1.1rem;
	border-radius: 20px;
	border: 1px solid var(--line);
	background: linear-gradient(180deg, #fff, #f8fbff);
}

.tool-tone--good {
	border-color: #bbf7d0;
	background: linear-gradient(180deg, #f0fdf4, #ffffff);
}

.tool-tone--warn {
	border-color: #fde68a;
	background: linear-gradient(180deg, #fffbeb, #ffffff);
}

.tool-tone--bad {
	border-color: #fecdd3;
	background: linear-gradient(180deg, #fff1f2, #ffffff);
}

.tool-score__value {
	display: inline-flex;
	align-items: flex-end;
	gap: 0.15rem;
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	line-height: 1;
	color: var(--text);
}

.tool-score__value span {
	font-size: 1rem;
	color: var(--text-faint);
	margin-bottom: 0.25rem;
}

.tool-score__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.tool-score__body p,
.tool-score__body span,
.tool-metric p,
.tool-results__item p,
.tool-quote footer,
.tool-history__header p {
	margin: 0;
	color: var(--text-soft);
}

.tool-score__body strong {
	font-size: 1.15rem;
}

.tool-metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.85rem;
}

.tool-metric {
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.tool-metric span {
	font-size: 0.88rem;
	color: var(--text-faint);
	font-weight: 700;
}

.tool-metric strong {
	font-size: 1.15rem;
	color: var(--text);
}

.tool-section {
	display: grid;
	gap: 0.85rem;
}

.tool-section h3 {
	margin: 0;
	font-size: 1.05rem;
}

.tool-results__grid,
.tool-results__stack,
.tool-history__items {
	display: grid;
	gap: 0.75rem;
}

.tool-results__grid {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tool-results__grid--schema {
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.tool-results__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.45rem;
}

.tool-inline-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	background: #eff6ff;
	color: var(--brand);
	font-size: 0.78rem;
	font-weight: 800;
}

.tool-results__item.is-good {
	border-color: #bbf7d0;
	background: #f0fdf4;
}

.tool-results__item.is-warn {
	border-color: #fde68a;
	background: #fffbeb;
}

.tool-results__item.is-bad {
	border-color: #fecdd3;
	background: #fff1f2;
}

.tool-results__item--compact {
	background: #fff;
}

.tool-quote {
	margin: 0;
	padding: 1rem 1.1rem;
	border-radius: 18px;
	border: 1px solid #dbeafe;
	background: #f8fbff;
}

.tool-quote p {
	margin: 0 0 0.55rem;
	color: var(--text);
	font-weight: 600;
}

.tool-bars {
	display: grid;
	gap: 0.8rem;
}

.tool-bar {
	display: grid;
	gap: 0.35rem;
}

.tool-bar__meta {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.tool-bar__meta span {
	color: var(--text-faint);
	font-weight: 700;
}

.tool-bar__track {
	height: 10px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
}

.tool-bar__track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(135deg, var(--brand), var(--brand-indigo));
}

.tool-history {
	display: grid;
	gap: 0.75rem;
}

.tool-history__header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	align-items: baseline;
}

.tool-history__header h3 {
	margin: 0;
	font-size: 1rem;
}

.tool-history__item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.85rem;
	width: 100%;
	padding: 0.9rem 1rem;
	border-radius: 16px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--text);
	text-align: left;
	cursor: pointer;
}

.tool-history__item strong {
	display: block;
	max-width: calc(100% - 70px);
	word-break: break-word;
}

.tool-history__item span {
	font-size: 0.88rem;
	font-weight: 800;
	color: var(--brand);
}

.tool-history__item:hover {
	border-color: #bfdbfe;
	background: #f8fbff;
}

.checklist-grid {
	display: grid;
	gap: 0.85rem;
}

.checklist-item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	font-weight: 600;
	color: var(--text-soft);
}

.checklist-item input {
	margin-top: 0.2rem;
}

.tool-benefits {
	display: grid;
	gap: 0.65rem;
	margin-top: 1rem;
}

.tool-benefits li {
	color: var(--text-soft);
}

.site-footer {
	background: linear-gradient(180deg, #0f172a, #020617);
	color: #cbd5e1;
	padding: 4rem 0 2rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
}

.site-footer__brand img {
	width: 54px;
	height: 54px;
	border-radius: 18px;
	margin-bottom: 1rem;
}

.site-footer__brand p,
.site-footer a,
.footer-cookie-button {
	color: #94a3b8;
}

.site-footer__group h3 {
	margin-top: 0;
	margin-bottom: 1rem;
	color: #e2e8f0;
	font-size: 0.83rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-footer__group ul {
	padding: 0;
}

.site-footer__group li + li {
	margin-top: 0.55rem;
}

.site-footer a:hover,
.footer-cookie-button:hover {
	color: #fff;
}

.footer-cookie-button {
	border: 0;
	background: transparent;
	padding: 0;
	font-weight: 700;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	margin-top: 1.8rem;
	border-top: 1px solid rgba(148, 163, 184, 0.2);
	font-size: 0.92rem;
	color: #94a3b8;
}

.cookie-banner {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 120;
}

.cookie-banner__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.1rem;
	border: 1px solid rgba(37, 99, 235, 0.15);
	border-radius: 20px;
	background: rgba(15, 23, 42, 0.95);
	color: #e2e8f0;
	box-shadow: var(--shadow);
}

.cookie-banner__inner p {
	flex: 1;
	margin: 0;
	max-width: 60ch;
}

.cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.cookie-banner__actions button:last-child {
	background: transparent;
	border: 1px solid rgba(226, 232, 240, 0.22);
	box-shadow: none;
}

.empty-state,
.error-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
}

.error-shell {
	max-width: 760px;
}

.error-card .hero__search,
.empty-state .hero__search {
	width: 100%;
	max-width: none;
}

@media (max-width: 980px) {
	.content-grid,
	.tool-page__grid,
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.post-feed__grid {
		grid-template-columns: 1fr;
	}

	.site-nav {
		position: absolute;
		top: calc(100% + 0.5rem);
		left: 1rem;
		right: 1rem;
		display: none;
		justify-content: stretch;
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav__menu {
		flex-direction: column;
		align-items: stretch;
		padding: 0.7rem;
		border: 1px solid var(--line);
		border-radius: 22px;
		background: rgba(255, 255, 255, 0.98);
		box-shadow: var(--shadow);
	}

	.site-nav__menu a {
		width: 100%;
		border-radius: 14px;
	}

	.site-header__toggle {
		display: inline-flex;
	}

	.site-header__search {
		display: none;
	}
}

@media (max-width: 720px) {
	.site-main {
		padding-top: 1.4rem;
	}

	.container {
		width: min(calc(100% - 1.2rem), var(--container));
	}

	.search-form {
		flex-direction: column;
	}

	.search-form button,
	.button,
	.wptl-contact-form button,
	.tool-form button {
		width: 100%;
	}

	.tool-score {
		grid-template-columns: 1fr;
	}

	.tool-score__value {
		font-size: 2.4rem;
	}

	.tool-form__actions {
		flex-direction: column;
	}

	.article-card__header h1,
	.page-card h1,
	.tool-page__header h1 {
		font-size: clamp(2rem, 8vw, 3rem);
	}

	.tool-card {
		grid-template-columns: 44px 44px 1fr;
		padding: 1rem;
	}

	.tool-card__rank,
	.tool-card__icon,
	.tool-page__icon {
		width: 44px;
		height: 44px;
		border-radius: 14px;
	}

	.author-box {
		grid-template-columns: 1fr;
	}

	.editorial-credits {
		grid-template-columns: 1fr;
	}

	.team-card {
		grid-template-columns: 1fr;
	}

	.sitemap-page__grid {
		grid-template-columns: 1fr;
	}

	.sitemap-page__list--posts li {
		flex-direction: column;
		gap: 0.2rem;
	}
}
