/* ============================================================
   AudioTweak Theme — main.css
   Design system: dark, premium, Apple-like music app aesthetic
   ============================================================ */

/* ── Design Tokens ── */
:root {
	--bg:            #09090E;
	--bg-surface:    #111118;
	--bg-card:       #16161F;
	--bg-card-hover: #1C1C28;
	--border:        rgba(255, 255, 255, 0.07);
	--border-strong: rgba(255, 255, 255, 0.12);

	--primary:       #F03E6C;
	--primary-dark:  #D42F5A;
	--primary-light: #FF7099;
	--accent:        #FF8FAE;
	--accent-cyan:   #FF6B8E;

	--grad-start:    #E8346A;
	--grad-end:      #F5607A;
	--gradient:      linear-gradient(135deg, var(--grad-start), var(--grad-end));

	--text:          #F4F4F8;
	--text-muted:    #A8A8BE;
	--text-subtle:   #72728A;

	--radius-sm:  6px;
	--radius-md:  12px;
	--radius-lg:  20px;
	--radius-xl:  28px;

	--shadow-sm:  0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
	--shadow-md:  0 4px 20px rgba(0,0,0,.5);
	--shadow-lg:  0 12px 40px rgba(0,0,0,.6);
	--shadow-glow: 0 0 40px rgba(240, 62, 108, 0.25);

	--font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;

	--section-pad: clamp(64px, 8vw, 112px);
	--container:   1180px;
	--container-narrow: 760px;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	background-color: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }

a {
	color: var(--primary-light);
	text-decoration: none;
	transition: color .2s;
}
a:hover { color: var(--text); }

ul { list-style: none; }

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

/* ── Utility ── */
.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(20px, 5vw, 48px);
}

.container-narrow {
	max-width: var(--container-narrow);
}

.section-lg {
	padding-block: var(--section-pad);
}

.gradient-text {
	background: var(--gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.section-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--primary);
	background: rgba(240, 62, 108, .12);
	padding: 4px 12px;
	border-radius: 100px;
	border: 1px solid rgba(240, 62, 108, .25);
	margin-bottom: 16px;
}

.section-eyebrow.solution-label {
	color: var(--accent);
	background: rgba(236, 72, 153, .12);
	border-color: rgba(236, 72, 153, .25);
}

.section-header {
	text-align: center;
	margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header h2 {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.15;
	margin-bottom: 16px;
}

.section-subheadline {
	font-size: 18px;
	color: var(--text-muted);
	max-width: 520px;
	margin-inline: auto;
}

/* ── Buttons ── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: var(--radius-md);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: all .2s ease;
	cursor: pointer;
}

.btn-primary {
	background: var(--gradient);
	color: #fff;
	box-shadow: 0 4px 16px rgba(240, 62, 108, .4);
}
.btn-primary:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 6px 24px rgba(240, 62, 108, .55);
}

.btn-ghost {
	color: var(--text-muted);
	border: 1px solid var(--border-strong);
	background: rgba(255,255,255,.04);
}
.btn-ghost:hover {
	color: var(--text);
	background: rgba(255,255,255,.08);
	border-color: rgba(255,255,255,.2);
}

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

/* Official App Store badge */
.appstore-badge-link {
	display: inline-block;
	transition: opacity .2s, transform .2s;
}
.appstore-badge-link:hover {
	opacity: .85;
	transform: translateY(-1px);
}
.appstore-badge-link img {
	display: block;
	height: 54px;
	width: auto;
}
.appstore-badge-lg img {
	height: 60px;
}

/* ── Logo icon ── */
.nav-logo-icon {
	width: 28px;
	height: 28px;
	border-radius: 7px;
	object-fit: cover;
	flex-shrink: 0;
}

/* ── Site Header / Nav ── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(9, 9, 14, .85);
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	border-bottom: 1px solid var(--border);
}

.nav-container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(20px, 5vw, 48px);
	height: 64px;
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
	flex-shrink: 0;
}
.nav-logo:hover { color: var(--text); }
.nav-logo span { letter-spacing: -.01em; }

.nav-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}

.nav-link {
	color: var(--text-muted);
	font-size: 15px;
	font-weight: 500;
	padding: 6px 12px;
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.06); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 8px;
	margin-left: auto;
}
.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: all .25s;
}

/* ── Hero ── */
.hero {
	position: relative;
	padding-top: clamp(72px, 10vw, 128px);
	padding-bottom: clamp(64px, 8vw, 104px);
	overflow: hidden;
}

.hero-bg-glow {
	position: absolute;
	top: -200px;
	left: 50%;
	transform: translateX(-50%);
	width: 900px;
	height: 600px;
	background: radial-gradient(ellipse at center, rgba(240, 62, 108, .18) 0%, rgba(245, 96, 122, .08) 55%, transparent 72%);
	pointer-events: none;
}

.hero .container {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: clamp(40px, 5vw, 80px);
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-muted);
	background: rgba(240, 62, 108, .08);
	border: 1px solid rgba(240, 62, 108, .2);
	padding: 5px 12px;
	border-radius: 100px;
	margin-bottom: 24px;
}

