:root {
	--sidequest-epics-canvas: #eaebf4;
	--sidequest-epics-surface-dark: #1e2235;
	--sidequest-epics-surface-dark2: #252a3e;
	--sidequest-epics-surface-light: #ffffff;
	--sidequest-epics-surface-light2: #f4f5fb;
	--sidequest-epics-accent: #e8394a;
	--sidequest-epics-accent-hover: #d02d3e;
	--sidequest-epics-accent-tint: rgba(232, 57, 74, 0.08);
	--sidequest-epics-green: #4cd964;
	--sidequest-epics-warning: #f5a623;
	--sidequest-epics-info: #3b82f6;
	--sidequest-epics-purple: #a78bfa;
	--sidequest-epics-text-primary: #1a1d2e;
	--sidequest-epics-text-secondary: #6b7280;
	--sidequest-epics-text-muted: #b0b5c8;
	--sidequest-epics-text-sec-dark: #9ca3af;
	--sidequest-epics-divider: #e5e7eb;
	--sidequest-epics-shadow-card: 0 4px 16px rgba(0, 0, 0, 0.07);
	--sidequest-epics-shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.22);
	--sidequest-epics-shadow-btn: 0 4px 16px rgba(232, 57, 74, 0.35);
	--sidequest-epics-radius-md: 12px;
	--sidequest-epics-radius-lg: 16px;
	--sidequest-epics-radius-xl: 20px;
	--sidequest-epics-radius-pill: 999px;
	--sidequest-epics-gutter-desktop: 48px;
	--sidequest-epics-gutter-tablet: 24px;
	--sidequest-epics-gutter-mobile: 16px;
}

.sidequest-epics {
	font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	color: var(--sidequest-epics-text-primary);
	font-size: 15px;
	line-height: 1.6;
}

.sidequest-epics a {
	text-decoration: none;
}

/*
 * Remove theme block-gap between inserted sections.
 * Many themes apply margins via `.wp-site-blocks > * { margin-block-start: var(--wp--style--block-gap) }`.
 */
.wp-site-blocks > .sidequest-epics-section-gapless,
.wp-site-blocks > .sidequest-landing-section-gapless {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.sidequest-epics-section-gapless,
.sidequest-landing-section-gapless {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Full-width section + stable inner widths */
.sidequest-epics-section.alignfull {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.sidequest-epics-inner {
	max-width: 1160px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--sidequest-epics-gutter-desktop) !important;
	padding-right: var(--sidequest-epics-gutter-desktop) !important;
	width: 100% !important;
}

.sidequest-epics-inner .wp-block-group__inner-container {
	max-width: none !important;
	width: 100% !important;
}

@media (max-width: 900px) {
	.sidequest-epics-inner {
		padding-left: var(--sidequest-epics-gutter-tablet) !important;
		padding-right: var(--sidequest-epics-gutter-tablet) !important;
	}
}

@media (max-width: 768px) {
	.sidequest-epics-inner {
		padding-left: var(--sidequest-epics-gutter-tablet) !important;
		padding-right: var(--sidequest-epics-gutter-tablet) !important;
	}
}

/* Shared type bits */
.sidequest-epics-eyebrow {
	font-size: 11px;
	font-weight: 600;
	color: var(--sidequest-epics-accent);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.sidequest-epics-title {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.sidequest-epics-sub {
	font-size: 16px;
	color: var(--sidequest-epics-text-secondary);
	line-height: 1.7;
	text-wrap: pretty;
}

.sidequest-epics-title--light,
.sidequest-epics-sub--light {
	color: #fff;
}

.sidequest-epics-sub--light {
	color: var(--sidequest-epics-text-sec-dark);
}

/* Buttons */
.sidequest-epics .wp-block-button__link {
	border-radius: var(--sidequest-epics-radius-md);
	font-family: inherit;
	transition: all 150ms ease;
	font-weight: 700;
}

.sidequest-epics .wp-block-button.is-style-sidequest-epics-primary .wp-block-button__link {
	background: var(--sidequest-epics-accent);
	color: #fff;
	padding: 16px 34px;
	box-shadow: none;
}

.sidequest-epics .wp-block-button.is-style-sidequest-epics-primary .wp-block-button__link:hover {
	background: var(--sidequest-epics-accent-hover);
	transform: translateY(-2px);
	box-shadow: var(--sidequest-epics-shadow-btn);
}

.sidequest-epics .wp-block-button.is-style-sidequest-epics-ghost-dark .wp-block-button__link {
	background: rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.7);
	padding: 16px 26px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidequest-epics .wp-block-button.is-style-sidequest-epics-ghost-dark .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	transform: none;
	box-shadow: none;
}

.sidequest-epics .wp-block-button.is-style-sidequest-epics-primary-large .wp-block-button__link {
	font-size: 15px;
	padding: 17px 40px;
}

/* Hero */
.sidequest-epics-hero {
	background: var(--sidequest-epics-surface-dark);
	min-height: 100vh;
	position: relative;
	overflow: hidden;
	padding-top: 120px !important;
	padding-bottom: 80px !important;
}

.sidequest-epics-hero-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
}

.sidequest-epics-hero-glow-1 {
	position: absolute;
	top: -60px;
	right: -80px;
	width: 700px;
	height: 700px;
	background: radial-gradient(circle, rgba(232, 57, 74, 0.12) 0%, transparent 65%);
	pointer-events: none;
}

.sidequest-epics-hero-glow-2 {
	position: absolute;
	bottom: -100px;
	left: -60px;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(167, 139, 250, 0.07) 0%, transparent 65%);
	pointer-events: none;
}

.sidequest-epics-hero-inner {
	max-width: 1100px !important;
	position: relative;
}

.sidequest-epics-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(232, 57, 74, 0.15);
	border: 1px solid rgba(232, 57, 74, 0.3);
	color: #f08088;
	padding: 6px 16px;
	border-radius: var(--sidequest-epics-radius-pill);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	width: fit-content;
}

