/* ===== Reset & Base ===== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--cream: #f5ede4;
	--cream-dark: #e8ddd0;
	--cream-light: #faf6f1;
	--tan: #c4a882;
	--terracotta: #8a5a3c;
	--terracotta-dark: #6b432c;
	--terracotta-light: #c4784a;
	--brown: #4a3425;
	--brown-deep: #2e1f16;
	--warm-gray: #7a6b5d;
	--warm-gray-light: #a89888;
	--text: #2e1f16;
	--text-light: #5d4e42;
	--text-muted: #8a7b6d;
	--accent: #c4784a;
	--white: #ffffff;
	--font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--container: 1080px;
	--container-narrow: 760px;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 2px 16px rgba(46, 31, 22, 0.06);
	--shadow-lg: 0 8px 32px rgba(46, 31, 22, 0.1);
}

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

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

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

a:hover {
	color: var(--terracotta-dark);
}

code {
	font-family: 'SF Mono', 'Consolas', 'Liberation Mono', monospace;
	font-size: 0.88em;
	background: var(--cream-dark);
	padding: 2px 6px;
	border-radius: 4px;
	color: var(--terracotta-dark);
}

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3 {
	font-family: var(--font-serif);
	font-weight: 500;
	line-height: 1.2;
}

/* ===== Buttons ===== */
.btn-primary {
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 600;
	padding: 14px 32px;
	background: var(--terracotta);
	color: var(--cream-light);
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background 0.25s, transform 0.15s;
	letter-spacing: 0.01em;
}

.btn-primary:hover {
	background: var(--terracotta-dark);
	transform: translateY(-1px);
}

.btn-secondary {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--terracotta);
	border-bottom: 2px solid var(--tan);
	padding-bottom: 2px;
	transition: border-color 0.2s;
}

.btn-secondary:hover {
	border-color: var(--terracotta);
}

/* ===== Section Utilities ===== */
.section {
	padding: 100px 0;
}

.section-label {
	font-family: var(--font-sans);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--terracotta-light);
	margin-bottom: 12px;
}

.section-title {
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	color: var(--brown-deep);
	margin-bottom: 16px;
}

.section-subtitle {
	font-size: 1.05rem;
	color: var(--text-light);
	max-width: 640px;
	line-height: 1.7;
}

/* ===== Fade-in Animations ===== */
.fade-in {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== Nav ===== */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 16px 0;
	transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.nav.scrolled {
	background: rgba(245, 237, 228, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 8px rgba(46, 31, 22, 0.06);
	padding: 10px 0;
}

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

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--brown-deep);
}

.nav-logo:hover {
	color: var(--brown-deep);
}

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

.nav-links a {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-light);
}

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

.nav-cta {
	background: var(--terracotta);
	color: var(--cream-light) !important;
	padding: 8px 20px;
	border-radius: var(--radius-sm);
	font-weight: 600 !important;
	transition: background 0.25s;
}

.nav-cta:hover {
	background: var(--terracotta-dark);
	color: var(--cream-light) !important;
}

.nav-mobile-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--text);
}

/* ===== Hero (Centered + Animated Background) ===== */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	background: linear-gradient(175deg, var(--cream-light) 0%, var(--cream) 40%, var(--cream-dark) 100%);
}

.hero-bg-animation {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.counting-particle {
	position: absolute;
	font-family: var(--font-serif);
	font-weight: 300;
	color: var(--tan);
	opacity: 0;
	animation: floatCount 12s infinite ease-in-out;
}

.counting-particle:nth-child(1) { left: 8%; top: 20%; font-size: 3rem; animation-delay: 0s; }
.counting-particle:nth-child(2) { left: 78%; top: 15%; font-size: 2rem; animation-delay: 1.5s; }
.counting-particle:nth-child(3) { left: 15%; top: 70%; font-size: 4rem; animation-delay: 3s; }
.counting-particle:nth-child(4) { left: 85%; top: 60%; font-size: 2.5rem; animation-delay: 4.5s; }
.counting-particle:nth-child(5) { left: 45%; top: 80%; font-size: 1.5rem; animation-delay: 6s; }
.counting-particle:nth-child(6) { left: 65%; top: 35%; font-size: 3.5rem; animation-delay: 7.5s; }
.counting-particle:nth-child(7) { left: 30%; top: 40%; font-size: 2rem; animation-delay: 9s; }
.counting-particle:nth-child(8) { left: 55%; top: 10%; font-size: 2.5rem; animation-delay: 10.5s; }

@keyframes floatCount {
	0% { opacity: 0; transform: translateY(20px) scale(0.9); }
	15% { opacity: 0.12; }
	50% { opacity: 0.18; transform: translateY(-30px) scale(1.05); }
	85% { opacity: 0.1; }
	100% { opacity: 0; transform: translateY(-60px) scale(0.95); }
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 720px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-light);
	background: rgba(196, 168, 130, 0.2);
	border: 1px solid rgba(196, 168, 130, 0.3);
	padding: 6px 16px;
	border-radius: 40px;
	margin-bottom: 28px;
}