.hero-headline {
	font-size: clamp(40px, 6vw, 72px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.08;
	margin-bottom: 24px;
}

.hero-subheadline {
	font-size: clamp(17px, 2vw, 20px);
	color: var(--text-muted);
	line-height: 1.68;
	max-width: 520px;
	margin-bottom: 36px;
}

.hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	margin-bottom: 32px;
}

.hero-secondary-cta { font-size: 16px; }

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--text-muted);
}
.hero-stars { display: flex; align-items: center; gap: 6px; }
.stars { color: var(--primary); font-size: 15px; letter-spacing: 1px; }
.hero-meta-divider { color: var(--text-subtle); }

/* ── Phone frame (real screenshots) ── */
.hero-visual {
	flex-shrink: 0;
	/* subtle glow behind the phone */
	filter: drop-shadow(0 32px 64px rgba(240, 62, 108, .22));
}

.phone-frame {
	overflow: hidden;
	background: #080810;
	/* inner bezel: dark border matching iPhone surround */
	border: 7px solid #161620;
	/* outer subtle highlight ring */
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.07),
		0 24px 56px rgba(0, 0, 0, 0.65),
		0 4px 12px rgba(0, 0, 0, 0.4);
	flex-shrink: 0;
}

.phone-frame img {
	display: block;
	width: 100%;
	height: auto;
	/* screenshots have transparent status bar area — fill with app bg */
	background: #0D0D14;
}

/* Hero phone: tall, prominent */
.hero-phone {
	width: 248px;
	border-radius: 48px;
}

.mock-player { display: flex; flex-direction: column; gap: 16px; }

.mock-waveform {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 48px;
	padding: 4px;
	background: rgba(240, 62, 108,.08);
	border-radius: var(--radius-sm);
}
.mock-waveform span {
	flex: 1;
	background: var(--primary);
	opacity: .6;
	border-radius: 2px;
	animation: wave 1.4s ease-in-out infinite alternate;
}
.mock-waveform span:nth-child(1)  { height: 40%; animation-delay: 0s; }
.mock-waveform span:nth-child(2)  { height: 75%; animation-delay: .1s; }
.mock-waveform span:nth-child(3)  { height: 55%; animation-delay: .2s; }
.mock-waveform span:nth-child(4)  { height: 90%; animation-delay: .3s; }
.mock-waveform span:nth-child(5)  { height: 65%; animation-delay: .4s; }
.mock-waveform span:nth-child(6)  { height: 45%; animation-delay: .5s; }
.mock-waveform span:nth-child(7)  { height: 80%; animation-delay: .6s; }
.mock-waveform span:nth-child(8)  { height: 60%; animation-delay: .7s; }
.mock-waveform span:nth-child(9)  { height: 35%; animation-delay: .8s; }
.mock-waveform span:nth-child(10) { height: 70%; animation-delay: .9s; }
.mock-waveform span:nth-child(11) { height: 50%; animation-delay: 1s; }
.mock-waveform span:nth-child(12) { height: 85%; animation-delay: .15s; }
.mock-waveform span:nth-child(13) { height: 45%; animation-delay: .25s; }
.mock-waveform span:nth-child(14) { height: 70%; animation-delay: .35s; }
.mock-waveform span:nth-child(15) { height: 55%; animation-delay: .45s; }

@keyframes wave {
	from { opacity: .5; transform: scaleY(1); }
	to   { opacity: .9; transform: scaleY(1.15); }
}