.sidequest-epics-hero h1 {
	font-size: clamp(42px, 5.5vw, 68px);
	font-weight: 700;
	color: #fff;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-wrap: balance;
	margin: 0;
}

.sidequest-epics-hero h1 .accent {
	color: var(--sidequest-epics-accent);
}

.sidequest-epics-hero-lead {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.52);
	line-height: 1.65;
	text-wrap: pretty;
	max-width: 440px;
}

.sidequest-epics-hero-legal {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
}

.sidequest-epics-hero-card {
	background: var(--sidequest-epics-surface-dark2);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--sidequest-epics-radius-xl);
	padding: 22px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
	max-width: 380px;
	margin-left: auto;
	margin-right: auto;
}

.sidequest-epics-hero-card * {
	color: #fff;
}

.sidequest-epics-hero-card .muted {
	color: rgba(255, 255, 255, 0.3);
}

.sidequest-epics-hero-badge {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: var(--sidequest-epics-radius-pill);
	background: rgba(167, 139, 250, 0.15);
	border: 1px solid rgba(167, 139, 250, 0.3);
	color: #c4b5fd;
	display: inline-flex;
	width: fit-content;
}

.sidequest-epics-hero-stops {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: var(--sidequest-epics-radius-lg);
	overflow: hidden;
}

.sidequest-epics-hero-stop {
	display: grid;
	grid-template-columns: 22px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 10px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidequest-epics-hero-stop:last-child {
	border-bottom: none;
}

.sidequest-epics-hero-dot {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	font-weight: 700;
}

.sidequest-epics-hero-stop.is-done {
	opacity: 0.55;
}

.sidequest-epics-hero-stop.is-done .sidequest-epics-hero-dot {
	background: rgba(76, 217, 100, 0.15);
	border: 1.5px solid rgba(76, 217, 100, 0.35);
	color: var(--sidequest-epics-green);
}

.sidequest-epics-hero-stop.is-active {
	background: rgba(232, 57, 74, 0.07);
}

.sidequest-epics-hero-stop.is-active .sidequest-epics-hero-dot {
	background: rgba(232, 57, 74, 0.18);
	border: 1.5px solid rgba(232, 57, 74, 0.45);
	color: var(--sidequest-epics-accent);
}

.sidequest-epics-hero-stop.is-pending .sidequest-epics-hero-dot {
	background: rgba(255, 255, 255, 0.05);
	border: 1.5px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.2);
}

.sidequest-epics-hero-stop-city {
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0;
}

.sidequest-epics-hero-stop-detail {
	font-size: 10px;
	color: rgba(255, 255, 255, 0.25);
	margin: 1px 0 0 0;
}

.sidequest-epics-hero-stop-tag {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 3px 7px;
	border-radius: var(--sidequest-epics-radius-pill);
}

