/* =========================================================
   PAYROLL SYSTEMS GOOGLE ADS LANDING PAGE
   ========================================================= */


/* =========================================================
   VARIABLES / BASE
   ========================================================= */

.ps-landing {
	--ps-navy: #005288;
	--ps-blue: #2D8ACA;
	--ps-light-blue: #EAF4FA;
	--ps-text: #31383D;
	--ps-muted: #66727A;
	--ps-white: #FFFFFF;
	--ps-border: #D6E2E9;
	--ps-gray: #8F9194;
	--ps-muted: #66727a;

	--ps-container: 1200px;
	--ps-gutter: clamp(20px, 4vw, 48px);

	color: var(--ps-text);
	background: var(--ps-white);

	font-family: "Roboto", Arial, sans-serif;
	font-size: 18px;
	line-height: 1.6;
}

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

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

.ps-container {
	width: min(
		calc(100% - (var(--ps-gutter) * 2)),
		var(--ps-container)
	);

	margin-inline: auto;
}

.ps-landing-page {
	scroll-behavior: smooth;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.ps-landing h1,
.ps-landing h2,
.ps-landing h3,
.ps-landing h4 {
	color: var(--ps-navy);
	font-weight: 900;
	line-height: 1.15;
}

.ps-landing p {
	margin-top: 0;
}

.ps-landing a {
	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.ps-section-heading h2 {
	margin: 0;
	font-size: clamp(2rem, 3.5vw, 3rem);
	letter-spacing: -0.025em;
	color: var(--ps-blue);
}


/* =========================================================
   HEADER
   ========================================================= */

.ps-landing__header {
	position: relative;
	z-index: 10;

	background: var(--ps-white);
	border-bottom: 1px solid var(--ps-border);
}

.ps-landing__header-inner {
	min-height: 92px;

	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 32px;
	padding-block: 12px;
}

.ps-landing__logo {
	display: block;
	flex: 0 1 260px;
}

.ps-landing__logo img {
	display: block;

	width: 100%;
	max-width: 240px;
	height: auto;
}

.ps-landing__header-actions {
	display: flex;
	align-items: center;

	gap: 28px;
}

.ps-landing__phone {
	color: var(--ps-navy);

	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
}

.ps-landing__phone:hover,
.ps-landing__phone:focus-visible {
	color: var(--ps-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ps-landing__phone-label {
	margin-right: 0.3em;

	font-weight: 400;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.ps-button,
.ps-button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 54px;

	padding: 14px 26px;

	background: var(--ps-blue);
	color: var(--ps-white);

	border: 2px solid var(--ps-blue);
	border-radius: 4px;

	font-size: 1rem;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;

	cursor: pointer;
}

.ps-button:hover,
.ps-button:focus-visible,
.ps-button:visited:hover,
.ps-button:visited:focus-visible {
	background: var(--ps-navy);
	border-color: var(--ps-navy);
	color: var(--ps-white);
}

.ps-button:focus-visible,
.ps-landing a:focus-visible {
	outline: 3px solid rgba(36, 107, 143, 0.35);
	outline-offset: 3px;
}

.ps-button--small {
	min-height: 46px;

	padding: 11px 20px;

	font-size: 0.9rem;
}

.ps-final-cta .ps-button {
	background: var(--ps-blue);
	border-color: var(--ps-white);
	color: var(--ps-white);
}

.ps-final-cta .ps-button:hover,
.ps-final-cta .ps-button:focus-visible {
	background: var(--ps-white);
	border-color: var(--ps-white);
	color: var(--ps-navy);
}


/* =========================================================
   HERO
   ========================================================= */

.ps-hero {
	position: relative;
	padding: clamp(64px, 8vw, 110px) 0;
	padding-bottom: clamp(90px, 10vw, 140px);
	background: linear-gradient(
	135deg,
	var(--ps-light-blue) 0%,
	var(--ps-light-blue) 45%,
	#D3EAF7 100%
);
}

.ps-hero::after {
	content: "";
	position: absolute;
	z-index: 1;
	left: 0;
	bottom: -1px;

	width: 100%;
	height: 65px;

	background: var(--ps-white);
	clip-path: polygon(
		0 65%,
		100% 0,
		100% 100%,
		0 100%
	);
}

.ps-hero__inner {
	display: grid;

	grid-template-columns:
		minmax(0, 1.05fr)
		minmax(360px, 0.95fr);

	align-items: center;

	gap: clamp(48px, 7vw, 90px);
}

.ps-hero__content {
	max-width: 680px;
}

.ps-hero h1 {
	margin: 0 0 24px;

	font-size: clamp(2.5rem, 5vw, 4.5rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.ps-hero__lead {
	margin: 0 0 22px;

	color: var(--ps-navy);

	font-size: clamp(1.3rem, 2.2vw, 1.7rem);
	font-weight: 400;
	line-height: 1.4;
}

.ps-hero__content > p:not(.ps-hero__lead) {
	max-width: 62ch;
	margin-bottom: 0;
}

.ps-hero__cta {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 34px;
}

.ps-hero__cta-note {
	max-width: 280px;
	margin: 0;

	color: var(--ps-gray);

	font-size: 0.9rem;
	line-height: 1.45;
}

.ps-hero__cta .ps-button {
	flex-shrink: 0;
}

.ps-hero__visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ps-hero__visual img {
	display: block;
	width: min(100%, 520px);
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
}


/* =========================================================
   Challenge Cards
   ========================================================= */

.ps-challenges {
	padding: clamp(70px, 8vw, 110px) 0;
	background: var(--ps-white);
}

.ps-challenges .ps-section-heading {
	max-width: 700px;
	margin-bottom: 42px;
}

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

.ps-challenge-card {
	position: relative;
	padding: 36px 32px 38px;

	background: var(--ps-white);
	border: 1px solid var(--ps-border);
	border-radius: 6px;
}

.ps-challenge-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 32px;

	width: 54px;
	height: 4px;

	background: var(--ps-blue);
}

.ps-challenge-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 58px;
	height: 58px;
	margin-bottom: 26px;

	color: var(--ps-blue);
}

.ps-challenge-card__icon svg {
	display: block;
	width: 52px;
	height: 52px;
}

.ps-challenge-card h3 {
	margin: 0 0 16px;

	color: var(--ps-navy);

	font-size: 1.3rem;
	line-height: 1.25;
}

.ps-challenge-card p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
}


/* =========================================================
   PERSONAL SERVICE
   ========================================================= */

.ps-service {
	padding: clamp(70px, 8vw, 110px) 0;
	background: var(--ps-light-blue);
}

.ps-service__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: center;
	gap: clamp(48px, 7vw, 90px);
}

.ps-service__visual img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
}

.ps-service__content {
	max-width: 620px;
}

.ps-service__content h2 {
	margin: 0 0 24px;

	font-size: clamp(2rem, 3.5vw, 3rem);
	letter-spacing: -0.025em;
}

.ps-service__lead {
	margin: 0 0 18px;

	color: var(--ps-gray);

	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.4;
}

.ps-service__content p {
	margin-bottom: 20px;
}

.ps-service__content .ps-button {
	margin-top: 10px;
}


/* =========================================================
   PROCESS
   ========================================================= */

.ps-process {
	padding: clamp(70px, 8vw, 110px) 0;
	background: var(--ps-white);
}

.ps-process .ps-section-heading {
	margin: 0 auto 54px;
	text-align: center;
}

.ps-process__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}