.mock-controls {
	display: flex;
	gap: 8px;
}
.mock-speed, .mock-pitch {
	flex: 1;
	background: rgba(240, 62, 108,.1);
	border: 1px solid rgba(240, 62, 108,.2);
	border-radius: var(--radius-sm);
	padding: 8px;
	text-align: center;
}
.mock-label { display: block; font-size: 10px; color: var(--text-subtle); margin-bottom: 2px; }
.mock-value { display: block; font-size: 15px; font-weight: 700; color: var(--primary-light); }

.mock-progress {
	height: 6px;
	background: var(--border);
	border-radius: 3px;
	position: relative;
	overflow: hidden;
}
.mock-progress-fill {
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 40%;
	background: var(--gradient);
	border-radius: 3px;
}
.mock-loop-region {
	position: absolute;
	left: 40%; top: 0; bottom: 0;
	width: 30%;
	background: rgba(240, 62, 108,.4);
	border-radius: 3px;
}

.mock-transport {
	display: flex;
	justify-content: center;
	gap: 20px;
	align-items: center;
}
.mock-btn {
	width: 36px; height: 36px;
	display: flex; align-items: center; justify-content: center;
	background: var(--bg-card);
	border-radius: 50%;
	font-size: 12px;
	color: var(--text-muted);
	border: 1px solid var(--border);
}
.mock-play {
	width: 44px; height: 44px;
	background: var(--gradient);
	color: #fff;
	font-size: 14px;
	border: none;
}

/* ── Social Proof ── */
.social-proof {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: var(--bg-surface);
	padding-block: 40px;
}

.social-proof-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px;
	justify-content: center;
	text-align: center;
}

.rating-block { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.rating-stars { display: flex; align-items: center; gap: 12px; }
.rating-stars strong { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.rating-text { font-size: 14px; color: var(--text-muted); }

.social-quote {
	max-width: 560px;
	padding-left: 24px;
	border-left: 2px solid var(--primary);
}
.social-quote p {
	font-size: 16px;
	color: var(--text-muted);
	font-style: italic;
	margin-bottom: 8px;
	line-height: 1.72;
}
.social-quote cite { font-size: 13px; color: var(--text-subtle); font-style: normal; }

/* ── Problem / Solution ── */
.problem-solution { background: var(--bg-surface); }

.ps-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 48px;
	align-items: start;
}

.ps-problem h2, .ps-solution h2 {
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 700;
	letter-spacing: -.02em;
	margin-bottom: 24px;
	line-height: 1.2;
}

.problem-list { display: flex; flex-direction: column; gap: 14px; }
.problem-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 16px;
	color: var(--text-muted);
}
.problem-icon {
	color: #EF4444;
	font-weight: 700;
	font-size: 16px;
	margin-top: 2px;
	flex-shrink: 0;
}

.ps-solution p {
	color: var(--text-muted);
	margin-bottom: 28px;
	font-size: 17px;
	line-height: 1.72;
}

.ps-divider {
	display: flex;
	align-items: center;
	padding-top: 48px;
}
.ps-arrow {
	font-size: 32px;
	color: var(--primary);
	font-weight: 300;
}

/* ── Features ── */
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px;
	transition: border-color .2s, background .2s, transform .2s;
}
.feature-card:hover {
	background: var(--bg-card-hover);
	border-color: rgba(240, 62, 108, .3);
	transform: translateY(-2px);
}

.feature-icon {
	width: 44px; height: 44px;
	background: rgba(240, 62, 108, .12);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	margin-bottom: 16px;
}

.feature-card h3 {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 10px;
	letter-spacing: -.01em;
}

.feature-card p {
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.68;
}
.feature-card em { color: var(--primary-light); font-style: normal; }

/* ── How It Works ── */
.how-it-works { background: var(--bg-surface); }

.hiw-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}

.hiw-steps { display: flex; flex-direction: column; gap: 36px; }

.hiw-step {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.hiw-step-num {
	font-size: 13px;
	font-weight: 700;
	color: var(--primary);
	background: rgba(240, 62, 108, .12);
	border: 1px solid rgba(240, 62, 108, .25);
	border-radius: var(--radius-sm);
	padding: 4px 10px;
	flex-shrink: 0;
	margin-top: 3px;
	letter-spacing: .05em;
}

.hiw-step-content h3 {
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 8px;
	letter-spacing: -.01em;
}

.hiw-step-content p {
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.72;
}

/* ── Demo screens (real screenshots) ── */
.demo-screens {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	justify-content: center;
}

.demo-screen {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
}

/* demo phone inherits .phone-frame base, adds size */
.demo-phone {
	width: 100%;
	max-width: 148px;
	border-radius: 36px;
}

.demo-screen figcaption {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--text-subtle);
	text-align: center;
}

