/*
THESIS: Payment-vendor storefront, not a blog post. First viewport is
processor-match plus a checkout panel; refuse the centered-article homepage.
OWN-WORLD: Section paper, charcoal headings, red CTAs from sitewide tokens.
Product tiles use live catalog icons. Platform tiles use official cart logos, or a Magento text wordmark (Adobe forbids logo use without a license).
STORY: Boarded-processor visitor picks a SKU or a custom quote.
FIRST VIEWPORT: Split hero — copy + pill CTAs left, checkout card right, three points under.
FORM: Pinned mockup structure; sitewide PatSaTECH tokens (patsatech-theme.css).
*/

body.patsatech-home {
	--pst-navy: var(--pst-heading);
	--pst-teal: var(--pst-cta);
	--pst-amber: var(--pst-cta);
	--pst-ink: var(--pst-heading);
	--pst-muted: var(--pst-text);
	--pst-line: var(--pst-border);
	--pst-paper: var(--pst-section);
	--pst-white: var(--pst-card);
	--pst-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

body.patsatech-home .hero-section,
body.patsatech-home .page-title,
body.patsatech-home header.entry-header {
	display: none;
}

body.patsatech-home .site-main .entry-content,
body.patsatech-home article .entry-content {
	max-width: none;
	width: 100%;
	padding-inline: 0;
	margin: 0;
}

.patsatech-home-page {
	color: var(--pst-ink);
	font-size: 1.0625rem;
	line-height: 1.65;
	text-wrap: pretty;
}

.patsatech-home-page * {
	box-sizing: border-box;
}

.patsatech-home-page a:focus-visible,
.patsatech-home-page .pst-btn:focus-visible {
	outline: 2px solid var(--pst-cta);
	outline-offset: 3px;
}

.pst-wrap {
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
}

.pst-band {
	padding-block: 4.25rem;
}

.pst-band-paper {
	background: var(--pst-paper);
}

.pst-band-navy {
	position: relative;
	overflow: hidden;
	background: var(--pst-navy);
	color: var(--pst-white);
}

.pst-band-navy::after {
	content: "";
	position: absolute;
	right: -3rem;
	bottom: -4rem;
	width: 14rem;
	height: 14rem;
	background: var(--pst-cta);
	transform: rotate(28deg);
	pointer-events: none;
}

.patsatech-home-page h1,
.patsatech-home-page h2,
.patsatech-home-page h3 {
	text-wrap: balance;
	letter-spacing: 0;
	color: var(--pst-navy);
}

.patsatech-home-page h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.05rem, 4.1vw, 3.05rem);
	font-weight: 750;
	line-height: 1.12;
	max-width: 14em;
}

.patsatech-home-page h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.55rem, 2.6vw, 2.15rem);
	font-weight: 750;
	line-height: 1.2;
}

.patsatech-home-page h3 {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
}

.patsatech-home-page p {
	margin: 0 0 1rem;
	max-width: 68ch;
	color: var(--pst-muted);
}

.pst-lead {
	font-size: 1.125rem;
	max-width: 42ch;
}

.pst-center {
	text-align: center;
}

.pst-center h2,
.pst-center p {
	margin-inline: auto;
}

.pst-center h2 {
	display: inline-block;
}

.pst-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.pst-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.7rem;
	padding: 0.68rem 1.2rem;
	border: 1px solid var(--pst-cta);
	border-radius: 999px;
	background: var(--pst-cta);
	color: var(--pst-on-cta);
	font-size: 0.95rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 160ms var(--pst-ease), background-color 160ms ease, color 160ms ease;
}

.pst-btn:hover,
.pst-btn:focus {
	background: var(--pst-cta-hover);
	color: var(--pst-on-cta);
	text-decoration: none;
}

.pst-btn:active {
	transform: scale(0.97);
}

.pst-btn-ghost {
	background: #FFFFFF;
	border-color: var(--pst-line);
	color: var(--pst-heading);
}

.pst-btn-ghost:hover,
.pst-btn-ghost:focus {
	background: #FFFFFF;
	border-color: #E31E24;
	color: #C9141B;
}

.pst-band-navy .pst-btn {
	background: var(--pst-white);
	border-color: var(--pst-white);
	color: var(--pst-navy);
}

.pst-band-navy .pst-btn:hover,
.pst-band-navy .pst-btn:focus {
	background: var(--pst-section);
	color: var(--pst-heading);
}

.pst-band-navy .pst-btn-ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--pst-white);
}

.pst-band-navy .pst-btn-ghost:hover,
.pst-band-navy .pst-btn-ghost:focus {
	background: rgba(255, 255, 255, 0.08);
	color: var(--pst-white);
}

