/*
Theme Name: FrostyCache
Theme URI: https://frostycache.com
Author: CoCart Headless, LLC
Author URI: https://cocartheadless.com
Description: Block theme for the FrostyCache marketing site. Converted from the static HTML site — dark, developer-focused design with bespoke components (lifecycle diagram, code windows, pricing odometer, benchmark charts).
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frostycache
Tags: block-theme, dark, one-column
*/

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

:root {
	--bg-deep: #06080d;
	--bg-card: #0d1117;
	--bg-card-hover: #131a24;
	--border: #1c2432;
	--text: #c9d1d9;
	--text-muted: #6e7a8a;
	--text-bright: #ecf0f4;
	--accent: #58a6ff;
	--accent-glow: rgba(88, 166, 255, 0.15);
	--frost: #7dd3fc;
	--frost-glow: rgba(125, 211, 252, 0.1);
	--mint: #34d399;
	--amber: #fbbf24;
	--red: #f87171;
	--purple: #a78bfa;
}

html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 5rem; }

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	background: var(--bg-deep);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
}

/* ── BACKGROUND GRID ── */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	background:
	linear-gradient(rgba(88, 166, 255, 0.02) 1px, transparent 1px),
	linear-gradient(90deg, rgba(88, 166, 255, 0.02) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
	z-index: 0;
}

/* ── GLOW ORB ── */
.glow-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
	pointer-events: none;
	z-index: 0;
}

/* ── NAV ── */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 1rem max(2rem, calc(50% - 600px + 2rem));
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* The glass background lives on a pseudo-element: a backdrop-filter on the
   header itself would become the containing block for the mobile menu's
   positioned overlay and break it once .scrolled is added. */
.site-header::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgb(88 166 255 / 0);
	backdrop-filter: none;
	border-bottom: 1px solid rgb(88 166 255 / 0);
	box-shadow: 0 1px 24px rgb(88 166 255 / 0);
	transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled::before {
	background: rgb(88 166 255 / 0.07);
	backdrop-filter: blur(20px) saturate(1.8) brightness(0.85);
	border-bottom: 1px solid rgb(88 166 255 / 0.18);
	box-shadow: 0 1px 24px rgb(88 166 255 / 0.06);
}

.nav-logo {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--text-bright);
	text-decoration: none;
	letter-spacing: -0.02em;
}

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

.nav-links { display: flex; gap: 2rem; align-items: center; }

.nav-links a {
	color: var(--text);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	text-shadow: 0 1px 8px rgb(6 8 13 / 0.6);
	transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-bright); }

.nav-cta {
	background: var(--accent) !important;
	color: var(--bg-deep) !important;
	padding: 0.5rem 1.25rem;
	border-radius: 8px;
	font-weight: 600 !important;
	transition: opacity 0.2s !important;
}

.nav-links a.nav-cta {
	text-shadow: none;
}

.nav-cta:hover { opacity: 0.9; }

.nav-overlay { display: none; }

html.menu-open,
html.menu-open body {
	overflow: hidden;
	position: fixed;
	width: 100%;
}

body.menu-open > *:not(nav) {
	filter: blur(6px);
	pointer-events: none;
	transition: filter 0.3s;
}

/* ── HAMBURGER ── */
.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}

.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text-bright);
	margin: 5px 0;
	transition: all 0.3s;
	border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.open span:nth-child(2) {
	opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -6px);
}

/* ── HERO ── */
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(
			135deg,
			rgb(6 8 13 / 0.82) 0%,
			rgb(6 8 13 / 0.65) 40%,
			rgb(6 8 13 / 0.45) 70%,
			rgb(6 8 13 / 0.55) 100%
		),
		url('https://frostycache.com/content/styling/frostycache/assets/images/hero-bg.jpg');
	background-size: cover;
	background-position: 60% center;
	background-repeat: no-repeat;
	z-index: 0;
	pointer-events: none;
}

/* ── PRICING PAGE BACKGROUND ── */
body.benchmark-page::after,
body.pricing-page::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1000px;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	z-index: -1;
	pointer-events: none;
}

body.benchmark-page::after {
	background-image:
		linear-gradient(
			to bottom,
			rgb(6 8 13 / 0.78) 0%,
			rgb(6 8 13 / 0.66) 35%,
			rgb(6 8 13 / 0.88) 72%,
			rgb(6 8 13 / 1) 100%
		),
		url('https://frostycache.com/content/styling/frostycache/assets/images/benchmark-bg.jpg');
}

body.pricing-page::after {
	background-image:
		linear-gradient(
			to bottom,
			rgb(6 8 13 / 0.78) 0%,
			rgb(6 8 13 / 0.66) 35%,
			rgb(6 8 13 / 0.88) 72%,
			rgb(6 8 13 / 1) 100%
		),
		url('https://frostycache.com/content/styling/frostycache/assets/images/price-bg.jpg');
}

.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 8rem 2rem 4rem;
	overflow: clip;
	max-width: none;
	width: 100%;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		transparent 0%,
		transparent 75%,
		rgb(6 8 13 / 0.7) 92%,
		var(--bg-deep) 100%
	);
	z-index: 0;
	pointer-events: none;
}

.hero .glow-orb.orb-1 {
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgb(88 166 255 / 0.06), transparent 70%);
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
}

.hero .glow-orb.orb-2 {
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(125, 211, 252, 0.08), transparent 70%);
	bottom: 10%;
	right: -100px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 1rem;
	background: var(--accent-glow);
	border: 1px solid rgba(88, 166, 255, 0.2);
	border-radius: 100px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--accent);
	margin-bottom: 2rem;
	position: relative;
	z-index: 1;
}