.ps-process-step {
	position: relative;
	padding-right: 48px;
}

.ps-process-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 34px;
	left: 82px;
	right: 24px;

	height: 2px;
	background: var(--ps-blue);
}

.ps-process-step__number {
	position: relative;
	z-index: 1;

	display: inline-block;
	padding-right: 16px;

	background: var(--ps-white);
	color: var(--ps-gray);

	font-size: 3.5rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
}

.ps-process-step h3 {
	max-width: 280px;
	margin: 24px 0 14px;

	color: var(--ps-navy);

	font-size: 1.25rem;
	line-height: 1.3;
}

.ps-process-step p {
	max-width: 330px;
	margin: 0;

	font-size: 0.95rem;
	line-height: 1.6;
}


/* =========================================================
   FAQ
   ========================================================= */

.ps-faq {
	padding: clamp(70px, 8vw, 110px) 0;
	background: var(--ps-light-blue);
}

.ps-faq__inner {
	max-width: 900px;
}

.ps-faq .ps-section-heading {
	margin-bottom: 36px;
}

.ps-faq__list {
	border-top: 1px solid var(--ps-border);
}

.ps-faq__item {
	border-bottom: 1px solid var(--ps-border);
}

.ps-faq__item summary {
	position: relative;

	padding: 24px 56px 24px 0;

	color: var(--ps-navy);

	font-size: 1.1rem;
	font-weight: 900;
	line-height: 1.4;

	cursor: pointer;
	list-style: none;
}

