/* ==========================================================
   CouponMesh Theme — Main Stylesheet
   Aesthetic: Editorial × Tech, dark, animated mesh
   ========================================================== */

:root {
	--bg: #0a0a0b;
	--bg-warm: #131211;
	--surface: #161517;
	--border: #2a2826;
	--text: #fafaf9;
	--text-muted: #a1a1aa;
	--text-dim: #71717a;
	--accent: #ff6b35;
	--accent-glow: rgba(255, 107, 53, 0.25);
	--accent-secondary: #ff3d7f;
	--accent-tertiary: #ffd166;
	--gradient: linear-gradient(135deg, #ff6b35 0%, #ff3d7f 50%, #c2185b 100%);

	--font-display: 'Fraunces', 'Times New Roman', serif;
	--font-body: 'Geist', system-ui, -apple-system, sans-serif;
	--font-mono: 'JetBrains Mono', 'Courier New', monospace;

	--container-max: 1400px;
	--content-max: 760px;
}

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

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
	min-height: 100vh;
}

img,
video,
svg {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

button {
	font-family: inherit;
	cursor: pointer;
}

p {
	margin: 0 0 1em;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	line-height: 1.15;
}

ul, ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

blockquote {
	border-left: 3px solid var(--accent);
	padding-left: 1.5em;
	margin: 2em 0;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.25em;
	color: var(--text);
	font-variation-settings: "opsz" 24, "SOFT" 50, "WONK" 1;
}

code {
	font-family: var(--font-mono);
	background: var(--surface);
	padding: 0.15em 0.4em;
	border-radius: 3px;
	font-size: 0.9em;
	color: var(--accent);
}

pre {
	background: var(--surface);
	padding: 1.5em;
	border-radius: 6px;
	overflow-x: auto;
	border: 1px solid var(--border);
}

pre code {
	background: none;
	padding: 0;
	color: var(--text);
}

hr {
	border: none;
	border-top: 1px solid var(--border);
	margin: 3em 0;
}

::selection {
	background: var(--accent);
	color: var(--bg);
}

.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;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 8px;
	z-index: 999;
	padding: 12px 16px;
	background: var(--accent);
	color: var(--bg);
	border-radius: 4px;
	font-weight: 600;
}

.skip-link:focus {
	top: 8px;
}

/* ===== MESH CANVAS BACKGROUND ===== */
#mesh-canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 0.7;
	pointer-events: none;
}

/* Noise texture overlay for warmth */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
	opacity: 0.4;
	pointer-events: none;
	z-index: 1;
	mix-blend-mode: overlay;
}

body::after {
	content: '';
	position: fixed;
	inset: 0;
	background: radial-gradient(ellipse at center, transparent 30%, rgba(10, 10, 11, 0.6) 100%);
	pointer-events: none;
	z-index: 2;
}

#site-header,
#site-content,
#site-footer {
	position: relative;
	z-index: 10;
}

/* ===== HEADER ===== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(10, 10, 11, 0.7);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
	z-index: 100;
}

.site-header-inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 20px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.logo {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 22px;
	letter-spacing: -0.02em;
	color: var(--text);
	font-variation-settings: "opsz" 14, "SOFT" 50, "WONK" 0;
}

.logo:hover {
	color: var(--text);
}

.logo span {
	color: var(--accent);
}

.custom-logo-link img {
	max-height: 32px;
	width: auto;
}

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

.nav-menu {
	list-style: none;
	display: flex;
	gap: 32px;
	margin: 0;
	padding: 0;
}

.nav-menu li {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.nav-menu li a {
	color: var(--text-muted);
	transition: color 0.2s ease;
}

.nav-menu li a:hover {
	color: var(--accent);
}

.nav-status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-muted);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	white-space: nowrap;
}

.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	animation: pulse 2s ease-in-out infinite;
	box-shadow: 0 0 12px var(--accent-glow);
}

@keyframes pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.6; transform: scale(0.85); }
}

/* ===== MAIN ===== */
.site-main {
	padding-top: 0;
}

/* ===== HERO ===== */
.hero {
	min-height: 100vh;
	padding: 140px 40px 80px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: var(--container-max);
	margin: 0 auto;
	position: relative;
}

.hero-eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 32px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	opacity: 0;
	animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.hero-eyebrow::before {
	content: '';
	width: 32px;
	height: 1px;
	background: var(--accent);
}

.hero-headline {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(48px, 9vw, 140px);
	line-height: 0.95;
	letter-spacing: -0.04em;
	margin: 0 0 32px;
	max-width: 1100px;
	font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
	opacity: 0;
	animation: fadeUp 1s ease-out 0.4s forwards;
}

