/*!
Theme Name: custom-theme
Theme URI: http://underscores.me/
Author: Oleh
Author URI: http://wp-oleg.in.ua
Description: This is very quickli wordpress Theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cstm
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

custom-theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Foundation (ACF-first / Mobile-first)
--------------------------------------------------------------*/

@font-face {
	font-family: "Inter";
	src: local("Inter"),
		url("assets/fonts/Inter-VariableFont_opsz,wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
	--color-slate-900: #0f172a;
	--color-slate-700: #334155;
	--color-slate-100: #f1f5f9;
	--color-bg: #f8fafc;
	--color-text: var(--color-slate-900);
	--color-surface: #ffffff;
	--color-accent: #10b981;
	--color-accent-light: #34d399;
	--color-accent-hover: #059669;
	--container-max: 80rem;
	--gutter: 1rem;
	--radius-md: 1rem;
	--radius-lg: 1.5rem;
	--space-1: 0.5rem;
	--space-2: 0.75rem;
	--space-3: 1rem;
	--space-4: 1.5rem;
	--space-5: 2rem;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* Offset anchored sections behind the sticky header */
section[id] {
	scroll-margin-top: 6rem;
}

/* Sticky footer layout */
#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1 0 auto;
}

.site-footer {
	flex-shrink: 0;
}

.container {
	width: min(100% - (var(--gutter) * 2), var(--container-max));
	margin-inline: auto;
}

.bento-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-3);
}

.bento-card {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	padding: var(--space-4);
}

.hero .bento-card {
	background: transparent;
	padding: 0;
}

.bento-span-2,
.bento-span-3,
.bento-span-4,
.bento-row-2 {
	grid-column: span 1;
	grid-row: span 1;
}

.bento-card h1 {
	text-align: center;
}

/* Hero heading */
.hero h1 {
	font-size: clamp(2.25rem, 7vw, 3.75rem);
	font-weight: 800;
	color: var(--color-slate-900);
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin-bottom: 1.5rem;
}

.hero h1 .text-accent {
	background: linear-gradient(to right, var(--color-accent), var(--color-accent-light));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

@media (min-width: 48rem) {
	:root {
		--gutter: 1.5rem;
	}

	.bento-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: var(--space-4);
	}

	.bento-span-2 {
		grid-column: span 2;
	}

	.bento-span-3 {
		grid-column: span 3;
	}

	.bento-span-4 {
		grid-column: span 4;
	}

	.bento-row-2 {
		grid-row: span 2;
	}
}

@media (min-width: 75rem) {
	.bento-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/* Modern reset
--------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
	margin: 0;
}

button {
	cursor: pointer;
}

table {
	border-collapse: collapse;
}

h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
}

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.75em;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2rem, 7vw, 3.5rem);
}

h2 {
	font-size: clamp(1.625rem, 5.5vw, 2.625rem);
}

h3 {
	font-size: clamp(1.375rem, 4.5vw, 2rem);
}

h4 {
	font-size: clamp(1.25rem, 3.8vw, 1.625rem);
}

h5 {
	font-size: clamp(1.125rem, 3.2vw, 1.25rem);
}

h6 {
	font-size: 1rem;
	letter-spacing: 0;
}

p {
	margin-top: 0;
	margin-bottom: 1.5em;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-family: var(--font-sans);
	font-weight: 600;
	letter-spacing: 0.01em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--color-bg);
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 0em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--color-accent);
}

a:visited {
	color: var(--color-accent);
}

a:hover,
a:focus,
a:active {
	color: var(--color-accent-hover);
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: var(--color-accent);
	border-radius: 3px;
	background: var(--color-accent);
	color: #ffffff;
	line-height: 1;
	padding: 0.6em 1em 0.4em;
	cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: var(--color-accent-hover);
	background: var(--color-accent-hover);
}

input,
textarea,
select {
	color: var(--color-slate-900);
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Home: Header + Hero
--------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, #ffffff 92%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid #e2e8f0;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 4.5rem;
	gap: var(--space-3);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	font-weight: 700;
	color: var(--color-text);
	text-decoration: none;
	cursor: pointer;
	position: relative;
	z-index: 2;
}

.brand__badge {
	display: inline-grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 0.625rem;
	background: var(--color-accent);
	color: #ffffff;
	font-weight: 700;
	line-height: 1;
}

.brand__text {
	font-size: 1.125rem;
	line-height: 1.2;
}

.main-nav {
	display: none;
	width: 100%;
	order: 4;
	padding-bottom: var(--space-3);
}

.main-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--space-2);
}

.main-nav a {
	display: block;
	text-decoration: none;
	font-weight: 500;
	color: var(--color-slate-700);
	padding: 0.5rem 0;
	min-height: 2.75rem;
	line-height: 1.75rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
	color: var(--color-text);
}

.main-nav a.is-accent {
	color: var(--color-accent);
	font-weight: 700;
}

/* Dropdown toggle button (looks like a nav link) */
.main-nav__toggle {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	background: none;
	border: none;
	cursor: pointer;
	font: inherit;
	font-weight: 500;
	color: var(--color-slate-700);
	padding: 0.5rem 0;
	min-height: 2.75rem;
	line-height: 1.75rem;
}

.main-nav__toggle.is-accent {
	color: var(--color-accent);
	font-weight: 700;
}

.main-nav__toggle:hover,
.main-nav__toggle:focus-visible {
	color: var(--color-text);
}

.main-nav__arrow {
	display: inline-block;
	width: 0.375rem;
	height: 0.375rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.2s ease;
	margin-left: 0.125rem;
}

.main-nav__toggle[aria-expanded="true"] .main-nav__arrow {
	transform: rotate(-135deg) translateY(-1px);
}

/* Dropdown list — mobile: hidden by default, toggle via JS */
.main-nav__dropdown {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0 0 0 1rem;
}

.main-nav__dropdown a {
	font-size: 0.9375rem;
	color: var(--color-slate-600);
}

.main-nav__dropdown a:hover,
.main-nav__dropdown a:focus-visible {
	color: var(--color-accent);
}

.has-dropdown.is-open .main-nav__dropdown {
	display: block;
}

.header-cta {
	display: none;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background: var(--color-slate-900);
	color: #ffffff;
	border-radius: 0.5rem;
	padding: 0.625rem 1.25rem;
	font-weight: 600;
	line-height: 1;
	min-height: 2.75rem;
	white-space: nowrap;
	transition: background 0.2s ease, box-shadow 0.2s ease;
	box-shadow:
		0 10px 15px -3px rgba(15, 23, 42, 0.2),
		0 4px 6px -4px rgba(15, 23, 42, 0.1);
}

.header-cta:visited,
.header-cta:link {
	color: #ffffff;
}

.header-cta:hover,
.header-cta:focus-visible {
	background: var(--color-slate-700);
	color: #ffffff;
}

.site-header .menu-toggle {
	display: inline-flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.5rem;
	border: 0;
	background: transparent;
	color: var(--color-text);
}

.menu-toggle__line {
	width: 1.25rem;
	height: 0.125rem;
	border-radius: 999px;
	background: currentColor;
}

.site-header.is-menu-open .main-nav {
	display: block;
}

.hero {
	padding-top: 6rem;
	padding-bottom: 3rem;
	overflow: hidden;
	text-align: center;
}

.hero p.hero-subtitle {
	font-size: 1.125rem;
	line-height: 1.75;
	color: var(--color-slate-700);
	max-width: 42rem;
	margin-inline: auto;
	margin-bottom: 2.5rem;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	background: color-mix(in srgb, var(--color-accent) 12%, transparent);
	color: var(--color-accent);
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.4;
	border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent);
	margin-bottom: var(--space-3);
}

