/*
 * Falta marketing system.
 * Adapted from FlowSync's warm, technical landing-page vocabulary.
 */

:root {
	--tf-bg: oklch(98.5% 0.004 80);
	--tf-bg-2: oklch(96.5% 0.006 80);
	--tf-surface: oklch(100% 0 0);
	--tf-surface-alt: oklch(97.2% 0.006 80);
	--tf-surface-hover: oklch(95.8% 0.008 80);
	--tf-inset: oklch(96% 0.006 80);
	--tf-border: oklch(91% 0.008 80);
	--tf-border-strong: oklch(84% 0.012 80);
	--tf-rule: oklch(93% 0.007 80);
	--tf-text: oklch(22% 0.012 80);
	--tf-text-2: oklch(38% 0.012 80);
	--tf-muted: oklch(51% 0.015 80);
	--tf-muted-2: oklch(61% 0.015 80);
	--tf-brand-amber: #ffb614;
	--tf-brand-orange: #ff6a0a;
	--tf-brand-red: #ed0c32;
	--tf-brand-gradient: linear-gradient(135deg, var(--tf-brand-amber) 0%, var(--tf-brand-orange) 48%, var(--tf-brand-red) 100%);
	--tf-accent: oklch(60% 0.2 38);
	--tf-accent-2: oklch(52% 0.2 32);
	--tf-accent-soft: oklch(95% 0.035 62);
	--tf-accent-ink: oklch(43% 0.16 33);
	--tf-on-accent: oklch(99% 0.008 60);
	--tf-success: oklch(49% 0.13 150);
	--tf-success-soft: oklch(94% 0.04 150);
	--tf-warning: oklch(48% 0.11 70);
	--tf-warning-soft: oklch(95% 0.045 70);
	--tf-grid-line: oklch(91.5% 0.012 60);
	--tf-shadow-sm: 0 1px 0 oklch(0% 0 0 / 0.04), 0 1px 2px oklch(0% 0 0 / 0.04);
	--tf-shadow-md: 0 1px 0 oklch(0% 0 0 / 0.04), 0 4px 12px oklch(0% 0 0 / 0.06);
	--tf-shadow-lg: 0 1px 0 oklch(0% 0 0 / 0.04), 0 14px 36px oklch(0% 0 0 / 0.1);
	--tf-container: 1240px;
	--tf-z-nav: 50;
	--tf-z-skip: 100;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	background: var(--tf-bg);
	color: var(--tf-text);
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
	color: inherit;
	text-decoration: none;
}

img,
svg {
	display: block;
	max-width: 100%;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
	outline: 3px solid color-mix(in oklch, var(--tf-accent) 38%, transparent);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
	margin-top: 0;
}

h1,
h2,
h3 {
	text-wrap: balance;
}

p,
li {
	text-wrap: pretty;
}

.tf-main {
	overflow: hidden;
}

.tf-container {
	width: 100%;
	max-width: var(--tf-container);
	margin: 0 auto;
	padding: 0 32px;
}

.tf-skip-link {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: var(--tf-z-skip);
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--tf-text);
	color: var(--tf-bg);
	font-size: 14px;
	font-weight: 700;
	transform: translateY(-160%);
	transition: transform 160ms ease-out;
}

.tf-skip-link:focus {
	transform: translateY(0);
}

/* Navigation */
.tf-nav {
	position: sticky;
	top: 0;
	z-index: var(--tf-z-nav);
	border-bottom: 1px solid color-mix(in oklch, var(--tf-border) 62%, transparent);
	background: color-mix(in oklch, var(--tf-bg) 90%, transparent);
	-webkit-backdrop-filter: saturate(170%) blur(12px);
	backdrop-filter: saturate(170%) blur(12px);
}

body.admin-bar .tf-nav {
	top: 32px;
}

.tf-nav-inner {
	width: 100%;
	max-width: var(--tf-container);
	min-height: 80px;
	margin: 0 auto;
	padding: 15px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.tf-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	color: var(--tf-text);
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

/*
 * The site logo sizes itself from the block's width attribute so the editor
 * control stays in charge. Everything here is layout only.
 */
.tf-brand.wp-block-site-logo,
.tf-brand .custom-logo-link,
.tf-brand .custom-logo {
	display: block;
}

.tf-brand-mark {
	width: 36px;
	height: 36px;
	border-radius: 9px;
	box-shadow: var(--tf-shadow-sm);
}

.tf-brand-mark-text {
	display: grid;
	place-items: center;
	width: 44px;
	background: var(--tf-text);
	color: var(--tf-bg);
	border-radius: 7px;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 13px;
	font-weight: 600;
}

.tf-brand-name {
	font-size: 18px;
}

.tf-nav-menu {
	display: flex;
	align-items: center;
}

.tf-nav-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 28px;
}

.tf-nav-links a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--tf-text-2);
	font-size: 14px;
	font-weight: 500;
	transition: color 120ms ease-out;
}

.tf-nav-links a:hover,
.tf-nav-links a[aria-current] {
	color: var(--tf-text);
}

.tf-nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tf-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--tf-border);
	border-radius: 8px;
	background: var(--tf-surface);
	color: var(--tf-text);
	cursor: pointer;
}

.tf-nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition: transform 160ms ease-out, opacity 120ms ease-out;
}

/* Buttons */
.tf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: transform 120ms ease-out, background 120ms ease-out, border-color 120ms ease-out, color 120ms ease-out;
}

.tf-btn:hover {
	transform: translateY(-1px);
}

.tf-btn:active {
	transform: translateY(0);
}

.tf-btn-primary {
	border-color: var(--tf-text);
	background: var(--tf-text);
	color: var(--tf-bg);
}

.tf-btn-primary:hover {
	border-color: oklch(12% 0.01 80);
	background: oklch(12% 0.01 80);
}

.tf-btn-ghost,
.tf-btn-secondary {
	border-color: var(--tf-border-strong);
	background: transparent;
	color: var(--tf-text);
}

.tf-btn-ghost:hover,
.tf-btn-secondary:hover {
	background: var(--tf-surface);
}

.tf-btn-accent {
	border-color: var(--tf-accent);
	background: var(--tf-accent);
	color: var(--tf-on-accent);
}

.tf-btn-accent:hover {
	border-color: var(--tf-accent-2);
	background: var(--tf-accent-2);
}

