/* ==========================================================================
   IGDaddy Design System (igdaddy.com)
   Ultra-fast, Zero-CLS, Dark & Light Mode Instagram + Facebook Downloader UI
   ========================================================================== */

:root,
[data-theme="dark"] {
	--bg-body: #090a10;
	--bg-alt: #0e1019;
	--bg-card: #131623;
	--bg-card-hover: #191d2e;
	--bg-input: #0b0d15;
	--border-subtle: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.16);
	--text-main: #f8fafc;
	--text-muted: #94a3b8;
	--text-soft: #64748b;
	--accent: #e1306c;
	--accent-2: #f77737;
	--accent-3: #833ab4;
	--accent-grad: linear-gradient(135deg, #833ab4 0%, #e1306c 52%, #f77737 100%);
	--accent-glow: rgba(225, 48, 108, 0.3);
	--accent-soft: rgba(225, 48, 108, 0.13);
	--emerald: #10b981;
	--emerald-soft: rgba(16, 185, 129, 0.14);
	--shadow-card: 0 22px 54px rgba(0, 0, 0, 0.48);
	--header-bg: rgba(9, 10, 16, 0.84);
}

[data-theme="light"] {
	--bg-body: #f8fafc;
	--bg-alt: #f1f5f9;
	--bg-card: #ffffff;
	--bg-card-hover: #f8fafc;
	--bg-input: #f1f5f9;
	--border-subtle: #e2e8f0;
	--border-strong: #cbd5e1;
	--text-main: #0f172a;
	--text-muted: #475569;
	--text-soft: #64748b;
	--accent: #d62460;
	--accent-2: #ea580c;
	--accent-3: #7c3aed;
	--accent-grad: linear-gradient(135deg, #7c3aed 0%, #d62460 52%, #ea580c 100%);
	--accent-glow: rgba(214, 36, 96, 0.2);
	--accent-soft: rgba(214, 36, 96, 0.09);
	--emerald: #059669;
	--emerald-soft: rgba(5, 150, 105, 0.11);
	--shadow-card: 0 18px 42px rgba(15, 23, 42, 0.08);
	--header-bg: rgba(248, 250, 252, 0.88);
}

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

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

body {
	margin: 0;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: var(--bg-body);
	color: var(--text-main);
	line-height: 1.65;
	font-size: 16px;
	overflow-x: hidden;
	transition: background-color 0.2s ease, color 0.2s ease;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	background: var(--accent);
	color: #fff;
	padding: 8px 16px;
	border-radius: 8px;
	z-index: 999;
}

.skip-link:focus {
	left: 12px;
}

.container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.narrow-container {
	max-width: 860px;
}

/* ==========================================================================
   Sticky Header & Navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--header-bg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
	gap: 14px;
}

.brand-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
}

.brand-mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--accent-grad);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 16px var(--accent-glow);
}

.brand-accent {
	color: var(--accent);
}

.brand-pill {
	font-size: 0.66rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--emerald-soft);
	color: var(--emerald);
	border: 1px solid rgba(16, 185, 129, 0.25);
}

.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 3px;
}

.nav-list li a {
	display: inline-block;
	padding: 8px 11px;
	border-radius: 9px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-muted);
	white-space: nowrap;
	transition: color 0.15s ease, background 0.15s ease;
}

.nav-list li a:hover,
.nav-list li.current-menu-item a {
	color: var(--text-main);
	background: var(--bg-card);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.theme-toggle,
.mobile-menu-toggle {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid var(--border-subtle);
	background: var(--bg-card);
	color: var(--text-main);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.theme-toggle:hover,
.mobile-menu-toggle:hover {
	border-color: var(--border-strong);
}

[data-theme="dark"] .icon-moon {
	display: none;
}

[data-theme="light"] .icon-sun {
	display: none;
}

.mobile-menu-toggle {
	display: none;
}

.tool-breadcrumb-bar {
	padding: 12px 0 0;
}

/* ==========================================================================
   Downloader Hero, Switchers & Input Card
   ========================================================================== */
.downloader-hero {
	position: relative;
	padding: 50px 0 62px;
	overflow: hidden;
}

.downloader-hero.is-compact {
	padding: 26px 0 38px;
}

.hero-glow {
	position: absolute;
	top: -130px;
	left: 50%;
	transform: translateX(-50%);
	width: 840px;
	height: 380px;
	background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.downloader-hero .container {
	position: relative;
	z-index: 1;
}

.hero-header {
	text-align: center;
	max-width: 880px;
	margin: 0 auto 28px;
}

.eyebrow-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent);
	border: 1px solid rgba(225, 48, 108, 0.28);
	font-size: 0.79rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 16px;
}