.pst-wrap.pst-hero {
	width: min(1120px, calc(100% - 2rem));
}

.pst-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 22.5rem);
	gap: 2rem 3.5rem;
	align-items: center;
	padding-block: 4.25rem 2.5rem;
}

.pst-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 1rem;
	color: var(--pst-muted);
	font-size: 0.8rem;
	font-weight: 650;
	letter-spacing: 0.01em;
}

.pst-eyebrow::before {
	content: "";
	width: 1.4rem;
	height: 2px;
	border-radius: 1px;
	background: #E31E24;
}

.pst-hero-accent {
	color: #E31E24;
}

.pst-hero .pst-lead {
	max-width: 44ch;
}

.pst-hero .pst-actions {
	margin-top: 1.35rem;
}

.pst-hero .pst-btn {
	min-height: 2.7rem;
	padding: 0.68rem 1.2rem;
	border-radius: 999px;
	gap: 0.4rem;
}

.pst-hero .pst-btn-ghost {
	background: var(--pst-white);
	border-color: var(--pst-line);
	color: var(--pst-heading);
}

.pst-hero .pst-btn-ghost:hover,
.pst-hero .pst-btn-ghost:focus {
	background: var(--pst-white);
	border-color: #E31E24;
	color: #C9141B;
}

.pst-hero-points {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem 2rem;
	margin: 0.35rem 0 0;
	padding: 1.35rem 0 0;
	border-top: 1px solid #E5E7EB;
	list-style: none;
}

.pst-hero-points li {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: 0.15rem 0.75rem;
	align-items: center;
	min-width: 0;
}

.pst-hero-ico {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(227, 30, 36, 0.08);
	color: #E31E24;
}

.pst-hero-points svg {
	display: block;
	color: #E31E24;
}

.pst-hero-points strong {
	display: block;
	color: #111827;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.25;
}

.pst-hero-points li span:not(.pst-hero-ico) {
	display: block;
	color: #6B7280;
	font-size: 0.8rem;
	line-height: 1.35;
}

.pst-hero-visual {
	position: relative;
	isolation: isolate;
	width: 100%;
	justify-self: end;
}

.pst-hero-visual::before {
	content: "";
	position: absolute;
	inset: -8% -6% -10%;
	z-index: 0;
	background: radial-gradient(ellipse at 52% 46%, rgba(227, 30, 36, 0.16) 0%, rgba(255, 243, 244, 0.5) 36%, transparent 70%);
	pointer-events: none;
}

.pst-hero-visual > * {
	position: relative;
	z-index: 1;
}

.pst-checkout {
	width: 100%;
	padding: 1.25rem 1.2rem 1.05rem;
	border: 1px solid var(--pst-line);
	border-radius: 22px;
	background: #FFFFFF;
	box-shadow: 0 22px 56px rgba(17, 24, 39, 0.08), 0 4px 16px rgba(227, 30, 36, 0.05);
}

.pst-checkout-head {
	margin-bottom: 1rem;
}

.pst-checkout-head strong {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--pst-heading);
	font-size: 1.02rem;
	font-weight: 750;
}

.pst-checkout-head strong svg {
	color: #6B7280;
}

.pst-checkout-head span {
	display: block;
	margin: 0.28rem 0 0 1.4rem;
	color: var(--pst-muted);
	font-size: 0.78rem;
}

.pst-methods {
	margin: 0 0 0.95rem;
	padding: 0;
	list-style: none;
}

.pst-methods li {
	display: grid;
	grid-template-columns: 1rem minmax(0, 1fr) auto;
	gap: 0.7rem;
	align-items: center;
	min-height: 2.85rem;
	margin: 0 0 0.45rem;
	padding: 0.45rem 0.7rem;
	border: 1px solid var(--pst-line);
	border-radius: 12px;
	background: #FFFFFF;
	color: var(--pst-heading);
	font-size: 0.88rem;
	font-weight: 600;
}

.pst-methods li.is-on {
	border-color: #E31E24;
	box-shadow: inset 0 0 0 1px #E31E24;
}

.pst-methods i {
	display: block;
	width: 0.9rem;
	height: 0.9rem;
	border: 1.5px solid #D1D5DB;
	border-radius: 50%;
	background: #FFFFFF;
}

.pst-methods li.is-on i {
	border-color: #E31E24;
	box-shadow: inset 0 0 0 3px #E31E24;
}

.pst-methods svg {
	color: #6B7280;
}

.pst-chips {
	display: flex;
	gap: 0.28rem;
	font-style: normal;
}

.pst-chips b {
	display: block;
	width: 1.35rem;
	height: 0.85rem;
	border-radius: 3px;
	background: #E5E7EB;
}