.tf-btn-lg {
	min-height: 50px;
	padding: 13px 24px;
	font-size: 15px;
}

.tf-btn-sm {
	min-height: 38px;
	padding: 7px 14px;
	font-size: 13px;
}

.tf-btn-arrow {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--tf-accent);
	color: white;
}

.tf-btn-accent .tf-btn-arrow {
	background: color-mix(in oklch, white 18%, transparent);
}

/* Shared type and sections */
.tf-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	padding: 6px 13px;
	border: 1px solid color-mix(in oklch, var(--tf-accent) 22%, transparent);
	border-radius: 8px;
	background: var(--tf-accent-soft);
	color: var(--tf-accent-ink);
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.tf-kicker-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tf-brand-gradient);
}

.tf-tag,
.tf-status-pill,
.tf-tier-pill {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 4px 9px;
	border: 1px solid var(--tf-border);
	border-radius: 8px;
	background: var(--tf-inset);
	color: var(--tf-text-2);
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.2;
}

.tf-status-pill,
.tf-tag-success {
	border-color: color-mix(in oklch, var(--tf-success) 20%, transparent);
	background: var(--tf-success-soft);
	color: oklch(37% 0.11 150);
}

.tf-provider-status-validation {
	border-color: color-mix(in oklch, var(--tf-warning) 24%, transparent);
	background: var(--tf-warning-soft);
	color: oklch(38% 0.1 70);
}

.tf-tier-pill[data-tier="pro"],
.tf-tag-pro {
	border-color: color-mix(in oklch, var(--tf-accent) 22%, transparent);
	background: var(--tf-accent-soft);
	color: var(--tf-accent-ink);
}

.tf-section {
	position: relative;
	padding: 96px 0;
}

.tf-section-alt {
	border-top: 1px solid var(--tf-rule);
	border-bottom: 1px solid var(--tf-rule);
	background: var(--tf-surface-alt);
}

.tf-section-compact {
	padding: 68px 0;
}

.tf-section-head {
	max-width: 760px;
	margin-bottom: 48px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.tf-section-head-center {
	margin-right: auto;
	margin-left: auto;
	align-items: center;
	text-align: center;
}

.tf-section-head h2 {
	margin: 0;
	color: var(--tf-text);
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 700;
	line-height: 1.05;
}

.tf-section-head h2 em {
	position: relative;
	z-index: 0;
	color: var(--tf-accent-ink);
	font-style: normal;
}

.tf-section-head h2 em::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 3px;
	left: 0;
	z-index: -1;
	height: 8px;
	border-radius: 4px;
	background: color-mix(in oklch, var(--tf-accent) 18%, transparent);
}

.tf-section-head p {
	max-width: 60ch;
	margin: 0;
	color: var(--tf-muted);
	font-size: 17px;
}

/* Hero */
.tf-hero {
	position: relative;
	padding: 88px 0 100px;
	overflow: hidden;
}

.tf-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, var(--tf-grid-line) 1px, transparent 1px);
	background-position: -1px -1px;
	background-size: 32px 32px;
	-webkit-mask-image: radial-gradient(ellipse 72% 84% at 50% 30%, black 30%, transparent 82%);
	mask-image: radial-gradient(ellipse 72% 84% at 50% 30%, black 30%, transparent 82%);
	pointer-events: none;
}

.tf-hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	gap: 64px;
}

.tf-hero-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	min-width: 0;
}

.tf-hero h1 {
	max-width: 15ch;
	margin: 0;
	color: var(--tf-text);
	font-size: clamp(40px, 5.4vw, 64px);
	font-weight: 700;
	line-height: 1;
	overflow-wrap: anywhere;
}

.tf-hero h1 em {
	position: relative;
	z-index: 0;
	color: var(--tf-accent-ink);
	font-style: normal;
}

.tf-hero h1 em::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 6px;
	left: 0;
	z-index: -1;
	height: 11px;
	border-radius: 4px;
	background: color-mix(in oklch, var(--tf-accent) 18%, transparent);
}

.tf-hero-sub {
	max-width: 56ch;
	margin: 0;
	color: var(--tf-muted);
	font-size: 19px;
	line-height: 1.5;
}

.tf-hero-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.tf-hero-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 18px;
	color: var(--tf-muted);
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
}

.tf-hero-meta-item,
.tf-hero-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tf-hero-meta .tf-check,
.tf-check {
	flex: 0 0 auto;
	color: var(--tf-success);
}

/* Company ecosystem visual */
.tf-ecosystem {
	position: relative;
	min-height: 400px;
	aspect-ratio: 1.28 / 1;
}

.tf-ecosystem::before {
	content: "";
	position: absolute;
	inset: 8% 4%;
	border: 1px dashed color-mix(in oklch, var(--tf-accent) 40%, var(--tf-border));
	border-radius: 50%;
}

.tf-ecosystem::after {
	display: none;
}

.tf-ecosystem-paths {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: color-mix(in oklch, var(--tf-accent) 58%, var(--tf-border));
	stroke-width: 1.4;
	stroke-dasharray: 4 5;
}

.tf-ecosystem-core,
.tf-ecosystem-card {
	position: absolute;
	z-index: 1;
	border: 1px solid var(--tf-border);
	border-radius: 14px;
	background: var(--tf-surface);
	box-shadow: var(--tf-shadow-md);
}

.tf-ecosystem-core {
	top: 50%;
	left: 50%;
	width: 188px;
	padding: 22px;
	text-align: center;
	transform: translate(-50%, -50%);
}

.tf-ecosystem-core .tf-brand-mark {
	margin: 0 auto 12px;
}

.tf-ecosystem-core strong,
.tf-ecosystem-card strong {
	display: block;
	font-size: 15px;
	line-height: 1.25;
}

.tf-ecosystem-core span,
.tf-ecosystem-card p,
.tf-ecosystem-card small {
	display: block;
	margin: 5px 0 0;
	color: var(--tf-muted);
	font-size: 12px;
	line-height: 1.45;
}

.tf-ecosystem-card {
	width: 220px;
	padding: 15px;
}

.tf-ecosystem-card-brand {
	top: 4%;
	left: 50%;
	width: 190px;
	text-align: center;
	transform: translateX(-50%);
}

