/*
Theme Name: NicheLeads
Theme URI: https://nicheleads.co.uk/
Author: NicheLeads
Description: The original NicheLeads multi-niche site design for the private NicheLeads Core plugin.
Version: 0.1.0-pre3
Requires at least: 6.4
Requires PHP: 8.2
Text Domain: nicheleads
*/

:root {
	--nl-paper: #f5f2ee;
	--nl-card: #fffdf8;
	--nl-ink: #182b32;
	--nl-navy: #1d3038;
	--nl-muted: #677078;
	--nl-border: #ddd6ca;
	--nl-green: #187b65;
	--nl-green-dark: #126b58;
	--nl-mint: #d1eee4;
	--nl-lime: #c6f52d;
	--nl-amber: #9c692d;
	--nl-red: #a63a2b;
	--nl-radius: 14px;
	--nl-shadow: 0 5px 18px -15px rgb(24 43 50 / 34%), 0 1px 2px rgb(24 43 50 / 5%);
	font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
	color: var(--nl-ink);
	background: var(--nl-paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--nl-paper); color: var(--nl-ink); font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif; font-feature-settings: 'ss01', 'cv11'; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--nl-green); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.045em; line-height: 1.04; }
h3 { letter-spacing: -.025em; line-height: 1.2; }

.nl-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px; background: var(--nl-card); }
.nl-skip:focus { left: 10px; }
.nl-container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.nl-site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgb(221 214 202 / 75%); background: rgb(245 242 238 / 94%); backdrop-filter: blur(16px); }
.nl-header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nl-wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 600; letter-spacing: -.04em; white-space: nowrap; }
.nl-wordmark img { width: 34px; height: 34px; }
.nl-wordmark span { color: var(--nl-green); }
.nl-main-nav { display: flex; align-items: center; gap: 4px; }
.nl-main-nav a { border-radius: 8px; padding: 10px 12px; color: var(--nl-muted); font-size: 14px; text-decoration: none; }
.nl-main-nav a:hover { color: var(--nl-ink); background: rgb(24 123 101 / 6%); }
.nl-main-nav .nl-nav-cta { margin-left: 8px; padding: 11px 16px; background: var(--nl-navy); color: #fffaf1; font-weight: 600; }
.nl-menu-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 8px; background: transparent; color: var(--nl-ink); font-size: 24px; }
.nl-mobile-nav { display: none; border-top: 1px solid var(--nl-border); padding: 8px 20px 14px; }
.nl-mobile-nav a { display: block; padding: 12px 8px; text-decoration: none; }
.nl-site-main { min-height: 55vh; }
.nl-site-footer { margin-top: 88px; border-top: 4px solid var(--nl-green); background: linear-gradient(110deg, #20353e, #13755f); color: #fffaf1; }
.nl-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 52px; }
.nl-footer-brand p { max-width: 350px; margin: 16px 0 0; color: rgb(255 250 241 / 76%); font-size: 14px; line-height: 1.65; }
.nl-footer-heading { margin: 0 0 14px; color: #b8e4d2; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nl-footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.nl-footer-links a { color: rgb(255 250 241 / 86%); text-decoration: none; }
.nl-footer-links a:hover { text-decoration: underline; }

.nl-hero { overflow: hidden; border-bottom: 1px solid var(--nl-border); background: linear-gradient(118deg, #14795f, #16866c); color: white; }
.nl-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 46px; padding-block: 70px 76px; }
.nl-hero-copy { color: white; }
.nl-eyebrow { margin: 0 0 14px; color: var(--nl-green); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.nl-hero .nl-eyebrow { color: #d5f68a; }
.nl-hero h1 { max-width: 620px; margin-bottom: 25px; font-size: clamp(42px, 5.4vw, 68px); }
.nl-hero h1::after { display: block; width: 60px; height: 5px; margin-top: 20px; border-radius: 999px; background: var(--nl-lime); content: ''; }
.nl-hero-copy > p:not(.nl-eyebrow) { max-width: 540px; margin-bottom: 0; color: rgb(255 255 255 / 87%); font-size: 19px; line-height: 1.6; }
.nl-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.nl-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 1px solid var(--nl-navy); border-radius: 8px; padding: 10px 16px; background: var(--nl-navy); color: #fffaf1; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; }
.nl-button:hover { background: #263d47; color: white; }
.nl-button-lime { border-color: var(--nl-lime); background: var(--nl-lime); color: #202c30; box-shadow: 0 5px 14px rgb(21 49 47 / 16%); }
.nl-button-lime:hover { background: #d2fa4b; color: #202c30; }
.nl-button-ghost { border-color: rgb(255 255 255 / 56%); background: rgb(255 255 255 / 8%); color: white; }
.nl-button-ghost:hover { background: rgb(255 255 255 / 17%); }
.nl-button-outline { border-color: var(--nl-border); background: var(--nl-card); color: var(--nl-ink); }
.nl-button-outline:hover { background: #f2eee5; color: var(--nl-ink); }
.nl-button[disabled], button[disabled] { opacity: .56; cursor: not-allowed; }
.nl-hero-benefits { margin-top: 22px; }
.nl-benefit-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.45; }
.nl-benefit-strip li { display: flex; align-items: flex-start; gap: 8px; }
.nl-benefit-strip li::before { color: #d6ff4b; content: '✓'; font-weight: 700; }
.nl-hero-note { margin: 22px 0 0; border-left: 2px solid rgb(255 255 255 / 54%); padding-left: 12px; color: rgb(255 255 255 / 82%); font-size: 13px; }
.nl-hero-preview { display: grid; gap: 12px; min-width: 0; }

.nl-section { padding-block: 78px; scroll-margin-top: 84px; }
.nl-section-tint { border-block: 1px solid #b9d9ce; background: #d7f0e7; }
.nl-section-heading { max-width: 740px; margin: 0 0 40px; }
.nl-section-heading h2 { margin-bottom: 0; font-size: clamp(34px, 4.4vw, 50px); }
.nl-section-heading > p:not(.nl-eyebrow) { margin-top: 16px; color: var(--nl-muted); line-height: 1.7; }
.nl-card { min-width: 0; overflow: hidden; border: 1px solid var(--nl-border); border-radius: var(--nl-radius); background: var(--nl-card); box-shadow: var(--nl-shadow); }
.nl-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nl-product-card { position: relative; display: flex; flex-direction: column; border-top: 4px solid #239268; padding: 25px; background: linear-gradient(145deg, #e9f6ef, #fff 58%); transition: transform .2s ease, box-shadow .2s ease; }
.nl-product-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgb(24 43 50 / 38%); }
.nl-product-card h3 { margin: 0; font-size: 25px; }
.nl-product-card p { margin: 12px 0 0; color: var(--nl-muted); line-height: 1.6; }
.nl-product-card .nl-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.nl-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.nl-pill { display: inline-flex; align-items: center; border: 1px solid transparent; border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.nl-pill-green { border-color: #badbcf; background: #d9eee6; color: #215c49; }
.nl-pill-amber { border-color: #ead4b5; background: #f8ecd8; color: #7a5327; }
.nl-pill-navy { background: var(--nl-navy); color: white; }
.nl-small { color: var(--nl-muted); font-size: 12px; line-height: 1.55; }
.nl-journey { border-block: 1px solid #b9d9ce; background: #d7f0e7; }
.nl-journey-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.nl-journey-grid li { border-left: 1px solid #a6cbbc; padding: 10px 22px; }
.nl-step-number { display: inline-block; border-radius: 999px; padding: 5px 9px; background: var(--nl-green-dark); color: white; font-size: 12px; font-weight: 700; }
.nl-journey-grid h3 { margin: 16px 0 7px; font-size: 18px; }
.nl-journey-grid p { margin: 0; color: #596b69; font-size: 14px; line-height: 1.6; }
.nl-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.nl-benefit-grid article { display: flex; gap: 14px; }
.nl-benefit-grid h3 { margin: 0 0 6px; font-size: 18px; }
.nl-benefit-grid p { margin: 0; color: var(--nl-muted); font-size: 14px; line-height: 1.6; }
.nl-check { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border: 1px solid #c8e5d9; border-radius: 12px; background: #e3f3ec; color: #126b58; font-weight: 700; }
.nl-delivery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nl-delivery-grid .nl-card { padding: 22px; }
.nl-delivery-grid h3 { margin: 0; font-size: 17px; }
.nl-delivery-grid p { margin: 12px 0 0; color: var(--nl-muted); font-size: 14px; line-height: 1.6; }
.nl-icon { display: block; margin-bottom: 18px; color: var(--nl-green); font-size: 23px; }
.nl-delivery-note { margin-top: 16px; }
.nl-quality-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nl-quality-card { padding: 24px; }
.nl-quality-card h3 { font-size: 20px; }
.nl-quality-card ul { margin: 15px 0 0; padding: 0; list-style: none; }
.nl-quality-card li { margin: 11px 0; line-height: 1.55; }
.nl-faq { max-width: 780px; border-top: 1px solid var(--nl-border); }
.nl-faq details { border-bottom: 1px solid var(--nl-border); padding: 18px 0; }
.nl-faq summary { cursor: pointer; font-weight: 600; }
.nl-faq details p { margin: 13px 0 0; color: var(--nl-muted); line-height: 1.65; }
.nl-cta-band { border-top: 4px solid var(--nl-green); padding-block: 56px; background: linear-gradient(110deg, #20353e, #13755f); color: #fffaf1; }
.nl-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.nl-cta-inner h2 { margin: 0; font-size: clamp(34px, 4.4vw, 50px); }
.nl-cta-inner p { margin: 10px 0 0; color: rgb(255 250 241 / 82%); }
.nl-cta-benefits { margin-top: 20px; }
.nl-page-content > .nl-editor-block { padding-block: 38px; }
.nl-page-content > .nl-editor-block:first-child { padding-top: 0; }
.nl-page-content p { line-height: 1.7; }
.nl-rule { border-top: 1px solid var(--nl-border); padding-top: 15px; }
.nl-check-list { padding-left: 20px; line-height: 1.8; }

@media (max-width: 900px) {
	.nl-hero-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 54px; }
	.nl-hero-copy { max-width: 720px; }
	.nl-delivery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nl-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nl-journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}
@media (max-width: 700px) {
	.nl-container { width: min(100% - 32px, 560px); }
	.nl-header-inner { min-height: 66px; }
	.nl-main-nav { display: none; }
	.nl-menu-toggle { display: inline-grid; place-items: center; }
	.nl-mobile-nav.is-open { display: block; }
	.nl-mobile-nav .nl-nav-cta { margin-top: 6px; border-radius: 8px; background: var(--nl-navy); color: white; }
	.nl-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding-block: 38px; }
	.nl-footer-brand { grid-column: 1 / -1; }
	.nl-hero-grid { padding-block: 42px 48px; }
	.nl-hero h1 { font-size: clamp(39px, 11vw, 50px); }
	.nl-hero-copy > p:not(.nl-eyebrow) { font-size: 17px; }
	.nl-hero-actions { display: grid; grid-template-columns: 1fr; }
	.nl-hero-actions .nl-button { width: 100%; }
	.nl-benefit-strip { grid-template-columns: 1fr; gap: 8px; }
	.nl-section { padding-block: 58px; }
	.nl-section-heading { margin-bottom: 28px; }
	.nl-section-heading h2 { font-size: 36px; }
	.nl-product-grid, .nl-quality-grid { grid-template-columns: 1fr; }
	.nl-journey-grid { grid-template-columns: 1fr; gap: 14px; }
	.nl-journey-grid li { padding: 8px 16px; }
	.nl-benefit-grid { grid-template-columns: 1fr; gap: 22px; }
	.nl-delivery-grid { grid-template-columns: 1fr; }
	.nl-cta-inner { align-items: flex-start; flex-direction: column; }
	.nl-cta-inner .nl-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
