:root {
	--page-background: #f7f1ea;
	--page-text: #2b211d;
	--page-link: #8b3d18;
	--hero-accent: #b45728;
	--hero-accent-soft: rgba(180, 87, 40, 0.1);
	--card-background: rgba(255, 255, 255, 0.58);
	--card-background-strong: rgba(255, 255, 255, 0.66);
	--card-header-background: rgba(139, 61, 24, 0.08);
	--card-border: rgba(82, 54, 42, 0.16);
	--card-shadow: 0 24px 60px rgba(80, 51, 38, 0.12);
	--muted-text: #6b625f;
	--pill-background: rgba(255, 247, 240, 0.92);
	--pill-border: rgba(139, 61, 24, 0.16);
	--hero-panel-background: linear-gradient(145deg, rgba(255, 252, 248, 0.62), rgba(249, 239, 231, 0.52));
	--secondary-button-text: #5a453b;
	--secondary-button-border: #9c8474;
	--secondary-button-hover-background: #5a453b;
	--secondary-button-hover-text: #f7f1ea;
}

:root[data-theme="dark"] {
	--page-background: #171311;
	--page-text: #f2e7dd;
	--page-link: #f0aa7f;
	--page-link-hover: #f0d5c6;
	--hero-accent: #f0aa7f;
	--hero-accent-soft: rgba(240, 170, 127, 0.14);
	--card-background: rgba(37, 29, 25, 0.74);
	--card-background-strong: rgba(42, 33, 29, 0.78);
	--card-header-background: rgba(240, 170, 127, 0.12);
	--card-border: rgba(240, 170, 127, 0.18);
	--card-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
	--muted-text: #c4b2a8;
	--pill-background: rgba(59, 45, 40, 0.9);
	--pill-border: rgba(240, 170, 127, 0.22);
	--hero-panel-background: linear-gradient(145deg, rgba(45, 35, 31, 0.74), rgba(27, 21, 19, 0.68));
	--secondary-button-text: #f0d5c6;
	--secondary-button-border: #d0a287;
	--secondary-button-hover-background: #f0d5c6;
	--secondary-button-hover-text: #2c201b;
}

body {
	color: var(--page-text);
	font-family: "Source Sans 3", sans-serif;
	min-height: 100vh;
	background: transparent;
}

html {
	min-height: 100%;
	background: var(--page-background);
	background-image:
		radial-gradient(circle at top left, rgba(208, 132, 91, 0.18), transparent 28%),
		radial-gradient(circle at top right, rgba(126, 82, 61, 0.12), transparent 22%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 36%);
}

body.container {
	max-width: 1140px;
	padding-top: 1.5rem;
	padding-bottom: 3rem;
}

/* Keep the animated canvas behind the layout while letting the existing gradient stay visible. */
body > *:not(.site-background-canvas):not(.site-background-clip-defs) {
	position: relative;
	z-index: 1;
}

.site-background-canvas {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.site-background-clip-defs {
	position: fixed;
	width: 0;
	height: 0;
	pointer-events: none;
}

h1,
h2,
h3 {
	font-family: "Fraunces", serif;
	letter-spacing: -0.03em;
}

p,
li {
	font-size: 1.06rem;
	line-height: 1.65;
}

a,
.btn:hover {
	text-decoration: none;
}

a {
	color: var(--page-link);
}

a:hover {
	color: var(--page-link-hover, var(--page-link));
	text-decoration: underline;
}

.card {
	background: var(--card-background);
	border: 1px solid var(--card-border);
	border-radius: 1.25rem;
	box-shadow: var(--card-shadow);
	overflow: hidden;
}

.card,
.detail-card,
.hero-note,
.pricing-note,
.testimonial-quote {
	backdrop-filter: blur(12px);
}

.card-header {
	background: var(--card-header-background);
	border-bottom: 1px solid var(--card-border);
	padding: 1.1rem 1.35rem;
}

.card-header h2,
.card-header h3 {
	margin-bottom: 0;
}

.card-body {
	padding: 1.35rem;
}

.text-muted {
	color: var(--muted-text) !important;
}

.btn-primary {
	background: var(--hero-accent);
	border-color: var(--hero-accent);
	box-shadow: 0 12px 30px rgba(139, 61, 24, 0.22);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background: var(--page-link);
	border-color: var(--page-link);
}

.btn-check:focus+.btn-primary,
.btn-primary:focus {
	box-shadow: 0 12px 30px rgba(139, 61, 24, 0.22);
}

.btn-outline-secondary {
	border-color: var(--secondary-button-border);
	color: var(--secondary-button-text);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
	background: var(--secondary-button-hover-background);
	border-color: var(--secondary-button-hover-background);
	color: var(--secondary-button-hover-text);
}

.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 1rem;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--pill-border);
	border-radius: 999px;
	background: var(--pill-background);
	color: var(--hero-accent);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hero-panel {
	background: var(--hero-panel-background);
}