.ps-faq__item summary::-webkit-details-marker {
	display: none;
}

.ps-faq__item summary::after {
	content: "+";

	position: absolute;
	top: 50%;
	right: 0;

	transform: translateY(-50%);

	color: var(--ps-blue);

	font-size: 1.8rem;
	font-weight: 400;
	line-height: 1;
}

.ps-faq__item[open] summary::after {
	content: "−";
}

.ps-faq__answer {
	padding: 0 56px 24px 0;
}

.ps-faq__answer p {
	max-width: 760px;
	margin: 0;

	color: var(--ps-text);

	font-size: 0.95rem;
	line-height: 1.65;
}

.ps-faq__item summary:hover,
.ps-faq__item summary:focus-visible {
	color: var(--ps-blue);
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.ps-final-cta {
	padding: clamp(54px, 6vw, 76px) 0;
	background: linear-gradient(
	135deg,
	#176FA5 0%,
	var(--ps-navy) 40%,
	var(--ps-navy) 100%
);
	color: var(--ps-white);
}

.ps-final-cta__inner {
	max-width: 850px;
	text-align: center;
}

.ps-final-cta h2 {
	margin: 0 0 16px;

	color: var(--ps-white);

	font-size: clamp(2rem, 3.5vw, 3rem);
	letter-spacing: -0.025em;
}

.ps-final-cta p {
	max-width: 680px;
	margin: 0 auto 28px;

	color: var(--ps-white);

	font-size: 1.05rem;
	line-height: 1.6;
}


/* =========================================================
   CONSULTATION FORM
   ========================================================= */

.ps-consultation {
	padding: clamp(70px, 8vw, 110px) 0;
	background: var(--ps-white);
}

.ps-consultation__inner {
	display: grid;
	grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
	align-items: start;
	gap: clamp(48px, 7vw, 90px);
}

.ps-consultation__intro {
	max-width: 420px;
}

.ps-consultation__intro h2 {
	margin: 0 0 20px;

	font-size: clamp(2rem, 3.5vw, 3rem);
	letter-spacing: -0.025em;
}

.ps-consultation__intro p {
	margin-bottom: 18px;
}

.ps-consultation__response-time {
	color: var(--ps-gray);
	font-weight: 900;
}


/* =========================================================
   VFB PRO FORM
   ========================================================= */

.ps-vfb-form {
	width: 100%;
}

.ps-vfb-form .vfb-form-group {
	margin-bottom: 22px;
}

.ps-vfb-form .vfb-control-label {
	display: block;
	margin-bottom: 8px;

	color: var(--ps-navy);

	font-size: 0.95rem;
	font-weight: 900;
	line-height: 1.35;
}

.ps-vfb-form .vfb-required-asterisk {
	color: var(--ps-blue);
}

.ps-vfb-form .vfb-form-control {
	display: block;

	width: 100%;
	min-height: 50px;

	padding: 11px 13px;

	background: var(--ps-white);
	color: var(--ps-text);

	border: 1px solid var(--ps-border);
	border-radius: 4px;

	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;

	box-shadow: none;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.ps-vfb-form .vfb-form-control:focus {
	border-color: var(--ps-blue);
	outline: none;

	box-shadow: 0 0 0 3px rgba(45, 138, 202, 0.15);
}


/* =========================================================
   VFB RADIO BUTTONS
   ========================================================= */

.ps-vfb-form .vfb-fieldType-radio > .vfb-control-label {
	margin-bottom: 10px;
}

.ps-vfb-form .vfb-fieldType-radio .vfb-row {
	display: flex;
	gap: 24px;
}

.ps-vfb-form .vfb-fieldType-radio .vfb-row > .vfb-col-6 {
	width: auto;
	float: none;
}

.ps-vfb-form .vfb-radio {
	margin: 0;
	padding: 0;
}

.ps-vfb-form .vfb-radio label {
	display: flex;
	align-items: center;
	gap: 8px;

	margin: 0;
	padding: 0;

	color: var(--ps-text);

	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.4;

	cursor: pointer;
}

.ps-vfb-form .vfb-radio input[type="radio"] {
	position: static !important;
	float: none !important;

	width: 18px;
	height: 18px;

	margin: 0 !important;
	padding: 0;

	flex: 0 0 18px;

	accent-color: var(--ps-blue);
}


/* =========================================================
   VFB INTEREST CHECKBOX GROUP
   ========================================================= */

.ps-vfb-form #vfbField65 > .vfb-control-label {
	margin-bottom: 12px;
}

.ps-vfb-form #vfbField65 .vfb-row::before,
.ps-vfb-form #vfbField65 .vfb-row::after {
	display: none !important;
	content: none !important;
}

