/*
Theme Name: Upswing Bookkeeping
Theme URI: https://upswingbookkeeping.com
Author: Upswing Bookkeeping
Description: A lightweight Gutenberg block theme built for Upswing Bookkeeping.
Version: 1.1.8
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: upswing-bookkeeping
*/

:root {
	--ub-teal: #02647e;
	--ub-teal-mid: #009293;
	--ub-mint: #00cc9c;
	--ub-charcoal: #333333;
	--ub-sand: #f5f1ec;
	--ub-white: #ffffff;
	--ub-muted: #5d6a6d;
	--ub-line: #dce7e4;
	--ub-mint-soft: #e5f8f2;
	--ub-shadow: 0 18px 46px rgba(2, 100, 126, 0.09);
	--ub-radius: 22px;
}

html {
	scroll-behavior: auto;
	scroll-padding-top: 104px;
}

body {
	background: var(--ub-white);
	color: var(--ub-charcoal);
	font-family: "Nunito Sans", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
}

body,
button,
input,
select,
textarea {
	-webkit-font-smoothing: antialiased;
}

* {
	box-sizing: border-box;
}

img {
	height: auto;
	max-width: 100%;
}

a {
	color: var(--ub-teal);
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--ub-teal-mid);
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--ub-mint);
	outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-navigation,
.wp-block-button__link,
.ub-eyebrow {
	font-family: Rubik, Arial, sans-serif;
}