.hero-badge::before {
	content: '';
	width: 6px;
	height: 6px;
	background: var(--mint);
	border-radius: 50%;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

.hero h1 {
	font-size: clamp(3rem, 7vw, 5.5rem);
	font-weight: 900;
	color: var(--text-bright);
	line-height: 1.05;
	letter-spacing: -0.04em;
	max-width: 900px;
	position: relative;
	z-index: 1;
}

h1 .speed {
	background: linear-gradient(135deg, var(--frost), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-sub {
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	color: var(--text);
	max-width: 640px;
	margin-top: 1.5rem;
	line-height: 1.7;
	position: relative;
	z-index: 1;
	text-shadow: 0 1px 12px rgb(6 8 13 / 0.9);
}

.hero-actions {
	display: flex;
	gap: 1rem;
	margin-top: 2.5rem;
	position: relative;
	z-index: 1;
	flex-wrap: wrap;
	justify-content: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.75rem;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
	border: none;
}

.btn-primary {
	background: var(--accent);
	color: var(--bg-deep);
	box-shadow: 0 0 30px rgba(88, 166, 255, 0.2);
}

.btn-primary:hover {
	box-shadow: 0 0 50px rgba(88, 166, 255, 0.35);
	transform: translateY(-1px);
}

.btn-secondary {
	background: var(--bg-card);
	color: var(--text-bright);
	border: 1px solid var(--border);
}

.btn-secondary:hover {
	background: var(--bg-card-hover);
	border-color: var(--accent);
}

/* ── SPEED BANNER ── */
.speed-banner {
	position: relative;
	z-index: 1;
	margin-top: 4rem;
	display: flex;
	gap: 3rem;
	flex-wrap: wrap;
	justify-content: center;
}

.speed-stat { text-align: center; }

.speed-stat .number {
	font-size: 2.5rem;
	font-weight: 900;
	font-family: 'JetBrains Mono', monospace;
	letter-spacing: -0.04em;
}

.speed-stat .number.fast { color: var(--mint); }
.speed-stat .number.compare { color: var(--frost); }
.speed-stat .number.hooks { color: var(--purple); }

.speed-stat .label {
	font-size: 0.8rem;
	color: var(--text);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 0.25rem;
	text-shadow: 0 1px 10px rgb(6 8 13 / 0.9);
}

/* ── SECTIONS ── */
section {
	position: relative;
	padding: 6rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.page-top {
	padding-top: 10rem;
}

.section-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--accent);
	margin-bottom: 0.75rem;
}

.section-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: var(--text-bright);
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin-bottom: 1rem;
}

.section-desc {
	font-size: 1.1rem;
	color: var(--text-muted);
	line-height: 1.7;
}

body.pricing-page .section-desc {
	color: var(--text);
	text-shadow: 0 1px 12px rgb(6 8 13 / 0.9);
}

/* ── HOW IT WORKS ── */
.how-it-works {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 4rem;
	align-items: center;
	margin-top: 4rem;
}

.how-points {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.how-point {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.how-point-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	flex-shrink: 0;
	background: var(--accent-glow);
	border: 1px solid rgb(88 166 255 / 0.15);
}

.how-point h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-bright);
	margin-bottom: 0.25rem;
}

.how-point p {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.6;
}

.lifecycle {
	margin: 0;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 2rem 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.lifecycle-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}

.lifecycle-step {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: rgb(255 255 255 / 0.02);
}

.lifecycle-step strong {
	color: var(--text-bright);
	font-size: 0.95rem;
	display: block;
}

.step-sub {
	display: block;
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-top: 0.15rem;
	font-family: 'JetBrains Mono', monospace;
}

.lifecycle-step.blue {
	border-color: rgb(88 166 255 / 0.25);
	background: rgb(88 166 255 / 0.04);
}

.lifecycle-step.green {
	border-color: rgb(52 211 153 / 0.3);
	background: rgb(52 211 153 / 0.06);
}

.lifecycle-step.purple {
	border-color: rgb(139 108 217 / 0.25);
	background: rgb(139 108 217 / 0.04);
}

.step-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	flex-shrink: 0;
}

.step-icon.blue {
	background: rgb(88 166 255 / 0.15);
	color: var(--accent);
}

.step-icon.green {
	background: rgb(52 211 153 / 0.15);
	color: var(--mint);
}

.step-icon.purple {
	background: rgb(139 108 217 / 0.15);
	color: #8b6cd9;
}

.lifecycle-arrow {
	text-align: center;
	color: var(--text-muted);
	font-size: 1rem;
	padding: 0.5rem 0;
}

.lifecycle-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.lifecycle-split .lifecycle-step {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
}

.split-label {
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.25rem;
}

.split-label.hit {
	color: var(--mint);
}

.split-label.miss {
	color: #eab308;
}

.split-hit {
	border-color: rgb(52 211 153 / 0.3);
	background: rgb(52 211 153 / 0.06);
}

.split-miss {
	border-color: rgb(234 179 8 / 0.3);
	background: rgb(234 179 8 / 0.06);
}

/* ── FEATURES GRID ── */
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 4rem;
}

.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 2rem;
	transition: all 0.25s;
}

.feature-card:hover {
	border-color: rgba(88, 166, 255, 0.3);
	background: var(--bg-card-hover);
	transform: translateY(-2px);
}

.feature-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	margin-bottom: 1.25rem;
}

.feature-icon.blue { background: rgba(88, 166, 255, 0.12); }
.feature-icon.green { background: rgba(52, 211, 153, 0.12); }
.feature-icon.amber { background: rgba(251, 191, 36, 0.12); }
.feature-icon.purple { background: rgba(167, 139, 250, 0.12); }
.feature-icon.red { background: rgba(248, 113, 113, 0.12); }
.feature-icon.frost { background: var(--frost-glow); }

.grid-2col.grid-2col { grid-template-columns: repeat(2, 1fr); }