.hero-badge .dot {
	width: 7px;
	height: 7px;
	background: var(--terracotta-light);
	border-radius: 50%;
	animation: pulse 2s infinite;
}

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

.hero h1 {
	font-size: clamp(2.4rem, 5.5vw, 3.6rem);
	font-weight: 400;
	color: var(--brown-deep);
	letter-spacing: -0.02em;
	margin-bottom: 24px;
	line-height: 1.15;
}

.hero-desc {
	font-size: 1.1rem;
	color: var(--text-light);
	line-height: 1.8;
	max-width: 600px;
	margin: 0 auto 36px;
}

.hero-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}

/* ===== Trust / Security Bar ===== */
.trust-bar {
	background: var(--cream-dark);
	border-top: 1px solid rgba(196, 168, 130, 0.3);
	border-bottom: 1px solid rgba(196, 168, 130, 0.3);
	padding: 24px 0;
}

.trust-items {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-muted);
}

.trust-icon {
	font-size: 1.1rem;
}

/* ===== Manifesto ===== */
.manifesto {
	background: var(--brown-deep);
	color: var(--cream);
	padding: 100px 0;
}

.manifesto-content {
	max-width: var(--container-narrow);
	margin: 0 auto;
	text-align: center;
}

.manifesto .section-label {
	color: var(--tan);
}

.manifesto-quote {
	font-family: var(--font-serif);
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	font-weight: 300;
	font-style: italic;
	line-height: 1.9;
	color: var(--cream);
	border: none;
	padding: 0;
	margin: 24px 0;
	opacity: 0.9;
}

.manifesto-attribution {
	font-size: 0.9rem;
	color: var(--warm-gray-light);
	margin-top: 20px;
}

/* ===== Features ===== */
.features {
	background: var(--cream-light);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 48px;
}

.feature-card {
	background: var(--white);
	border: 1px solid rgba(196, 168, 130, 0.25);
	border-radius: var(--radius);
	padding: 32px 28px;
	transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}

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

.feature-card h3 {
	font-family: var(--font-sans);
	font-size: 1.05rem;
	font-weight: 600;
	margin-bottom: 10px;
	line-height: 1.35;
}

.feature-flag {
	font-family: 'SF Mono', 'Consolas', monospace;
	font-size: 0.78rem;
	font-weight: 500;
	background: var(--cream-dark);
	color: var(--terracotta);
	padding: 2px 8px;
	border-radius: 4px;
	margin-left: 6px;
}

.feature-card p {
	font-size: 0.92rem;
	color: var(--text-light);
	line-height: 1.7;
}

/* ===== How It Works ===== */
.how-it-works {
	background: var(--cream);
}

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

.step {
	text-align: center;
	padding: 24px 16px;
}

.step-number {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-family: var(--font-serif);
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--cream-light);
	background: var(--terracotta);
	border-radius: 50%;
}

.step h3 {
	font-family: var(--font-sans);
	font-size: 1.05rem;
	font-weight: 600;
	margin-bottom: 10px;
}

.step p {
	font-size: 0.9rem;
	color: var(--text-light);
	line-height: 1.7;
}

/* ===== Case Study ===== */
.case-study {
	background: var(--cream-light);
	border-top: 1px solid rgba(196, 168, 130, 0.2);
}

.case-study-content {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 48px;
	margin-top: 40px;
	align-items: start;
}

.case-study-body p {
	font-size: 1rem;
	color: var(--text-light);
	margin-bottom: 20px;
	line-height: 1.8;
}