.hero-badge__ping {
	position: relative;
	display: inline-flex;
	width: 0.75rem;
	height: 0.75rem;
}

.hero-badge__ping-wave {
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	background: var(--color-accent);
	opacity: 0.75;
	animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-badge__ping-dot {
	position: relative;
	display: inline-flex;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 9999px;
	background: var(--color-accent);
}

@keyframes ping {
	75%, 100% {
		transform: scale(2);
		opacity: 0;
	}
}

/* Hero actions row */
.hero-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: var(--space-3);
}

.hero .header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--color-accent);
	padding: 1rem 2rem;
	border-radius: 0.75rem;
	font-weight: 700;
	font-size: 1.125rem;
	box-shadow:
		0 20px 25px -5px rgba(16, 185, 129, 0.3),
		0 8px 10px -6px rgba(16, 185, 129, 0.2);
}

.hero .header-cta:visited,
.hero .header-cta:link {
	color: #ffffff;
}

.hero .header-cta:hover,
.hero .header-cta:focus-visible {
	background: var(--color-accent-hover);
	color: #ffffff;
}

.hero .header-cta svg {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

/* Secondary (outline) button */
.hero-cta-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background: var(--color-surface);
	color: var(--color-slate-900);
	border: 2px solid #e2e8f0;
	padding: 1rem 2rem;
	border-radius: 0.75rem;
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1;
	white-space: nowrap;
	transition: border-color 0.2s ease;
}

.hero-cta-secondary:visited,
.hero-cta-secondary:link {
	color: var(--color-slate-900);
}

.hero-cta-secondary:hover,
.hero-cta-secondary:focus-visible {
	border-color: var(--color-slate-900);
	color: var(--color-slate-900);
}

/* Sub-CTA note */
.hero-note {
	margin-top: var(--space-2);
	font-size: 0.875rem;
	color: var(--color-slate-700);
	opacity: 0.7;
}