/* ── Use Cases ── */
.uc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.uc-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 32px 28px;
	transition: border-color .2s, transform .2s;
}
.uc-card:hover {
	border-color: rgba(240, 62, 108, .3);
	transform: translateY(-2px);
}

.uc-icon { margin-bottom: 20px; }

.uc-card h3 {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -.01em;
	margin-bottom: 12px;
}

.uc-card p {
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.72;
	margin-bottom: 20px;
}

.uc-list { display: flex; flex-direction: column; gap: 8px; }
.uc-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	color: var(--text-muted);
}
.uc-list li::before {
	content: '✓';
	color: var(--primary);
	font-weight: 700;
	flex-shrink: 0;
}

/* ── Testimonials ── */
.testimonials { background: var(--bg-surface); }

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

.testimonial-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.testimonial-rating { font-size: 18px; color: var(--primary); letter-spacing: 2px; }

.testimonial-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--text);
	letter-spacing: -.01em;
}

.testimonial-card blockquote p {
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.75;
	font-style: italic;
}

.testimonial-author {
	margin-top: auto;
}

.testimonial-author span { font-size: 13px; color: var(--text-subtle); }


/* ── FAQ ── */
.faq { background: var(--bg); }
.faq-container { max-width: 760px; }

.faq-list { display: flex; flex-direction: column; }

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

.faq-question {
	width: 100%;
	text-align: left;
	padding: 20px 0;
	font-size: 17px;
	font-weight: 600;
	color: var(--text);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	background: none;
	border: none;
	cursor: pointer;
	transition: color .2s;
}
.faq-question:hover { color: var(--primary-light); }

.faq-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1.5px solid var(--border-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .25s;
	position: relative;
}
.faq-icon::before,
.faq-icon::after {
	content: '';
	position: absolute;
	background: var(--text-muted);
	border-radius: 1px;
	transition: all .25s;
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; }

.faq-question[aria-expanded="true"] .faq-icon {
	background: rgba(240, 62, 108, .15);
	border-color: var(--primary);
}
.faq-question[aria-expanded="true"] .faq-icon::before { background: var(--primary); }
.faq-question[aria-expanded="true"] .faq-icon::after  { transform: rotate(90deg); opacity: 0; }

.faq-answer {
	overflow: hidden;
	transition: max-height .3s ease;
}
.faq-answer p {
	padding-bottom: 20px;
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.75;
}
.faq-answer ul {
	padding-bottom: 20px;
	padding-left: 1.25em;
	list-style: disc;
}
.faq-answer ul li {
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.75;
}
.faq-answer[hidden] { display: none; }

/* ── Final CTA ── */
.final-cta {
	position: relative;
	padding-block: var(--section-pad);
	text-align: center;
	overflow: hidden;
}

.final-cta-bg {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, rgba(240, 62, 108,.15) 0%, rgba(245, 96, 122,.08) 50%, transparent 70%);
	pointer-events: none;
}

.final-cta-content {
	position: relative;
	z-index: 1;
}

.final-cta h2 {
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.1;
	margin-bottom: 20px;
}

.final-cta p {
	font-size: 18px;
	color: var(--text-muted);
	max-width: 480px;
	margin-inline: auto;
	margin-bottom: 36px;
	line-height: 1.6;
}

.final-cta-note {
	margin-top: 20px;
	font-size: 14px;
	color: var(--text-subtle);
	margin-bottom: 0 !important;
}

/* ── Site Footer ── */
.site-footer {
	background: var(--bg-surface);
	border-top: 1px solid var(--border);
	padding-top: clamp(48px, 6vw, 80px);
}

.footer-container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(20px, 5vw, 48px);
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 48px;
	padding-bottom: 48px;
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-tagline { font-size: 14px; color: var(--text-muted); }