.pulse-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(225, 48, 108, 0.22);
}

.hero-title {
	margin: 0 0 14px;
	font-size: clamp(1.85rem, 4.1vw, 2.95rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.hero-subtitle {
	margin: 0 auto 22px;
	max-width: 710px;
	color: var(--text-muted);
	font-size: 1.04rem;
}

.tool-switcher-pills,
.category-filter-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
}

.mode-pill {
	padding: 7px 13px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	background: var(--bg-card);
	color: var(--text-muted);
	border: 1px solid var(--border-subtle);
	transition: all 0.16s ease;
}

.mode-pill:hover {
	color: var(--text-main);
	border-color: var(--border-strong);
}

.mode-pill.is-active {
	background: var(--accent-grad);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 6px 18px var(--accent-glow);
}

/* Main Downloader Card */
.downloader-card {
	max-width: 920px;
	margin: 0 auto;
	background: var(--bg-card);
	border: 1px solid var(--border-strong);
	border-radius: 20px;
	padding: 22px;
	box-shadow: var(--shadow-card);
}

.input-mode-bar {
	display: inline-flex;
	gap: 6px;
	background: var(--bg-input);
	padding: 4px;
	border-radius: 11px;
	border: 1px solid var(--border-subtle);
	margin-bottom: 14px;
}

.input-mode-btn {
	border: none;
	background: transparent;
	color: var(--text-muted);
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	padding: 7px 13px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.input-mode-btn.is-active {
	background: var(--bg-card);
	color: var(--text-main);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.downloader-form {
	display: flex;
	gap: 12px;
	align-items: stretch;
}

.downloader-form[hidden],
.private-source-form[hidden] {
	display: none !important;
}

.input-shell {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--bg-input);
	border: 1.5px solid var(--border-strong);
	border-radius: 14px;
	padding: 6px 8px 6px 16px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input-shell:focus-within {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-soft);
}

.input-icon {
	color: var(--text-soft);
	display: inline-flex;
	flex-shrink: 0;
}

.url-input {
	flex: 1;
	width: 100%;
	min-width: 0;
	border: none;
	background: transparent;
	color: var(--text-main);
	font-family: inherit;
	font-size: 1rem;
	padding: 10px 4px;
	outline: none;
}

.url-input::placeholder {
	color: var(--text-soft);
}

.btn-ghost-util {
	background: transparent;
	border: none;
	color: var(--text-muted);
	font-size: 1rem;
	padding: 6px 8px;
	cursor: pointer;
	border-radius: 8px;
}

.btn-paste {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--bg-card);
	color: var(--text-main);
	border: 1px solid var(--border-subtle);
	border-radius: 10px;
	padding: 9px 13px;
	font-family: inherit;
	font-size: 0.84rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

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

.btn-submit-dl {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 14px 26px;
	border: none;
	border-radius: 14px;
	background: var(--accent-grad);
	color: #fff;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: 0 10px 24px var(--accent-glow);
	transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-submit-dl:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
}

.btn-submit-dl:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

/* Private Source 3-Step Form */
.private-step-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.private-step-box {
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: 13px;
	padding: 12px 14px;
}

.priv-label {
	display: block;
	font-size: 0.79rem;
	font-weight: 700;
	color: var(--text-muted);
	margin-bottom: 7px;
}

.priv-input,
.priv-textarea {
	width: 100%;
	border: 1px solid var(--border-strong);
	border-radius: 9px;
	background: var(--bg-card);
	color: var(--text-main);
	font-family: inherit;
	font-size: 0.88rem;
	padding: 9px 11px;
	outline: none;
}

.priv-input:focus,
.priv-textarea:focus {
	border-color: var(--accent);
}

.code-mono {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.8rem;
}

.priv-copy-row {
	display: flex;
	gap: 8px;
}

.priv-textarea-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.priv-textarea {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.8rem;
	resize: vertical;
}

.trust-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
	margin-top: 14px;
	font-size: 0.81rem;
	color: var(--text-muted);
}

.ok-dot {
	color: var(--emerald);
	margin-right: 4px;
}

/* Status Banner */
.status-banner {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 0.92rem;
	font-weight: 500;
}

.status-banner.is-error {
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.35);
	color: #fca5a5;
}