.sidequest-epics-hero-stop.is-done .sidequest-epics-hero-stop-tag {
	background: rgba(76, 217, 100, 0.1);
	color: rgba(76, 217, 100, 0.6);
}

.sidequest-epics-hero-stop.is-active .sidequest-epics-hero-stop-tag {
	background: rgba(232, 57, 74, 0.15);
	color: #f08088;
}

.sidequest-epics-hero-stop.is-pending .sidequest-epics-hero-stop-tag {
	display: none;
}

/* How steps grid */
.sidequest-epics-how {
	background: var(--sidequest-epics-canvas);
	padding-top: 96px !important;
	padding-bottom: 96px !important;
}

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

.sidequest-epics-how-step {
	padding: 36px 28px;
	background: var(--sidequest-epics-surface-light);
	border-radius: var(--sidequest-epics-radius-xl);
	border: 1px solid var(--sidequest-epics-divider);
	box-shadow: var(--sidequest-epics-shadow-card);
}

.sidequest-epics-step-num {
	width: 48px;
	height: 48px;
	border-radius: var(--sidequest-epics-radius-pill);
	background: var(--sidequest-epics-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.sidequest-epics-step-title {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin: 0 0 10px 0;
}

.sidequest-epics-step-desc {
	font-size: 14px;
	color: var(--sidequest-epics-text-secondary);
	line-height: 1.7;
	margin: 0;
	text-wrap: pretty;
}

@media (max-width: 900px) {
	.sidequest-epics-how-steps {
		grid-template-columns: 1fr;
	}
}

/* Spotlight + stop flow */
.sidequest-epics-spotlight {
	background: var(--sidequest-epics-canvas);
	padding-top: 96px !important;
	padding-bottom: 96px !important;
}

.sidequest-epics-spotlight-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: start;
}

.sidequest-epics-pull {
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 600;
	color: var(--sidequest-epics-text-primary);
	line-height: 1.4;
	letter-spacing: -0.015em;
	text-wrap: balance;
	border-left: 3px solid var(--sidequest-epics-accent);
	padding-left: 20px;
	margin: 8px 0;
}

.sidequest-epics-stop-flow {
	background: var(--sidequest-epics-surface-dark);
	border-radius: var(--sidequest-epics-radius-xl);
	overflow: hidden;
	box-shadow: var(--sidequest-epics-shadow-dark);
	color: #fff;
}

.sidequest-epics-stop-flow-header {
	padding: 18px 22px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.sidequest-epics-stop-flow-title {
	font-size: 12px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0;
}

.sidequest-epics-stop-flow-epic {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.25);
	margin: 0;
}

.sidequest-epics-stop-flow-step {
	padding: 18px 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sidequest-epics-stop-flow-step:last-child {
	border-bottom: none;
}

.sidequest-epics-sfs-label {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.25);
	margin: 0;
}

.sidequest-epics-sfs-label.is-red {
	color: var(--sidequest-epics-accent);
	opacity: 0.8;
}

.sidequest-epics-sfs-content {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
	margin: 0;
	text-wrap: pretty;
}

.sidequest-epics-unlock {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(76, 217, 100, 0.08);
	border: 1px solid rgba(76, 217, 100, 0.2);
	border-radius: var(--sidequest-epics-radius-md);
	padding: 12px 14px;
}

.sidequest-epics-unlock-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(76, 217, 100, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	flex-shrink: 0;
	color: var(--sidequest-epics-green);
	font-weight: 700;
}

.sidequest-epics-unlock-text {
	font-size: 12px;
	color: var(--sidequest-epics-green);
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
}

.sidequest-epics-unlock-sub {
	font-size: 10px;
	color: rgba(76, 217, 100, 0.6);
	font-weight: 400;
	margin: 0;
}

@media (max-width: 900px) {
	.sidequest-epics-spotlight-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

/* Pillars */
.sidequest-epics-pillars {
	background: var(--sidequest-epics-surface-dark);
	padding-top: 96px !important;
	padding-bottom: 96px !important;
}

.sidequest-epics-pillars-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 56px;
}

.sidequest-epics-pillar {
	padding: 32px 24px;
	background: var(--sidequest-epics-surface-dark2);
	border-radius: var(--sidequest-epics-radius-xl);
	border: 1px solid rgba(255, 255, 255, 0.06);
	position: relative;
	overflow: hidden;
	color: #fff;
}

.sidequest-epics-pillar::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
}