.ps-vfb-form #vfbField65 .vfb-row {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 28px;

	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

.ps-vfb-form #vfbField65 .vfb-row > .vfb-col-6 {
	position: static !important;
	float: none !important;
	clear: none !important;

	width: auto !important;
	max-width: none !important;

	margin: 0 !important;
	padding: 0 !important;
}

.ps-vfb-form #vfbField65 .vfb-checkbox {
	margin: 0 0 10px;
	padding: 0;
}

.ps-vfb-form #vfbField65 .vfb-checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 9px;

	margin: 0;
	padding: 0;

	color: var(--ps-text);

	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.4;

	cursor: pointer;
}

.ps-vfb-form #vfbField65 input[type="checkbox"] {
	position: static !important;
	float: none !important;

	width: 18px;
	height: 18px;

	margin: 2px 0 0 !important;
	padding: 0;

	flex: 0 0 18px;

	accent-color: var(--ps-blue);
}


/* =========================================================
   VFB SUBMIT BUTTON
   ========================================================= */

.ps-vfb-form .vfb-fieldType-submit {
	margin-top: 12px;
}

.ps-vfb-form .vfb-fieldType-submit .btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 54px;
	padding: 14px 28px;

	background: var(--ps-blue);
	color: var(--ps-white);

	border: 2px solid var(--ps-blue);
	border-radius: 4px;

	font-family: inherit;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.2;

	box-shadow: none;
	cursor: pointer;

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.ps-vfb-form .vfb-fieldType-submit .btn-primary:hover,
.ps-vfb-form .vfb-fieldType-submit .btn-primary:focus {
	background: var(--ps-navy);
	border-color: var(--ps-navy);
	color: var(--ps-white);
}

