/* =========================================================
   Vendora — About page (assets/css/about.css)
   Single-column, brand-focused layout:
   hero -> who we are -> why we built this -> value cards
   -> review steps -> business CTA -> contact form -> disclosure.
   Reuses the shared design tokens (see style.css :root).
   ========================================================= */

/* White content card so text sits on a solid surface (the body
   background is a photo). Inner cards use the inset tone for depth.
   NOTE: no `margin: 0 auto` here — .vd-main is a column flexbox, where
   auto cross-margins shrink the card to its content width (narrow cards
   on prose-only pages like FAQ/Terms/Privacy). Default stretch keeps it
   full-width like the About page. */
.vd-about {
	margin: 0;
	padding: 20px 30px 30px;
	background: var(--vd-card);
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius);
	box-shadow: var(--vd-shadow);
}

/* Breadcrumb: flatten into the white container (it already sits on white). */
.vd-about .vd-crumb-card {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	margin-bottom: 20px;
}

/* ---------- 1 · Hero ---------- */

.vd-about-hero {
	text-align: center;
	padding: 24px 20px 8px;
}

.vd-about-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--vd-primary);
	background: var(--vd-primary-soft);
	border: 1px solid var(--vd-primary-border);
	padding: 5px 13px;
	border-radius: 999px;
	margin-bottom: 18px;
}

.vd-about-title {
	font-family: 'Montserrat', var(--vd-font);
	font-weight: 800;
	font-size: 40px;
	line-height: 1.1;
	letter-spacing: -.02em;
	margin-bottom: 12px;
}

.vd-about-tagline {
	font-size: 18px;
	font-weight: 600;
	color: var(--vd-primary);
	margin-bottom: 12px;
}

.vd-about-lead {
	max-width: 660px;
	margin: 0 auto;
	font-size: 16px;
	color: var(--vd-text-2);
}

/* ---------- Shared section scaffolding ---------- */

.vd-about-section {
	padding: 34px 0;
	border-top: 1px solid var(--vd-border);
	margin-top: 26px;
}

.vd-about-h {
	font-family: 'Montserrat', var(--vd-font);
	font-weight: 800;
	font-size: 26px;
	letter-spacing: -.01em;
	margin-bottom: 14px;
}

.vd-about-sub-h {
	color: var(--vd-text-2);
	margin-bottom: 18px;
	max-width: 660px;
}

.vd-about-prose {
	max-width: 740px;
}

.vd-about-prose p {
	color: var(--vd-text-2);
	margin-bottom: 12px;
}

.vd-about-prose p:last-child {
	margin-bottom: 0;
}

/* ---------- 4 · Value cards ---------- */

.vd-about-values {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 6px;
}

.vd-about-value {
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius);
	padding: 22px;
}

.vd-about-value-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: var(--vd-primary-soft);
	color: var(--vd-primary);
	margin-bottom: 14px;
}

.vd-about-value-ic svg {
	width: 20px;
	height: 20px;
}

.vd-about-value h3 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 6px;
}

.vd-about-value p {
	font-size: 14px;
	color: var(--vd-text-2);
}

/* ---------- 5 · Review steps ---------- */

.vd-about-steps {
	display: grid;
	gap: 12px;
	max-width: 740px;
}

.vd-about-step {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius-sm);
	padding: 16px 18px;
}

.vd-about-step-n {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 15px;
	color: #fff;
	background: linear-gradient(135deg, var(--vd-primary-2), var(--vd-primary));
}

.vd-about-step h3 {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 4px;
}

.vd-about-step h3 svg {
	width: 16px;
	height: 16px;
	color: var(--vd-primary);
}

.vd-about-step p {
	font-size: 14px;
	color: var(--vd-text-2);
}

/* ---------- 6 · Business CTA ---------- */

.vd-about-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 10px;
	background: linear-gradient(120deg, var(--vd-primary), #0369a1);
	border-radius: var(--vd-radius);
	padding: 28px 30px;
	color: #fff;
	box-shadow: 0 10px 30px rgba(2, 132, 199, .28);
}

