/* Self-hosted Lexend (variable font, covers weights 100-900 incl. the
   400/500/600 the site uses) — avoids the fonts.googleapis.com request
   to Google's servers on every visit. */
@font-face {
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/lexend-variable.woff2') format('woff2');
}

/* Base */
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	color: #1a1a1a;
	background: #f9f9f9;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

@media (max-width: 600px) {
	.container {
		padding: 0 40px;
	}
}

.section {
	padding: 100px 0;
}

@media (max-width: 1024px) {
	.section {
		padding: 64px 0;
	}
}

@media (max-width: 600px) {
	.section {
		padding: 48px 0;
	}
}

.eyebrow {
	font-size: 14px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: #6b6b6b;
	font-weight: 500;
	margin: 0 0 12px;
}

.section-title {
	font-size: 48px;
	line-height: 1.25;
	font-weight: 400;
	margin: 0 0 16px;
}

@media (max-width: 768px) {
	.section-title {
		font-size: 32px;
	}
}

.accent {
	color: #9a0000;
}

.muted {
	color: #6b6b6b;
}

.lede {
	font-size: 18px;
	line-height: 1.55;
	color: #6b6b6b;
	max-width: 720px;
	margin: 0 0 32px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	cursor: pointer;
	border: 1px solid transparent;
	white-space: nowrap;
}

.btn-sm {
	padding: 9px 24px;
	font-size: 14px;
	line-height: 20px;
}

.btn-primary {
	background: #1a1a1a;
	color: #ffffff;
}

.btn-primary:hover {
	background: #333333;
}

.btn-outline {
	background: transparent;
	color: #1a1a1a;
	border-color: #1a1a1a;
}

.btn-outline:hover {
	background: #1a1a1a;
	color: #ffffff;
}

.btn-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #9a0000;
	font-size: 16px;
	font-weight: 500;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.btn-link:hover {
	text-decoration: underline;
}

/* Badges */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 500;
	border: 1px solid transparent;
}

.badge-green {
	background: rgba(20, 168, 0, 0.05);
	border-color: rgba(20, 168, 0, 0.3);
	color: #14a800;
}

.badge-dark {
	background: rgba(26, 26, 26, 0.05);
	border-color: rgba(26, 26, 26, 0.3);
	color: #1a1a1a;
}

.badge-blue {
	background: transparent;
	border-color: rgba(74, 111, 165, 0.3);
	color: #4a6fa5;
}

.badge-verified {
	background: rgba(74, 111, 165, 0.08);
	border-color: rgba(74, 111, 165, 0.3);
	color: #4a6fa5;
}

/* Card */
.card {
	background: #ffffff;
	border-radius: 15px;
	padding: 30px;
}

.card-number {
	color: #9a0000;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	font-size: 30px;
	display: block;
	margin-bottom: 60px;
}

.card-title {
	font-size: 20px;
	line-height: 1.4;
	font-weight: 400;
	margin: 0 0 12px;
}

.card-body {
	font-size: 14px;
	line-height: 1.625;
	color: #6b6b6b;
	margin: 0;
}

/* Bordered row list (steps / discovery deliverables) */
.row-list {
	border: 1px solid #e5e5e5;
	border-radius: 2px;
	overflow: hidden;
}

.case-row {
	padding: 24px;
}

.row-list-item {
	background: #f7f7f5;
	padding: 24px;
	border-bottom: 1px solid #e5e5e5;
}

.row-list-item:last-child {
	border-bottom: none;
}

.row-list-item .num {
	color: #1a1a1a;
	font-weight: 500;
	font-size: 14px;
	margin-right: 20px;
}

/* Header */
.site-header {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-left: 20px;
	padding-right: 20px;
}

.site-header .header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 100px;
	width: 100%;
}

.site-header .brand {
	display: flex;
	align-items: center;
	gap: 16px;
}

.site-header .brand img {
	width: 60px;
	height: auto;
}

.site-header .brand p {
	font-size: 14px;
	color: #6b6b6b;
	margin: 0;
}