.footer-nav {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.footer-nav-group { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-group h3 {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--text-subtle);
	margin-bottom: 4px;
}
.footer-nav-group a {
	font-size: 14px;
	color: var(--text-muted);
	text-decoration: none;
	transition: color .2s;
}
.footer-nav-group a:hover { color: var(--text); }
.footer-nav-group li { list-style: none; }

.footer-bottom {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(20px, 5vw, 48px);
	padding-block: 24px;
	border-top: 1px solid var(--border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--text-subtle); }

/* ── Page / Single ── */
.page-content {
	padding-block: clamp(48px, 6vw, 80px);
}

.page-article, .post-article {
	color: var(--text);
}

.entry-header { margin-bottom: 32px; }

.entry-title {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.15;
	margin-bottom: 12px;
}

.entry-meta { font-size: 14px; color: var(--text-subtle); }

.entry-content {
	font-size: 17px;
	line-height: 1.75;
	color: var(--text-muted);
}
.entry-content h2, .entry-content h3 { color: var(--text); margin: 1.5em 0 .5em; font-weight: 700; }
.entry-content p { margin-bottom: 1.25em; }
.entry-content a { color: var(--primary-light); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1.25em; }
.entry-content li { margin-bottom: .4em; }

/* ── Contact page ── */
.contact-hero {
	padding-top: clamp(72px, 8vw, 112px);
	padding-bottom: clamp(32px, 4vw, 56px);
	text-align: center;
}

.contact-title {
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.1;
	margin-bottom: 16px;
}

.contact-subtitle {
	font-size: 18px;
	color: var(--text-muted);
	line-height: 1.72;
	max-width: 480px;
	margin-inline: auto;
}

.contact-body {
	padding-bottom: clamp(64px, 8vw, 112px);
}

.contact-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: clamp(32px, 5vw, 56px);
	max-width: 640px;
	margin-inline: auto;
}

/* Intro paragraph(s) written in the editor, above the form */
.contact-card > p,
.contact-card > .wp-block-paragraph {
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.72;
	margin-bottom: 28px;
}

/* ── Ninja Forms — dark theme overrides ── */

/* Field containers */
.contact-card .nf-field-container {
	margin-bottom: 20px;
}

/* Labels */
.contact-card .nf-field-label label,
.contact-card .field-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 8px;
	letter-spacing: .01em;
}

/* Required asterisk */
.contact-card .ninja-forms-req-symbol {
	color: var(--primary);
	margin-left: 2px;
}

/* All text inputs, email, textarea, select */
.contact-card .nf-field-element input[type="text"],
.contact-card .nf-field-element input[type="email"],
.contact-card .nf-field-element input[type="tel"],
.contact-card .nf-field-element input[type="number"],
.contact-card .nf-field-element input[type="url"],
.contact-card .nf-field-element textarea,
.contact-card .nf-field-element select {
	width: 100%;
	background: var(--bg-surface);
	color: var(--text);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-md);
	padding: 12px 16px;
	font-size: 16px;
	font-family: var(--font);
	line-height: 1.5;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	appearance: none;
	-webkit-appearance: none;
}

.contact-card .nf-field-element textarea {
	min-height: 140px;
	resize: vertical;
}

/* Focus state */
.contact-card .nf-field-element input:focus,
.contact-card .nf-field-element textarea:focus,
.contact-card .nf-field-element select:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(240, 62, 108, .15);
}

/* Placeholder */
.contact-card .nf-field-element input::placeholder,
.contact-card .nf-field-element textarea::placeholder {
	color: var(--text-subtle);
}

/* Submit button */
.contact-card .nf-field-element input[type="button"],
.contact-card .nf-field-element input[type="submit"],
.contact-card .nf-field-element button[type="submit"],
.contact-card .submit-wrap input {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gradient);
	color: #fff;
	border: none;
	border-radius: var(--radius-md);
	padding: 13px 32px;
	font-size: 16px;
	font-weight: 600;
	font-family: var(--font);
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(240, 62, 108, .35);
	transition: transform .2s, box-shadow .2s;
	width: 100%;
}

.contact-card .nf-field-element input[type="button"]:hover,
.contact-card .nf-field-element input[type="submit"]:hover,
.contact-card .nf-field-element button[type="submit"]:hover,
.contact-card .submit-wrap input:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 24px rgba(240, 62, 108, .5);
}

/* Error messages */
.contact-card .nf-error .nf-field-element input,
.contact-card .nf-error .nf-field-element textarea {
	border-color: #EF4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, .15);
}