.vd-about-cta-text h2 {
	font-family: 'Montserrat', var(--vd-font);
	font-weight: 800;
	font-size: 22px;
	margin-bottom: 6px;
}

.vd-about-cta-text p {
	font-size: 14px;
	opacity: .92;
	max-width: 520px;
}

.vd-about-cta-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: var(--vd-primary);
	font-weight: 700;
	font-size: 15px;
	padding: 13px 22px;
	border-radius: 999px;
	white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease;
}

.vd-about-cta-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}

.vd-about-cta-btn svg {
	width: 18px;
	height: 18px;
}

/* ---------- 7 · Contact form ---------- */

.vd-about-contact .vd-about-h {
	margin-bottom: 6px;
}

.vd-about-form {
	margin-top: 18px;
	max-width: 640px;
}

.vd-about-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.vd-about-field {
	margin-bottom: 16px;
}

.vd-about-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}

.vd-about-field .req {
	color: var(--vd-red);
}

.vd-about-field input,
.vd-about-field textarea {
	width: 100%;
	font-size: 14px;
	color: var(--vd-text);
	background: var(--vd-field);
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius-sm);
	padding: 11px 13px;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.vd-about-field textarea {
	resize: vertical;
	min-height: 120px;
}

.vd-about-field input:focus,
.vd-about-field textarea:focus {
	background: #fff;
	border-color: var(--vd-primary);
	box-shadow: 0 0 0 3px var(--vd-primary-soft);
}

.vd-about-form-actions {
	margin-top: 4px;
}

.vd-about-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, var(--vd-primary-2), var(--vd-primary));
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	padding: 13px 24px;
	border-radius: 999px;
	box-shadow: 0 6px 16px rgba(2, 132, 199, .28);
	transition: transform .15s ease, box-shadow .15s ease;
}

.vd-about-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(2, 132, 199, .35);
}

.vd-about-btn svg {
	width: 16px;
	height: 16px;
}

.vd-about-form-msg {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	padding: 11px 14px;
	border-radius: var(--vd-radius-sm);
	margin-bottom: 14px;
	max-width: 640px;
}

.vd-about-form-msg svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.vd-about-form-msg.ok {
	background: var(--vd-green-soft);
	color: var(--vd-green);
	border: 1px solid rgba(22, 163, 74, .25);
}

.vd-about-form-msg.err {
	background: var(--vd-red-soft);
	color: var(--vd-red);
	border: 1px solid rgba(220, 38, 38, .2);
}

/* ---------- 8 · Disclosure ---------- */

.vd-about-disclosure {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--vd-border);
	font-size: 12px;
	color: var(--vd-text-3);
	max-width: 740px;
}

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
	.vd-about {
		padding: 16px 16px 20px;
	}

	.vd-about-title {
		font-size: 30px;
	}

	.vd-about-tagline {
		font-size: 16px;
	}

	.vd-about-h {
		font-size: 22px;
	}

	.vd-about-values {
		grid-template-columns: 1fr;
	}

	.vd-about-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.vd-about-cta-btn {
		width: 100%;
		justify-content: center;
	}

	.vd-about-form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

/* =========================================================
   Help page (page-help.php) — reuses the .vd-about card above.
   ========================================================= */

/* Browse-by-topic quick links */
.vd-help-topics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 6px;
}

.vd-help-topic {
	display: block;
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius);
	padding: 22px;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.vd-help-topic:hover {
	transform: translateY(-2px);
	border-color: var(--vd-primary-border);
	box-shadow: var(--vd-shadow);
}

.vd-help-topic-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: var(--vd-primary-soft);
	color: var(--vd-primary);
	margin-bottom: 14px;
}

.vd-help-topic-ic svg {
	width: 20px;
	height: 20px;
}

.vd-help-topic h3 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 6px;
}

.vd-help-topic p {
	font-size: 14px;
	color: var(--vd-text-2);
}