.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-bright); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ── COMPARISON TABLE ── */
.comparison-wrapper {
	margin-top: 4rem;
	overflow-x: auto;
	border-radius: 16px;
	border: 1px solid var(--border);
}

.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

.comparison-table th,
.comparison-table td {
	padding: 1rem 1.5rem;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
	background: var(--bg-card);
	font-weight: 700;
	color: var(--text-bright);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	position: sticky;
	top: 0;
}

.comparison-table thead th:first-child { border-top-left-radius: 16px; }
.comparison-table thead th:last-child { border-top-right-radius: 16px; }

.comparison-table tbody tr { background: var(--bg-deep); transition: background 0.15s; }
.comparison-table tbody tr:hover { background: var(--bg-card); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table td:first-child { color: var(--text-muted); font-weight: 500; }

.comparison-table .winner { color: var(--mint); font-weight: 600; }
.comparison-table .loser { color: var(--text-muted); }

.check { color: var(--mint); }
.cross { color: var(--red); opacity: 0.6; }

/* ── CODE BLOCK ── */
.code-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: start;
	margin-top: 4rem;
}

.code-block {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
}

.code-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.25rem;
	background: rgba(255,255,255,0.02);
	border-bottom: 1px solid var(--border);
}

.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.r { background: #ff5f56; }
.code-dot.y { background: #ffbd2e; }
.code-dot.g { background: #27c93f; }

.code-title {
	margin-left: 0.75rem;
	font-size: 0.8rem;
	color: var(--text-muted);
	font-family: 'JetBrains Mono', monospace;
}

.code-body {
	padding: 1.25rem;
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.82rem;
	line-height: 1.8;
	overflow-x: auto;
	color: var(--text);
	white-space: pre;
}

.code-body .comment { color: var(--text-muted); }
.code-body .keyword { color: var(--purple); }
.code-body .function { color: var(--accent); }
.code-body .string { color: var(--mint); }
.code-body .number { color: var(--amber); }
.code-body .variable { color: var(--frost); }

/* ── CLI SECTION ── */
.cli-commands {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin-top: 2rem;
}

.cli-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1.25rem;
}

.cli-card code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.85rem;
	color: var(--frost);
	display: block;
	margin-bottom: 0.5rem;
}

.cli-card p { font-size: 0.8rem; color: var(--text-muted); }

/* ── WOOCOMMERCE SECTION ── */
.compat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 3rem;
}

.compat-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 1.75rem;
	text-align: center;
	transition: all 0.25s;
}

.compat-card:hover { border-color: rgba(88, 166, 255, 0.3); transform: translateY(-2px); }

.compat-card .compat-name { font-size: 1.1rem; font-weight: 700; color: var(--text-bright); margin-bottom: 0.5rem; }
.compat-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.compat-card .compat-badge {
	display: inline-block;
	margin-top: 0.75rem;
	padding: 0.2rem 0.6rem;
	font-size: 0.7rem;
	font-weight: 600;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.compat-badge.cached { background: rgba(52, 211, 153, 0.12); color: var(--mint); }
.compat-badge.skipped { background: rgba(248, 113, 113, 0.1); color: var(--red); }
.compat-badge.smart { background: rgba(88, 166, 255, 0.12); color: var(--accent); }

/* ── CTA ── */
.cta-section { text-align: center; padding: 8rem 2rem; position: relative; overflow: clip; }

.cta-section .glow-orb {
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(88, 166, 255, 0.08), transparent 70%);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.cta-section h2 {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 900;
	color: var(--text-bright);
	letter-spacing: -0.03em;
	margin-bottom: 1rem;
	position: relative;
	z-index: 1;
}

.cta-section p {
	font-size: 1.15rem;
	color: var(--text-muted);
	margin-bottom: 2.5rem;
	position: relative;
	z-index: 1;
}

.cta-section .hero-actions { position: relative; z-index: 1; }

/* ── FOOTER ── */
footer {
	border-top: 1px solid var(--border);
	padding: 4rem 2rem 2rem;
	color: var(--text-muted);
	font-size: 0.85rem;
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
}

footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
	margin-bottom: 3rem;
}

.footer-group { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-group h4 {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-bright);
	margin-bottom: 0.5rem;
}

.footer-group a {
	color: var(--text-muted);
	font-size: 0.85rem;
	transition: color 0.2s;
}

.footer-group a:hover { color: var(--text-bright); text-decoration: none; }

.footer-bottom {
	padding-top: 2rem;
	text-align: center;
}

.footer-bottom p { margin-top: 0.4rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
	.how-it-works,
	.code-section { grid-template-columns: 1fr; gap: 2rem; }
	.lifecycle { padding: 1.5rem; }
	.lifecycle-split { grid-template-columns: 1fr; }
	.features-grid { grid-template-columns: 1fr 1fr; }
	.compat-grid { grid-template-columns: 1fr 1fr !important; }
	.cli-commands { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	.hero::before { background-position: 70% center; }

	.nav-toggle { display: block; }

	.nav-links {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--bg-card);
	border-bottom: 1px solid var(--border);
	flex-direction: column;
	padding: 1rem 2rem 1.5rem;
	gap: 0;
	}

	.nav-links.open {
	display: flex;
	}

	.nav-links a {
	display: block;
	width: 100%;
	padding: 0.75rem 0;
	font-size: 0.95rem;
	border-bottom: 1px solid var(--border);
	color: var(--text-bright);
	}

	.nav-links a:last-child { border-bottom: none; }

	.nav-links .nav-cta {
	margin-top: 0.75rem;
	text-align: center;
	padding: 0.75rem 1.25rem;
	border-bottom: none;
	}
}