.case-study-body blockquote {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 1.05rem;
	color: var(--terracotta-dark);
	border-left: 3px solid var(--terracotta-light);
	padding-left: 20px;
	margin: 24px 0;
	line-height: 1.7;
}

.case-study-attribution {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-muted);
}

.case-study-stats {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.case-stat {
	background: var(--white);
	border: 1px solid rgba(196, 168, 130, 0.25);
	border-radius: var(--radius);
	padding: 24px;
	text-align: center;
}

.case-stat-number {
	display: block;
	font-family: var(--font-serif);
	font-size: 2rem;
	font-weight: 600;
	color: var(--terracotta);
}

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

/* ===== Demo ===== */
.demo {
	background: var(--cream);
}

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

.terminal {
	background: var(--brown-deep);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.terminal-header {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 16px;
	background: rgba(0, 0, 0, 0.2);
}

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

.terminal-dot.red { background: #e35d5b; }
.terminal-dot.yellow { background: #e6c04e; }
.terminal-dot.green { background: #5ec454; }

.terminal-title {
	font-family: 'SF Mono', 'Consolas', monospace;
	font-size: 0.72rem;
	color: rgba(245, 237, 228, 0.5);
	margin-left: auto;
}

.terminal-body {
	padding: 16px 20px;
	font-family: 'SF Mono', 'Consolas', monospace;
	font-size: 0.82rem;
	line-height: 1.7;
	color: var(--cream);
}

.terminal-body .prompt {
	color: var(--terracotta-light);
}

.terminal-body .command {
	color: var(--cream);
}

.terminal-body .flag {
	color: var(--tan);
}

.terminal-body .output {
	color: var(--warm-gray-light);
	opacity: 0.85;
}

/* ===== Stats ===== */
.stats {
	background: var(--cream-dark);
	padding: 80px 0;
}

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

.stat-item h3 {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 600;
	color: var(--terracotta);
	line-height: 1;
	margin-bottom: 8px;
}

.stat-item p {
	font-size: 0.88rem;
	color: var(--text-muted);
}

/* ===== Pricing ===== */
.pricing {
	background: var(--cream-light);
}

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

.pricing-card {
	background: var(--white);
	border: 1px solid rgba(196, 168, 130, 0.25);
	border-radius: var(--radius);
	padding: 32px 24px;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
	border: 2px solid var(--terracotta);
	position: relative;
}

.pricing-card.popular::before {
	content: 'Most Popular';
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--terracotta);
	color: var(--cream-light);
	font-size: 0.72rem;
	font-weight: 600;
	padding: 4px 14px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.pricing-tier {
	font-family: var(--font-serif);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--brown-deep);
	margin-bottom: 4px;
}

.pricing-price {
	font-family: var(--font-serif);
	font-size: 2rem;
	font-weight: 600;
	color: var(--terracotta);
	margin-bottom: 8px;
}

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

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

.pricing-features {
	list-style: none;
	flex: 1;
	margin-bottom: 24px;
}

.pricing-features li {
	font-size: 0.85rem;
	padding: 6px 0;
	color: var(--text-light);
	border-bottom: 1px solid rgba(196, 168, 130, 0.15);
}

.pricing-features li::before {
	content: '✓ ';
	color: var(--terracotta-light);
	font-weight: 700;
}

.pricing-features li.disabled {
	color: var(--warm-gray-light);
	text-decoration: line-through;
	opacity: 0.6;
}

.pricing-features li.disabled::before {
	content: '— ';
	color: var(--warm-gray-light);
}

.pricing-btn {
	font-family: var(--font-sans);
	font-size: 0.9rem;
	font-weight: 600;
	padding: 12px 0;
	width: 100%;
	border: 2px solid var(--terracotta);
	background: transparent;
	color: var(--terracotta);
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.pricing-btn:hover {
	background: var(--terracotta);
	color: var(--cream-light);
}

.pricing-btn.primary {
	background: var(--terracotta);
	color: var(--cream-light);
}

.pricing-btn.primary:hover {
	background: var(--terracotta-dark);
	border-color: var(--terracotta-dark);
}

/* ===== Testimonials ===== */
.testimonials {
	background: var(--cream);
}

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

.testimonial-card {
	background: var(--white);
	border: 1px solid rgba(196, 168, 130, 0.25);
	border-radius: var(--radius);
	padding: 32px 28px;
}

.testimonial-card p:first-child {
	font-size: 0.95rem;
	color: var(--text-light);
	line-height: 1.75;
	margin-bottom: 20px;
	font-style: italic;
}

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

.testimonial-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--terracotta);
	color: var(--cream-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	font-weight: 700;
}

.testimonial-name {
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--brown-deep);
}

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

/* ===== FAQ ===== */
.faq {
	background: var(--cream-light);
}

.faq-list {
	max-width: var(--container-narrow);
	margin: 40px auto 0;
}

.faq-item {
	border-bottom: 1px solid rgba(196, 168, 130, 0.25);
}

.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	font-weight: 600;
	color: var(--brown-deep);
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	line-height: 1.4;
}

.faq-chevron {
	font-size: 1.2rem;
	transition: transform 0.3s;
	flex-shrink: 0;
	color: var(--terracotta-light);
}

.faq-item.open .faq-chevron {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
	max-height: 300px;
}

.faq-answer-inner {
	padding: 0 0 20px;
	font-size: 0.92rem;
	color: var(--text-light);
	line-height: 1.75;
}

/* ===== Portfolio Banner ===== */
.portfolio-banner {
	background: var(--brown-deep);
	color: var(--cream);
	padding: 60px 0;
	text-align: center;
}

.portfolio-banner h2 {
	font-size: 1.5rem;
	margin-bottom: 8px;
}

.portfolio-banner h2 a {
	color: var(--tan);
}

.portfolio-banner > .container > p {
	font-size: 0.9rem;
	color: var(--warm-gray-light);
	margin-bottom: 28px;
}

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

.portfolio-grid a,
.portfolio-grid .current {
	font-family: 'SF Mono', 'Consolas', monospace;
	font-size: 0.72rem;
	padding: 4px 10px;
	border-radius: 4px;
	transition: background 0.2s;
}

.portfolio-grid a {
	color: var(--warm-gray-light);
	background: rgba(255, 255, 255, 0.05);
}

.portfolio-grid a:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--cream);
}