[data-theme="light"] .status-banner.is-error {
	color: #b91c1c;
}

.status-banner.is-success {
	background: var(--emerald-soft);
	border: 1px solid rgba(16, 185, 129, 0.35);
	color: var(--emerald);
}

/* Skeleton Loader */
.loading-skeleton {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 22px;
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--border-subtle);
}

.loading-skeleton[hidden] {
	display: none !important;
}

.skel-media,
.skel-line,
.skel-row {
	background: linear-gradient(90deg, var(--bg-input) 25%, var(--bg-card-hover) 50%, var(--bg-input) 75%);
	background-size: 200% 100%;
	animation: igdShimmer 1.3s infinite linear;
	border-radius: 12px;
}

.skel-media { height: 220px; }
.skel-lines { display: flex; flex-direction: column; gap: 12px; }
.skel-line { height: 18px; }
.skel-line.w-80 { width: 80%; }
.skel-line.w-50 { width: 50%; }
.skel-row { height: 46px; }

@keyframes igdShimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* ==========================================================================
   Live Results Panel & Carousel Slides Grid
   ========================================================================== */
.results-panel {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--border-subtle);
}

.results-grid {
	display: grid;
	grid-template-columns: 270px 1fr;
	gap: 24px;
	align-items: start;
}

.video-preview-card {
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: 14px;
	overflow: hidden;
}

.thumb-frame {
	position: relative;
	aspect-ratio: 4 / 5;
	max-height: 310px;
	background: #000;
	overflow: hidden;
}

.thumb-frame.is-square {
	aspect-ratio: 1 / 1;
}

.thumb-frame.is-wide {
	aspect-ratio: 16 / 9;
}

.thumb-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.badge-type {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 3px 10px;
	border-radius: 6px;
	background: var(--accent-grad);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
}

.badge-duration {
	position: absolute;
	bottom: 10px;
	right: 10px;
	padding: 2px 8px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.75rem;
}

.video-meta-info {
	padding: 14px 16px;
}

.video-title {
	margin: 0 0 6px;
	font-size: 0.96rem;
	font-weight: 700;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.video-author {
	margin: 0 0 12px;
	font-size: 0.83rem;
	color: var(--text-muted);
}

.btn-reset-link {
	width: 100%;
	padding: 8px 12px;
	border-radius: 9px;
	border: 1px solid var(--border-subtle);
	background: var(--bg-card);
	color: var(--text-muted);
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
}

.btn-reset-link:hover {
	color: var(--text-main);
	border-color: var(--border-strong);
}

.format-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--border-subtle);
	padding-bottom: 12px;
}

.format-tab {
	flex: 1;
	padding: 9px 10px;
	border-radius: 10px;
	border: 1px solid var(--border-subtle);
	background: var(--bg-input);
	color: var(--text-muted);
	font-family: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	cursor: pointer;
}