@media (max-width: 600px) {
	.hero::before { background-position: 75% center; }

	.features-grid,
	.features-grid.grid-2col { grid-template-columns: 1fr; }
	.compat-grid { grid-template-columns: 1fr !important; }
	.site-header { padding: 0.75rem 1rem; }
	.speed-banner { gap: 2rem; }
	.footer-grid { grid-template-columns: 1fr; }

	.hero { padding: 6rem 1.25rem 3rem; }
	.hero h1 { font-size: 2.5rem; }

	section { padding: 4rem 1.25rem; }

	.page-top { padding-top: 6.5rem; }

	.comparison-table th,
	.comparison-table td { padding: 0.75rem 0.75rem; font-size: 0.8rem; }

	.guarantee-details { grid-template-columns: 1fr; }

	.pricing-card .plan-price .amount { font-size: clamp(2.2rem, 6vw, 2.6rem); }

	/* Code blocks: allow wrap and horizontal scroll within card */
	.code-section { grid-template-columns: 1fr; gap: 2rem; }

	.code-block { max-width: 100%; }

	.code-body {
	font-size: 0.72rem;
	white-space: pre-wrap;
	word-break: break-word;
	}

	/* CLI cards stack single column */
	.cli-commands { grid-template-columns: 1fr; }

	.cli-card code { font-size: 0.78rem; word-break: break-all; }

	/* Response demo */
	.response-demo { margin-top: 2rem; }
	.response-demo .code-body { font-size: 0.68rem; }

	/* Hook cards on docs page */
	.hook-card h3 { font-size: 0.75rem; word-break: break-all; }
	.hook-card .hook-params code { font-size: 0.7rem; }

	/* Prevent any element from causing horizontal overflow */
	.section-title { word-break: break-word; }
}

/* ── HEADER RESPONSE DEMO ── */
.response-demo { margin-top: 4rem; position: relative; z-index: 1; max-width: 680px; width: 100%; }
.response-demo .code-body { font-size: 0.78rem; line-height: 1.9; }

/* ── PRICING ── */
.pricing-toggle-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
}

.pricing-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 100px;
	padding: 0.3rem;
}

.toggle-option {
	position: relative;
	z-index: 1;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-muted);
	background: none;
	border: none;
	padding: 0.5rem 1.5rem;
	border-radius: 100px;
	cursor: pointer;
	transition: color 0.3s, background 0.3s;
}

.toggle-option.active {
	color: var(--text-bright);
	background: var(--border);
}

.pricing-save {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--mint);
	padding: 0 0.75rem;
}

.currency-select {
	appearance: none;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text-bright);
	font-size: 0.8rem;
	font-family: inherit;
	padding: 0.4rem 2rem 0.4rem 0.75rem;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e7a8a' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.6rem center;
	transition: border-color 0.2s;
}

.currency-select:hover,
.currency-select:focus {
	border-color: var(--accent);
	outline: none;
}

.odometer-comma {
	line-height: 1;
	letter-spacing: -0.04em;
}

.price-odometer {
	display: inline-flex;
	align-items: flex-end;
	overflow: hidden;
	height: 1.2em;
	vertical-align: baseline;
}

.odometer-digit {
	position: relative;
	overflow: hidden;
	height: 1.2em;
}

.odometer-strip {
	display: flex;
	flex-direction: column;
	padding: 0.1em 0;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}

.odometer-strip span {
	display: block;
	height: 1.2em;
	line-height: 1.1;
	text-align: center;
}

.odometer-dot {
	width: 0.3em;
	line-height: 1;
	text-align: center;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 3rem;
	align-items: stretch;
}

.pricing-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 2.5rem 2rem;
	position: relative;
	transition: all 0.25s;
	display: flex;
	flex-direction: column;
}

.pricing-card:hover {
	transform: translateY(-4px);
	border-color: rgb(88 166 255 / 0.2);
}

.pricing-card .plan-price {
	transform: translateZ(0);
}

.pricing-card.featured {
	border-color: var(--accent);
	box-shadow: 0 0 40px rgba(88, 166, 255, 0.1);
}

.pricing-card.featured::before {
	content: 'Most Popular';
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--accent);
	color: var(--bg-deep);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.3rem 1rem;
	border-radius: 100px;
}

.pricing-card .plan-name {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent);
	margin-bottom: 0.75rem;
}

.pricing-card .plan-price {
	display: flex;
	align-items: baseline;
	gap: 0.1em;
	margin-bottom: 1.5rem;
}

.pricing-card .plan-price .price-meta {
	margin-left: 0.4rem;
}

.pricing-card .plan-price .amount {
	font-size: 3rem;
	font-weight: 900;
	color: var(--text-bright);
	letter-spacing: -0.04em;
	line-height: 1;
}

.pricing-card .plan-price .currency-sym {
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--text-bright);
	vertical-align: super;
	align-self: flex-start;
}

.pricing-card .plan-price .price-meta { display: flex; flex-direction: column; font-size: 0.8rem; line-height: 1.3; }
.pricing-card .plan-price .price-meta .price-currency { color: var(--accent); font-weight: 600; }
.pricing-card .plan-price .price-meta .price-period { color: var(--text-muted); font-weight: 500; }

.pricing-card .plan-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 2rem; min-height: 2.5em; }

.pricing-card .plan-features { list-style: none; margin-bottom: 2rem; flex: 1; }

.pricing-card .plan-features li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.88rem;
	color: var(--text);
	padding: 0.4rem 0;
}

.pricing-card .plan-features li::before {
	content: '\2713';
	color: var(--mint);
	font-weight: 700;
	font-size: 0.85rem;
	flex-shrink: 0;
}

.pricing-card .plan-cta {
	display: block;
	width: 100%;
	padding: 0.85rem;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
	border: none;
}

.pricing-card .plan-cta.primary {
	background: var(--accent);
	color: var(--bg-deep);
	box-shadow: 0 0 20px rgba(88, 166, 255, 0.15);
}