.sidequest-epics-pillar.is-accent::before {
	background: var(--sidequest-epics-accent);
}
.sidequest-epics-pillar.is-purple::before {
	background: var(--sidequest-epics-purple);
}
.sidequest-epics-pillar.is-info::before {
	background: var(--sidequest-epics-info);
}
.sidequest-epics-pillar.is-green::before {
	background: var(--sidequest-epics-green);
}

.sidequest-epics-pillar-value {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 12px 0;
}

.sidequest-epics-pillar-title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
	margin: 0 0 10px 0;
}

.sidequest-epics-pillar-desc {
	font-size: 13px;
	color: var(--sidequest-epics-text-sec-dark);
	line-height: 1.65;
	margin: 0;
	text-wrap: pretty;
}

@media (max-width: 900px) {
	.sidequest-epics-pillars-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.sidequest-epics-pillars-grid {
		grid-template-columns: 1fr;
	}
}

/* FAQ */
.sidequest-epics-faq {
	background: var(--sidequest-epics-surface-light2);
	padding-top: 96px !important;
	padding-bottom: 96px !important;
}

.sidequest-epics-faq-inner {
	max-width: 780px !important;
}

.sidequest-epics-faq details {
	background: var(--sidequest-epics-surface-light);
	border-radius: var(--sidequest-epics-radius-md);
	box-shadow: var(--sidequest-epics-shadow-card);
	overflow: hidden;
	border: 0;
}

.sidequest-epics-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--sidequest-epics-text-primary);
}

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

.sidequest-epics-faq summary::after {
	content: "+";
	width: 28px;
	height: 28px;
	border-radius: var(--sidequest-epics-radius-pill);
	background: var(--sidequest-epics-accent-tint);
	color: var(--sidequest-epics-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	flex-shrink: 0;
	transition: transform 200ms, background 200ms, color 200ms;
}

.sidequest-epics-faq details[open] summary::after {
	transform: rotate(45deg);
	background: var(--sidequest-epics-accent);
	color: #fff;
}

.sidequest-epics-faq .wp-block-details__content {
	padding: 16px 24px 20px;
	font-size: 14px;
	color: var(--sidequest-epics-text-secondary);
	line-height: 1.7;
	border-top: 1px solid var(--sidequest-epics-divider);
	text-wrap: pretty;
}

/* Final CTA */
.sidequest-epics-final {
	background: var(--sidequest-epics-surface-dark);
	position: relative;
	overflow: hidden;
	padding-top: 112px !important;
	padding-bottom: 112px !important;
	text-align: center;
}

.sidequest-epics-final-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 600px;
	height: 400px;
	background: radial-gradient(ellipse, rgba(232, 57, 74, 0.18) 0%, transparent 70%);
	pointer-events: none;
}

.sidequest-epics-final-inner {
	max-width: 640px !important;
	position: relative;
}

.sidequest-epics-final h2 {
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	letter-spacing: -0.025em;
	text-wrap: balance;
	margin: 0;
}

.sidequest-epics-final h2 .accent {
	color: var(--sidequest-epics-accent);
}

.sidequest-epics-final .lead {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.48);
	line-height: 1.65;
	max-width: 440px;
	margin-left: auto;
	margin-right: auto;
	text-wrap: pretty;
}

.sidequest-epics-final .legal {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
	.sidequest-epics-hero {
		padding-top: 100px !important;
		padding-bottom: 72px !important;
	}
	.sidequest-epics-how,
	.sidequest-epics-spotlight,
	.sidequest-epics-pillars,
	.sidequest-epics-faq {
		padding-top: 64px !important;
		padding-bottom: 64px !important;
	}
	.sidequest-epics-final {
		padding-top: 80px !important;
		padding-bottom: 80px !important;
	}
}

/* Footer */
.sidequest-epics-footer {
	background: var(--sidequest-epics-surface-dark);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding-top: 32px !important;
	padding-bottom: 32px !important;
}

.sidequest-epics-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.sidequest-epics-footer a,
.sidequest-epics-footer p {
	color: rgba(255, 255, 255, 0.25);
}

.sidequest-epics-footer-brand {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sidequest-epics-footer-name {
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

.sidequest-epics-footer-right {
	font-size: 12px;
	margin: 0;
}

@media (max-width: 768px) {
	.sidequest-epics-footer-inner {
		flex-direction: column;
		text-align: center;
	}
}