/*
 * One product hangs off each side of the company card. The slot classes come
 * from the block's render order, so the layout does not depend on which
 * products happen to be listed.
 */
.tf-ecosystem-card-product {
	top: 56%;
	display: flex;
	align-items: center;
	gap: 12px;
}

.tf-ecosystem-slot-1 {
	left: 0;
}

.tf-ecosystem-slot-2 {
	right: 0;
}

/* A lone product sits under the company card rather than off to one side. */
.tf-ecosystem-slot-1:last-child {
	left: 50%;
	transform: translateX(-50%);
}

.tf-ecosystem-label {
	display: block;
	margin-bottom: 4px;
	color: var(--tf-accent-ink);
	font-family: "JetBrains Mono", monospace;
	font-size: 9.5px;
	font-weight: 600;
}

/* On product cards this label is an availability state, not an eyebrow. */
.tf-ecosystem-card-product .tf-ecosystem-label {
	color: var(--tf-success);
}

.tf-ecosystem-brand-mark {
	display: block;
	width: 34px;
	margin: 8px auto 6px;
}

.tf-ecosystem-brand-mark img {
	width: 100%;
	height: auto;
	border-radius: 9px;
}

.tf-ecosystem-product-mark {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 8px;
}

.tf-ecosystem-product-mark img {
	width: 100%;
	height: 100%;
	border-radius: inherit;
}

.tf-product-future-lines i {
	display: block;
	height: 6px;
	border-radius: 999px;
	background: var(--tf-inset);
}

.tf-ecosystem-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.tf-ecosystem-logo {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--tf-text);
	color: white;
	font-family: "JetBrains Mono", monospace;
	font-size: 11px;
	font-weight: 700;
}

.tf-ecosystem-logo img {
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
}

/* Value frame */
.tf-value-frame {
	border-top: 1px solid var(--tf-border);
	border-bottom: 1px solid var(--tf-border);
	background: var(--tf-surface-alt);
}

.tf-value-frame-inner {
	min-height: 210px;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: 56px;
	margin: 0;
	padding-top: 38px;
	padding-bottom: 38px;
}

.tf-value-frame-label {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 16px;
}

.tf-value-frame-label h2 {
	max-width: 18ch;
	margin: 0;
	font-size: clamp(28px, 3.2vw, 38px);
	line-height: 1.08;
}

.tf-value-frame-copy {
	display: grid;
	gap: 12px;
}

.tf-value-frame-copy p {
	margin: 0;
	color: var(--tf-muted);
	font-size: 16px;
}

/* Feature and trust cards */
.tf-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.tf-feature-card {
	min-height: 100%;
	padding: 24px;
	border: 1px solid var(--tf-border);
	border-radius: 12px;
	background: var(--tf-surface);
	box-shadow: var(--tf-shadow-sm);
	transition: transform 150ms ease-out, border-color 150ms ease-out, box-shadow 150ms ease-out;
}

.tf-feature-card:hover {
	border-color: var(--tf-border-strong);
	box-shadow: var(--tf-shadow-md);
	transform: translateY(-2px);
}

.tf-feature-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 20px;
	border: 1px solid color-mix(in oklch, var(--tf-accent) 18%, transparent);
	border-radius: 9px;
	background: var(--tf-accent-soft);
	color: var(--tf-accent-ink);
}

.tf-feature-icon svg {
	width: 18px;
	height: 18px;
}

.tf-feature-card h3 {
	margin-bottom: 9px;
	font-size: 19px;
	line-height: 1.2;
}

.tf-feature-number {
	display: block;
	margin: -4px 0 12px;
	color: var(--tf-muted-2);
	font-family: "JetBrains Mono", monospace;
	font-size: 10px;
}

.tf-feature-card p {
	margin-bottom: 0;
	color: var(--tf-muted);
	font-size: 14px;
}

.tf-trust-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
}

.tf-trust-item {
	min-height: 100%;
	padding: 24px;
	display: block;
	border: 1px solid var(--tf-border);
	border-radius: 12px;
	background: var(--tf-surface);
	box-shadow: var(--tf-shadow-sm);
}

.tf-trust-number {
	display: block;
	margin-bottom: 28px;
	color: var(--tf-accent-ink);
	font-family: "JetBrains Mono", monospace;
	font-size: 10px;
}

.tf-trust-item h3 {
	margin-bottom: 8px;
	font-size: 18px;
	line-height: 1.2;
}

.tf-trust-item p {
	margin: 0;
	color: var(--tf-muted);
	font-size: 14px;
}

.tf-trust-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	border: 1px solid var(--tf-border);
	border-radius: 14px;
	background: var(--tf-surface);
	box-shadow: var(--tf-shadow-sm);
	list-style: none;
	overflow: hidden;
}

.tf-trust-list li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--tf-rule);
}

.tf-trust-list li:last-child {
	border-bottom: 0;
}

.tf-trust-list .tf-check {
	margin-top: 4px;
}

.tf-trust-list strong {
	display: block;
	font-size: 15px;
}

.tf-trust-list p {
	margin: 3px 0 0;
	color: var(--tf-muted);
	font-size: 13px;
}

/* Product showcase */
.tf-product-showcase {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	border: 1px solid var(--tf-border);
	border-radius: 18px;
	background: var(--tf-surface);
	box-shadow: var(--tf-shadow-lg);
	overflow: hidden;
}

.tf-product-grid {
	display: grid;
	gap: 18px;
}

.tf-product-eyebrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
	color: var(--tf-muted);
	font-family: "JetBrains Mono", monospace;
	font-size: 11px;
}

.tf-product-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--tf-success);
	font-weight: 600;
}

.tf-product-status i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.tf-product-copy {
	padding: 40px;
}

.tf-product-heading {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 18px 0 16px;
}

.tf-product-heading img,
.tf-product-mark {
	width: 48px;
	height: 48px;
	border-radius: 9px;
}

.tf-product-copy h3 {
	margin: 0;
	font-size: 34px;
	line-height: 1;
}

/*
 * Each lockup is drawn to its own proportions, so the height is fixed and the
 * width follows. That keeps FaltaPay and FlowSync optically the same size
 * beside each other instead of matching on width and diverging in weight.
 */
.tf-product-lockup {
	display: block;
	width: auto;
	height: 38px;
	max-width: 100%;
	margin: 2px 0 14px;
}