.hero-headline em {
	font-style: italic;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.hero-subhead {
	font-family: var(--font-body);
	font-size: clamp(17px, 1.6vw, 22px);
	line-height: 1.5;
	color: var(--text-muted);
	max-width: 620px;
	margin: 0 0 48px;
	font-weight: 400;
	opacity: 0;
	animation: fadeUp 1s ease-out 0.6s forwards;
}

.hero-subhead strong {
	color: var(--text);
	font-weight: 500;
}

/* ===== EMAIL FORM ===== */
.email-form {
	display: flex;
	gap: 12px;
	max-width: 520px;
	margin-bottom: 24px;
	opacity: 0;
	animation: fadeUp 1s ease-out 0.8s forwards;
}

.email-input {
	flex: 1;
	padding: 18px 22px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 4px;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	transition: all 0.3s ease;
}

.email-input::placeholder {
	color: var(--text-dim);
}

.email-input:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--bg-warm);
	box-shadow: 0 0 0 3px var(--accent-glow);
}

.email-submit {
	padding: 18px 32px;
	background: var(--text);
	color: var(--bg);
	border: none;
	border-radius: 4px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

.email-submit::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--gradient);
	transform: translateX(-101%);
	transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.email-submit span {
	position: relative;
	z-index: 1;
	transition: color 0.2s ease;
}

.email-submit:hover::before {
	transform: translateX(0);
}

.email-submit:hover span {
	color: var(--text);
}

.form-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-dim);
	letter-spacing: 0.05em;
	flex-wrap: wrap;
	opacity: 0;
	animation: fadeUp 1s ease-out 1s forwards;
}

.form-meta-counter {
	display: flex;
	align-items: center;
	gap: 6px;
}

.form-meta-divider {
	width: 1px;
	height: 12px;
	background: var(--border);
}

.counter-num {
	color: var(--accent);
	font-weight: 600;
}

.form-success {
	padding: 18px 22px;
	background: var(--bg-warm);
	border: 1px solid var(--accent);
	border-radius: 4px;
	color: var(--text);
	font-size: 15px;
	display: none;
	align-items: center;
	gap: 12px;
	max-width: 520px;
}

.form-success.show {
	display: flex;
	animation: fadeIn 0.4s ease-out;
}

.form-success::before {
	content: '✓';
	color: var(--accent);
	font-weight: bold;
	font-size: 18px;
}

.hero-vertical-label {
	position: absolute;
	right: 40px;
	top: 50%;
	transform: translateY(-50%) rotate(90deg);
	transform-origin: right center;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--text-dim);
	white-space: nowrap;
	display: none;
}

@media (min-width: 1200px) {
	.hero-vertical-label {
		display: block;
	}
}

/* ===== SECTIONS ===== */
.section {
	padding: 120px 40px;
	max-width: var(--container-max);
	margin: 0 auto;
	position: relative;
}

.section-eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 24px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.section-eyebrow::before {
	content: '';
	width: 28px;
	height: 1px;
	background: var(--accent);
}

.section-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(36px, 5.5vw, 72px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin-bottom: 24px;
	max-width: 900px;
	font-variation-settings: "opsz" 96, "SOFT" 40, "WONK" 1;
}

.section-title em {
	font-style: italic;
	color: var(--accent);
}

.section-subhead {
	font-size: 18px;
	color: var(--text-muted);
	max-width: 580px;
	margin-bottom: 80px;
}

/* ===== TWO-SIDED ===== */
.two-sided {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	background: var(--bg-warm);
}

@media (max-width: 880px) {
	.two-sided {
		grid-template-columns: 1fr;
	}
}

.two-sided-col {
	padding: 56px 48px;
	position: relative;
	transition: background 0.4s ease;
}

.two-sided-col:first-child {
	border-right: 1px solid var(--border);
}

@media (max-width: 880px) {
	.two-sided-col:first-child {
		border-right: none;
		border-bottom: 1px solid var(--border);
	}
}

.two-sided-col:hover {
	background: var(--surface);
}

.col-label {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-dim);
	margin-bottom: 16px;
}

.col-title {
	font-family: var(--font-display);
	font-size: clamp(32px, 3.5vw, 48px);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 0 0 8px;
	font-variation-settings: "opsz" 72, "SOFT" 50, "WONK" 1;
}

.col-title-italic {
	font-style: italic;
	color: var(--accent);
}

.col-tagline {
	font-size: 16px;
	color: var(--text-muted);
	margin: 0 0 36px;
	font-style: italic;
}

.col-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 0;
}

.col-list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.55;
	color: var(--text);
}

.col-list li::before {
	content: '';
	width: 6px;
	height: 6px;
	background: var(--accent);
	border-radius: 50%;
	margin-top: 9px;
	flex-shrink: 0;
	box-shadow: 0 0 8px var(--accent-glow);
}

