/*
Theme Name: Leah's Bookkeeping
Theme URI: https://leahbookkeeping.com
Author: Fudo Photo LLC
Author URI: https://fudophoto.com
Description: One page marketing theme for Leah's Bookkeeping. Custom built, no page builder required.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: leah-bookkeeping
*/

:root {
	--lb-bg: #1c1319;
	--lb-bg-alt: #211721;
	--lb-bg-quote: #2a1c2b;
	--lb-field: #171016;

	--lb-text: #efe6ee;
	--lb-text-soft: #cfc0cd;
	--lb-text-dim: #b9a8b8;
	--lb-text-faint: #9d8d9d;
	--lb-text-legal: #7d6f7d;

	--lb-gold: #ebc17e;
	--lb-pink: #d79ee0;
	--lb-pink-light: #e5a8e8;
	--lb-purple: #a78bda;
	--lb-teal: #59a597;

	--lb-line: rgba(167, 139, 218, 0.26);
	--lb-line-strong: rgba(167, 139, 218, 0.45);
	--lb-grad: linear-gradient(96deg, #ebc17e, #d79ee0 55%, #a78bda);

	--gutter: 24px;
	--lb-gutter-lg: 92px;
	--lb-max: 1180px;
	--lb-radius: 14px;
	--lb-radius-lg: 20px;
	--lb-round: 999px;
	--lb-font-display: "Outfit", system-ui, sans-serif;
	--lb-font-body: "Source Sans 3", system-ui, sans-serif;
	--lb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 92px;
}

body.lb-body {
	margin: 0;
	background: var(--lb-bg);
	color: var(--lb-text);
	font-family: var(--lb-font-body);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: hidden;
}

a {
	color: var(--lb-pink-light);
	text-decoration: none;
	transition: color 0.2s var(--lb-ease);
}

a:hover,
a:focus-visible {
	color: var(--lb-gold);
}

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

::selection {
	background: var(--lb-purple);
	color: var(--lb-bg);
}

:focus-visible {
	outline: 2px solid var(--lb-gold);
	outline-offset: 2px;
}

.lb-icon {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
}

.lb-skip {
	position: absolute;
	left: -9999px;
}

.lb-skip:focus {
	left: var(--gutter);
	top: var(--gutter);
	z-index: 100;
	padding: 12px 18px;
	border-radius: var(--lb-round);
	background: var(--lb-gold);
	color: var(--lb-bg);
}

.lb-wrap {
	width: min(var(--lb-max), 100%);
	margin-inline: auto;
}

.lb-wrap--narrow {
	width: min(860px, 100%);
}

.lb-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Typography                                                          */
/* ------------------------------------------------------------------ */
.lb-h1 {
	margin: 0 0 24px;
	font-family: var(--lb-font-display);
	font-weight: 600;
	font-size: clamp(34px, 5.6vw, 62px);
	line-height: 1.06;
	text-wrap: balance;
}

.lb-h2 {
	margin: 0 0 16px;
	font-family: var(--lb-font-display);
	font-weight: 600;
	font-size: clamp(30px, 4.4vw, 42px);
	line-height: 1.14;
}

.lb-h2--sub {
	margin-top: 56px;
	font-size: 28px;
}

.lb-h3 {
	margin: 0 0 10px;
	font-family: var(--lb-font-display);
	font-weight: 600;
	font-size: 21px;
	line-height: 1.25;
}

.lb-lede {
	margin: 0 0 34px;
	max-width: 60ch;
	font-size: 19px;
	line-height: 1.65;
	color: var(--lb-text-soft);
	text-wrap: pretty;
}

.lb-lede--tight {
	margin-bottom: 48px;
}

.lb-gradient {
	background: linear-gradient(96deg, #ebc17e, #e5a8e8 45%, #a78bda 78%, #59a597);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.lb-pill {
	display: inline-block;
	margin: 0 0 22px;
	padding: 7px 16px;
	border: 1px solid rgba(235, 193, 126, 0.45);
	border-radius: var(--lb-round);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--lb-gold);
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.lb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 30px;
	min-height: 48px;
	border: 1px solid transparent;
	border-radius: var(--lb-round);
	font-family: var(--lb-font-display);
	font-weight: 700;
	font-size: 17px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.2s var(--lb-ease), background-color 0.2s var(--lb-ease), transform 0.2s var(--lb-ease);
}

.lb-btn--grad {
	background: var(--lb-grad);
	color: #22161f;
}

.lb-btn--grad:hover,
.lb-btn--grad:focus-visible {
	filter: brightness(1.08);
	color: #22161f;
	transform: translateY(-1px);
}

.lb-btn--ghost {
	background: transparent;
	border-color: rgba(167, 139, 218, 0.55);
	color: var(--lb-text);
	font-weight: 600;
}

.lb-btn--ghost:hover,
.lb-btn--ghost:focus-visible {
	background: rgba(167, 139, 218, 0.16);
	color: var(--lb-text);
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.lb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(28, 19, 25, 0.88);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(167, 139, 218, 0.28);
}

.lb-header__inner {
	width: min(var(--lb-max), 100%);
	margin-inline: auto;
	padding: 14px var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.lb-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--lb-text);
}