.site-header nav {
	display: flex;
	gap: 30px;
}

.site-header nav a {
	font-size: 14px;
	color: #6b6b6b;
}

.site-header nav a:hover {
	color: #1a1a1a;
}

@media (max-width: 900px) {
	.site-header nav {
		display: none;
	}
}

/* Hero */
.hero {
	position: relative;
	background: linear-gradient(135deg, #dee8eb, #d8ddf1);
	overflow: hidden;
	margin: 0;
}

.hero .container {
	position: relative;
	padding-top: 100px;
	padding-bottom: 100px;
	z-index: 1;
}

.hero-image {
	position: absolute;
	top: 0;
	right: 0;
	width: 40%;
	height: 100%;
	object-fit: cover;
}

.hero h1 {
	font-size: 60px;
	line-height: 1.25;
	font-weight: 400;
	max-width: 790px;
	margin: 0 0 24px;
}

.hero .hero-sub {
	font-size: 20px;
	line-height: 1.4;
	color: #6b6b6b;
	max-width: 789px;
	margin: 0 0 32px;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.hero-micro {
	font-size: 14px;
	color: rgba(26, 26, 26, 0.75);
	margin: 0 0 20px;
}

.hero-note {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: rgba(26, 26, 26, 0.7);
}

@media (max-width: 1024px) {
	.hero h1 {
		font-size: 40px;
	}
	.hero-image {
		position: static;
		width: 100%;
		height: 260px;
		margin-bottom: 24px;
	}
}

@media (max-width: 600px) {
	.hero h1 {
		font-size: 25px;
		line-height: 1.25;
	}
	.hero-sub {
		font-size: 16px;
	}
	.hero-image {
		display: none;
	}
}

/* Grid helpers */
.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.step-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 60px;
}

.step-grid > div {
	padding-left: 40px;
	border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.step-grid > div:first-child {
	padding-left: 0;
	border-left: none;
}

@media (max-width: 900px) {
	.step-grid {
		grid-template-columns: 1fr;
	}
	.step-grid > div {
		padding-left: 0;
		border-left: none;
		padding-top: 24px;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
	}
	.step-grid > div:first-child {
		padding-top: 0;
		border-top: none;
	}
}

.grid-5 {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

@media (max-width: 900px) {
	.grid-2,
	.grid-3,
	.grid-5 {
		grid-template-columns: 1fr;
	}
}

.two-col-sticky {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

.two-col-sticky .sticky-col {
	position: sticky;
	top: 40px;
}

.two-col-sticky.wide-left {
	grid-template-columns: 1.5fr 1fr;
}

@media (max-width: 900px) {
	.two-col-sticky,
	.two-col-sticky.wide-left {
		grid-template-columns: 1fr;
	}
	.two-col-sticky .sticky-col {
		position: static;
	}
}

/* Stat tiles */
.stat-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid #e5e5e5;
	border-radius: 2px;
	overflow: hidden;
	background: #e5e5e5;
	gap: 1px;
}

.stat-row-flat {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: #f7f7f5;
}

.stat-row-flat .stat-tile {
	background: transparent;
}

@media (max-width: 700px) {
	.stat-row-flat {
		grid-template-columns: 1fr;
	}
}

.stat-tile {
	background: #ffffff;
	padding: 32px;
	text-align: center;
}

.stat-tile .stat-num {
	font-size: 30px;
	color: #1a1a1a;
	margin: 0 0 8px;
}

.stat-tile .stat-label {
	font-size: 12px;
	color: #6b6b6b;
	margin: 0;
}

@media (max-width: 700px) {
	.stat-row {
		grid-template-columns: 1fr;
	}
}

/* Testimonial / review card */
.review-card {
	background: #f7f7f5;
	border: 1px solid #e5e5e5;
	border-radius: 2px;
	padding: 32px;
}

.review-screenshot {
	border-radius: 4px;
	width: 100%;
	border: 1px solid #e5e5e5;
}

.review-top {
	display: grid;
	grid-template-columns: 40px 1fr auto;
	grid-template-areas:
		"avatar tags   rating"
		"avatar badge  rating";
	align-items: center;
	column-gap: 16px;
	margin-bottom: 24px;
}

.review-avatar {
	grid-area: avatar;
	width: 40px;
	height: 40px;
}

.review-tags {
	grid-area: tags;
	font-size: 12px;
	margin: 0 0 4px;
}

.review-upwork {
	grid-area: badge;
	justify-self: start;
}

.review-rating {
	grid-area: rating;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
	justify-self: end;
}

.review-attribution {
	border-top: 1px solid #e5e5e5;
	padding-top: 16px;
	margin-top: 16px;
	font-size: 12px;
	font-weight: 500;
	color: #1a1a1a;
}

/* FAQ accordion */
.faq-item {
	border: 1px solid #e5e5e5;
	background: #f7f7f5;
	border-radius: 2px;
	margin-bottom: -1px;
}

.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	background: none;
	border: none;
	font-family: inherit;
	font-size: 16px;
	text-align: left;
	cursor: pointer;
}

.faq-question .icon {
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.faq-item.open .faq-question .icon {
	transform: rotate(45deg);
}

.faq-answer {
	display: none;
	padding: 0 24px 20px;
	color: #6b6b6b;
	font-size: 14px;
	line-height: 1.6;
}

.faq-item.open .faq-answer {
	display: block;
}

/* Quiz teaser inline widget */
.quiz-teaser {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	padding-top: 100px;
	padding-bottom: 100px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
	.quiz-teaser {
		padding-top: 64px;
		padding-bottom: 64px;
	}
}

@media (max-width: 900px) {
	.quiz-teaser {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 600px) {
	.quiz-teaser {
		padding-top: 48px;
		padding-bottom: 48px;
	}
}

.quiz-progress-track {
	height: 2px;
	background: #e5e5e5;
	border-radius: 999px;
	margin: 8px 0 24px;
}

.quiz-progress-fill {
	height: 2px;
	background: #1a1a1a;
	border-radius: 999px;
	width: 20%;
}

.quiz-option {
	display: block;
	width: 100%;
	text-align: left;
	padding: 12px 16px;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	background: #ffffff;
	font-family: inherit;
	font-size: 16px;
	cursor: pointer;
	margin-bottom: 12px;
}

.quiz-option:hover,
.quiz-option.selected {
	border-color: #1a1a1a;
}

/* Popup modal */
.bauart-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(40, 40, 40, 0.7);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	padding: 20px;
}

.bauart-modal-overlay.open {
	display: flex;
}

.bauart-modal {
	background: #ffffff;
	max-width: 600px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 4px;
	padding: 40px;
	position: relative;
}

.bauart-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 26px;
	height: 26px;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	color: #1a1a1a;
}

.bauart-modal h2 {
	font-size: 32px;
	font-weight: 400;
	margin: 0 0 16px;
}

.bauart-modal p.modal-lede {
	color: rgba(26, 26, 26, 0.85);
	font-size: 16px;
	line-height: 1.4;
	margin: 0 0 24px;
}

.form-field {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	font-family: inherit;
	font-size: 16px;
	margin-bottom: 16px;
}

/* Honeypot: off-screen, not display:none, so it stays in the tab/DOM
   flow that simple bots fill blindly, while real visitors never see it. */
.bauart-hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.form-check {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	margin-bottom: 24px;
}

.lead-form-success {
	background: rgba(20, 168, 0, 0.06);
	border: 1px solid rgba(20, 168, 0, 0.3);
	border-radius: 4px;
	padding: 24px;
	font-size: 16px;
	color: #1a1a1a;
	text-align: center;
}

.form-error {
	color: #9a0000;
	font-size: 14px;
	margin: -8px 0 16px;
}

.form-check input {
	width: 20px;
	height: 20px;
}

/* Inline icon */
.icon-inline {
	width: 20px;
	height: 20px;
	vertical-align: -4px;
	display: inline-block;
}

/* Custom checkbox with exported check icon */
.custom-checkbox {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	margin-bottom: 24px;
	cursor: pointer;
}

.custom-checkbox input {
	position: absolute;
	opacity: 0;
	width: 26px;
	height: 26px;
	margin: 0;
	cursor: pointer;
}

.custom-checkbox .box {
	position: relative;
	width: 26px;
	height: 26px;
	border: 2px solid #e5e5e5;
	border-radius: 2px;
	flex-shrink: 0;
}

.custom-checkbox .box img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 3px;
	opacity: 0;
}

.custom-checkbox input:checked ~ .box img {
	opacity: 1;
}

/* Quiz full modal */
.quiz-modal .quiz-step {
	display: none;
}

.quiz-modal .quiz-step.active {
	display: block;
}

.quiz-step-label {
	font-size: 12px;
	color: #6b6b6b;
	margin-bottom: 8px;
}

.quiz-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 24px;
}