h1,
h2,
h3 {
	color: var(--ub-charcoal);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

h1 {
	font-size: clamp(2.7rem, 5.7vw, 5.4rem);
}

h2 {
	font-size: clamp(2rem, 3.8vw, 3.6rem);
}

h3 {
	font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
	margin-block: 0 1.25em;
}

.wp-site-blocks {
	gap: 0;
	overflow: clip;
}

.wp-site-blocks > main {
	margin-block-start: 0;
}

.alignwide {
	margin-left: auto;
	margin-right: auto;
	width: min(1240px, calc(100% - 2.5rem));
}

.ub-header-shell {
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid rgba(2, 100, 126, 0.1);
	position: sticky;
	top: 0;
	z-index: 90;
}

.admin-bar .ub-header-shell {
	top: 32px;
}

.ub-header-inner {
	min-height: 86px;
}

.ub-header-inner .wp-block-site-logo img {
	width: clamp(190px, 19vw, 260px);
}

.ub-primary-nav {
	font-size: 0.91rem;
	font-weight: 600;
}

.ub-primary-nav a {
	color: var(--ub-charcoal);
	text-decoration: none;
}

.ub-primary-nav a:hover {
	color: var(--ub-teal);
}

.wp-block-button__link {
	border-radius: 9px;
	font-size: 0.96rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.95rem 1.35rem;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
}

.is-style-outline > .wp-block-button__link {
	border: 2px solid var(--ub-teal);
	color: var(--ub-teal);
}

.is-style-outline > .wp-block-button__link:hover {
	background: var(--ub-mint-soft);
	color: var(--ub-teal);
}

.ub-hero {
	background:
		linear-gradient(90deg, rgba(2, 100, 126, 0.055) 1px, transparent 1px),
		linear-gradient(rgba(2, 100, 126, 0.055) 1px, transparent 1px),
		var(--ub-white);
	background-size: 44px 44px;
	padding-block: clamp(5.5rem, 10vw, 9.5rem);
	position: relative;
}

.ub-hero::before {
	background: var(--ub-mint);
	content: "";
	height: 7px;
	left: 0;
	position: absolute;
	top: 0;
	width: min(18vw, 260px);
}

.ub-hero-copy {
	max-width: 720px;
}

.ub-hero h1 {
	max-width: 760px;
	margin-bottom: 1.5rem;
}

.ub-hero .ub-lead {
	color: #465559;
	font-size: clamp(1.15rem, 1.8vw, 1.38rem);
	line-height: 1.65;
	max-width: 690px;
}

.ub-eyebrow {
	color: var(--ub-teal);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin-bottom: 1.1rem;
	text-transform: uppercase;
}

.ub-hero-visual {
	filter: drop-shadow(0 24px 34px rgba(2, 100, 126, 0.11));
	margin: 0;
}

.ub-credibility {
	background: var(--ub-teal);
	color: var(--ub-white);
	padding-block: 1.15rem;
}

.ub-credibility .wp-block-columns {
	margin-bottom: 0;
}

.ub-credibility p {
	font-family: Rubik, Arial, sans-serif;
	font-size: clamp(0.92rem, 1.25vw, 1.05rem);
	font-weight: 600;
	margin: 0;
	text-align: center;
}

.ub-section {
	padding-block: clamp(5rem, 8vw, 8rem);
}

.ub-section-tight {
	padding-block: clamp(3.75rem, 6vw, 6rem);
}

.ub-sand {
	background: var(--ub-sand);
}

.ub-teal-section {
	background: var(--ub-teal);
	color: var(--ub-white);
}

.ub-teal-section :where(h2, h3, p, cite) {
	color: inherit;
}

.ub-section-heading {
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
	max-width: 820px;
}

.ub-section-heading p {
	color: var(--ub-muted);
	font-size: 1.1rem;
	max-width: 710px;
}

.ub-problem-questions {
	border-left: 5px solid var(--ub-mint);
	margin-block: 2rem;
	padding: 0.4rem 0 0.4rem 1.6rem;
}

.ub-problem-questions p {
	color: var(--ub-teal);
	font-family: Rubik, Arial, sans-serif;
	font-size: clamp(1.25rem, 2.3vw, 1.85rem);
	font-weight: 650;
	line-height: 1.35;
	margin-bottom: 0.55rem;
}

.ub-card-grid {
	gap: 1.4rem;
}

.ub-card {
	background: var(--ub-white);
	border: 1px solid var(--ub-line);
	border-radius: var(--ub-radius);
	box-shadow: 0 1px 0 rgba(2, 100, 126, 0.03);
	height: 100%;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ub-card:hover {
	border-color: rgba(0, 146, 147, 0.35);
	box-shadow: var(--ub-shadow);
	transform: translateY(-4px);
}

.ub-icon {
	background: var(--ub-mint-soft);
	border-radius: 50%;
	display: grid;
	height: 76px;
	margin-bottom: 1.5rem;
	place-items: center;
	width: 76px;
}

.ub-icon img {
	height: 48px;
	width: 48px;
}

.ub-card p:last-child {
	margin-bottom: 0;
}

.ub-service-card {
	border-top: 5px solid var(--ub-teal);
	min-height: 100%;
}

.ub-service-number {
	color: var(--ub-teal);
	font-family: Rubik, Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ub-testimonial {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--ub-radius);
	height: 100%;
	padding: 2rem;
}

.ub-testimonial p {
	font-size: 1.07rem;
}

.ub-testimonial cite {
	display: block;
	font-family: Rubik, Arial, sans-serif;
	font-size: 0.9rem;
	font-style: normal;
	font-weight: 650;
	margin-top: 1.5rem;
}

.ub-trust-point {
	border-top: 1px solid rgba(255, 255, 255, 0.28);
	padding-top: 1.5rem;
}

.ub-about-mark {
	background: var(--ub-mint-soft);
	border-radius: 30px;
	min-height: 460px;
	overflow: hidden;
	position: relative;
}

.ub-about-mark img {
	inset: 14%;
	height: 72%;
	object-fit: contain;
	position: absolute;
	width: 72%;
}

.ub-about-mark::after {
	border: 2px solid rgba(2, 100, 126, 0.17);
	border-radius: 50%;
	content: "";
	inset: 9%;
	position: absolute;
}

.ub-final-cta {
	background: var(--ub-sand);
	border: 1px solid var(--ub-line);
	border-radius: 32px;
	box-shadow: var(--ub-shadow);
	padding: clamp(2.5rem, 6vw, 5rem);
}

.ub-contact-grid {
	align-items: stretch;
}

.ub-contact-details {
	background: var(--ub-teal);
	border-radius: var(--ub-radius);
	color: var(--ub-white);
	padding: clamp(2rem, 4vw, 3rem);
}

.ub-contact-details :where(h2, h3, p, a) {
	color: inherit;
}

.ub-contact-details a:hover {
	color: var(--ub-mint);
}

.ub-form-shell {
	background: var(--ub-white);
	border: 1px solid var(--ub-line);
	border-radius: var(--ub-radius);
	box-shadow: var(--ub-shadow);
	padding: clamp(1.6rem, 4vw, 3rem);
}

.wpcf7-form label {
	color: var(--ub-charcoal);
	display: block;
	font-family: Rubik, Arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 650;
	margin-bottom: 1.05rem;
}

.wpcf7-form-control:not(.wpcf7-submit, .wpcf7-acceptance) {
	background: #fff;
	border: 1px solid #b9cac7;
	border-radius: 9px;
	color: var(--ub-charcoal);
	font: inherit;
	margin-top: 0.4rem;
	min-height: 49px;
	padding: 0.72rem 0.8rem;
	width: 100%;
}

textarea.wpcf7-form-control {
	min-height: 150px;
	resize: vertical;
}

.wpcf7-submit {
	background: var(--ub-teal);
	border: 0;
	border-radius: 9px;
	color: var(--ub-white);
	cursor: pointer;
	font-family: Rubik, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	min-height: 50px;
	padding: 0.8rem 1.35rem;
}

.wpcf7-submit:hover {
	background: var(--ub-teal-mid);
}

.wpcf7-not-valid-tip {
	color: #a02121;
	font-size: 0.88rem;
}

.wpcf7-response-output {
	border-radius: 9px;
	margin-inline: 0 !important;
}

.ub-page-hero,
.ub-blog-hero {
	background: var(--ub-sand);
	padding-block: clamp(4.5rem, 8vw, 7rem);
}

.ub-page-hero h1,
.ub-blog-hero h1 {
	font-size: clamp(2.5rem, 5vw, 4.8rem);
	margin-bottom: 1.25rem;
}

.ub-blog-loop {
	padding-block: clamp(4rem, 7vw, 7rem);
}

.ub-post-card {
	border: 1px solid var(--ub-line);
	border-radius: var(--ub-radius);
	overflow: hidden;
}

.ub-post-card .wp-block-post-featured-image {
	aspect-ratio: 16 / 9;
	margin: 0;
	overflow: hidden;
}

.ub-post-card .wp-block-post-featured-image img {
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
	width: 100%;
}

.ub-post-card:hover .wp-block-post-featured-image img {
	transform: scale(1.025);
}

.ub-post-card-body {
	padding: 1.5rem;
}

.ub-post-card h2,
.ub-post-card h3 {
	font-size: 1.35rem;
	margin-top: 0;
}

.ub-post-card h2 a,
.ub-post-card h3 a {
	color: var(--ub-charcoal);
	text-decoration: none;
}

.ub-post-meta {
	color: var(--ub-teal);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ub-single {
	padding-block: clamp(4rem, 7vw, 7rem);
}

.ub-single-header {
	max-width: 900px;
}

.ub-single-header h1 {
	font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.ub-single-featured {
	border-radius: 28px;
	margin-block: 2.5rem 4rem;
	overflow: hidden;
}

.ub-single-content {
	font-size: 1.08rem;
	max-width: 760px;
}

.ub-single-content h2 {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	margin-top: 2.4em;
}

.ub-single-content h3 {
	margin-top: 2em;
}

.ub-single-content :where(ul, ol) {
	padding-left: 1.3rem;
}

.ub-single-content blockquote {
	border-left: 5px solid var(--ub-mint);
	color: var(--ub-teal);
	font-family: Rubik, Arial, sans-serif;
	font-size: 1.3rem;
	margin: 2rem 0;
	padding-left: 1.5rem;
}

.ub-score {
	padding-block: clamp(3rem, 6vw, 6rem);
}

.ub-score-intro {
	max-width: 760px;
}

.ub-score-form {
	counter-reset: score-question;
	margin-top: 3rem;
}

.ub-score-question {
	background: var(--ub-white);
	border: 1px solid var(--ub-line);
	border-radius: var(--ub-radius);
	margin-bottom: 1.2rem;
	padding: clamp(1.35rem, 3vw, 2rem);
}

.ub-score-question legend {
	color: var(--ub-charcoal);
	font-family: Rubik, Arial, sans-serif;
	font-size: 1.12rem;
	font-weight: 650;
	line-height: 1.4;
	padding-inline: 0.4rem;
}

.ub-score-options {
	display: grid;
	gap: 0.65rem;
	margin-top: 1.1rem;
}

.ub-score-option {
	align-items: flex-start;
	border: 1px solid #cbd9d6;
	border-radius: 10px;
	cursor: pointer;
	display: flex;
	gap: 0.7rem;
	padding: 0.85rem 1rem;
}

.ub-score-option:hover {
	background: var(--ub-mint-soft);
	border-color: var(--ub-teal-mid);
}

.ub-score-option input {
	flex: 0 0 auto;
	margin-top: 0.35rem;
}

.ub-score-action {
	margin-top: 2rem;
}

.ub-score-result {
	background: var(--ub-teal);
	border-radius: var(--ub-radius);
	color: var(--ub-white);
	margin-top: 2rem;
	padding: clamp(2rem, 5vw, 3.5rem);
}

.ub-score-result[hidden] {
	display: none;
}

.ub-score-result :where(h2, h3, p, li) {
	color: inherit;
}

.ub-score-number {
	color: var(--ub-mint);
	font-family: Rubik, Arial, sans-serif;
	font-size: clamp(3rem, 8vw, 6rem);
	font-weight: 700;
	line-height: 1;
}

.ub-legal {
	padding-block: clamp(4rem, 7vw, 7rem);
}

.ub-legal > * {
	max-width: 820px;
}

.ub-legal h2 {
	font-size: clamp(1.65rem, 3vw, 2.25rem);
	margin-top: 2.4em;
}

.ub-legal h3 {
	font-size: 1.3rem;
	margin-top: 2em;
}

.ub-legal-note {
	background: var(--ub-sand);
	border-left: 5px solid var(--ub-mint);
	padding: 1.1rem 1.35rem;
}

.ub-footer {
	background: #063f4e;
	color: rgba(255, 255, 255, 0.86);
	padding-block: clamp(4rem, 7vw, 6rem) 2rem;
}

.ub-footer :where(h2, h3, a) {
	color: var(--ub-white);
}

.ub-footer a:hover {
	color: var(--ub-mint);
}

.ub-footer .wp-block-site-logo img {
	filter: brightness(0) invert(1);
	width: min(100%, 250px);
}

.ub-footer-nav {
	font-size: 0.95rem;
}

.ub-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.88rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
}

.ub-footer-tagline {
	color: var(--ub-mint);
	font-family: Rubik, Arial, sans-serif;
	font-weight: 650;
}

.wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem;
}

@media (max-width: 1100px) {
	.ub-header-cta {
		display: none !important;
	}

	.ub-primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.ub-primary-nav .wp-block-navigation__responsive-container-open {
		align-items: center;
		display: flex;
		height: 44px;
		justify-content: center;
		width: 44px;
	}

	.ub-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
		display: flex;
		padding: 1.5rem !important;
	}

	.ub-primary-nav .wp-block-navigation__responsive-container-close {
		align-items: center;
		display: flex;
		height: 44px;
		justify-content: center;
		width: 44px;
	}

	.ub-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		font-size: 1.18rem;
		padding-block: 0.65rem;
	}

	.ub-header-inner {
		min-height: 76px;
	}
}