.pricing-card .plan-cta.primary:hover { box-shadow: 0 0 40px rgba(88, 166, 255, 0.3); }

.pricing-card .plan-cta.secondary {
	background: rgba(88, 166, 255, 0.08);
	color: var(--accent);
	border: 1px solid rgba(88, 166, 255, 0.2);
}

.pricing-card .plan-cta.secondary:hover { background: rgba(88, 166, 255, 0.15); }

.pricing-guarantee { text-align: center; margin-top: 2rem; font-size: 0.85rem; color: var(--text-muted); }
.pricing-guarantee svg { vertical-align: middle; margin-right: 0.35rem; }
.pricing-guarantee a { color: var(--accent); text-decoration: none; }

@media (max-width: 900px) {
	.pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ── FAQ ── */
.faq-section { margin-top: 5rem; }
.faq-section .section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.4rem; }

.faq-subtitle { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.faq-list { display: flex; flex-direction: column; }

.faq-item {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 3rem;
	padding: 1.75rem 0;
	border-top: 1px solid var(--border);
}

.faq-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-bright); }
.faq-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.faq-item code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.82rem;
	color: var(--frost);
	background: rgba(125, 211, 252, 0.08);
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
}
.faq-item a { color: var(--accent); text-decoration: none; }
.faq-item a:hover { text-decoration: underline; }
.faq-item a:visited { color: var(--accent); }

.faq-item .plan-table { margin-top: 0.75rem; width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.faq-item .plan-table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); }
.faq-item .plan-table tr:last-child td { border-bottom: none; }
.faq-item .plan-table td:first-child { color: var(--text-bright); font-weight: 600; }
.faq-item .plan-table td:last-child { text-align: right; color: var(--text-muted); }

@media (max-width: 700px) {
	.faq-item { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ── GUARANTEE ── */
.guarantee-block {
	margin-top: 4rem;
	padding: 2.5rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 20px;
}

.guarantee-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--mint);
	margin-bottom: 1.25rem;
}

.guarantee-block h3 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: var(--text-bright);
	letter-spacing: -0.03em;
	margin-bottom: 0.75rem;
}

.guarantee-block > p {
	font-size: 1rem;
	color: var(--text-muted);
	line-height: 1.7;
}

.guarantee-details {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.guarantee-detail { display: flex; flex-direction: column; gap: 0.4rem; }
.guarantee-detail h4 { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; font-weight: 700; color: var(--text-bright); }
.guarantee-detail h4 svg { color: var(--text-muted); flex-shrink: 0; }
.guarantee-detail p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; padding-left: 1.75rem; }

@media (max-width: 700px) {
	.guarantee-details { grid-template-columns: 1fr; }
}

.pricing-note {
	margin-top: 2rem;
	padding: 1rem 1.25rem;
	background: rgba(251, 191, 36, 0.05);
	border-left: 3px solid var(--amber);
	border-radius: 0 10px 10px 0;
	font-size: 0.85rem;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.pricing-note svg { flex-shrink: 0; color: var(--amber); }

/* ── BENCHMARK PAGES ── */
.bench-stats {
	display: flex;
	gap: 3rem;
	margin-top: 4rem;
	flex-wrap: wrap;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.bench-stat { text-align: center; padding: 0.5rem 1rem; }

.bench-stat-value {
	font-size: 2.5rem;
	font-weight: 900;
	font-family: 'JetBrains Mono', monospace;
	letter-spacing: -0.04em;
}

.bench-stat-value.green  { color: var(--mint); }
.bench-stat-value.frost  { color: var(--frost); }
.bench-stat-value.muted  { color: var(--text-muted); }
.bench-stat-value.amber  { color: var(--amber); }
.bench-stat-value.woo    { color: #a78bfa; }
.bench-stat-value.cocart { color: #fb923c; }

.bench-stat-label {
	font-size: 0.8rem;
	color: var(--text);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 0.25rem;
	text-shadow: 0 1px 10px rgb(6 8 13 / 0.9);
}

.bench-stat-sub {
	font-size: 0.72rem;
	color: var(--frost);
	margin-top: 0.2rem;
	text-shadow: 0 1px 10px rgb(6 8 13 / 0.9);
}

.chart-card {
	background: rgba(13, 17, 23, 0.5);
	backdrop-filter: blur(20px) saturate(1.4);
	-webkit-backdrop-filter: blur(20px) saturate(1.4);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 40px rgba(0, 0, 0, 0.3);
	border-radius: 20px;
	padding: 2rem 2.5rem 2.5rem;
	margin-top: 3rem;
}

.chart-card-title {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}

.chart-wrap { position: relative; }
.chart-wrap canvas { max-height: 240px; }
.chart-wrap-tall canvas { max-height: 420px; }

.chart-legend {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-top: 1.5rem;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.82rem;
	color: var(--text-muted);
	font-weight: 500;
}

.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.bench-paths {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 3rem;
}

.path-card {
	background: rgba(13, 17, 23, 0.45);
	backdrop-filter: blur(20px) saturate(1.4);
	-webkit-backdrop-filter: blur(20px) saturate(1.4);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 24px rgba(0, 0, 0, 0.25);
	border-radius: 16px;
	padding: 2rem;
}

.path-card.path-fast {
	border-color: rgba(52, 211, 153, 0.25);
	box-shadow: inset 0 1px 0 rgba(52, 211, 153, 0.18), 0 4px 24px rgba(52, 211, 153, 0.07);
}

.path-card.path-mu {
	border-color: rgba(125, 211, 252, 0.2);
	box-shadow: inset 0 1px 0 rgba(125, 211, 252, 0.15), 0 4px 24px rgba(125, 211, 252, 0.06);
}

.path-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }

.path-badge {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.25rem 0.6rem;
	border-radius: 6px;
}

.path-badge.green { background: rgba(52, 211, 153, 0.12); color: var(--mint); }
.path-badge.frost { background: rgba(125, 211, 252, 0.1); color: var(--frost); }

.path-time { font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; }
.path-time.green { color: var(--mint); }
.path-time.frost { color: var(--frost); }

.path-steps { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1.25rem; }

.path-step {
	font-size: 0.85rem;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0;
}

.path-step::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.path-step.active { color: var(--text); }
.path-step.active::before { background: var(--mint); }
.path-step.active-frost::before { background: var(--frost); }
.path-step.dim { opacity: 0.4; text-decoration: line-through; }

.path-exit { margin-top: 0.75rem; padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.8rem; font-weight: 600; }
.path-exit.green { background: rgba(52, 211, 153, 0.1); color: var(--mint); }
.path-exit.frost { background: rgba(125, 211, 252, 0.08); color: var(--frost); }

.method-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 3rem;
}

.method-card {
	background: rgba(13, 17, 23, 0.45);
	backdrop-filter: blur(20px) saturate(1.4);
	-webkit-backdrop-filter: blur(20px) saturate(1.4);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 24px rgba(0, 0, 0, 0.25);
	border-radius: 16px;
	padding: 1.75rem;
	width: max-content;
}

.method-card h3 {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-bright);
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.method-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.method-card li { font-size: 0.85rem; color: var(--text-muted); display: flex; gap: 0.5rem; }
.method-card li::before { content: '·'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

.bypass-table { margin-top: 2.5rem; border-collapse: collapse; width: 100%; font-size: 0.875rem; }

.bypass-table th {
	text-align: left;
	padding: 0.6rem 1rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-muted);
	border-bottom: 1px solid var(--border);
}

.bypass-table td {
	padding: 0.65rem 1rem;
	color: var(--text);
	border-bottom: 1px solid rgba(255,255,255,0.04);
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.8rem;
}

.bypass-table tr:last-child td { border-bottom: none; }

.tag { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 5px; font-family: 'JetBrains Mono', monospace; }
.tag-hit    { background: rgba(52,211,153,0.12); color: var(--mint); }
.tag-bypass { background: rgba(248,113,113,0.12); color: var(--red); }

.coverage-note {
	margin-top: 1.75rem;
	padding: 1rem 1.25rem;
	background: rgba(88, 166, 255, 0.05);
	border: 1px solid rgba(88, 166, 255, 0.12);
	border-radius: 10px;
	font-size: 0.83rem;
	color: var(--text-muted);
	line-height: 1.6;
}

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

code.inline {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.8em;
	background: rgba(88, 166, 255, 0.08);
	border: 1px solid rgba(88, 166, 255, 0.15);
	padding: 0.1em 0.4em;
	border-radius: 4px;
	color: var(--frost);
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.82rem;
	color: var(--text-muted);
	text-decoration: none;
	margin-bottom: 2rem;
	transition: color 0.2s;
}

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

.data-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; margin-top: 2rem; }

.data-table th {
	text-align: right;
	padding: 0.5rem 0.75rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-muted);
	border-bottom: 1px solid var(--border);
}

