/* ===== Resolv — Dark + Neon Amber Developer Tool ===== */

:root {
	--bg: #0a0a0f;
	--bg-surface: #111118;
	--bg-card: #16161f;
	--bg-elevated: #1c1c28;
	--text: #e8e6f0;
	--text-muted: #8a8899;
	--text-dim: #5a586a;
	--amber: #FCD34D;
	--amber-glow: rgba(252, 211, 77, 0.25);
	--amber-dim: rgba(252, 211, 77, 0.08);
	--amber-hover: #fde68a;
	--amber-dark: #b8941a;
	--green: #4ade80;
	--red: #f87171;
	--border: rgba(255, 255, 255, 0.06);
	--border-light: rgba(255, 255, 255, 0.1);
	--radius: 8px;
	--radius-lg: 14px;
	--font: 'Space Grotesk', system-ui, sans-serif;
	--mono: 'JetBrains Mono', monospace;
	--transition: 0.2s ease;
}

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

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ===== Buttons ===== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-family: var(--font);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 10px 22px;
	border: none;
	border-radius: var(--radius);
	cursor: pointer;
	text-decoration: none;
	transition: all var(--transition);
	white-space: nowrap;
}

.btn-primary {
	background: var(--amber);
	color: #0a0a0f;
}

.btn-primary:hover {
	background: var(--amber-hover);
	box-shadow: 0 0 24px var(--amber-glow);
}

.btn-outline {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border-light);
}

.btn-outline:hover {
	border-color: var(--amber);
	color: var(--amber);
}

.btn-ghost {
	background: rgba(252, 211, 77, 0.08);
	color: var(--amber);
	border: 1px solid rgba(252, 211, 77, 0.2);
}

.btn-ghost:hover {
	background: rgba(252, 211, 77, 0.15);
}

.btn-lg {
	padding: 14px 30px;
	font-size: 1rem;
}

.btn-sm {
	padding: 8px 16px;
	font-size: 0.82rem;
}

.btn-block {
	width: 100%;
	text-align: center;
}

.btn-nav {
	background: var(--amber);
	color: #0a0a0f;
	padding: 8px 18px;
	font-size: 0.85rem;
	border-radius: var(--radius);
}

.btn-nav:hover {
	background: var(--amber-hover);
}

/* ===== Modal ===== */

.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(6px);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.modal-card {
	background: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	padding: 40px;
	max-width: 400px;
	width: 90%;
	text-align: center;
}

.modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	color: var(--text-muted);
	font-size: 1.5rem;
	cursor: pointer;
}

.modal-icon {
	font-size: 2.5rem;
	margin-bottom: 16px;
}

.modal-card h3 {
	font-size: 1.3rem;
	margin-bottom: 8px;
	color: var(--amber);
}

.modal-card p {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin-bottom: 20px;
}

.modal-card .btn {
	min-width: 120px;
}

/* ===== Nav ===== */

.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(10, 10, 15, 0.85);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border);
	padding: 14px 0;
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--text);
	text-decoration: none;
}

.nav-logo-icon {
	flex-shrink: 0;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
}

.nav-links a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 500;
	transition: color var(--transition);
}

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

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}

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

/* ===== Hero ===== */

.hero {
	position: relative;
	padding: 140px 0 40px;
	overflow: hidden;
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hero-glow {
	position: absolute;
	top: -200px;
	right: -100px;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, var(--amber-glow) 0%, transparent 70%);
	pointer-events: none;
	animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
	0%, 100% { opacity: 0.5; transform: scale(1); }
	50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.hero-badge {
	display: inline-block;
	font-family: var(--mono);
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--amber);
	background: var(--amber-dim);
	border: 1px solid rgba(252, 211, 77, 0.2);
	padding: 6px 14px;
	border-radius: 20px;
	margin-bottom: 20px;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 20px;
	letter-spacing: -0.02em;
}

.text-glow {
	color: var(--amber);
	text-shadow: 0 0 30px var(--amber-glow);
}

.hero-sub {
	font-size: 1.1rem;
	color: var(--text-muted);
	max-width: 480px;
	margin-bottom: 32px;
	line-height: 1.7;
}