.format-tab.is-active {
	background: var(--accent-soft);
	color: var(--accent);
	border-color: var(--accent);
}

.prepare-progress {
	margin-bottom: 14px;
	padding: 12px 14px;
	background: var(--bg-input);
	border: 1px solid var(--accent);
	border-radius: 12px;
}

.progress-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.84rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.progress-badge {
	font-size: 0.72rem;
	color: var(--emerald);
	background: var(--emerald-soft);
	padding: 2px 8px;
	border-radius: 999px;
}

.progress-track {
	height: 6px;
	border-radius: 999px;
	background: var(--border-subtle);
	overflow: hidden;
}

.progress-bar-fill {
	width: 45%;
	height: 100%;
	background: var(--accent-grad);
	border-radius: 999px;
	animation: igdIndeterminate 1.1s infinite ease-in-out;
}

@keyframes igdIndeterminate {
	0% { transform: translateX(-80%); width: 35%; }
	50% { width: 65%; }
	100% { transform: translateX(220%); width: 35%; }
}

.format-list {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.format-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px;
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: 12px;
}

.format-info {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
}

.format-quality {
	font-weight: 700;
	font-size: 0.94rem;
}

.format-ext {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.73rem;
	padding: 2px 7px;
	border-radius: 6px;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	color: var(--text-muted);
}

.format-badge {
	font-size: 0.73rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--emerald-soft);
	color: var(--emerald);
}

.format-size {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.8rem;
	color: var(--text-muted);
}

.btn-dl-row {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 9px;
	border: none;
	background: var(--accent-grad);
	color: #fff;
	font-family: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.btn-dl-row:hover {
	filter: brightness(1.08);
}

.btn-dl-row:disabled {
	opacity: 0.6;
	cursor: wait;
}

/* Carousel / Photo / DP Slide Grid */
.slides-download-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.slide-dl-card {
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.slide-dl-thumb {
	aspect-ratio: 4 / 4;
	max-height: 185px;
	background: #000;
	overflow: hidden;
}

.slide-dl-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slide-dl-body {
	padding: 11px 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.slide-dl-meta strong {
	display: block;
	font-size: 0.86rem;
}

.slide-dl-meta span {
	font-size: 0.76rem;
	color: var(--text-muted);
	font-family: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   Content Sections, Suite Cards, Comparison Table, TOC & FAQs
   ========================================================================== */
.section-block {
	padding: 66px 0;
}

.section-alt {
	background: var(--bg-alt);
	border-top: 1px solid var(--border-subtle);
	border-bottom: 1px solid var(--border-subtle);
}

.section-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 38px;
}

.section-head-inline {
	text-align: left;
	max-width: none;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
}

.section-kicker {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent);
	margin-bottom: 8px;
}

.section-title {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 3vw, 2.15rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.22;
}

.section-sub {
	margin: 0;
	color: var(--text-muted);
}

.suite-grid,
.benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.suite-grid.suite-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.suite-card,
.benefit-box,
.step-card,
.guide-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 16px;
	padding: 23px;
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.suite-card:hover,
.guide-card:hover {
	transform: translateY(-3px);
	border-color: var(--accent);
}

.suite-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.35rem;
	margin-bottom: 13px;
	background: var(--accent-soft);
}

.suite-card h3,
.benefit-box h3,
.step-card h3 {
	margin: 0 0 8px;
	font-size: 1.06rem;
	font-weight: 700;
}

.suite-card p,
.benefit-box p,
.step-card p {
	margin: 0 0 14px;
	font-size: 0.91rem;
	color: var(--text-muted);
}

.benefit-box p,
.step-card p {
	margin-bottom: 0;
}

.suite-cta {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--accent);
}

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

.step-num {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--accent-grad);
	color: #fff;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

/* Comparison Table */
.compare-table-wrap {
	max-width: 880px;
	margin: 0 auto;
	overflow-x: auto;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 16px;
}