.contact-card .nf-error-msg,
.contact-card .ninja-forms-field-error {
	font-size: 13px;
	color: #F87171;
	margin-top: 6px;
}

/* Success message */
.contact-card .nf-response-msg,
.contact-card .nf-form-fields-required {
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 24px;
}

.contact-card .nf-response-msg p {
	color: #4ADE80;
	font-weight: 600;
	font-size: 16px;
}

/* ── Responsive: Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
	/* Hero: stack vertically, keep screenshot centered */
	.hero .container { grid-template-columns: 1fr; }
	.hero-visual {
		display: flex;
		justify-content: center;
		order: -1; /* screenshot above headline on tablet */
		filter: none;
	}
	.hero-phone { width: 200px; }
	.hero-subheadline { max-width: 100%; }

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

	/* How It Works: stack steps above demo screens */
	.hiw-layout { grid-template-columns: 1fr; }
	.demo-screens {
		max-width: 520px;
		margin-inline: auto;
	}

	.uc-grid { grid-template-columns: 1fr 1fr; }
	.uc-card:last-child { grid-column: 1 / -1; max-width: 50%; margin-inline: auto; width: 100%; }

	.testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }

	.ps-grid { grid-template-columns: 1fr; }
	.ps-divider { display: none; }

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

/* ── Responsive: Mobile (≤ 640px) ── */
@media (max-width: 640px) {
	.nav-menu {
		display: none;
		position: fixed;
		top: 64px;
		left: 0; right: 0;
		background: rgba(9, 9, 14, .97);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		flex-direction: column;
		padding: 24px 20px;
		gap: 4px;
		border-bottom: 1px solid var(--border);
	}
	.nav-menu.is-open { display: flex; }
	.nav-link { font-size: 17px; padding: 10px 12px; }
	.nav-cta { margin: 8px 0 0; align-self: flex-start; }
	.nav-toggle { display: flex; }

	/* Hero phone smaller on narrow screens */
	.hero-phone { width: 160px; border-radius: 36px; }

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

	/* Demo screens: stay in a row but shrink */
	.demo-screens { gap: 10px; }
	.demo-phone { max-width: 100px; border-radius: 24px; }

	.uc-grid { grid-template-columns: 1fr; }
	.uc-card:last-child { grid-column: 1; max-width: 100%; }

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

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

	.social-proof-inner { flex-direction: column; }

	.hero-ctas { flex-direction: column; align-items: flex-start; }

}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}

/* ============================================================
   Landing Page Components — Guitar Solos (/slow-down-guitar-solos)
   ============================================================ */

/* ── Utility: alternate section background ── */
.lp-bg-surface { background: var(--bg-surface); }

/* ── Hero additions: tagline + intro paragraph ── */
.hero-tagline {
	font-size: clamp(18px, 2.2vw, 22px);
	font-weight: 600;
	color: var(--text);
	letter-spacing: -.01em;
	line-height: 1.4;
	margin-bottom: 16px;
}

.hero-intro {
	font-size: 17px;
	color: var(--text-muted);
	line-height: 1.75;
	max-width: 520px;
	margin-bottom: 32px;
}

/* ── Large CTA button (final CTA section) ── */
.btn-lg-cta {
	padding: 16px 32px;
	font-size: 17px;
}

/* ── Centered prose wrapper ── */
.lp-prose {
	max-width: var(--container-narrow);
	margin-inline: auto;
}

.lp-prose h2 {
	font-size: clamp(26px, 3.5vw, 40px);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin-bottom: 20px;
}

.lp-prose p {
	font-size: 17px;
	color: var(--text-muted);
	line-height: 1.8;
	margin-bottom: 1.1em;
}

.lp-prose p:last-child { margin-bottom: 0; }

/* Problem section closing statement */
.lp-problem-closer {
	font-size: 18px !important;
	font-weight: 600;
	color: var(--text) !important;
	margin-top: 8px;
}

/* Feature note: follow-up line after a bullet list */
.lp-feature-note {
	font-size: 16px;
	color: var(--text-subtle);
	margin-top: 16px;
	font-style: italic;
}

/* ── Bullet list used in feature sections ── */
.lp-bullet-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
	margin-bottom: 4px;
}

.lp-bullet-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.6;
}

