/*
Theme Name: DMF Sections
Theme URI: https://example.com
Author: Direct Merchant Funding
Description: Homepage built from Figma; modular sections with Plus Jakarta Sans and brand tokens.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Text Domain: dmf
*/

:root {
	--dmf-green: #1c4b42;
	--dmf-lime: #b4e717;
	--dmf-bg-page: #ffffff;
	/* Full-width section bands (Figma Home): Services, Why, Partner, Contact */
	--dmf-bg-muted: #f8f8f8;
	/* Hero / light UI (Figma off-white behind concentric lines) */
	--dmf-bg-hero-fallback: #fbfdfb;
	--dmf-ink: #1c4b42;
	--dmf-ink-soft: #475569;
	--dmf-border: #dee2e6;
	--dmf-font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
	--dmf-max: 81.25rem; /* 1300px @ 16px */
	--dmf-max-wide: 119.5rem; /* ~1912px — header / hero artboard */
	--dmf-radius: 1rem;
	--dmf-radius-pill: 1.875rem;
}

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

body {
	margin: 0;
	font-family: var(--dmf-font);
	line-height: 1.5;
	color: var(--dmf-ink);
	background: var(--dmf-bg-page);
}

.dmf-skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999999;
	padding: 0.5rem 1rem;
	background: #000;
	color: #fff;
	text-decoration: none;
}

.dmf-skip-link:focus {
	left: 0.5rem;
	top: 0.5rem;
}

.dmf-page-body {
	padding: 2rem 1.5rem 3rem;
}

.dmf-page-body__inner {
	max-width: 40rem;
	margin: 0 auto;
}

/* Shared pill button (dark green) — ~48px tall, arrow 12×14 like hero CTA */
.dmf-btn-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.375rem 1.25rem 0.375rem 0.375rem;
	box-sizing: border-box;
	font-family: var(--dmf-font);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.1;
	color: #fff;
	background: var(--dmf-green);
	border: none;
	border-radius: var(--dmf-radius-pill);
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.dmf-btn-pill:hover {
	opacity: 0.94;
	color: #fff;
}

.dmf-btn-pill__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	background: #fff;
	border-radius: 1.125rem;
	flex-shrink: 0;
}

.dmf-btn-pill__icon--rotated {
	transform: rotate(-40deg);
}

.dmf-btn-pill__icon img {
	width: 0.75rem;
	height: auto;
	max-height: 0.875rem;
	object-fit: contain;
}

/* Circular card “more” control — same arrow asset as pills */
.dmf-card-round-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	transform: rotate(-40deg);
}

.dmf-card-round-arrow img {
	width: 0.75rem;
	height: auto;
	max-height: 0.875rem;
	object-fit: contain;
}

/* Arrow without pill disc (footer signup, etc.) */
.dmf-bare-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.dmf-bare-arrow--rotated {
	transform: rotate(-40deg);
}

.dmf-bare-arrow img {
	width: 0.75rem;
	height: auto;
	max-height: 0.875rem;
	object-fit: contain;
	display: block;
}

.dmf-btn-pill--lime {
	background: var(--dmf-lime);
	color: #212529;
}

.dmf-btn-pill--lime:hover {
	color: #212529;
}

.dmf-btn-pill--outline {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.45);
}

.dmf-btn-pill--outline:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.dmf-section-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--dmf-lime);
}

.dmf-section-label img {
	width: 1.5rem;
	height: 1.5rem;
	object-fit: contain;
}