.compare-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.compare-table th,
.compare-table td {
	padding: 15px 20px;
	border-bottom: 1px solid var(--border-subtle);
	font-size: 0.94rem;
}

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

.compare-table th {
	font-size: 0.81rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
}

.compare-table .col-highlight {
	background: var(--accent-soft);
}

.yes-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--emerald-soft);
	color: var(--emerald);
	font-weight: 700;
	font-size: 0.81rem;
}

.no-pill {
	color: var(--text-muted);
	font-size: 0.84rem;
}

/* FAQ Accordion */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.faq-item {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 14px;
	overflow: hidden;
}

.faq-question {
	list-style: none;
	padding: 18px 22px;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

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

.faq-chevron {
	font-size: 1.3rem;
	color: var(--accent);
	transition: transform 0.18s ease;
}

.faq-item[open] .faq-chevron {
	transform: rotate(45deg);
}

.faq-answer {
	padding: 0 22px 18px;
	color: var(--text-muted);
	font-size: 0.95rem;
}

.faq-answer p {
	margin: 0;
}

/* Guides & Blog */
.guides-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.guide-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.guide-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.77rem;
	margin-bottom: 12px;
}

.guide-cat-pill {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent);
	font-weight: 700;
}

.guide-read-time {
	color: var(--text-soft);
}

.guide-card-title {
	margin: 0 0 10px;
	font-size: 1.08rem;
	line-height: 1.38;
}

.guide-card-excerpt {
	margin: 0 0 16px;
	color: var(--text-muted);
	font-size: 0.91rem;
	flex: 1;
}

.guide-read-link {
	font-size: 0.87rem;
	font-weight: 700;
	color: var(--accent);
}

.btn-outline-sm {
	padding: 9px 16px;
	border-radius: 10px;
	border: 1px solid var(--border-strong);
	font-size: 0.87rem;
	font-weight: 700;
	white-space: nowrap;
}

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

/* Single Article, Auto TOC, E-E-A-T Box & Legal Pages */
.page-banner,
.article-header {
	padding: 46px 0 34px;
	background: var(--bg-alt);
	border-bottom: 1px solid var(--border-subtle);
}

.page-banner {
	text-align: center;
}

.banner-title,
.article-title {
	margin: 0 0 12px;
	font-size: clamp(1.7rem, 3.5vw, 2.45rem);
	font-weight: 800;
	line-height: 1.2;
}

.banner-sub {
	margin: 0 auto 20px;
	max-width: 660px;
	color: var(--text-muted);
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.83rem;
	color: var(--text-muted);
	margin-bottom: 14px;
}

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

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 0.85rem;
	color: var(--text-muted);
}

.article-layout {
	display: grid;
	grid-template-columns: 1fr 330px;
	gap: 28px;
	padding: 44px 20px 66px;
	align-items: start;
}

.prose-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 18px;
	padding: 32px;
}

.prose-card h2 {
	margin: 28px 0 12px;
	font-size: 1.38rem;
	scroll-margin-top: 86px;
}

.prose-card h2:first-child {
	margin-top: 0;
}

.prose-card h3 {
	margin: 22px 0 10px;
	font-size: 1.12rem;
}

.prose-card p,
.prose-card li {
	color: var(--text-muted);
	font-size: 1rem;
}

.prose-card a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose-card code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.86em;
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--bg-input);
	color: var(--text-main);
}

/* Auto Jump-Link Table of Contents */
.article-toc {
	margin: 20px 0 24px;
	padding: 18px 22px;
	border-radius: 14px;
	background: var(--bg-input);
	border: 1px solid var(--border-strong);
}

.toc-title {
	font-weight: 800;
	font-size: 0.92rem;
	margin-bottom: 10px;
	color: var(--text-main);
}