.tf-product-copy > p {
	margin-bottom: 22px;
	color: var(--tf-muted);
	font-size: 16px;
}

.tf-product-price,
.tf-product-copy > .tf-product-price {
	width: fit-content;
	margin: -4px 0 22px;
	padding: 8px 11px;
	border: 1px solid var(--tf-border-strong);
	border-left: 3px solid var(--tf-accent-ink);
	border-radius: 7px;
	background: color-mix(in oklch, var(--tf-accent) 9%, var(--tf-surface));
	color: var(--tf-text);
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 16px;
	font-weight: 750;
	line-height: 1;
	letter-spacing: -0.03em;
}

.tf-product-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 26px;
}

.tf-product-meta span {
	padding: 5px 9px;
	border: 1px solid var(--tf-border);
	border-radius: 8px;
	background: var(--tf-inset);
	color: var(--tf-text-2);
	font-family: "JetBrains Mono", monospace;
	font-size: 10.5px;
}

.tf-product-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.tf-product-support-note {
	margin: 14px 0 0;
	color: var(--tf-muted);
	font-size: 13px;
}

/*
 * The diagram beside each product.
 *
 * Two variants share one vocabulary: .tf-network-tile is a logo chip,
 * .tf-network-core is the product itself, and row, spine, and stub wiring is
 * border-based so it survives any tile count. FlowSync's output connector is
 * the inline SVG curve. Each column carries a vertical dashed spine; every tile
 * runs a short dashed stub out to it, and one stub crosses from the spine to
 * the product.
 */
.tf-network {
	--tf-wire: var(--tf-muted-2);
	--tf-wire-gap: 26px;
	--tf-wire-row: 8px;
	min-height: 430px;
	padding: 30px 26px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	background: var(--tf-bg-2);
	border-left: 1px solid var(--tf-border);
}

.tf-network-title {
	margin: 0;
	color: var(--tf-text);
	font-size: 15px;
	font-weight: 650;
	text-align: center;
}

.tf-network-label {
	margin: 0 0 8px;
	color: var(--tf-muted);
	font-size: 11.5px;
	font-weight: 600;
}

.tf-network-label-center {
	text-align: center;
}

.tf-network-grid {
	position: relative;
	display: grid;
	align-items: center;
	gap: var(--tf-wire-gap);
}

.tf-network-grid > :not(.tf-network-curve) {
	position: relative;
	z-index: 1;
}

.tf-network-curve {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 0;
	width: 100%;
	height: calc(50% + 46px);
	overflow: visible;
	pointer-events: none;
}

.tf-network-curve path {
	fill: none;
	stroke: var(--tf-wire);
	stroke-width: 1.5;
	stroke-dasharray: 3 3;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
}

.tf-network-faltapay .tf-network-grid {
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.85fr) minmax(0, 1.2fr);
}

.tf-network-flowsync .tf-network-grid {
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.78fr) minmax(0, 1.5fr);
}

.tf-network-column {
	display: grid;
	gap: 8px;
}

.tf-network-tile {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	padding: 9px 11px;
	border: 1px solid var(--tf-border);
	border-radius: 10px;
	background: var(--tf-surface);
	color: var(--tf-text-2);
	font-size: 12px;
}

.tf-network-tile img {
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 5px;
	object-fit: contain;
}

/* Names break between words only, never inside one, and never truncate. */
.tf-network-tile em {
	min-width: 0;
	font-style: normal;
	line-height: 1.25;
	overflow-wrap: normal;
	word-break: keep-all;
	hyphens: none;
}

.tf-network-tile-more {
	border-style: dashed;
	background: none;
	color: var(--tf-muted);
}

.tf-network-tile-more i {
	display: grid;
	place-items: center;
	flex: none;
	width: 20px;
	height: 20px;
	border: 1px dashed var(--tf-border-strong);
	border-radius: 5px;
	font-size: 12px;
	font-style: normal;
	line-height: 1;
}

/* The product itself, and FlowSync's source card, which reads as its equal. */
.tf-network-tile-core {
	display: block;
	padding: 20px 18px;
	border-radius: 14px;
	box-shadow: var(--tf-shadow-lg);
	text-align: center;
}

.tf-network-tile-core img {
	width: 44px;
	height: 44px;
	margin: 0 auto 10px;
	border-radius: 9px;
}

.tf-network-tile-core strong {
	display: block;
	color: var(--tf-text);
	font-size: 16px;
}

.tf-network-tile-core small {
	display: block;
	margin-top: 3px;
	color: var(--tf-muted);
	font-size: 10.5px;
}

.tf-network-tile-core ul {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	color: var(--tf-muted);
	font-size: 12px;
	text-align: left;
}

.tf-network-tile-core li {
	position: relative;
	padding-left: 12px;
}

.tf-network-tile-core li::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 2px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--tf-muted-2);
}

/* Wiring -------------------------------------------------------------- */

/*
 * A dashed spine down the inside edge of a group, with a stub from every member
 * out to it. The spine is not one long line: each member draws the segment
 * beside itself, running half a row gap past its own edges to meet its
 * neighbours, and the first and last stop at their own stub. That way the spine
 * begins and ends exactly on a connection whatever the group contains, instead
 * of hanging past the last tile the way a fixed inset does.
 */
.tf-network-wired {
	position: relative;
	display: grid;
	gap: var(--tf-wire-row);
}

.tf-network-wired > * {
	position: relative;
}

.tf-network-wired > *::before,
.tf-network-wired > *::after {
	content: "";
	position: absolute;
}

/* The stub, out to the spine. */
.tf-network-wired > *::after {
	top: 50%;
	width: calc(var(--tf-wire-gap) / 2);
	height: 0;
	border-top: 1px dashed var(--tf-wire);
}

/* The spine segment beside this member. */
.tf-network-wired > *::before {
	top: calc(var(--tf-wire-row) / -2);
	bottom: calc(var(--tf-wire-row) / -2);
	width: 0;
	border-left: 1px dashed var(--tf-wire);
}

.tf-network-wired > :first-child::before {
	top: 50%;
}

.tf-network-wired > :last-child::before {
	bottom: 50%;
}

/* A group of one needs a stub and no spine at all. */
.tf-network-wired > :only-child::before {
	display: none;
}

.tf-network-wired-in > *::after {
	left: 100%;
}