.lp-bullet-list li::before {
	content: '•';
	color: var(--primary);
	font-weight: 700;
	font-size: 18px;
	flex-shrink: 0;
	margin-top: -1px;
}

/* ── Two-column feature layout (text + phone screenshot) ── */
.lp-feature-layout {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.lp-feature-layout.lp-feature-reverse {
	grid-template-columns: auto 1fr;
}

.lp-feature-reverse .lp-feature-text  { order: 2; }
.lp-feature-reverse .lp-feature-visual { order: 1; }

.lp-feature-text h2 {
	font-size: clamp(24px, 3vw, 38px);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin-bottom: 16px;
}

.lp-feature-text p {
	font-size: 17px;
	color: var(--text-muted);
	line-height: 1.78;
	margin-bottom: .9em;
}

.lp-feature-text p:last-child { margin-bottom: 0; }

/* Phone frame size for feature sections */
.lp-phone {
	width: 190px;
	border-radius: 44px;
}

/* ── How-to steps ── */
.lp-steps {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: var(--container-narrow);
	margin-inline: auto;
}

.lp-step {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

/* ── Comparison grid (3 columns) ── */
.comparison-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	max-width: 880px;
	margin-inline: auto;
}

.comp-col {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.comp-col.comp-winner {
	background: rgba(240, 62, 108, .05);
	border-color: rgba(240, 62, 108, .35);
	box-shadow: 0 0 0 1px rgba(240, 62, 108, .12), 0 4px 24px rgba(240, 62, 108, .08);
}

.comp-col-header {
	font-size: 16px;
	font-weight: 700;
	color: var(--text);
	letter-spacing: -.01em;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}

.comp-winner .comp-col-header {
	color: var(--primary-light);
	border-bottom-color: rgba(240, 62, 108, .2);
}

.comp-tool-note {
	font-size: 13px;
	font-weight: 400;
	color: var(--text-subtle);
}

.comp-winner-badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--primary);
	background: rgba(240, 62, 108, .15);
	border: 1px solid rgba(240, 62, 108, .3);
	padding: 2px 8px;
	border-radius: 100px;
	margin-left: 8px;
	vertical-align: middle;
}

.comp-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

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

.comp-icon {
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 700;
	color: #EF4444;
	margin-top: 2px;
}

.comp-icon-yes { color: #4ADE80; }

/* ── Pricing columns ── */
.pricing-cols {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	max-width: 640px;
	margin-inline: auto;
}

.pricing-col {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 28px 24px;
}

.pricing-col.pricing-pro {
	background: rgba(240, 62, 108, .05);
	border-color: rgba(240, 62, 108, .3);
}

.pricing-col-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--text-subtle);
	margin-bottom: 16px;
}

.pricing-pro .pricing-col-label { color: var(--primary-light); }

.pricing-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pricing-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	color: var(--text-muted);
	line-height: 1.5;
}

.pricing-check {
	flex-shrink: 0;
	font-weight: 700;
	color: var(--primary);
}

/* ── Related pages nav ── */
.related-pages {
	background: var(--bg-surface);
	border-top: 1px solid var(--border);
	padding-block: clamp(28px, 3.5vw, 44px);
}

.related-pages-inner {
	max-width: var(--container-narrow);
	margin-inline: auto;
}

.related-pages-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--text-subtle);
	margin-bottom: 14px;
}

.related-pages-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
}

.related-page-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--text-muted);
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 9px 16px;
	transition: color .2s, border-color .2s;
}

.related-page-link:hover {
	color: var(--primary-light);
	border-color: rgba(240, 62, 108, .3);
}

.related-page-coming-soon {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--text-subtle);
	background: var(--bg-surface);
	border: 1px solid var(--border);
	padding: 1px 6px;
	border-radius: 4px;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
	.lp-feature-layout,
	.lp-feature-layout.lp-feature-reverse {
		grid-template-columns: 1fr;
	}

	.lp-feature-reverse .lp-feature-text  { order: 1; }
	.lp-feature-reverse .lp-feature-visual { order: 2; }

	.lp-feature-visual {
		display: flex;
		justify-content: center;
	}

	.comparison-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ── Responsive: Mobile ── */
@media (max-width: 640px) {
	.pricing-cols { grid-template-columns: 1fr; }

	.related-pages-list { flex-direction: column; }

	.lp-phone { width: 150px; border-radius: 36px; }
}