.data-table th:first-child { text-align: left; }

.data-table td {
	padding: 0.55rem 0.75rem;
	text-align: right;
	border-bottom: 1px solid rgba(255,255,255,0.04);
	font-family: 'JetBrains Mono', monospace;
	color: var(--text-muted);
}

.data-table td:first-child { text-align: left; color: var(--text); font-size: 0.78rem; }

.data-table tr.hit td { color: var(--mint); }
.data-table tr.miss td { color: var(--red); }
.data-table tr.hit td:first-child,
.data-table tr.miss td:first-child { color: inherit; font-size: 0.78rem; }
.data-table tr:last-child td { border-bottom: none; }

@media (max-width: 768px) {
	.bench-paths { grid-template-columns: 1fr; }
	.method-grid { grid-template-columns: 1fr; }
	.bench-stats { gap: 1rem; }
	.bench-stat { min-width: 140px; padding: 1.25rem 1.5rem; }
	.bench-stat-value { font-size: 2rem; }
	.chart-wrap-tall canvas { max-height: 600px; }
}

/* ── DIVIDER ── */
.section-divider {
	max-width: 1200px;
	margin: 0 auto;
	border: none;
	border-top: 1px solid var(--border);
}

.section-divider.no-line {
	border-top-color: transparent;
}

/* ── PAGE CONTENT TYPOGRAPHY ── */
body.single-post section h2,
.page-legal section h2,
.page-docs section h2,
.page-changelog section h2 {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--text-bright);
	margin-top: 2.5rem;
	margin-bottom: 0.75rem;
}

.page-changelog section .changelog-entry h2 {
	margin-top: 0;
}

body.single-post section h3,
.page-legal section h3,
.page-docs section h3,
.page-changelog section h3 {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text-bright);
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.page-docs section .hook-card h3 {
	margin-top: 0;
}

body.single-post section p,
.page-legal section p,
.page-docs section p,
.page-changelog section p {
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.8;
	margin-bottom: 1rem;
}

body.single-post section ul,
.page-legal section ul,
body.single-post section ol,
.page-legal section ol,
.page-docs section ul,
.page-docs section ol,
.page-changelog section ul,
.page-changelog section ol {
	margin-bottom: 1rem;
	padding-left: 1.5rem;
}

body.single-post section li,
.page-legal section li,
.page-docs section li,
.page-changelog section li {
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.8;
	margin-bottom: 0.35rem;
}

body.single-post section a,
.page-legal section a,
.page-docs section a,
.page-changelog section a {
	color: var(--accent);
	text-decoration: none;
}

body.single-post section a:hover,
.page-legal section a:hover,
.page-docs section a:hover,
.page-changelog section a:hover {
	text-decoration: underline;
}