.ps-vfb-form .vfb-fieldType-submit .btn-primary:focus-visible {
	outline: 3px solid rgba(45, 138, 202, 0.25);
	outline-offset: 3px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.ps-landing__footer {
	padding: 48px 0 30px;

	background: var(--ps-navy);
	color: var(--ps-white);
}

.ps-landing__footer a {
	color: inherit;

	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ps-landing__footer a:hover,
.ps-landing__footer a:focus-visible {
	text-decoration-thickness: 2px;
}

.ps-landing__footer-main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;

	gap: 40px;

	padding-bottom: 32px;

	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ps-landing__footer p {
	margin: 0;
}

.ps-landing__footer-brand {
	margin-bottom: 4px !important;

	font-size: 1.1rem;
}

.ps-landing__footer-logo {
	display: inline-block;
	margin-bottom: 12px;
}

.ps-landing__footer-logo img {
	display: block;
	width: 220px;
	max-width: 100%;
	height: auto;
}

.ps-landing__footer address {
	font-style: normal;
	line-height: 1.55;
}

.ps-landing__footer-contact {
	text-align: right;
}

.ps-landing__footer-contact p + p {
	margin-top: 4px;
}

.ps-landing__footer-contact a {
	font-size: 1.1rem;
	font-weight: 900;
	text-decoration: none;
}

.ps-landing__footer-secondary {
	padding-top: 26px;
}

.ps-landing__footer-jrbt {
	margin-bottom: 14px !important;

	font-size: 0.95rem;
}

.ps-landing__copyright {
	color: rgba(255, 255, 255, 0.75);

	font-size: 0.82rem;
	line-height: 1.5;
}

.ps-landing__footer-divider {
	margin-inline: 0.5em;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

	.ps-landing__header-inner {
		min-height: 78px;
	}

	.ps-landing__phone-label {
		display: none;
	}

	.ps-hero__inner {
		grid-template-columns: 1fr;

		gap: 44px;
	}

	.ps-hero__content {
		max-width: 720px;
	}

	.ps-hero__visual {
		max-width: 720px;
	}
	
	.ps-challenges__grid {
		grid-template-columns: 1fr;
		max-width: 700px;
	}
	
	.ps-service__inner {
		grid-template-columns: 1fr;
	}

	.ps-service__visual,
	.ps-service__content {
		max-width: 720px;
	}
	
	.ps-process .ps-section-heading {
		margin-bottom: 42px;
		text-align: left;
	}

	.ps-process__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.ps-process-step {
		padding: 0 0 0 82px;
	}

	.ps-process-step:not(:last-child)::after {
		top: 58px;
		bottom: -36px;
		left: 28px;
		right: auto;

		width: 2px;
		height: auto;
	}

	.ps-process-step__number {
		position: absolute;
		top: 0;
		left: 0;

		padding: 0;
		background: transparent;

		font-size: 2.5rem;
	}

	.ps-process-step h3 {
		margin-top: 0;
	}

	.ps-consultation__inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.ps-consultation__intro {
		max-width: 650px;
	}

	
}


@media (max-width: 640px) {

	.ps-landing {
		font-size: 17px;
	}

	.ps-container {
		width: min(
			calc(100% - 40px),
			var(--ps-container)
		);
	}


	/* Header */

	.ps-landing__header-inner {
		min-height: 72px;

		gap: 16px;
	}

	.ps-landing__logo {
		flex-basis: 180px;
	}

	.ps-landing__logo img {
		max-width: 180px;
	}

	.ps-landing__phone-label {
		display: none;
	}

	.ps-landing__phone {
		display: inline-block;
		font-size: 0.9rem;
	}

	.ps-button--small {
		padding-inline: 15px;

		font-size: 0.8rem;
	}


	/* Hero */

	.ps-hero {
		padding: 54px 0 64px;
	}

	.ps-hero h1 {
		font-size: clamp(2.35rem, 11vw, 3.3rem);
	}

	.ps-hero__lead {
		font-size: 1.25rem;
	}
	
	.ps-hero__visual img {
		width: min(100%, 350px);
	}
	
	.ps-hero__cta {
		display: flex;
		flex-direction: column;
		align-items: center;

		text-align: center;
	}

	.ps-hero__cta-note {
		max-width: 320px;
		margin-top: 12px;

		text-align: center;
	}

	/* Challenge Cards */
	.ps-challenge-card {
		padding: 30px 26px 32px;
	}

	/* FAQ */
	.ps-faq__item summary {
		padding-right: 44px;
		font-size: 1rem;
	}

	.ps-faq__answer {
		padding-right: 0;
	}
	
	/* Footer */

	.ps-landing__footer {
		padding-top: 40px;
	}

	.ps-landing__footer-main {
		display: block;
	}

	.ps-landing__footer-contact {
		margin-top: 24px;

		text-align: left;
	}

	.ps-landing__footer-divider {
		display: none;
	}

	.ps-landing__copyright a {
		display: block;

		margin-top: 6px;
	}
	
	.ps-landing__footer-logo img {
		width: 160px;
	}
	
	/* VFB Form */
	.ps-vfb-form > .vfb-col-6,
	.ps-vfb-form .vfb-fieldType-text.vfb-col-6 {
		width: 100% !important;
		float: none !important;
	}
	.ps-vfb-form #vfbField65 .vfb-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}

}