.hero-ctas {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

/* ===== Terminal ===== */

.terminal {
	background: #0d0d14;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	overflow: hidden;
	font-family: var(--mono);
	font-size: 0.85rem;
}

.terminal-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.03);
	border-bottom: 1px solid var(--border);
}

.terminal-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
	font-size: 0.75rem;
	color: var(--text-dim);
	margin-left: auto;
}

.terminal-body {
	padding: 20px;
	line-height: 1.8;
	min-height: 160px;
}

.terminal-sm .terminal-body {
	min-height: 80px;
	padding: 16px;
}

.terminal-lg .terminal-body {
	min-height: 200px;
}

.term-line {
	white-space: pre;
}

.term-prompt {
	color: var(--amber);
	margin-right: 8px;
}

.term-cmd {
	color: var(--text);
}

.term-output {
	color: var(--green);
}

.term-dimmed {
	color: var(--text-dim);
}

.term-blank {
	height: 4px;
}

.term-anim {
	opacity: 0;
}

.term-anim.visible {
	opacity: 1;
	animation: termFadeIn 0.3s ease;
}

@keyframes termFadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ===== PATH Ticker ===== */

.hero-path-ticker {
	overflow: hidden;
	margin-top: 60px;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 12px 0;
}

.ticker-track {
	display: flex;
	gap: 40px;
	animation: tickerScroll 25s linear infinite;
	width: max-content;
}

.ticker-track span {
	font-family: var(--mono);
	font-size: 0.8rem;
	color: var(--text-dim);
	white-space: nowrap;
	padding: 4px 12px;
	border: 1px solid var(--border);
	border-radius: 4px;
}

@keyframes tickerScroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ===== Stats ===== */

.stats {
	padding: 60px 0;
	border-bottom: 1px solid var(--border);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
}

.stat-num {
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--amber);
	font-family: var(--mono);
}

.stat-label {
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-top: 4px;
}

/* ===== Section Headers ===== */

.section-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 56px;
}

.section-tag {
	display: inline-block;
	font-family: var(--mono);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--amber);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 12px;
}

.section-header h2 {
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 16px;
	letter-spacing: -0.02em;
}