@media (max-width: 782px) {
	html {
		scroll-padding-top: 82px;
	}

	.admin-bar .ub-header-shell {
		top: 46px;
	}

	.ub-hero {
		padding-block: 4.5rem;
	}

	.ub-hero-visual {
		margin-top: 2rem;
		max-width: 500px;
	}

	.ub-credibility p {
		text-align: left;
	}

	.ub-card-grid {
		gap: 1rem;
	}

	.ub-about-mark {
		min-height: 330px;
	}

	.ub-footer .wp-block-columns {
		gap: 2rem;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 16px;
	}

	.ub-header-inner {
		padding-inline: 1rem !important;
	}

	.ub-header-inner .wp-block-site-logo img {
		width: 184px;
	}

	.ub-hero h1 {
		font-size: clamp(2.45rem, 12vw, 3.7rem);
	}

	.ub-section,
	.ub-section-tight {
		padding-block: 4rem;
	}

	.ub-hero .wp-block-buttons,
	.ub-final-cta .wp-block-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.ub-hero .wp-block-button,
	.ub-final-cta .wp-block-button,
	.ub-hero .wp-block-button__link,
	.ub-final-cta .wp-block-button__link {
		width: 100%;
	}

	.ub-final-cta {
		border-radius: 22px;
		padding: 2rem 1.35rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Reference-matched header and homepage hero. */
.ub-header-shell {
	background: #fff;
	border-bottom: 0;
	box-shadow: 0 7px 22px rgba(12, 65, 73, 0.06);
}

.ub-header-inner {
	gap: clamp(2rem, 4vw, 5rem);
	min-height: 144px;
	padding-inline: 38px;
	width: 100%;
}

.ub-brand-lockup {
	flex: 0 0 205px;
	margin: 0;
	padding-bottom: 10px;
	position: relative;
}

.ub-brand-lockup .wp-block-site-logo {
	margin: 0;
}

.ub-brand-lockup .wp-block-site-logo img,
.ub-header-inner .ub-brand-lockup .wp-block-site-logo img {
	display: block;
	width: 205px;
}

.ub-brand-tagline {
	bottom: 0;
	color: var(--ub-mint);
	font-family: Rubik, Arial, sans-serif;
	font-size: 6.5px;
	font-weight: 700;
	left: 72px;
	letter-spacing: -0.01em;
	line-height: 1;
	margin: 0;
	position: absolute;
	white-space: nowrap;
}

.ub-header-actions {
	flex: 1 1 auto;
	gap: 30px;
	justify-content: flex-end;
	margin: 0;
	min-width: 0;
}

.ub-primary-nav {
	font-family: "Nunito Sans", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 500;
}

.ub-primary-nav .wp-block-navigation__container {
	column-gap: clamp(1.65rem, 2.65vw, 2.6rem);
	row-gap: 0.75rem;
}

.ub-primary-nav .wp-block-navigation-item__content {
	white-space: nowrap;
}

.ub-header-cta {
	flex: 0 0 auto;
}

.ub-header-cta .wp-block-button__link {
	background: linear-gradient(135deg, #05647d, #007f91);
	border-radius: 999px;
	box-shadow: none;
	min-width: 280px;
	padding: 1.08rem 1.7rem;
	text-align: center;
}

.ub-hero-v2 {
	background: none;
	padding: 0;
}

.ub-hero-v2::before {
	display: none;
}

.ub-hero-layout {
	display: grid !important;
	gap: 0 !important;
	grid-template-columns: minmax(0, 54.35fr) minmax(0, 45.65fr);
	margin: 0 !important;
	min-height: calc(100vh - 144px);
	width: 100%;
}

.ub-hero-layout > .wp-block-column {
	min-width: 0;
}

.ub-hero-v2 .ub-hero-copy {
	align-self: stretch;
	background:
		radial-gradient(circle at 0 48%, rgba(245, 232, 218, 0.24), transparent 37%),
		#fdfcfb;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	max-width: none;
	padding: 7rem clamp(2.5rem, 3vw, 3rem) 6.7rem clamp(3.5rem, 5.85vw, 5.75rem);
}

.ub-hero-copy-inner {
	margin: 0;
	max-width: 650px;
	width: 100%;
}

.ub-hero-copy-inner > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.ub-hero-kicker {
	align-items: center;
	align-self: flex-start;
	border: 1px solid #d6d6d3;
	border-radius: 999px;
	color: var(--ub-teal);
	display: flex;
	font-family: Rubik, Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 500;
	gap: 1rem;
	letter-spacing: 0.15em;
	line-height: 1.2;
	margin: 0 0 2.6rem;
	padding: 0.72rem 1.15rem;
	text-transform: uppercase;
	white-space: nowrap;
}

.ub-hero-kicker > span {
	background: #10b9aa;
	border-radius: 50%;
	flex: 0 0 9px;
	height: 9px;
	width: 9px;
}

.ub-hero-v2 h1 {
	color: #292c2f;
	font-size: clamp(3.35rem, 4.15vw, 3.75rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
	margin: 0 0 1.85rem;
	max-width: 650px;
}

.ub-hero-v2 h1 span {
	color: #006e85;
}

.ub-hero-v2 .ub-lead {
	color: #4c565e;
	font-size: clamp(1.08rem, 1.38vw, 1.3rem);
	line-height: 1.58;
	margin: 0 0 2.2rem;
	max-width: 510px;
}

.ub-hero-buttons {
	flex-wrap: nowrap !important;
	gap: 1.85rem;
	margin: 0;
}

.ub-hero-buttons .wp-block-button {
	flex: 0 0 auto;
}

.ub-hero-buttons .wp-block-button__link {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	justify-content: center;
	min-height: 64px;
	min-width: 292px;
	padding: 1rem 1.65rem;
}

.ub-hero-buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: linear-gradient(135deg, #05647d, #007f91);
}

.ub-hero-buttons .is-style-outline > .wp-block-button__link {
	background: rgba(255, 255, 255, 0.52);
	border-color: #006e85;
}

.ub-hero-trust {
	border-top: 1px solid #d7d7d3;
	column-gap: 1.45rem;
	margin: 3.2rem 0 0;
	padding-top: 1.55rem;
	row-gap: 0.55rem;
}

.ub-hero-trust p {
	color: #4f5b61;
	font-family: Rubik, Arial, sans-serif;
	font-size: 0.58rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	margin: 0;
	text-transform: uppercase;
	white-space: nowrap;
}

.ub-hero-trust p + p {
	position: relative;
}

.ub-hero-trust p + p::before {
	background: #00758a;
	border-radius: 50%;
	content: "";
	height: 4px;
	left: -0.95rem;
	position: absolute;
	top: 0.52em;
	width: 4px;
}

.ub-hero-art {
	align-items: center;
	background: #dfefec url("assets/images/hero-abstract-bg.svg") center / cover no-repeat;
	display: flex;
	justify-content: center;
	margin: 0;
	min-height: 100%;
	overflow: hidden;
	padding: 5rem 8%;
	position: relative;
}

.ub-hero-feature-card {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(97, 116, 117, 0.24);
	border-radius: 18px;
	box-shadow: 0 22px 45px rgba(3, 82, 95, 0.08);
	margin: 0;
	max-width: 455px;
	overflow: hidden;
	padding: 0 1.85rem;
	transform: translateY(-1.1rem);
	width: 100%;
}

.ub-hero-feature {
	align-items: center;
	gap: 2rem;
	margin: 0;
	min-height: 182px;
	padding: 2rem 0;
}

.ub-hero-feature + .ub-hero-feature {
	border-top: 1px solid #d9dfde;
}

.ub-hero-feature > .wp-block-group {
	flex: 1 1 auto;
	margin: 0;
	min-width: 0;
}

.ub-hero-feature-icon {
	align-items: center;
	background: #e9f4f1;
	border-radius: 50%;
	display: flex;
	flex: 0 0 94px;
	height: 94px;
	justify-content: center;
	margin: 0;
	width: 94px;
}

.ub-hero-feature-icon img {
	height: 58px;
	width: 58px;
}

.ub-hero-feature h3 {
	font-size: 1.32rem;
	letter-spacing: -0.025em;
	margin: 0 0 0.65rem;
}

.ub-hero-feature p {
	color: #4e575e;
	font-size: 1.02rem;
	line-height: 1.58;
	margin: 0;
}

@media (min-width: 1391px) {
	.ub-hero-v2 .ub-hero-copy {
		padding-left: 0;
		padding-right: 0;
	}

	.ub-hero-copy-inner {
		margin-left: auto;
		margin-right: clamp(2.75rem, 3vw, 4rem);
	}

	.ub-hero-art {
		justify-content: flex-start;
		padding-left: clamp(4rem, 6.5vw, 8.25rem);
		padding-right: clamp(3rem, 4vw, 5rem);
	}
}

@media (max-width: 1390px) and (min-width: 1181px) {
	.ub-header-inner {
		gap: 2rem;
		min-height: 118px;
		padding-inline: 24px;
	}

	.ub-brand-lockup {
		flex-basis: 180px;
	}

	.ub-brand-lockup .wp-block-site-logo img,
	.ub-header-inner .ub-brand-lockup .wp-block-site-logo img {
		width: 180px;
	}

	.ub-brand-tagline {
		font-size: 5.7px;
		left: 63px;
	}

	.ub-header-actions {
		gap: 22px;
	}

	.ub-primary-nav {
		font-size: 0.9rem;
	}

	.ub-primary-nav .wp-block-navigation__container {
		column-gap: 1.4rem;
	}

	.ub-header-cta .wp-block-button__link {
		min-width: 230px;
		padding-inline: 1.2rem;
	}

	.ub-hero-layout {
		min-height: calc(100vh - 118px);
	}

	.ub-hero-v2 .ub-hero-copy {
		padding-inline: clamp(3rem, 5vw, 4.6rem);
	}

	.ub-hero-copy-inner {
		margin: 0;
	}

	.ub-hero-art {
		justify-content: center;
	}

	.ub-hero-v2 h1 {
		font-size: clamp(3rem, 4.15vw, 3.55rem);
	}

	.ub-hero-buttons {
		gap: 1rem;
	}

	.ub-hero-buttons .wp-block-button__link {
		min-width: 250px;
	}
}

@media (max-width: 1180px) {
	.ub-header-inner {
		min-height: 82px;
		padding-inline: 1.25rem;
	}

	.ub-brand-lockup {
		flex-basis: 184px;
	}

	.ub-brand-lockup .wp-block-site-logo img,
	.ub-header-inner .ub-brand-lockup .wp-block-site-logo img {
		width: 184px;
	}

	.ub-brand-tagline {
		font-size: 5.8px;
		left: 64px;
	}

	.ub-header-cta {
		display: none !important;
	}

	.ub-primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.ub-primary-nav .wp-block-navigation__responsive-container-open {
		align-items: center;
		display: flex;
		height: 44px;
		justify-content: center;
		width: 44px;
	}

	.ub-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
		display: flex;
		padding: 1.5rem !important;
	}

	.ub-primary-nav .wp-block-navigation__responsive-container-close {
		align-items: center;
		display: flex;
		height: 44px;
		justify-content: center;
		width: 44px;
	}
}

@media (max-width: 960px) {
	.ub-hero-layout {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.ub-hero-v2 .ub-hero-copy {
		padding: 5.25rem clamp(1.5rem, 8vw, 4.5rem);
	}

	.ub-hero-art {
		min-height: 700px;
		padding-block: 5rem;
	}
}

@media (max-width: 600px) {
	.ub-hero-v2 .ub-hero-copy {
		padding: 4rem 1.2rem;
	}

	.ub-hero-kicker {
		font-size: 0.61rem;
		gap: 0.65rem;
		letter-spacing: 0.11em;
		margin-bottom: 2rem;
		padding: 0.65rem 0.8rem;
		white-space: normal;
	}

	.ub-hero-v2 h1 {
		font-size: clamp(2.55rem, 12vw, 3.25rem);
		line-height: 1.12;
	}

	.ub-hero-v2 .ub-lead {
		font-size: 1.05rem;
	}

	.ub-hero-buttons {
		gap: 0.9rem;
	}

	.ub-hero-buttons .wp-block-button,
	.ub-hero-buttons .wp-block-button__link {
		min-width: 0;
		width: 100%;
	}

	.ub-hero-trust {
		align-items: flex-start;
		flex-direction: column;
		margin-top: 2.5rem;
	}

	.ub-hero-trust p {
		white-space: normal;
	}

	.ub-hero-trust p + p {
		padding-left: 0.9rem;
	}

	.ub-hero-trust p + p::before {
		left: 0;
	}

	.ub-hero-art {
		min-height: 630px;
		padding: 3.5rem 1.1rem;
	}

	.ub-hero-feature-card {
		padding-inline: 1.2rem;
		transform: none;
	}

	.ub-hero-feature {
		gap: 1rem;
		min-height: 175px;
	}

	.ub-hero-feature-icon {
		flex-basis: 70px;
		height: 70px;
		width: 70px;
	}

	.ub-hero-feature-icon img {
		height: 44px;
		width: 44px;
	}

	.ub-hero-feature h3 {
		font-size: 1.1rem;
	}

	.ub-hero-feature p {
		font-size: 0.94rem;
		line-height: 1.45;
	}
}

/* Center the desktop header on wide screens. */
@media (min-width: 1181px) {
	.ub-header-shell > .ub-header-inner {
		margin-inline: auto !important;
		max-width: 1500px !important;
		padding-inline: 28px;
		width: calc(100% - 2rem);
	}
}