body.single-post section code,
.page-legal section code,
.page-docs section code,
.page-changelog section code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.85rem;
	color: var(--frost);
	background: rgba(125, 211, 252, 0.08);
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
}

.content-body {
	max-width: 800px;
	margin-top: 3rem;
}

/* ── DOCS ── */
.docs-toc {
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.docs-toc .comparison-table a {
	color: var(--accent);
	text-decoration: none;
	font-weight: 600;
}

.docs-toc .comparison-table a:hover { text-decoration: underline; }

.docs-toc .comparison-table code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.78rem;
	color: var(--frost);
}

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

/* ── FAQ TABS ── */
.faq-tabs {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

.faq-tab {
	padding: 0.5rem 1.25rem;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid var(--border);
	background: var(--bg-card);
	color: var(--text-muted);
	transition: all 0.2s;
}

.faq-tab:hover {
	border-color: var(--accent);
	color: var(--text-bright);
}

.faq-tab.active {
	background: var(--accent);
	color: var(--bg-deep);
	border-color: var(--accent);
}

.faq-panel { display: none; }
.faq-panel.active { display: block; }

.hook-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 1.5rem;
	margin-bottom: 1.25rem;
	overflow-x: auto;
}

.hook-card h3 {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.85rem;
	color: var(--frost);
	margin-bottom: 0.5rem;
	word-break: break-all;
}

.hook-card .hook-type {
	display: inline-block;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.15rem 0.5rem;
	border-radius: 4px;
	margin-bottom: 0.75rem;
}

.hook-type.filter { background: rgba(167, 139, 250, 0.12); color: var(--purple); }
.hook-type.action { background: rgba(52, 211, 153, 0.12); color: var(--mint); }

.hook-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.5rem; }

.hook-card .hook-params {
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-top: 0.5rem;
	line-height: 1.8;
}

.hook-card .hook-params code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.78rem;
	color: var(--frost);
	background: rgba(125, 211, 252, 0.08);
	padding: 0.1rem 0.35rem;
	border-radius: 3px;
}

/* ── CHANGELOG ── */
.changelog-entry {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 2rem;
	margin-bottom: 1.5rem;
}

.changelog-entry h2 {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--text-bright);
	margin-bottom: 0.25rem;
}

.changelog-entry .changelog-date {
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-bottom: 1.25rem;
}

.changelog-entry ul { list-style: none; padding: 0; }

.changelog-entry li {
	font-size: 0.88rem;
	color: var(--text);
	padding: 0.3rem 0;
	padding-left: 1.25rem;
	position: relative;
}

.changelog-entry li::before {
	content: '+';
	position: absolute;
	left: 0;
	color: var(--mint);
	font-weight: 700;
	font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 600px) {
	.hook-card { padding: 1.25rem; }
	.hook-card h3 { font-size: 0.8rem; }
}

@media (max-width: 640px) {
	.pricing-toggle-wrap {
		flex-direction: column;
		gap: 1rem;
	}

	.pricing-save {
		flex-basis: 100%;
		text-align: center;
	}

	.currency-select {
		width: 100%;
		max-width: 220px;
	}
}

/* ── WAITLIST FORM ── */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.waitlist-form {
	margin-top: 2.5rem;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
}

.waitlist-fields {
	display: flex;
	gap: 0.75rem;
}

.waitlist-fields input[type="email"] {
	flex: 1;
	min-width: 0;
	padding: 0.85rem 1.25rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--text-bright);
	font-family: inherit;
	font-size: 0.95rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist-fields input[type="email"]::placeholder { color: var(--text-muted); }

.waitlist-fields input[type="email"]:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 30px rgba(88, 166, 255, 0.15);
}

.waitlist-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.waitlist-form .btn[disabled] {
	opacity: 0.6;
	cursor: wait;
	transform: none;
}

.waitlist-message {
	margin-top: 0.75rem;
	font-size: 0.9rem;
	font-weight: 500;
	min-height: 1.4em;
	text-shadow: 0 1px 4px rgb(6 8 13 / 0.95), 0 1px 12px rgb(6 8 13 / 0.9);
}

.waitlist-message.success { color: var(--mint); }
.waitlist-message.error { color: var(--red); }

.waitlist-note {
	margin-top: 0.25rem;
	font-size: 0.8rem;
	color: var(--text);
	text-shadow: 0 1px 4px rgb(6 8 13 / 0.95), 0 1px 12px rgb(6 8 13 / 0.9);
}

@media (max-width: 520px) {
	.waitlist-fields { flex-direction: column; }
	.waitlist-fields .btn { justify-content: center; }
}

/* ── WORDPRESS ADJUSTMENTS ── */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

/* Neutralize default block layout spacing inside converted sections */
.wp-site-blocks { margin: 0; padding: 0; }

/* Heading blocks reuse the original element styling */
h1.section-title, h2.section-title { margin-top: 0; }

/* ── BLOG ── */
.post-meta {
	font-size: 0.85rem;
	color: var(--text-muted);
	font-family: 'JetBrains Mono', monospace;
	margin-top: 0.75rem;
}

.blog-list,
.changelog-list {
	margin-top: 3rem;
}

.changelog-entry .wp-block-post-title a {
	color: var(--text-bright);
	text-decoration: none;
	transition: color 0.2s;
}

.changelog-entry .wp-block-post-title a:hover {
	color: var(--accent);
}

.changelog-entry .post-cats {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.75rem;
}

.changelog-entry .post-cats a {
	color: var(--accent);
	text-decoration: none;
}

.changelog-entry .wp-block-post-excerpt p {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.7;
}

.changelog-entry .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: 0.6rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
}

.changelog-entry .wp-block-post-excerpt__more-link:hover { text-decoration: underline; }

.blog-pagination {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-top: 2.5rem;
	font-size: 0.9rem;
}