/* ---- Tablet (â‰¥ 768px) ---- */
@media (min-width: 48rem) {

	/* Header */
	.site-header__inner {
		min-height: 5rem;
	}

	.site-header .menu-toggle {
		display: none;
	}

	.main-nav {
		display: block;
		order: 0;
		width: auto;
		padding-bottom: 0;
	}

	.main-nav__list {
		display: flex;
		align-items: center;
		gap: 1.25rem;
	}

	/* Desktop dropdown */
	.has-dropdown {
		position: relative;
	}

	.main-nav__toggle {
		padding: 0.375rem 0.75rem;
		min-height: auto;
		line-height: inherit;
		border-radius: 0.375rem;
		transition: background 0.15s ease, color 0.15s ease;
	}

	.main-nav__toggle:hover,
	.main-nav__toggle:focus-visible {
		background: var(--color-slate-100, #f1f5f9);
		color: var(--color-text);
	}

	/*
	 * Invisible bridge so mouse can travel from toggle to dropdown
	 * without losing :hover on .has-dropdown.
	 */
	.has-dropdown::after {
		content: "";
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		height: 0.75rem;
	}

	.main-nav__dropdown {
		position: absolute;
		top: calc(100% + 0.5rem);
		left: 50%;
		transform: translateX(-50%);
		min-width: 14rem;
		padding: 0.5rem 0;
		background: #fff;
		border-radius: 0.5rem;
		box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.18s ease;
		z-index: 100;
	}

	.has-dropdown:hover .main-nav__dropdown,
	.has-dropdown.is-open .main-nav__dropdown {
		display: block;
		opacity: 1;
		pointer-events: auto;
	}

	.main-nav__dropdown a {
		display: block;
		padding: 0.5rem 1rem;
		font-size: 0.875rem;
		white-space: nowrap;
		color: var(--color-slate-700);
		transition: background 0.12s ease, color 0.12s ease;
	}

	.main-nav__dropdown a:hover,
	.main-nav__dropdown a:focus-visible {
		background: var(--color-slate-100, #f1f5f9);
		color: var(--color-accent);
	}

	.header-cta {
		display: inline-flex;
	}

	/* Hero */
	.hero {
		padding-top: 8rem;
		padding-bottom: 5rem;
	}

	.hero p.hero-subtitle {
		font-size: 1.25rem;
	}

	.hero .bento-card {
		grid-column: span 5;
		padding: var(--space-5);
		text-align: center;
	}

	.hero .bento-card .hero-badge {
		margin-inline: auto;
	}

	.hero-actions {
		flex-direction: row;
		justify-content: center;
		margin-top: var(--space-4);
		gap: 1rem;
	}

	.hero .header-cta {
		padding: 1rem 2rem;
		font-size: 1.125rem;
	}

	.hero-cta-secondary {
		padding: 1rem 2rem;
		font-size: 1.125rem;
	}

	.hero-note {
		text-align: center;
	}
}

/* ---- Desktop / Laptop (â‰¥ 1200px) ---- */
@media (min-width: 75rem) {

	/* Hero */
	.hero {
		padding-top: 6rem;
		padding-bottom: 8rem;
	}

	.hero .bento-card {
		grid-column: 2 / 12;
		padding: var(--space-5) 3rem;
	}

	.hero-actions {
		margin-top: var(--space-5);
		gap: 1.25rem;
	}

	.hero .header-cta {
		padding: 1.125rem 2.5rem;
		font-size: 1.1875rem;
		border-radius: 1rem;
	}

	.hero-cta-secondary {
		padding: 1.125rem 2.5rem;
		font-size: 1.1875rem;
		border-radius: 1rem;
	}
}

/*--------------------------------------------------------------
# Benefits section
--------------------------------------------------------------*/

/* ---- Mobile-first (base) ---- */

.benefits {
	padding: 3rem 0;
	background: var(--color-surface);
}

.benefits__header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.benefits__title {
	font-size: clamp(1.5rem, 5vw, 1.875rem);
	font-weight: 700;
	color: var(--color-slate-900);
	line-height: 1.25;
	margin-bottom: 1rem;
}

.benefits__subtitle {
	font-size: 1rem;
	color: var(--color-slate-700);
	line-height: 1.6;
	max-width: 42rem;
	margin-inline: auto;
}

/* Grid */
.benefits__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

/* Card base */
.benefits-card {
	position: relative;
	overflow: hidden;
	padding: 1.5rem;
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-slate-100);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.benefits-card:hover {
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08),
				0 4px 10px -6px rgba(0, 0, 0, 0.04);
	transform: translateY(-2px);
}

/* Card default â€” light brand background */
.benefits-card--default {
	background: var(--color-bg);
}

/* Card accent â€” emerald tint */
.benefits-card--accent {
	background: #ecfdf5;
	border-color: #a7f3d0;
}

/* Corner decorative icon */
.benefits-card__corner {
	position: absolute;
	top: 0;
	right: 0;
	padding: 1rem;
	font-size: 3.5rem;
	line-height: 1;
	opacity: 0.08;
	pointer-events: none;
}

/* Icon box */
.benefits-card__icon {
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.75rem;
	font-size: 1.5rem;
	margin-bottom: 1.25rem;
	background: var(--icon-bg, #fee2e2);
	color: var(--icon-color, #dc2626);
}

.benefits-card--accent .benefits-card__icon {
	background: #d1fae5;
	color: var(--color-accent);
}

/* Card title */
.benefits-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-slate-900);
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

/* Card text */
.benefits-card__text {
	font-size: 0.9375rem;
	color: var(--color-slate-700);
	line-height: 1.65;
}

/* ---- Wide phone / landscape (>= 26rem) ---- */
@media (min-width: 26rem) {
	.benefits__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Third card spans full width */
	.benefits-card:nth-child(3) {
		grid-column: 1 / -1;
	}
}

/* ---- Tablet (â‰¥ 768px / 48rem) ---- */
@media (min-width: 48rem) {

	.benefits {
		padding: 4rem 0;
	}

	.benefits__header {
		margin-bottom: 3rem;
	}

	.benefits__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	/* Third card spans full width on 2-col */
	.benefits-card:nth-child(3) {
		grid-column: 1 / -1;
		max-width: 50%;
		margin-inline: auto;
	}

	.benefits-card {
		padding: 2rem;
	}

	.benefits-card__title {
		font-size: 1.25rem;
	}
}

/* ---- Desktop / Laptop (â‰¥ 1024px / 64rem) ---- */
@media (min-width: 64rem) {

	.benefits {
		padding: 5rem 0;
	}

	.benefits__header {
		margin-bottom: 4rem;
	}

	.benefits__title {
		font-size: 1.875rem;
	}

	.benefits__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}

	/* Reset third-card spanning */
	.benefits-card:nth-child(3) {
		grid-column: auto;
		max-width: none;
		margin-inline: 0;
	}

	.benefits-card {
		padding: 2rem;
	}
}

/* ---- Large Desktop (â‰¥ 1200px / 75rem) ---- */
@media (min-width: 75rem) {

	.benefits {
		padding: 5rem 0;
	}

	.benefits-card {
		padding: 2.5rem;
	}

	.benefits-card__icon {
		width: 3rem;
		height: 3rem;
		font-size: 1.5rem;
		margin-bottom: 1.5rem;
	}

	.benefits-card__title {
		font-size: 1.25rem;
	}

	.benefits-card__text {
		font-size: 1rem;
	}
}

/*--------------------------------------------------------------
# Audit / Lead-gen section
--------------------------------------------------------------*/

/* ---- Mobile-first (base) ---- */

.audit {
	position: relative;
	overflow: hidden;
	padding: 3.5rem 0;
	background: var(--color-slate-900);
	color: #fff;
}

/* Decorative background blobs */
.audit__bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	opacity: 0.15;
	pointer-events: none;
}

.audit__blob {
	position: absolute;
	border-radius: 9999px;
	filter: blur(80px);
}

.audit__blob--accent {
	width: 22rem;
	height: 22rem;
	background: var(--color-accent);
	top: -6rem;
	right: -6rem;
}

.audit__blob--blue {
	width: 18rem;
	height: 18rem;
	background: #3b82f6;
	top: 50%;
	left: 2rem;
	transform: translateY(-50%);
}

.audit__inner {
	position: relative;
	z-index: 1;
}

.audit__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}

/* Badge */
.audit__badge {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 0.8125rem;
	color: var(--color-accent-light);
	margin-bottom: 1rem;
}

/* Title */
.audit__title {
	font-size: clamp(1.5rem, 5vw, 2.25rem);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1.25rem;
}

/* Text */
.audit__text {
	color: #cbd5e1; /* slate-300 */
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 1.75rem;
}

.audit__text-bold {
	color: #fff;
	font-weight: 600;
}