.pst-chips b:nth-child(2) {
	background: #D1D5DB;
}

.pst-chips b:nth-child(3) {
	background: #9CA3AF;
}

.pst-pay {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 2.7rem;
	border-radius: 999px;
	background: #E31E24;
	color: #FFFFFF;
	font-size: 0.92rem;
	font-weight: 700;
}

.pst-checkout-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.4rem 0.7rem;
	margin-top: 0.85rem;
	padding-top: 0.75rem;
	color: #6B7280;
	font-size: 0.68rem;
	font-weight: 600;
}

.pst-trust-band {
	padding-block: 0.25rem 3.25rem;
	background: #FFFFFF;
}

.pst-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	padding: 1.35rem 0.5rem;
	border: 1px solid var(--pst-line);
	border-radius: 22px;
	background: #FFFFFF;
	box-shadow: 0 16px 40px rgba(17, 24, 39, 0.05);
}

.pst-trust-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	min-height: 100%;
	padding: 1.1rem 1rem 1.15rem;
	border: 0;
	border-right: 1px solid var(--pst-line);
	border-radius: 0;
	background: transparent;
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.pst-trust-item:last-child {
	border-right: 0;
}

.pst-trust-item:hover,
.pst-trust-item:focus {
	text-decoration: none;
	color: inherit;
}

.pst-ico {
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	margin-bottom: 0.35rem;
	border-radius: 50%;
	background: rgba(227, 30, 36, 0.08);
	color: #E31E24;
}

.pst-trust strong {
	display: block;
	color: #111827;
	font-size: 1.02rem;
	font-weight: 750;
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
}

.pst-trust span:not(.pst-ico) {
	display: block;
	color: #4B5563;
	font-size: 0.82rem;
	line-height: 1.4;
}

.pst-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 0.75rem 1.5rem;
	margin-bottom: 0.35rem;
}

.pst-head h2,
.pst-head p {
	margin-bottom: 0.35rem;
}

.pst-more {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: #E31E24;
	font-size: 0.9rem;
	font-weight: 650;
	text-decoration: none;
}

.pst-more:hover,
.pst-more:focus {
	color: #C9141B;
	text-decoration: none;
}

.pst-orb {
	position: relative;
	overflow: hidden;
}

.pst-orb::before {
	content: "";
	position: absolute;
	top: 1.25rem;
	right: 7%;
	width: 7.5rem;
	height: 7.5rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(227, 30, 36, 0.14) 0%, rgba(255, 243, 244, 0.35) 42%, transparent 72%);
	pointer-events: none;
}

.pst-orb > * {
	position: relative;
	z-index: 1;
}

.pst-grid-3,
.pst-grid-6 {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
}

.pst-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pst-grid-6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.pst-card,
.pst-platform,
.pst-article,
.pst-proof {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 1.25rem 1.15rem 1.2rem;
	border: 1px solid var(--pst-line);
	border-radius: 16px;
	background: #FFFFFF;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.pst-card:hover,
.pst-card:focus,
.pst-platform:hover,
.pst-platform:focus,
.pst-article:hover,
.pst-article:focus,
.pst-proof:hover,
.pst-proof:focus {
	border-color: #E31E24;
	box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
	text-decoration: none;
	color: inherit;
}

.pst-article img {
	display: block;
	width: 100%;
	height: 8.5rem;
	margin-bottom: 0.9rem;
	object-fit: cover;
	background: var(--pst-paper);
	border-radius: 10px;
}

.pst-gw-mark {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 0.85rem;
	border-radius: 50%;
	background: #F7F8FA;
	color: #111827;
	font-size: 0.95rem;
	font-weight: 800;
}

.pst-card-note {
	color: #4B5563;
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1.4;
}

.pst-meta {
	display: block;
	margin-top: 0.55rem;
	color: #6B7280;
	font-size: 0.75rem;
	font-weight: 600;
}

.pst-card strong,
.pst-platform strong,
.pst-article strong {
	display: block;
	margin: 0.2rem 0 0.35rem;
	color: #111827;
	font-size: 1rem;
	line-height: 1.3;
}

.pst-card em,
.pst-article em {
	margin-top: auto;
	padding-top: 0.75rem;
	color: #E31E24;
	font-size: 0.86rem;
	font-style: normal;
	font-weight: 650;
}

.pst-platform {
	align-items: center;
	text-align: center;
	padding: 1.15rem 0.6rem 1.2rem;
}

.pst-platform span {
	color: #4B5563;
	font-size: 0.8rem;
	font-weight: 650;
}

.pst-mark {
	display: grid;
	place-items: center;
	width: 7.5rem;
	height: 2.6rem;
	margin-bottom: 0.7rem;
	overflow: hidden;
	background: transparent;
	color: var(--pst-navy);
}

.pst-mark img {
	display: block;
	width: auto;
	max-width: 7.5rem;
	height: 1.7rem;
	object-fit: contain;
}

.pst-wordmark {
	font-size: 0.92rem;
	font-weight: 750;
	letter-spacing: 0.01em;
	line-height: 1;
	color: #1e3a5f;
}

.pst-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	align-items: stretch;
}