.lb-brand:hover {
	color: var(--lb-text);
}

.lb-brand__mark {
	width: auto;
	height: 44px;
	max-width: 180px;
	object-fit: contain;
}

.lb-brand__name {
	font-family: var(--lb-font-display);
	font-weight: 600;
	font-size: 19px;
}

.lb-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	font-size: 15px;
}

.lb-nav__link {
	color: var(--lb-text-soft);
}

.lb-nav__cta {
	padding: 10px 18px;
	min-height: 44px;
	font-size: 15px;
}

.lb-navtoggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	border: 1px solid var(--lb-line);
	border-radius: 10px;
	color: var(--lb-text);
	font-size: 22px;
	cursor: pointer;
}

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */
.lb-section {
	padding: var(--lb-gutter-lg) var(--gutter);
}

.lb-section--alt {
	background: var(--lb-bg-alt);
}

.lb-section--quote {
	background: linear-gradient(160deg, var(--lb-bg-quote), var(--lb-bg) 70%);
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.lb-hero {
	padding: 88px var(--gutter) 96px;
	background:
		radial-gradient(120% 90% at 78% 8%, rgba(167, 139, 218, 0.3), transparent 58%),
		radial-gradient(90% 80% at 8% 92%, rgba(235, 193, 126, 0.16), transparent 60%),
		linear-gradient(105deg, rgba(28, 19, 25, 0.96) 0%, rgba(28, 19, 25, 0.82) 45%, rgba(28, 19, 25, 0.62) 100%),
		url("assets/img/hero.jpg") center / cover no-repeat,
		var(--lb-bg);
}

.lb-hero__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 48px 64px;
	align-items: center;
}

.lb-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 34px;
}

.lb-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 26px;
	margin: 0;
	padding-top: 26px;
	max-width: 560px;
	border-top: 1px solid rgba(167, 139, 218, 0.25);
}

.lb-stats__n {
	font-family: var(--lb-font-display);
	font-size: 28px;
	font-weight: 600;
	color: var(--lb-gold);
}

.lb-stats__l {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--lb-text-dim);
}


/* ------------------------------------------------------------------ */
/* Service cards                                                       */
/* ------------------------------------------------------------------ */
.lb-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.lb-card {
	padding: 30px 28px;
	background: var(--lb-bg);
	border: 1px solid var(--lb-line);
	border-radius: 18px;
	transition: border-color 0.25s var(--lb-ease), transform 0.25s var(--lb-ease);
}

.lb-card:hover {
	border-color: rgba(235, 193, 126, 0.55);
	transform: translateY(-3px);
}

.lb-card__bar {
	display: block;
	width: 34px;
	height: 6px;
	margin-bottom: 20px;
	border-radius: var(--lb-round);
}

.lb-card__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--lb-text-dim);
}

.lb-accent--gold { background: var(--lb-gold); }
.lb-accent--pink { background: var(--lb-pink); }
.lb-accent--purple { background: var(--lb-purple); }
.lb-accent--teal { background: var(--lb-teal); }

/* ------------------------------------------------------------------ */
/* Other services                                                      */
/* ------------------------------------------------------------------ */
.lb-pills {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 12px;
}

.lb-pills__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: rgba(167, 139, 218, 0.09);
	border: 1px solid rgba(167, 139, 218, 0.18);
	border-radius: 12px;
	font-size: 16.5px;
	color: #e6dae5;
}

.lb-dot {
	width: 7px;
	height: 7px;
	flex: none;
	border-radius: var(--lb-round);
	background: var(--lb-gold);
}

/* ------------------------------------------------------------------ */
/* Steps                                                               */
/* ------------------------------------------------------------------ */
.lb-steps {
	list-style: none;
	margin: 48px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px;
}

.lb-step {
	padding-top: 24px;
	border-top: 2px solid var(--lb-gold);
}

.lb-step--gold { border-top-color: var(--lb-gold); }
.lb-step--pink { border-top-color: var(--lb-pink); }
.lb-step--purple { border-top-color: var(--lb-purple); }
.lb-step--teal { border-top-color: var(--lb-teal); }

.lb-step__label {
	display: block;
	margin-bottom: 10px;
	font-family: var(--lb-font-display);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--lb-gold);
}

.lb-step--pink .lb-step__label { color: var(--lb-pink); }
.lb-step--purple .lb-step__label { color: var(--lb-purple); }
.lb-step--teal .lb-step__label { color: var(--lb-teal); }

.lb-step .lb-h3 {
	font-size: 22px;
}

/* ------------------------------------------------------------------ */
/* Quote section                                                       */
/* ------------------------------------------------------------------ */
.lb-quote__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 48px 64px;
	align-items: start;
}

.lb-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 18px;
}

.lb-contact li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.lb-contact .lb-icon {
	margin-top: 4px;
	font-size: 22px;
	color: var(--lb-gold);
}

.lb-contact__label {
	display: block;
	font-size: 14px;
	color: var(--lb-text-dim);
}