/* Checklist */
.audit__checklist {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.audit__check-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.audit__check-icon {
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
	color: var(--color-accent-light);
}

/* CTA button */
.audit__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 1rem 2rem;
	background: var(--color-accent);
	color: var(--color-slate-900);
	font-weight: 700;
	font-size: 1rem;
	border-radius: 0.75rem;
	text-decoration: none;
	transition: background 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.audit__cta:hover {
	background: var(--color-accent-light);
	box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Visual / image column â€” hidden on mobile */
.audit__visual {
	display: none;
}

.audit__frame {
	background: #1e293b; /* brand-800 */
	border: 1px solid #374151; /* gray-700 */
	border-radius: var(--radius-lg);
	padding: 0.5rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	transform: rotate(2deg);
	transition: transform 0.5s ease;
}

.audit__frame:hover {
	transform: rotate(0deg);
}

.audit__frame-inner {
	background: var(--color-slate-900);
	border: 1px solid #374151;
	border-radius: calc(var(--radius-lg) - 0.25rem);
	overflow: hidden;
	min-height: 20rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.audit__frame-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---- Tablet (â‰¥ 768px / 48rem) ---- */
@media (min-width: 48rem) {

	.audit {
		padding: 4.5rem 0;
	}

	.audit__title {
		font-size: 1.875rem;
	}

	.audit__text {
		font-size: 1.0625rem;
	}

	.audit__cta {
		width: auto;
		font-size: 1.0625rem;
		padding: 1rem 2.5rem;
		border-radius: 0.875rem;
	}
}

/* ---- Desktop (â‰¥ 1024px / 64rem) ---- */
@media (min-width: 64rem) {

	.audit {
		padding: 5rem 0;
	}

	.audit__grid {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}

	.audit__visual {
		display: block;
	}

	.audit__title {
		font-size: 2rem;
	}

	.audit__check-item {
		font-size: 1rem;
	}
}

/* ---- Large Desktop (â‰¥ 1200px / 75rem) ---- */
@media (min-width: 75rem) {

	.audit {
		padding: 5rem 0;
	}

	.audit__grid {
		gap: 3.5rem;
	}

	.audit__title {
		font-size: 2.25rem;
	}

	.audit__text {
		font-size: 1.125rem;
	}

	.audit__cta {
		font-size: 1.125rem;
		padding: 1.125rem 2.5rem;
		border-radius: 1rem;
	}

	.audit__frame-inner {
		min-height: 20rem;
	}
}

/*--------------------------------------------------------------
# Services / Bento section
--------------------------------------------------------------*/

/* ---- Mobile-first (base) ---- */

.services {
	padding: 3.5rem 0;
	background: var(--color-bg);
}

.services__inner {
	position: relative;
}

.services__header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.services__title {
	font-size: clamp(1.5rem, 5vw, 1.875rem);
	font-weight: 700;
	color: var(--color-slate-900);
	line-height: 1.25;
	margin-bottom: 1rem;
}

.services__subtitle {
	font-size: 1rem;
	color: var(--color-slate-700);
	line-height: 1.6;
	max-width: 42rem;
	margin-inline: auto;
}

/* Bento grid */
.services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

/* Card base */
.services-card {
	position: relative;
	overflow: hidden;
	padding: 1.5rem;
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-slate-100);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.services-card:hover {
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08),
				0 4px 10px -6px rgba(0, 0, 0, 0.04);
	transform: translateY(-2px);
}

/* Default (light) style */
.services-card--default {
	background: var(--color-surface);
}

/* Dark style */
.services-card--dark {
	background: var(--color-slate-900);
	color: #fff;
	border-color: transparent;
}

/* Corner decorative icon */
.services-card__corner {
	position: absolute;
	right: -0.25rem;
	bottom: -0.25rem;
	font-size: 5rem;
	line-height: 1;
	opacity: 0.1;
	pointer-events: none;
}

/* Icon box */
.services-card__icon {
	width: 3.5rem;
	height: 3.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 1rem;
	font-size: 1.5rem;
	margin-bottom: 1.25rem;
	transition: transform 0.3s ease;
}

.services-card:hover .services-card__icon {
	transform: scale(1.1);
}

/* Card title */
.services-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-slate-900);
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

.services-card--dark .services-card__title {
	color: #fff;
}

/* Card text */
.services-card__text {
	font-size: 0.9375rem;
	color: var(--color-slate-700);
	line-height: 1.65;
	margin-bottom: 1.25rem;
}

.services-card--dark .services-card__text {
	color: #d1d5db; /* gray-300 */
}

/* CTA link */
.services-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--color-slate-900);
	text-decoration: none;
	transition: color 0.2s ease;
}

.services-card__cta:hover {
	color: var(--color-accent);
}

.services-card--dark .services-card__cta {
	color: var(--color-accent-light);
}

.services-card--dark .services-card__cta:hover {
	color: #fff;
}

.services-card__cta-arrow {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

/* Row layout (for cards with info box) */
.services-card__row {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.services-card__main {
	flex: 1;
}

/* Info box */
.services-card__info {
	background: var(--color-bg);
	border: 1px solid var(--color-slate-100);
	border-radius: 0.75rem;
	padding: 1.25rem;
	text-align: center;
}

.services-card__info-title {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--color-slate-900);
	margin-bottom: 0.25rem;
}

.services-card__info-value {
	font-size: 1.875rem;
	font-weight: 800;
	color: var(--color-accent);
	margin: 0.5rem 0;
}

.services-card__info-sub {
	font-size: 0.75rem;
	color: var(--color-slate-700);
}

/* Size: large cards span full width on mobile */
.services-card--large {
	/* on mobile: same as normal */
}

/* ---- Wide phone / landscape (>= 26rem) ---- */
@media (min-width: 26rem) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.services-card--large {
		grid-column: span 2;
	}
}

/* ---- Tablet (â‰¥ 768px / 48rem) ---- */
@media (min-width: 48rem) {

	.services {
		padding: 4.5rem 0;
	}

	.services__header {
		margin-bottom: 3rem;
	}

	.services-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}

	.services-card--large {
		grid-column: span 2;
	}

	.services-card {
		padding: 2rem;
	}

	.services-card__title {
		font-size: 1.25rem;
	}

	.services-card__row {
		flex-direction: row;
		align-items: center;
	}

	.services-card__info {
		width: 33%;
		flex-shrink: 0;
	}
}

/* ---- Desktop (â‰¥ 1024px / 64rem) ---- */
@media (min-width: 64rem) {

	.services {
		padding: 5rem 0;
	}

	.services__header {
		margin-bottom: 4rem;
	}

	.services__title {
		font-size: 1.875rem;
	}

	.services-grid {
		gap: 1.75rem;
	}

	.services-card--large .services-card__title {
		font-size: 1.5rem;
	}
}

/* ---- Large Desktop (â‰¥ 1200px / 75rem) ---- */
@media (min-width: 75rem) {

	.services {
		padding: 6rem 0;
	}

	.services-card {
		padding: 2.5rem;
	}

	.services-card__icon {
		width: 3.5rem;
		height: 3.5rem;
		font-size: 1.5rem;
		margin-bottom: 1.5rem;
	}

	.services-card__title {
		font-size: 1.25rem;
	}

	.services-card__text {
		font-size: 1rem;
	}

	.services-card__cta {
		font-size: 1rem;
	}

	.services-grid {
		gap: 2rem;
	}
}

/*--------------------------------------------------------------
# Site Footer
--------------------------------------------------------------*/

/* ---- Mobile-first (base) ---- */

.site-footer {
	background: var(--color-surface);
	border-top: 1px solid var(--color-slate-100);
	margin-top: auto;
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

/* Brand / logo */
.site-footer__brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.site-footer__logo {
	width: 2rem;
	height: 2rem;
	background: var(--color-slate-900);
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1;
}

.site-footer__brand-name {
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--color-slate-900);
}

/* Copyright */
.site-footer__copy {
	font-size: 0.875rem;
	color: var(--color-slate-700);
}