.col-list li strong {
	color: var(--text);
	font-weight: 600;
}

.col-list li span.muted {
	color: var(--text-muted);
}

/* ===== HOW IT WORKS ===== */
.how-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	counter-reset: step;
}

@media (max-width: 880px) {
	.how-grid {
		grid-template-columns: 1fr;
	}
}

.how-step {
	padding: 40px 32px;
	background: var(--bg-warm);
	border: 1px solid var(--border);
	border-radius: 8px;
	position: relative;
	counter-increment: step;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-step:hover {
	border-color: var(--accent);
	transform: translateY(-4px);
	box-shadow: 0 16px 48px -8px var(--accent-glow);
}

.how-step::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	top: 32px;
	right: 32px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-dim);
	letter-spacing: 0.1em;
}

.how-step h3 {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 400;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
	font-variation-settings: "opsz" 48, "SOFT" 50, "WONK" 1;
}

.how-step h3 em {
	font-style: italic;
	color: var(--accent);
}

.how-step p {
	font-size: 15px;
	color: var(--text-muted);
	line-height: 1.55;
	margin: 0;
}

/* ===== DIFFERENTIATORS ===== */
.diff-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--border);
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
}

@media (max-width: 880px) {
	.diff-grid {
		grid-template-columns: 1fr;
	}
}

.diff-cell {
	padding: 36px 32px;
	background: var(--bg-warm);
	transition: background 0.3s ease;
	min-height: 220px;
	display: flex;
	flex-direction: column;
}

.diff-cell:hover {
	background: var(--surface);
}

.diff-cell-num {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent);
	letter-spacing: 0.15em;
	margin-bottom: 24px;
}

.diff-cell h4 {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 12px;
	font-variation-settings: "opsz" 48, "SOFT" 50, "WONK" 1;
}

.diff-cell h4 em {
	font-style: italic;
	color: var(--accent);
}

.diff-cell p {
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.55;
	flex: 1;
	margin: 0;
}

/* ===== FINAL CTA ===== */
.final-cta {
	padding: 140px 40px;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
	position: relative;
}

.final-cta-headline {
	font-family: var(--font-display);
	font-size: clamp(40px, 7vw, 96px);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: -0.04em;
	margin: 0 0 32px;
	font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
}

.final-cta-headline em {
	font-style: italic;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.final-cta-subhead {
	font-size: 18px;
	color: var(--text-muted);
	margin: 0 auto 48px;
	max-width: 540px;
}

.final-cta .email-form {
	margin-left: auto;
	margin-right: auto;
	animation: none;
	opacity: 1;
}

.final-cta .form-success {
	margin-left: auto;
	margin-right: auto;
}

/* ===== BLOG / ARCHIVE ===== */
.blog-archive {
	padding-top: 160px;
}

.archive-header {
	margin-bottom: 80px;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
	gap: 32px;
}

.post-card {
	background: var(--bg-warm);
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
	border-color: var(--accent);
	transform: translateY(-4px);
	box-shadow: 0 16px 48px -8px var(--accent-glow);
}

.post-card-image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.post-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.post-card:hover .post-card-image img {
	transform: scale(1.04);
}

.post-card-content {
	padding: 28px 32px 32px;
}

.post-meta {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--text-dim);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.post-card-title {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 12px;
	font-variation-settings: "opsz" 48, "SOFT" 50, "WONK" 1;
}

.post-card-title a {
	color: var(--text);
}

.post-card-title a:hover {
	color: var(--accent);
}

.post-card-excerpt {
	font-size: 15px;
	color: var(--text-muted);
	line-height: 1.55;
	margin: 0 0 16px;
}

.post-card-readmore {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--accent);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.no-posts {
	font-size: 18px;
	color: var(--text-muted);
}

/* ===== SINGLE POST / PAGE ===== */
.single-post,
.single-page {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 160px 24px 80px;
}

.single-header {
	margin-bottom: 48px;
}

.single-title {
	font-family: var(--font-display);
	font-size: clamp(36px, 5vw, 64px);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0 0 24px;
	font-variation-settings: "opsz" 96, "SOFT" 40, "WONK" 1;
}

.single-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-dim);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.meta-divider {
	color: var(--border);
}

.single-featured-image {
	margin-bottom: 48px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--border);
}

.single-featured-image img {
	display: block;
	width: 100%;
	height: auto;
}

.single-content {
	font-size: 18px;
	line-height: 1.7;
	color: var(--text);
}

.single-content p,
.single-content ul,
.single-content ol {
	margin-bottom: 1.4em;
}

.single-content h2 {
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: 400;
	letter-spacing: -0.02em;
	margin: 2em 0 0.6em;
	font-variation-settings: "opsz" 72, "SOFT" 50, "WONK" 1;
}