.hero-panel .card-body {
	padding: 1.75rem;
}

.hero-copy {
	max-width: 40rem;
}

.hero-copy .display-3 {
	margin-bottom: 1rem;
	font-size: clamp(2.7rem, 7vw, 4.6rem);
	line-height: 0.95;
}

.hero-copy .lead {
	font-size: 1.3rem;
	line-height: 1.5;
}

.hero-note {
	height: 100%;
	padding: 1.3rem;
	border: 1px solid var(--card-border);
	border-radius: 1rem;
	background: var(--card-background-strong);
}

.hero-note h2 {
	margin-bottom: 0.7rem;
	font-size: 1.7rem;
}

.trust-list,
.bullet-list,
.step-list,
.mini-list {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

.trust-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

.trust-list li,
.mini-list li {
	margin-bottom: 0;
}

.trust-list span,
.mini-list span {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--pill-border);
	border-radius: 999px;
	background: var(--pill-background);
	font-size: 0.96rem;
	font-weight: 600;
}

.bullet-list li,
.step-list li {
	position: relative;
	margin-bottom: 0.95rem;
	padding-left: 1.35rem;
}

.bullet-list li:last-child,
.step-list li:last-child {
	margin-bottom: 0;
}

.bullet-list li::before,
.step-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72rem;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--hero-accent);
}

.step-list li {
	padding-left: 3.1rem;
}

.step-list li::before {
	top: 0.15rem;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
}

.step-list li:nth-child(1)::before {
	content: "1";
}

.step-list li:nth-child(2)::before {
	content: "2";
}

.step-list li:nth-child(3)::before {
	content: "3";
}

.detail-card {
	height: 100%;
	padding: 1.35rem;
	border: 1px solid var(--card-border);
	border-radius: 1.1rem;
	background: var(--card-background-strong);
}

.detail-card h2,
.detail-card h3 {
	margin-bottom: 0.7rem;
	font-size: 1.65rem;
}

.detail-card p:last-child,
.testimonial-card p:last-child {
	margin-bottom: 0;
}

.split-note {
	display: grid;
	gap: 1rem;
}

.split-note .detail-card {
	box-shadow: none;
}

.eyebrow {
	color: var(--hero-accent);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.testimonial-card {
	padding: 1.6rem;
}

.testimonial-quote {
	margin-bottom: 1rem;
	padding: 1.2rem 1.3rem;
	border-left: 4px solid var(--hero-accent);
	border-radius: 0.9rem;
	background: var(--hero-accent-soft);
}

.testimonial-quote p {
	margin-bottom: 0;
	font-size: 1.18rem;
}

.project-item {
	padding: 1rem 0;
	border-top: 1px solid var(--card-border);
}

.project-item:first-of-type {
	padding-top: 0.25rem;
	border-top: 0;
}

.project-item:last-of-type {
	padding-bottom: 0;
}

.project-item h3 {
	margin-bottom: 0.35rem;
	font-size: 1.45rem;
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 0.8rem;
}

.project-tags span {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: var(--pill-background);
	border: 1px solid var(--pill-border);
	font-size: 0.92rem;
	font-weight: 600;
}

.pricing-note {
	padding: 1rem;
	border-radius: 1rem;
	background: var(--hero-accent-soft);
}

@media (max-width: 767.98px) {
	body.container {
		padding-top: 1rem;
	}

	.hero-panel .card-body,
	.card-body,
	.card-header {
		padding-left: 1.1rem;
		padding-right: 1.1rem;
	}

	.hero-copy .lead {
		font-size: 1.15rem;
	}

	.step-list li {
		padding-left: 2.8rem;
	}
}