/* Links */
.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.site-footer__link {
	font-size: 0.875rem;
	color: #9ca3af; /* gray-400 */
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__link:hover {
	color: var(--color-slate-900);
}

/* ---- Tablet+ (â‰¥ 768px / 48rem) ---- */
@media (min-width: 48rem) {

	.site-footer__inner {
		flex-direction: row;
		justify-content: space-between;
	}

	.site-footer__links {
		gap: 1.25rem;
	}
}

/* ---- Large Desktop (â‰¥ 1200px / 75rem) ---- */
@media (min-width: 75rem) {

	.site-footer__links {
		gap: 1.5rem;
	}

	.site-footer__link {
		font-size: 0.9375rem;
	}
}

/*--------------------------------------------------------------
# Lead Modal
--------------------------------------------------------------*/

/* ---- Overlay ---- */
.lead-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lead-modal.is-open {
	visibility: visible;
	opacity: 1;
}

.lead-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

/* ---- Dialog ---- */
.lead-modal__dialog {
	position: relative;
	background: var(--color-surface);
	border-radius: 1rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	width: 100%;
	max-width: 32rem;
	margin: 0 1rem;
	overflow: hidden;
	transform: scale(0.95) translateY(1rem);
	transition: transform 0.3s ease;
}

.lead-modal.is-open .lead-modal__dialog {
	transform: scale(1) translateY(0);
}

/* ---- Header ---- */
.lead-modal__header {
	position: relative;
	background: var(--color-slate-900);
	padding: 1.75rem 1.5rem;
	text-align: center;
	color: #fff;
}

.lead-modal__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: transparent;
	border: none;
	color: #9ca3af;
	cursor: pointer;
	padding: 0.25rem;
	line-height: 1;
	transition: color 0.2s ease;
}

.lead-modal__close:hover {
	color: #fff;
}

.lead-modal__title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.lead-modal__subtitle {
	font-size: 0.875rem;
	color: #e2e8f0; /* brand-100 */
	line-height: 1.5;
}

/* ---- Body / Form ---- */
.lead-modal__body {
	padding: 2rem 1.5rem;
}

.lead-form__group {
	margin-bottom: 1rem;
}

.lead-form__label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-slate-700);
	margin-bottom: 0.25rem;
}

.lead-form__input {
	width: 100%;
	padding: 0.625rem 1rem;
	border: 1px solid #d1d5db; /* gray-300 */
	border-radius: 0.5rem;
	font-size: 1rem;
	font-family: inherit;
	color: var(--color-slate-900);
	background: var(--color-surface);
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.lead-form__input:focus {
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.lead-form__input.is-invalid {
	border-color: #ef4444;
}

/* Submit button */
.lead-form__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.875rem;
	margin-top: 1.5rem;
	background: var(--color-accent);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	font-family: inherit;
	border: none;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.lead-form__submit:hover {
	background: var(--color-accent-hover);
	box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.lead-form__submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Spinner (hidden by default) */
.lead-form__submit-spinner {
	display: none;
	width: 1.25rem;
	height: 1.25rem;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	margin-left: 0.5rem;
	animation: lead-spin 0.6s linear infinite;
}

.lead-form__submit.is-loading .lead-form__submit-text {
	/* keep visible */
}

.lead-form__submit.is-loading .lead-form__submit-spinner {
	display: inline-block;
}

@keyframes lead-spin {
	to { transform: rotate(360deg); }
}

/* Privacy note */
.lead-form__note {
	font-size: 0.75rem;
	color: #9ca3af;
	text-align: center;
	margin-top: 1rem;
}

/* Success / error message */
.lead-form__message {
	margin-top: 1rem;
	padding: 0;
	font-size: 0.875rem;
	text-align: center;
	border-radius: 0.5rem;
}

.lead-form__message:empty {
	display: none;
}

.lead-form__message--success {
	display: block;
	background: #ecfdf5;
	color: #065f46;
	padding: 0.75rem 1rem;
}

.lead-form__message--error {
	display: block;
	background: #fef2f2;
	color: #991b1b;
	padding: 0.75rem 1rem;
}

/* ---- Tablet+ (â‰¥ 768px / 48rem) ---- */
@media (min-width: 48rem) {

	.lead-modal__dialog {
		margin: 0 2rem;
	}

	.lead-modal__header {
		padding: 2rem;
	}

	.lead-modal__body {
		padding: 2rem;
	}
}

/*--------------------------------------------------------------
# Blog Archive
--------------------------------------------------------------*/

/* ---- Mobile-first (base) ---- */

.blog-archive {
	padding: 2.5rem 0 3rem;
	background: var(--color-bg);
}

/* Header */
.blog-archive__header {
	text-align: center;
	margin-bottom: 2rem;
}

.blog-archive__title {
	font-size: clamp(1.5rem, 5vw, 2.25rem);
	font-weight: 700;
	color: var(--color-slate-900);
	line-height: 1.25;
	margin-bottom: 0.5rem;
}

.blog-archive__desc {
	font-size: 1rem;
	color: var(--color-slate-700);
	line-height: 1.6;
	max-width: 42rem;
	margin-inline: auto;
}

/* Bento grid */
.blog-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

/* Card */
.blog-card {
	display: flex;
	flex-direction: column;
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-slate-100);
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08),
				0 4px 10px -6px rgba(0, 0, 0, 0.04);
	transform: translateY(-2px);
}

/* Thumbnail */
.blog-card__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--color-slate-100);
}

.blog-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__img {
	transform: scale(1.04);
}

/* Body */
.blog-card__body {
	padding: 1.25rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* Meta */
.blog-card__meta {
	margin-bottom: 0.5rem;
}

.blog-card__date {
	font-size: 0.8125rem;
	color: var(--color-slate-700);
	letter-spacing: 0.02em;
}

/* Title */
.blog-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-slate-900);
	line-height: 1.35;
	margin-bottom: 0.5rem;
}

.blog-card__title a {
	color: inherit;
	text-decoration: none;
}

.blog-card__title a:hover {
	color: var(--color-accent);
}

/* Excerpt */
.blog-card__excerpt {
	font-size: 0.9375rem;
	color: var(--color-slate-700);
	line-height: 1.65;
	flex: 1;
	margin-bottom: 1rem;
}

/* Read more */
.blog-card__more {
	display: inline-flex;
	align-items: center;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--color-slate-900);
	text-decoration: none;
	transition: color 0.2s ease;
}

.blog-card__more:hover {
	color: var(--color-accent);
}

/* ---- Pagination ---- */
.nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.375rem;
	margin-top: 2.5rem;
	flex-wrap: wrap;
}

.nav-links a,
.nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: 0.5rem;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a {
	background: var(--color-surface);
	color: var(--color-slate-900);
	border: 1px solid var(--color-slate-100);
}

.nav-links a:hover {
	background: var(--color-accent);
	color: #fff;
	border-color: var(--color-accent);
}

.nav-links .current {
	background: var(--color-slate-900);
	color: #fff;
	border: 1px solid var(--color-slate-900);
}

.nav-links .dots {
	background: transparent;
	border: none;
	color: var(--color-slate-700);
}