/* FAQ accordion (native <details>) */
.vd-help-faq {
	display: grid;
	gap: 10px;
	max-width: 740px;
}

.vd-help-faq-item {
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius-sm);
	overflow: hidden;
}

.vd-help-faq-item summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	font-size: 15px;
	font-weight: 600;
}

.vd-help-faq-item summary::-webkit-details-marker {
	display: none;
}

.vd-help-faq-item summary::after {
	content: '+';
	flex: 0 0 auto;
	font-size: 22px;
	line-height: 1;
	color: var(--vd-primary);
	transition: transform .2s ease;
}

.vd-help-faq-item[open] summary::after {
	content: '\2212';
}

.vd-help-faq-item p {
	padding: 0 18px 16px;
	margin: 0;
	font-size: 14px;
	color: var(--vd-text-2);
}

@media (max-width: 720px) {
	.vd-help-topics {
		grid-template-columns: 1fr;
	}
}

/* ---------- Estimator (ROI calculator) ---------- */

.vd-est-calc {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 24px;
}

.vd-est-inputs {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.vd-est-field label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--vd-text-2);
	margin-bottom: 8px;
}

.vd-est-input-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.vd-est-affix {
	font-size: 14px;
	font-weight: 500;
	color: var(--vd-text-3);
	white-space: nowrap;
}

.vd-est-field input {
	flex: 1;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius-sm);
	font-size: 15px;
	font-family: inherit;
	background: var(--vd-card);
	color: var(--vd-text);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.vd-est-field input:focus {
	outline: none;
	border-color: var(--vd-primary);
	box-shadow: 0 0 0 3px var(--vd-primary-soft);
}

.vd-est-field input::-webkit-outer-spin-button,
.vd-est-field input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.vd-est-field input[type='number'] {
	-moz-appearance: textfield;
}

.vd-est-result {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	align-content: start;
}

.vd-est-stat {
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius-sm);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.vd-est-stat.hero {
	background: var(--vd-primary-soft);
	border-color: var(--vd-primary-border);
}

.vd-est-stat-label {
	font-size: 13px;
	font-weight: 500;
	color: var(--vd-text-3);
}

.vd-est-stat.hero .vd-est-stat-label {
	color: var(--vd-primary);
}

.vd-est-stat-val {
	font-family: 'Montserrat', var(--vd-font);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
	color: var(--vd-text);
}

.vd-est-stat.hero .vd-est-stat-val {
	color: var(--vd-primary);
}

.vd-est-stat.neg .vd-est-stat-val {
	color: var(--vd-red);
}

@media (max-width: 720px) {
	.vd-est-calc {
		grid-template-columns: 1fr;
	}
}

/* ---------- Solutions (use-case cards) ---------- */

.vd-sol-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 24px;
}

.vd-sol-card {
	background: var(--vd-card);
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius-sm);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.vd-sol-card:hover {
	border-color: var(--vd-primary-border);
	box-shadow: var(--vd-shadow);
	transform: translateY(-2px);
}

.vd-sol-ic {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--vd-primary-soft);
	color: var(--vd-primary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.vd-sol-ic svg {
	width: 22px;
	height: 22px;
}

.vd-sol-card h3 {
	font-family: 'Montserrat', var(--vd-font);
	font-size: 18px;
	font-weight: 700;
	color: var(--vd-text);
}

.vd-sol-desc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--vd-text-2);
}

.vd-sol-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vd-sol-tag {
	font-size: 12px;
	font-weight: 600;
	color: var(--vd-text-2);
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: 999px;
	padding: 4px 10px;
}

.vd-sol-link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--vd-primary);
}

.vd-sol-link svg {
	width: 16px;
	height: 16px;
	transition: transform .15s ease;
}

.vd-sol-card:hover .vd-sol-link svg {
	transform: translateX(3px);
}

@media (max-width: 720px) {
	.vd-sol-grid {
		grid-template-columns: 1fr;
	}
}