.single-content h3 {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 400;
	letter-spacing: -0.02em;
	margin: 1.6em 0 0.5em;
	font-variation-settings: "opsz" 48, "SOFT" 50, "WONK" 1;
}

.single-content a {
	color: var(--accent);
	border-bottom: 1px solid var(--accent-glow);
	transition: border-color 0.2s ease;
}

.single-content a:hover {
	border-color: var(--accent);
}

.single-content img {
	border-radius: 6px;
	margin: 2em 0;
}

.single-tags {
	margin-top: 48px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.single-tags a {
	font-family: var(--font-mono);
	font-size: 12px;
	padding: 6px 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 100px;
	color: var(--text-muted);
}

.single-tags a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* ===== PAGINATION ===== */
.pagination {
	margin-top: 64px;
	display: flex;
	justify-content: center;
}

.pagination .nav-links {
	display: flex;
	gap: 8px;
	align-items: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: var(--bg-warm);
	border: 1px solid var(--border);
	border-radius: 4px;
	color: var(--text-muted);
	font-family: var(--font-mono);
	font-size: 13px;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	border-color: var(--accent);
	color: var(--accent);
	background: var(--surface);
}

/* ===== 404 ===== */
.error-404 {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 160px 40px 80px;
}

.error-404-inner {
	max-width: 720px;
	text-align: center;
}

.error-404-headline {
	font-family: var(--font-display);
	font-size: clamp(48px, 8vw, 96px);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1;
	margin: 16px 0 32px;
	font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
}

.error-404-headline em {
	font-style: italic;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.error-404-subhead {
	font-size: 18px;
	color: var(--text-muted);
	margin-bottom: 40px;
}

.error-404-button {
	display: inline-block;
	padding: 18px 32px;
	background: var(--text);
	color: var(--bg);
	border-radius: 4px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	position: relative;
	overflow: hidden;
	transition: all 0.2s ease;
}

.error-404-button::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--gradient);
	transform: translateX(-101%);
	transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
	z-index: 0;
}

.error-404-button span {
	position: relative;
	z-index: 1;
	transition: color 0.2s ease;
}

.error-404-button:hover {
	color: var(--bg);
}

.error-404-button:hover::before {
	transform: translateX(0);
}

.error-404-button:hover span {
	color: var(--text);
}

/* ===== SEARCH FORM ===== */
.search-form {
	display: flex;
	gap: 12px;
	max-width: 480px;
}

.search-field {
	flex: 1;
	padding: 12px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 4px;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 14px;
}

.search-field:focus {
	outline: none;
	border-color: var(--accent);
}

.search-submit {
	padding: 12px 20px;
	background: var(--accent);
	color: var(--bg);
	border: none;
	border-radius: 4px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
}

/* ===== COMMENTS ===== */
.comments-area {
	max-width: var(--content-max);
	margin: 64px auto 0;
	padding: 48px 24px;
	border-top: 1px solid var(--border);
}

.comments-title {
	font-family: var(--font-display);
	font-size: 28px;
	margin-bottom: 32px;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment {
	margin-bottom: 32px;
	padding: 24px;
	background: var(--bg-warm);
	border: 1px solid var(--border);
	border-radius: 8px;
}

.comment-meta {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-dim);
	margin-bottom: 12px;
}

.comment-form input,
.comment-form textarea {
	width: 100%;
	padding: 12px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 4px;
	color: var(--text);
	font-family: var(--font-body);
	margin-bottom: 16px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--accent);
}

.form-submit input {
	background: var(--text);
	color: var(--bg);
	border: none;
	padding: 14px 28px;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
}

/* ===== FOOTER ===== */
.site-footer {
	border-top: 1px solid var(--border);
	margin-top: 80px;
	background: var(--bg);
}

.site-footer-inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 48px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 16px;
}

.footer-brand .logo {
	font-size: 18px;
}

.footer-tagline {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--text-dim);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-muted);
	letter-spacing: 0.05em;
}

.footer-links a {
	color: var(--text-muted);
}

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

.footer-nav {
	list-style: none;
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
}

.footer-meta {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--text-dim);
	letter-spacing: 0.05em;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ===== MOBILE ===== */
@media (max-width: 880px) {
	.site-nav {
		display: none;
	}
}

@media (max-width: 640px) {
	.site-header-inner {
		padding: 16px 20px;
	}

	.hero,
	.section,
	.final-cta {
		padding-left: 20px;
		padding-right: 20px;
	}

	.hero {
		padding-top: 120px;
	}

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

	.two-sided-col {
		padding: 40px 28px;
	}

	.how-step,
	.diff-cell {
		padding: 28px 24px;
	}

	.site-footer-inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 32px 20px;
	}

	.single-post,
	.single-page {
		padding: 120px 20px 60px;
	}
}