/* ---- Tablet (â‰¥ 768px / 48rem) ---- */
@media (min-width: 48rem) {

	.blog-archive {
		padding: 3.5rem 0 4rem;
	}

	.blog-archive__header {
		margin-bottom: 3rem;
	}

	.blog-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.blog-card__body {
		padding: 1.5rem 1.75rem 1.75rem;
	}

	.blog-card__title {
		font-size: 1.25rem;
	}
}

/* ---- Desktop (â‰¥ 1024px / 64rem) ---- */
@media (min-width: 64rem) {

	.blog-archive {
		padding: 4rem 0 5rem;
	}

	.blog-archive__header {
		margin-bottom: 3.5rem;
	}

	.blog-archive__title {
		font-size: 2rem;
	}

	.blog-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.75rem;
	}
}

/* ---- Large Desktop (â‰¥ 1200px / 75rem) ---- */
@media (min-width: 75rem) {

	.blog-grid {
		gap: 2rem;
	}

	.blog-card__body {
		padding: 1.75rem 2rem 2rem;
	}

	.blog-card__title {
		font-size: 1.375rem;
	}

	.blog-card__excerpt {
		font-size: 1rem;
	}

	.blog-card__more {
		font-size: 1rem;
	}
}

/*--------------------------------------------------------------
# Single Post
--------------------------------------------------------------*/

/* ---- Mobile-first (base) ---- */

.single-post {
	padding: 2rem 0 3rem;
	background: var(--color-bg);
}

/* Narrower container for reading comfort */
.sp-container {
	max-width: 54rem;
	margin-inline: auto;
}

/* White bento card for article body */
.sp__card {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	padding: var(--space-4);
	margin-bottom: var(--space-3);
}

/* Hero image */
.sp__hero {
	border-radius: var(--radius-md);
	overflow: hidden;
	margin-bottom: 1.75rem;
	background: var(--color-slate-100);
	aspect-ratio: 16 / 9;
	margin-left: calc(-1 * var(--space-4));
	margin-right: calc(-1 * var(--space-4));
	margin-top: calc(-1 * var(--space-4));
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.sp__hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Meta bar */
.sp__meta-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.sp__date {
	font-size: 0.8125rem;
	color: var(--color-slate-700);
}

.sp__cats {
	display: flex;
	gap: 0.375rem;
	flex-wrap: wrap;
}

.sp__cat {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.2rem 0.625rem;
	background: #ecfdf5;
	color: var(--color-accent-hover);
	border-radius: 9999px;
	text-decoration: none;
	transition: background 0.2s ease;
}

.sp__cat:hover {
	background: #d1fae5;
}

/* Title */
.sp__title {
	font-size: clamp(1.5rem, 5vw, 2.5rem);
	font-weight: 800;
	color: var(--color-slate-900);
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

/* Author bio */
.sp__author {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	background: var(--color-bg);
	border-radius: var(--radius-md);
	padding: 1rem 1.25rem;
	margin-bottom: 2rem;
}

.sp__author-avatar {
	flex-shrink: 0;
}

.sp__author-img {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	display: block;
}

.sp__author-name {
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--color-slate-900);
	text-decoration: none;
}

.sp__author-name:hover {
	color: var(--color-accent);
}

.sp__author-bio {
	font-size: 0.8125rem;
	color: var(--color-slate-700);
	line-height: 1.5;
	margin-top: 0.125rem;
}

/* Content body */
.sp__content {
	font-size: 1.0625rem;
	color: var(--color-slate-900);
	line-height: 1.8;
	margin-bottom: 2rem;
}

.sp__content > * + * {
	margin-top: 1.5em;
}

.sp__content h2 {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.3;
	margin-top: 2em;
}

.sp__content h3 {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
	margin-top: 1.75em;
}

.sp__content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.75rem;
	display: block;
}

.sp__content blockquote {
	border-left: 4px solid var(--color-accent);
	padding: 1rem 1.25rem;
	margin-left: 0;
	margin-right: 0;
	background: var(--color-surface);
	border-radius: 0 0.5rem 0.5rem 0;
	font-style: italic;
	color: var(--color-slate-700);
}

.sp__content ul,
.sp__content ol {
	padding-left: 1.5em;
}

.sp__content li + li {
	margin-top: 0.5em;
}

.sp__content a {
	color: var(--color-accent-hover);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sp__content a:hover {
	color: var(--color-accent);
}

.sp__content pre {
	background: var(--color-slate-900);
	color: #e2e8f0;
	padding: 1.25rem;
	border-radius: 0.75rem;
	overflow-x: auto;
	font-size: 0.875rem;
	line-height: 1.6;
}

.sp__content code {
	font-size: 0.875em;
	background: var(--color-slate-100);
	padding: 0.15em 0.4em;
	border-radius: 0.25rem;
}

.sp__content pre code {
	background: transparent;
	padding: 0;
}

/* Tags */
.sp__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-slate-100);
}

.sp__tag {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--color-slate-700);
	background: var(--color-surface);
	border: 1px solid var(--color-slate-100);
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.sp__tag:hover {
	background: var(--color-slate-900);
	color: #fff;
	border-color: var(--color-slate-900);
}

/* Prev / Next navigation */
.sp__nav {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-3);
	margin-bottom: var(--space-3);
}

.sp__nav-link {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	text-decoration: none;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sp__nav-link:hover {
	box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.sp__nav-link--next {
	text-align: right;
}

.sp__nav-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-accent);
}

.sp__nav-title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-slate-900);
	line-height: 1.35;
}

/* Related posts */
.sp__related {
	margin-bottom: var(--space-3);
}

.sp__related-title {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--color-slate-900);
	margin-bottom: 1.25rem;
}

/* ---- Comments ---- */
.comments-area {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
}

.comments-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-slate-900);
	margin-bottom: 1.25rem;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
}

.comment-list .comment {
	padding: 1rem 0;
	border-bottom: 1px solid var(--color-slate-100);
}

.comment-list .comment:last-child {
	border-bottom: none;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.25rem;
}

.comment-author .avatar {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
}

.comment-author .fn {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--color-slate-900);
}

.comment-metadata {
	font-size: 0.75rem;
	color: var(--color-slate-700);
	margin-bottom: 0.5rem;
}

.comment-metadata a {
	color: inherit;
	text-decoration: none;
}

.comment-content {
	font-size: 0.9375rem;
	color: var(--color-slate-900);
	line-height: 1.65;
}

.comment-content p {
	margin: 0.5em 0;
}

.comment-reply-link {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-accent);
	text-decoration: none;
}

.comment-reply-link:hover {
	color: var(--color-accent-hover);
}

/* Children / threaded */
.comment-list .children {
	list-style: none;
	padding-left: 1.5rem;
	margin: 0;
}

/* Comment form */
.comment-respond {
	margin-top: 1.5rem;
}