.blog-pagination a,
.blog-pagination .wp-block-query-pagination-numbers .current {
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.2s;
}

.blog-pagination a:hover { color: var(--text-bright); }
.blog-pagination .wp-block-query-pagination-numbers .current { color: var(--accent); font-weight: 700; }
.blog-pagination .wp-block-query-pagination-numbers a { margin-right: 0.5rem; }

/* Post header meta on single templates */
body.single-post .section-label a { color: var(--accent); text-decoration: none; }
body.single-post .back-link { display: inline-flex; }
body.single-post .content-body .changelog-entry { margin-top: 0; }

/* ── BLOCK HEADER (site-title + core navigation) ── */
.nav-logo { margin: 0; }
.nav-logo a {
	color: var(--text-bright);
	text-decoration: none;
	transition: color 0.2s;
}
.nav-logo a:hover { color: var(--frost); }

.nav-menu,
.nav-menu .wp-block-navigation__container {
	gap: 2rem;
	align-items: center;
}

.nav-menu a {
	color: var(--text);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	text-shadow: 0 1px 8px rgb(6 8 13 / 0.6);
	transition: color 0.2s;
}

.nav-menu a:hover { color: var(--text-bright); }

.nav-menu .nav-cta a {
	background: var(--accent);
	color: var(--bg-deep);
	padding: 0.5rem 1.25rem;
	border-radius: 8px;
	font-weight: 600;
	text-shadow: none;
	transition: opacity 0.2s;
}

.nav-menu .nav-cta a:hover { opacity: 0.9; color: var(--bg-deep); }

/* Core responsive overlay restyled as the original dropdown panel */
.nav-menu .wp-block-navigation__responsive-container-open,
.nav-menu .wp-block-navigation__responsive-container-close {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	color: var(--text-bright);
	background: none;
	border: none;
	cursor: pointer;
}

.nav-menu .wp-block-navigation__responsive-container-open svg,
.nav-menu .wp-block-navigation__responsive-container-close svg {
	width: 24px;
	height: 24px;
	display: block;
	fill: currentColor;
}

/* The display:flex above out-cascades core's desktop hide — restore it */
@media (min-width: 600px) {
	.nav-menu .wp-block-navigation__responsive-container-open { display: none; }
}

@media (max-width: 599px) {
	/* Anchor the dropdown to the fixed header, not the (relative) nav block */
	.site-header .nav-menu.wp-block-navigation { position: static; }

	/* Dropdown panel anchored below the fixed header, like the static site.
	   Core prints the navigation block CSS after the theme stylesheet, so the
	   contested spacing properties need !important to win. */
	.site-header .nav-menu .wp-block-navigation__responsive-container.is-menu-open {
		position: absolute;
		top: 100%;
		right: 0;
		bottom: auto;
		left: 0;
		padding: 1rem 2rem 1.5rem !important;
		background: var(--bg-card);
		border-bottom: 1px solid var(--border);
		overflow: visible;
	}

	.site-header .nav-menu .is-menu-open .wp-block-navigation__responsive-close,
	.site-header .nav-menu .is-menu-open .wp-block-navigation__responsive-dialog {
		position: static !important;
		width: 100%;
		margin: 0 !important; /* core adds margin-top:46px for the admin bar on its full-screen overlay */
	}

	.site-header .nav-menu .is-menu-open .wp-block-navigation__responsive-container-content {
		display: block;
		padding: 0 !important;
	}

	.site-header .nav-menu .is-menu-open .wp-block-navigation__container {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0 !important;
		width: 100%;
	}

	.site-header .nav-menu .is-menu-open .wp-block-navigation-item {
		width: 100%;
		margin: 0 !important;
		border-bottom: 1px solid var(--border);
	}

	.site-header .nav-menu .is-menu-open .wp-block-navigation-item:last-child { border-bottom: none; }

	.site-header .nav-menu .is-menu-open .wp-block-navigation-item a {
		display: block;
		width: 100%;
		padding: 0.75rem 0 !important;
		font-size: 0.95rem;
		color: var(--text-bright);
		text-shadow: none;
	}

	.site-header .nav-menu .is-menu-open .nav-cta {
		border-bottom: none;
		margin-top: 0.75rem !important;
	}

	.site-header .nav-menu .is-menu-open .nav-cta a {
		text-align: center;
		padding: 0.75rem 1.25rem !important;
		border-radius: 8px;
		background: var(--accent);
		color: var(--bg-deep);
		font-weight: 600;
	}

	/* Swap the hamburger for the close button in the same header spot */
	.site-header:has(.is-menu-open) .wp-block-navigation__responsive-container-open {
		visibility: hidden;
	}

	.site-header .nav-menu .is-menu-open .wp-block-navigation__responsive-container-close {
		position: absolute !important;
		top: -3.25rem;
		right: 1rem;
		z-index: 2;
	}

	@media not (prefers-reduced-motion) {
		.site-header .nav-menu .is-menu-open .wp-block-navigation__responsive-container-close svg {
			animation: frostyapi-close-in 0.25s ease-out;
		}
	}

	/* Blur and lock the page behind the open menu, as the static site did */
	html.has-modal-open main,
	html.has-modal-open footer {
		filter: blur(6px);
		pointer-events: none;
		transition: filter 0.3s;
	}
}

/* ── BLOCK FOOTER (heading + vertical navigation per column) ── */
.footer-menu,
.footer-menu .wp-block-navigation__container {
	gap: 0.6rem;
	align-items: flex-start;
}

.footer-menu a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.85rem;
	transition: color 0.2s;
}

.footer-menu a:hover { color: var(--text-bright); text-decoration: none; }

.site-footer .footer-bottom p { color: var(--text-muted); }

@keyframes frostyapi-close-in {
	from { transform: rotate(-90deg); opacity: 0; }
	to { transform: rotate(0); opacity: 1; }
}