.pst-custom {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0.25rem 0.5rem 0 0;
}

.pst-custom h2 {
	max-width: 14ch;
}

.pst-why {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.7rem;
}

.pst-why li {
	display: grid;
	grid-template-columns: 2.6rem 1fr;
	gap: 0.85rem;
	align-items: start;
	margin: 0;
	padding: 0.95rem 1rem;
	border: 1px solid var(--pst-line);
	border-radius: 16px;
	background: #FFFFFF;
	box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
}

.pst-why .pst-ico {
	margin: 0;
}

.pst-proof-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin-top: 1.5rem;
	border: 1px solid var(--pst-line);
	border-radius: 22px;
	background: #FFFFFF;
	box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06);
	overflow: hidden;
}

.pst-platform .pst-mark {
	color: #1e3a5f;
}

.pst-why strong {
	display: block;
	color: #111827;
}

.pst-why span:not(.pst-ico) {
	display: block;
	color: #4B5563;
	font-size: 0.9rem;
}

.pst-proof {
	padding: 1.6rem 1.5rem;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.pst-proof + .pst-proof {
	border-left: 1px solid var(--pst-line);
}

.pst-stars {
	margin: 0 0 0.55rem;
	color: #E31E24;
	font-size: 1.05rem;
}

.pst-proof b {
	display: block;
	margin-bottom: 0.2rem;
	color: #111827;
	font-size: 1.85rem;
	font-variant-numeric: tabular-nums;
}

.pst-proof > span {
	display: block;
	margin-bottom: 0.55rem;
	color: #4B5563;
	font-size: 0.88rem;
	font-weight: 650;
}

.pst-proof p {
	margin: 0 0 0.85rem;
}

.pst-proof em {
	margin-top: auto;
	color: #E31E24;
	font-size: 0.86rem;
	font-style: normal;
	font-weight: 650;
}

.pst-close-band {
	background: #FFFFFF;
}

.pst-close {
	position: relative;
	z-index: 1;
	text-align: center;
}

.pst-close h2 {
	max-width: 16ch;
	margin-inline: auto;
}

.pst-close p {
	margin-inline: auto;
}

.pst-close a:not(.pst-btn),
#services.pst-band > .pst-wrap > p a {
	color: #E31E24;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.pst-close .pst-actions {
	justify-content: center;
}

@media (hover: hover) and (pointer: fine) {
	.pst-btn:hover {
		transform: none;
	}
}

@media (max-width: 1080px) {
	.pst-hero {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}

	.pst-hero-visual {
		max-width: 22.5rem;
		justify-self: center;
	}
}

@media (max-width: 960px) {
	.pst-split,
	.pst-grid-3 {
		grid-template-columns: 1fr 1fr;
	}

	.pst-grid-6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.pst-trust {
		grid-template-columns: 1fr 1fr;
	}

	.pst-trust-item:nth-child(2n) {
		border-right: 0;
	}

	.pst-trust-item:nth-child(-n+2) {
		border-bottom: 1px solid var(--pst-line);
	}

	.pst-proof-card {
		grid-template-columns: 1fr;
	}

	.pst-proof + .pst-proof {
		border-left: 0;
		border-top: 1px solid var(--pst-line);
	}

	.patsatech-home-page h1 {
		max-width: none;
	}
}

@media (max-width: 720px) {
	.pst-hero-points,
	.pst-split,
	.pst-grid-3,
	.pst-trust,
	.pst-proof-card {
		grid-template-columns: 1fr;
	}

	.pst-grid-6 {
		grid-template-columns: 1fr 1fr;
	}

	.pst-trust-item,
	.pst-trust-item:nth-child(2n) {
		border-right: 0;
		border-bottom: 1px solid var(--pst-line);
	}

	.pst-trust-item:last-child {
		border-bottom: 0;
	}

	.pst-band,
	.pst-hero {
		padding-block: 2.75rem;
	}

	.pst-why {
		padding-inline: 0;
	}

	.pst-custom h2,
	.pst-close h2 {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pst-btn,
	.pst-card,
	.pst-platform,
	.pst-article,
	.pst-proof {
		transition: none;
	}

	.pst-btn:active {
		transform: none;
	}
}