.comment-respond .comment-reply-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-slate-900);
	margin-bottom: 1rem;
}

.comment-form label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-slate-700);
	margin-bottom: 0.25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.625rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	font-size: 1rem;
	font-family: inherit;
	color: var(--color-slate-900);
	background: var(--color-bg);
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
	margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.comment-form textarea {
	min-height: 8rem;
	resize: vertical;
}

.comment-form .form-submit .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.75rem;
	background: var(--color-accent);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	font-family: inherit;
	border: none;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.comment-form .form-submit .submit:hover {
	background: var(--color-accent-hover);
	box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.comment-notes,
.logged-in-as {
	font-size: 0.8125rem;
	color: var(--color-slate-700);
	margin-bottom: 1rem;
}

.no-comments {
	font-size: 0.9375rem;
	color: var(--color-slate-700);
	font-style: italic;
}

/* ---- Tablet (â‰¥ 768px / 48rem) ---- */
@media (min-width: 48rem) {

	.single-post {
		padding: 3rem 0 4rem;
	}

	.sp__card {
		padding: 2rem;
	}

	.sp__hero {
		margin-left: -2rem;
		margin-right: -2rem;
		margin-top: -2rem;
		margin-bottom: 2rem;
	}

	.sp__author-img {
		width: 3.5rem;
		height: 3.5rem;
	}

	.sp__nav {
		grid-template-columns: 1fr 1fr;
	}

	.comments-area {
		padding: 2rem;
	}
}

/* ---- Desktop (â‰¥ 1024px / 64rem) ---- */
@media (min-width: 64rem) {

	.single-post {
		padding: 3.5rem 0 5rem;
	}

	.sp__card {
		padding: 2.5rem;
	}

	.sp__hero {
		margin-left: -2.5rem;
		margin-right: -2.5rem;
		margin-top: -2.5rem;
		margin-bottom: 2.5rem;
	}

	.sp__title {
		font-size: 2.25rem;
	}

	.sp__content {
		font-size: 1.125rem;
	}

	.sp__related-title {
		font-size: 1.5rem;
	}

	.comments-area {
		padding: 2.5rem;
	}
}

/* ---- Large Desktop (â‰¥ 1200px / 75rem) ---- */
@media (min-width: 75rem) {

	.sp__card {
		padding: 3rem;
	}

	.sp__hero {
		margin-left: -3rem;
		margin-right: -3rem;
		margin-top: -3rem;
	}

	.sp__title {
		font-size: 2.5rem;
	}

	.sp__content {
		font-size: 1.1875rem;
		line-height: 1.85;
	}

	.sp__content h2 {
		font-size: 1.625rem;
	}

	.sp__content h3 {
		font-size: 1.375rem;
	}
}

/* Compact contact / lead form inside single post content */
.sp__content .contact-form,
.sp__content .lead-form {
	max-width: 28rem;
	margin-inline: auto;
	background: var(--color-bg);
	border-radius: var(--radius-md);
	padding: 1.5rem;
}

/* ============================================================
   # Page â€” Generic (page-default)
   ============================================================ */

.page-default {
	padding: 3rem 0 4rem;
	background: var(--color-bg);
}

/* ---- Audit Form (shared across pages / shortcode) ---- */

.audit-form__group {
	margin-bottom: 1.25rem;
}
.audit-form__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
}

.audit-form__row .audit-form__group {
	margin-bottom: 0;
}

.audit-form__label {
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--color-slate-700);
	margin-bottom: 0.5rem;
}

.audit-form__req {
	color: #f43f5e;
}

.audit-form__input,
.audit-form__select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	font-size: 1rem;
	font-family: inherit;
	color: var(--color-slate-900);
	background: var(--color-bg);
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.audit-form__input:focus,
.audit-form__select:focus {
	border-color: #4f46e5;
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.audit-form__input.is-invalid {
	border-color: #ef4444;
}

.audit-form__select {
	cursor: pointer;
}

.audit-form__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 1rem;
	margin-top: 0.5rem;
	background: #4f46e5;
	color: #fff;
	font-weight: 700;
	font-size: 1.0625rem;
	font-family: inherit;
	border: none;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
	box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.audit-form__submit:hover {
	background: #4338ca;
	box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
	transform: translateY(-1px);
}

.audit-form__submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

/* Spinner */
.audit-form__submit-spinner {
	display: none;
	width: 1.25rem;
	height: 1.25rem;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	margin-left: 0.5rem;
	animation: lead-spin 0.6s linear infinite;
}

.audit-form__submit.is-loading .audit-form__submit-spinner {
	display: inline-block;
}

/* Privacy text */
.audit-form__privacy {
	font-size: 0.75rem;
	color: #9ca3af;
	text-align: center;
	margin-top: 1rem;
}

/* Success / error message */
.audit-form__message {
	margin-top: 1rem;
	padding: 0;
	font-size: 0.875rem;
	text-align: center;
	border-radius: 0.5rem;
}

.audit-form__message:empty {
	display: none;
}

.audit-form__message--success {
	display: block;
	background: #ecfdf5;
	color: #065f46;
	padding: 0.75rem 1rem;
}

.audit-form__message--error {
	display: block;
	background: #fef2f2;
	color: #991b1b;
	padding: 0.75rem 1rem;
}

/* ---- Tablet ---- */
@media (min-width: 48rem) {
	.audit-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

.page-article {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	padding: var(--space-4);
}

.page-article__header {
	margin-bottom: 1.5rem;
}

.page-article__title {
	font-size: clamp(1.5rem, 5vw, 2.25rem);
	font-weight: 800;
	color: var(--color-slate-900);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.page-article__content {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--color-slate-700);
}

.page-article__content h2 {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--color-slate-900);
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.page-article__content h3 {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--color-slate-900);
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.page-article__content p {
	margin-bottom: 1rem;
}

.page-article__content ul,
.page-article__content ol {
	margin-bottom: 1rem;
	padding-left: 1.5rem;
}

.page-article__content a {
	color: var(--color-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.2s ease;
}

.page-article__content a:hover {
	color: var(--color-accent-hover);
}

.page-article__content img {
	border-radius: var(--radius-md);
	max-width: 100%;
	height: auto;
}

@media (min-width: 48rem) {
	.page-default {
		padding: 4rem 0 5rem;
	}

	.page-article {
		padding: 2.5rem;
	}

	.page-article__content {
		font-size: 1.0625rem;
		line-height: 1.8;
	}
}

@media (min-width: 75rem) {
	.page-article {
		padding: 3rem;
	}

	.page-article__content {
		font-size: 1.125rem;
		line-height: 1.85;
	}
}

/* ============================================================
   # Page â€” Contact (page-contact)
   ============================================================ */

.page-contact {
	padding: 3rem 0 4rem;
	background: var(--color-bg);
}

.page-contact__header {
	text-align: center;
	margin-bottom: 2rem;
}

.page-contact__title {
	font-size: clamp(1.5rem, 5vw, 2.25rem);
	font-weight: 800;
	color: var(--color-slate-900);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

/* Bento grid */
.page-contact__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-3);
}

.page-contact__card {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.page-contact__card-body {
	padding: var(--space-4);
}

/* Info card */
.page-contact__desc {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--color-slate-700);
	margin-bottom: 1.5rem;
}

.page-contact__desc p {
	margin-bottom: 0.75rem;
}

.page-contact__desc p:last-child {
	margin-bottom: 0;
}

.page-contact__info {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.page-contact__info li {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
	font-size: 0.9375rem;
	color: var(--color-slate-700);
}

.page-contact__info strong {
	color: var(--color-slate-900);
	font-weight: 600;
}

.page-contact__info a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color 0.2s ease;
}

.page-contact__info a:hover {
	color: var(--color-accent-hover);
	text-decoration: underline;
}

/* Form card */
.page-contact__form-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-slate-900);
	margin-bottom: 1.25rem;
	text-align: center;
}

