/*
Theme Name:   Candid Research
Theme URI:    https://candidresearch.com
Description:  Child theme of Astra for Candid Research.
Author:       Candid Research, Inc.
Template:     astra
Version:      1.1.5
Text Domain:  candid
*/

/* Tokens */

:root {
	/* Blues */
	--cr-blue:        #0b56c5;
	--cr-blue-dark:   #073b88;
	--cr-blue-line:   #1f5fcf;

	/* Text */
	--cr-ink:         #07152f;
	--cr-text:        #0b1736;
	--cr-muted:       #34415c;
	--cr-soft:        #607089;
	--cr-gray:        #8a94a6;

	/* Backgrounds and borders */
	--cr-white:       #ffffff;
	--cr-tint:        #f4f9ff;
	--cr-tint-2:      #eef5ff;
	--cr-border:      #cbd7ea;
	--cr-border-soft: #d9e2f2;
	--cr-line:        #e5e9f0;
	--cr-divider:     linear-gradient(to right, transparent, var(--cr-border), transparent);
	--cr-shadow:      #07152f14;
	--cr-shadow-soft: #07152f0d;
	--cr-shadow-card: #10284f14;
	--cr-shadow-card-hover: #10284f1f;
	--cr-shadow-btn: #10284f2e;
	
	/* Alerts */
	--cr-red:         #d93a4a;
	--cr-red-tint:    #fdecee;
	--cr-green:       #28a745;
	
	/* Footer */
	--cr-footer:      #07152f;
	--cr-footer-text: #c3cee0;
	--cr-footer-line: #4a5875;

	/* Fonts */
	--cr-font-body:    Arial, Helvetica, sans-serif;
	--cr-font-heading: 'Roboto', Arial, Helvetica, sans-serif;

	/* Layout */
	--cr-max-width:   1100px;
	--cr-radius:      12px;
}

/* Base */

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

body {
	margin: 0;
	background: var(--cr-white);
	color: var(--cr-text);
	font-family: var(--cr-font-body);
	font-size: 16px;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--cr-font-heading);
	font-weight: 400;
	color: var(--cr-ink);
	line-height: 1.2;
}

a {
	color: var(--cr-blue);
}

a:hover,
a:focus {
	color: var(--cr-blue-dark);
}

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

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

.candid-label {
	margin: 0;
	color: var(--cr-gray);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-align: center;
	text-transform: uppercase;
}

.candid-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--cr-blue);
	color: var(--cr-white);
}

.candid-skip-link:focus {
	left: 16px;
	top: 16px;
	color: var(--cr-white);
}

/* Helpers */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-muted  { color: var(--cr-soft); }

.font-weight-bold { font-weight: 700; }
.font-italic      { font-style: italic; }

.list-unstyled {
	list-style: none;
	padding-left: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Wrapper */

.candid-wrap {
	max-width: var(--cr-max-width);
	margin: 0 auto;
	padding: 35px 24px 60px;
}

/* Buttons */

.candid-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 34px;
	border: 2px solid var(--cr-blue);
	border-radius: 6px;
	background: var(--cr-blue);
	color: var(--cr-white);
	font-family: var(--cr-font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.candid-btn:hover,
.candid-btn:focus {
	background: var(--cr-blue-dark);
	border-color: var(--cr-blue-dark);
	color: var(--cr-white);
}

.candid-btn--outline {
	background: var(--cr-white);
	color: var(--cr-blue);
}

.candid-btn--outline:hover,
.candid-btn--outline:focus {
	background: var(--cr-blue);
	border-color: var(--cr-blue);
	color: var(--cr-white);
}

.candid-btn:focus-visible {
	outline: 3px solid var(--cr-blue-line);
	outline-offset: 2px;
}

.candid-btn-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

/* Section titles */

.candid-section-title {
	margin: 0 0 24px;
	color: var(--cr-blue);
	font-size: 30px;
	font-weight: 400;
	text-align: center;
}

.candid-section-intro {
	margin: -16px 0 28px;
	color: var(--cr-muted);
	font-size: 17px;
	line-height: 1.6;
	text-align: center;
}

/* CTA */

.candid-cta {
	margin-top: 55px;
	padding: 42px 24px;
	border-radius: var(--cr-radius);
	background: var(--cr-tint);
	text-align: center;
}

.candid-cta .candid-cta-note {
	margin: 16px 0 0;
	color: var(--cr-muted);
	font-size: 16px;
	line-height: 1.7;
}

.candid-cta-note a {
	font-weight: 700;
	text-decoration: none;
}

/* PBSA logo */

.candid-pbsa {
	padding-top: 40px;
	text-align: center;
}

.candid-pbsa img {
	display: block;
	width: 110px;
	height: auto;
	margin: 0 auto;
}


/* Features */

.candid-features {
	margin: 55px 0;
}

.candid-hero + .candid-features {
	margin-top: 35px;
}

.candid-features-grid {
	display: grid;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
}

.candid-feature {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 0 26px;
}

.candid-feature:not(:last-child) {
	border-right: 1px solid var(--cr-border-soft);
}

.candid-feature-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--cr-tint-2);
	color: var(--cr-blue);
	font-size: 28px;
}

.candid-feature h3 {
	margin: 0 0 6px;
	font-size: 17px;
}

.candid-feature p {
	margin: 0;
	color: var(--cr-muted);
	font-size: 15px;
}

.candid-features-grid:has(> :nth-child(4)) .candid-feature {
	gap: 14px;
	padding: 0 18px;
}

.candid-features-grid:has(> :nth-child(4)) .candid-feature-icon {
	width: 56px;
	height: 56px;
	font-size: 24px;
}

/* Mobile */

@media (max-width: 800px) {
	.candid-features-grid {
		grid-auto-flow: row;
	}

	.candid-feature,
	.candid-features-grid:has(> :nth-child(4)) .candid-feature {
		padding: 18px 0;
	}

	.candid-feature:not(:last-child) {
		border-right: 0;
		border-bottom: 1px solid var(--cr-border-soft);
	}
}