.portfolio-grid .current {
	background: var(--terracotta);
	color: var(--cream-light);
	font-weight: 600;
}

/* ===== Footer ===== */
.footer {
	background: var(--cream);
	border-top: 1px solid rgba(196, 168, 130, 0.25);
	padding: 60px 0 32px;
}

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

.footer-brand .nav-logo {
	margin-bottom: 12px;
}

.footer-brand p {
	font-size: 0.85rem;
	color: var(--text-muted);
	max-width: 260px;
	line-height: 1.6;
}

.footer-col h4 {
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text);
	margin-bottom: 16px;
}

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

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

.footer-col a {
	font-size: 0.88rem;
	color: var(--text-muted);
}

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

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	border-top: 1px solid rgba(196, 168, 130, 0.2);
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* ===== Modal ===== */
.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(46, 31, 22, 0.5);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}

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

.modal-content {
	background: var(--white);
	border-radius: var(--radius);
	padding: 40px;
	max-width: 420px;
	width: 90%;
	position: relative;
	transform: translateY(16px);
	transition: transform 0.3s;
	text-align: center;
}

.modal-overlay.active .modal-content {
	transform: translateY(0);
}

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

.modal-content h3 {
	font-size: 1.4rem;
	margin-bottom: 12px;
	color: var(--brown-deep);
}

.modal-content p {
	font-size: 0.92rem;
	color: var(--text-light);
	margin-bottom: 24px;
	line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

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

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

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

	.case-study-content {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--cream);
		flex-direction: column;
		padding: 20px 24px;
		box-shadow: var(--shadow);
		gap: 16px;
	}

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

	.nav-mobile-toggle {
		display: block;
	}

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

	.hero-desc {
		font-size: 1rem;
	}

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

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

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

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

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

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

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

	.footer-bottom {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}

	.trust-items {
		flex-direction: column;
		gap: 16px;
	}

	.case-study-stats {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.case-stat {
		flex: 1;
		min-width: 140px;
	}
}

/* ===== 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 currentColor;
	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: #c4784a;
	color: #fff;
	border: 1px solid #c4784a;
}

/* 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: #c4784a !important;
	border-color: #c4784a !important;
	opacity: 1 !important;
}

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

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