.tf-network-wired-in > *::before {
	right: calc(var(--tf-wire-gap) / -2);
}

.tf-network-wired-out > *::after {
	right: 100%;
}

.tf-network-wired-out > *::before {
	left: calc(var(--tf-wire-gap) / -2);
}

/* The product, wired to the spine on each side. */
.tf-network-core,
.tf-network-source {
	position: relative;
}

.tf-network-core::before,
.tf-network-core::after,
.tf-network-source::after {
	content: "";
	position: absolute;
	top: 50%;
	height: 0;
	width: calc(var(--tf-wire-gap) / 2);
	border-top: 1px dashed var(--tf-wire);
}

.tf-network-core::before {
	right: 100%;
}

.tf-network-core::after {
	left: 100%;
}

/* FlowSync reads from one card, so that side crosses the whole gap at once. */
.tf-network-source::after {
	left: 100%;
	width: var(--tf-wire-gap);
}

.tf-network-flowsync .tf-network-core::before {
	display: none;
}

/* FaltaPay: providers and the methods they settle ---------------------- */

.tf-network-methods {
	padding: 12px;
	border: 1px solid color-mix(in oklch, var(--tf-accent) 22%, var(--tf-border));
	border-radius: 12px;
	background: color-mix(in oklch, var(--tf-accent) 7%, var(--tf-surface));
}

.tf-network-method-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}

.tf-network-chip {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	padding: 6px 8px;
	border: 1px solid var(--tf-border);
	border-radius: 8px;
	background: var(--tf-surface);
	color: var(--tf-text-2);
	font-size: 11px;
}

.tf-network-chip img {
	flex: none;
	width: 18px;
	height: 12px;
	object-fit: contain;
}

.tf-network-chip-more {
	border-style: dashed;
	background: none;
	color: var(--tf-muted);
}

.tf-network-chip-more .tf-network-chip-glyph {
	border: 1px dashed var(--tf-border-strong);
	border-radius: 5px;
	font-size: 12px;
	font-style: normal;
	line-height: 1;
}

.tf-network-chip-glyph {
	display: grid;
	place-items: center;
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--tf-muted-2);
}

.tf-network-chip-glyph svg {
	width: 14px;
	height: 14px;
}

.tf-network-chip em {
	min-width: 0;
	font-style: normal;
	line-height: 1.25;
	overflow-wrap: normal;
	word-break: keep-all;
	hyphens: none;
}

.tf-network-assurances {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	padding: 12px;
	border: 1px solid var(--tf-border);
	border-radius: 12px;
	background: var(--tf-surface);
}

.tf-network-assurances span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--tf-text-2);
	font-size: 12px;
}

.tf-network-assurances svg {
	width: 15px;
	height: 15px;
	color: var(--tf-accent-ink);
}

.tf-network-assurances em {
	font-style: normal;
}

/* FlowSync: plugins read, platforms written ---------------------------- */

/* Two plugins to a row; a row holding one lets it take the whole width. */
.tf-network-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.tf-network-row-full {
	grid-template-columns: 1fr;
}

.tf-network-sync {
	position: relative;
	margin-top: 8px;
	padding-top: 18px;
}

.tf-network-outputs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.tf-product-future {
	min-height: 108px;
	padding: 22px;
	display: flex;
	align-items: center;
	gap: 16px;
	border: 1px dashed var(--tf-border-strong);
	border-radius: 14px;
	background: color-mix(in oklch, var(--tf-surface) 45%, transparent);
}

.tf-product-future-mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px dashed var(--tf-border-strong);
	border-radius: 9px;
	color: var(--tf-muted-2);
	font-size: 20px;
}

.tf-product-future-lines {
	width: min(360px, 55%);
	display: grid;
	gap: 8px;
}

.tf-product-future-lines i:nth-child(2) {
	width: 78%;
}

.tf-product-future-lines i:nth-child(3) {
	width: 48%;
}

.tf-product-window,
.tf-console-window {
	width: 100%;
	max-width: 610px;
	border: 1px solid color-mix(in oklch, white 18%, transparent);
	border-radius: 14px;
	background: var(--tf-bg);
	color: var(--tf-text);
	box-shadow: 0 24px 54px oklch(0% 0 0 / 0.28);
	overflow: hidden;
}

.tf-window-bar,
.tf-console-bar {
	min-height: 46px;
	padding: 0 16px;
	display: flex;
	align-items: center;
	gap: 7px;
	border-bottom: 1px solid var(--tf-border);
}

.tf-window-dot,
.tf-console-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tf-border-strong);
}

.tf-window-title,
.tf-console-title {
	margin-left: 6px;
	color: var(--tf-muted);
	font-family: "JetBrains Mono", monospace;
	font-size: 10px;
}

.tf-window-body,
.tf-console-body {
	padding: 18px;
	display: grid;
	gap: 11px;
}

.tf-window-row,
.tf-console-row {
	padding: 13px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border: 1px solid var(--tf-border);
	border-radius: 8px;
	background: var(--tf-surface);
}

.tf-window-row strong,
.tf-console-row strong {
	display: block;
	font-size: 13px;
}

.tf-window-row small,
.tf-console-row small {
	display: block;
	margin-top: 2px;
	color: var(--tf-muted);
	font-size: 11px;
}

.tf-window-status,
.tf-console-status {
	flex: 0 0 auto;
	color: var(--tf-success);
	font-family: "JetBrains Mono", monospace;
	font-size: 10px;
	font-weight: 700;
}

.tf-future-space {
	margin-top: 18px;
	padding: 20px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border: 1px dashed var(--tf-border-strong);
	border-radius: 12px;
	color: var(--tf-muted);
}

.tf-future-space strong {
	color: var(--tf-text-2);
}

.tf-future-space p {
	margin: 3px 0 0;
	font-size: 13px;
}

/* FaltaPay hero console */
.tf-payment-console {
	position: relative;
	min-height: 470px;
	padding: 28px;
	display: grid;
	align-items: center;
	border: 1px solid var(--tf-border);
	border-radius: 18px;
	background: var(--tf-text);
	box-shadow: var(--tf-shadow-lg);
}

.tf-payment-console::before {
	content: "";
	position: absolute;
	inset: 16px;
	border: 1px dashed color-mix(in oklch, white 18%, transparent);
	border-radius: 12px;
	pointer-events: none;
}