.section-header p {
	color: var(--text-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

.section-header code {
	font-family: var(--mono);
	background: var(--amber-dim);
	color: var(--amber);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
}

/* ===== Features ===== */

.features {
	padding: 100px 0;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.feature-card {
	padding: 28px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	transition: all 0.3s ease;
}

.feature-card:hover {
	border-color: rgba(252, 211, 77, 0.3);
	box-shadow: 0 0 30px var(--amber-dim);
	transform: translateY(-2px);
}

.feature-icon {
	font-size: 1.8rem;
	margin-bottom: 14px;
}

.feature-card h3 {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 8px;
}

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

.feature-code {
	display: block;
	font-family: var(--mono);
	font-size: 0.75rem;
	color: var(--amber);
	background: rgba(252, 211, 77, 0.06);
	padding: 8px 12px;
	border-radius: 6px;
	overflow-x: auto;
}

.feature-card code {
	font-family: var(--mono);
	background: var(--amber-dim);
	color: var(--amber);
	padding: 1px 5px;
	border-radius: 3px;
	font-size: 0.85em;
}

/* ===== PATH Explorer ===== */

.path-explorer {
	padding: 100px 0;
	background: var(--bg-surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.explorer-widget {
	max-width: 720px;
	margin: 0 auto;
	background: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.explorer-input-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
}

.explorer-prompt {
	font-family: var(--mono);
	font-size: 0.85rem;
	color: var(--amber);
	white-space: nowrap;
}

.explorer-input {
	flex: 1;
	background: transparent;
	border: none;
	color: var(--text);
	font-family: var(--mono);
	font-size: 0.85rem;
	outline: none;
}

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

.explorer-paths {
	padding: 12px 20px;
}

.path-node {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
	opacity: 0.5;
	transition: all 0.4s ease;
}

.path-node:last-child {
	border-bottom: none;
}

.path-node.scanning {
	opacity: 1;
}

.path-node.scanned-miss {
	opacity: 0.4;
}

.path-node.scanned-hit {
	opacity: 1;
}

.path-status {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--text-dim);
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.path-node.scanning .path-status {
	background: var(--amber);
	box-shadow: 0 0 10px var(--amber-glow);
	animation: scanPulse 0.6s ease-in-out infinite;
}

.path-node.scanned-hit .path-status {
	background: var(--green);
	box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.path-node.scanned-miss .path-status {
	background: var(--red);
	opacity: 0.5;
}

@keyframes scanPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.4); }
}

.path-node code {
	font-family: var(--mono);
	font-size: 0.82rem;
	color: var(--text-muted);
}

.path-node.scanned-hit code {
	color: var(--text);
}

.path-result {
	margin-left: auto;
	font-family: var(--mono);
	font-size: 0.75rem;
	white-space: nowrap;
}

.path-node.scanned-hit .path-result {
	color: var(--green);
}

.path-node.scanned-miss .path-result {
	color: var(--text-dim);
}

.explorer-result {
	padding: 16px 20px;
	border-top: 1px solid var(--border);
	font-family: var(--mono);
	font-size: 0.85rem;
	color: var(--green);
	min-height: 52px;
	background: rgba(74, 222, 128, 0.03);
}

/* ===== Waterfall ===== */

.waterfall {
	padding: 100px 0;
}

.waterfall-demo {
	max-width: 800px;
	margin: 0 auto;
	background: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.waterfall-header {
	padding: 16px 24px;
	border-bottom: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
}

.waterfall-header code {
	font-family: var(--mono);
	font-size: 0.85rem;
	color: var(--amber);
}

.waterfall-rows {
	padding: 16px 24px;
}

.waterfall-row {
	display: grid;
	grid-template-columns: 30px 160px 1fr 100px 180px;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
	font-size: 0.82rem;
}

.waterfall-row:last-child {
	border-bottom: none;
}

.wf-index {
	font-family: var(--mono);
	color: var(--text-dim);
	font-size: 0.75rem;
}

.wf-dir {
	font-family: var(--mono);
	color: var(--text-muted);
	font-size: 0.78rem;
}

.wf-bar {
	height: 6px;
	background: var(--bg);
	border-radius: 3px;
	overflow: hidden;
}

.wf-fill {
	height: 100%;
	border-radius: 3px;
	width: 0%;
	transition: width 0.6s ease;
	animation: wfGrow 0.8s ease forwards;
	animation-delay: var(--delay, 0s);
}

.wf-hit {
	background: var(--green);
}

.wf-miss {
	background: var(--red);
	opacity: 0.4;
}

@keyframes wfGrow {
	to { width: 100%; }
}

.wf-status {
	font-family: var(--mono);
	font-size: 0.72rem;
	font-weight: 600;
}

.wf-found {
	color: var(--green);
}

.wf-not-found {
	color: var(--text-dim);
}

.wf-path {
	font-family: var(--mono);
	font-size: 0.72rem;
	color: var(--text-muted);
}

.waterfall-summary {
	padding: 14px 24px;
	border-top: 1px solid var(--border);
	background: rgba(252, 211, 77, 0.03);
	font-size: 0.82rem;
}

.wf-sum-label {
	color: var(--text-dim);
	margin-right: 8px;
}

.wf-sum-value {
	color: var(--amber);
	font-family: var(--mono);
}

/* ===== Multi-Match ===== */

.multi-match {
	padding: 100px 0;
	background: var(--bg-surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.multi-match-compare {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 900px;
	margin: 0 auto;
}

.mm-panel {
	flex: 1;
}

.mm-highlight {
	position: relative;
}

.mm-highlight::before {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: var(--radius-lg);
	border: 2px solid var(--amber);
	box-shadow: 0 0 20px var(--amber-glow);
	pointer-events: none;
}

.mm-label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-muted);
	margin-bottom: 10px;
	text-align: center;
}

.mm-label code {
	font-family: var(--mono);
	color: var(--amber);
	background: var(--amber-dim);
	padding: 1px 5px;
	border-radius: 3px;
	font-size: 0.85em;
}

.mm-vs {
	font-size: 0.9rem;
	color: var(--text-dim);
	font-weight: 600;
	flex-shrink: 0;
}

/* ===== How It Works ===== */

.how-it-works {
	padding: 100px 0;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.step-card {
	padding: 32px 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	position: relative;
	transition: all 0.3s ease;
}

.step-card:hover {
	border-color: rgba(252, 211, 77, 0.3);
}

.step-num {
	font-family: var(--mono);
	font-size: 2rem;
	font-weight: 700;
	color: var(--amber);
	opacity: 0.3;
	margin-bottom: 16px;
}

.step-card h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 10px;
}

.step-card p {
	font-size: 0.88rem;
	color: var(--text-muted);
	line-height: 1.6;
}

.step-card code {
	font-family: var(--mono);
	background: var(--amber-dim);
	color: var(--amber);
	padding: 1px 5px;
	border-radius: 3px;
	font-size: 0.85em;
}

/* ===== Demo ===== */

.demo {
	padding: 100px 0;
	background: var(--bg-surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.demo-terminal {
	max-width: 700px;
	margin: 0 auto;
}

.demo-input-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-top: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
}

.demo-input {
	flex: 1;
	background: transparent;
	border: none;
	color: var(--text);
	font-family: var(--mono);
	font-size: 0.85rem;
	outline: none;
}

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

/* ===== Pricing ===== */

.pricing {
	padding: 100px 0;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	align-items: start;
}

.price-card {
	padding: 32px 28px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	position: relative;
}

.price-popular {
	border-color: var(--amber);
	box-shadow: 0 0 30px var(--amber-dim);
}

.price-enterprise {
	background: linear-gradient(135deg, rgba(252, 211, 77, 0.04) 0%, var(--bg-card) 100%);
}

.price-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--amber);
	color: #0a0a0f;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 4px 14px;
	border-radius: 20px;
	white-space: nowrap;
}

.price-tier {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 12px;
}

.price-amount {
	font-size: 2.4rem;
	font-weight: 700;
	font-family: var(--mono);
	margin-bottom: 8px;
}

.price-currency {
	font-size: 1.2rem;
	vertical-align: top;
	color: var(--text-muted);
}

.price-period {
	font-size: 0.85rem;
	color: var(--text-muted);
	font-weight: 400;
}

.price-desc {
	font-size: 0.82rem;
	color: var(--text-muted);
	margin-bottom: 20px;
	line-height: 1.5;
}

.price-features {
	list-style: none;
	margin-bottom: 24px;
}

.price-features li {
	font-size: 0.82rem;
	color: var(--text-muted);
	padding: 6px 0;
	border-bottom: 1px solid var(--border);
	position: relative;
	padding-left: 20px;
}

.price-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--amber);
	font-size: 0.75rem;
}

.price-features li:last-child {
	border-bottom: none;
}

.price-features code {
	font-family: var(--mono);
	background: var(--amber-dim);
	color: var(--amber);
	padding: 1px 4px;
	border-radius: 3px;
	font-size: 0.85em;
}

/* ===== Testimonials ===== */

.testimonials {
	padding: 100px 0;
	background: var(--bg-surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.testimonial-card {
	padding: 28px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}

.testimonial-stars {
	color: var(--amber);
	font-size: 0.9rem;
	margin-bottom: 12px;
}

.testimonial-card p {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 20px;
	font-style: italic;
}

.testimonial-card code {
	font-family: var(--mono);
	background: var(--amber-dim);
	color: var(--amber);
	padding: 1px 4px;
	border-radius: 3px;
	font-size: 0.85em;
	font-style: normal;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.testimonial-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--amber-dim) 0%, rgba(252, 211, 77, 0.15) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--amber);
	flex-shrink: 0;
}

.testimonial-name {
	font-size: 0.85rem;
	font-weight: 600;
}

.testimonial-title {
	font-size: 0.78rem;
	color: var(--text-dim);
}

/* ===== FAQ ===== */

.faq {
	padding: 100px 0;
}

.faq-list {
	max-width: 700px;
	margin: 0 auto;
}

.faq-item {
	border-bottom: 1px solid var(--border);
}

.faq-item summary {
	padding: 20px 0;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: '+';
	font-size: 1.3rem;
	color: var(--amber);
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
	content: '−';
}

.faq-item summary:hover {
	color: var(--amber);
}

.faq-item p {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.7;
	padding-bottom: 20px;
}

.faq-item code {
	font-family: var(--mono);
	background: var(--amber-dim);
	color: var(--amber);
	padding: 1px 5px;
	border-radius: 3px;
	font-size: 0.85em;
}

/* ===== Waitlist ===== */

.waitlist {
	padding: 100px 0;
	background: var(--bg-surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.waitlist-inner {
	text-align: center;
	max-width: 550px;
	margin: 0 auto;
}

.waitlist-inner h2 {
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 14px;
}

.waitlist-inner p {
	color: var(--text-muted);
	font-size: 1rem;
	margin-bottom: 28px;
	line-height: 1.6;
}

.waitlist-form {
	display: flex;
	gap: 10px;
	max-width: 460px;
	margin: 0 auto;
}

.waitlist-input {
	flex: 1;
	background: var(--bg);
	border: 1px solid var(--border-light);
	border-radius: var(--radius);
	padding: 12px 16px;
	color: var(--text);
	font-family: var(--font);
	font-size: 0.9rem;
	outline: none;
	transition: border-color var(--transition);
}

.waitlist-input:focus {
	border-color: var(--amber);
}

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

.waitlist-note {
	font-size: 0.8rem;
	color: var(--text-dim);
	margin-top: 14px;
}

/* ===== Portfolio Banner ===== */

.portfolio-banner {
	padding: 48px 0;
	border-top: 1px solid var(--amber-dim);
	border-bottom: 1px solid var(--amber-dim);
	background: linear-gradient(180deg, rgba(252, 211, 77, 0.03) 0%, var(--bg) 100%);
}

.portfolio-banner h3 {
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 20px;
	color: var(--text-muted);
}

.portfolio-banner h3 a {
	color: var(--amber);
	text-decoration: none;
}

.portfolio-banner h3 a:hover {
	text-decoration: underline;
}

.portfolio-scroll {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 14px;
	max-width: 1000px;
	margin: 0 auto;
}

.portfolio-scroll a {
	font-size: 0.78rem;
	color: var(--text-dim);
	text-decoration: none;
	transition: color var(--transition);
	padding: 3px 8px;
	border-radius: 4px;
}

.portfolio-scroll a:hover {
	color: var(--amber);
	background: var(--amber-dim);
}

.portfolio-current {
	font-size: 0.78rem;
	color: var(--amber);
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	background: var(--amber-dim);
}

/* ===== Footer ===== */

.footer {
	padding: 56px 0 32px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 10px;
}

.footer-brand p {
	font-size: 0.82rem;
	color: var(--text-dim);
	line-height: 1.6;
}

.footer-brand a {
	color: var(--amber);
	text-decoration: none;
}

.footer-brand a:hover {
	text-decoration: underline;
}

.footer-col h4 {
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 14px;
	color: var(--text-muted);
}

.footer-col ul {
	list-style: none;
}

.footer-col li {
	margin-bottom: 8px;
}

.footer-col a {
	font-size: 0.82rem;
	color: var(--text-dim);
	text-decoration: none;
	transition: color var(--transition);
}

.footer-col a:hover {
	color: var(--amber);
}

.footer-bottom {
	padding-top: 24px;
	border-top: 1px solid var(--border);
	text-align: center;
}

.footer-bottom p {
	font-size: 0.78rem;
	color: var(--text-dim);
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

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

	.waterfall-row {
		grid-template-columns: 30px 120px 1fr 80px;
	}

	.wf-path {
		display: none;
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		background: var(--bg-surface);
		border-bottom: 1px solid var(--border);
		padding: 20px 24px;
		gap: 16px;
	}

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

	.nav-toggle {
		display: flex;
	}

	.hero-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hero-title {
		font-size: 2.4rem;
	}

	.hero-ctas {
		flex-direction: column;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.pricing-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 0 auto;
	}

	.steps-grid {
		grid-template-columns: 1fr;
	}

	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.multi-match-compare {
		flex-direction: column;
	}

	.mm-vs {
		transform: rotate(90deg);
	}

	.waterfall-row {
		grid-template-columns: 20px 1fr 60px;
	}

	.wf-dir {
		font-size: 0.72rem;
	}

	.wf-bar,
	.wf-path {
		display: none;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}

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

	.section-header h2 {
		font-size: 1.8rem;
	}
}

@media (max-width: 480px) {
	.hero {
		padding: 120px 0 40px;
		min-height: auto;
	}

	.hero-title {
		font-size: 2rem;
	}

	.stat-num {
		font-size: 1.6rem;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== Scroll Animations ===== */

.fade-up {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ===== Portfolio Pills (universal) ===== */
.portfolio-banner,
[class*="portfolio-banner"] {
	padding: 3rem 0;
	text-align: center;
}

.portfolio-banner .container,
[class*="portfolio-banner"] .container,
[class*="portfolio-banner"] [class*="portfolio-banner-inner"] {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.portfolio-scroll,
.portfolio-grid,
.portfolio-list,
.portfolio-links,
.portfolio-commands,
.portfolio-track,
.portfolio-banner-commands,
.portfolio-items,
.footer-commands {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 1rem;
}

.portfolio-scroll a,
.portfolio-grid a,
.portfolio-list a,
.portfolio-links a,
.portfolio-commands a,
.portfolio-track a,
.portfolio-banner-commands a,
.portfolio-items a,
.footer-commands a {
	display: inline-block;
	padding: 6px 14px;
	font-size: .75rem;
	font-weight: 600;
	border-radius: 100px;
	border: 1px solid #4ade80;
	opacity: .55;
	text-decoration: none;
	transition: opacity .2s ease, transform .15s ease;
	white-space: nowrap;
}

.portfolio-scroll a:hover,
.portfolio-grid a:hover,
.portfolio-list a:hover,
.portfolio-links a:hover,
.portfolio-commands a:hover,
.portfolio-track a:hover,
.portfolio-banner-commands a:hover,
.portfolio-items a:hover,
.footer-commands a:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.portfolio-current,
.portfolio-scroll .portfolio-current,
.portfolio-grid .portfolio-current,
.portfolio-list .portfolio-current,
.portfolio-banner-commands .portfolio-current,
span.portfolio-current,
[class*="portfolio"] span.current,
[class*="portfolio"] span[class*="current"] {
	display: inline-block;
	padding: 6px 14px;
	font-size: .75rem;
	font-weight: 700;
	border-radius: 100px;
	opacity: 1;
	white-space: nowrap;
}

.portfolio-label,
.portfolio-banner-label {
	font-size: .8125rem;
	opacity: .6;
	margin-bottom: .5rem;
}

.portfolio-label a,
.portfolio-banner-label a {
	border: none !important;
	padding: 0 !important;
	opacity: 1 !important;
	font-weight: 700 !important;
	border-radius: 0 !important;
}

.portfolio-current,
span.portfolio-current,
[class*="portfolio"] span.current,
[class*="portfolio"] span[class*="current"] {
	background: #4ade80;
	color: #fff;
	border: 1px solid #4ade80;
}

/* Dark theme pill overrides */
.portfolio-scroll a,
.portfolio-grid a,
.portfolio-list a,
.portfolio-links a,
.portfolio-commands a,
.portfolio-track a,
.portfolio-banner-commands a,
.portfolio-items a,
.footer-commands a {
	color: #ccc !important;
	border-color: #555 !important;
	opacity: .8 !important;
}
.portfolio-scroll a:hover,
.portfolio-grid a:hover,
.portfolio-list a:hover,
.portfolio-links a:hover,
.portfolio-commands a:hover,
.portfolio-track a:hover,
.portfolio-banner-commands a:hover,
.portfolio-items a:hover,
.footer-commands a:hover {
	color: #ff6600 !important;
	border-color: #ff6600 !important;
	opacity: 1 !important;
}

.portfolio-current,
span.portfolio-current {
	background: #4ade80 !important;
	color: #fff !important;
	border: 1px solid #4ade80 !important;
	opacity: 1 !important;
}

[class*="avatar"]{overflow:hidden}[class*="avatar"] img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}