/* Footer */
.site-footer {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding: 25px 20px;
}

.site-footer .footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	width: 100%;
}

.site-footer .tagline {
	font-size: 14px;
	color: #6b6b6b;
}

.site-footer .copyright {
	font-size: 12px;
	color: rgba(107, 107, 107, 0.6);
}

.site-footer img {
	width: 48px;
	height: auto;
}

/* Mobile refinements (matches Pixso 400px mobile frame) */
@media (max-width: 600px) {
	.site-header,
	.site-footer {
		padding-left: 40px;
		padding-right: 40px;
	}

	.section-title {
		font-size: 25px;
		line-height: 1.3;
	}

	.btn-primary {
		width: 100%;
	}

	.site-header .btn-primary,
	.site-header .btn-outline {
		width: auto;
	}

	.stat-tile {
		text-align: center;
	}

	.uncover-row {
		flex-direction: column !important;
	}

	.uncover-row > div {
		flex-basis: auto !important;
	}

	.site-header .brand p {
		display: none;
	}

	.case-row {
		flex-direction: column;
		align-items: flex-start !important;
	}

	.case-row-main {
		flex-direction: column;
		align-items: flex-start !important;
	}

	.case-logo {
		width: 80px !important;
	}

	.case-plus {
		position: absolute;
		top: 24px;
		right: 24px;
	}

	.site-footer .footer-row {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 16px;
	}

	.site-footer .footer-row > .wp-block-group {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	.review-card {
		background: none;
		border: none;
		padding: 0;
	}

	.review-top {
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"badge rating"
			"tags  tags";
		column-gap: 12px;
		row-gap: 8px;
	}

	.review-avatar,
	.review-attribution {
		display: none;
	}

	.review-upwork {
		justify-self: start;
	}
}

/* Admin-only empty-state placeholder (hidden from visitors) */
.bauart-empty-state {
	border: 1px dashed rgba(154, 0, 0, 0.4);
	background: rgba(154, 0, 0, 0.04);
	border-radius: 8px;
	padding: 24px;
	margin-top: 24px;
}

.bauart-empty-state p {
	margin: 0 0 12px;
	font-size: 14px;
	color: #6b6b6b;
}

.bauart-empty-state p:first-child {
	color: #9a0000;
}

/* Legal / long-form content pages (e.g. Privacy Policy) */
.legal-content {
	max-width: 760px;
}

.legal-content .section-title {
	font-size: 40px;
	margin-bottom: 32px;
}

.legal-content h2 {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	margin: 40px 0 12px;
}

.legal-content h2:first-of-type {
	margin-top: 0;
}

.legal-content p {
	font-size: 16px;
	line-height: 1.7;
	color: #6b6b6b;
	margin: 0 0 16px;
}

.legal-content a {
	color: #9a0000;
	text-decoration: underline;
}

@media (max-width: 768px) {
	.legal-content .section-title {
		font-size: 28px;
	}

	.legal-content h2 {
		font-size: 19px;
		margin: 32px 0 10px;
	}

	.legal-content p {
		font-size: 15px;
	}
}