.tf-payment-console > * {
	position: relative;
}

.tf-console-brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.tf-console-brand img {
	width: auto;
	height: 42px;
}

.tf-console-brand .tf-tag {
	border-color: color-mix(in oklch, white 18%, transparent);
	background: color-mix(in oklch, white 9%, transparent);
	color: color-mix(in oklch, white 76%, transparent);
}

.tf-console-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.tf-console-stat {
	padding: 13px;
	border: 1px solid var(--tf-border);
	border-radius: 8px;
	background: var(--tf-surface);
}

.tf-console-stat span {
	display: block;
	color: var(--tf-muted);
	font-size: 10px;
}

.tf-console-stat strong {
	display: block;
	margin-top: 3px;
	font-size: 13px;
}

.tf-product-signature {
	gap: 14px;
}

.tf-faltapay-lockup {
	display: block;
	width: min(229px, 58vw);
	height: auto;
}

.tf-product-screenshot {
	position: relative;
	margin: 0;
	padding: 8px;
	border: 1px solid color-mix(in oklch, var(--tf-accent) 28%, var(--tf-border));
	border-radius: 18px;
	background: var(--tf-surface);
	box-shadow: 0 28px 70px oklch(28% 0.025 70 / 0.15), var(--tf-shadow-sm);
	overflow: hidden;
}

.tf-product-screenshot::after {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px solid oklch(0% 0 0 / 0.06);
	border-radius: 11px;
	pointer-events: none;
}

.tf-product-screenshot img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 11px;
}

/* Providers */
.tf-provider-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.tf-provider-card {
	padding: 26px;
	border: 1px solid var(--tf-border);
	border-radius: 14px;
	background: var(--tf-surface);
	box-shadow: var(--tf-shadow-sm);
}

.tf-provider-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.tf-provider-identity {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tf-provider-logo {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border: 1px solid var(--tf-border);
	border-radius: 10px;
	background: var(--tf-surface);
	object-fit: contain;
	box-shadow: var(--tf-shadow-sm);
}

.tf-provider-card h3 {
	margin: 0;
	font-size: 20px;
}

.tf-provider-card p {
	margin-bottom: 18px;
	color: var(--tf-muted);
}

.tf-provider-methods {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--tf-rule);
	list-style: none;
}

.tf-provider-methods li,
.tf-provider-methods span {
	padding: 4px 8px;
	border-radius: 7px;
	background: var(--tf-inset);
	color: var(--tf-text-2);
	font-family: "JetBrains Mono", monospace;
	font-size: 10px;
}

/* Platform summary */
.tf-platform-strip {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 12px;
}

.tf-platform-chip {
	min-width: 0;
	height: 100%;
	padding: 15px;
	display: grid;
	grid-column: span 2;
	grid-template-columns: 36px minmax(0, 1fr);
	grid-template-areas: "logo copy";
	align-items: center;
	align-content: center;
	column-gap: 11px;
	border: 1px solid var(--tf-border);
	border-radius: 10px;
	background: var(--tf-surface);
	box-shadow: var(--tf-shadow-sm);
}

.tf-platform-strip > .tf-platform-chip:nth-child(5) {
	grid-column: 2 / span 2;
	grid-row: 2;
}

.tf-platform-strip > .tf-platform-chip:nth-child(6) {
	grid-column: 4 / span 2;
	grid-row: 2;
}

.tf-platform-strip > .tf-platform-chip:nth-child(7) {
	grid-column: 6 / span 2;
	grid-row: 2;
}

.tf-platform-chip img {
	grid-area: logo;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: white;
	object-fit: contain;
}

.tf-platform-chip-copy {
	grid-area: copy;
}

.tf-platform-tier {
	grid-area: tier;
	justify-self: start;
}

.tf-platform-chip > span,
.tf-platform-chip > div {
	min-width: 0;
}

.tf-platform-chip strong {
	display: block;
	font-size: 13px;
	line-height: 1.2;
	overflow-wrap: normal;
	word-break: normal;
}

.tf-platform-chip[data-platform="woocommerce"] strong {
	white-space: nowrap;
}

.tf-platform-chip small {
	display: block;
	margin-top: 3px;
	color: var(--tf-muted);
	font-family: "JetBrains Mono", monospace;
	font-size: 9.5px;
}

.tf-platform-note {
	margin: 22px auto 0;
	color: var(--tf-muted);
	font-size: 13px;
	text-align: center;
}

/* Process */
/*
 * A second block below the first inside one section. Core zeroes the flow gap
 * for groups inside .tf-container, so the separation is set here.
 */
.tf-container > .wp-block-group.tf-subsection {
	margin-top: 48px;
}

.tf-process-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	counter-reset: tf-step;
}

.tf-process-step {
	position: relative;
	min-height: 230px;
	padding: 22px;
	border: 1px solid var(--tf-border);
	border-radius: 12px;
	background: var(--tf-surface);
	box-shadow: var(--tf-shadow-sm);
	counter-increment: tf-step;
}

.tf-process-step::before {
	content: "0" counter(tf-step);
	display: inline-flex;
	margin-bottom: 36px;
	color: var(--tf-accent-ink);
	font-family: "JetBrains Mono", monospace;
	font-size: 11px;
	font-weight: 600;
}

.tf-process-step:not(:last-child)::after,
.tf-process-connector {
	content: "";
	position: absolute;
	top: 38px;
	right: -17px;
	z-index: 2;
	width: 18px;
	height: 1px;
	background: var(--tf-accent);
}

.tf-process-step h3 {
	margin-bottom: 10px;
	font-size: 18px;
	line-height: 1.2;
}

.tf-process-step p {
	margin: 0;
	color: var(--tf-muted);
	font-size: 14px;
}

/* Audiences */
.tf-audience-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.tf-audience-card {
	min-height: 100%;
	padding: 28px;
	border: 1px solid var(--tf-border);
	border-radius: 14px;
	background: var(--tf-surface);
	box-shadow: var(--tf-shadow-sm);
}

.tf-audience-card .tf-tag {
	margin-bottom: 24px;
}

.tf-audience-card h3 {
	margin-bottom: 11px;
	font-size: 22px;
	line-height: 1.15;
}

.tf-audience-card p {
	margin: 0;
	color: var(--tf-muted);
}