.toc-list {
	margin: 0;
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.toc-list li a {
	font-size: 0.92rem;
	text-decoration: none;
	color: var(--accent);
	font-weight: 600;
}

.toc-list li a:hover {
	text-decoration: underline;
}

/* E-E-A-T Author Box */
.eeat-author-box {
	margin-top: 32px;
	padding: 18px 20px;
	border-radius: 14px;
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	display: flex;
	gap: 14px;
	align-items: center;
}

.eeat-avatar {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--accent-grad);
	color: #fff;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.eeat-author-box p {
	margin: 4px 0 0;
	font-size: 0.87rem;
}

.sticky-cta-box {
	position: sticky;
	top: 88px;
	background: var(--bg-card);
	border: 1px solid var(--border-strong);
	border-radius: 18px;
	padding: 22px;
}

.sticky-cta-box h3 {
	margin: 0 0 8px;
}

.sticky-cta-box p {
	margin: 0 0 16px;
	font-size: 0.89rem;
	color: var(--text-muted);
}

.sidebar-tool-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sidebar-sublink {
	padding: 9px 12px;
	border-radius: 9px;
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	font-size: 0.85rem;
	font-weight: 600;
}

.sidebar-sublink:hover {
	border-color: var(--accent);
}

.clean-sponsor-slot {
	max-width: 900px;
	margin: 22px auto 0;
	padding: 14px;
	border-radius: 12px;
	background: var(--bg-card);
	border: 1px dashed var(--border-strong);
	text-align: center;
	min-height: 96px;
}

.sponsor-label {
	display: block;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-soft);
	margin-bottom: 6px;
}

/* ==========================================================================
   Footer & Sister Site Promo
   ========================================================================== */
.site-footer {
	background: var(--bg-alt);
	border-top: 1px solid var(--border-subtle);
	padding: 58px 0 32px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.45fr 1fr 1.05fr 0.9fr;
	gap: 28px;
	padding-bottom: 38px;
	border-bottom: 1px solid var(--border-subtle);
}

.footer-desc {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin: 12px 0 14px;
	max-width: 330px;
}

.trust-badges-mini {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.mini-badge {
	font-size: 0.73rem;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	color: var(--text-muted);
}

.sister-promo-pill {
	margin-top: 14px;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding: 7px 12px;
	border-radius: 10px;
	background: var(--bg-card);
	border: 1px solid var(--border-strong);
	font-size: 0.8rem;
}

.sister-promo-pill a {
	font-weight: 700;
	color: var(--accent);
}

.footer-heading {
	margin: 0 0 14px;
	font-size: 0.89rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

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

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

.footer-bottom {
	padding-top: 24px;
	text-align: center;
	font-size: 0.84rem;
	color: var(--text-muted);
}

.footer-bottom p {
	margin: 4px 0;
}

.footer-disclaimer {
	font-size: 0.77rem;
	color: var(--text-soft);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1060px) {
	.suite-grid,
	.suite-grid.suite-grid-3,
	.benefits-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.guides-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.article-layout {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.mobile-menu-toggle {
		display: inline-flex;
	}
	.main-nav {
		display: none;
		position: absolute;
		top: 68px;
		left: 0;
		right: 0;
		background: var(--bg-card);
		border-bottom: 1px solid var(--border-strong);
		padding: 14px 20px;
	}
	.main-nav.is-open {
		display: block;
	}
	.nav-list {
		flex-direction: column;
		align-items: stretch;
	}
}

@media (max-width: 760px) {
	.downloader-hero {
		padding: 34px 0 46px;
	}
	.downloader-card {
		padding: 16px;
	}
	.downloader-form {
		flex-direction: column;
	}
	.btn-submit-dl {
		width: 100%;
		justify-content: center;
	}
	.private-step-grid,
	.results-grid,
	.loading-skeleton,
	.steps-grid,
	.suite-grid,
	.suite-grid.suite-grid-3,
	.benefits-grid,
	.guides-grid,
	.slides-download-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.section-head-inline {
		flex-direction: column;
		align-items: flex-start;
	}
}