.lb-contact a {
	font-family: var(--lb-font-display);
	font-size: 20px;
}

.lb-break {
	word-break: break-word;
}

/* ------------------------------------------------------------------ */
/* Form                                                                */
/* ------------------------------------------------------------------ */
.lb-form {
	display: grid;
	gap: 18px;
	padding: 34px;
	background: rgba(28, 19, 25, 0.72);
	border: 1px solid rgba(167, 139, 218, 0.32);
	border-radius: var(--lb-radius-lg);
}

.lb-field {
	display: grid;
	gap: 7px;
	font-size: 14px;
	color: var(--lb-text-soft);
}

.lb-field__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 18px;
}

.lb-field__label em {
	font-style: normal;
	color: var(--lb-gold);
}

.lb-field input,
.lb-field select,
.lb-field textarea {
	width: 100%;
	padding: 14px 16px;
	min-height: 48px;
	background: var(--lb-field);
	border: 1px solid rgba(167, 139, 218, 0.35);
	border-radius: 10px;
	color: var(--lb-text);
	font-family: inherit;
	font-size: 16px;
	transition: border-color 0.2s var(--lb-ease);
}

.lb-field input:focus,
.lb-field select:focus,
.lb-field textarea:focus {
	outline: 2px solid var(--lb-gold);
	outline-offset: 1px;
	border-color: var(--lb-gold);
}

.lb-field textarea {
	resize: vertical;
	min-height: 120px;
}

.lb-form__submit {
	margin-top: 4px;
	min-height: 52px;
}

.lb-form__submit[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.lb-form__status {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--lb-text-faint);
	text-align: center;
}

.lb-form__status.is-ok { color: var(--lb-teal); }
.lb-form__status.is-error { color: #f0a3a3; }

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */
.lb-faq {
	display: grid;
	gap: 14px;
	margin-top: 40px;
}

.lb-faq__item {
	padding: 22px 26px;
	background: var(--lb-bg);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius);
}

.lb-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gutter);
	font-family: var(--lb-font-display);
	font-size: 19px;
	font-weight: 600;
	color: var(--lb-text);
	cursor: pointer;
	list-style: none;
}

.lb-faq__q::-webkit-details-marker {
	display: none;
}

.lb-faq__q::after {
	content: "+";
	font-size: 24px;
	font-weight: 400;
	color: var(--lb-gold);
	transition: transform 0.25s var(--lb-ease);
}

.lb-faq__item[open] .lb-faq__q::after {
	transform: rotate(45deg);
}

.lb-faq__a {
	margin: 14px 0 0;
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--lb-text-dim);
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.lb-footer {
	padding: 64px var(--gutter) 40px;
	background: var(--lb-bg);
	border-top: 1px solid rgba(167, 139, 218, 0.25);
}

.lb-footer__inner {
	width: min(var(--lb-max), 100%);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
}

.lb-footer__brand {
	display: flex;
	align-items: center;
	gap: 14px;
}

.lb-footer__brand img {
	width: auto;
	height: 52px;
	max-width: 200px;
	object-fit: contain;
}

.lb-footer__name {
	margin: 0;
	font-family: var(--lb-font-display);
	font-size: 19px;
	font-weight: 600;
}

.lb-footer__meta {
	margin: 4px 0 0;
	font-size: 15px;
	color: var(--lb-text-faint);
}

.lb-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 15.5px;
}

.lb-footer__links li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--lb-text-soft);
}

.lb-footer__links .lb-icon {
	font-size: 17px;
	color: var(--lb-purple);
}

.lb-footer__links a {
	color: var(--lb-text-soft);
}

.lb-footer__legal {
	width: min(var(--lb-max), 100%);
	margin: 40px auto 0;
	font-size: 13.5px;
	color: var(--lb-text-legal);
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 860px) {
	:root {
		--lb-gutter-lg: 64px;
	}

	.lb-navtoggle {
		display: inline-flex;
	}

	.lb-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		padding: 12px var(--gutter) 20px;
		background: rgba(28, 19, 25, 0.98);
		border-bottom: 1px solid var(--lb-line);
	}

	.lb-nav.is-open {
		display: flex;
	}

	.lb-nav__link {
		padding: 12px 4px;
		font-size: 17px;
		border-bottom: 1px solid rgba(167, 139, 218, 0.14);
	}

	.lb-nav__cta {
		margin-top: 12px;
	}

	.lb-header__inner {
		position: relative;
	}

	.lb-hero {
		padding-top: 56px;
		padding-bottom: 64px;
	}

	.lb-form {
		padding: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.lb-card,
	.lb-btn {
		transition: none;
	}
}

/* ------------------------------------------------------------------ */
/* Prose (secondary pages)                                             */
/* ------------------------------------------------------------------ */
.lb-prose h2,
.lb-prose h3 {
	font-family: var(--lb-font-display);
	color: var(--lb-text);
	margin-top: 2em;
}

.lb-prose p,
.lb-prose li {
	color: var(--lb-text-soft);
	line-height: 1.7;
}

.lb-prose a {
	border-bottom: 1px solid var(--lb-line-strong);
}