/* Integration directory */
.tf-integration-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.tf-integration-card {
	min-width: 0;
	min-height: 100%;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	border: 1px solid var(--tf-border);
	border-radius: 12px;
	background: var(--tf-surface);
	box-shadow: var(--tf-shadow-sm);
	transition: transform 150ms ease-out, border-color 150ms ease-out, box-shadow 150ms ease-out;
}

.tf-integration-card:hover {
	border-color: var(--tf-border-strong);
	box-shadow: var(--tf-shadow-md);
	transform: translateY(-2px);
}

.tf-integration-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.tf-integration-identity {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.tf-integration-logo {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border: 1px solid var(--tf-border);
	border-radius: 9px;
	background: white;
	object-fit: contain;
	box-shadow: var(--tf-shadow-sm);
}

.tf-integration-card h3 {
	margin: 0;
	font-size: 16px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.tf-integration-platform {
	display: block;
	margin-top: 3px;
	color: var(--tf-muted);
	font-size: 11px;
}

.tf-integration-card > p {
	flex: 1 1 auto;
	margin: 0;
	color: var(--tf-muted);
	font-size: 13px;
}

.tf-integration-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	padding-top: 12px;
	border-top: 1px solid var(--tf-rule);
}

.tf-text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--tf-accent-ink);
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: color-mix(in oklch, var(--tf-accent) 38%, transparent);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.tf-text-link:hover {
	color: var(--tf-accent-2);
	text-decoration-color: var(--tf-accent);
}

.tf-text-link-secondary {
	color: var(--tf-muted);
	font-weight: 600;
	text-decoration: none;
}

/* CTA */
.tf-cta-wrap {
	padding: 72px 0 88px;
}

.tf-cta {
	position: relative;
	padding: 64px 48px;
	border-radius: 20px;
	background: var(--tf-text);
	color: var(--tf-bg);
	text-align: center;
	overflow: hidden;
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 26px;
}

.tf-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, color-mix(in oklch, white 20%, transparent) 1px, transparent 1px);
	background-size: 28px 28px;
	-webkit-mask-image: radial-gradient(ellipse 55% 80% at 50% 50%, black, transparent 82%);
	mask-image: radial-gradient(ellipse 55% 80% at 50% 50%, black, transparent 82%);
	pointer-events: none;
}

.tf-cta-inner {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.tf-cta-copy {
	position: relative;
	max-width: 760px;
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 20px;
}

.tf-cta .tf-kicker {
	border-color: color-mix(in oklch, white 20%, transparent);
	background: color-mix(in oklch, white 9%, transparent);
	color: var(--tf-bg);
}

.tf-cta h2 {
	max-width: 24ch;
	margin: 0;
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1.04;
}

.tf-cta p {
	max-width: 58ch;
	margin: 0;
	color: color-mix(in oklch, var(--tf-bg) 68%, transparent);
	font-size: 17px;
}

.tf-cta-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.tf-cta .tf-btn-primary {
	border-color: var(--tf-bg);
	background: var(--tf-bg);
	color: var(--tf-text);
}

.tf-cta .tf-btn-primary:hover {
	border-color: white;
	background: white;
}

.tf-cta .tf-btn-ghost,
.tf-cta .tf-btn-secondary {
	border-color: color-mix(in oklch, var(--tf-bg) 30%, transparent);
	color: var(--tf-bg);
}

.tf-cta .tf-btn-ghost:hover,
.tf-cta .tf-btn-secondary:hover {
	background: color-mix(in oklch, var(--tf-bg) 10%, transparent);
}

/* Footer */
.tf-footer {
	position: relative;
	padding: 36px 0 32px;
	border-top: 1px solid var(--tf-rule);
	background: var(--tf-bg);
}

/* Brand band, so the logo colours read at the close of every page. */
.tf-footer::before {
	content: "";
	position: absolute;
	top: -1px;
	right: 0;
	left: 0;
	height: 3px;
	background: var(--tf-brand-gradient);
}

.tf-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	color: var(--tf-muted);
	font-size: 12.5px;
}

/* The legal pair sits on the copyright line, so it reads as part of it. */
.tf-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.tf-footer-bottom a {
	color: var(--tf-muted);
}

.tf-footer-bottom a:hover {
	color: var(--tf-text);
}

.tf-footer-legal {
	max-width: 92ch;
	margin: 18px 0 0;
	color: var(--tf-muted-2);
	font-size: 11.5px;
	line-height: 1.6;
}

.tf-footer-legal a {
	color: var(--tf-muted);
	text-decoration: underline;
	text-decoration-color: var(--tf-border-strong);
	text-underline-offset: 2px;
}

.tf-footer-legal a:hover {
	color: var(--tf-accent-ink);
	text-decoration-color: currentColor;
}

/* Generic WordPress content */
.tf-content-page {
	padding: 80px 0 100px;
}

.tf-content-page article {
	max-width: 760px;
}

.tf-content-page h1 {
	margin-bottom: 24px;
	font-size: clamp(38px, 5vw, 58px);
	line-height: 1;
}

.tf-entry-content {
	color: var(--tf-text-2);
	font-size: 17px;
}