/* Contact form */
.contact-form__group {
	margin-bottom: 1rem;
}

.contact-form__label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-slate-700);
	margin-bottom: 0.25rem;
}

.contact-form__input {
	width: 100%;
	padding: 0.625rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	font-size: 1rem;
	font-family: inherit;
	color: var(--color-slate-900);
	background: var(--color-surface);
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.contact-form__input:focus {
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.contact-form__input.is-invalid {
	border-color: #ef4444;
}

.contact-form__textarea {
	resize: vertical;
	min-height: 7rem;
}

/* Submit */
.contact-form__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.875rem;
	margin-top: 1.5rem;
	background: var(--color-accent);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	font-family: inherit;
	border: none;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.contact-form__submit:hover {
	background: var(--color-accent-hover);
	box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.contact-form__submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.contact-form__submit-spinner {
	display: none;
	width: 1.25rem;
	height: 1.25rem;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	margin-left: 0.5rem;
	animation: lead-spin 0.6s linear infinite;
}

.contact-form__submit.is-loading .contact-form__submit-spinner {
	display: inline-block;
}

/* Message (success / error) */
.contact-form__message {
	margin-top: 1rem;
	padding: 0;
	font-size: 0.875rem;
	text-align: center;
	border-radius: 0.5rem;
}

.contact-form__message:empty {
	display: none;
}

.contact-form__message--success {
	display: block;
	background: #ecfdf5;
	color: #065f46;
	padding: 0.75rem 1rem;
}

.contact-form__message--error {
	display: block;
	background: #fef2f2;
	color: #991b1b;
	padding: 0.75rem 1rem;
}

/* ---- Tablet (â‰¥ 48rem) ---- */
@media (min-width: 48rem) {
	.page-contact {
		padding: 4rem 0 5rem;
	}

	.page-contact__grid {
		grid-template-columns: 5fr 7fr;
	}

	.page-contact__card-body {
		padding: 2rem;
	}

	.page-contact__form-title {
		font-size: 1.375rem;
	}
}

/* ---- Desktop (â‰¥ 75rem) ---- */
@media (min-width: 75rem) {
	.page-contact__card-body {
		padding: 2.5rem;
	}

	.page-contact__desc {
		font-size: 1.0625rem;
		text-align: center;
	}
}

/* ============================================================
   # Page â€” 404
   ============================================================ */

.page-404 {
	padding: 3rem 0 4rem;
	background: var(--color-bg);
}

.page-404__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-3);
}

.page-404__card {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	padding: var(--space-4);
}

/* Message card */
.page-404__card--message {
	text-align: center;
	padding: 2.5rem var(--space-4);
}

.page-404__code {
	display: block;
	font-size: clamp(4rem, 15vw, 8rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
	background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 1rem;
}

.page-404__title {
	font-size: clamp(1.25rem, 4vw, 1.75rem);
	font-weight: 800;
	color: var(--color-slate-900);
	line-height: 1.25;
	margin-bottom: 0.75rem;
}

.page-404__desc {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-slate-700);
	max-width: 34rem;
	margin-inline: auto;
	margin-bottom: 1.5rem;
}

.page-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.page-404__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	font-weight: 700;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.page-404__btn--primary {
	background: var(--color-accent);
	color: #fff;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.page-404__btn--primary:hover {
	background: var(--color-accent-hover);
	box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.page-404__btn--secondary {
	background: var(--color-slate-100);
	color: var(--color-slate-900);
}

.page-404__btn--secondary:hover {
	background: #e2e8f0;
}

/* Search card */
.page-404__search-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-slate-900);
	margin-bottom: 1rem;
}

.page-404__card--search .search-form {
	display: flex;
	gap: 0.5rem;
}

.page-404__card--search .search-field {
	flex: 1;
	padding: 0.625rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	font-size: 1rem;
	font-family: inherit;
	color: var(--color-slate-900);
	background: var(--color-surface);
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-404__card--search .search-field:focus {
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.page-404__card--search .search-submit {
	padding: 0.625rem 1.25rem;
	background: var(--color-accent);
	color: #fff;
	border: none;
	border-radius: 0.5rem;
	font-weight: 600;
	font-size: 0.9375rem;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s ease;
}

.page-404__card--search .search-submit:hover {
	background: var(--color-accent-hover);
}

/* Recent posts card */
.page-404__recent-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-slate-900);
	margin-bottom: 1rem;
}

.page-404__recent-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.page-404__recent-item {
	border-top: 1px solid var(--color-slate-100);
}

.page-404__recent-item:first-child {
	border-top: none;
}

.page-404__recent-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 0.875rem 0;
	text-decoration: none;
	transition: color 0.2s ease;
}

.page-404__recent-name {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-slate-900);
	transition: color 0.2s ease;
}

.page-404__recent-link:hover .page-404__recent-name {
	color: var(--color-accent);
}

.page-404__recent-date {
	font-size: 0.8125rem;
	color: #9ca3af;
	white-space: nowrap;
}

/* ---- Tablet (â‰¥ 48rem) ---- */
@media (min-width: 48rem) {
	.page-404 {
		padding: 5rem 0 6rem;
	}

	.page-404__grid {
		grid-template-columns: 1fr 1fr;
	}

	.page-404__card--message {
		grid-column: 1 / -1;
		padding: 3.5rem 2rem;
	}

	.page-404__card {
		padding: 2rem;
	}
}

/* ---- Desktop (â‰¥ 75rem) ---- */
@media (min-width: 75rem) {
	.page-404__card--message {
		padding: 4rem 2.5rem;
	}

	.page-404__card {
		padding: 2.5rem;
	}
}