.tf-entry-content a {
	color: var(--tf-accent-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
	.tf-hero-inner,
	.tf-product-showcase {
		grid-template-columns: 1fr;
	}

	.tf-hero-inner {
		gap: 48px;
	}

	.tf-hero-copy {
		max-width: 760px;
	}

	.tf-ecosystem {
		width: min(100%, 640px);
		margin: 0 auto;
	}

	.tf-feature-grid,
	.tf-integration-grid,
	.tf-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tf-platform-strip {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.tf-platform-strip > .tf-platform-chip:nth-child(n) {
		grid-column: span 2;
		grid-row: auto;
	}

	.tf-platform-strip > .tf-platform-chip:nth-child(7) {
		grid-column: 3 / span 2;
		grid-row: 3;
	}

	.tf-process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tf-process-step:nth-child(2)::after {
		display: none;
	}

	.tf-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px;
	}
}

@media (max-width: 782px) {
	body.admin-bar .tf-nav {
		top: 46px;
	}
}

@media (max-width: 720px) {
	/*
	 * Three columns will not fit. The diagram stacks and the wiring comes off,
	 * because a dashed line between stacked blocks says nothing.
	 */
	.tf-network-faltapay .tf-network-grid,
	.tf-network-flowsync .tf-network-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.tf-network-core {
		order: -1;
	}

	.tf-network-flowsync .tf-network-source {
		order: -2;
	}

	.tf-network-column-in {
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	}

	.tf-network-wired > *::before,
	.tf-network-wired > *::after,
	.tf-network-core::before,
	.tf-network-core::after,
	.tf-network-source::after,
	.tf-network-curve {
		display: none;
	}

	html {
		scroll-padding-top: 82px;
	}

	.tf-container {
		padding: 0 20px;
	}

	.tf-nav-inner {
		min-height: 72px;
		padding: 12px 20px;
		flex-wrap: wrap;
	}

	.tf-brand {
		min-height: 44px;
	}

	.tf-brand-mark {
		width: 33px;
		height: 33px;
	}

	.tf-brand-mark-text {
		width: 40px;
	}

	.tf-nav-toggle {
		display: flex;
		order: 2;
	}

	.tf-nav-menu,
	.tf-nav-actions {
		display: none;
	}

	.tf-nav.is-open .tf-nav-menu {
		order: 90;
		width: 100%;
		padding: 8px 0;
		display: block;
		border-top: 1px solid var(--tf-rule);
	}

	.tf-nav.is-open .tf-nav-actions {
		order: 100;
		width: 100%;
		padding: 0 0 8px;
		display: flex;
	}

	.tf-nav.is-open .tf-nav-actions .tf-btn {
		width: 100%;
	}

	.tf-nav-links {
		width: 100%;
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.tf-nav-links a {
		width: 100%;
		min-height: 46px;
		border-bottom: 1px solid var(--tf-rule);
	}

	.tf-nav-links li:last-child a {
		border-bottom: 0;
	}

	.tf-nav.is-open .tf-nav-toggle span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.tf-nav.is-open .tf-nav-toggle span:nth-child(2) {
		opacity: 0;
	}

	.tf-nav.is-open .tf-nav-toggle span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.tf-section {
		padding: 68px 0;
	}

	.tf-section-compact {
		padding: 52px 0;
	}

	.tf-section-head {
		margin-bottom: 34px;
	}

	.tf-hero {
		padding: 68px 0 76px;
	}

	.tf-hero-inner {
		gap: 36px;
	}

	.tf-hero-copy {
		align-items: center;
		text-align: center;
	}

	.tf-hero h1 {
		font-size: clamp(34px, 9.2vw, 44px);
		line-height: 1.06;
	}

	.tf-hero-sub {
		font-size: 16px;
	}

	.tf-hero-actions,
	.tf-hero-meta {
		justify-content: center;
	}

	.tf-ecosystem {
		min-height: 420px;
	}

	.tf-ecosystem-card {
		width: min(210px, 52%);
		padding: 13px;
	}

	.tf-ecosystem-core {
		width: 170px;
		padding: 18px;
	}

	.tf-feature-grid,
	.tf-provider-grid,
	.tf-audience-grid,
	.tf-integration-grid,
	.tf-process-grid,
	.tf-trust-grid {
		grid-template-columns: 1fr;
	}

	.tf-value-frame-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.tf-process-step {
		min-height: 0;
	}

	.tf-process-step::after,
	.tf-process-connector {
		display: none;
	}

	.tf-platform-strip {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.tf-platform-strip > .tf-platform-chip:nth-child(n) {
		grid-column: span 2;
		grid-row: auto;
	}

	.tf-platform-strip > .tf-platform-chip:nth-child(7) {
		grid-column: 2 / span 2;
		grid-row: 4;
	}

	.tf-product-copy {
		padding: 28px;
	}

	.tf-network {
		min-height: 360px;
		padding: 24px 20px;
	}

	.tf-payment-console {
		min-height: 420px;
		padding: 24px;
	}

	.tf-future-space {
		align-items: flex-start;
		flex-direction: column;
	}

	.tf-cta-wrap {
		padding: 52px 0 68px;
	}

	.tf-cta {
		padding: 44px 24px;
	}
}

@media (max-width: 600px) {
	.tf-value-frame-inner {
		min-height: 0;
		gap: 20px;
		padding-top: 32px;
		padding-bottom: 32px;
	}

	.tf-ecosystem::before,
	.tf-ecosystem::after,
	/* The cards become a plain list here, so the curves have nothing to join. */
	.tf-ecosystem-paths {
		display: none;
	}

	.tf-ecosystem {
		min-height: 0;
		aspect-ratio: auto;
		padding: 12px;
		display: grid;
		gap: 12px;
	}

	.tf-ecosystem-card,
	.tf-ecosystem-card-brand,
	.tf-ecosystem-card-product,
	.tf-ecosystem-slot-1,
	.tf-ecosystem-slot-1:last-child,
	.tf-ecosystem-slot-2 {
		position: relative;
		inset: auto;
		width: 100%;
		min-height: 72px;
		transform: none;
		text-align: left;
	}

	.tf-ecosystem-card-brand {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
	}
}

@media (max-width: 420px) {
	.tf-container {
		padding: 0 18px;
	}

	.tf-nav-inner {
		padding-right: 18px;
		padding-left: 18px;
	}

	.tf-brand-name {
		font-size: 16px;
	}

	.tf-hero-actions,
	.tf-hero-actions .tf-btn,
	.tf-cta-actions,
	.tf-cta-actions .tf-btn {
		width: 100%;
	}

	.tf-ecosystem-card p,
	.tf-ecosystem-card small {
		font-size: 10.5px;
	}

	.tf-platform-strip {
		grid-template-columns: 1fr;
	}

	.tf-platform-strip > .tf-platform-chip:nth-child(n) {
		grid-column: 1;
		grid-row: auto;
	}

	.tf-product-copy,
	.tf-network,
	.tf-provider-card,
	.tf-audience-card {
		padding: 22px;
	}

	.tf-provider-card-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.tf-network,
	.tf-payment-console {
		margin-right: -1px;
		margin-left: -1px;
	}


	.tf-window-row,
	.tf-console-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.tf-console-grid {
		grid-template-columns: 1fr;
	}

	.tf-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.tf-nav,
	.tf-footer,
	.tf-cta-wrap {
		display: none;
	}

	body {
		background: white;
	}

	.tf-section,
	.tf-hero {
		padding: 32px 0;
	}
}
